- Joined
- Jan 2, 2014
- Messages
- 306
- Thread Author
- #1
1- Create a new project in the folder you want with your JDK specified
2- Move RuneMate.jar to your project folder
3- When you open your project in IntelliJ, you'll see RuneMate.jar in your project tree, right click on it and select "Add as library", and click "Ok" in the next window that will appear
4 - Now that you have RuneMate added to your library, go to Run-> Edit configurations
5- In the window that appeared, click on "+" icon and select "Application"
6 - Now lets configure some stuff
7- Now you'll be able to run RuneMate from IntelliJ by clicking on the green play button on your toolbar
Extra tip: Go to File > Project structure (or press Ctrl + Alt+ Shift+ S), in the window that appeared, click on "Specify Documentation URL" button
In the window that appeared, put Generated Documentation (Untitled) URL in the text box and click "OK" button, this will add documentation directly from RuneMate JDocs page to your IDE.
Now click "Apply" and "OK" button again.
How to use it?
When you want to check the documentation of a class, hold Ctrl button and hover the class name in your code, hover the box that will appear and then click on pin icon
A window will appear with further information about that class provided by RuneMate JDocs
How to make bot find the scripts compiled by IntelliJ?
In RuneMate, click on play button, click on bots tab and then click on "Change directory" button
Browse to your project folder, then go to out/production/RuneMate <-- RuneMate will be the folder you need to select, not your first package folder, then click on "Select folder" button and your scripts will appear.
That's it... I hope you guys enjoyed, if you have any question feel free to ask!
2- Move RuneMate.jar to your project folder
3- When you open your project in IntelliJ, you'll see RuneMate.jar in your project tree, right click on it and select "Add as library", and click "Ok" in the next window that will appear
4 - Now that you have RuneMate added to your library, go to Run-> Edit configurations
5- In the window that appeared, click on "+" icon and select "Application"
6 - Now lets configure some stuff
- In main class put "com.runemate.Boot"
- In program arguments put "-sdk" , this will allow developer toolkit on your bot, so you can get data to your scripts
- Check "Use alternative JRE" and browse to your java folder (I use a 32-bit version but there's no problem if your version is 64-bit, it will probably be"C:\Program Files\Java\jre7")
7- Now you'll be able to run RuneMate from IntelliJ by clicking on the green play button on your toolbar
Extra tip: Go to File > Project structure (or press Ctrl + Alt+ Shift+ S), in the window that appeared, click on "Specify Documentation URL" button
In the window that appeared, put Generated Documentation (Untitled) URL in the text box and click "OK" button, this will add documentation directly from RuneMate JDocs page to your IDE.
Now click "Apply" and "OK" button again.
How to use it?
When you want to check the documentation of a class, hold Ctrl button and hover the class name in your code, hover the box that will appear and then click on pin icon
A window will appear with further information about that class provided by RuneMate JDocs
How to make bot find the scripts compiled by IntelliJ?
In RuneMate, click on play button, click on bots tab and then click on "Change directory" button
Browse to your project folder, then go to out/production/RuneMate <-- RuneMate will be the folder you need to select, not your first package folder, then click on "Select folder" button and your scripts will appear.
That's it... I hope you guys enjoyed, if you have any question feel free to ask!
Last edited: