Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

TheScrub

Members
  • Joined

  • Last visited

Everything posted by TheScrub

  1. started this 25 mins ago using this for twitch.tv will be adding more options on the interfaces later! using the pircbot api for irc bots the password is http://www.twitch.tv/amclay?chat_debug=true%29 include the "oauth:" as the password example oauth:123xa13213d12e2112e this would be you're password channel Download link will release source later: http://adf.ly/WJeA4
  2. TheScrub replied to TheScrub's topic in Snippets
    that's fine mate it's just a snippet i added some useless shit now that the banking api is up but meh
  3. using some one else's house
  4. just got this pic l adamant pickaxe
  5. TheScrub replied to TheScrub's topic in Archive
    I know that but i have not gotten a reply to my forum thread for over 7 days
  6. TheScrub replied to TheScrub's topic in Archive
    This is my first time reading about this, I never saw his old thread, so at least it's raising awareness for one person, possibly more. There isn't a need to bash people like this. only admins can see sdn requests on that section of the fourms He's trying to make aware the issue about a inactive administration team which solely comprises of Laz and Zac who mostly just work on osbot 2 or who knows what. The main admin hasn't been active for who knows how long. this..
  7. TheScrub posted a topic in Archive
    So I've posted a request to get a script up on the sdn I've talked to admins on the chat like zach,raf and even added raf on skype but raf can't do sdn uploads and to top that off the forum thread i've put up on the section has had 0 views,0 reply's in over 7 days from the admins
  8. TheScrub replied to Laz's topic in Releases
    java.lang.NullPointerException at org.osbot.script.rs2.ui.Bank.getCurrentScrollContainer(bi:721) at org.osbot.script.rs2.ui.Bank.isSlotVisible(bi:720) at org.osbot.script.rs2.ui.Bank.scrollToSlot(bi:802) at org.osbot.script.rs2.ui.Bank.withdrawSlot(bi:825) at org.osbot.script.rs2.ui.Bank.withdraw(bi:412) at org.osbot.script.rs2.ui.Bank.withdrawX(bi:246) Using the Banking api will not scroll down the bank anymore
  9. TheScrub replied to TheScrub's topic in Snippets
    Using colours to withdraw is pretty crude but it is one of the ways to work around this..
  10. TheScrub replied to TheScrub's topic in Snippets
    thanks for writing some methods sorry i would of wrote some withdrawing but i've been at school
  11. TheScrub replied to TheScrub's topic in Snippets
    turning this into a class and adding more methods
  12. TheScrub replied to TheScrub's topic in Snippets
    just updated it so it will use colour to detect the text and the * looks on all brightness's and public chat won't impact it
  13. TheScrub replied to TheScrub's topic in Snippets
    i like to use a while loop for sleeps but i don't like to use it in snippets obviously you can add sleeps... While loops are bad... please enlighten me why so? Because they have so many flaws. What if your bot gets stuck in a while loop whilst the evil chicken pwns ur ass? having something like that can counter getting stuck in a while loop as it will break out the while loop after 3000ms long t = System.currentTimeMillis(); while (boolean x && (System.currentTimeMillis() - t) < 3000) { sleep(20); }
  14. TheScrub replied to TheScrub's topic in Snippets
    i like to use a while loop for sleeps but i don't like to use it in snippets obviously you can add sleeps... While loops are bad... please enlighten me why so?
  15. TheScrub replied to TheScrub's topic in Snippets
    i like to use a while loop for sleeps but i don't like to use it in snippets obviously you can add sleeps...
  16. TheScrub posted a topic in Snippets
    tested search and bankIsOpen import org.osbot.script.Script; import org.osbot.script.rs2.ColorPicker; import org.osbot.script.rs2.ui.RS2InterfaceChild; public class Bank { Script script; public boolean bankIsOpen() { if (script.client.getInterface(12) != null) { RS2InterfaceChild searchbutton = script.client.getInterface(12) .getChild(20); if (searchbutton != null && searchbutton.isVisible()) { return true; } } return false; } public static void searchBank(String item) throws InterruptedException { RS2InterfaceChild button = Context.script.client.getInterface(12) .getChild(20); if (button != null) { button.interact("Search"); } ColorPicker text = new ColorPicker(Context.script.bot); if (text.colorAt(260, 431).getBlue() > 0 && text.colorAt(294, 403).getBlue() == 0) { Context.script.client.typeString(item); } } public static void depositInventory() throws InterruptedException { RS2InterfaceChild button = Context.script.client.getInterface(12) .getChild(22); if (button != null) { button.interact("Deposit inventory"); } } public static void depositWornItems() throws InterruptedException { RS2InterfaceChild button = Context.script.client.getInterface(12) .getChild(24); if (button != null) { button.interact("Deposit worn items"); } } private static Rectangle returnRectangle(int minX, int minY, int maxX, int maxY) { int height = maxY - minY; int width = maxX - minX; Rectangle r = new Rectangle(minX, minY, width, height); return r; } private static Point centrePointOfRectangle(int minX, int minY, int maxX, int maxY) { int centreGapY = (maxY - minY) / 2; int centreGapX = (maxX - minX) / 2; int Y = minY + centreGapY; int X = minX + centreGapX; Point centre = new Point(X, Y); return centre; } /* * only works for the first top four slots of the bank * you will need the brightness to be on the right colour * any other withdrawing can be done using the select option method * */ public static void withdrawOne(int green, int red, int blue) throws InterruptedException { ColorPicker bankitem = new ColorPicker(Context.script.bot); Point slot1 = (centrePointOfRectangle(74, 73, 102, 97)); Point slot2 = (centrePointOfRectangle(122, 73, 147, 97)); Point slot3 = (centrePointOfRectangle(170, 73, 192, 97)); Point slot4 = (centrePointOfRectangle(218, 73, 237, 97)); Point row[] = { slot1, slot2, slot3, slot4 }; for (Point p : row) { if (bankitem.colorAt(p.x, p.y).getRed() == red && bankitem.colorAt(p.x, p.y).getBlue() == blue && bankitem.colorAt(p.x, p.y).getGreen() == green) { Context.script.client .moveMouse( new RectangleDestination(new Rectangle( returnRectangle(p.x - 22, p.y - 22, p.x + 22, p.y + 22))), true); if (returnRectangle(p.x - 22, p.y - 22, p.x + 22, p.y + 22) .contains( Context.script.client.getMousePosition() .getLocation())) { Context.script.client.clickMouse(false); } } } } public static void logColours() throws InterruptedException { ColorPicker bankitem = new ColorPicker(Context.script.bot); if (Context.script.client.getInterface(12) != null) { RS2InterfaceChild searchbutton = Context.script.client .getInterface(12).getChild(20); if (searchbutton != null && searchbutton.isVisible()) { Point slot1 = (centrePointOfRectangle(74, 73, 102, 97)); Point slot2 = (centrePointOfRectangle(122, 73, 147, 97)); Point slot3 = (centrePointOfRectangle(170, 73, 192, 97)); Point slot4 = (centrePointOfRectangle(218, 73, 237, 97)); Point row[] = { slot1, slot2, slot3, slot4 }; for (Point p : row) { Context.script.log(" " + "Red " + bankitem.colorAt(p.x, p.y).getRed()); Context.script.log("Blue: " + bankitem.colorAt(p.x, p.y).getBlue()); Context.script.log("Green: " + bankitem.colorAt(p.x, p.y).getGreen()); } } } } }
  17. TheScrub replied to Sbregar97's topic in Archive
    Name:OSBot TeamSpeak Address:ts101.light-speed.com:8064
  18. whats the status of getting it on the SDN? no reply from skype or forums yet...
  19. lol tab making with the +2 from tea for best lectern...
  20. does you're laptop have jdk installed on it?
  21. TheScrub replied to TheScrub's topic in Snippets
    thanks i didn't know they updated the bank api to get item by name if you check my older snippets... thanks though!
  22. just updated my list with 5-6 more artists! and no i am not talking about sandwich artists!
  23. it's not really a comp it's more of a collection of all underrated rap/hip hop he's pretty good nice flow
  24. yer schoolboy q is dope i just didn't want to mention many people that were on the xxl mag cover
  25. Don't care for them at all. But TheScrub I Love it all man if shit like that were to get played on the radio I think this Generation might stand a chance.. But hey it least they got there... yer when i go to school or when i go out and people are playing some music i'm like wtf is this shit there like i can't believe you haven't heard it... when it's complete garbage fuck mainstream radio luckly in aus we got some real radio channels.. (not many though)

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.