Search the Community
Showing results for tags 'framework'.
-
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 cl
-
OSRS scripts often require setting up complex decision trees, in one form or another, in order to achieve the necessary workflow from the bot. The OOP solution to this is to create a DecisionTree class and have many DecisionNode classes, each with an ifValid() and an ifNotValid() function. However, this results in long convoluted path structures, and can result in an ungodly number of files, if the logic gets complex. The FP solution is to create a set of functions that can handle the same logic, using any() and all() methods to mimic nested if statements built with && a
-
Looking at the tutorials I didn't notice anyone using a graph-based framework, so I thought that either people hadn't thought of it or at least the newer or less experience programmers weren't aware of using this, so I thought I'd share it. GraphScript is a graph based framework, using a cyclical graph to model the functionality (where each vertex would be the same as a Node or Task from other frameworks) the advantage of this, is that when doing stuff that is rotational such as a skill or simple minigame (I use Wintertodt as an example, something like Hunter would be a fantastic example as we
-
hi!!! I'm an experienced javascript developer and have recently been working on Angular. I ran into some trouble creating custom pipes from scratch and from there on the issues became much more complex. I found some rich sources that helped me understand the core concepts of Angular 2. For example, if you are dealing with pipes or having issues, you may be interested in looking into: Part 1 https://auth0.com/blog/angular2-series-working-with-pipes Part 2 https://auth0.com/blog/angular-2-series-part-2-domain-models-and-dependency-injection Part 3 https://auth0.com/