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

@@ -207,6 +207,7 @@ public:
uint32 teleport_reports = sAnticheatMgr->GetTypeReports(guid, 6);
uint32 ignorecontrol_reports = sAnticheatMgr->GetTypeReports(guid, 7);
uint32 zaxis_reports = sAnticheatMgr->GetTypeReports(guid, 8);
uint32 antiswim_reports = sAnticheatMgr->GetTypeReports(guid, 9);
Player* playerTarget = player->GetConnectedPlayer();
uint32 latency = 0;
latency = playerTarget->GetSession()->GetLatency();
@@ -216,6 +217,7 @@ public:
handler->PSendSysMessage("Walk On Water Reports: %u || Teleport To Plane Reports: %u", waterwalk_reports, teleportplane_reports);
handler->PSendSysMessage("Teleport Reports: %u || Climb Reports: %u", teleport_reports, climb_reports);
handler->PSendSysMessage("Ignore Control Reports: %u || Ignore Z-Axis Reports: %u", ignorecontrol_reports, zaxis_reports);
handler->PSendSysMessage("Ignore Anti-Swim Reports: %u", antiswim_reports);
return true;
}
else