| | Emulator Server Guides Guides for working with World of Warcraft Emulator servers. Learn how to create a WoW Server here.
[NO QUESTIONS HERE] |  | | 
12-11-2008
|  | Master Sergeant | | | Join Date: Jan 2007
Posts: 124
Reputation: 26 Level up: 53%, 333 Points needed |  | | 3.0.3 Arcemu Wotlk extras! This is a guide on how to make an Item teleporter, I take no credit for the item because Edude from the Frosteam made this, how ever i did make the guide. This works with Arcemu 3.0.3 Wotlk, So if it doesn't execute into your db, keep saving it and trying again. More fun stuff to come. Copy this: 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")
and name it Teleporter.lua (Make sure when your saving it you click the drop down menu for files and click All files,
this will ensure it saves as a Lua). Here is a screen shot: 
And here is the SQL code, Copy this and save it as SQL once again, use the drop down menu and click all files like in the image above, for example: save it as Teleport.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);
Once you've done this, Go into your arcemu world.conf and change: Code: #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Scripting Engine Setup
#
# ArcEmu can support multiple script backends via the means of loading .dll files for them.
# This section in the config can enable/disable those backends.
#
# LUA
# If you would like to enable the LUA scripting backend, enable this.
# Default: 0
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
<ScriptBackends LUA="0"
AS="0"> To: Code: #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Scripting Engine Setup
#
# ArcEmu can support multiple script backends via the means of loading .dll files for them.
# This section in the config can enable/disable those backends.
#
# LUA
# If you would like to enable the LUA scripting backend, enable this.
# Default: 0
#
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
<ScriptBackends LUA="1"
AS="0">
There you go! Congratulations, You now have an item teleporter, Either restart your server or type .server reloadtable items.
Thanks for reading my guide! please post feedback
Last edited by Caros; 12-15-2008 at 08:08 PM.
| Donate to remove ads, get your "DONATOR title, and get access to the MMOwned community's elite Shoutbawx. 
12-12-2008
|  | Contributor | | | Join Date: Oct 2007 Location: A wonderful world...
Posts: 740
Reputation: 135 Level up: 99%, 21 Points needed |     | | | Thank you for not taking credit this is from the Arcemu people, Poison and those guys +rep 2x for bringing here | 
12-13-2008
|  | Master Sergeant | | | Join Date: Jan 2007
Posts: 124
Reputation: 26 Level up: 53%, 333 Points needed |  | | To be honest, All Edude did was posted the Codes for the Lua and SQL, I made a guide for them  and ty for rep | 
12-14-2008
|  | Sergeant Major | | | Join Date: Dec 2008
Posts: 151
Nominated 1 Times in 1 Post Reputation: 21 Level up: 68%, 163 Points needed |   | | | whats the spawn id? | 
12-14-2008
|  | Master Sergeant | | | Join Date: Jan 2007
Posts: 124
Reputation: 26 Level up: 53%, 333 Points needed |  | | | just type .lookup item Teleport | 
12-16-2008
|  | Master Sergeant | | | Join Date: Jan 2007
Posts: 124
Reputation: 26 Level up: 53%, 333 Points needed |  | | | well, thx for the feedback -.-
__________________ Those who are of assistance to you. | 
12-16-2008
| | Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep) | | | Join Date: Mar 2008
Posts: 5
Reputation: 1 | | | Nice
thnks | 
12-16-2008
| | Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep) | | | Join Date: Mar 2008
Posts: 5
Reputation: 1 | | | Lol Btw, Where do i put the teleporter.lua file | 
12-16-2008
|  | Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep) | | | Join Date: May 2007 Location: arizona
Posts: 8
Reputation: 1 | | | thanks much | 
12-19-2008
|  | Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep) | | | Join Date: Dec 2007 Location: NC
Posts: 13
Reputation: 1 Level up: 39%, 309 Points needed |  | | | Great guide help clear up a lot of issues. | 
12-21-2008
| | Corporal | | | Join Date: Jun 2007
Posts: 19
Reputation: 6 Level up: 55%, 229 Points needed |  | | | nice work "D | 
12-25-2008
|  | Master Sergeant | | | Join Date: Jan 2007
Posts: 124
Reputation: 26 Level up: 53%, 333 Points needed |  | | | put the teleport.lua file in your scripts folder O.o
__________________ Those who are of assistance to you. | 
12-27-2008
| | New User | | | Join Date: Dec 2008
Posts: 8
Reputation: 3 | | | Good job cool item | 
12-27-2008
|  | Contributor | | | Join Date: Sep 2008 Location: No(r)way
Posts: 656
Nominated 5 Times in 2 Posts Reputation: 149 Level up: 63%, 337 Points needed |     | | | Can any1 help me? i get this error in arcemu-world.exe:
ArcScriptMiscScripts.dll : 0x003E0000 : version mismatch!
ArcScriptQuestScripts.dll : 0x01E20000 : version mismatch!
ExtraScripts.dll : 0x02760000 : version mismatch!
GossipScripts.dll : 0x01E20000 : version mismatch!
InstanceScripts.dll : 0x285A000 : version mismatch!
LUAScripting.dll : 0x02760000 : version mismatch!
ServerStatusPlugin.dll : 0x02760000 : version mismatch!
SpellHandlers.dll : 0x002A0000 : version mismatch!
PLZ HELP ME! I dont know what's the problem. So if any1 could be so kind and help me then i would be grateful. | 
12-27-2008
|  | Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep) | | | Join Date: Dec 2008
Posts: 12
Reputation: 1 | | | Doesn't work.. did everything but When i lookup the item i can't find it.... |  | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -4. The time now is 02:36 AM. |