Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Pssst, you are awesome!

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    2.4.3 LUA Warp


    ruckarucka

    Recommended Posts

    Hey guys,

    i script a little warp =]

     

    here's the result..

     

    functions:

    teleport to all citys

    gives the play buff scrolls and flasks that you can fill in this script

    teleport to all t4+ 2.4.3 instances (5er heros and raids)

     

    // dieser warp wurde zu 100% von mir (pew) gescriptet, daher bitte ich euch ihn nicht als euren auszugeben oder nicht ungefragt in andere foren //zustellen! sollten noch probleme auftreten meine ICQ: 197449616
    //die menue option "pew warp", darf natürlich von euch entfernt werden
    
    function On_pewWarp(unit, event, player)
    unit:GossipCreateMenu(1, player, 0)
    unit:GossipMenuAddItem(4, "pew warp", 0, 0)
    unit:GossipMenuAddItem(0, "Zum Playertreff", 2, 0)
    unit:GossipMenuAddItem(0, "Instanzen", 5,  0)
    unit:GossipMenuAddItem(0, "Staedte", 6,  0)
    unit:GossipMenuAddItem(0, "PvP Zonen", 7,  0)
    unit:GossipMenuAddItem(0, "Buffs", 8, 0)
    unit:GossipSendMenu(player)
    end
    
    function pewWarp_Submenu(unit, event, player, id, intid, code)
    if(intid == 1) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(4, "pew warp", 0, 0)
    unit:GossipMenuAddItem(0, "Zum Playertreff", 2, 0)
    unit:GossipMenuAddItem(0, "Instanzen", 5,  0)
    unit:GossipMenuAddItem(0, "Staedte", 6,  0)
    unit:GossipMenuAddItem(0, "PvP Zonen", 7,  0)
    unit:GossipMenuAddItem(0, "Buffs", 8, 0)
    unit:GossipSendMenu(player)
    end
    
    
    --Instanzen
    if(intid == 5) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(0, "Raids", 71, 0)
    unit:GossipMenuAddItem(0, "Heros", 72, 0)
    unit:GossipMenuAddItem(4, "[Zurueck]", 1, 0)
    unit:GossipSendMenu(player)
    end
    
    --Raids
    if(intid == 71) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(0, "Der schwarze Tempel", 50, 0)
    unit:GossipMenuAddItem(0, "Festund der Stuerme", 51, 0)
    unit:GossipMenuAddItem(0, "Karazhan", 49,  0)
    unit:GossipMenuAddItem(0, "Gruul", 63,  0)
    unit:GossipMenuAddItem(0, "Magtheridons Kammer", 64,  0)
    unit:GossipMenuAddItem(0, "Schlangenschrein", 65,  0)
    unit:GossipMenuAddItem(4, "[Zurueck]", 1, 0)
    unit:GossipSendMenu(player)
    end
    
    --Heros
    if(intid == 72) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(0, "Auchindoun (5)", 73, 0)
    unit:GossipMenuAddItem(0, "Hoehlen der Zeit (5)", 74, 0)
    unit:GossipMenuAddItem(0, "Echsenkessel (5)", 75,  0)
    unit:GossipMenuAddItem(0, "Hoellenfeuerzitadelle (5)", 76,  0)
    unit:GossipMenuAddItem(0, "Festung der Stuerme (5)", 77,  0)
    unit:GossipMenuAddItem(4, "[Zurueck]", 5, 0)
    unit:GossipSendMenu(player)
    end
    
    
    -- Staedte
    if(intid == 6) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(0, "Allianz", 53, 0)
    unit:GossipMenuAddItem(0, "Horde", 54, 0)
    unit:GossipMenuAddItem(4, "[Zurueck]", 1, 0)
    unit:GossipSendMenu(player)
    end
    
    -- Allianz Staedte
    if(intid == 53) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(2, "Allianz Staedte", 48, 0)
    unit:GossipMenuAddItem(0, "Sturmwind", 55, 0)
    unit:GossipMenuAddItem(0, "Darnassus", 56, 0)
    unit:GossipMenuAddItem(0, "Eisenschmiede", 57, 0)
    unit:GossipMenuAddItem(0, "Exodar", 58, 0)
    unit:GossipMenuAddItem(4, "[Zurueck]", 6, 0)
    unit:GossipSendMenu(player)
    end
    
    -- Horde Staedte
    if(intid == 54) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(2, "Horde Staedte", 47, 0)
    unit:GossipMenuAddItem(0, "Orgrimmar", 59, 0)
    unit:GossipMenuAddItem(0, "Unterstadt", 60, 0)
    unit:GossipMenuAddItem(0, "Donnerfels", 61, 0)
    unit:GossipMenuAddItem(0, "Silbermond", 62, 0)
    unit:GossipMenuAddItem(4, "[Zurueck]", 6, 0)
    unit:GossipSendMenu(player)
    end
    
    --PvP Zonen
    if(intid == 7) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(2, "Gurubashi Arena", 80, 0)
    unit:GossipMenuAddItem(2, "Nagrand Arena", 81, 0)
    unit:GossipMenuAddItem(2, "Duell-Zone", 82,  0)
    unit:GossipMenuAddItem(4, "[Zurueck]", 1, 0)
    unit:GossipSendMenu(player)
    end
    
    --Buffs
    if(intid == Cool then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(2, "Schriftrollen", 85, 0)
    unit:GossipMenuAddItem(2, "Flasks", 86, 0)
    unit:GossipMenuAddItem(2, "Traenke", 87,  0)
    unit:GossipMenuAddItem(4, "[Zurueck]", 1, 0)
    unit:GossipSendMenu(player)
    end
    
    --Traenke
    if(intid == 85) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(2, "Manatrank", 97, 0)
    unit:GossipMenuAddItem(2, "Gesundheitstrank", 98, 0)
    unit:GossipMenuAddItem(4, "[Zurueck]", 8, 0)
    unit:GossipSendMenu(player)
    end
    
    --Schriftrollen
    if(intid == 85) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(2, "Ausdauer", 88, 0)
    unit:GossipMenuAddItem(2, "Beweglichkeit", 89, 0)
    unit:GossipMenuAddItem(2, "Willenskraft", 90,  0)
    unit:GossipMenuAddItem(2, "Staerke", 91,  0)
    unit:GossipMenuAddItem(2, "Intelligenz", 92,  0)
    unit:GossipMenuAddItem(2, "Ruestung", 93,  0)
    unit:GossipMenuAddItem(4, "[Zurueck]", 8, 0)
    unit:GossipSendMenu(player)
    end
    
    --Flasks, keine eingetragen da jeder pserver andere PT standarts hat!
    if(intid == 86) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(2, "Name1 des fläschen", 94, 0)
    unit:GossipMenuAddItem(2, "Name2 des fläschen", 95, 0)
    unit:GossipMenuAddItem(2, "Name3 des fläschen", 96,  0)
    unit:GossipMenuAddItem(4, "[Zurueck]", 8, 0)
    unit:GossipSendMenu(player)
    end
    
    if (intid == 97) then
    
    			player:AddItem(--ID des trankes, 10)
    
    	end
    
    if (intid == 98) then
    
    			player:AddItem(--ID des trankes, 10)
    
    	end
    
    if (intid == 96) then
    
    			player:AddItem(--ID des fläschen, 10)
    
    	end
    
    if (intid == 95) then
    
    			player:AddItem(--ID des fläschen, 10)
    
    	end
    
    if (intid == 94) then
    
    			player:AddItem(--ID des fläschen, 10)
    
    	end
    
    
    if (intid == 88) then
    
    			player:AddItem(27502, 10)
    
    	end
    
    if (intid == 89) then
    
    			player:AddItem(27498, 10)
    
    	end
    
    if (intid == 90) then
    
    			player:AddItem(27501, 10)
    
    	end
    
    if (intid == 91) then
    
    			player:AddItem(27503, 10)
    
    	end
    
    if (intid == 92) then
    
    			player:AddItem(27499, 10)
    
    	end
    
    if (intid == 93) then
    
    			player:AddItem(27500, 10)
    
    	end
    
    
    --playertreff port von eurem server, gibt bei (0, 000, 000, 000) die gps PT Daten ein
    if (intid == 2) then
    player:Teleport(0, 000, 000, 000)
    end
    
    if (intid == 50) then
    player:Teleport(530, -3636.014648, 318.750000, 36.008945)
    end
    
    if (intid == 51) then
    player:Teleport(530, 3101.767090, 1523.995850, 190.300140)
    end
    
    if (intid == 49) then
    player:Teleport(0, -11130, -2025.833984, 47.253380)
    end
    
    if (intid == 63) then
    player:Teleport(530, 3543.496582, 5089.275391, 3.217825)
    end
    
    if (intid == 64) then
    player:Teleport(530, -334.951080, 3123.766113, -102.989380)
    end
    
    if (intid == 65) then
    player:Teleport(530, 748.828979, 6883.970215, -63.745800)
    end
    
    if (intid == 59) then
    player:Teleport(1, 1244.351074, -4411.314941, 24.037977)
    end
    
    if (intid == 60) then
    player:Teleport(0, 1983.707763, 238.637039, 36.469860)
    end
    
    if (intid == 61) then
    player:Teleport(1, -1275.796387, 200.117096, 67.367455)
    end
    
    if (intid == 62) then
    player:Teleport(530, 9311.267578, -7278.902832, 14.182692)
    end
    
    if(intid == 50) then
    player:Teleport(1, -6329.155762, -2541.576660, 7.921364)
    end
    
    if (intid == 55) then
    player:Teleport(0, -8912.875977, 553.876099, 93.805756)
    end
    
    if (intid == 56) then
    player:Teleport(1, 9985.668945, 1911.622681, 1321.925171)
    end
    
    if (intid == 57) then
    player:Teleport(0, -5215.311035, -674.709961, 432.054810)
    end
    
    if (intid == 73) then
    player:Teleport(530, -3339.832520, 4919.918945, -101.395393)
    end
    
    if (intid == 74) then
    player:Teleport(1, -8598.034180, -4364.726563, -212.546066)
    end
    
    if (intid == 75) then
    player:Teleport(530, 748.828979, 6883.970215, -63.745800)
    end
    
    if (intid == 76) then
    player:Teleport(530, -313.360748, 3096.657471, 11.174215)
    end
    
    if (intid == 77) then
    player:Teleport(530, 3101.767090, 1523.995850, 190.300140)
    end
    
    if (intid == 80) then
    player:Teleport(0, -13248.857422, -71.164032, 19.810692)
    end
    
    if (intid == 81) then
    player:Teleport(530, -2089.677979, 6728.770508, 2.621510)
    end
    -- ihr habt eine duellzone? tragt die gps daten wieder bei 0, 000,000,000 ein
    if (intid == 82) then 
    player:Teleport(0, 000, 000, 000)
    end
    end
    RegisterUnitGossipEvent(50301, 2, "pewWarp_Submenu")
    RegisterUnitGossipEvent(50301, 1, "On_pewWarp")

    Edited by ruckarucka
    Link to comment
    Share on other sites

    and translate to english:

     

    // This warp was 100% scripted by me (pew), pl0x dont post this script in other forums without my allow
    //the menu option "pew warp" can you delete =]
    //if tehre are any questions, add me in icq:197449616
    
    function On_pewWarp(unit, event, player)
    unit:GossipCreateMenu(1, player, 0)
    unit:GossipMenuAddItem(4, "pew warp", 0, 0)
    unit:GossipMenuAddItem(0, "Home", 2, 0)
    unit:GossipMenuAddItem(0, "Instances", 5,  0)
    unit:GossipMenuAddItem(0, "City's", 6,  0)
    unit:GossipMenuAddItem(0, "PvP Zones", 7,  0)
    unit:GossipMenuAddItem(0, "Buffs", 8, 0)
    unit:GossipSendMenu(player)
    end
    
    function pewWarp_Submenu(unit, event, player, id, intid, code)
    if(intid == 1) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(4, "pew warp", 0, 0)
    unit:GossipMenuAddItem(0, "Home", 2, 0)
    unit:GossipMenuAddItem(0, "Instances", 5,  0)
    unit:GossipMenuAddItem(0, "City's", 6,  0)
    unit:GossipMenuAddItem(0, "PvP Zones", 7,  0)
    unit:GossipMenuAddItem(0, "Buffs", 8, 0)
    unit:GossipSendMenu(player)
    end
    
    
    --Instances
    if(intid == 5) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(0, "Raids", 71, 0)
    unit:GossipMenuAddItem(0, "Heros", 72, 0)
    unit:GossipMenuAddItem(4, "[Back]", 1, 0)
    unit:GossipSendMenu(player)
    end
    
    --Raids
    if(intid == 71) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(0, "The Black Temple", 50, 0)
    unit:GossipMenuAddItem(0, "Tempest Keep", 51, 0)
    unit:GossipMenuAddItem(0, "Karazhan", 49,  0)
    unit:GossipMenuAddItem(0, "Gruul", 63,  0)
    unit:GossipMenuAddItem(0, "Magtheridon's Lair", 64,  0)
    unit:GossipMenuAddItem(0, "Serpentshrine Cavern", 65,  0)
    unit:GossipMenuAddItem(4, "[Back]", 1, 0)
    unit:GossipSendMenu(player)
    end
    
    --Heros
    if(intid == 72) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(0, "Auchindoun (5)", 73, 0)
    unit:GossipMenuAddItem(0, "The Caverns of Time (5)", 74, 0)
    unit:GossipMenuAddItem(0, "Coilfang (5)", 75,  0)
    unit:GossipMenuAddItem(0, "Hellfire (5)", 76,  0)
    unit:GossipMenuAddItem(0, "Tempest Keep (5)", 77,  0)
    unit:GossipMenuAddItem(4, "[Back]", 5, 0)
    unit:GossipSendMenu(player)
    end
    
    
    -- city's
    if(intid == 6) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(0, "Alliance", 53, 0)
    unit:GossipMenuAddItem(0, "Horde", 54, 0)
    unit:GossipMenuAddItem(4, "[Back]", 1, 0)
    unit:GossipSendMenu(player)
    end
    
    -- Alliance city's
    if(intid == 53) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(2, "Alliance Citiy's", 48, 0)
    unit:GossipMenuAddItem(0, "Stormwind", 55, 0)
    unit:GossipMenuAddItem(0, "Darnassus", 56, 0)
    unit:GossipMenuAddItem(0, "Ironforge", 57, 0)
    unit:GossipMenuAddItem(0, "Exodar", 58, 0)
    unit:GossipMenuAddItem(4, "[Back]", 6, 0)
    unit:GossipSendMenu(player)
    end
    
    -- Horde city's
    if(intid == 54) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(2, "Horde Staedte", 47, 0)
    unit:GossipMenuAddItem(0, "Orgrimmar", 59, 0)
    unit:GossipMenuAddItem(0, "Undercity", 60, 0)
    unit:GossipMenuAddItem(0, "Thunderbluff", 61, 0)
    unit:GossipMenuAddItem(0, "Silvermoon", 62, 0)
    unit:GossipMenuAddItem(4, "[Back]", 6, 0)
    unit:GossipSendMenu(player)
    end
    
    --PvP Zones
    if(intid == 7) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(2, "Gurubashi Arena", 80, 0)
    unit:GossipMenuAddItem(2, "Nagrand Arena", 81, 0)
    unit:GossipMenuAddItem(2, "Duell-Zone", 82,  0)
    unit:GossipMenuAddItem(4, "[Back]", 1, 0)
    unit:GossipSendMenu(player)
    end
    
    --Buffs
    if(intid == 8) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(2, "Scrolls", 85, 0)
    unit:GossipMenuAddItem(2, "Flasks", 86, 0)
    unit:GossipMenuAddItem(2, "Pots", 87,  0)
    unit:GossipMenuAddItem(4, "[Back]", 1, 0)
    unit:GossipSendMenu(player)
    end
    
    --Pots
    if(intid == 85) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(2, "Manapot", 97, 0)
    unit:GossipMenuAddItem(2, "Healthpot", 98, 0)
    unit:GossipMenuAddItem(4, "[Back]", 8, 0)
    unit:GossipSendMenu(player)
    end
    
    --Scrolls
    if(intid == 85) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(2, "Stamina", 88, 0)
    unit:GossipMenuAddItem(2, "Agility", 89, 0)
    unit:GossipMenuAddItem(2, "Spirit", 90,  0)
    unit:GossipMenuAddItem(2, "Strength", 91,  0)
    unit:GossipMenuAddItem(2, "Intelligence", 92,  0)
    unit:GossipMenuAddItem(2, "Armor", 93,  0)
    unit:GossipMenuAddItem(4, "[Back]", 8, 0)
    unit:GossipSendMenu(player)
    end
    
    --flasks
    if(intid == 86) then
    unit:GossipCreateMenu(16, player, 0)
    unit:GossipMenuAddItem(2, "Name1 of the flask", 94, 0)
    unit:GossipMenuAddItem(2, "Name1 of the flask", 95, 0)
    unit:GossipMenuAddItem(2, "Name1 of the flask", 96,  0)
    unit:GossipMenuAddItem(4, "[Back]", 8, 0)
    unit:GossipSendMenu(player)
    end
    
    if (intid == 97) then
    
    			player:AddItem(--Entry of the pot, 10) 
    
    	end
    
    if (intid == 98) then
    
    			player:AddItem(--Entry of the pot, 10) 
    
    	end
    
    if (intid == 96) then
    
    			player:AddItem(--Entry of the flask, 10) 
    
    	end
    
    if (intid == 95) then
    
    			player:AddItem(--Entrty of the flask, 10) 
    
    	end
    
    if (intid == 94) then
    
    			player:AddItem(--Entry of the flask, 10) 
    
    	end
    
    
    if (intid == 88) then
    
    			player:AddItem(27502, 10) 
    
    	end
    
    if (intid == 89) then
    
    			player:AddItem(27498, 10) 
    
    	end
    
    if (intid == 90) then
    
    			player:AddItem(27501, 10) 
    
    	end
    
    if (intid == 91) then
    
    			player:AddItem(27503, 10) 
    
    	end
    
    if (intid == 92) then
    
    			player:AddItem(27499, 10) 
    
    	end
    
    if (intid == 93) then
    
    			player:AddItem(27500, 10) 
    
    	end
    
    
    --PT gps here in 0, 000, 000, 000)
    if (intid == 2) then
    player:Teleport(0, 000, 000, 000)
    end
    
    if (intid == 50) then
    player:Teleport(530, -3636.014648, 318.750000, 36.008945)
    end
    
    if (intid == 51) then
    player:Teleport(530, 3101.767090, 1523.995850, 190.300140)
    end
    
    if (intid == 49) then
    player:Teleport(0, -11130, -2025.833984, 47.253380)
    end
    
    if (intid == 63) then
    player:Teleport(530, 3543.496582, 5089.275391, 3.217825)
    end
    
    if (intid == 64) then
    player:Teleport(530, -334.951080, 3123.766113, -102.989380)
    end
    
    if (intid == 65) then
    player:Teleport(530, 748.828979, 6883.970215, -63.745800)
    end
    
    if (intid == 59) then
    player:Teleport(1, 1244.351074, -4411.314941, 24.037977)
    end
    
    if (intid == 60) then
    player:Teleport(0, 1983.707763, 238.637039, 36.469860)
    end
    
    if (intid == 61) then
    player:Teleport(1, -1275.796387, 200.117096, 67.367455)
    end
    
    if (intid == 62) then
    player:Teleport(530, 9311.267578, -7278.902832, 14.182692)
    end
    
    if(intid == 50) then
    player:Teleport(1, -6329.155762, -2541.576660, 7.921364)
    end
    
    if (intid == 55) then
    player:Teleport(0, -8912.875977, 553.876099, 93.805756)
    end
    
    if (intid == 56) then
    player:Teleport(1, 9985.668945, 1911.622681, 1321.925171)
    end
    
    if (intid == 57) then
    player:Teleport(0, -5215.311035, -674.709961, 432.054810)
    end
    
    if (intid == 73) then
    player:Teleport(530, -3339.832520, 4919.918945, -101.395393)
    end
    
    if (intid == 74) then
    player:Teleport(1, -8598.034180, -4364.726563, -212.546066)
    end
    
    if (intid == 75) then
    player:Teleport(530, 748.828979, 6883.970215, -63.745800)
    end
    
    if (intid == 76) then
    player:Teleport(530, -313.360748, 3096.657471, 11.174215)
    end
    
    if (intid == 77) then
    player:Teleport(530, 3101.767090, 1523.995850, 190.300140)
    end
    
    if (intid == 80) then
    player:Teleport(0, -13248.857422, -71.164032, 19.810692)
    end
    
    if (intid == 81) then
    player:Teleport(530, -2089.677979, 6728.770508, 2.621510)
    end
    -- your duelzone in 0, 000, 000, 000..
    if (intid == 82) then  
    player:Teleport(0, 000, 000, 000)
    end
    end
    RegisterUnitGossipEvent(50301, 2, "pewWarp_Submenu")
    RegisterUnitGossipEvent(50301, 1, "On_pewWarp")

    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...