Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • Hosfad

    Trade With Caution
    • Posts

      301
    • Joined

    • Last visited

    • Days Won

      21

    Posts posted by Hosfad

    1. Scripting behavior tree
       

      Hello guys i have decided to open source my Behavior tree :)

      I have included a full example over at https://github.com/Hosfad/Scripting-Behaviour-Tree , but i will include a brief example here too : 

      This is a Behaviour , This is where youre gonna write youre code for interacting with the game

      public class InteractWithBank extends RSBehavior {
          public InteractWithBank(String name) {
              super(name);
          }
      
          @Override
          public void go(Object agent, Macro parent) {
          if (Bank.isOpen()){
              Bank.withdrawAll("Coins");
              MethodProvider.sleep(600);
              Bank.close();
          }else {
              Bank.open();
          }
      
          }
      }
      

      This is a Macro , This is what controls your different behaviours 
      NOTE : Macros can be nested , meaning a macro can also be a behaviour inside another macro 
       

      public class Banking extends RSMacro {
          Area closestBank = org.dreambot.api.methods.container.impl.bank.Bank.getClosestBankLocation().getArea(8);
      
          public Banking(String name) {
              super(name);
              // These are the current behaviors in our Banking Macro
              this.behaviors = new Behavior[]{
                      new WalkToArea("walkToBank" ,closestBank),
                      new InteractWithBank("withdrawCoins")
              };
          }
          @Override
          public String getTransition(Object agent, Macro parent) {
              // You call the different behaviours in the macro by returning their super String
              // eg: to call the InteractWithBank behaviour return "withdrawCoins";
              if (closestBank.contains(Players.localPlayer())){
                  return "withdrawCoins";
              }else {
                  return "walkToBank";
              }
      
          }
      }

      To run your Macro :

      RSMacro macro = new MainBranch("super name");
      @Override
      public int onLoop() {
          // The arguments are null because this behaviour has no parent
          macro.behaviourGo(null,null);
          return 100;
      }
      

       

      Source :  https://github.com/Hosfad/Scripting-Behaviour-Tree

    2. 1 hour ago, CIeetZ said:

      Hey Yal. I was thinking it would be cool if You guys added a 'World Hop' Feature to the settings, beside breaks. Just like breaks, You would be able to add in 'World hop to world 485 17 minutes into script, world 490 75 minutes into script' etc. World hopping while You run a script is a really easy and efficient anti-ban method. It messes up their algorithm and makes it harder to detect Us.

      I think this is better left to the scripters to do , since some scripts requires beeing on specific worlds , and if the client would hop by it self it could affect some scripts .
       

    3. 2 minutes ago, MichaelB1 said:

      Wow this is amazing i have been looking for an account manager for ever .

      This is going to be the nail in the coffin for bot farms Great job !!!

      Thank you , enjoy!! :) 

       

    4. 3 hours ago, setnakt said:

      im having this issue too , did everything you said and it wont launch the installer. 

      Hello whats the issue youre having with the launcher , could you elaborate (Any errors/Messages) ? 

    5. On 7/21/2020 at 8:18 PM, Stoned said:

      Anyone else feel the same? Our world is strange af. No one knows what the fuck is going on but everyone acts like they do 🤷‍♂️

      :kappa:

      What this life really is :  we are on a fucking giant ball thats spinning in space and no one talks about it ,its going 1600Km/h  ,  floating in the sky above us is a giant fire ball a million times bigger than earth ,

      and you need it for vitamin D , if you stare at it you will go blind , its trying to give you cancer , and if its not there you get sad 
      We are spinning in infinity and it never comes up 

    6. On 4/3/2021 at 8:11 PM, Puffs123 said:

      script policies on OSBot are way better. Only one time purchases, no monthly fee..

      Script price is up to the scripter who developed the script , DreamBot does not chose the price, its the scripter who does .
      Also you have a free trial on the paid scripts , so you can try them and decide if you like it or not :) 

    7. On 1/4/2021 at 6:36 PM, Zach M said:

      This is a private script I designed and purchased from Bun back in late October, which has netted me over 10B profit, 5.8B just in the month of December. We have decided to release it to give everyone a chance at a fun dicing experience, that both hosts and players can feel good about. I can vouch for the numbers & high quality of the script, along with Bun’s dedication as a scripter. These games are now very well known in the “gambling” community, designed to pay out very well & thus take in a massive amount of bets. Good luck to all future purchasers, you won’t be disappointed!

      good job man 
      making profit off of people's bad gambling habits 
      congrats 

    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.