great tutorial! Is there anyway to make AutoIt (or any other software) to search image while the game is not maximized? So I can do everything from the background.
Quote:
I have no idea on how to do scripting but can anyone post up how to attack grey wolves? O.o
Ex:Click on grey wolf, take gold, attack the next wolf.
Func _ctrlTarget($x1,$y1)
local $mouseorigin = MouseGetPos()
Sleep(20)
MouseMove($x1,$y1,1)
Send("{CTRLDOWN}")
Sleep(20)
MouseMove($mouseorigin[0],$mouseorigin[1],1)
Sleep(20)
MouseClick("left",$mouseorigin[0],$mouseorigin[1],2)
Sleep(20)
Send("{CTRLUP}")
Sleep(200)
EndFunc
So I just need to post this on Autoit and I can start? No image of gold or anything?Quote:
Where x1,y1 are passed in x,y variables from imagesearch.Code:Func _ctrlTarget($x1,$y1) local $mouseorigin = MouseGetPos() Sleep(20) MouseMove($x1,$y1,1) Send("{CTRLDOWN}") Sleep(20) MouseMove($mouseorigin[0],$mouseorigin[1],1) Sleep(20) MouseClick("left",$mouseorigin[0],$mouseorigin[1],2) Sleep(20) Send("{CTRLUP}") Sleep(200) EndFunc
:/ Im new to scripting like louisdesnow... I dont even know how to run the script o.oQuote:
So I just need to post this on Autoit and I can start? No image of gold or anything?