Jump to content

HumanLikeBotting

Members
  • Posts

    6
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by HumanLikeBotting

  1. Sorry, I did specify it but once you've already used one it auto-assigns it to the last used port.

     

    import org.osbot.rs07.script.Script;
    
    import org.osbot.rs07.script.ScriptManifest;
    
    import java.awt.*;
    
    @ScriptManifest(name = "Skeleton", author = "HumanLikeBotting", version = 1.0, info = "", logo = "") 
    public class BotBuilder extends Script {
    
        @Override
    
        public void onStart() {
    
          //  frame.setSize(200, 200);
          //  frame.serReszable(false);
            //Code here will execute before the loop is started
            
        }
    
        @Override
    
        public int onLoop() throws InterruptedException {
           // getWalking().walkPath(path);
    
            return 100; //The amount of time in milliseconds before the loop starts over
    
        }
    
    
        @Override
    
        public void onExit() {
    
            //Code here will execute after the script ends
    
        }
    
    
        @Override
    
        public void onPaint(Graphics2D g) {
    
            //This is where you will put your code for paint(s)
    
        }
    }

    This is the code as well, if there is anything noticeable I've done wrong. There was more but I removed it to the skeleton just to double check if I'd wrote something wrong or what is not in the library.

    Thank you!

    Debug.PNG

  2. Hello people, 

    I'm having an issue with running my first script, there are no errors when compiling. But, the client always seems to not want to load it. Anyone have any solutions? 

     

    Thanks

    Capture.PNG

×
×
  • Create New...