Re: Trains code

From: Gary Barnett (gbarnett@POLARNET.COM)
Date: 11/29/97


On Saturday, November 29, 1997 9:12 PM, SirHomerJ@AOL.COM
[SMTP:SirHomerJ@AOL.COM] wrote:
> Okay, I am trying to install the trains code off of the CircleMUD site.
>  However, it crashes every time it runs through the following:
>
> world[transroom].dir_option[wdoor]->to_room = station;
> world[station].dir_option[edoor]->to_room = transroom;
>
> Earlier in the file:
>
> transroom = real_room(501);
> station = real_room(10000);
> wdoor = 3; /* west dir number */
> edoor = 1; /* east dir number */
>
> Any help on this would be appreciated! (I hope I am not overlooking
> something
> really stupid.)
>
The obvious:

1) Is room vnum 501 a valid room? is room vnum 10000?

2) Is there a west exit in room vnum 501? An east exit in room vnum 10000?

--Mallory

Neither sweat, nor blood, nor frustration, nor lousy manuals
nor missing parts, nor wrong parts shall keep me from my task.
  --Christopher Hicks


     +------------------------------------------------------------+
     | 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/08/00 PST