View Single Post
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 01-24-2023 , 17:57   Re: [TF2] Move Speed Unlocker
Reply With Quote #14

Quote:
Originally Posted by xXDeathreusXx View Post
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
No no, the divergence here isn't `patch with NOP` vs `override value every time in DHook`, it's `patch with NOP` vs `patch with new max speed value`.

The performance hit would only happen when you update the cvar value, which would undo the patch and then redo the patch with a different value; I'd hope users aren't updating the cvar frequently, though.

RE: clientmaxspeed, I'm just trying to figure out how to solve jitteryness on client as client doesn't expect max speed to go over 520 either (I think?).
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 64-bit will break everything. Don't even ask.

All plugins: Randomizer/GiveWeapon, ModelManager, etc.
Post in plugin threads with questions.
Steam is for playing games.
You will be fed to javalia otherwise.
Psyduck likes replays.

Last edited by FlaminSarge; 01-24-2023 at 18:01.
FlaminSarge is offline