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

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

Thread Status:
Not open for further replies.
.:[~]Official RSBot Scripts+Requests Sticky!{RSBot}[~]:.
  1. Unread #161 - Feb 8, 2009 at 1:15 PM
  2. Tha_N3m3s1s
    Joined:
    Jun 19, 2008
    Posts:
    46
    Referrals:
    0
    Sythe Gold:
    0

    Tha_N3m3s1s Member

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

    Im kinda of new to this, ive got Rsbot with quite a few bots, and each of the java. files have a green mark next to it, and the class. files dont, how do i get a new script and how can i make it work ?

    could someone add my msn [email protected] and tell me step by step or step by step on here? cheers

    Also when i try to SVNcommit it, it asks for a username and password
     
  3. Unread #162 - Feb 8, 2009 at 10:33 PM
  4. major206
    Joined:
    Feb 8, 2009
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0

    major206 Newcomer

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

    i have used simpler forms of macros but i am new to scar scripts and i was wondering if someone experienced could refer me to a macro or script that could help me with catherby fishing and/or woodcutting.
     
  5. Unread #163 - Feb 8, 2009 at 10:36 PM
  6. Cho
    Joined:
    Sep 1, 2008
    Posts:
    650
    Referrals:
    0
    Sythe Gold:
    0

    Cho Apprentice

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

    Aelins Pro Fisher 1 & 2 are both very good catherby fishers.
     
  7. Unread #164 - Feb 9, 2009 at 7:15 AM
  8. k y l e r
    Joined:
    Jul 30, 2007
    Posts:
    303
    Referrals:
    0
    Sythe Gold:
    0

    k y l e r Forum Addict
    Banned

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

    anyone got a agility bot besides gnome
     
  9. Unread #165 - Feb 9, 2009 at 7:33 AM
  10. enehmee
    Joined:
    Jan 1, 2009
    Posts:
    307
    Referrals:
    0
    Sythe Gold:
    3

    enehmee Forum Addict
    Banned

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

    why is the person who made this thread banned lol?
     
  11. Unread #166 - Feb 9, 2009 at 8:36 AM
  12. Tha_N3m3s1s
    Joined:
    Jun 19, 2008
    Posts:
    46
    Referrals:
    0
    Sythe Gold:
    0

    Tha_N3m3s1s Member

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

    NVM wrong
     
  13. Unread #167 - Feb 9, 2009 at 12:37 PM
  14. Tha_N3m3s1s
    Joined:
    Jun 19, 2008
    Posts:
    46
    Referrals:
    0
    Sythe Gold:
    0

    Tha_N3m3s1s Member

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

    no, go onto the bot and click Debug, and tick the box saying inventory and thats the number it is
     
  15. Unread #168 - Feb 10, 2009 at 12:53 AM
  16. Hyperstatic
    Joined:
    Feb 9, 2009
    Posts:
    8
    Referrals:
    0
    Sythe Gold:
    0

    Hyperstatic Newcomer

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

    I've been working on the script "Every Rune Crafter" because I want a cosmic runner. So far I've made the script take me from the bank to the the rock, and enter it, but it can't go to the altar, and it has trouble exiting sometimes.

    Also it can't seem to right click the banker and bank..

    I"m extremely new to java (Extremely as in I don't know any syntax whatsoever except for what I managed to learned by reading the script and messing with it)

    If anybody can help at all, it would be greatly GREATLY appreciated!

    Heres the code: http://pastebin.ca/1332414
     
  17. Unread #169 - Feb 11, 2009 at 12:06 AM
  18. pyryoer
    Joined:
    Feb 8, 2009
    Posts:
    377
    Referrals:
    1
    Sythe Gold:
    1

    pyryoer Forum Addict

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

    Sorry if this is a stupid question, but are there any good flax picker scripts? The one that RSbot comes with is a bit buggy...
     
  19. Unread #170 - Feb 11, 2009 at 9:52 AM
  20. deadlywario0
    Joined:
    Nov 29, 2008
    Posts:
    129
    Referrals:
    0
    Sythe Gold:
    0

    deadlywario0 Active Member

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

    defintly BG flaxer, i've used it loads of times and it works fine the problem is ussualy with the spinners.
     
  21. Unread #171 - Feb 11, 2009 at 9:59 AM
  22. Mr Mopar
    Joined:
    Jul 9, 2007
    Posts:
    175
    Referrals:
    0
    Sythe Gold:
    0

    Mr Mopar Active Member
    Banned

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

    I need a Ardougne Vial Buyer, Pm me it if you can.
    I can pay if they cost money.
     
  23. Unread #172 - Feb 11, 2009 at 10:01 AM
  24. deadlywario0
    Joined:
    Nov 29, 2008
    Posts:
    129
    Referrals:
    0
    Sythe Gold:
    0

    deadlywario0 Active Member

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

    i need1 also, PM me and i can also pay if they cost money ^-^
     
  25. Unread #173 - Feb 11, 2009 at 12:38 PM
  26. Tha_N3m3s1s
    Joined:
    Jun 19, 2008
    Posts:
    46
    Referrals:
    0
    Sythe Gold:
    0

    Tha_N3m3s1s Member

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

    Mage training arena sucks totally, it just spins arounds saying stuck and logs me out .... any1 know the problem ?
     
  27. Unread #174 - Feb 11, 2009 at 12:59 PM
  28. tim-gf
    Joined:
    Jan 7, 2008
    Posts:
    24
    Referrals:
    0
    Sythe Gold:
    0

    tim-gf Newcomer

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

    Somebody knows a newer or better version of the BGRogue Den Cooker V1.1?
     
  29. Unread #175 - Feb 11, 2009 at 5:16 PM
  30. pyryoer
    Joined:
    Feb 8, 2009
    Posts:
    377
    Referrals:
    1
    Sythe Gold:
    1

    pyryoer Forum Addict

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

    The problem I have with the BG flax picker is that after picking 5k flax or so it gets stuck in the world map somehow...
     
  31. Unread #176 - Feb 11, 2009 at 8:56 PM
  32. Nokeo
    Joined:
    Feb 5, 2009
    Posts:
    17
    Referrals:
    0
    Sythe Gold:
    0

    Nokeo Newcomer

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

    Script Name: Yanille Iron Miner
    Script Author: Nokeo (From RSbot =D)
    Script Code:
    Code:
    import java.awt.Color;
    import java.awt.Graphics;
    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.Script;
    import com.speljohan.rsbot.script.wrappers.RSInterface;
    import com.speljohan.rsbot.script.wrappers.RSObject;
    import com.speljohan.rsbot.script.wrappers.RSTile;
    
    public class YanilleironMiner extends Script implements ServerMessageListener,
            PaintListener {
    
        private long startTime = System.currentTimeMillis();
        private RSTile[] path = { new RSTile(2611, 3092), new RSTile(2606, 3096),
                new RSTile(2614, 3104), new RSTile(2620, 3114),
                new RSTile(2624, 3127), new RSTile(2626, 3138) };
        private int mined = 0, loads = 0;
        private int[] rocks = { 2093, 2093, 2093 }, picks = { 1265, 1267, 1269,
                1273, 1271, 1275 }, empty = { 452, 452, 452 };
        private RSTile bankTile = path[0], ironTile = path[path.length - 1],
                currentTile;
        private final int wait1 = 300, wait2 = 500, bankID = 2213;
        private String doing;
        private boolean isMining, power;
        private int currentRock = rocks[0];
    
        public String getName() {
            return "Yanille Iron Miner";
        }
    
        public String getAuthor() {
            return "Nokeo Modified by Fusion89k Barb Coal Miner (Verified)";
        }
    
        public double getVersion() {
            return 1.2;
        }
    
        public String getScriptCategory() {
            return "Mining";
        }
    
        public String getScriptDescription() {
            return "<html>\n"
                    + "<head></head>\n"
                    + "<body bgcolor=\"black\" text=\"white\">\n"
                    + "<center>"
                    + "<h2>"
                    + getName()
                    + "</h2>"
                    + "</center>\n"
                    + "<b>Author:</b> "
                    + getAuthor()
                    + "<br />"
                    + "<b>Version:</b> "
                    + getVersion()
                    + "<BR>Pickaxe may be equipped or in FIRST inventory slot"
                    + "<BR><input type='checkbox' name='power' value='true'> Check to drop Iron Ore"
                    + "</body>\n" + "</html>";
        }
    
        public boolean onStart(Map<String, String> args) {
            power = args.get("power") != null;
            Bot.getEventManager().addListener(PaintListener.class, this);
            return true;
        }
    
        public boolean dropAllExcept(int... items) { //Djbeng
                int   inventoryCount = getInventoryCount();
                int[] inventoryArray = getInventoryArray();
                outer: for (int off = 0; off < inventoryArray.length; off++) {
                    if (inventoryArray[off] == -1) continue;
                    for (int item : items) {
                        if (inventoryArray[off] == item) {
                        continue outer;
                    }
                }
    
                for (int tries = 0; tries < 5; tries++) {
                    atInventoryItem(inventoryArray[off], "Drop");
                    wait(random(100, 300));
                    if (getInventoryCount() < inventoryCount) {
                        break;
                    }
                }
                if (getInventoryCount() >= inventoryCount) {
                    // equally, otherwise
                    // something really weird
                    // happend :P
                    return false;
                }
                inventoryArray = getInventoryArray();
                inventoryCount = getInventoryCount();
            }
            return true;
        }
    
        public void onFinish() {
            Bot.getEventManager().removeListener(PaintListener.class, this);
        }
    
        public int loop() {
            setCompass('w');
            setCameraAltitude(true);
            if (!isCarryingItemCustom(picks) && isLoggedIn()) {
                log("No PickAxe");
                stopAllScripts();
            }
            if (isMoving())
                return random(wait1, wait2);
            if (isMining && getMyPlayer().getAnimation() == -1)
                isMining = false;
            if (!isInventoryFull()) {
                if (isMining) {// Smoking rocks got some help from: Tenac
                    try {
                        int curID = getObjectAt(currentTile).getID();
                        if (curID != currentRock) {
                            isMining = false;
                            mine();
                        }
                    } catch (Exception e) {
                        log("Smoking detection error");
                    }
                    return random(wait1, wait2);
                }
                if (distanceTo(ironTile) > 4) {
                    doing = "Walking to Iron";
                    return walk(false);
                }
                doing = "Finding Iron";
                RSObject rock = findObject(rocks);
                if (rock == null) {
                    doing = "Waiting for Iron";
                    randomStuff();
                    return random(wait1, wait2);
                }
                mine();
            } else {
                if (power) {
                    dropAllExcept(picks);
                } else {
                    if (distanceTo(bankTile) > 4) {
                        doing = "Walking to Bank";
                        return walk(true);
                    }
                    if (!RSInterface.getInterface(INTERFACE_BANK).isValid()) {
                        doing = "Finding Bank";
                        RSObject booth = findObject(bankID);
                        if (booth == null)
                            return random(wait1, wait2);
                        if (!tileOnScreen(booth.getLocation())) {
                            turnToObject(booth, random(-5, 5));
                            RSTile boothtile = new RSTile(booth.getLocation()
                                    .getX(), booth.getLocation().getY()
                                    + random(1, 3));
                            walkTileMM(boothtile);
                            return random(wait1, wait2);
                        }
                        if (!getMyPlayer().isMoving()
                                && getMyPlayer().getAnimation() == -1) {
                            atObject(booth, "Use-Quickly");
                        }
                        return random(wait1, wait2);
                    }
                    if (RSInterface.getInterface(INTERFACE_BANK).isValid()) {
                        doing = "Depositing";
                        bank.depositAllExcept(picks);
                        loads++;
                        bank.close();
                    }
                }
            }
            if (getEnergy() > random(50, 100))
                setRun(true);
            return random(wait1, wait2);
        }
    
        private void mine() {
            RSObject rock = findObject(rocks);
            if (rock == null && !findAllEmpty()) {
                atTile(randomTile(getMyPlayer().getLocation()), "walk");
                isMining = false;
                return;
            }
            doing = "Mining Iron";
            atObject(rock, "Mine");
            isMining = true;
            currentTile = rock.getLocation();
            currentRock = rock.getID();
            openTab(TAB_INVENTORY);
        }
    
        private boolean findAllEmpty() {
            for (int id : empty) {
                if (findObject(id) == null)
                    return false;
            }
            return true;
        }
    
        private int walk(boolean toBank) {
            RSTile start = locate();
            int loc = 0;
            for (int i = 0; i < path.length; i++) {
                if (start.equals(path[i])) {
                    loc = i;
                    break;
                }
            }
            if (toBank) {
                if (loc == 0)
                    return random(wait1, wait2);
                walkTileMM(randomTile(path[loc - 1]));
            } else {
                if (loc == path.length - 1)
                    walkTileMM(ironTile);
                else
                    walkTileMM(randomTile(path[loc + 1]));
            }
            return random(wait1, wait2);
        }
    
        private RSTile randomTile(RSTile tile) {
            return new RSTile(random(tile.getX() - 2, tile.getX() + 2), random(tile
                    .getY() - 2, tile.getY() + 2));
        }
    
        private RSTile locate() {
            RSTile min = path[0];
            for (int i = 1; i < path.length; i++) {
                if (distanceTo(path[i]) < distanceTo(min))
                    min = path[i];
            }
            return min;
        }
    
        private boolean isCarryingItemCustom(int... items) {
            for (int i : items) {
                if (getInventoryCount(i) > 0)
                    return true;
            }
            for (int item : items) {
                if (getEquipmentInterface().getInventoryItemCount(item) > 0)
                    return true;
            }
            return false;
        }
    
        private void randomStuff() {
            int temp = random(1, 50);
            switch (temp) {
            case 3:
            case 4:
                moveMouse(random(150, 450), random(100, 300));
                break;
            case 2:
                openTab(TAB_STATS);
                RSTile mining = randomTile(new RSTile(680, 230));
                moveMouse(mining.getX(), mining.getY());
                break;
            case 6:
                openTab(random(0, 13));
                break;
            }
        }
    
        private boolean isMoving() {
            if (!getMyPlayer().isMoving())
                return false;
            if (!locate().equals(path[0]) || !locate().equals(path[1])
                    || !locate().equals(path[path.length - 1])
                    || !locate().equals(path[path.length - 2])) {
                if (distanceTo(getDestination()) < 5)
                    return false;
            }
            return true;
        }
    
        public void serverMessageRecieved(ServerMessageEvent e) {
            String word = e.getMessage().toLowerCase();
            if (word.contains("iron")) {
                mined++;
                isMining = false;
            }
        }
    
        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;
                int topX = 515 - 173, topY = 337 - 80, x = topX + 5, y = topY + 5;
                g.setColor(new Color(0, 50, 100, 100));
                g.fill3DRect(topX, topY, 515 - topX, 337 - topY, true);
                g.setColor(Color.white);
                g.drawString("Runtime: " + hours + "h " + minutes + "min "
                        + seconds + "sec.", x, y += 15);
                g.drawString("Iron Mined: " + Integer.toString(mined), x, y += 15);
                g.drawString("Loads Done: " + loads, x, y += 15);
                g.drawString("Status: " + doing, x, y += 15);
            }
        }
    }
     
  33. Unread #177 - Feb 12, 2009 at 3:22 AM
  34. Prisma
    Joined:
    Jan 21, 2007
    Posts:
    415
    Referrals:
    0
    Sythe Gold:
    0

    Prisma Forum Addict

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

    is it just me, or has the rsbot forum been down for days now? all i get is an "internal 500 server error" or something like that.
     
  35. Unread #178 - Feb 12, 2009 at 10:20 AM
  36. deadlywario0
    Joined:
    Nov 29, 2008
    Posts:
    129
    Referrals:
    0
    Sythe Gold:
    0

    deadlywario0 Active Member

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

    same things been happening 2 me idk whats wrong, must b the Host/Server/Site or something
     
  37. Unread #179 - Feb 12, 2009 at 1:05 PM
  38. Rapidfire
    Joined:
    Jan 3, 2009
    Posts:
    19
    Referrals:
    0
    Sythe Gold:
    0

    Rapidfire Newcomer

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

    Script Name: NoobWalker
    Script Author: Bob
    Script Code:
    Code:
    import java.util.Map;
    import com.speljohan.rsbot.script.Script;
    import com.speljohan.rsbot.script.wrappers.RSTile;
    
    public class NoobWalker extends Script {
    
    
        RSTile[] toGE = new RSTile[] { 
            new RSTile(3222, 3218), new RSTile(3224, 3218),
     	new RSTile(3234, 3222), new RSTile(3236, 3224),
     	new RSTile(3246, 3225), new RSTile(3256, 3228),
     	new RSTile(3259, 3238), new RSTile(3257, 3248),
     	new RSTile(3252, 3257), new RSTile(3249, 3267),
     	new RSTile(3242, 3275), new RSTile(3239, 3285),
     	new RSTile(3239, 3295), new RSTile(3239, 3305),
     	new RSTile(3246, 3313), new RSTile(3252, 3321),
     	new RSTile(3262, 3323), new RSTile(3254, 3330),
     	new RSTile(3244, 3335), new RSTile(3234, 3336),
     	new RSTile(3227, 3344), new RSTile(3226, 3354),
     	new RSTile(3218, 3362), new RSTile(3214, 3372),
     	new RSTile(3213, 3382), new RSTile(3213, 3392),
     	new RSTile(3212, 3402), new RSTile(3211, 3412),
     	new RSTile(3211, 3422), new RSTile(3210, 3425),
     	new RSTile(3200, 3428), new RSTile(3190, 3428),
     	new RSTile(3186, 3438), new RSTile(3180, 3447),
     	new RSTile(3172, 3455), new RSTile(3165, 3463),
     	new RSTile(3165, 3473), new RSTile(3165, 3483),
     	new RSTile(3164, 3487) };
        
    
        RSTile[] Path;
        
        RSTile[] Lumb_to_Dray = new RSTile[] { 
        new RSTile(3223, 3218), new RSTile(3232, 3224),
        new RSTile(3226, 3234), new RSTile(3215, 3237), 
        new RSTile(3204, 3237), new RSTile(3194, 3240), 
        new RSTile(3184, 3243), new RSTile(3174, 3241), 
        new RSTile(3163, 3236), new RSTile(3153, 3234), 
        new RSTile(3143, 3231), new RSTile(3133, 3224), 
        new RSTile(3123, 3219), new RSTile(3112, 3221), 
        new RSTile(3102, 3227), new RSTile(3094, 3235), 
        new RSTile(3098, 3246), new RSTile(3093, 3241) };
        
        public String getName() {
            return "Noob Walker";
        }
        
        public String getScriptCategory() {
            return "Other";
        }
    
        public String getAuthor() {
            return "Bob";
        }
    
        public double getVersion() {
            return 1.4;
        }
    
        public boolean onStart(Map<String,String> args) {
            String destiny = args.get("to");
            if (destiny.equals("Lumbridge")) {
                RSTile origin = getMyPlayer().getLocation();
    			if(origin != null && distanceBetween(origin, Lumb_to_Dray[Lumb_to_Dray.length-1]) < 10){
    				Path = reversePath(Lumb_to_Dray);
    			} else {
    				Path = reversePath(toGE);
    			}
    			return true;
            } else if (destiny.equals("Grand Exchange")) {
                Path = toGE;
    			return true;
            } else if(destiny.equals("Draynor")) {
                Path = Lumb_to_Dray;
    			return true;
            }
    		log("You didnt selected a valid Path to walk");
    		return false;
        }
    
        public int loop() {
            if(distanceTo(Path[Path.length -1]) < 3) {
                return -1;
            }
    		if(getEnergy() >= random(60, 80)) {
                if(!isRunning()) {	
    				setRun(true);
    				return random(1000, 2000);
    			}
            }
    		RSTile destination = getDestination();
    		if(destination != null) {
    			if(distanceTo(destination) > 5 ){
    				return random(300, 800);
    			}
    		}
            walkPathMM(Path, 15);
            return random(800, 1500);
        }
            
    
        public String getScriptDescription() {
            String html = "";
    
            html += "<html>\n";
    	html += "<head>\n";
    	html += "<style type=\"text/css\"> body {background-image: url(\"http://i37.tinypic.com/wimx48.jpg\")}</style>";
    	html += "<title>Noob Walker</title>\n";
    	html += "</head>\n";
            html += "<body>\n";
            html += "<br>\n";
            html += "<br><br>\n";
            html += "<br><br>\n";
            html += "<br>";
            html += "<br>";
            html += "<br>";
            html += "<br><br><br><br><br><br><center>";
            html += "<select name=\"to\"> <option selected>Lumbridge<option>Grand Exchange<option>Draynor<option>Port Sarim<option>Falador<option>Rimmington</select>";
            html += "</body>\n";
            html += "</html\n";
    
            return( html );
        }
    }
    
     
  39. Unread #180 - Feb 12, 2009 at 2:02 PM
  40. caso60
    Joined:
    Feb 12, 2009
    Posts:
    17
    Referrals:
    0
    Sythe Gold:
    0

    caso60 Newcomer

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

    Anyone have an agility script, besides the gnome one? Thanks in advance.
     
< Scammed by Thugs | cyber cry scammed me me 36 d stones >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site