mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
fix 5.0-6.02
This commit is contained in:
@@ -373,7 +373,7 @@ std::vector<LootDrop> PickLootDrops(FName TierGroupName, bool bPrint, int recurs
|
||||
}
|
||||
}
|
||||
|
||||
if (Engine_Version <= 420) // ahhh
|
||||
if (Fortnite_Version < 6) // ahhh
|
||||
{
|
||||
LTDTables.clear();
|
||||
LPTables.clear();
|
||||
|
||||
@@ -168,5 +168,5 @@ FORCEINLINE UObject* GetObjectByIndex(int32 Index)
|
||||
|
||||
FORCEINLINE FUObjectItem* GetItemByIndex(int32 Index)
|
||||
{
|
||||
return ChunkedObjects ? ChunkedObjects->GetItemByIndex(Index) : UnchunkedObjects->GetItemByIndex(Index);
|
||||
return ChunkedObjects ? ChunkedObjects->GetItemByIndex(Index) : UnchunkedObjects ? UnchunkedObjects->GetItemByIndex(Index) : nullptr;
|
||||
}
|
||||
@@ -115,7 +115,12 @@ static inline uint64 FindProcessEvent()
|
||||
static inline uint64 FindObjectArray()
|
||||
{
|
||||
if (Engine_Version >= 421)
|
||||
{
|
||||
if (Fortnite_Version <= 6.02)
|
||||
return Memcury::Scanner::FindPattern("48 8B 05 ? ? ? ? 48 8B 0C C8 48 8D 04 D1").RelativeOffset(3).Get();
|
||||
|
||||
return Memcury::Scanner::FindPattern("48 8B 05 ? ? ? ? 48 8B 0C C8 48 8B 04 D1").RelativeOffset(3).Get();
|
||||
}
|
||||
|
||||
auto cc = Memcury::Scanner::FindPattern("48 8B 05 ? ? ? ? 48 8D 14 C8 EB 03 49 8B D6 8B 42 08 C1 E8 1D A8 01 0F 85 ? ? ? ? F7 86 ? ? ? ? ? ? ? ?", false);
|
||||
auto addr = cc.Get() ? cc.RelativeOffset(3).Get() : 0; // 4.16
|
||||
|
||||
Reference in New Issue
Block a user