[Guide] How to make a lua teleporter menu

Shout-Out

User Tag List

Page 3 of 4 FirstFirst 1234 LastLast
Results 31 to 45 of 60
  1. #31
    Zaje's Avatar Member
    Reputation
    14
    Join Date
    May 2008
    Posts
    28
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awsome man just awsome

    [Guide] How to make a lua teleporter
  2. #32
    Djfrederick's Avatar Banned
    Reputation
    127
    Join Date
    Sep 2008
    Posts
    380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you got any problems with your script or .sql file. It doesn't help you to just write it.

    Send me the script in the thread..

  3. #33
    Zudrik's Avatar Member
    Reputation
    52
    Join Date
    Dec 2008
    Posts
    169
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know if anyone pointed this out yet, but.


    Originally Posted by Djfrederick View Post
    Code:
    VALUES (333333,"Taxi","Djfredericks Repack",0,7,0,0,0,NULL,28213,28213,1, 1,1,NULL, '');
    ORANGE = Entry ID, BLUE = Name, WHITE = Subname, RED = DisplayID for a woman, GREEN = DisplayID for a man.
    The first 'NULL' (which you highlighted) is the spelldataid. Which can be set to 'NULL' or '0'. I really don't know what it's used for, since it's in the 'creature_names' table.

    The first 28213 (btw which is the Sylvanas Model xD) is the male_displayid, and the second one is the female. It really doesn't matter where put you put in the display ID at, you can fill them both, or just one, and they all look the same. Well, atleast they do for me.



    As for diablade, you save it as All files, .lua. So the name would be like Teleporter.lua


    For Asmund and caeon. Usually when you get that, there could be 2 things wrong here. The most common is the Registry. At the bottom of your Lua script, it should look like this.
    Code:
    RegisterUnitGossipEvent(333333, 1, "On_Gossip")
    RegisterUnitGossipEvent(333333, 2, "Gossip_Submenus")
    The 333333 is the ID of your NPC. And they have to match, or they will not work! So the .npc sp ID is 333333.

    Where as the second reason why this would happen is because you already have another Lua teleporter script in your folder. You cannot have more than one. They pretty much offset eachother making it so they don't work.

  4. #34
    [pwn]age's Avatar Member
    Reputation
    56
    Join Date
    Jul 2008
    Posts
    102
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice +Rep

  5. #35
    Djfrederick's Avatar Banned
    Reputation
    127
    Join Date
    Sep 2008
    Posts
    380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your all welcome.

  6. #36
    viKKmaN's Avatar Member
    Reputation
    1
    Join Date
    May 2007
    Posts
    32
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thx, this was helpfull

  7. #37
    Djfrederick's Avatar Banned
    Reputation
    127
    Join Date
    Sep 2008
    Posts
    380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your welcome

  8. #38
    zimonken's Avatar Member
    Reputation
    2
    Join Date
    Dec 2008
    Posts
    161
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Dont get teleported

    Hi, I have made a NPC and I copied the script and made it a lua file in my scripts map. When I spawn the NPC, I can press the "Azeroth" and the other so I can see where I can get teleported, but when I press the place I wanna teleport to (Stormwind or the Northrend area) nothing happends.

  9. #39
    Djfrederick's Avatar Banned
    Reputation
    127
    Join Date
    Sep 2008
    Posts
    380
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hehe,

    The script i made in the guide dont work This guide show you how to make a teleporter with lua. Sorry mate.

  10. #40
    Zudrik's Avatar Member
    Reputation
    52
    Join Date
    Dec 2008
    Posts
    169
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rofl, omg. That made me giggle.

  11. #41
    Dadouboy's Avatar Member
    Reputation
    1
    Join Date
    Sep 2007
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Really nice guide. +Rep

  12. #42
    chrispp7's Avatar Member
    Reputation
    1
    Join Date
    Feb 2009
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thax man this is very helpful

  13. #43
    googleforloss's Avatar Corporal
    Reputation
    1
    Join Date
    Jan 2009
    Posts
    23
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    how do I enter my LUA script with my Vendor in the Database.

  14. #44
    googleforloss's Avatar Corporal
    Reputation
    1
    Join Date
    Jan 2009
    Posts
    23
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Please anwswer someone, I Have all this scripting and don't know where im supposed to put it, am I supposed to put in the code of my Vendor? or some folder.

  15. #45
    Zudrik's Avatar Member
    Reputation
    52
    Join Date
    Dec 2008
    Posts
    169
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why are you putting a Lua script with a vendor? You put Lua scripts on blanks Npc (blank as in, not a trainer or vendor).

    But first, you have to enable Lua on your server. Go into your world config, and near the bottom you will see:


    Code:
    <ScriptBackends LUA="0"
                    AS="1">
    Change the 0 to 1. Save it, and exit.

    Then take your lua file, and move it/copy & paste it (whatever you wanna do) and put it in your scripts folder in you server directory. Run your server, and see if it worked. If it didn't, the script has an error in it, the registry doesn't match, or you already have a teleporter script active.

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. [Guide] How to make a NPC cast spells. NO LUA!
    By Power of Illuminati in forum WoW EMU Guides & Tutorials
    Replies: 52
    Last Post: 05-06-2011, 07:13 AM
  2. [Guide] How to make a item to teleport you
    By *Icy* in forum WoW EMU Guides & Tutorials
    Replies: 9
    Last Post: 12-02-2008, 01:02 AM
  3. [Guide] How to make Mob say/yell something when...[No LUA needed!]
    By Appled in forum WoW EMU Guides & Tutorials
    Replies: 3
    Last Post: 10-25-2008, 08:13 AM
  4. [Guide] How to make LUA portals easy and noobie too!
    By Ellenor in forum WoW EMU Guides & Tutorials
    Replies: 15
    Last Post: 03-05-2008, 09:10 PM
  5. How to make game objects teleport with LUA!
    By Le Froid in forum WoW EMU Guides & Tutorials
    Replies: 4
    Last Post: 01-02-2008, 06:59 PM
All times are GMT -5. The time now is 01:48 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