Fanny Posted August 19, 2024 Posted August 19, 2024 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.
Czar Posted August 20, 2024 Posted August 20, 2024 I have seen this before but have never been able to replicate
Fanny Posted August 20, 2024 Author Posted August 20, 2024 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
BrewBarred Posted Sunday at 04:42 AM Posted Sunday at 04:42 AM On 8/20/2024 at 4:03 AM, Fanny said: 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. Show me how you are pausing the script, what function are you calling or are u using the client executor via the mouse?