Monday, September 19, 2011

How can I query data from a source game server?

Question

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.

Answer

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

No comments:

Post a Comment