For anyone who cares, this is the DT to Don Room code that worked for me.
Without the foolz vairable I kept getting Core dumps *shrug*.
if (IS_SET(ROOM_FLAGS(ch->in_room), ROOM_DEATH) && GET_LEVEL(ch) <
LVL_IMMORT$
+ extern sh_int donation_room_1;
+ sh_int RDR = real_room(donation_room_1);
+ struct obj_data *foolz;
+ int i;
log_death_trap(ch);
death_cry(ch);
+ for (i = 0; i < NUM_WEARS; i++)
+ if (GET_EQ(ch, i))
+ obj_to_char(unequip_char(ch, i), ch);
+ while (ch->carrying) {
+ foolz = ch->carrying;
+ obj_from_char(ch->carrying);
+ obj_to_room(foolz, RDR);
+ }
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