Teleporter stone not working menu

User Tag List

Results 1 to 3 of 3
  1. #1
    alwise17's Avatar Private
    Reputation
    1
    Join Date
    Oct 2009
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Teleporter stone not working

    hi,

    i downloaded a repack that came ready made with a teleporter stone, i wanted to add a couple of places on there and create some custom instances, the parts below are what i added:

    The first part is the custom instances page
    Code:
    function Tele_Menu(item, player) -- Home Page
    item:GossipCreateMenu(5667, player, 0)
    item:GossipMenuAddItem(5, "|cffff6060Fusion-3.2 Teleport Orb.|r", 998, 0)
    item:GossipMenuAddItem(6, "|cFF191970Main Cities|r", 1, 0)
    item:GossipMenuAddItem(2, "|cFF191970Custom Instances|r", 8884, 0)
    item:GossipMenuAddItem(2, "|cFF191970Azeroth Locations|r", 2, 0)
    item:GossipMenuAddItem(2, "|cFF191970Azeroth Instances|r", 3, 0)
    item:GossipMenuAddItem(2, "|cFF191970Azeroth Raids|r", 4, 0)
    item:GossipMenuAddItem(2, "|cFF191970Outland Locations|r", 5, 0)
    item:GossipMenuAddItem(2, "|cFF191970Outland Instances|r", 6, 0)
    item:GossipMenuAddItem(2, "|cFF191970Outland Raids|r", 7, 0)
    item:GossipMenuAddItem(2, "|cFF191970Northrend Locations|r", 8, 0)
    item:GossipMenuAddItem(2, "|cFF191970Northrend Instances|r", 9, 0)
    item:GossipMenuAddItem(2, "|cFF191970Northrend Raids|r", 10, 0)
    item:GossipMenuAddItem(0, "|cFF191970Foothills|r", 9997, 0)
    item:GossipMenuAddItem(5, "|cFF191970Murloc Mall|r", 12, 0)
    item:GossipMenuAddItem(9, "|cFF191970Gurubashi Arena|r", 13, 0)
    item:GossipMenuAddItem(0, "|cFF191970Next Page|r", 997, 0)
    item:GossipSendMenu(player)
    end


    Code:
    if (intid == 8884) then -- Custom Instances
    	item:GossipCreateMenu(5668, player, 0)
    	item:GossipMenuAddItem(2, "|c00FF0000Storm Fields |r", 301, 0)
    	item:GossipMenuAddItem(2, "|c00FF0000Wasteland |r", 302, 0)
    	item:GossipMenuAddItem(2, "|c00FF0000Lone Island |r", 303, 0)
    	item:GossipMenuAddItem(0, "|c99006600Home Page|r", 999, 0)
    	item:GOssipSendMenu(player)
    end

    Code:
    -- Custom Instances
    
    if (intid == 301) then -- Storm Fields
    	player:Teleport(0, -7630150879, 1423958984, 131.407059)
    	player:GossipComplete()
    end
    
    if (intid == 302) then -- Wasteland
    	player:Teleport(1, -9253.524414, -215.625259, 8.881005)
    	player:GossipComplete()
    end
    
    if (intid == 303) then -- Lone Island
    	player:Teleport(1, -11540.571289, -4690.881836, 3.870542)
    	player:GossipComplete()
    end
    Below is the last part of the code i added "
    Code:
    if (intid == 999) then -- Main page
    item:GossipCreateMenu(5667, player, 0)
    item:GossipMenuAddItem(5, "|cffff6060Fusion-3.2 Teleport Orb.|r", 998, 0)
    item:GossipMenuAddItem(6, "|cFF191970Main Cities|r", 1, 0)
    item:GossipMenuAddItem(2, "|cFF191970Custom Instances|r", 8884, 0)
    item:GossipMenuAddItem(2, "|cFF191970Azeroth Locations|r", 2, 0)
    item:GossipMenuAddItem(2, "|cFF191970Azeroth Instances|r", 3, 0)
    item:GossipMenuAddItem(2, "|cFF191970Azeroth Raids|r", 4, 0)
    item:GossipMenuAddItem(2, "|cFF191970Outland Locations|r", 5, 0)
    item:GossipMenuAddItem(2, "|cFF191970Outland Instances|r", 6, 0)
    item:GossipMenuAddItem(2, "|cFF191970Outland Raids|r", 7, 0)
    item:GossipMenuAddItem(2, "|cFF191970Northrend Locations|r", 8, 0)
    item:GossipMenuAddItem(2, "|cFF191970Northrend Instances|r", 9, 0)
    item:GossipMenuAddItem(2, "|cFF191970Northrend Raids|r", 10, 0)
    item:GossipMenuAddItem(0, "|cFF191970Foothills|r", 9997, 0)
    item:GossipMenuAddItem(5, "|cFF191970Murloc Mall|r", 12, 0)
    item:GossipMenuAddItem(9, "|cFF191970Gurubashi Arena|r", 13, 0)
    item:GossipMenuAddItem(0, "|cFF191970Next Page|r", 997, 0)
    item:GossipSendMenu(player)
    end
    end
    For some reason whenever i click on the 'custom instances' on the front page, nothing happens and when i try to click on another location the same happens again. I have to revopen the stone to click on another location.
    Is there anything i have done wrong, i opened the LUA from the scripts in my repack with notepad, added my code then started my server.

    Thanks

    Al

    Teleporter stone not working
  2. #2
    Wolfly's Avatar Contributor
    Reputation
    96
    Join Date
    May 2007
    Posts
    325
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    if (intid == 8884) then -- Custom Instances
    	item:GossipCreateMenu(5668, player, 0)
    	item:GossipMenuAddItem(2, "|c00FF0000Storm Fields |r", 301, 0)
    	item:GossipMenuAddItem(2, "|c00FF0000Wasteland |r", 302, 0)
    	item:GossipMenuAddItem(2, "|c00FF0000Lone Island |r", 303, 0)
    	item:GossipMenuAddItem(0, "|c99006600Home Page|r", 999, 0)
    	item:GOssipSendMenu(player)
    end
    You have a capital letter in the last line.
    It should be
    Code:
    item:GossipSendMenu(player)
    instead of
    Code:
    item:GOssipSendMenu(player)
    Not sure if this is the entire problem, since I'm not massively experienced but let me know how it works out.
    Last edited by Wolfly; 10-27-2009 at 06:25 PM.


  3. #3
    alwise17's Avatar Private
    Reputation
    1
    Join Date
    Oct 2009
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi

    thanks so much it worked perfectly i cant believe i missed that

    cheers

    al

Similar Threads

  1. [ArcEmu] Teleporter not working
    By Timmy420 in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 02-15-2011, 03:45 PM
  2. Teleport Item Does not work
    By Diemen in forum WoW EMU Questions & Requests
    Replies: 8
    Last Post: 02-20-2010, 07:49 AM
  3. [Lua] npc teleport master not working
    By digger514 in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 08-23-2009, 04:33 PM
  4. [help] warp stone not working
    By Donandi in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 04-09-2009, 10:28 AM
  5. Portable Teleporter SQL not working
    By roguesownu in forum WoW EMU Questions & Requests
    Replies: 3
    Last Post: 08-12-2008, 08:54 AM
All times are GMT -5. The time now is 01:35 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