kennyng Posted January 21, 2010 Share Posted January 21, 2010 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 More sharing options...
Moderators big_daddy Posted January 21, 2010 Moderators Share Posted January 21, 2010 Most of the time it is a violation of the eula to automate a game. Thread Closed Link to comment Share on other sites More sharing options...
Recommended Posts