How to ban with normal steam id
ZEROibis
Join Date: 2009-10-30 Member: 69176Members, Constellation
Join Date: 2009-10-30 Member: 69176Members, Constellation
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/