Project Zomboid

Project Zomboid

Definitive Zombies B42
Bug on 42.3.1
function: new -- file: ISEatFoodAction.lua line # 51 | MOD: True Smoking
function: eatItem -- file: ISInventoryPaneContextMenu.lua line # 3621 | Vanilla
function: onEatItems -- file: ISInventoryPaneContextMenu.lua line # 3749 | Vanilla
function: onEatItems -- file: P4TidyUpMeister.lua line # 247 | MOD: Tidy Up Meister
function: onMouseUp -- file: ISContextMenu.lua line # 90 | Vanilla
ERROR: General f:41650, t:1739574452531> ExceptionLogger.logException> Exception thrown
java.lang.RuntimeException: Object tried to call nil in new at KahluaUtil.fail(KahluaUtil.java:82).
Stack trace:
se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:954)
se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
se.krka.kahlua.vm.KahluaThread.pcallBoolean(KahluaThread.java:1902)
se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
zombie.ui.UIElement.onMouseUp(UIElement.java:1626)
zombie.ui.UIElement.onConsumeMouseButtonUp(UIElement.java:1688)
zombie.ui.UIManager.updateMouseButtons(UIManager.java:861)
zombie.ui.UIManager.update(UIManager.java:721)
zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:176)
zombie.GameWindow.logic(GameWindow.java:324)
zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:76)
zombie.GameWindow.frameStep(GameWindow.java:909)
zombie.GameWindow.run_ez(GameWindow.java:802)
zombie.GameWindow.mainThread(GameWindow.java:600)
java.base/java.lang.Thread.run(Unknown Source)
< >
Showing 1-9 of 9 comments
Ullatec 14 Feb @ 4:16pm 
I get that error when i try to eat when i have the mod , Tidy Up Meister, enabled. I am unable to eat anything.

tidy + True smoking, definitive zombies disabled = ok
tidy + definitive Z, true smoking disable = error
true smoking + definitive Z, tidy disabled = ok

This all started happening with B42.3.1
I only loaded up 42.3.0 to organize mods, i didnt play since .1 came out pretty fast to fix that NAN problem.

I think its this mod and not tidy up that is the problem, as i get a error with this by itself.

`attempted index: LOGGER of non-table: null
function: DZ_initialising_message -- file: DefinitiveZombies.lua line # 28 | MOD: [B42]Definitive Zombies Core
function: DZ_on_game_time_loaded -- file: DefinitiveZombies.lua line # 219 | MOD: [B42]Definitive Zombies Core
java.lang.RuntimeException: attempted index: LOGGER of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:479)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1790)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
at zombie.Lua.Event.trigger(Event.java:81)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:281)
at zombie.gameStates.GameLoadingState$1.runInner(GameLoadingState.java:319)
at zombie.gameStates.GameLoadingState$1.run(GameLoadingState.java:251)
at java.base/java.lang.Thread.run(Unknown Source)
`

I get that when i exit to menu.
Originally posted by Ullatec:
I get that error when i try to eat when i have the mod , Tidy Up Meister, enabled. I am unable to eat anything.

tidy + True smoking, definitive zombies disabled = ok
tidy + definitive Z, true smoking disable = error
true smoking + definitive Z, tidy disabled = ok

This all started happening with B42.3.1
I only loaded up 42.3.0 to organize mods, i didnt play since .1 came out pretty fast to fix that NAN problem.

I think its this mod and not tidy up that is the problem, as i get a error with this by itself.

`attempted index: LOGGER of non-table: null
function: DZ_initialising_message -- file: DefinitiveZombies.lua line # 28 | MOD: [B42]Definitive Zombies Core
function: DZ_on_game_time_loaded -- file: DefinitiveZombies.lua line # 219 | MOD: [B42]Definitive Zombies Core
java.lang.RuntimeException: attempted index: LOGGER of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:479)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1790)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
at zombie.Lua.Event.trigger(Event.java:81)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:281)
at zombie.gameStates.GameLoadingState$1.runInner(GameLoadingState.java:319)
at zombie.gameStates.GameLoadingState$1.run(GameLoadingState.java:251)
at java.base/java.lang.Thread.run(Unknown Source)
`

I get that when i exit to menu.
same thing
Maku, add Bashou on Ste@m  [developer] 20 Feb @ 6:57pm 
I think I got it fixed, does the error still appear?
Ullatec 21 Feb @ 6:22pm 
`attempted index: LOGGER of non-table: null
function: DZ_initialising_message -- file: DefinitiveZombies.lua line # 28 | MOD: [B42]Definitive Zombies Core
function: DZ_on_game_time_loaded -- file: DefinitiveZombies.lua line # 223 | MOD: [B42]Definitive Zombies Core
java.lang.RuntimeException: attempted index: LOGGER of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1667)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:479)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:173)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1963)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1790)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:66)
at se.krka.kahlua.integration.LuaCaller.protectedCallVoid(LuaCaller.java:139)
at zombie.Lua.Event.trigger(Event.java:81)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:281)
at zombie.gameStates.GameLoadingState$1.runInner(GameLoadingState.java:305)
at zombie.gameStates.GameLoadingState$1.run(GameLoadingState.java:259)
at java.base/java.lang.Thread.run(Unknown Source)
`

I can eat now tho.
Ullatec 21 Feb @ 10:41pm 
Ok, after testing a bit, im not sure what its conflicting. If i do auto mod load order, i can eat but i get that last error. If i keep this on bottom of my load order, i dont get that error and i cant eat. Guess ill have to try to figure out what its conflicting with.
Maku, add Bashou on Ste@m  [developer] 21 Feb @ 11:28pm 
From my guess, it seems one of the mods is sharing the same library name as my mod. Although it should have been renamed already.

Could you check that you have this in your workshop folder?
.\workshop\content\108600\3415451766\mods\DefinitiveZombies\42\media\lua\client\DZ_utils.lua

unsub + resub should get the latest version
Maku, add Bashou on Ste@m  [developer] 21 Feb @ 11:29pm 
I did get the same error with the true smoking + tidy + DZ error, but after updating my library name, i dont get it anymore
Ullatec 22 Feb @ 1:24am 
Perfect, working now. I swore i did a resub earlier. Thats what i useally do when a mod gets updated and i have a error.
Maku, add Bashou on Ste@m  [developer] 22 Feb @ 4:28am 
sweet!
< >
Showing 1-9 of 9 comments
Per page: 1530 50