Quote:
Originally posted by lostorfound19@May 13 2007, 05:07
ok i have tried this program it works
but... i have been trying for a long time now to figuar out how it finds the pixel color. i am trying to make soem changes but it seems i am jsut a stupid noob and i have to beg for everything i get.
so... what i wanted to chage is:
~add an option to left or right click
~and 3rd color option for gold coins
~increase the speed that it looks and clicks
what i really wanted to do is make a program so that i could move around onmy own and just use the program to click on the monsters, and maybe pick up gold
i will continue to attempt but dont count on me to get anything right LOL after all... i am a noob begger :\
|
take a look at my
[Only registered and activated users can see links. Click Here To Register...], maybe you can learn a bit from it.
Quick reference to pixel search function:
Code:
PixelSearch, coordX, coordY, minX, minY, maxX, maxY, 0x000000, 8, fast
coordX: output variable for the X coord where the pixel was found
coordY: output variable for the Y coord where the pixel was found
minX, minY, maxX, maxY: the area where the program should look for the pixel, between a minimal point (minX,minY) and a maximum point (maxX,maxY)
0x0000BD: the numeration of the color, monster's red hp bar
8: variation of the color, if 0 it will look only the exact color, if is too big it will look for similar colors too
fast: the type of search, fast (files top>bottom)|slow(columns left<right)
you can also add the option
BGR here
Hope it helps, take a look at the picture I just made.