Thread: Help With Dialogue Handler

Results 1 to 10 of 10
  1. #1 Help With Dialogue Handler 
    Registered Member Nuno555's Avatar
    Join Date
    Sep 2011
    Posts
    330
    Thanks given
    40
    Thanks received
    14
    Rep Power
    0
    Hello Im Coding some new stuff at my rsps and i got a problem with dialogue handler
    I ill send you my code, Here's my code:

    private void sendOption(String s, String s1) {
    c.getPA().sendFrame126("Select an Option", 2470);
    c.getPA().sendFrame126(s, 2471);
    c.getPA().sendFrame126(s1, 2472);
    c.getPA().sendFrame126("Click here to continue", 2473);
    c.getPA().sendFrame164(13758);
    }

    private void sendOption2(String s, String s1) {
    c.getPA().sendFrame126("Select an Option", 2460);
    c.getPA().sendFrame126(s, 2461);
    c.getPA().sendFrame126(s1, 2462);
    c.getPA().sendFrame164(2459);
    }

    private void sendOption3(String s, String s1, String s2) {
    c.getPA().sendFrame126("Select an Option", 2460);
    c.getPA().sendFrame126(s, 2461);
    c.getPA().sendFrame126(s1, 2462);
    c.getPA().sendFrame126(s2, 2462);
    c.getPA().sendFrame164(2459);
    }

    public void sendOption4(String s, String s1, String s2, String s3) {
    c.getPA().sendFrame126("Select an Option", 2481);
    c.getPA().sendFrame126(s, 2482);
    c.getPA().sendFrame126(s1, 2483);
    c.getPA().sendFrame126(s2, 2484);
    c.getPA().sendFrame126(s3, 2485);
    c.getPA().sendFrame164(2480);
    }

    public void sendOption5(String s, String s1, String s2, String s3, String s4) {
    c.getPA().sendFrame126("Select an Option", 2493);
    c.getPA().sendFrame126(s, 2494);
    c.getPA().sendFrame126(s1, 2495);
    c.getPA().sendFrame126(s2, 2496);
    c.getPA().sendFrame126(s3, 2497);
    c.getPA().sendFrame126(s4, 2498);
    c.getPA().sendFrame164(2492);
    }


    Ok Now how do i do SendOption 6?

    Please Help
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Oct 2010
    Posts
    716
    Thanks given
    82
    Thanks received
    131
    Rep Power
    0
    I don't recall Runescape having 6 options Oo
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Aug 2008
    Age
    31
    Posts
    832
    Thanks given
    53
    Thanks received
    62
    Rep Power
    0
    Just add:
    Code:
    public void sendOption6(String s, String s1, String s2, String s3, String s4, String s5) {
    c.getPA().sendFrame126("Select an Option", 2493);
    c.getPA().sendFrame126(s, 2494);
    c.getPA().sendFrame126(s1, 2495);
    c.getPA().sendFrame126(s2, 2496);
    c.getPA().sendFrame126(s3, 2497);
    c.getPA().sendFrame126(s4, 2498);
    c.getPA().sendFrame126(s5, 2499);
    c.getPA().sendFrame164(2492);
    }
    Reply With Quote  
     

  4. #4  
    GANGNAM STYLE!

    Ohad's Avatar
    Join Date
    Aug 2011
    Posts
    3,179
    Thanks given
    152
    Thanks received
    352
    Rep Power
    1671
    and i believe you will need a break; in the end...
    Reply With Quote  
     

  5. #5  
    Registered Member Nuno555's Avatar
    Join Date
    Sep 2011
    Posts
    330
    Thanks given
    40
    Thanks received
    14
    Rep Power
    0
    Lol it just gives me 5 options '
    Reply With Quote  
     

  6. #6  
    Registered Member Nuno555's Avatar
    Join Date
    Sep 2011
    Posts
    330
    Thanks given
    40
    Thanks received
    14
    Rep Power
    0
    i need 6 options...
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Apr 2011
    Posts
    161
    Thanks given
    9
    Thanks received
    12
    Rep Power
    3
    Quote Originally Posted by Arno View Post
    I don't recall Runescape having 6 options Oo
    Arno already said there wasn't a sixth interface option. Jagex only made the select option interface go up to 5. I think you will need to add 5 and put "more options" on the last option then allow that to take you to additional options.
    Reply With Quote  
     

  8. #8  
    Registered Member Nuno555's Avatar
    Join Date
    Sep 2011
    Posts
    330
    Thanks given
    40
    Thanks received
    14
    Rep Power
    0
    Ok thx
    Reply With Quote  
     

  9. #9  
    Banned

    Join Date
    Jun 2009
    Posts
    2,916
    Thanks given
    169
    Thanks received
    806
    Rep Power
    0
    You can not. You should use 'next page' just like RuneScape does. Even though you could create it yourself, but the text would probably too small.
    Reply With Quote  
     

  10. #10  
    محمد

    Jamili's Avatar
    Join Date
    Jun 2010
    Posts
    405
    Thanks given
    93
    Thanks received
    249
    Rep Power
    307
    It only supports 5 at a time. :/

    Spoiler for Honorable mentions:

    Quote Originally Posted by JRFisher View Post
    Dude, learn yourself, it took me 17 months of continuous research to learn how to import a project.
    Quote Originally Posted by Pollution View Post
    When? And Idiot, I'm using a oldschool, it's not easy to get the command for an oldschool, retard c u.
    Quote Originally Posted by Waj_Assif View Post
    I sayin u dont contribute never aall u do is finna tryin attack ppl and always finna start fights .......
    Quote Originally Posted by Kris View Post
    You must be one of those slower breeds.
    Quote Originally Posted by Gandalf View Post
    Just piss off ploter hacker fella dumb fuck. Your a donor to a rsps community, I'm a Mainowner to a Private Server thats 7+ Years old. Lmfao kid, get a life. Don't let my name come out of your mouth again. Or it wont end nicely for you. Understand me big boy?
    Quote Originally Posted by Tojad View Post
    What do you know about Public Void and int without this [] is only 1 integer, why?
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. [PI] Dialogue Handler Missing Methods
    By Runeter in forum Snippets
    Replies: 5
    Last Post: 06-30-2013, 03:41 AM
  2. [Impact 2.0] Dialogue handler
    By `NICK in forum Help
    Replies: 5
    Last Post: 12-02-2010, 06:58 PM
  3. Dialogue handler
    By maham. in forum Tutorials
    Replies: 6
    Last Post: 09-18-2009, 12:42 AM
  4. Dialogue Handler (other way....)
    By Laxika in forum Tutorials
    Replies: 8
    Last Post: 10-17-2007, 07:46 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •