Thread: [PI] Teleports

Results 1 to 7 of 7
  1. #1 [PI] Teleports 
    Banned
    Join Date
    Jul 2011
    Posts
    692
    Thanks given
    169
    Thanks received
    43
    Rep Power
    0
    Hi guys, Need help here.

    So im coding this new pi server and the teleports dont work.

    I leeched the teleport system of SOulSlit but when i click on them, it doesnt teleport me to the place i want to go.

    Here is my Clicking Buttons:

    Spoiler for Clicking Buttons:
    //1st tele option
    case 9190:
    if (c.teleAction == 1) {
    //rock crabs
    c.getPA().spellTeleport(2676, 3715, 0);
    } else if (c.teleAction == 2) {
    //barrows
    c.getPA().spellTeleport(3565, 3314, 0);
    } else if (c.teleAction == 3) {
    //godwars
    c.getPA().spellTeleport(2916, 3612, 0);
    } else if (c.teleAction == 4) {
    //varrock wildy
    c.getPA().spellTeleport(2539, 4716, 0);
    } else if (c.teleAction == 5) {
    c.getPA().spellTeleport(3046,9779,0);
    } else if (c.teleAction == 20) {
    //lum
    c.getPA().spellTeleport(3222, 3218, 0);//3222 3218
    }

    if (c.dialogueAction == 10) {
    c.getPA().spellTeleport(2845, 4832, 0);
    c.dialogueAction = -1;
    } else if (c.dialogueAction == 11) {
    c.getPA().spellTeleport(2786, 4839, 0);
    c.dialogueAction = -1;
    } else if (c.dialogueAction == 12) {
    c.getPA().spellTeleport(2398, 4841, 0);
    c.dialogueAction = -1;
    }
    break;
    //mining - 3046,9779,0
    //smithing - 3079,9502,0

    //2nd tele option
    case 9191:
    if (c.teleAction == 1) {
    //tav dungeon
    c.getPA().spellTeleport(2884, 9798, 0);
    } else if (c.teleAction == 2) {
    //pest control
    c.getPA().spellTeleport(2662, 2650, 0);
    } else if (c.teleAction == 3) {
    //kbd
    c.getPA().spellTeleport(3007, 3849, 0);
    } else if (c.teleAction == 4) {
    //graveyard
    c.getPA().spellTeleport(2978, 3616, 0);
    } else if (c.teleAction == 5) {
    c.getPA().spellTeleport(3079,9502,0);

    } else if (c.teleAction == 20) {
    c.getPA().spellTeleport(3210,3424,0);//3210 3424
    }
    if (c.dialogueAction == 10) {
    c.getPA().spellTeleport(2796, 4818, 0);
    c.dialogueAction = -1;
    } else if (c.dialogueAction == 11) {
    c.getPA().spellTeleport(2527, 4833, 0);
    c.dialogueAction = -1;
    } else if (c.dialogueAction == 12) {
    c.getPA().spellTeleport(2464, 4834, 0);
    c.dialogueAction = -1;
    }
    break;
    //3rd tele option

    case 9192:
    if (c.teleAction == 1) {
    //slayer tower
    c.getPA().spellTeleport(3428, 3537, 0);
    } else if (c.teleAction == 2) {
    //tzhaar
    c.getPA().spellTeleport(2438, 5168, 0);
    c.sendMessage("To fight Jad, enter the cave.");
    } else if (c.teleAction == 3) {
    //dag kings
    c.getPA().spellTeleport(1910, 4367, 0);
    c.sendMessage("Climb down the ladder to get into the lair.");
    } else if (c.teleAction == 4) {
    //Hillz
    c.getPA().spellTeleport(3351, 3659, 0);

    } else if (c.teleAction == 5) {
    c.getPA().spellTeleport(2813,3436,0);
    }
    else if (c.teleAction == 20) {
    c.getPA().spellTeleport(2757,3477,0);
    }

    if (c.dialogueAction == 10) {
    c.getPA().spellTeleport(2713, 4836, 0);
    c.dialogueAction = -1;
    } else if (c.dialogueAction == 11) {
    c.getPA().spellTeleport(2162, 4833, 0);
    c.dialogueAction = -1;
    } else if (c.dialogueAction == 12) {
    c.getPA().spellTeleport(2207, 4836, 0);
    c.dialogueAction = -1;
    }
    break;
    //4th tele option
    case 9193:
    if (c.teleAction == 1) {
    //brimhaven dungeon
    c.getPA().spellTeleport(2710, 9466, 0);
    } else if (c.teleAction == 2) {
    //duel arena
    c.getPA().spellTeleport(3366, 3266, 0);
    } else if (c.teleAction == 3) {
    //chaos elemental
    c.getPA().spellTeleport(3295, 3921, 0);
    } else if (c.teleAction == 4) {
    //Fala
    c.getPA().spellTeleport(2663, 3307, 0);

    } else if (c.teleAction == 5) {
    c.getPA().spellTeleport(2724,3484,0);
    c.sendMessage("For magic logs, try north of the duel arena.");
    }
    if (c.dialogueAction == 10) {
    c.getPA().spellTeleport(2660, 4839, 0);
    c.dialogueAction = -1;
    } else if (c.dialogueAction == 11) {
    //c.getPA().spellTeleport(2527, 4833, 0); astrals here
    c.getRunecrafting().craftRunes(2489);
    c.dialogueAction = -1;
    } else if (c.dialogueAction == 12) {
    //c.getPA().spellTeleport(2464, 4834, 0); bloods here
    c.getRunecrafting().craftRunes(2489);
    c.dialogueAction = -1;

    } else if (c.teleAction == 20) {
    c.getPA().spellTeleport(2964,3378,0);
    }
    break;
    //5th tele option
    case 9194:
    if (c.teleAction == 1) {
    //island
    c.getPA().spellTeleport(3297, 9824, 0);
    } else if (c.teleAction == 2) {
    //last minigame spot
    c.sendMessage("Suggest something for this spot on the forums!");
    c.getPA().closeAllWindows();
    } else if (c.teleAction == 3) {
    //last monster spot
    c.sendMessage("Suggest something for this spot on the forums!");
    c.getPA().closeAllWindows();
    } else if (c.teleAction == 4) {
    //ardy lever
    c.getPA().spellTeleport(2964, 3378, 0);
    } else if (c.teleAction == 5) {
    c.getPA().spellTeleport(2812,3463,0);
    }
    if (c.dialogueAction == 10 || c.dialogueAction == 11) {
    c.dialogueId++;
    c.getDH().sendDialogues(c.dialogueId, 0);
    } else if (c.dialogueAction == 12) {
    c.dialogueId = 17;
    c.getDH().sendDialogues(c.dialogueId, 0);

    } else if (c.teleAction == 20) {
    c.getPA().spellTeleport(3506,3496,0);
    }
    break;


    Any ideas?
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Oct 2012
    Posts
    32
    Thanks given
    2
    Thanks received
    0
    Rep Power
    0
    This is basic stuff you should know.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jul 2012
    Posts
    361
    Thanks given
    185
    Thanks received
    9
    Rep Power
    25
    Quote Originally Posted by Big Timer View Post
    This is basic stuff you should know.
    Are you stupid? He basically put it into this section so he could get some assistants on it, and learn how to do it.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jul 2012
    Posts
    361
    Thanks given
    185
    Thanks received
    9
    Rep Power
    25
    Oh yea, so it is when a npc talks, and offers you to telly somewhere? if so, let me know
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Jul 2011
    Posts
    692
    Thanks given
    169
    Thanks received
    43
    Rep Power
    0
    Its just basic crap which the server im coding does not have.

    Basically Teleports are dissabled. It has the npc teleporting people to places but the teleports it self dont work. It says like "You do not have the required runes to cast this spell"..

    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Jan 2012
    Posts
    176
    Thanks given
    110
    Thanks received
    33
    Rep Power
    43
    Change the cases to yours and make sure the tele options are correct.
    Reply With Quote  
     

  7. #7  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Posts
    6,092
    Thanks given
    2,402
    Thanks received
    2,823
    Rep Power
    4550
    If it works it doesn't have to do with your clicking buttons it's probobly the spellTeleport method or startTeleport in PlayerAssistant. You have to be more specific when asking a question, give more details.
    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. Teleports
    By infallible in forum Help
    Replies: 2
    Last Post: 03-03-2010, 04:58 PM
  2. Teleports
    By tehbeasthax in forum Requests
    Replies: 2
    Last Post: 01-27-2010, 04:36 AM
  3. Teleports on / off
    By 2pro in forum Help
    Replies: 3
    Last Post: 01-26-2010, 06:37 PM
  4. Teleports
    By owndscape in forum Help
    Replies: 3
    Last Post: 10-06-2009, 11:13 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
  •