I've tried installing arena and autosplit/autoloot
However when a char is attacking a mob, the error
message I recieve is: SYSERR char hitting dead corpse
(Or something to that)
Anyway here is how my code is set, where I think the prob. is...
fight.c:
[...]
if (!IS_NPC(victim)) {
sprintf(buf2, "%s killed by %s at %s", GET_NAME(victim),
GET_NAME(ch),
world[victim->in_room].name);
mudlog(buf2, BRF, LVL_IMMORT, TRUE);
if (MOB_FLAGGED(ch, MOB_MEMORY))
forget(ch, victim);
}
/* Cant determine GET_GOLD on corpse, so do now and store */
if (IS_NPC(victim)) {
local_gold = GET_GOLD(victim);
sprintf(local_buf,"%ld", (long)local_gold);
}
die(victim);
/* If Autoloot enabled, get all corpse */
if (IS_NPC(victim) && !IS_NPC(ch) && PRF_FLAGGED(ch, PRF_AUTOLOOT)) {
do_get(ch,"all corpse",0,0);
}
/* If Autoloot AND AutoSplit AND we got money, split with group */
if (IS_AFFECTED(ch, AFF_GROUP) && (local_gold > 0) &&
PRF_FLAGGED(ch, PRF_AUTOSPLIT) && PRF_FLAGGED(ch,PRF_AUTOLOOT)) {
do_split(ch,local_buf,0,0);
}
}
}
[...]
Can anyone help me out? Got any ideas.. I dont think It's the
Arena add-on. And don't laugh at for placing in 2 add-on's at the
same time, I know shouldn't have but time was short...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
lordnull@geocities.org Member of [PhIrE]
Web Page:
http://www.inil.com/users/doug/hold.htm
"of the trust i will betray" - Nine Inch Nails
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+-----------------------------------------------------------+
| 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