Hello al EPVP comunity =p
1st sorry for horrible english and all errors of language :c
(Post rewritten the 20 January 2016 because my english got a lot better since i made this post)
Today i will show you how to make a simple pixelbot with Actionnaz !
First download
(Im not totally sure if the installers installs in english , you guys will tell me anyway)
Okay , the interface :
We don't need to know EVERYTING about the software to do what we want , so i will pass some things
Okay First we gonna make a simple Script ...
A bot clicking on a Bonus box !
But first we need some basics ! =p
1st The click :
Okay if we want to make click in a specific position we just have to
Drag the cross to the position of your choice ...
2nd : Search image :
3rd : You know what is a variable ? :
Its a sort of memory that can store some data. to be used later by other parts of the bot !
just imagine that a variable is just a cardboard box okay ?
So that was some basic things to learn .
Okay l'ets make it !
First we need a message to start the bot , to prevent the bot from starting without you controlling it ! :
We gonna use a Dialog box !
Double click on the Dialog box element , You can see it open a windows with some things , you can try to modify some stuff as you want but you're beatter leavei t like this , and just click OK lol
Now you can test if the dialog box appears by clicking on the
button.
Bam ! : An empty dialog box appears !
click on the red X to stop the script ( you can also use CRTL + ALT + Q )
Now the bot have to search an image of a darkorbit box
what we will need .. mhh ... (okay i should stop trying to be like dora ...)
Yeah thats right ! :
Action : Search image + a screen of a non animated darkorbit bonus box(witch is not possible since the recent updates.. sadly) !
Now create a search image action and select the screen you took
and change :
"If reached " "Go to line :"
and
"If isn't reached " "Go to line :"
Still not hard at this state right ?
Now in the
"Exit parametters" type something ( we gonna use "BOX")
Now you should have that :
Now you scipt does :
1st Showing you a empty dialog box
2nd When you clicked ok it searches the image you took on the screen then when it finds it or someting that looks like it , it places it's position in a variable called "BOX"
So now our bot finds the image but doesn't do sh*t after that...
Now we need to click on the box !
Choose the option "Click"
in position click on the green arrow and select the variable you have created called "BOX"
and click OK =)
Now you can test the script ! :
go to a bonus box and launch the script .
" WHY THE FUCKING DIALOG BOX APPEARS FFS ! F$!#!§"
Because you d'ont have brain ; robot!
haha don't worry it's normal , you should have reviewed your script before starting it !
did you forgot the action "Search image" ? ( tell me in comments if i got you with this ! =p)
Yup your forgot to change it !
"If reached" "go to line" and select line 003
When the search image action finds the image on your screen he's gonna take the coordinates of the found image in the variable called "BOX" and then go to line 3
line 3 is the click to the position that is stored in the variable "BOX" so the box's position !
But if the image i'snt reached ?
Make the bot to go to line 002 ! ;
when the image i'snt reached the bot gonna try to reach the image again and again !
Now you bot works !
"BUT WHY ITS FUCKING STOP AFTER COLLECTING ONE BOX :'("
Because when the script makes the click there are no more action to do after it
We have to use the action : " Go to "
place it and change it to go to line 002 ! ;
when the bot did the click he's going to go to line 002 (search image)
Now ! your bot is really done ! 8D
nope just kidding anyway !
WHAT ? DID YOU REALLY TOUGHT IT WAS THAT EASY ?!
if you have many boxes around you the bot going to click evrywhere way too fast!
you bot need to make a pause between actions !
simply use Pause action , and set time to 3-4 seconds
and drag the action between" click" and "go to"
we have a 2nd problem ! "Why is this damn bot missing so much boxes ! F*CK! "
Its because your bot i'snt accurate or maybe too much ? !
"Should i take another screen capture ?!"
Nope , you just have to change options of search image :
Go to advanced options :
This number is the percentage of difference accepted :
" the image have to look 70% like the selected image "
You can change it if you want ( increase it ! )
but d'ont change it to 100 % i'ts unefficent !
Now we have a simple bot clicking on boxes when he sees them !
IT IS THE END OF THE FIRST TUTORIAL ! thanks for reading =)
if you are smart enough / have some logic you already know how to make a moving bot =)
edit: if you find how , move using the minimap or you going to die by slowly going into the radiation zone
Press thanks if i have teached you something or helped you!
You can find the next tutorial in my signature !