TrinityCore icon indicating copy to clipboard operation
TrinityCore copied to clipboard

Exploit Npc's lose melee aggro

Open RedSonja opened this issue 13 years ago • 17 comments

Trinity Revision: 2a69143cec66+ Database Version: TDB 335.50

Any npc you attack if you step back 2 or 3 steps back after it has come to you, it will just stop attacking completely. Checked in multiple areas and level ranges.

Edit: This has been checked with mmaps enabled and disabled both. Attack any mob/npc they aggro normally, then take about 3 steps back they lose aggro and hit periodically not normally, take 5 steps back more they again attack as they should, take 2 more steps back again they stop. Rinse and repeat. This was tested on several mobs/npcs from duskwood to icecrown so not just in one area.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

RedSonja avatar Feb 06 '13 05:02 RedSonja

After some conversation, I was able to reproduce this on my server ([00d299f]), Database Version TDB 335.50: Move back so much that both you and the enemy are out of each other's autoattack range; do it in very very very small steps back. If the enemy does not enclose on you, he does not attack you - aggro gets reduced.

Here a video: http://www.youtube.com/watch?v=kMBTo3AMcw0

EgoSumThan avatar Feb 06 '13 18:02 EgoSumThan

i have this only with Mmaps =1 in config.... if you put Mmaps off i cant reproduce this bug.

jobbais avatar Feb 07 '13 10:02 jobbais

we found the bug either way.

RedSonja avatar Feb 07 '13 18:02 RedSonja

This bug has been on for a few months now and was introduced from a commit which made aggroed mobs wait still 10 seconds-ish before returning to their spawn point, to this date I still don't understand what was the idea of implementing that but ever since that has caused some issues like this one.

yashirotcm avatar Feb 09 '13 21:02 yashirotcm

redsonja, does it look like this? > https://github.com/TrinityCore/TrinityCore/issues/4943

jobbais avatar Feb 10 '13 21:02 jobbais

Mo its not an evade issue, they just stop when you move back a short distance, and then will re-aggro when you move more back. and if you continue it does it over again. This is different from the evade bug.

RedSonja avatar Feb 11 '13 05:02 RedSonja

https://github.com/TrinityCore/TrinityCore/issues/9191

jobbais avatar Feb 11 '13 20:02 jobbais

i cant reproduce tried with mmaps on and off

terabyte101 avatar Feb 16 '13 15:02 terabyte101

i can confirm that if a mob ie. shadowsteps to another mob it wont return to its initial aggro until the initial aggro moves a bit. it seems like some sort of struck in out of range and wont relocate until the target is moving

LuqJensen avatar Mar 09 '13 11:03 LuqJensen

Does anyone know if this has been fixed?

RedSonja avatar Jun 11 '13 14:06 RedSonja

I pulled new just to check and it still doing this. Has anyone found a fix for it?

RedSonja avatar Jun 12 '13 14:06 RedSonja

any news?

Expecto avatar Jul 21 '13 15:07 Expecto

Probably caused by that calculation aswell, bugs will appear in most situations of 3D calculations, but 2D is used: https://github.com/TrinityCore/TrinityCore/blob/master/src/server/game/Movement/MovementGenerators/TargetedMovementGenerator.cpp#L158

Related bugs: #9150 #10383

ghost avatar Oct 20 '13 23:10 ghost

skyfire has a fix for it somewhere, if you guys can find it..

ghost avatar Oct 30 '13 10:10 ghost

Try again on head.

Aokromes avatar Oct 13 '14 20:10 Aokromes

Still happening on: 37ccea13cbdb78b4c635ea9f3ec718d2e75e3c50

digz6666 avatar Dec 25 '14 14:12 digz6666

Months ago it was easy to reproduce this issue but on rev. 5dba91fb0e38 I tried for more than 30min without success.

Killyana avatar May 05 '15 13:05 Killyana