Starbound
Ocen: 91
Holographic Ruler fix
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Rozmiar pliku
Zamieszczono
Zaktualizowano
242.344 KB
14 marca 2017 o 22:50
9 czerwca 2017 o 1:18
Listy zmian: 2 ( zobacz )

Zasubskrybuj, aby pobrać
Holographic Ruler fix

W 1 kolekcji stworzonej przez 🐱
Fancy useful stuff
Przedmioty: 41
Opis
The 1.2 changed the table of a function which broke the holoruler, here's a patch until the original author fixes it


I changed 4 lines

function update() local redraw = false local holoRulerConfig = activeItemAnimation.animationParameter("holoRulerConfig") if holoRulerConfig == nil then return end local point1 = activeItemAnimation.animationParameter("point1") local point2 = activeItemAnimation.animationParameter("point2") local userPos = activeItemAnimation.animationParameter("userPos")

Początkowo opublikowane przez "http://playstarbound.com/starbound-vault-update/":
Removed activeItemAnimation.animationParameter (replaced with animationConfig.animationParameter)

function update() local redraw = false local holoRulerConfig = animationConfig.animationParameter("holoRulerConfig") if holoRulerConfig == nil then return end local point1 = animationConfig.animationParameter("point1") local point2 = animationConfig.animationParameter("point2") local userPos = animationConfig.animationParameter("userPos")


Update: The 1.3 changed a few more bindings and this holoconfig interface is kind of a mess, it should be rewritten but I just updated the function calls because I'm lazy and it works that way

Non-steam download: https://github.com/xn-5o8h/holorulerfix/releases/download/1/holorulerpatch.pak
Komentarzy: 28
Harstargri 27 sierpnia 2019 o 2:51 
FYI, works for me on 1.4, FU, no issues whatsoever. This mod is awesome!
🐱  [autor] 24 sierpnia 2019 o 5:21 
@Harstargri: haven't tested but probably, I'd expect someone would have said so by now if it wasn't :PuzzleBallDONT_KNOW:

@cocoapoda: yeah having the menu open lags the game out for some reason, I blame the old system that the interface is using and I can't be bothered enough to rewrite the whole thing :momozzz: works well enough as is
Harstargri 21 sierpnia 2019 o 23:10 
Working on 1.4?
🐱  [autor] 13 stycznia 2019 o 18:11 
Yeah, iirc the menu was written with a (by now's standard) old interface API -- it works, but there are better ways to do it now. However as stated in the description, I'm lazy so I just patched it up :momozzz:

The original mod was working on Starbound v1.1, broke on 1.2 (when I created this), and broke a bit more on 1.3 (the current version)
doll daughter 12 stycznia 2019 o 11:08 
It works, but for me at least, it caused my game to continously degrade in performance rapidly. It only occurs with the menu open, it seems.
DTamer98 12 stycznia 2019 o 5:14 
Does this still work? I'd assume so but I wanna double check:p
doll daughter 17 listopada 2018 o 12:00 
This causes my game to lag massively when I have the config window open.
multibanana 31 marca 2018 o 6:33 
"revamp for sequel for repost of update for compatibility patch for fanfix of Holographic Ruler"
🐱  [autor] 23 stycznia 2018 o 4:48 
:Neko:
Sunny_O 23 stycznia 2018 o 3:05 
It's kinda funny. The original mod has been dead for a year and a half, and you still provide yours as a "fanfix". If you ever drop this mod and it breaks, I'm compelled to make a "compatibility patch for fanfix" mod that depends on this fix. I wonder how deep we can go xD