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.

F2P PowerChopper ( AUTO / OPEN SOURCE / WIP )

Featured Replies

Made this for fun in 10 minutes.

Cuts tree & Oak.

Will add willow and more areas so it can do 1-99.

You need to have the axe in your inventory else it will stop script and logout.

download: https://www.sendspace.com/file/3bogau

Source:

@ScriptManifest(name = "cutter", info = "yes", author = "atoo", version = 0.2, logo = "")
public class main extends Script {
	
	Area treeArea = new Area(3204, 3256, 3193, 3239);
	Area oakArea = new Area(3124, 3217, 3132, 3211);

	@Override
	public int onLoop() throws InterruptedException {
		RS2Object tempTree = getObjects().closest(c -> c != null && c.getName().equals("Tree")), 
				tempOak = getObjects().closest(c -> c != null && c.getName().equals("Oak"));
	
		//ghett0
		if(!getInventory().contains(item -> item.getName().contains("axe"))){
			this.stop();
			return -1;
		}
		
		if(skills.getDynamic(Skill.WOODCUTTING) < 20){
			if(!treeArea.contains(myPlayer()) && !myPlayer().isAnimating()){
				getWalking().webWalk(treeArea.getRandomPosition());
			} else {
				if(!getInventory().isFull()) {
					if(!myPlayer().isAnimating() && !myPlayer().isMoving())
						tempTree.interact("Chop down");
					else {
						sleep(1000);
					}
				} else {
					getInventory().dropAllExcept(item -> item.getName().contains("axe"));
				}
			}
		} else {
			if(!oakArea.contains(myPlayer()) && !myPlayer().isAnimating() && tempOak == null){
				getWalking().webWalk(oakArea.getRandomPosition());
			} else {
				if(!getInventory().isFull()) {
					if(!myPlayer().isAnimating() && !myPlayer().isMoving())
						tempOak.interact("Chop down");
					else {
						sleep(1000);
					}
				} else {
					getInventory().dropAllExcept(item -> item.getName().contains("axe"));
				}
			}
		}

		return 700;
	}
	public void onPaint(Graphics2D g) {
		g.setColor(Color.white);
		g.setFont(new Font("Arial black", Font.PLAIN, 15));
		g.drawString("level: " + skills.getDynamic(Skill.WOODCUTTING), 10, 50);
	}
}

 

Edited by atoo

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.