Game tags are appended to the end of the packet using the EDF flag (the
wiki documents this). There isn't any intended feature that would cause
this truncation, can you send me some server IP's to look at (in a
personal email, don't spam the list :).

- Alfred

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:hlcoders-
> [EMAIL PROTECTED] On Behalf Of Chris Allan
> Sent: Wednesday, May 07, 2008 10:15 AM
> To: Discussion of Half-Life Programming
> Subject: Re: [hlcoders] Truncated/Shortened A2S_INFO for TF2
> 
> 
> On 7 May 2008, at 17:21, Tom Edwards wrote:
> 
> > Maybe this has to do with the addition of server tags.
> 
> Certainly possible, the server in question does indeed have:
> 
> sv_tags increased_maxplayers,norespawntime,respawntimes
> 
> For those interested, the code snippet and results:
> 
> [EMAIL PROTECTED] ~/src/SRCDS $ python
> Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17)
> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
>  >>> import socket
>  >>> udpsock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
>  >>> udpsock.connect(("213.228.232.26", 27015))
>  >>> udpsock.send("\xFF\xFF\xFF\xFFTSource Engine Query\x00")
> 25
>  >>> a = udpsock.recv(1400)
>  >>> f = open("payload", "w")
>  >>> f.write(a)
>  >>> f.close()
>  >>> ^D
> [EMAIL PROTECTED] ~/src/SRCDS $ hexdump -C payload
> 00000000  ff ff ff ff 49 0e 55 4b  43 53 3a 54 46 32 23 32  |????
> I.UKCS:TF2#2|
> 00000010  20 2d 20 4d 65 67 61 20  47 61 6d 65 20 53 65 72  | - Mega
> Game Ser|
> 00000020  76 65 72 20 2d 20 2a 4e  65 77 20 53 74 61 74 73  |ver -
> *New Stats|
> 00000030  2a 20 2d 20 77 77 77 2e  75 6b 63 73 2e 6e 65 74  |* -
> www.ukcs.net
> |
> 00000040  00 63 70 5f 67 72 61 76  65 6c 70 69 74 00 74 66
> |.cp_gravelpit.tf|
> 00000050  00 54 65 61 6d 20 46 6f  72 74 72 65 73 73 00 b8  |.Team
> Fortress.?|
> 00000060  01 19 1a 00                                       |....|
> 00000064
> 
> 
> Ciao.
> 
> -Chris
> 
> _______________________________________________
> 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

Reply via email to