>It would be possible to write a function that cycles through the
>list of modified zones and saves each one. This could be a
>useful command, and could also be called whenever the MUD
>goes down for a copyover.
There's already a function supplied with OLC to save all the unsaved
zones. This is taken advantage of in the saveall snippet I posted to
developer, but you can also take advantage of it in do_copyover.
After:
/* Consider changing all saved areas here, if you use OLC */
add in:
save_all();
and be sure you've prototyped it somewhere.
Simple, no?
-Cheron
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
| Newbie List: http://groups.yahoo.com/group/circle-newbies/ |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT