September 1, 201510 yr -dialogues.clickContinue() spam clicks the option and the next part of the dialogue is unable to load to due to spam click i have -> if (dialogues.indialogue()) { dialogues.clickContinue(); } but it spam clicks so much next interface wont load
September 1, 201510 yr -dialogues.clickContinue() spam clicks the option and the next part of the dialogue is unable to load to due to spam click i have -> if (dialogues.indialogue()) { dialogues.clickContinue(); } but it spam clicks so much next interface wont load Add in a sleep after: dialogues.clickContinue();
September 1, 201510 yr The API isn't broken. Your implementation might be, tho. What value are you returning from onLoop after clicking continue?
September 1, 201510 yr Your onLoop() will be executing anywhere from 5-10 times per second (depending on your return value of course, should typically have it at around 215ms), so you can imagine it would be clicking 5-10 times per second since it will just continue the loop after clicking continue. A way to do this would be to see if there is a widget with the text "Please wait...", as this is the substitute when you click continue (right?), and if there is, you wait. Another way is to sleep until the widget changes/disappears.
September 1, 201510 yr if(dialogues.isPendingContinuation() || dialogues.clickContinue()) return random(...); Edited September 1, 201510 yr by Flamezzz
September 3, 201510 yr if (getDialogues().isPendingContinuation()) { getDialogues().clickContinue(); return random(900 , 1200); }
Create an account or sign in to comment