fixed many reservation bugsd

This commit is contained in:
Gray
2025-07-19 10:11:42 -04:00
parent d47287afb8
commit 5ce5e7cbf8
2 changed files with 7 additions and 6 deletions

View File

@@ -903,7 +903,7 @@ bool ReplicateActorHook(UActorChannel* Channel)
return ReplicateActorOriginal(Channel); return ReplicateActorOriginal(Channel);
} }
#define CLIENT_ONLY // only console reboot // #define CLIENT_ONLY // only console reboot
DWORD WINAPI Main(LPVOID) DWORD WINAPI Main(LPVOID)
{ {
@@ -943,7 +943,7 @@ DWORD WINAPI Main(LPVOID)
bEnableRebooting = Addresses::RebootingDelegate && Addresses::FinishResurrection && Addresses::GetSquadIdForCurrentPlayer && false; bEnableRebooting = Addresses::RebootingDelegate && Addresses::FinishResurrection && Addresses::GetSquadIdForCurrentPlayer && false;
#if 0 // CONSOLE ONLY (FOR CLIENT) #if CLIENT_ONLY // CONSOLE ONLY (FOR CLIENT)
SetConsoleTitleA("Console"); SetConsoleTitleA("Console");
// Spawn Console unreal engine Gameviewport // Spawn Console unreal engine Gameviewport
@@ -1210,14 +1210,14 @@ nPnn
if (Fortnite_Version != 22.4) if (Fortnite_Version != 22.4)
{ {
auto matchmaking = Memcury::Scanner::FindPattern("83 BD ? ? ? ? 01 7F 18 49 8D 4D D8 48 8B D6 E8 ? ? ? ? 48", false).Get(); auto matchmaking = Memcury::Scanner::FindPattern("83 BD ? ? ? ? 01 7F 18 49 8D 4D D8 48 8B D6 E8 ? ? ? ? 48", false).Get(); // 1.11
if (!matchmaking) if (!matchmaking)
matchmaking = Memcury::Scanner::FindPattern("83 7D 88 01 7F 0D 48 8B CE E8", false).Get(); matchmaking = Memcury::Scanner::FindPattern("83 7D 88 01 7F 0D 48 8B CE E8", false).Get();
if (!matchmaking) if (!matchmaking)
matchmaking = Memcury::Scanner::FindPattern("83 BD ? ? ? ? ? 7F 18 49 8D 4D D8 48 8B D7 E8").Get(); // 4.20 matchmaking = Memcury::Scanner::FindPattern("83 BD ? ? ? ? ? 7F 18 49 8D 4D D8 48 8B D7 E8").Get(); // 4.20
bool bMatchmakingSupported = matchmaking && Engine_Version >= 420; bool bMatchmakingSupported = matchmaking;
int idx = 0; int idx = 0;
if (bMatchmakingSupported) // now check if it leads to the right place and where the jg is at if (bMatchmakingSupported) // now check if it leads to the right place and where the jg is at
@@ -1242,7 +1242,8 @@ nPnn
} }
} }
LOG_INFO(LogMatchmaker, "Matchmaking will {}", (bMatchmakingSupported ? "be supported" : "not be supported")); LOG_INFO(LogMatchmaker, "Matchmaking will {}", (Engine_Version >= 420 && bMatchmakingSupported // since tcp for most isnt supported we wont say
? "be supported" : "not be supported"));
if (bMatchmakingSupported) if (bMatchmakingSupported)
{ {

View File

@@ -328,7 +328,7 @@ static inline uint64 FindKickPlayer()
return addr; return addr;
} }
if (Engine_Version >= 423 || Engine_Version <= 425) // && instead of || ?? if (Engine_Version >= 423 && Engine_Version <= 425)
return Memcury::Scanner::FindPattern("48 89 5C 24 08 48 89 74 24 10 57 48 83 EC ? 49 8B F0 48 8B DA 48 85 D2").Get(); return Memcury::Scanner::FindPattern("48 89 5C 24 08 48 89 74 24 10 57 48 83 EC ? 49 8B F0 48 8B DA 48 85 D2").Get();
uint64 Ret = 0; uint64 Ret = 0;