Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • MrJooj

    Scripter
    • Posts

      9
    • Joined

    • Last visited

    Posts posted by MrJooj

    1. Walks to GE and stops. Simple as that 😃

       

      Just a simple script that i've been using for a while, and since there isn't a script that just walks to GE i'm releasing mine, and also the few lines of code.

       

      Source code:

      Spoiler
      
      package scripts.walkToGe;
      
      import org.dreambot.api.methods.Calculations;
      import org.dreambot.api.methods.map.Area;
      import org.dreambot.api.script.AbstractScript;
      import org.dreambot.api.script.Category;
      import org.dreambot.api.script.ScriptManifest;
      
      import java.awt.*;
      
      
      @ScriptManifest(author = "MrJooj",
              name = "Walk to GE",
              description = "Walks straight to GE",
              version = 1.0,
              category = Category.MISC)
      
      
      public class GEWalker extends AbstractScript {
      
          private final Area GE = new Area(3162, 3487, 3167, 3485);
          
          @Override
          public int onLoop() {
              if (!GE.contains(getLocalPlayer())) {
                  if (getWalking().shouldWalk()){
                      getWalking().walk(GE.getRandomTile());
                  }
              } else {
                  stop();
              }
      
              return Calculations.random(20, 70);
          }
      
          @Override
          public void onPaint(Graphics g) {
              g.drawString("Walking to Grand Exchange", 10, 35);
          }
      
      }

       

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.