Adblock breaks this site
  1. ХсЯєєᴾῩ

    ХсЯєєᴾῩ Forum Addict
    Banned

    Joined:
    Sep 1, 2008
    Posts:
    407
    Referrals:
    0
    Sythe Gold:
    0
    RSBot You've done it again!

    [​IMG]
    Also I'd like to thank BloodyArgon for making the script.
     
  2. Oblivion<3

    Oblivion<3 Active Member
    Banned

    Joined:
    Dec 25, 2008
    Posts:
    209
    Referrals:
    0
    Sythe Gold:
    0
    RSBot You've done it again!

    GF, Where can i get a House Alcher?
     
  3. Burden

    Burden Apprentice
    Banned

    Joined:
    Dec 30, 2008
    Posts:
    894
    Referrals:
    0
    Sythe Gold:
    0
    RSBot You've done it again!

    Very nice, def ruined it at THAT lvl I'd say, but yeah, your gonna be an ownage burst ranger.
     
  4. ХсЯєєᴾῩ

    ХсЯєєᴾῩ Forum Addict
    Banned

    Joined:
    Sep 1, 2008
    Posts:
    407
    Referrals:
    0
    Sythe Gold:
    0
    RSBot You've done it again!

    Code:
    import java.awt.*;
    import com.speljohan.rsbot.event.listeners.PaintListener;
    import com.speljohan.rsbot.event.listeners.ServerMessageListener;
    import com.speljohan.rsbot.event.events.ServerMessageEvent;
    import com.speljohan.rsbot.script.*;
    import com.speljohan.rsbot.script.wrappers.*;
    import com.speljohan.rsbot.script.wrappers.RSTile;
    import com.speljohan.rsbot.bot.Bot;
    import com.speljohan.rsbot.accessors.*;
    import com.speljohan.rsbot.accessors.Character;
    import com.speljohan.rsbot.account.Account;
    import java.awt.Graphics;
    import com.speljohan.rsbot.event.listeners.PaintListener;
    import java.awt.event.KeyEvent;
    import java.util.ArrayList;
    
    public class HouseAlcher extends Script implements PaintListener {
        public long startTime = System.currentTimeMillis();
        public int alched = 0;
        public int alchID = -1; //856
        public int nature = 561;
        public int housePortal = -1; //15479
        public boolean canAlch = false;
        public double getVersion( ) {
            return( 0.01 );
        }
    
        public String getName( ) {
            return( "AutoAlcher[POH]" );
        }
    
        public String getAuthor( ) {
            return( "Blood Argon" );
        }
    
        public String getScriptCategory() {
            return( "Blood Argon" );
        }
    
        public String getScriptDescription( ) {
            String html = "";
    
            html += "<html>\n";
            html += "<body>\n";
            html += "<h2>" + getName( ) + " v" + getVersion( ) + "</h2><br>\n";
            html += "Author: " + getAuthor( ) + "<br>\n";
            html += "<br>\n";
            html += "<center>\n";
            html += "First Arg : ID of item to alch.\n";
            html += "Second Arg : Outside your house portal, its ID\n";
            html += "Example : 856,15479\n";
            html += "Arguments:<input type=\"text\" name=\"args\">\n";
            html += "</center>\n";
            html += "</body>\n";
            html += "</html\n";
    
            return( html );
        }
        public boolean onStart(String[] args) {
            Bot.getEventManager( ).addListener(PaintListener.class, this);
            if(args.length < 1) {
                log("You didnt fill in the proper arguments!");
                return (false);
            }
            alchID = Integer.parseInt(args[0]);
            housePortal = Integer.parseInt(args[1]);
            log("alchID : "+alchID+" housePortal "+housePortal);
            return( true );
        }
            public void onFinish( ) {
            Bot.getEventManager( ).removeListener(PaintListener.class, this);
        }
        public int loop( ) {
            if (findObject(10, housePortal) != null) {
                RSObject portal = findObject(10, housePortal);
                if (atObject(portal, "Enter")) {
                    if(interfaceExists(232)) {
                            atInterface(232,3);
                            wait(random(1000,2000));
                            log("Entering house");
                            canAlch = true;
                            wait(random(7000,10000));
                    }
                } else {
                    rotate();
                }
            } else {
                //log("Didnt find the portal");
                canAlch = true;
            }    
        if (canAlch == true)
        {
            antiBan();
            if (getCurrentTab() != TAB_MAGIC)
                myOpenTab(TAB_MAGIC);
                
            if(getMyPlayer().getAnimation() == -1) {
                //castSpell(36);
                if (!RSInterface.getInterface(13).isValid()) {
                    highAlch(36);
                    if(clickInventoryItem(alchID,true))
                        alched++;
                }
            }
            
            if (isLoggedIn())
            {
                if (getInventoryCount(nature) == 0) {
                    log("Out of natures");
                    stopAllScripts();
                }
                if (getInventoryCount(alchID) == 0) {
                    log("Out of alching item : "+alchID);
                    stopAllScripts();
                }
            }
            
        }
        return random(500,800);
            } //Loop end
                public void highAlch(int spell) {//Blood Argon
                 int x = 0;
                  int y = 0;
                  if (spell == 36) { //High Alch
                      x = 572;
                      y = 347;
                  }
                  if (spell == 14)
                     {
                      x = 716;
                      y = 251;
                  }
              clickMouse(x + random(-5, 5), y + random(-5, 5), true);
                }
            public void rotate() {
                int button = random(37,40);
                Bot.getInputManager().pressKey((char) button);
                wait(random(500, 1500));
                Bot.getInputManager().releaseKey((char) button);
            }
                public int antiBan() {
            switch(random(0, 800)) {
                case 0: rotate(); break;
                case 1: rotate(); break;
                case 2: rotate(); break;
                case 3: rotate(); break;
                case 4: rotate(); break;
                case 5: rotate(); break;
                case 6: rotate(); break;
                case 7: rotate(); break;
    
                case 8: setRun(true); break;
    
                case 9: rotate(); break;
                case 10: moveMouse(random(0, 515), random(0, 337)); break;
                case 11: moveMouse(random(0, 515), random(0, 337)); break;
                case 12: moveMouse(random(0, 515), random(0, 337)); break;
                case 13: moveMouse(random(0, 515), random(0, 337)); break;
                case 14: moveMouse(random(0, 515), random(0, 337)); break;
                case 15: moveMouse(random(0, 764), random(0, 502)); break;
                case 16: moveMouse(random(0, 764), random(0, 502)); break;
                case 17: moveMouse(random(0, 764), random(0, 502)); break;
    
                case 18: openTab(TAB_INVENTORY); break;
                case 19: openTab(TAB_INVENTORY); break;
                case 20: openTab(TAB_STATS); break;
                case 21: openTab(TAB_STATS); break;
                case 23: openTab(random(0, 13)); break;
                case 24: openTab(random(0, 13)); break;
                case 25:
                    int X = getMyPlayer().getLocation().getX();
                    int Y = getMyPlayer().getLocation().getY();
                    int rX = random(-15,15);
                    int rY = random(-15,15);
                    int newX = X+rX;
                    int newY = Y+rY;
                    RSTile tilez2 = new RSTile(newX, newY);
                    walkTileMM(tilez2);
                    log("Initiate Walking");
                break;
                default: break;
    
            }
            return random(300, 500);
        }
            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 x = 9;
                int y = 188;
                //interval of 12
                int xp = 65;
                int XPGain = 0;
                XPGain = (alched*xp);
                int countToNext = 0;
                countToNext = skills.getXPToNextLevel(STAT_MAGIC) / xp + 1;
            g.setColor(Color.blue);
            g.drawString("==Alcher==", x, y);
            g.setColor(Color.white);
            g.drawString("Alched : "+alched, x, y+=12);
            g.drawString("XP Gained "+XPGain, x, y+=12);
            g.drawString("Alchs till Level : "+countToNext+".", x, y+=12);    
            g.drawString("Currently level " + skills.getCurrentSkillLevel(STAT_MAGIC) + " and " + skills.getPercentToNextLevel(STAT_MAGIC) + "% to next level", x, y+=12);    
            g.drawString("Runtime: " + hours + " hours " + minutes + " minutes " + seconds + " seconds.", x, y+=12);
        }
        }
          public void myOpenTab(int tab) {      // Credit goes to nebule for this!
           if (tab == getCurrentTab()) {
                 return;
           }
           switch(tab) {
           case TAB_ATTACK: input.holdKey((char) KeyEvent.VK_F1, random(300, 700)); break;
           case TAB_STATS: input.holdKey((char) KeyEvent.VK_F2, random(300, 700)); break;
           case TAB_QUESTS: input.holdKey((char) KeyEvent.VK_F3, random(300, 700)); break;
           case TAB_INVENTORY: input.holdKey((char) KeyEvent.VK_F4, random(300, 700)); break;
           case TAB_EQUIPMENT: input.holdKey((char) KeyEvent.VK_F5, random(300, 700)); break;
           case TAB_PRAYER: input.holdKey((char) KeyEvent.VK_F6, random(300, 700)); break;
           case TAB_MAGIC: input.holdKey((char) KeyEvent.VK_F7, random(300, 700)); break;
           case TAB_FRIENDS: input.holdKey((char) KeyEvent.VK_F8, random(300, 700)); break;
           default: openTab(tab); break;
           }
    }
        public boolean clickInventoryItem(int itemID, boolean click) {
            if (getCurrentTab() != TAB_INVENTORY
                    && !RSInterface.getInterface(INTERFACE_BANK).isValid()
                    && !RSInterface.getInterface(INTERFACE_STORE).isValid()) {
                openTab(TAB_INVENTORY);
            }
            int[] items = getInventoryArray();
            java.util.List<Integer> possible = new ArrayList<Integer>();
            for (int i = 0; i < items.length; i++) {
                if (items[i] == itemID) {
                    possible.add(i);
                }
            }
            if (possible.size() == 0) return false;
            int idx = possible.get(random(0, possible.size()));
            Point t = getInventoryItemPoint(idx);
            clickMouse(t, 5, 5, click);
            return true;
        }
        
        
        
    }
    For arguments put 856,15478 Thats Yew Long Id and The Rimmington Portal Id.
     
  5. I 134/2/24G3 I

    I 134/2/24G3 I Guru
    Banned

    Joined:
    Jun 17, 2008
    Posts:
    1,332
    Referrals:
    1
    Sythe Gold:
    0
    RSBot You've done it again!

    Nice, and yeah I reckon the def killed it at that level aswell.

    Still, as posted above, burst ranger will own :)
     
  6. &#1061;&#1089;&#1071;&#1108;&#1108;&#7486;&#8169;

    &#1061;&#1089;&#1071;&#1108;&#1108;&#7486;&#8169; Forum Addict
    Banned

    Joined:
    Sep 1, 2008
    Posts:
    407
    Referrals:
    0
    Sythe Gold:
    0
    RSBot You've done it again!

    Its going to be a tank :eek:
     
  7. Rare Names

    Rare Names Grand Master

    Joined:
    Sep 2, 2008
    Posts:
    2,023
    Referrals:
    1
    Sythe Gold:
    0
    RSBot You've done it again!

    Wow...must be a very good script :)

    Thanks for posting the script, going to try it out in a bit.

    Nice mining, bye the way.
     
  8. chris1655

    chris1655 Forum Addict
    Banned

    Joined:
    Oct 3, 2008
    Posts:
    539
    Referrals:
    1
    Sythe Gold:
    0
    RSBot You've done it again!

    Very nice, aiming for 82 mage 80+ range? you would own as a void blitz dbower tbh.

    Good luck getting your goals dude.
     
  9. Teh Bot Noob

    Teh Bot Noob Newcomer

    Joined:
    Mar 8, 2009
    Posts:
    0
    Referrals:
    0
    Sythe Gold:
    0
    RSBot You've done it again!

    I dont get which ID i got to fill in?? can someone please help me..
     
  10. Own j00

    Own j00 Apprentice
    Banned

    Joined:
    Mar 10, 2007
    Posts:
    956
    Referrals:
    2
    Sythe Gold:
    0
    RSBot You've done it again!

    Just use a auto alcher in the games room. No randoms there... but rsbot ftw :)
     
  11. ~R0uge~

    ~R0uge~ Forum Addict
    Banned

    Joined:
    Jan 24, 2009
    Posts:
    473
    Referrals:
    1
    Sythe Gold:
    0
    RSBot You've done it again!

    He's banned? lol. nice though.
     
  12. Dr0p K1ck3d

    Dr0p K1ck3d Forum Addict
    Banned

    Joined:
    Dec 27, 2008
    Posts:
    620
    Referrals:
    0
    Sythe Gold:
    0
    RSBot You've done it again!

    Nice. How long did it take?
     
  13. Rare Names

    Rare Names Grand Master

    Joined:
    Sep 2, 2008
    Posts:
    2,023
    Referrals:
    1
    Sythe Gold:
    0
    RSBot You've done it again!

    Wow very nice :D
     
  14. spinkters

    spinkters Apprentice

    Joined:
    Oct 9, 2008
    Posts:
    974
    Referrals:
    0
    Sythe Gold:
    0
    RSBot You've done it again!

    gf fagex and nice mage :D
     
  15. Ko Man

    Ko Man Guru
    Banned

    Joined:
    Nov 30, 2008
    Posts:
    1,964
    Referrals:
    1
    Sythe Gold:
    0
    RSBot You've done it again!

    Nice mate, this is the account I firecaped for a long time ago ;)
     
  16. Luuke

    Luuke Grand Master
    Banned

    Joined:
    Jan 25, 2009
    Posts:
    3,077
    Referrals:
    6
    Sythe Gold:
    0
    RSBot You've done it again!

    Nice account, will be better at 80 range, but still good.
     
  17. TheRealWorld

    TheRealWorld Forum Addict
    Banned

    Joined:
    Feb 16, 2009
    Posts:
    321
    Referrals:
    1
    Sythe Gold:
    0
    RSBot You've done it again!

    Lol Very Awesome.Most likely not going to get banned
     
  18. Deathstar110

    Deathstar110 Apprentice
    Banned

    Joined:
    Dec 13, 2008
    Posts:
    655
    Referrals:
    1
    Sythe Gold:
    0
    RSBot You've done it again!

    very good shame rsbot doesent work on my comp D:
     
  19. cademan07

    cademan07 Active Member
    Banned

    Joined:
    Dec 29, 2008
    Posts:
    114
    Referrals:
    0
    Sythe Gold:
    0
    RSBot You've done it again!

    nice dude. i love rsbot :p 55-68mining in 3 days :)
     
  20. Pokemoners

    Pokemoners <3 PIKACHU <3
    Retired Sectional Moderator $5 USD Donor

    Joined:
    Jul 9, 2007
    Posts:
    4,161
    Referrals:
    5
    Sythe Gold:
    39
< Clan Wars Rushing | Rate my Tank and New Pure >


 
 
Adblock breaks this site