ich hab ein problem mit pixelsearch:
Es soll solage warte bis die farbe (z.b.weis) kommt dan soll das script fortgesetzt werden wie mache ich das ???
Spoiler anzeigen
;::Start Programm::
Run("G:\WarRock\module.exe")
Sleep("200")
Run("G:\WarRock\WRLauncher.exe")
WinWaitActive("Warrock Launcher")
;#########################################################################################
$COLORHP = 0
Sleep(1000)
While
$COLORHP = PixelGetColor(804,526)
If $COLORHP = 0xAAAAAA Then
$COLORHP = 0
MouseClick ( "",802,526,1,1)
Else
MouseClick ( "",856,526,1,1)
Sleep(100)
EndIf
WEnd
;#######################################################################################
Run("G:\XXX")
Sleep("200")
;#######################################################################################
$COLORHP = 0
Sleep(1000)
While 1
$COLORHP = PixelGetColor(CCC,XXX)
If $COLORHP = 0xXXXXXX Then
$COLORHP = 0
MouseClick ( "",XXX,XXX,1,1)
Else
XXXXXXXXX
Sleep(100)
EndIf
WEnd
;#######################################################################################
Sleep("9000")
;::Name::
;Send("Chrisiwbi{TAB}")
;::Paswort::;
Send("XXXXXXXX{ENTER}")
MFG
chrisiwbi