Virtrus1 Posted January 20, 2016 Share Posted January 20, 2016 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? Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted January 20, 2016 Share Posted January 20, 2016 Probs errors in the jar Quote Link to comment Share on other sites More sharing options...
Chicken Wing Posted January 21, 2016 Share Posted January 21, 2016 What's in the jar? Quote Link to comment Share on other sites More sharing options...
Virtrus1 Posted January 22, 2016 Author Share Posted January 22, 2016 (edited) What's in the jar? 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 January 22, 2016 by Virtrus1 Quote Link to comment Share on other sites More sharing options...