Re: [CODE] dig/copyto

From: Mark A. Heilpern (heilpern@MINDSPRING.COM)
Date: 12/21/97


At 04:27 PM 12/21/97 -0600, you wrote:
>>Instead, I add it to the save list (shown when you type "olc")...
>>
>>olc_add_to_save_list((iroom/100), OLC_SAVE_ROOM);
>>/* right before sprintf "you make an exit %s to room"... in do_dig.
similar */
>>/* for copyto */
>
>This is already in there, it's just people never look at the save list since
>*edits save automaticaly.

Edits save to _disk_ automatically? is this a new feature to Oasis 1.6? (I'm
using 1.5 and, since I've added numerous fields here and there, have no
intention of doing a normal upgrade).  At any rate, if normal edits do save
to disk automatically and you want to do that within dig and copyto (and why
wouldn't you? :) you should look at how edits are set up for users - the
setting up of OLC_ZNUM(ch->desc), OLC_NUM() and OLC_ROOM() - do this prior to
calling the save_to_disk routine.


     +------------------------------------------------------------+
     | 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