Re: [CODE] dig/copyto

From: Chuck Reed (creed@I-55.COM)
Date: 12/21/97


>Edits save to _disk_ automatically? is this a new feature to Oasis 1.6?

No, I added it.

(I'm
>using 1.5 and, since I've added numerous fields here and there, have no
>intention of doing a normal upgrade).

You just add *edit_save_to_disk(OLC_ZNUM(d)); after each *edit_save_internaly.

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

This does make sense.  At least that's what I thought until I tried it :)
For some wierd reason it doesn't like it.  Ahh well.

Chuck
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+
| Chuck Reed                  | Ash of Dark Horizon          |
| creed@i-55.com              | darkh.gator.net 6000         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+
"Losers always whine about their best while the winner home
 and fucks the prom queen." -Sean Connery


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