Don't Starve Together

Don't Starve Together

BetterNightVision
Toto téma bylo uzamčeno
Rockou_  [vývojář] 17. kvě. 2019 v 9.23
Bugs / Crashs
If you find any bugs, causing crash please report them here.

Thread closed, use mod comments -
Naposledy upravil Rockou_; 20. pro. 2024 v 18.14
< >
Zobrazuje se 19 z 9 komentářů
To fix the game crashing when pressing button in menu problem add this to the beginning of your toggle function: if _G.ThePlayer == nil then return else (all your function stuff goes here) end. The return forces the function to stop at that point so it won't attempt to index a nil value and the game shouldn't crash any more.
Rockou_  [vývojář] 28. čvn. 2019 v 11.03 
;1639789306547996867 původně napsal:
To fix the game crashing when pressing button in menu problem add this to the beginning of your toggle function: if _G.ThePlayer == nil then return else (all your function stuff goes here) end. The return forces the function to stop at that point so it won't attempt to index a nil value and the game shouldn't crash any more.
Thanks, I'll work on that now for both mod version
the game crashes if you have this mod and try to go on a boat not sure why
Naposledy upravil XhRebirth; 16. srp. 2019 v 5.44
Rockou_  [vývojář] 16. srp. 2019 v 11.51 
XhRebirth původně napsal:
the game crashes if you have this mod and try to go on a boat not sure why
have you tried the BETA fix of this mod?
The beta is now live. The one-line fix of the beta version seems to work in live. Might as well just update one and delete the other.
Rockou_  [vývojář] 16. srp. 2019 v 11.56 
Fuzzy Waffle původně napsal:
The beta is now live. The one-line fix of the beta version seems to work in live. Might as well just update one and delete the other.
it is? im going to work on that now
Crashes on latest update:

[00:04:12]: [string "scripts/widgets/scrapmonocleover.lua"]:23: attempt to call method 'HasScrapMonoleVision' (a nil value)
LUA ERROR stack traceback:
scripts/widgets/scrapmonocleover.lua:23 in (field) _ctor (Lua) <3-27>
scripts/class.lua:191 in (upvalue) ScrapMonocleOver (Lua) <181-194>
scripts/screens/playerhud.lua:175 in (method) CreateOverlays (Lua) <96-220>
scripts/screens/playerhud.lua:742 in (method) SetMainCharacter (Lua) <735-769>
scripts/prefabs/player_common.lua:713 in (upvalue) ActivateHUD (Lua) <703-714>
scripts/prefabs/player_common.lua:979 in (local) fn (Lua) <950-998>
scripts/entityscript.lua:1181 in (method) PushEvent (Lua) <1168-1195>
scripts/mainfunctions.lua:529 in () ? (Lua) <526-531>
Rockou_  [vývojář] 28. bře. 2024 v 17.46 
ive uploaded a version that no longer overrides the playervision component, it should work fine now and be more robust to future updates
< >
Zobrazuje se 19 z 9 komentářů
Na stránku: 1530 50