Warper NPC flag menu

User Tag List

Results 1 to 6 of 6
  1. #1
    lilbdiablo12's Avatar Active Member
    Reputation
    40
    Join Date
    Feb 2008
    Posts
    535
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Warper NPC flag

    Ok so i have done everything for the Warper, and all he says is "Hello wargod, how may i help you?" AND it wont bring up the warps, i have worked and searched for awhile for these... i am confused as to why it wont work

    Warper NPC flag
  2. #2
    Fireblast's Avatar Contributor
    Reputation
    195
    Join Date
    Aug 2008
    Posts
    883
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    lilbdiablo12's Avatar Active Member
    Reputation
    40
    Join Date
    Feb 2008
    Posts
    535
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i tried all these O.O

  4. #4
    lilbdiablo12's Avatar Active Member
    Reputation
    40
    Join Date
    Feb 2008
    Posts
    535
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    local npcid = 8
    
    function Menu_OnGossipTalk(pUnit, event, player, pMisc)
    if (player:IsInCombat() == true) then
    player:SendAreaTriggerMessage("Disabled in combat!")
    else
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(0, "Horde Cities", 13, 0)
    pUnit:GossipMenuAddItem(0, "Alliance Cities", 12, 0)
    pUnit:GossipMenuAddItem(0, "Azeroth Instances", 14, 0)
    pUnit:GossipMenuAddItem(0, "Outland Instances", 15, 0)
    pUnit:GossipMenuAddItem(0, "Azeroth Raids", 16, 0)
    pUnit:GossipMenuAddItem(0, "Outland Raids", 17, 0)
    pUnit:GossipMenuAddItem(1, "The Shopping Mall", 888, 0)
    pUnit:GossipMenuAddItem(1, "Shattrath City", 18,  0)
    pUnit:GossipMenuAddItem(1, "Isle of Quel' Danas", 899, 0)
    pUnit:GossipMenuAddItem(5, "Buff Me Up!", 900, 0)
    pUnit:GossipMenuAddItem(5, "Remove Ressurection Sickness", 901, 0)
    pUnit:GossipSendMenu(player)
    end
    end
    
    function NPC_OnGossip_select(pUnit, event, player, id, intid, code)
    if(intid == 3) then
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(0, "Alliance Cities", 12, 0)
    pUnit:GossipMenuAddItem(0, "Horde Cities", 13, 0)
    pUnit:GossipMenuAddItem(0, "Azeroth Instances", 14, 0)
    pUnit:GossipMenuAddItem(0, "Outland Instances", 15, 0)
    pUnit:GossipMenuAddItem(0, "Azeroth Raids", 16, 0)
    pUnit:GossipMenuAddItem(0, "Outland Raids", 17, 0)
    pUnit:GossipMenuAddItem(5, "Shattrath City", 18, 0)
     pUnit:GossipMenuAddItem(5, "Go Back", 100, 0)
    pUnit:GossipSendMenu(player)
    end
    
    if(intid == 12) then
    pUnit:GossipCreateMenu(3543, player, 0) 
    pUnit:GossipMenuAddItem(5, "Stormwind", 34, 0)
    pUnit:GossipMenuAddItem(5, "Ironforge", 35, 0)
    pUnit:GossipMenuAddItem(5, "Darnassus", 36, 0)
    pUnit:GossipMenuAddItem(5, "The Exodar", 37, 0)
    pUnit:GossipMenuAddItem(5, "Go Back", 100, 0)
    pUnit:GossipSendMenu(player)
    end
    if(intid == 13) then
    pUnit:GossipCreateMenu(3543, player, 0) 
    pUnit:GossipMenuAddItem(5, "Orgrimmar", 38, 0)
    pUnit:GossipMenuAddItem(5, "Undercity", 39, 0)
    pUnit:GossipMenuAddItem(5, "Thunder Bluff", 40, 0)
    pUnit:GossipMenuAddItem(5, "Silvermoon City", 41, 0)
    pUnit:GossipMenuAddItem(5, "Go Back", 100, 0)
    pUnit:GossipSendMenu(player)
    end
    if(intid == 14) then
    pUnit:GossipCreateMenu(3543, player, 0) 
    pUnit:GossipMenuAddItem(5, "Shadowfang Keep", 42, 0)
    pUnit:GossipMenuAddItem(5, "Scarlet Monastery", 43, 0)
    pUnit:GossipMenuAddItem(5, "Zul'Farrak", 44, 0)
    pUnit:GossipMenuAddItem(5, "Scholomance", 45, 0)
    pUnit:GossipMenuAddItem(5, "The Deadmines", 46, 0)
    pUnit:GossipMenuAddItem(5, "Uldaman", 47, 0)
    pUnit:GossipMenuAddItem(5, "Sunken temple", 48, 0)
    pUnit:GossipMenuAddItem(5, "Lower Blackrock Depths", 49, 0)
    pUnit:GossipMenuAddItem(5, "Dire Maul", 50, 0)
    pUnit:GossipMenuAddItem(5, "Upper Blackrock Depths", 51, 0)
    pUnit:GossipMenuAddItem(5, "Go Back", 100, 0)
    pUnit:GossipSendMenu(player)
    end
    if(intid == 15) then
    pUnit:GossipCreateMenu(3543, player, 0) 
    pUnit:GossipMenuAddItem(5, "Hellfire Ramparts", 52, 0)
    pUnit:GossipMenuAddItem(5, "Blood Furnace", 53, 0)
    pUnit:GossipMenuAddItem(5, "Shattered Halls", 54, 0)
    pUnit:GossipMenuAddItem(5, "Underbog", 55, 0)
    pUnit:GossipMenuAddItem(5, "Slave Pens", 56, 0)
    pUnit:GossipMenuAddItem(5, "Mana Tombs", 57, 0)
    pUnit:GossipMenuAddItem(5, "Sethekk Halls", 58, 0)
    pUnit:GossipMenuAddItem(5, "Shadow Lab", 59, 0)
    pUnit:GossipMenuAddItem(5, "Mechanar", 60, 0)
    pUnit:GossipMenuAddItem(5, "Arcatraz", 61, 0)
    pUnit:GossipMenuAddItem(5, "Caverns of Time", 62, 0)
    pUnit:GossipMenuAddItem(5, "Serpentshrine caverns", 63, 0)
    pUnit:GossipMenuAddItem(5, "Go Back", 100, 0)
    pUnit:GossipSendMenu(player)
    end
    if(intid == 16) then
    pUnit:GossipCreateMenu(3543, player, 0) 
    pUnit:GossipMenuAddItem(5, "Onyxias Lair", 64, 0)
    pUnit:GossipMenuAddItem(5, "Molten Core", 65, 0)
    pUnit:GossipMenuAddItem(5, "Blackwing Lair", 66, 0)
    pUnit:GossipMenuAddItem(5, "Zul'Gurub", 67, 0)
    pUnit:GossipMenuAddItem(5, "Karazhan", 68, 0)
    pUnit:GossipMenuAddItem(5, "Ruins of Ahn'Qiraj 20", 69, 0)
    pUnit:GossipMenuAddItem(5, "Temple of Ahn'Qiraj 40", 70, 0)
    pUnit:GossipMenuAddItem(5, "Naxxramas", 71, 0)
    pUnit:GossipMenuAddItem(5, "Zul'Aman", 72, 0)
    pUnit:GossipMenuAddItem(5, "Go Back", 100, 0)
    pUnit:GossipSendMenu(player)
    end
    if(intid == 17) then
    pUnit:GossipCreateMenu(3543, player, 0) 
    pUnit:GossipMenuAddItem(5, "Black Temple", 73, 0)
    pUnit:GossipMenuAddItem(5, "Tempest Keep", 74, 0)
    pUnit:GossipMenuAddItem(5, "Maghteridons Lair", 75, 0)
    pUnit:GossipMenuAddItem(5, "Go Back", 100, 0)
    pUnit:GossipSendMenu(player)
    end
    
    if(intid == 100) then
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(0, "Horde Cities", 13, 0)
    pUnit:GossipMenuAddItem(0, "Alliance Cities", 12, 0)
    pUnit:GossipMenuAddItem(0, "Azeroth Instances", 14, 0)
    pUnit:GossipMenuAddItem(0, "Outland Instances", 15, 0)
    pUnit:GossipMenuAddItem(0, "Azeroth Raids", 16, 0)
    pUnit:GossipMenuAddItem(0, "Outland Raids", 17, 0)
    pUnit:GossipMenuAddItem(1, "The Shopping Mall", 888, 0)
    pUnit:GossipMenuAddItem(1, "Shattrath City", 18,  0)
    pUnit:GossipMenuAddItem(1, "Isle of Quel' Danas", 899, 0)
    pUnit:GossipMenuAddItem(5, "Buff Me Up!", 900, 0)
    pUnit:GossipMenuAddItem(5, "Remove Ressurection Sickness", 901, 0)
    pUnit:GossipSendMenu(player)
    end
    if(intid == 18) then 
    	player:Teleport(530, -1887.510010, 5359.379883, -12.427300)
    end
    if(intid == 27) then
    	player:Teleport(1, 4657.35, -3739.4, 1415.79)
    
    end
    if(intid == 29) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(31984)
    	
    end
    if(intid == 30) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(35354)
    	
    end
    if(intid == 31) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(32686)
    	
    end
    if(intid == 32) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(41937)
    	
    end
    if(intid == 33) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(38917)
    	
    end
    if(intid == 34) then
    	player:Teleport(0, -9005, 869, 29.621)
    end
    if(intid == 35) then
    	player:Teleport(0, -4977.095215, -888.452942, 501.621216)
    end
    if(intid == 36) then
    	player:Teleport(1, 9943.809570, 2275.350098, 1341.390015)
    end
    if(intid == 37) then
    	player:Teleport(530, -3792.557861, -11691.3, -105.241)
    end
    if(intid == 38) then
    	player:Teleport(1, 1371.068970, -4370.801758, 26.052483)
    end
    if(intid == 39) then
    	player:Teleport(0, 2050.203125, 285.650604, 56.994549)
    end
    if(intid == 40) then
    	player:Teleport(1, -1304.569946, 205.285004, 68.681396)
    end
    if(intid == 41) then
    	player:Teleport(530, 9400.486328, -7278.376953, 14.206780)
    end
    if(intid == 42) then
    	player:Teleport(0, -234.495087, 1561.946411, 76.892143)
    end
    if(intid == 43) then
    	player:Teleport(0, 2870.442627, -819.985229, 160.331085)
    end
    if(intid == 44) then
    	player:Teleport(1, -6797.278809, -2903.917969, 9.953360)
    end
    if(intid == 45) then
    	player:Teleport(0, 1267.468628, -2556.651367, 94.127983)
    end
    if(intid == 46) then
    	player:Teleport(0, -11079.8, 1506.98, 42.9594)
    end
    if(intid == 47) then
    	player:Teleport(70, -228.193, 46.1602, -45.0186)
    end
    if(intid == 48) then
    	player:Teleport(0, -10349.1, -3849.67, -24.6078)
    end
    if(intid == 49) then
    	player:Teleport(230, 596.432, -188.498, -49)
    end
    if(intid == 50) then
    	player:Teleport(429, 254.588, -24.7395, -1.56062)
    end
    if(intid == 51) then
    	player:Teleport(229, 73.5083, -215.044, 53.3869)
    end
    if(intid == 52) then
    	player:Teleport(530, -360.670990, 3071.899902, -15.097700)
    end
    if(intid == 53) then
    	player:Teleport(530, -303.506012, 3164.820068, 31.742500)
    end
    if(intid == 54) then
    	player:Teleport(530, -311.083527, 3083.291748, -3.745923)
    end
    if(intid == 55) then
    	player:Teleport(530, 777.088989, 6763.450195, -72.062561)
    end
    if(intid == 56) then
    	player:Teleport(530, 719.507996, 6999.339844, -73.074303)
    end
    if(intid == 57) then
    	player:Teleport(530, -3079.810059, 4943.040039, -101.046997)
    end
    if(intid == 58) then
    	player:Teleport(530, -3362.219971, 4660.410156, -101.049004)
    end
    if(intid == 59) then
    	player:Teleport(530, -3645.060059, 4943.620117, -101.047997)
    end
    if(intid == 60) then
    	player:Teleport(530, 2862.409912, 1546.089966, 252.158691)
    end
    if(intid == 61) then
    	player:Teleport(530, 3311.598145, 1332.745117, 505.557251)
    end
    if(intid == 62) then
    	player:Teleport(1, -8519.718750, -4297.542480, -208.441376)
    end
    if(intid == 63) then
    	player:Teleport(530, 830.542908, 6865.445801, -63.785503)
    end
    if(intid == 64) then
    	player:Teleport(1, -4746, -3749, -4)
    end
    if(intid == 65) then
    	player:Teleport(409, 1089.6, -470.19, -106.41)
    end
    if(intid == 66) then
    	player:Teleport(469, -7665.55, -1102.49, 400.679)
    end
    if(intid == 67) then
    	player:Teleport(0, -11919.073242, -1202.459374, 92.298744)
    end
    if(intid == 68) then
    	player:Teleport(532, -11087.3, -1977.47, 49.6135)
    end
    if(intid == 69) then
    	player:Teleport(1, -8394.730469, 1485.658447, 21.038563)
    end
    if(intid == 70) then
    	player:Teleport(1, -8247.316406, 1970.156860, 129.071472)
    end
    if(intid == 71) then
    	player:Teleport(533, 3006.06, -3436.72, 293.891)
    end
    if(intid == 72) then
    	player:Teleport(530, 6850, -7950, 170)
    end
    if(intid == 73) then
    	player:Teleport(530, -3609.739990, 328.252014, 37.307701)
    end
    if(intid == 74) then
    	player:Teleport(530, 3087.310059, 1373.790039, 184.643005)
    end
    if(intid == 75) then
    	player:Teleport(530, -313.678986, 3088.350098, -116.501999)
    end
    if(intid == 79) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(9078)
    end
    if(intid == 80) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(9077)
    	
    end
    if(intid == 81) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(8737)
    	
    end
    if(intid == 82) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(750)
    	
    end
    if(intid == 83) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(9116)
    	
    end
    if(intid == 84) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(264)
    	
    end
    if(intid == 85) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(5011)
    	
    end
    if(intid == 86) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(266)
    	
    end
    if(intid == 87) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(2567)
    	
    end
    if(intid == 88) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(5009)
    	
    end
    if(intid == 89) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(196)
    	
    end
    if(intid == 90) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(198)
    	
    end
    if(intid == 91) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(201)
    	
    end
    if(intid == 92) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(1180)
    	
    end
    if(intid == 93) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(15590)
    	
    end
    if(intid == 94) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(197)
    	
    end
    if(intid == 95) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(199)
    	
    end
    if(intid == 96) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(202)
    	
    end
    if(intid == 97) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(227)
    	
    end
    if(intid == 98) then
    	local plr = pUnit:GetClosestPlayer()
    	plr:LearnSpell(200)
    
    end
    
    if(intid == 899) then 
     player:Teleport(530, 12956.072266, -6943.814453, 9.968110)
     pUnit:GossipComplete(player)
     end
    
    if(intid == 900) then 
     player:LearnSpell(33081)
     player:LearnSpell(33082)
     pUnit:GossipComplete(player)
     end
    
    if(intid == 901) then
     player:LearnSpell(15007)
     player:UnlearnSpell(15007)
     end
    
     if(intid == 888) then
     player:Teleport(1,-11830.678711,-4753.388672,6.243729)
     pUnit:GossipComplete(player)
     end
    
    end
     
    RegisterUnitGossipEvent(8,1,"Menu_OnGossipTalk")
    RegisterUnitGossipEvent(8,2,"NPC_OnGossip_select")
    Well here is my script, anything wrong wit hit?

  5. #5
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Is your NPC's entry ID 8?

    And if you look in the console it should say that your lua script was loaded, if it was without errors, then check the console when you talk to the NPC. It should have an error.

    If its not even loading in your console make sure you have lua turned on in your conf.

    I live in a shoe

  6. #6
    superdus's Avatar Member
    Reputation
    1
    Join Date
    Sep 2008
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    how do u load a lua script, do u just put it in a notepad thing and stick it in lua where your lua file is?

Similar Threads

  1. [Question] .npc flags 1 - howto?
    By joelieherp in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 10-18-2008, 06:02 AM
  2. Warper NPC Edit
    By moltn in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 08-04-2008, 02:27 PM
  3. NPC Flags
    By HypeRLight in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 06-02-2008, 01:42 AM
  4. List of NPC Flags
    By latruwski in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 03-29-2008, 08:05 AM
  5. NPC Flags (Very Handy!)
    By Gastricpenguin in forum WoW EMU Guides & Tutorials
    Replies: 4
    Last Post: 11-09-2007, 08:09 PM
All times are GMT -5. The time now is 11:12 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search