Toast when increasing security level
This commit is contained in:
parent
be8ee24528
commit
e0bdf9a23a
@ -90,6 +90,7 @@ namespace Components
|
|||||||
{
|
{
|
||||||
#ifdef DEBUG_DETECTIONS
|
#ifdef DEBUG_DETECTIONS
|
||||||
MessageBoxA(0, "Check the log for more information!", "AntiCheat triggered", MB_ICONERROR);
|
MessageBoxA(0, "Check the log for more information!", "AntiCheat triggered", MB_ICONERROR);
|
||||||
|
ExitProcess(0xFFFFFFFF);
|
||||||
#else
|
#else
|
||||||
Utils::Hook::Set<BYTE>(0x41BA2C, 0xEB);
|
Utils::Hook::Set<BYTE>(0x41BA2C, 0xEB);
|
||||||
#endif
|
#endif
|
||||||
|
@ -45,6 +45,7 @@ namespace Components
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Toast::Show("cardicon_locked", "Success", fmt::sprintf("Your new security level is %d", Auth::GetSecurityLevel()), 5000);
|
||||||
Command::Execute(Auth::TokenContainer.command, false);
|
Command::Execute(Auth::TokenContainer.command, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user