The 0xFE 0xFF 0xFF 0xFF means the rules response needed to be split because
it couldn't fit into a single datagram.  (Alfred mentioned this in an
earlier reply)

What usually happens is the tail end of the split shows up first , so you
have to watch for that 0xFE 0xFF 0xFF 0xFF at the beginning and queue up the
parts and put them back together before parsing.  I haven't checked lately
to make sure it's still valid with the protocol changes, but I have a
"HLBuffer" class I wrote in C# I'd be more than happy to send your way if
you'd like.

Terry

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Steven Hartland
> Sent: Wednesday, June 08, 2005 5:52 AM
> To: Alfred Reynolds
> Cc: [email protected]
> Subject: Re: [hlds_apps] RE: [hlds_linux] HL1 Engine update
> 
> I may be being totally thick here ( still very tired ) but 
> the rules response definitely looks different:
> Source:
> FROM samwise:30522
>     0: ffffffff 4536006d 705f686f 73746167  ....E6.m p_hostag
>    16: 6570656e 616c7479 0032006d 705f6175  epenalty .2.mp_au
>    32: 746f7465 616d6261 6c616e63 65003000  toteamba lance.0.
> 
> HL1:
> FROM 203.26.94.184:27015
>     0: feffffff fb0b0000 12656174 73003000  ........ .eats.0.
>    16: 73765f63 6c69656e 74747261 63650033  sv_clien ttrace.3
>    32: 2e350073 765f636c 69706d6f 64650030  .5.sv_cl ipmode.0
> 
> We are seeing:
> 0xFE 0xFF 0xFF 0xFF, Random 4 bytes?, no rules byte?, rules
> not:
> 0xFF 0xFF 0xFF 0xFF 0x45, no rules short, rules as would be expected
> 
>     Steve / K
> ----- Original Message -----
> From: "Alfred Reynolds" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Wednesday, June 08, 2005 5:22 AM
> Subject: RE: [hlds_apps] RE: [hlds_linux] HL1 Engine update
> 
> 
> The RULES and PLAYERS responses for Source and HL1 are identical, and
> match the currently published server query spec. The A2S_INFO response
> for HL1 servers is different, here are the details:
> 
> Data Type Comment
> Type byte Should be equal to 'm' (0x6D)
> Game IP string Game Server IP address and port
> Hostname string The Servers name
> Map string The current map being played
> Game Directory string The Game type
> Game Description string A friendly string name for the game type
> Num players byte The number of players currently on the
> server
> Max players byte Maximum allowed players for the server
> Version byte Network version
> Dedicated byte Set to 'd' for dedicated servers, 'l'
> for listen
> OS byte 'l' for Linux, 'w' for Windows
> Password byte If set to 1 a password is required to
> join this server
> IsMod byte If set to 1 this packet has a mod
> details section, 0 otherwise
> URLInfo string (MOD Detail Only) URL containing information about this
> mod
> URLDL string (MOD Detail Only) URL to download this mod
> Unused string (MOD Detail Only) Will always be an empty string
> ModVersion long (MOD Detail Only) Version of the
> installed mod
> ModSize long (MOD Detail Only) The download size of this mod
> SvOnly byte (MOD Detail Only) If 1 this is a server side
> only mod
> ClDLL byte (MOD Detail Only) If 1 this mod has a
> custom client dll
> Secure byte If set to 1 this server is running VAC
> Num of bots byte Number of bot players currently on the
> server
> 
> 
> We will update the documentation with these changes tomorrow.
> 
> - Alfred
> 
> 
> ----Original Message----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Alfred
> Reynolds Sent: Tuesday, June 07, 2005 8:08 PM To:
> [email protected] Subject: RE: [hlds_apps] RE:
> [hlds_linux] HL1 Engine update 
> 
> > Sorry about this one guys, I should have brought this up earlier
> > (like we did with Source). I am going to update the queries document
> > with details about the HL1 formats (where they don't match 
> the Source
> > ones).   
> > 
> > 
> > - Alfred
> > 
> > ----Original Message----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of Steven
> > Hartland Sent: Tuesday, June 07, 2005 7:34 PM To: 
> > [email protected] Subject: Re: [hlds_apps] RE:
> > [hlds_linux] HL1 Engine update
> > 
> > > Ok the basics are there now in revision: 1.4 This is 
> still very much
> > > work in progress as the protocol is pretty different :( Known
> > > issues: 
> > > 1. Some basic rules / details missing.
> > > 2. Extended rules not processed.
> > > 
> > > I really wish these things weren't sprung on us like this :( /me
> > > goes off to sleep 
> > > 
> > >     Steve / K
> > > ----- Original Message -----
> > > From: "Kingsley Foreman" <[EMAIL PROTECTED]>
> > > To: <[email protected]>
> > > Sent: Wednesday, June 08, 2005 2:45 AM
> > > Subject: Re: [hlds_apps] RE: [hlds_linux] HL1 Engine update
> > > 
> > > 
> > > > another issue....
> > > > if you change the correct code to make the query work 
> it is saying
> > > > there are a huge amount of players in the server eg. 117/110
> > > > players. 
> > > > 
> > > > Kingsley
> > > 
> > > 
> > > ================================================
> > > 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] 
> > > 
> > > 
> > > _______________________________________________
> > > 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
> 
> 
> 
> 
> ================================================
> 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]
> 
> 
> _______________________________________________
> 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