Added unknowncheats build configuration without auto updater

This commit is contained in:
IMXNOOBX
2023-10-05 16:56:12 +02:00
parent 06b4eff2c6
commit 74929c1342
5 changed files with 96 additions and 11 deletions
+8
View File
@@ -75,7 +75,9 @@ int main() {
else
std::cout << "[updater] Error reading config file, reseting to the default state\n" << std::endl;
#ifndef _UC
updater::check_and_update(config::automatic_update);
#endif
std::cout << "[cs2] Waiting for cs2.exe..." << std::endl;
@@ -134,7 +136,11 @@ int main() {
ShowWindow(hWnd, TRUE);
//SetActiveWindow(hack::process->hwnd_);
#ifndef _UC
std::cout << "\n[settings] In Game keybinds:\n\t[F5] enable/disable Team ESP\n\t[F6] enable/disable automatic updates\n\t[fin] Unload esp.\n" << std::endl;
#else
std::cout << "\n[settings] In Game keybinds:\n\t[F5] enable/disable Team ESP\n\t[fin] Unload esp\n" << std::endl;
#endif
// Message loop
MSG msg;
@@ -143,7 +149,9 @@ int main() {
if (GetAsyncKeyState(VK_END) & 0x8000) break;
if (GetAsyncKeyState(VK_F5) & 0x8000) { config::team_esp = !config::team_esp; config::save(); Beep(700, 100); };
#ifndef _UC
if (GetAsyncKeyState(VK_F6) & 0x8000) { config::automatic_update = !config::automatic_update; config::save(); Beep(700, 100); }
#endif
TranslateMessage(&msg);
DispatchMessage(&msg);