Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cl_forwardspeed, cl_sidespeed and cl_backspeed are "exploitable". #2371

Open
metita opened this issue May 1, 2019 · 9 comments
Open

cl_forwardspeed, cl_sidespeed and cl_backspeed are "exploitable". #2371

metita opened this issue May 1, 2019 · 9 comments

Comments

@metita
Copy link

metita commented May 1, 2019

This is known as "Fast-Walk" or "Fast Silent Walk"

Credits to Rainnegan:

How to reproduce it:
You need to set cl_forwardspeed 149;cl_backspeed 149;cl_sidespeed 149 and you will be able to perform a "Fast Walk" with almost no footsteps sound.

Video:
https://www.youtube.com/watch?v=8fB2ODi6L_U

This should not be usable at all on multiplayer servers.

@metita metita changed the title cl_forwardspeed, cl_sidespeed y cl_backspeed are "exploitable". cl_forwardspeed, cl_sidespeed and cl_backspeed are "exploitable". May 1, 2019
@Maxi605
Copy link

Maxi605 commented May 2, 2019

Why should the player have the ability to modify the speeds? shouldn't be just usable at multiplayer, should be removed, doesn't make sense to give the player the ability to modify his speed (If that's even what this is for, maybe i got it wrong).

@ghost
Copy link

ghost commented May 2, 2019

It would easy to workaround using a joystick.

@10th
Copy link

10th commented May 2, 2019

Maybe should add?:
sv_minspeed 0-320-400
or
sv_min_forwardspeed 400
sv_min_backspeed 400
sv_min_sidespeed 400

@metita
Copy link
Author

metita commented May 2, 2019

Maybe should add?:
sv_min_forwardspeed 400
sv_min_backspeed 400
sv_min_sidespeed 400

Seems a good idea.

@JoelTroch
Copy link
Contributor

Not sure at 100% but the reason that client has speed CVARs is likely for client prediction.

@Destro-
Copy link

Destro- commented May 2, 2019

As well causes problems with some mods when they give too much speed (like zombies)

I think not any mod uses it to give different speeds depending on the direction (with client prediction), it should be able to remove, but wonder if it affects jump strafe ?

if it is useful can used free entity-var or create new message to define from server side

@rtxa
Copy link

rtxa commented May 2, 2019

It should be to the same value as sv_maxspeed

@SamVanheer
Copy link

@rtxa it already is:

halflife/pm_shared/pm_shared.c

Lines 1068 to 1075 in 5d76170

//
// Clamp to server defined max speed
//
if (wishspeed > pmove->maxspeed)
{
VectorScale (wishvel, pmove->maxspeed/wishspeed, wishvel);
wishspeed = pmove->maxspeed;
}

@SamVanheer
Copy link

Probably a duplicate of #1999

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants