Adblock breaks this site

.:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

Discussion in 'Archives' started by MatthewGor123, Dec 1, 2008.

Thread Status:
Not open for further replies.
  1. deadlywario0

    deadlywario0 Active Member

    Joined:
    Nov 29, 2008
    Posts:
    129
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    Any one have a ROCK CRAB KILLING SCRIPT that actually works?....besides duncans (although i will buy duncans if i have to....) just curious if any1 does. Post it pl0x ><
     
  2. IcyDude

    IcyDude Forum Addict
    Banned

    Joined:
    Oct 7, 2008
    Posts:
    339
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    i need a good, minimizeable alcher that can work along with Rsbot antibans with overnight capabillities

    i would also appreciate a .class file because i dunno how to compile
     
  3. x hexify x

    x hexify x Newcomer

    Joined:
    Jan 3, 2009
    Posts:
    2
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    Could someone make an anti-random nest picker?
     
  4. I_ir0n_dds_I

    I_ir0n_dds_I Active Member
    Banned

    Joined:
    Oct 11, 2007
    Posts:
    119
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    ima bit confused..
     
  5. joubanian

    joubanian Newcomer

    Joined:
    Jan 7, 2009
    Posts:
    2
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    im trying the script DP's draynorwillows.zip but wen i click it goes to another windows and just i cant download and erliar i tried another script( cant remember wat 1) and i just dunno how to use.....plz say
     
  6. joubanian

    joubanian Newcomer

    Joined:
    Jan 7, 2009
    Posts:
    2
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    Please Can Some1 Help Me?! No Scrpits R Working!!!
     
  7. bensino

    bensino Apprentice
    Banned

    Joined:
    Aug 3, 2005
    Posts:
    723
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    There are no good scripts there for varrock eastbank iron mining, any1 got any?
     
  8. gridfun

    gridfun Member

    Joined:
    Jan 3, 2006
    Posts:
    43
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    Save as ProMiner.java

    PHP:
    //
    // ProMiner by Aelin[Aelin]
    //
    // Revision 0.01
    // Beta release
    //
    import java.awt.*;
    import java.util.Map;

    import com.speljohan.rsbot.bot.Bot;
    import com.speljohan.rsbot.event.listeners.PaintListener;
    import com.speljohan.rsbot.script.Script;
    import com.speljohan.rsbot.script.wrappers.*;

    public class 
    ProMiner extends Script implements PaintListener {
        
    int[][] rocks = new int[][] {
        
    // Remington - Clay
                
    new int[] { 97119713 },

                
    // Remington - Copper
                
    new int[] { 970897099710 },

                
    // Remington - Tin
                
    new int[] { 97149716 },

                
    // Remington - Iron
                
    new int[] { 971797189719 },

                
    // Remington - Gold
                
    new int[] { 97209722 },

                
    // Varrock East - Copper
                
    new int[] { 119601196111962 },

                
    // Varrock East - Tin
                
    new int[] { 119571195811959 },

                
    // Varrock East - Iron
                
    new int[] { 119541195511956 },

                
    // Varrock West - Clay
                
    new int[] { 155031550415505 },

                
    // Varrock West - Tin
                
    new int[] { 119571195811959 },

                
    // Varock West - Iron
                
    new int[] { 1195411955 },

                
    // Varrock West - Silver
                
    new int[] { 1194911950 },

                
    // Al Kharid - Copper
                
    new int[] { 119361193711938 },

                
    // Al Kharid - Iron
                
    new int[] { 3730737309 },

                
    // Al Kharid - Silver
                
    new int[] { 3730437305 },

                
    // Al Kharid - Coal
                
    new int[] { 1193011932 },

                
    // Al Kharid - Gold
                
    new int[] { 3731037313 },

                
    // Al Kharid - Mithril
                
    new int[] { 1194211944 },

                
    // Al Kharid - Adamanite
                
    new int[] { 1193911941 },

        
    // Mining Guild - Coal
        // new int[ ] { 31061, 31059, 31068, 31069, 31070 }
        
    };
        
    int[] gear = new int[] { 1265// Bronze Pickaxe
                
    1267// Iron pickaxe.
                
    1269// Steel Pickaxe
                
    1273// Mithril Pickaxe
                
    1271// Adamanite Pickaxe.
                
    1275 // Rune pickaxe
        
    };

        final 
    int[] smokingRocks = { 11433114341143511436 };
        
    RSTile[] toBank;
        
    RSTile[] toMine;
        
    int bankBooth;
        
    int checkTime;
        
    long startTime;
        
    long lastCheck;
        
    int fails;
        final 
    int MAX_FAILS 25;
        
    int mode;
        
    boolean powerMode false;
        
    int randomRun random(4075);
        final 
    int S_WALKTO_MINE 1000;
        final 
    int S_WALKTO_BANK 1500;
        final 
    int S_MINE 2000;
        final 
    int S_USE_BANK 2500;
        final 
    int S_DROP 3000;
        
    int state S_MINE;
        
    int rockCount;
        
    int oldRockCount;
        
    int xpPerRock;
        
    long avoidedCombat;
        
    long avoidedSmokingRocks;
        
    int startLevel;
        
    int startExp;
        
    int oldExp;
        
    int countToNext;
        
    int oldLevels;
        
    long lastAvgCheck;
        
    int avgPerHour;
        
    int gems;

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

        public 
    String getName() {
            return 
    "ProMiner";
        }

        public 
    double getVersion() {
            return 
    0.01;
        }

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

        public 
    String getScriptDescription() {
            
    String html "";

            
    html += "<html>";
            
    html += "<body>";
            
    html += "<font size=\"2\">";
            
    html += "<b>" getName() + " v" getVersion() + "</b><br>";
            
    html += "Author: " getAuthor() + "<br><br>";
            
    html += "<b>Remmington:</b> 0 - Clay, 1 - Copper, 2 - Tin, 3 - Iron, 4 - Gold<br>";
            
    html += "<b>Varrock East:</b> 5 - Copper, 6 - Tin, 7 - Iron<br>";
            
    html += "<b>Varrock West:</b> 8 - Clay, 9 - Tin, 10 - Iron, 11 - Silver<br>";
            
    html += "<b>Al Kharid:</b> 12 - Copper, 13 - Iron, 14 - Silver, 15 - Gold, 16 - Mithril<br>";
            
    // html += "<b>Faladore:</b> <br>";
            
    html += "<b>Mining Guild:</b> 12 - Coal<br>";
            
    html += "Mode: <input type=\"text\" name=\"mode\"><br>";
            
    html += "<input type=\"radio\" name=\"power\" value=\"true\">Power-Mining Mode<br>";
            
    html += "</font>";
            
    html += "</body>";
            
    html += "</html>";

            return 
    html;
        }

        public 
    boolean onStart(Map<StringStringargs) {
            
    Bot.getEventManager().addListener(PaintListener.class, this);

            try {
                
    mode Integer.parseInt(args.get("mode"));

                if (
    args.get("power").equals("true")) {
                    
    powerMode true;
                    
    log("Power-mining mode activated.");
                }
            } catch (
    Exception e) {

            }

            if (
    mode >= && mode <= 4) {
                
    log("Settings paths for remington.");
                
    toBank = new RSTile[] { new RSTile(29773239),
                        new 
    RSTile(29763252), new RSTile(29743266),
                        new 
    RSTile(29813275), new RSTile(29943282),
                        new 
    RSTile(30053291), new RSTile(30043304),
                        new 
    RSTile(30073318), new RSTile(30073334),
                        new 
    RSTile(30073350), new RSTile(30133356) };
                
    toMine reversePath(toBank);
                
    bankBooth 11758;
            }

            if (
    mode >= && mode <= 7) {
                
    log("Setting paths for Varrock East.");
                
    toBank = new RSTile[] { new RSTile(32853365),
                        new 
    RSTile(32943377), new RSTile(32923392),
                        new 
    RSTile(32903408), new RSTile(32853423),
                        new 
    RSTile(32733428), new RSTile(32583429),
                        new 
    RSTile(32543420) };
                
    toMine reversePath(toBank);
                
    bankBooth 11402;
            }

            if (
    mode >= && mode <= 11) {
                
    log("Setting paths for Varrock West.");
                
    toBank = new RSTile[] { new RSTile(31803370),
                        new 
    RSTile(31783380), new RSTile(31733394),
                        new 
    RSTile(31713410), new RSTile(31713425),
                        new 
    RSTile(31863429), new RSTile(31863439) };
                
    toMine reversePath(toBank);
                
    bankBooth 11402;
            }

            if (
    mode >= 12 && mode <= 16) {
                
    log("Setting paths for Al Kharid.");
                
    toBank = new RSTile[] { new RSTile(33003305),
                        new 
    RSTile(32993291), new RSTile(32943277),
                        new 
    RSTile(32923263), new RSTile(32913248),
                        new 
    RSTile(32883231), new RSTile(32803217),
                        new 
    RSTile(32853201), new RSTile(32813187),
                        new 
    RSTile(32773172), new RSTile(32693167) };
                
    toMine reversePath(toBank);
                
    bankBooth 35647;
            }

            if (
    mode >= 17 && mode <= 17) {
                
    log("Setting paths for the Mining Guild.");
                
    toBank = new RSTile[] { new RSTile(30479738),
                        new 
    RSTile(30389737), new RSTile(30219739),
                        new 
    RSTile(30213339), new RSTile(30323342),
                        new 
    RSTile(30323357), new RSTile(30203361),
                        new 
    RSTile(30123356) };
                
    toMine reversePath(toBank);
                
    bankBooth 11758;
            }

            return 
    true;
        }

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

        public 
    int loop() {
            
    // Does the play have enough energy to run and is the player allready
            // running?
            
    if (getEnergy() >= randomRun && !isRunning()) {
                
    // All conditions met, set run mode.
                
    log("Setting run.");
                
    setRun(true);

                
    randomRun random(4075);
                
    log("Running next time when energy reaches " randomRun ".");
                return 
    random(500750);
            }

            
    // Perform script actions based on state.
            
    switch (state) {
                case 
    S_WALKTO_MINE:
                    if (
    walkPath(toMine)) {
                        
    log("Arriving at mine, mining.");
                        
    state S_MINE;
                        return 
    random(500750);
                    } else {
                        
    antiBan();
                        return 
    random(250500);
                    }

                case 
    S_WALKTO_BANK:
                    if (
    walkPath(toBank)) {
                        
    log("Arriving at bank, banking.");
                        
    state S_USE_BANK;
                        return 
    random(500750);
                    } else {
                        
    antiBan();
                        return 
    random(250500);
                    }

                case 
    S_MINE:
                    
    RSObject rock findObject(rocks[mode]);
                    
    RSObject sr findObject(smokingRocks);

                    if (
    isInventoryFull()) {
                        if (
    powerMode) {
                            
    log("Inventory is full, dropping.");
                            
    state S_DROP;
                            return 
    random(500750);
                        } else {
                            
    log("Inventory is full, banking.");
                            
    state S_WALKTO_BANK;
                            return 
    random(500750);
                        }
                    }

                    if (
    getMyPlayer().isInCombat()) {
                        
    log("Currently in combat, running away.");
                        
    avoidedCombat++;
                        
    state S_WALKTO_BANK;
                        return 
    random(500750);
                    }

                    if (
    getMyPlayer().isMoving()
                            || 
    getMyPlayer().getAnimation() != -1) {
                        if (
    sr != null && distanceTo(sr.getLocation()) <= 1) {
                            
    log("Avoided smoking rocks.");
                            
    avoidedSmokingRocks++;
                        } else {
                            return 
    antiBan();
                        }
                    }

                    if (
    rock != null) {
                        if (
    tileOnScreen(rock.getLocation())) {
                            
    fails 0;
                            
    atObject(rock"Mine");
                            return 
    random(7501000);
                        } else {
                            
    walkTileRand(rock.getLocation());
                            return 
    random(500750);
                        }
                    } else {
                        
    fails++;
                        
    log("Failed to find a rock, trying " + (MAX_FAILS fails)
                                + 
    " times.");
                        return 
    random(7501500);
                    }

                case 
    S_USE_BANK:
                    
    RSObject booth findObject(bankBooth);

                    if (
    getMyPlayer().isMoving()) {
                        return 
    antiBan();
                    }

                    if (
    booth != null) {
                        if (
    tileOnScreen(booth.getLocation())) {
                            if (!
    atObject(booth"Use-quickly")) {
                                
    log("Failed to access bank, trying "
                                        
    + (MAX_FAILS fails) + " more times.");
                                return 
    random(7501500);
                            }

                            
    bank.depositAllExcept(gear);

                            if (
    isInventoryFull()) {
                                
    log("Something when wrong, inventory is still full, retrying "
                                        
    + (MAX_FAILS fails) + " more times.");
                                return 
    random(500750);
                            } else {
                                
    log("Made deposit, heading back to the mine.");
                                
    state S_WALKTO_MINE;
                                return 
    random(500750);
                            }
                        } else {
                            
    walkTileRand(booth.getLocation());
                            return 
    random(500750);
                        }
                    } else {
                        
    fails++;
                        
    log("Failed to find a bank booth, trying "
                                
    + (MAX_FAILS fails) + " more times.");
                        return 
    random(7501500);
                    }

                case 
    S_DROP:
                    
    log("Dropping all items except gear.");
                    
    dropAllExcept(gear);
                    
    state S_MINE;
                    return 
    random(500750);

            }

            return 
    random(500750);
        }

        public 
    void onRepaint(Graphics g) {
            
    // local objects:
            
    int index STAT_MINING;
            
    int exp 0;
            
    int levels;
            
    long hours 0minutes 0seconds 0;
            
    long time;

            
    // Has start time been previously set?
            
    if (startTime == 0) {
                
    startTime System.currentTimeMillis();
            }

            
    // Calculate hours, minutes and seconds.
            
    time System.currentTimeMillis() - startTime;
            
    seconds time 1000;
            if (
    seconds >= 60) {
                
    minutes seconds 60;
                
    seconds -= minutes 60;
            }
            if (
    minutes >= 60) {
                
    hours minutes 60;
                
    minutes -= hours 60;
            }

            
    // Has variables been previously defined?
            
    if (startLevel == || startExp == 0) {
                
    // No, so define them now.
                
    startLevel skills.getCurrentSkillLevel(index);
                
    startExp skills.getCurrentSkillExp(index);
                
    oldExp 0;
            }

            
    // Calculate catches based on experience changes.
            
    exp skills.getCurrentSkillExp(index) - startExp;
            if (
    exp oldExp) {
                
    xpPerRock exp oldExp;
                
    oldExp exp;
                
    rockCount++;
                
    countToNext skills.getXPToNextLevel(STAT_MINING) / xpPerRock 1;
            }

            
    // Calculate levels gained.
            
    levels skills.getCurrentSkillLevel(index) - startLevel;
            if (
    levels oldLevels) {
                
    oldLevels levels;
            }

            
    //
            
    if (System.currentTimeMillis() - lastAvgCheck >= 60000) {
                
    lastAvgCheck System.currentTimeMillis();
                
    avgPerHour = (rockCount oldRockCount) * 60;
                
    oldRockCount rockCount;
            }

            
    // Draw information.
            
    g.setColor(Color.WHITE);
            
    g.drawString(getName() + " v" getVersion(), 9171);
            
    g.drawString("XP Gained: " exp9187);
            
    g.drawString("Levels Gained: " levels9203);
            
    g.drawString("Percent to next level: "
                    
    skills.getPercentToNextLevel(index), 9219);
            
    g.drawString("Rocks: " rockCount9235);
            
    g.drawString("Rocks to next level: " countToNext9251);
            
    g.drawString("Times avoided combat: " avoidedCombat9267);
            
    g.drawString("Smoking Rocks Avoided: " avoidedSmokingRocks9283);
            
    g.drawString("Time running: " hours "." minutes "." seconds,
                    
    9299);
            
    g.drawString("Average per hour: " avgPerHour9315);
            
    // g.drawString("Gems: " + gems, 9, 331); Added later.
        
    }

        private 
    int antiBan() {
            
    int gamble random(112);

            switch (
    gamble) {
                case 
    1:
                    return 
    random(500750);

                case 
    2:
                    
    int x random(0750);
                    
    int y random(0500);
                    
    moveMouse(00xy);
                    return 
    random(500750);

                case 
    3:
                    
    openTab(TAB_INVENTORY);
                    return 
    random(500750);

                case 
    4:
                    if (
    getMyPlayer().isMoving()) {
                        return 
    random(7501000);
                    }

                    if (
    System.currentTimeMillis() - lastCheck >= checkTime) {
                        
    lastCheck System.currentTimeMillis();
                        
    checkTime random(60000180000);

                        if (
    getCurrentTab() != TAB_STATS) {
                            
    openTab(TAB_STATS);
                        }
                        
    moveMouse(6602275028);
                        return 
    random(50008000);
                    }

                case 
    5:
                    if (
    random(18) == 2) {
                        
    int angle getCameraAngle() + random(-9090);
                        if (
    angle 0) {
                            
    angle 0;
                        }
                        if (
    angle 359) {
                            
    angle 0;
                        }

                        
    setCameraRotation(angle);
                    }

                    return 
    random(500750);
            }

            return 
    random(500750);
        }

        private 
    boolean walkPath(RSTile[] path) {
            if (
    distanceTo(path[path.length 1]) <= 2) {
                return 
    true;
            } else {
                if (!
    getMyPlayer().isMoving()) {
                    
    walkPathMM(randomizePath(path22), 20);
                }
            }

            return 
    false;
        }

        private 
    void walkTileRand(RSTile tile) {
            
    // Local objects:
            
    RSTile temp = new RSTile(tile.getX() + random(-22), tile.getY()
                    + 
    random(-22));

            
    walkTileMM(temp);
        }
    }

     
  9. gridfun

    gridfun Member

    Joined:
    Jan 3, 2006
    Posts:
    43
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    PHP:
    import java.awt.*;
    import java.awt.event.KeyEvent;
    import java.util.*;
    import com.speljohan.rsbot.bot.Bot;
    import com.speljohan.rsbot.event.listeners.PaintListener;
    import com.speljohan.rsbot.accessors.NPC;
    import com.speljohan.rsbot.bot.Bot;
    import com.speljohan.rsbot.script.Script;
    import com.speljohan.rsbot.script.Calculations;
    import com.speljohan.rsbot.script.wrappers.*;
    import com.speljohan.rsbot.script.*;
    import com.speljohan.rsbot.plugin.NonPluginClass;

    public class 
    DPDraynorWillowChopper extends Script implements PaintListener {

        public static 
    int[] tree = { 130855515552555384818482,
                
    848384848485848684878488 };
                
        public static 
    int bankBooth 2213;
                
        public static 
    RSTile treeTile = new RSTile(30863234);

        public static 
    RSTile bankTile = new RSTile(30923245);
        
        public final 
    String[] treeNames = {"Willow"};
        
        public 
    RSTile lumbTile = new RSTile(32233218);
        
        public 
    RSTile[] lumbToDraynorBankPath = {
            new 
    RSTile(32223219), new RSTile(32323224), new RSTile(32273234), new RSTile(32223244), new RSTile(32113246), new RSTile(32003247), new RSTile(31893246), new RSTile(31783243), new RSTile(31683238), new RSTile(31573236), new RSTile(31463232), new RSTile(31363227), new RSTile(31253227), new RSTile(31143228), new RSTile(31083238), new RSTile(31033248), 
            new 
    RSTile(30923245)};

        public 
    String getName() {
            return 
    "Dontpanic's Draynor Willow Chopper";
        }
        
        public 
    double getVersion() {
            return 
    2.0;
        }

        public 
    String getAuthor() {
            return 
    "Dontpanic - [email protected]";
        }
        
        public 
    boolean onStart(String[] args) {
            
    Bot.getEventManager( ).addListener(PaintListener.class, this);
            return(
    true);
        }
        
        public 
    void onFinish() {
            
    Bot.getEventManager().removeListener(PaintListener.class, this);
        }
        
        public 
    DPDraynorWillowChopper() {
            
    setParameters();
        }
        
        private 
    void setParameters() {
            
    super.setParameter("category""WoodCutting");
            
    super.setParameter("name""Dontpanic's Draynor Willow Chopper");
            
    super.setParameter("author""Dontpanic - [email protected]");
            
    super.setParameter("version"2.0);

            
    String desc super.getScriptDescription();

            
    super.setParameter("description""<h1>Dontpanic's Draynor Willow Chopper</h1><p>Start anywhere with your axe equipped or in your inventory.</p>");
        }
        
        
    boolean wasMoving false;
        
        
    int loads 0;
        
        public 
    void onRepaint(Graphics g) {
            
    g.setColor(Color.YELLOW);
            
    g.drawString("Dontpanic's Draynor Willow Chopper"26020); 
            
    g.drawString("Loads: " loads26038); 
        }
        
        
    boolean cameraMoving false;
        
        public 
    int loop() {
            if(!
    isLoggedIn()) {
                return 
    random(100,200);
            }
            if(
    checkSpinningView()) {
                return 
    random(200300);
            }
            if(
    checkCamera()) {
                return 
    random(500800);
            }
            if(
    getMyPlayer().isMoving()) {
                return 
    random(150200);
            }
            if(
    checkLumb()) {
                return 
    random(8001000);
            }
            
    int checkLostResult checkLost();
            if(
    checkLostResult > -1) {
                return 
    checkLostResult;
            }        
            if(
    checkAttack()) {
                return 
    random(8001000);
            }
            if(
    checkEnt()) {
                return 
    random(8001000);
            }
            if(
    getMyPlayer().getAnimation() != -1) {
                return 
    random(150200);
            }
            if(
    getInventoryCount() != 28) {
                return 
    doChop();
            } else {
                return 
    doBank();
            }
        }
        
        public 
    int doChop() {
            if(
    distanceTo(treeTile) > 10) {
                
    walkTileMM(treeTile);
                return 
    random(8001000);
            }
            if(
    wasMoving) {
                
    wasMoving false;
                return 
    random(500700);
            }
            if(
    clickTree()) {
                return 
    random(8001000);
            } else {
                if(
    distanceTo(treeTile) > 10) {
                    
    walkTileMM(treeTile);
                    return 
    random(8001000);
                } else {
                    return 
    random(100200);
                }
            }
        }
        
        public 
    boolean checkCamera() {
            if(
    cameraMoving) {
                if(
    Bot.getClient().getCameraCurveY() >= 380) {
                    
    Bot.getInputManager().releaseKey((charKeyEvent.VK_UP);
                    
    cameraMoving false;
                }
                return 
    true;
            } else if (
    Bot.getClient().getCameraCurveY() < 380) {
                
    Bot.getInputManager().pressKey((charKeyEvent.VK_UP);
                
    cameraMoving true;
                return 
    true;
            }
            return 
    false;
        }
        
        public 
    boolean clickTree() {
            
    RSObject object findObject(tree);
            
    /*if (object == null || Calculations.tileToScreen(object.getLocation()).getX() == -1) {
                return false;
            }
            Point point = new Point((int) Calculations.tileToScreen(object.getLocation()).getX() + random(0,5), (int) Calculations.tileToScreen(object.getLocation()).getY() - random(32, 33));
            moveMouse(point);
            clickMouse(point, true);
            wasMoving = true;*/
            
    if(object == null || distanceTo(object.getLocation()) > 16) {
                return 
    false;
            }
            if(
    atTile(object.getLocation(), "Chop")) {
                
    wasMoving true;
                return 
    true;
            }
            if(
    distanceTo(object.getLocation()) > 3) {
                return 
    dpWalkTile(object.getLocation());            
            }
            
    spinView();
            return 
    false;
        }
        
        public 
    int doBank() {
            if(
    distanceTo(bankTile) > 3) {
                
    walkTileMM(bankTile);
                
    setRun(true);
                return 
    random(8001000);
            }
            if(
    RSInterface.getInterface(INTERFACE_BANK).isValid()) {
                
    bank.depositAllExcept(1349135113531355135713596739);
                
    loads ++;
                return 
    random(100500);
            } else {
                
    RSObject object findObject(bankBooth);
                
    atObject(object"uickly");
                return 
    random(500,600);
            }
        }

        public 
    boolean checkEnt() {
            
    int count Bot.getClient().getNPCCount();
            
    NPC[] npcs Bot.getClient().getNPCArray();
            
    int[] ints Bot.getClient().getNPCIndexArray();
            for (
    int i 0counti++)
            {
                
    RSNPC npc = new RSNPC(npcs[ints[i]]);
                if(
    getMyPlayer().getInteracting() != null && getMyPlayer().getInteracting().equals(npc) && Arrays.asList(treeNames).contains(npc.getName())) {
                    if(!
    clickTree()) {
                        
    walkTileMM(treeTile);
                    }
                    return 
    true;
                } 
            }
            return 
    false;
        }
        
        
        public 
    boolean checkAttack() {
            if(
    getMyPlayer().isInCombat()) {
                if(
    distanceTo(bankTile) > 3) {
                    
    walkTileMM(bankTile);
                } else {
                    
    walkTileMM(treeTile);
                }
                return 
    true;
            } else {
                return 
    false;
            }
        }
        
        
    /*boolean attacked = false;
        
        int attHP = -1;
        
        public boolean checkAttack() {
            int maxHP = skills.getLvlByExp(skills.getCurrentSkillExp(3));
            int curHP = skills.getCurrentSkillLevel(3);
            if(curHP < maxHP) {
                if(attacked) {
                    if(curHP > attHP) {
                        attHP = curHP;
                    }
                    if(curHP >= attHP) {
                        return false;
                    } else {
                        attacked = false;
                    }
                }
                if(!attacked) {
                    if(distanceTo(bankTile) > 3) {
                        walkTileMM(bankTile);
                    } else {
                        walkTileMM(treeTile);
                    }
                    attHP = -1;
                    attacked = true;
                    return true;
                }
                
                
            } else {
                if(attacked) {
                    attacked = false;
                }
                if(attHP != -1) {
                    attHP = -1;
                }
            }
            return false;
        }*/
        
        
    public void spinView() {
            
    Bot.getInputManager().pressKey((charKeyEvent.VK_RIGHT);
            
    spinningView true;
        }
        
        
    boolean spinningView false;
        
        public 
    boolean checkSpinningView() {
            if(
    spinningView) {
                
    Bot.getInputManager().releaseKey((charKeyEvent.VK_RIGHT);
                
    spinningView false;
                return 
    true;
            } else {
                return 
    false;
            }
        }
        
        public 
    boolean dpWalkPath(RSTile[] path) {
            for(
    int i path.length 1>= 0i--) {
                if(
    dpWalkTile(path[i])) {
                    return 
    true;
                }
            }        
            return 
    false;
        }
        
        public 
    boolean dpWalkTile(RSTile tile) {
            if(
    distanceTo(tile) <= 16) {
                
    walkTileMM(tile);
                return 
    true;
            } else {
                return 
    false;
            }
        }
        
        public 
    boolean checkLumb() {
            if(
    distanceTo(lumbTile) < 20) {
                
    dpWalkPath(lumbToDraynorBankPath);
                return 
    true;
            }
            return 
    false;
        }
        
        
    boolean lostTriedWalk false;
        
        public 
    int checkLost() {
            if(
    homeTeled) {
                
    homeTeled false;
                if(
    getMyPlayer().getAnimation() != -1) {
                    return 
    random(11000,12000);
                }
            }
            if((
    distanceTo(treeTile) > 10) && (distanceTo(bankTile)>5)) {
                if(!
    lostTriedWalk) {
                    
    lostTriedWalk true;
                    
    walkTileMM(treeTile);
                    return 
    random(8001000);
                }
                
    lostTriedWalk false;
                
    homeTele();
                return 
    random(30004000);
            } else if(
    lostTriedWalk) {
                
    lostTriedWalk false;
            }
            return -
    1;
        }
        
        
    boolean homeTeled false;
        
        public 
    void homeTele() {
            
    openTab(Script.TAB_MAGIC);
            
    castSpell(1);
            
    homeTeled true;
        }
        
    }
     
  10. gridfun

    gridfun Member

    Joined:
    Jan 3, 2006
    Posts:
    43
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.


    Haven't tried out tho.

    PHP:
    //
    // CrabBot2 - A more refined version of my Rock Crab Auto-fighter.
    //
    // Author: 3p1c
    //
    import java.awt.*;
    import com.speljohan.rsbot.bot.Bot;
    import com.speljohan.rsbot.event.listeners.PaintListener;
    import com.speljohan.rsbot.script.Script;
    import com.speljohan.rsbot.script.wrappers.*;

    public class 
    CrabBot2 extends Script implements PaintListener {
        
    // 2674, 3697
        // 2674, 3712
        // 2683, 3718
        // 2682, 3729
        
    public final double BotVersion 0.7;
        public 
    int State 10;
        public 
    int GambleInt;
        public 
    int SkillHealth 3;
        public 
    int Hobgoblin 123;
        public 
    int LobsterID 379;
        public 
    int EvilChicken[] = new int[] { 246324642465246624672468

        
    };

        public 
    int RockCrabIDs[] = new int[] { 1265126612671268 };

        public 
    RSTile ToStart[] = new RSTile[] { new RSTile(26823729),
                new 
    RSTile(26833718), new RSTile(26743712),
                new 
    RSTile(26743697) };
        public 
    RSTile ToEnd[] = reversePath(ToStart);
        public 
    boolean RunningFromEvil false;

        public 
    String getName() {
            return (
    "CrabBot2");
        }

        public 
    double getVersion() {
            return (
    BotVersion);
        }

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

        public 
    boolean onStart(String[] Args) {
            
    Bot.getEventManager().addListener(PaintListener.class, this);
            return (
    true);
        }

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

        public 
    int loop() {
            
    // Check health and eat.
            
    CheckHealthEat();

            
    // Is the evil chicken nearby?
            
    RSNPC Chicken getNearestNPCByID(EvilChicken);
            if (
    Chicken != null) {
                if (
    distanceTo(Chicken.getLocation()) <= 5) {
                    
    log("It's teh damn Chicken again!");
                    
    RunningFromEvil true;
                    
    setRun(true);
                    
    State 30;
                    return (
    AntiBan());
                }
            }

            
    // If the player is in combat,
            
    if (getMyPlayer().isInCombat() || getMyPlayer().isMoving()) {
                if (!
    RunningFromEvil) {
                    return (
    AntiBan());
                }
            }

            switch (
    State) {
                
    // 10 - Walk to monster.
                
    case 10:
                    
    RSNPC Monster getNearestNPCByID(RockCrabIDs);
                    if (
    Monster != null && !Monster.isInCombat()
                            && 
    distanceTo(Monster.getLocation()) <= 8) {
                        
    WalkTo(Monster);
                        
    State 20;
                    } else {
                        
    log("No Rock Crabs in range.");
                    }
                    return (
    AntiBan());

                    
    // 20 - Waiting for attack.
                
    case 20:
                    
    // If the crab doesn't attack within 3-5 seconds, we know
                    // they're no longer attacking us.
                    
    wait(random(500010000));
                    if (!
    getMyPlayer().isInCombat()) {
                        
    // Switch state to 30, Not Attacking.
                        
    State 30;
                    } else {
                        
    // They're attacking, so move the mouse randomly.
                        
    return (AntiBan());
                    }

                    
    // 30 - Not Attacking.
                
    case 30:
                    
    // Randomly walk into the town and wait atleast 5 seconds.
                    
    log("Teh Rock Crabs are hiding!!");
                    if (
    getMyPlayer().isInCombat() && !RunningFromEvil) {
                        
    State 10;
                    }

                    if (
    getMyPlayer().isMoving()) {
                        return (
    random(250500));
                    }

                    if (
    distanceTo(ToStart[3]) <= 3) {
                        
    State 40;
                    }

                    if (!
    getMyPlayer().isMoving()) {
                        
    walkPathMM(randomizePath(ToStart22), 20);
                        return (
    random(5001500));
                    }

                    return (
    random(50008000));

                    
    // 40 - Running back to monster area.
                
    case 40:
                    
    // Run back to the monster's area
                    
    if (getMyPlayer().isInCombat() && !RunningFromEvil) {
                        
    State 10;
                    }

                    
    setRun(false);
                    
    RunningFromEvil false;
                    if (
    getMyPlayer().isMoving()) {
                        return (
    random(250500));
                    }

                    if (
    distanceTo(ToEnd[3]) <= 3) {
                        
    State 10;
                    }

                    if (!
    getMyPlayer().isMoving()) {
                        
    walkPathMM(randomizePath(ToEnd22), 20);
                        return (
    random(5001500));
                    }

                    return (
    random(5001500));

                default:
                    
    log("Unknown Script State: " State);
                    return (-
    1);
            }
        }

        public 
    long Millisecs() {
            return (
    System.currentTimeMillis());
        }

        public 
    void WalkTo(RSNPC Npc) {
            
    RSTile NpcTile;

            
    NpcTile Npc.getLocation();

            
    walkTileMM(NpcTile);
        }

        public 
    int AntiBan() {
            
    GambleInt random(13);
            if (
    GambleInt == 1) {
                
    wait(random(20002000));
            }
            if (
    GambleInt == 2) {
                
    int x random(0750);
                
    int y random(0500);
                
    moveMouse(00xy);
                
    log("Anti-ban active");
            }
            return (
    random(5001000));
        }

        public 
    void CheckHealthEat() {
            
    int Health;

            
    Health skills.getCurrentSkillLevel(SkillHealth);
            if (
    Health <= 15) {
                
    log("Health is " Health " eating a lobster");
                
    atInventoryItem(LobsterID"Eat");
            }
        }

        public 
    void onRepaint(Graphics g) {
            
    int AttackStat 0;
            
    int StrengthStat 2;
            
    int DefenseStat 1;
            
    g.setColor(Color.ORANGE);
            
    g
                    
    .drawString("Next Attack Lvl: " skills.getXPToNextLevel(AttackStat),
                            
    9287);
            
    g.drawString("Next Strength Lvl: " skills.getXPToNextLevel(StrengthStat), 9,
                    
    299);
            
    g.drawString("Next Defense Lvl: " skills.getXPToNextLevel(DefenseStat), 9,
                    
    311);

        }
    }
     
  11. zezima plawkz

    zezima plawkz Forum Addict

    Joined:
    Oct 16, 2008
    Posts:
    366
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    i need dontpanic's ess miner someone pm it to me pl0x?
    edit:nvm i didnt notice it was under runecrafting :p
     
  12. cricket148

    cricket148 Active Member

    Joined:
    Jan 6, 2009
    Posts:
    160
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    i dont seem to be able to open after i download them
     
  13. sebs8

    sebs8 Newcomer
    Banned

    Joined:
    Jan 7, 2009
    Posts:
    15
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    None of the lobby fishers + bankers for karamja work :(
     
  14. Silver star

    Silver star Member

    Joined:
    Jan 10, 2009
    Posts:
    36
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    Has anyone thought about making a stealing creation bot? The helms you get as a reward more than double's up the xp you get from normal training.
     
  15. Scratch390

    Scratch390 Active Member
    Banned

    Joined:
    Nov 23, 2008
    Posts:
    181
    Referrals:
    3
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    how do u put the pure ess miner in the scripts section wen i load rs bot mem or non mem and click run script and i click on rune crafting its not there but b4 i click on run non me or run mem if i click on scripts folder it has it in there ???:( :confused:
     
  16. Lies and laster

    Lies and laster Member

    Joined:
    Jan 14, 2009
    Posts:
    37
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    mediafire is down at the moment.
     
  17. unit684

    unit684 Newcomer

    Joined:
    Dec 16, 2008
    Posts:
    4
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    Could you get lumbridge cooker please? I have 3k trout to cook and I cba to do it myself. :D
     
  18. sawdeykolin

    sawdeykolin Forum Addict
    Banned

    Joined:
    Dec 14, 2008
    Posts:
    365
    Referrals:
    1
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    need ardy vial buyer and banker.
     
  19. too_sargeras

    too_sargeras Active Member
    Banned

    Joined:
    Nov 1, 2008
    Posts:
    174
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    red chin script please.
     
  20. Peisko

    Peisko Newcomer

    Joined:
    Oct 20, 2008
    Posts:
    18
    Referrals:
    0
    Sythe Gold:
    0
    .:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.

    It's not working either. Maby it's beacause RSBot is "broke". Something went wrong with it today. It wont run scripts. Anyone know how to "repair" it?
     
< Scammed by Thugs | cyber cry scammed me me 36 d stones >
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site