mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Add patch for dedicated server executable
This patch prevents 'fps_max' from being reset in 'CEngine::Frame' if 'sv_cheats' isn't set; this cvar is now bound to the server's tickrate in sdk code to save CPU time.
This commit is contained in:
parent
f37743e068
commit
a26ad748c8
@ -10,3 +10,6 @@
|
||||
//---- PATCH3
|
||||
0x340D07: "mov cs:g_pszMultiplayerUiPakName, rcx" --> "nop" // Prevent 'g_pszMultiplayerUiPakName' from being assigned to string "ui_mp.rpak" (prevents it from loading this pak file).
|
||||
0x340FEA: "mov cs:g_pszMultiplayerUiPakName, rcx" --> "nop"
|
||||
|
||||
//---- PATCH4
|
||||
0x296587: "jnz short loc_1402971B7" --> "jmp short loc_1402971B7" // Prevent 'fps_max' from being reset in 'CEngine::Frame' if 'sv_cheats' isn't set; this is bound to the server's tickrate in sdk code to save CPU time.
|
||||
|
Loading…
x
Reference in New Issue
Block a user