SpinClass 0 Posted March 8, 2020 Hey guys, I've made a Gradle plugin that should hopefully make developing scripts a little easier. If you're unfamiliar with Gradle, I'd suggest checking out their website, as it explains what Gradle does, why it's useful, etc. A guide for setting up a development environment with the plugin can be found at https://github.com/SpinClassRS/DreamBotPlugin/blob/master/README.md The plugin I've developed adds three Gradle tasks: buildScript - Builds your script jar, puts it in the build/libs directory runDreambot - Runs buildScript, copies the jar into DreamBot's Script directory and starts up DreamBot updateDreambot - Downloads the latest DreamBot client and API jars, puts them into the libs/ directory This is the first time I've made anything like this, so if you have any comments, questions or suggestions let me know!
klorox 1 Posted March 16, 2020 This is really great, thanks for the contribution. Works perfectly and definitely simplifies the entire process. This is my first time trying make my own script and I found this to be very easy to setup.
mecanos28 2 Posted March 20, 2020 I am a programmer and want to start building my own scripts but was having a lot of trouble getting the client to read my script jars. This is the best, fastest, most helpful solution I have seen. Thanks.
Cannibud 2 Posted April 23, 2020 Oh whoa, this is so simple, yet so useful. Thanks for this 100x over!
Verify 0 Posted April 28, 2020 When I try to run updateDreambot, it says Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. and the com.spinclass.spinner is not created
orbox 0 Posted May 5, 2020 How do I update a script and test it without having to close down DreamBot and re-open/login?
AsBakedAsCake 203 Posted May 5, 2020 21 minutes ago, orbox said: How do I update a script and test it without having to close down DreamBot and re-open/login? After you build, you just click refresh in the scripts section of the client and it will be up to date.
orbox 0 Posted May 5, 2020 14 minutes ago, AsBakedAsCake said: After you build, you just click refresh in the scripts section of the client and it will be up to date. I have been pressing "buildScript" in Gradle then refreshing but it doesn't update. I've tested multiple times. My only solution is pressing runDreambot and just closing the client and using my pre-existing client to test.
24h8rH9V9F 0 Posted May 7, 2020 Thanks for this tutorial to use grade with IntelliJ! I got this error after executing updateDreambot: > Task :updateDreambotClient FAILED Updating https://dreambot.org/DBLauncher.jar Execution failed for task ':updateDreambotClient'. > java.io.IOException: Server returned HTTP response code: 403 for URL: https://dreambot.org/DBLauncher.jar Any suggestions? I checked and the server does not return 403 when accessing via browser, or using wget to download the file.
Crypto22 0 Posted May 12, 2020 On 5/7/2020 at 12:55 PM, 24h8rH9V9F said: Thanks for this tutorial to use grade with IntelliJ! I got this error after executing updateDreambot: > Task :updateDreambotClient FAILED Updating https://dreambot.org/DBLauncher.jar Execution failed for task ':updateDreambotClient'. > java.io.IOException: Server returned HTTP response code: 403 for URL: https://dreambot.org/DBLauncher.jar Any suggestions? I checked and the server does not return 403 when accessing via browser, or using wget to download the file. I got the same problem
Recommended Posts
Archived
This topic is now archived and is closed to further replies.