diff --git a/Project Reboot 3.0/FortLootPackage.cpp b/Project Reboot 3.0/FortLootPackage.cpp index ebe2cc7..0e760bb 100644 --- a/Project Reboot 3.0/FortLootPackage.cpp +++ b/Project Reboot 3.0/FortLootPackage.cpp @@ -373,7 +373,7 @@ std::vector PickLootDrops(FName TierGroupName, bool bPrint, int recurs } } - if (Engine_Version <= 420) // ahhh + if (Fortnite_Version < 6) // ahhh { LTDTables.clear(); LPTables.clear(); diff --git a/Project Reboot 3.0/UObjectArray.h b/Project Reboot 3.0/UObjectArray.h index 15d9f78..20b3b2c 100644 --- a/Project Reboot 3.0/UObjectArray.h +++ b/Project Reboot 3.0/UObjectArray.h @@ -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; } \ No newline at end of file diff --git a/Project Reboot 3.0/finder.h b/Project Reboot 3.0/finder.h index eb93de8..33dfcdc 100644 --- a/Project Reboot 3.0/finder.h +++ b/Project Reboot 3.0/finder.h @@ -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