Re: Problem after adding new levels

From: Magnus Jardstam (msjm@hotmail.com)
Date: 12/25/99


Daniel A Kopke wrote:

>You've added more than 256 levels without changing the level type to
>something larger than 'byte', eh?  BTW, changing it from 'byte' will
>change the size of a player record, so if you're using binary player
>files, you'll either have to do a pfile wipe or convert the pfiles.

Uhmmm... byte ranges from -128 to 127. unsigned byte (declared ubyte in
circle) ranges from 0 to 256. I tested with ubyte on levels once and got
that error. So I changed it to short int and it worked.

          +-----------------------------------------------+
          | Menion of Mythic Portal (mistcastle.com 4444) |
          | Personal e-mail: msjm@hotmail.com             |
          | Mythic Portal e-mail: mythic@mistcastle.com   |
          | Homepage: Not up yet                          |
          +-----------------------------------------------+

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


     +------------------------------------------------------------+
     | 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