Dana Luther wrote: > > I think the point was that it is printing WAY too much stuff into that > buffer when you try to print all the level info out like that. You need to > break it into chunks. Nahhh, just increase the size of MAX_STRING_LENGTH, or you can do something more complex which allocates the memory dynamically and reallocates to keep it from overflowing (I actually made up an entire system around this concept so I don't have to waste memory for everything that uses MAX_STRING_LENGTH or use cheesy workarounds like limiting the amount of output to a command, it works pretty well I can actually do a "rlist 0 100000" and it will page the entire thing, around 50 pages worth, to the screen properly without limiting the number of lines and without seg faulting). Regards, Peter +------------------------------------------------------------+ | 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 : 04/11/01 PDT