Project Zomboid

Project Zomboid

Kink it Up!
Bug Report
I get this error after started new game, when the line "this is how you die" appear, hope you can patch it soon

`attempted index: items of non-table: null
function: WC_Distributions.lua -- file: WC_Distributions.lua line # 47 | MOD: Kink It Up!
java.lang.RuntimeException: attempted index: items 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.pcall(KahluaThread.java:1760)
at se.krka.kahlua.integration.LuaCaller.pcall(LuaCaller.java:76)
at se.krka.kahlua.integration.LuaCaller.protectedCall(LuaCaller.java:117)
at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:629)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:572)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:558)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:417)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:309)
at zombie.gameStates.GameLoadingState.enter(GameLoadingState.java:106)
at zombie.gameStates.GameStateMachine.update(GameStateMachine.java:145)
at zombie.GameWindow.logic(GameWindow.java:372)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:76)
at zombie.GameWindow.frameStep(GameWindow.java:917)
at zombie.GameWindow.run_ez(GameWindow.java:810)
at zombie.GameWindow.mainThread(GameWindow.java:610)
at java.base/java.lang.Thread.run(Unknown Source)
`
< >
Showing 1-6 of 6 comments
I had the same first line error and it prevents the mod from loading. I managed to get it running by putting kink it up all the way at the top of the mod order and remembering boots extended causes issues that was put at the end. Maybe this relates to your error or not? I am seeing some of the clothing in debug item list (no specific tab for kink though)
Last edited by Madkoifish; 9 Jan @ 5:56pm
@Quilava: This bug happens because the mod's distro table is calling a container that no longer exists. "WardrobeWoman" has been replaced in B42 with "WardrobeGeneric". Replacing the former with the latter fixes the error.
Last edited by Totally Not An Illuminate Spy; 19 Jan @ 11:45pm
Quilava 19 Jan @ 11:29pm 
That odd? Im in B42, other mod working just find, also run verify file few day ago and it still happen, maybe some mod change the name or something? At least we know now :cta_emo6:
It's a quick hotfix you can do yourself to fix the mod. Takes all of 2 minutes. It's what I did.
Originally posted by Madman_Andre (GNU Rick May):
It's a quick hotfix you can do yourself to fix the mod. Takes all of 2 minutes. It's what I did.

Could you tell us where you found the WardrobeWoman line, I would like to fix it myself too :)
Originally posted by SCARECROW:
Originally posted by Madman_Andre (GNU Rick May):
It's a quick hotfix you can do yourself to fix the mod. Takes all of 2 minutes. It's what I did.

Could you tell us where you found the WardrobeWoman line, I would like to fix it myself too :)
Steam\steamapps\workshop\content\108600\2898847521\mods\Kink It Up!\common\media\lua\server\items\WC_Distributions.lua is the location/file. Lines 47-70 contain the bad code, just need to replace one function with another for 2 dozen lines.
< >
Showing 1-6 of 6 comments
Per page: 1530 50