Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

suggestion: get old player UID #78

Open
jfw225 opened this issue Jan 26, 2024 · 5 comments
Open

suggestion: get old player UID #78

jfw225 opened this issue Jan 26, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@jfw225
Copy link
Contributor

jfw225 commented Jan 26, 2024

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
Copy link
Contributor Author

jfw225 commented Jan 26, 2024

I made a PR with an updated readme that includes the steps to find a player's GUID: #79

@PaddyS
Copy link

PaddyS commented Jan 26, 2024

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!

@l-t-s
Copy link

l-t-s commented Jan 27, 2024

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

@StoneMoe
Copy link

This only works for players who are currently online.

@jfw225
Copy link
Contributor Author

jfw225 commented Jan 28, 2024

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

@xNul xNul added the enhancement New feature or request label Feb 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants