Raised This Month: $12 Target: $400
 3% 

[TF2] Move Speed Unlocker


Post New Thread Reply   
 
Thread Tools Display Modes
BlazingDiancie
Member
Join Date: Sep 2014
Old 02-22-2021 , 09:07   Re: [TF2] Move Speed Unlocker
Reply With Quote #11

Could you make it so that this plugin affects MvM robots with a convar? This would allow Super Scouts to reach their true max speed.
BlazingDiancie is offline
FlaminSarge
Veteran Member
Join Date: Jul 2010
Old 01-18-2023 , 00:09   Re: [TF2] Move Speed Unlocker
Reply With Quote #12

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?
__________________
Bread EOTL GunMettle Invasion Jungle Inferno 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-18-2023 at 00:12.
FlaminSarge is offline
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
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 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
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode