This tutorial will cover everything required to write your own OSBot scripts. Although it is quite lengthy, don't let this put you off - it shouldn't take more than a couple of hours to follow through, at the end of which you will have learned the scripting basics and will have your very own tea thieving script which you can modify to your liking. Good luck!
Previous required knowledge:
None
Knowledge of basic java helps but is not required!
What this guide covers:
Downloading your code editor (IDE)
Basic programming concepts
A quick guide to java
Writing a script with the OSBot API
Running your script
Downloading Eclipse:
Setting up your project:
Language basics:
Java basics:
Script backbone:
Compiling the script:
Writing the script:
Best practices and conventions:
Completed Tea thieving source code:
That's the end of this tutorial, hopefully it was useful and concise enough. As I mentioned earlier, remember to ask LOTS OF QUESTIONS!
Also remember that google is your friend! ? Although it may seem OSBot scripting is a niche use of java, many questions can translate to more widely adopted counterparts - use this to your advantage.
If you have any questions do not hesitate to post as a reply below. Since I follow this thread, I will receive a notification if you do and will do my best to get back to you ASAP!
- Apaec