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.

Expels

Members
  • Joined

  • Last visited

  1. Now it works. Thank you!
  2. private List<Node> nodes = new ArrayList<Node>(); @[member=Override] public void onStart() { Collections.addAll(nodes, new Chopping(this)); } @[member=Override] public int onLoop() throws InterruptedException { for (Node n : nodes) { if (n.validate()) { n.execute(); break; } } return 200; } Constants c = new Constants(); RS2Object tree = sA.objects.closest("Tree"); public Chopping(Script sA) { super(sA); // TODO Auto-generated constructor stub } @[member=Override] public boolean validate() throws InterruptedException { return !sA.inventory.isFull(); } @[member=Override] public int execute() { if (tree != null) { tree.interact("Chop down"); new ConditionalSleep(1000, 4000) { @[member=Override] public boolean condition() throws InterruptedException { // TODO Auto-generated method stub return !sA.myPlayer().isAnimating(); } }.sleep(); } else { sA.camera.toEntity(tree); } return 200; } }
  3. It would fix the spam clicking but it still doesn't loop it just stands there after chopping down the tree, there are no errors and the script doesn't stop, so I'm not really sure what is causing it.
  4. If I just check if Inventory is full then it will just spam click. Doing it that way doesn't work anyway. And yes.
  5. I have added dropping as well, but yes I chops once and then just stands around.
  6. Just one node. public boolean validate() throws InterruptedException { return tree != null && tree.hasAction("Chop down") && !sA.myPlayer().isAnimating() && !sA.inventory.isFull();
  7. public int onLoop() throws InterruptedException { for (Node n : nodes) { if (n.validate()) { n.execute(); } } return 200; } When I run this, it checks validate and then executes, but after it has finished executing it just stands there?
  8. Okay, so I have this in a separate class (file) and in my onStart: public class ChopTrees { public void chopTrees(Script sI) { public void onStart() { new ChopTrees(); What now?
  9. If I were to use the following code in my onLoop it uses a lot of CPU, what would be a better option? new ChopTrees(this);
  10. Expels replied to Mase's topic in Spam/Off Topic
    Isn't 1KG = 1,000ml? How much perfume are you buying OP?
  11. When I run the script it doesn't actually start, it just exits and doesn't display anything in the log.
  12. There shouldn't be any bugs, but if you find any please report them. https://mega.nz/#!GEZxFazQ!MkGIWIN6YNvAGUifQAZeZT8Bp-t5UwPVJ9uh3SNn39E Update Log: Version 1.0 (Release) How To Use: Start the script with an empty inventory and withdraw amount of gold for kebabs. Either be in the bank or the Kebab shop. Requirements: There are no requirements for the scripts, all you need is gold. It works on F2P or P2P. Information: It will buy kebabs for 1gp each from Karim the Kebab seller and then bank them, currently the sell for 29gp each, so it is good for some quick easy money to get you started. 10,000gp * 29 = 290,000gp back.

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.