diff --git a/src/Components/Modules/AntiCheat.cpp b/src/Components/Modules/AntiCheat.cpp index dd68d9c5..cc2e6ebb 100644 --- a/src/Components/Modules/AntiCheat.cpp +++ b/src/Components/Modules/AntiCheat.cpp @@ -646,7 +646,10 @@ namespace Components Utils::Hook(0x56AC60, AntiCheat::AimTargetGetTagPosStub, HOOK_JUMP).Install()->Quick(); // TODO: Probably move that :P - AntiCheat::InitLoadLibHook(); + if (!Dedicated::IsEnabled()) + { + AntiCheat::InitLoadLibHook(); + } // Prevent external processes from accessing our memory AntiCheat::ProtectProcess(); diff --git a/src/Components/Modules/Exception.cpp b/src/Components/Modules/Exception.cpp index da3dd338..062d3880 100644 --- a/src/Components/Modules/Exception.cpp +++ b/src/Components/Modules/Exception.cpp @@ -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);