[LUA, SQL] Teleporter menu

User Tag List

Page 3 of 3 FirstFirst 123
Results 31 to 37 of 37
  1. #31
    Evilbuffy's Avatar Member
    Reputation
    38
    Join Date
    Mar 2009
    Posts
    185
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, I'm glad you like it. =)

    [LUA, SQL] Teleporter
  2. #32
    DuDeY 016's Avatar Member
    Reputation
    16
    Join Date
    Jun 2008
    Posts
    62
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    btw i have some question.. is there a function to make like only horde citys visible for horde and ally citys only visible for alliance? i hope you get what i mean
    pUnit:GossipMenuAddItem(2, "Alliance_and_Horde_Cities", 1, 0)
    if i change the orange 0 to 1 it only works for alliance then?
    Last edited by DuDeY 016; 04-29-2009 at 08:22 AM.

  3. #33
    kalle51's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you it worked!
    Last edited by kalle51; 04-29-2009 at 07:46 AM.

  4. #34
    kalle51's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i tried to add my spot but it doesnt work i writed like this


    function On_Gossip(pUnit, event, player)
    pUnit:GossipCreateMenu(3544, player, 0)
    pUnit:GossipMenuAddItem(2, "Alliance_and_Horde_Cities", 1, 0)
    pUnit:GossipMenuAddItem(2, "The_Good_Side", 2, 0)
    pUnit:GossipMenuAddItem(2, "The_Evil_Side", 3, 0)
    pUnit:GossipMenuAddItem(2, "Events", 4, 0)
    pUnit:GossipSendMenu(player)
    end

    function Gossip_Submenus(pUnit, event, player, id, intid, code)
    if(intid == 999) then
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(2, "Alliance_and_Horde_Cities", 1, 0)
    pUnit:GossipMenuAddItem(2, "The_Good_Side", 2, 0)
    pUnit:GossipMenuAddItem(2, "The_Evil_Side", 3, 0)
    pUnit:GossipMenuAddItem(2, "event", 4, 0)
    pUnit:GossipSendMenu(player)
    end

    if(intid == 1) then
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(1, "Dalaran", 300, 0)
    pUnit:GossipMenuAddItem(1, "Shattrath", 309, 0)
    pUnit:GossipMenuAddItem(0, "[Back]", 999, 0)
    pUnit:GossipSendMenu(player)
    end

    if(intid == 2) then
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(1, "Stormwind", 301, 0)
    pUnit:GossipMenuAddItem(1, "Ironforge", 302, 0)
    pUnit:GossipMenuAddItem(1, "Darnassus", 303, 0)
    pUnit:GossipMenuAddItem(1, "Exodar", 304, 0)
    pUnit:GossipMenuAddItem(0, "[Back]", 999, 0)
    pUnit:GossipSendMenu(player)
    end

    if(intid == 3) then
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(1, "Orgrimmar", 305, 0)
    pUnit:GossipMenuAddItem(1, "Undercity", 306, 0)
    pUnit:GossipMenuAddItem(1, "Thunder_Bluff", 307, 0)
    pUnit:GossipMenuAddItem(1, "Silvermoon", 308, 0)
    pUnit:GossipMenuAddItem(0, "[Back]", 999, 0)
    pUnit:GossipSendMenu(player)
    end

    if(intid == 4) then
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(1, "The Tower", 310, 0)
    pUnit:GossipMenuAddItem(0, "[Back]", 999, 0)
    pUnit:GossipSendMenu(player)
    end

    if(intid == 300) then
    player:Teleport(571, 5807.821289, 587.875366, 660.938782)
    unit:GossipComplete(player)
    end

    if(intid == 301) then
    player:Teleport(0, -8932.045898, 538.432983, 94.355003)
    unit:GossipComplete(player)
    end

    if(intid == 302) then
    player:Teleport(0, -4910.066406, -954.944641, 501.485260)
    unit:GossipComplete(player)
    end

    if(intid == 303) then
    player:Teleport(1, 9946.203125, 2614.886230, 1316.321777)
    unit:GossipComplete(player)
    end

    if(intid == 304) then
    player:Teleport(530, -4044.313477, -11908.476563, -2.44724
    unit:GossipComplete(player)
    end

    if(intid == 305) then
    player:Teleport(1, 1492.897095, -4415.085449, 23.071123)
    unit:GossipComplete(player)
    end

    if(intid == 306) then
    player:Teleport(0, 1735.158936, 238.984070, 62.853424)
    unit:GossipComplete(player)
    end

    if(intid == 307) then
    player:Teleport(1, -1290.126099, 148.322083, 129.706223)
    unit:GossipComplete(player)
    end

    if(intid == 30 then
    player:Teleport(530, 9483.235352, -7290.837891, 14.293912)
    unit:GossipComplete(player)
    end

    if(intid == 309) then
    player:Teleport(530, -1866.214478, 5410.462402, -12.427251)
    unit:GossipComplete(player)
    end

    if(intid == 310) then
    player:Teleport(46, -7901.551758, -488.566072, 170.518295)
    unit:GossipComplete(player)
    end
    end

    RegisterUnitGossipEvent(222334, 1, "On_Gossip")
    RegisterUnitGossipEvent(222334, 2, "Gossip_Submenus")



    whats wrong?

  5. #35
    DuDeY 016's Avatar Member
    Reputation
    16
    Join Date
    Jun 2008
    Posts
    62
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by kalle51 View Post
    i tried to add my spot but it doesnt work i writed like this


    function On_Gossip(pUnit, event, player)
    pUnit:GossipCreateMenu(3544, player, 0)
    pUnit:GossipMenuAddItem(2, "Alliance_and_Horde_Cities", 1, 0)
    pUnit:GossipMenuAddItem(2, "The_Good_Side", 2, 0)
    pUnit:GossipMenuAddItem(2, "The_Evil_Side", 3, 0)
    pUnit:GossipMenuAddItem(2, "Events", 4, 0)
    pUnit:GossipSendMenu(player)
    end

    function Gossip_Submenus(pUnit, event, player, id, intid, code)
    if(intid == 999) then
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(2, "Alliance_and_Horde_Cities", 1, 0)
    pUnit:GossipMenuAddItem(2, "The_Good_Side", 2, 0)
    pUnit:GossipMenuAddItem(2, "The_Evil_Side", 3, 0)
    pUnit:GossipMenuAddItem(2, "event", 4, 0)
    pUnit:GossipSendMenu(player)
    end

    if(intid == 1) then
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(1, "Dalaran", 300, 0)
    pUnit:GossipMenuAddItem(1, "Shattrath", 309, 0)
    pUnit:GossipMenuAddItem(0, "[Back]", 999, 0)
    pUnit:GossipSendMenu(player)
    end

    if(intid == 2) then
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(1, "Stormwind", 301, 0)
    pUnit:GossipMenuAddItem(1, "Ironforge", 302, 0)
    pUnit:GossipMenuAddItem(1, "Darnassus", 303, 0)
    pUnit:GossipMenuAddItem(1, "Exodar", 304, 0)
    pUnit:GossipMenuAddItem(0, "[Back]", 999, 0)
    pUnit:GossipSendMenu(player)
    end

    if(intid == 3) then
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(1, "Orgrimmar", 305, 0)
    pUnit:GossipMenuAddItem(1, "Undercity", 306, 0)
    pUnit:GossipMenuAddItem(1, "Thunder_Bluff", 307, 0)
    pUnit:GossipMenuAddItem(1, "Silvermoon", 308, 0)
    pUnit:GossipMenuAddItem(0, "[Back]", 999, 0)
    pUnit:GossipSendMenu(player)
    end

    if(intid == 4) then
    pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(1, "The Tower", 310, 0)
    pUnit:GossipMenuAddItem(0, "[Back]", 999, 0)
    pUnit:GossipSendMenu(player)
    end

    if(intid == 300) then
    player:Teleport(571, 5807.821289, 587.875366, 660.938782)
    unit:GossipComplete(player)
    end

    if(intid == 301) then
    player:Teleport(0, -8932.045898, 538.432983, 94.355003)
    unit:GossipComplete(player)
    end

    if(intid == 302) then
    player:Teleport(0, -4910.066406, -954.944641, 501.485260)
    unit:GossipComplete(player)
    end

    if(intid == 303) then
    player:Teleport(1, 9946.203125, 2614.886230, 1316.321777)
    unit:GossipComplete(player)
    end

    if(intid == 304) then
    player:Teleport(530, -4044.313477, -11908.476563, -2.44724
    unit:GossipComplete(player)
    end

    if(intid == 305) then
    player:Teleport(1, 1492.897095, -4415.085449, 23.071123)
    unit:GossipComplete(player)
    end

    if(intid == 306) then
    player:Teleport(0, 1735.158936, 238.984070, 62.853424)
    unit:GossipComplete(player)
    end

    if(intid == 307) then
    player:Teleport(1, -1290.126099, 148.322083, 129.706223)
    unit:GossipComplete(player)
    end

    if(intid == 30 then
    player:Teleport(530, 9483.235352, -7290.837891, 14.293912)
    unit:GossipComplete(player)
    end

    if(intid == 309) then
    player:Teleport(530, -1866.214478, 5410.462402, -12.427251)
    unit:GossipComplete(player)
    end

    if(intid == 310) then
    player:Teleport(46, -7901.551758, -488.566072, 170.518295)
    unit:GossipComplete(player)
    end
    end

    RegisterUnitGossipEvent(222334, 1, "On_Gossip")
    RegisterUnitGossipEvent(222334, 2, "Gossip_Submenus")



    whats wrong?
    what exactly didnt work

  6. #36
    kalle51's Avatar Member
    Reputation
    1
    Join Date
    Aug 2008
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    when i press "The Tower" nothing happends

  7. #37
    DuDeY 016's Avatar Member
    Reputation
    16
    Join Date
    Jun 2008
    Posts
    62
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i have the same prob with every location that got mapid 0 :S

Page 3 of 3 FirstFirst 123

Similar Threads

  1. [LUA][SQL] Kil'jaeden Script
    By BrantX in forum World of Warcraft Emulator Servers
    Replies: 47
    Last Post: 06-21-2008, 10:51 AM
  2. [Lua, SQL] Kil'tazoor, The Kobold Lord. (My first try at LUA!)
    By Zordin in forum World of Warcraft Emulator Servers
    Replies: 23
    Last Post: 06-11-2008, 03:19 PM
  3. [LUA][SQL] Angel Script
    By BrantX in forum World of Warcraft Emulator Servers
    Replies: 10
    Last Post: 06-11-2008, 02:21 PM
  4. SQL Teleporter
    By Bapes in forum World of Warcraft Emulator Servers
    Replies: 22
    Last Post: 06-01-2008, 12:02 PM
  5. [Release][LUA][SQL] Selin Fireheart
    By sheepking in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 05-11-2008, 11:40 AM
All times are GMT -5. The time now is 08:06 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