On Wed, 2006-06-28 at 22:16 -0500, Terry wrote:
> In the reply to the players query, after the "type" byte ('D'), is a
> byte that is "The number of players reported in this response".
>  
> I've noticed that every so often, the response packet is missing a
> player.  For example, the Num Players byte will be "7", but there will
> only be data for 6 players.
>  
> Is this expected?  If so, it kind of makes that player count byte
> useless.  

I encountered this too. My guess was that it was counting the number of
people who are connected to the server, including those who hadn't
joined yet. (Those that are still connecting too, that is).

It's valid for displaying a player count, as that slot is taken while
that person is connecting.

-- 
Erik Hollensbe <[EMAIL PROTECTED]>

_______________________________________________
hlds_apps mailing list
hlds_apps@list.valvesoftware.com
http://list.valvesoftware.com/mailman/listinfo/hlds_apps

Reply via email to