Search the Community
Showing results for tags 'node'.
Found 2 results
Node Framework Tutorial by Worthy What is Node Framework? A node based framework breaks actions into different classes. Each class extends a Node and has a validate and execute function. In this tutorial I will be writing a basic powerminer to demonstrate the effectiveness of using Nodes. ________ Node class: Validate: if true, will run the execute method. Execute: where the action happens ________ Second, we will plan and break down the actions we'll be creating. In a powerminer, there are really only a couple classes necessary: A GUI class (optional) A MineOre class A DropOre class Since this is a basic tutorial, I'm going to skip the GUI class And for simplicity's sake, I won't be externalizing any variables (I usually have separate classes for Constants and Variables). The MineOre class: ____ The DropOre class: ____ Lastly, the main class, PowerMiner: Tying everything together: When the script is initiated we add all the nodes we want into the ArrayList of nodes. The script then loops indefinitely, looping through each node in the ArrayList, validating it, and then executing. The min and max parameters I have set in the loop method, ensure the bot waits at least 20 to 40 milliseconds in between nodes. _________ As you can see you can do much much more with a node-based framework, but this tutorial shows the barebone basics. For example: if you have an AIO script, you can have the GUI determine which nodes to add to the ArrayList. You can delete nodes to run if an action is completed, etc. Full script on GitHub: https://github.com/WorthyTRiBot/PowerMiner Regards, Worthy
I'm pleased to announce the release of nAirWalker 1.1, available on the repository here. Current Features: ABCL 10. Up to 40 trips per hour. Supports rune essence and pure essence. Tiara & Talisman support. Extensive stats. Togglable paint. Start the script anywhere, preferably Falador West bank. The script will equip a tiara for you if available, or withdraw a talisman. Upcoming Features: Energy / super energy potions Essence pouches Screenshots: