On Tue, 2 Jan 2001, Brandon Allen wrote: > i have poked around the source and cant seem to figure out > how to creata a unified command that will just save all unsaved > OLC data [...] That whole "paragraph" was a single sentence. :) OasisOLC v2.0 already has one: /* * Original use: to be called at shutdown time. */ int save_all(void) { while (save_list) { if (save_list->type < 0 || save_list->type > SL_MAX) log("SYSERR: GenOLC: Invalid save type %d in save list.\n", save_list->type); else if ((*save_types[save_list->type].func)(real_zone(save_list->zone)) < 0) save_list = save_list->next; /* Fatal error, skip this one. */ } return TRUE; } -- George Greer | If it's about the CircleMUD mailing list, greerga@circlemud.org | mail owner-circle@post.queensu.ca instead. -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/03/01 PST