From 636a084bcb2eb7fdbc124a0208a5847a992975e7 Mon Sep 17 00:00:00 2001 From: Milxnor Date: Thu, 6 Apr 2023 18:30:44 -0400 Subject: [PATCH] oops --- Project Reboot 3.0/FortGameModeAthena.cpp | 4 ++-- Project Reboot 3.0/dllmain.cpp | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Project Reboot 3.0/FortGameModeAthena.cpp b/Project Reboot 3.0/FortGameModeAthena.cpp index 4381180..9dfd4c6 100644 --- a/Project Reboot 3.0/FortGameModeAthena.cpp +++ b/Project Reboot 3.0/FortGameModeAthena.cpp @@ -64,7 +64,7 @@ static UObject* GetPlaylistToUse() // SET OVERRIDE PLAYLIST DOWN HERE - Playlist = FindObject("/Game/Athena/Playlists/Playlist_DefaultDuo.Playlist_DefaultDuo"); + // Playlist = FindObject("/Game/Athena/Playlists/Playlist_DefaultDuo.Playlist_DefaultDuo"); // Playlist = FindObject("/Game/Athena/Playlists/Playground/Playlist_Playground.Playlist_Playground"); @@ -557,7 +557,7 @@ bool AFortGameModeAthena::Athena_ReadyToStartMatchHook(AFortGameModeAthena* Game // SetupNavConfig(); static auto bAlwaysDBNOOffset = GameMode->GetOffset("bAlwaysDBNO"); - GameMode->Get(bAlwaysDBNOOffset) = true; + // GameMode->Get(bAlwaysDBNOOffset) = true; LOG_INFO(LogDev, "Initialized!"); } diff --git a/Project Reboot 3.0/dllmain.cpp b/Project Reboot 3.0/dllmain.cpp index aafb804..643309f 100644 --- a/Project Reboot 3.0/dllmain.cpp +++ b/Project Reboot 3.0/dllmain.cpp @@ -249,7 +249,7 @@ DWORD WINAPI Main(LPVOID) auto ServerCheatAllIndex = GetFunctionIdxOrPtr(FindObject("/Script/FortniteGame.FortPlayerController.ServerCheatAll")); if (ServerCheatAllIndex) - AddressesToNull.push_back(FortPlayerControllerAthenaDefault->VFTable[ServerCheatAllIndex / 8]); + AddressesToNull.push_back(__int64(FortPlayerControllerAthenaDefault->VFTable[ServerCheatAllIndex / 8])); for (auto func : AddressesToNull) { @@ -345,9 +345,6 @@ DWORD WINAPI Main(LPVOID) } } - auto off = (void*)(&((struct FFrame*)NULL)->MostRecentPropertyAddress); - LOG_INFO(LogDev, "{}", off); - LOG_INFO(LogDev, "OnPlayImpactFX: 0x{:x}", OnPlayImpactFXAddr - __int64(GetModuleHandleW(0))); Hooking::MinHook::Hook((PVOID)OnPlayImpactFXAddr, AFortWeapon::OnPlayImpactFXHook, (PVOID*)&AFortWeapon::OnPlayImpactFXOriginal);