Skip to content

Conversation

@StaticSweep
Copy link
Owner

  • Uses the two minimap images. Template matches them and compares the match's minimum value (minVal/how accurately it matched) to detect which fixed mode the client is in.
  • This means the user doesn't have to select the fixed mode in the UI, the option has been removed and demo scripts updated accordingly.
  • Due to previous changes for canvas detection, the mouseover text zone and grid info box zones have been updated to be relative to the canvas' top left - as they're fixed to the top left - rather than being derived from other zones. This is a much more scalable solution.
  • Individual thresholds have been ditched for a standard 0.15 in the ZoneManager as a result of the minVal extraction. This will still produce accurate detection locations, whilst staying lenient to prevent errors for users including: Cannot read field "x" because "screenBounds" is null'' and No match: minVal above threshold. The magic number 0.15 is derived from OSBC which used a similar technique and has proven to be stable.

@StaticSweep StaticSweep requested review from evoke-afk and removed request for evoke-afk September 21, 2025 22:24
@StaticSweep StaticSweep merged commit 4dbee7d into main Sep 22, 2025
1 check passed
@StaticSweep StaticSweep deleted the automatic-fixed-mode branch September 22, 2025 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants