View Single Post
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