Teleporter problem menu

User Tag List

Results 1 to 7 of 7
  1. #1
    Leppar's Avatar Member
    Reputation
    1
    Join Date
    Feb 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Teleporter problem

    Okay a while back i made a teleporter with a password. Worked fine. I didnt attend the server for like a month and updated the revision and imported database changesets. The teleporter is now pretty much useless. The npc doesnt even open a gossip window. Other scripts ive used, for playing music etc. work fine but this one just wont anymore. i hope someone can help me.

    Code:
    function Teleporter1_OnGossip(Unit, Event, Player)
    Unit:GossipCreateMenu(10000002, Player, 0)
    Unit:GossipMenuAddItem(0, "----- ----- --- --- ----", 1, 1)
    Unit:GossipSendMenu(Player)
    end
    
    function Teleporter1_OnSubMenu(Unit, Event, Player, id, intid, code)
    if (intid == 1) then
         if (code == "password") then
               Player:Teleport(169,3434.65,3035.1,31.9966)
         end
    
         if (code ~= "password") then
    	   Unit:SendChatMessage(12, 0, "Wrong password buddy!")
    	   Player:Teleport(0,-11234.141602,-2833.264160,157.925125)
         end
    end
    end
    
    RegisterUnitGossipEvent(50000, 1, "Teleporter1_OnGossip")
    RegisterUnitGossipEvent(50000, 2, "Teleporter1_OnSubMenu")

    Teleporter problem
  2. #2
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Have you tried restarting the server? It could be your Lua engine is not functioning properly.

  3. #3
    Leppar's Avatar Member
    Reputation
    1
    Join Date
    Feb 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    mmm no that didnt work but its in the world database... cuz i had a backup from the previous version and that solved it... what in the changesets could cause that

  4. #4
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Leppar View Post
    mmm no that didnt work but its in the world database... cuz i had a backup from the previous version and that solved it... what in the changesets could cause that
    A incorrect structure/data that is not yet supported. Just don't use the changesets.

  5. #5
    Leppar's Avatar Member
    Reputation
    1
    Join Date
    Feb 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i dont want to make another topic again so i'll ask in here. I want to make a teleporting item... there are a lot of guides which involve item gossip and so on... thats not what i want. I want to have a simple one like this.

    So my question would be how do i convert this one to fit an item instead of an object
    Code:
    function Teleporting_onUse (pUnit, Event, pMisc)
    pMisc:Teleport (1, 4615.02, -3858.68, 944.155)
    end
    RegisterGameObjectEvent (999999, 2, "Teleporting_onUse")

  6. #6
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Leppar View Post
    i dont want to make another topic again so i'll ask in here. I want to make a teleporting item... there are a lot of guides which involve item gossip and so on... thats not what i want. I want to have a simple one like this.

    So my question would be how do i convert this one to fit an item instead of an object
    Code:
    function Teleporting_onUse (pUnit, Event, pMisc)
    pMisc:Teleport (1, 4615.02, -3858.68, 944.155)
    end
    RegisterGameObjectEvent (999999, 2, "Teleporting_onUse")
    Like this:

    Code:
    function zeztyjsipjysoyhs_xrjhxi_zatjo(item, event, player)
        eaazzRuneStart(item, player)
    end
    
    function eaazzRuneStart(item, player)
        player:Teleport (1, 4615.02, -3858.68, 944.155)
    end
    
    RegisterItemGossipEvent(999999, 1, "zeztyjsipjysoyhs_xrjhxi_zatjo")

  7. #7
    Leppar's Avatar Member
    Reputation
    1
    Join Date
    Feb 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ahh works just fine thx man

Similar Threads

  1. Adding LUA teleporter to DB problems. Help appreciated.
    By bishamo in forum World of Warcraft General
    Replies: 1
    Last Post: 08-15-2010, 04:46 AM
  2. LUA script problem, teleporter.
    By Romis in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 12-02-2008, 04:32 PM
  3. [Problem] Blua? LUA? Teleporter problem
    By lilbdiablo12 in forum WoW EMU Questions & Requests
    Replies: 0
    Last Post: 10-27-2008, 11:48 AM
  4. [Lua] - Problem With Teleporter
    By shadowslayer133 in forum WoW EMU Questions & Requests
    Replies: 2
    Last Post: 09-16-2008, 04:02 PM
  5. Problem making a object teleporter
    By hotandsekc in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 06-07-2008, 11:28 PM
All times are GMT -5. The time now is 09:29 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