Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Nostale
You last visited: Today at 02:05

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


Autoit Bot problem

Discussion on Autoit Bot problem within the Nostale forum part of the MMORPGs category.

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 07/20/2012, 14:59   #2

 
elite*gold: 2778
Join Date: Feb 2012
Posts: 3,525
Received Thanks: 1,042
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



« Ding der möglichkeit ? | Nostale SE »



All times are GMT +1. The time now is 02:05.


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

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