Making a live server query page on a website
Re: Making a live server query page on a website
Basically, you need to query your BF1942 server on GameSpy port, by default port 23000, with, for example, "\status\" or "\info\" queries. Then you need to parse that information. You can accomplish that with PHP language. I think there are some open-source tools, where you can look at the code, but I can't recall them, now.
Re: Making a live server query page on a website
Some example programs written in PHP that fulfill your needs: http://www.brainpecker.com/projects.php
Re: Making a live server query page on a website
basically just photoshop and the info from tuia above. also take a look at www.greycube.com the creator of this site has made a number of php driven app's and plugins including the lgsl (live game server list). This queries the bf1942 server to display info on a webpage. an example of this is on many e107 sites including http://www.is82.com
Re: Making a live server query page on a website
I believe you need to fetch the servers list from master.gamespy.com and then query each server there with a "\status\" packet to the GameSpy port. Take a look at http://aluigi.org/papers.htm#gslist, it's a great tool. Type in command prompt "gslist.exe -n bfield1942swd" and it will show all BF1942 SW Demo servers. Gslist has lots of supported games and the code is available for you to read.