Add some logging for suspicious HitMessages (#459)

* Add some logging for suspicious HitMessages

* Add HitPositionDiscrepancyThreshold config settings

* Add hit position discrepancy check to LashMessage & SplashHitMessage

* Whitespace
This commit is contained in:
Mazo 2020-05-26 21:17:19 +01:00 committed by GitHub
parent e51e970e51
commit 11a01b038f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 5 deletions

View file

@ -248,3 +248,12 @@ NetSim.ReorderTime = 150 milliseconds
# yes - (Enabled)
Active = no
[antihack]
# HitPositionDiscrepancyThreshold (int)
# Description: The distance (squared) threshold that triggers if the reported hit location of a shot does not match the object being hit's location on the server
# Range: [1, 1000000]
# Default: 10000 (sqrt 10000 = ~100 ingame units)
HitPositionDiscrepancyThreshold = 10000