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.

Soft clay

Featured Replies

Not even going to bother adding a paint.

Uses buckets of water.

 

>>DOWNLOAD<<

 

 

Source:

 

import org.osbot.rs07.api.ui.RS2Widget;
import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;
import java.awt.*;


@ScriptManifest(name = "SoftClay", author = "Reminiscence", version = 1.0, info = "Combines buckets of water with clay.", logo = "") 
public class softclay extends Script {


	int bucket = 1929,
			clay = 434;

	RS2Widget iface;

	public boolean interactItems(String item1, String item2) throws InterruptedException	{
		@SuppressWarnings("unused")
		RS2Widget w = widgets.get(309, 2);
		if (!players.myPlayer().isAnimating() && inventory.getItem(item1).interact())	{
			return inventory.getItem(item2).interact(); //
		}
		return false;
	}

	@Override
	public void onStart() {
		log("Starting SoftClay script.");

	}

	@Override
	public void onExit() {
		log("Softclay exiting");
	}


	@Override
	public int onLoop() throws InterruptedException {
		iface = widgets.get(309, 2);
		if (!inventory.contains(bucket) && !inventory.contains(clay)) {
			bank.open();
			sleep(600);
			if (bank.isOpen()) {
				if (inventory.isFull()) {
					bank.depositAll();
					sleep(random(200, 695));
				}
				if (!inventory.contains(bucket)) {
					bank.withdraw(bucket, 14);
					sleep(600);
				}
				if (!inventory.contains(clay)) {
					bank.withdraw(clay, 14);
					sleep(600);
				}

				if (inventory.contains(bucket) && inventory.contains(clay)) {
					bank.close();
				}

				if (bank.isOpen() && (!bank.contains(bucket) || !bank.contains(clay))) {
					log("out of clay or buckets");
					stop();
				}
			}
		}
		
		if (inventory.contains(clay) && !inventory.contains(bucket)) {
			bank.open();
			sleep(600);
			bank.depositAll();
			sleep(600);
		}
		
		if (inventory.contains(bucket) && !inventory.contains(clay)) {
			bank.open();
			sleep(600);
			bank.depositAll();
			sleep(600);
		}

		if (inventory.contains(bucket) && inventory.contains(clay)) {
			if (iface == null) {
				interactItems("Bucket of water", "Clay");
				sleep(600);
			}

			if (iface != null) {
				iface.interact("Make All");
				sleep(18000);
			}
		}

		return 600; 
	}


	@Override
	public void onPaint(Graphics2D g) {




	}


} 

Edited by Reminiscence

  • Author

whenever there isn't an animation playing while doing an action, it's what i resort to, lol

can you tell us if uses buckets of water or a fountain in varrok?

  • Author

can you tell us if uses buckets of water or a fountain in varrok?

Buckets of water. Is using clay on the fountain a thing?

Buckets of water. Is using clay on the fountain a thing?

yeah you can use a clay on the fountain in varrock east unless its been changed worked pre eco

Edited by BardRoss

  • Author

If you wanna test it out and tell me if it works, I can change the script to just do that instead. Would maximize prophets.

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.