Support item mode in Rs2Bank method#1489
Conversation
…pawn times. - Added fuzzy gem bag support because I don't have an account to test this with. My implementation passes the eye test but will need actual testing.
…ragonstones, our gem bag will never be "completely full" (consisting of >= 60 gems of all 5 types) and could cause unnecessary fill attempts. Let's check the 4 types individually.
…to add-worldhopping-and-gem-bag
…checks, so starting with the bank open no longer tricks the script into WALKING/COOKING states without raw food to cook in the inventory. - BANKING state specifically checks the bank for raw food and handles withdrawals, then closes the bank. - Null check on Rogue's Den banker
…n (786458), even when switching to Item (786456), so setWithdrawAsItem() can never flip the mode, therefore never select Item mode.
WalkthroughThis PR updates multiple areas:
Possibly related PRs
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (4)
💤 Files with no reviewable changes (1)
🧰 Additional context used🧠 Learnings (3)📚 Learning: 2025-08-25T15:51:39.272ZApplied to files:
📚 Learning: 2025-08-25T06:45:09.673ZApplied to files:
📚 Learning: 2025-08-25T15:51:52.157ZApplied to files:
🧬 Code graph analysis (3)runelite-client/src/main/java/net/runelite/client/plugins/microbot/util/bank/Rs2Bank.java (1)
runelite-client/src/main/java/net/runelite/client/plugins/microbot/cooking/scripts/AutoCookingScript.java (1)
runelite-client/src/main/java/net/runelite/client/plugins/microbot/thieving/stalls/model/FortisGemStallThievingSpot.java (4)
⏰ 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)
🔇 Additional comments (13)
✨ Finishing Touches
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 |
Currently Rs2Bank.setWithdrawAs(boolean) always clicks the Note button (786458), even when switching to Item (786456), so setWithdrawAsItem() can never flip the mode, therefore never select Item mode.