=== Zomboid Settings ===
Version: 42.17.0 07251fd2fe7da18ee628b098d1206043daca3419 2026-04-20 14:34:44 (ZB) (Steam)
Mode: MULTIPLAYER
[x1]
java.lang.ArrayIndexOutOfBoundsException: Index 65022 out of bounds for length 31
at org.luaj.kahluafork.compiler.LexState.token2str(LexState.java:247)
at org.luaj.kahluafork.compiler.LexState.txtToken(LexState.java:262)
at org.luaj.kahluafork.compiler.LexState.lexerror(LexState.java:270)
at org.luaj.kahluafork.compiler.LexState.syntaxerror(LexState.java:285)
at org.luaj.kahluafork.compiler.LexState.prefixexp(LexState.java:1075)
at org.luaj.kahluafork.compiler.LexState.primaryexp(LexState.java:1087)
at org.luaj.kahluafork.compiler.LexState.exprstat(LexState.java:1629)
at org.luaj.kahluafork.compiler.LexState.statement(LexState.java:1718)
at org.luaj.kahluafork.compiler.LexState.chunk(LexState.java:1729)
at org.luaj.kahluafork.compiler.LexState.compile(LexState.java:194)
at se.krka.kahlua.luaj.compiler.LuaCompiler.loadis(LuaCompiler.java:125)
at se.krka.kahlua.luaj.compiler.LuaCompiler.loadis(LuaCompiler.java:117)
at zombie.Lua.LuaManager.RunLuaInternal(LuaManager.java:1346)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:1320)
at zombie.Lua.LuaManager.RunLua(LuaManager.java:1309)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:1199)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:1113)
at zombie.Lua.LuaManager.LoadDirBase(LuaManager.java:1236)
at zombie.GameWindow.init(GameWindow.java:1154)
at zombie.GameWindow.mainThreadInit(GameWindow.java:671)
at zombie.GameWindow.mainThreadStart(GameWindow.java:542)
at zombie.MainThread.mainLoop(MainThread.java:59)
at java.base/java.lang.Thread.run(Unknown Source)
#Array Index Out of Bounds
1 messages · Page 1 of 1 (latest)
It's hard to tell what the issue might be in isolation, when does this happen? is it causing the game to crash?
Can you share your logs.zip file found in %UserProfile%\Zomboid?
it's not causing a crash or anything just noticed it each time I load into the game it throws this up.
Are you running any mods?
I am, same mods from 42.16
If you disable your mods and start a new save does the error continue to happen?
It’s on a dedicated server can’t really do this, however I know it wasn’t happening until I move the save over to 42.17