|
You last visited: Today at 21:25
Advertisement
controlsend problem
Discussion on controlsend problem within the AutoIt forum part of the Coders Den category.
08/24/2011, 14:43
|
#1
|
elite*gold: 0
Join Date: Oct 2010
Posts: 37
Received Thanks: 0
|
controlsend problem
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("[CLASS:Notepad]", "", "", "{"$1"}")
Wend
$1 = "hello"
but this code isnt good :S - this is the problem {"$1"}
anyone help plz
|
|
|
08/24/2011, 14:48
|
#2
|
elite*gold: 0
Join Date: Mar 2011
Posts: 8,645
Received Thanks: 3,454
|
Your quotation marks are wrong
ControlSend("[CLASS:Notepad]", "", "",$1)
|
|
|
08/24/2011, 14:57
|
#3
|
elite*gold: 0
Join Date: Oct 2010
Posts: 37
Received Thanks: 0
|
aaahw.. i get error, any idea? i want to do it how send commands for one game but in minimized status too, soo with controlsend, just i dont know how need to do it.
error:
ControlSend("game", "", "", "{"& $2 &"}")
ControlSend("game", "", "", "{"& ^ ERROR
Quote:
While 1
ControlSend("game", "", "",$1)
Sleep(1000)
ControlSend("game", "", "",$2)
Sleep(1000)
ControlSend("game", "", "",$3)
Sleep(1000)
$1 = Send("1")
$2 = Send("y")
$3 = Send("2")
WEnd
|
|
|
|
08/24/2011, 15:23
|
#4
|
elite*gold: 0
Join Date: Jan 2010
Posts: 360
Received Thanks: 249
|
well this will never work...
you can't set a command as a var.
i didn't understand your problem with controlsend.
ControlSend("gamewindowtitle", "", "", "1") should work if no anti-cheat system exists
|
|
|
08/24/2011, 15:35
|
#5
|
elite*gold: 0
Join Date: Oct 2010
Posts: 37
Received Thanks: 0
|
mine problem is, how controlsend working well, but only in game chat, and doesnt use buttons, (cabal)
|
|
|
08/24/2011, 19:46
|
#6
|
elite*gold: 0
Join Date: Aug 2010
Posts: 880
Received Thanks: 113
|
Yeah, then you need to bypass the anti-hackshild ...
|
|
|
02/11/2012, 14:09
|
#7
|
elite*gold: 0
Join Date: Nov 2011
Posts: 86
Received Thanks: 15
|
Quote:
Originally Posted by Ludder231
Yeah, then you need to bypass the anti-hackshild ...
|
Anti hackshield ? xD
|
|
|
02/12/2012, 20:48
|
#8
|
elite*gold: 0
Join Date: Jan 2012
Posts: 37
Received Thanks: 5
|
Quote:
|
ControlSend("game", "", "","{" & $3 & "}")
|
Or only Save your Key in a File .
The you can do this this is really better :
Quote:
|
ControlSend("game", "", "","{" & FileReadLine($File1, 1) & "}")
|
I hope it works .
|
|
|
 |
Similar Threads
|
ControlSend Problem
06/28/2011 - AutoIt - 4 Replies
Hallo Leute :) Ich habe ein Problem. Hierbei handelt es sich um das Spiel Shaiya, Antifreeze ist an..
Mein Script
Sendet das Signal ö 500 ms an das Fenster, das auf der Aktionsleiste mit dem Button ö liegende Feld reagiert.
|
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/02/2010 - AutoIt - 17 Replies
Hallo alle zusammen ,
wie irh bestimmt wisst hat ControlSend immer eine Einschränkung für die Tastatur....
Jetzt wollte ich euch um Rat fragen ob es da irgendeine bestimmte UDF,oder sonsstwas gibt ...
Ich denke das würde nicht nur mir helfen sondern auch andern
|
All times are GMT +1. The time now is 21:26.
|
|