Jump to content
Sign in to follow this  
Amfi

Question about Send into game client

Recommended Posts

Amfi

Hello community! I am trying to automate some part in the game. Depend of what i found, code looks like:

$S=0x4E90DF

$P=ProcessExists( "GameProcess" )
WinActive( "GameWindowTitle" )

Func PB()
If $L=$S Then
Send( "{Q}" )
Endif
Endfunc

While 1
$L=PixelGetColor( 129, 593 )
Sleep(15000)

Switch $P
Case $P
PB()
EndSwitch

WEnd

However, Send is actually not working ( game client doesn't have any reaction on Send("{Q}") and any other keys if u try, but in other apps it works ) looks like game has an protect from these actions right? ( I saw something about this on the forum ) If so, what can i do? I didn't find ( for now anyway ) any suggestions about this.

And if not, maybe i forgot to place something in the script?

Share this post


Link to post
Share on other sites
water

Welcome to AutoIt and the forum,

please make sure to read the forum rules, especially the section about game automation.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (2018-09-01 - Version 1.3.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
Amfi

Its for all games or online?

I am trying do this for offline game ( and its not a bot ).

Share this post


Link to post
Share on other sites
Mikeman27294

Yes, all games online or offline. Single player and multi player. Game automation is not to be discussed on the forum. Also, automation is classified as a bot.

But welcome to the forums, make sure you take a look at those rules, hopefully we wont have any problems? :oops:

Edited by Mikeman27294

Share this post


Link to post
Share on other sites
Amfi

Of course not ^^ Rule is rule :oops:

Share this post


Link to post
Share on other sites
Valik

Locked.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×