Thread: Little help with teleport options

Results 1 to 9 of 9
  1. #1 Little help with teleport options 
    Proud User
    Join Date
    Feb 2011
    Posts
    530
    Thanks given
    69
    Thanks received
    28
    Rep Power
    29
    Basically I'm adding some skilling teleports and I want each teleport to have it's own teleport Menu, so for woodcutting I have added 3 options but when I click "Woodcutting" nothing happens. Here are my codes:

    DialogueHandler

    case 192:
    sendOption3("Draynor Village", "Camelot Yew's", "Watchtower Magic's");
    c.dialogueAction = 122;
    c.dialogueId = 192;
    c.teleAction = -3;
    break;
    ClickingButtons Under case 9190 which is the first option

    } else if (c.teleAction == -3) {
    //Woodcutting Menu
    c.dialogueId = 192;
    c.getDH().sendDialogues(c.dialogueId, 0);
    }
    That's what I have added but the menu does not seem to open, anyone any ideas?
    Reply With Quote  
     

  2. #2  
    Proud User
    Join Date
    Feb 2011
    Posts
    530
    Thanks given
    69
    Thanks received
    28
    Rep Power
    29
    Bump
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Sep 2013
    Posts
    880
    Thanks given
    43
    Thanks received
    57
    Rep Power
    58
    Quote Originally Posted by rocky2k10 View Post
    Basically I'm adding some skilling teleports and I want each teleport to have it's own teleport Menu, so for woodcutting I have added 3 options but when I click "Woodcutting" nothing happens. Here are my codes:

    DialogueHandler



    ClickingButtons Under case 9190 which is the first option



    That's what I have added but the menu does not seem to open, anyone any ideas?
    Code:
    } else if (c.dialogueAction == 122) {
    //Woodcutting Menu
    c.dialogueId = 192;
    c.getDH().sendDialogues(c.dialogueId, 0);
    }
    Reply With Quote  
     

  4. #4  
    -Founder Off Returnofpk-


    Join Date
    Oct 2012
    Age
    28
    Posts
    655
    Thanks given
    97
    Thanks received
    211
    Rep Power
    303
    make it like this

    Code:
    case 192:
    c.getDH().sendOption3("Draynor Village", "Camelot Yew's", "Watchtower Magic's");
    c.teleAction = 6;
    Code:
    } else if (c.teleAction == 6) {
    			c.getPA().spellTeleport(Change this, Change this, 0);
    c.teleAction = you new tele action;
    only keep do like that
    Attached image
    Reply With Quote  
     

  5. #5  
    Proud User
    Join Date
    Feb 2011
    Posts
    530
    Thanks given
    69
    Thanks received
    28
    Rep Power
    29
    Quote Originally Posted by The Reason View Post
    Code:
    } else if (c.dialogueAction == 122) {
    //Woodcutting Menu
    c.dialogueId = 192;
    c.getDH().sendDialogues(c.dialogueId, 0);
    }
    Still no joy
    Reply With Quote  
     

  6. #6  
    -Founder Off Returnofpk-


    Join Date
    Oct 2012
    Age
    28
    Posts
    655
    Thanks given
    97
    Thanks received
    211
    Rep Power
    303
    Quote Originally Posted by rocky2k10 View Post
    Still no joy
    try this

    make it like this

    Code:
    case 192:
    c.getDH().sendOption3("Draynor Village", "Camelot Yew's", "Watchtower Magic's");
    c.teleAction = 6;
    Code:
    } else if (c.teleAction == 6) {
    			c.getPA().spellTeleport(Change this, Change this, 0);
    c.teleAction = you new tele action;
    only keep do like that
    Attached image
    Reply With Quote  
     

  7. #7  
    Proud User
    Join Date
    Feb 2011
    Posts
    530
    Thanks given
    69
    Thanks received
    28
    Rep Power
    29
    Quote Originally Posted by sheepmonger View Post
    try this

    make it like this

    Code:
    case 192:
    c.getDH().sendOption3("Draynor Village", "Camelot Yew's", "Watchtower Magic's");
    c.teleAction = 6;
    Code:
    } else if (c.teleAction == 6) {
    			c.getPA().spellTeleport(Change this, Change this, 0);
    c.teleAction = you new tele action;
    only keep do like that
    Nope did not work, anyone have any idea? Been stuck on this for hours
    Reply With Quote  
     

  8. #8  
    -Founder Off Returnofpk-


    Join Date
    Oct 2012
    Age
    28
    Posts
    655
    Thanks given
    97
    Thanks received
    211
    Rep Power
    303
    Quote Originally Posted by rocky2k10 View Post
    Nope did not work, anyone have any idea? Been stuck on this for hours

    pm me you skype and i help you
    Attached image
    Reply With Quote  
     

  9. #9  
    oof


    Join Date
    Aug 2012
    Posts
    3,150
    Thanks given
    2,847
    Thanks received
    857
    Rep Power
    2260
    post the last 20 lines before the break; of case 9190
    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. Help with this Option teleport
    By Harambe_ in forum Help
    Replies: 3
    Last Post: 07-17-2010, 01:43 PM
  2. Replies: 4
    Last Post: 07-05-2009, 06:55 PM
  3. Need help with teleportation glitch
    By stone warior in forum Help
    Replies: 6
    Last Post: 04-01-2009, 01:15 AM
  4. Little help with worlds!!
    By Rukin1 in forum Help
    Replies: 5
    Last Post: 02-26-2009, 03:01 PM
  5. little help with errors
    By Gluon in forum Help
    Replies: 2
    Last Post: 02-14-2009, 07:58 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
  •