taultunleashed logoHow To Create Dekaron Scripts Easily For Bots : Dekaron Guides | Free 2moons Guides
newtopic  postreply
 [ 1 post ] 
blue large dot

How To Create Dekaron Scripts Easily For Bots : Dekaron Guides | Free 2moons Guides

Posted: May 11th, 2011, 3:18 pm
 
Perfectworlder

Total Posts: 272
Joined: June 6th, 2009, 7:27 am
Perfectworlder's Reps: 27
User avatar
premium
Here is an awesome bot that will allow you to create your own scripts and bots for the program called ka-bot. The majority of the time when people use ka-bot they have problems finding a good script to use with it. With this simple guide you can figure out how to easily create your own scripts with the bot and start enjoying it yourself. No more will you be forced to waste time asking people for help on creating your own script.

(!empty($user->lang['QUOTE'])) ? $user->lang['QUOTE'] : ucwords(strtolower(str_replace('_', ' ', 'QUOTE'))):

So, let's get started. Each command is separated by a comma ( , ) and each parameter for a command is separated by a semicolon( ; ).

Take the following scripts for example:

Find a target and spam skills
Code:

u,1,2,3,4,5,6,7

EXPLANATION:
- 'u' targets the closest mob
- '1,2,3,4,5,6,7' spams the skills in slots 1-7
- there are a total of 8 commands in this script
- this will continually try to target and attack any mobs that get close enough to you to target


Find a target and spam skills (only if a target is acquired)
Code:

u,
iscol;<color code>;<x-coordinate>;<y-coordinate>,
1,2,3,4,5,6,7,
endis;l,

EXPLANATION
- 'u' targets the closest mob
- 'iscol' is a conditional command with 3 parameters...Color Code, X-coordinate, and Y-coordinate. Basically what this is saying is "If the color at X-Y point on the screen equals the specified color then do the commands inside iscol/endis
- the Color Code and X-Y coordinates in the 'iscol' command represent a UNIQUE COLOR and coordinate on the target box that appears to show you the mob you have targetted. The 'iscol' command means NOTHING without these coordinates matching the colors on YOUR screen.
-'endis' closes the 'iscol' command
-'l' loops the 'iscol' command until there is no more target
- '1,2,3,4,5,6,7,' spams skills in slots 1-7
- this script will do the same as the first except that it will ONLY try to spam skills when a target is acquired


Ok, now let's say we don't want to just stand there and wait for a mob to get close. Let's make our character walk around and look for mobs.

Search And Destroy
Code:

u,
iscol;<color code>;<x-coordinate>;<y-coordinate>,
1,2,3,4,5,6,7,u,
endis;l,
*w,3000,-w,u,500,
iscol;<color code>;<x-coordinate>;<y-coordinate>,
1,2,3,4,5,6,7,u,
endis;l,
*s,3000,-s,u,500,
iscol;<color code>;<x-coordinate>;<y-coordinate>,
1,2,3,4,5,6,7,u,
endis;l,


EXPLANATION
- 'u' targets the closest mob that can be targeted
- 'iscol' checks to make sure there is a target by getting the UNIQUE COLOR and X-Y coordinate of the box that pops up when you target a mob
- '1,2,3,4,5,6,7,u' spams skills 1-7 and tries to target a mob to make sure you still have a target
-'*' represents a KEY DOWN event, meaning a keyboard key press
-'w' represents the key that is being pressed
-'3000', represents a delay, and when this is used AFTER a KEY DOWN event it means the key is being pressed for however long is indicated. In our case it is for 3000 milliseconds, or 3 seconds.
-'-' represents a KEY UP event, so here we are releasing the 'w' key after 3 seconds
- 'u' tries to target a mob
- '500' sets a delay of 500 milliseconds, or .5 seconds so that we can make sure we get a good lock on any mob that we have targeted.
- This script tries to target a mob, if one is targeted it spams skills until there is no target. When there is no target it presses 'W' to walk UP for 3 seconds, and again tries to target a mob. If a target is acquired it spams skills until there are no more targets then presses 'S' to walk DOWN for 3 seconds, putting the character roughly back where they started.


COLOR CODE EXPLANATION/EXAMPLE

The color code usage in the scripts seem to be a stumper for most beginners although it is VERY simple to understand.

Kab-Bot uses an integer(number) value that represents a color on your screen based on your own screen resolution. So, for example, the GREEN mob names have a color value of '68759' on my screen.

Kab-Bot uses your screen resolution to determine where on your screen a color is located. On my screen the color for a depleted HP bar is '5921279' and the coordinates for the MIDDLE of my HP bar are '195,406'. So, at coordinates 195,406 the color is 5921279 when my hp is over 50% gone.

PLEASE NOTE: Color codes are UNIQUE to each person's computer, so if you use someone else's scripts YOU MUST CHANGE THE COLORS TO MATCH THE COLOR CODES ON YOUR SCREEN OR THE SCRIPTS WILL NOT WORK.

Let's say we want to check our HP bar to see if we need to pot, and if we don't, target the next mob:

Code:

nomatch;5921279;195;406;1,u,

EXPLANATION
- 'nomatch' checks to see if the color at the specified X,Y coordinates DOES NOT MATCH
- '5921279' is the color code at X-Y coordinates 195,406 and represents the color of my HP bar when I have taken damage.
- '195' is the X coordinate position for the color code '5921279'
- '406' is the Y coordinate position for the color code '5921279'
- These X-Y coordinates represent roughly the MIDDLE POINT of my HP bar
- So, this script checks to see if the color at the MIDDLE POINT of my HP bar DOES NOT MATCH the color of a depleted HP bar. So, it essentially it checks to see if I'm at 50% HP. Simple, right?


Reply with quote
Want Advertisements After The Last Post Removed? Create A Free Account!

blue large dot Who is online
Users browsing this forum: No registered users and 1 guest

Popular Sections
SWTOR Cheats
Guild Wars 2 Cheats
Guild Wars 2 Hacks
Guild Wars 2 Bots
Diablo 3 Cheats
Guild Wars 2 Mods

Popular Sections
WoW Cataclysm Cheats & Exploits
WoW Cataclysm Hacks & Bots
Star Wars The Old Republic Cheats
SWTOR Mods
Torchlight 2 Cheats
SWTOR Space Mission Bots
Site Nav and RSS
RSS Feed of Dekaron Guides | Free 2moons Guides RSS Feed 
Sitemap of Dekaron Guides | Free 2moons Guides Sitemap 
SitemapIndex SitemapIndex
RSS Feed RSS Feed
Channel list Channel list
left bottom corner Site and Contents Copyright 2001-2012 All Rights Reserved TaultUnleashed.com bottom corner
top left
top right
createaccount
Username:   Password:   Remember Me?