Everything posted by The Undefeated
-
Get item ID's and prices by name
But as I said, the official GE API fails many times. I used it in one my scripts and it's horrible to use because of the wrong prices sometimes. That's why I think using the wiki is the way to go.
-
Abort offer if it has ... status
Simple snippet to abort all offers if they have status x. private boolean toAbortOffers() { return !getWidgets().containingActions(465,"Abort offer").isEmpty(); } private void abortOffers() throws InterruptedException { if (toAbortOffers()) { ArrayList<RS2Widget> toAbort = (ArrayList<RS2Widget>) getWidgets().containingActions(465,"Abort offer"); for (int i = 0; i < toAbort.size(); i++) { toAbort.get(i).interact("Abort offer"); int finalI = i; new ConditionalSleep(10000) { @Override public boolean condition() { return Arrays.asList(toAbort.get(finalI).getInteractOptions()).contains("Abort offer"); } }.sleep(); } sleep(random(800,1200)); getGrandExchange().collect(); } } If you see any improvements I could make, don't hesitate to comment. https://gyazo.com/bf50191011b0d8fd69b67ae4ea55da53
-
[Pc] Unique Rune Pure
A random dude creating an account to pricecheck his expensive account. no feedback not worth more than 20m is exactly the right answer to that. You won't get anymore on this forum.
-
Get item ID's and prices by name
OSBuddy price is way lower but their website is down 50% of the time. I checked this afternoon, and people in chat can confirm, the API price of bow strings were 281 each.
-
Get item ID's and prices by name
The prices of the RS Grand Exchange API are not always right. Take for example the price of a bow string (ID:1777) so wouldn't recommend that. I'll change that anytime soon.
-
buying a script
It's a security "feature" of PayPal, it might think your account got hacked.
-
Get item ID's and prices by name
I made a snippet which will cache all item prices and ID's out of an array in a list at the start of the script. If the price or ID isn't cached it will automatically add it. Usage:
-
Staff resignation
See this as an opportunity, not a failure. Get on with your life and don't regret your decisions. Good luck.
-
I've suspected this for long.
Pretty sure the dude has a Dragon longsword compared to your Dragon dagger.
-
Banned at strange time
Your theory is most likely right. Tut island botted accounts got banned within 24 hours for me.
-
Best way to bot
Enjoy your burrito.
-
Just my one eye'd cat having a snooze
Mine has 0.
- Download Issue
-
buying fresh lvl 3's out of tutorial
1k a week, so suicide botting? Otherwise I won't recommend buying them. @Lewis
-
[Dev Build] OSBot 2.4.119 - Patches
Looks good. And yeah I wrote my buy ghetto method in 5 min but was a temp fix and was able to get stuck at any moment and shouldn't actually be used. I hope the buyitem problem is fixed now. Good work.
-
Low CPU Mode
Makes it much easier and it does the same thing. I will improve mine to open the bank again if it isn't open in the next loop. I thought it had something to do with the buyItem bug on low CPU mode. I do. It happened only when using low CPU mode actually. Maybe because it takes longer to check certain methods, I have no idea.
-
Low CPU Mode
I already use enum states in multiple classes, but my Main class is still 350 lines long which I could improve. It gets stuck in a loop typing the name of the item it wants to buy. It thinks it didn't type because no items appear in the box (It should actually wait a bit longer) and starts typing again.
-
Low CPU Mode
I understand what you mean but you can't prevent the bot getting stuck in a method of the API can you?
-
Mirror/Stealth
It's maybe safer, but It's not fully supported by every script. For example dialogues don't work in Mirror Mode.
-
murgee auto clicker-ban rate-
Or you just could use gRandom.
-
Low CPU Mode
That's actually Task-based, not States right? I made my own ghetto buy Method for temp use, is not that hard to do. Script is working so gonna take my time to clean up all. Maybe I'll switch to Task-based instead of States.
-
Low CPU Mode
I'll try on improving that. But I'm pretty sure it will take too many if else statements in my script.
-
Can't switch boolean from another class
Some Java basics I completely forget sometimes, I am ashamed. Thanks both.
-
Low CPU Mode
I'll work on that. Here is a Gyazo of the problem accuring. https://gyazo.com/10b863bc29ea09ea472314a23114a1b1
-
Can't switch boolean from another class
I can't switch any booleans from another class. public class Main { public boolean hans = false; public int onLoop() { Processing p = new Processing(); p.exchangeContext(getBot(); log("Hans is" + hans); p.Loop(); return 500; } } public class Processing { public void Loop() { Main m = new Main(); m.exchangeContext(getBot()); log("Switching hans to true)" m.hans = true; } } As soon as I use this loop, the log will say: [INFO][Bot #1][04/03 04:14:29 PM]: Switching hans to true [INFO][Bot #1][04/03 04:14:29 PM]: hans is false Pretty sure it's some dumb mistake but I can't get it.