Thread: Another page (PI) REP++

Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1 Another page (PI) REP++ 
    Registered Member
    Join Date
    Dec 2010
    Posts
    35
    Thanks given
    0
    Thanks received
    0
    Rep Power
    23
    How could I added another page of Minigame teleport's using the same case?
    Like;

    case 117123:
    c.getDH().sendOption5("Barrows", "Pest Control", "TzHaar Cave", "Duel Arena", "Next option");
    c.teleAction = 2;
    break;

    Then when you click next option you get;

    c.getDH().sendOption5("Assault", "Warriors Guild", "etc", "etc", "etc");
    REP++ FOR HELP!
     

  2. #2  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,017
    Thanks given
    1,499
    Thanks received
    1,967
    Rep Power
    4898
    I need this too, still haven't gotten to making it though
     

  3. #3  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,108
    Thanks given
    2,402
    Thanks received
    2,825
    Rep Power
    4604
    Was going to work on this soon. If I finish it and you don't get a reply, ill post it.
     

  4. #4  
    Registered Member
    Join Date
    Jun 2010
    Age
    26
    Posts
    892
    Thanks given
    22
    Thanks received
    47
    Rep Power
    0
    Need this aswell, dont understand anything by making a dialouge go over to the next.
    hi
     

  5. #5  
    Registered Member
    Join Date
    Dec 2010
    Posts
    35
    Thanks given
    0
    Thanks received
    0
    Rep Power
    23
    Bump, really need this fixed.
     

  6. #6  
    Registered Member

    Join Date
    Jul 2007
    Age
    29
    Posts
    463
    Thanks given
    88
    Thanks received
    52
    Discord
    View profile
    Rep Power
    87
    Very easy find case 9194:
    and add
    Code:
    				if (c.teleAction == 2) {
    			c.getDH().sendOption5("Assault", "Warriors Guild", "etc", "etc", "etc");
    			c.teleAction = 3;
    				}
    you need add new teleAction too
     

  7. #7  
    Registered Member Beanerrr's Avatar
    Join Date
    Feb 2011
    Posts
    598
    Thanks given
    78
    Thanks received
    28
    Rep Power
    6
    Go to your Mage of Zamorak interface which should have 3 pages of teleports to altars and do something alike.
    Quote Originally Posted by Galkon View Post
    The rules clearly state, if you can't help, don't reply.


    Quote Originally Posted by Mod Josh - Question: How do you ask girls out?
    I can't ask them out, I am banned from the kitchen
    Quote Originally Posted by Penor View Post
    How will i know if its PI based?? Omfg this is sooo confusing!!
     

  8. #8  
    Registered Member
    Join Date
    Feb 2011
    Age
    27
    Posts
    87
    Thanks given
    2
    Thanks received
    17
    Rep Power
    3
    i can help with this, add my msn

    [Only registered and activated users can see links. ]
     

  9. #9  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,108
    Thanks given
    2,402
    Thanks received
    2,825
    Rep Power
    4604
    If you're not still I ended up working on this last night and came up with this, but I dont suggest you use this way, it's pretty sloppy.

    in your dialogueHandler class add a case like this:
    Code:
    		case 139://change this to something more convenient
    			sendOption5("Rock Crabs", "Taverly Dungeon", "Brimhaven Dungeon", "Slayer Tower", "Next");
    			c.dialogueAction = 23;
    		break;
    now in your clickingButtons class there are mostlikely 5 cases that handle that sendOptin5, they are;
    Code:
    case 9190, case 9191, case 9192, case 9193, case 9194
    your fist option is handled by the first case and your second option is handled by the second case etc.

    in your first case 9190 you would add someting like this;

    Code:
    				} else if (c.dialogueAction == 23) {
    					c.getPA().spellTeleport(2676, 3715, 0);//Rock crabs
    Oh and if you cant make it go to the next dialogue then use this little piece of code in the case 9194:

    Code:
    				} else if (c.dialogueAction == 23) {
    					c.getDH().sendDialogues(140, c.npcType);
    hope this helped.
     

  10. Thankful user:


  11. #10  
    Registered Member
    Join Date
    Jun 2010
    Age
    26
    Posts
    892
    Thanks given
    22
    Thanks received
    47
    Rep Power
    0
    Quote Originally Posted by Algorithm View Post
    If you're not still I ended up working on this last night and came up with this, but I dont suggest you use this way, it's pretty sloppy.

    in your dialogueHandler class add a case like this:
    Code:
    		case 139://change this to something more convenient
    			sendOption5("Rock Crabs", "Taverly Dungeon", "Brimhaven Dungeon", "Slayer Tower", "Next");
    			c.dialogueAction = 23;
    		break;
    now in your clickingButtons class there are mostlikely 5 cases that handle that sendOptin5, they are;
    Code:
    case 9190, case 9191, case 9192, case 9193, case 9194
    your fist option is handled by the first case and your second option is handled by the second case etc.

    in your first case 9190 you would add someting like this;

    Code:
    				} else if (c.dialogueAction == 23) {
    					c.getPA().spellTeleport(2676, 3715, 0);//Rock crabs
    Oh and if you cant make it go to the next dialogue then use this little piece of code in the case 9194:

    Code:
    				} else if (c.dialogueAction == 23) {
    					c.getDH().sendDialogues(140, c.npcType);
    hope this helped.
    That was simple :O never thought about it.
    Thanked.
    hi
     

Page 1 of 2 12 LastLast

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. Server status page (this is not a server status page request)
    By The Situationist in forum Application Development
    Replies: 1
    Last Post: 03-14-2013, 08:31 PM
  2. Page Loads Half A Page
    By Ash in forum Complaints
    Replies: 9
    Last Post: 11-05-2009, 10:14 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •