Rename to ac_autorage

This commit is contained in:
TotallyNotElite 2018-05-24 16:39:13 +02:00
parent 7eac0b38d9
commit 15f1dbaff5
5 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@ namespace hacks::shared::anticheat
{ {
void Accuse(int eid, const std::string &hack, const std::string &details); void Accuse(int eid, const std::string &hack, const std::string &details);
static CatVar setrage(CV_SWITCH, "ac_setrage", "0", "Auto Rage"); static CatVar autorage(CV_SWITCH, "ac_autorage", "0", "Auto Rage");
void Init(); void Init();
void CreateMove(); void CreateMove();

View File

@ -20,7 +20,7 @@ namespace anticheat
static CatVar enabled(CV_SWITCH, "ac_enabled", "0", "Enable AC"); static CatVar enabled(CV_SWITCH, "ac_enabled", "0", "Enable AC");
static CatVar accuse_chat(CV_SWITCH, "ac_chat", "0", "Accuse in chat"); static CatVar accuse_chat(CV_SWITCH, "ac_chat", "0", "Accuse in chat");
static CatVar setrage(CV_SWITCH, "ac_setrage", "0", "Auto Rage"); static CatVar autorage(CV_SWITCH, "ac_autorage", "0", "Auto Rage");
void Accuse(int eid, const std::string &hack, const std::string &details) void Accuse(int eid, const std::string &hack, const std::string &details)
{ {

View File

@ -63,7 +63,7 @@ void Update(CachedEntity *player)
// deviation, data.detections); // deviation, data.detections);
player_info_t info; player_info_t info;
g_IEngine->GetPlayerInfo(player->m_IDX, &info); g_IEngine->GetPlayerInfo(player->m_IDX, &info);
if (am > 5 && hacks::shared::anticheat::setrage) if (am > 5 && hacks::shared::anticheat::autorage)
{ {
playerlist::AccessData(info.friendsID).state = playerlist::AccessData(info.friendsID).state =
playerlist::k_EState::RAGE; playerlist::k_EState::RAGE;

View File

@ -50,7 +50,7 @@ void Update(CachedEntity *player)
am++; am++;
player_info_t info; player_info_t info;
g_IEngine->GetPlayerInfo(player->m_IDX, &info); g_IEngine->GetPlayerInfo(player->m_IDX, &info);
if (am > 5 && hacks::shared::anticheat::setrage) if (am > 5 && hacks::shared::anticheat::autorage)
{ {
playerlist::AccessData(info.friendsID).state = playerlist::AccessData(info.friendsID).state =
playerlist::k_EState::RAGE; playerlist::k_EState::RAGE;

View File

@ -734,7 +734,7 @@ static const std::string list_tf2 = R"(
"ac_aimbot_detections" "ac_aimbot_detections"
"ac_aimbot_angle" "ac_aimbot_angle"
"ac_antiaim" "ac_antiaim"
"ac_setrage" "ac_autorage"
"ac_bhop_count" "ac_bhop_count"
"ac_ignore_local" "ac_ignore_local"
"ac_chat" "ac_chat"