-
Posts
7986 -
Joined
-
Last visited
-
Days Won
58 -
Feedback
100%
Everything posted by Swizzbeat
-
It would be a lot harder to jerk off let me tell ya. I just tried O_o
-
Looks great! Now add it to the version we can test
-
For the love of God tell me who that is.
-
I like the tities in your ava.
-
The OSBot methods are slow and unreliable so I wrote my own. Thanks to @TheScrub for cluing me in on what interface in the bank had the items! public boolean bankContains(int item) { for (Item i : sI.client.getInterface(12).getItems(6)) { if (i != null && i.getId() == item) { return true; } } return false; } public boolean bankContains(String item) { for (Item i : sI.client.getInterface(12).getItems(6)) { if (i != null && i.getName().equalsIgnoreCase(item.toLowerCase())) { return true; } } return false; } public boolean rightClickBankItem(int item) throws InterruptedException { if (!bankContains(item)) { return false; } int slot = sI.client.getBank().getSlotForId(item); if (!sI.client.getBank().isSlotVisible(slot)) { sI.client.getBank().scrollToSlot(slot); } Rectangle rect = sI.client.getBank().getAbsoluteSlotPosition(slot); sI.client.moveMouseTo(new RectangleDestination((int) rect.getX(), (int) rect.getY(), (int) rect.getWidth(), (int) rect.getHeight()), false, true, true); return sI.client.isMenuOpen(); } public boolean rightClickBankItem(String item) throws InterruptedException { if (!bankContains(item)) { return false; } int slot = sI.client.getBank().getSlotForId(sI.client.getBank().getItemForName(item).getId()); if (!sI.client.getBank().isSlotVisible(slot)) { sI.client.getBank().scrollToSlot(slot); } Rectangle rect = sI.client.getBank().getAbsoluteSlotPosition(slot); sI.client.moveMouseTo(new RectangleDestination((int) rect.getX(), (int) rect.getY(), (int) rect.getWidth(), (int) rect.getHeight()), false, true, true); return sI.client.isMenuOpen(); } public boolean selectOpenMenuOption(String option) throws InterruptedException { if (sI.client.isMenuOpen()) { List<Option> options = sI.client.getMenu(); for (int i= 0; i < options.size(); i++) { if (options.get(i).action.equalsIgnoreCase(option.toLowerCase())) { return sI.client.moveMouse(new RectangleDestination(sI.client.getMenuX(), sI.client.getMenuY()+19+(i*15), sI.client.getMenuWidth(), 15), false); } } } return false; } public boolean withdraw(int id, int amount) throws InterruptedException { if (!bankContains(id)) { return false; } if (rightClickBankItem(id)) { if (sI.client.isMenuOpen()) { List<Option> options = sI.client.getMenu(); for (int i= 0; i < options.size(); i++) { if (options.get(i).action.equalsIgnoreCase("withdraw-" + amount)) { return sI.client.moveMouse(new RectangleDestination(sI.client.getMenuX(), sI.client.getMenuY()+19+(i*15), sI.client.getMenuWidth(), 15), false); } else if (options.get(i).action.equalsIgnoreCase("withdraw-x")) { sI.client.moveMouseTo(new RectangleDestination(sI.client.getMenuX(), sI.client.getMenuY()+21+i*14, sI.client.getMenuWidth(), 10), false, true, false); sI.sleep(MethodProvider.random(615, 963)); sI.client.typeString(Integer.toString(amount)); return true; } } } } return false; } public boolean withdraw(String name, int amount) throws InterruptedException { if (!bankContains(name)) { return false; } if (rightClickBankItem(name)) { if (sI.client.isMenuOpen()) { List<Option> options = sI.client.getMenu(); for (int i= 0; i < options.size(); i++) { if (options.get(i).action.equalsIgnoreCase("withdraw-" + amount)) { return sI.client.moveMouseTo(new RectangleDestination(sI.client.getMenuX(), sI.client.getMenuY()+21+i*14, sI.client.getMenuWidth(), 10), false, true, false); } else if (options.get(i).action.equalsIgnoreCase("withdraw-x")) { sI.client.moveMouse(new RectangleDestination(sI.client.getMenuX(), sI.client.getMenuY()+19+(i*15), sI.client.getMenuWidth(), 15), false); sI.sleep(MethodProvider.random(615, 963)); sI.client.typeString(Integer.toString(amount)); return true; } } } } return false; }
-
Make me a free ava and/or signature?? Preferrably with a wolf and blue/white color scheme.
-
Unless you enjoy 90% CPU usage per tab then consider yourself lucky you DON'T have access to it.
-
Where do I start Script writing all together?
Swizzbeat replied to ashleyg48's topic in Software Development
Highly recommend those ^^^^^ Also check out this forum http://osbot.org/forum/forum/180-tutorials/ -
Well technically it's a type ;)
-
:troll1:
-
Credits to Swizzbeat ;)
-
Gimme -69 pls
-
Those dick sucking lips doe.
-
My current one is just hideous because of all my scripts, so I'm looking for a new one that can display them all in an appealing manner. I would also prefer if this picture could be implemented to grab peoples attention: I would prefer it to be animated to scroll through all my scripts (ALONG WITH THIS SEXY ASS) but if not that's fine!
-
I've never been so bored. Heres some excellent photoshop
Swizzbeat replied to Sky's topic in Spam/Off Topic
I lol'd. Funny thing is I've actually been compared to Taylor Lautner irl for my dashingly good looks and massive cock size. -
Just get a 6 hour prog. Especially with woodcutting that's so easy.
-
To bad that song cannot get any gayer. Wannabe ghetto ass ********a.
-
As I stated on the other like 5 threads about this, just implement a rule that before a scripter can release another premium script they need to update their existing ones. I do however feel some of the scripts on that list, like the simple looters, should remain banned.
-
They should implement this for staff members, as people are always curious if staff are in the room or not.
-
I agree, soda is freaken disgusting. I remember when I wanted to drink diabetes....
-
Support, I'm pretty sure Sythe does this.
-
I'm sorry, but being one of the people with the BETA I can say this won't be out for awhile.