From 90783effbd3c6c595db5dd84f14af5d4244aad31 Mon Sep 17 00:00:00 2001 From: Marvelco Date: Fri, 22 Aug 2025 14:31:27 +0300 Subject: [PATCH] =?UTF-8?q?Revert=20"hop=20off=20chatgpt=20=F0=9F=92=94"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 52671b489c207de76ed2f3e7c5b7f0e592d34435. --- Project Reboot 3.0/dllmain.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Project Reboot 3.0/dllmain.cpp b/Project Reboot 3.0/dllmain.cpp index a13a062..60ab390 100644 --- a/Project Reboot 3.0/dllmain.cpp +++ b/Project Reboot 3.0/dllmain.cpp @@ -1308,18 +1308,18 @@ DWORD WINAPI Main(LPVOID) (PVOID*)&AFortGameModeAthena::OnAircraftEnteredDropZoneOriginal, false, false, true, true); } - if (Fortnite_Version >= 12.00 && Fortnite_Version <= 13.40) // you cant spawn bosses using spawnbot on s14 and above - { - if (Fortnite_Version != 12.61) - { - Hooking::MinHook::Hook(FindObject(L"/Script/FortniteGame.Default__FortServerBotManagerAthena"), FindObject(L"/Script/FortniteGame.FortServerBotManagerAthena.SpawnBot"), - UFortServerBotManagerAthena::SpawnBotHook, (PVOID*)&UFortServerBotManagerAthena::SpawnBotOriginal, false); - } - else - { - Hooking::MinHook::Hook((PVOID)SpawnBot(), (PVOID)UFortServerBotManagerAthena::SpawnBotHook, (PVOID*)&UFortServerBotManagerAthena::SpawnBotOriginal); - } - } + if (Fortnite_Version >= 12.00 && Fortnite_Version <= 13.40) // you cant spawn bosses using spawnbot on s14 and above + { + if (Fortnite_Version >= 12.00 && Fortnite_Version <= 13.40 && Fortnite_Version != 12.61) + { + Hooking::MinHook::Hook(FindObject(L"/Script/FortniteGame.Default__FortServerBotManagerAthena"), FindObject(L"/Script/FortniteGame.FortServerBotManagerAthena.SpawnBot"), + UFortServerBotManagerAthena::SpawnBotHook, (PVOID*)&UFortServerBotManagerAthena::SpawnBotOriginal, false); + } + else + { + Hooking::MinHook::Hook((PVOID)SpawnBot(), (PVOID)UFortServerBotManagerAthena::SpawnBotHook, (PVOID*)&UFortServerBotManagerAthena::SpawnBotOriginal); + } + } Hooking::MinHook::Hook(GameModeDefault, FindObject(L"/Script/Engine.GameModeBase.SpawnDefaultPawnFor"), AGameModeBase::SpawnDefaultPawnForHook, nullptr, false);