Jump to content

Extreme Scripts

Trade With Caution
  • Posts

    10702
  • Joined

  • Last visited

  • Days Won

    27
  • Feedback

    96.2%

Posts posted by Extreme Scripts

  1. Really good attempt for a first script! My suggestions would be to clean up your code a lil cos you could simplify a lot of things e.g. When checking for a Glory in your bank you can just use: 

    getBank().getItems().stream().filter(item -> item != null && item.getName().contains("Amulet of glory")).collect(Collectors.toList());
    

    That will return all the glories in your bank. Great start though happy.png

    • Like 2
  2. private RS2Object tree;
    private Area someArea = new Area(x1, y1, x2, y2;
    
    
    public boolean chopTree(){
       List<RS2Object> trees = getObjects().getAll().stream().filter(ob -> ob != null && ob.getName().equalsIgnoreCase("Tree") && canChop(ob)).collect(Collectors.toList());
    
       if(!myPlayer().isAnimating() && trees.size() > 0){
          RS2Object tree = trees.get(Script.random(trees.size()));
          if(tree.interact("Chop down"){
             //sleep or something
             return true;
          }
       }
    
       return false;
    } 
    
    public boolean canChop(RS2Object tree){
         return someArea.contains(tree);
    }
    

    Alternative to @FrostBugs happy.png All code from my head so just double check.

  3. There's an NPC and Object there. So either methods will work.

     

    Cant tell from your code, but you are deffinetly refreshing your RS2Object right?

    Well Obviously either will work, my point was if you tried getObjects().closest("Banker"); which he seems to have done it won't work due to the fact that "Banker" is an NPC instance.

    • Like 1
  4. 100% worth it, when you find the one you will find someone who will break their back to see you happy and whenver your in trouble be the first point of call for a resolution. It won't happen straight away and it will take a bit of getting use to being in/out of a relationship till you find the one but when you do its something special that could possibly change you as a person ^_^

     

    #divGotPhilosophical

     

    • Like 1
  5. Makes no sence IMO.

     

    Jagex has their own system to catch u whenever u bot, they don't care when they work or not.

     

    Running from ban is impossible nowadays.

    If you bot will get banned. Wether when they are working or not.

     

    You need to venture more into what gets you banned my friend. There's simple rules you follow, i've been botting for the past 3 months on accounts and none have been hit by the ban hammer except 1 which had a 2 day for being reported. 

     

    Theres a technique to botting, you need to find it ^_^

  6. Well it doesn't matter too much when it comes to running 2 accounts on teh same IP as long as you are botting reasonable hours. Here are a few tips I can give you:

     

    1) Bot after jagex working hours

    2) Bot times which closely represent your usual playing style e.g. if you don't usually play RS more than 2 hours a day, dnt bot for more than 2

    3) Make sure you are taking regular breaks inbetween your botting sessions 

     

    Hope that helps ^_^

    • Like 1
  7. No it means that the parameters for the method are wrong, if you look at the API it asks for: 

     

    0edac6172d563fe626b6e5c751642d83.png

     

    So something to the effect of:

    Grounditem item = getGroundItems().closest("Wine");
    if(item != null){
        //do magic spell book opening
        getMagic().castSpellOnEntity(TeleGrab, item);
    }
    

    Please note that is not the actual calls for the methods, this is just from my head so don't copy n paste use code assist to correct it happy.png

×
×
  • Create New...