Jump to content

[Release] Script Loader for Class- and Jar-Based Scripts


DarkStorm

Recommended Posts

This offers a neat little interface to load and reload (yes, no more restarting the bot over and over to test scripts!) scripts written in pure java and provided in class or jar format.

It is run as a normal script, but will load classes from a jar for the actual components of the loader (script and the jar are provided in the linked zip).

 

Writing scripts in pure Java allows for much easier script conversion and more reliable code, not to mention that the Eclipse Groovy plugin is depressingly terrible.

 

http://www.mediafire.com/?wdu4euq2rhple3r

Have fun! Extract the .groovy file and .jar file into the OSBot/scripts directory. Post bugs you find on this thread.

 

EDIT: As requested by GoldenGates, virustotal scan:

https://www.virustotal.com/en/file/c258964ff359537cd8b9a3101eb04d8326423f9593ce89e7998c4d974d5b9b4a/analysis/1365276512/

 

cP9HSEa.png

 

EDIT: Updated once, left out script.provideBot(Bot), meaning that scripts will not start in the old version.

EDIT: Update again, resource loading was not functioning. Works perfectly now.

EDIT: Wow, I'm an idiot... I uploaded only the jar.

Edited by DarkStorm
  • Like 2
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...