From 75532a21e63007f250b8fbe5549796c3134817ec Mon Sep 17 00:00:00 2001 From: MDIC Date: Wed, 9 Mar 2022 09:29:46 -0500 Subject: [PATCH] Fix False Flag (Killing Spree) Rogue's Kill Spree was giving a false detection on speed hack when on a single target. We add the aura and class combination as a exception to not flag legit rouge players. --- src/AnticheatMgr.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index e6ec0d2..8b2a990 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -413,6 +413,12 @@ void AnticheatMgr::SpeedHackDetection(Player* player, MovementInfo movementInfo) if (!timeDiff) timeDiff = 1; + // Rouge Class Killing Spree causes false flags so we add the exception here + if (player->getClass() == CLASS_ROGUE && player->GetAura(51690)) + { + return; + } + // this is the distance doable by the player in 1 sec, using the time done to move to this point. uint32 clientSpeedRate = distance2D * 1000 / timeDiff;