Rs2Walker handleFairyRings improvements#1496
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the WalkthroughThis change overhauls Rs2Walker’s transport and fairy ring handling. Fairy rings now support last-destination actions, interface configuration, slot rotation via new rotation routines, and arrival detection via graphics/world checks. A broad transport framework is added: route analysis (direct vs banked), transport discovery/preparation for destinations and paths, banking workflows (withdraw then continue), and handlers for ships/boats/minigames/canoes/gliders/POH. New utilities include transport item checks, missing-item computation, teleport-item detection, spell rune requirements, area checks, performance logging, world map closing, and public APIs for reachability and nearest accessible targets. Possibly related PRs
Pre-merge checks (1 passed, 2 warnings)❌ Failed checks (2 warnings)
✅ Passed checks (1 passed)
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: 3
🧹 Nitpick comments (1)
runelite-client/src/main/java/net/runelite/client/plugins/microbot/util/walker/Rs2Walker.java (1)
2544-2544: Make the graphic ID a constant.Minor polish: this is a constant; mark final and use screaming case.
Apply:
- private static int fairyRingGraphicId = 569; + private static final int FAIRY_RING_GRAPHIC_ID = 569;And update references accordingly.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
runelite-client/src/main/java/net/runelite/client/plugins/microbot/util/walker/Rs2Walker.java(1 hunks)
🧰 Additional context used
🧬 Code graph analysis (1)
runelite-client/src/main/java/net/runelite/client/plugins/microbot/util/walker/Rs2Walker.java (5)
runelite-client/src/main/java/net/runelite/client/plugins/microbot/util/poh/PohTeleports.java (1)
PohTeleports(34-231)runelite-client/src/main/java/net/runelite/client/plugins/microbot/util/gameobject/Rs2GameObject.java (1)
Rs2GameObject(36-2010)runelite-client/src/main/java/net/runelite/client/plugins/microbot/util/equipment/Rs2Equipment.java (1)
Rs2Equipment(27-485)runelite-client/src/main/java/net/runelite/client/plugins/microbot/util/inventory/Rs2Inventory.java (1)
Rs2Inventory(46-2324)runelite-client/src/main/java/net/runelite/client/plugins/microbot/util/player/Rs2Player.java (1)
Rs2Player(67-2076)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Build
Reworking some of the logic to not return out of the handle interaction after using 'last-destination' but always make sure that we wait for the player's fairyring graphics to disappear.