-
Posts
397 -
Joined
-
Last visited
-
Feedback
100%
Everything posted by harrypotter
-
Sold planks and then continued the run as I still had enough logs left. If you stop the script then start again enabling Restock on startup does it sell the planks?
-
I'll test this just now!
-
Quick update to fix an issue with getting the price data for Mahogany planks: PottersPlanker.jar
-
Sure I'll add Stamina and Super Energy support!
-
Here's a quick proggie: Was running Teaks.
-
I didn't take any over my testing, I've a few bots running it just now however so I'll post a proggie of mine in a few hours!
-
Potter's Planker is a free script that supports Oak, Teak and Mahogany logs via the Varrock sawmill. This script will only run using Varrock teleport tabs as a banking method. Features: - Walks to and from the sawmill - Teleports to Varrock using Varrock teleport tabs - Supports restocking at GE once you are out of logs, money, or Varrock tabs FAQ: Q: Where do I start this script? A: Start anywhere in Varrock, don't worry about your inventory, the bot will automatically bank for you, or restock if you have GE mode enabled. Q: What is the logic behind restocking? A: The script will automatically buy logs using 30% of your available gp, then buy enough Varrock tabs to cover the amount of logs. This leaves the remaining gp for the sawmill costs. Note: The script will never hold more than 4800 logs at one time, I done this as I like to mule the excess gp, 4800 logs will last roughly 4-5 hours without the need to restock again. Q: What are Plank Sell Multiplyer, Log Buy Multiplyer and Tab Buy Multiplyer? A: These settings apply only when GE mode is enabled. Each multiplyer defines the price of the item you are buying/selling. For example the price of Oak logs is 132, if we have Log Buy Multiplyer set to 1.05 the script will pay 5% more than the GE price (132 * 1.05 = 138.6) this is then rounded to 139. Proggies: Running Teak Planks: Running Mahogany Planks: PottersPlanker-v1.1.jar If you use this script please post your proggies
-
I'm using the following as an example to find any Stamina pots in my bank: if (getBank().contains(item -> item.getName().startsWith("Stamina potion"))) { if (getBank.withdraw(item -> item.getName().startsWith("Stamina potion"), 1)) { // This always withdraws the first match, which in my case is Stamina potion(4) (I assume this is because it's the first stamina pot in my bank). } } How would I instead find the lowest dose potion first, without reordering the bank. Thanks!
-
Which class in the API would help me identify if I need to drink a stamina pot or not? I had a look through the API can't seem to find anything that will give me the result I'm looking for. Thanks.
-
Thanks for your help! I changed to the following which has resolved the issue: private Area varrockSquare = new Area(3205, 3436, 3221, 3421); private Area sawmill = new Area(3296, 3495, 3308, 3484); if (sawmill.contains(myPosition())) { if (inventory.interact("Break", 8007)) { new util.Sleep(() -> varrockSquare.contains(myPosition()), 10000).sleep(); } } else { getWalking().webWalk(Banks.VARROCK_EAST); }
-
new util.Sleep(() -> varrockSquare.contains(myPosition()), Script.random(1500, 2500)).sleep(); This gives me the same error as well
-
Yes you would be correct I'll correct that and test, thanks again!
-
private Area varrockSquare = new Area(3205, 3436, 3221, 3421); if (inventory.interact("Break", 8007)) { new util.Sleep(() -> !varrockSquare.contains(myPosition()), Script.random(1500, 2500)).sleep(); } getWalking().webWalk(Banks.VARROCK_EAST); Still gives me the same error, can someone confirm that is correct? * Using @Explv Sleep class found here: https://osbot.org/forum/topic/115124-explvs-scripting-101/
-
inventory.interact("Break", 8007); getWalking().webWalk(Banks.VARROCK_EAST); After the tab is clicked I get the following error in log: WebWalkingEvent; Terminated! Exceeded attempt threshold. How can I prevent this?
-
Can I get a trial please?
-
Can I get a trial please?