>From: Thomas Larcombe <raucous@DIM.COM> >Oasis seems to be having a >difficulty saving the 'Perm Affects' flags. I can assign them >and load the item and they are there but if I save the object >and shutdown, on reboot the 'Perm Affects' slot is blank again. >Looking at the object files tells me it is a problem in the save >and not with the items loading as I do not see the alterations >that that should make to the object files. Has anyone had this >or a similar problem and if so what is the fix. currently the >code reads like this in the save_objects section: > >int save_objects(zon_rnum zone_num) >{ >char buf[MAX_STRING_LENGTH]; >char buf1[MAX_STRING_LENGTH]; >etc... >etc.. >etc. > >up to the sprintascii bits... >sprintascii(buf1, GET_OBJ_EXTRA(obj)); >sprintascii(buf2, GET_OBJ_WEAR(obj)); >sprintascii(arg, GET_OBJ_PERM(obj)); > >etc... >etc.. >etc. > >fprintf(fp, "$~\n"); Does your code even write the arg variable to file? Whatever you showed above doesn't help much if you think the saving is the problem. When you say you don't see the changes, do you mean only to the perm affects or do you mean the file? _________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- +---------------------------------------------------------------+ | 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