Results 1 to 1 of 1
  1. #1
    Techniker
    Techniker is offline
    Guest
    Join Date
    2016 Oct
    Posts
    1
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    [C++] Teleporter V2 Beta TrinityCore 3.3.5A

    PHP Code:
    #include "ScriptMgr.h"
    #include "ScriptedCreature.h"
    #include "ScriptedGossip.h"
    #include "Player.h"
    #include "Object.h"
    #include "Item.h"
    #include "Config.h"
    #include <cstring>
    #include "GossipDef.h"

    /* Recoded by Shoxxo 
    Credits goes to Rochet2 for helping me!
    Script works 100% 
    */
    class Teleporter : public CreatureScript
    {
    public: 
    Teleporter() : CreatureScript("Teleporter") { }

            
    bool OnGossipHello(PlayerplayerCreaturecreatureoverride
            
    {
                if (
    player->GetTeam() == ALLIANCE)
                {
                    
    /*Here was ClearGossipMenuFor*/ //I removed it !
                    
    AddGossipItemFor(player4"Alliance Cities"GOSSIP_SENDER_MAIN1000);
                    
    AddGossipItemFor(player4"Zum Playertreff"GOSSIP_SENDER_MAIN10000);
                    
    AddGossipItemFor(player4"Neutral Cities"GOSSIP_SENDER_MAIN3000);
                    
    AddGossipItemFor(player4"Dungeons"GOSSIP_SENDER_MAIN5000);
                }
                else
                {
                    
    AddGossipItemFor(player4"Horde Cities"GOSSIP_SENDER_MAIN2000);
                    
    AddGossipItemFor(player4"Zum Playertreff"GOSSIP_SENDER_MAIN20000);
                    
    AddGossipItemFor(player4"Neutral Cities"GOSSIP_SENDER_MAIN3000);
                    
    AddGossipItemFor(player4"Dungeons"GOSSIP_SENDER_MAIN5000);
                }
                
    AddGossipItemFor(player9"SWV Instance (Custom instance)"GOSSIP_SENDER_MAIN30000);
                
    AddGossipItemFor(player9"Gurbashi Arena - PvP"GOSSIP_SENDER_MAIN3500);
                
    AddGossipItemFor(player10"Remove Resurrection Sickness"GOSSIP_SENDER_MAIN4020);
                
    AddGossipItemFor(player10"Max My Skills"GOSSIP_SENDER_MAIN6776);
                
    SendGossipMenuFor(playerDEFAULT_GOSSIP_MESSAGEcreature->GetGUID());
                return 
    true;
            }


            
    void SendDefaultMenu(PlayerplayerCreaturecreatureuint32 action)
            {
                if (
    player->IsInCombat())
                {
                    
    CloseGossipMenuFor(player);
                    
    ChatHandler(player->GetSession()).SendSysMessage("Ich kann dir nicht helfen wenn du im Kampf bist!");
                    return;
                }

                switch (
    action)
                {
                case 
    1000//Alliance Town
                    
    AddGossipItemFor(player10"Darnassus"GOSSIP_SENDER_MAIN1001);
                    
    AddGossipItemFor(player10"Exodar"GOSSIP_SENDER_MAIN1005);
                    
    AddGossipItemFor(player10"Ironforge"GOSSIP_SENDER_MAIN1010);
                    
    AddGossipItemFor(player10"Stormwind"GOSSIP_SENDER_MAIN1015);
                    
    AddGossipItemFor(player4"<- Main Menu"GOSSIP_SENDER_MAIN5005);
                    
    SendGossipMenuFor(playerDEFAULT_GOSSIP_MESSAGEcreature->GetGUID());
                    break;
                case 
    2000//Horde Town
                    
    AddGossipItemFor(player10"Orgrimmar"GOSSIP_SENDER_MAIN2001);
                    
    AddGossipItemFor(player10"Silvermoon"GOSSIP_SENDER_MAIN2005);
                    
    AddGossipItemFor(player10"Thunder Bluff"GOSSIP_SENDER_MAIN2010);
                    
    AddGossipItemFor(player10"Undercity"GOSSIP_SENDER_MAIN2015);
                    
    AddGossipItemFor(player4"<- Main Menu"GOSSIP_SENDER_MAIN5005);
                    
    SendGossipMenuFor(playerDEFAULT_GOSSIP_MESSAGEcreature->GetGUID());
                    break;
                case 
    3000//Neutral Town
                    
    if (player->getClass() == 6)
                    {
                        
    AddGossipItemFor(player10"Ebon Hold"GOSSIP_SENDER_MAIN3001);
                        
    AddGossipItemFor(player10"Booty Bay"GOSSIP_SENDER_MAIN3005);
                        
    AddGossipItemFor(player10"Dalaran"GOSSIP_SENDER_MAIN3010);
                        
    AddGossipItemFor(player10"Everlook"GOSSIP_SENDER_MAIN3015);
                        
    AddGossipItemFor(player10"Gadegetzan"GOSSIP_SENDER_MAIN3020);
                        
    AddGossipItemFor(player10"Mudsprocket"GOSSIP_SENDER_MAIN3025);
                        
    AddGossipItemFor(player10"Ratchet"GOSSIP_SENDER_MAIN3030);
                        
    AddGossipItemFor(player10"Shattrath City"GOSSIP_SENDER_MAIN3035);
                        
    AddGossipItemFor(player10"Isle Of Quel'Danas"GOSSIP_SENDER_MAIN3040);
                        
    AddGossipItemFor(player4"Dungeons ->"GOSSIP_SENDER_MAIN5000);
                        
    AddGossipItemFor(player4"<- Main Menu"GOSSIP_SENDER_MAIN5005);
                    }
                    else
                    {
                        
    AddGossipItemFor(player10"Booty Bay"GOSSIP_SENDER_MAIN3005);
                        
    AddGossipItemFor(player10"Dalaran"GOSSIP_SENDER_MAIN3010);
                        
    AddGossipItemFor(player10"Everlook"GOSSIP_SENDER_MAIN3015);
                        
    AddGossipItemFor(player10"Gadegetzan"GOSSIP_SENDER_MAIN3020);
                        
    AddGossipItemFor(player10"Mudsprocket"GOSSIP_SENDER_MAIN3025);
                        
    AddGossipItemFor(player10"Ratchet"GOSSIP_SENDER_MAIN3030);
                        
    AddGossipItemFor(player10"Shattrath City"GOSSIP_SENDER_MAIN3035);
                        
    AddGossipItemFor(player10"Isle Of Quel'Danas"GOSSIP_SENDER_MAIN3040);
                        
    AddGossipItemFor(player4"Dungeons ->"GOSSIP_SENDER_MAIN5000);
                        
    AddGossipItemFor(player4"<- Main Menu"GOSSIP_SENDER_MAIN5005);
                    }
                    
    SendGossipMenuFor(playerDEFAULT_GOSSIP_MESSAGEcreature->GetGUID());
                    break;
                case 
    5000//Dungeons
                    
    AddGossipItemFor(player4"Kalimdor ->"GOSSIP_SENDER_MAIN5010);
                    
    AddGossipItemFor(player4"Eastern Kingdoms ->"GOSSIP_SENDER_MAIN5015);
                    
    AddGossipItemFor(player4"Outland ->"GOSSIP_SENDER_MAIN5025);
                    
    AddGossipItemFor(player4"Northrend ->"GOSSIP_SENDER_MAIN5030);
                    
    AddGossipItemFor(player4"<- Main Menu"GOSSIP_SENDER_MAIN5005);
                    
    SendGossipMenuFor(playerDEFAULT_GOSSIP_MESSAGEcreature->GetGUID());
                    break;
                case 
    5005//Back To Main Menu
                    
    if (player->GetTeam() == ALLIANCE)
                    {
                        
    AddGossipItemFor(player4"Alliance Cities"GOSSIP_SENDER_MAIN1000);
                        
    AddGossipItemFor(player4"Zum Playertreff"GOSSIP_SENDER_MAIN10000);
                        
    AddGossipItemFor(player4"Neutral Cities"GOSSIP_SENDER_MAIN3000);
                        
    AddGossipItemFor(player4"Dungeons"GOSSIP_SENDER_MAIN5000);
                    }
                    else 
    // Main Menu for Horde
                    
    {
                        
    AddGossipItemFor(player4"Horde Cities"GOSSIP_SENDER_MAIN2000);
                        
    AddGossipItemFor(player4"Zum Playertreff"GOSSIP_SENDER_MAIN20000);
                        
    AddGossipItemFor(player4"Neutral Cities"GOSSIP_SENDER_MAIN3000);
                        
    AddGossipItemFor(player4"Dungeons"GOSSIP_SENDER_MAIN5000);
                    }
                    
    AddGossipItemFor(player9"SWV Instance (Custom instance)"GOSSIP_SENDER_MAIN30000);
                    
    AddGossipItemFor(player9"Gurbashi Arena - PvP"GOSSIP_SENDER_MAIN3500);
                    
    AddGossipItemFor(player10"Remove Resurrection Sickness"GOSSIP_SENDER_MAIN4020);
                    
    AddGossipItemFor(player10"Max My Skills"GOSSIP_SENDER_MAIN6776);
                    
    SendGossipMenuFor(playerDEFAULT_GOSSIP_MESSAGEcreature->GetGUID());
                    break;
                case 
    5010//Kalimdor
                    
    AddGossipItemFor(player10"Blackfathom Deeps"GOSSIP_SENDER_MAIN6001);
                    
    AddGossipItemFor(player10"Caverns of Time"GOSSIP_SENDER_MAIN6005);
                    
    AddGossipItemFor(player10"Dire Maul"GOSSIP_SENDER_MAIN6010);
                    
    AddGossipItemFor(player10"Maraudon"GOSSIP_SENDER_MAIN6015);
                    
    AddGossipItemFor(player10"Onyxia's Lair"GOSSIP_SENDER_MAIN6020);
                    
    AddGossipItemFor(player10"Ragefire Chasm"GOSSIP_SENDER_MAIN6025);
                    
    AddGossipItemFor(player10"Razorfen Downs"GOSSIP_SENDER_MAIN6030);
                    
    AddGossipItemFor(player10"Razorfen Kraul"GOSSIP_SENDER_MAIN6035);
                    
    AddGossipItemFor(player10"Ruins of Ahn'Qiraj"GOSSIP_SENDER_MAIN6040);
                    
    AddGossipItemFor(player10"Temple of Ahn'Qiraj"GOSSIP_SENDER_MAIN6045);
                    
    AddGossipItemFor(player10"Wailing Caverns"GOSSIP_SENDER_MAIN6050);
                    
    AddGossipItemFor(player10"Zul'Farrak"GOSSIP_SENDER_MAIN6055);
                    
    AddGossipItemFor(player4"<- Back"GOSSIP_SENDER_MAIN5000);
                    
    SendGossipMenuFor(playerDEFAULT_GOSSIP_MESSAGEcreature->GetGUID());
                    break;
                case 
    5015//Eastern Kingdoms 1
                    
    AddGossipItemFor(player10"Blackrock Depths"GOSSIP_SENDER_MAIN7001);
                    
    AddGossipItemFor(player10"Blackrock Spire"GOSSIP_SENDER_MAIN7005);
                    
    AddGossipItemFor(player10"Blackwing Lair"GOSSIP_SENDER_MAIN7010);
                    
    AddGossipItemFor(player10"Deadmines"GOSSIP_SENDER_MAIN7015);
                    
    AddGossipItemFor(player10"Gnomeregan"GOSSIP_SENDER_MAIN7020);
                    
    AddGossipItemFor(player10"Isle Of Quel'Danas"GOSSIP_SENDER_MAIN7025);
                    
    AddGossipItemFor(player10"Karazhan"GOSSIP_SENDER_MAIN7030);
                    
    AddGossipItemFor(player10"Molten Core"GOSSIP_SENDER_MAIN7035);
                    
    AddGossipItemFor(player4"More ->"GOSSIP_SENDER_MAIN5020);
                    
    AddGossipItemFor(player4"<- Back"GOSSIP_SENDER_MAIN5000);
                    
    SendGossipMenuFor(playerDEFAULT_GOSSIP_MESSAGEcreature->GetGUID());
                    break;
                case 
    5020//Eastern Kingdoms 2
                    
    AddGossipItemFor(player10"Scarlet Monastery"GOSSIP_SENDER_MAIN7040);
                    
    AddGossipItemFor(player10"Scholomance"GOSSIP_SENDER_MAIN7045);
                    
    AddGossipItemFor(player10"Shadowfang Keep"GOSSIP_SENDER_MAIN7050);
                    
    AddGossipItemFor(player10"Stratholme"GOSSIP_SENDER_MAIN7055);
                    
    AddGossipItemFor(player10"Sunken Temple"GOSSIP_SENDER_MAIN7060);
                    
    AddGossipItemFor(player10"The Stockade"GOSSIP_SENDER_MAIN7065);
                    
    AddGossipItemFor(player10"Uldaman"GOSSIP_SENDER_MAIN7070);
                    
    AddGossipItemFor(player10"Zul'Aman"GOSSIP_SENDER_MAIN7075);
                    
    AddGossipItemFor(player10"Zul'Gurub"GOSSIP_SENDER_MAIN7080);
                    
    AddGossipItemFor(player4"<- Back"GOSSIP_SENDER_MAIN5015);
                    
    AddGossipItemFor(player4"<- Main Menu"GOSSIP_SENDER_MAIN5005);
                    
    SendGossipMenuFor(playerDEFAULT_GOSSIP_MESSAGEcreature->GetGUID());
                    break;
                case 
    5025//Outland
                    
    AddGossipItemFor(player10"Auchindoun"GOSSIP_SENDER_MAIN8001);
                    
    AddGossipItemFor(player10"Black Temple"GOSSIP_SENDER_MAIN8005);
                    
    AddGossipItemFor(player10"Coilfang Reservoir"GOSSIP_SENDER_MAIN8010);
                    
    AddGossipItemFor(player10"Gruul's Lair"GOSSIP_SENDER_MAIN8015);
                    
    AddGossipItemFor(player10"Hellfire Citadel"GOSSIP_SENDER_MAIN8020);
                    
    AddGossipItemFor(player10"Tempest Keep"GOSSIP_SENDER_MAIN8025);
                    
    AddGossipItemFor(player4"<- Back"GOSSIP_SENDER_MAIN5000);
                    
    SendGossipMenuFor(playerDEFAULT_GOSSIP_MESSAGEcreature->GetGUID());
                    break;
                case 
    5030//Northrend
                    
    AddGossipItemFor(player10"Ahn'Kahet"GOSSIP_SENDER_MAIN9001);
                    
    AddGossipItemFor(player10"Azjol-Nerub"GOSSIP_SENDER_MAIN9005);
                    
    AddGossipItemFor(player10"Drak'Tharon Keep"GOSSIP_SENDER_MAIN9010);
                    
    AddGossipItemFor(player10"Gun'Drak"GOSSIP_SENDER_MAIN9015);
                    
    AddGossipItemFor(player10"Icecrown Citadel"GOSSIP_SENDER_MAIN9020);
                    
    AddGossipItemFor(player10"Naxxramas"GOSSIP_SENDER_MAIN9025);
                    
    AddGossipItemFor(player10"The Nexus"GOSSIP_SENDER_MAIN9030);
                    
    AddGossipItemFor(player10"The Obsidian Sanctum"GOSSIP_SENDER_MAIN9035);
                    
    AddGossipItemFor(player10"Utgarde Keep"GOSSIP_SENDER_MAIN9040);
                    
    AddGossipItemFor(player10"Utgarde Pinnacle"GOSSIP_SENDER_MAIN9045);
                    
    AddGossipItemFor(player10"Ulduar"GOSSIP_SENDER_MAIN9050);
                    
    AddGossipItemFor(player10"Violet Hold"GOSSIP_SENDER_MAIN9055);
                    
    AddGossipItemFor(player4"<- Back"GOSSIP_SENDER_MAIN5000);
                    
    SendGossipMenuFor(playerDEFAULT_GOSSIP_MESSAGEcreature->GetGUID());
                    break;
                    
    //////////////////////////////////////////////////ALLIANCE///////////////////////////////////////////////////////////////
                
    case 1001// Darnassus
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(19947.52f2482.73f1316.21f0.0f);
                    break;
                case 
    1005// Exodar
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(530, -3954.20f, -11656.54f, -138.69f0.0f);
                    break;
                case 
    1010// Ironforge
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(0, -4924.07f, -951.95f501.55f5.40f);
                    break;
                case 
    1015// Stormwind
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(0, -8960.14f516.266f96.3568f0.0f);
                    break;
                    
    //////////////////////////////////////////////////HORDE///////////////////////////////////////////////////////////////
                
    case 2001// Orgrimmar
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(11552.5f, -4420.66f8.94802f0.0f);
                    break;
                case 
    2005// Silvermoon
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5309338.74f, -7277.27f13.7895f0.0f);
                    break;
                case 
    2010// Thunder Bluff
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(1, -1290.0f147.033997f129.682007f4.919000f);
                    break;
                case 
    2015// Undercity
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(01819.71f238.79f60.5321f0.0f);
                    break;
                    
    //////////////////////////////////////////////////NEUTRAL///////////////////////////////////////////////////////////////
                
    case 3001:// Ebon Hold
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(02353.530029f, -5665.819824f426.028015f0.596f);
                    break;
                case 
    3005:// Booty Bay
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(0, -14438.2f472.22f15.32f0.65f);
                    break;
                case 
    3010//Dalaran
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5715819.08f643.99f647.80f3.32f);
                    break;
                case 
    3015//Everlook
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(16724.77f, -4610.68f720.78f4.78f);
                    break;
                case 
    3020//Gadgetzan
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(1, -7173.26f, -3785.60f8.37f6.13f);
                    break;
                case 
    3025//Mudsprocket
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(1, -4564.79f, -3172.38f33.93f3.21f);
                    break;
                case 
    3030//Ratchet
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(1, -956.664f, -3754.71f5.33239f0.996637f);
                    break;
                case 
    3035:// Shattrath City
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(530, -1850.209961f5435.821777f, -10.961435f3.403913f);
                    break;
                case 
    3040:// Isle Of Quel'Danas
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(53012947.4f, -6893.31f5.68398f3.09154f);
                    break;
                    
    //////////////////////////////////////////////////KALIMDOR///////////////////////////////////////////////////////////////
                
    case 6001:// Blackfathom Deeps
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(14248.72f744.35f, -24.67f1.34f);
                    break;
                case 
    6005:// Caverns of Time
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(1, -8173.66f, -4746.36f33.84f4.94f);
                    break;
                case 
    6010:// Dire Maul
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(1, -3960.95f1130.64f161.05f0.0f);
                    break;
                case 
    6015:// Maraudon
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(1, -1431.33f2962.34f98.23f4.74f);
                    break;
                case 
    6020:// Onyxia's Lair
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(1, -4707.44f, -3726.82f54.6723f3.8f);
                    break;
                case 
    6025:// Ragefire Chasm
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(11814.47f, -4419.46f, -18.78f5.28f);
                    break;
                case 
    6030:// Razorfen Downs
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(1, -4657.88f, -2525.59f81.4f4.16f);
                    break;
                case 
    6035:// Razorfen Kraul
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(1, -4463.6f, -1664.53f82.26f0.85f);
                    break;
                case 
    6040:// Ruins of Ahn'Qiraj
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(1, -8413.33f1501.27f29.64f2.61f);
                    break;
                case 
    6045:// Temple of Ahn'Qiraj
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(1, -8245.837891f1983.736206f129.071686f0.936195f);
                    break;
                case 
    6050:// Wailing Caverns
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(1, -722.53f, -2226.30f16.94f2.71f);
                    break;
                case 
    6055:// Zul'Farrak
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(1, -6801.9f, -2890.22f8.88f6.25f);
                    break;
                    
    //////////////////////////////////////////////////EASTERN KINGDOMS///////////////////////////////////////////////////////////////
                
    case 7001:// Blackrock Depths
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(0, -7180.57f, -920.04f165.49f5.02f);
                    break;
                case 
    7005:// Blackrock Spire
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(0, -7526.77f, -1225.64f285.73f5.31f);
                    break;
                case 
    7010:// Blackwing Lair
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(469, -7672.61f, -1107.21f396.65f3.75f);
                    break;
                case 
    7015:// Deadmines
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(0, -11208.2f1675.92f24.57f1.48f);
                    break;
                case 
    7020:// Gnomeregan
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(0, -5163.32f927.18f257.158f1.44f);
                    break;
                case 
    7025:// Isle Of Quel'Danas
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(53013010.00f, -6907.64f9.58f4.58f);
                    break;
                case 
    7030:// Karazhan
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(0, -11119.6f, -2011.42f47.09f0.65f);
                    break;
                case 
    7035:// Molten Core
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(2301114.85f, -457.76f, -102.81f3.83f);
                    break;
                case 
    7040:// Scarlet Monastery
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(02843.89f, -693.74f139.32f5.11f);
                    break;
                case 
    7045:// Scholomance
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(01273.06f, -2574.01f92.66f2.06f);
                    break;
                case 
    7050:// Shadowfang Keep
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(0, -239.54f1550.8f76.89f1.18f);
                    break;
                case 
    7055:// Stratholme
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(03370.76f, -3343.63f142.26f5.23f);
                    break;
                case 
    7060:// Sunken Temple
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(0, -10346.92f, -3851.90f, -43.41f6.09f);
                    break;
                case 
    7065:// The Stockade
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(0, -8766.89f844.6f88.43f0.69f);
                    break;
                case 
    7070:// Uldaman
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(0, -6070.72f, -2955.33f209.78f0.05f);
                    break;
                case 
    7075:// Zul'Aman
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5306851.09f, -7979.71f183.54f4.72f);
                    break;
                case 
    7080:// Zul'Gurub
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(0, -11916.4f, -1216.23f92.28f4.75f);
                    break;
                    
    //////////////////////////////////////////////////OUTLAND///////////////////////////////////////////////////////////////
                
    case 8001:// Auchindoun
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(530, -3322.92f4931.02f, -100.56f1.86f);
                    break;
                case 
    8005:// Black Temple
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(530, -3649.1f317.33f35.19f2.97f);
                    break;
                case 
    8010:// Coilfang Reservoir
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(530721.08f6846.77f, -68.75f0.34f);
                    break;
                case 
    8015:// Gruul's Lair
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5303539.01f5082.36f1.69f0.0f);
                    break;
                case 
    8020:// Hellfire Citadel
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(530, -292.71f3146.77f31.60f2.05f);
                    break;
                case 
    8025:// Tempest Keep
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5303087.62f1376.27f184.8f4.63f);
                    break;
                    
    //////////////////////////////////////////////////NORTHREND///////////////////////////////////////////////////////////////
                
    case 9001:// Ahn'Kahet
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5713646.76f2045.17f1.79f4.37f);
                    break;
                case 
    9005:// Azjol-Nerub
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5713675.43f2169.00f35.90f2.29f);
                    break;
                case 
    9010:// Drak'Tharon Keep
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5714450.86f, -2045.25f162.83f0.00f);
                    break;
                case 
    9015:// Gun'Drak
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5716937.54f, -4455.98f450.68f1.00f);
                    break;
                case 
    9020:// Icecrown Citadel
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5716139.24f2233.72f510.79f3.56f);
                    break;
                case 
    9025:// Naxxramas
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5713668.72f, -1262.46f243.622f4.785f);
                    break;
                case 
    9030:// The Nexus
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5713789.95f6961.48f104.23f0.28f);
                    break;
                case 
    9035:// The Obsidian Sanctum
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5713625.78f280.4f, -120.14f3.25f);
                    break;
                case 
    9040:// Ulduar
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5711219.72f, -4865.28f41.25f0.31f);
                    break;
                case 
    9045:// Utgarde Keep
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5711245.69f, -4856.59f216.86f3.45f);
                    break;
                case 
    9050:// Utgarde Pinnacle
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5718976.24f, -1281.33f1059.01f0.58f);
                    break;
                case 
    9055:// Violet Hold
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(5715679.82f486.80f652.40f4.08f);
                    break;
                    
    //////////////////////////////////////////Player Tools////////////////////////////////////////////////////////
                
    case 4020://Remove Res Sickness
                    
    if (player->HasAura(15007))
                    {
                        
    creature->CastSpell(player38588false); // Healing effect
                        
    ChatHandler(player->GetSession()).SendSysMessage("You are now cleaned.");
                        
    player->RemoveAurasDueToSpell(15007);
                        
    CloseGossipMenuFor(player);
                    }
                    
    ChatHandler(player->GetSession()).SendSysMessage("Du hast keine Nachwirkungen.");
                    
    OnGossipHello(playercreature);
                    
    CloseGossipMenuFor(player);
                    return;
                    break;
                    
    // PLAYER TOOLS
                
    case 3500// Arena PvP Option
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(0, -13277.4f127.372f26.1418f1.11878f);
                    break;
                case 
    6776:
                {
                    
    player->UpdateSkillsToMaxSkillsForLevel();
                    
    ChatHandler(player->GetSession()).SendSysMessage("Deine Ferigkeiten wurden auf das Maxumim gesetzt !!!");
                    
    CloseGossipMenuFor(player);
                }
                break;
                
    //////////////////////////////////////////Player Tools////////////////////////////////////////////////////////
                
    case 10000:// Allianz Playertreff
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(02918.74f, -1437.36f150.782f4.28161f);
                    break;
                case 
    20000:// Horde Playertreff
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(17447.3f, -1693.77f194.899f2.43468f);
                    break;
                case 
    30000:// SWV instanz
                    
    CloseGossipMenuFor(player);
                    
    player->TeleportTo(0, -8645.188477f595.820679f95.705704f2.238403f);
                    break;
                }
            }

            
    bool OnGossipSelect(PlayerplayerCreaturecreatureuint32 senderuint32 actionoverride
            
    {
                
    player->PlayerTalkClass->ClearMenus();
                if (
    sender == GOSSIP_SENDER_MAIN)
                    
    SendDefaultMenu(playercreatureaction);
                return 
    true;
            }
    };

    void AddSC_Teleporter()
    {
        new 
    Teleporter();


Similar Threads

  1. [Release] HackREQ 2.0 Beta - The beta you've all been waiting for!
    By MikeJHenry in forum Requiem Bots, Hacks, Cheats
    Replies: 133
    Last Post: 2020-03-31, 04:44 PM
  2. [Hack] Loader (Beta)
    By Chuck in forum Point Blank
    Replies: 0
    Last Post: 2014-12-23, 10:59 PM
  3. [Bot] BoI Bot 1.0 BETA
    By IceWave in forum Battle of the Immortals
    Replies: 8
    Last Post: 2011-08-29, 07:00 PM
  4. AikaSEA Bot 1.0 [BETA STAGE]
    By persaka in forum Trash Bin
    Replies: 2
    Last Post: 2011-05-26, 03:15 PM
  5. [Question] Creating a teleporter - a reality?
    By chez in forum Requiem Online
    Replies: 5
    Last Post: 2011-04-16, 07:24 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
  •