Project Zomboid

Project Zomboid

Insurgent Profession - Customizable Loadout
Hammy  [developer] 23 Mar @ 3:19pm
Bug Reports
If you encounter any bugs or issues, please report them here. Be sure to include details like the problem, any error messages, and the steps to reproduce it. I'll do my best to fix them!
< >
Showing 1-7 of 7 comments
Mini-Rus 12 Apr @ 10:50am 
In character customisation window w/ custom loadout dissapears.
Happens if you switch from character customisation to traits customisation and back, loading character customisation save.

Error messages I copied by error magnifier:

`attempted index: traits of non-table: null
function: RegisterEvents -- file: ArmyRanger_Mod.lua line # 58 | MOD: Insurgent Profession - Customizable Loadout (Add Insurgent Traits)
java.lang.RuntimeException: attempted index: traits of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1812)
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:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:65)
at zombie.core.Core.ResetLua(Core.java:4186)
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:198)
at se.krka.kahlua.integration.expose.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:60)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcallBoolean(KahluaThread.java:1924)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1228)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1183)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1183)
at zombie.ui.UIManager.update(UIManager.java:816)
at zombie.GameWindow.logic(GameWindow.java:262)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
`

`attempted index: traits of non-table: null
function: RegisterEvents -- file: DeltaForce_Mod.lua line # 58 | MOD: Insurgent Profession - Customizable Loadout (Add Insurgent Traits)
java.lang.RuntimeException: attempted index: traits of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:492)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcallvoid(KahluaThread.java:1812)
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:64)
at zombie.Lua.LuaEventManager.triggerEvent(LuaEventManager.java:65)
at zombie.core.Core.ResetLua(Core.java:4186)
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:198)
at se.krka.kahlua.integration.expose.MultiLuaJavaInvoker.call(MultiLuaJavaInvoker.java:60)
at se.krka.kahlua.vm.KahluaThread.callJava(KahluaThread.java:182)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:1007)
at se.krka.kahlua.vm.KahluaThread.call(KahluaThread.java:163)
at se.krka.kahlua.vm.KahluaThread.pcall(KahluaThread.java:1980)
at se.krka.kahlua.vm.KahluaThread.pcallBoolean(KahluaThread.java:1924)
at se.krka.kahlua.integration.LuaCaller.protectedCallBoolean(LuaCaller.java:104)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1228)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1183)
at zombie.ui.UIElement.onMouseUp(UIElement.java:1183)
at zombie.ui.UIManager.update(UIManager.java:816)
at zombie.GameWindow.logic(GameWindow.java:262)
at zombie.core.profiling.AbstractPerformanceProfileProbe.invokeAndMeasure(AbstractPerformanceProfileProbe.java:71)
at zombie.GameWindow.frameStep(GameWindow.java:765)
at zombie.GameWindow.run_ez(GameWindow.java:681)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
`
Hammy  [developer] 12 Apr @ 12:40pm 
@Mini-Rus: Thank you for reporting this issue! I tried to replicate the bug but couldn’t reproduce it on my end. To ensure I understand the steps correctly, could you confirm if the following sequence leads to the issue:

  • Choose a profession and traits.
  • Go into the character customization screen.
  • Go back into the profession/traits customization screen.
  • Do you make any changes to the profession or traits at this point?
  • Go back into the character customization screen.
  • Load a saved character profile.

Additionally, are you using any other mods that affect character creation besides those I’ve listed as compatible? Mod conflicts can sometimes lead to unexpected behavior. Let me know so I can investigate further!
Hammy  [developer] 12 Apr @ 1:01pm 
@Mini-Rus: Going by the logs you attached, it seems like the issue was caused by not having the SecretZ Operations mod installed. I've updated the mod to address this compatibility issue. Please let me know if the problem persists after updating.
Last edited by Hammy; 12 Apr @ 1:02pm
Mini-Rus 12 Apr @ 2:16pm 
Originally posted by Hammy:
@Mini-Rus: Thank you for reporting this issue! I tried to replicate the bug but couldn’t reproduce it on my end. To ensure I understand the steps correctly, could you confirm if the following sequence leads to the issue:

  • Choose a profession and traits.
  • Go into the character customization screen.
  • Go back into the profession/traits customization screen.
  • Do you make any changes to the profession or traits at this point?
  • Go back into the character customization screen.
  • Load a saved character profile.

Additionally, are you using any other mods that affect character creation besides those I’ve listed as compatible? Mod conflicts can sometimes lead to unexpected behavior. Let me know so I can investigate further!

Yeah, I have unlisted mods for character customisation.

I don't make any changes to the profession/traits.

I've downloaded SecretZ Operations and disabled other mods. It seems to work now. I'll try to find which mods cause problems.
Hammy  [developer] 12 Apr @ 3:20pm 
Originally posted by Mini-Rus:
Originally posted by Hammy:
@Mini-Rus: Thank you for reporting this issue! I tried to replicate the bug but couldn’t reproduce it on my end. To ensure I understand the steps correctly, could you confirm if the following sequence leads to the issue:

  • Choose a profession and traits.
  • Go into the character customization screen.
  • Go back into the profession/traits customization screen.
  • Do you make any changes to the profession or traits at this point?
  • Go back into the character customization screen.
  • Load a saved character profile.

Additionally, are you using any other mods that affect character creation besides those I’ve listed as compatible? Mod conflicts can sometimes lead to unexpected behavior. Let me know so I can investigate further!

Yeah, I have unlisted mods for character customisation.

I don't make any changes to the profession/traits.

I've downloaded SecretZ Operations and disabled other mods. It seems to work now. I'll try to find which mods cause problems.

@Mini-Rus It should now function without requiring the SecretZ Operations mod as well. If the issue persists, it might be caused by one of the other character creation mods. If you can identify the specific mod causing the issue, please let me know and I'll take a closer look at it.
Having some issues
After subscribing to this mod, when I spon to the world, there will be no weapon in our inventory, neither in our hand, but after I delete this mod, everything will work fine. Can you help me check if this is my problem or is the mod's problem? Thanks
Hammy  [developer] 13 Apr @ 11:06am 
Originally posted by SGT. Dickas:
After subscribing to this mod, when I spon to the world, there will be no weapon in our inventory, neither in our hand, but after I delete this mod, everything will work fine. Can you help me check if this is my problem or is the mod's problem? Thanks

If you are experiencing issues with this mod, please follow these steps to troubleshoot:
  • Check the Mod Load Order: Ensure your mods are arranged in the correct order as specified on this mod's Steam Workshop page. There is an image provided on the page that illustrates the required load order.
  • Test with Only This Mod and Its Requirements: Disable all other mods except for this one and its required dependencies. Run the game to confirm if the issue persists.
  • Identify Compatibility Issues: If the problem does not occur with only this mod enabled, re-enable your other mods one by one. This process will help identify any compatibility issues with other mods.
By isolating the problematic mod, you can determine whether the issue lies with this mod or a conflict with another. If you discover a compatibility issue, please report it so I can investigate further.
< >
Showing 1-7 of 7 comments
Per page: 1530 50