Skip 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.

Explv

Scripter II
  • Joined

  • Last visited

Everything posted by Explv

  1. It's going to be tough to scam when you're just a greyname. And so far you've only made $35 in 3 months by scamming. So you'd probably be better off getting a job at McDonald's or something
  2. So in protest of being banned for scamming... you're going to scam?
  3. Will push a new version tonight
  4. I believe this would also work: getPlayers().filter(new AreaFilter(area)).size();
  5. Try: String[] command = {"java", "-jar", "osbot.jar", "-login", "\"\\\"The Undefeated\\\":password\""};
  6. "-login" and "username:password" should be two separate items in the array: String[] command = {"java","-jar","osbot.jar","-login", "\"The Undefeated\":password"};
  7. The ProcessBuilder constructor accepts either a List<String> or String... Each item in the List or String[] is one parameter of the command. So, for example: List<String> command = new ArrayList<>(); Collections.addAll(command, "java", "-jar", "/path/to/osbot.jar", "-script", "890:none"); ProcessBuilder pBuilder = new ProcessBuilder(command); or String[] command = {"java", "-jar", "/path/to/osbot.jar", "-script", "890:none"}; ProcessBuilder pBuilder = new ProcessBuilder(command); or ProcessBuilder pBuilder = new ProcessBuilder("java", "-jar", "/path/to/osbot.jar", "-script", "890:none");
  8. Tested and seems to work: ProcessBuilder processBuilder = new ProcessBuilder("java", "-jar", "/home/user/explv/Downloads/OSBot 2.4.121.jar"); processBuilder.start();
  9. Explv replied to GaetanoH's topic in Scripting Help
    Would be better if you posted what you have tried, what doesn't work, and let us help you that way.
  10. Should add link to profile(s) @Influx @influx2
  11. That would just drop normally? The only reason I specified the array of indices was to drop in the order OP wanted.
  12. No idea why you would want to do this (assumes shift drop enabled): private void funkyDropAll(final String itemName) throws InterruptedException { getKeyboard().pressKey(VK_SHIFT); for (int i : new int[]{0, 4, 1, 5, 2, 6, 3, 7, 8, 12, 9, 13, 10, 14, 11, 15, 16, 20, 17, 21, 18, 22, 19, 23, 24, 25, 26, 27}) { Item item = getInventory().getItemInSlot(i); if (item != null && item.getName().equals(itemName)) { getInventory().interact(i); MethodProvider.sleep(random(20, 25)); } } getKeyboard().releaseKey(VK_SHIFT); }
  13. Yes they can, but they shouldn't, it's bad practice. When you know that a null value is possible, you should use control flow statements to handle it. Again, exceptions should be used for exceptional circumstances. Using try & catch for program flow in a non-trivial scenario can even decrease performance due to the overhead of garbage collection. If you want to create a variable to hold the interact options, go ahead, I personally did not feel the need to micro-optimise every little bit of this code, which will likely only ever be called once in a script.
  14. Exceptions are supposed to be used in exceptional circumstances, not for normal flow control. It is the best practice in my opinion to null check here.
  15. getMessage()
  16. Explv replied to Wife's topic in Spam/Off Topic
    Shouldn't you have dbname= before the database name in the dsn?
  17. Thanks for the list, I wasn't aware that so many have been and gone. I guess I didn't really consider major game updates. In that case I think basic OSBot official scripts could be a good idea, to introduce some long term stability in the script market. I think most of the community will support your idea, as they have no real reason not to, the only people who are likely to oppose it are the scripters who's sales will be affected, I can imagine they won't be too happy. It will be interesting to hear their opinions.
  18. You can't really avoid the scripter leaving, and their scripts breaking issue (unless you write them all yourselves of course). I'm not sure that developing your own basic SDN scripts will make any difference, because it is probably more of an issue for niche scripts. I wouldn't have thought that the premium scripts that have been around for a while, especially the ones for basic resource collection are likely to break significantly in the future. Correct me if I am wrong however, as I haven't really been following them. Could you maybe provide some examples of premium scripts with a reasonably large user base, in those categories, that were removed from the store?
  19. What updates would you want them to make then?
  20. I'm aware of these issues, I'll get to them when I can
  21. This would be better: !myPosition().equals(afkspot);
  22. If you want to walk to an exact position you will need to use a custom WalkingEvent and change the distance threshold to 0. By default the value is 3, which means the player will stop walking when <= 3 tiles away from the destination (getWalking().walk() just uses the default settings) WalkingEvent walkingEvent = new WalkingEvent(afkspot); walkingEvent.setMinDistanceThreshold(0); execute(walkingEvent);
  23. Explv replied to politje's topic in Spam/Off Topic
    s̷̟͙͙͍͚̘̐͒̀̐ͣͪ̀̓̐̃̈́̉͋ͤ̂ͮͧ͘͜d̷̷̬͈̗̗͎̗̲̱͙̟̙̊̅̈́̽͝f͈͚̯̺̺̮̲͍̪͖͛̀́̀͂̾̌ͣ̎̑̕͢͞ͅs̋͊͌͐͆̔͂҉̛͏̡̺̩̳̜͙̰͙͖̼̣̯̳űͧ̍̃ͭ͆̓̕͠҉͎̱̻̥͓̕͢i͓̺͖͙̝͉͈͕̮͛̂̾̾ͪͨ̅͛ͬ̇̐̔́̚ͅş̸̠̣̖̺͎̺̬̖̰̗̙̳̠̩̪̜̩̪́̊̋͋̃ͧͪ͢͟͡ḩ͓̙̮͈̯̜̔̎̓͊̈͌ͮ͛̒̒ͨ̓ͯ́ͫ͟͠ͅf̷̶͎̥̬̖̳̂ͧ̈ͨ͒ͧ͛̈̄̀i̵̢̬̟̺̻͉͔̟͈̯̼͈̫ͨͣ̀̒̐ͨͬ͊ͪͧ͆ȗ̷̶͕̱̭̟̹̥̭͖͓̰̰͓͍̖̥͚ͪ͐̈́́̊̍͌ͥ̐̀͠h̷̡̞̩̤͚̲̬̻̠̫͚̫̣́̽̃̎̉̐̾̆͋ͪ́͟s̛̹͈̪̼ͣͩ̅͂̿̃̓̐͆̎̈̋͑ͫͮ́d̴̷̨̝̭̪̠͇̲̩͙̜̜̗͑̎ͨͥͭͭ͋ͧͩ̂̌̔̋̎͜͜i̶̮͍̗͓̜̼̫͓̖̗̜̖̦̜̩̹̹̒̄̇̎̄́͒̽̊ͣ̀̈̇́ͬͣ̓̀̚͘͟u̴̫̞̣̜̥̫̲̱̥͓̱͈̣͍̣̙͎͛ͥ̊̆̆̓̏ͪ͊̀͢͝ͅf̷̵͇͙͎̣̬̆̉ͪ͆̃͗ͥ͊̓͂̀̆̌ͥͪ̀͘ḩ̴̵̝̦͎̫͔͔̓̃̏̾̽ͨ̓̾͜͝ų̵̺̤̯͖̜̤̲͇̜͔͙̺̠̯͓̬̝̤̗̓ͨ̋ͯͥ̈́͂ͯͪ̊ͭ̿̑͘s̛̃̊̂̇͋ͨ̍͒̉̇̏̑ͧ̾͊͗ͥ͟͏̷̦͚͙̯͉͈͕̮̻̯̬̞̦͇͎̪͖d͎̘̠͎̝̺̜͍ͫ͛̔ͬ̍̏̊̆̍ͤͪ͒͋͟͡h̨̨̛͔̹̼̭̹̺͇̯̘̳̺̠̭͋̎̓ͮͣ̔̉͒̓͊̓̀̚͠f̷̛̛̗̖̳̟̜̺̫͈̯͎̗̳̤̬̯̺̖͊̈́ͣ̍̉̒͐̈́̈́ͭ͆̎͋ͅuͩ͗͛ͣ͆̔̓͐̇̓̍͑̄̆ͥ҉̴̴͏̶̯̠̞̥͓͕̥̹͇h̶̯͔̪̱̪̯͕̲̲͙̲͈̭͍̳̻̮̫͇̏̎͐͗̃ͨͤͦͥͤ͋̒̀͞s̢̳̲̖̘̠̝̝̜̲͋͐ͯ͛̃̑͐̇̓̓͛̋̃̃̕d̸̬͔̤̯̮͍̻̯̤̗̻̈́̒̓ͭͭͬͭ͐̽̍͆́̊̓̅ͪͦ͛ͣ͡ͅͅu̴̷̼̟̼̜͔͚͔̩̜̠͖̘̩͈̘ͥ̋͒̔̑̈́̍ͪͭ̄̉̄̆̅ͭ̕͡f̵̹̺̰͍̰̘̬͚̝̘̖͒ͯ̌̎̓͊̾͋͊ͫ̀̄̚̕͡͠ḧ́ͬ͛̿̌̈́ͮ͆ͨ̈́ͤ̿̾̉͌͗͜͞͏͉̫̥͖͇͍̳͙͕̬̝̜̪ͅu̢͙̤̰̻͙͗ͮ͊ͦ̑͞h̶̨͎̞̼̺̠̾͒̅ͭͨ̃͊̂̊ͦ̀ͤͪ̍ͩ̐̊̂͘͜2̡̨̡̛̦̺̰̟̹̭̈́̐̎͑̿ͨ̓̃̚͞3̅̈́͂̅͑̎̂͏͈̣͕͖͖̪͜͝͡ͅù̡̞̯̱͍̪̖̫̺͙̪̻ͩ̐̉̂̉̀͟͜4̋ͭ̽̎̂͑̿ͪͭ̏̅̆̚͏̬̘̫͍̝̰̠̭̺̦̣̟̼̫͚̀͞͡͡ͅͅͅh͋ͣͭͭ͊̇̈̔͏̴̻͓̣͚͇͔̹̥͕͟͠2̷̡͔̫͇̞̹͕̝͚̻̪̀͂͗̔ͦͮͩ͌̌͜͡͠i̷̢̝̟̪̜̟̲̥̤̲̮̠̯̯̩͍̙̎́̊ͥ̐͜͟͞3̺̜̘̰̺̙̟̼͈͈̇̃͌̂̏͗ͨ̔ͬ̑̎̓́̚̚̕ͅh̴̨͚̳̪̦̩͍̥̤̠̣̘̜̹͉͋ͨ̍̑ͪ̔4̸͔̘̮̲̮͕̺̈̎̌̑́̎̎̍ͨ̀͑͗ͭͩ̆̔͘͝0̸̢̰̫̻̭̹͈̻̤̟̱ͫ̉̿ͩ̂͊͐ͥ̈̉ͯ̅̌ͭ2̶̨͍̦̻̼̠̞̮̯̙̻̦̖̪͈̳̥̣́̇̐͂̆̊͡8̨̡̮̥̖͓̝̳̮͔̹̹͕̳̝̥͕̒̌̾̿̈̏͛̓̑̓̑9̗̻̜͔͎͔̥ͧ͗̋ͩ̐̆ͨ̈́͑̊̾͒ͤͨ̾ͣ͜͝͠3̸̦̤̞̹͇͙̹̙͈̘̻̞͖̣͉̪̿̄̀ͮ͑̒̅̋͋͋ͩ̿ͩ̉ͮ̓̏͜ų͓͚̘͕̥̲͖̤͍͚̤̪̥̬̩ͫ̓̓̎́̔͑ͦͦ̋̍̆̊͛ͅ4̴̸͔͉̠̩̗̠̱̭̓ͬ̃̃ͮ͒0̑͌̇͠͏̡̣̙͖̞̺͎̦͈͔̞͖́͝2̴̨̺͍̭̮͚̺̪̖͔̮͕̍̉̇̈͌͋ͫ̿̾ͩ͑͑̾̒̏̔̀̚ͅͅ3̵̵̴̢͉̥̗̫̬̰̪͕̪̫̗͕͚ͦͧͯͬͥͩͧ̎̓͗͒͟ų̶̴̵̻̱̬̗̼͆͗͊͒͊̎ͨͯ͑̋ͬ͂ͤͬͤ͘4̨̋̌͂͑̽͊͑̓̐̏͡҉҉̥̼͉̹͈̤̝͙̝̳̝ͅo̱͙̙͉̜͉̱͎̰ͥ͋̂̒ͦ̏ͭͣ̀͐͛͊͐ͯͧ̚̚͜͞h̵̬͓̠̙̝͇̯̘̖̲̬͈͋ͬ̎̅̍̎̍ͭ͆̒̍͐̀̚͟͝n̸̡̘͓̫̗̳͓͙̮̮ͤ͌ͨ̽̍̑̄̔̊͒̚͟͠o̵̤͍̖̖͚̲͔͚̗͈̼͗̾̍ͯ͑́́s̑̀̄̏̑ͪͪ̇͏̷̣̜̳̱̰̱͕̥͇̗̰̹̻͚̳̲͞͡ͅh̨̅̓ͨ̉ͪ҉̡͈̲̞͕̣̖̻̝̠̱̗̘͚͇͞d̋ͯ͂̃͑ͭ͞҉̳̝̠͎͈̤͖͈̣͖͈̲̀ͅo͐̆͊̿̆ͦ҉̵͏̠̤̮̙̬͖̲̩̮̣̮ṡ̵̪͎̠̞͇̰̞̺̖̥̘̺̙͐̓ͪ̾̃ͥ̆͆͌͗̈́ͥ́͒̓͢͡ͅị̥̖̥̣̬̳̝̰͎̈́͐͋̎͋ͪ͆̆́̚̚͢f̯͕̞͖͇͎̘̣̟͕̼ͤ̉̓͐͆͐̆ͯͤ̅ͤͫ̽́j̸̝͕̫͉̟͔͉͕͉̤̰̪̯̺̤̋̌͂̉̋͜͢͠͞ͅs͓̳̤̼͓̘̞̻̬̤͎̯͎ͯ̇̎̽̈́̿̂̂̿ͨ̀͆̐ͬ̍͘͜͢d̨̬̭̼̘̗͈̣̦͇̞͖̻͖̫̞̙ͪͨ̄̍͌̄͊̓̑͊̌́̕͜ͅi͕̟͈̩͍͔̤̘̪̬̪̱̹̭̣̐ͪ̈́̄ͣ̑ͣ͢͞f̶̨̣̪̖͖̖͉͈͇̖̩̱̭͔̊ͩ͑ͧͯͨ̀͗ͦ̂ͩ̀̚s̃͂̅̀̾̀͏̫͈͇͎͎̫͔̜̲͟d̸̠̳͚̝͕̗̗̲̦̀̅̄̈́̃̈́͟͠͝f̷̡͖̜̼͖̠͙͈̟͕̟̫̟̐͒ͫ̐͛ͫ͑ͧ͑ͪͪ͌͛ͪ͟ͅͅ
  24. Explv replied to politje's topic in Spam/Off Topic
    P̶͙̝͙̱̩̮̤̺̗͖̐ͮ̋̐̐͌̆ͭ̚͡͝r̵͉͓̹͎̞̮̣̤̞͔̞̻̠͎ͦͬ̃͐̓ͫ͌̓̀̚à̡̛̜̰̰͙̊ͬ̏͗͛ͪ̏ͬ́͘͠i͐͌́̎̊̇̋̄̈̔̉ͦ̓̈́̃̽͑ͩ͏̮͖̼͕̮͎̝̟̪̦̹̬̺̰̜̀s̜͔̰̰͈͙̫͉̗͇͑̿̓ͫ̽͒͋͌͋ͤͮͦ̓͐͌̓̚̕͘͢͟͜e̸̘͉̙̰̦̫͙̗̪̹͉̽͑͆̓̐̏ͮ̒̀̕͠͠ ̢̛ͮ͌͗ͧ̆͜҉̜͕̥Z̵̠̦̙͎͙͈̟͚͉̮͍̬̗̹̠͖̳̱̦͂̐̃̓̑̏̆̍͗̿̑ͮ̔̒͘ą̸̡̥͇̭̰̝̺͕̬̜̹͔̞̓̊̽̀͌̊͋̾ͨ̌͆̔͡ļ̴̬̥͍̘͙̝̟͎̱̰̬͈̰̥̊̉ͨͬ́͢ģ̵̫̠̙͍̤̺̦͖͔̬̥͉̀ͩ͌ͩ̀ͩ͗ͨͨ̃͂̋̂͗ͣ͋̇̚͟͞͡ͅo̧̢̥̗̲̦̼͕͙̥̝͊͛͛̀͛̌̎͂̂ͤ͒̀̀̚͘
  25. Explv replied to politje's topic in Spam/Off Topic
    Ȉ̯̜̺͚̯̍t̰̪̜͛ͯͮͨ̀̎̆͘ͅ ͕̞̂̄̆ͮ̓ͯ͡l̖̙̥̈̈́̆ͨŏ̘̖̥̰̥͝o̹͓̩̮̻̽k̺͔͍̖̥͍͛̽̾̌s͓͈̞͔̬̖͇̔̎ ͕̦̟̝̮͉̓ͦͥͫ́ͭ̊o̅̋͒k̠̪̖͎͐ͤ̎ ̔ͮ̃̈t̮̀͒̀̿ͮͫ͢oͪ̃̀͂̑ m̯̀̂ͧ̑̾̔e͡?̸͕̀ͦ̌́̔ͧ?͚̖̭̊̇̑̾

Account

Navigation

Search

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.