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

Player's UID is not unique any more #6

Open
shenzhoukai opened this issue Mar 6, 2024 · 7 comments
Open

Player's UID is not unique any more #6

shenzhoukai opened this issue Mar 6, 2024 · 7 comments

Comments

@shenzhoukai
Copy link

SteamID UID (useSteam) UID (noSteam)
76561199186857738 1009231501 3262899357
76561200516214127 243748559 3262899357

Although the second player is not valid in Steam any more but the algo of SteamID to UID (noSteam) will generate duplicated UID.
Will it cause game account stealing problem if those players join the same server ?

@shenzhoukai
Copy link
Author

76561200300123504 and 76561199961080696 has the same UID (useSteam)

@shenzhoukai
Copy link
Author

76561199734837953 has the same UID (useSteam) 335190009 with the following Steam Player's UID (noSteam)

76561201226335938
76561199163620927
76561198338269899
76561199604003633

Warning! 76561199163620927, 76561198338269899 and 76561199604003633 are all valid users in Steam.

@shenzhoukai
Copy link
Author

SteamID UID (useSteam) UID (noSteam)
76561198168093340 3889347819 3346717094
76561198315537556 3889347819 3346717094

These two players have all duplicated UID both in useSteam and noSteam mode.

@shenzhoukai
Copy link
Author

SteamID UID (useSteam) UID (noSteam)
76561199337100197 3859255899 1115524924
76561199429105744 3859255899 1115524924
76561198946530363 3859255899 1115524924

76561199337100197 and 76561199429105744 are valid Steam player.

@cheahjs
Copy link
Owner

cheahjs commented Mar 6, 2024

Although the second player is not valid in Steam any more but the algo of SteamID to UID (noSteam) will generate duplicated UID.

Yes, this is expected as the algorithm takes a value with 32-bits of information (Steam ID), and hashes it into a 32-bit value (UID), which will cause collisions.

With how algorithm works (Steam ID hashes into a Steam UID hashes into a NoSteam UID), if players share the same Steam UID, they will share the same NoSteam UID.

Will it cause game account stealing problem if those players join the same server ?

If they end up joining the same server, yes, they will use the same character save data.

@shenzhoukai
Copy link
Author

Are you the developer of this game? Or can you contact the dev team of PalWorld to report this issue?

@thejcpalma
Copy link

@cheahjs is there a way to chat with you for 10 minutes about this project? Specially the database lookup and how you implemented it on your address. I wanted to have a database too but force bruting all steam ids seems excessive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants