Sorry, you're gonna have to help me out a little bit more there. What filename is this code snippet from? What function? Where is it called from with what args? What version of dg scripts is this? Is it dg scripts? Check the object file. The triggers in dg scripts are appended to objects/mobs/ect with a T xxxx as far as I know and you may be deleting the object, but not the triggers that are right after it. Rick -----Original Message----- From: Shane Augustine <sca@bu.edu> To: CIRCLE@post.queensu.ca <CIRCLE@post.queensu.ca> Date: Tuesday, February 23, 1999 7:18 PM Subject: Re: weapon flags >Hi thanks for the suggestion. I created a new value field for objs and I redid >all the obj files to include a fifth argument. Now the mud boots through all >the objs >but when it gets to loading the zones, I get the following error: > SYSERR: Trigger #209125141 non-existant, for obj #99 >If i remove this object, then I get some funky other errors and it'll crash on a >diff >obj. I don't have any triggers saved on obj #99. The code it points to is: >case OBJ_TRIGGER: > obj = (obj_data *)i; > trg_proto = obj->proto_script; > while (trg_proto) { > rnum = real_trigger(trg_proto->vnum); > if (rnum==-1) { <==================== THIS LINE > sprintf(buf,"SYSERR: trigger #%d non-existant, for obj #%d", > trg_proto->vnum, obj_index[obj->item_number].vnum); > log(buf); > } else { > if (!SCRIPT(obj)) > CREATE(SCRIPT(obj), struct script_data, 1); > add_trigger(SCRIPT(obj), read_trigger(rnum), -1); > } > trg_proto = trg_proto->next; > } > break; >where rnum = -1. +------------------------------------------------------------+ | 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