Project Zomboid

Project Zomboid

Read While Walking
This topic has been locked
ilkankus 17 Dec, 2023 @ 8:14am
I don't know how errors work so I will just post this here
`attempted index: inGame of non-table: null
function: KeyUp -- file: fix_read_walking.lua line # 325 | MOD: Read While Walking
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:92)
at zombie.input.GameKeyboard.update(GameKeyboard.java:65)
at zombie.GameWindow.logic(GameWindow.java:249)
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-2 of 2 comments
star  [developer] 26 Dec, 2024 @ 8:59pm 
I'm very interested in the mod that causes this becuase it affects MainScreen.instance and that makes no sense.

Does anybody know how MainScreen.instance can be nil?
star  [developer] 26 Dec, 2024 @ 9:07pm 
Originally posted by ilkankus:
I don't know how errors work so I will just post this here
Do you have it just in log file or is the button not working in the game?
< >
Showing 1-2 of 2 comments
Per page: 1530 50