> Whilst testing my mod, I got this rather odd message, which was also a > Fatal Error, and crashed the server > > Host_Error: PF_MessageEnd_I: Refusing to send user message ShowMenu of > 194 bytes to client, user message size limit is 192 bytes > > The menu is sent with 'ShowMenu' it referred to was also echo'd to the > console, and appears to be 197 bytes, not including the 2 bytes and a short > sent as part of the message, so I am wondereing where HL got the extra 30 > bytes or so.... > > This is using MESSAGE_BEGIN() and MESSAGE_END() with gmsgShowMenu.... > > Is there anyway I can up the 192 limit? Or is it an engine limit? > > I thought it a bit odd, since the ShowMenu function takes up to a char[400] > as the menu... (infact I pass a char[399] to it)
See this tutorial on Wavelength... http://www.thewavelength.net/oldsite/coding/tutorials/15.htm ...especially see the part about 'fNeedMore'. You must break the message up into multiple parts if you are sending more than 192 characters. Jeffrey "botman" Broome _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

