fix (detection): Load Order for detections

there is a issue where teleport hack somehow gets invalidated due to counter measures of adv jump. this corrects it
This commit is contained in:
M'Dic
2023-04-28 10:30:27 -04:00
parent e1e29e5f14
commit e32f0bf6ee

View File

@@ -105,12 +105,12 @@ void AnticheatMgr::StartHackDetection(Player* player, MovementInfo movementInfo,
// The project compromised of various developers of the open source scene and we hang out there. // The project compromised of various developers of the open source scene and we hang out there.
// We would never charge for modules or "lessons" // We would never charge for modules or "lessons"
TeleportHackDetection(player, movementInfo);
SpeedHackDetection(player, movementInfo); SpeedHackDetection(player, movementInfo);
FlyHackDetection(player, movementInfo); FlyHackDetection(player, movementInfo);
JumpHackDetection(player, movementInfo, opcode); JumpHackDetection(player, movementInfo, opcode);
TeleportPlaneHackDetection(player, movementInfo, opcode); TeleportPlaneHackDetection(player, movementInfo, opcode);
ClimbHackDetection(player, movementInfo, opcode); ClimbHackDetection(player, movementInfo, opcode);
TeleportHackDetection(player, movementInfo);
IgnoreControlHackDetection(player, movementInfo, opcode); IgnoreControlHackDetection(player, movementInfo, opcode);
GravityHackDetection(player, movementInfo); GravityHackDetection(player, movementInfo);
if (player->GetLiquidData().Status == LIQUID_MAP_WATER_WALK) if (player->GetLiquidData().Status == LIQUID_MAP_WATER_WALK)