> I have been fighting this for weeks but i guess i don't know what to really
> change. I went through and changed all the save_char(ch, NOWHERE) calls to
> save_char(ch, ch->in_room). Do I have to change the calls in the
> interpreter.c or will that just cause it to save the char in the NOWHERE
> room because they haven't entered the game when it calls them in the Nanny?
you also have to change the character loading in interpreter.c..mine looks
like this:
/* put character to their loadroom before autoequipping them */
if (GET_LOADROOM(d->character) != NOWHERE)
load_room = real_room(GET_LOADROOM(d->character));
/* If char was saved with NOWHERE, or real_room above failed... */
if (GET_LOADROOM(d->character) == NOWHERE) {
if (GET_LEVEL(d->character) >= LVL_IMMORT)
load_room = r_immort_start_room;
else
load_room = r_mortal_start_room;
}
if (PLR_FLAGGED(d->character, PLR_FROZEN))
load_room = r_frozen_start_room;
char_to_room(d->character, load_room);
also..i changed the save_char function to look like this (don't know how
much it will effect things, so i'm including it anyway):
if (!PLR_FLAGGED(ch, PLR_LOADROOM))
GET_LOADROOM(ch) = load_room;
siv
+------------------------------------------------------------+
| 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