Project Zomboid

Project Zomboid

[B41/B42] Day One (Bandits)
Nacalal 2024 年 9 月 17 日 下午 8:50
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.
最後修改者:Nacalal; 2024 年 9 月 17 日 下午 8:57
< >
目前顯示第 1-5 則留言,共 5
Nacalal 2024 年 9 月 17 日 下午 8:56 
Can confirm it happens in Rosewood too.
Nacalal 2024 年 9 月 17 日 下午 9:20 
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.
MobileSuitCleb 2024 年 9 月 25 日 上午 9:17 
Looks like that as issue with the base Bandits mod, not this one, best off posting this there!
Nacalal 2024 年 10 月 7 日 上午 8:33 
引用自 MobileSuitCleb
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.
< >
目前顯示第 1-5 則留言,共 5
每頁顯示: 1530 50