mirror of
https://github.com/ApfelTeeSaft/OG-Fortnite-Cheat.git
synced 2026-08-26 19:33:33 +00:00
Added Error on RaaxDx
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ShowAllFiles>true</ShowAllFiles>
|
||||
<ShowAllFiles>false</ShowAllFiles>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -36,8 +36,6 @@ void Features::Aimbot::RaycastMultiCallback(SDK::UWorld* World, SDK::TArray<SDK:
|
||||
if (Actors::MainTarget.GlobalInfo.TargetActor && Config::Aimbot::BulletTPV2) {
|
||||
if (TraceChannel != SDK::ECollisionChannel::ECC_GameTraceChannel7) return; // Only modify the line trace for the bullet
|
||||
|
||||
DEBUG_LOG(LOG_INFO, std::string(skCrypt("RaycastMultiCallback - ")) + std::to_string((int)TraceChannel));
|
||||
|
||||
for (int i = 0; i < OutHits.Num(); i++) {
|
||||
SDK::FHitResult OutHit = OutHits[i];
|
||||
|
||||
|
||||
@@ -113,6 +113,10 @@ RaaxDx::Status RaaxDx::Hook() {
|
||||
return Status::UnknownError;
|
||||
}
|
||||
|
||||
if (SDK::IsValidPointer(VFT) == false) {
|
||||
THROW_ERROR(std::string(skCrypt("VFT not initalized!")), true);
|
||||
}
|
||||
|
||||
// Hook Present
|
||||
if (Initalized) {
|
||||
if (MH_CreateHook((void*)VFT[8], &Hooks::Present::Present, (void**)&Hooks::Present::PresentOriginal) != MH_OK || MH_EnableHook((void*)VFT[8]) != MH_OK) {
|
||||
|
||||
Reference in New Issue
Block a user