Hey, I want to announce that I am soon going to release a script called: DNScriptCreator into beta testing (Open for anyone). This script allows you to do almost anything; You can create a woodcutter, a miner, a cooker, a fisher or even a fighter!
The only downside of this script is that it might be a little advanced. You don't require any java knowledge to use this script, but if you have some it will actually help, as you will be able to detect how to properly set up a stable script very easy. If you have no java knowledge thats no problem as the script itself is not too hard to set up; It might actually look that way when you first see it, but trust me, its not that hard.
I was originally planning on joining QBots with his development of a similar script, but I already had a template for this script, so I decided to create one of my own and I think it has turned out pretty awesome.
How is the script built?
The script is built up by what I call methods. A method is a set of actions (Example: Interacting with an NPC, sleeping for 1000 milliseconds, walking to a tile). Once a method is called the method will execute all the actions inside of the method before it ends. In order to increase the flexibility of this script I have made it so that a method only will activate when certain conditions are met. This means that you can make it execute a method that will chop a tree if the nearby tree(s) of your choice is existing and your inventory is not full. There is no limit on how many conditions you can keep in one method. If a method is executed the script will not execute any of the other methods that have been added underneath, this means that the most important methods has to be added to the top of the list.
If you still don't understand what a condition is, it is something that can either be true or false. If its true the method will be activated, if its not true it won't. An example of this is something like: Inventory full. This statement will be true if your inventory actually is full, and if its not then it will be false. As stated above a method can contain as many conditions as you want, but in order to keep your script as fast as possible I recommend you to use as few conditions as possible.
Actions is what you can find inside a method. An action is just like it sounds like; its an action! It could be anything from walking a long path to clicking on a specific position on the screen. Actions can be added and edited by using the edit button while having a method selected. By clicking the edit option a screen will popup and you will be able to change actions and even conditions.
This is the mainframe that displays your methods and allows you to add more methods, edit them. It also allows you to save your script and load them.
This is the "New" method screen, it will popup when you create a new method and allows you to edit your conditions and actions.
Here is a list of possible conditions to use in a method:
Here is a list of possible actions you can use within a method:
In the upcomming updates I am planning on adding a interface handler, that allows you to make it interact with a specific child of an interface (This is for more advanced users, although I might make a guide on how to gather these IDs). I am also going to add a more extensive paint, but this is not a priority