I try to ban in the web admin with lets say STEAM_0:0:64141512 and the ban does not show up. Do we need to convert the new steam ids into the old style to use them if so then what is the point of reporting steam ids in a way that we can not use...
invTempestJoin Date: 2003-03-02Member: 14223Members, Constellation, Squad Five Blue
The SteamID is more important to users as that is what most people are accustomed to in source games. I doubt many people know that the NS2ID is just a different representation of their steamID.
as said earlier, it is just the last part times 2 + the number between the colons. Since the first number of thwe steam id is always 0, the next is either 0 or 1 and the other is the unique identifier for that auth server, this id system works. Integer comparison is much faster than string comparison, so converting this into an all integer id makes sense.
You know what is faster, having 1 standard for your id.... now you got players giving you STEAM_0:0:64141512 instead of 128283024. So now you got to convert it yourself now which is faster a computer that does the shit automatically or me? This is just bad design is my point. If your going to show the real steam id just take that and internally convert it to the fancy number to store this way everyone is happy. Why does the user need to do the conversion themselves!?
Comments
STEAMID to NS2ID = 2x + n
Odd NS2ID = STEAM_0:1:((NS2ID - 1)/2)
Even NS2ID = STEAM_0:0:(NS2ID/2)
sv_status reports ID's in both formats for ease of use as most people are familiar with the STEAM_0 format rather than the NS2ID format.
128283024
as said earlier, it is just the last part times 2 + the number between the colons. Since the first number of thwe steam id is always 0, the next is either 0 or 1 and the other is the unique identifier for that auth server, this id system works. Integer comparison is much faster than string comparison, so converting this into an all integer id makes sense.
http://www.gamedev.net/topic/598968-string-vs-int-comparison-which-is-faster/