Quote:
Originally Posted by jaws908
Whenever I try to start ImageSearch.au3 it pops up for about half a second then disappears. I try compiling it and it ends up in the same result. I have not altered the file in any way, this exact file has worked in the past [in fact, earlier today]. I have the ImageSearchDLL.dll in the same folder, everything is in order. I can't figure out what would be stopping it, any ideas? lol
|
Like Kotarou said, ImageSearch.au3 only provides an API that allows for the detection of images on the screen. Although it is possible to build a bot inside of ImageSearch.au3 this is not correct usage, create a new .au3 file and add the following:
Code:
#include <ImageSearch.au3>
Global $Paused
HotKeySet("{Pause}", "TogglePause")
HotKeySet("{ESC}", "Terminate")
While 1
Send ("{CTRLDOWN}")
Sleep (500)
MouseClick ("left")
Sleep (500)
MouseClick ("left")
Sleep (500)
MouseClick ("left")
Sleep (500)
Send ("{CTRLUP}")
Sleep (5500)
Send("{LALT down}")
$x1=0
$y1=0
$result = _ImageSearch("Gold.jpg",1,$x1,$y1,97)
if $result=1 Then
MouseMove($x1,$y1,3)
MouseClick("left")
Sleep(3000)
EndIf
$x2=0
$y2=0
$result2 = _ImageSearch("FomorScroll.jpg",1,$x2,$y2,97)
if $result2=1 Then
MouseMove($x2,$y2,3)
MouseClick("left")
Sleep(1500)
EndIf
WEnd
Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('Script is "Paused"',0,0)
WEnd
ToolTip("")
EndFunc
Func Terminate()
Exit 0
EndFunc
The above was my first bot, I could not post any other source since my new bots are Under-Ground.
Speaking of bot Source:
Quote:
|
Originally Posted by Dark - Sora
My software (including underground) may be posted on elitepvpers.com, I do not care and legal action will not take place. The Terms of Service has been since modified to allow ElitePvPers staff the right to sell and view the source code for all of my software as well.
|