Merged
Conversation
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
… aio-fighter-wait-for-loot
- Empty looting bag automatically when banking - Add blighted food types to Rs2Food enum for proper banking triggers
… aio-fighter-wait-for-loot
… aio-fighter-wait-for-loot
…nd robustness fixes
… aio-fighter-wait-for-loot
…failing to swap from Arceuus to Modern
* fix: Allow npcs to highlight based on composition id * fix: Use composite optionally for NpcRequirement and NpcStep
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.
… icon, instead of always using 1,1
Feat(QoL): ge hotkey
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>
…nt bringing someone to a deadly area
Microbot Plugin Hub Improvements
Refactor Rs2Prayer
feat(AIOFighter): Add wait-for-loot feature
AIO Fighter - Fixes and improvements
Contributor
|
Important Review skippedMore 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 ✨ Finishing Touches
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Features
(58b2a84))
Bug Fixes
Code Refactoring
Chores
Commits