TeamUlysses / ulx

ULX: A powerful administration addon for Garry's Mod
https://ulyssesmod.net
Other
163 stars 72 forks source link

Replace UniqueID with SteamID64 where applicable #226

Open thecraftianman opened 2 months ago

thecraftianman commented 2 months ago

NOTE: This change also requires the matching ULib pull request to avoid breakage: https://github.com/TeamUlysses/ulib/pull/99

This PR just replaces all active usage of UniqueID with SteamID64, primarily in ULib.ucl.authed, xgui.activeUsers, and xgui.readyPlayers. The only remaining possible usage is in xgui.playerExistsByID, which now also supports SteamID64. If adding SteamID64 support is not desired, though, this can all be changed to use SteamID instead.

Tested both in a local server and on a public server for a couple weeks now with no regressions found.