#42.13.2 save crashing in 42.14 because of a "fireplace" container with items in it from 13.2

1 messages · Page 1 of 1 (latest)

hidden walrus
#

ERROR: Multiplayer f:5, t:1771346222687, st:39,500,440> GameServer.main> Exception thrown
java.lang.NullPointerException: Cannot invoke "zombie.inventory.ItemContainer.addItemsToProcessItems()" because "this.container" is null at IsoFireplace.addToWorld(IsoFireplace.java:439). Message: Server processing error
Stack trace:
zombie.iso.objects.IsoFireplace.addToWorld(IsoFireplace.java:439)
zombie.iso.IsoChunk.doLoadGridsquare(IsoChunk.java:3926)
zombie.network.ServerMap$ServerCell.RecalcAll2(ServerMap.java:279)
zombie.network.ServerMap$ServerCell.Load2(ServerMap.java:118)
zombie.network.ServerMap.preupdate(ServerMap.java:817)
zombie.network.GameServer.main(GameServer.java:964)
ERROR: Multiplayer f:5, t:1771346222787, st:39,500,540> GameServer.main> Exception thrown
java.lang.NullPointerException: Cannot invoke "zombie.inventory.ItemContainer.addItemsToProcessItems()" because "this.container" is null at IsoFireplace.addToWorld(IsoFireplace.java:439). Message: Server processing error
Stack trace:
zombie.iso.objects.IsoFireplace.addToWorld(IsoFireplace.java:439)
zombie.iso.IsoChunk.doLoadGridsquare(IsoChunk.java:3926)
zombie.network.ServerMap$ServerCell.RecalcAll2(ServerMap.java:279)
zombie.network.ServerMap$ServerCell.Load2(ServerMap.java:118)
zombie.network.ServerMap.preupdate(ServerMap.java:817)
zombie.network.GameServer.main(GameServer.java:964)

We can load into our save just fine anywhere else in the world (well, we tested West Point at least) and we can even approach the outskirts/farming area of the B42 Blacksmith's House / Base location, but when we get close enough to the actual house it crashes (or if we try to spawn on our main characters there)

I tried to use a map cleaner tool to delete the specific tile range of that chunk, not the whole chunk, but either I missed the fireplace or it didn't work.

#

Either the game hates that it had items in it when migrating to 42.14, or there was a mod (like Multiplayer Bug Fixes kind of mod) that touched campfire/fireplace code and doesn't take migration well.

Just wondering if there's any known way to specifically reset the container here?

We're going to probably start a fresh world & spawn in everything we can and possibly even migrate our character data/player.db if possible, but perhaps someone knows of a solution

pastel mural
#

Likely caused by a mod, had another report with some mods that had this issue. The fix is very manual though:


Pasted the zone files back on server files, when it started it threw some vanilla errors about specific vanilla clothes and I would say one modded item, but it listed maybe 4-5 items. but by passed the error continuing. 

The issue some will have is if multiple zones are dead they’d have to manually find them which isn’t hard but extremely tedious.```
hidden walrus
# pastel mural Likely caused by a mod, had another report with some mods that had this issue. T...

Ahh yeah, that's pretty much the same thing we experienced, just in the place of the fireplace in the blacksmith house.
We ended up biting the bullet and starting the save fresh and have just been manually spawning/rebuilding what we had - because like that post implies, who knows if you run into another "object" (fireplace in my case) in the world that crashes like that.

I have a feeling it was that in 42.13.X many people used Multiplayer Bug Fixes; and this touched fireplace/campfire/fire behaviour and properties. But in 42.14 they've fixed them (supposedly). So this, plus our group having items in the container, probably caused the hard crash error.

Because if we started a new world - or even, a new character on the exact same world - but stayed away from that base, it was playable.

stone bridge
#

I had that issue too, no mods.
We wiped to get past it

hidden walrus
pastel mural
hidden walrus
# pastel mural Hm, it should work fine, what kind of errors do you get? Could you privately sha...

https://help.bisecthosting.com/hc/en-us/articles/44350167759131-How-to-Transfer-Player-Data-from-a-Singleplayer-World-to-a-Project-Zomboid-Server
I was also trying to follow this guide, it was many hours ago now and I didn't save the error logs since my friend and i decided we will just finish respawning/rebuilding our base first and then try it again later

we about finished for the night so now he's off im going to try and restore my character again and if it happens again I'll put the error logs

i dont think it would be possible to load up the save since its a modded save though, my character was wearing modded clothing (Like spongey's and tomb's clothing mods)

i think it was some kind of syntaxing issue even though i think i did it correctly, like when I logged in, it showed me the location my character was last logged out, but didn't get me into the world (and there was lots of errors)

#

(i know it says single player but it said you just change the local option in SQL Editor to network option , that shows me the data of the players correctly)

pastel mural
#

It should just load, as long as the server name is the same

hidden walrus
#

ohh is that maybe why? i named my server.ini from "theboys-test" to "theboys-4214" after we migrated to 42.14 and started a new world

#

(by that i mean, the old server.ini still showed, so when i was in the main menu of the new 42.14 instance i duplicated it and then changed the name so it was like a 'clean' server.ini)

#

i'm about to try it again the same way the guide told me and the errors will probably happen again so i'll post them here when i can

#

i thought originally just copying the players.db from old location to new location would work but that did unfortunately not, so i searched it up till i found that guide

pastel mural
#

Did it actually properly load the new file?

hidden walrus
# pastel mural Hmm, renaming the ini would most likely not do anything, since you also need to ...

Alright jus about to launch with another go at editing the files
following that same bisecthosting guide as before
This time what I did was change my 'theboys-test-4214' (new) server.ini , the saves folder, the .db folder, etc any related mention of it to theboys_test2 (original 42.13.2 saves name) as well as the players.db ''world" field I changed to that too (not pictured, did after).
The only thing is maybe the red text for the data=section maybe means I'm supposed to have a synatx there even though the guide says not to

But anyway about to boot..

hidden walrus
#

It';s possible that it doesn't work anymore for migrating 42.13.2->14 since PZ changed stuff about the players.db file (hopefully increasing the 64kb limit to 1mb or something because our experience in 42.13.1-2 was constant bufferoverrun save errors on quit if players held too many items/etc)

#

Or maybe it's the sql editor im using honestly idk (DB Browser SQLite) even if I use it to change the "new" players.db that was generated from fresh world creation to match the world name to the editd world name it actually prompts new char creation.. i dunno.. I guess i'll just leave it and just give myself my levels back. is confusing me a lot