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

Co-op windows to Linux Dedicated | Host always prompted to create new character #81

Closed sn0rlacks closed 7 months ago

sn0rlacks commented 7 months ago

Co-op windows to Linux Dedicated | Host always prompted to create new character

I've followed the steps. I've ran the script to fix the OG 0000000000 and my new characters ID and the script completes. I copy the files back to the dedicated server, run the world, and attempt to join again, expecting to be prompted with my OG character. I am still prompted to make a new character again, even though I've made a new character before copying the files to begin with.

Any help would be appreciated

JasmeowTheCat commented 7 months ago

Keep an eye on this - Keep an eye on this - https://github.com/xNul/palworld-host-save-fix/issues/47

HyperFirez commented 7 months ago

I managed to get around this by being very specific in my order of operations. Also not sure if anyone else has done this, but hope this helps. (This is Windows Dedicated to Linux Dedicated, so your mileage may vary)

I downloaded the server from steamcmd. I ran it up to generate the config files. Then I shut it down. No world file was generated, but if it was, just delete it.

I opened LinuxServer/GameUserSettings.ini and copied the name of the world file into the DedicatedServerName parameter. Then I copied over the Pal/SaveGames folder.

I ran the server again and joined, everything was there.

I tried this on multiple LXC containers and I noticed that if you get prompted to make a new character, you can follow the above steps on a new host and it gets rid of the new character prompt. I'm wondering if the MAC address isn't responsible somehow. Just make sure you keep a backup to transfer back over incase you need to spin up a new container/vm.

I just came across this tool, so maybe it does exactly what I said. Either way if it works I'll definitely use it if I need in the future.

ceramicwhite commented 7 months ago

I also got my save working correctly, here's how: https://github.com/xNul/palworld-host-save-fix/issues/47#issuecomment-1913045130

HamAndRock commented 7 months ago

I also got my save working correctly, here's how: #47 (comment)

Can you for experimentation run the script on windows too and test it if it's broken then ? So we can confirm that running the python script on the server instead of windows solves this ?

Because I am having the same issue described above, but not using my VPS but hosted server and can't run Python scripts there. So just if I am out of luck for now

RonaldinhoL commented 7 months ago

bakup your sav after run python fix, then start pal server, it create new character then close server and paster you backup sav to overwrite current sav

xNul commented 7 months ago

I'm consolidating all issues for this bug into https://github.com/xNul/palworld-host-save-fix/issues/47 and https://github.com/xNul/palworld-host-save-fix/issues/22 so if you would like to stay up to date on the progress with this bug, please follow those issues.