mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
update (defaults): Readjusted defaults to plane baseline of zero
This commit is contained in:
@@ -106,11 +106,11 @@ Anticheat.StricterDetectJumpHack = 0
|
|||||||
# hack logging and detection.
|
# hack logging and detection.
|
||||||
#
|
#
|
||||||
# Example: AnticheatMgr:: Speed-Hack (Speed Movement at 12% above allowed Server Set rate 8%.)
|
# 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.
|
# will be detected since if it is set to 4 (suggested) and higher, but anything 3 and lower will not be flagged.
|
||||||
# Default: 4 - (Default)
|
# Default: 0 - (Default)
|
||||||
#
|
#
|
||||||
|
|
||||||
Anticheat.SpeedLimitTolerance = 4
|
Anticheat.SpeedLimitTolerance = 0
|
||||||
|
|
||||||
# Automatic Moderation Features
|
# Automatic Moderation Features
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -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
|
// 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
|
// 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<uint32>("Anticheat.SpeedLimitTolerance", 4);
|
_assignedspeeddiff = sConfigMgr->GetOption<uint32>("Anticheat.SpeedLimitTolerance", 0);
|
||||||
|
|
||||||
// We did the (uint32) cast to accept a margin of tolerance for seasonal spells and buffs such as sugar rush
|
// 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
|
// We check the last MovementInfo for the falling flag since falling down a hill and sliding a bit triggered a false positive
|
||||||
|
|||||||
Reference in New Issue
Block a user