Jump to content

When pausing script, onMessage seems to pause indefinitely


Recommended Posts

Posted

I usually keep an eye on my scripts when they are running, and sometimes I pause the script to do something (like hop worlds or something)

However, sometimes (not always) when pausing the script, the onMessage loop seems to pause indefinitely thereafter (until the script is restarted)

Is this intended behaviour? Is there a workaround?

I often use onMessage to count tracked items, particularly for gathering, and the count just gets stuck, but other onPaint functionality works so it isn't the onPaint function.

Posted

It only occurs about 20% of the time, particularly when gathering

Given the repeatability of it, or lack thereof, it must be something to do with what the script is doing at the time, perhaps pausing the entire script during a sleep somehow breaks the onMessage function? Not sure exactly

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...