Raised This Month: $32 Target: $400
 8% 

[CS GO] problem with GetClientAuthId


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 10-04-2018 , 01:12   [CS GO] problem with GetClientAuthId
Reply With Quote #1

hi guys!

GetClientAuthId do not get STEAM_0:1 : xxxxxxxx but get STEAM_1:1 : xxxxxxxx !!!

i used this cod:
PHP Code:
char autid[32];
GetClientAuthId(clientAuthId_Steam2authidsizeof(authid)); 
how to i get steam id with STEAM_0:1 : xxxxxxxx ??


srry for bad speak english :X
thank you

Last edited by Dr.Mohammad; 10-04-2018 at 01:48.
Dr.Mohammad is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 10-04-2018 , 01:22   Re: [CS GO] problem with GetClientAuthId
Reply With Quote #2

Use steamid64 And everything will be much better
ESK0 is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 10-04-2018 , 01:22   Re: [CS GO] problem with GetClientAuthId
Reply With Quote #3

PHP Code:
char sID[32];
if (
GetClientAuthId(clientAuthId_Steam2sIDsizeof(sID)))
{
    
// Code here

__________________
Psyk0tik is offline
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 10-04-2018 , 01:49   Re: [CS GO] problem with GetClientAuthId
Reply With Quote #4

Quote:
Originally Posted by ESK0 View Post
Use steamid64 And everything will be much better
thank you
Dr.Mohammad is offline
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 10-04-2018 , 01:50   Re: [CS GO] problem with GetClientAuthId
Reply With Quote #5

Quote:
Originally Posted by Crasher_3637 View Post
PHP Code:
char sID[32];
if (
GetClientAuthId(clientAuthId_Steam2sIDsizeof(sID)))
{
    
// Code here

this cod only get steam id with STEAM_1:1xxxxxxxx and do not get with STEAM_0:1xxxxxxxx. this is bug !!!!
Dr.Mohammad is offline
Lubricant Jam
AlliedModders Donor
Join Date: Oct 2016
Location: United Kingdom
Old 10-04-2018 , 03:15   Re: [CS GO] problem with GetClientAuthId
Reply With Quote #6

Quote:
Originally Posted by Dr.Mohammad View Post
this cod only get steam id with STEAM_1:1xxxxxxxx and do not get with STEAM_0:1xxxxxxxx. this is bug !!!!
It's not a bug, CS:GO uses the newer SteamID Universe.

https://developer.valvesoftware.com/wiki/SteamID

Last edited by Lubricant Jam; 10-04-2018 at 03:19.
Lubricant Jam is offline
ESK0
BANNED
Join Date: May 2014
Location: Czech Republic
Old 10-04-2018 , 06:31   Re: [CS GO] problem with GetClientAuthId
Reply With Quote #7

Quote:
Originally Posted by Lubricant Jam View Post
It's not a bug, CS:GO uses the newer SteamID Universe.

https://developer.valvesoftware.com/wiki/SteamID
Thats why I recommended him Steamid64 :O
ESK0 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 10-04-2018 , 10:40   Re: [CS GO] problem with GetClientAuthId
Reply With Quote #8

Quote:
Originally Posted by ESK0 View Post
Use steamid64 And everything will be much better
+1.

SteamID64 all over, and you have one single unique Steam ID that is always the same across any games... !
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 10-04-2018 , 16:27   Re: [CS GO] problem with GetClientAuthId
Reply With Quote #9

Quote:
Originally Posted by Lubricant Jam View Post
It's not a bug, CS:GO uses the newer SteamID Universe.

https://developer.valvesoftware.com/wiki/SteamID
Actually, the problem was that the older Source games fail to set the universe correctly (STEAM_0 is the "invalid" universe). This was finally fixed in Left 4 Dead and the fix carried over to all subsequent games.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Reply



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 18:33.


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