mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Patch is no longer needed
This file has been moved over to the VPK, therefore, formatting will always be identical.
This commit is contained in:
parent
e99e1c40e0
commit
dedd83c84d
@ -357,10 +357,6 @@ void RuntimePtc_Init() /* .TEXT */
|
||||
//p_Detour_LevelInit.Offset(0x100).FindPatternSelf("74", CMemory::Direction::DOWN, 600).Patch({ 0xEB }); // JE --> JMP | Do while loop setting fields to -1 in navmesh is writing out of bounds (!TODO).
|
||||
#endif // !CLIENT_DLL
|
||||
#endif
|
||||
#ifndef CLIENT_DLL
|
||||
// !!!TODO!!! HACK: this needs to be removed asap! fix the entitlements file formatting on git itself.
|
||||
Server_S2C_CONNECT_1.Offset(0x7).Patch({ 0xEB }); // JZ --> JMP | Prevent entitlement check to kick player from server on S2C_CONNECT Packet if it does not match the servers one.
|
||||
#endif // !CLIENT_DLL
|
||||
|
||||
vector<uint8_t> starPakOpenFile = {
|
||||
0x4D, 0x31, 0xC0, // xor, r8, r8
|
||||
|
@ -58,13 +58,6 @@ inline CMemory Host_Shutdown;
|
||||
//-------------------------------------------------------------------------
|
||||
inline CMemory Host_Disconnect;
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
// RUNTIME: S2C_CHALLENGE
|
||||
//-------------------------------------------------------------------------
|
||||
#ifndef CLIENT_DLL
|
||||
inline CMemory Server_S2C_CONNECT_1;
|
||||
#endif // !CLIENT_DLL
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
// RUNTIME:
|
||||
//-------------------------------------------------------------------------
|
||||
@ -88,9 +81,6 @@ class VOpcodes : public IDetour
|
||||
// LogFunAdr("Sys_InitGame", Sys_InitGame.GetPtr());
|
||||
// LogFunAdr("Host_Init_1", gHost_Init_1.GetPtr());
|
||||
// LogFunAdr("Host_Init_2", gHost_Init_2.GetPtr());
|
||||
#ifndef CLIENT_DLL
|
||||
LogFunAdr("Server_S2C_CONNECT", Server_S2C_CONNECT_1.GetPtr());
|
||||
#endif // !CLIENT_DLL
|
||||
// LogFunAdr("GetEngineClientThread", GetEngineClientThread.GetPtr());
|
||||
// LogFunAdr("MatchMaking_Frame", MatchMaking_Frame.GetPtr());
|
||||
//#if !defined (GAMEDLL_S0) || !defined (GAMEDLL_S1)
|
||||
@ -148,9 +138,6 @@ class VOpcodes : public IDetour
|
||||
// // 0x140236640 // 88 4C 24 08 53 55 56 57 48 83 EC 68 //
|
||||
//
|
||||
// //-------------------------------------------------------------------------
|
||||
#ifndef CLIENT_DLL
|
||||
Server_S2C_CONNECT_1 = g_GameDll.FindPatternSIMD("48 3B 05 ?? ?? ?? ?? 74 0C");
|
||||
#endif // !CLIENT_DLL
|
||||
//
|
||||
// //-------------------------------------------------------------------------
|
||||
//#if defined (GAMEDLL_S0) || defined (GAMEDLL_S1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user