feat (new detection\char sql\conf): Anti-swim Detection added

rerun sql for character db to support the new collumn.
new conf Anticheat.AntiSwimClimbHack = 1
This commit is contained in:
MDIC
2022-05-03 17:07:13 -04:00
parent a354b09f1d
commit 05ff193afb
6 changed files with 37 additions and 6 deletions

View File

@@ -36,7 +36,8 @@ enum ReportTypes
CLIMB_HACK_REPORT = 5,
TELEPORT_HACK_REPORT = 6,
IGNORE_CONTROL_REPORT = 7,
ZAXIS_HACK_REPORT = 8
ZAXIS_HACK_REPORT = 8,
ANTISWIM_HACK_REPORT = 9
// MAX_REPORT_TYPES
};
@@ -76,6 +77,7 @@ class AnticheatMgr
void JumpHackDetection(Player* player, MovementInfo movementInfo,uint32 opcode);
void TeleportPlaneHackDetection(Player* player, MovementInfo);
void ClimbHackDetection(Player* player,MovementInfo movementInfo, uint32 opcode);
void AntiSwimHackDetection(Player* player, MovementInfo movementInfo);
void TeleportHackDetection(Player* player, MovementInfo movementInfo);
void IgnoreControlHackDetection(Player* player, MovementInfo movementInfo);
void ZAxisHackDetection(Player* player, MovementInfo movementInfo);