How do i add menu's to my Npc Teleporter? menu

Shout-Out

User Tag List

Results 1 to 5 of 5
  1. #1
    Kapperjoe's Avatar Member
    Reputation
    1
    Join Date
    Apr 2013
    Posts
    36
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How do i add menu's to my Npc Teleporter?

    Title says it all
    Heres my script:
    function WarpNPC_OnGossipTalk(pUnit, event, player, pMisc)
    if (player:IsInCombat() == true) then
    player:SendAreaTriggerMessage("You Can't Access This NPC When You Are In Combat!")
    else
    pUnit:GossipCreateMenu(3544, player, 0)
    pUnit:GossipMenuAddItem(2, "Mall", 1, 0)
    pUnit:GossipMenuAddItem(2, "Arena", 2, 0)
    pUnit:GossipMenuAddItem(2, "Teddy", 3, 0)
    pUnit:GossipMenuAddItem(2, "Gurtogg",4, 0)
    pUnit:GossipMenuAddItem(2, "Ragefire Chams (Gear of Fire)",5, 0)
    pUnit:GossipMenuAddItem(2, "Deadmines (Gear of Death)",6, 0)
    pUnit:GossipMenuAddItem(2, "Magister's Terrace (Gear of Light)",7, 0)
    pUnit:GossipMenuAddItem(2, "Utgarde Keep (Gear of Ice)",8, 0)
    pUnit:GossipMenuAddItem(8, "Remove Ressurection Sickness", 92, 0)
    pUnit:GossipSendMenu(player)
    end
    end

    function WarpNPC_OnGossipSelect(pUnit, event, player, id, intid, code)
    if(intid == 1) then
    player:Teleport(1, 16206.001953, 16216.397461, 1.107386)
    end

    if(intid == 2) then
    player:Teleport(0, -13261.779297, 162.637390, 36.176392)
    end

    if(intid == 3) then
    player:Teleport(0, -13037.130859, -639.039124, 53.037117)
    end

    if(intid == 4) then
    player:Teleport(0, -13172.045898, 335.059357, 42.980564)
    end

    if(intid == 5) then
    player:Teleport(389, 2.293890, -15.234735, -17.857386)
    end

    if(intid == 6) then
    player:Teleport(0, -11207.960938, 1674.364380, 24.62722
    end

    if(intid == 7) then
    player:Teleport(585, 8.906498, 6.065192, -2.795297)
    end

    if(intid == then
    player:Teleport(574, 262.385101, -76.708809, 190.421875)
    end

    if(intid == 92) then
    player:LearnSpell(15007)
    player:UnlearnSpell(15007)
    player:GossipComplete()
    end
    end

    RegisterUnitGossipEvent(316, 1, "WarpNPC_OnGossipTalk")
    RegisterUnitGossipEvent(316, 2, "WarpNPC_OnGossipSelect")

    How do i add menu's to my Npc Teleporter?
  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)
    I can't do this for you every time you have a simple question. You need to learn how to do this yourself.

    You have 3 key functions:

    GossipCreateMenu
    GossipMenuAddItem
    GossipSendMenu

    They are all documented here: Lua - ArcEmu-Wiki

    And you shouldn't even be using ArcEmu anyway. TrinityCore is the way to go in 3.3.5a.

  3. #3
    Kapperjoe's Avatar Member
    Reputation
    1
    Join Date
    Apr 2013
    Posts
    36
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know, but, i've made so much on my ArcEmu server... and i dont really want to do it all again, or can i transfer DB?

  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 Kapperjoe View Post
    I know, but, i've made so much on my ArcEmu server... and i dont really want to do it all again, or can i transfer DB?
    No way to transfer it (well there is, but it would be very time consuming and not worth it).

    Believe me, it is better to start from scratch than stick with ArcEmu. You will get tons of stability issues and bugs if you try to run with more than 10 players.

  5. #5
    Kapperjoe's Avatar Member
    Reputation
    1
    Join Date
    Apr 2013
    Posts
    36
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, can you send me a good repack maybe?

Similar Threads

  1. How do I add a race on the character creation menu?
    By Jorbyrules in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 06-21-2010, 08:20 AM
  2. [MaNGOS] How do I add a quest to an NPC in game?
    By TheNacho in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 05-10-2008, 04:06 AM
  3. How do you add items ..of x?
    By Noituri in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 09-09-2007, 05:08 PM
  4. How would i add a mount?
    By Orlykthxbai in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 08-31-2007, 10:57 PM
  5. How to block adds and commercials
    By Hounro in forum World of Warcraft General
    Replies: 4
    Last Post: 12-03-2006, 09:57 AM
All times are GMT -5. The time now is 09:13 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