xNul / palworld-host-save-fix

Fixes the bug which forces a player to create a new character when they already have a save. Useful for migrating maps from co-op to dedicated servers and from one dedicated server to another.
MIT License
887 stars 69 forks source link

Error when converting to json with palworld-save-tools after using this fix #67

Closed UlfMitHand closed 7 months ago

UlfMitHand commented 7 months ago

Hi, since im having issues with this fix as a non co op host to convert the co op save of a friend to a dedicated save, i tried to convert the level.sav to a json right after using this fix.

This is the tool i used: https://github.com/cheahjs/palworld-save-tools

I was able to convert the old co op level.sav into a json before using the fix. But after using the fix i got this error

image

After that i just started the server with the new level.sav with the new host player file (even though i was not the host). And joined as a non co op host player, I got the create a new character screen. I created and quit. my old guid.sav was overwritten and is now only 3 kb.

Now im able to run the https://github.com/cheahjs/palworld-save-tools and convert it to a json.

Looking into it, it seems like our guild got completly deleted by the fix.

with my old (non co op host) character i was the master of the guild "PayPals" with the character name Moisty.

After the conversion and creating of a new character the old guild does not seem to exist anymore ("unbenannte Gilde" translates to "unnamed guild"). I went to our base and it belongs to another guild now.

image

xNul commented 7 months ago

Thanks for the report, I think it has to do with how the most recent PR for fixing the guild bug was implemented. A fix is coming soon, but in the meantime, try using the workarounds in https://github.com/xNul/palworld-host-save-fix/issues/22 and https://github.com/xNul/palworld-host-save-fix/issues/26