Jump to content

Recommended Posts

Posted
autoitte I wrote a program but my computer is good, but the program is running very slow

 

what should I change to make the program run faster ??

HotKeySet("{ESC}", "Terminate")
Func Terminate()
    Exit
EndFunc
$kar = 0
While 1
if $kar == 0 Then
   $coord = PixelSearch(800, 510, 800, 510, 0xF70000, 1)
   If Not @error Then
      MouseClick("left",700,300)
      $kar += 1
   EndIf
EndIf
if $kar == 1 Then
   $coord = PixelSearch(800, 200, 800, 200, 0xF70000, 1)
   If Not @error Then
      MouseClick("left",700,300)
      $kar -= 1
   EndIf
EndIf

Sleep(1000)

WEnd

 

Posted

my trying to automate game.

When the screen is clicked, the character is jumping to the other wall.
aim to advance without hitting red obstacles

my program is red to detect the obstacles and click on the screen but click to lose 3 seconds after the game is losing.

 

Ekran Görüntüsü (5).png

Ekran Görüntüsü (7).png

  • Moderators
Posted (edited)
Quote

my trying to automate game.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

The Moderation team

Edited by JLogan3o13

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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