March 10, 20205 yr 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, 20205 yr by mousbros
March 10, 20205 yr @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
March 10, 20205 yr Author 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, 20205 yr by mousbros
March 10, 20205 yr @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
March 10, 20205 yr Author 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?
March 10, 20205 yr 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, 20205 yr by BravoTaco
Create an account or sign in to comment