On Fri, 14 May 1999, Fionn Colvin wrote: >If I shutdown die without saving the object with oedit save 12 then the mud hits >a loop putting this into the syslog: > >May 14 15:55:49 :: SYSERR: remove_from_save_list: Saved item not found. (41/1) Need to translate virtual->real here and skip fatal errors. diff -up OasisOLCv2.0-pre6/genolc.c OasisOLCv2.0-pre7/genolc.c --- OasisOLCv2.0-pre6/genolc.c Thu May 13 20:31:00 1999 +++ OasisOLCv2.0-pre7/genolc.c Fri May 14 02:35:54 1999 @@ -73,8 +73,8 @@ 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 - (*save_types[save_list->type].func)(save_list->zone); + 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 | My beta stuff and related information. greerga@circlemud.org | http://www.circlemud.org/~greerga/ +------------------------------------------------------------+ | 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 : 12/15/00 PST