Welcome to the Builder Academy

Question possible mob memory bug

More
07 Aug 2012 05:42 #552 by bakarus
It seems that in a stock tba 3.63 when a mob kills a player, and then that player logs back in, and goes to get his corpse from the room, the mob still remembers the player and then attacks them again, this is with non-aggro mobs.

The mob memory should be cleared upon killing an npc, can anyone else confirm this happens, I haven't made any changes to the mob memory part of the code at all.

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

More
07 Aug 2012 05:54 #553 by Halenbane
I haven't seen anything to that effect.. Hmm.

Yo , hop on darklands or something :P Im coding and it's tooooo quiet :P

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

More
07 Aug 2012 12:28 #557 by Liko
Replied by Liko on topic Re: possible mob memory bug

bakarus wrote: It seems that in a stock tba 3.63 when a mob kills a player, and then that player logs back in, and goes to get his corpse from the room, the mob still remembers the player and then attacks them again, this is with non-aggro mobs.

The mob memory should be cleared upon killing an npc, can anyone else confirm this happens, I haven't made any changes to the mob memory part of the code at all.


Are you using mremember as a trigger on the mob?

I tried to replicate this but failed, heres what I did:

1) Logged into alt
2) Found a goblin mage
3) started combat with mage and was killed
4) logged back in from death
5) I was able to get my corpse without being attacked.

Randian(0.0.0)
Owner/Developer

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

More
07 Aug 2012 15:50 #559 by bakarus
Replied by bakarus on topic Re: possible mob memory bug

Are you using mremember as a trigger on the mob?


Not using triggers, basically created a new character, attacked a mercenary in midgaard, died, re-entered the game and walked to the room with the mercs, one shouted "Hey I know You!" and killed me repeatedly.\

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

More
07 Aug 2012 16:33 #561 by Liko
Replied by Liko on topic Re: possible mob memory bug

bakarus wrote:

Are you using mremember as a trigger on the mob?


Not using triggers, basically created a new character, attacked a mercenary in midgaard, died, re-entered the game and walked to the room with the mercs, one shouted "Hey I know You!" and killed me repeatedly.\


I believe that merc may have a trigger attached to him. Double check.

Randian(0.0.0)
Owner/Developer

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

More
07 Aug 2012 17:18 #562 by bakarus
Replied by bakarus on topic Re: possible mob memory bug
Code:
male MOB 'the mercenary' IDNum: [60344], In room [ 0], Loadroom : [65535] Keyword: mercenary, VNum: [ 3063], RNum: [ 661] L-Des: A mercenary is waiting for a job here. D-Des: He looks pretty mean, and you imagine he'd do anything for money. Human, Mobile, Lev: [ 5], XP: [ 2500], Align: [-330] Str: [11/0] Int: [11] Wis: [11] Dex: [11] Con: [11] Cha: [11] Hit p.:[51/51+5] Mana p.:[10/10+5] Move p.:[50/50+5] Gold: [ 50], Bank: [ 0] (Total: 50), AC: [70+0/10], Hitroll: [ 1], Damroll: [ 0], Saving throws: [0/0/0/0/0] Pos: Standing, Fighting: Nobody, Attack type: hit, Default position: Standing NPC flags: SENTINEL ISNPC MEMORY Mob Spec-Proc: None, NPC Bare Hand Dam: 1d2 Carried: weight: 0, items: 0; Items in: inventory: 0, eq: 0 Master is: <none>, Followers are: <none> AFF: NOBITS Triggers: None.

no triggers, its odd :)

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

Time to create page: 0.238 seconds