[Guide] LUA teleporter NPC template and guide!! menu

Shout-Out

User Tag List

Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 35
  1. #16
    ziPlet's Avatar Active Member
    Reputation
    19
    Join Date
    May 2007
    Posts
    88
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've got a problem.
    I do everything exact as u said and i didnt changed anything, but then i spawn the npc and i'm getting a other list like: Two handed Weapons, One handed Weapons, Ranged.

    [Guide] LUA teleporter NPC template and guide!!
  2. #17
    ziPlet's Avatar Active Member
    Reputation
    19
    Join Date
    May 2007
    Posts
    88
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    NVm its already working i needed to delete the old warper npc's

  3. #18
    hello789's Avatar Member
    Reputation
    1
    Join Date
    Dec 2008
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So I tried making my own. And the NPC don't have the Teleport list.
    And I put the NPC ID too.
    Any Suggestion?

  4. #19
    CoDHeRo's Avatar Member
    Reputation
    1
    Join Date
    Feb 2009
    Posts
    26
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    er4mm how do i excecute it to my database cuz i gave up on wow servers and i came back and now i forgot

  5. #20
    Warraven's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    2
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great guide, +Rep
    This really helped me alot with understanding LUA files aswell as the teleporter.
    Thanks!

  6. #21
    brue's Avatar Member
    Reputation
    1
    Join Date
    Jul 2008
    Posts
    33
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    good guide, but i got 2 questions: i like to make a teleport item so how to export as a lua item so the item picks up the script. Seccond: i like to create my own lua file but how do i get the npc to do it i gotta save it as??

  7. #22
    Totergott's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thank you so much

    I'm new the whole hosting server stuff and this is exactly what I've been looking for.

  8. #23
    D1zl3's Avatar Member
    Reputation
    4
    Join Date
    Jan 2009
    Posts
    80
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey I remade another 1 aswell so I could have 1 horde and 1 alliance, but when is apwn them both, they still show both horde locations. Got any ideas?

    Horde:

    Code:
    function On_Gossip(unit, event, player)
    unit:GossipCreateMenu(3544, player, 0)
    unit:GossipMenuAddItem(2, "Neutral Cities", 1, 0)
    unit:GossipMenuAddItem(2, "Horde Cities", 2, 0)
    unit:GossipMenuAddItem(2, "Custom Instances", 3, 0)
    unit:GossipMenuAddItem(2, "Leveling Road", 4, 0)
    unit:GossipSendMenu(player)
    end
    
    function Gossip_Submenus(unit, event, player, id, intid, code)
    
    if(intid == 999) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(2, "Neutral Cities", 1, 0)
    unit:GossipMenuAddItem(2, "Horde Cities", 2, 0)
    unit:GossipMenuAddItem(2, "Custom Instances", 3, 0)
    unit:GossipMenuAddItem(2, "Leveling Road", 4, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 1) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Dalaran", 500, 0)
    unit:GossipMenuAddItem(1, "Shattrath", 509, 0)
    unit:GossipMenuAddItem(0, "[Back]", 1999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 2) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Orgrimmar", 505, 0)
    unit:GossipMenuAddItem(1, "Undercity", 506, 0)
    unit:GossipMenuAddItem(1, "Thunder Bluff", 507, 0)
    unit:GossipMenuAddItem(1, "Silvermoon", 508, 0)
    unit:GossipMenuAddItem(0, "[Back]", 1999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 3) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "The Shattered Halls", 501, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 4) then
    unit:GossipCreateMenu(3543, player, 0)
    unit:GossipMenuAddItem(1, "Hyjal Road", 510, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 500) then
    player:Teleport(571, 5798.553711, 645.019287, 647.477783)
    unit:GossipComplete(player)
    end
    
    if(intid == 501) then
    player:Teleport(530, -306.220032, 3058.318848, -2.530)
    unit:GossipComplete(player)
    end
    
    if(intid == 502) then
    player:Teleport(0, -4982.447266, -880.969604, 501.659882)
    unit:GossipComplete(player)
    end
    
    if(intid == 503) then
    player:Teleport(1, 9946.639648, 2610.149414, 1316.256348)
    unit:GossipComplete(player)
    end
    
    if(intid == 504) then
    player:Teleport(530, -4008.085205, -11885.257813, -1.419589)
    unit:GossipComplete(player)
    end
    
    if(intid == 505) then
    player:Teleport(1, 1505.377319, -4414.602539, 20.598469)
    unit:GossipComplete(player)
    end
    
    if(intid == 506) then
    player:Teleport(0, 1831.750854, 238.543503, 60.478447)
    unit:GossipComplete(player)
    end
    
    if(intid == 507) then
    player:Teleport(1, -1282.347534, 133.302917, 131.218323)
    unit:GossipComplete(player)
    end
    
    if(intid == 508) then
    player:Teleport(530, 9381.675781, -7277.671387, 14.241373)
    unit:GossipComplete(player)
    end
    
    if(intid == 509) then
    player:Teleport(530, -1704.053589, 5376.160156, 3.416441)
    unit:GossipComplete(player)
    end
    
    if(intid == 510) then
    player:Teleport(1, 4614.821777, -3852.824951, 944.1)
    unit:GossipComplete(player)
    end
    end
    
    RegisterUnitGossipEvent(76668, 1, "On_Gossip")
    RegisterUnitGossipEvent(76668, 2, "Gossip_Submenus")
    Alliance:

    Code:
    function On_Gossip(unit, event, player)
    unit:GossipCreateMenu(3549, player, 0)
    unit:GossipMenuAddItem(2, "Neutral Cities", 1, 0)
    unit:GossipMenuAddItem(2, "Alliance Cities", 2, 0)
    unit:GossipMenuAddItem(2, "Custom Instances", 3, 0)
    unit:GossipMenuAddItem(2, "Leveling Road", 4, 0)
    unit:GossipSendMenu(player)
    end
    
    function Gossip_Submenus(unit, event, player, id, intid, code)
    
    if(intid == 999) then
    unit:GossipCreateMenu(3548, player, 0)
    unit:GossipMenuAddItem(2, "Neutral Cities", 1, 0)
    unit:GossipMenuAddItem(2, "Alliance Cities", 2, 0)
    unit:GossipMenuAddItem(2, "Custom Instances", 3, 0)
    unit:GossipMenuAddItem(2, "Leveling Road", 4, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 1) then
    unit:GossipCreateMenu(3548, player, 0)
    unit:GossipMenuAddItem(1, "Dalaran", 300, 0)
    unit:GossipMenuAddItem(1, "Shattrath", 309, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 2) then
    unit:GossipCreateMenu(3548, player, 0)
    unit:GossipMenuAddItem(1, "Stormwind", 301, 0)
    unit:GossipMenuAddItem(1, "Ironforge", 302, 0)
    unit:GossipMenuAddItem(1, "Darnassus", 303, 0)
    unit:GossipMenuAddItem(1, "Exodar", 304, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 3) then
    unit:GossipCreateMenu(3548, player, 0)
    unit:GossipMenuAddItem(1, "The Shattered Halls", 301, 0)
    unit:GossipMenuAddItem(0, "[Back]", 999, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 4) then
    unit:GossipCreateMenu(3548, player, 0)
    unit:GossipMenuAddItem(1, "Hyjal Road", 310, 0)
    unit:GossipSendMenu(player)
    end
    
    if(intid == 300) then
    player:Teleport(571, 5798.553711, 645.019287, 647.477783)
    unit:GossipComplete(player)
    end
    
    if(intid == 301) then
    player:Teleport(530, -306.220032, 3058.318848, -2.530)
    unit:GossipComplete(player)
    end
    
    if(intid == 302) then
    player:Teleport(0, -4982.447266, -880.969604, 501.659882)
    unit:GossipComplete(player)
    end
    
    if(intid == 303) then
    player:Teleport(1, 9946.639648, 2610.149414, 1316.256348)
    unit:GossipComplete(player)
    end
    
    if(intid == 304) then
    player:Teleport(530, -4008.085205, -11885.257813, -1.419589)
    unit:GossipComplete(player)
    end
    
    if(intid == 305) then
    player:Teleport(1, 1505.377319, -4414.602539, 20.598469)
    unit:GossipComplete(player)
    end
    
    if(intid == 306) then
    player:Teleport(0, 1831.750854, 238.543503, 60.478447)
    unit:GossipComplete(player)
    end
    
    if(intid == 307) then
    player:Teleport(1, -1282.347534, 133.302917, 131.218323)
    unit:GossipComplete(player)
    end
    
    if(intid == 308) then
    player:Teleport(530, 9381.675781, -7277.671387, 14.241373)
    unit:GossipComplete(player)
    end
    
    if(intid == 309) then
    player:Teleport(530, -1704.053589, 5376.160156, 3.416441)
    unit:GossipComplete(player)
    end
    
    if(intid == 310) then
    player:Teleport(530, 5645645, -4578.824951, 348.1)
    unit:GossipComplete(player)
    end
    end
    
    RegisterUnitGossipEvent(76667, 1, "On_Gossip")
    RegisterUnitGossipEvent(76667, 2, "Gossip_Submenus")

  9. #24
    fille's Avatar Member
    Reputation
    1
    Join Date
    Oct 2007
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    +rep m8, GREAT guide!

  10. #25
    Pothorian's Avatar Member
    Reputation
    9
    Join Date
    Dec 2008
    Posts
    51
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    how do i save files into a lua file? can't find anywhere how to do it -.-

  11. #26
    timetjee's Avatar Member
    Reputation
    1
    Join Date
    Jan 2009
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hey
    Dude can u plz help me i don't get it at all.
    plz join this network: WoW Addict5
    123

    More guys can join if they want

  12. #27
    kungi's Avatar Member
    Reputation
    8
    Join Date
    Nov 2007
    Posts
    18
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Thanks :)

    Thank this Was very helpful! ++rep But i wondred if you know abolut any guides of how to add remove ress sickness to teleporter? ore if you know it ?

  13. #28
    elfasword's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i need some help, i have the lua file in the script folder, and i have the npc ingame, but when i restart the server and talk to the npc nothing happens, or it happens, but all the teleporter thing arent there, this come up: hi there *****, how can i help u?, how do i get it work??!!? (i think ive tried like 10 teleporters now with the same answer.)

  14. #29
    elfasword's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i did it! but t\its ust the alliance locations that is shown, how do i get the other to show?

  15. #30
    elfasword's Avatar Member
    Reputation
    1
    Join Date
    Mar 2009
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no, i did so all the menus, and submenus came up, thats a start i think, and now the button (f.exp) ironforge, dont work, i click on it and nothing happends what should i do?

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. [Lua] teleport NPC ,teleport to mall wont work
    By thim99 in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 04-19-2010, 10:09 AM
  2. WoW LUA Teleport NPC
    By Warlord651 in forum World of Warcraft General
    Replies: 1
    Last Post: 07-19-2009, 04:58 PM
  3. [Template] LUA Teleporter NPC and Mini guide!!
    By Jackie Moon in forum WoW EMU General Releases
    Replies: 13
    Last Post: 03-15-2009, 04:07 PM
  4. LUA Teleporter NPC Template and Guide!! (easy)
    By Jackie Moon in forum WoW EMU Guides & Tutorials
    Replies: 10
    Last Post: 02-20-2009, 07:38 PM
  5. [Guide] Creating and Compiling a Teleporter NPC
    By Gastricpenguin in forum WoW EMU Guides & Tutorials
    Replies: 59
    Last Post: 10-29-2007, 03:06 PM
All times are GMT -5. The time now is 03:03 PM. 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