On Wed, 29 Dec 1999, Rich Allen wrote: >> I suppose you could log the input on the sex prompt and see what the bad >> client returns. Then put up a test for that value. If you do find a >> common value, send it to me and I'll include it in the base. For now we >> have a BROKEN_BUT_COMPATIBLE #ifdef in comm.c. > > I ran into this problem with ZMud while writing a MUD/Talker in Visual >Basic. What I found out was that ZMud was sending the text of the user's >input in one packet, then sending a CR/LF pair in a following packet. What >I did in my code was to check the last two bytes of the user's input, and if >it wasn't a CR/LF pair, place the whole thing in a hold buffer until the >CR/LF was recieved, then process the input. We should already do that in process_input(). The point is to split the buffer into lines for processing. -- George Greer | Death's Gate Scripts greerga@circlemud.org | http://www.mindspring.com/~heilpern/dg_scripts/ +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST