6105 Posted May 30, 2009 Posted May 30, 2009 (edited) I want to write a bot for flash gameit will determine what is on the screen and click on the needed button .. how can it be done?some that he should do: Edited May 30, 2009 by toader [center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Don't utter a single word[/font][/center][center][font=courier new,courier,monospace]Die die die my darling[/font][/center][center][font=courier new,courier,monospace]Just shut your pretty mouth[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you again[/font][/center][center][font=courier new,courier,monospace]I'll be seeing you[/font][/center][center][font=courier new,courier,monospace]In hell[/font][/center]
Roman9 Posted May 31, 2009 Posted May 31, 2009 (edited) Something like this? $boxNumber = PixelGetColor(x,y);The same X,Y of the border of the square for all three boxes While ($boxNumber == 0xAA8B25) Send("{LEFT}") WEnd While ($boxNumber == 0x695716) MouseClick("left", x, y, 1, 10) WEnd While ($boxNumber == 0xF9F3C2) MouseClick("left", x, y, 1, 10) WEnd Edited May 31, 2009 by Roman9
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now