This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Player's birthday.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 08-01-2014 , 07:04   Re: Player's birthday.
Reply With Quote #35

There are dozens of solutions to this little problem, but the easiest way (while not the correct way) is to force a specific universe of Steam IDs regardless of what the client is using. That is to say, if the client is using the STEAM_1 branch of identifications, simply force the 6th character of the string to a 0, so that they're identified as the STEAM_0 branch.
Without looking at the source code, here's what I mean:
PHP Code:
decl String:sSteam[32];
GetClientAuthString(clientsSteamsizeof(sSteam));
sSteam[6] = '0';
//Poof! STEAM_1 becomes STEAM_0 
__________________

Last edited by thetwistedpanda; 08-01-2014 at 07:04.
thetwistedpanda 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 07:02.


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