Commit Graph

69 Commits

Author SHA1 Message Date
MDIC
54d016aab9 Jailing Feature Update
Deserter Buffs permanent until .anticheat parole is used on the player to release them. this will solve the issue of jailbreak thru queuing.
2022-04-13 13:15:53 -04:00
MDIC
b78ce2399c Jail Feat Update
Remove magic numbers, incorporate deserter auras to prevent queuing jail break
2022-04-11 12:37:04 -04:00
MDIC
7c2f0e4f2b Dont check for SpeedHack if the player hasnt moved
We don't need to check for a speedhack if the player hasn't moved
This is necessary since MovementHandler fires if you rotate the camera in place

Co-Authored-By: Jinnaix <37972361+jinnaix@users.noreply.github.com>
Co-Authored-By: Sven <36102838+sveN295@users.noreply.github.com>
2022-04-09 18:34:18 -04:00
MDIC
e2cee25102 False hit Reduction: Climb Hack
Climb Hack should only check if climbing not when falling.
2022-04-09 15:19:50 -04:00
MDIC
05713af3dd Unused varible commit out 2022-04-09 13:51:03 -04:00
MDIC
bac7aefd12 Add: Purge cmd
.anticheat purge clears the whole daily_player_reports table. only administrator level can do run the command.
2022-04-09 13:41:46 -04:00
MDIC
3d98caf636 Code Reduction
Ebon hold removed due to the teleport helpers being added ina couple of commits ago. Originally the ebon hold provided a aura for DK's that gave a speed boost just in that area that was flagging the speed hack, also the teleporter pad gave a false hit as well for speed hack. both of which no longers happens.
2022-04-09 12:54:00 -04:00
MDIC
a0bca3d8f2 Code Reduction
No long need to make these two spell exceptions due to last commit.
2022-04-09 12:26:57 -04:00
MDIC
93b3570234 False Hit Reduction: Speed Hack
False Speed Hack flag reduction for transporters such as undercity and silvermoon translocators and using flight managers are now fixed. Current Speed Hack detections and Teleport Hacks Detections are working as intended with no issues with false hit reports as of current.
2022-04-09 12:04:01 -04:00
MDIC
2861f1d686 Revert "Update: False Hit Reduction."
This reverts commit 3abb14713c.
2022-04-08 11:48:33 -04:00
MDIC
d461e55742 Corrected Logging ZAxis detection 2022-04-08 11:33:10 -04:00
MDIC
3abb14713c Update: False Hit Reduction.
Flight Manager use no longer gives a false hit for speed hack when player lands.
2022-04-07 18:53:21 -04:00
MDIC
cccfa01ca5 Update: Reduced Further False Positives
This is provided by @sveN295 and @Jinnaix who both are better people then me and for that I thank them for their willingness to assist in updating this ancient anticheat.
Per their notes:
We remove the added speed for jumping because otherwise permanently jumping doubles your allowed speed.

We check the last MovementInfo for the falling flag since falling down a hill and sliding a bit triggered a false positive

Co-Authored-By: Sven <36102838+sveN295@users.noreply.github.com>
Co-Authored-By: Jinnaix <37972361+Jinnaix@users.noreply.github.com>
2022-04-07 10:43:31 -04:00
MDIC
5f875291f1 formatting 2022-04-04 11:02:13 -04:00
MDIC
24831dcb0d More False Flag reduction 2022-04-04 10:54:12 -04:00
MDIC
46c23bb58b Update more false positive reductions
Update more false positive reductions with ignore z-axis
2022-03-31 08:47:04 -04:00
MDIC
678d183f62 add (false positive reduction ) z-axis
water walking may trigger z-axis, ensure if u are dead u dont get flagged for it
2022-03-31 07:08:36 -04:00
MDIC
b3acbab636 typo 2022-03-31 06:48:52 -04:00
MDIC
8a2f548461 Reduce indents
Thanks again for the assistance
Co-Authored-By: ModoX <moardox@gmail.com>
2022-03-30 20:19:50 -04:00
MDIC
870cd832f8 feat (New Detection) Ignore Z-Axis Check
So this happens when a player is able to block their z-axis from updating with the server. This achieves the ability to run across the sky while avoiding fly hack detection. Usually get on a high object and then run accross, their x and y will chance but their elevation will not.
Warning: At times there will be false positives due to "pot holes" in the vmaps. This can not be avoided unless someone wants to redo all the maps with a better map extractor pr or rework all the maps in recast demo.
2022-03-30 19:28:05 -04:00
MDIC
0e8a84637f updated notes 2022-03-29 14:22:26 -04:00
MDIC
0393eda64c Feat (Anticheat Cmd) Parole
.anticheat parole, it is recommended to use when player is in GM Jail. So how this works, it changes their homebind to their faction capitals, remove shackles spell and deletes the autoreport on them.
2022-03-26 14:39:03 -04:00
ShadowNet
26ef0940f8 Changue spell 9454 to 38505 2022-03-26 02:53:31 -04:00
MDIC
898bab7f9d Fix (Module) Bool Flipped
Bool Flipped for Climb Hack.
2022-03-24 11:26:48 -04:00
MDIC
24e45f2665 Feat (AutoMod\Jail) and fixes in conf typo
Automatic Moderation feature:
Auto Jail.
It auto sends the offender to gm jail room, sets their homebind to the jail and freezes them as a precaution for them "jail breaking out"
.unfreeze to undo the freeze. tele them out if innocent, or do whatever to your captive.
2022-03-13 16:29:57 -04:00
MDIC
fb69aade23 Add (Anticheat Exemption) DK stuff
Add DK stuff to speed hack exemption. Add Default to Map.
2022-03-13 11:55:25 -04:00
MDIC
ee8b516cac Feat (Module) New\removed confs, automation moderation
So fly for kick and water walking is removed, lets be honest, it was a useless idea.
In its place is the Auto Kick and Auto Ban conf with server wide announcement for kick and ban based on its own unique count conf. How this works is if it reachs a number of reports for either ban or kick, it will automatically enact it. The ban is a account ban.
2022-03-10 17:03:34 -05:00
MDIC
3a2c338969 False hit exceptions moved to case
thanks @nefertum

