View Single Post
imported_YoMama
Senior Member
Join Date: Oct 2004
Location: Amsterdam (Netherlands)
Old 12-22-2004 , 02:44  
Reply With Quote #4

If anyone's interested, I can post some code here to display live server status. Instead of the actual webpage doing the querying (which can be a burden if you have lots of visitors), I use a perl-script which will query the server once a minute (can be once every x seconds, depending on the amount of servers to be queried), and insert the results into a MySQL (or whatever flavor) table.

The webpages then pull that info directly from the database.

For an example see: http://games.xs4all.nl

Currently I'm just displaying simple info. But rules, players scores and filtering can easily be applied. The nice part is that it supports loads of different games, so it's easily extend to other servers should you host any (like I do).

This method will also become available as an addon for SourceMod by the way.
imported_YoMama is offline
Send a message via ICQ to imported_YoMama Send a message via MSN to imported_YoMama