Jump to content
  • Advertisement
Sign in to follow this  
BradDaBug

Getting info from a running game

This topic is 5411 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I guess this is something pretty common these days, but I don't see how it's done. Let's say you're running a game server, like a Counter-Strike server, or your own custum MUD server, and you want people to be able to look at a web page and see how many people are connected, the current map, etc. How's that done? How does the executable give that information back to whatever's asking for it? Does it just keep a file that it writes to occasionally that other stuff can read? Is there some kind of message passing mechanism?

Share this post


Link to post
Share on other sites
Advertisement
I don't know what to do for Counter-Strike, but for your own custom MUD you could just make your server listen to a spesific port, and let it return xml/html whenever a client (your web application) asks for the info.

Share this post


Link to post
Share on other sites
The games I've delt with will just spit out a huge log file thats updated ever so often.

Its the web application (php, asp ect ect..) that reads the file and makes sence of everything.

This doesn't really help with the question...just sayin :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!