Everything posted by harrypotter
-
Few questions
I've no idea what you're asking in your first question. As for getting the amount of an item your inventory has: inventory.getAmount("raw shrimps"); All this is well documented in the API docs: https://osbot.org/api/
-
CHEAP GFX WEEKEND
Could use a Sig + Avatar, hit me up on skype: live:phatslime
-
Tracking which fighting style is active
@Explv just recently gave me a really cool snippet that has methods that will help you. //Credits to Explv //Main class private Skill currentAttStyle; private void setAttackStyle(final Skill attackStyle) { Event attStyleEvent = new AttackStyle(attackStyle.toString()); execute(attStyleEvent); if (attStyleEvent.hasFinished()) { currentAttStyle = attackStyle; } } //AttackStyle class public class AttackStyle extends Event { private final int attackStyleParent = 593; private final int[] attackStyleChildren = {3, 7, 11, 15}; private final String xpType; private int attackStyleToCheck = 0; public AttackStyle(final String xpType) { this.xpType = xpType; } @Override public int execute() throws InterruptedException { if (getTabs().getOpen() != Tab.ATTACK) { getTabs().open(Tab.ATTACK); return 0; } RS2Widget attackStyleWidget = getWidgets().get(attackStyleParent, attackStyleChildren[attackStyleToCheck]); if (attackStyleWidget == null) { setFailed(); return 0; } if (!attackStyleWidget.hover()) { return 0; } sleep(random(500, 600)); if (getWidgets().singleFilter(attackStyleParent, widget -> widget.getMessage().matches(".*\\(" + xpType + " XP\\)$")) == null) { attackStyleToCheck++; if (attackStyleToCheck >= attackStyleChildren.length) { setFailed(); } return 0; } Rectangle widgetBounds = attackStyleWidget.getBounds(); double colorX = widgetBounds.getMinX() + 5; double colorY = widgetBounds.getMinY() + 5; if (getColorPicker().colorAt((int) colorX, (int) colorY).getRed() > 100) { log("Already selected"); setFinished(); return 0; } if (attackStyleWidget.interact()) { setFinished(); } return 0; } } Full credit goes to @Explv
-
Get Widget Hover Text
I want to know what skill the attack style will train. For example the OP image shows that this style will gain Attack XP
-
Get Widget Hover Text
So I am able to find the widget by text as long as it's visible. So I have to hover the attack style first so that the widget becomes visible before looking.
-
Get Widget Hover Text
Thanks, I'll see what I can find
-
Get Widget Hover Text
There's nothing inside the widget debugger that contains this information either that I could find so I'm assuming I can't get it, thought I'd see if any of the guru's here know a secret method
-
Get Widget Hover Text
Is it possible to get the hover text for a widget like so: I've tried getting the tooltip value however this isn't correct. Thanks!
-
30-50 agility or full graceful
Doubt you'll get full graceful at 50 agility, more like 60-70. At least it was on all my accounts
-
Withdraw items in an array
Use a HasMap: https://osbot.org/api/org/osbot/rs07/api/Bank.html#withdraw-java.util.HashMap- Pretty sure if you set the amount > the amount you have it will withdraw all.
-
Nurvael got unbanned while threatening to scamquit
- Happylord7 [Offsite ban]
Disputed member: https://osbot.org/forum/profile/257974-happylord7/ Thread Link: N/A Explanation: Banned on sythe and possibly pb Evidence: https://www.sythe.org/threads/happylord7-off-site-ban/ Skype mentioned on the sythe report matches the skype he sent me here:- Need Quests
Need the following quests + any level reqs on 2 fresh level 3 accounts. Waterfall Grand Tree Tree Gnome Village Please let me know your prices- Potter's Sand Crabs 「COMING SOON」「TASK MODE」「WORLD HOPPING」「SUPPORTS ANY FOOD」
Some development version testing:- Tesla scam quit
This guy literally just paid @Decode like 30m to help with Jamez scam quit as well, is he mentally challenged? Donates to help people that were scammed -> proceeds to scam quit lol- Admin reveal: Maldesto
- APA Rune Sudoku
Goodluck with this project, it looks sick!- Price Check - Maxed Main
How much is the following account worth:- GUI
I personally use: https://www.formdev.com/- Potter's Sand Crabs 「COMING SOON」「TASK MODE」「WORLD HOPPING」「SUPPORTS ANY FOOD」
If you're interested in helping test this before release please drop me a pm- Website detects Proxy and SSL VPN
Maybe they're detecting that the IP you're accessing from belongs to a hosting company, which would suggest that you're using a proxy or VPS/Dedicated server to his your real IP. What's the site in question?- Potter's Sand Crabs 「COMING SOON」「TASK MODE」「WORLD HOPPING」「SUPPORTS ANY FOOD」
Thank you!- Potter's Sand Crabs 「COMING SOON」「TASK MODE」「WORLD HOPPING」「SUPPORTS ANY FOOD」
Potters Sand Crabs PLANNED FEATURES: Task Mode - Progressive leveling Multiple crab spots Hop worlds if crashed Special attack support Resets aggro Moves mouse outside screen when possible Combat potion support Banking support to resupply Script Progress Screenshots- Does Osbot staff use their brain before ranking someone?
Didn't you step down- DO NOT TRADE JAMEZ
All makes sense now: - Happylord7 [Offsite ban]