Everything posted by harrypotter
-
Potter's Planker [GE Support]
Stamina's are not supported at this time but it's on my todo list. Link works for me, can you try this: PottersPlanker-v1.1.jar
-
Potter's Tanner [GE Support]
Unfortunately not, this was mainly aimed towards f2p throwaway accounts
-
Quests
This is great however I can't seem to check if a quest is actually started or not: if (!script.getQuests().isStarted(Quests.Quest.IMP_CATCHER)) { } According to the API this should return a boolean: https://osbot.org/api/org/osbot/rs07/api/Quests.html#isStarted-org.osbot.rs07.api.Quests.Quest- This is however throwing the following error: [ERROR][Bot #1][03/21 01:41:24 PM]: Error in script executor! java.lang.NullPointerException at ImpCatcher.run(ImpCatcher.java:20) at Quest.run(Quest.java:66) at Main.onLoop(Main.java:88) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ih:18) at java.lang.Thread.run(Thread.java:745) This would suggest that the following param is null: Quests.Quest.IMP_CATCHER Am I missing something obvious here? Edit:- This was a problem with my class, resolved.
-
Quests
Great, again thanks for you help!
-
Quests
Brilliant, I'll look into this. Thanks!
-
Quests
How do you find these configs, is it documented in the API?
-
Quests
I'd disagree, I have a software development background and I know from first hand experience that trying to shift bad habits isn't easy, why not kill those bad habits before they develop?
-
Quests
Certainly isn't however I'd like to know the "proper" way to achieve this. I'd like to know the best practice
-
Quests
There's has to be another method to it as I've used @Token's Quest Script on a trial and it didn't have to check this kind of thing, so reluctant to implement such a method.
-
Quests
I'm continuing on with my learning on how to use the API, I'm currently looking into how to detect the current progress of a quest. I can see via the API that I can check if is quest is complete or started however I can't find anything that will assist in tracking the current progression of a quest? Thanks for your help!
-
Potter's Tanner [GE Support]
Potter's Tanner is a free script that supports Soft, Hard, Green Dragon, Blue Dragon, Red Dragon and Black Dragon leather via Ellis in Al Kharid. Features: - Walks to and from Ellis in Al Kharid - Supports restocking at GE once you are out of hides, or money FAQ: Q: Where do I start this script? A: Start anywhere in Al Kahrid or in GE if you are restocking on startup, 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 hides using 90% of your available gp, this leaves the remaining gp for the tanning costs. Q: What are Output Sell Multiplyer and Input 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 Hard Leather is 212, if we have Output Sell Multiplyer set to 1.05 the script will sell for 5% more than the GE price (212 * 1.05 = 222.6) this is then rounded to 223. Proggies: Running Soft Leather: PottersTanner-v1.3.jar If you use this script please post your proggies
-
Potter's Planker [GE Support]
A fix was pushed for this yesterday, can you update to v1.1 please
-
Potter's Planker [GE Support]
Can you send me a screenshot of your inv/bank as well as letting me know what settings you are running?
-
Potter's Planker [GE Support]
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?
-
Potter's Planker [GE Support]
I'll test this just now!
-
Potter's Planker [GE Support]
Quick update to fix an issue with getting the price data for Mahogany planks: PottersPlanker.jar
-
Potter's Planker [GE Support]
Sure I'll add Stamina and Super Energy support!
-
Potter's Planker [GE Support]
Here's a quick proggie: Was running Teaks.
-
Potter's Planker [GE Support]
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 [GE Support]
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
-
item.getName().startsWith("Stamina potion") - Find in order of dose
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!
-
Check if stamina potion active
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.
-
Webwalking error
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); }
-
Webwalking error
new util.Sleep(() -> varrockSquare.contains(myPosition()), Script.random(1500, 2500)).sleep(); This gives me the same error as well
-
Webwalking error
Yes you would be correct I'll correct that and test, thanks again!