This commit is contained in:
momo5502 2016-08-28 21:21:25 +02:00
parent cf59101497
commit e8598f3cdb
2 changed files with 8 additions and 1 deletions

View File

@ -646,7 +646,10 @@ namespace Components
Utils::Hook(0x56AC60, AntiCheat::AimTargetGetTagPosStub, HOOK_JUMP).Install()->Quick();
// TODO: Probably move that :P
if (!Dedicated::IsEnabled())
{
AntiCheat::InitLoadLibHook();
}
// Prevent external processes from accessing our memory
AntiCheat::ProtectProcess();

View File

@ -70,6 +70,10 @@ namespace Components
MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(), hFile, MiniDumpNormal, &ex, NULL, NULL);
CloseHandle(hFile);
}
else
{
MessageBoxA(0, "Failed to create file!", "ERROR", MB_ICONERROR);
}
//Exception::UploadMinidump(filename);