This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Sounds great! Of course i can't find a full server at the moment but i did manage to save the packets when everything was running at full speed.. :-)
Grab 'em here if that helps: http://anderskp.dk/files/cssrc.zip 'out.T' is the info-packet.. 'Players now' is represented by the 0D byte at 0x3Eh, followed by Maxplayers (10 byte). 'out.U' is the players packet.. I succesfully decoded it exactly the same way as the HL1 players packet: "players" / U Server responds with the following packet: (int32) -1 (byte) ASCII 'D' (players response, S2A_PLAYER) (byte) active client count for each active client (byte) client number / index (string) player name (int32) client's frag total (float32) client's total time in-game Anyway, in a few hours i guess this server will be populated again: 193.163.220.149:27301 Let me know when i can grab a binary of qstat beta 3 ;-) - Anders ----- Original Message ----- From: Steven Hartland To: [EMAIL PROTECTED] Sent: Friday, August 13, 2004 2:17 AM Subject: Re: [hlcoders] Re: New query protocol for CS: Source? All those are now done with the exception of decoding the player packet as I cant find a server with players to test it against. Steve / K ----- Original Message ----- From: "Anders Pedersen" > Right, sorry.. This is probably a bit messy but here goes: > > 1. The numplayers seems to be bad.. It always reports 0 players even if the > server is full? > 2. OS is returned as '100' for a linux server? i'd expect this to be > linux/windows as mith HL1 for making it easy? :-) > 3. Dedicated also comes out wrong ('100').. should be something lige sv_type > = dedicated/listed as in HL1 ? > 4. Maybe include gamedir? > 5. Players can be fetched with the 'U' header.. Format appears to be same as > HL1 > 6. Rules can be fetched with the 'V' headers.. also same format as HL1 > > I like qstat, especially the -xml function.. :-) If i had any experience > coding C i would try to help out more, but my skills seem to be limited to > VB.NET :-( ================================================ 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