Flash game macro problem

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
angeliti
Newbie
Posts: 1
Joined: Fri Jan 27, 2006 10:38 am

Flash game macro problem

Post by angeliti » Fri Jan 27, 2006 11:09 am

Hi!

I've programmed a macro for playing a flash game using Macro Scheduler 7.3 (GAME MACRO). It works fine, but sometimes it crashes (usually a Microsoft Explorer error).

My idea is to create a new macro to check if the mouse has been inactive for more than 5 minutes and, if that is true, close the Explorer window, open the game again and run the macro to continue playing. (Let's call it RESET MACRO).

The GAME MACRO has this estructure:
Label>Start
// MINIGAME 1
GetPixelColor>x1,y1,Color
IF>Color=79704
Macro>Minigame1
Goto>Start
ENDIF

// MINIGAME 2
GetPixelColor>x2,y2,Color
IF>Color=79704
Macro>Minigame1
Goto>Start
ENDIF

...

// MINIGAME N
Macro>MinigameN
Goto>Start
I've tried scheduling the RESET MACRO to run every hour to reset everything but when it finished, Macro Scheduler continued running the macro it was running when RESET MACRO started, and I need it to run GAME MACRO from the beginning.

So, I tried adding at the end of RESET MACRO the line:
Macro>GAME MACRO
With that it works fine, but the RESET MACRO doesn't re-schedule for the next hour, because it never finishes!!

Is there any method to do what I pretend??
Thanks a lot!

Angel

PS: I hope you had understood my problem despite my bad English :P

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts