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.

Air Rune Crafter

Featured Replies

Made an Air Rune Crafter for one of my accounts figured id share. 

To start script:

- Have an Air Tiara equip

- Have Pure essence in your bank or inventory 

Then sit back and enjoy the gains :)

Will be adding different Altars as I level up so stay tuned!

As always any advice on things that can be improved are welcome.

CODE:

import org.osbot.rs07.api.map.Area;
import org.osbot.rs07.api.map.constants.Banks;
import org.osbot.rs07.api.model.RS2Object;
import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;
import org.osbot.rs07.utility.ConditionalSleep;


@ScriptManifest(name = "Rune Crafter", logo = "", version = 1, author = "Imthabawse", info = "Crafts Runes for gains")

public class Runecrafter extends Script {


    private Area ALTAR = new Area(2987, 3294, 2983, 3290);


    private void craft() throws InterruptedException {
        RS2Object ruins = getObjects().closest(ALTAR, "Mysterious ruins");
        RS2Object altar = getObjects().closest("Altar");


        if (!myPlayer().isAnimating() && !myPlayer().isMoving()) {
            log("Walking to altar...");
            getWalking().webWalk(ALTAR);
            sleep(random(250, 500));
            if (ruins != null && !myPlayer().isAnimating()) {
                ruins.interact("Enter");
                new ConditionalSleep(1000) {
                    @Override
                    public boolean condition() {
                        return !myPlayer().isAnimating();
                    }
                }.sleep();
            } else if (altar != null) {
                log("Crafting...");
                altar.interact("Craft-rune");
                new ConditionalSleep(5000) {
                    @Override
                    public boolean condition() {
                        return getInventory().contains("Air rune") && myPlayer().isAnimating();
                    }
                }.sleep();
            }
        }
    }











    private void bank() throws InterruptedException {
        RS2Object portal = getObjects().closest("Portal");
        if (!getInventory().contains("Pure essence") && portal != null && !myPlayer().isAnimating()) {
            portal.interact("Use");
        } else if (!getInventory().contains("Pure essence") && !myPlayer().isAnimating()) {
            log("Banking...");
            getWalking().webWalk(Banks.FALADOR_EAST);
            log("Withdrawling essence...");
            getBank().open();
            sleep(random(250, 400));
            getBank().depositAll();
                sleep(random(250, 400));
                getBank().withdrawAll("Pure essence");
                sleep(random(250, 400));
                getBank().close();
           
               }
            }
        }
}








    @Override
    public int onLoop() throws InterruptedException {
        if(getInventory().contains("Pure essence")) {
            craft();
        }else {
            bank();
        }
        return 1500;
    }
}

Edited by Imthabawse

Did you test the script with suicide botting? Scripting RC seems to have a high chance of getting banned :/

  • Author
6 hours ago, EldoradoGG said:

Did you test the script with suicide botting? Scripting RC seems to have a high chance of getting banned :/

Ran from 1-18 rc so far no breaks might work on it later today if i get time

To add to your comment.. suicide botting any skill will lead to a ban. 

Edited by Imthabawse

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

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.