azerothcore / mod-anticheat

Port of PassiveAnticheat to Azerothcore
http://azerothcore.org/
MIT License
34 stars 52 forks source link

'daily_players_reports' The table is empty with no data recorded. #129

Open gutoukuaiken opened 10 months ago

gutoukuaiken commented 10 months ago

Current Behaviour

While the server is running, the 'players_reports_status' table normally records each player's data, but the 'daily_players_reports' table has no records.

if (CharacterDatabase.Query("SELECT 0 FROM daily_players_reports WHERE guid = {};", player->GetGUID().GetCounter())) m_Players[player->GetGUID()].SetDailyReportState(true);

........................

void AnticheatMgr::ResetDailyReportStates() { for (AnticheatPlayersDataMap::iterator it = m_Players.begin(); it != m_Players.end(); ++it) m_Players[(*it).first].SetDailyReportState(false); } It seems that these statements have not been effective.

Expected Blizzlike Behaviour

none

Source

none

Steps to reproduce the problem

none

Extra Notes

none

AC rev. hash/commit

none

Operating system

ubuntn 20.04

Custom changes or Modules

none

nhx99 commented 2 months ago

I followed https://www.azerothcore.org/wiki/debian12-install-guide to the letter i used Anticheat config from mod anticheat wiki everything on server is working good except "daily_players_reports" not being updated. Did we miss something? Can you guys recheck for this issue. Thank you.