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

Migrate to a different ID format #272

Open
devmattrick opened this issue Feb 18, 2017 · 5 comments
Open

Migrate to a different ID format #272

devmattrick opened this issue Feb 18, 2017 · 5 comments

Comments

@devmattrick
Copy link

Gmod's documentation recommends that you do not use Player:UniqueID(), as it may possibly cause collisions between players and therefore break the addon. While this is extremely rare, it is probably best practice to migrate to something safer like Player:SteamID64().

@BeastMichael
Copy link
Contributor

If it was a new addon, it'd make sense, however, since it's been this way since it was created, doing this would result in mass data loss for those who upgrade.

@handsomematt
Copy link
Collaborator

handsomematt commented Feb 18, 2017 via email

@BeastMichael
Copy link
Contributor

Once I get some time, I'll modify the storage methods to support SteamID, as well as be backwards compatable with UniqueID.

@BeastMichael
Copy link
Contributor

If any of you guys have a server you can help test on, I've got a version that should work.

Just add me on Steam.
https://steamcommunity.com/profiles/76561197964898382

@h3xcat
Copy link
Contributor

h3xcat commented Mar 10, 2017

There is also account id, which is 32bit size. http://wiki.garrysmod.com/page/Player/AccountID

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

No branches or pull requests

4 participants