9 Commits

Author SHA1 Message Date
C
1586273743 update distraction-reducer (#9690) 2025-11-30 17:50:36 -05:00
C
6c1c5a90f8 update distraction-reducer (#8933) 2025-08-28 11:44:16 -04:00
C
ca6af00f5e 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
2025-08-13 20:13:20 -04:00
Car-Role
826b13ebb8 update distraction-reducer (#8588)
* 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
2025-07-26 22:29:33 -04:00
Car-Role
3077be504a Update distraction-reducer (#6966) 2024-11-14 12:36:58 -08:00
Car-Role
2c51b4e74b update distraction-reducer (#6900)
* 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)
2024-10-29 12:43:34 -07:00
Car-Role
5ff66564ae update distraction-reducer (#6841)
* Update distraction-reducer

* Update distraction-reducer

toa detection change and added more enchantment IDs
2024-10-23 04:28:21 -04:00
Car-Role
9ce3128e8a Update distraction-reducer (#6709) 2024-10-03 19:45:25 -07:00
Car-Role
c1607a1d80 Add distraction-reducer (#6627)
* Create distraction-reducer

* Update distraction-reducer

Fixed Properties issues and cleaned up code
2024-10-02 11:46:56 -05:00