mirror of
https://github.com/funkemunky/KauriV3.git
synced 2026-05-31 05:51:55 +00:00
a04577b194
- 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.