TSGK Clan Forum Forum Index TSGK Clan Forum
Half-Life 2 : Deathmatch TSGK Clan forum.
 
 CalendarCalendar   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

(F.B.I.) HinterhaltHubi
August 18 1966 (51 year old)
65 Impala SS
August 18 1962 (55 year old)
Phat Bacon
August 19 1992 (25 year old)
Strahlemann_TSGK
August 22 1982 (35 year old)
 TSGK Member 
underscore_n0rm
August 22 1988 (29 year old)
[el] Gringo
August 20 1981 (36 year old)
Calendar
Calendar Calendar
Thu 17 Aug 2017 Fri 18 Aug 2017 Sat 19 Aug 2017 Sun 20 Aug 2017 Mon 21 Aug 2017 Tue 22 Aug 2017 Wed 23 Aug 2017
 
Birthday (F.B.I.) HinterhaltHubi  
Birthday 65 Impala SS  
Birthday Phat Bacon  
Birthday [el] Gringo  
 
Birthday Strahlemann_TSGK  
Birthday underscore_n0rm  
 
The time now is Fri Aug 18, 2017 14:37
All times are UTC + 2 (DST in action)
 Forum index » TSGK Servers » SRCDS Help
SteamID conversion tables
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
Osiris_TSGK
TSGK Member


Joined: 21 May 2006
Posts: 4658
Location: France

PostPosted: Tue Sep 22, 2015 11:50    Post subject:  SteamID conversion tables  

Conversion can be done between Legacy Format (old steamid), Modern Format (new steamid) and Community ID (SteamID64).

Considering that one SteamID is known:

Legacy Format : STEAM_0:x:y (ex. STEAM_0:0:6364948)
Modern Format : [U:1:z] (ex. [U:1:12729896])
Community ID : c (ex. 76561197972995624)

Legacy Format => Modern Format
Code:
formula. (y * 2) + x = z

ex. (6364948 * 2) + 0 = 12729896


Legacy Format => Community ID
Code:
formula. ((y * 2) - x) + 76561197960265728 = c

ex. ((6364948 * 2) - 0) + 76561197960265728 = 76561197972995624


Community ID => Legacy Format
Code:
If c is odd then x = 1
If c is even then x = 0

formula. ((c + x) - 76561197960265728) / 2 = y

ex. ((76561197972995624 + 0) - 76561197960265728) / 2 = 6364948


Community ID => Modern Format
Code:
formula. c - 76561197960265728 = z

ex. 76561197972995624 - 76561197960265728 = 12729896


Modern Format => Community ID
Code:
formula. 76561197960265728 + z = c

ex. 76561197960265728 + 12729896 = 76561197972995624


Modern Format => Legacy Format
Code:
If z is odd then x = 1
If z is even then x = 0

formula. (z - x) / 2 = y

ex. (12729896 - 0) / 2 = 6364948


Additionnal information about the differents formats of SteamID can be found there:
https://developer.valvesoftware.com/wiki/SteamID
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » TSGK Servers » SRCDS Help
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
You cannot post calendar events in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2207s ][ Queries: 15 (0.0089s) ][ Debug on ]