From e0bdf9a23a65b0465f5e51bb12c64c24606c013d Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sat, 13 Aug 2016 12:28:09 +0200 Subject: [PATCH] Toast when increasing security level --- src/Components/Modules/AntiCheat.cpp | 1 + src/Components/Modules/Auth.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Components/Modules/AntiCheat.cpp b/src/Components/Modules/AntiCheat.cpp index bd21bd6d..83c75b52 100644 --- a/src/Components/Modules/AntiCheat.cpp +++ b/src/Components/Modules/AntiCheat.cpp @@ -90,6 +90,7 @@ namespace Components { #ifdef DEBUG_DETECTIONS MessageBoxA(0, "Check the log for more information!", "AntiCheat triggered", MB_ICONERROR); + ExitProcess(0xFFFFFFFF); #else Utils::Hook::Set(0x41BA2C, 0xEB); #endif diff --git a/src/Components/Modules/Auth.cpp b/src/Components/Modules/Auth.cpp index 5d72f79a..4e811189 100644 --- a/src/Components/Modules/Auth.cpp +++ b/src/Components/Modules/Auth.cpp @@ -45,6 +45,7 @@ namespace Components } else { + Toast::Show("cardicon_locked", "Success", fmt::sprintf("Your new security level is %d", Auth::GetSecurityLevel()), 5000); Command::Execute(Auth::TokenContainer.command, false); } }