Re: Random room in a zone.

From: claywar (claywar@RJSONLINE.NET)
Date: 02/03/98


>
> zone = world[ch->in_room].number;
> to_room = number((zone * 100), (zone * 100) + 99);
>

With that code you're setting it a number from currentroom00 to
currentroom99, not zone number, try

zone = world[ch->in_room].zone;

=)

Faras@Morgaelin         :: mud.dwango.com 3000
claywar@rjsonline.net   :: http://anyhost.simplenet.com/morgaelin


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



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