I used the npc brag snip, to make npc's brag when they kill eachother. it keeps core dumping my autorun script. im not sure what i need to do to make it stop core dumping. Now it logs when npc's kill eachother just like normal players. I checked out removing the logging, and it wouldnt work at all. They gossip when they kill eachother. But it can only happen a few times before it dumps. Another issue I found, how do i make it so mobs dont get xp, i had a newbie npc level to 35, by killing things and that crashed the mud as well ? Also this could lead to spam, how would i add a % to the gossip when they kill eachother ? any suggestions on making this work would be appreciated. /* what i put to make it work*/ if (IS_NPC(ch)) { sprintf(buf2, "%s killed by %s at %s", GET_NAME(ch), GET_NAME(ch), world[ch->in_room].name); mudlog(buf2, BRF, LVL_IMMORT, TRUE); if (MOB_FLAGGED(ch, MOB_MEMORY)) forget(ch,victim); /*end*/ -- Thank you Alysia -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT