Adblock breaks this site

Any1 got air runner script?

Discussion in 'RuneScape 3 Cheating' started by i skills too, Jan 12, 2009.

Thread Status:
Not open for further replies.
  1. i skills too

    i skills too Newcomer

    Joined:
    Dec 28, 2008
    Posts:
    7
    Referrals:
    0
    Sythe Gold:
    0
    Any1 got air runner script?

    Hello!

    Does any1 have air runner script? If u do pls contact me! Post it here so i can copy and paste it.

    Thanks!
     
  2. gridfun

    gridfun Member

    Joined:
    Jan 3, 2006
    Posts:
    43
    Referrals:
    0
    Sythe Gold:
    0
    Any1 got air runner script?

    PHP:
    import java.awt.Color;
    import java.awt.Graphics;
    import java.awt.Point;
    import java.util.Map;

    import com.speljohan.rsbot.bot.Bot;
    import com.speljohan.rsbot.event.events.ServerMessageEvent;
    import com.speljohan.rsbot.event.listeners.PaintListener;
    import com.speljohan.rsbot.event.listeners.ServerMessageListener;
    import com.speljohan.rsbot.script.Calculations;
    import com.speljohan.rsbot.script.Script;
    import com.speljohan.rsbot.script.wrappers.RSObject;
    import com.speljohan.rsbot.script.wrappers.RSTile;

    public class 
    EveryRuneCrafter extends Script implements ServerMessageListener,
            
    PaintListener {

        private final 
    int Altar 2478, Exit = 2465wait1 50wait2 250;
        private final 
    int[] tiara = { 552755295531553555375533 },
                
    essence = { 14367936 };
        private 
    boolean tallyinAltar false;
        private 
    RSTile[] path;
        private final 
    long startTime System.currentTimeMillis();
        private 
    RSTile bank_TileinRock_TileoutRock_Tile;
        private 
    int typetalismanbankIDused 0tries 0curCount,
                
    made 0;
        private final 
    int air_Bank 11758mind_Bank 11758water_Bank 2213,
                
    earth_Bank 11402fire_Bank 27663body_Bank 26972;
        private 
    String doing "";

        public 
    String getName() {
            return 
    "Every Rune Crafter";
        }

        public 
    String getAuthor() {
            return 
    "Fusion89k";
        }

        public 
    double getVersion() {
            return 
    1.3;
        }

        public 
    String getScriptCategory() {
            return 
    "Runecrafting";
        }

        public 
    String getScriptDescription() {
            return 
    "<html>\n"
                    
    "<head></head>\n"
                    
    "<body>\n"
                    
    "<center>"
                    
    "<h2>"
                    
    getName()
                    + 
    "</h2>"
                    
    "</center>\n"
                    
    "<b>Author:</b> "
                    
    getAuthor()
                    + 
    "<br />"
                    
    "<b>Version:</b> "
                    
    getVersion()
                    + 
    "<br><br><br>"
                    
    "<form>Rune Type:<input type=\"radio\" name=\"type\" value=\"1\" checked=\"checked\"> Air "
                    
    "<input type=\"radio\" name=\"type\" value=\"2\"> Mind"
                    
    "<input type=\"radio\" name=\"type\" value=\"3\"> Water "
                    
    "<input type=\"radio\" name=\"type\" value=\"4\"> Earth "
                    
    "<input type=\"radio\" name=\"type\" value=\"5\"> Fire "
                    
    "<input type=\"radio\" name=\"type\" value=\"6\"> Body "
                    
    "<BR></form>"
                    
    "<form>Talisman:<input type=\"radio\" name=\"tally\" value=\"talisman\">"
                    
    "Tiara:<input type=\"radio\" name=\"tally\" value=\"tiara\" checked=\"checked\"><br /></form>"
                    
    "</body>\n" "</html>";

        }

        public 
    boolean onStart(Map<StringStringargs) {
            
    type Integer.parseInt(args.get("type"));
            switch (
    type) {
            case 
    1:
                
    outRock_Tile = new RSTile(29853292);
                
    inRock_Tile = new RSTile(28444834);
                
    talisman 1438;
                
    bankID air_Bank;
                
    path = new RSTile[] { new RSTile(30153357),
                        new 
    RSTile(30083346), new RSTile(30083332),
                        new 
    RSTile(30063318), new RSTile(29953310),
                        new 
    RSTile(29963296), new RSTile(29873294) };
                break;
            case 
    2:
                
    outRock_Tile = new RSTile(29823514);
                
    inRock_Tile = new RSTile(27864841);
                
    talisman 1448;
                
    bankID mind_Bank;
                
    path = new RSTile[] { new RSTile(29453370),
                        new 
    RSTile(29553382), new RSTile(29653391),
                        new 
    RSTile(29693405), new RSTile(29803415),
                        new 
    RSTile(29873426), new RSTile(29803441),
                        new 
    RSTile(29713454), new RSTile(29743464),
                        new 
    RSTile(29713478), new RSTile(29763491),
                        new 
    RSTile(29793501), new RSTile(29803512) };
                break;
            case 
    3:
                
    outRock_Tile = new RSTile(31853165);
                
    inRock_Tile = new RSTile(34844836);
                
    talisman 1444;
                
    bankID water_Bank;
                
    path = new RSTile[] { new RSTile(30943243),
                        new 
    RSTile(31073234), new RSTile(31163222),
                        new 
    RSTile(31263215), new RSTile(31373206),
                        new 
    RSTile(31443191), new RSTile(31573181),
                        new 
    RSTile(31693171), new RSTile(31793162) };
                break;
            case 
    4:
                
    outRock_Tile = new RSTile(33063474);
                
    inRock_Tile = new RSTile(26584841);
                
    talisman 1440;
                
    bankID earth_Bank;
                
    path = new RSTile[] { new RSTile(32533421),
                        new 
    RSTile(32643429), new RSTile(32793429),
                        new 
    RSTile(32843443), new RSTile(32893457),
                        new 
    RSTile(32983465), new RSTile(33043473) };
                break;
            case 
    5:
                
    outRock_Tile = new RSTile(33133255);
                
    inRock_Tile = new RSTile(25854838);
                
    talisman 1442;
                
    bankID fire_Bank;
                
    path = new RSTile[] { new RSTile(33833267),
                        new 
    RSTile(33693268), new RSTile(33543264),
                        new 
    RSTile(33383265), new RSTile(33283262),
                        new 
    RSTile(33243245), new RSTile(33183234),
                        new 
    RSTile(33073243), new RSTile(33153254) };
                break;
            case 
    6:
                
    outRock_Tile = new RSTile(30533445);
                
    inRock_Tile = new RSTile(25234840);
                
    talisman 1446;
                
    bankID body_Bank;
                
    path = new RSTile[] { new RSTile(30923491),
                        new 
    RSTile(30823483), new RSTile(30813471),
                        new 
    RSTile(30733460), new RSTile(30673447),
                        new 
    RSTile(30543443) };
                break;
            default:
                return 
    false;
            }
            
    bank_Tile path[0];
            if (
    args.get("tally").equals("tiara"))
                
    tally false;
            else
                
    tally true;
            
    Bot.getEventManager().addListener(PaintListener.class, this);
            return 
    true;
        }

        public 
    void onFinish() {
            
    Bot.getEventManager().removeListener(PaintListener.class, this);
        }

        public 
    int loop() {
            
    setCameraAltitude(true);
            if ((
    getInventoryCount(talisman) == && tally)
                    && (!
    isCarryingItem(tiara) && !tally)) {
                
    log("No Talisman or Tiara");
                
    stopAllScripts();
            }
            if (
    isMoving()||getMyPlayer().getAnimation()!=-1)
                return 
    random(0100);
            if (
    needBank()) {
                if (
    tries >= 5) {
                    
    log("Bank Fail");
                    
    stopAllScripts();
                }
                if (
    distanceTo(findObject(Altar type 1)) < 20 && !inAltar) {
                    
    inAltar true;
                    return 
    random(wait1wait2);
                }
                if (
    inAltar) {
                    
    doing "Exiting";
                    
    RSObject ext findObject(Exit + type 1);
                    if (
    ext == null) {
                        
    inAltar false;
                        return 
    random(wait1wait2);
                    }
                    if (!
    tileOnScreen(ext.getLocation()))
                        
    rotate();
                    
    atObject(ext"Use");
                    return 
    random(wait1wait2);
                }
                if (
    distanceTo(bank_Tile) > 4) {
                    
    doing "Walking to Bank";
                    
    walk(true);
                    return 
    random(wait1wait2);
                }
                if (!
    bank.getInterface().isValid()) {
                    
    doing "Finding Bank";
                    
    RSObject booth findObject(bankID);
                    if (
    booth == null)
                        return 
    random(wait1wait2);
                    if (!
    tileOnScreen(booth.getLocation()))
                        
    rotate();
                    if (
    type == 5)
                        
    atObject(booth"Bank");
                    else
                        
    atObject(booth"Use-Quickly");
                    return 
    random(wait1wait2);
                }
                if (
    bank.getInterface().isValid()) {
                    
    doing "Depositing";
                    
    bank.depositAllExcept(essence[0], essence[1], talisman);
                    
    doing "Withdrawing";
                    
    clickMouse(random(3873), random(92123), false);
                    
    pause();
                    
    atMenu("but");
                    
    tries++;
                }
                return 
    random(wait1wait2);
            } else {
                
    tries 0;
                
    curCount getInventoryCount(essence);
                if (
    distanceTo(findObject(Altar type 1)) < 20 && !inAltar) {
                    
    inAltar true;
                    return 
    random(wait1wait2);
                }
                if (
    distanceTo(outRock_Tile) > && !inAltar) {
                    
    doing "Walking to Rock";
                    
    walk(false);
                    return 
    random(wait1wait2);
                }
                if (!
    inAltar) {
                    
    doing "Entering Rock";
                    if (
    tally)
                        
    atInventoryItem(talisman"Use");
                    if (!
    tileOnScreen(outRock_Tile))
                        
    rotate();
                    
    clickMouse(Calculations
                            
    .tileToScreen(randomTile(outRock_Tile1)), true);
                    return 
    random(wait1wait2);
                } else {
                    
    doing "Finding Altar";
                    
    RSObject alt findObject(Altar type 1);
                    if (
    alt == null) {
                        
    inAltar false;
                        return 
    random(wait1wait2);
                    }
                    if (
    distanceTo(alt) > 5) {
                        
    doing "Walking to Altar";
                        
    walkTileMM(randomTile(alt.getLocation()));
                        return 
    random(wait1wait2);
                    }
                    
    doing "Crafting";
                    
    clickMouse(randomPoint(Calculations.tileToScreen(inRock_Tile)),
                            
    true);
                    return 
    random(wait1wait2);
                }
            }
        }

        private 
    Point randomPoint(Point click) {
            return new 
    Point(click.random(-55), click.random(-55));
        }

        private 
    RSTile randomTile(RSTile location) {
            return 
    randomTile(location2);
        }

        private 
    RSTile randomTile(RSTile locationint rand) {
            
    int x location.getX(), location.getY();
            return new 
    RSTile(random(randrand),
                    
    random(randrand));
        }

        private 
    void pause() {
            
    wait(random(wait1wait2));
        }

        private 
    void rotate(){
            
    setCameraRotation(getCameraAngle() + random(170190));
        }
        
        private 
    boolean needBank() {
            if (
    getInventoryCount(essence) <= 0)
                return 
    true;
            return 
    false;
        }

        private 
    void walk(boolean toBank) {
            
    setCompass('n');
            if (
    getEnergy() >= random(60100))
                
    setRun(true);
            
    RSTile start locate();
            
    int loc 0;
            for (
    int i 0path.lengthi++) {
                if (
    start.equals(path[i])) {
                    
    loc i;
                    break;
                }
            }
            if (
    toBank) {
                if (
    loc == 0) {
                    
    walkTileMM(randomTile(path[0]));
                    return;
                }
                
    walkTileMM(randomTile(path[loc 1]));
            } else {
                if (
    loc == path.length 1) {
                    
    walkTileMM(randomTile(path[path.length 1]));
                    return;
                }
                
    walkTileMM(randomTile(path[loc 1]));
            }
        }

        private 
    RSTile locate() {
            
    RSTile min path[0];
            for (
    int i 1path.lengthi++) {
                if (
    distanceTo(path[i]) < distanceTo(min))
                    
    min path[i];
            }
            return 
    min;
        }

        private 
    boolean isMoving() {
            if (!
    getMyPlayer().isMoving() || inAltar)
                return 
    false;
            if (
    getDestination()!=null&&(distanceBetween(path[0],getDestination())>5&&distanceBetween(path[path.length-1],getDestination())>5)) {
                if (
    distanceTo(getDestination()) < 5)
                    return 
    false;
            }
            return 
    true;
        }

        public 
    void onRepaint(Graphics g) {
            if (
    isLoggedIn()) {
                
    long millis System.currentTimeMillis() - startTime;
                
    long hours millis / (1000 60 60);
                
    millis -= hours * (1000 60 60);
                
    long minutes millis / (1000 60);
                
    millis -= minutes * (1000 60);
                
    long seconds millis 1000;
                
    // 173 and 80 decide width and height respectively
                
    int topX 515 190topY 337 80topX 5topY 5;
                
    g.setColor(new Color(01000100));
                
    g.fill3DRect(topXtopY515 topX337 topYtrue);
                
    g.setColor(Color.green);
                
    g.drawString("Runtime: " hours "h " minutes "min "
                        
    seconds "sec."x+= 15);
                
    g.drawString("Crafted: " made " Runes."x+= 15);
                
    g.drawString("Used: " used " essence."x+= 15);
                
    g.drawString("Status: " doingx+= 15);
            }
        }

        public 
    void serverMessageRecieved(ServerMessageEvent e) {
            
    String word e.getMessage().toLowerCase();
            if (
    word.contains("bind")) {
                
    used += curCount;
                
    curCount 0;
            } else if (
    word.contains("portal")) {
                
    made += Math.max(getInventoryCount(getInventoryArray()[0]),
                        
    getInventoryCount(getInventoryArray()[1]));
                
    inAltar false;
            } else if (
    word.contains("force take"))
                
    inAltar true;
            else if (
    word.contains("only have one")) {
                
    log("Only one essence left - Logging out");
                
    stopAllScripts();
            }
        }
    }
     
  3. `Denis

    `Denis Forum Addict

    Joined:
    Nov 24, 2007
    Posts:
    476
    Referrals:
    0
    Sythe Gold:
    0
    Any1 got air runner script?

    You got scripts in the Thread of RSbot Scripts.
     
  4. i skills too

    i skills too Newcomer

    Joined:
    Dec 28, 2008
    Posts:
    7
    Referrals:
    0
    Sythe Gold:
    0
    Any1 got air runner script?

    Thanks for this one. :) now this thread can be locked.
     
  5. Dinner

    Dinner Active Member
    Banned

    Joined:
    Jan 3, 2009
    Posts:
    232
    Referrals:
    1
    Sythe Gold:
    5
    Any1 got air runner script?

    Dont leech scripts god I hate leechers.
     
  6. surface

    surface Newcomer

    Joined:
    Dec 24, 2008
    Posts:
    7
    Referrals:
    0
    Sythe Gold:
    0
    Any1 got air runner script?

    thanks for this scripst
     
< What's the d-stone method? | Cool? >
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site