wenn er java kann, dann ist autoit nen klacks... ^^
ich sage nur zuweisung und vergleich. ^^
hier nen einfaches script was nur tasten drückt... ingame sieht das so aus, das er insult texte ,die ich ingame auf tasten gelegt hat, spammt..
----------------------------------------
#include <GUIConstants.au3>
#include <GUIListBox.au3>
#include <Misc.au3>
#include <Array.au3>
$Form1_1 = GUICreate("Landa-Bot", 500, 380, 278, 199)
GUISetIcon("C:\136.ico")
$Start = GUICtrlCreateButton("Start", 190, 140, 91, 25, 0)
GUICtrlSetFont(-1, 12, 400, 0, "Verdana")
GUICtrlSetColor(-1, 0x000000)
$PHP = PixelSearch(9,49,207,49,0x000000,32)
GUISetState(@SW_SHOW)
Global $Paused
hotkeyset("^!x", "MeinExit")
HotKeySet("{PAUSE}", "TogglePause")
Func Load()
EndFunc
Func Start()
Do
While 1
$wait = 4000
WinActivate("Unreal Tournament 2004")
ControlSend("Unreal Tournament 2004", "", "", "i")
Sleep($wait)
ControlSend("Unreal Tournament 2004", "", "", "m")
Sleep($wait)
ControlSend("Unreal Tournament 2004", "", "", "o}")
Sleep($wait)
ControlSend("Unreal Tournament 2004", "", "", "m")
Sleep($wait)
ControlSend("Unreal Tournament 2004", "", "", "j")
Sleep($wait)
ControlSend("Unreal Tournament 2004", "", "", "m")
Sleep($wait)
ControlSend("Unreal Tournament 2004", "", "", "k")
Sleep($wait)
ControlSend("Unreal Tournament 2004", "", "", "m")
Sleep($wait)
ControlSend("Unreal Tournament 2004", "", "", "l")
Sleep($wait)
ControlSend("Unreal Tournament 2004", "", "", "m")
Sleep($wait)
ControlSend("Unreal Tournament 2004", "", "", "n")
Sleep($wait)
ControlSend("Unreal Tournament 2004", "", "", "m")
Sleep($wait)
wend
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
----------------------------------------------
hier etwas schwierigeres mit nen paar pixelabfragen und schleifen
------------------------------------
;THX to JT and VYn....
;Visit:
#include <GUIConstants.au3>
#include <GUIListBox.au3>
#include <Misc.au3>
#include <Array.au3>
$Form1_1 = GUICreate("rakhart", 500, 380, 578, 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 = 13212017
$green = 12048784
$black = 2298381
$white = 13882837
$wait = 500
$wait2 =2000
$i = 0
Func Start()
Do
WinMove("Rappelz", "", 0, 0)
WinActivate("Rappelz");
Sleep($wait)
ToolTip("Huh")
$HPPfull = PixelGetColor( 111 , 77 )
$HpEnemy = PixelGetColor( 493 , 52 )
$Enemy = PixelGetColor( 500 , 34 )
IF $HPPfull = $green Then ;Health Full
ToolTip("HP full")
Sleep($wait)
If $Enemy = $white THen
Sleep($wait)
IF $HpEnemy = $red THen
Sleep($wait)
ToolTip("Respekt mah fucking authorithaaa!!")
Sleep($wait)
ControlSend("Rappelz", "", "", "{Enter}")
Sleep($wait)
ControlSend("Rappelz", "", "", "DIE...TIME TO DIE")
sleep(1000)
ControlSend("Rappelz", "", "", "{Enter}")
Sleep($wait)
ControlSend("Rappelz", "", "", "{F1}") ;ATTACK
Sleep($wait2)
ControlSend("Rappelz", "", "", "{F2}")
Sleep($wait2)
ControlSend("Rappelz", "", "", "{F3}")
Sleep($wait2)
ControlSend("Rappelz", "", "", "{F4}")
Sleep($wait2)
ControlSend("Rappelz", "", "", "{F5}")
Sleep($wait2)
ControlSend("Rappelz", "", "", "{F6}")
Sleep($wait2)
$HPPfull = PixelGetColor( 111 , 77 )
$HpEnemy = PixelGetColor( 687 , 52 )
Else
ControlSend("Rappelz", "", "", "{Enter}")
Sleep($wait)
ControlSend("Rappelz", "", "", "gimme gimme gimme")
sleep(1000)
ControlSend("Rappelz", "", "", "{Enter}")
Sleep($wait)
ControlSend("Rappelz", "", "", "{F11}") ;AUFHEBEN
Sleep($wait)
$HPPfull = PixelGetColor( 111 , 77 )
Sleep($wait)
$HpEnemy = PixelGetColor( 687 , 52 )
Sleep($wait)
$Enemy = PixelGetColor( 500 , 34 )
Sleep($wait)
EndIf
Else
ToolTip("SearcH")
Sleep($wait)
ControlSend("Rappelz", "", "", "{Enter}")
Sleep($wait)
ControlSend("Rappelz", "", "", "search...")
sleep(1000)
ControlSend("Rappelz", "", "", "{Enter}")
Sleep($wait)
WinActivate("rakhart")
Sleep($wait)
MouseMove(500, 500, 3)
Sleep($wait)
MouseDown("right")
MouseMove(814, 500, 3)
Sleep($wait)
WinActivate("rakhart")
MouseUp("right")
Sleep($wait)
WinActivate("Rappelz")
Sleep($wait)
ControlSend("Rappelz","","","{Tab}") ;SUCHEN
Sleep(1000)
$HPPfull = PixelGetColor( 111 , 77 )
Sleep($wait)
$HpEnemy = PixelGetColor( 687 , 52 )
Sleep($wait)
$Enemy = PixelGetColor( 500 , 34 )
Sleep($wait)
EndIf
ELSE
ToolTip("Oh MY GODS! I GONNA DIE !!")
Sleep($wait)
ControlSend("Rappelz", "", "", "{Enter}")
Sleep($wait)
ControlSend("Rappelz", "", "", "HELP...")
sleep(1000)
ControlSend("Rappelz", "", "", "{Enter}")
Sleep($wait)
ControlSend("Rappelz", "", "", "{F12}") ;Hinsetzen
Sleep(20000)
$HPPfull = PixelGetColor( 111 , 77 )
Sleep($wait)
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
--------------------------
sorry...aba diese code /code sache geht nicht..es frisst meinen code..