dieseer BOt farmt die Bison marken in Gunnars feste für die man sich zum beispiel eine Krone kaufen kann.Neben bei maxt er für 90p auch noch den Norntitel.Das prob an der sache ist das man trotz vieler vorsichts maßnahmen gegen eles bei Cynn immer stirbt da sie ihren flächen dmg ~3 mal catet sodass auch das von mir programmierte wegrennen und geisterherporten nichts nützt.Da ich das gemerkt habe ist diese Bot nich ganz ausgereift=heißt:ihr müsst von selber beim starten des Bots rein gehen in die missi und dann erst den Bot starten wenn ihr drinnen Seid.Ich werde vllt einen Todes check eionbauen da nach jetzigem stand der Bot so zu sagen abstürzt man aber weiter rumläuft.Aus diesen gründen haben ich den source code bei gefügt.Viel spaß:
Gunnars Feste Bot
Hi, ich möchte euch hier meinen ersten Bot zeigen. Er ist noch sehr einfach, aber ich lerne ja.
Der Bot funktioniert in der Auflösung 1920x1080
Source
PHP Code:
#include <ButtonConstants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Bot V. 1.0", 572, 235, 192, 124)
$Group1 = GUICtrlCreateGroup("HotKeys", 328, 56, 233, 129)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$Label1 = GUICtrlCreateLabel("Bot pausieren", 344, 152, 82, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Label2 = GUICtrlCreateLabel("Guild Wars zeigen", 344, 104, 107, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Label3 = GUICtrlCreateLabel("Guild Wars verstecken", 344, 80, 133, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Label4 = GUICtrlCreateLabel("Num_Minus", 480, 80, 74, 20)
$Label5 = GUICtrlCreateLabel("Escape", 480, 128, 51, 20)
$Label6 = GUICtrlCreateLabel("Num_Minus", 480, 104, 74, 20)
$Label8 = GUICtrlCreateLabel("Bot Beenden", 344, 128, 77, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Label9 = GUICtrlCreateLabel("Pause", 480, 152, 43, 20)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Label7 = GUICtrlCreateLabel("Gunnars Bot ", 8, 8, 154, 33)
GUICtrlSetFont(-1, 18, 800, 0, "MS Sans Serif")
$Group2 = GUICtrlCreateGroup("Optionen", 8, 56, 305, 129)
GUICtrlSetFont(-1, 10, 400, 0, "MS Sans Serif")
$Label10 = GUICtrlCreateLabel("Anzahl der Runden", 24, 88, 112, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Input1 = GUICtrlCreateInput("20", 152, 80, 81, 24)
$Label11 = GUICtrlCreateLabel("Verschleiern", 24, 112, 74, 17)
GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif")
$Radio1 = GUICtrlCreateRadio("Ja", 152, 112, 33, 17)
GUICtrlSetState(-1, $GUI_CHECKED)
$Radio2 = GUICtrlCreateRadio("Nein", 152, 136, 41, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$Button1 = GUICtrlCreateButton("Bot starten", 8, 192, 307, 33, $WS_GROUP)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
$Button2 = GUICtrlCreateButton("Bot Beenden", 328, 192, 235, 33, $WS_GROUP)
GUICtrlSetFont(-1, 10, 800, 0, "MS Sans Serif")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Button2
Exit
Case $Button1
Start()
EndSwitch
WEnd
;===========================================================================
#cs
HotKeys definieren ;)
#ce
HotKeySet("{ESC}", "Close")
HotKeySet ("{Pause}", "TogglePause")
HotKeySet("{NUMPADSUB}", "HIDE")
HotKeySet("{NUMPADADD}", "Show")
;===========================================================================
#cs
Variabeln dekladieren
#ce
$Anzahl = GUICtrlRead($Input1)
$yes = GuiCtrlRead($Radio1)
$no = GUICtrlRead ($radio2)
$Titel = "Guild Wars"
;===========================================================================
#cs
"normale" Funktionen
#ce
Func Close()
Exit 1
EndFunc
Func Hide()
WinSetState($Titel, "", @SW_HIDE)
EndFunc
Func Show()
WinSetState($Titel, "", @SW_SHOW)
EndFunc
Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('Script is "Paused"',0,0)
WEnd
EndFunc
;===========================================================================
Func Start()
if not WinActive ("Guild Wars") Then
WinActivate ("Guild Wars")
EndIf
WinWaitActive ("Guild Wars")
For $i = 1 To $Anzahl
Sleep(random(7000, 9000))
ControlSend ("Guild Wars","",0,"{D Down}")
Sleep(101)
ControlSend ("Guild Wars","",0,"{D Up}")
ControlSend ("Guild Wars","",0,"{W Down}")
Sleep(4100)
ControlSend ("Guild Wars","",0,"{W Up}")
ControlSend ("Guild Wars","",0,"7")
Sleep(2000)
ControlSend ("Guild Wars","",0,"3")
Sleep(4000)
ControlSend ("Guild Wars","",0,"{W Down}")
Sleep(3000)
ControlSend ("Guild Wars","",0,"{W Up}")
ControlSend ("Guild Wars","",0,"8")
Sleep(2000)
ControlSend ("Guild Wars","",0,"4")
Sleep(2000)
ControlSend ("Guild Wars","",0,"5")
Sleep(2000)
ControlSend ("Guild Wars","",0,"6")
Sleep(2000)
ControlSend ("Guild Wars","",0,"2")
Sleep(2000)
ControlSend ("Guild Wars","",0,"1")
Sleep(35900)
ControlSend ("Guild Wars","",0,"{D Down}")
Sleep(101)
ControlSend ("Guild Wars","",0,"{D Up}")
ControlSend ("Guild Wars","",0,"{W Down}")
Sleep(4100)
ControlSend ("Guild Wars","",0,"{W Up}")
ControlSend ("Guild Wars","",0,"7")
Sleep(2000)
ControlSend ("Guild Wars","",0,"3")
Sleep(4000)
ControlSend ("Guild Wars","",0,"{W Down}")
Sleep(3000)
ControlSend ("Guild Wars","",0,"{W Up}")
ControlSend ("Guild Wars","",0,"8")
Sleep(2000)
ControlSend ("Guild Wars","",0,"4")
Sleep(2000)
ControlSend ("Guild Wars","",0,"5")
Sleep(2000)
ControlSend ("Guild Wars","",0,"6")
Sleep(2000)
ControlSend ("Guild Wars","",0,"2")
Sleep(2000)
ControlSend ("Guild Wars","",0,"1")
Sleep(35900)
ControlSend ("Guild Wars","",0,"{D Down}")
Sleep(101)
ControlSend ("Guild Wars","",0,"{D Up}")
ControlSend ("Guild Wars","",0,"{W Down}")
Sleep(4100)
ControlSend ("Guild Wars","",0,"{W Up}")
ControlSend ("Guild Wars","",0,"7")
Sleep(2000)
ControlSend ("Guild Wars","",0,"3")
Sleep(4000)
ControlSend ("Guild Wars","",0,"{W Down}")
Sleep(3000)
ControlSend ("Guild Wars","",0,"{W Up}")
ControlSend ("Guild Wars","",0,"8")
Sleep(2000)
ControlSend ("Guild Wars","",0,"4")
Sleep(2000)
ControlSend ("Guild Wars","",0,"5")
Sleep(2000)
ControlSend ("Guild Wars","",0,"6")
Sleep(2000)
ControlSend ("Guild Wars","",0,"2")
Sleep(2000)
ControlSend ("Guild Wars","",0,"1")
Sleep(35900)
ControlSend ("Guild Wars","",0,"{D Down}")
Sleep(101)
ControlSend ("Guild Wars","",0,"{D Up}")
ControlSend ("Guild Wars","",0,"{W Down}")
Sleep(4100)
ControlSend ("Guild Wars","",0,"{W Up}")
ControlSend ("Guild Wars","",0,"7")
Sleep(2000)
ControlSend ("Guild Wars","",0,"3")
Sleep(4000)
ControlSend ("Guild Wars","",0,"{W Down}")
Sleep(3000)
ControlSend ("Guild Wars","",0,"{W Up}")
ControlSend ("Guild Wars","",0,"8")
Sleep(2000)
ControlSend ("Guild Wars","",0,"4")
Sleep(2000)
ControlSend ("Guild Wars","",0,"5")
Sleep(2000)
ControlSend ("Guild Wars","",0,"6")
Sleep(2000)
ControlSend ("Guild Wars","",0,"2")
Sleep(2000)
ControlSend ("Guild Wars","",0,"1")
Sleep(35900)
ControlSend ("Guild Wars","",0,"{D Down}")
Sleep(101)
ControlSend ("Guild Wars","",0,"{D Up}")
ControlSend ("Guild Wars","",0,"{W Down}")
Sleep(4100)
ControlSend ("Guild Wars","",0,"{W Up}")
ControlSend ("Guild Wars","",0,"7")
Sleep(2000)
ControlSend ("Guild Wars","",0,"3")
Sleep(4000)
ControlSend ("Guild Wars","",0,"{W Down}")
Sleep(3000)
ControlSend ("Guild Wars","",0,"{W Up}")
ControlSend ("Guild Wars","",0,"8")
Sleep(2000)
ControlSend ("Guild Wars","",0,"4")
Sleep(2000)
ControlSend ("Guild Wars","",0,"5")
Sleep(2000)
ControlSend ("Guild Wars","",0,"6")
Sleep(2000)
ControlSend ("Guild Wars","",0,"2")
Sleep(2000)
ControlSend ("Guild Wars","",0,"1")
Sleep(35900)
ControlSend ("Guild Wars","",0,"{D Down}")
Sleep(101)
ControlSend ("Guild Wars","",0,"{D Up}")
ControlSend ("Guild Wars","",0,"{W Down}")
Sleep(4100)
ControlSend ("Guild Wars","",0,"{W Up}")
ControlSend ("Guild Wars","",0,"7")
Sleep(2000)
ControlSend ("Guild Wars","",0,"3")
Sleep(4000)
ControlSend ("Guild Wars","",0,"{W Down}")
Sleep(3000)
ControlSend ("Guild Wars","",0,"{W Up}")
ControlSend ("Guild Wars","",0,"8")
Sleep(2000)
ControlSend ("Guild Wars","",0,"4")
Sleep(2000)
ControlSend ("Guild Wars","",0,"5")
Sleep(2000)
ControlSend ("Guild Wars","",0,"6")
Sleep(2000)
ControlSend ("Guild Wars","",0,"2")
Sleep(2000)
ControlSend ("Guild Wars","",0,"1")
Sleep(35900)
ControlSend ("Guild Wars","",0,"{A Down}")
Sleep(400)
ControlSend ("Guild Wars","",0,"{A Up}")
ControlSend ("Guild Wars","",0,"{W Down}")
Sleep(1300)
ControlSend ("Guild Wars","",0,"{W Up}")
ControlSend ("Guild Wars","",0,"{Tab}")
Sleep(1000)
ControlSend ("Guild Wars","",0,"{Space}")
Sleep(1000)
ControlSend ("Guild Wars","",0,"R")
ControlClick ("Guild Wars", "", 0, "Left", "1", 578, 630)
Sleep(1000)
ControlSend ("Guild Wars","",0,"{Tab}")
Sleep(1000)
ControlSend ("Guild Wars","",0,"{Space}")
ControlClick ("Guild Wars", "", 0, "Left", "1", 542, 535)
Sleep(1000)
ControlClick ("Guild Wars", "", 0, "Left", "1", 527, 628)
Sleep(1000)
ControlSend ("Guild Wars","",0,"X")
Sleep(600)
ControlSend ("Guild Wars","",0,"{A Down}")
Sleep(500)
ControlSend ("Guild Wars","",0,"{A Up}")
ControlSend ("Guild Wars","",0,"{W Down}")
Sleep(1000)
ControlSend ("Guild Wars","",0,"{W Up}")
ControlSend ("Guild Wars","",0,"{Tab}")
Sleep(1000)
ControlSend ("Guild Wars","",0,"{Space}")
Sleep(1000)
ControlSend ("Guild Wars","",0,"R")
ControlClick ("Guild Wars", "", 0, "Left", "1", 550, 598)
Sleep(1000)
ControlClick ("Guild Wars", "", 0, "Left", "1", 569, 564)
Next
EndFunc
Über Feedback würde ich mich sehr freuen. Bitte bewertet aber nicht so hart
mfg Cry Zor






