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.

Want to get into scripting

Featured Replies

Where should I start. I know there's videos out there, but what should my first script be that I first make that is simple enough to understand some of the components in this process. Thanks

xemoprincess........ with one of those dyed haired chicks in ur profile pics. 

 

 

 

I'm not even sure what to say, like. I could go down so many avenues to destroy your will to live. 

Where should I start. I know there's videos out there, but what should my first script be that I first make that is simple enough to understand some of the components in this process. Thanks

 

  • Learn the basics to Java
  • Know how to find the Osbot API and search it
  • Learn the basic script skeleton to make an Osbot script.
  • Start with something very basic. (Shop buyer + walker + etc.)
  • Learn new methods by de-compiling other scripts in the local section
  • Post in the Scripter Help section for insight

Tools

 

Edited by Sinatra

Some tips:

- null checks

- use conditional sleeps whenever possible

- dont just write code in order, use logic and conditional statements for example:

public int onLoop(){ //this is bad
getBank().open();
getBank().depositAll();
getBank().withdraw("Coins", 20000);
getBank().close;
return 500;
}

public int onLoop(){ //this is better and is less likely to break
if(!getBank().isOpen()){
getBank().open();
new ConditionalSleep(2500, 3000){
@Override
public boolean condition(){
return getBank().isOpen();
}
}.sleep();
} else {
if(getBank().getAmount("Coins") >= 20000 && !getInventory().contains("Coins")){
getBank().withdraw("Coins", 20000);
new ConditionalSleep(2500, 3000){
@Override
public boolean condition(){
return getInventory().contains("Coins");
}.sleep();
}
}
if(getInventory().contains("Coins")){
getBank().close();
new ConditionalSleep(2500, 3000){
@Override
public boolean condition(){
return !getBank().isOpen();
}
}.sleep();
}
return 500;
}

Edited by LoudPacks

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.