Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 20:39

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

Advertisement



Controlsend + Sleep Problem.

Discussion on Controlsend + Sleep Problem. within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2010
Posts: 13
Received Thanks: 0
Controlsend + Sleep Problem.

Hallo.
Ich habe erst gute 10 Minuten AutoIt und kenne mich deswegen sehr wenig aus .
Habe aber ein Problem: Ich will ein MTA Bot machen der alle 1 sek. die "D" Taste drückt.
Code:
ControLsend("MTA: San Andreas","","", "{D down}")
sleep (1000)
ControLsend("MTA: San Andreas","","", "{D up}")
sleep (1000)
Keine Ahnung warum es nicht geht . Wäre nett wenn mir jemand hilft .
Marcotoffel is offline  
Old 12/24/2012, 14:06   #2
 
Achat's Avatar
 
elite*gold: 528
Join Date: Jan 2012
Posts: 2,127
Received Thanks: 2,403
Code:
while 1
ControLsend("MTA: San Andreas","","", "{D down}")
sleep (1000)
ControLsend("MTA: San Andreas","","", "{D up}")
sleep (1000)
wend
Das kommt hier rein:

Hier ein gutes Tutorial:

MfG
Achat is offline  
Thanks
1 User
Old 12/24/2012, 14:13   #3
 
elite*gold: 0
Join Date: May 2010
Posts: 13
Received Thanks: 0
Oh. Alles klar danke^^.
Marcotoffel is offline  
Reply

Tags
autoit, bot, controlsend


Similar Threads Similar Threads
controlsend problem
02/12/2012 - AutoIt - 7 Replies
Hy, send("1") - is use the 1 number in game if the game is active, ControlSend("gamewindowtitle", "", "", "1") - this script use only to one window, but in game doesnt use number, just if i use chat, this code wrigint in chat, how can i do it how works on keyboard? now i try use numbers in game with this: While 1 ControlSend("", "", "", "{"$1"}")
Problem Controlsend
06/11/2011 - AutoIt - 17 Replies
so ich hab einen neuen bot programmmiert (Spiel archlord, is aber eig egal) und das problem ist, dass controlsend() meistens nicht funktioniert, ganz selten aber iwie dann doch. Der Rest des Codes funktioniert soweit(HWND, keys, auch winsettitle) Außerdem funktioniert controlsend() noch, wenn man es als kontrollfunktion direkt nach der variablendeklaration ausführt. Hier mal der Code, vllt hat jemand ne Idee #RequireAdmin #Region ;**** Directives created by AutoIt3Wrapper_GUI ****...
Controlsend Problem
06/04/2011 - AutoIt - 0 Replies
Hat sich erledigt. ;)
ControlSend Problem
11/12/2010 - AutoIt - 45 Replies
Hey E*pvpers. Bin grad dabei ein kleines F -Toll für Flyff zu schreiben. An sich ja ganz simpel. Hab nur folgendes Problem: Man kann Flyff 2 mal öffnen. Allerdings möchte ich nicht die F-Taste an beide Fenster senden sondern nur an eins. Die haben leider denselben Namen. Gibt es eine Funktion wie ich im Bot speichern kann, welches Fenster er anpeilen soll. Bei alten Bots, die leider gefixt sind, konnte man erst ein Flyff Fenster aktiv haben und dan im Bot auf "FindFlyff"...
Problem mit Controlsend
08/06/2010 - AutoIt - 36 Replies
Hallo, Vielleicht haben manche von euch auch das Problem das wen es zuviele ControlSends im Script sind und du z.b. was schreiben willst dan die Tastatur komplett anfängt zu Spinnen. z.b.: Func _1() ControlSend("4Story_GSP", "", 0, "{TAB}") Sleep(150) ControlSend("4Story_GSP", "", 0, "{TAB}") Sleep(400)



All times are GMT +1. The time now is 20:39.


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.