Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

After reviewing things like Game Tracker, xqf, and HLSW I've come to the bold conclusion that most source games are publicly queryable for basic information like map, player count, player list, etc. Is there some standard for this? I ultimately want to create my own script to poll this information I just can't find any documentation on how it's retrieved.

share|improve this question

3 Answers 3

up vote 2 down vote accepted

I'm sorry to do some house advertising here, but Steam Condenser is probably the way to go if you want to do this programmatically in either Ruby, Java or PHP. It provides all you need to query Source and GoldSrc game servers, the master servers and the Steam Community (like profile, inventories and achievements).

share|improve this answer
    
From the link in this answer I ended up at the Steam Condenser which is what I'm using now. –  Marco Ceppi Sep 20 '11 at 11:43
    
Thanks for using my library. Feel free to contact me if you need further help. –  Koraktor Sep 20 '11 at 12:21

Valve's wiki has an article on the topic. Too much to quote, but the link should be stable.

http://developer.valvesoftware.com/wiki/Server_queries

share|improve this answer
    
This is exactly the documentation I was looking for in order to get started - thanks! –  Marco Ceppi Sep 19 '11 at 18:43

I'm fairly sure that most Source games still use Srcds for servers. In which case maybe this tutorial will be of help to you:

http://forums.srcds.com/viewtopic/5239

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.