[Lua] Issue with Teleporter menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    trujillo's Avatar Member
    Reputation
    4
    Join Date
    Jun 2008
    Posts
    111
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Lua] Issue with Teleporter

    can anyone tell me what i am doing wrong with this lua teleporter?

    Code:
    function GMTeleUnit_OnUse(Unit, Event)
    	Unit:GossipCreateMenu(500, player, 0)
    	Unit:GossipMenuAddUnit(1, "GMisland", 1, 0)
    	Unit:GossipMenuAddUnit(1, "Icecrown Citadel", 2, 0)
    	Unit:GossipMenuAddUnit(1, "Icecrown Horde Outpost", 3, 0)
    	Unit:GossipMenuAddUnit(1, "Icecrown Alliance Outpost", 4, 0)
    	Unit:GossipMenuAddUnit(1, "GM Hangout", 5, 0)
    	Unit:GossipMenuAddUnit(1, "Gm Gear", 12, 0)
    	Unit:GossipMenuAddUnit(1, "Gm Spells", 15, 0)
    	Unit:GossipMenuAddUnit(1, "Weaponskills", 22, 0)
    	Unit:GossipSendMenu(player)
    end 
    function GMTeleUnit_OnSelect(Unit, Event)
    	if (intid == 1) then
    	player:Teleport(1, 16222.599609, 16265.900391, 13.209117)
    	end
    	
    	if (intid == 2) then
    	player:Teleport(631, 70.545593, 2211.211426, 30.115700)
    	end
    	
    	if (intid == 3) then
    	player:Teleport(571, 6453.004883, 2299.976807, 474.883026)
    	end
    	
    	if (intid == 4) then
    	player:Teleport(571, 6450.705566, 2435.738037, 468.665955)
    	end
    	
    	if (intid == 5) then
    	Unit:GossipCreateMenu(501, player, 0)
    	Unit:GossipMenuAddUnit(1, "Level 1", 6, 0)
    	Unit:GossipMenuAddUnit(1, "Level 2", 7, 0)
    	Unit:GossipMenuAddUnit(1, "Level 3", 8, 0)
    	Unit:GossipMenuAddUnit(1, "Level 4", 9, 0)
    	Unit:GossipMenuAddUnit(1, "Level 5", 10, 0)
    	Unit:GossipMenuAddUnit(1, "Level 6", 11, 0)
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 6) then
    	player:Teleport(1, 16177.634766, 16136.790039, 8.130977)
    	end
    	
    	if (intid == 7) then
    	player:Teleport(1, 16187.945313, 16185.541016, 17.390097)
    	end
    	
    	if (intid == 8) then
    	player:Teleport(1, 16173.592773, 16157.426758, 20.313612)
    	end
    	
    	if (intid == 9) then
    	player:Teleport(1, 16184.386719, 16171.801758, 24.886801)
    	end
    	
    	if (intid == 10) then
    	player:Teleport(mapid, x, y, z)
    	end
    	
    	if(intid == 11) then
    	player:Teleport(mapid, x, y, z)
    	end
    	
    	if(intid == 12) then
    	Unit:GossipCreateMenu(503, player, 0)
    	Unit:GossipMenuAddUnit(1, "Weapons", 13, 0)
    	Unit:GossipMenuAddUnit(1, "Armor", 14, 0)
    	Unit:GossipSendMenu(player)
    	end
    	if (intid == 13) then
    	
    	end
    	
    	if (intid == 14) then
    	player:AddUnit(190001, 1)
    	player:AddUnit(190002, 1)
    	player:AddUnit(190003, 1)
    	player:AddUnit(190004, 1)
    	player:AddUnit(190005, 1)
    	player:AddUnit(190006, 1)
    	player:AddUnit(190007, 1)
    	player:AddUnit(190008, 1)
    	player:AddUnit(190009, 1)
    	player:AddUnit(190000, 1)
    	end
    	
    	if (intid == 15) then
    	Unit:GossipCreatMenu(504, player, 0)
    	Unit:GossipMenuAddUnit(1, "Titan's Grip", 16, 0)
    	Unit:GossipMenuAddUnit(1, "AOE .kill", 17, 0)
    	Unit:GossipMenuAddUnit(1, "Holyform", 18, 0)
    	Unit:GossipMenuAddUnit(1, "Berserker Aura", 19, 0)
    	Unit:GossipMenuAddUnit(1, "Defensive Aura", 20, 0)
    	Unit:GossipMenuAddUnit(1, "Owl Form", 21, 0)
    	Unit:GossipMenuAddUnit(1, "Battle Supremacy", 41, 0)
    	end
    	
    	if (intid == 16) then
    	player:Learn(49152)
    	player:Learn(46917)
    	player:Learn(50483)
    	Unit:GossipCreateMenu(526, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 17) then
    	player:Learn(265)
    	Unit:GossipCreateMenu(527, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 18) then
    	player:Learn(46565)
    	Unit:GosspCreateMenu(528, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 19) then
    	Player:Learn(41107)
    	Unit:GossipCreateMenu(529, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 20) then
    	player:Learn(41105)
    	Unit:GossipCreateMenu(530, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if(intid == 21) then
    	Player:Learn(8152)
    	Unit:GossipCreateMenu(531, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 41) then
    	player:Learn(45743)
    	Unit:GossipCreateMenu(532, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 22) then
    	Unit:GossipCreateMenu(505, player, 0)
    	Unit:GossipMenuAddUnit(1, "Bows", 23, 0)
    	Unit:GossipMenuAddUnit(1, "Crossbows", 24, 0)
    	Unit:GossipMenuAddUnit(1, "Daggers", 25, 0)
    	Unit:GossipMenuAddUnit(1, "Dual Wield", 26, 0)
    	Unit:GossipMenuAddUnit(1, "Fist Weapons", 27, 0)
    	Unit:GossipMenuAddUnit(1, "Guns", 28, 0)
    	Unit:GossipMenuAddUnit(1, "Page 2", 29, 0)
    	end
    	
    	if (intid == 29) then
    	Unit:GossipCreateMenu(506, player, 0)
    	Unit:GossipMenuAddUnit(1, "One-handed Axes", 30, 0)
    	Unit:GossipMenuAddUnit(1, "One-handed Maces", 31, 0)
    	Unit:GossipMenuAddUnit(1, "One-Handed Swords", 32, 0)
    	Unit:GossipMenuAddUnit(1, "Polearms", 33, 0)
    	Unit:GossipMenuAddUnit(1, "Staves", 34, 0)
    	Unit:GossipMenuAddUnit(1, "Thrown", 35, 0)
    	Unit:GossipMenuAddUnit(1, "Two-handed Axes", 36, 0)
    	Unit:GossipMenuAddUnit(1, "Page 3", 37, 0)
    	end
    	
    	if (intid == 37) then
    	Unit:GossipCreateMenu(507, player, 0)
    	Unit:GossipMenuAddUnit(1, "Two-handed Maces", 38, 0)
    	Unit:GossipMenuAddUnit(1, "Two-handed Swords", 39, 0)
    	Unit:GossipMenuAddUnit(1, "Wands", 40, 0)
    	end
    	
    	if (intid == 23) then
    	player:Learn(3018)
    	player:Learn(75)
    	player:Learn(264)
    	Unit:GossipCreateMenu(508, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 24) then
    	player:Learn(511)
    	Unit:GossipCreateMenu(509, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 25) then
    	player:Learn(1180)
    	Unit:GossipCreateMenu(512, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 26) then
    	player:Learn(674)
    	Unit:GossipCreateMenu(513, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 27) then
    	player:Learn(15590)
    	Unit:GossipCreateMenu(514, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 28) then
    	player:Learn(266)
    	player:Learn(75)
    	player:Learn(3018)
    	Unit:GossipCreateMenu(515, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 30) then
    	player:Learn(196)
    	Unit:GossipCreateMenu(516, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 31) then
    	player:Learn(198)
    	Unit:GossipCreateMenu(517, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 32) then
    	player:Learn(201)
    	Unit:GossipCreateMenu(518, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 33) then
    	player:Learn(200)
    	Unit:GossipCreateMenu(519, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 34) then
    	player:Learn(227)
    	Unit:GossipCreateMenu(520, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 35) then
    	player:Learn(2567)
    	player:Learn(2764)
    	Unit:GossipCreateMenu(521, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 36) then
    	player:Learn(197)
    	Unit:GossipCreateMenu(522, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 38) then
    	player:Learn(199)
    	Unit:GossipCreateMenu(523, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 39) then
    	player:Learn(202)
    	Unit:GossipCreateMenu(524, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 40) then
    	player:Learn(5009)
    	Unit:GossipCreateMenu(525, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    end
    RegisterUnitGossipEvent(1834168, 1, "GMTeleUnit_OnUse")
    RegisterUnitGossipEvent(1834168, 2, "GMTeleUnit_OnSelect")
    sorry for it being so long lol

    [Lua] Issue with Teleporter
  2. #2
    Kiev's Avatar Contributor
    Reputation
    288
    Join Date
    Nov 2007
    Posts
    1,819
    Thanks G/R
    0/4
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    We need a error, something to look on to find whats wrong.




  3. #3
    trujillo's Avatar Member
    Reputation
    4
    Join Date
    Jun 2008
    Posts
    111
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol nvm i found the problem i used the auto replace feature on notepad++ lol and it replace the wrong item tags lol

  4. #4
    trujillo's Avatar Member
    Reputation
    4
    Join Date
    Jun 2008
    Posts
    111
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmm i guess i didnt fix it cuz now when i use it it makes my server crash:/
    heres the code i have now

    Code:
    function GMTeleUnit_OnUse(Unit, Event)
    	Unit:GossipCreateMenu(500, player, 0)
    	Unit:GossipMenuAddItem(1, "GMisland", 1, 0)
    	Unit:GossipMenuAddItem(1, "Icecrown Citadel", 2, 0)
    	Unit:GossipMenuAddItem(1, "Icecrown Horde Outpost", 3, 0)
    	Unit:GossipMenuAddItem(1, "Icecrown Alliance Outpost", 4, 0)
    	Unit:GossipMenuAddItem(1, "GM Hangout", 5, 0)
    	Unit:GossipMenuAddItem(1, "Gm Gear", 12, 0)
    	Unit:GossipMenuAddItem(1, "Gm Spells", 15, 0)
    	Unit:GossipMenuAddItem(1, "Weaponskills", 22, 0)
    	Unit:GossipSendMenu(player)
    end 
    function GMTeleUnit_OnSelect(Unit, Event)
    	if (intid == 1) then
    	player:Teleport(1, 16222.599609, 16265.900391, 13.209117)
    	end
    	
    	if (intid == 2) then
    	player:Teleport(631, 70.545593, 2211.211426, 30.115700)
    	end
    	
    	if (intid == 3) then
    	player:Teleport(571, 6453.004883, 2299.976807, 474.883026)
    	end
    	
    	if (intid == 4) then
    	player:Teleport(571, 6450.705566, 2435.738037, 468.665955)
    	end
    	
    	if (intid == 5) then
    	Unit:GossipCreateMenu(501, player, 0)
    	Unit:GossipMenuAddItem(1, "Level 1", 6, 0)
    	Unit:GossipMenuAddItem(1, "Level 2", 7, 0)
    	Unit:GossipMenuAddItem(1, "Level 3", 8, 0)
    	Unit:GossipMenuAddItem(1, "Level 4", 9, 0)
    	Unit:GossipMenuAddItem(1, "Level 5", 10, 0)
    	Unit:GossipMenuAddItem(1, "Level 6", 11, 0)
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 6) then
    	player:Teleport(1, 16177.634766, 16136.790039, 8.130977)
    	end
    	
    	if (intid == 7) then
    	player:Teleport(1, 16187.945313, 16185.541016, 17.390097)
    	end
    	
    	if (intid == 8) then
    	player:Teleport(1, 16173.592773, 16157.426758, 20.313612)
    	end
    	
    	if (intid == 9) then
    	player:Teleport(1, 16184.386719, 16171.801758, 24.886801)
    	end
    	
    	if (intid == 10) then
    	player:Teleport(mapid, x, y, z)
    	end
    	
    	if(intid == 11) then
    	player:Teleport(mapid, x, y, z)
    	end
    	
    	if(intid == 12) then
    	Unit:GossipCreateMenu(503, player, 0)
    	Unit:GossipMenuAddItem(1, "Weapons", 13, 0)
    	Unit:GossipMenuAddItem(1, "Armor", 14, 0)
    	Unit:GossipSendMenu(player)
    	end
    	if (intid == 13) then
    	
    	end
    	
    	if (intid == 14) then
    	player:AddItem(190001, 1)
    	player:AddItem(190002, 1)
    	player:AddItem(190003, 1)
    	player:AddItem(190004, 1)
    	player:AddItem(190005, 1)
    	player:AddItem(190006, 1)
    	player:AddItem(190007, 1)
    	player:AddItem(190008, 1)
    	player:AddItem(190009, 1)
    	player:AddItem(190000, 1)
    	end
    	
    	if (intid == 15) then
    	Unit:GossipCreatMenu(504, player, 0)
    	Unit:GossipMenuAddItem(1, "Titan's Grip", 16, 0)
    	Unit:GossipMenuAddItem(1, "AOE .kill", 17, 0)
    	Unit:GossipMenuAddItem(1, "Holyform", 18, 0)
    	Unit:GossipMenuAddItem(1, "Berserker Aura", 19, 0)
    	Unit:GossipMenuAddItem(1, "Defensive Aura", 20, 0)
    	Unit:GossipMenuAddItem(1, "Owl Form", 21, 0)
    	Unit:GossipMenuAddItem(1, "Battle Supremacy", 41, 0)
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 16) then
    	player:Learn(49152)
    	player:Learn(46917)
    	player:Learn(50483)
    	Unit:GossipCreateMenu(526, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 17) then
    	player:Learn(265)
    	Unit:GossipCreateMenu(527, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 18) then
    	player:Learn(46565)
    	Unit:GosspCreateMenu(528, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 19) then
    	Player:Learn(41107)
    	Unit:GossipCreateMenu(529, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 20) then
    	player:Learn(41105)
    	Unit:GossipCreateMenu(530, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if(intid == 21) then
    	Player:Learn(8152)
    	Unit:GossipCreateMenu(531, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 41) then
    	player:Learn(45743)
    	Unit:GossipCreateMenu(532, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 22) then
    	Unit:GossipCreateMenu(505, player, 0)
    	Unit:GossipMenuAddItem(1, "Bows", 23, 0)
    	Unit:GossipMenuAddItem(1, "Crossbows", 24, 0)
    	Unit:GossipMenuAddItem(1, "Daggers", 25, 0)
    	Unit:GossipMenuAddItem(1, "Dual Wield", 26, 0)
    	Unit:GossipMenuAddItem(1, "Fist Weapons", 27, 0)
    	Unit:GossipMenuAddItem(1, "Guns", 28, 0)
    	Unit:GossipMenuAddItem(1, "Page 2", 29, 0)
    	end
    	
    	if (intid == 29) then
    	Unit:GossipCreateMenu(506, player, 0)
    	Unit:GossipMenuAddItem(1, "One-handed Axes", 30, 0)
    	Unit:GossipMenuAddItem(1, "One-handed Maces", 31, 0)
    	Unit:GossipMenuAddItem(1, "One-Handed Swords", 32, 0)
    	Unit:GossipMenuAddItem(1, "Polearms", 33, 0)
    	Unit:GossipMenuAddItem(1, "Staves", 34, 0)
    	Unit:GossipMenuAddItem(1, "Thrown", 35, 0)
    	Unit:GossipMenuAddItem(1, "Two-handed Axes", 36, 0)
    	Unit:GossipMenuAddItem(1, "Page 3", 37, 0)
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 37) then
    	Unit:GossipCreateMenu(507, player, 0)
    	Unit:GossipMenuAddItem(1, "Two-handed Maces", 38, 0)
    	Unit:GossipMenuAddItem(1, "Two-handed Swords", 39, 0)
    	Unit:GossipMenuAddItem(1, "Wands", 40, 0)
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 23) then
    	player:Learn(3018)
    	player:Learn(75)
    	player:Learn(264)
    	Unit:GossipCreateMenu(508, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 24) then
    	player:Learn(511)
    	Unit:GossipCreateMenu(509, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 25) then
    	player:Learn(1180)
    	Unit:GossipCreateMenu(512, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 26) then
    	player:Learn(674)
    	Unit:GossipCreateMenu(513, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 27) then
    	player:Learn(15590)
    	Unit:GossipCreateMenu(514, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 28) then
    	player:Learn(266)
    	player:Learn(75)
    	player:Learn(3018)
    	Unit:GossipCreateMenu(515, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 30) then
    	player:Learn(196)
    	Unit:GossipCreateMenu(516, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 31) then
    	player:Learn(198)
    	Unit:GossipCreateMenu(517, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 32) then
    	player:Learn(201)
    	Unit:GossipCreateMenu(518, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 33) then
    	player:Learn(200)
    	Unit:GossipCreateMenu(519, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 34) then
    	player:Learn(227)
    	Unit:GossipCreateMenu(520, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 35) then
    	player:Learn(2567)
    	player:Learn(2764)
    	Unit:GossipCreateMenu(521, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 36) then
    	player:Learn(197)
    	Unit:GossipCreateMenu(522, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 38) then
    	player:Learn(199)
    	Unit:GossipCreateMenu(523, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 39) then
    	player:Learn(202)
    	Unit:GossipCreateMenu(524, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 40) then
    	player:Learn(5009)
    	Unit:GossipCreateMenu(525, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    end
    RegisterUnitGossipEvent(1834168, 1, "GMTeleUnit_OnUse")
    RegisterUnitGossipEvent(1834168, 2, "GMTeleUnit_OnSelect")

  5. #5
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,503
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    function GMTeleUnit_OnSelect(Unit, player, Event)
        if (intid == 1) then
        player:Teleport(1, 16222.599609, 16265.900391, 13.209117)end
    You're trying to call the player: Function but you havn't registered it at the top of your function.

    Edit: Same with your final line of the first function, Unit:GossipSendMenu(player) you need to add player to the function at the top.

  6. #6
    trujillo's Avatar Member
    Reputation
    4
    Join Date
    Jun 2008
    Posts
    111
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok well i just didnt know this cuz back before luahyparc you never had to do that...
    and i thought player was a set function just like pUnit/Gobj?
    Last edited by trujillo; 03-03-2010 at 05:42 PM.

  7. #7
    trujillo's Avatar Member
    Reputation
    4
    Join Date
    Jun 2008
    Posts
    111
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    local player = GetName()
    function GMTeleUnit_OnGossip(Unit, Event)
    local IsPlyrGm = Plyr:GetGmRank()
    if (IsPlyrGm == az or z) then
    	Unit:GossipCreateMenu(500, player, 0)
    	Unit:GossipMenuAddItem(1, "GMisland", 1, 0)
    	Unit:GossipMenuAddItem(1, "Icecrown Citadel", 2, 0)
    	Unit:GossipMenuAddItem(1, "Icecrown Horde Outpost", 3, 0)
    	Unit:GossipMenuAddItem(1, "Icecrown Alliance Outpost", 4, 0)
    	Unit:GossipMenuAddItem(1, "GM Hangout", 5, 0)
    	Unit:GossipMenuAddItem(1, "Gm Gear", 12, 0)
    	Unit:GossipMenuAddItem(1, "Gm Spells", 15, 0)
    	Unit:GossipMenuAddItem(1, "Weaponskills", 22, 0)
    	Unit:GossipSendMenu(player)
    	else
    	player:Teleport(
    end 
    function GMTeleUnit_OnSelect(Unit, Event)
    	if (intid == 1) then
    	player:Teleport(1, 16222.599609, 16265.900391, 13.209117)
    	end
    	
    	if (intid == 2) then
    	player:Teleport(631, 70.545593, 2211.211426, 30.115700)
    	end
    	
    	if (intid == 3) then
    	player:Teleport(571, 6453.004883, 2299.976807, 474.883026)
    	end
    	
    	if (intid == 4) then
    	player:Teleport(571, 6450.705566, 2435.738037, 468.665955)
    	end
    	
    	if (intid == 5) then
    	Unit:GossipCreateMenu(501, player, 0)
    	Unit:GossipMenuAddItem(1, "Level 1", 6, 0)
    	Unit:GossipMenuAddItem(1, "Level 2", 7, 0)
    	Unit:GossipMenuAddItem(1, "Level 3", 8, 0)
    	Unit:GossipMenuAddItem(1, "Level 4", 9, 0)
    	Unit:GossipMenuAddItem(1, "Level 5", 10, 0)
    	Unit:GossipMenuAddItem(1, "Level 6", 11, 0)
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 6) then
    	player:Teleport(1, 16177.634766, 16136.790039, 8.130977)
    	end
    	
    	if (intid == 7) then
    	player:Teleport(1, 16187.945313, 16185.541016, 17.390097)
    	end
    	
    	if (intid == 8) then
    	player:Teleport(1, 16173.592773, 16157.426758, 20.313612)
    	end
    	
    	if (intid == 9) then
    	player:Teleport(1, 16184.386719, 16171.801758, 24.886801)
    	end
    	
    	if (intid == 10) then
    	player:Teleport(mapid, x, y, z)
    	end
    	
    	if(intid == 11) then
    	player:Teleport(mapid, x, y, z)
    	end
    	
    	if(intid == 12) then
    	Unit:GossipCreateMenu(503, player, 0)
    	Unit:GossipMenuAddItem(1, "Weapons", 13, 0)
    	Unit:GossipMenuAddItem(1, "Armor", 14, 0)
    	Unit:GossipSendMenu(player)
    	end
    	if (intid == 13) then
    	
    	end
    	
    	if (intid == 14) then
    	player:AddItem(190001, 1)
    	player:AddItem(190002, 1)
    	player:AddItem(190003, 1)
    	player:AddItem(190004, 1)
    	player:AddItem(190005, 1)
    	player:AddItem(190006, 1)
    	player:AddItem(190007, 1)
    	player:AddItem(190008, 1)
    	player:AddItem(190009, 1)
    	player:AddItem(190000, 1)
    	end
    	
    	if (intid == 15) then
    	Unit:GossipCreatMenu(504, player, 0)
    	Unit:GossipMenuAddItem(1, "Titan's Grip", 16, 0)
    	Unit:GossipMenuAddItem(1, "AOE .kill", 17, 0)
    	Unit:GossipMenuAddItem(1, "Holyform", 18, 0)
    	Unit:GossipMenuAddItem(1, "Berserker Aura", 19, 0)
    	Unit:GossipMenuAddItem(1, "Defensive Aura", 20, 0)
    	Unit:GossipMenuAddItem(1, "Owl Form", 21, 0)
    	Unit:GossipMenuAddItem(1, "Battle Supremacy", 41, 0)
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 16) then
    	player:Learn(49152)
    	player:Learn(46917)
    	player:Learn(50483)
    	Unit:GossipCreateMenu(526, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 17) then
    	player:Learn(265)
    	Unit:GossipCreateMenu(527, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 18) then
    	player:Learn(46565)
    	Unit:GosspCreateMenu(528, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 19) then
    	Player:Learn(41107)
    	Unit:GossipCreateMenu(529, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 20) then
    	player:Learn(41105)
    	Unit:GossipCreateMenu(530, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if(intid == 21) then
    	Player:Learn(8152)
    	Unit:GossipCreateMenu(531, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 41) then
    	player:Learn(45743)
    	Unit:GossipCreateMenu(532, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 22) then
    	Unit:GossipCreateMenu(505, player, 0)
    	Unit:GossipMenuAddItem(1, "Bows", 23, 0)
    	Unit:GossipMenuAddItem(1, "Crossbows", 24, 0)
    	Unit:GossipMenuAddItem(1, "Daggers", 25, 0)
    	Unit:GossipMenuAddItem(1, "Dual Wield", 26, 0)
    	Unit:GossipMenuAddItem(1, "Fist Weapons", 27, 0)
    	Unit:GossipMenuAddItem(1, "Guns", 28, 0)
    	Unit:GossipMenuAddItem(1, "Page 2", 29, 0)
    	end
    	
    	if (intid == 29) then
    	Unit:GossipCreateMenu(506, player, 0)
    	Unit:GossipMenuAddItem(1, "One-handed Axes", 30, 0)
    	Unit:GossipMenuAddItem(1, "One-handed Maces", 31, 0)
    	Unit:GossipMenuAddItem(1, "One-Handed Swords", 32, 0)
    	Unit:GossipMenuAddItem(1, "Polearms", 33, 0)
    	Unit:GossipMenuAddItem(1, "Staves", 34, 0)
    	Unit:GossipMenuAddItem(1, "Thrown", 35, 0)
    	Unit:GossipMenuAddItem(1, "Two-handed Axes", 36, 0)
    	Unit:GossipMenuAddItem(1, "Page 3", 37, 0)
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 37) then
    	Unit:GossipCreateMenu(507, player, 0)
    	Unit:GossipMenuAddItem(1, "Two-handed Maces", 38, 0)
    	Unit:GossipMenuAddItem(1, "Two-handed Swords", 39, 0)
    	Unit:GossipMenuAddItem(1, "Wands", 40, 0)
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 23) then
    	player:Learn(3018)
    	player:Learn(75)
    	player:Learn(264)
    	Unit:GossipCreateMenu(508, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 24) then
    	player:Learn(511)
    	Unit:GossipCreateMenu(509, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 25) then
    	player:Learn(1180)
    	Unit:GossipCreateMenu(512, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 26) then
    	player:Learn(674)
    	Unit:GossipCreateMenu(513, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 27) then
    	player:Learn(15590)
    	Unit:GossipCreateMenu(514, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 28) then
    	player:Learn(266)
    	player:Learn(75)
    	player:Learn(3018)
    	Unit:GossipCreateMenu(515, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 30) then
    	player:Learn(196)
    	Unit:GossipCreateMenu(516, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 31) then
    	player:Learn(198)
    	Unit:GossipCreateMenu(517, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 32) then
    	player:Learn(201)
    	Unit:GossipCreateMenu(518, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 33) then
    	player:Learn(200)
    	Unit:GossipCreateMenu(519, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 34) then
    	player:Learn(227)
    	Unit:GossipCreateMenu(520, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 35) then
    	player:Learn(2567)
    	player:Learn(2764)
    	Unit:GossipCreateMenu(521, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 36) then
    	player:Learn(197)
    	Unit:GossipCreateMenu(522, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 38) then
    	player:Learn(199)
    	Unit:GossipCreateMenu(523, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 39) then
    	player:Learn(202)
    	Unit:GossipCreateMenu(524, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 40) then
    	player:Learn(5009)
    	Unit:GossipCreateMenu(525, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    end
    RegisterUnitGossipEvent(1834168, 1, "GMTeleUnit_OnGossip")
    RegisterUnitGossipEvent(1834168, 2, "GMTeleUnit_OnSelect")
    is that right?

  8. #8
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,503
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No you're still missing player.

    function GMTeleUnit_OnGossip(Unit, player, Event)


  9. #9
    trujillo's Avatar Member
    Reputation
    4
    Join Date
    Jun 2008
    Posts
    111
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what? i have local player = GetName() right at the top of the script? i dont get what you mean by this because i never remember having to do this before it was just a set one like gobj and unit and item
    this was adding in LUAhyparc?

    edit: wait do you mean like this?
    Code:
    function GMTeleUnit_OnGossip(Unit, Event, player)
    local IsPlyrGm = Plyr:GetGmRank()
    if (IsPlyrGm == az or z) then
    	Unit:GossipCreateMenu(500, player, 0)
    	Unit:GossipMenuAddItem(1, "GMisland", 1, 0)
    	Unit:GossipMenuAddItem(1, "Icecrown Citadel", 2, 0)
    	Unit:GossipMenuAddItem(1, "Icecrown Horde Outpost", 3, 0)
    	Unit:GossipMenuAddItem(1, "Icecrown Alliance Outpost", 4, 0)
    	Unit:GossipMenuAddItem(1, "GM Hangout", 5, 0)
    	Unit:GossipMenuAddItem(1, "Gm Gear", 12, 0)
    	Unit:GossipMenuAddItem(1, "Gm Spells", 15, 0)
    	Unit:GossipMenuAddItem(1, "Weaponskills", 22, 0)
    	Unit:GossipSendMenu(player)
    	else
    	player:SendChatMessage(
    	player:Teleport(
    end 
    function GMTeleUnit_OnSelect(unit, event, player, id, intid, code)
    	if (intid == 1) then
    	player:Teleport(1, 16222.599609, 16265.900391, 13.209117)
    	end
    	
    	if (intid == 2) then
    	player:Teleport(631, 70.545593, 2211.211426, 30.115700)
    	end
    	
    	if (intid == 3) then
    	player:Teleport(571, 6453.004883, 2299.976807, 474.883026)
    	end
    	
    	if (intid == 4) then
    	player:Teleport(571, 6450.705566, 2435.738037, 468.665955)
    	end
    	
    	if (intid == 5) then
    	Unit:GossipCreateMenu(501, player, 0)
    	Unit:GossipMenuAddItem(1, "Level 1", 6, 0)
    	Unit:GossipMenuAddItem(1, "Level 2", 7, 0)
    	Unit:GossipMenuAddItem(1, "Level 3", 8, 0)
    	Unit:GossipMenuAddItem(1, "Level 4", 9, 0)
    	Unit:GossipMenuAddItem(1, "Level 5", 10, 0)
    	Unit:GossipMenuAddItem(1, "Level 6", 11, 0)
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 6) then
    	player:Teleport(1, 16177.634766, 16136.790039, 8.130977)
    	end
    	
    	if (intid == 7) then
    	player:Teleport(1, 16187.945313, 16185.541016, 17.390097)
    	end
    	
    	if (intid == 8) then
    	player:Teleport(1, 16173.592773, 16157.426758, 20.313612)
    	end
    	
    	if (intid == 9) then
    	player:Teleport(1, 16184.386719, 16171.801758, 24.886801)
    	end
    	
    	if (intid == 10) then
    	player:Teleport(mapid, x, y, z)
    	end
    	
    	if(intid == 11) then
    	player:Teleport(mapid, x, y, z)
    	end
    	
    	if(intid == 12) then
    	Unit:GossipCreateMenu(503, player, 0)
    	Unit:GossipMenuAddItem(1, "Weapons", 13, 0)
    	Unit:GossipMenuAddItem(1, "Armor", 14, 0)
    	Unit:GossipSendMenu(player)
    	end
    	if (intid == 13) then
    	
    	end
    	
    	if (intid == 14) then
    	player:AddItem(190001, 1)
    	player:AddItem(190002, 1)
    	player:AddItem(190003, 1)
    	player:AddItem(190004, 1)
    	player:AddItem(190005, 1)
    	player:AddItem(190006, 1)
    	player:AddItem(190007, 1)
    	player:AddItem(190008, 1)
    	player:AddItem(190009, 1)
    	player:AddItem(190000, 1)
    	end
    	
    	if (intid == 15) then
    	Unit:GossipCreatMenu(504, player, 0)
    	Unit:GossipMenuAddItem(1, "Titan's Grip", 16, 0)
    	Unit:GossipMenuAddItem(1, "AOE .kill", 17, 0)
    	Unit:GossipMenuAddItem(1, "Holyform", 18, 0)
    	Unit:GossipMenuAddItem(1, "Berserker Aura", 19, 0)
    	Unit:GossipMenuAddItem(1, "Defensive Aura", 20, 0)
    	Unit:GossipMenuAddItem(1, "Owl Form", 21, 0)
    	Unit:GossipMenuAddItem(1, "Battle Supremacy", 41, 0)
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 16) then
    	player:Learn(49152)
    	player:Learn(46917)
    	player:Learn(50483)
    	Unit:GossipCreateMenu(526, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 17) then
    	player:Learn(265)
    	Unit:GossipCreateMenu(527, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 18) then
    	player:Learn(46565)
    	Unit:GosspCreateMenu(528, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 19) then
    	Player:Learn(41107)
    	Unit:GossipCreateMenu(529, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 20) then
    	player:Learn(41105)
    	Unit:GossipCreateMenu(530, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if(intid == 21) then
    	Player:Learn(8152)
    	Unit:GossipCreateMenu(531, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 41) then
    	player:Learn(45743)
    	Unit:GossipCreateMenu(532, player, 0)
    	intid = 15
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 22) then
    	Unit:GossipCreateMenu(505, player, 0)
    	Unit:GossipMenuAddItem(1, "Bows", 23, 0)
    	Unit:GossipMenuAddItem(1, "Crossbows", 24, 0)
    	Unit:GossipMenuAddItem(1, "Daggers", 25, 0)
    	Unit:GossipMenuAddItem(1, "Dual Wield", 26, 0)
    	Unit:GossipMenuAddItem(1, "Fist Weapons", 27, 0)
    	Unit:GossipMenuAddItem(1, "Guns", 28, 0)
    	Unit:GossipMenuAddItem(1, "Page 2", 29, 0)
    	end
    	
    	if (intid == 29) then
    	Unit:GossipCreateMenu(506, player, 0)
    	Unit:GossipMenuAddItem(1, "One-handed Axes", 30, 0)
    	Unit:GossipMenuAddItem(1, "One-handed Maces", 31, 0)
    	Unit:GossipMenuAddItem(1, "One-Handed Swords", 32, 0)
    	Unit:GossipMenuAddItem(1, "Polearms", 33, 0)
    	Unit:GossipMenuAddItem(1, "Staves", 34, 0)
    	Unit:GossipMenuAddItem(1, "Thrown", 35, 0)
    	Unit:GossipMenuAddItem(1, "Two-handed Axes", 36, 0)
    	Unit:GossipMenuAddItem(1, "Page 3", 37, 0)
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 37) then
    	Unit:GossipCreateMenu(507, player, 0)
    	Unit:GossipMenuAddItem(1, "Two-handed Maces", 38, 0)
    	Unit:GossipMenuAddItem(1, "Two-handed Swords", 39, 0)
    	Unit:GossipMenuAddItem(1, "Wands", 40, 0)
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 23) then
    	player:Learn(3018)
    	player:Learn(75)
    	player:Learn(264)
    	Unit:GossipCreateMenu(508, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 24) then
    	player:Learn(511)
    	Unit:GossipCreateMenu(509, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 25) then
    	player:Learn(1180)
    	Unit:GossipCreateMenu(512, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 26) then
    	player:Learn(674)
    	Unit:GossipCreateMenu(513, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 27) then
    	player:Learn(15590)
    	Unit:GossipCreateMenu(514, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 28) then
    	player:Learn(266)
    	player:Learn(75)
    	player:Learn(3018)
    	Unit:GossipCreateMenu(515, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 30) then
    	player:Learn(196)
    	Unit:GossipCreateMenu(516, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 31) then
    	player:Learn(198)
    	Unit:GossipCreateMenu(517, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 32) then
    	player:Learn(201)
    	Unit:GossipCreateMenu(518, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 33) then
    	player:Learn(200)
    	Unit:GossipCreateMenu(519, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 34) then
    	player:Learn(227)
    	Unit:GossipCreateMenu(520, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 35) then
    	player:Learn(2567)
    	player:Learn(2764)
    	Unit:GossipCreateMenu(521, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 36) then
    	player:Learn(197)
    	Unit:GossipCreateMenu(522, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 38) then
    	player:Learn(199)
    	Unit:GossipCreateMenu(523, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 39) then
    	player:Learn(202)
    	Unit:GossipCreateMenu(524, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    	
    	if (intid == 40) then
    	player:Learn(5009)
    	Unit:GossipCreateMenu(525, player, 0)
    	intid = 22
    	Unit:GossipSendMenu(player)
    	end
    end
    RegisterUnitGossipEvent(1834168, 1, "GMTeleUnit_OnGossip")
    RegisterUnitGossipEvent(1834168, 2, "GMTeleUnit_OnSelect")
    Last edited by trujillo; 03-04-2010 at 06:21 PM.

  10. #10
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,503
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep you've got it, add the player to the function.

  11. #11
    trujillo's Avatar Member
    Reputation
    4
    Join Date
    Jun 2008
    Posts
    111
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol sorry its been a while since i used lua and +Rep for the help

    edit:lol oops cant say I gotta spread:P
    edit:still not working:/ it opens the npc gossip window but it just says hey there, player name, how can i help you?
    Last edited by trujillo; 03-04-2010 at 06:35 PM.

  12. #12
    Sparta12's Avatar Member
    Reputation
    2
    Join Date
    Feb 2008
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by trujillo View Post
    lol sorry its been a while since i used lua and +Rep for the help

    edit:lol oops cant say I gotta spread:P
    edit:still not working:/ it opens the npc gossip window but it just says hey there, player name, how can i help you?
    LUA file tied to the proper ID of the NPC?

  13. #13
    trujillo's Avatar Member
    Reputation
    4
    Join Date
    Jun 2008
    Posts
    111
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes it is tied to the right npc id

  14. #14
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,503
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you get any error message in the console?

  15. #15
    trujillo's Avatar Member
    Reputation
    4
    Join Date
    Jun 2008
    Posts
    111
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    lol oh yea i forgot to fill in the coords to the place i want it to teleport you if your not a gm thanks for reminding me about that part of debugging a script GZ

Page 1 of 2 12 LastLast

Similar Threads

  1. [LUA] Help with Teleporter.
    By iRyuzaki in forum WoW EMU Questions & Requests
    Replies: 7
    Last Post: 06-12-2009, 07:43 PM
  2. [Lua] - Problem With Teleporter
    By shadowslayer133 in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 09-16-2008, 04:02 PM
  3. am having issues with Chrispee's antrix
    By krisfahnz in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 09-09-2007, 01:32 PM
  4. Issue with starting Antrix.exe
    By LampShade in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 08-30-2007, 04:00 AM
  5. Issues with Deeprun Tram exploit
    By shade599 in forum World of Warcraft Exploration
    Replies: 3
    Last Post: 03-25-2007, 08:01 AM
All times are GMT -5. The time now is 03:52 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