palworld-host-save-fix icon indicating copy to clipboard operation
palworld-host-save-fix copied to clipboard

suggestion: get old player UID

Open jfw225 opened this issue 1 year ago • 5 comments

First of all, great repo guys. Thank you for the effort.

You may already know this, but I didn't see it in the README.md so I figured it may be helpful. For those (like myself) who have more than a few people playing on the server, you can get the GUID for a player by

  1. setting the admin password field in the PalWorldSettings.ini file
  2. connect to old server
  3. open chat and type /adminpassword <password>
  4. open chat and run /showplayers
  5. record the playeruid field that it shows for each player
  6. convert the playeruid number to hex (e.g. run python -c "print(hex(<your-player-id>))"
  7. perform these steps again on the new server to get the new player ID

the playeruid in hex is the prefix for the GUID (i.e. the name first part of the .sav file's name for a player).

I hope this helps someone!

jfw225 avatar Jan 26 '24 20:01 jfw225

I made a PR with an updated readme that includes the steps to find a player's GUID: https://github.com/xNul/palworld-host-save-fix/pull/79

jfw225 avatar Jan 26 '24 20:01 jfw225

Oh. We had a very weird way to figure out the IDs (Joining as a single person and see which ID updates in the saves from the changedate).

Nice catch though!

PaddyS avatar Jan 26 '24 22:01 PaddyS

You can also find the PlayerUID in the escape menu after entering the AdminPassword. Clicking on a player will copy it.

l-t-s avatar Jan 27 '24 10:01 l-t-s

This only works for players who are currently online.

StoneMoe avatar Jan 28 '24 06:01 StoneMoe

You can also find the PlayerUID in the escape menu after entering the AdminPassword. Clicking on a player will copy it.

Indeed--I included this in the update to the README in my pull request: https://github.com/xNul/palworld-host-save-fix/pull/79/files

jfw225 avatar Jan 28 '24 06:01 jfw225