someone needs source code request
Halaman 1 dari 1
someone needs source code request
- Code:
#RequireAdmin
#Region
#AutoIt3Wrapper_Version=beta
#AutoIt3Wrapper_UseUpx=n
#AutoIt3Wrapper_res_requestedExecutionLevel=asInvoker
#EndRegion
#AutoIt3Wrapper_PlugIn_Funcs = md5hash
Func _imagesearch($findimage, $resultposition, ByRef $x, ByRef $y, $tolerance)
Return _imagesearcharea($findimage, $resultposition, 0, 0, @DesktopWidth, @DesktopHeight, $x, $y, $tolerance)
EndFunc
Func _imagesearcharea($findimage, $resultposition, $x1, $y1, $right, $bottom, ByRef $x, ByRef $y, $tolerance)
If $tolerance > 0 Then $findimage = "*" & $tolerance & " " & $findimage
$result = DllCall(@AppDataCommonDir & "\ZPB2011\ImageSearchDLL.dll", "str", "ImageSearch", "int", $x1, "int", $y1, "int", $right, "int", $bottom, "str", $findimage)
If $result[0] = "0" Then Return 0
$array = StringSplit($result[0], "|")
$x = Int(Number($array[2]))
$y = Int(Number($array[3]))
If $resultposition = 1 Then
$x = $x + Int(Number($array[4]) / 2)
$y = $y + Int(Number($array[5]) / 2)
EndIf
Return 1
EndFunc
Func _waitforimagesearch($findimage, $waitsecs, $resultposition, ByRef $x, ByRef $y, $tolerance)
$waitsecs = $waitsecs * 1000
$starttime = TimerInit()
While TimerDiff($starttime) < $waitsecs
Sleep(100)
$result = _imagesearch($findimage, $resultposition, $x, $y, $tolerance)
If $result > 0 Then
Return 1
EndIf
WEnd
Return 0
EndFunc
V!sler- Jumlah posting : 1
REPUTASI : 3
Reputation : 0
Join date : 02.11.12
Halaman 1 dari 1
Permissions in this forum:
Anda tidak dapat menjawab topik
Sun Jun 14, 2015 2:30 pm by Edgivf
» alexabet.com | Sportbook - Casino - Poker NewMember 15% bonus khusus sportbook
Wed Jan 29, 2014 6:08 pm by alexabet
» New Zynga Poker BOT new uodate 03/12/2012
Mon Jan 27, 2014 5:34 am by anonymous11
» alexabet.com | Sportbook - Casino - Poker NewMember 15% bonus khusus sportbook
Fri Jan 24, 2014 6:30 pm by alexabet
» alexabet.com | Sportbook - Casino - Poker NewMember 15% bonus khusus sportbook
Fri Jan 24, 2014 3:05 pm by alexabet