Walker fixes#1775
Conversation
Catalog-backed path edges and transport objects now bypass door probes and blacklist paths so handleTransports owns them. Adjacent-origin short hops and segment-end distance checks align lookahead with the multimap. Co-authored-by: Cursor <cursoragent@cursor.com>
Avoid null localpoint stalls by falling back to minimap-toward clicks. Drop noisy minimap log spam and add transport fallback chain.
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
WalkthroughThis PR refactors Rs2Walker's transport and door interaction semantics by introducing catalog-backed transport segment detection. The changes prevent door-probing logic from interfering with explicit transports by identifying catalog-registered transport edges and excluding associated objects from door resolution flows. Canvas walking gains null-point handling with minimap fallback, and transport completion switches to a tiered fallback chain. Rs2MiniMap is simplified by removing a debug log from its null-return path. Possibly related PRs
🚥 Pre-merge checks | ✅ 2 | ❌ 3❌ Failed checks (1 warning, 2 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@runelite-client/src/main/java/net/runelite/client/plugins/microbot/util/walker/Rs2Walker.java`:
- Around line 4146-4173: The plane equality checks are preventing cross-plane
catalog transports from being recognized; update isCatalogBackedTransportSegment
and matchesDirectedTransportCatalogEdge to not bail out when origin.getPlane()
!= dest.getPlane() so ladder/stair/trapdoor entries in the transport catalog are
matched across planes. Keep the null checks for origin/dest, but remove or relax
the plane comparison in both methods (isCatalogBackedTransportSegment and
matchesDirectedTransportCatalogEdge) so the transports lookup via
ShortestPathPlugin.getTransports().get(origin) and the subsequent anyMatch(t ->
Objects.equals(t.getDestination(), dest)) can find cross-plane entries.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 71742726-7964-4324-8dc6-db9014e08725
📒 Files selected for processing (2)
runelite-client/src/main/java/net/runelite/client/plugins/microbot/util/walker/Rs2MiniMap.javarunelite-client/src/main/java/net/runelite/client/plugins/microbot/util/walker/Rs2Walker.java
💤 Files with no reviewable changes (1)
- runelite-client/src/main/java/net/runelite/client/plugins/microbot/util/walker/Rs2MiniMap.java
- TSV rows can span planes; plane equality hid catalog match - Refresh client-thread guardrail baseline
No description provided.