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.

Butters

Java Lifetime Sponsor
  • Joined

  • Last visited

Everything posted by Butters

  1. Sadly none of the above options work
  2. If you use walking.webwalk then basically no. Try to create a WalkingEvent and set some break conditions
  3. Thanks, tried this and it didn't work SCRIPT="My\ Script:null" java -jar "osbot 2.4.101.jar" $OSBOTLOGIN $BOT1 -script $SCRIPT $BOT1WORLD Gonna try with two \\ when I get on my other PC. The idea behind this is to launch like 10 bots with the same script, so thought that storing script params to variables would make it cleaner and easier to manage
  4. Sorry for misleading you. Yep, both your and Abuses' options work fine. The problem is that I want to store the script params in a variable and then add it to the java -jar line. For example this works fine: java -jar "osbot 2.4.101.jar" $OSBOTLOGIN $BOT1 -script My\ Script:null $BOT1WORLD Though this doesn't find the script SCRIPT="-script My\ Script:null" java -jar "osbot 2.4.101.jar" $OSBOTLOGIN $BOT1 $SCRIPT $BOT1WORLD By the way, a noob question. What does the "\" actually do? And even so, how to understand this syntax that you've provided? "\"My Script\":null"
  5. Well this will sleep UNTIL you are in dialogue or if you don't have 14 items in inventory. So dunno if this is what you want
  6. I can't remember if there's a method something like inventory.interactAll("Item", "Use") and interact with a another item. You can simply always check if (inventory.getAmount("Item1) > 0 || inventory.getAmount("Item2) > 0) { // Do some interacting } If a level up dialog appears it will simply keep on interacting cause the above mentioned condition will still be true. Also you can add (though I don't think you need it) something like if(dialogues.isPendingContinuation()) { dialogues.clickContinue(); } Don't have an IDE running so the method names might be a bit off. This will click continue on the "You have leveled up" screen
  7. It works great on Windows. Failed to launch it on Linux, any ideas? Super easy for my own scripts. Problem when I want to launch a script that someone else made. And I find decompiling it unethical
  8. Conditional sleep is your friend new ConditionalSleep(2000, 100) { @[member=Override] public boolean condition() throws InterruptedException { return bank.withdraw("Item", 14); } }.sleep(); This will wait until it withdraws 14 "Items" from bank
  9. Hey, the title says it all. I am familiar with launching OSbot from CLI so this is only about the -script part Let's say I have a local script called "My Script". How to launch it in Windows/Linux? I've tried noob stuff like without commas -script My Script:null with commas -script "My Script:null" name with commas, params nor -script "My Script":nulll Nothing works
  10. The idea behind this is that you can configure your farm and start it automatically. If you have good scripts which support CLI and muling you can launch your bots and go on a pub crawl for three days. For a very very simple example imagine you write a bat file which launches 10 bots. You launch it, it launches 10 bots which cur yew logs and trades them to the mule. At the end of the day you log in to the mule, sell the logs - profit.
  11. Butters replied to Aiban's topic in Spam/Off Topic
    savage
  12. I had the assumption that -allow norandoms dismisses ALL random solvers. The includes logging in, RS pesky random dismissal etc. and I do believe that even breaks (correct me if I'm wrong). I seriously doubt that if you use -allow norandoms and check "Dismiss all randoms" in OSBot settings, that the client with dismiss RS randoms
  13. Dissabling it is easy, you'll just need to launch the OSBot client from CLI with a -allow norandoms parameter. Example: java -jar "PATH_TO_OSBOT\osbot 2.4.101.jar" -login OSBOT_LOGIN:OSBOT_PASS -bot BOT_USERNAME:BOT_PASSWORD:BANK_PIN(0000 if none) -debug 5012 -allow norandoms -script SCRIPT_NAME_OR_ID:null (script parameters are null) Check this out http://i.imgur.com/8ZCZeq4.png
  14. Good job and good luck
  15. Best would be not to use ID's. Better hardcode the names of the scimitars. bank.withdraw("Adamant scimitar", 1); Edit: Also a good idea would be to use conditional sleeps between each withdrawal, like: new ConditionalSleep(3000, 500) { @[member=Override] public boolean condition() throws InterruptedException { return bank.withdraw("Adamant scimitar", 1); }.sleep(); Have your logger opened when trying do withdraw stuff your way. I suspect a null pointer exception.
  16. Butters replied to 01053's topic in Scripting Help
    95% that you ripped this code Look here if (System.currentTimeMillis() - openDelay < 1000) { return; } Item pack = getInventory().getItem(12732); if ((pack != null)) { openDelay = System.currentTimeMillis(); pack.interact("Open"); opened++; log("" + opened);
  17. Well two things here that may produce "Lag", though I think you should be getting an error in the logs. First of all check if the ID's are right, then check if the npc is found with if (npc != null) . Then a good idea would be to check if the NPC is visible, cause it won't interact with it the other way (correct me if I'm wrong). And finally, I seriously doubt that an NPC has an action "use". I don't remember the outcome if you use an action that isn't there. Either nothing happens or you'll get an error.
  18. Will work great if the NPC is in the area, bu here's some messy code to walk to npc if it's too far away Filter npcFilter = new Filter<NPC>() { public boolean match(NPC npc) { return npc != null && npc.getName().equals("NPC NAME"); } }; NPC npc = npcs.closest(npcFilter); if (npc != null) { if (npc.isVisible()) { //Interact } else { Area npcArea = npc.getArea(6); // Radius around the NPC if (!npcArea.contains(myPlayer())) { walking.walk(npcArea); } else { camera.toEntity(npc); } } }
  19. I've been doing f2p melee/range/magic for about three weeks using injection. 8 accounts still not banned. Though none of them ever been boting for more than 6 hours.
  20. Kinda ashamed that I didn't test it on Mirror Give it a go
  21. +2 Thanks
  22. Butters replied to Butters's topic in Others
    Aah, I didn't test it on mirror mode, but will do. Thanks for the heads up
  23. Much appreciated

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.