Jump to content

Recommended Posts

Posted (edited)

Hi!

I'm working on a project that's not as simple as I thought it would be. I've been asked to create a macro for a game similar to this. I've got the basics down, but in order to speed the macro up I don't want it clicking on an answer more than once. I need to get the macro to actively save the positions of the answers that it has found, and to not click them again. I wanted to do this by typing out the paths myself, but there's hundreds and hundreds of them.

Here's the pseudo code of what I've got going on right now.

While text of answer 1 <> blue

click question

click answer

if text is blue, exit loop

click another question

click another answer

if text is blue, exit loop

while text of answer 2 <> blue

repeat above

To summarize: I want to create a macro that creates a path to finish this game by brute forcing it until it gets an answer. Once the game gets an answer, I need it to remember where it clicked and use that memory somehow to tell it not to click there again.

Sorry if this doesn't make sense, I'm terribly tired right now.

EDIT: post title is botched. I accidentally hit 'enter' and the damn thing submitted. Oh well.

Edited by Qaptian

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
  • Recently Browsing   0 members

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