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:
Kawe Mazidjatari 2023-04-10 22:36:32 +02:00
parent f37743e068
commit a26ad748c8

View File

@ -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.