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 

1337_Byte
April 18 1993 (31 year old)
bullock007
April 21 1970 (54 year old)
DogSoldier
April 19 1974 (50 year old)
 TSGK Member 
Calendar
Calendar Calendar
Mon 15 Apr 2024 Tue 16 Apr 2024 Wed 17 Apr 2024 Thu 18 Apr 2024 Fri 19 Apr 2024 Sat 20 Apr 2024 Sun 21 Apr 2024
 
 
 
Birthday 1337_Byte  
Birthday DogSoldier  
 
Birthday bullock007  
The time now is Tue Apr 16, 2024 22:50
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: 4668
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.2546s ][ Queries: 16 (0.0113s) ][ Debug on ]