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 

DEZERTER
July 06 1962 (63 year old)
Kantor
July 05 1991 (34 year old)
PORQUE?
July 04 1988 (37 year old)
 TSGK Member 
t0taL 0
July 06 1988 (37 year old)
Calendar
Calendar Calendar
Fri 04 Jul 2025 Sat 05 Jul 2025 Sun 06 Jul 2025 Mon 07 Jul 2025 Tue 08 Jul 2025 Wed 09 Jul 2025 Thu 10 Jul 2025
Birthday PORQUE?  
Birthday Kantor  
Birthday DEZERTER  
Birthday t0taL 0  
 
 
 
 
The time now is Sat Jul 05, 2025 07:53
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.0635s ][ Queries: 13 (0.0121s) ][ Debug on ]