1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-21 12:40:19 -05:00

Add shouldIgnoreDetection check for DetectionType.Bone

This commit updates the cheat detection logic to allow ignoring specific weapons for DetectionType.Bone.

- Modified Detection.cs to include the shouldIgnoreDetection check for DetectionType.Bone, similar to how it's handled for Recoil and Chest detection types.
- Updated AnticheatConfiguration.cs to add an entry for DetectionType.Bone under Game.IW4 in the IgnoredDetectionSpecification, allowing you to configure weapon regexes to ignore for this detection type.
This commit is contained in:
google-labs-jules[bot]
2025-05-26 02:13:46 +00:00
committed by RaidMax
parent 3e186ca07a
commit c2cce14ad3
2 changed files with 65 additions and 49 deletions

View File

@ -26,7 +26,8 @@ namespace Stats.Config
{
{ DetectionType.Chest, new[] { "m21.+" } },
{ DetectionType.Recoil, new[] { "ranger.*_mp", "model1887.*_mp", ".+shotgun.*_mp", "turret_minigun_mp" } },
{ DetectionType.Button, new[] { ".*akimbo.*" } }
{ DetectionType.Button, new[] { ".*akimbo.*" } },
{ DetectionType.Bone, new string[0] }
}
}
};