Raised This Month: $51 Target: $400
 12% 

GetSteamAccountID vs GetClientAuthId


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 10-29-2018 , 03:16   GetSteamAccountID vs GetClientAuthId
Reply With Quote #1

Hi,

1) what is a preffered way to unique identify licensed and pirated steam accounts?
2) what is the difference between all of the options below? Some of them deprecated or out of date? Can some of them return null in special circumstances?

Code:
	int iSteamId = GetSteamAccountID(client);
	PrintToChat(client, "GetSteamAccountID = %i", iSteamId);
	
	char sId[50];
	GetClientAuthId(client, AuthId_Engine, sId, sizeof(sId));
	PrintToChat(client, "AuthId_Engine = %s", sId);
	
	GetClientAuthId(client, AuthId_Steam2, sId, sizeof(sId));
	PrintToChat(client, "AuthId_Steam2 = %s", sId);
	
	GetClientAuthId(client, AuthId_Steam3, sId, sizeof(sId));
	PrintToChat(client, "AuthId_Steam3 = %s", sId);
	
	GetClientAuthId(client, AuthId_SteamID64, sId, sizeof(sId));
	PrintToChat(client, "AuthId_SteamID64 = %s", sId);
Quote:
GetSteamAccountID = 4502XXXX
AuthId_Engine = STEAM_1:1:2251XXXX
AuthId_Steam2 = STEAM_1:1:2251XXXX
AuthId_Steam3 = [U:1:4502XXXX]
AuthId_SteamID64 = 765611980XXXXXXXX
I found this article about SteamId formats. But not too many words about purpose.

Thanks.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 10-29-2018 at 03:17.
Dragokas is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode