On Wed, 18 Feb 1998, Mike Carpenter wrote:
->word[entrance].dir_option[2]->to_room = first_room;
->or any place a like statement is used. I have included the source code for
->what i have so far, can anyone help figure out why the mud will crash after
->this function is called and
->what i could do to fix it?
I'm going to take a wild guess and say that the room you're using
this on doesn't have a south exit existing in the database. This
would also mean, then, that memory isn't initialized for said exit.
And that either "CREATE(world[enterance].dir_option[SOUTH],
struct room_direction_data, 1);" is in order, or just creating a
southern exit to -1 in the database is. The latter is infinetly
easier.
-dak
+------------------------------------------------------------+
| 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