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

Get SteamID64


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CamerDisco
AlliedModders Donor
Join Date: Aug 2015
Location: Poland
Old 12-06-2016 , 17:44   Get SteamID64
Reply With Quote #1

Hi, I've 2 servers, on first server I can get steamid64 without any problems, but on second steamid64 is: STEAM_ID_STOP_IGNORING_RETVALS. Other SteamIDs I can get without problems.Metamod and sourcemod is the same on these 2 servers - the newest.

Can it be cased by plugins? Extensions are the same, I don't have idea what can be wrong.
__________________


Max-Play.pl - the best polish servers
CamerDisco is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 12-06-2016 , 18:07   Re: Get SteamID64
Reply With Quote #2

You didn't tell us what game.
There is and never has been a SourceMod or Metamod version called "the newest" they have version numbers.
Get the real version number by doing:
sm version
meta version

There was an issue two months ago revolving around "STEAM_ID_STOP_IGNORING_RETVALS" and can be corrected by updating SourceMod.
https://www.sourcemod.net/downloads.php
Maxximou5 is offline
CamerDisco
AlliedModders Donor
Join Date: Aug 2015
Location: Poland
Old 12-06-2016 , 18:11   Re: Get SteamID64
Reply With Quote #3

Game CS:GO
PHP Code:
Metamod:Source version 1.10.6
Built from
https://github.com/alliedmodders/metamod-source/commit/9fed12f
Build ID946:9fed12f
Loaded 
As: Valve Server Plugin
Compiled on
Sep 10 2015
Plugin 
interface version15:14
SourceHook version
5:5
http
://www.metamodsource.net/ 
PHP Code:
    SourceMod Version1.8.0.5963
    SourcePawn Engine
SourcePawn 1.8jit-x86 (build 1.8.0.5963)
    
SourcePawn APIv1 4v2 11
    Compiled on
Dec  4 2016 21:58:21
    Built from
https://github.com/alliedmodders/sourcemod/commit/851acc5
    
Build ID5963:851acc5
    http
://www.sourcemod.net/ 
The same mm and sm on 2 servers.
__________________


Max-Play.pl - the best polish servers
CamerDisco is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 12-06-2016 , 18:15   Re: Get SteamID64
Reply With Quote #4

Are you using a plugin for this or retrieving it via the steam api?
PHP Code:
GetClientAuthId(targetAuthId_SteamID64steamIDsizeof(steamID)); 
PHP Code:
http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=XXXXXXXXXXXXXXXXXXXX&steamids=76561197960435530 
Maxximou5 is offline
CamerDisco
AlliedModders Donor
Join Date: Aug 2015
Location: Poland
Old 12-06-2016 , 18:19   Re: Get SteamID64
Reply With Quote #5

By GetClientAuthId, other forms of steamid are correctly downloaded.
__________________


Max-Play.pl - the best polish servers
CamerDisco is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 12-06-2016 , 19:11   Re: Get SteamID64
Reply With Quote #6

Same plugin on both servers?
If the servers are the same, the only two areas I can think that would cause the issue are either the plugin being different or the server wasn't updated properly with the newest SM.
Worth a shot uploading SM again and the plugin, because if it works on the other, we can only conclude it should work if the server is identical. If it doesn't work, it isn't identical and something wasn't updated or is missing.\
As I mentioned earlier, it was fixed and the solution was updating SM: https://forums.alliedmods.net/showthread.php?p=2464652
Maxximou5 is offline
psychonic

BAFFLED
Join Date: May 2008
Old 12-06-2016 , 20:26   Re: Get SteamID64
Reply With Quote #7

Quote:
Originally Posted by CamerDisco View Post
Hbut on second steamid64 is: STEAM_ID_STOP_IGNORING_RETVALS.
That's not the Steam ID there. That's a message telling you that you ignored the function documentation that says it will return false if it cannot retrieve the id at that time. You should always check whether or not the call was successful. A steam id is only returned if the call returns true.
psychonic is offline
CamerDisco
AlliedModders Donor
Join Date: Aug 2015
Location: Poland
Old 12-07-2016 , 09:20   Re: Get SteamID64
Reply With Quote #8

Quote:
Originally Posted by psychonic View Post
That's not the Steam ID there. That's a message telling you that you ignored the function documentation that says it will return false if it cannot retrieve the id at that time. You should always check whether or not the call was successful. A steam id is only returned if the call returns true.
Lol, I know it that isn't steamid.

Quote:
Originally Posted by Maxximou5 View Post
Same plugin on both servers?
If the servers are the same, the only two areas I can think that would cause the issue are either the plugin being different or the server wasn't updated properly with the newest SM.
Worth a shot uploading SM again and the plugin, because if it works on the other, we can only conclude it should work if the server is identical. If it doesn't work, it isn't identical and something wasn't updated or is missing.\
As I mentioned earlier, it was fixed and the solution was updating SM: https://forums.alliedmods.net/showthread.php?p=2464652
Yes, the plugins are others on these 2 servers. I tried upgrading sourcemod a lot of times, but I don't know how plugin can do a problem with getting steamid. And I can't understand this: I can get other forms of steamid, for example. AuthId_Steam2, but not AuthId_SteamID64
__________________


Max-Play.pl - the best polish servers
CamerDisco is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 12-07-2016 , 11:24   Re: Get SteamID64
Reply With Quote #9

Quote:
Originally Posted by KyleS View Post
... what's the value of SteamAuthstringValidation?
Mitchell is offline
CamerDisco
AlliedModders Donor
Join Date: Aug 2015
Location: Poland
Old 12-07-2016 , 11:50   Re: Get SteamID64
Reply With Quote #10

On 2 servers the same:
PHP Code:
    "SteamAuthstringValidation"    "yes" 
__________________


Max-Play.pl - the best polish servers
CamerDisco 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 13:49.


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