Hi again, Ok problem of the moment is death traps. When the player hits a death trap I'd like for their eq to go to the don room, problem is well I don't know what is the friggin' problem. Here's the current state of my ROOM_DEATH code, it's been changing alot lately :(. As it stands when a character hits a dt the game stops updating ticks and crashes out. Any ideas if (IS_SET(ROOM_FLAGS(ch->in_room), ROOM_DEATH) && GET_LEVEL(ch) < LVL_IMMORT$ struct obj_data *foolz_objs; int i; sh_int RDR = real_room(donation_room_1); log_death_trap(ch); for (i = 0; i < NUM_WEARS; i++) if (GET_EQ(ch, i)) obj_to_room(unequip_char(ch, i), RDR); while (ch->carrying) { foolz_objs = ch->carrying; obj_to_room(foolz_objs, RDR); } death_cry(ch); extract_char(ch); return 0; } Robert Ward Aimnet Network Operations Center rward@aimnet.com +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST