Welcome to the Builder Academy

Question possible mob memory bug

More
09 Aug 2012 13:18 #612 by Vatiken
Replied by Vatiken on topic Re: possible mob memory bug
Fix on my fix (so only DEAD characters leaving are forgotten):
Code:
/* If "temp" has allocated memory data and our ch is a PC, forget the * extracted character (if he/she is remembered) */ - if (!IS_NPC(ch) && MEMORY(temp)) + if (!IS_NPC(ch) && GET_POS(ch) == POS_DEAD && MEMORY(temp)) forget(temp, ch); /* forget() is safe to use without a check. */ }
The issues with your solution Liko is:
a) tbaMUD doesn't use my group system by default.
b) if non-grouped mobs have memory, they will still remember you after you die.
c) if a character dies out of combat (poison, mortally wounded, deathtrap), he/she will still be remembered by MEMORY npcs.

tbaMUD developer/programmer

Please Log in or Create an account to join the conversation.

More
09 Aug 2012 13:47 #613 by Liko
Replied by Liko on topic Re: possible mob memory bug

Vatiken wrote: Fix on my fix (so only DEAD characters leaving are forgotten):

Code:
/* If "temp" has allocated memory data and our ch is a PC, forget the * extracted character (if he/she is remembered) */ - if (!IS_NPC(ch) && MEMORY(temp)) + if (!IS_NPC(ch) && GET_POS(ch) == POS_DEAD && MEMORY(temp)) forget(temp, ch); /* forget() is safe to use without a check. */ }
The issues with your solution Liko is:
a) tbaMUD doesn't use my group system by default.
b) if non-grouped mobs have memory, they will still remember you after you die.
c) if a character dies out of combat (poison, mortally wounded, deathtrap), he/she will still be remembered by MEMORY npcs.


A) true, but its a hell of a lot better than tbaMUD's default
B) I'm just thinking if they make multiple enemies in the world, why allow them to have their debt erased just cause someone else killed them. If your living in a fantasy would they could be revived and the other people could hunt them again.
C) See b.

Just my opinions lol. I just think it comes down to how the mud owner wants to handle this.

Randian(0.0.0)
Owner/Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.333 seconds