That's what hlsw does.

Dave

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Anders
Pedersen
Sent: Saturday, August 14, 2004 1:28 PM
To: [EMAIL PROTECTED]
Subject: Re: [hlcoders] qstat 2.5d beta 3 available ( full cs: source
support )

Now then Steve, I have a crazy (yet brilliant) idea.. :-)

I was fooling around and realised that the HL1 servers also respond to
the
T, U and V packets.. As we know by now, U (players) and V (rules) share
the
same format whether the server is HL1 or HL2.

The T-packet (details) however, is different.. HL1 servers respond with
the
'm' packet and HL2 servers respond with the 'I' packet. Now, seeing this
I
came up with a great idea.. A universal qstat/halflife thingy..
Something
along the lines of:

1. send T, U and V.
2. examine T-reply, if 'm' -> HL1, if 'I' -> HL2.
3. return results.

This way, qstat could be used to query a server and show the details
without
the user having to figure out if the server is running HL1 or HL2. I
myself
could use this feature..

I suppose this could pretty much be done using existing qstat-code? The
servertype could still return HLS / HL2S, identifying the gametype for
later
use..

So Steve, what do you think?? ;-)

- Anders


----- Original Message -----
From: Steven Hartland
To: [EMAIL PROTECTED]
Sent: Saturday, August 14, 2004 2:55 PM
Subject: Re: [hlcoders] qstat 2.5d beta 3 available ( full cs: source
support )


Yes just fixed BETA 4 now available :P
Packet validation was too strict. I've removed the protocol version
check for the time being.

    Steve / K
----- Original Message -----
From: "Anders Pedersen"

> Steve.. Help! :-)
>
> For some reason qstat has started just instantly saying 'no response'
when
> trying to query a CS:S server.. Bug?



================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and
the
person or entity to whom it is addressed. In the event of misdirection,
the
recipient is prohibited from using, copying, printing or otherwise
disseminating it or any information contained in it.

In the event of misdirection, illegible or incomplete transmission
please
telephone (023) 8024 3137
or return the E.mail to [EMAIL PROTECTED]


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders




_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to