diff --git a/conf/Anticheat.conf.dist b/conf/Anticheat.conf.dist index 53a7379..21b0761 100644 --- a/conf/Anticheat.conf.dist +++ b/conf/Anticheat.conf.dist @@ -106,11 +106,11 @@ Anticheat.StricterDetectJumpHack = 0 # hack logging and detection. # # Example: AnticheatMgr:: Speed-Hack (Speed Movement at 12% above allowed Server Set rate 8%.) -# will be detected since its 4 (default) and higher, but anything 3 and lower will not be flagged. -# Default: 4 - (Default) +# will be detected since if it is set to 4 (suggested) and higher, but anything 3 and lower will not be flagged. +# Default: 0 - (Default) # -Anticheat.SpeedLimitTolerance = 4 +Anticheat.SpeedLimitTolerance = 0 # Automatic Moderation Features # diff --git a/src/AnticheatMgr.cpp b/src/AnticheatMgr.cpp index 22165df..941bfaa 100644 --- a/src/AnticheatMgr.cpp +++ b/src/AnticheatMgr.cpp @@ -227,7 +227,7 @@ void AnticheatMgr::SpeedHackDetection(Player* player, MovementInfo movementInfo) // create a conf to establish a speed limit tolerance over server rate set speed // this is done so we can ignore minor violations that are not false positives such as going 1 or 2 over the speed limit - _assignedspeeddiff = sConfigMgr->GetOption("Anticheat.SpeedLimitTolerance", 4); + _assignedspeeddiff = sConfigMgr->GetOption("Anticheat.SpeedLimitTolerance", 0); // We did the (uint32) cast to accept a margin of tolerance for seasonal spells and buffs such as sugar rush // We check the last MovementInfo for the falling flag since falling down a hill and sliding a bit triggered a false positive