Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 19:10

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Brauche mal schnell eure hilfe bitte :/

Discussion on Brauche mal schnell eure hilfe bitte :/ within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2010
Posts: 32
Received Thanks: 1
Brauche mal schnell eure hilfe bitte :/

hi@all ich habe einen script gemact ...

aber iwie wartet der nicht die wartezeit ab (also der bot get einfach weiter)

hier mein kompletter script ...


wäre sehr nett wenn ihr mir helöfen würdet

Code:
MsgBox ("","", "F9 startet den bot F10 ENDE !")

GuiCreate("Angelbot",260,29,639,274)
$button1=GuiCtrlCreateButton("Start",4,6,75,21)
$input1=GuiCtrlCreateInput("Angelzeit",95,5,157,20)


GuiSetState()

While 1
$msg=GuiGetMsg()
If $msg=-3 Then Exit
If $msg=$button1 Then button1()
Wend




Func button1()

	WinActivate ("Metin2 Fantasy v.1.0.5.2 - The Future Client Reloadet","")
	WinWaitActive ("Metin2 Fantasy v.1.0.5.2 - The Future Client Reloadet","","")
			Send ("{F3 down}")
		Sleep (500)
		Send ("{F3 up}")
		Sleep (500)
		Send ("{F4 down}")
		Sleep (500)
		Send ("{F4 up}")
		While 1
$PixelSearch = PixelSearch ( 710, 307, 893, 26, 0xF9F5F8, 0 )
If Not @error Then



	Sleep ($input1);<===============hier wartet der nicht das input ab
		



Send ("{F4 down}")
		Sleep (500)
		Send ("{F4 up}")
		Send ("{F3 down}")
		Sleep (500)
		Send ("{F3 up}")
		Sleep (500)
	EndIf
	WEnd


EndFunc
x_gamer_x3 is offline  
Old 06/30/2010, 14:15   #2
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
müsste glaubei ch soaussehen (wenn ich mich nciht irre)

Sleep(GUICtrlRead($Input1))
omer36 is offline  
Old 06/30/2010, 14:57   #3
 
PenGuin :O's Avatar
 
elite*gold: 2
Join Date: Mar 2008
Posts: 1,778
Received Thanks: 1,222
@omer36:

Stimmt, du irrst dich nicht.

@TE:
Ein Sleep macht der zwar, jedoch nur so lange wie das Handle des Inputs ist!
PenGuin :O is offline  
Old 06/30/2010, 15:09   #4
 
omer36's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,317
Received Thanks: 1,255
und in milisec. nicht vergessen...
ist ja wie normal Sleep(1000) = 1sec.
also in die inputbox auch in ms schreiben...
omer36 is offline  
Old 06/30/2010, 16:07   #5
 
elite*gold: 0
Join Date: Mar 2010
Posts: 32
Received Thanks: 1
boaa danke !!! ja millisecunden klar xDD ^^
x_gamer_x3 is offline  
Reply


Similar Threads Similar Threads
Server Problem bitte helft Leute bitte brauche eure hilfe sauu dringen
07/18/2011 - Metin2 Private Server - 20 Replies
Hi leute wenn man seinen server ya on bringt (ned das erste mal das ich ihn on bring) dann kommt am ende ya immer das operation timed out 7 mal aber jez steht da Operation reciefet 1000 mal der server startet so einfach ned was kann ich da maachen
brauche schnell eure hilfe p server
08/10/2010 - Metin2 Private Server - 10 Replies
hallo es geht darum das ich mir einen pc sever machen will :P hänge aber gerade am virtuellen pc und komme nicht weiter schaut: http://s10.directupload.net/images/100810/3m9a9v4 f.jpg
brauche hilfe schnell bitte
06/22/2010 - Off Topic - 7 Replies
wie rechnet man das aus ich gebe grade nachhilfe und weis nich wie ich das ausrechne :D Eine Textilfabrik benötigt von einem Stoff, der 90cm breit ist, 230m. Da dieses Maß zurzeit nicht vorhanden ist, muss ein stoff von 10cm breite verwendet werden. Wie viel Meter werden gebraucht? bitte um schnelle antwort
WIE NEHME ICH IN CS 1.6 VIDEOS AUF ???? BRAUCHE SCHNELL HILFE BITTE SCHNELL ANTWORTEN
03/31/2010 - Counter-Strike - 11 Replies
joa ich hab gehört , dafür braucht man kein programm... das kann man einfach einstellen , wenn man doch ein programm brauchen sollte , dann sagt mir bitte welches.. kann auch ruhig was kosten =) aber besser wärs ohne programm pls schnelle antwort für ein thx



All times are GMT +1. The time now is 19:10.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.