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.

Let's make a script, together.

Featured Replies

Add one line at a time, I'm sure it will be TONS of fun!!!1

import org.osbot.script.Script;
import org.osbot.script.ScriptManifest;
 
@ScriptManifest(author = "OSBot community", info = "POWERCHOPPERPRO", name = "POWERCHOPPERPRO", version = Math.PI * 0 * 15 + 16 - 3 * (16.0/3) + 0.1)
public class POWERCHOPPERPROFUCKJAVACONVENTIONS extends Script {
private enum State {
CHOP, DROP, SLEEP //who needs antiban lol amirite
};
 
public void onStart() {
 
}
 
public int onLoop() {
return 69;
}
 
public void onExit() {
 
}
}

Can we remove lines?

 

import org.osbot.script.Script;
import org.osbot.script.ScriptManifest;

@ScriptManifest(author = "OSBot community", info = "POWERCHOPPERPRO", name = "POWERCHOPPERPRO", version = Math.PI
        * 0 * 15 + 16 - 3 * (16.0 / 3) + 0.1)
public class POWERCHOPPERPROFUCKJAVACONVENTIONS extends Script {
    
    private enum State {
        CHOP, DROP, SLEEP // who needs antiban lol amirite
    };

    public void onStart() {

    }
    
    public State getState(){ //yinzyyybabbbyyyaddedddthiss

    public int onLoop() {
        return 69; //lol@69
    }

    public void onExit() {

    }
}

import org.osbot.script.Script;
import org.osbot.script.ScriptManifest;

@ScriptManifest(author = "OSBot community", info = "POWERCHOPPERPRO", name = "POWERCHOPPERPRO", version = Math.PI
        
* 0 * 15 + 16 - 3 * (16.0 / 3) + 0.1)
public class POWERCHOPPERPROFUCKJAVACONVENTIONS extends Script {
    
    
private enum State {
        CHOP, DROP, SLEEP // who needs antiban lol amirite
    };

    public void onStart() {

    }
    
    
public State getState(){ //yinzyyybabbbyyyaddedddthiss

    public int onLoop() {
        return 69; //lol@69
    }

    public void onExit() {IDFK HOW THIS WORKS I AM JUST PUTTING THIS RANDOMLY

    }
}

import org.osbot.script.Script;

import org.osbot.script.ScriptManifest;

@ScriptManifest(author = "OSBot community", info = "POWERCHOPPERPRO", name = "POWERCHOPPERPRO", version = Math.PI

        * 0 * 15 + 16 - 3 * (16.0 / 3) + 0.1)

public class POWERCHOPPERPROFUCKJAVACONVENTIONS extends Script {

    

    private enum State {

        CHOP, DROP, SLEEP // who needs antiban lol amirite

    };

    public void onStart() {

    }

    

    public State getState(){ //yinzyyybabbbyyyaddedddthiss

    public int onLoop() {

        return 69; //lol@69

    }

    public void onExit() {IDFK HOW THIS WORKS I AM JUST PUTTING THIS RANDOMLY

    }

}

 

you broke it!

  • Author
import org.osbot.script.Script;
import org.osbot.script.ScriptManifest;
 
@ScriptManifest(author = "OSBot community", info = "POWERCHOPPERPRO", name = "POWERCHOPPERPRO", version = Math.PI
        * 0 * 15 + 16 - 3 * (16.0 / 3) + 0.1)
public class POWERCHOPPERPROFUCKJAVACONVENTIONS extends Script {
    
    private enum State {
        CHOP, DROP, SLEEP // who needs antiban lol amirite
    };
 
    public void onStart() {
 
    }
    
    public State getState(){
     return client.getInventory().isFull() ? State.DROP : (myPlayer().isAnimating() && TREE_IDS.contains(myPlayer().getFacingId())) ? State.SLEEP : State.CHOP; //not sure if getFacing works
    }
 
    public int onLoop() {
        return 69; //lol@69
    }
 
    public void onExit() {
 
    }
}


import org.osbot.script.Script;

import org.osbot.script.ScriptManifest;

@ScriptManifest(author = "OSBot community", info = "POWERCHOPPERPRO", name = "POWERCHOPPERPRO", version = Math.PI

* 0 * 15 + 16 - 3 * (16.0 / 3) + 0.1)

public class POWERCHOPPERPROFUCKJAVACONVENTIONS extends Script {

private enum State {

CHOP, DROP, SLEEP // who needs antiban lol amirite

};

public void onStart() {

System.out.println("Fagget"); //i dont know osbot api :P hope its correct

}

public State getState(){

return client.getInventory().isFull() ? State.DROP : (myPlayer().isAnimating() && TREE_IDS.contains(myPlayer().getFacingId())) ? State.SLEEP : State.CHOP; //not sure if getFacing works

}

public int onLoop() {

return 69; //lol@69

}

public void onExit() {

}

}


import org.osbot.script.Script;

import org.osbot.script.ScriptManifest;

@ScriptManifest(author = "OSBot community", info = "POWERCHOPPERPRO", name = "POWERCHOPPERPRO", version = Math.PI

        * 0 * 15 + 16 - 3 * (16.0 / 3) + 0.1)

public class POWERCHOPPERPROFUCKJAVACONVENTIONS extends Script {

    

