I'm having some problems when I try to load equipment on new characters.
The code is contained in a do_approve function which is to approve new
characters. Here is a sample of the code I am using. The mud freezes once
the character types anything after being approved.
if (!IS_SPELLCASTER(vict)) {
obj = read_object(real_object(6), REAL);
equip_char(vict, obj, WEAR_WIELD);
obj = read_object(real_object(2), REAL);
equip_char(vict, obj, WEAR_BODY);
}
else {
obj = read_object(real_object(7), REAL);
equip_char(vict, obj, WEAR_WIELD);
obj = read_object(real_object(12), REAL);
equip_char(vict, obj, WEAR_BODY);
}
Gdb gives no error message, the mud simply freezes up.
Any Ideas?
Steve Squires
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
--
+---------------------------------------------------------------+
| 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 : 06/24/03 PDT