2

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.

kalina
  • 75,172
  • 162
  • 439
  • 628
Marco Ceppi
  • 171
  • 3
  • 10

3 Answers3

4

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

Dave McClelland
  • 15,515
  • 21
  • 83
  • 125
2

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).

Koraktor
  • 300
  • 1
  • 10
0

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

Jack Perry
  • 21
  • 2