holic 231 Share Posted July 31, 2020 Yeah it appears I'm having an issue with Death's Door as well but I have an idea why. It seems to be that the random takes over 30 seconds to solve but the random handler resets if it's been executing for 30 seconds so it just gets stuck in a loop. Thanks for sharing your code, @TheCloakdOne, interesting to take a look at. I'll see if I can make it work for me. To sort of handle it right now I just have a separate TaskNode set to sleep while a RandomEvent is active. It some times works. 🤷♂️ public class Random extends AbstractTask { @Override public boolean accept() { return config.isScriptRunning() && getRandomManager().isSolving(); } @Override public int execute() { config.statusText("Waiting for " + getRandomManager().getCurrentSolver().toString() + " to finish"); while (getRandomManager().isSolving()) { sleep(1); } return Calculations.random(500); } } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.