mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-24 14:06:24 +00:00
update (module): Change detection run
This commit is contained in:
@@ -376,13 +376,19 @@ void AnticheatMgr::StartHackDetection(Player* player, MovementInfo movementInfo,
|
|||||||
|
|
||||||
SpeedHackDetection(player, movementInfo);
|
SpeedHackDetection(player, movementInfo);
|
||||||
FlyHackDetection(player, movementInfo);
|
FlyHackDetection(player, movementInfo);
|
||||||
WalkOnWaterHackDetection(player, movementInfo);
|
|
||||||
JumpHackDetection(player, movementInfo, opcode);
|
JumpHackDetection(player, movementInfo, opcode);
|
||||||
TeleportPlaneHackDetection(player, movementInfo);
|
TeleportPlaneHackDetection(player, movementInfo);
|
||||||
ClimbHackDetection(player, movementInfo, opcode);
|
ClimbHackDetection(player, movementInfo, opcode);
|
||||||
TeleportHackDetection(player, movementInfo);
|
TeleportHackDetection(player, movementInfo);
|
||||||
IgnoreControlHackDetection(player, movementInfo);
|
IgnoreControlHackDetection(player, movementInfo);
|
||||||
ZAxisHackDetection(player, movementInfo);
|
if (player->GetLiquidData().Status == LIQUID_MAP_WATER_WALK)
|
||||||
|
{
|
||||||
|
WalkOnWaterHackDetection(player, movementInfo);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ZAxisHackDetection(player, movementInfo);
|
||||||
|
}
|
||||||
m_Players[key].SetLastMovementInfo(movementInfo);
|
m_Players[key].SetLastMovementInfo(movementInfo);
|
||||||
m_Players[key].SetLastOpcode(opcode);
|
m_Players[key].SetLastOpcode(opcode);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user