RSBot You've done it again!
  1. Unread #1 - Jan 1, 2009 at 3:50 AM
  2. ХсЯєєᴾῩ
    Joined:
    Sep 1, 2008
    Posts:
    407
    Referrals:
    0
    Sythe Gold:
    0

    ХсЯєєᴾῩ Forum Addict
    Banned

    RSBot You've done it again!

    [​IMG]
    Also I'd like to thank BloodyArgon for making the script.
     
  3. Unread #2 - Jan 1, 2009 at 4:30 AM
  4. Oblivion<3
    Joined:
    Dec 25, 2008
    Posts:
    209
    Referrals:
    0
    Sythe Gold:
    0

    Oblivion<3 Active Member
    Banned

    RSBot You've done it again!

    GF, Where can i get a House Alcher?
     
  5. Unread #3 - Jan 1, 2009 at 4:30 AM
  6. Burden
    Joined:
    Dec 30, 2008
    Posts:
    894
    Referrals:
    0
    Sythe Gold:
    0

    Burden Apprentice
    Banned

    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.
     
  7. Unread #4 - Jan 1, 2009 at 4:42 AM
  8. ХсЯєєᴾῩ
    Joined:
    Sep 1, 2008
    Posts:
    407
    Referrals:
    0
    Sythe Gold:
    0

    ХсЯєєᴾῩ Forum Addict
    Banned

    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.
     
  9. Unread #5 - Jan 1, 2009 at 4:44 AM
  10. I 134/2/24G3 I
    Joined:
    Jun 17, 2008
    Posts:
    1,332
    Referrals:
    1
    Sythe Gold:
    0

    I 134/2/24G3 I Guru
    Banned

    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 :)
     
  11. Unread #6 - Jan 1, 2009 at 4:57 AM
  12. &#1061;&#1089;&#1071;&#1108;&#1108;&#7486;&#8169;
    Joined:
    Sep 1, 2008
    Posts:
    407
    Referrals:
    0
    Sythe Gold:
    0

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

    RSBot You've done it again!

    Its going to be a tank :eek:
     
  13. Unread #7 - Jan 1, 2009 at 5:07 AM
  14. Rare Names
    Joined:
    Sep 2, 2008
    Posts:
    2,023
    Referrals:
    1
    Sythe Gold:
    0

    Rare Names Grand Master

    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.
     
  15. Unread #8 - Jan 1, 2009 at 11:11 AM
  16. chris1655
    Joined:
    Oct 3, 2008
    Posts:
    539
    Referrals:
    1
    Sythe Gold:
    0

    chris1655 Forum Addict
    Banned

    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.
     
  17. Unread #9 - Mar 8, 2009 at 7:23 AM
  18. Teh Bot Noob
    Joined:
    Mar 8, 2009
    Posts:
    0
    Referrals:
    0
    Sythe Gold:
    0

    Teh Bot Noob Newcomer

    RSBot You've done it again!

    I dont get which ID i got to fill in?? can someone please help me..
     
  19. Unread #10 - Mar 8, 2009 at 10:38 AM
  20. Own j00
    Joined:
    Mar 10, 2007
    Posts:
    956
    Referrals:
    2
    Sythe Gold:
    0

    Own j00 Apprentice
    Banned

    RSBot You've done it again!

    Just use a auto alcher in the games room. No randoms there... but rsbot ftw :)
     
  21. Unread #11 - Mar 8, 2009 at 5:25 PM
  22. ~R0uge~
    Joined:
    Jan 24, 2009
    Posts:
    473
    Referrals:
    1
    Sythe Gold:
    0

    ~R0uge~ Forum Addict
    Banned

    RSBot You've done it again!

    He's banned? lol. nice though.
     
  23. Unread #12 - Mar 8, 2009 at 6:03 PM
  24. Dr0p K1ck3d
    Joined:
    Dec 27, 2008
    Posts:
    620
    Referrals:
    0
    Sythe Gold:
    0

    Dr0p K1ck3d Forum Addict
    Banned

    RSBot You've done it again!

    Nice. How long did it take?
     
  25. Unread #13 - Mar 8, 2009 at 6:16 PM
  26. Rare Names
    Joined:
    Sep 2, 2008
    Posts:
    2,023
    Referrals:
    1
    Sythe Gold:
    0

    Rare Names Grand Master

    RSBot You've done it again!

    Wow very nice :D
     
  27. Unread #14 - Mar 8, 2009 at 6:17 PM
  28. spinkters
    Joined:
    Oct 9, 2008
    Posts:
    974
    Referrals:
    0
    Sythe Gold:
    0

    spinkters Apprentice

    RSBot You've done it again!

    gf fagex and nice mage :D
     
  29. Unread #15 - Mar 8, 2009 at 7:05 PM
  30. Ko Man
    Joined:
    Nov 30, 2008
    Posts:
    1,964
    Referrals:
    1
    Sythe Gold:
    0

    Ko Man Guru
    Banned

    RSBot You've done it again!

    Nice mate, this is the account I firecaped for a long time ago ;)
     
  31. Unread #16 - Mar 8, 2009 at 9:10 PM
  32. Luuke
    Joined:
    Jan 25, 2009
    Posts:
    3,077
    Referrals:
    6
    Sythe Gold:
    0

    Luuke Grand Master
    Banned

    RSBot You've done it again!

    Nice account, will be better at 80 range, but still good.
     
  33. Unread #17 - Mar 14, 2009 at 8:46 AM
  34. TheRealWorld
    Joined:
    Feb 16, 2009
    Posts:
    321
    Referrals:
    1
    Sythe Gold:
    0

    TheRealWorld Forum Addict
    Banned

    RSBot You've done it again!

    Lol Very Awesome.Most likely not going to get banned
     
  35. Unread #18 - Mar 14, 2009 at 12:44 PM
  36. Deathstar110
    Joined:
    Dec 13, 2008
    Posts:
    655
    Referrals:
    1
    Sythe Gold:
    0

    Deathstar110 Apprentice
    Banned

    RSBot You've done it again!

    very good shame rsbot doesent work on my comp D:
     
  37. Unread #19 - Mar 14, 2009 at 12:46 PM
  38. cademan07
    Joined:
    Dec 29, 2008
    Posts:
    114
    Referrals:
    0
    Sythe Gold:
    0

    cademan07 Active Member
    Banned

    RSBot You've done it again!

    nice dude. i love rsbot :p 55-68mining in 3 days :)
     
  39. Unread #20 - Mar 14, 2009 at 1:19 PM
  40. Pokemoners
    Joined:
    Jul 9, 2007
    Posts:
    4,161
    Referrals:
    5
    Sythe Gold:
    39

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

< Clan Wars Rushing | Rate my Tank and New Pure >

Users viewing this thread
1 guest


 
 
Adblock breaks this site