|
From: Ludwig N. <l-...@us...> - 2006-03-27 19:46:59
|
Pierre Smolarek wrote:
> I've come across a problem where qstat refuses to provide a list of
> players for a server when also asking for the rules.
>
> ie:
>
> ./qstat -a2s 70.103.189.100:27035 -P
>
> works
>
> ./qstat -a2s 70.103.189.100:27035 -P -R
>
> does not work.
>
> Any chance someone has time to try and fix this?
>
> Debug code follows:
>
> ./qstat -a2s 70.103.189.100:27035 -P -R -d -d
Add one more -d to get everything a2s.c has to say.
> [...]
> debug(1) 02:28:44 qstat.c:3021 do_work() - recv 174 52 70.103.189.100:27035
> FROM 70.103.189.100:27035 len 1400
> 0: feffffff a1010000 0200ffff ffff454c ........ ......EL
^^
> [...]
> debug(1) 02:28:44 qstat.c:3021 do_work() - recv 182 7 70.103.189.100:27035
> FROM 70.103.189.100:27035 len 95
> 0: feffffff a1010000 02016963 65656e61 ........ ..iceena
^^
The reply from the server is broken. Those are fragmented packets.
Both packets claim they are number 0 of 2. That's wrong.
The Protocol is described here:
http://developer.valvesoftware.com/wiki/Source_Server_Queries#Protocol
cu
Ludwig
--
(o_ Ludwig Nussel
//\
V_/_ PGP Key: FF8135CE
|