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 68 forks source link

Transform .sav file according to .sav's id #112

Closed Yours22 closed 5 months ago

Yours22 commented 5 months ago

i see many people facing this problem , when the server restart ,some people is recognized as a new player and need to re-build a character. While original .sav file is still there, a new .sav file appeared. Is it possible to transform our data according to different id of .sav file ?

omgomghax commented 5 months ago

What dedicated server are you running? SteamCMD/Linux? Any flags when you run your server? Did you check that the name of the server is correct in "DedicatedServerName=" within GameUserSettings.ini?

xNul commented 5 months ago

if I'm understanding you correctly, yes, that's what this script does. It changes the GUID of a save

Yours22 commented 5 months ago

Very sorry for not replying in time and appreciate your work. I gave up my original save cause I didn't have a backup after two day's attempts, which means i can‘t provide you with further evidence for my question. At first i thought this only work for 00001 situation, but it turns out to be more likely a pal game's problem. (cause i tried your script and it doesn't work) Solving kinds of online multiplayer problems. Sorry again for bothering and thanks for your awesome work.

xNul commented 5 months ago

No worries, sorry you weren't able to use the tool, hopefully it will work better in the future after I make some improvements!