Skip to content

bugfix: Improve POH detection by checking for portal#45

Open
kelltom wants to merge 1 commit intoCar-Role:masterfrom
kelltom:bugfix-improve-poh-detection
Open

bugfix: Improve POH detection by checking for portal#45
kelltom wants to merge 1 commit intoCar-Role:masterfrom
kelltom:bugfix-improve-poh-detection

Conversation

@kelltom
Copy link
Copy Markdown

@kelltom kelltom commented Mar 16, 2026

This change stops using region IDs for POH detection. POHs are dynamically assembled instanced areas, so region IDs change and aren't reliable in the long term. Detect POHs by scanning the instance scene for the POH exit portal instead. Cache whether it has been found or not to prevent repeated scene scans for the current region.

Resolves #38, and #26

This change stops using region IDs for POH detection. POHs are dynamically assembled instanced areas, so region IDs change and aren't reliable in the long term. Detect POHs by scanning the instance scene for the POH exit portal instead. Cache whether it has been found or not to prevent repeated scene scans for the current region.
@kelltom kelltom changed the title Improve POH detection by checking for portal bugfix: Improve POH detection by checking for portal Mar 16, 2026
@kelltom
Copy link
Copy Markdown
Author

kelltom commented Mar 16, 2026

Region ID for Mount Quid no longer matches with one of our POH region ID constants, fixing #38 .

java_kMn45Gqud2.mp4

Works in POH.

java_Ve00KF8EeN.mp4

Car-Role pushed a commit that referenced this pull request Mar 28, 2026
PR #43: Hunter — maniacal monkey trap detection (new feature)
PR #45: POH detection — exit portal scanning (resolves #38, #26)
Bug #41: Amethyst dart tips — AnimationID.GEM_CUTTING_AMETHYST (6295) added to Crafting
Bug #42: Fish cutting — BRUT_HUMAN_KNIFEUSE + sacred/infernal eels added to Cooking
Feature #39: Salvaging split — separate toggles for salvaging hook vs sorting salvage
Feature #40: Hotkey toggle — Keybind config + HotkeyListener via KeyManager
Feature #23: Activation delay — new activationDelay config in Timing section; skilling must be detected continuously for that many ticks before the overlay appears (default 0 = immediate)
Feature #28: Thieving — THIEVING_ANIMATION_IDS set (pickpocketing 881, stalls 832, Varlamore houses AnimationID.THIEVING_VARLAMORE_STEALING_VALUABLES) + thieving() config toggle
README: Added Firemaking, Magic, Sailing (Sorting), Thieving, fish cutting, amethyst, hotkey toggle, activation delay to features list
@Car-Role
Copy link
Copy Markdown
Owner

@kelltom, Thank you for all the help. I have added everything you've PR'd and will be pushing to the plugin hub soon

@Car-Role
Copy link
Copy Markdown
Owner

merged, in f8894bf

@kelltom
Copy link
Copy Markdown
Author

kelltom commented Mar 29, 2026

@Car-Role My pleasure, love the plugin! Hope to contribute more soon.

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.

Does not work with barb fishing

2 participants