Hi,

I have the same issue. TF2 does not split packets for Source queries, 
instead cuts the reply off after 1260 bytes. This happens for A2S_RULES 
and A2S_PLAYER, although the latter only goes past that limit if you 
make your server 32 slots and add 32 bots with a maximum length name 
(using the command 'bot -name somethinglong' 32 times).

Both external and the game itself display the information incomplete 
for such a server, so it's not just my implementation at fault, it's 
the same story for every other query tool out there.

I also tried to rule out previously suggested network issues by 
listening for larger or additional packets, even from 127.0.0.1 
(localhost), but there is nothing. Server is running without 
plugins on a 64bit Linux machine. I haven't had the chance to 
test with a Windows server yet.

If there's no workaround and this won't be fixed, I guess I should 
switch to using RCON for obtaining that information for my simple 
clan webinterface?

In the meantime I added a warning to the Server queries wiki page.

Regards
frostschutz

On Thu, Nov 26, 2009 at 02:20:10PM +0200, Kaspars wrote:
> Hi,
> 
> I have released some time ago a tool to query source and goldsource servers
> from command line. It is a lightweight and similar to qstat. You can fetch
> general server information (hostname, map and player count), players and
> server rules. It has support for split packet and bzip2 packet handling. You
> can get the source here: https://sourceforge.net/projects/theqtool/ .
> Feedback will be appreciated.
> 
> However, I have still an issue with A2S_RULES handling. I have posted this
> already some time ago on this list without any replies. The rules response
> from TF2 servers gets truncated if it exceeds 1260 bytes. I have tested this
> with several tools including HLSW. This can be easily verified, just open up
> gametracker, filter out some TF2 servers and try getting rules from them in
> HLSW. If the packet is big enough (1260+ bytes) it will be truncated. Seems
> like L4D and L4D2 servers are not affected so nobody cares...
> 
> Cheers,
> Kaspars

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to