Jump to content

Need help botting flash games


Geft
 Share

Recommended Posts

I'm trying to figure out how to 'cheat' at flash games by scripting. For example, this flash game http://www.i-am-bored.com/bored_link.cfm?link_id=34530 is exploitable. I've beaten the game, but I couldn't get past the last level (pass: impossible) until I got my brother to do the top half.

In theory it's easy, but for some reason I couldn't get it to work. Here's how I tried running the script.

Sleep(3000) //time to switch windows
MouseClick("left", 388, 663) //click to begin game
Sleep(1000) //wait for the right time
Send ("z {UP}") //send the top character down and bottom character up

I got it right all the way to begin game by clicking with the mouse, and the game starts. From then on, the script doesn't seem to be working. Occasionally one of the characters move, but not both simultaneously. I tried separate Send lines but it didn't work, neither did adding some Sleep in-between. Could it be a limitation of the flash player or am I not doing it right?

Link to comment
Share on other sites

Take a look at SendKeyDownDelay. You are sending the keys almost instantly so the game won't be able to pick them up.

@MasterX

Send("{z UP}") <--- release key

Send("z {UP}") <--- send z and then Up

Edited by Pain
Link to comment
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
 Share

  • Recently Browsing   0 members

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