Kramnik Posted November 4, 2019 Share Posted November 4, 2019 [WARN][Bot #1][11/04 08:51:57 PM]: Script executor is taking too long to suspend; restarting now... Hi, what is the reason why my script is making this error and then stopping? Quote Link to comment Share on other sites More sharing options...
Token Posted November 4, 2019 Share Posted November 4, 2019 It's most likely having issues stopping the script because it's in the middle of executing some loop, the devs can clarify otherwise Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted November 4, 2019 Share Posted November 4, 2019 1 hour ago, Token said: It's most likely having issues stopping the script because it's in the middle of executing some loop, the devs can clarify otherwise Happends a lot for me aswell, usually happeds a lot when you try to sleep for too long :) Like worldhopping, ... Quote Link to comment Share on other sites More sharing options...
ProjectPact Posted November 4, 2019 Share Posted November 4, 2019 (edited) Could be a multi-loop issue, but also could be a multi-threading issue Edited November 4, 2019 by ProjectPact Quote Link to comment Share on other sites More sharing options...
Camaro Posted November 4, 2019 Share Posted November 4, 2019 I found that when I execute async events from inside of a blocking event, I had to manually call setFinished() on each one or else that would happen. Quote Link to comment Share on other sites More sharing options...
Kramnik Posted November 5, 2019 Author Share Posted November 5, 2019 21 hours ago, Khaleesi said: Happends a lot for me aswell, usually happeds a lot when you try to sleep for too long Like worldhopping, ... Well after some testing I think the issue is with login handler. It seems it stops before it fully finishes then gets stuck on second log in screen and logger shows this error. Maybe you can confirm it too? Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted November 5, 2019 Share Posted November 5, 2019 2 hours ago, Kramnik said: Well after some testing I think the issue is with login handler. It seems it stops before it fully finishes then gets stuck on second log in screen and logger shows this error. Maybe you can confirm it too? Well could be ... I experience this a lot while hopping Quote Link to comment Share on other sites More sharing options...
Kramnik Posted November 6, 2019 Author Share Posted November 6, 2019 8 hours ago, Khaleesi said: Well could be ... I experience this a lot while hopping Yes, because often you don't hop smoothly and get that second login in screen. I get this when starting scripts too. It's not hard to solve this, but I think fundamentally it should be fixed by devs. I guess I'll create a bug topic Quote Link to comment Share on other sites More sharing options...