Micka99 Posted June 18, 2018 Share Posted June 18, 2018 I am stuck with handling these two methods provided by OSBot. As I have an unstable connection and get disconnected frequently, whenever these two methods are getting called it is stuck in a loop. getDoorHandler().handleNextObstacle(new Position(3071, 3090, 0)) getDialogues().completeDialogue("Yes"); I am running the client in lowcpu and norandoms mode as I need it to be that way. Had the same issue for webwalking but solved it there with WebWalkEvent with checking !getClient().isLoggedIn() as a break condition. Can't seem to find it for these methods. Any suggestions? Quote Link to comment Share on other sites More sharing options...
d0zza Posted June 18, 2018 Share Posted June 18, 2018 I've never personally used the DoorHandler API so I can't speak for it specifically but I know there's no way to stop completeDialogue from executing, it needs to reach the end of the current dialogue to stop. So instead of using completeDialogue just use a combination of isPendingContinuation and isPendingOption. 1 Quote Link to comment Share on other sites More sharing options...
Alek Posted June 20, 2018 Share Posted June 20, 2018 Or just ask me to improve the methods. I'll look at complete dialogue. 2 1 Quote Link to comment Share on other sites More sharing options...