Macro probram freezes while looping?

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Guest?

Macro probram freezes while looping?

Post by Guest? » Thu Dec 04, 2003 7:11 am

I use this program to macro in a game, and after a while it inevatiably stops working, if it's ten minutes or five hours.
The macro calls itself at the end, making it loop.
Any ideas?

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Thu Dec 04, 2003 8:20 am

Hi,

Without seeing your script we are unable to help much. If we could see your script we will almost certainly be able to solve the problem for you.
MJT Net Support
[email protected]

Guest?

Like that

Post by Guest? » Thu Dec 04, 2003 8:30 am

MouseMove>262,232
Wait>0.05
LDblClick
Wait>0.05
MouseMove>222,230
Wait>0.05
LDblClick
Wait>0.05
MouseMove>181,235
Wait>0.05
LDblClick
Wait>0.05
Press Esc
Press Esc
Press Esc
Press Esc
Press Esc
Macro>Runme

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Thu Dec 04, 2003 8:36 am

Hi,

I think you could get into problems with the macro continually calling itself. I would change it to:

Label>start
MouseMove>262,232
Wait>0.05
LDblClick
Wait>0.05
MouseMove>222,230
Wait>0.05
LDblClick
Wait>0.05
MouseMove>181,235
Wait>0.05
LDblClick
Wait>0.05
Press Esc
Press Esc
Press Esc
Press Esc
Press Esc
Goto>start

This is a nicer way to repeat continuously.
MJT Net Support
[email protected]

Guest

Post by Guest » Thu Dec 04, 2003 8:59 am

I'll check it out, thanks!

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