AutoIT

09/27/2008 20:30 zelocos#1
Any1 got any idea how to set for pixelsearch.... like something of this line

example $coord = PixelSearch (0, 0, 1000, 700, 0x7D0304, 1)

How do i know the top,left,right,bottom is what number and the color code... anyway to do it???

i wan to make a resummon pet for summoner.. i know how to play witht he script just dont know how to find the Number for the specific resolution
09/28/2008 06:32 mithandir1#2
I will give you a big head start here is the source I used for my Auto-Summon bot. This is one of my early script and it is pretty basic. The best way to find coords is with the Autoit Window Info tool that comes with Autoit. Do not use the in game screenshots to determine color these are compressed into jpg which caused color changes. Use a screenshot utility that offers screenshots in a lossless format(I use x-shot in tga format). Use Autoit Info Tool on the screen shot to determine the color. Use infranview to determine the coord in the SS. Simply click a spot and it will tell you the coords in the title bar.

This script was written for 1024x768 monitor resolution running the game in 1024x768 windowed mode. It no longer works as is. I believe all that needs to be changed to get it up and running is to change the color. This was made before I learned to use x-shot so the color was taken from a SS. Hope this helps you out! :D

Code:
while 1 = 1	
		sleep(500)
		PixelSearch ( 835, 672, 846, 679, 12390424, 9)
		If @error Then 
				ControlSend("2Moons","","","{9}")
		EndIF
wend
09/28/2008 12:20 Hagman94#3
+#3 reported at 28.09.2008 12:20 gmt+2 cause advertisement

Please do not advetisement here!

Thanks :)
09/28/2008 16:28 kikichan#4
+Infraction for posting ads
+Deleted post