Hello Brian Well I use same sort of request packets that the steam browser uses. Which works on HL and HL2 type Servers...
// "ÿÿÿÿT\0" = Info for Servers // "ÿÿÿÿV\0" = Rules // "ÿÿÿÿU\0" = Players I also use "ÿÿÿÿinfo\0" to find out if it’s a HL1 or a HL2 type server. I.e: if you get the following packet after requesting "ÿÿÿÿinfo\0" then it’s a HL2 type Server: "ÿÿÿÿj00000000000000\0" Else it’s a HL1 type Server. I have written a small php script that requests server info for 2 servers (1: CS:CZ [HL1] and 2: CS:Source [HL2]) http://users.initcorp.co.uk/paulk/HL2SInfo/hl2sinfo.php It’s a bit basic due to it being written when CS:Source was in beta. But as for ping... Couldn’t you use ÿÿÿÿ$requestType\0 where $requestType could be any of the above request types... And at the same time have a timer to count how long a request is answered? As far as I can see "ping" and "details" are not used in CS:Source... As for "infostring" and "info" both return the same packet information, which is the following Packet: "ÿÿÿÿj00000000000000\0" I hope this info helps you :) Paul Kirby -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian A. Stumm Sent: Tue 19 October 2004 23:47 To: [EMAIL PROTECTED] Subject: Re: [hlds_apps] Source query protocol What query types are currently supported in the Source Engine? From my searches it seems most people are only using "info", "rules" and "players", what about the others like "ping", "infostring", and "details". Particularly looking for "ping" as I've always used that to test server up/down before requesting additional information. _______________________________________________ hlds_apps mailing list [EMAIL PROTECTED] http://list.valvesoftware.com/mailman/listinfo/hlds_apps _______________________________________________ hlds_apps mailing list [EMAIL PROTECTED] http://list.valvesoftware.com/mailman/listinfo/hlds_apps