Jump to content

Welcome to DreamBot!

Download for Free

Supercharge Your Bots

Run unlimited bots today using DreamBot's Covert Mode and
stay more protected.

Upgrade Now
Frequently Asked Questions
  • Are you not able to open the client? Make sure you have Java installed
  • 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 gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
  • Using External Libs Tutorial


    Recommended Posts

    Hello,

    I wrote this guide because of the new feature @Nuclear Nezz released in the past few weeks, I hope you enjoy.

    First: Grab your Library Jar File and place it in the "Libs" folder found in the DreamBot folder found in your user.home directory.

    3564395be6d74c8a70e1877abb31bc6b.png

     

    Second: Head over to your script files and create a new file with the name "libs" in your Source folder A.K.A src.

    (Note: The file isn't a .txt, it's just a normal file without any prefixes, if you don't know how to create a default file then you shouldn't be scripting 😛 )

    60f587c62b824ab47a389ba892d9a55d.png

     

    Third: Edit this file using Notepad or what ever text editing software you prefer, and write in the name of the library with its prefix (Case-Sensitive).

    Ex: mysql-connector-java-5.1.48.jar & jmail.jar

    1a61f1afdaa16dd3a5adfa07053b0b10.png

     

    Fourth: Build your script Jar File, also as a helpful hint: when building artifacts in IntelliJ, enable "Include in project build" to build artifacts faster with every compile & select JAR > from modules with dependencies and remove the library from compiling with the script on the artifacts interface. 

    594f3cc5dbed3669682302119d7245fc.png

     

    and that's it! 

    Thank you @Nuclear Nezz for this fantastic and wonderful update.

     

    Credits to Nezz for explaining briefly how to use the new Libs update. It was a comment in a thread that might get lost, so I made a full thread to keep it in full view to people.

    152a5c6a59522df9030ead96b1fdddc7.png

    Link to post
    Share on other sites
    2 hours ago, ndsalem12 said:

    Thank you so much! The screenshot at the end is from my original question about the topic a couple days ago. Appreciate it a lot man, cheers.

     

    No problem! :) 

    Link to post
    Share on other sites
    2 hours ago, Hashtag said:

    Awesome guide, thanks Defiled!

    Thanks Hash! 

    Link to post
    Share on other sites
    • 3 months later...

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Reply to this topic...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...