Don't Starve Together

Don't Starve Together

BetterNightVision
Tämä keskustelu on lukittu
Rockou_  [kehittäjä] 17.5.2019 klo 9.23
Bugs / Crashs
If you find any bugs, causing crash please report them here.

Thread closed, use mod comments -
Viimeisin muokkaaja on Rockou_; 20.12.2024 klo 18.14
< >
Näytetään 1-9 / 9 kommentista
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_  [kehittäjä] 28.6.2019 klo 11.03 
;1639789306547996867 lähetti viestin:
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
Viimeisin muokkaaja on XhRebirth; 16.8.2019 klo 5.44
Rockou_  [kehittäjä] 16.8.2019 klo 11.51 
XhRebirth lähetti viestin:
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_  [kehittäjä] 16.8.2019 klo 11.56 
Fuzzy Waffle lähetti viestin:
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_  [kehittäjä] 28.3.2024 klo 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
< >
Näytetään 1-9 / 9 kommentista
Sivua kohden: 1530 50