pharaoh 131 Posted November 16, 2022 Hello DB community, Writing a script to mine at the Isle of Souls. Mining is fine but the script does not walk to the Soul Wars Lobby nor back to the quarry. I believe it is due to no web nodes on the island, but this is just a theory. What would be the proper way to approach this situation? banktask; public class BankTask extends TaskNode { private final Area soulsBankArea = new Area(2210, 2860, 2214, 2857); private Tile bankTile = new Tile(2212, 2859, 0); private Tile quarryTile = new Tile(2193, 2797, 0); @Override public boolean accept() { return Inventory.isFull(); } @Override public int execute() { if (Inventory.isFull()) { if (Walking.shouldWalk()) { Walking.walk(bankTile); PMiner.status = "walking to bank"; log("[info] walking to bank"); } //Sleep.sleepUntil(() -> soulsBankArea.contains(Players.getLocal()), 5000); } return Calculations.random(600, 900); } }
Pandemic 2817 Posted November 16, 2022 I've just mapped that area so starting on your next script start it should be supported. In the future you can add your own via the WebFInder class, I think there are some guides on the forums somewhere.
pharaoh 131 Author Posted November 16, 2022 2 hours ago, Pandemic said: I've just mapped that area so starting on your next script start it should be supported. In the future you can add your own via the WebFInder class, I think there are some guides on the forums somewhere. thats what i figured- it is not a commonly traversed area. i believe it was Hashtag who wrote a bit on another thread, i will try to find that that again thanks for confirming :
pharaoh 131 Author Posted November 17, 2022 On 11/15/2022 at 7:49 PM, Pandemic said: I've just mapped that area so starting on your next script start it should be supported. In the future you can add your own via the WebFInder class, I think there are some guides on the forums somewhere. Just quoting you on this to confirm that it is working now! Phaaat bet, thanks sir.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.