Commit Graph

119 Commits

Author SHA1 Message Date
Dawson ab00a71e84 Fixing false positives 2023-02-18 10:46:08 -05:00
Dawson 6713ff6dfa Update MovementHandler.java 2023-02-17 12:51:58 -05:00
Dawson 73653bd9a9 Update MovementHandler.java 2023-02-16 16:38:52 -05:00
Dawson 4e219f516c Cleaned up code and optimized iterations 2023-02-16 16:09:00 -05:00
Dawson c0a59fa91f Merge branch 'main' of https://github.com/funkemunky/EnterpriseAnticheat 2023-02-16 15:39:05 -05:00
Dawson 45482091dd Shit 2023-02-16 15:39:04 -05:00
Dawson 0a8252df9d Updated 2023-02-15 15:31:13 -05:00
Dawson b550030878 Undoing enhanced switch 2023-02-14 11:02:29 -05:00
Dawson 00c502c192 Adding neo 2023-02-13 10:21:28 -05:00
Dawson 3b6ddeaa3e Fixed false positives
- Fixed false positives in Fly (A)
- Fixed falses in Horizontal
- Added back integrity checking
2023-02-09 15:10:17 -05:00
Dawson e9bf178a1e Temp remove integrity check, updating loader instance 2023-01-04 09:58:18 -05:00
Dawson a04577b194 lots of changes
- Added inventory check type in API
- Added Inventory (A) detection
- Added Inventory (B) detection
- Improved the flag rate and accuracy of Aim check
- Added other bot check that flies around player to Killaura (Bot) to account for clients not doing a proper RayCast and opting to just turn on attack invisibles and mobs.
- Added comments to Killaura (Trace)
- Optimized Fly (A) detection and added comments
- Fixed false positive caused by incorrect acceleration prediction in Fly (A). I used the current onGround when that is actually never a factor in vertical acceleration, only the product of what the client moves to.
- Removed "optimization" in Fly (A) that basically just stopped prediction when client sends onGround and sets motionY to 0. Changed this behavior to it still do the acceleration subtraction 0.08 times 0.98 but run a collision check that will set the y to 0 if necessary; more closely replicates vanilla mechanics.
- Optimized Horizontal check and fixing field name motionX to more appropriate motion name.
- Optimized Velocity (B) by using current Horizontal optimizations and applying them to this check.
- Moved logs command in AnticheatCommand class to its own LogsCommand class. Added other kinds of logs commands like /kauri logs paste to send it to pastebin and /kauri logs web to view logs on the website.
- Fixed error on plugin shutdown caused by NPE. This was due to an order of operations issue with PlayerRegistry and PacketHandler
- Added wrapper for PacketPlayInWindowClick, PacketPlayInClientCommand.
- Added KLocation#getDirection() method as a shorthand to doing MathUtils.getDirection(KLocation field);
- Moved Helper#angularDistance to MathUtils#angularDistance
- Added CollisionBox#downcast() method as a shorthand method to not have to create a new List field every time I want to get the downcasted SimpleCollisionBox of any wrapped CollisionBox.
2022-11-29 10:00:44 -05:00
Dawson dfb04d50a2 Fixed NoFall (C) false positives, optimized chunk watching, fixed lag backs 2022-11-04 12:02:32 -04:00
Dawson 29dc536c7c Adding bulk chunk packet 2022-11-04 10:23:56 -04:00
Dawson b9246fc315 Adding ignored files 2022-11-04 09:59:08 -04:00
Dawson 7fa964f544 Merge branch 'main' of https://github.com/funkemunky/EnterpriseAnticheat 2022-11-04 09:56:48 -04:00
Dawson da5a061495 Update Processor_18.java 2022-11-04 09:56:44 -04:00
Dawson d230897b4f Update LoggerManager.java 2022-11-02 12:26:12 -04:00
Dawson cda3b39870 New checks and false positive fixes
- Completed Autoclicker (C), Oscillation check.
- Added Autoclicker (D). Checks for autoblocks
- Added NoFall (C). Fall distance check.
- Updated Phase setback to patch bypass.
- Added PacketPlayOutMapChunk wrapper.
- Tracking MapChunk updates to client, patches false positive from blocks not being updated on anticheat from plugins like FAWE.
- Now sniffs packets that aren't wrapped too when packet debugging player.
- Updated Fly (A) to now account for vertical collisions on predictions.
- Added experimental flag to CheckData.
- Removed lastFlagRun alert limiter.
- Increased amount of alerts that can be displayed in a second from 40 to 80.
2022-11-01 13:13:51 -04:00
Dawson bb23313ee4 Fixed horizontal false positive and updated logs menu 2022-10-28 10:54:48 -04:00
Dawson e8993989f9 Adding new logs 2022-10-25 11:15:43 -04:00
Dawson 9a727ea763 stuffs 2022-10-07 14:45:45 -04:00
Dawson 6941d0dcc6 New bug fixes and code features
- Fixed WPacketPlayOutMultiBlockChange bug where the x and z where incorrect. I didn't shift the value based on the chunk location like the vanilla packet does.
- Added BukkitRunnable which passes through the BukkitTask so tasks can be cancelled when using RunUtils, without having to use the Bukkit implementation instead.
- Fixed signs returning as collidable blocks in Materials, causing false positives.
- Fixed NullPointerException in the CHEST wrapper enum inside BlockData. Needed to use the BlockUtils#getRelative method instead, incase the APlayer object pass-through was null.
- Optimized Horizontal a bit more, reducing iterations.
2022-10-06 11:05:08 -04:00
Dawson 618510a2e0 Optimizations, new phase check, removing vertical for now 2022-10-02 09:39:56 -04:00
Dawson 99ac5ec942 Updating Phase check 2022-09-30 16:17:24 -04:00
Dawson 64887c73a2 Trying out new phase check 2022-09-30 15:36:07 -04:00
Dawson 3375db1558 Fixing NPE and entity collision fp 2022-09-30 10:37:49 -04:00
Dawson 9a10ff0439 Fixing bouding boxes, now all latency accounted.
New Stair bounding box (from Grim)
2022-09-29 16:40:51 -04:00
Dawson 3c3fefe685 Fixing minor bugs 2022-09-29 09:03:46 -04:00
Dawson 6c5629a00b Merge branch 'main' of https://github.com/funkemunky/EnterpriseAnticheat 2022-09-25 13:28:38 -04:00
Dawson 9736b577d5 implementing new bb fixes 2022-09-25 13:28:35 -04:00
Dawson d8fc81717a Merge branch 'main' of https://github.com/funkemunky/EnterpriseAnticheat 2022-09-25 13:27:29 -04:00
Dawson 48101b74a3 Update BlockInformation.java 2022-09-25 13:27:23 -04:00
Dawson decd4e3c51 Adding health spoofing
- Optimized Materials class code.
- Optimized Horizontal
- Added kauri to command.
- Added health spoofing in JoinListener.
2022-09-22 16:58:34 -04:00
Dawson f463cda029 Fixing precision issues, fixing falses in Horizontal and Vertical, temp remove Phase, optimizations 2022-09-21 16:49:00 -04:00
Dawson 8ec28f2166 Finally got it working okay! 2022-09-21 13:29:27 -04:00
Dawson 1b08e162d7 Trying to debug problems with Horizontal 2022-09-21 11:00:22 -04:00
Dawson b7190af20c Removed scanning for actions 2022-09-21 10:07:38 -04:00
Dawson 272239b31b Scanning for actions added 2022-09-21 10:07:23 -04:00
Dawson a6b25376d7 Adding collision accounting. dumb shit 2022-09-20 16:55:29 -04:00
Dawson a91862e4f3 Create WPacketPlayOutEntityDestroy.java 2022-09-20 11:18:43 -04:00
Dawson c1edf02457 Fixing world load fp in Fly A and accounting for collisions in Horizontal 2022-09-19 16:49:02 -04:00
Dawson 0b7378031f Fixing velocity false positive Fly (F) 2022-09-17 13:29:14 -04:00
Dawson db35b47250 Adding phase check, optimizing log sending 2022-09-17 13:28:22 -04:00
Dawson 8015f4cb99 Improved accuracy 2022-09-16 19:55:15 -04:00
Dawson b24053f1ca Adding raycasting check 2022-09-16 17:52:16 -04:00
Dawson 927834762e Create AutoclickerC.java 2022-09-13 17:14:59 -04:00
Dawson b5ada325c0 Merge branch 'main' of https://github.com/funkemunky/EnterpriseAnticheat 2022-09-13 13:51:03 -04:00
Dawson aa24a71c84 Changing names of velocity checks 2022-09-13 13:50:59 -04:00
Dawson c92a0400cf Performance improvements, fixing server channel injection for packets 2022-09-13 10:01:59 -04:00