View Single Post
xXDeathreusXx
Veteran Member
Join Date: Mar 2013
Location: pPlayer->GetOrigin();
Old 01-22-2023 , 00:36   Re: [TF2] Move Speed Unlocker
Reply With Quote #13

Quote:
Originally Posted by FlaminSarge View Post
Was there a particular reason for DHook + NOP instead of just patching the value inside the CMoveData.m_flMaxSpeed assignment?
e.g. https://github.com/FlaminSarge/tf_maxspeed_patch solely patches the value and I'm unclear on if it does better, worse, or the same for prediction.
Also, have you attempted editing m_flClientMaxSpeed? Does that help with prediction at all?
No particular reason, but I believe just replacing with NOPs 1 time instead of constantly overriding the value would be better performance wise, but we're talking nanoseconds here

As far as I knew TF2 doesn't even use m_flClientMaxSpeed
__________________
Plugins|Profile
Requests closed

I'm a smartass by nature, get used to it
xXDeathreusXx is offline