ohh...der feine herr.... ^^
rappelz mit ner auflösung von 1024 laufen lassen..und EXACT in die linke obere ecke verschieben..
Hoffe ich habe dein screenshot richtig interpretiert.....tasten und so.
------------------------------------------------
;THX to JT and VYn....
;Visit:
#include <GUIConstants.au3>
#include <GUIListBox.au3>
#include <Misc.au3>
#include <Array.au3>
$Form1_1 = GUICreate("cornholio_v3", 500, 380, 278, 199)
GUISetIcon("C:\136.ico")
$Start = GUICtrlCreateButton("Start", 190, 140, 91, 25, 0)
$gui = GUICtrlCreatePic ( "ut2004.JPG", 0, 0,500 ,380 )
GUISetState(@SW_SHOW)
Global $Paused
hotkeyset("^!x", "MeinExit")
HotKeySet("{PAUSE}", "TogglePause")
Func Load()
EndFunc
$red = 13938833
$green = 11324296
$black = 2298381
$white = 14146009
$wait = 500
$wait2 =2000
$i = 0
Func Start()
Do
WinActivate("Rappelz");
Sleep($wait)
$HPPfull = PixelGetColor( 81 , 78 )
$HpEnemy = PixelGetColor( 491 , 51 )
$i = 0
$Enemy = PixelGetColor( 673,37 )
IF $HPPfull = $green Then ;Health Full
ToolTip("HP full")
sleep(200)
If $Enemy = $white THen
IF $HpEnemy = $red THen
ToolTip("Respekt mah fucking authorithaaa!!")
Sleep($wait)
ControlSend("Rappelz", "", "", "{Enter}")
sleep(200)
ControlSend("Rappelz", "", "", "DIE !TIME TO DIE")
sleep(1000)
ControlSend("Rappelz", "", "", "{Enter}")
sleep(200)
ControlSend("Rappelz", "", "", "{F9}") ;ATTACK
Sleep($wait)
ControlSend("Rappelz", "", "", "{F1}")
Sleep($wait)
ControlSend("Rappelz", "", "", "{F3}")
Sleep($wait2)
ControlSend("Rappelz", "", "", "{F4}")
Sleep($wait)
ControlSend("Rappelz", "", "", "{F5}")
Sleep($wait)
ControlSend("Rappelz", "", "", "{F6}")
Sleep($wait2)
$HpEnemy = PixelGetColor( 491 , 51 )
$HPPfull = PixelGetColor( 138 , 78 )
Else
ToolTip("my treasure....")
Sleep($wait)
ControlSend("Rappelz", "", "", "{Enter}")
sleep(200)
ControlSend("Rappelz", "", "", "my treasure....")
sleep(1000)
ControlSend("Rappelz", "", "", "{Enter}")
sleep(200)
ControlSend("Rappelz", "", "", "{F2}") ;AUFHEBEN
Sleep($wait)
$i = $i+1
$HpEnemy = PixelGetColor( 491 , 51 )
Sleep($wait)
$Enemy = PixelGetColor( 650,34 )
Sleep($wait)
$HPPfull = PixelGetColor( 138 , 78 )
If $i = 5 Then
ToolTip("Buff...")
sleep(200)
ControlSend("Rappelz", "", "", "{Enter}")
sleep(200)
ControlSend("Rappelz", "", "", "I've got the Power!")
sleep(1000)
ControlSend("Rappelz", "", "", "{Enter}")
sleep(200)
ControlSend("Rappelz", "", "", "{F10}") ; Buffe nach jedem 5. Monster
Sleep($wait2)
ControlSend("Rappelz", "", "", "{F11}")
Sleep($wait2)
ControlSend("Rappelz", "", "", "{F12}")
Sleep($wait2)
EndIf
EndIf
Else
ToolTip("SearcH")
Sleep($wait)
ControlSend("Rappelz", "", "", "{Enter}")
sleep(200)
ControlSend("Rappelz", "", "", "search..")
sleep(1000)
ControlSend("Rappelz", "", "", "{Enter}")
sleep(200)
WinActivate("cornholio_v3")
Sleep($wait)
MouseMove(500, 500, 3)
Sleep($wait)
MouseDown("right")
MouseMove(814, 500, 3)
Sleep($wait)
WinActivate("cornholio_v3")
MouseUp("right")
Sleep($wait)
WinActivate("Rappelz")
Sleep($wait)
ControlSend("Rappelz","","","{Tab}") ;SUCHEN
Sleep(1000)
$HpEnemy = PixelGetColor( 491 , 51 )
Sleep($wait)
$Enemy = PixelGetColor( 650,34 )
Sleep($wait)
EndIf
ELSE
ToolTip("Oh MY GODS! I GONNA DIE !!")
sleep(200)
ControlSend("Rappelz", "", "", "{Enter}")
sleep(200)
ControlSend("Rappelz", "", "", "HELP !")
sleep(1000)
ControlSend("Rappelz", "", "", "{Enter}")
sleep(200)
ControlSend("Rappelz", "", "", "{F8}") ;Hinsetzen
Sleep(20000)
$HPPfull = PixelGetColor( 138 , 78 )
EndIf
Until _IsPressed("7A")
EndFunc
Load()
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $Start
Start()
EndSwitch
WEnd
Func MeinExit()
Exit
Endfunc
Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(100)
WEnd
EndFunc
----------------------------------------------
DOWNLOAD: