Hello Brian

I thought I had done that already...
Maybe it was my older version of it.

I have just got home from work, So give me a few hours to read all me emails
and I will add some .phps symbolic links to them.

Note: I have the main code in a OOP Class.
Also I know it is a bit crude, but this was all done in one afternoon :) 


Paul Kirby

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brian A. Stumm
Sent: Wed 20 October 2004 08:04
To: [EMAIL PROTECTED]
Subject: RE: [hlds_apps] Source query protocol

On Wed, 20 Oct 2004, Paul Kirby wrote:

> 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.

might you rename that file to .phps so I can see your sources? If you 
don't wish to share I understand. 

> 
> 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?
> 

Yes I could change my app to use other methods but my understanding is 
that eventually all half-life 1 query methods will be supported so I'm not 
sure I want to write my app to support temporary protocols. 

> 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"
> 

info and infostring supply the same info? Crazy... Not at all compatible 
with half-life 1 SDK at all... 

I doubt it would take much to get the "ping" query method working in 
source, certainly it must be the easiest to implement. Considering the 
return is so limited... 


_______________________________________________
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

Reply via email to