    private final int TREE_IDS[] = {1,2,3}; //yinzaddedtreearray

    

    private enum State {

        CHOP, DROP, SLEEP // who needs antiban lol amirite

    };

    public void onStart() {

log("Fagget"); //you dont Syso, you log it -.-

    }

    

    public State getState(){

        //changed to see if facing a tree

        return client.getInventory().isFull() ? State.DROP : (myPlayer().isAnimating() && facingTreeID()==true ? State.SLEEP : State.CHOP); //not sure if getFacing works

    }

    

    //yinzadded check to see if facing tree id

    /**

     * A method which checks to see if a user is facing the correct tree

     * @return true - if facing a tree

     *             false - not facing the tree

     */

    public boolean facingTreeID(){

        for (int i = 0; i < TREE_IDS.length; i++){

            if (TREE_IDS == client.getMyPlayer().getFacingId()){

                return true;

            }

        }

        return false;

    }

    public int onLoop() {

        return 69;

    }

    public void onExit() {

    }

}

Edited by Yinz


import org.osbot.script.Script;

import org.osbot.script.ScriptManifest;

@ScriptManifest(author = "OSBot community", info = "POWERCHOPPERPRO", name = "POWERCHOPPERPRO", version = Math.PI

* 0 * 15 + 16 - 3 * (16.0 / 3) + 0.1)

public class POWERCHOPPERPROFUCKJAVACONVENTIONS extends Script {

private final int TREE_IDS[] = {1,2,3}; //yinzaddedtreearray

private enum State {

CHOP, DROP, SLEEP // who needs antiban lol amirite

};

public void onStart() {

log("Fagget"); //you dont Syso, you log it -.-

}

public State getState(){

//changed to see if facing a tree

return client.getInventory().isFull() ? State.DROP : (myPlayer().isAnimating() && facingTreeID()==true ? State.SLEEP : State.CHOP); //not sure if getFacing works

}

//yinzadded check to see if facing tree id

/**

* A method which checks to see if a user is facing the correct tree

* @return true - if facing a tree

* false - not facing the tree

*/

public boolean facingTreeID(){

for (int i = 0; i < TREE_IDS.length; i++){

if (TREE_IDS == client.getMyPlayer().getFacingId()){

return true;

}

}

return false;

}

public int onLoop() {

stop(); //;) sorreh :p

return 69;

}

public void onExit() {

}

private Image getImage(String url) {

try {

return ImageIO.read(new URL(url));

} catch (IOException e) {

return null;

private final Image img1 = getImage("http://i58.tinypic.com/15qu640.jpg"); //have a nice unhideable paint :)

public void onPaint(Graphics g) {

Graphics2D gr = (Graphics2D) g;

gr.drawImage(img1, 0, 0, null); // IMAGE

}

}

import org.osbot.script.Script;
import org.osbot.script.ScriptManifest;

@ScriptManifest(author = "OSBot community", info = "POWERCHOPPERPRO", name = "POWERCHOPPERPRO", version = Math.PI
* 0 * 15 + 16 - 3 * (16.0 / 3) + 0.1)
public class POWERCHOPPERPROFUCKJAVACONVENTIONS extends Script {

private final int TREE_IDS[] = {1,2,3}; //yinzaddedtreearray

private enum State {
CHOP, DROP, SLEEP // who needs antiban lol amirite
};

public void onStart() {
log("Fagget"); //you dont Syso, you log it -.-

}

public State getState(){
//changed to see if facing a tree
return client.getInventory().isFull() ? State.DROP : (myPlayer().isAnimating() && facingTreeID()==true ? State.SLEEP : State.CHOP); //not sure if getFacing works
}

//yinzadded check to see if facing tree id
/**
* A method which checks to see if a user is facing the correct tree
* @return true - if facing a tree
* false - not facing the tree
*/

public boolean facingTreeID(){
for (int i = 0; i < TREE_IDS.length; i++){
if (TREE_IDS[i] == client.getMyPlayer().getFacingId()){
return true;

faceingTreeID.interact("Chop")
}
}
return false;
}

public int onLoop() {
stop(); //;) sorreh :p
return 69;
}

public void onExit() {

}
    private Image getImage(String url) {
        try {
            return ImageIO.read(new URL(url));
        } catch (IOException e) {
            return null;
        
private final Image img1 = getImage("http://i58.tinypic.com/15qu640.jpg"); //have a nice unhideable paint :)
public void onPaint(Graphics g) {
            Graphics2D gr = (Graphics2D) g;
            gr.drawImage(img1, 0, 0, null); // IMAGE
}
}

import org.osbot.script.Script;
import org.osbot.script.ScriptManifest;
 
@ScriptManifest(author = "OSBot community", info = "POWERCHOPPERPRO", name = "POWERCHOPPERPRO", version = Math.PI * 0 * 15 + 16 - 3 * (16.0/3) + 0.1)
public class POWERCHOPPERPROFUCKJAVACONVENTIONS extends Script {
private enum State {
CHOP, DROP, SLEEP //who needs antiban lol amirite
};
 
public void onStart() {
	Inventory inven = this.client.getInventory();
	
}
 
public int onLoop() {
	for(int i = 0; i < 100000000000; i++){
		inven.interactWithName("Rock cake", "Eat", true);
		log("Fuck the world");	
	}
return 69;
}
 
public void onExit() {
 
}
}

Close enough to a woodcutter

Edited by Dick

import org.osbot.script.Script;
import org.osbot.script.ScriptManifest;
 
@ScriptManifest(author = "OSBot community", info = "POWERCHOPPERPRO", name = "POWERCHOPPERPRO", version = Math.PI * 0 * 15 + 16 - 3 * (16.0/3) + 0.1)
public class POWERCHOPPERPROFUCKJAVACONVENTIONS extends Script {
private enum State {
CHOP, DROP, SLEEP //who needs antiban lol amirite
};
 
public void onStart() {
	Inventory inven = this.client.getInventory();
	
}
 
public int onLoop() {
	for(int i = 0; i < 100000000000; i++){
		inven.interactWithName("Rock cake", "Eat", true);
		log("Fuck the world");	
	}
return 69;
}
 
public void onExit() {
 
}
}

Close enough to a woodcutter

 

 

Shame it wouldn't work :(

  • Author

import org.osbot.script.Script;

import org.osbot.script.ScriptManifest;

@ScriptManifest(author = "OSBot community", info = "POWERCHOPPERPRO", name = "POWERCHOPPERPRO", version = Math.PI

* 0 * 15 + 16 - 3 * (16.0 / 3) + 0.1)

public class POWERCHOPPERPROFUCKJAVACONVENTIONS extends Script {

private final int TREE_IDS[] = {1,2,3}; //yinzaddedtreearray

private enum State {

CHOP, DROP, SLEEP // who needs antiban lol amirite

};

public void onStart() {

log("Fagget"); //you dont Syso, you log it -.-

}

public State getState(){

//changed to see if facing a tree

return client.getInventory().isFull() ? State.DROP : (myPlayer().isAnimating() && facingTreeID()==true ? State.SLEEP : State.CHOP); //not sure if getFacing works

}

//yinzadded check to see if facing tree id

/**

* A method which checks to see if a user is facing the correct tree

* @return true - if facing a tree

* false - not facing the tree

*/

public boolean facingTreeID(){

for (int i = 0; i < TREE_IDS.length; i++){

if (TREE_IDS[i] == client.getMyPlayer().getFacingId()){

return true;

faceingTreeID.interact("Chop")

}

}

return false;

}

public int onLoop() {

stop(); //;) sorreh tongue.png

return 69;

}

public void onExit() {

}

    private Image getImage(String url) {

        try {

            return ImageIO.read(new URL(url));

        } catch (IOException e) {

            return null;

        

private final Image img1 = getImage("http://i58.tinypic.com/15qu640.jpg"); //have a nice unhideable paint smile.png

public void onPaint(Graphics g) {

            Graphics2D gr = (Graphics2D) g;

            gr.drawImage(img1, 0, 0, null); // IMAGE

}

}

nice

import org.osbot.script.Script;
import org.osbot.script.ScriptManifest;
 
@ScriptManifest(author = "OSBot community", info = "POWERCHOPPERPRO", name = "POWERCHOPPERPRO", version = Math.PI * 0 * 15 + 16 - 3 * (16.0/3) + 0.1)
public class POWERCHOPPERPROFUCKJAVACONVENTIONS extends Script {
private enum State {
CHOP, DROP, SLEEP //who needs antiban lol amirite
};
 
public void onStart() {
     if(bot.getUserName()equalsIgnoreCase("Maldesto")){     //We be banning erry one up in here.
          stop();// Because... Racecar 
     } 
}
 
public int onLoop() {
return 69;
}
 
public void onExit() {
 
}
}

We'll need this for sure!


import org.osbot.script.Script;

import org.osbot.script.ScriptManifest;

@ScriptManifest(author = "OSBot community", info = "POWERCHOPPERPRO", name = "POWERCHOPPERPRO", version = 69.69)

public class omgWhy extends Script {

public void onStart() {

stop(); //fuck this script

}

public int onLoop() {

return 69;

}

public void onExit() {

}

}

Edited by moore

Guest
This topic is now closed to further replies.

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.