update (module): Change detection run

This commit is contained in:
MDIC
2022-04-27 17:34:47 -04:00
parent 2139734662
commit 90d2f84576

View File

@@ -376,13 +376,19 @@ void AnticheatMgr::StartHackDetection(Player* player, MovementInfo movementInfo,
SpeedHackDetection(player, movementInfo);
FlyHackDetection(player, movementInfo);
WalkOnWaterHackDetection(player, movementInfo);
JumpHackDetection(player, movementInfo, opcode);
TeleportPlaneHackDetection(player, movementInfo);
ClimbHackDetection(player, movementInfo, opcode);
TeleportHackDetection(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].SetLastOpcode(opcode);
}