Toast when increasing security level

This commit is contained in:
momo5502 2016-08-13 12:28:09 +02:00
parent be8ee24528
commit e0bdf9a23a
2 changed files with 2 additions and 0 deletions

View File

@ -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<BYTE>(0x41BA2C, 0xEB);
#endif

View File

@ -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);
}
}