Re: [Circle][DG Scripts] medit save not saving, Update!

From: Dana Luther (dtluther@mindspring.com)
Date: 08/01/00


Check to make sure you're adding the proper zone number to the list - ie.,
for zedit you want :

  add_to_save_list(zone_table[OLC_ZNUM(d)].number, SL_ZON);

for rooms, in genwld.c:

  add_to_save_list(zone_table[room->zone].number, SL_WLD);

for mobs, in genmob.c:
    add_to_save_list(zone_table[real_zone_by_thing(vnum)].number, SL_MOB);

for objects, in genobj.c:
   /* rznum = real_zone_by_thing(ovnum); */
    add_to_save_list(zone_table[rznum].number, SL_OBJ);

etc. etc. etc. ;)

Sounds like you're adding the  rnum instead of vnum to the save list.


     +------------------------------------------------------------+
     | 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 : 04/11/01 PDT