Well in this particular case I am sending an arbitrarily-sized list of RPG 
character related data to the user.  Any fixed limit would be undesirable.  A 
larger limit (4K) would be acceptable, since, in practice the maximum amount of 
data is probably about 1K.

As I understand it, the string tables are sent to all clients.  I don't want to 
spam every client with this data, since it's only useful to the client that 
it's directed at.

At 2007/03/03 11:31 PM, LDuke wrote:
>--
>[ Picked text/plain from multipart/alternative ]
>What kind of user message is this?
>
>The MOTD messages are limited to 255 bytes for TYPE_TEXT. To use more than
>that, you have to add the text to be displayed to the string tables and use
>TYPE_INDEX (this method has a limit of around 4kb).
>
>On 3/3/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>wrote:
>>
>> Whenever an attempt is made to send anything but the very smallest of user
>> messages, the following error occurs:
>>
>> DLL_MessageEnd:  Refusing to send user message %s of %d bytes to client,
>> user message size limit is 255 bytes
>>
>> It doesn't have anything to do with the usermessages->Register specified
>> limit.  It also seems completely unrelated to the value the
>> bf_write::GetNumBytesLeft reports, which is typically in the 2600 range or
>> so.  So the question is, where is this number coming from, and can it be
>> increased?
>>
>> _______________________________________________
>> 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

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

Reply via email to