Project Zomboid

Project Zomboid

[B42] Knox Event Expanded NPC mod [alpha v0.3.18-1]
Guaranteed crash when entering NPC safehouse cell.
The error happens whenever I step foot in a cell with an NPC Safehouse. Specifically, an area ive never been in before, in a world that is older than the most recent KEE update (the december 3rd update). I have knox on bottom load order, new auto update method installed, everything else working fine.

ERROR: General f:902, t:1764988998442> ExceptionLogger.logException> Exception thrown
java.lang.NullPointerException: Cannot invoke "zombie.iso.IsoGridSquare.AddWorldInventoryItem(zombie.inventory.InventoryItem, float, float, float, boolean)" because "square" is null at SafehouseResources.loadChunk(SafehouseResources.java:449).
Stack trace:
knox.event.npc.utils.SafehouseResources.loadChunk(SafehouseResources.java:449)
knox.event.npc.group.BaseGroup.handleChunkLoaded(BaseGroup.java:520)
zombie.iso.IsoChunk.randomizeBuildingsEtc(IsoChunk.java:4232)
zombie.iso.IsoChunk.doLoadGridsquare(IsoChunk.java:3972)
zombie.iso.IsoChunkMap.updateInternal(IsoChunkMap.java:216)
zombie.iso.IsoChunkMap.update(IsoChunkMap.java:183)
zombie.iso.IsoCell.updateInternal(IsoCell.java:5697)
zombie.iso.IsoCell.update(IsoCell.java:5660)
zombie.iso.IsoWorld.updateWorld(IsoWorld.java:3569)
zombie.iso.IsoWorld.updateInternal(IsoWorld.java:3663)
zombie.iso.IsoWorld.update(IsoWorld.java:3594)
zombie.gameStates.IngameState.updateInternal(IngameState.java:1608)
zombie.gameStates.IngameState.update(IngameState.java:1355)
zombie.gameStates.GameStateMachine.update(GameStateMachine.java:67)
zombie.GameWindow.logic(GameWindow.java:346)
zombie.GameWindow.frameStep(GameWindow.java:790)
zombie.GameWindow.mainThreadStep(GameWindow.java:552)
zombie.MainThread.mainLoop(MainThread.java:68)
java.base/java.lang.Thread.run(Unknown Source)
< >
Showing 1-1 of 1 comments
Snejk  [developer] Dec 6 @ 1:19pm 
Originally posted by Zyrenix:
...
I think I have a fix for this. It will be included in the next patch.
< >
Showing 1-1 of 1 comments
Per page: 1530 50