feat (module): New Detection Gravity Hack

This commit is contained in:
MDIC
2022-05-04 20:52:51 -04:00
parent 317f3ac963
commit 84d084b367
6 changed files with 31 additions and 7 deletions

View File

@@ -37,7 +37,8 @@ enum ReportTypes
TELEPORT_HACK_REPORT = 6,
IGNORE_CONTROL_REPORT = 7,
ZAXIS_HACK_REPORT = 8,
ANTISWIM_HACK_REPORT = 9
ANTISWIM_HACK_REPORT = 9,
GRAVITY_HACK_REPORT = 10
// MAX_REPORT_TYPES
};
@@ -81,6 +82,7 @@ class AnticheatMgr
void TeleportHackDetection(Player* player, MovementInfo movementInfo);
void IgnoreControlHackDetection(Player* player, MovementInfo movementInfo);
void ZAxisHackDetection(Player* player, MovementInfo movementInfo);
void GravityHackDetection(Player* player, MovementInfo movementInfo);
void BuildReport(Player* player,uint16 reportType);
bool MustCheckTempReports(uint8 type);