Another thing you can do, is that I believe that function defaults to a send_to_char for the output... change that to a page_to_char call and it will use an actual BUFFER * object to hold the output and only spew it 1 page at a time to the character...
Richard Lindsey. -----Original Message----- From: Tom Whiting [mailto:[EMAIL PROTECTED] Sent: Sunday, September 25, 2005 2:24 AM To: rom@rom.org Subject: Re: Buffer Overflow... Take a look at the memory code found here: http://www.dreamless-realms.org/downloads-file-7.html I don't claim to have written that, just found it a couple of years back, and it's helped me quite a bit. Basically this will get rid of a lot of your buffer overflow problems, as it expands the buffer as necessary. Quite usefull if you've got a few areas in your game :) On Sun, 25 Sep 2005 00:03:14 -0700 (PDT), Apple Britters wrote: > I was having a problem with a buffer overflow. I would type > 'owhere p' - which is a huge list of items, and get the buffer > overflow happening: > > Sun Sep 25 03:05:36 2005 :: Log Vladia: owhere p Sun Sep 25 > 03:05:36 2005 :: [*****] BUG: buffer overflow past size 16384 > > I know I can just go in and increase the buffer size, but I'm not > really sure of what other things this might effect, or what I > should increase it TO. Any help please :) > > Brittany. > > > __________________________________ Yahoo! Mail - PC Magazine > Editors' Choice 2005 http://mail.yahoo.com -- ROM mailing list ROM@rom.org Unsubscribe here ->>> http://www.rom.org/cgi-bin/mailman/listinfo/rom