Project Zomboid

Project Zomboid

[B42] Pickup Corpse
Error with 42.3
I'm not sure how much you need of the error log.

ERROR: General f:0, t:1739378515925> ExceptionLogger.logException> Exception thrown
java.lang.NoSuchMethodError: 'void zombie.scripting.objects.Item.setCanSpawnAsLoot(boolean)' at ItemPickerJava.ExtractContainersFromLua(ItemPickerJava.java:619).
Stack trace:
zombie.inventory.ItemPickerJava.ExtractContainersFromLua(ItemPickerJava.java:619)
zombie.inventory.ItemPickerJava.ParseSuburbsDistributions(ItemPickerJava.java:348)
zombie.inventory.ItemPickerJava.Parse(ItemPickerJava.java:335)
zombie.iso.IsoWorld.init(IsoWorld.java:2459)
zombie.gameStates.GameLoadingState$1.runInner(GameLoadingState.java:301)
zombie.gameStates.GameLoadingState$1.run(GameLoadingState.java:251)
java.base/java.lang.Thread.run(Unknown Source)
LOG : General f:0, t:1739378515936> LuaEventManager: adding unknown event "OnPreUIDraw"
LOG : General f:0, t:1739378515937> LuaEventManager: adding unknown event "OnPostUIDraw"
LOG : General f:0, t:1739378518137> LuaEventManager: adding unknown event "OnKeyKeepPressed"
< >
Showing 1-3 of 3 comments
SyBozz  [developer] 13 Feb @ 7:04am 
It seems like it's happening when loading a save and has to do with the distribution loot tables.
This isn't something that has to d with this mod and I would suggest to run steams "Verify integrity of game files" or reinstall the game. Since the NoSuchMethodeError means that the java file is not updated as the method zombie.scripting.objects.Item.setCanSpawnAsLoot(boolean) was only just added in this patch.
TnT4u 13 Feb @ 12:53pm 
I'll try it, was just weird that as soon as I disabled this mod it worked.

I did verify after it crashed a few times though, I might have disabled the mod after verifying so maybe it was that, that fixed it.
Last edited by TnT4u; 13 Feb @ 12:54pm
SyBozz  [developer] 13 Feb @ 2:29pm 
It might also worth a try unsubscribing to this mod and subscribing again.
The problem is I'm not able to reproduce the error or even see how I could reproduce it, and without that and not seeing a connection to how my mod might causes this error I'm unable to help besides these generic approaches to try getting it running for you.
< >
Showing 1-3 of 3 comments
Per page: 1530 50