Rewrote commands to work on self and from console. Jail will not work from console and was marked as false from console due to the summoner being teleported as well, console is not a summoner which lead to a crash. so use the jail command when in game.
Included a latency check if player has bad latency which should nerf out the false hits with ignore control. Set all anticheat cmds to false for console use due to using the gm cmds on a console did nothing.
Once Ingame warngings and report in chat min is met, this will throttle to alert the gms every other count, Example so with 5 being the default, u will get a message alert for every 5 violations.
Inspired and approved by project nemesis devs
Co-Authored-By: Sven <36102838+sven295@users.noreply.github.com>
Co-Authored-By: Jinnaix <37972361+jinnaix@users.noreply.github.com>
Mind Controling a victim in a duel then using teleport hack to either set up the the opponent or exploit for own personal gain. Both Players will be flagged for cheating, Alerts sent out. Let the GM's sort it out.
Thanks to @jackpozi for more further code review on the tc counterpart of the module that is also brought over to this module.
Co-Authored-By: Giacomo Pozzoni <giacomopoz@gmail.com>
Permanent silence casted on offender when using .anticheat jail or if auto jail is turned on, they will not be able to cast any spells to teleport out of there. Code Style Clean up review on the TC Side of the module thanks to @jackpoz that i was able to bring over to this module and remove magic number dealing with resurrection sickness.
We exempt rotating the camera from fire off with water walking hack detection, we improve angle reporting per @sveN295 formula. we also remove falling from the angle check as falling is check before hand
Co-Authored-By: Sven <36102838+sven295@users.noreply.github.com>
Co-Authored-By: Jinnaix <37972361+jinnaix@users.noreply.github.com>
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.
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.
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>