Description:
This is an engine bug fix plugin - removes ability of doubleducking.
Requires:
FakeMeta
Additional info:
Tested in Counter-Strike 1.6 with amxmodx 1.8.1. But should work with all Half-Life mods and some older amxx versions. There were some plugins like this before, but they all were just setting client speed to 0, to remove only silent-run bug. But doubleduck can be used in some more cases, so I decided to create this one, what permanently blocks this bug.
Notes:
If you are using not Counter-Strike mod please change cs awp world view model to your mod world view model. Model isn't visible, but is really needed so client-side engine trace line could detect anti-doubleduck entity. You can change model at source-code line 79.
Warnings:
* Using this plugin may cause problems in non up-to-date half-life dedicated servers. Make sure you have the
newest version of hlds what is provided
steam (newest versions:
windows /
linux).
* If client has custom "models/w_awp.mdl" (by default) - player can be not able to move or even
crash in result.
*
If you are trying to get rid of crouch-hopping also known as silent-run or russian-walk, I strongly recommend to use anti silent-run plugin instead!
Change-Log:
*
1.7
-
Changed: Client-side doubleduck block uses almost twice less CPU power.
*
1.6
-
Fixed: There was one frame delay during what player was fully ducked while trying to doubleduck.
-
Changed: Plugin uses a bit less resources.
*
1.5
-
Added: config in source code to disable client-side doubleduck block (when disabled uses less resources).
-
Changed: plugin uses a bit less resources.
*
1.4
-
Fixed: client-side bug moving up. (Suggesting to use sv_stepsize 17 instead of standard 18, but there are not much blocks where you are going up = 18 units.)
*
1.3
-
Fixed: if user is lagy and in a run - client-side doubleduck block isn't working properly.
-
Fixed: if user just landed and doubleducked client-side doubleduck isn't working all the time (pends from ping).
-
Fixed: client-side doubleduck block not working properly in random map areas.
-
Fixed: if user just unducked and made a doubleduck - client-side doubleduck block isn't working all the time (pends from ping).
*
1.2
-
Added: client-side doubleduck block.
*
1.1
-
Changed: made 1-based array (lower cpu usage).
-
Changed: modified check when user is pre-doubleducking - now uses only 1 variable (lower cpu usage).
*
1.0
- First release.