Re: Bug Alert - page_string

From: George (greerga@CIRCLEMUD.ORG)
Date: 11/03/98

On Fri, 30 Oct 1998, Angus Mezick wrote:

>If you page the background story of the mud,
>d->character->char_specials.screensize will be undefined and
>cause the mud to go into an infinite loop randomly. I put in
>the following:
>     screensize=23;
>else if(d->original)
>     screensize=d->original->char_specials.screensize -2;
>     screensize=d->character->char_specials.screensize -2;
>I don't know if you have the screensize, just something
>to be careful of.

Hard-coded in stock code:

#define PAGE_LENGTH     22
#define PAGE_WIDTH      80

Good reminder for others though.

George Greer, | Genius may have its limitations, but   (mostly) | stupidity is not thus handicapped.    |                  -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/15/00 PST