mousbros Posted March 10, 2020 Share Posted March 10, 2020 (edited) it continue's untill it hits the options and then it just stops thank you in advance ❤ ``` case "TALK1": String[] options = new String []{ "Click to continue","I am brand new! This is my first time here.", "I've played in the past, but not recently.", "I am an experienced player." }; sleep(random(1435,2130)); NPC Gielinor = npcs.closest("Gielinor Guide"); if (Gielinor != null) { Gielinor.interact("Talk-to");{ sleep(random(1435,2130)); if(getDialogues().completeDialogueU(options)) { sleep(random(200, 700)); } } } break; ``` Edited March 10, 2020 by mousbros Quote Link to comment Share on other sites More sharing options...
Gunman Posted March 10, 2020 Share Posted March 10, 2020 @mousbros Thought I told you a lot of the dialogue API methods are borked on tut island? You gotta make your own dialogue handler using widgets(may be possible with color detection). If those widgets != null getDialogues().clickContinue(); else do other things Quote Link to comment Share on other sites More sharing options...
mousbros Posted March 10, 2020 Author Share Posted March 10, 2020 (edited) 12 minutes ago, Gunman said: @mousbros Thought I told you a lot of the dialogue API methods are borked on tut island? You gotta make your own dialogue handler using widgets(may be possible with color detection). If those widgets != null getDialogues().clickContinue(); else do other things case "TALK1": RS2Widget IAM = getWidgets().get(219, 1, 1); sleep(random(1435,2130)); NPC Gielinor = npcs.closest("Gielinor Guide"); if (Gielinor != null) { Gielinor.interact("Talk-to");{ sleep(random(1435,2130)); if(getDialogues().completeDialogueU()) { sleep(random(200, 700)); } } if(IAM != null) { IAM.interact("I've played in the past, but not recently."); } } break; bro i did that plenty of times, it continues untill it hits the options where i have to choose if the player is new or not Edited March 10, 2020 by mousbros Quote Link to comment Share on other sites More sharing options...
Gunman Posted March 10, 2020 Share Posted March 10, 2020 @mousbrosNow make a check for if dialogue is pending but you can't use any of the complete dialogue API methods it will get stuck and break. Use getDialogues().selectOption() or widgets Quote Link to comment Share on other sites More sharing options...
mousbros Posted March 10, 2020 Author Share Posted March 10, 2020 5 minutes ago, Gunman said: @mousbrosNow make a check for if dialogue is pending but you can't use any of the complete dialogue API methods it will get stuck and break. Use getDialogues().selectOption() or widgets my man as you can see im using widgets and it doesnt interact with them, did I place them correct in the script? Quote Link to comment Share on other sites More sharing options...
BravoTaco Posted March 10, 2020 Share Posted March 10, 2020 (edited) 2 hours ago, mousbros said: my man as you can see im using widgets and it doesnt interact with them, did I place them correct in the script? You are setting the widget too soon. Set it once you are expecting to interact with it. Edited March 10, 2020 by BravoTaco 1 Quote Link to comment Share on other sites More sharing options...