I'm moving this here so it applies and discussion can be here as well.
Wuzzy wrote:Can you give me the relevant error message? Just copy the relevant stuff from debug.txt, please. It bugs me that my mod apparently has a bug. XD
PS: Placing a toxic water bucket crashes the game.
Thanks for the bug , I'll fix asap.
Here are the debugs for the hud:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
2016-11-13 01:02:36: ERROR[Main]: ServerError: Runtime error from mod 'hudbars' in callback environment_Step(): D:\FALLOUT\bin\..\games\aftermath\mods\hudbars\init.lua:406: attempt to index a nil value
2016-11-13 01:02:36: ERROR[Main]: stack traceback:
2016-11-13 01:02:36: ERROR[Main]: D:\FALLOUT\bin\..\games\aftermath\mods\hudbars\init.lua:406: in function 'unhide_hudbar'
2016-11-13 01:02:36: ERROR[Main]: D:\FALLOUT\bin\..\games\aftermath\mods\hudbars\init.lua:473: in function 'update_hud'
2016-11-13 01:02:36: ERROR[Main]: D:\FALLOUT\bin\..\games\aftermath\mods\hudbars\init.lua:514: in function <D:\FALLOUT\bin\..\games\aftermath\mods\hudbars\init.lua:505>
2016-11-13 01:02:36: ERROR[Main]: D:\FALLOUT\bin\..\builtin\game\register.lua:407: in function <D:\FALLOUT\bin\..\builtin\game\register.lua:387>
Thirsty error:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
2016-11-13 02:05:56: ERROR[Main]: ServerError: Lua: Runtime error from mod 'thirsty' in callback on_dieplayer(): ...\aftermath\mods\thirsty/persistent_player_attributes.lua:109: attempt to index a nil value
2016-11-13 02:05:56: ERROR[Main]: stack traceback:
2016-11-13 02:05:56: ERROR[Main]: ...\aftermath\mods\thirsty/persistent_player_attributes.lua:109: in function 'set_value'
2016-11-13 02:05:56: ERROR[Main]: ...ALLOUT\bin\..\games\aftermath\mods\thirsty/functions.lua:40: in function <...ALLOUT\bin\..\games\aftermath\mods\thirsty/functions.lua:33>
2016-11-13 02:05:56: ERROR[Main]: D:\FALLOUT\bin\..\builtin\game\register.lua:407: in function <D:\FALLOUT\bin\..\builtin\game\register.lua:387>
hud_hunger as well:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
2016-11-15 10:38:46: ERROR[Main]: ServerError: Runtime error from mod 'hunger' in callback environment_Step(): ...\..\games\aftermath\mods\hud_hunger\hunger/functions.lua:271: attempt to index local 'player' (a nil value)
2016-11-15 10:38:46: ERROR[Main]: stack traceback:
2016-11-15 10:38:46: ERROR[Main]: ...\..\games\aftermath\mods\hud_hunger\hunger/functions.lua:271: in function 'setSprinting'
2016-11-15 10:38:46: ERROR[Main]: ...\..\games\aftermath\mods\hud_hunger\hunger/functions.lua:233: in function <...\..\games\aftermath\mods\hud_hunger\hunger/functions.lua:121>
2016-11-15 10:38:46: ERROR[Main]: D:\FALLOUT\bin\..\builtin\game\register.lua:407: in function <D:\FALLOUT\bin\..\builtin\game\register.lua:387>
And sprinting:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
2016-11-15 12:52:43: ERROR[Main]: ServerError: Runtime error from mod 'hunger' in callback environment_Step(): ...\..\games\aftermath\mods\hud_hunger\hunger/functions.lua:271: attempt to index local 'player' (a nil value)
2016-11-15 12:52:43: ERROR[Main]: stack traceback:
2016-11-15 12:52:43: ERROR[Main]: ...\..\games\aftermath\mods\hud_hunger\hunger/functions.lua:271: in function 'setSprinting'
2016-11-15 12:52:43: ERROR[Main]: ...\..\games\aftermath\mods\hud_hunger\hunger/functions.lua:233: in function <...\..\games\aftermath\mods\hud_hunger\hunger/functions.lua:121>
2016-11-15 12:52:43: ERROR[Main]: D:\FALLOUT\bin\..\builtin\game\register.lua:407: in function <D:\FALLOUT\bin\..\builtin\game\register.lua:387>
Don't forget itemwheel:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
2016-11-15 19:34:36: ERROR[Main]: ServerError: Lua: Runtime error from mod 'default' in callback luaentity_Step(): ...bin\..\games\aftermath\mods\hud_hunger\hud/itemwheel.lua:172: attempt to index local 'player' (a nil value)
2016-11-15 19:34:36: ERROR[Main]: stack traceback:
2016-11-15 19:34:36: ERROR[Main]: ...bin\..\games\aftermath\mods\hud_hunger\hud/itemwheel.lua:172: in function 'callback'
2016-11-15 19:34:36: ERROR[Main]: D:\FALLOUT\bin\..\builtin\game\falling.lua:92: in function <D:\FALLOUT\bin\..\builtin\game\falling.lua:43>
Sigh... I don't know what to do. :/