[NEWBIE] Making npc's gos when they kill other npc's

From: Alysia (alysia@speedconnect.com)
Date: 04/05/02

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

/* 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),
       mudlog(buf2, BRF, LVL_IMMORT, TRUE);
      if (MOB_FLAGGED(ch, MOB_MEMORY))

Thank you

   | 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