Jump to content

Recommended Posts

Posted

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?

Posted

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 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Posted (edited)

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
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...