Elite Monk Folianten Bot

07/14/2008 20:08 wadimwadim#91
mit den meisten programmiersprachen.
api befehle...
07/14/2008 21:17 Azunai#92
au3 hat auch _api_postmessage und sendmessage
07/15/2008 12:29 Monam7#93
Kann da wer pls ma ein kleines script posten mit ControlSends und so das ich weis wie das funkt???PLS
07/15/2008 12:47 wadimwadim#94
AutoIt Help?
->index
->controlsend
-> oO
07/15/2008 12:58 blackWorkx#95
echt ma einfach mal die Help file von autoit durchsuchen und lesen... kann doch nicht so schwer sein, wenn das getan hast kannste ja nochmal nachfragen....
07/15/2008 16:39 Monam7#96
Ja thx hab ich gemacht aber ich weis trotzdem noch nicht wo ich jetzt diese Controlsends einfügen soll???ich hab hier zb. ein script und wo müsste ich die commands hier einfügen?



#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_icon=..\..\sonstig\0azu.ico
#AutoIt3Wrapper_outfile=D:\dinge\bots\Thunder_bot\ termalquellen\Blood32.exe
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_UseAnsi=y
#AutoIt3Wrapper_Res_Comment=http://www.epvpers.com
#AutoIt3Wrapper_Res_Description=thermal bot
#AutoIt3Wrapper_Run_AU3Check=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
hotkeyset("{F8}","end")

Opt("MouseCoordMode",2)
opt("SendKeyDelay",200)
sleep(2000)
Mousemove(1023, 767)
WinWait("Guild Wars","")
If Not WinActive("Guild Wars","") Then WinActivate("Guild Wars","")
WinWaitActive("Guild Wars","")
sleep(500)
call("main")

func end()
Exit
EndFunc


func main()
rand()
wayto()
fight()
loot()
travel()
main()
EndFunc

func rand()
Global $t = random(450,550)
Global $c = random(200, 600)
Global $xxx = random(1,17)
Global $a = Random(700, 999)
Global $b = Random(10000, 11000)
Global $g = random(1900,2500)
Global $h = random(4000,5000)

EndFunc


func fight()
Send("8" )
sleep($g)
Send("7" )
sleep($g+1500)
Send("6" )
sleep($g)
Send("5" )
sleep($g+1500)
Send("4" )
sleep($g+600)
Send("1" )
sleep($a)
Send("2" )
sleep($a)
Send("{w down}" )
sleep($a*4)
Send("c" )
sleep($a)
Send("{space}" )
sleep(1000)
Send("1" )
sleep($xxx+60)
Send("2" )
sleep($a*3)
Send("1" )
sleep($xxx+50)
lSend("{space}" )
sleep($a*3)
Send("2" )
sleep($a*3+600)
Send("3" )
sleep($a*2)
Send("1" )
sleep($xxx+112)
Send("3" )
sleep($a*2)
Send("2" )
sleep($h/2)
Send("1" )
sleep($h/2)
Send("2" )
sleep($a)
Send("1" )
sleep($h)
Send("2" )
sleep($h)
Send("1" )
sleep($xxx+132)
EndFunc

func loot()

for $i = 1 to 5
Send("o")
sleep($c)
Send("{space}")
sleep(2000)
Next

EndFunc

func travel()
Local $xy = random(1,4)
sleep($c)
Send("{enter}")
sleep($t)
Send("/resign")
sleep($t)
Send("{enter}")
sleep($g)
MouseClick("left", 509+$xy, 405+$xy)
sleep(8000+$t)

endfunc

func wayto()
opt("SendKeyDelay",20)
Send("o")
Send("{space}")
sleep($b+$a*2)
Send("eeeeeeeeeeeeeeeeeeeeeeeeeeeeeee")
sleep($c -100)
Send("{w down}")
Sleep($b)
Send("{w up}")
sleep($t+8000)
opt("SendKeyDelay",200)
EndFunc
07/15/2008 16:51 wadimwadim#97
Maaaaaaaaaan was hast du für Komplexe... xD
au3 helpfile sagt doch alles

ControlSend ( "title", "text", controlID, "string" [, flag] )

da ist sogar ein bsp dabei...
ControlSend("Untitled", "", "Edit1", "This is a line of text in the notepad window")

func fight()
ControlSend("Guild Wars, "", "", "{8}" )
.
.
.
07/15/2008 16:53 Azunai#98
jungs wie lang braucht euer foli bot für einen run?
07/15/2008 17:14 blackWorkx#99
meiner brauch ~2min (inc. wayout + sleeps vom protal)
07/15/2008 17:30 MasteR GunneR#100
Meiner braucht laut Logfile fast immer ziemlich genau 1:45
07/15/2008 17:51 Azunai#101
ich red von dem hier nicht vom XMBB
07/15/2008 19:26 Monam7#102
sry aber ich bin ein noob im programmieren ich kapier zwar das mit den

func fight()
ControlSend("Guild Wars, "", "", "{8}" )
.
.
.

aber das mit dem

ControlSend ( "title", "text", controlID, "string" [, flag] )

da ist sogar ein bsp dabei...
ControlSend("Untitled", "", "Edit1", "This is a line of text in the notepad window")

Versteh ich überhaupt ned wo soll ich das denn einfügen?mei mir gibts nirgends i was
wo steht "This is a line of text in the Notepad Window" oder so ;(
07/15/2008 19:48 wadimwadim#103
ehm... nun geht es eindeutig zu weit hier. ausserdem gehört das gar nicht mehr zum thema hier.
Monam7
Quote:
sry aber ich bin ein noob im programmieren ich kapier zwar das mit den
Lerne erst die grundsachen, dann kannst du das auch selber verstehen.
Tja mit Copy & Paste wirds wohl nix... versuch es doch wenigstens zu begreifen, was ich da hingeschrieben habe... nicht einfach den ganzen text kopieren... das ist lächerlich
07/15/2008 20:09 blackWorkx#104
wahre worte wadim.. :D
07/15/2008 20:41 i4mSoH34Vy#105
Quote:
Originally Posted by Monam7 View Post
sry aber ich bin ein noob im programmieren ich kapier zwar das mit den

func fight()
ControlSend("Guild Wars, "", "", "{8}" )
.
.
.

aber das mit dem

ControlSend ( "title", "text", controlID, "string" [, flag] )

da ist sogar ein bsp dabei...
ControlSend("Untitled", "", "Edit1", "This is a line of text in the notepad window")
;(
Also ich würde mir hier ein bot suchen dann ein paar teile raus suchen und dann gibt es ein schönes help file bei autoit. da drin dann mal nach den bedeutung, bsp. ect. suchen