[FrostTeam] LUA Item Teleporter menu

User Tag List

Page 1 of 4 1234 LastLast
Results 1 to 15 of 46
  1. #1
    Edude's Avatar Member
    Reputation
    98
    Join Date
    Jul 2008
    Posts
    406
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [FrostTeam] LUA Item Teleporter

    Another FrostTeam (this one I made it) Release, now here's an item that ports you. Has Outland, and Northrend locations plus Main Cities.

    I still have to add raid locations, Azeroth Locations and Sanctuaries

    Code:
     function Item_Trigger(item, event, player)
      Item_menu(item, player)
     end
    
     function Item_menu(item, player)
    if (player:IsInCombat() == true) then
     player:SendAreaTriggerMessage("You are in combat, sucker")
        else                          
      item:GossipCreateMenu(3543, player, 0)
     local race=player:GetPlayerRace()
    if race==1 or race==3 or race==4 or race==7 or race==11 then
      item:GossipMenuAddItem(2, "Alliance Cities", 2, 0)
      item:GossipMenuAddItem(2, "Outland Locations", 4, 0)
      item:GossipMenuAddItem(2, "Northrend locations", 5, 0)
      item:GossipMenuAddItem(2, "Buff me", 6, 0)
      item:GossipSendMenu(player)
        else
      item:GossipCreateMenu(3543, player, 0)
      item:GossipMenuAddItem(2, "Horde Cities", 3, 0)
      item:GossipMenuAddItem(2, "Outland Locations", 4, 0)
      item:GossipMenuAddItem(2, "Northrend locations", 5, 0)
      item:GossipMenuAddItem(2, "Buff me", 3, 0)
      item:GossipSendMenu(player)
     end
    end
    end
    
     function OnSelect(item, event, player, id, intid, code)
    if (intid == 2) then
      item:GossipCreateMenu(3543, player, 0)
      item:GossipMenuAddItem(2, "Stormwind", 40, 0)
      item:GossipMenuAddItem(2, "Ironforge", 41, 0)
      item:GossipMenuAddItem(2, "Darnassus", 42, 0)
      item:GossipMenuAddItem(2, "The Exodar", 43, 0)
      item:GossipMenuAddItem(2, "[BACK]", 44, 0)
      item:GossipSendMenu(player)
     end
    if (intid == 3) then
      item:GossipCreateMenu(3543, player, 0)
      item:GossipMenuAddItem(2, "Orgrimmar", 50, 0)
      item:GossipMenuAddItem(2, "Thunder Bluff", 51, 0)
      item:GossipMenuAddItem(2, "Undercity", 52, 0)
      item:GossipMenuAddItem(2, "Silvermoon", 53, 0)
      item:GossipMenuAddItem(2, "[BACK]", 54, 0)
      item:GossipSendMenu(player)
     end
    if (intid == 4) then
      item:GossipCreateMenu(3543, player, 0)
      item:GossipMenuAddItem(2, "Hellfire Peninsula [58-63]", 61, 0)
      item:GossipMenuAddItem(2, "Zangarmarsh [60-64]", 62, 0)
      item:GossipMenuAddItem(2, "Terokkar Forest [62-65]", 63, 0)
      item:GossipMenuAddItem(2, "Nagrand [64-67]", 64, 0)
      item:GossipMenuAddItem(2, "Blade's Edge Mountains [65-68]", 65, 0)
      item:GossipMenuAddItem(2, "Netherstorm [67-70]", 66, 0)
      item:GossipMenuAddItem(2, "Shadowmoon Valley [67-70]", 67, 0)
      item:GossipMenuAddItem(2, "[BACK]", 123, 0)
     end
    if (intid == 5) then
      item:GossipCreateMenu(3543, player, 0)
      item:GossipMenuAddItem(2, "Borean Tundra [68-72]", 100, 0)
      item:GossipMenuAddItem(2, "Howling Fjord [68-72]", 150, 0)
      item:GossipMenuAddItem(2, "Dragonblight [71-74]", 200, 0)
      item:GossipMenuAddItem(2, "Grizzly Hills [73-75]", 250, 0)
      item:GossipMenuAddItem(2, "Crystalsong Forest [74-76]", 300, 0)
      item:GossipMenuAddItem(2, "Zul'Drak [74-77]", 350, 0)
      item:GossipMenuAddItem(2, "Sholazar Basin [75-78]", 400, 0)
      item:GossipMenuAddItem(2, "The Storm Peaks [76-80]", 450, 0)
      item:GossipMenuAddItem(2, "Icecrown [77-80]", 500, 0)
      item:GossipMenuAddItem(2, "Wintergrasp [PVP]", 550, 0)
      item:GossipMenuAddItem(2, "[BACK]", 123, 0)
     end
    if (intid == 6) then
      player:FullCastSpellOnTarget(16609,player)
     end
    if (intid == 40) then
      player:Teleport(0, -8913, 555, 95)
     end
    if (intid == 41) then
      player:Teleport(0, -4981, -882, 503)
     end
    if (intid == 42) then
      player:Teleport(1, 8796, 969, 31)
     end
    if (intid == 43) then
      player:Teleport(530, -4014, -11897, -2)
     end
    if (intid == 44) then
      item:GossipCreateMenu(3543, player, 0)
      item:GossipMenuAddItem(2, "Alliance Cities", 2, 0)
      item:GossipMenuAddItem(2, "Outland Locations", 4, 0)
      item:GossipMenuAddItem(2, "Northrend locations", 5, 0)
      item:GossipMenuAddItem(2, "Buff me", 6, 0)
      item:GossipSendMenu(player)
     end
    if (intid == 50) then
      player:Teleport(1, 1503, -4415, 23)
     end
    if (intid == 51) then
      player:Teleport(1, -1285, 177, 131)
     end
    if (intid == 52) then
      player:Teleport(0, 1831, 239, 62)
     end
    if (intid == 53) then
      player:Teleport(530, 9414, -7279, 15)
     end
    if (intid == 54) then
      item:GossipCreateMenu(3543, player, 0)
      item:GossipMenuAddItem(2, "Horde Cities", 3, 0)
      item:GossipMenuAddItem(2, "Outland Locations", 4, 0)
      item:GossipMenuAddItem(2, "Northrend locations", 5, 0)
      item:GossipMenuAddItem(2, "Buff me", 3, 0)
      item:GossipSendMenu(player)
     end
    if (intid == 61) then
      player:Teleport(530, -247, 941, 85)
     end
    if (intid == 62) then
      player:Teleport(530, 30, 6983, 150)
     end
    if (intid == 63) then
      player:Teleport(530, -1177, 5336, 31)
     end
    if (intid == 64) then
      player:Teleport(530, -526, 8440, 48)
     end
    if (intid == 65) then
      player:Teleport(530, 1114, 7091, 124)
     end
    if (intid == 66) then
      player:Teleport(530, 2281, 2521, 116)
     end
    if (intid == 67) then
      player:Teleport(530, -3081, 2567, 63)
     end
    if (intid == 100) then
      player:Teleport(571, 3452, 3836, 29)
     end
    if (intid == 150) then
      player:Teleport(571, 592, -5095, 6)
     end
    if (intid == 200) then
      player:Teleport(571, 3577, 656, 77)
     end
    if (intid == 250) then
      player:Teleport(571, 2767, -2889, 64)
     end
    if (intid == 300) then
      player:Teleport(571, 5398, -743, 163)
     end
    if (intid == 350) then
      player:Teleport(571, 5449, -1442, 248)
     end
    if (intit == 400) then
      player:Teleport(571, 6516, 4824, -55)
     end
    if (intid == 450) then
      player:Teleport(571, 7343, -927, 910)
     end
    if (intid == 500) then
      player:Teleport(571, 6434, 1151, 283)
     end
    if (intid == 550) then
      player:Teleport(571, 4717, 2420, 3462)
     end
    if (intid == 123) then
      item:GossipCreateMenu(3543, player, 0)
     end
     local race=player:GetPlayerRace()
    if race==1 or race==3 or race==4 or race==7 or race==11 then
      item:GossipMenuAddItem(2, "Alliance Cities", 2, 0)
      item:GossipMenuAddItem(2, "Outland Locations", 4, 0)
      item:GossipMenuAddItem(2, "Northrend locations", 5, 0)
      item:GossipMenuAddItem(2, "Buff me", 6, 0)
      item:GossipSendMenu(player)
        else
      item:GossipCreateMenu(3543, player, 0)
      item:GossipMenuAddItem(2, "Horde Cities", 3, 0)
      item:GossipMenuAddItem(2, "Outland Locations", 4, 0)
      item:GossipMenuAddItem(2, "Northrend locations", 5, 0)
      item:GossipMenuAddItem(2, "Buff me", 3, 0)
      item:GossipSendMenu(player)
     end
    end
    
    
    
     
    RegisterItemGossipEvent(69480,1,"Item_Trigger")
    RegisterItemGossipEvent(69480,2,"OnSelect")
    SQL
    Code:
    INSERT INTO items (entry, class, subclass, field4, name1, name2, name3, name4, displayid, quality, flags, buyprice, sellprice, inventorytype, allowableclass, allowablerace, itemlevel, requiredlevel, RequiredSkill, RequiredSkillRank, RequiredSkillSubRank, RequiredPlayerRank1, RequiredPlayerRank2, RequiredFaction, RequiredFactionStanding, `Unique`, maxcount, ContainerSlots, stat_type1, stat_value1, stat_type2, stat_value2, stat_type3, stat_value3, stat_type4, stat_value4, stat_type5, stat_value5, stat_type6, stat_value6, stat_type7, stat_value7, stat_type8, stat_value8, stat_type9, stat_value9, stat_type10, stat_value10, dmg_min1, dmg_max1, dmg_type1, dmg_min2, dmg_max2, dmg_type2, dmg_min3, dmg_max3, dmg_type3, dmg_min4, dmg_max4, dmg_type4, dmg_min5, dmg_max5, dmg_type5, armor, holy_res, fire_res, nature_res, frost_res, shadow_res, arcane_res, delay, ammo_type, range, spellid_1, spelltrigger_1, spellcharges_1, spellcooldown_1, spellcategory_1, spellcategorycooldown_1, spellid_2, spelltrigger_2, spellcharges_2, spellcooldown_2, spellcategory_2, spellcategorycooldown_2, spellid_3, spelltrigger_3, spellcharges_3, spellcooldown_3, spellcategory_3, spellcategorycooldown_3, spellid_4, spelltrigger_4, spellcharges_4, spellcooldown_4, spellcategory_4, spellcategorycooldown_4, spellid_5, spelltrigger_5, spellcharges_5, spellcooldown_5, spellcategory_5, spellcategorycooldown_5, bonding, description, page_id, page_language, page_material, quest_id, lock_id, lock_material, sheathID, randomprop, unk203_1, block, itemset, MaxDurability, ZoneNameID, mapid, bagfamily, TotemCategory, socket_color_1, unk201_3, socket_color_2, unk201_5, socket_color_3, unk201_7, socket_bonus, GemProperties, ReqDisenchantSkill, unk2) 
    VALUES (69480, 15, 0, -1, "Teleporter", "Teleporter", "Teleporter", "Teleporter", 6418, 4, 64, 0, 0, 0, -1, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 33208, 0, 300, -1, 0, -1, 0, 0, 0, -1, 0, -1, 0, 0, 0, -1, 0, -1, 0, 0, 0, -1, 0, -1, 0, 0, 0, -1, 0, -1, 1, "Made by FrostTeam of MMOwned", 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0);

    What is FrostTeam Project?
    FrostTeam Project, is a Wotlk Scripting project, related to fun events

    Who makes part of it?
    *Edude
    *Nymphx
    *bsod-staff14 - Partnership
    *stoneharry
    *Snailz


    You can download our newest content on:


    frosteam - Revision 43/
    Last edited by Edude; 12-03-2008 at 03:51 PM.

    [FrostTeam] LUA Item Teleporter
  2. #2
    Edude's Avatar Member
    Reputation
    98
    Join Date
    Jul 2008
    Posts
    406
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    BUMP

    jeez im gonna give up from scripting If I dont get positive/negative comments

  3. #3
    JaRRu's Avatar Member
    Reputation
    2
    Join Date
    Oct 2008
    Posts
    75
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Dont give up!, you make amazing event! , ya are my idol

  4. #4
    Edude's Avatar Member
    Reputation
    98
    Join Date
    Jul 2008
    Posts
    406
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmm? lol. Anyway thanks for saying that.

    Yey I have a fan WOOOOT oO

  5. #5
    bsod-staff14's Avatar Member
    Reputation
    35
    Join Date
    Nov 2008
    Posts
    443
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Jezzz bro...Already doing great...Lmfao....but now On tuesday we gettin the site paid for full...And it will be a automatic thing for a year so it wont be down ever!
    Last edited by bsod-staff14; 11-29-2008 at 02:37 PM.
    Immortal GamerZ Under Development!

  6. #6
    Chrispee's Avatar The True Repacker


    Reputation
    686
    Join Date
    Mar 2007
    Posts
    931
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looking good very good team




  7. #7
    Edude's Avatar Member
    Reputation
    98
    Join Date
    Jul 2008
    Posts
    406
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks bsod-staff14 :P I <3 you too

    OMG Chrispee commented!!

    Edit: 18 more for contributor yay!

  8. #8
    bsod-staff14's Avatar Member
    Reputation
    35
    Join Date
    Nov 2008
    Posts
    443
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    And its not a problem and good luck with contributer!I hope you get it!But it will be frostteam.com my part will be bsodproductions.frostteam.com K?
    Immortal GamerZ Under Development!

  9. #9
    phantomphreak241's Avatar Member
    Reputation
    1
    Join Date
    Jan 2007
    Posts
    36
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this isnt working for me do i need to put the sql code in because you didnt post one it says invalid item entry?

  10. #10
    Edude's Avatar Member
    Reputation
    98
    Join Date
    Jul 2008
    Posts
    406
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yes you have....

  11. #11
    project anthrax's Avatar Contributor
    Reputation
    180
    Join Date
    Nov 2007
    Posts
    993
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    good luck guys looks great +rep
    removed by Unholy

  12. #12
    bsod-staff14's Avatar Member
    Reputation
    35
    Join Date
    Nov 2008
    Posts
    443
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Got paid site be up in a few hours!
    Immortal GamerZ Under Development!

  13. #13
    Samson123's Avatar Member
    Reputation
    7
    Join Date
    Oct 2007
    Posts
    52
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    im having a problim with this.I dont think its the code i think its my sql.could some one post a sql for this item?I tryed to make one but when i add it to my inv and click on it nothing happens.So im guessing im not making the right item.Im using item entry "80000"

  14. #14
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,503
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very Nice, Once again Edude. +Rep

  15. #15
    Edude's Avatar Member
    Reputation
    98
    Join Date
    Jul 2008
    Posts
    406
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks x Elite x :O

    To Samson - Id of item is 69480, and set its flags to 64 :P

Page 1 of 4 1234 LastLast

Similar Threads

  1. What is wrong with this item teleportation Lua script ?
    By Wheeze201 in forum WoW EMU Questions & Requests
    Replies: 6
    Last Post: 08-13-2009, 08:50 AM
  2. [LUA]Warp/Teleport item.
    By Medzii in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 02-09-2009, 11:31 AM
  3. How do i make an item teleport user?
    By controlsx2 in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 05-11-2008, 03:42 PM
  4. [Release] Item Teleporter Core
    By jokerjokes in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 12-29-2007, 09:32 PM
  5. item Teleport [completed and functional]
    By venom9122 in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 12-13-2007, 11:46 PM
All times are GMT -5. The time now is 10:05 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