mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-31 01:13:51 +00:00
feat (new detection): Anti-Knock Back Detection
Anti-knock Back Detection established.
This commit is contained in:
@@ -48,7 +48,8 @@ enum ReportTypes
|
||||
IGNORE_CONTROL_REPORT = 7,
|
||||
ZAXIS_HACK_REPORT = 8,
|
||||
ANTISWIM_HACK_REPORT = 9,
|
||||
GRAVITY_HACK_REPORT = 10
|
||||
GRAVITY_HACK_REPORT = 10,
|
||||
ANTIKNOCK_BACK_HACK_REPORT = 11
|
||||
// MAX_REPORT_TYPES
|
||||
};
|
||||
|
||||
@@ -83,6 +84,7 @@ class AnticheatMgr
|
||||
void AnticheatDeleteCommand(ObjectGuid guid);
|
||||
void AnticheatPurgeCommand(ChatHandler* handler);
|
||||
void ResetDailyReportStates();
|
||||
|
||||
private:
|
||||
void SpeedHackDetection(Player* player, MovementInfo movementInfo);
|
||||
void FlyHackDetection(Player* player, MovementInfo movementInfo);
|
||||
@@ -95,7 +97,7 @@ class AnticheatMgr
|
||||
void WalkOnWaterHackDetection(Player* player, MovementInfo movementInfo);
|
||||
void ZAxisHackDetection(Player* player, MovementInfo movementInfo);
|
||||
void AntiSwimHackDetection(Player* player, MovementInfo movementInfo, uint32 opcode);
|
||||
|
||||
void AntiKnockBackHactDetection(Player* player, MovementInfo movementInfo);
|
||||
void BuildReport(Player* player,uint16 reportType);
|
||||
bool MustCheckTempReports(uint8 type);
|
||||
uint32 _counter = 0;
|
||||
|
||||
Reference in New Issue
Block a user