another TODO

This commit is contained in:
BenCat07 2018-04-12 16:02:15 +02:00
parent 3213d4d877
commit 6e0918b3af
4 changed files with 11 additions and 3 deletions

3
TODO
View File

@ -75,8 +75,7 @@ FLAG ESP? // //
// // // //
ESP Icons // // ESP Icons // //
ESP Distance sort // // ESP Distance sort // //
Show sapped buildings in ESP // // Show sapped buildings in ESP // // // //
halloween medkits // //
carrying esp // // carrying esp // //
Tracers/Spy Cam // // Tracers/Spy Cam // //
// // // //

View File

@ -214,7 +214,6 @@ void CreateMove()
} }
} }
} }
// AntiAfk That after a certian time without movement keys depressed, causes // AntiAfk That after a certian time without movement keys depressed, causes
// random keys to be spammed for 1 second // random keys to be spammed for 1 second
if (anti_afk) if (anti_afk)

View File

@ -1011,6 +1011,7 @@ CatEnum skys({ "sky_tf2_04",
static CatVar static CatVar
skybox_changer(skys, "skybox_changer", "0", "Change Skybox to this skybox", skybox_changer(skys, "skybox_changer", "0", "Change Skybox to this skybox",
"Change Skybox to this skybox, only changes on map load"); "Change Skybox to this skybox, only changes on map load");
static CatVar halloween_mode(CV_SWITCH, "halloween_mode", "Forced Halloween mode", "forced tf_forced_holiday 2");
void LevelInit_hook(void *_this, const char *newmap) void LevelInit_hook(void *_this, const char *newmap)
{ {
static const LevelInit_t original = static const LevelInit_t original =
@ -1024,6 +1025,14 @@ void LevelInit_hook(void *_this, const char *newmap)
bool load_success = LoadNamedSkys(skynum[(int) skybox_changer]); bool load_success = LoadNamedSkys(skynum[(int) skybox_changer]);
logging::Info("Skybox Loading successful: %s", logging::Info("Skybox Loading successful: %s",
load_success ? "true" : "false"); load_success ? "true" : "false");
if (halloween_mode) {
ConVar* holiday = g_ICvar->FindCommand("tf_forced_holiday");
holiday->SetValue(2);
}
else if (ConVar(g_ICvar->FindCommand("tf_forced_holiday")).m_nValue == 2) {
ConVar* holiday = g_ICvar->FindCommand("tf_forced_holiday");
holiday->SetValue(2);
}
g_IEngine->ClientCmd_Unrestricted("exec cat_matchexec"); g_IEngine->ClientCmd_Unrestricted("exec cat_matchexec");
hacks::shared::aimbot::Reset(); hacks::shared::aimbot::Reset();
chat_stack::Reset(); chat_stack::Reset();

View File

@ -655,6 +655,7 @@ static const std::string list_tf2 = R"(
] ]
"Misc" [ "Misc" [
"Misc Menu" "Misc Menu"
"halloween_mode"
"name" "name"
"disconnect_reason" "disconnect_reason"
"pure_bypass" "pure_bypass"