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.

Combat Scripts

Featured Replies

None of the combat scripts are functioning.. I select the NPC to kill and nothing happens.. I was trying to kill Chickens.

Mine is. List your script(s) you've tested.

  • Author

Mine is. List your script(s) you've tested.

All the free ones.

i made my first ever script a chickenkiller if you want i can send it you.

Facts: i have no experience

           no idea if its flawless

           it just kills chickens, dont think there can happen something wrong

 


here you go https://www.dropbox.com/s/8l702oe8mu5xpgn/TestScript.class

 

here the code that you know its safe:

 

import org.osbot.script.Script;
import org.osbot.script.ScriptManifest;
import org.osbot.script.rs2.model.NPC;

@ScriptManifest(author = "Oliver", version = 1, name = "Chicken Killer", info="Kills Chickens in Lumby")
public class TestScript extends Script {

public final static int Chicken_ID1 = 2731;
public final static int Chicken_ID2 = 1683;
public final static int Chicken_ID3 = 2730;

public NPC chicken;










@Override
public void onExit() throws InterruptedException {
log("Script has ended!");
}
@Override
public int onLoop() throws InterruptedException {
chicken = this.closestAttackableNPC(Chicken_ID1,Chicken_ID2,Chicken_ID3);has the same id as mans'
if(chicken != null && chicken.isUnderAttack() == false) { 
if(client.getMyPlayer().canAttack()) {
chicken.interact("Attack"); 
sleep(250);
}
}
return 250;

}

@Override
public void onStart() {

log("Script has started.");
}

}

 

Edited by 0liver

I'm almost done with mine, an AIO fighter.

 

I'll be posting it asap I finish the paint, perhaps even today.

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.