Thread: Dialogues & teleporting?

Results 1 to 6 of 6
  1. #1 Dialogues & teleporting? 
    Registered Member

    Join Date
    Dec 2010
    Posts
    1,982
    Thanks given
    174
    Thanks received
    256
    Rep Power
    223
    Hi. Well if you use 'Home teleport' To go to edge, and run to the Slayer master and ask for a slayer task. instead of giving you a task he teles you to Home teleport (Last tele used)

    Code:
     case 12:
                    sendOption2("Yes I would like a slayer task.", "No I would not like a slayer task.");
                    c.dialogueAction = 5;
                    break;
    But If you relog, and don't use a Teleport he gives you the task no problem.

    I have two options for Home teleport
    Code:
    case 9157:
    				 if (c.teleAction == 60) {
    	                c.getPA().spellTeleport(3212, 3436, 0);
    	               // c.sendMessage("Welcome to home.");
    	                }
    				if (c.caOption2) {
    					c.getDH().sendDialogues(106, c.npcType);
    					c.caOption2 = false;
    				} else if (c.caOption2a) {
    					c.getDH().sendDialogues(102, c.npcType);
    					c.caOption2a = false;
    				} else if (c.usingGamesNeck) {
    					c.getPA().startTeleport2(2899, 3565, 0);
    					c.getPA().removeAllWindows();
    				} else if (c.usingROD) {
    					c.getPA().startTeleport(3314, 3234, 0, "modern");
    				}
                    if (c.teleportAction.equalsIgnoreCase("catherbyskilling")) {
                        c.getPA().spellTeleport(2849, 3431, 0);
                    }
                    if (c.teleportAction.equalsIgnoreCase("faladorteleport")) {
                        c.getPA().spellTeleport(2995, 3385, 0);
                    }
    Code:
    case 9158:
    				if (c.teleAction == 60) {
    	                c.getPA().spellTeleport(3088, 3503, 0);
    	               // c.sendMessage("Welcome to home.");
    	                }
    				if (c.usingGamesNeck) {
    					c.getPA().startTeleport2(2524, 3587, 0);
    				} else if (c.usingROD) {
    					c.getPA().removeAllWindows();
    				} else if (c.caOption2a) {
    					c.getDH().sendDialogues(136, c.npcType);
    					c.caOption2a = false;
    				}
                    if (c.teleportAction.equalsIgnoreCase("catherbyskilling")) {
                        c.getPA().spellTeleport(3056, 3308, 0);
                    }  else if (c.teleportAction.equalsIgnoreCase("faladorteleport")) {
                        c.getPA().spellTeleport(2966, 3386, 0);
                    }
    Reply With Quote  
     

  2. #2  
    Newcomer
    Kode's Avatar
    Join Date
    Dec 2010
    Posts
    192
    Thanks given
    81
    Thanks received
    28
    Rep Power
    26
    break;
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Dec 2010
    Posts
    1,982
    Thanks given
    174
    Thanks received
    256
    Rep Power
    223
    Still occurs. :\

    Code:
    case 9157:
    				 if (c.teleAction == 60) {
    	                c.getPA().spellTeleport(3212, 3436, 0);
    	               // c.sendMessage("Welcome to home.");
    	                break;
    	                }
    Code:
    case 9158:
    				 if (c.teleAction == 60) {
    	                c.getPA().spellTeleport(3212, 3436, 0);
    	               // c.sendMessage("Welcome to home.");
    	                break;
    	                }
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Oct 2008
    Posts
    411
    Thanks given
    9
    Thanks received
    64
    Rep Power
    38
    Quote Originally Posted by Someone View Post
    Still occurs. :\

    Code:
    case 9157:
    				 if (c.teleAction == 60) {
    	                c.getPA().spellTeleport(3212, 3436, 0);
    	               // c.sendMessage("Welcome to home.");
    	                break;
    	                }
    Code:
    case 9158:
    				 if (c.teleAction == 60) {
    	                c.getPA().spellTeleport(3212, 3436, 0);
    	               // c.sendMessage("Welcome to home.");
    	                break;
    	                }
    break;

    should be after the

    }
    Reply With Quote  
     

  5. Thankful user:


  6. #5  
    Registered Member

    Join Date
    Dec 2010
    Posts
    1,982
    Thanks given
    174
    Thanks received
    256
    Rep Power
    223
    Seem to still have a problem with teleporting sometimes..
    Whenever you use a dialogue to teleport (9157) It sometimes teles you to recently teleported places.

    now, I have added break; in all of them. But what about Command teles?

    Like i have :kills, and it teled me to :kills
    Reply With Quote  
     

  7. #6  
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    4,721
    Thanks given
    199
    Thanks received
    1,256
    Rep Power
    1114
    You need to set the dialogueAction and teleportAction to 0 after you teleport.
    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. Black Knights Fortress & Witch's Potion Dialogues
    By Mr Extremez in forum Configuration
    Replies: 21
    Last Post: 11-04-2012, 09:28 PM
  2. [PI] Perfect Teleporting and Tab Teleporting
    By Dexter Morgan in forum Tutorials
    Replies: 18
    Last Post: 04-13-2011, 10:21 AM
  3. [FAGGOTRY] PI Teleporting & Events
    By The Situationist in forum Help
    Replies: 2
    Last Post: 03-16-2011, 05:44 PM
  4. Perfect teleporting gfx & animations
    By madman00901 in forum RS 503+ Client & Server
    Replies: 16
    Last Post: 07-31-2008, 04:34 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
  •