February 25, 201510 yr So i have got the parent and the child ID. I want to have my script click "Click here to continue" but i can't find a way to do this... someone help
February 25, 201510 yr Easier way: if (dialogues.isPendingContinuation()) { dialogues.clickContinue(); } Edited February 25, 201510 yr by dudeami
February 25, 201510 yr Author Easier way: if (main.dialogues.isPendingContinuation()) { main.dialogues.clickContinue(); } And if i wanted it to click an option? I can't seem to use that... i think it is because my script in eclipe is called "main"? Edited February 25, 201510 yr by massih
February 25, 201510 yr check at the dialogues class they have great methods. http://prntscr.com/69ihtk Edited February 25, 201510 yr by josedpay
February 25, 201510 yr Author check at the dialogues class they have great methods. http://prntscr.com/69ihtk if (dialogues.isPendingContinuation()){ dialogues.clickContinue();} if (dialogues.isPendingOption()){ dialogues.selectOption("Can I journey on this ship?");} this should work right? but it does not..
February 25, 201510 yr And if i wanted it to click an option? I can't seem to use that... i think it is because my script in eclipe is called "main"? Sorry, main. is what I use in my scripts as I don't bunch it all in one class, updated the post. Check out the Dialouges API docs like josedpay said, it has most of the functionality you need. Else, take a look at the Interfaces API docs, it has more of what you were expecting.
February 25, 201510 yr if (dialogues.isPendingContinuation()){ dialogues.clickContinue();} if (dialogues.isPendingOption()){ dialogues.selectOption("Can I journey on this ship?");} this should work right? but it does not.. i guess know let us know how it works.
February 25, 201510 yr Author i guess know let us know how it works. if (dialogues.isPendingContinuation()){ dialogues.clickContinue(); sleep(random(800, 1100));} if (dialogues.isPendingOption()){ dialogues.selectOption("Can I journey on this ship?"); sleep(random(800, 1100));} this works
Create an account or sign in to comment