Re: [CODE] 2 odd things that haunt me..

Date: 07/14/97

I've got two problems that have plagued me since day one...

1)  When a player quits or rents (quiting is ok on my mud) then returns
immediately from the main menu they end up back where they originally
entered the game rather than where they quit/rented.  I have replaced
almost every instance of save_char(ch, NOWHERE) with ch->in_room, but to
no avail... anybody else experience this?

     try this in your quit routine:

           int save_room;
           save_room = ch->in_room;
           extract_char(ch);      <<<-------   kicks you out of the rooms.
           ch->in_room = world[save_room].number;  <<<---- just fake it,
           save_char(ch, ch->in_room);

      | Ensure that you have read the CircleMUD Mailing List FAQ: |
      |   |

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