Skip to content

Distraction reducer#11262

Open
Car-Role wants to merge 19 commits intorunelite:masterfrom
Car-Role:Distraction-Reducer
Open

Distraction reducer#11262
Car-Role wants to merge 19 commits intorunelite:masterfrom
Car-Role:Distraction-Reducer

Conversation

@Car-Role
Copy link
Copy Markdown
Contributor

PR Car-Role/Distraction-Reducer#44: Firemaking — all log types via API constants (resolves Car-Role/Distraction-Reducer#37, Car-Role/Distraction-Reducer#34)
PR Car-Role/Distraction-Reducer#43: Hunter — maniacal monkey trap detection (new feature)
PR Car-Role/Distraction-Reducer#45: POH detection — exit portal scanning (resolves Car-Role/Distraction-Reducer#38, Car-Role/Distraction-Reducer#26)
Bug Car-Role/Distraction-Reducer#41: Amethyst dart tips — AnimationID.GEM_CUTTING_AMETHYST (6295) added to Crafting
Bug Car-Role/Distraction-Reducer#42: Fish cutting — BRUT_HUMAN_KNIFEUSE + sacred/infernal eels added to Cooking
Feature Car-Role/Distraction-Reducer#39: Salvaging split — separate toggles for salvaging hook vs sorting salvage
Feature Car-Role/Distraction-Reducer#40: Hotkey toggle — Keybind config + HotkeyListener via KeyManager
Feature Car-Role/Distraction-Reducer#23: Activation delay — new activationDelay config in Timing section; skilling must be detected continuously for that many ticks before the overlay appears (default 0 = immediate)
Feature Car-Role/Distraction-Reducer#28: Thieving — THIEVING_ANIMATION_IDS set (pickpocketing 881, stalls 832, Varlamore houses AnimationID.THIEVING_VARLAMORE_STEALING_VALUABLES) + thieving() config toggle
README: Added Firemaking, Magic, Sailing (Sorting), Thieving, fish cutting, amethyst, hotkey toggle, activation delay to features list

Add screenshot overlay hiding for level-ups and collection log events
New config toggle "Hide overlay in screenshots" (default enabled) temporarily suppresses overlay for 3 ticks when level up messages or collection log interface appears, ensuring automatic screenshots are clean

Car-Role and others added 18 commits October 21, 2024 18:09
toa detection change and added more enchantment IDs
commit: Add bonfire firemaking support and improve movement detection

- Added support for adding logs to bonfires with correct animation IDs
- Added firemaking toggle to config section
- Improved movement detection by tracking both animation poses and position changes
- Added immediate overlay clearing when movement is detected
- Excluded manual tinderbox firemaking animations
- Added debug logging for overlay visibility changes

Animation IDs added for bonfire firemaking:
- Regular logs (10565)
- Oak logs (10569) 
- Willow logs (10572)
- Maple logs (10568)
- Yew logs (10573)
- Magic logs (10566)
- Redwood logs (10570)
Changed config option of bake pie to prevent false positives of contact NPC
added:
option to show chat, inventory, and stats for the overlay

fail-safes for false positives for Gauntlet/Corrupted Gauntlet, COX, Duke

using Varbit 9178
updated to correct runelite constants
feat: Add combat integration with wilderness support and spell detection

Major Features Added:
- Combat blackout detection for specified monsters with configurable timing
- Wilderness-aware combat behavior with robust area detection
- String Jewelry and Plank Make spell support with safety quarantine
- Enhanced configuration organization with position-based ordering

Combat Integration:
- Detect combat engagement using RuneLite API (getInteracting())
- Support both monster IDs and names for flexible targeting
- Combat restore delay in ticks (default: 8) for precise timing
- Health and prayer override thresholds using absolute values
- Default monster: "Gemstone Crab" with combat blackout enabled

Wilderness Support:
- WorldArea-based wilderness detection (avoids instance false positives)
- "Enable in Wilderness" toggle for granular PvP/PvE control
- Robust detection covering above/underground wilderness areas
- Default: disabled in wilderness for safety awareness

Spell Detection:
- String Jewelry (animation ID 4412) and Plank Make (6298) support
- Quarantined in Miscellaneous section with warning labels
- Default disabled due to problematic animation IDs
- Conditional detection only when explicitly enabled

Configuration Improvements:
- Reorganized Combat section with logical positioning (1-54)
- Combat Restore Delay changed from seconds to ticks
- Health/Prayer thresholds grouped together for better UX
- Enhanced descriptions with Identificator plugin guidance

Technical Enhancements:
- Enhanced debug logging for combat, wilderness, and override states
- Dynamic monster list parsing with config change listeners
- Comprehensive safety checks and override logic integration
- Import additions for WorldArea and improved error handling
PR runelite#44: Firemaking — all log types via API constants (resolves runelite#37, runelite#34)
PR runelite#43: Hunter — maniacal monkey trap detection (new feature)
PR runelite#45: POH detection — exit portal scanning (resolves runelite#38, runelite#26)
Bug runelite#41: Amethyst dart tips — AnimationID.GEM_CUTTING_AMETHYST (6295) added to Crafting
Bug runelite#42: Fish cutting — BRUT_HUMAN_KNIFEUSE + sacred/infernal eels added to Cooking
Feature runelite#39: Salvaging split — separate toggles for salvaging hook vs sorting salvage
Feature runelite#40: Hotkey toggle — Keybind config + HotkeyListener via KeyManager
Feature runelite#23: Activation delay — new activationDelay config in Timing section; skilling must be detected continuously for that many ticks before the overlay appears (default 0 = immediate)
Feature runelite#28: Thieving — THIEVING_ANIMATION_IDS set (pickpocketing 881, stalls 832, Varlamore houses AnimationID.THIEVING_VARLAMORE_STEALING_VALUABLES) + thieving() config toggle
README: Added Firemaking, Magic, Sailing (Sorting), Thieving, fish cutting, amethyst, hotkey toggle, activation delay to features list

Add screenshot overlay hiding for level ups and collection log events
New config toggle "Hide overlay in screenshots" (default enabled) temporarily suppresses overlay for 3 ticks when level up messages or collection log interface appears, ensuring automatic screenshots are clean
@runelite-github-app
Copy link
Copy Markdown

runelite-github-app bot commented Mar 28, 2026

@runelite-github-app
Copy link
Copy Markdown

Internal use only: Reviewer details Maintainer details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Does not work with barb fishing Does not work with Ironwood logs

1 participant