- Added references/improvements.md tracking all implemented fixes - Created d2r-key-detection skill for future sessions
1.1 KiB
1.1 KiB
Botty Improvements Implementation Plan
Phase 1: Key Auto-Detection (Issue #940/#905) [DONE]
src/utils/key_detector.pyreads D2R .key/.keyo files- Auto-fills empty char section hotkeys. Wired into config.py load_data()
- Key normalization: left alt ~ alt, left shift ~ shift
- Test:
tools/test_key_detector.pyandtest/test_key_detector.py(all pass)
Phase 2: Target Detection False Positives (Issues #959/#964) [DONE]
- Added aspect ratio filtering in
_add_markers() - Rejects health bars (w/h > 3.0) and immune text (w/h < 0.5)
TARGET_ASPECT_MIN = 0.5,TARGET_ASPECT_MAX = 3.0
Phase 3: Pickit Timing (Issue #939) [DONE]
- Added 200-300ms wait after
_yoink_itempickup - Prevents bot teleporting before item grab animation completes
Phase 4: Hardcore Chicken Loop (Issue #942) [DONE]
- Added
hardcoreconfig flag (default 0) - On HC death: exits safely instead of infinite restart loop
- Sends discord message if enabled