mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 09:07:22 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user