Skip to content

Comments

2.0.0#1465

Merged
chsami merged 152 commits intomainfrom
development
Sep 3, 2025
Merged

2.0.0#1465
chsami merged 152 commits intomainfrom
development

Conversation

@chsami
Copy link
Owner

@chsami chsami commented Sep 3, 2025

Features

(58b2a84))

Bug Fixes

Code Refactoring

Chores

Commits

Your Name and others added 30 commits July 23, 2025 17:17
Implements a configurable feature that makes the bot wait up to 6 seconds
after killing an NPC for loot to appear before attacking the next target.
This is useful for enemies with long death animations.

- Added toggleWaitForLoot config option in loot section
- Added tracking variables for NPC death time and waiting state
- Added ActorDeath event handler to detect when we kill an NPC
- Modified AttackNpcScript to pause combat while waiting for loot
- Shows countdown status while waiting
- 6-second hardcoded timeout to resume combat if no loot appears

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
  - Add check to respect pauseAllScripts flag during active looting
  - Improve NPC death detection by checking for lost target while in combat
  - Remove clearWaitingForLoot() calls that were causing premature combat resumption
  - Fix rapid clicking between loot and enemies during loot pickup
… aio-fighter-wait-for-loot

# Conflicts:
#	runelite-client/src/main/java/net/runelite/client/plugins/microbot/aiofighter/combat/AttackNpcScript.java
  - Remove unreliable "lost target while in combat" detection that triggered on eating/walking
  - Track NPC continuously during combat instead of only on initial attack
  - Add configurable loot wait timeout (1-10 seconds, default 6)
  - Prevent target switching while waiting to ensure looting priority
  - Clear cached NPC properly when looting starts or timeout expires
  - Modified LootScript combat check to bypass restriction when waiting for loot
  - Ensures loot collection completes before engaging new targets
  - Fixes issue where wait timeout would expire without looting when attacked
  - Empty looting bag automatically when banking
  - Add blighted food types to Rs2Food enum for proper banking triggers
* fix: Allow npcs to highlight based on composition id

* fix: Use composite optionally for NpcRequirement and NpcStep
chsami and others added 28 commits August 31, 2025 21:24
feat(proxy): implement proxy configuration and detection for microbot
Fix Rs2Inventory to check for stackable birdsnares

Change Rs2Inventory.count to Rs2Inventory.itemQuantity
Fix BirdHunterScript to check for stackable birdsnares
Co-authored-by: Sunny-P <osrscardew@gmail.com>
Moves the entire `getNpcs()` stream processing pipeline onto the client thread. This prevents race conditions and client crashes when NPCs are updated during iteration.
fix(util/npc): Ensure thread safety in NPC fetching
…when switching profiles, checking if files need to be re-downloaded & cleaning up stale jar files
… into the microbot plugin manager & additional filtering methods

fix(quest-helper): use microbot injector instead to ensure instantiation
feat(runelite-debug): adds quest helper & break handler into the list of core microbot plugins
chore(plugin-manager): respect safe mode param when loading or refreshing plugins
fix(plugin-manager): re-implement removing / skipping disabled plugins
* Added check to main loop to pause execution whenever a break is scheduled, immediately stopping script when break is detected.

* Close bank if somehow bank is opened when teleporting.

* Repairs pouches before checking contents prevents script from not starting if starting with degraded pouch.

* Versioning.

* STOP script from taking breaks inside bank logic. No takes breaks after crafting only.

* Added return if break active.

* STOP script from taking breaks inside bank logic. No takes breaks after crafting only.
…pply (#1458)

* feature(Moons Of Peril): Improvements to combat potion drinking logic

* fix(Moons Of Peril): Improvements to inventory management during resupply

* fix(Moons Of Peril): CodeRabbitAI suggested changes to commit

---------

Co-authored-by: FunkyMonkeyCloud <na@gmail.com>
feat(AIOFighter): Add wait-for-loot feature
AIO Fighter - Fixes and improvements
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 3, 2025

Important

Review skipped

More than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review.

63 files out of 198 files are above the max files limit of 100. Please upgrade to Pro plan to get higher limits.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ 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.
    • 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.
  • 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 the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit 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 anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • 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.

@chsami chsami merged commit a5f4662 into main Sep 3, 2025
3 checks passed
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.