[cod] Re: Server Browse issue - revisited

Bill Wood wawoodtx at comcast.net
Wed Feb 11 10:03:14 EST 2004


Taz,

A hint is about all I can give, but I looked at the code for a browser
program I did a long time ago for RTCW (hopefully CoD uses a similar
scheme). To get a list of servers, I sent a UDP datagram to the master
server (in this case to wolf.idsoftware.com) with the request
"ÿÿÿÿgetservers 59 full empty", which received a response of
"ÿÿÿÿgetserversResponse\" (the "ÿ"s are Hex FF's) followed by a list of six
byte entries seperated by "\"s terminated by "\EOT". The six byte entries
are four bytes for the IP address and two bytes for the port. The "59" is
the protocol for RTCW (ET would be "83"). CoD shows a protocol of "2". The
"full empty" is a filter saying give me full and empty servers as well. 

Here is a webpage that may be of interest:
http://www.eclipse-games.co.uk/DevArticles/MasterServerDetails.htm

Good luck.

-----Original Message-----
From: [TRT]TazAnimal!{*} [mailto:tazanimal at rifleteam.com] 
Sent: Tuesday, February 10, 2004 11:56 PM
To: cod at icculus.org
Subject: RE: [cod] Re: Server Browse issue - revisited


Bryan:
  Well... the source is no longer necessary.  I took some code from a VB app
I wrote
to do remote console and a bunch of perl udp examples from the web and was
able to create
a functioning pearl script to do rcon to a game server. :-)

One question though...

Can you give me any hints on how to query the master servers for the list
like
you do when someone puts in an IP address or part of a server name???
Pretty please?

[TRT]TazAnimal{*}
Brett Stinson
TazAnimal at rifleteam.com <mailto:TazAnimal at rifleteam.com>


-----Original Message-----
From: tazanimal [mailto:tazanimal at rifleteam.com]
Sent: Tuesday, February 10, 2004 12:53 AM
To: cod at icculus.org
Subject: RE: [cod] Re: Server Browse issue - revisited


Bryan:
 That would be awesome if they let you.  If not, understandable though.
Thanks,
[TRT]TazAnimal{*}
Brett Stinson
TazAnimal at rifleteam.com <mailto:TazAnimal at rifleteam.com>


 -----Original Message-----
From: Bryan Kuhn [mailto:bryan at infinityward.com]
Sent: Monday, February 09, 2004 6:06 PM
To: cod at icculus.org
Subject: Re: [cod] Re: Server Browse issue - revisited


Yeah I'm probably not allowed to, but I could ask. I sure would have to
clean it up though :)






More information about the Cod mailing list