If anyone could help me figure these out It would be greatly appreciated. These are the locations that the debugger says things are going wrong. Thanks, Brandon Problem 1: When reentering the game after quiting/renting the game crashes. Problem 2: Whenever a mob dies the mud crashes. now here are the spots the debugger is saying that both problems reside in: Problem 1: In db.c /* clear some of the the working variables of a char */ void reset_char(struct char_data * ch) { int i; for (i = 0; i < NUM_WEARS; i++) GET_EQ(ch, i) = NULL; <----- This line is where it says its going wrong. ch->followers = NULL; ch->master = NULL; ch->in_room = NOWHERE; ch->carrying = NULL; ch->next = NULL; ch->next_fighting = NULL; ch->next_in_room = NULL; FIGHTING(ch) = NULL; ch->char_specials.position = POS_STANDING; ch->mob_specials.default_pos = POS_STANDING; ch->char_specials.carry_weight = 0; ch->char_specials.carry_items = 0; if (GET_HIT(ch) <= 0) GET_HIT(ch) = 1; if (GET_MOVE(ch) <= 0) GET_MOVE(ch) = 1; if (GET_MANA(ch) <= 0) GET_MANA(ch) = 1; GET_LAST_TELL(ch) = NOBODY; } In dg_handler.c /* remove all triggers from a mob/obj/room */ void extract_script(struct script_data *sc) { struct trig_data *trig, *next_trig; for (trig = TRIGGERS(sc); trig; trig = next_trig) { <-------- This line is where it says its going wrong. next_trig = trig->next; extract_trigger(trig); } TRIGGERS(sc) = NULL; } -- +---------------------------------------------------------------+ | 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/04/01 PST