Project Zomboid

Project Zomboid

[B41/B42] Day One (Bandits)
Error spam on start of new game
It seems every time I start a new game, I get error spammed throughout my debug log.
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@fbc32bfa function: Collisions -- file: BanditUpdate.lua line # 499 | MOD: Bandits function: OnBanditUpdate -- file: BanditUpdate.lua line # 1254 | MOD: Bandits. [17-09-24 21:38:41.134] ERROR: General , 1726630721134> ExceptionLogger.logException> Exception thrown java.lang.reflect.InvocationTargetException at GeneratedMethodAccessor859.invoke.. [17-09-24 21:38:41.134] ERROR: General , 1726630721134> DebugLogStream.printException> Stack trace:. [17-09-24 21:38:41.135] LOG : General , 1726630721135> ----------------------------------------- STACK TRACE -----------------------------------------
As for the stack trace, well, that's it.
That's the entire error and I have no clue what's causing it.
I should also mention, I'm running a new game on Raven Creek, and sometimes it doesn't start spamming the log for a minute or so, but then devolves into error counter FPS death.
Also, this is in single player.
Viimeisin muokkaaja on Nacalal; 17.9.2024 klo 20.57
< >
Näytetään 1-5 / 5 kommentista
Can confirm it happens in Rosewood too.
Fixed it, the issue is that at line 499 in 'media/lua/client/BanditUpdate.lua' has the wrong case for the 'D' in 'doorW'.

Line reads as:
'if object:getSprite():getProperties():Is(IsoFlagType.DoorW) then'

When it should read as:
'if object:getSprite():getProperties():Is(IsoFlagType.doorW) then'

Changing the 'D' to a lowercase 'd' fixed the issue and allows the mod to function as intended.
May not have bumped into this in testing as this is probably one of those low-level linux weirdness issues where case sensitivity matters when it wouldn't on windows.
Looks like that as issue with the base Bandits mod, not this one, best off posting this there!
MobileSuitCleb lähetti viestin:
Looks like that as issue with the base Bandits mod, not this one, best off posting this there!
Good idea, would have done so sooner but was out of town.
< >
Näytetään 1-5 / 5 kommentista
Sivua kohden: 1530 50