Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 17:11

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

Advertisement



ControlSend problem

Discussion on ControlSend problem within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,093
Unhappy 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 ?
fear-x is offline  
Old 05/23/2014, 16:23   #2
 
alpines's Avatar
 
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.
alpines is offline  
Old 05/23/2014, 16:28   #3
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,093

i just send that and nothing ..

EDIT : somehow even Send() doesnt work LOL ... worked an hour ago
fear-x is offline  
Old 05/23/2014, 17:16   #4
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
#RequireAdmin
#AutoIt3Wrapper_UseX64=y

on top on script and compile 64 bit
mlukac89 is offline  
Thanks
1 User
Old 05/23/2014, 17:23   #5
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Why don't you use the title instead of the classname?
alpines is offline  
Old 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 View Post
#RequireAdmin
#AutoIt3Wrapper_UseX64=y

on top on script and compile 64 bit
Quote:
Originally Posted by alpines View Post
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.. ?
fear-x is offline  
Old 05/24/2014, 23:35   #7
 
elite*gold: 0
Join Date: Feb 2009
Posts: 1,234
Received Thanks: 1,093
#bump
fear-x is offline  
Old 05/24/2014, 23:39   #8
 
alpines's Avatar
 
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?
alpines is offline  
Old 05/25/2014, 00:17   #9
 
mlukac89's Avatar
 
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
mlukac89 is offline  
Old 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 View Post
What do you use to send SPACE? Did you type {SPACE} or SPACE?
Quote:
Originally Posted by mlukac89 View Post
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 ?
fear-x is offline  
Old 05/25/2014, 04:50   #11
 
c0w's Avatar
 
elite*gold: 3653
The Black Market: 378/0/0
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.
c0w is offline  
Old 05/25/2014, 11:24   #12
 
mlukac89's Avatar
 
elite*gold: 0
Join Date: Sep 2010
Posts: 473
Received Thanks: 104
Quote:
Originally Posted by fear-x View Post
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.
mlukac89 is offline  
Old 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 View Post
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 View Post
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?
fear-x is offline  
Old 05/25/2014, 16:20   #14
 
mlukac89's Avatar
 
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
mlukac89 is offline  
Old 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 View Post
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
fear-x is offline  
Reply


Similar Threads 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.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.