Jump to content

lupy

Members
  • Posts

    2
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

lupy's Achievements

Newbie

Newbie (1/10)

0

Reputation

  1. well the jar shows up bot osbot client doesnt detect it
  2. Hi guys, When i make a jar of a script it's now showing up in the scripts folder maybe there is something wrong with the code and I don't see it. this is the code: package woodcutter; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; public class woodcutter extends Script { final String TREE_NAME = "Tree"; @ScriptManifest(info="test", logo = "", version = 0, author = "Lupy", name = "Woodcutter script") @Override public int onLoop() throws InterruptedException { if(! getInventory().isFull()) { //chop Entity tree = objects.closest(TREE_NAME); if(tree != null && tree.isVisible()) { tree.interact("Chop Down"); } else { camera.toEntity(tree); } } else { //bank } return 0; } //when script is started public void onStart() { } //when script is exited public void onExit() { } } thanks in advance
×
×
  • Create New...