Project Zomboid

Project Zomboid

[B42/B41] Bandits NPC
B42, Consistent Crash around Valley Station Road
Hi there, I recently started a Week One playthrough. I started experiencing a consistent crash around a very specific area, the Valley Station Road strip club. My game was heavily modded, so it took a lot of time to hunt down the mod causing the issue.

After lots of trial and error, I eventually narrowed it down to only running Bandits and experienced the consistent crash in the same area.

The two most common errors I saw in the crash logs were:

[04-10-25 02:27:43.379] ERROR: General f:3761, t:1759534063379> ExceptionLogger.logException> Exception thrown java.lang.NullPointerException: Cannot read field "objects" because "this.def" is null at IsoRoom.hasLightSwitches(IsoRoom.java:770). Stack trace: zombie.iso.areas.IsoRoom.hasLightSwitches(IsoRoom.java:770) zombie.iso.objects.IsoLightSwitch.chunkLoaded(IsoLightSwitch.java:1077) zombie.iso.IsoChunk.loadInMainThread(IsoChunk.java:3627) zombie.iso.IsoChunk.doLoadGridsquare(IsoChunk.java:4842) zombie.iso.IsoChunkMap.updateInternal(IsoChunkMap.java:247) zombie.iso.IsoChunkMap.update(IsoChunkMap.java:206) zombie.iso.IsoCell.updateInternal(IsoCell.java:5940) zombie.iso.IsoCell.update(IsoCell.java:5897) zombie.iso.IsoWorld.updateWorld(IsoWorld.java:4203) zombie.iso.IsoWorld.updateInternal(IsoWorld.java:4323) zombie.iso.IsoWorld.update(IsoWorld.java:4237) zombie.gameStates.IngameState.updateInternal(IngameState.java:1700) zombie.gameStates.IngameState.update(IngameState.java:1465) zombie.gameStates.GameStateMachine.update(GameStateMachine.java:87) zombie.GameWindow.logic(GameWindow.java:386) zombie.GameWindow.frameStep(GameWindow.java:923) zombie.GameWindow.mainThreadStep(GameWindow.java:647) zombie.MainThread.mainLoop(MainThread.java:76) java.base/java.lang.Thread.run(Unknown Source)

and

ERROR: IntegerConfigOption.setValue() "MaximumRatIndex" 100 is greater than max=50.

Here's the latest crash log: https://pastebin.com/SVVwTqE7

Nevermind the extra code tags in it, tried to post it here first, but it was way too long.
Last edited by Cpt.Moottorimarkka ®; 3 Oct @ 5:32pm
< >
Showing 1-11 of 11 comments
Same error and crash, happened in many mod maps
So far I have tried unsubbing/resubbing from mods, rearranging the load order of mods and starting a fresh save. The crash persists, and so far no word on any workarounds or fixes. Zero information online as well. :winter2019saddog:
I have the same error, the game crashes in the same place everytime, next to the to house with the pond in Muldraugh. Also it's lagging a lot.
Slayer  [developer] 10 Oct @ 5:19am 
so the stacktrace does not mention bandits mod, looks like the usual game loop gets an error because apparently there is a room without a definition. Normally all rooms have them. Its like some mod broke the definition maybe?

have you tried with just bandits on a fresh save. remember that other mods may have impacted permanently the game map save before you removed them.
Slayer  [developer] 10 Oct @ 5:37am 
ok so i does in fact crash need the strip club valley station. it happens when a certain room is loaded into player cell, but i dont know which one. so if we can find another examples and see what those places have in common then we can understand the issue.

which house with pond in Muldraugh do you mean exactly?
I have an issue with the game lagging out and crashing around the end of Muldraugh (Northern end) where I've made my base in the Smokey's next to the Warehouse, I'm not sure if that's where Suvquinha means, but I've been able to approach slowly if I take a rifle with a scope by aiming as far towards it as I can and slowly walking towards the location. It seems to be connected to the Bandits mod, as I've been able to play perfectly fine only when I disable the mod.
Suviquinha 10 Oct @ 10:07am 
https://imgur.com/a/6p2aQnC it's in the far left of Muldraugh.
Suviquinha 10 Oct @ 10:13am 
It crashes when I step on the yellow line on the road between the brown and white fences.
Cheers Suviquinha.

I assisted Slayer with diagnosing the problem earlier. He found out that the problem is to do with tall fences that have a roof over them. There's a fenced and roofed generator next to an industrial plant near the house with the pond. There is also a similar structure near the Valley Station Road strip club. Those lead to the massive chugging and then a crash.

Slayer mentioned that he will hopefully have a fix ready within a couple of days.
Mayor 10 Oct @ 8:28pm 
I am getting the same crash as Suviquinha, same exception as OP. I am not using the Bandits NPC mod however, I am using the Knox Expanded mod instead. This error might not be exclusive to the Bandits NPC mod.
I got a crash when i spotted a group of npc on these coordinates 12667x6503 ( https://b42map.com/ ) It's at a gas station near highway towards louisville from West point. Left of drag strip.
Last edited by Krogzax; 3 hours ago
< >
Showing 1-11 of 11 comments
Per page: 1530 50