Project Zomboid

Project Zomboid

Woodcutting Skill [B42]
Error
`attempted index: specialisations of non-table: null
function: initWoodcuttingSkillTraits -- file: WoodcuttingSkillTraits.lua line # 26 | MOD: Woodcutting Skill 42
java.lang.RuntimeException: attempted index: specialisations 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.core.Core.ResetLua(Core.java:4923)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at se.krka.kahlua.integration.expose.caller.MethodCaller.call(MethodCaller.java:62)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:211)
at se.krka.kahlua.integration.expose.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:60)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:192)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:988)
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.pcallBoolean(KahluaThread.java:1902)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1626)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1581)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1581)
at zombie.ui.UIElement.onConsumeMouseButtonUp(UIElement.java:1688)
at zombie.ui.UIManager.updateMouseButtons(UIManager.java:861)
at zombie.ui.UIManager.update(UIManager.java:721)
at zombie.GameProfiler.invokeAndMeasure(GameProfiler.java:176)
at zombie.GameWindow.logic(GameWindow.java:324)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:76)
at zombie.GameWindow.frameStep(GameWindow.java:909)
at zombie.GameWindow.run_ez(GameWindow.java:802)
at zombie.GameWindow.mainThread(GameWindow.java:600)
at java.base/java.lang.Thread.run(Unknown Source)
`
I am using Dynamic traits and expanded moodles. I get that error tho after i enable this mod.
Ive tried moving it to differnt loading spots.
< >
Showing 1-2 of 2 comments
Monkey Magic  [developer] 1 Mar @ 3:30pm 
Yeah, the "dynamic traits" part of your Dynamic Traits and Expanded Moodles mod is probably breaking the traits added, or the changes made to existing traits that Woodcutting Skill does.

It's hitting on line 26 which is the "Gardener" changes, so that's your issue here. It would probably trigger on "Hiker" and a couple others two, since both mods are changing the same vanilla file. As it stands these two mods are incompatible.

Your options are either: remove one of the mods, or maybe see if one of the mod authors is willing to make a patch to make them compatible. For my part, this is part of Champy's original code, and while I have added content to the mod, I don't wanna mess with what already existed.

Champy is kinda busy these days, so maybe Peppercat..
Ullatec 1 Mar @ 3:48pm 
Ok! Not what i wanted to hear BUT you gave me options to go with.

I understand not wanting to mess with his code while he's on /afk for awhile. I mean, why break something that isnt broke, so to speak, lol.

Ive been running almost all the ones you have have been tossing out, this has been the only one that i wasnt sure on but figured it might be due to peppercats one.

Thanks for getting back to me.
< >
Showing 1-2 of 2 comments
Per page: 1530 50