[Tutorial]Make your OWN pixelbot with Actionnaz ! PART II

06/13/2014 17:56 Zetadarus#1
Hey there is the 2nd part to make your OWN pixelbot with Actionnaz

If you haven't seen the first part you should do it : [Only registered and activated users can see links. Click Here To Register...]

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 ! :cool:

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 :D ;

Code:
var PX = Algorithms.randomInteger(X1,X2);
var PY = Algorithms.randomInteger(Y1,Y2);
var PXY = new Point(PX, PY);
This code just create a random position in a selected zone !


yeah that's all ! :D ,... ... huh ? , How to use it ? ..., oh sorry i forgot that :B

(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

[Only registered and activated users can see links. Click Here To Register...]

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);
Note that this code is adapted for MY screen resolution so it probably won't work for you .

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 [Only registered and activated users can see links. Click Here To Register...] button

And 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 [Only registered and activated users can see links. Click Here To Register...]

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 !)
[Only registered and activated users can see links. Click Here To Register...]


(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 :rolleyes:!

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]


[Only registered and activated users can see links. Click Here To Register...]
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 :handsdown: !

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)
06/13/2014 20:29 Gorjerax#2
Nice english by the way, mais ça reste un très bon tuto merci !
06/13/2014 21:35 Nevada'#3
Wow thanks man:awesome:
06/14/2014 01:09 DarkSimio#4
Doesnt work for me plis help :c
06/14/2014 06:17 Zetadarus#5
Video posted DL link uploded and VirusTotal is here :)




Quote:
Originally Posted by DarkSimio View Post
Doesnt work for me plis help :c
Re make the steps ( you need a better brain :B)
06/14/2014 19:42 GarretZorn#6
Good job my friend, can't wait for part III!
06/16/2014 17:38 Zetadarus#7
Part III comming ... :B
06/29/2014 10:37 Junker12345#8
Whats that?

Problemsignatur:
Problemereignisname: APPCRASH
Anwendungsname: actionaz.exe
Anwendungsversion: 0.0.0.0
Anwendungszeitstempel: 531cec8c
Fehlermodulname: opencv_core231.dll
Fehlermodulversion: 0.0.0.0
Fehlermodulzeitstempel: 4e4b1243
Ausnahmecode: c0000005
Ausnahmeoffset: 0000000000039000
Betriebsystemversion: 6.1.7601.2.1.0.768.3
Gebietsschema-ID: 1031
Zusatzinformation 1: 479b
Zusatzinformation 2: 479b5abdb8ab2797738183396c21eb9b
Zusatzinformation 3: 7b41
Zusatzinformation 4: 7b41532ebefdd8708311926a535a5c95

Lesen Sie unsere Datenschutzbestimmungen online:
[Only registered and activated users can see links. Click Here To Register...]

Wenn die Onlinedatenschutzbestimmungen nicht verfügbar sind, lesen Sie unsere Datenschutzbestimmungen offline:
C:\Windows\system32\de-DE\erofflps.txt
06/29/2014 11:38 Zetadarus#9
Quote:
Originally Posted by Junker12345 View Post
Whats that?

Problemsignatur:
Problemereignisname: APPCRASH
Anwendungsname: actionaz.exe
Anwendungsversion: 0.0.0.0
Anwendungszeitstempel: 531cec8c
Fehlermodulname: opencv_core231.dll
Fehlermodulversion: 0.0.0.0
Fehlermodulzeitstempel: 4e4b1243
Ausnahmecode: c0000005
Ausnahmeoffset: 0000000000039000
Betriebsystemversion: 6.1.7601.2.1.0.768.3
Gebietsschema-ID: 1031
Zusatzinformation 1: 479b
Zusatzinformation 2: 479b5abdb8ab2797738183396c21eb9b
Zusatzinformation 3: 7b41
Zusatzinformation 4: 7b41532ebefdd8708311926a535a5c95

Lesen Sie unsere Datenschutzbestimmungen online:
[Only registered and activated users can see links. Click Here To Register...]

Wenn die Onlinedatenschutzbestimmungen nicht verfügbar sind, lesen Sie unsere Datenschutzbestimmungen offline:
C:\Windows\system32\de-DE\erofflps.txt
heeeh wtf i don't know it is in german ! x)
06/29/2014 21:16 AlienDO#10
Look my bot palladium with actionnaz


He can :

Collect palladium
Renovated the PET
Sale palladiums
Renovated your ship and wait some minute for restard collect palladium
06/30/2014 06:43 Zetadarus#11
Quote:
Originally Posted by AlienDO View Post
Look my bot palladium with actionnaz

[Only registered and activated users can see links. Click Here To Register...]

He can :

Collect palladium
Renovated the PET
Sale palladiums
Renovated your ship and wait some minute for restard collect palladium

yeah great ! ( i see tou have copied my script ! xD)


Anyway good work ^^ , just a question :P ,

if there are no any paladium you mot clicking on a random position ar the minimap or he click on the paladium zone ? :P




And d'ont forget it : acctionnaz can make bots , but without experience it make the bot really poor and unsafe ( like your bot) , if yu want to make random timing you have to ressearch more in this topic ;) you can see a code can make random numbers...


Good work im gald of you you have a brain ! :mofo: congratulations! xD
06/30/2014 07:52 Staspytel#12
Thanks Zeta. I followed your idea of creating a bot like this and I made a simple bootykey collector in JitBit macro and works quite good xD
07/01/2014 02:05 MAXTHEDOG#13
1 milion thanks for Zetadarus!
07/03/2014 10:45 spyro27#14
My bot collect bounus box .. but the bot didn't click on minimap D:
07/03/2014 12:56 Zetadarus#15
Quote:
Originally Posted by spyro27 View Post
My bot collect bounus box .. but the bot didn't click on minimap D:
Lol you have failed the code part ;) Re - read the post ;)