Project Zomboid

Project Zomboid

Kink it Up!
Quilava 1 月 8 日 下午 10:09
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)
`
< >
正在显示第 1 - 6 条,共 6 条留言
Madkoifish 1 月 9 日 下午 5:55 
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)
最后由 Madkoifish 编辑于; 1 月 9 日 下午 5:56
@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.
最后由 Totally Not An Illuminate Spy 编辑于; 1 月 19 日 下午 11:45
Quilava 1 月 19 日 下午 11:29 
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.
Scarecrow 1 月 22 日 上午 6:48 
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 :)
引用自 SCARECROW
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.
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50