mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
fix winning on some versions + someone try 2.5 again pls
This commit is contained in:
@@ -543,6 +543,8 @@ static inline uint64 FindCollectGarbage()
|
|||||||
|
|
||||||
static inline uint64 FindActorGetNetMode()
|
static inline uint64 FindActorGetNetMode()
|
||||||
{
|
{
|
||||||
|
// return 0;
|
||||||
|
|
||||||
if (Engine_Version == 500)
|
if (Engine_Version == 500)
|
||||||
return Memcury::Scanner::FindPattern("48 89 5C 24 ? 57 48 83 EC 20 F6 41 08 10 48 8B D9 0F 85 ? ? ? ? 48 8B 41 20 48 85 C0 0F 84 ? ? ? ? F7 40").Get();
|
return Memcury::Scanner::FindPattern("48 89 5C 24 ? 57 48 83 EC 20 F6 41 08 10 48 8B D9 0F 85 ? ? ? ? 48 8B 41 20 48 85 C0 0F 84 ? ? ? ? F7 40").Get();
|
||||||
|
|
||||||
@@ -566,6 +568,9 @@ static inline uint64 FindRemoveFromAlivePlayers()
|
|||||||
{
|
{
|
||||||
auto Addrr = Memcury::Scanner::FindStringRef(L"FortGameModeAthena: Player [%s] removed from alive players list (Team [%d]). Player count is now [%d]. Team count is now [%d].", false).Get();
|
auto Addrr = Memcury::Scanner::FindStringRef(L"FortGameModeAthena: Player [%s] removed from alive players list (Team [%d]). Player count is now [%d]. Team count is now [%d].", false).Get();
|
||||||
|
|
||||||
|
if (!Addrr)
|
||||||
|
Addrr = Memcury::Scanner::FindStringRef(L"FortGameModeAthena: Player [%s] removed from alive players list (Team [%d]). Player count is now [%d]. PlayerBots count is now [%d]. Team count is now [%d].", false).Get();
|
||||||
|
|
||||||
if (!Addrr)
|
if (!Addrr)
|
||||||
Addrr = Memcury::Scanner::FindStringRef(L"FortGameModeAthena::RemoveFromAlivePlayers: Player [%s] PC [%s] removed from alive players list (Team [%d]). Player count is now [%d]. PlayerBots count is now [%d]. Team count is now [%d].", true, 0, Fortnite_Version >= 18).Get(); // todo check version
|
Addrr = Memcury::Scanner::FindStringRef(L"FortGameModeAthena::RemoveFromAlivePlayers: Player [%s] PC [%s] removed from alive players list (Team [%d]). Player count is now [%d]. PlayerBots count is now [%d]. Team count is now [%d].", true, 0, Fortnite_Version >= 18).Get(); // todo check version
|
||||||
|
|
||||||
@@ -690,8 +695,8 @@ static inline uint64 FindGIsServer()
|
|||||||
// if (Fortnite_Version == 19.10)
|
// if (Fortnite_Version == 19.10)
|
||||||
// return __int64(GetModuleHandleW(0)) + 0xB30CF9D;
|
// return __int64(GetModuleHandleW(0)) + 0xB30CF9D;
|
||||||
|
|
||||||
if (Fortnite_Version == 2.5)
|
// if (Fortnite_Version == 2.5)
|
||||||
return __int64(GetModuleHandleW(0)) + 0x46AD735;
|
// return __int64(GetModuleHandleW(0)) + 0x46AD735;
|
||||||
if (Fortnite_Version == 12.41)
|
if (Fortnite_Version == 12.41)
|
||||||
return __int64(GetModuleHandleW(0)) + 0x804B65A;
|
return __int64(GetModuleHandleW(0)) + 0x804B65A;
|
||||||
|
|
||||||
@@ -794,8 +799,8 @@ static inline uint64 FindDispatchRequest()
|
|||||||
|
|
||||||
static inline uint64 FindGIsClient()
|
static inline uint64 FindGIsClient()
|
||||||
{
|
{
|
||||||
if (Fortnite_Version == 2.5)
|
// if (Fortnite_Version == 2.5)
|
||||||
return __int64(GetModuleHandleW(0)) + 0x46AD734;
|
// return __int64(GetModuleHandleW(0)) + 0x46AD734;
|
||||||
if (Fortnite_Version == 4.1)
|
if (Fortnite_Version == 4.1)
|
||||||
return __int64(GetModuleHandleW(0)) + 0x4BF6F17;
|
return __int64(GetModuleHandleW(0)) + 0x4BF6F17;
|
||||||
|
|
||||||
|
|||||||
@@ -101,6 +101,7 @@ inline __int64 GetFunctionIdxOrPtr(UFunction* Function)
|
|||||||
|
|
||||||
if ((*(uint8_t*)(NativeAddr + i) == 0x41 && *(uint8_t*)(NativeAddr + i + 1) == 0xFF)) // wtf ue500
|
if ((*(uint8_t*)(NativeAddr + i) == 0x41 && *(uint8_t*)(NativeAddr + i + 1) == 0xFF)) // wtf ue500
|
||||||
{
|
{
|
||||||
|
LOG_INFO(LogDev, "Uhhhhhh report this to milxnor if u not on 19.10 {}", Function->GetName());
|
||||||
bFoundValidate = true;
|
bFoundValidate = true;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user