It looks like it doesn't recognize the info query, so it just responds with a ping. You can send "\xFF\xFF\xFF\xFFT" and it will give an info-like response (dev.kquery.com has it pretty well documented). If you can understand C, I have some code that uses it in CVS right now: http://cvs.sourceforge.net/viewcvs.py/int64/gamestat/gamestat/source.c?view=markup
On Tue, 24 Aug 2004 15:17:29 +0100, Paul Kirby <[EMAIL PROTECTED]> wrote: > Yeah I know there isnt an 'info' for the CS:Source yet, Its where my > code was written for the HL Query, I knew that it was a ping response, > but just wanted to know why it responded to my request with that? > > Oh and what I sent in my last post was what was sent to and from the > (Clinet <-> Server). > > I will try again after I have updated it. > > Also in a way it was 0 being sent, though it was not 0x00 just ascii '0' > maybe another bug in the code :P > > Paul Kirby > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Alfred Reynolds > > Sent: Tue 24 August 2004 07:11 > > To: [EMAIL PROTECTED] > > Subject: RE: [hlds_apps] Server Query Protocol Question? > > > > > > There is no "info" query for Source right now, that is being > > reinterpreted as a ping request and you get a A2A_ACK as a > > response. The other values should all be 0x0, you sure you > > got the packet dump right? > > > > ----Original Message---- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Paul Kirby > > Sent: Monday, August 23, 2004 10:36 AM To: > > [EMAIL PROTECTED] Subject: [hlds_apps] Server > > Query Protocol Question? > > > > > Anyone know what this is for? > > > > > > [3RD_PARTY_APP -> SERVER] > > > 0000000000 FF FF FF FF 69 6E 66 6F 00 ....info. > > > > > > > > > [SERVER -> 3RD_PARTY_APP] > > > 0000000000 FF FF FF FF 6A 30 30 30 30 30 30 30 30 30 30 30 > > > ....j00000000000 0000000010 30 30 30 00 > > > > > 000. > > > > > > I know that the ASCII 'j' is (general acknowledgement, A2A_ACK) but > > > what is the 14 byte block of 0x30 for? Is it so that we can > > use this > > > to tell if it's a HL1 server or a HL2 Server? > > > > > > Thanks in advance. > > > Paul Kirby > > > > > > > > > _______________________________________________ > > > 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 > > > > _______________________________________________ > hlds_apps mailing list > [EMAIL PROTECTED] > http://list.valvesoftware.com/mailman/listinfo/hlds_apps > -- Cory Nelson http://www.int64.org _______________________________________________ hlds_apps mailing list [EMAIL PROTECTED] http://list.valvesoftware.com/mailman/listinfo/hlds_apps
