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
  • Try asking for help in the chatbox
  • Farming Script: Code Review


    liondedan
     Share

    Recommended Posts

    5 hours ago, Pseudo said:

    This. Pretty sure that almost all necessary 'state' data for farming patches can be found via configs.

     

    17 hours ago, Eclipseop said:

    use settings

     

    Okay - thanks both for the reply, appreciate it. I'll take a look at doing the config settings. One additional thing how can I get the `onMessage` method that requires the `MessageListner` API to work within the context of the `TreePatch` class?

    Also, one additional question, what would be a good pattern for navigating between TreePatches? I obviously don't just want to walk :)

    Link to comment
    Share on other sites

    14 hours ago, liondedan said:

     

     

    Okay - thanks both for the reply, appreciate it. I'll take a look at doing the config settings. One additional thing how can I get the `onMessage` method that requires the `MessageListner` API to work within the context of the `TreePatch` class?

    Also, one additional question, what would be a good pattern for navigating between TreePatches? I obviously don't just want to walk :)

    Can you elaborate more on what you mean as regards to the message listener? As for traversal, does web walking not handle teleportation? Haven't used it for a long distance traversal myself so I don't know.

    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
     Share

    ×
    ×
    • 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.