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

What is 'auth' and how does it relate to SteamID/Name?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
crayz
AlliedModders Donor
Join Date: Jul 2007
Old 01-06-2014 , 07:01   What is 'auth' and how does it relate to SteamID/Name?
Reply With Quote #1

Is there any relation between a user's auth code and their Steam ID or name? Perhaps a user's IP address? Is the auth generated by the store plugin itself?

edit: I just discovered this handy snippet:
Code:
    $toks = explode(":", $steamid);
    $odd = (int)$toks[1];
    $halfAID = (int)$toks[2];

    return ($halfAID*2) + $odd;
https://forums.alliedmods.net/showpo...&postcount=234

Which is exactly what I was trying to figure out :-)
__________________

Last edited by crayz; 01-08-2014 at 19:26.
crayz 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 15:49.


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