|
You last visited: Today at 17:11
Advertisement
ControlSend problem
Discussion on ControlSend problem within the AutoIt forum part of the Coders Den category.
05/23/2014, 15:34
|
#1
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,093
|
ControlSend problem
ControlSend wont work with unprotected game but Send works.. however i do not like send as the window has to be active at all times.
i tryed looking at CreateRemoteThread msdn thing but i dont know much about msdn -> autoit ... if anyone could help me out getting keys to send ?
|
|
|
05/23/2014, 16:23
|
#2
|
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
|
Why don't you post the snippet where you try to send the keys.
Probably there's just a small mistake.
|
|
|
05/23/2014, 16:28
|
#3
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,093
|
Code:
ControlSend("[CLASS:AIONClientWndClass1.0]", "", "", "{SPACE}")
i just send that and nothing ..
EDIT : somehow even Send() doesnt work LOL ... worked an hour ago
|
|
|
05/23/2014, 17:16
|
#4
|
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
|
#RequireAdmin
#AutoIt3Wrapper_UseX64=y
on top on script and compile 64 bit
|
|
|
05/23/2014, 17:23
|
#5
|
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
|
Why don't you use the title instead of the classname?
|
|
|
05/23/2014, 17:24
|
#6
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,093
|
Quote:
Originally Posted by mlukac89
#RequireAdmin
#AutoIt3Wrapper_UseX64=y
on top on script and compile 64 bit
|
Quote:
Originally Posted by alpines
Why don't you use the title instead of the classname?
|
worked like a charm
bcz i was testing every way
EDIT : SPACE bar howver still wont send neither with send or controlsend.. ?
|
|
|
05/24/2014, 23:35
|
#7
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,093
|
#bump
|
|
|
05/24/2014, 23:39
|
#8
|
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
|
What do you use to send SPACE? Did you type {SPACE} or SPACE?
|
|
|
05/25/2014, 00:17
|
#9
|
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
|
Compiled 64 bit and run as admin works for me
Code:
#RequireAdmin
#AutoIt3Wrapper_UseX64=y
HotKeySet("{ESC}","_quit")
While 1
Send("{SPACE}", 0)
Sleep(4000) ; pause 4 seconds
WEnd
Func _quit()
Exit
EndFunc
|
|
|
05/25/2014, 03:58
|
#10
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,093
|
Quote:
Originally Posted by alpines
What do you use to send SPACE? Did you type {SPACE} or SPACE?
|
Quote:
Originally Posted by mlukac89
Compiled 64 bit and run as admin works for me
{SPACE} ofc
Code:
#RequireAdmin
#AutoIt3Wrapper_UseX64=y
HotKeySet("{ESC}","_quit")
While 1
Send("{SPACE}", 0)
Sleep(4000) ; pause 4 seconds
WEnd
Func _quit()
Exit
EndFunc
|
yeah but controlsend wudnt work ... i noticed that aion client blocks those things that requires camera to move . like jumping and turning without client being active. or is it just me ?
|
|
|
05/25/2014, 04:50
|
#11
|
elite*gold: 3653
Join Date: Aug 2008
Posts: 30,854
Received Thanks: 529
|
most mmos wont work with a simple controlsend command, thats the point where you start with memorywrite or inject a dll into the process.
|
|
|
05/25/2014, 11:24
|
#12
|
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
|
Quote:
Originally Posted by fear-x
yeah but controlsend wudnt work ... i noticed that aion client blocks those things that requires camera to move . like jumping and turning without client being active. or is it just me ?
|
Yea it block some things for example i was try to send space with controlsend and he was turn on char gui then map, and i was looking at key config in game space is for jump but it wont press it with control send. Better use cheat engine to find adresses it not so hard in aion.
|
|
|
05/25/2014, 16:02
|
#13
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,093
|
Quote:
Originally Posted by c0w
most mmos wont work with a simple controlsend command, thats the point where you start with memorywrite or inject a dll into the process.
|
Quote:
Originally Posted by mlukac89
Yea it block some things for example i was try to send space with controlsend and he was turn on char gui then map, and i was looking at key config in game space is for jump but it wont press it with control send. Better use cheat engine to find adresses it not so hard in aion.
|
yeah i do know that packet sniffing is a way to send / cast skills ... but how can i cast a skill using memory Writing?
|
|
|
05/25/2014, 16:20
|
#14
|
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
|
U must find a offset or adress that use selected skill, for example when skill is not in use its 0 and when u use it its 1. Now in script u make 1 variable that holds adress of that skill then u check it for example
$myskill1 = adressofthatskill
Code:
if ($myskill1 == 0)
_MemoryWrite(bla, bla, value) ; value u put 1
endif
So it send 1 to that adress and activate that skill
|
|
|
05/25/2014, 16:30
|
#15
|
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,093
|
Quote:
Originally Posted by mlukac89
U must find a offset or adress that use selected skill, for example when skill is not in use its 0 and when u use it its 1. Now in script u make 1 variable that holds adress of that skill then u check it for example
$myskill1 = adressofthatskill
Code:
if ($myskill1 == 0)
_MemoryWrite(bla, bla, value) ; value u put 1
endif
So it send 1 to that adress and activate that skill
|
so ive to do this for 100+ skills ? :O
|
|
|
|
Similar Threads
|
controlsend problem
11/09/2013 - AutoIt - 5 Replies
ICH SUCHE EIN CONTROLSEND Befehl der die Funktion:
Send("{f3}") ersetzt
Eine antwort sollte so ähnlich aussehen aber eben richtig:
Am ende soll es so angewendet werden nur mit controlsend ersetzt:
|
Controlsend Problem
02/21/2013 - AutoIt - 2 Replies
Hallo Com,
ich lerne neben C# nebenbei noch etwas AutoIt.
Als erstes kleines Projekt habe ich mir einen Spamer vorgestellt,
welche an ein angegebenes Fenster einen bestimmten Text sendet.
Das ganze sieht momentan so aus:
http://i.epvpimg.com/J7VZb.png
Und der Code so(ohne den Gui-Code):
|
Controlsend Problem
06/04/2011 - AutoIt - 0 Replies
Hat sich erledigt. ;)
|
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 +2. The time now is 17:11.
|
|