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.

Vile Ash Script [F2P][70k+ xp/h]

Featured Replies

Hi,

This script will mainly uses invokes and scatters vile ashes in f2p for upwards of 70k prayer XP/h. :)

 

Enjoy!

 

Spoiler
package Osbot;

import api.invoking.InvokeHelper;
import org.osbot.rs07.api.model.Item;
import org.osbot.rs07.api.model.RS2Object;
import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;
import api.util.Sleep;

@ScriptManifest(info = "LolMarcus", logo = "", name = "Vile Ashes", author = "", version = 0.0)
public class vileAshes extends Script {

    private InvokeHelper invokeHelper;

    public void onStart() throws InterruptedException {
        super.onStart();
        invokeHelper = new InvokeHelper(this);
    }

    @Override
    public int onLoop() {
        if (getInventory().contains("Vile ashes")) {
            scatterAshes();
        } else {
            if (getBank().isOpen()) {
                if (getBank().contains("Vile ashes")) {
                    getBank().withdrawAll("Vile ashes");
                    Sleep.until(() -> getInventory().contains("Vile ashes"), 5000); 
                    getBank().close();
                    Sleep.until(() -> !getBank().isOpen(), 5000); 
                } else {
                    log("No more Vile ashes left in the bank.");
                    stop(false);
                }
            } else {
                final RS2Object bankBooth = (RS2Object) getBank().closest();
                if (bankBooth != null) {
                    if (invokeHelper.invoke(bankBooth, "Bank")) {
                        Sleep.until(() -> getBank().isOpen(), 5000);
                    }
                }
            }
        }

        return 600;
    }

    private void scatterAshes() {
        for (Item item : getInventory().getItems()) {
            if (item != null && item.getName() != null && item.getName().equals("Vile ashes")) {
                if (invokeHelper.invoke(item, "Scatter")) {
                    Sleep.sleep(600);
                }
            }
        }
    }
}

 

 

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

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.