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
  • Issue with adding third party library


    althtu

    Recommended Posts

    Adding a third party library in a regular project I get normal access as follows:

    1547352283_Screenshot(3).png.852344cc3a3a6d628863f1e9d8fc77ed.png

    In my DreamBot project I'm getting the following:

    1904028513_Screenshot(1).png.e791e7cfc6a6d2522345f8ebac33e244.png

    In the second scenario I can access some StringUtils functions (e.g. replace, containsAny, containsNone), but not all of them (such as substringBetween shown in the second image above). My guess would be that client.jar (which is required for a DreamBot project) already has an older version of org.apache.commons.lang3, and that takes precedence when calling StringUtils. How could I avoid this conflict so that all StringUtils functions are available in my DreamBot project?

     

    Link to comment
    Share on other sites

    Archived

    This topic is now archived and is closed to further replies.

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