Feat: (Passive Anticheat) Update, Features, New confs.#73
Merged
jackpoz merged 166 commits intoMay 19, 2022
Merged
Conversation
Source: Removed Unused voids. Uncommit movementinfo. Added new Confs, Removed BITMASK CONF for detection, bitmasking on this is just a mess to use. Improved various cheat detections to reduce false positives and increase positive results. New teleport helper added to source and teleport hack detection, new ignore control hack detection as well (For the hackers that can ignore root, when in doubt do a .freeze and see if they can move from that). GM Chat warning still needs a better way to spam it, right now it can only spam once auto warnings hit between a min and max. Two force auto kick options available for fly hack and water walking hacks. With more feed back we can see about adding a auto ban option and kick option for other detection types in case a need for automatic moderation is needed. Improved Detections: Climb hack improved formula for detection. Water Walking we removed false positives and better check for water walking and spell auras. Fly hack added in stricter checks and improved logging. Telepane Hack has improved logging. Ignore Control Hack added which detects player position changes (x and y) when rooted and not in vehicle. Teleport Hack implemented and detects reports based on 50>= changes in x and y positions with in a movement step. Ignore control and Teleport Hack does not have their own reporting and is put in temp reporting as the sql keeps having a crazy stroke with number reporting on those, so if the math doesnt add up when you do a .anticheat player for a report, then chances are they are using ignore control\teleport hack, which is why they have their own reporting message for onscreen spam and gm chat. Speed hack improved detection and reduce false positives for falls and transports. SQL Update: Organized file names. Update Character DB SQL so depreciation warnings no longer happen on MySQL 8.0 New World DB SQL to add Trinitycore String for in game GM chat warning. Conf: Removed Bit masking for anticheat detections and moved to Anticheat.Detect off and on per individual hack detections.
Aokromes
reviewed
Mar 6, 2022
Contributor
Author
|
Now this PR is ready to go, really just asking for further feed back to avoid making 20 more prs when this gets merged. |
This adds a exception to the Rogue's Killing Spree being hit as a Speed Hack
Mage's Blink ability was giving false flags for speed hack detection
Removed Anticheat.KickPlayerFlyHack and Anticheat.KickPlayerWaterWalkHack as them kicking on first detection was just stupid. Added Autmatic Moderation Feature. Anticheat.KickPlayer and Anticheat.ReportsForKick, where you can enable kicking when the desire auto reports is met. Anticheat.BanPlayer and Anticheat.ReportsForBan, where you can enable banning when the desire auto reports is met. Announce kick\ban server wide option added as well
Member
|
it looks good to me, the single crash i had it was fixed, no issues for now. |
water walk hit no longer happens when you resurrect. telepane hack no longer false hits when you are a ghost.
Member
|
@Aokromes is this good enough to me merged in your opinion ? |
Member
|
it was 8d ago xd |
Aokromes
approved these changes
May 18, 2022
z-axis does not overly sensitive counting on hits.
Member
|
Merging for the time being |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issues addressed
Changes proposed:
Detections Provided:
Understanding the Report Tables
Characters DB:

players_reports_status Table: is that logged anticheat stats for the players current active sessions.
daily_players_reports Table: is the log of the players life time anticheat stats that is logged until purged.
Know false positives \ Feature Concerns:
Ignore Control:
Excessive Latency will cause false flags, if the lag is that bad they shouldnt even be playing on the server but it was shown that was the case in CC
Ignore Z-Axis Hack:
On occaussion depending on player's build at times the player may get hit with a false positive based on if there are "potholes" in the maps\vmaps. Updating maps\vmaps ot latest will help reduce this, ensure compile and maps are at latest.
Auto Moderation Jail Feature
If offender is a DK in the DK Starter Area they will be shackled on the spot and not teleported. Its the way the core handles keeping the DK in it's zone until successifully completed.
Following will Jail Break a player out:
[x] Summoned by a GM (.sum)
Apply SQLs Files
GM cmds included:
auras being applied indef to them to prevent them from queuing a jail break
their reports while clearing their deserter auras
World Console Logging:
Anticheat Logging\Appenders
Currently spams into its own file
If you want world console spam just use Logger.anticheat=3,Console Server Anticheat
Thanks to Smerdokryl from TC Discord
Appender.Anticheat=2,3,15,anticheat.log,a
Logger.anticheat=3,Server Anticheat
RECOMMEND CONF SETTINGS
Confs are reloadable with .reload conf
Target branch(es): 335
Issues addressed: Update
Tests performed: (Does it build, tested in-game, etc)
Builds and performs
Known issues and TODO list:
Localize Trintiy_Strings