fix random build crash

This commit is contained in:
Milxnor
2023-04-02 00:54:45 -04:00
parent 7d136f2b8b
commit 3bca6f76fe
2 changed files with 5 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ public:
void SilentDie() void SilentDie()
{ {
static auto SilentDieFn = FindObject<UFunction>("/ScriptFortniteGame.BuildingActor.SilentDie"); static auto SilentDieFn = FindObject<UFunction>("/Script/FortniteGame.BuildingActor.SilentDie");
this->ProcessEvent(SilentDieFn); this->ProcessEvent(SilentDieFn);
} }

View File

@@ -815,12 +815,12 @@ static inline uint64 FindGIsServer()
} }
} */ } */
if (Fortnite_Version == 10.40)
return __int64(GetModuleHandleW(0)) + 0x637925C;
if (Fortnite_Version == 12.41) if (Fortnite_Version == 12.41)
return __int64(GetModuleHandleW(0)) + 0x804B65A; return __int64(GetModuleHandleW(0)) + 0x804B65A;
if (Fortnite_Version == 14.60) if (Fortnite_Version == 14.60)
return __int64(GetModuleHandleW(0)) + 0x939930E; return __int64(GetModuleHandleW(0)) + 0x939930E;
if (Fortnite_Version == 17.30) if (Fortnite_Version == 17.30)
return __int64(GetModuleHandleW(0)) + 0x973E499; return __int64(GetModuleHandleW(0)) + 0x973E499;
@@ -937,6 +937,8 @@ static inline uint64 FindGIsClient()
return __int64(GetModuleHandleW(0)) + 0x5BAA38F; return __int64(GetModuleHandleW(0)) + 0x5BAA38F;
if (Fortnite_Version == 4.1) if (Fortnite_Version == 4.1)
return __int64(GetModuleHandleW(0)) + 0x4BF6F17; return __int64(GetModuleHandleW(0)) + 0x4BF6F17;
if (Fortnite_Version == 10.40)
return __int64(GetModuleHandleW(0)) + 0x637925B;
if (Fortnite_Version == 11.31) if (Fortnite_Version == 11.31)
return __int64(GetModuleHandleW(0)) + 0x6F41270; return __int64(GetModuleHandleW(0)) + 0x6F41270;
if (Fortnite_Version == 12.41) if (Fortnite_Version == 12.41)