Jump to content

DNScriptMaker


Mr def nerd

Recommended Posts

I have been sitting on this script for quite a while, and I guess its time for it to be released. It allows you to make almost all kinds of scripts. The whole point of the script is that the user is able to make almost any scripts that they preffer. So far I have created a few woodcutters with ent support, a flesh crawler killer with banking, eating and looting, a hill giants script, a fletcher and a couple of other scripts

 

Below is an example of the script in action:

 

In this video I used the path walking with obstacle handler which allows the script to walk a specified path that you create, then it uses the obstacle handler to grab and interact with the required obstacles

 

 

The script maker consists of something called bundles. A bundle is a container that contains both actions and conditions. An action is anything from clicking attack on an NPC or walking a specific path (Will come back to this). A condition is anything from checking if the inventory contains certain items to see if a specific skill level is above/below/equals to a speicific number. A bundle can contain an unlimited amount of conditions and actions. In order for the bundle to execute its actions all of the conditions linked to the bundle has to be true. As an example we can look at a bundle that will attack a guard then sleep for 700 seconds. The conditions linked to this bundle is that the player has to be out of combat and the player is not facing any NPC. If those two conditions are met, it will attack the guard then sleep. Since it now is in combat it will no longer execute the actions in the bundle. Below is an image of the UI itself:

 

6f47a6430720d56a90ee0bac3df6f5b1.png

 

As you can see above the script contains four bundles: Thieve, Eat, Bank and Walk to bank. You can also see that every bundle contains one set of actions and one set of conditions. To the right you can see it showing all of the actions linked to the bundle thieve,  NOTE: This is a picture of the script when the actions was called strategies, this has now been changed.

 

b916ec65aacddaf23a8cacff9600f347.png

 

The image above shows the conditions of the bundle thieve. You can see that in order to execute the actions linked to thieve the player has to have atleast one of the item with the id 385 (shark), the guard also has to exist and the hitpoints level has to be above 60. 

 

When you for example click add condition/action as seen above you will be prompted with a specified input box for that condition/action. This box has to be correctly filled in in order to have the action/condition added to the bundle. Below is an example of such a box:

 

a4f4d3855d554a904dbbbee866e7904f.png

c3bc077c40d3733dee710a1a3371e193.png

 

As you can see the Cast spell on items box is selected in the combobox to the left. You can see that a new window with a combobox that contains all the spells and the possibility to add the id(s) of the items you want to cast the spell on

 

This is the basics of the script. With this setup you can split the actions into many small fractions making the script capable of doing advanced things. Below you can see a list of a few conditions and actions.

 

Actions: 

  • Sleep (low, high) - This method will sleep for a random number of milliseconds between low and high
  • Sleep while moving - This method will sleep while the character is moving
  • Sleep while animating - This method will sleep while the character is animating
  • Close bank - This method will close the bank
  • Set state (Message here) - This will set the state to the message you desire (e.g 'Eating food')
  • Walk to (x, y, z) - This method will walk to the position with the corresponding x, y and z coordinate
  • Move mouse to (x, y) - This method will move the mouse to the x and y coordinate of the screen
  • Left click (x, y) - This method will left click the x and y coordinate of the screen
  • Right click (x, y) - This method will right click the x and y coordinate of the screen
  • Interact with npc by name (name1,name2, interaction) - This method will interact with any npc that has one of the names specified
  • Interact with object by name (name1,name2, interaction) - This method will interact with any object that has one of the names specified
  • Interact with grounditem by name (name1,name2,interaction) - This method will interact with any grounditem that has one of the names specified
  • Interact with npc by id (id1,id2,interaction) - This method will interact with any npc that has one of the ids specified
  • Interact with object by id (id1,id2,interaction) - This method will interact with any object that has one of the ids specified
  • Interact with grounditem by id (id1,id, interaction) - This method will interact with any grounditem that has one of the ids specified
  • Pickup item by id (id1,id2) - This method will loot any item with any of the specified id and add the price of the item to the total profit list
  • Pickup item by name (name1,name2) - This method will loot any item with any of the specified names and add the price of the item to the total profit list
  • Cast spell - This method will cast any spells
  • Cast spell on item - This method will cast any spells on an item in the inventory (E.g high level alchemy on a yew longbow)
  • Cast spell on npcs - This method will cast a spell on an npc
  • Attack npc by name (name1,name2) - This method will attack any NPCs with the specified name (It will decide the right npc by itself)
  • Interact with inventory item (name1,name2,interaction) - This method will interaction with any inventory item that has one of the names specified
  • Use item on item (first name, second name) - This method will use the first item on the second item (E.g knife on log)
  • Send text (text) - This method will type out a specified text
  • Send amount text (text) - This method will only send the text if the amount interface is up (this way it won't sit in a bank and spam 27 when its fletching if its lagging)
  • Open bank - This method will open the bank

There are many more methods which are not listed here!

 

There are also some default methods that comes with the script:

  • You will be able to record a path and use the obstacle handler with this script. This means you can walk a path without having to worry about the obstacles on the way
  • The script has a built in interface handler which handles interfaces such as the ones you see in the stronghold of security

I will post a video guide on how to use this script later

 

This script will probably be free for a long time as it would require a lot of testing to find if any of the conditions/actions are broken etc

 

Proggies

de7fa158405a6b9b16a5f9b2bb77dc03.png

 
Edited by Mrsdefnerd
  • Like 5
Link to comment
Share on other sites

Does this support like telegrabbing wines ?

Yep, it supports casting spells on entities (objects, npcs, grounditems etc), so therefore it should be able to telegrab wines

 

 

great work! biggrin.png

Thansk :D

 

Looking forward to this!

 

It will hopefully be released soon!

Edited by Mrsdefnerd
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...