Jump to content

Recommended Posts

Hey guys,

 

I'm a web developer and I would like to know what query system this game uses if someone could tell me that would be super great.I'm referring to: How could I get the player stats and other stats from the servers ?

 

Regards,

Fabian.

Link to comment
Share on other sites

Hey guys,

 

I'm a web developer and I would like to know what query system this game uses if someone could tell me that would be super great.I'm referring to: How could I get the player stats and other stats from the servers ?

 

Regards,

Fabian.

 

The engine seems to hard set the query port to 27016 and can be queried using the same protocol as HL1 or HL2

Link to comment
Share on other sites

Hu, look at that.

 

jmomo@server-->qstat -P -a2s 1.2.3.4:27016
ADDRESS           PLAYERS      MAP   RESPONSE TIME    NAME
1.2.3.4:27016  0/64  0/0               12 / 2   jmomo's public park
 

 

Yep, A2S queries seem to work.... to some extent. It doesn't look like they are listing players yet, but it shows the server's name.

 

Number of players is not working as I write this. I am logged into that server and it still says 0/0 players.

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...