From 9bdcc96b52f6470e6940b0de57a9f732afce522a Mon Sep 17 00:00:00 2001 From: MDIC Date: Fri, 12 Aug 2022 15:08:25 -0400 Subject: [PATCH] update (deteciton) Ignore control stun removal remove stun as we are getting some false hits with it --- src/AnticheatMgr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 55d780a..58ffec7 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -467,7 +467,8 @@ void AnticheatMgr::IgnoreControlHackDetection(Player* player, MovementInfo movem uint32 latency = 0; latency = player->GetSession()->GetLatency() >= 400; - if ((player->HasAuraType(SPELL_AURA_MOD_STUN) || player->HasAuraType(SPELL_AURA_MOD_ROOT)) && !player->GetVehicle() && !latency) + + if ((player->HasAuraType(SPELL_AURA_MOD_ROOT)) && !player->GetVehicle() && !latency) { bool unrestricted = newX != lastX || newY != lastY; if (unrestricted) @@ -505,7 +506,6 @@ void AnticheatMgr::IgnoreControlHackDetection(Player* player, MovementInfo movem BuildReport(player, IGNORE_CONTROL_REPORT); } } - } void AnticheatMgr::GravityHackDetection(Player* player, MovementInfo movementInfo)