Re: Saving to current room prior to exit

From: Max Transity (transity@bb7.betterbox.net)
Date: 03/11/00


If you want to save IN_ROOM(ch) as the PLR_LOADROOM on QUIT, all you have
to do is insert the two lines below into the QUIT command:

SET_BIT(PLR_FLAGS(ch), PLR_LOADROOM);
GET_LOADROOM(ch) = GET_ROOM_VNUM(IN_ROOM(ch));

I don't know why you are replacing a bunch of NOWHEREs throughout the code
if all you're trying to do is allow QUIT to save the character in their
current room, though.  Assuming you want QUIT and SAVE to save current
room, that's all you need to modify.

--------------------
      Max Transity
      Managing Partner
      The UNiVERSE
   -----------------------


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



This archive was generated by hypermail 2b30 : 04/10/01 PDT