Jump to content

I'm looking for coder !


kennyng
 Share

Recommended Posts

Hello every1,

Recently I've found AutoIT as a powerfull automate scripts but I've got no clue where should I start. If any1 here could help me, I really appreciate.

I'm looking for a coder who could help me build a script which can do some simple job in details below:

1. It will auto activate my windows and send mouseclick to a buttom (position defined)

2. After that it will perform pixelchecksum then send mouse click to a buttom (above)

here is my code :

WinActivate("Ki")

;get color at current possition below 408 276, arround "Kim"
$var = PixelGetColor( 408 , 276 )
$checksum = PixelChecksum(408,276,408,276)


;send mouse click on "Bat dau"
MouseClick("left" ,381, 528, 1 , 0) 

;W8 5s 
Sleep(5000)


; find something change
While $checksum = PixelChecksum(408,276,408,276)
  Sleep(1)
  $var1= PixelGetColor( 408 , 276 )

WEnd
 

;send mouse click there on "Ngung"
MouseClick("left" ,381, 528, 1 , 0)

However, my expect should stop at "Kim" but result below show it stoped at "thuy" I just wonder is it delay from me to server for this game or my coding got error , if some1 could help ?

image on :

sorry fo file was too big

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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