Project Zomboid

Project Zomboid

Treasure hunt event
bioinformer 22 Mar, 2024 @ 2:06pm
Errors when using this mod
we're testing this on our Willow Hill Games server and it triggers tons of errors unfortunately whenever someone adds a pager to their belt.

`attempted index: addOptionOnTop of non-table: null
function: doMenu -- file: ISHotbar.lua line # 133 | Vanilla
function: doMenu -- file: ReorderTheHotbar_ISHotbar.lua line # 191 | MOD: Reorder The Hotbar
function: onRightMouseUp -- file: ISHotbar.lua line # 280 | Vanilla
function: onRightMouseUp -- file: ReorderTheHotbar_ISHotbar.lua line # 178 | MOD: Reorder The Hotbar
java.lang.RuntimeException: attempted index: addOptionOnTop of non-table: null
at se.krka.kahlua.vm.KahluaThread.tableget(KahluaThread.java:1689)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:641)
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.onRightMouseUp(UIElement.java:1458)
at zombie.ui.UIManager.update(UIManager.java:910)
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)
`
< >
Showing 1-4 of 4 comments
tanp0p0  [developer] 22 Mar, 2024 @ 4:17pm 
I tried research but can't reproduce it
"Reorder The Hotbar"
I tried adding it but it doesn't reproduce
How can I reproduce it...?
bioinformer 22 Mar, 2024 @ 5:20pm 
i equip the beeper object in my hotbar by right clicking on it and chose the right or left belt slot. Then hover over the same beeper while it is in the quick slot - left belt for example - and try to activate the beeper. when you pull up the right click menu on the beeper while it is in the hotbar, it triggers this error. It doesn't crash anything - it just triggers this error a bunch of times every time you try to use the beeper while it is in the hotbar. We are using Chuckleberry's Error Magnifier mod (amazing btw for developers) to capture these errors during game play.
tanp0p0  [developer] 22 Mar, 2024 @ 5:55pm 
Thank you for the detailed situation
I installed these four MODs and followed the steps.

pkszTH
REORDER_THE_HOTBAR
errorMagnifier
Authentic Z - Current

but couldn't reproduce


My guess is that the menu list information is not passed correctly when displaying the menu.
Uh,mmm,
It might be a loading order issue...
I'm curious so I'll look into it a little more
tanp0p0  [developer] 22 Mar, 2024 @ 6:02pm 
sorry

I couldn't reproduce it even after changing the load order.
It seems like something is still missing in my environment.

I think it's probably a conflict with some mod.
I'll try to find a way to find the cause.
Last edited by tanp0p0; 22 Mar, 2024 @ 6:17pm
< >
Showing 1-4 of 4 comments
Per page: 1530 50