Page 1 of 1

Speedhack

Posted: Wed May 16, 2018 4:14 pm
by Hejhola
reetings guys, few moments ago i show you our server which running on POL with big problem - SPEEDHACK. Player is capable to set speed what he want (1,5x or 5,0x) anything he want - higher speed shutdown server. Speedhack work great with mount or even without. So we would like to know where is problem. Modified files? External program? Probably it should be about editing file and it should work with every client. Do someone know where is problem? Please give me any advice how fix it. Thank you very very much. Sever isn't big and this shouldn't something really new and thing which couldn't be possible for many years.

https://www.youtube.com/watch?v=lkHZfYjlFSw

Re: Speedhack

Posted: Wed May 16, 2018 4:27 pm
by Yukiko
At some point in POL's development, probably POL 098.2, Turley implemented speed hack prevention. In servspecopt.cfg there are 5 settings for this. If you are using POL 098.2 or later and your servspectopt.cfg file located in the main config directory does not have these settings you can copy and paste them from the example below. If you want to enable speed hack prevention set SpeedhackPrevention to 1. The other settings can be changed but you should be warned, and you are warned, if you change them you do it at your own risk.

Code: Select all

#
# SpeedhackPrevention - 1/0 (default 0)
# chr priv "speedhack" disables Speedhack Prevention for chr
SpeedhackPrevention=0

#
# SpeedHack_MountRunDelay	default 80 ms
# SpeedHack_MountWalkDelay	default 180 ms
# SpeedHack_FootRunDelay		default 180 ms
# SpeedHack_FootWalkDelay	default 380 ms
#
# Change them on your own risk
SpeedHack_MountRunDelay=80
SpeedHack_MountWalkDelay=180
SpeedHack_FootRunDelay=180
SpeedHack_FootWalkDelay=380

Re: Speedhack

Posted: Thu May 17, 2018 1:55 am
by RusseL
Yukiko wrote:
Wed May 16, 2018 4:27 pm
At some point in POL's development, probably POL 098.2, Turley implemented speed hack prevention. In servspecopt.cfg there are 5 settings for this. If you are using POL 098.2 or later and your servspectopt.cfg file located in the main config directory does not have these settings you can copy and paste them from the example below. If you want to enable speed hack prevention set SpeedhackPrevention to 1. The other settings can be changed but you should be warned, and you are warned, if you change them you do it at your own risk.
Few years ago i experimented with those parameters and core speedhackprevention, and i must say it doesn't work for me. My players were able to use speedhack no matter which delays i set. :)

Re: Speedhack

Posted: Thu May 17, 2018 8:42 am
by Yukiko
Thanks RusseL. I have never tested the speed hack prevention in POL.

Re: Speedhack

Posted: Thu May 17, 2018 11:31 pm
by CWO
A long time ago I posted a scripted speedhack solution with packethooks in POL096. When used on a live shard, it caused a lot of lag since it was a lot of processing in critical scripts that were called every step for every user. Not sure how much impact on CPU it would have today since computers are a ton more powerful. Here's the thread where we were discussing it viewtopic.php?t=1053

Re: Speedhack

Posted: Fri May 18, 2018 9:19 am
by Yukiko
Thank you CEO.