Add fast animation check. Fixes #251

This commit is contained in:
h31ix committed 2013-10-13 15:35:25 -04:00
1 parent 26bd4e0f78
commit 3a746ef45e
7 files changed
+47 -17

No files matched your search

@@ -39,6 +39,14 @@ import net.h31ix.anticheat.config.ConfigurationFile;
*/
public class Magic extends ConfigurationFile {
/**
* The number of animations to wait before checking fastclicking; Type=integer; +Leniency=Increase.
*/
public int ANIMATION_CHECK;
/**
* The minimum time it should have taken for the player to click X times; Type=integer; +Leniency=Increase.
*/
public long ANIMATION_TIMEMIN;
/**
* Time to exempt a player from moving because of entering/exiting a vehicle; Type=system, +Leniency=Increase.
*/
@@ -444,6 +452,8 @@ public class Magic extends ConfigurationFile {
TIMER_STEP_CHECK = new ConfigValue<Integer>("TIMER_STEP_CHECK").getValue();
TIMER_TIMEMIN = new ConfigValue<Integer>("TIMER_TIMEMIN").getValue();
TELEPORT_MIN = new ConfigValue<Integer>("TELEPORT_MIN").getValue();
ANIMATION_CHECK = new ConfigValue<Integer>("ANIMATION_CHECK").getValue();
ANIMATION_TIMEMIN = new ConfigValue<Integer>("ANIMATION_TIMEMIN").getValue();
}
public double getVersion() {