Files
my-botty/assets
alexpolo1andClaude Opus 5 a066d511ca fix(a5): restore real A5 waypoint template and bound the WP scan to the game world
assets/templates/a5_wp.png (commit 14f5876) was a crop of the blue mana globe,
not the Harrogath waypoint. It matched the HUD at 0.98-0.99 on every frame, so
A5.open_wp() teleported the character to the bottom-right of the screen and
clicked there; WaypointLabel never appeared and each anchor retry pushed the
character further out until it was stranded on top of the town wall. From there
Larzuk, Qual-Kehk and every town marker were off-screen, which cascaded into
repair/resurrect failures and 5 consecutive run_trav approach failures that
self-disabled all routes.

- restore the pre-14f5876 template (201x120, the real stone arch); it scores
  ~0.30 on the stranded-on-the-wall screenshots instead of 0.99
- scan only Config().ui_roi["town_world"], the already-defined ROI that excludes
  the HUD band and the party/chat column, so a bad template can never again move
  the character into the globes
- add an roi parameter to IChar.select_by_template() to support the above

Co-Authored-By: Claude Opus 5 <[email protected]>
2026-09-04 06:37:33 +02:00
..