If you haven't seen the first part you should do it :

PART II , MOVE ,RANDOM , AND FAST !
Okay you have your first script clicking on the boxes...
You need a bit more concentration to go trough this 2nd part , im sure you can handle it !
Now we need a moving bot because a non moving bot is pretty bad and useless...
But if you use a "Click" action on the minimap the bot is clicking always at the same position
So to fix that :
We gonna use a random click on the minimap !
Acionnaz can't do this by default , so you have to set a manual action with a JavaScipt code .
"Mate i d'ont know JavaScipt how the f*ck i am supposed to do this ? "
Well i will just give you the code then
Code:
var PX = Algorithms.randomInteger(X1,X2); var PY = Algorithms.randomInteger(Y1,Y2); var PXY = new Point(PX, PY);
yeah that's all !
(You should create a new script first to see how this code is working)
To use this you have to use the "Code" action
and paste the code into it ( click on the small grey square at right of the textbox)
First to use this code you have to set the coordinates of your Mini map
Here is a small screen capture to tell you how the code works
Yep you have to put the coords of your minimap in the code
to locate the coordiantes of your minimap just create a "click" action and Drag and drop the "+" in the position , and take the Position
first number is X and the second number is Y
(after this you can delete the click action because it's only there to take the coords so ..)
You should have something like this after :
Code:
var PX = Algorithms.randomInteger(1457,1516); var PY = Algorithms.randomInteger(829,812); var PXY = new Point(PX, PY);
This code create a variable (PXY) with a random position in it
and i think you know how to click at variables positions...
Yep , you should use a click action and
put PXY in the variable name!
And now you can Execute your scipt with the
buttonAnd now tadaah! your script is clicking in a random position in the minimap !
Let's use this in the first script we made ( bonus box clicker)
Okay we have to put this code in our script ...
We have that
We have to put the random pos click before the image search !
(dont forget to correct "Go to" and "Search Image" because all the numbers will be changed)
Yep now the bot click in a position and fly to it
But our bot just move one time ...
Need to correct this ...
let me make a small new rewrited script ...
*After 10 mins*
(i did all for your my friend , be happy !)
I wish and think you can understand this script ( Do it , you aren't a robot !)
(all "sreach image" is your screen capture of a box)
the click at line 3 is a click at the top of your ship to prevent it from moving to make box searching easier ( because searching moving stuff is hard !) you will have to redefine the position of the click so the ship just moves up then stops .
Ther's an error at line 14 , it should go at line 9 if the image isn't reached
And there is the new scipt !
Yep you can understand this , This scipt is Entirely a working Bot
(You can download the script at the end of the topic BUT read all the topic before do it please x)
he can collect box faster , en create random click in map ,
an collect multiple boxes without clicking anywhere !
THIS is a real bot , and this is just a small part of what actionnaz can handle !
Let's understand this script :
First the bot gonna show you a little MSGBOX
the bot search the box image on your screen , if the bot finds it he's gonna
click at the top of the ship ( to stabilize it if he is moving) !
and wait 800 MS to move (0,8 sec)
the bot re-verify is the box still there ( in your screen) because the bot has moved your ship )
If the box still here the bot simply click on it !
the bot wait for 1650 MS ( 1,65 sec)
and he goes to line 13 to see if there is more boxes in the screen ( to not Re- sabilize and loose time)
(make a 50ms pause) (technical reason to prevent bot fails)
if the bot finds another the box he clicks on it ,
*if the bot havent reached a 2nd box*
the bot goes to line 9 and create a random position in you minimap and click on it
the bot wait 1 sec , goes to line 2 , and reach boxes while moving !
Simple and working !
I made ALL the script for you
simple !
EDIT :
Here is the video i have updated the Script for the DO update
You have the box screen in the archive and the script =)
[Video removed because i deleted my YT channel , i will reupload it later]

Download is in attachements
Okay part 2 is ended Thanks for reading !
If you learned something and that was usefull for you you can click the thanks button
Feel free to ask any question in the topic !
You can find the next tutorial in my signature !
Part 3 Comming (Safety Features , and random timings)






