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 

El_ladron(a.k.a_algea2003
October 29 1987 (30 year old)
 TSGK Member 
federalic
October 29 1988 (29 year old)
Serim_TSGK
October 26
 TSGK Member 
The Borg_TSGK
October 25 1971 (46 year old)
 TSGK Member 
Calendar
Calendar Calendar
Mon 23 Oct 2017 Tue 24 Oct 2017 Wed 25 Oct 2017 Thu 26 Oct 2017 Fri 27 Oct 2017 Sat 28 Oct 2017 Sun 29 Oct 2017
 
 
Birthday The Borg_TSGK  
Birthday Serim_TSGK  
 
 
Birthday El_ladron(a.k.a_algea2003  
Birthday federalic  
The time now is Tue Oct 24, 2017 09:51
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: 4659
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.2176s ][ Queries: 16 (0.0093s) ][ Debug on ]