Hi there future scripters! This tutorial I am writing for you all now will go in-depth with everything you need in order to get started writing your very own scripts. After reading through this tutorial you will be capable of writing, compiling and running simple scripts such as a tea thiever, chicken killer and so on. If you are really keen to get started scripting I recommend reading the whole guide through and going back through the parts you did not fully understand.
Previous required knowledge:
None
Knowledge of basic java helps but is not required!
What the guide will teach you:
Downloading your code editor (IDE)
Simple code and Basic DreamBot API
Writing a script (with tester snippets to get you started!)
Exporting a script into DreamBot
Running your script
Please note:
Script will not be complex. I will be writing a simple tea thiever.
Script will have no paint nor GUI, I'll be writing a follow on guide on implementing these later.
So, let's get started!
FIRSTLY, DO NOT BE AFRAID OF THESE { OR THESE () OR THESE } OR ANY OF THOSE! They are simple yet look complicated. All { means is defining the start of a block. } defines the end of it. Simple!
Firstly, you're going to want to download an IDE (a program in which you write and compile code). In this tutorial I'll be using Eclipse, a piece of free software which is perfect for scripting for DreamBot. Simply put, Eclipse is like a word document in which you write your code and then save the code as a .Jar file, which is interpreted and run by the DreamBot client.
PART 1 - DOWNLOADING ECLIPSE
PART 2 - SETTING UP YOUR JAVA PROJECT
PART 3 - WRITING YOUR SCRIPT
PART 4 - COMPILING AND RUNNING THE SCRIPT
TEA THIEVER SOURCE CODE AND DOWNLOAD (untested!)
That's the end of this tutorial and hopefully I inspired a new wave of scripters!
If you have any questions do not hesitate for a second to post below, send me a PM or even add my skype (i'd prefer contact via DreamBot first before contacting my skype though!)
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.