update distraction-reducer (#8790)

* Update distraction-reducer

* Update distraction-reducer

toa detection change and added more enchantment IDs

* Update distraction-reducer

* Update distraction-reducer

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)

* Update distraction-reducer

Changed config option of bake pie to prevent false positives of contact NPC

* Update distraction-reducer

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

* Update distraction-reducer

updated to correct runelite constants

* Update distraction-reducer

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
This commit is contained in:
C
2025-08-13 19:13:20 -05:00
committed by GitHub
parent 64980d974d
commit ca6af00f5e

View File

@@ -1,2 +1,2 @@
repository=https://github.com/Car-Role/Distraction-Reducer.git
commit=85ab6df376738ccb847b86109e5df15e1082fcea
commit=ced3121fac13077e461d9aefe4bc7d58ef149c34