Project Zomboid

Project Zomboid

Bzouk Hotbar Mod B41
Dwarden 9 Oct, 2021 @ 5:25pm
script error on screen size change
build 41.55
when i change window size it throws error

LOG : General , 1633825364591> Screen resolution changed from 1910x1143 to 1920x1153 fullScreen=false LOG : General , 1633825364591> MainScreen.onResolutionChange 1910x1143 -> 1920x1153 LOG : General , 1633825364592> ------------------------------------------------------------- attempted index: inGame of non-table: null LOG : General , 1633825364594> ----------------------------------------- STACK TRACE ----------------------------------------- function: OnResolutionChange -- file: BzHotBar.lua line # 346 ERROR: General , 1633825364596> ExceptionLogger.logException> Exception thrown java.lang.RuntimeException: attempted index: inGame of non-table: null at KahluaThread.tableget line:1689. ERROR: General , 1633825364596> DebugLogStream.printException> Stack trace: java.lang.RuntimeException: attempted index: inGame 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:210) at zombie.core.Core.setScreenSize(Core.java:2422) at zombie.GameWindow.frameStep(GameWindow.java:732) at zombie.GameWindow.run_ez(GameWindow.java:642) at zombie.GameWindow.mainThread(GameWindow.java:471) at java.base/java.lang.Thread.run(Unknown Source) LOG : General , 1633825364597> ----------------------------------------- STACK TRACE ----------------------------------------- function: OnResolutionChange -- file: BzHotBar.lua line # 346
< >
Showing 1-2 of 2 comments
Did you solve it? I have same error
Zorash 8 Nov, 2024 @ 1:22pm 
same error here
< >
Showing 1-2 of 2 comments
Per page: 1530 50