Project Zomboid

Project Zomboid

Read While Walking
此主题已被锁定
ilkankus 2023 年 12 月 17 日 上午 8:14
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)
< >
正在显示第 1 - 2 条,共 2 条留言
star  [开发者] 2024 年 12 月 26 日 下午 8:59 
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  [开发者] 2024 年 12 月 26 日 下午 9:07 
引用自 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?
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50