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.

[ERROR][01/20 11:09:35 PM]: Failed to load local jar file : Scriptting.jar

Featured Replies

I'm trying to load a local script, it doesn't load and then says: 

 
[ERROR][01/20 11:09:35 PM]: Failed to load local jar file : Scriptting.jar
 
in the logger?
  • Author

What's in the jar? smile.png

NOT FINISHED
 
package mort;
 
import org.osbot.rs07.api.Inventory;
import org.osbot.rs07.api.Walking;
import org.osbot.rs07.api.map.Area;
import org.osbot.rs07.api.map.Position;
import org.osbot.rs07.api.map.constants.Banks;
import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;
import org.osbot.rs07.api.model.RS2Object;
import org.osbot.rs07.api.ui.Skill;
import org.osbot.rs07.api.ui.Tab;
 
@ScriptManifest(author = "Virtrus", info = "Mort Myre Bot boiii", logo = "", name = "MortMyreBoT", version = 1)
public class MortyMyre extends Script{
 
//code used at start
public void onStart(){
 
}
 
//Areas
final Area Bank = new Area(3092,3489,3094,3493);
final Area Shroom = new Area(3439,3417,3443,3421);
final Area Fairy = new Area(3127,3494,3130,3498);
 
 
public void toBank(){
localWalker.walk(Bank, true);
while(myPlayer().isMoving()){
 
}
}
 
public void toShroom(){
localWalker.walk(Shroom, true);
while(myPlayer().isMoving()){
}
}
 
public void toFairy(){
localWalker.walk(Fairy, true);
while(myPlayer().isMoving()){
 
}
}
 
//Method to open bank
public void openingBank(){
RS2Object bankbooth = objects.closest("Bank Booth");
while(myPlayer().isMoving()){
}
bankbooth.interact("Bank");
}
//Method to deposite shrooms and check health
public void Banking(){
getInventory().getItem(2970).interact("Deposit-All");
if(skills.getDynamic(Skill.HITPOINTS) <= 30){
getBank().withdraw(379, 2);
}
}
//Method to close bank and eat
public void Eating(){
getBank().close();
getTabs().open(Tab.INVENTORY);
getInventory().interact("Eat", 379);
}
//Method to cast the bloom
public void Bloom(){
getTabs().open(Tab.INVENTORY);
getInventory().getItem(2963).interact("Cast Bloom");
}
 
//Method to pick fungi off of log
public void pickFungi(){
RS2Object fungi = objects.closest(new String ("Fungi on log"));
fungi.interact("Pick");
}
 
public void houseTele(){
getTabs().open(Tab.INVENTORY);
getInventory().getItem(8013).interact("Break");
}
 
public void rechargePrayer(){
RS2Object alter = objects.closest(new String ("Alter"));
alter.interact("Pray");
if(skills.getDynamic(Skill.PRAYER) != skills.getStatic(Skill.PRAYER)){
alter.interact("Pray");
}
}
 
public void edgevilleTele(){
localWalker.walk(10126, 1430);
RS2Object glory = objects.closest(new String("Amulet of Glory"));
glory.interact("Edgeville");
}
 
public void fairRingCode(){
 
}
 
//code to loop
public int onLoop(){
 
return 500;
}
//code to excute at end
public void onExit(){
 
}
}

Wait, do I need to compile the script? (I'm noob)

Edited by Virtrus1

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.