Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.8.1 #822

Merged
merged 2 commits into from
Oct 16, 2024
Merged

Release 2.8.1 #822

merged 2 commits into from
Oct 16, 2024

Conversation

xia-mc
Copy link
Owner

@xia-mc xia-mc commented Oct 16, 2024

Summary by CodeRabbit

  • New Features

    • Enhanced interaction with entity properties through new accessor methods.
    • Introduced new settings in the KillAura module for improved combat control.
    • Added a new setting in HypixelVelocity for conditional damage boosts.
    • New functionality in AutoHeal for more granular control over healing items.
    • Introduced new boolean fields in AimSimulator for enhanced aiming mechanics.
  • Bug Fixes

    • Improved logic clarity in DragClickAutoClicker and RecordAutoClicker methods.
  • Documentation

    • Updated version number for Watermark class.
  • Refactor

    • Simplified control flow in various classes, including HypixelStep and Anticheat.
  • Chores

    • Added new mixin entry for EntityPlayerAccessor in configuration.

Fix HypixelMotionDisabler
Add PredictEngine for anticheat (test)
Fix AutoBlockA and AutoClickerA falses
Fix Drag and record autoclicker doesn't work
Fix GroundStrafeSpeed flags
Fix HypixelStep
Add damageboostonlyonground to velocity hypixel mode
@xia-mc xia-mc merged commit a776de4 into master Oct 16, 2024
2 checks passed
Copy link

coderabbitai bot commented Oct 16, 2024

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

The changes in this pull request involve enhancements to various classes and interfaces within the codebase. Key modifications include the addition of new accessor methods in EntityLivingBaseAccessor and the introduction of the EntityPlayerAccessor interface. The KillAura class received new settings for improved functionality, while several other classes saw updates to method logic and variable initializations. Additionally, new fields and methods were added across multiple classes to enhance features related to combat, movement, and anti-cheat mechanisms.

Changes

File Path Change Summary
src/main/java/keystrokesmod/mixins/impl/entity/EntityLivingBaseAccessor.java Added methods: getActivePotionsMap(), setActivePotionsMap(Map<Integer, PotionEffect> map), isDead().
src/main/java/keystrokesmod/mixins/impl/entity/EntityPlayerAccessor.java Introduced interface with method: setItemInUseCount(int count).
src/main/java/keystrokesmod/module/impl/combat/KillAura.java Added new settings: scale, scaleHorizontal, scaleVertical, scaleChance, offset, offsetHorizontal, offsetVertical, offsetTiming. Updated getRotations method and modified slider max values for noiseVertical and delayAimAmount.
src/main/java/keystrokesmod/module/impl/combat/autoclicker/DragClickAutoClicker.java Modified onPreMotion for clarity in mouse button state check.
src/main/java/keystrokesmod/module/impl/combat/autoclicker/RecordAutoClicker.java Modified onPreMotion for clarity in logical operations.
src/main/java/keystrokesmod/module/impl/combat/velocity/HypixelVelocity.java Added setting: damageBoostOnlyOnGround, updated onPreVelocity method.
src/main/java/keystrokesmod/module/impl/exploit/disabler/hypixel/HypixelMotionDisabler.java Updated onDisable to reset offGroundTicks, modified onRender for progress text calculation.
src/main/java/keystrokesmod/module/impl/movement/fly/HypixelTestFly.java Updated speed setting range and adjusted vertical position logic.
src/main/java/keystrokesmod/module/impl/movement/longjump/HypixelBowLongJump.java Modified speed setting initialization and refined logic for BOOST state.
src/main/java/keystrokesmod/module/impl/movement/speed/hypixel/GroundStrafeSpeed.java Introduced random variation in horizontal distance in onPrePlayerInput.
src/main/java/keystrokesmod/module/impl/movement/step/HypixelStep.java Removed case for offGroundTicks equal to 1 in onMove.
src/main/java/keystrokesmod/module/impl/other/Anticheat.java Added simulationCheck, updated experimentalMode value, simplified onUpdate, and updated onDisable.
src/main/java/keystrokesmod/module/impl/other/anticheats/Check.java Removed throws Throwable from finalize method.
src/main/java/keystrokesmod/module/impl/other/anticheats/CheckManager.java Added import for Simulation, removed null check for player in onCustomAction.
src/main/java/keystrokesmod/module/impl/other/anticheats/TRPlayer.java Changed thread pool size for timeTask from 4 to 1.
src/main/java/keystrokesmod/module/impl/other/anticheats/checks/combat/AutoBlockA.java Added needToCheck field, updated onReceivePacket method.
src/main/java/keystrokesmod/module/impl/other/anticheats/checks/combat/AutoClickerA.java Modified onClick method logic for CPS flagging.
src/main/java/keystrokesmod/module/impl/other/anticheats/checks/simulation/Simulation.java Introduced static MovementInput instances, updated constructor, and added onClientTick method.
src/main/java/keystrokesmod/module/impl/other/anticheats/utils/phys/PredictEngine.java Changed sync method to public, added methods for collision detection and movement.
src/main/java/keystrokesmod/module/impl/player/AutoHeal.java Removed ModeSetting, introduced new ButtonSetting instances, and updated healing item selection logic.
src/main/java/keystrokesmod/module/impl/render/Watermark.java Updated VERSION constant from "2.8" to "2.8.1".
src/main/java/keystrokesmod/module/impl/world/tower/HypixelTower.java Renamed verticalBlocks to stopOnBlocks and updated block placement logic.
src/main/java/keystrokesmod/utility/aim/AimSimulator.java Added scale and offset fields, updated getRotation method.
src/main/resources/mixins.raven.json Added mixin entry for "entity.EntityPlayerAccessor".

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant KillAura
    participant EntityLivingBaseAccessor
    participant EntityPlayerAccessor

    User->>KillAura: Trigger combat action
    KillAura->>EntityLivingBaseAccessor: Get active potions
    KillAura->>EntityPlayerAccessor: Set item in use count
    KillAura->>User: Execute action with updated settings
Loading

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai or auto anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@xia-mc xia-mc deleted the dev branch October 16, 2024 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant