mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-18 11:15:45 +00:00
add (db\gm cmd): CM DB Logging\GM CM Display
added counter measure report type in database added new row when using .anticheat player to show deployed counter measures on player as some countermeasures will not count the actual cheat count in the db
This commit is contained in:
@@ -227,6 +227,7 @@ public:
|
||||
uint32 antiknockback_reports = sAnticheatMgr->GetTypeReports(guid, 11);
|
||||
uint32 no_fall_damage_reports = sAnticheatMgr->GetTypeReports(guid, 12);
|
||||
uint32 op_ack_reports = sAnticheatMgr->GetTypeReports(guid, 13);
|
||||
uint32 counter_measures_reports = sAnticheatMgr->GetTypeReports(guid, 14);
|
||||
|
||||
Player* playerTarget = player->GetConnectedPlayer();
|
||||
uint32 latency = 0;
|
||||
@@ -288,6 +289,7 @@ public:
|
||||
{
|
||||
handler->PSendSysMessage("|cffff0000Macro Requiring Lua Unlock Detected: |cffffff00No");
|
||||
}
|
||||
handler->PSendSysMessage("|cffff0000Counter Measures Deployed: |cffffff00%u", counter_measures_reports);
|
||||
handler->PSendSysMessage("|cffff0000Average: |cffffff00%f |cffff0000Total Reports: |cffffff00%u ", average, total_reports);
|
||||
handler->PSendSysMessage("|cffff0000Speed Reports: |cffffff00%u |cffff0000Fly Reports: |cffffff00%u |cffff0000Jump Reports: |cffffff00%u ", speed_reports, fly_reports, jump_reports);
|
||||
handler->PSendSysMessage("|cffff0000Walk On Water Reports:|cffffff00 %u |cffff0000Teleport To Plane Reports: |cffffff00%u", waterwalk_reports, teleportplane_reports);
|
||||
@@ -354,6 +356,7 @@ public:
|
||||
{
|
||||
handler->PSendSysMessage("Macro Requiring Lua Unlock Detected: No");
|
||||
}
|
||||
handler->PSendSysMessage("Counter Measures Deployed: %u", counter_measures_reports);
|
||||
handler->PSendSysMessage("Average: %f || Total Reports: %u ", average, total_reports);
|
||||
handler->PSendSysMessage("Speed Reports: %u || Fly Reports: %u || Jump Reports: %u ", speed_reports, fly_reports, jump_reports);
|
||||
handler->PSendSysMessage("Walk On Water Reports: %u || Teleport To Plane Reports: %u", waterwalk_reports, teleportplane_reports);
|
||||
|
||||
Reference in New Issue
Block a user