
If RuneMate.jar file is invoked with invalid login credentials, instead of the client program remaining open and displaying " The requested user could not be found" in the GUI, it should exit with an appropriate warning to the console/shell it was invoked from. It was mentioned in Slack that having the client exit when invalid login credentials are provided during launch would be beneficial.Įven better if it fails when credentials are invalid and if the bot can't start for whatever reason (like bot not in inventory). The javadocs can also be referenced in your IDE and can be done in eclipse by right clicking the project -> properties -> Javadoc Location and entering the above URL.Is your feature request related to a problem? Please describe. They're a little daunting at first as there are so many classes but very soon you'll start remembering what's what and be able to navigate it easily. Here's my old open source alchemy bot before i updated it and made it closed source: I also recommend using the open source bots on the bot store as a reference (Change the 'Display' filter to Open source).

The last thing you need to do is open the bot selector and change the bot directory to the output or bin folder inside your project folder.Īnd that about covers it. When you want to run local bots, open run.bat instead of RuneMate.jar and it will load RuneMate in developer mode. Then, select save as and change the file type to All files and enter the name runSDK.batįinally, navigate to the folder containing the Runemate client (RuneMate.jar) and save the file there.

Enter 'java -jar RuneMate.jar -sdk' (without the ''). Now to be able to load your local bots in the client you'll need to run it in developer mode. Once you're set up you'll need a basic scrípt skeleton: Īnd a scrípt manifest (So the client and bot store know where the bot is and what details to display as well as whether it's private or public): įrom here there are many paths you can take, one of which would be starting with a simple state based scrípt: įor a slightly more advanced approach which follows oop (Object oriented programming) you could try using task scrípt: (Haven't watched it but might be useful)īest place to start would be either of these tutorials for setting up your IDE (Depending on which you use) : Minimal knowledge of java would be beneficial (As that's what the client and bots are written in) or C# (As it's very similar to java and wouldn't be hard to transfer that knowledge to java).

You probably already have JRE 8 installed but that only allows you to run java programs it doesn't allow you to compile them. So before we even begin you'll need to have JDK 8 installed on your computer. Talk to for anything to do with the way the client works as he's the developer. In this thread i'll provide links to everything you need to get started scripting with RuneMate.