Co-Authored-By: nefertum <4784289+Nefertum@users.noreply.github.com>
2022-03-09 19:05:45 -05:00
MDIC
7126f90a67 Fix False Positive Blink
Added Mage's Blink to the exception list as it was making false positives.
2022-03-09 12:42:33 -05:00
MDIC
75532a21e6 Fix False Flag (Killing Spree)
Rogue's Kill Spree was giving a false detection on speed hack when on a single target. We add the aura and class combination as a exception to not flag legit rouge players.
2022-03-09 09:29:46 -05:00
MDIC
2461ffa1a0 Remove excess notes
This module is over 12 years old, if we still have to be reminded of what was depreciated when tbc retail went to wotlk, then there is a serious problem.
2022-03-03 11:34:51 -05:00
MDIC
bfd37bc424 Fix: Correct console logging
Ensure your conf Anticheat.WriteLog is set to 1 if you want it to write to the console server.log file. still trying to figure out why we cant do a appender and logger setting for this one
2022-03-03 09:55:18 -05:00
MDIC
a14848cfd7 Add hyperlink to offender in chat
it is NOT a auto tele, but it is a auto select near by and direct whisper to the player.
2022-02-25 20:52:26 -05:00
MDIC
27286b4f93 feat: New logging,conf, and world sql
Apply additional SQL to world db for in chat gm reporting.
In game gm chat messages with conf for minimal and maximum chat spam once reportable limit is met. Default min report in chat is 70 and max being 80 so it will only in game chat spam GM's 10 times, Adjustable per conf
2022-02-25 17:58:25 -05:00
MDIC
765128144d Adjustment Made to reduce false reports when calling
Typos fixed and Adjustments to make to reduce false reporting when falling. addition check introduced for speed hacks involving less then a 0 ms timing
2022-02-25 14:02:11 -05:00
MDIC
41c61d64b5 Add: All transport map ids to reduce false warnings
Added all transport map ids to reduce false warnings with speed hack detections.
2022-02-25 11:50:10 -05:00
MDIC
a354922e07 Update: Readjusted SQL, New Dectection , new Conf
Readjusted the Sql again, Removes the teleporthack_report collumns. It is pretty much worthless with its insane high count that would cause drag on the db and well not needed, it seems like a good idea at the time but it isnt, instead it will add a +1 to the total_reports collumn and the teleport and ignore control hacks will spam their own message once the reports hit default 70 or whatever the user has set. New detection type Ignore Control Hack, This is if a player is rooted or stunned, they are able to still move when effected.
2022-02-20 20:55:26 -05:00
MDIC
732205790b Revert "BG\A Adjustment and World Adjustments"
This reverts commit d2f401b47d.
2022-02-14 08:09:48 -05:00
MDIC
d2f401b47d BG\A Adjustment and World Adjustments
BG\Arena adjustment and world adjustments.
With concerns of the detection counts being high for teleport per a report, we increase the diff to 500 for the world and keep the 50 for bg\arenas.
2022-02-13 20:48:08 -05:00
MDIC
6c628420e8 add writelog to the teleporthack detection 2022-02-13 12:45:44 -05:00
MDIC
f98708fae4 move the if statement down one
that way it will still log in the table if it is less then auto reported.
2022-02-13 12:32:38 -05:00
MDIC
9bdd2226b0 report teleport hack specifically after auto report account is hit
this is to reduce false flags warnings early in the play session.
2022-02-13 12:02:11 -05:00
MDIC
1f53b570af Additional Warning
Will alert when teleport hack is possibly being used. since no one is going to tele hack over 70 times for a auto report to kick in.
2022-02-12 19:17:47 -05:00
acidmanifesto
95a1e71cf4 Updated: Teleport Detection, New Sql, New Conf
New Detection Type for Teleport Hack, New SQL column,  new conf to enable detection logging of teleport hack. Add notice since new hack detection requires the new teleport helpers introduced with c50f7feda
2022-02-11 10:29:30 -05:00
acidmanifesto
3bd91e16c4 Update water walking hack detection
Updated water walking detection, as with all things false positives are still a thing but we got actual detections being logged of sorts. Removed unused voids from header files and whitespace changes
2022-02-09 15:09:11 -05:00
acidmanifesto
42efe99e3d blank line removal 2022-02-08 14:28:28 -05:00
acidmanifesto
bbe68cea13 tab to space
tab to spaces you sinners.
2022-02-08 14:08:35 -05:00
acidmanifesto
e66fd63878 Climb Hack Angle Imrpoved reportability.
Adjusted angle should increate the reportibility of the climb wall hack from 10% to 70%.
2022-02-08 12:49:18 -05:00
Winfidonarleyan
b1eef65f6b fix(Build): correct build 2022-02-08 14:37:05 +07:00
acidmanifesto
4365d3d1aa Climb Hack now actually works and reports. 2022-02-07 16:10:51 -05:00