View Single Post
suptob
Junior Member
Join Date: Feb 2022
Old 05-01-2024 , 15:21   Re: L4D/L4D2 Tickrate Enabler
Reply With Quote #319

L4D1 had an update today and it looks like this plugin is broken on my updated Linux server, I'm getting the following error on boot up:

"Patch Failure: CVomit::UpdateAbility() Patch Offset incorrect."

Any idea how to find the correct offset or get this updated?

Edit:
I've been messing around with Ghidra (for IDA the memory addresses might be a bit different) to figure out the new offsets that have changed on the server and engine file. I've put them down below on all the changes I found, I'll try and compile it later tomorrow to see if it works.

_ZN6CVomit13UpdateAbilityEv
====
Old Start = 002A3C26
Old End = 0x2a3FAC
New Start = 002A8932
New End = 002A8CF3
g_FrameTimeReadOffsets[] = 0x3C1


ZN8CNetChan11SetDataRateEf
====
Old Start = 0015274e
Old End = 0015276C
New Start = 00160bc2
New End = 00160be3
CGAMECLIENT_PATCH_OFFSET = 0x21


_ZN11CGameClient7SetRateEib
====
Old Start = 00191d3a
Old End = 00191D87
New Start = 0019fede
New End = 0019ff2a
CGAMECLIENT_PATCH_OFFSET = 0x4C


NOT CHANGED _Z15ClampClientRatei
====
Old Start = 0019357a
Old End = 001935BA
New Start = 0019ec0e
New End = 0019ec41
CLAMPCLIENTRATE_PATCH_OFFSET = 0x40

Last edited by suptob; 05-02-2024 at 04:04.
suptob is offline