[Release] Warp/Rez Sick Remover NPC menu

User Tag List

Results 1 to 4 of 4
  1. #1
    Dr. Livingstone's Avatar Member
    Reputation
    113
    Join Date
    Mar 2008
    Posts
    290
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Release] Warp/Rez Sick Remover NPC

    There you go. I've spent some time working on it, and its not finished yet, but its a start. Feel free to use it for whatever you need Just give credit.

    Code:
    local npcid = 100000
    function warp_on_gossip_talk(unit, event, player)
    	unit:CreatGossipMenuForPlayer(3543, player)
    	unit:MenuAddItem(player, 0, "Horde Cities", 1, 0)
    	unit:MenuAddItem(player, 0, "Azeroth Instances", 2, 0)
    	unit:MenuAddItem(player, 0, "Kalimdor Instances", 3, 0)
    	unit:MenuAddItem(player, 0, "Remove Rez Sickness", 5, 0)
    	unit:MenuSendToPlayer(player)
    end
    
    function warp_on_gossip_select(unit, event, player, id, intid, code)
    	if(intid == 1) then
    	unit:CreateGossipMenuForPlayer(3542, player)
    	unit:MenuAddItem(player, 1, "Orgrimmar", 6, 0)
    	unit:MenuAddItem(player, 1, "Undercity", 7, 0)
    	unit:MenuAddItem(player, 1, "Thunder Bluff", 8, 0)
    	unit:MenuAddItem(player, 1, "Silvermoon City", 9, 0)
    	unit:MenuAddItem(player, 1, "[Back]", 100, 0)
    	unit:MenuSendToPlayer(player)
    end
    
    	if(intid == 2) then
    	unit:CreatGossipMenuForPlayer(3542, player)
    	unit:MenuAddItem(player, 2, "Azeroth Raids", 101, 0)
    	unit:MenuAddItem(player, 2, "Shadowfang Keep", 10, 0)
    	unit:MenuAddItem(player, 2, "Scarlet Monestary", 11, 0)
    	unit:MenuAddItem(player, 2, "Stratholme", 12, 0)
    	unit:MenuAddItem(player, 2, "Scholomance", 13, 0)
    	unit:MenuAddItem(player, 2, "Gnomeregan", 14, 0)
    	unit:MenuAddItem(player, 2, "Uldaman", 15, 0)
    	unit:MenuAddItem(player, 2, "Sunken Temple", 16, 0)
    	unit:MenuAddItem(player, 2, "Blackrock Spire", 17, 0)
    	unit:MenuAddItem(player, 2, "Deadmines", 21, 0)
    	unit:MenuAddItem(player, 2, "[Back]", 100, 0)
    	unit:MenuSendToPlayer(player)
    end
    
    	if(intid == 3) then
    	unit:CreateGossipMenuForPlayer(3542, player)
    	unit:MenuAddItem(player, 3, "Zul'Farrak", 18, 0)
    	unit:MenuAddItem(player, 3, "Ragefire Chasm", 19, 0)
    	unit:MenuAddItem(player, 3, "Wailing Caverns", 20, 0)
    	unit:MenuAddItem(player, 3, "Blackfathom Depths", 22, 0)
    	unit:MenuAddItem(player, 3, "Razorfen Downs", 23, 0)
    	unit:MenuAddItem(player, 3, "Razorfen Kraul", 24, 0)
    	unit:MenuAddItem(player, 3, "Maraudon", 25, 0)
    	unit:MenuAddItem(player, 3, "Dire Maul", 26, 0)
    	unit:MenuAddItem(player, 3, "[Back]", 100, 0)
    	unit:MenuSendToPlayer(player)
    end
    	
    	if(intid == 5) then
    	pUnit:CastSpellOnTarget(15007) 
    	player:UnlearnSpell(15007)
    	pUnit:GossipComplete(player)
    end
    
    if(intid == 6) then
    player:Teleport(1, 1498.845215, -4414.937988, 22.203)
    end
    
    if(intid == 7) then
    player:Teleport(1, 1530.256592, 210.98, -43.1)
    end
    
    if(intid == 8) then
    player:Teleport(0, -1284.997437, 179.616898, 129)
    end
    
    if(intid == 9) then
    player:Teleport(0, 9459.475586, -7280.01, 14.23)
    end
    
    if(intid == 10) then
    player:Teleport(0, -246.061758, 1533.107544, 77.09)
    end
    
    if(intid == 11) then
    player:Teleport(0, 2892.173584, -811.338379, 160.34)
    end
    
    if(intid == 12) then
    player:Teleport(0, 3354.986084, -3379.198486, 144.7871937)
    end
    
    if(intid == 13) then
    player:Teleport(0, 1243.319825, -2591.356201, 90.192810)
    end
    
    if(intid == 14) then
    player:Teleport(0, -5182.606934, 617.909424, 405.46)
    end
    
    if(intid == 15) then
    player:Teleport(0, -6070.064941, -2955.942627, 209.78)
    end
    
    if(intid == 16) then
    player:Teleport(0, -10451.191406, -3822.810303, 18.07)
    end
    
    if(intid == 17) then
    player:Teleport(0, -7495.056129, -1116.887695, 265.74)
    end
    
    if(intid == 21) then
    player:Teleport(0, -11209.875000, 1669.595093, 24.933108)
    end
    
    if(intid == 22) then
    player:Teleport(1, 4139.332031, 891.448730, -18.947780)
    end
    
    if(intid == 23) then
    player:Teleport(1, -4653.043945, -2501.171143, 81.194329)
    end
    
    if(intid == 24) then
    player:Teleport(1, -4464.919922, -1666.239990, 81.892128)
    end
    
    if(intid == 25) then
    player:Teleport(349, 752.909973, -616.530029, -33.110001)
    end
    
    if(intid == 26) then
    player:Teleport(1, -3752.292725, 1044.019287, 162.183167)
    end
    
    RegisterGossipEvent(600002 , 1, "warp_on_gossip_talk")
    RegisterGossipEvent(600002 , 2, "warp_on_gossip_select")
    Code:
    INSERT INTO `creature_names` VALUES ('100000', 'Teleport', 'MMOwned', '', '0', '7', '0', '0', '0', null, '16202', '16202', '0', '0', '1', '1', '1', null);
    INSERT INTO `creature_proto` VALUES ('100000', '70', '70', '35', '10000000', '10000000', '10000000', '1', '1', '1800', '0', '1500', '2500', '1800', '500', '650', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '36000', '0', '0', '0', '0', '0', '0', '0', '1', '0', 'MEMO', '0', '0', '0', '0', '2.5', '8', '14', '0', '0', '0', '0', '0', '0');

    [Release] Warp/Rez Sick Remover NPC
  2. #2
    stoneharry's Avatar Moderator Harry

    Authenticator enabled
    Reputation
    1613
    Join Date
    Sep 2007
    Posts
    4,554
    Thanks G/R
    151/146
    Trade Feedback
    0 (0%)
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    There are a lot already out there
    As you have put in the effert though, I will +Rep

  3. #3
    kainmcloud's Avatar Banned
    Reputation
    15
    Join Date
    Oct 2007
    Posts
    43
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice Thank's +Rep For Effort And +Rep Also For Making Such A Good Script.Sooner Or Later My New Repack Will Be Releasing With My Own Compile May I Use Your Script?

  4. #4
    Dr. Livingstone's Avatar Member
    Reputation
    113
    Join Date
    Mar 2008
    Posts
    290
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Of course you can use my script. Said so in the first post

Similar Threads

  1. [Release] Warp NPC Lua !! ( First Lua Release by Me )
    By Hyldran0 in forum WoW EMU General Releases
    Replies: 17
    Last Post: 01-22-2009, 09:32 AM
  2. Replies: 40
    Last Post: 11-04-2008, 04:03 PM
  3. [Release] Teleport/Morph/Rez Sickness Remover NPC!
    By Dr. Livingstone in forum WoW EMU General Releases
    Replies: 17
    Last Post: 10-31-2008, 09:53 AM
  4. [LUA Release] Warp Npc (Noob friendly)
    By Lytle69 in forum WoW EMU General Releases
    Replies: 6
    Last Post: 10-03-2008, 06:06 PM
All times are GMT -5. The time now is 04:43 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search