[NA] The Pixel Bot Your WAY *NEW*

02/27/2008 03:46 Bobs16#1
Here is my release so you can edit so it WILL WORK FOR YOU

Step 1

Assuming you already have Autoit I will show you how to search for pixels and (x,y) coordinates. First open up Autit Window Info this tool is great for autoit. Now click on the Mouse tab this will follow your mouse and give its (x,y) coordinates and the color in Hex format. Another great tool within this program is Finder tool it replaces your mouse cursor with a more accurate cursor and allows you to find pixels easier instead of that huge in game cursor.

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

Step 2

Use the program above in Cabal to find pixels and what (X,Y) coordinates you will need. So Simply open Cabal and go in game. Then open WIndow Info. Then we will need to find the (X,Y) coordinates for the Hp Auto Heal. This is done by useing the "Finder Tool" and simply going to one spot in you Hp bar and recording the (X,Y) of that spot. Now need to get one more so go about 2 CM to your right and about 1 CM below and record that (X,Y).

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

STEP 3

Now we search what color black pixel we have in the middle of our HP bar. This is easily done like the (x,y) coordinates but instead we record the pixel. So get your Hp bar about 1/4 gone and do what I do in the pic to record the pixel.

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

Step 4

Now all we need is what color of mobs we want to hunt. This is the tricky part. Hard to get pixels when a lot of stuff is going on. DO NOT USE IN GAME CURSOR it is inaccurate. Use the finder tool and point it to a yellow pixel in the monsters name and right down the pixel number. Make sure it does not change while you are recording it should stay constant or it is wrong. some times this takes multiple tries.

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

Step 5

Through this guide I got the points (128,58) (156,65)
Hp pixel was 0X1C1C1C
Yellow Monster Pixel 0X5A5909

So now we plug it in the script like this.

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

EDIT: Is your bot hitting the premium button? Then change the pixel search (monster) coordinates to 100, 137 , 1024, 718 Or change the coordinates using this same guide to fit your screen size.

Now we are done thank you for listening and have fun boting. Post any questions here. Any you should add this blah crap, why don't you?
02/27/2008 04:45 Judgment#2
+karma!
Nice guide!! you teach me alot about pixels using AUTOIT!
btw... do you know how to change ur autoit to a launcher program?
02/27/2008 04:48 sinx000#3
go to all programs in start menu.. look for autoit v3.. in there u should see compile script to exe

*btw this guide really makes me wanna play american cabal.. because u can atleast bot.. in kr all you can do it joy2key which sux badly*
02/27/2008 08:05 Bobs16#4
has this guide cleared anyones problem?
02/27/2008 09:20 bigidi#5
im going to try it now. ill let you know if anything goes wrong to me.
thanks for posting somthing in this forum

the color detection doesn't work if you turn games on. it will just show the same number. i took a Screen shot n took the color of the monster and tried the bot but it still doesn't detect monster by it self
02/27/2008 10:25 szyna^#6
Make something for EU players pls.
02/27/2008 11:38 123werty#7
hey can u make a bot that just stand in 1 spot beacuse most of all the mosnter are aggerrseive they come to u and hit u

and this
[Only registered and activated users can see links. Click Here To Register...]
02/27/2008 15:36 lynxz#8
Quote:
Originally Posted by 123werty View Post
hey can u make a bot that just stand in 1 spot beacuse most of all the mosnter are aggerrseive they come to u and hit u

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

A good tutorial on autoit... Specifically the part about pixelsearching.. it explains it in depth :)

Code:
 = PixelSearch( lt, rt, lb, rb, col, dif, sk )
While @error = 0
(Movement/attack Code)
 = PixelSearch( tlx, tly, brx, bry, col, dif, sk )
Wend
Quote:
Alright, here is where we have to use a little brain power.
PixelSearch is comprised of 7 numbers that need to be imputed. The first 4 are for coordinates and the last 3 are for color detection settings. The four coordinates define a rectangle for the computer to detect the color of the pixel
Btw, you should know some basic algebraic graphing…
The legend for the symbols after “pixelsearch”
Tlx = the top left pixel’s X coordinate. IE (240)
Tly = the top left pixel’s Y coordinate. IE (150)
bry = bottom right pixel’s X coordinate. IE (260) (Bigger than the TLX #... duh… its more to the right…)
bry = bottom right pixel’s Y coordinate. IE (110) (Less than the TLY #... duh…its down more…)
Col = the color you want. (Go down to ‘code tidbits’ to find out how to get color)
Dif = the color variation that the pixel search will detect, like if the color is a little different, a high number might detect the pixel as well. 0 = only that color)
Sk = the pixels you want to skip. This is good for slower pcs. If you want the detection to go faster, just have it only take every 5 pixels. IE (5)
So a sample code would be ‘ = PixelSearch( 240, 150, 260, 110, 0x02938, 2, 2 )’
02/27/2008 16:41 Bobs16#9
Quote:
Originally Posted by bigidi View Post
im going to try it now. ill let you know if anything goes wrong to me.
thanks for posting somthing in this forum

the color detection doesn't work if you turn games on. it will just show the same number. i took a Screen shot n took the color of the monster and tried the bot but it still doesn't detect monster by it self
Don't take a Screen shot do it while in the game.
02/27/2008 16:43 Bobs16#10
Quote:
Originally Posted by 123werty View Post
hey can u make a bot that just stand in 1 spot beacuse most of all the mosnter are aggerrseive they come to u and hit u

and this
I have already posted a bot that did exactly this but does not have auto HP go look for Simple bot.

The only thing out of that code you need to know it the 50 , 2) part and all it is saying is search for 50 shades of the pixel stated and search every other pixel.


THIS BOT WILL WORK FOR EU AFTER YOU GET A BYPASS AND CHANGE THE PIXELS STOP BEING DUMB USE COMMON SENSE I ONLY PUT (NA) BECAUSE EU PLAYERS WILL BE LIKE "MY R BOT NOTEY WORKE NUH MURE Y'S?" AND ALL POSTS WILL COMPOSE OF ME CALLING YOU AN IDIOT
02/27/2008 22:48 blash#11
Great tutorial! I need a little help the the mob color. I want to choose the dark yellow (mustard looking) mob name. But after I pick it, there color is all over the place in PL. Any way to have to specifically target the mob not the map?
02/27/2008 23:21 Bobs16#12
You may need to change the shades it is looking for. Assuming you have the correct pixel change 50 , 2) too maybe 10, 2). That should resolve your issue. I believe PL has a lot of color yellow like the beach. So mess around with that try 5, 3 , 15 see if you get better results.
02/27/2008 23:57 blash#13
That seems to have work with changing (50,2) to (10,2). Thanks :)
02/28/2008 00:02 Bobs16#14
Quote:
Originally Posted by blash View Post
That seems to have work with changing (50,2) to (10,2). Thanks :)
Yep no problem don't get confused though I did not give you x,y coordinates like you wrote. it should be (X , Y, X, Y, PIXEL 10 , 2) 10 being the shades and 2 being what pixels to search. Also a simple Thanks button always works.
02/28/2008 00:30 kenv202#15
bob do u know how to go about making the bot attack a mob until the mob dies then switch to next target? i would assume it involve hp coloring of the mob also mix with cmd If...When