Is it possible to get player stats from ongoing game?

91 views
Skip to first unread message

mTTm

unread,
Sep 10, 2016, 5:15:33 AM9/10/16
to Steam Condenser
Hi,

in your description of the lib you say it is possible to query a server to get player info. Would it be possible to get SteamIds from all players in a "just started" match in DotA? 
So I basically just want to know who is in the match I just started.

And I got this error but I guess i should talk to my host, but what is it that I have to ask of them?

Notice: Sending packet of type "A2S_INFO_Packet"... /htdocs/dota/steam-condenser/lib/steam/sockets/SteamSocket.php on line 142 Fatal error: Uncaught exception 'TimeoutException' with message 'The operation timed out.' in /htdocs/dota/steam-condenser/lib/steam/sockets/SteamSocket.php:108
Stack trace: #0 /htdocs/dota/steam-condenser/lib/steam/sockets/SourceSocket.php(36): 
SteamSocket->receivePacket(1400) #1/htdocs/dota/steam-condenser/lib/steam/servers/GameServer.php(260):
SourceSocket->getReply() #2 /htdocs/dota/steam-condenser/lib/steam/servers/GameServer.php(397): 
GameServer->getReply() #3 /htdocs/dota/steam-condenser/lib/steam/servers/GameServer.php(249): 
GameServer->updatePing() #4 /mnt/web001/b1/70/57197470/htdocs/dota/index.php(12): GameServer->initialize() #5 {main} thrown in /htdocs/dota/steam-condenser/lib/steam/sockets/SteamSocket.php on line 108

Regards,
mTTm

Grizzlly

unread,
Jan 5, 2017, 7:37:24 AM1/5/17
to Steam Condenser
You can't get the SteamIDs just by querying. You need to establish a connection to the server using RCON. You can get the name of the players and there is a very small chance to find 2 players with the exact name. You can make a confirmation message so the user confirms that you selected the right player.

Nicholas Hastings

unread,
Jan 5, 2017, 7:45:57 AM1/5/17
to steam-c...@googlegroups.com
Additionally, dota servers do not respond to server queries unless you have a plugin to force them to be enabled.

--
Nicholas Hastings



Thursday, January 5, 2017 7:37 AM
You can't get the SteamIDs just by querying. You need to establish a connection to the server using RCON. You can get the name of the players and there is a very small chance to find 2 players with the exact name. You can make a confirmation message so the user confirms that you selected the right player.

sâmbătă, 10 septembrie 2016, 12:15:33 UTC+3, mTTm a scris:
--
You received this message because you are subscribed to the Google Groups "Steam Condenser" group.
To unsubscribe from this group and stop receiving emails from it, send an email to steam-condens...@googlegroups.com.
To post to this group, send email to steam-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/steam-condenser/eb9ca907-f78b-47f7-8ce2-5cc38849f62f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages