Everything posted by Pryzm
-
post ur cat
- Explv's Scripting 101
Just tried to write a simple chopper&banker in Draynor, the script is only chopping one tree and then won't do anything else. Could you help? import org.osbot.rs07.api.map.Area; import org.osbot.rs07.api.map.constants.Banks; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.api.ui.RS2Widget; import org.osbot.rs07.script.MethodProvider; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.utility.ConditionalSleep; import java.util.function.BooleanSupplier; @ScriptManifest(name = "Draynor Cutter&Banker", author = "Pryzm", info = "Chops and Banks in Draynor village", version = 1, logo = "") public final class DraynorCutter extends Script { private final Area eastTrees = new Area(3098, 3247, 3102, 3239); @Override public final int onLoop() throws InterruptedException { if (canChopTreeDown()) { chop(); } else { bank(); } return random(150, 200); } private void chop() { if (!eastTrees.contains(myPosition())) { getWalking().webWalk(eastTrees);{ Entity tree = getObjects().closest("Tree"); if (tree != null && tree.interact("Chop down")) { new Sleep(() -> myPlayer().isAnimating() || !tree.exists(), 5000).sleep(); } } } } private boolean canChopTreeDown() { if (!eastTrees.contains(myPosition())); return false; } private void bank() throws InterruptedException { if (!Banks.DRAYNOR.contains(myPosition())) { getWalking().webWalk(Banks.DRAYNOR); } else if (!getBank().isOpen()) { getBank().open(); } else if (!getInventory().isEmptyExcept("Logs")) { getBank().depositAll("Logs"); } else { stop(true); } } } class Sleep extends ConditionalSleep { private final BooleanSupplier condition; public Sleep(final BooleanSupplier condition, final int timeout) { super(timeout); this.condition = condition; } @Override public final boolean condition() throws InterruptedException { return condition.getAsBoolean(); } public static boolean sleepUntil(final BooleanSupplier condition, final int timeout) { return new Sleep(condition, timeout).sleep(); } }- Need a price check on this account.
I'd say 40-50m.- Stealth Quester
Noticing an error, doesn't seem to be able to use an item with another. For example using the ashes on the Fruit blast in the cook's quest to create a Dirty Blast, or using the coin on the Asgarnian Ale to produce a Asgoldian Ale. ERROR][Bot #1][03/01 03:16:06 PM]: Error in bot executor! java.lang.AbstractMethodError: client.getSelectedItemName()Ljava/lang/String; at org.osbot.rs07.api.Inventory.getSelectedItemName(ue:59) at org.osbot.rs07.event.InteractionEvent.execute(uk:395) at org.osbot.rs07.event.EventExecutor$2.run(yk:210) at org.osbot.rs07.event.EventExecutor.execute(yk:19) at org.osbot.rs07.api.util.ItemContainer.interact(fi:365) at org.osbot.rs07.api.util.ItemContainer.interact(fi:486) at api.cOm4.a(fi:806) at i.LpT3.a(sf:25) at api.aux.K(ao:153) at java.util.ArrayList.forEach(Unknown Source) at api.aux.a(ao:67) at api.com5.a(dl:197) at l.coN.K(gi:149) at api.prn.a(zh:103) at j.coN.onLoop(oj:170) at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(hj:225) at java.lang.Thread.run(Unknown Source) [WARN][Bot #1][03/01 03:16:19 PM]: Event executor is taking too long to suspend; terminating now... [ERROR][Bot #1][03/01 03:16:19 PM]: Caught thread death in EventExecutor [ERROR][Bot #1][03/01 03:16:19 PM]: Caught thread death in EventExecutor- Cryptocurrency questions
Exodus was my favourite, I float between that, coinbase and the exchanges that I've bought from.- I guess this is the "aggressive marketing" people are talking about
Not quite, but if you chose to download and run the .exe/.jar you might have one.- Buying f2p starter pure - Read
Can't use cannonballs on f2p accounts GL.- A Beginners Guide to Writing OSBot Scripts (where to get started!) by Apaec
Going to sweat this out over the weekend, thanks for the resources apa.- just wondering PKready ZERKER
- obby tank
- Explv's Scripting 101
I'm so keen to learn how to script, give me a few weeks and I hope to have my footing.- I guess this is the "aggressive marketing" people are talking about
It's a java driveby.- ?Regicide series questing needed?
I'll do the Mage arena 2 capes for 10m + 1m for every spell that needs unlocking + you supply resources.- RS3 ACC
I had a quick look over on PlayerAuctions (I know, they're overpriced there), anyays. Looking at 65-85m.- Starter Zerker
I'd give a valuation of around 40m, due to the fact you have no trust rating.- Preventing RS Botting Bans V3
He's talking in terms of wanting to bot a level 3 - main status.- APA Script Trials
Just want to comment on both the rock and sand crabs scripts, bought them today and loving them.- Excellent Dragons
Can you stop it from hopping to bounty hunter worlds? Makes it a bit scary when killing greens.- Level 110 Main Account
I'd give a valuation of around 120m, that's a little on the cheap side, but it could be used for a zulrah account.- pc on 2k+ total main.
550m due to how trusted @Fratem is.- PC Main Acc
Great account! Somewhere around 200m would be expected!- pc 66 mage accounts
Usually go for around 5m.- Price check my alt
I'd give a valuation of 80m.- PC account
- PC mith gloves g mauler.
I'd give a valuation of 45m. - Explv's Scripting 101