Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 00:19

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

 

Autoit Bot problem

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2011
Posts: 1,405
Received Thanks: 227
Autoit Bot problem

Hallo ich hab mal nen Bot programmiert aber ich will das beim GUI steht
Starten F1
Stoppen F2
Nur wenn ich alle zwei dazufüge kommt nur 1 davon
Quote:
GUICreate("Nosbot", 200, 200, 1000, 350) ;==> Zeichnet GUI
GUISetState() ;==> Zeigt GUI an
$Button = GUICtrlCreateLabel ("Starten:F1",30, 60, 60, 100)
$Button2 = GUICtrlCreateLabel ("Stoppen:F2",20, 40, 70, 90)
HotKeySet("{F1}", "starten")
HotKeySet("{F2}", "pause")
HotKeySet("{F3}", "quit")

While 1
Sleep(100)
WEnd

Func starten()
While 1
sleep(100)
Controlsend("NosTale","","", "{space}")
sleep(100)
Controlsend("NosTale","","", "{x}")
WEnd
Endfunc


Func pause()
While True
Sleep(1000)
WEnd
Endfunc


Func quit()
Exit
Endfunc



Bauernfrosch is offline  
Old   #2

 
elite*gold: 2778
Join Date: Feb 2012
Posts: 3,523
Received Thanks: 1,041
Halt mal deine rechte Hand vor dein Gesicht und nun die Linke vor deine Rechte. Jetzt sag mir doch bitte ob du immer noch deine rechte Hand siehst
Code:
GUICreate("Nosbot", 200, 200, 1000, 350) ;==> Zeichnet GUI
GUISetState() ;==> Zeigt GUI an
$Button = GUICtrlCreateLabel("Starten:F1", 30, 20, 60, 100)
$Button2 = GUICtrlCreateLabel("Stoppen:F2", 20, 40, 70, 90)
HotKeySet("{F1}", "starten")
HotKeySet("{F2}", "pause")
HotKeySet("{F3}", "quit")

While 1
	Sleep(100)
WEnd

Func starten()
	While 1
		Sleep(100)
		ControlSend("NosTale", "", "", "{space}")
		Sleep(100)
		ControlSend("NosTale", "", "", "{x}")
	WEnd
EndFunc   ;==>starten


Func pause()
	While True
		Sleep(1000)
	WEnd
EndFunc   ;==>pause


Func quit()
	Exit
EndFunc   ;==>quit


Mr.Tr33 is offline  
Thanks
1 User
Reply



« Previous Thread | Next Thread »



All times are GMT +2. The time now is 00:19.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.