Project Zomboid

Project Zomboid

[B41 MP only] bikinitools: Server Edition
This topic has been locked
MacGyver 4 Oct, 2023 @ 11:09am
Error since last update
I got this error on my server:

STACK TRACE
-----------------------------------------
function: sortAreaXY -- file: Areas.lua line # 76 | MOD: bikinitools [SE] 124: Base mod
function: coordinateIsInAreaXY -- file: Areas.lua line # 29 | MOD: bikinitools [SE] 124: Base mod
function: Add -- file: SafehouseConstraints.lua line # 19 | MOD: bikinitools [SE] 124: Tools and QOL things
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@883a31fe
function: createMenu -- file: ISWorldObjectContextMenu.lua line # 1543 | Vanilla
function: createMenu -- file: WorldContextMenu.lua line # 11 | MOD: bikinitools [SE] 124: Base mod
function: createMenu -- file: BB_FAO_ISWorldObjectContextMenu.lua line # 28 | MOD: First Aid Overhaul
function: createMenu -- file: ISMenuContextWorld.lua line # 50 | Vanilla
function: createWorldMenu -- file: ISContextManager.lua line # 28 | Vanilla
function: doRClick -- file: ISObjectClickHandler.lua line # 60 | Vanilla
function: onObjectRightMouseButtonUp -- file: ISObjectClickHandler.lua line # 379 | Vanilla

ERROR: General , 1696442776077> 711.608.219> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: __lt not defined for operand at KahluaUtil.fail line:82.
ERROR: General , 1696442776077> 711.608.219> DebugLogStream.printException> Stack trace:
java.lang.RuntimeException: __lt not defined for operand
at se.krka.kahlua.vm.KahluaUtil.fail(KahluaUtil.java:82)
at se.krka.kahlua.vm.KahluaThread.luaMainloop(KahluaThread.java:900)
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:214)
at zombie.Lua.LuaEventManager.triggerEventGarbage(LuaEventManager.java:228)
at zombie.Lua.LuaManager$GlobalObject.triggerEvent(LuaManager.java:3086)
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:79)
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.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:173)
at zombie.ui.UIManager.update(UIManager.java:938)
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)
LOG : General , 1696442776082> 711.608.224> -----------------------------------------
STACK TRACE
< >
Showing 1-3 of 3 comments
bikinihorst  [developer] 4 Oct, 2023 @ 2:27pm 
seems like i can add another one to the conflicts thread then:

function: createMenu -- file: BB_FAO_ISWorldObjectContextMenu.lua line # 28 | MOD: First Aid Overhaul

the world context menu hook i use has been unchanged for about half a year.
Last edited by bikinihorst; 4 Oct, 2023 @ 2:28pm
MacGyver 4 Oct, 2023 @ 2:31pm 
Oh damn the i have to write on hist mod right?
bikinihorst  [developer] 4 Oct, 2023 @ 2:39pm 
good question. not even sure why it blows up. the current state of the first aid overhaul (sept 24th update) should not conflict. has the same parameter count and so on.

only thing i am not sure about is why he even used a hook instead of the usual event for the context menu. i use the hook method because i want to reuse what the vanilla context menu already found out, like a clicked player, generator, whatever else the game already checked.

the one in btse that led to the error, the one for safehouse check, it was used with the event: Events.OnFillWorldObjectContextMenu and it crashes because the context menu does not know the objects that were clicked.

so yeah, no clue what is happening here
< >
Showing 1-3 of 3 comments
Per page: 1530 50