Project Zomboid

Project Zomboid

Reorder The Hotbar [B42/41]
Bugreport
Hello, I'm playing on a dedicated server with a lot of mods.
When I'm having a shotgun (from arsenal gunfighter, 870 Marine) and but it on a sling (From Noir's Slings) I sometimes get a error when reloading.
The error is the following:
https://pastebin.com/LwM2CuiN
< >
Showing 1-4 of 4 comments
`attempted index: playerNum of non-table: null
function: doMenu -- file: MutiesContextMenuIconsAttach.lua line # 12 | MOD: Mutie's Context Menu icons
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: playerNum 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.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:667)
at zombie.GameWindow.mainThread(GameWindow.java:495)
at java.base/java.lang.Thread.run(Unknown Source)
`
Cuyi 15 Jul, 2024 @ 1:46pm 
It have problems with Noir's Attachments and swap slots randomly each time you use an attachment or when you unequip the bag. It doesn't save your configuration, no matter if you lock or unlock them.
Quilava 4 Jan @ 9:08am 
I found this bug, if you put the new "Water canteen" in the hotbar, it will give you error until you remove the canteen, also the hotbar will lose all icon and wont work, nothing happen when you put it in when empty, but when you pill the water that when it happen
Last edited by Quilava; 4 Jan @ 9:10am
GFreenD 30 Mar @ 1:43pm 
seems to have incompability with equipment ui mod

`Callframe at: setAttachedItem
function: attachItem -- file: ISHotbar.lua line # 380 | Vanilla
function: refresh -- file: ISHotbar.lua line # 544 | Vanilla
function: refresh -- file: ReorderTheHotbar_ISHotbar.lua line # 44 | MOD: Reorder The Hotbar
function: refresh -- file: ISHotbar_injectRefreshEvent.lua line # 6 | MOD: Equipment UI
function: update -- file: ISHotbar.lua line # 258 | Vanilla
java.lang.NullPointerException: Cannot assign field "callFrame" because "<parameter1>" is null
at se.krka.kahlua.integration.expose.ReturnValues.put(ReturnValues.java:65)
at se.krka.kahlua.integration.expose.LuaJavaInvoker.call(LuaJavaInvoker.java:202)
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.pcallvoid(KahluaThread.java:1805)
at se.krka.kahlua.integration.LuaCaller.pcallvoid(LuaCaller.java:38)
at zombie.ui.UIElement.update(UIElement.java:2059)
at zombie.ui.UIManager.updateUIElements(UIManager.java:1034)
at zombie.ui.UIManager.update(UIManager.java:789)
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)
`
< >
Showing 1-4 of 4 comments
Per page: 1530 50