This commit is contained in:
parent
cf59101497
commit
e8598f3cdb
@ -646,7 +646,10 @@ namespace Components
|
|||||||
Utils::Hook(0x56AC60, AntiCheat::AimTargetGetTagPosStub, HOOK_JUMP).Install()->Quick();
|
Utils::Hook(0x56AC60, AntiCheat::AimTargetGetTagPosStub, HOOK_JUMP).Install()->Quick();
|
||||||
|
|
||||||
// TODO: Probably move that :P
|
// TODO: Probably move that :P
|
||||||
|
if (!Dedicated::IsEnabled())
|
||||||
|
{
|
||||||
AntiCheat::InitLoadLibHook();
|
AntiCheat::InitLoadLibHook();
|
||||||
|
}
|
||||||
|
|
||||||
// Prevent external processes from accessing our memory
|
// Prevent external processes from accessing our memory
|
||||||
AntiCheat::ProtectProcess();
|
AntiCheat::ProtectProcess();
|
||||||
|
@ -70,6 +70,10 @@ namespace Components
|
|||||||
MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(), hFile, MiniDumpNormal, &ex, NULL, NULL);
|
MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(), hFile, MiniDumpNormal, &ex, NULL, NULL);
|
||||||
CloseHandle(hFile);
|
CloseHandle(hFile);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MessageBoxA(0, "Failed to create file!", "ERROR", MB_ICONERROR);
|
||||||
|
}
|
||||||
|
|
||||||
//Exception::UploadMinidump(filename);
|
//Exception::UploadMinidump(filename);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user