Defiled 426 Posted January 24, 2020 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. 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 😛 ) 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 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. 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.
ndsalem12 0 Posted January 24, 2020 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.
Defiled 426 Author Posted January 24, 2020 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!
Defiled 426 Author Posted January 25, 2020 2 hours ago, Hashtag said: Awesome guide, thanks Defiled! Thanks Hash!
lppl67 0 Posted May 1, 2020 I added the libs file, added the jar name, added the jar to the Libs folder and still no luck. If anyone wants to add me on discord it's Zach#2679
greekhaima 2 Posted October 24, 2021 I tried the above and didn't work. This is what worked for me: added all jars into dependencies: added all jars into output:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.