Add (Anticheat Exemption) DK stuff

Add DK stuff to speed hack exemption. Add Default to Map.
This commit is contained in:
MDIC
2022-03-13 11:55:25 -04:00
parent ee8b516cac
commit fb69aade23

View File

@@ -342,6 +342,18 @@ void AnticheatMgr::SpeedHackDetection(Player* player, MovementInfo movementInfo)
case 718: //Transport: The Mighty Wind (Icecrown Citadel Raid)
return;
break;
default:
break;// Should never happen
}
switch (player->GetAreaId())
{
case 4281: //Acherus: The Ebon Hold
case 4342: //Acherus: The Ebon Hold
return;
break;
default:
break;// Should never happen
}
uint32 distance2D = (uint32)movementInfo.pos.GetExactDist2d(&m_Players[key].GetLastMovementInfo().pos);
@@ -387,7 +399,7 @@ void AnticheatMgr::SpeedHackDetection(Player* player, MovementInfo movementInfo)
return;
break;
default:
break;
break;// Should never happen
}
// this is the distance doable by the player in 1 sec, using the time done to move to this point.