Project Zomboid

Project Zomboid

Woodcutting Skill [B42]
Bug Report
@Champy, @Monkey Magic, firstly, thank you for updating the mod to the most recent build, have used in the past build, awesome work.

Secondly, i just got a error popping while activating the mod in the main menu, the error goes like this.

`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:72) at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:281) at zombie.core.Core.ResetLua(Core.java:4971) 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:1633) at zombie.ui.UIElement.onMouseUp(UIElement.java:1588) at zombie.ui.UIElement.onMouseUp(UIElement.java:1588) at zombie.ui.UIElement.onConsumeMouseButtonUp(UIElement.java:1695) at zombie.ui.UIManager.updateMouseButtons(UIManager.java:844) at zombie.ui.UIManager.update(UIManager.java:706) at zombie.GameWindow.logic(GameWindow.java:332) at zombie.GameWindow.frameStep(GameWindow.java:928) at zombie.GameWindow.run_ez(GameWindow.java:821) at zombie.GameWindow.mainThread(GameWindow.java:619) at java.base/java.lang.Thread.run(Unknown Source) `

Keep in mind i dont have any other mods that mess or change traits/skills, i just started now addind mods that do that, this was the first, plus Scavegening Skill mod, and Driving Skill mod, just subscribed to this three mods right now.

Any more information needed, please let me know.

Cheers.
< >
Showing 1-3 of 3 comments
Monkey Magic  [developer] 11 May @ 11:45pm 
Hey there, could you also state what the in-game effects were? Or did it not even load the game? Also a list of enabled mods, and load order would help. I have this, Scavenging Skill and Driving Skill enabled in my test playthrough (along with a bunch of others) and do not get any errors.

Even if you have mods you think do not change code, sometimes they do anyway.
Last edited by Monkey Magic; 11 May @ 11:47pm
Originally posted by Monkey Magic:
Hey there, could you also state what the in-game effects were? Or did it not even load the game? Also a list of enabled mods, and load order would help. I have this, Scavenging Skill and Driving Skill enabled in my test playthrough (along with a bunch of others) and do not get any errors.

Even if you have mods you think do not change code, sometimes they do anyway.

No i didnt load the game, i was in the main menu, i activated the mod in the mods tab, and as soon as i did it, and the LUA reloaded, error poped.

I'm willing to share my mod load order but not here since its a custom one, made with countless hours of testing, i'm a mod/project tester in the modding community, i can share my work, but i will do it in discord if you want.

Awaitng for a reply.

Cheers.
Monkey Magic  [developer] 3 Jun @ 12:41pm 
As per the change notes in the latest update, I have commented out the offending line (and it's friends) for the time being. I'm not entirely sure what this was supposed to do, but I think it was supposed to add the Firewood specialisation to "Gardener" (in the case above) "Scout" and "Ranger" traits.

Since the vanilla "Whittler" adds this without issue, I am not entirely sure why the game is having a hissy fit over it. Furthermore, the "Woodcutter" appears to work fine, and this adds it as well.

Commenting them out effectively removes the addition made by the mod to these skills, but I don't think it's too much of a sacrifice in order to get it working for now.

EDIT

These have now been reinstated with a fix for the issue B42.8 caused
Last edited by Monkey Magic; 4 Jun @ 4:42am
< >
Showing 1-3 of 3 comments
Per page: 1530 50