Sign in to follow this  
Followers 0
6105

I want to write a robot for flash games

2 posts in this topic

#1 ·  Posted (edited)

I want to write a bot for flash game

it will determine what is on the screen and click on the needed button .. how can it be done?

some that he should do:

Posted Image

Edited 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]

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by Roman9

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0