Custom Teleport/Info NPC Take NO Skill at all! menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    freeride474's Avatar Contributor
    Reputation
    127
    Join Date
    Aug 2006
    Posts
    278
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Custom Teleport/Info NPC Take NO Skill at all!

    So this is my new release, it is a teleport npc that features Server Information, Server Rules and Regulations, Teleport Locations, and Cool Morphs.

    It is COMPLETELY noob friendly and there are instructions in the DOWNLOAD.

    Code:
    local npcid = 55555
    
    function NPC_main_menu(pUnit, player)
       pUnit:GossipCreateMenu(3543, player, 0)
       pUnit:GossipMenuAddItem(3, "YOURSERVERNAME Presents", 1, 0)
       pUnit:GossipMenuAddItem(0, "Server Information", 3, 0)
       pUnit:GossipMenuAddItem(0, "Server Rules and Regulations", 4, 0)
       pUnit:GossipMenuAddItem(1, "Teleport Locations", 6, 0)
       pUnit:GossipMenuAddItem(1, "Cool Morphs", 7, 0)
       pUnit:GossipMenuAddItem(3, "De-Morph", 8, 0)           
       pUnit:GossipSendMenu(player)
    end
    function NPC_on_gossip_talk(pUnit, event, player)
       NPC_main_menu(pUnit, player)
    end
     function NPC_on_gossip_select(pUnit, event, player, id, intid, code, pMisc)
    if(intid == 3) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(4, "SERVER INFORMATION HERE", 10, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 4) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:SendChatMessage(12, 0, "Check the rules section closely.")
     pUnit:GossipMenuAddItem(4, "YOUR SERVER'S RULES AND REGULATIONS", 21, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 6) then
     pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(1, "LIST NAME HERE", 700, 0)
    pUnit:GossipMenuAddItem(1, "LIST NAME HERE", 701, 0)
    pUnit:GossipMenuAddItem(1, "LIST NAME HERE", 702, 0)
    pUnit:GossipMenuAddItem(1, "LIST NAME HERE", 703, 0)
    pUnit:GossipMenuAddItem(1, "LIST NAME HERE", 704, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 7) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "Akama", 50, 0)
     pUnit:GossipMenuAddItem(1, "Chinese Dragon", 51, 0) 
     pUnit:GossipMenuAddItem(1, "Demon Hunter", 52, 0)
     pUnit:GossipMenuAddItem(1, "Diablo", 53, 0)
     pUnit:GossipMenuAddItem(1, "Fel Elf Male Melee", 54, 0)
     pUnit:GossipMenuAddItem(1, "Fel Elf Male Caster", 55, 0)
     pUnit:GossipMenuAddItem(1, "Fel Elf Female Melee", 56, 0)
     pUnit:GossipMenuAddItem(1, "Fel Elf Female Caster", 57, 0)
     pUnit:GossipMenuAddItem(1, "Dire Fel Orc", 58, 0)
     pUnit:GossipMenuAddItem(1, "Fire Dancer", 59, 0)
     pUnit:GossipMenuAddItem(1, "Miev", 60, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 700) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 750, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 751, 0) 
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 752)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 753, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 701) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 850, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 851, 0) 
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 852, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 853, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 854, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 855, 0) 
     pUnit:GossipSendMenu(player)
    end
    if(intid == 702) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 900, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 901, 0) 
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 902, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 903, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 703) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 904, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 905, 0) 
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 906, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 907, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 704) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 908, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 909, 0) 
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 910, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 911, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 50) then
       player:SetModel(20681)
    end
    if(intid == 51) then
       player:SetModel(14779)
    end
    if(intid == 52) then
       player:SetModel(7570)
    end
    if(intid == 53) then
       player:SetModel(10992)
    end
    if(intid == 54) then
       player:SetModel(22642)
    end
    if(intid == 55) then
       player:SetModel(23224)
    end
    if(intid == 56) then
       player:SetModel(23225)
    end
    if(intid == 57) then
       player:SetModel(22980)
    end
    if(intid == 58) then
       player:SetModel(21443)
    end
    if(intid == 59) then
       player:SetModel(23523)
    end
    if(intid == 60) then
       player:SetModel(20628)
    end
    if(intid == 8) then
       pUnit:SendChatMessage(12, 0, "Please log out and then log back in to return to you're true form.")
    end
    if(intid == 750) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 751) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 752) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 753) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 850) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 851) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 852) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 853) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 854) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 855) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 900) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 901) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 902) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 903) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 904) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 905) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 906) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 907) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 908) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 909) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 910) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 911) then
       player:Teleport(1, 100, 100, 100)
    end
    intid = 0
    end
    RegisterUnitGossipEvent(55555, 1, "NPC_on_gossip_talk") 
    RegisterUnitGossipEvent(55555, 2, "NPC_on_gossip_select")
    DOWNLOAD HERE
    Join My Guild (Gilneas, Horde US) - <Blue Thunder>
    Website Traffic Appreciated - Help*Me*Get*Benefits

    yEE~

    Custom Teleport/Info NPC Take NO Skill at all!
  2. #2
    Exacute's Avatar Active Member
    Reputation
    67
    Join Date
    Mar 2008
    Posts
    337
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lol u just token mine, and let the part that make u insta 80 out..
    pUnit:GossipMenuAddItem(3, "YOURSERVERNAME Presents", 1, 0)
    pUnit:GossipMenuAddItem(0, "Server Information", 3, 0)
    u see the 2 is missing.. and that were for the insta 80 part.. so - No rep cookie from me
    [/COLOR]

  3. #3
    freeride474's Avatar Contributor
    Reputation
    127
    Join Date
    Aug 2006
    Posts
    278
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I did not take this from you, it's my own work.
    Join My Guild (Gilneas, Horde US) - <Blue Thunder>
    Website Traffic Appreciated - Help*Me*Get*Benefits

    yEE~

  4. #4
    Exacute's Avatar Active Member
    Reputation
    67
    Join Date
    Mar 2008
    Posts
    337
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    then explain why u not used the '2' ... exact u cant
    [/COLOR]

  5. #5
    Vindicated's Avatar Contributor
    Reputation
    226
    Join Date
    Aug 2008
    Posts
    1,067
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lol, many people use the 2. Its just when they register the script. Its gotta be a number 1-10 >.>


  6. #6
    Babbaa's Avatar Member
    Reputation
    32
    Join Date
    Nov 2007
    Posts
    206
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I feel most of these things has been taken from this;

    Babbaa - Info NPC

    snooor...
    Last edited by Babbaa; 08-26-2008 at 07:44 AM.

  7. #7
    warxhead's Avatar Member
    Reputation
    13
    Join Date
    Jan 2007
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No they were taken from my server that was around a year ago that had all of this, except it could also play sounds to the client, enchant anything, and do anything...

  8. #8
    kiite91's Avatar Member
    Reputation
    1
    Join Date
    Sep 2008
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    whats going on this ?? how to install this plz tell me


  9. #9
    y2kss66's Avatar Member
    Reputation
    104
    Join Date
    Jan 2008
    Posts
    778
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it is a script that needs to be compiled not a sql.

    follow this guide: http://www.mmowned.com/forums/emulat...dll-video.html
    Last edited by y2kss66; 10-01-2008 at 04:31 PM.

  10. #10
    Sounddead's Avatar Contributor
    Reputation
    160
    Join Date
    Sep 2007
    Posts
    1,126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No.. It doesn't need to be compiled lulz.
    Just plop it in your scripts folder in where your core files are.

    I live in a shoe

  11. #11
    Jonthe838's Avatar Contributor
    Reputation
    83
    Join Date
    Aug 2008
    Posts
    373
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i tryed to get this to work... i customised the script like i was suposed to do...
    here is how it turned out...

    Code:
    local npcid = 55555
    
    function NPC_main_menu(pUnit, player)
       pUnit:GossipCreateMenu(3543, player, 0)
       pUnit:GossipMenuAddItem(3, "The Asgard Realm Presents", 1, 0)
       pUnit:GossipMenuAddItem(0, "Server Information", 3, 0)
       pUnit:GossipMenuAddItem(0, "Server Rules and Regulations", 4, 0)
       pUnit:GossipMenuAddItem(1, "Teleport Locations", 6, 0)
       pUnit:GossipMenuAddItem(1, "Cool Morphs", 7, 0)
       pUnit:GossipMenuAddItem(3, "De-Morph", 8, 0)           
       pUnit:GossipSendMenu(player)
    end
    function NPC_on_gossip_talk(pUnit, event, player)
       NPC_main_menu(pUnit, player)
    end
     function NPC_on_gossip_select(pUnit, event, player, id, intid, code, pMisc)
    if(intid == 3) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(4, "This is a high rate PVP server. The rate is 75x. It's pretty new so we are still working on it and if you have any ideas send us a mail. We have two custom leveling areas and two custom shopping centers. One for Alliance and one for Horde. One custom city and alot of custom items. Enjoy your staying here.", 10, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 4) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:SendChatMessage(12, 0, "Check the rules section closely.")
     pUnit:GossipMenuAddItem(4, "Don't cheat... If you do you will get kicked or banned for a time period. Play fair and don't scam others. Don't beg GMs or Admins for money or items. Do as they tell you to. The GMs will maybe make events like Hide and Seek with a reward and they deside the reward. And please don't spam. If you do you will get kicked for a short time.", 21, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 6) then
     pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(1, "Citys", 700, 0)
    pUnit:GossipMenuAddItem(1, "Raids", 701, 0)
    pUnit:GossipMenuAddItem(1, "Outland Locations", 702, 0)
    pUnit:GossipMenuAddItem(1, "Other Places", 703, 0)
    pUnit:GossipMenuAddItem(1, "LIST NAME HERE", 704, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 7) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "Akama", 50, 0)
     pUnit:GossipMenuAddItem(1, "Chinese Dragon", 51, 0) 
     pUnit:GossipMenuAddItem(1, "Demon Hunter", 52, 0)
     pUnit:GossipMenuAddItem(1, "Diablo", 53, 0)
     pUnit:GossipMenuAddItem(1, "Fel Elf Male Melee", 54, 0)
     pUnit:GossipMenuAddItem(1, "Fel Elf Male Caster", 55, 0)
     pUnit:GossipMenuAddItem(1, "Fel Elf Female Melee", 56, 0)
     pUnit:GossipMenuAddItem(1, "Fel Elf Female Caster", 57, 0)
     pUnit:GossipMenuAddItem(1, "Dire Fel Orc", 58, 0)
     pUnit:GossipMenuAddItem(1, "Fire Dancer", 59, 0)
     pUnit:GossipMenuAddItem(1, "Miev", 60, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 700) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "The Forgotten Outpost", 750, 0)
     pUnit:GossipMenuAddItem(1, "Orgrimmar", 751, 0) 
     pUnit:GossipMenuAddItem(1, "Undercity", 752)
     pUnit:GossipMenuAddItem(1, "Thunder Bluff", 753, 0)
     pUnit:GossipMenuAddItem(1, "Silvermoon City", 754, 0)
     pUnit:GossipMenuAddItem(1, "Shattrath City", 755, 0)
     pUnit:GossipMenuAddItem(1, "Stormwind City", 756, 0)
     pUnit:GossipMenuAddItem(1, "Ironforge", 757, 0)
     pUnit:GossipMenuAddItem(1, "Darnassus", 758, 0)
     pUnit:GossipMenuAddItem(1, "The Exodar", 759, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 701) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "Sunwell", 850, 0)
     pUnit:GossipMenuAddItem(1, "Black Temple", 851, 0) 
     pUnit:GossipMenuAddItem(1, "Zul'Aman", 852, 0)
     pUnit:GossipMenuAddItem(1, "Tempest Keep", 853, 0)
     pUnit:GossipMenuAddItem(1, "Caverns of Time", 854, 0)
     pUnit:GossipMenuAddItem(1, "Karazhan", 855, 0) 
     pUnit:GossipMenuAddItem(1, "Auchindoun", 856, 0) 
     pUnit:GossipMenuAddItem(1, "Hellfire Citadel", 857, 0) 
     pUnit:GossipMenuAddItem(1, "Gruul's Lair", 858, 0) 
     pUnit:GossipMenuAddItem(1, "Ahn'Qiraj", 859, 0) 
     pUnit:GossipMenuAddItem(1, "Coilfang Reservoir", 860, 0) 
     pUnit:GossipMenuAddItem(1, "Zul'Gurub", 861, 0) 
     pUnit:GossipSendMenu(player)
    end
    if(intid == 702) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "Hellfire Peninsula", 900, 0)
     pUnit:GossipMenuAddItem(1, "Shadowmoon Valley", 901, 0) 
     pUnit:GossipMenuAddItem(1, "Netherstorm", 902, 0)
     pUnit:GossipMenuAddItem(1, "Nagrand", 903, 0)
     pUnit:GossipMenuAddItem(1, "Zangarmarsh", 904, 0)
     pUnit:GossipMenuAddItem(1, "Blade's Edge Mountains", 905, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 703) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "Gurubashi Arena", 906, 0)
     pUnit:GossipMenuAddItem(1, "Gadgetzan", 907, 0) 
     pUnit:GossipMenuAddItem(1, "Booty Bay", 908, 0)
     pUnit:GossipMenuAddItem(1, "Ratchet", 909, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 704) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 910, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 911, 0) 
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 912, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 911, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 50) then
       player:SetModel(20681)
    end
    if(intid == 51) then
       player:SetModel(14779)
    end
    if(intid == 52) then
       player:SetModel(7570)
    end
    if(intid == 53) then
       player:SetModel(10992)
    end
    if(intid == 54) then
       player:SetModel(22642)
    end
    if(intid == 55) then
       player:SetModel(23224)
    end
    if(intid == 56) then
       player:SetModel(23225)
    end
    if(intid == 57) then
       player:SetModel(22980)
    end
    if(intid == 58) then
       player:SetModel(21443)
    end
    if(intid == 59) then
       player:SetModel(23523)
    end
    if(intid == 60) then
       player:SetModel(20628)
    end
    if(intid == 8) then
       pUnit:SendChatMessage(12, 0, "Please log out and then log back in to return to you're true form.")
    end
    if(intid == 750) then
       player:Teleport(1, -108.361244, 2035.438721, 255.886032)
    end
    if(intid == 751) then
       player:Teleport(1, 1653.308838, -4415.008789, 16.596895)
    end
    if(intid == 752) then
       player:Teleport(0, 1568.948730, 240.901865, -52.147099)
    end
    if(intid == 753) then
       player:Teleport(1, -1197.209229, 26.557766, 176.949020)
    end
    if(intid == 754) then
       player:Teleport(530, 9465.902344, -7279.244629, 14.204638)
    end
    if(intid == 755) then
       player:Teleport(530, -1876.769043, 5451.196777, -12.427807)
    end
    if(intid == 756) then
       player:Teleport(0, -9059.938477, 437.619415, 93.055969)
    end
    if(intid == 757) then
       player:Teleport(0, -4995.001653, -865.970154, 497.011536)
    end
    if(intid == 758) then
       player:Teleport(1, 9952.082031, 2285.412842, 1341.393921)
    end
    if(intid == 759) then
       player:Teleport(530, -3920.354736, -11615.578125, 138.357208)
    end
    if(intid == 850) then
       player:Teleport(530, 12558, -6775.149902, 15.032568)
    end
    if(intid == 851) then
       player:Teleport(530, -3640.775391, 313.752869, 35.271343)
    end
    if(intid == 852) then
       player:Teleport(530, 6850, 7950, 170)
    end
    if(intid == 853) then
       player:Teleport(530, 3100.124582, 1533.054688, 190.300369)
    end
    if(intid == 854) then
       player:Teleport(1, -8482.785156, -8482.785156, -8482.785156)
    end
    if(intid == 855) then
       player:Teleport(0, -8482.785156, -8482.785156, -8482.785156)
    end
    if(intid == 856) then
       player:Teleport(530, -3323.537109, 4868.576660, -99.459801)
    end
    if(intid == 857) then
       player:Teleport(530, -271.185303, 3114.522217, 31.386936)
    end
    if(intid == 858) then
       player:Teleport(530, 3543.103271, 5091.642578, 3.703918)
    end
    if(intid == 859) then
       player:Teleport(1, -8157.667480, 1528.788330, 4.197440)
    end
    if(intid == 860) then
       player:Teleport(530, -735.311829, 6865.698730, -69.713669)
    end
    if(intid == 861) then
       player:Teleport(0, -11915.859375, -1180.229004, 85.140755)
    end
    if(intid == 900) then
       player:Teleport(530, -249.750854, 960.128845, 54.343956)
    end
    if(intid == 901) then
       player:Teleport(530, -1846.033691, 3199.804688, 6.753517)
    end
    if(intid == 902) then
       player:Teleport(530, 3397.15991, 3397.15991, 125.305023)
    end
    if(intid == 903) then
       player:Teleport(530, -534.01757, 8435.868164,  8435.868164)
    end
    if(intid == 904) then
       player:Teleport(530, -237.731461, 5422.525391,  5422.525391)
    end
    if(intid == 905) then
       player:Teleport(530, 1596.716064, 1596.716064,  129.512451)
    end
    if(intid == 906) then
       player:Teleport(0, -13259.100586, 169.506262, 34.615089)
    end
    if(intid == 907) then
       player:Teleport(1, -7154.859863, -3817.939941, 8.398168)
    end
    if(intid == 908) then
       player:Teleport(1, -14293.861328, 539.727844, 8.825499)
    end
    if(intid == 909) then
       player:Teleport(0, -960.564819, -3760.470459, 5.253857)
    end
    if(intid == 910) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 911) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 912) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 913) then
       player:Teleport(1, 100, 100, 100)
    end
    intid = 0
    end
    RegisterUnitGossipEvent(55555, 1, "NPC_on_gossip_talk") 
    RegisterUnitGossipEvent(55555, 2, "NPC_on_gossip_select")

    i made a custom mob with the id 55555 but it dident work... can it have something with that all my lua scripts in my lua folder ( came with the repack) is .dll or .ddl or what everits called and this is .lua?? i have a arcemu core...
    i putted down alot of time on this so would be happy if any1 could help me out.
    thx... btw +Rep Superfly for this and +Rep to the one that helps me out
    Lines of Coding: |||||||||| Goal 1000
    Current: 677 Achived Goals: 500 Lines


  12. #12
    Murlock.'s Avatar Knight-Lieutenant
    Reputation
    86
    Join Date
    Oct 2007
    Posts
    271
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jonthe838 View Post
    i tryed to get this to work... i customised the script like i was suposed to do...
    here is how it turned out...

    Code:
    local npcid = 55555
    
    function NPC_main_menu(pUnit, player)
       pUnit:GossipCreateMenu(3543, player, 0)
       pUnit:GossipMenuAddItem(3, "The Asgard Realm Presents", 1, 0)
       pUnit:GossipMenuAddItem(0, "Server Information", 3, 0)
       pUnit:GossipMenuAddItem(0, "Server Rules and Regulations", 4, 0)
       pUnit:GossipMenuAddItem(1, "Teleport Locations", 6, 0)
       pUnit:GossipMenuAddItem(1, "Cool Morphs", 7, 0)
       pUnit:GossipMenuAddItem(3, "De-Morph", 8, 0)           
       pUnit:GossipSendMenu(player)
    end
    function NPC_on_gossip_talk(pUnit, event, player)
       NPC_main_menu(pUnit, player)
    end
     function NPC_on_gossip_select(pUnit, event, player, id, intid, code, pMisc)
    if(intid == 3) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(4, "This is a high rate PVP server. The rate is 75x. It's pretty new so we are still working on it and if you have any ideas send us a mail. We have two custom leveling areas and two custom shopping centers. One for Alliance and one for Horde. One custom city and alot of custom items. Enjoy your staying here.", 10, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 4) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:SendChatMessage(12, 0, "Check the rules section closely.")
     pUnit:GossipMenuAddItem(4, "Don't cheat... If you do you will get kicked or banned for a time period. Play fair and don't scam others. Don't beg GMs or Admins for money or items. Do as they tell you to. The GMs will maybe make events like Hide and Seek with a reward and they deside the reward. And please don't spam. If you do you will get kicked for a short time.", 21, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 6) then
     pUnit:GossipCreateMenu(3543, player, 0)
    pUnit:GossipMenuAddItem(1, "Citys", 700, 0)
    pUnit:GossipMenuAddItem(1, "Raids", 701, 0)
    pUnit:GossipMenuAddItem(1, "Outland Locations", 702, 0)
    pUnit:GossipMenuAddItem(1, "Other Places", 703, 0)
    pUnit:GossipMenuAddItem(1, "LIST NAME HERE", 704, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 7) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "Akama", 50, 0)
     pUnit:GossipMenuAddItem(1, "Chinese Dragon", 51, 0) 
     pUnit:GossipMenuAddItem(1, "Demon Hunter", 52, 0)
     pUnit:GossipMenuAddItem(1, "Diablo", 53, 0)
     pUnit:GossipMenuAddItem(1, "Fel Elf Male Melee", 54, 0)
     pUnit:GossipMenuAddItem(1, "Fel Elf Male Caster", 55, 0)
     pUnit:GossipMenuAddItem(1, "Fel Elf Female Melee", 56, 0)
     pUnit:GossipMenuAddItem(1, "Fel Elf Female Caster", 57, 0)
     pUnit:GossipMenuAddItem(1, "Dire Fel Orc", 58, 0)
     pUnit:GossipMenuAddItem(1, "Fire Dancer", 59, 0)
     pUnit:GossipMenuAddItem(1, "Miev", 60, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 700) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "The Forgotten Outpost", 750, 0)
     pUnit:GossipMenuAddItem(1, "Orgrimmar", 751, 0) 
     pUnit:GossipMenuAddItem(1, "Undercity", 752)
     pUnit:GossipMenuAddItem(1, "Thunder Bluff", 753, 0)
     pUnit:GossipMenuAddItem(1, "Silvermoon City", 754, 0)
     pUnit:GossipMenuAddItem(1, "Shattrath City", 755, 0)
     pUnit:GossipMenuAddItem(1, "Stormwind City", 756, 0)
     pUnit:GossipMenuAddItem(1, "Ironforge", 757, 0)
     pUnit:GossipMenuAddItem(1, "Darnassus", 758, 0)
     pUnit:GossipMenuAddItem(1, "The Exodar", 759, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 701) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "Sunwell", 850, 0)
     pUnit:GossipMenuAddItem(1, "Black Temple", 851, 0) 
     pUnit:GossipMenuAddItem(1, "Zul'Aman", 852, 0)
     pUnit:GossipMenuAddItem(1, "Tempest Keep", 853, 0)
     pUnit:GossipMenuAddItem(1, "Caverns of Time", 854, 0)
     pUnit:GossipMenuAddItem(1, "Karazhan", 855, 0) 
     pUnit:GossipMenuAddItem(1, "Auchindoun", 856, 0) 
     pUnit:GossipMenuAddItem(1, "Hellfire Citadel", 857, 0) 
     pUnit:GossipMenuAddItem(1, "Gruul's Lair", 858, 0) 
     pUnit:GossipMenuAddItem(1, "Ahn'Qiraj", 859, 0) 
     pUnit:GossipMenuAddItem(1, "Coilfang Reservoir", 860, 0) 
     pUnit:GossipMenuAddItem(1, "Zul'Gurub", 861, 0) 
     pUnit:GossipSendMenu(player)
    end
    if(intid == 702) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "Hellfire Peninsula", 900, 0)
     pUnit:GossipMenuAddItem(1, "Shadowmoon Valley", 901, 0) 
     pUnit:GossipMenuAddItem(1, "Netherstorm", 902, 0)
     pUnit:GossipMenuAddItem(1, "Nagrand", 903, 0)
     pUnit:GossipMenuAddItem(1, "Zangarmarsh", 904, 0)
     pUnit:GossipMenuAddItem(1, "Blade's Edge Mountains", 905, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 703) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "Gurubashi Arena", 906, 0)
     pUnit:GossipMenuAddItem(1, "Gadgetzan", 907, 0) 
     pUnit:GossipMenuAddItem(1, "Booty Bay", 908, 0)
     pUnit:GossipMenuAddItem(1, "Ratchet", 909, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 704) then
     pUnit:GossipCreateMenu(3543, player, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 910, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 911, 0) 
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 912, 0)
     pUnit:GossipMenuAddItem(1, "LIST ITEM HERE", 911, 0)
     pUnit:GossipSendMenu(player)
    end
    if(intid == 50) then
       player:SetModel(20681)
    end
    if(intid == 51) then
       player:SetModel(14779)
    end
    if(intid == 52) then
       player:SetModel(7570)
    end
    if(intid == 53) then
       player:SetModel(10992)
    end
    if(intid == 54) then
       player:SetModel(22642)
    end
    if(intid == 55) then
       player:SetModel(23224)
    end
    if(intid == 56) then
       player:SetModel(23225)
    end
    if(intid == 57) then
       player:SetModel(22980)
    end
    if(intid == 58) then
       player:SetModel(21443)
    end
    if(intid == 59) then
       player:SetModel(23523)
    end
    if(intid == 60) then
       player:SetModel(20628)
    end
    if(intid == 8) then
       pUnit:SendChatMessage(12, 0, "Please log out and then log back in to return to you're true form.")
    end
    if(intid == 750) then
       player:Teleport(1, -108.361244, 2035.438721, 255.886032)
    end
    if(intid == 751) then
       player:Teleport(1, 1653.308838, -4415.008789, 16.596895)
    end
    if(intid == 752) then
       player:Teleport(0, 1568.948730, 240.901865, -52.147099)
    end
    if(intid == 753) then
       player:Teleport(1, -1197.209229, 26.557766, 176.949020)
    end
    if(intid == 754) then
       player:Teleport(530, 9465.902344, -7279.244629, 14.204638)
    end
    if(intid == 755) then
       player:Teleport(530, -1876.769043, 5451.196777, -12.427807)
    end
    if(intid == 756) then
       player:Teleport(0, -9059.938477, 437.619415, 93.055969)
    end
    if(intid == 757) then
       player:Teleport(0, -4995.001653, -865.970154, 497.011536)
    end
    if(intid == 758) then
       player:Teleport(1, 9952.082031, 2285.412842, 1341.393921)
    end
    if(intid == 759) then
       player:Teleport(530, -3920.354736, -11615.578125, 138.357208)
    end
    if(intid == 850) then
       player:Teleport(530, 12558, -6775.149902, 15.032568)
    end
    if(intid == 851) then
       player:Teleport(530, -3640.775391, 313.752869, 35.271343)
    end
    if(intid == 852) then
       player:Teleport(530, 6850, 7950, 170)
    end
    if(intid == 853) then
       player:Teleport(530, 3100.124582, 1533.054688, 190.300369)
    end
    if(intid == 854) then
       player:Teleport(1, -8482.785156, -8482.785156, -8482.785156)
    end
    if(intid == 855) then
       player:Teleport(0, -8482.785156, -8482.785156, -8482.785156)
    end
    if(intid == 856) then
       player:Teleport(530, -3323.537109, 4868.576660, -99.459801)
    end
    if(intid == 857) then
       player:Teleport(530, -271.185303, 3114.522217, 31.386936)
    end
    if(intid == 858) then
       player:Teleport(530, 3543.103271, 5091.642578, 3.703918)
    end
    if(intid == 859) then
       player:Teleport(1, -8157.667480, 1528.788330, 4.197440)
    end
    if(intid == 860) then
       player:Teleport(530, -735.311829, 6865.698730, -69.713669)
    end
    if(intid == 861) then
       player:Teleport(0, -11915.859375, -1180.229004, 85.140755)
    end
    if(intid == 900) then
       player:Teleport(530, -249.750854, 960.128845, 54.343956)
    end
    if(intid == 901) then
       player:Teleport(530, -1846.033691, 3199.804688, 6.753517)
    end
    if(intid == 902) then
       player:Teleport(530, 3397.15991, 3397.15991, 125.305023)
    end
    if(intid == 903) then
       player:Teleport(530, -534.01757, 8435.868164,  8435.868164)
    end
    if(intid == 904) then
       player:Teleport(530, -237.731461, 5422.525391,  5422.525391)
    end
    if(intid == 905) then
       player:Teleport(530, 1596.716064, 1596.716064,  129.512451)
    end
    if(intid == 906) then
       player:Teleport(0, -13259.100586, 169.506262, 34.615089)
    end
    if(intid == 907) then
       player:Teleport(1, -7154.859863, -3817.939941, 8.398168)
    end
    if(intid == 908) then
       player:Teleport(1, -14293.861328, 539.727844, 8.825499)
    end
    if(intid == 909) then
       player:Teleport(0, -960.564819, -3760.470459, 5.253857)
    end
    if(intid == 910) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 911) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 912) then
       player:Teleport(1, 100, 100, 100)
    end
    if(intid == 913) then
       player:Teleport(1, 100, 100, 100)
    end
    intid = 0
    end
    RegisterUnitGossipEvent(55555, 1, "NPC_on_gossip_talk") 
    RegisterUnitGossipEvent(55555, 2, "NPC_on_gossip_select")

    i made a custom mob with the id 55555 but it dident work... can it have something with that all my lua scripts in my lua folder ( came with the repack) is .dll or .ddl or what everits called and this is .lua?? i have a arcemu core...
    i putted down alot of time on this so would be happy if any1 could help me out.
    thx... btw +Rep Superfly for this and +Rep to the one that helps me out
    You need lua++ enabled. You can get this from the lua++ svn or blua, both work fine.

  13. #13
    Lauren's Avatar Member
    Reputation
    14
    Join Date
    Jul 2008
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Superfly View Post
    pUnit:SendChatMessage(12, 0, "Please log out and then log back in to return to you're true form.")
    lol, Soul02 said it and I'm gonna say it,

    try player:SetModel(0) - instead
    Last edited by Lauren; 10-15-2008 at 03:41 AM. Reason: Forgot the Quote :P

  14. #14
    Jonthe838's Avatar Contributor
    Reputation
    83
    Join Date
    Aug 2008
    Posts
    373
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Murlock. View Post
    You need lua++ enabled. You can get this from the lua++ svn or blua, both work fine.

    ok... im realy noob at scripting... this is the first script i ever have tryed to use... is there a guide or something?? or what progam do i need??
    thx
    Lines of Coding: |||||||||| Goal 1000
    Current: 677 Achived Goals: 500 Lines


  15. #15
    Lauren's Avatar Member
    Reputation
    14
    Join Date
    Jul 2008
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nvm. Sorry

Page 1 of 2 12 LastLast

Similar Threads

  1. [Info]Will Make Custom Events/Quests/NPCs !
    By Hellgawd in forum World of Warcraft Emulator Servers
    Replies: 16
    Last Post: 01-21-2008, 01:18 PM
  2. query to take the skill requierment of mounts
    By *TraPStaR* in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 11-26-2007, 12:38 PM
  3. Custom Teleporter
    By Dragut in forum World of Warcraft Emulator Servers
    Replies: 18
    Last Post: 11-11-2007, 06:48 PM
  4. Custom teleport npcs question please help
    By friendofdar in forum World of Warcraft Emulator Servers
    Replies: 3
    Last Post: 09-24-2007, 09:35 PM
  5. Info on taking Ragnaros (And other MC general info)
    By Cush in forum World of Warcraft Guides
    Replies: 4
    Last Post: 05-28-2006, 03:53 AM
All times are GMT -5. The time now is 08:40 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search