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
886 stars 65 forks source link

Level.sav overwriiten by Windows-Dedicated Server #138

Open MaydaySun opened 5 months ago

MaydaySun commented 5 months ago

I (the Windows-coop host) was doing Step4, logging into the save on the Windows-Dedicated Server, then I found the Level.sav was quickly overwritten (size changed from 6MB to 124KB). After that, I downloaded the whole save folder, followed the other steps correctly and successfully generate the new save with no errors reported. But I was asked to create a new character at the end, and the host save seemed to disappear (Not sure if other players' saves maintain). Everything goes right but it just failed to load my co-op host save on the Server. I guess it might be that After v0.1.4.0 release the PalServer writes the Level.sav more often (maybe overwriting it once a new player joins), and then the host save gets lost. Can anyone figure it out and Please reply here?

xNul commented 4 months ago

This may have been a bug with how the guid fix was originally implemented. If you're still trying to figure this out, try again with the latest version.