Re: [NEWBIE][CODE] Syserr when doing autorun

From: George Greer (greerga@circlemud.org)
Date: 01/10/02


On Wed, 9 Jan 2002, Derrick D. Henning wrote:

>Syserr: Room #-25536 is below zone 30

That would be attempting to use zone #40, room #40000 without changing your
room_vnum type from a short int (-32768 to 32767).

- typedef sh_int  room_vnum;      /* A room's vnum type */
+ typedef    int  room_vnum;      /* A room's vnum type */

You probably want to change room_rnum too.

NOTE: This will destroy your player files.

An alternative is to try to make room_vnum unsigned (non-trivial) or just
don't use zones above 326.

--
George Greer
greerga@circlemud.org

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT