Remove fast animation check.

Due to the networking at play here, there's no sane way to assume that animation events/packets are going to come at a certain time apart. Through testing, there have been legitimate animations come 0ms apart, which makes this check impossible, at least in its current state.
This commit is contained in:
gravitylow committed 2013-10-27 14:54:29 -04:00
1 parent c6818c11f7
commit d49e44b0ba
6 files changed
+1 -42

No files matched your search

@@ -39,14 +39,6 @@ import net.gravitydevelopment.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.
*/
@@ -467,8 +459,6 @@ 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() {