[TUT] How to write your own Pixelbot [AutoIT]

04/03/2013 00:55 Dr.Toni#1
At first you need to find the right pixel colour...

We will do it with the AutoIT Tool:
AutoIT Window Info

When we found the pixel we need to add that your ship moves:
Code:
Opt("MouseCoordMode", 2)
MouseMove(int(Random(1018, 1255)), int(Random(788, 927)), 1)
MouseClick("left")
Now we will add that it search the pixel:
Code:
While 1
Opt("MouseCoordMode", 2)
MouseMove(int(Random(1018, 1255)), int(Random(788, 927)), 1)
MouseClick("left")
$Bonusbox = PixelSearch(24, 85, 1238, 916, 0xFCFFCD)
IF IsArray($Bonusbox) Then
MouseMove($Bonusbox[0], $Bonusbox[1], 1)
MouseClick("left")
Sleep(1600)
WEnd
EndIf
Code Explanation:

This is an small but working pixelbot...
You need to add that it will work for all Resolutions and these things :)
You can add much more things but this will help you for the start :)
04/03/2013 00:58 ĤΛƇҠ#2
0815 Tutorials :D

There could be alot of things better, but It should work :P

I'm waiting for 20000 pixelbots more XD
04/03/2013 01:00 Dr.Toni#3
Yeah I know... but like I said... It's just for the start ;)

I will add maybe more things... but only if somebody need this tutorial :)
04/03/2013 01:01 Requi#4
Oh hell no.
If I wake up later and see just 2 PixelBots more.

I'll kill you. I promise you that :D
04/03/2013 01:02 jorg*#5
Quote:
Originally Posted by Dг.Tσпi™ View Post
Yeah I know... but like I said... It's just for the start ;)

I will add maybe more things... but only if somebody need this tutorial :)
hmm sleep command isnt that for loops only?
Isnt it better to use a timer?
and reset the timer after the function is done?

That wil reduce processor usage.

But anyways, i can be mistaking to..
04/03/2013 01:04 DOforfree#6
Nice, I wanted to do my own bot, but I didn't know the bases of a pixelbot. Thank you, I'll probably do my own :)

Quote:
Originally Posted by jorg* View Post
hmm sleep command isnt that for loops only?
Isnt it better to use a timer?
and reset the timer after the function is done?

That wil reduce processor usage.

But anyways, i can be mistaking to..
No, you can use sleep without a loop ;)
But I don't know about the performances
04/03/2013 01:12 manulaiko#7
I think that you should explain better the code, because not everyone know what is a code, but if you know other languaje, like java or VB (java is like this) you wont need much help u.u

See you!
04/03/2013 01:13 Dr.Toni#8
I will watch over the code tomorrow and then I will tell you more because I'm very tired :)
04/03/2013 01:14 DOforfree#9
Good night, and thank you very much :)
04/03/2013 01:25 丂のひレ尺乇ムア乇尺#10
Nice joob
04/03/2013 01:29 jorg*#11
Quote:
Originally Posted by ĤΛƇҠ View Post
0815 Tutorials :D

There could be alot of things better, but It should work :P

I'm waiting for 20000 pixelbots more XD
or atleast one goodworking pixelbot with as much functions as a normal bot .. :P all is possible^^
you could even use kamikaze with it...

and it could be 100% safe ..
But who"s gonna make it?

Quote:
Originally Posted by DOforfree View Post
Nice, I wanted to do my own bot, but I didn't know the bases of a pixelbot. Thank you, I'll probably do my own :)



No, you can use sleep without a loop ;)
But I don't know about the performances
yes sleep between 2 commands, But still how you repeat the whole process?
I mean without a loop?
04/03/2013 01:39 aha232#12
all i want is a good plad with all npc shhot bk
04/03/2013 01:40 DOforfree#13
Quote:
Originally Posted by jorg* View Post
yes sleep between 2 commands, But still how you repeat the whole process?
I mean without a loop?
I don't know, I do little little things only :o
04/03/2013 01:46 TheFallenAngel#14
AutoIT is for noobs. use java or C#...
04/03/2013 01:48 Dr.Toni#15
I know how to do it in VB too... but for most guys in this section it would be to hard to understand :D