PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Don't like ads?
PRO users
don't see any ads ;-)
Public Pastes
A bug in standalone!
Latex | 6 sec ago
Untitled
42 sec ago
Untitled
19 sec ago
Untitled
43 sec ago
Untitled
24 sec ago
Untitled
27 sec ago
Untitled
27 sec ago
Untitled
30 sec ago
[ArcEmu ALE]: Extended TeleportNPC
By: a guest on
Apr 25th, 2012
| syntax:
Lua
| size: 19.22 KB | hits: 29 | expires: Never
download
|
raw
|
embed
|
report abuse
|
print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
--[[
* TeleportNPC
* Scripted by Psykko @ WoWBase
* Original script by Seejay @ Ac-Web
* Note:
* Ive added Unused menupoints for funservers too, to activate them, easily delete the "[" infront of the line
* and dont forget fill out the coordinations on the first Locale Section!
]]
--
--[[
Mall Locales
]]
--
local
global_mall
=
map
,
x
,
y
,
z
,
o
local
alliance_mall
=
map
,
x
,
y
,
z
,
o
local
horde_mall
=
map
,
x
,
y
,
z
,
o
--[[
Spell Locals
]]
--
local
spells
=
{
[
"Warrior"
]
=
{
2457
,
1715
,
2687
,
71
,
355
,
7384
,
72
,
694
,
2565
,
676
,
20230
,
12678
,
5246
,
1161
,
871
,
2458
,
20252
,
18449
,
1680
,
6552
,
11578
,
1719
,
34428
,
23920
,
3411
,
55694
,
47450
,
47465
,
47520
,
47467
,
47436
,
47502
,
47437
,
47475
,
47440
,
47471
,
57755
,
57823
,
47488
}
,
[
"Deathknight"
]
=
{
48778
,
48266
,
50977
,
49576
,
49142
,
46584
,
48263
,
48528
,
45524
,
3714
,
48792
,
45529
,
56222
,
48743
,
56815
,
48707
,
48265
,
41999
,
47568
,
57623
,
49941
,
49909
,
51429
,
49916
,
42650
,
49930
,
49938
,
49895
,
49924
,
49921
}
,
[
"Druid"
]
=
{
5487
,
6795
,
18960
,
5229
,
8946
,
1066
,
768
,
2782
,
2893
,
5209
,
783
,
5225
,
22842
,
9634
,
20719
,
29166
,
22812
,
8983
,
18658
,
9913
,
33357
,
33786
,
26995
,
40120
,
62078
,
49802
,
53307
,
52610
,
48575
,
48476
,
48560
,
49803
,
48443
,
48562
,
53308
,
48577
,
53312
,
48574
,
48465
,
48570
,
48378
,
48480
,
48579
,
48477
,
50213
,
48461
,
48470
,
48467
,
48568
,
48451
,
48469
,
48463
,
48441
,
50763
,
49800
,
48572
,
48447
}
,
[
"Hunter"
]
=
{
75
,
1494
,
13163
,
5116
,
883
,
2641
,
6991
,
982
,
1515
,
19883
,
20736
,
2974
,
6197
,
1002
,
19884
,
5118
,
34074
,
781
,
3043
,
1462
,
19885
,
3045
,
19880
,
13809
,
13161
,
5384
,
1543
,
19878
,
3034
,
13159
,
19882
,
14327
,
19879
,
19263
,
14311
,
19801
,
34026
,
27044
,
34600
,
34477
,
53271
,
49071
,
53338
,
49067
,
48996
,
49052
,
49056
,
49045
,
49001
,
61847
,
60192
,
61006
,
48990
,
53339
,
49048
,
58434
}
,
[
"Mage"
]
=
{
130
,
475
,
1953
,
12051
,
7301
,
32271
,
3562
,
3567
,
32272
,
3561
,
3563
,
2139
,
45438
,
3565
,
3566
,
32266
,
11416
,
11417
,
32267
,
10059
,
11418
,
11419
,
11420
,
12826
,
66
,
30449
,
53140
,
42917
,
43015
,
43017
,
42985
,
43010
,
42833
,
42914
,
42859
,
42846
,
43012
,
42842
,
43008
,
43024
,
43020
,
43046
,
42897
,
43002
,
42921
,
42940
,
42956
,
61316
,
61024
,
42973
,
47610
,
58659
}
,
[
"Paladin"
]
=
{
21084
,
20271
,
498
,
1152
,
53408
,
31789
,
62124
,
25780
,
1044
,
5502
,
19746
,
20164
,
10326
,
1038
,
53407
,
19752
,
20165
,
642
,
10278
,
20166
,
4987
,
6940
,
10308
,
23214
,
25898
,
25899
,
34767
,
32223
,
31892
,
31801
,
53736
,
53720
,
33776
,
31884
,
54428
,
54043
,
48943
,
48936
,
48945
,
48938
,
48947
,
48817
,
48788
,
48932
,
48942
,
48801
,
48785
,
48934
,
48950
,
48819
,
48806
,
48782
,
53601
,
61411
}
,
[
"Priest"
]
=
{
586
,
2053
,
528
,
6346
,
453
,
8129
,
605
,
552
,
6064
,
1706
,
988
,
10909
,
10890
,
60931
,
10955
,
34433
,
32375
,
48072
,
48169
,
48168
,
48170
,
48120
,
48063
,
48135
,
48171
,
48300
,
48071
,
48127
,
48113
,
48123
,
48173
,
47951
,
48073
,
48078
,
48087
,
53023
,
48161
,
48066
,
48162
,
48074
,
48068
,
48158
,
48125
}
,
[
"Rogue"
]
=
{
921
,
1776
,
1766
,
1804
,
51722
,
1725
,
2836
,
1833
,
1842
,
2094
,
1860
,
6774
,
26669
,
8643
,
11305
,
1787
,
26889
,
31224
,
5938
,
51724
,
57934
,
48674
,
48669
,
48659
,
48668
,
48672
,
48691
,
48657
,
57993
,
51723
,
48676
,
48638
}
,
[
"Shaman"
]
=
{
30671
,
2484
,
526
,
57994
,
8143
,
2645
,
2870
,
8166
,
131
,
10399
,
6196
,
546
,
556
,
8177
,
20608
,
36936
,
8012
,
8512
,
6495
,
8170
,
3738
,
2062
,
2894
,
2825
,
57960
,
49276
,
49236
,
58734
,
58582
,
58753
,
49231
,
49238
,
49277
,
55459
,
49271
,
49284
,
51994
,
61657
,
58739
,
49233
,
58656
,
58790
,
58745
,
58796
,
58757
,
49273
,
51514
,
60043
,
49281
,
58774
,
58749
,
58704
,
58643
,
58804
}
,
[
"Warlock"
]
=
{
59671
,
688
,
696
,
697
,
5697
,
698
,
712
,
126
,
5138
,
5500
,
132
,
691
,
18647
,
11719
,
1122
,
17928
,
6215
,
18540
,
23161
,
29858
,
50511
,
61191
,
47884
,
47856
,
47813
,
47855
,
47888
,
47865
,
47860
,
47857
,
47823
,
47891
,
47878
,
47864
,
57595
,
47893
,
47820
,
47815
,
47809
,
60220
,
47867
,
47889
,
48018
,
47811
,
47838
,
57946
,
58887
,
47836
,
61290
,
47825
}
,
}
--[[ for later use of the spell train method
if(Class and spells[Class]) then
for _, SpellID in ipairs(spells[Class]) do
pPlayer:LearnSpell(SpellID)
end
]]
--
--[[
Buff Locals
]]
--
local
buffs
=
{
[
"buffsids"
]
=
{
48161
,
20217
,
48936
,
48469
,
42995
,
20911
,
53307
,
48073
,
48169
}
,
}
--[[
Mount Locals
]]
--
local
mounts
=
{
[
"mountsids"
]
=
{
34790
,
17481
,
24252
,
54753
,
49379
,
41515
,
40192
,
63956
,
48169
}
,
}
--[[
Riding Locals
]]
--
local
RIDING_APPRENTICE
=
33388
local
RIDING_JOURNEYMAN
=
33391
local
RIDING_EXPERT
=
34090
local
RIDING_ARTISAN
=
34091
local
COLD_WEATHER_FLYING
=
54197
--[[
Emblem Locals
]]
--
local
EMBLEM_OF_FROST
=
49426
local
EMBLEM_OF_TRIUMPH
=
47241
local
EMBLEM_OF_VALOR
=
40753
local
EMBLEM_OF_CONQUEST
=
45624
local
EMBLEM_OF_HEROISM
=
40752
--[[
Misc. Locals
]]
--
function
TNPC
(
unit
,
event
)
TeleportNPC
=
unit
end
local
TeleportNPCEntryID
=
555555
local
Class
=
pPlayer
:
GetPlayerClass
(
)
local
race
=
player
:
GetPlayerRace
(
)
--[[
Main menu
]]
--
function
Gossip_OnTalk
(
unit
,
event
,
pPlayer
)
if
(
player
:
IsInCombat
(
)
==
true
)
then
player
:
SendAreaTriggerMessage
(
"|cFF00FFFF[WoWBase]: |cFFFFA500You are in Combat!"
)
else
TeleportNPC
:
GossipCreateMenu
(
3543
,
pPlayer
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"[Teleport Menu] ->"
,
1
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
7
,
"[Professions] ->"
,
2
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
7
,
"[Learn Spells] ->"
,
3
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
7
,
"[Player Tools] ->"
,
4
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
7
,
"[Buffs] ->"
,
5
,
0
)
TeleportNPC
:
GossipSendMenu
(
pPlayer
)
end
end
--[[
Menu Functions
]]
--
function
Gossip_OnSelect
(
unit
,
event
,
pPlayer
,
id
,
intid
,
code
)
if
(
intid
==
9
)
then
TeleportNPC
:
GossipCreateMenu
(
3543
,
pPlayer
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"[Teleport Menu] ->"
,
1
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
7
,
"[Professions] ->"
,
2
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
7
,
"[Learn Spells] ->"
,
3
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
7
,
"[Player Tools] ->"
,
4
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
7
,
"[Buffs] ->"
,
5
,
0
)
TeleportNPC
:
GossipSendMenu
(
pPlayer
)
end
if
(
intid
==
1
)
then
TeleportNPC
:
GossipCreateMenu
(
3543
,
pPlayer
,
0
)
[
[
if
race
==
2
or
race
==
5
or
race
==
6
or
race
==
8
or
race
==
10
then
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Horde Mall] ->"
,
7
,
0
)
-- Horde Mall, for pvp servers
end
if
race
==
1
or
race
==
3
or
race
==
4
or
race
==
7
or
race
==
11
then
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Alliance Mall] ->"
,
8
,
0
)
-- Alliance Mall, for pvp servers
end
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Mall] ->"
,
6
,
0
)
-- Global Mall, for funservers ]]
TeleportNPC
:
GossipMenuAddItem
(
5
,
"[Home cities] ->"
,
10
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"[Neutral cities] ->"
,
11
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"[Arenas] ->"
,
12
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"[Dungeons] ->"
,
13
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"[Raids] ->"
,
14
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"[Zones] ->"
,
15
,
0
)
TeleportNPC
:
GossipSendMenu
(
pPlayer
)
end
-- ******************************************************
--****************** Horde City Menu ********************
if
(
intid
==
10
)
then
TeleportNPC
:
GossipCreateMenu
(
3543
,
pPlayer
,
0
)
if
race
==
2
or
race
==
5
or
race
==
6
or
race
==
8
or
race
==
10
then
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Orgrimmar] ->"
,
20
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Thunderbluff] ->"
,
21
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Silvermoon] ->"
,
22
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Undercity] ->"
,
23
,
0
)
end
-- ******************************************************
-- *************** Alliance City Menu *******************
if
race
==
1
or
race
==
3
or
race
==
4
or
race
==
7
or
race
==
11
then
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Stormwind] ->"
,
24
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Ironforge] ->"
,
25
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Exodar] ->"
,
26
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Darnassus] ->"
,
27
,
0
)
end
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Back]"
,
1
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Mainpage]"
,
9
,
0
)
TeleportNPC
:
GossipSendMenu
(
pPlayer
)
end
-- ******************************************************
-- **************** Neutral City Menu *******************
if
(
intid
==
11
)
then
TeleportNPC
:
GossipCreateMenu
(
3543
,
pPlayer
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Dalaran] ->"
,
30
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Shattrath] ->"
,
31
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Booty Bay] ->"
,
32
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Back]"
,
1
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Mainpage]"
,
9
,
0
)
TeleportNPC
:
GossipSendMenu
(
pPlayer
)
end
-- ******************************************************
-- ******************* Arena Menu ***********************
if
(
intid
==
12
)
then
TeleportNPC
:
GossipCreateMenu
(
3543
,
pPlayer
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Gurubashi Arena] ->"
,
40
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Circle of Blood Arena] ->"
,
41
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[The Cube] ->"
,
42
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Back]"
,
1
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Mainpage]"
,
9
,
0
)
TeleportNPC
:
GossipSendMenu
(
pPlayer
)
end
-- ******************************************************
-- ****************** Dungeon Menu **********************
if
(
intid
==
13
)
then
TeleportNPC
:
GossipCreateMenu
(
3543
,
pPlayer
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Dungeons (1-60)] ->"
,
50
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Dungeons (60-70)] ->"
,
51
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Dungeons (70-80)] ->"
,
52
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Back]"
,
1
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Mainpage]"
,
9
,
0
)
TeleportNPC
:
GossipSendMenu
(
pPlayer
)
end
-- ******************************************************
-- ************** Dungeon 1-60 Page 1 *******************
if
(
intid
==
50
)
then
TeleportNPC
:
GossipCreateMenu
(
3543
,
pPlayer
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Ragefire Chasm (15-21)] ->"
,
60
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[The Deadmines (15-21)] ->"
,
61
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Wailing Caverns (15-25)] ->"
,
62
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Shadowfang Keep (16-26)] ->"
,
63
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Blackfathom Deeps (20-30)] ->"
,
64
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Stormwind Stockade (20-30)] ->"
,
65
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Gnomeregan (24-34)] ->"
,
66
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Scarlet Monastery (26-42)] ->"
,
67
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Razorfen Kraul (30-40)] ->"
,
68
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"[Page 2] ->"
,
53
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Back]"
,
13
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Mainpage]"
,
9
,
0
)
TeleportNPC
:
GossipSendMenu
(
pPlayer
)
end
-- ******************************************************
-- ************** Dungeon 1-60 Page 2 *******************
if
(
intid
==
53
)
then
TeleportNPC
:
GossipCreateMenu
(
3543
,
pPlayer
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Maraudon (30-46)] ->"
,
69
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Uldaman (35-45)] ->"
,
70
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Razorfen Dawns (35-43)] ->"
,
71
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Zul Farrak (40-48)] ->"
,
72
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Sunken Temple (45-55)] ->"
,
73
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Dire Maul (50-60)] ->"
,
74
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Blackrock Depths (50-60)] ->"
,
75
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Blackrock Spire (50-60)] ->"
,
76
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Scholomance (50-60)] ->"
,
77
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Stratholme (50-60)] ->"
,
78
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Back]"
,
50
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Mainpage]"
,
9
,
0
)
TeleportNPC
:
GossipSendMenu
(
pPlayer
)
end
-- ******************************************************
-- ****************** Raiding Menu **********************
if
(
intid
==
14
)
then
TeleportNPC
:
GossipCreateMenu
(
3543
,
pPlayer
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Level 60 raids] ->"
,
80
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Level 70 raids] ->"
,
81
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Level 80 raids] ->"
,
82
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Back]"
,
1
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Mainpage]"
,
9
,
0
)
TeleportNPC
:
GossipSendMenu
(
pPlayer
)
end
-- ******************************************************
-- ***************** Level 60 Raids *********************
if
(
intid
==
80
)
then
TeleportNPC
:
GossipCreateMenu
(
3543
,
pPlayer
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Zul'Gurub] ->"
,
83
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Molten Core] ->"
,
84
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Blackwing Lair] ->"
,
85
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Ahn'Qiraj Ruins] ->"
,
86
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Ahn'Qiraj Temple] ->"
,
87
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Back]"
,
14
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Mainpage]"
,
9
,
0
)
TeleportNPC
:
GossipSendMenu
(
pPlayer
)
end
-- ******************************************************
-- ***************** Level 70 Raids *********************
if
(
intid
==
81
)
then
TeleportNPC
:
GossipCreateMenu
(
3543
,
pPlayer
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Karazhan] ->"
,
88
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Gruul's Lair] ->"
,
89
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Magtheridon's Lair] ->"
,
90
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Zul'Aman] ->"
,
91
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Serpentshrine Cavern] ->"
,
92
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Tempest Keep: The Eye] ->"
,
93
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Hyjal Spire] ->"
,
94
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Black Temple] ->"
,
95
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Sunwell Plateau] ->"
,
96
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Back]"
,
14
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Mainpage]"
,
9
,
0
)
TeleportNPC
:
GossipSendMenu
(
pPlayer
)
end
-- ******************************************************
-- ***************** Level 80 Raids *********************
if
(
intid
==
82
)
then
TeleportNPC
:
GossipCreateMenu
(
3543
,
pPlayer
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Naxxramas] ->"
,
88
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Obsidian Sanctum] ->"
,
89
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Ruby Sanctum] ->"
,
90
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Vault of Archavon] ->"
,
91
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Eye of Eternity] ->"
,
92
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Ulduar] ->"
,
93
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Icecrown Citadel] ->"
,
94
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Trial of the Crusader] ->"
,
95
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
10
,
"[Onyxia's Lair] ->"
,
96
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Back]"
,
14
,
0
)
TeleportNPC
:
GossipMenuAddItem
(
5
,
"<- [Mainpage]"
,
9
,
0
)
TeleportNPC
:
GossipSendMenu
(
pPlayer
)
end
-- ******************************************************
--***************** Horde City Ports ********************
-- Orgrimmar
if
(
intid
==
20
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
1
,
1371.068970
,
-
4370.801758
,
26.052483
)
end
-- Thunderbluff
if
(
intid
==
21
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
1
,
-
1304.569946
,
205.285004
,
68.681396
)
end
-- Silvermoon
if
(
intid
==
22
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
530
,
9400.486328
,
-
7278.376953
,
14.206780
)
end
-- Undercity
if
(
intid
==
23
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
0
,
2050.203125
,
285.650604
,
56.994549
)
end
-- ******************************************************
-- *************** Alliance City Ports ******************
-- Sturmwind
if
(
intid
==
26
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
0
,
-
8913.14
,
554.64
,
93.80
)
end
-- Eisenschmiede
if
(
intid
==
28
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
0
,
-
4981.25
,
-
881.55
,
501.67
)
end
-- Exodar
if
(
intid
==
29
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
530
,
-
3990.99
,
-
11855.60
,
0.32
)
end
-- Darnassus
if
(
intid
==
27
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
1
,
9952.90
,
2280.39
,
1341.40
)
end
-- ******************************************************
-- *************** Custom Server Ports ******************
-- Global Mall
if
(
intid
==
6
)
then
pPlayer
:
GossipComplete
(
)
pPlayer
:
Teleport
(
global_mall
)
end
-- Horde Mall
if
(
intid
==
7
)
then
pPlayer
:
GossipComplete
(
)
pPlayer
:
Teleport
(
horde_mall
)
end
-- Alliance Mall
if
(
intid
==
8
)
then
pPlayer
:
GossipComplete
(
)
pPlayer
:
Teleport
(
alliance_mall
)
end
-- ******************************************************
-- **************** Neutral City Ports ******************
--Dalaran
if
(
intid
==
30
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
571
,
5804.7553
,
639.7905
,
666.9543
)
end
-- Shattrath
if
(
intid
==
31
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
530
,
-
1914.10
,
5274.59
,
2.43
)
-
14281.9
,
552.564
,
8.90422
,
0.860144
end
-- Booty Bay
if
(
intid
==
32
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
0
,
-
14281.9
,
552.564
,
8.90422
,
0.860144
)
end
-- ******************************************************
-- **************** Neutral City Ports ******************
-- Gurubashi Area
if
(
intid
==
40
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
0
,
-
13247.869141
,
189.535706
,
31.162361
)
end
-- Blood Ring Arena
if
(
intid
==
41
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
530
,
-
2044.388672
,
6655.308594
,
37.733746
)
end
-- The Cube
if
(
intid
==
42
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
1
,
16227.868164
,
16404.136719
,
-
44.751499
)
end
-- ******************************************************
-- ****************** Dungeon Ports *********************
-- Ragefire Chasm
if
(
intid
==
60
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
1
,
1811.78
,
-
4410.5
,
-
18.4704
,
5.20165
)
end
-- The Deadmines
if
(
intid
==
61
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
0
,
-
11209.6
,
1666.54
,
24.6974
,
1.42053
)
end
-- Wailing Caverns
if
(
intid
==
62
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
1
,
-
731.607
,
-
2218.39
,
17.0281
,
2.78486
)
end
-- Shadowfang Keep
if
(
intid
==
63
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
0
,
-
234.675
,
1561.63
,
76.8921
,
1.24031
)
end
-- Blackfathom Deeps
if
(
intid
==
64
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
1
,
4249.99
,
740.102
,
-
25.671
,
1.34062
)
end
-- Stormwind Stockade
if
(
intid
==
65
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
0
,
-
8799.15
,
832.718
,
97.6348
,
6.04085
)
end
-- Gnomeregan
if
(
intid
==
66
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
0
,
-
5163.54
,
925.423
,
257.181
,
1.57423
)
end
-- Scarlet Monastery
if
(
intid
==
67
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
0
,
2873.15
,
-
764.523
,
160.332
,
5.10447
)
end
-- Razorfen Kraul
if
(
intid
==
68
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
1
,
-
4470.28
,
-
1677.77
,
81.3925
,
1.16302
)
end
-- Maraudon
if
(
intid
==
69
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
1
,
-
1421.42
,
2907.83
,
137.415
,
1.70718
)
end
-- Uldaman
if
(
intid
==
70
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
0
,
-
6071.37
,
-
2955.16
,
209.782
,
0.015708
)
end
-- Razorfen Dawns
if
(
intid
==
71
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
1
,
-
4657.3
,
-
2519.35
,
81.0529
,
4.54808
)
end
-- Zul Farrak
if
(
intid
==
72
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
1
,
-
6801.19
,
-
2893.02
,
9.00388
,
0.158639
)
end
-- Sunken Temple
if
(
intid
==
73
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
1
,
-
10177.9
,
-
3994.9
,
-
111.239
,
6.01885
)
end
-- Dire Maul
if
(
intid
==
74
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
1
,
-
3520.14
,
1119.38
,
161.025
,
4.70454
)
end
-- Blackrock Depths
if
(
intid
==
75
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
0
,
-
7179.34
,
-
921.212
,
165.821
,
5.09599
)
end
-- Blackrock Spire
if
(
intid
==
75
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
0
,
-
7527.05
,
-
1226.77
,
285.732
,
5.29626
)
end
-- Scholomance
if
(
intid
==
76
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
0
,
1269.64
,
-
2556.21
,
93.6088
,
0.620623
)
end
-- Stratholme
if
(
intid
==
77
)
then
player
:
GossipComplete
(
)
player
:
Teleport
(
0
,
3352.92
,
-
3379.03
,
144.782
,
6.25978
)
end
-- ******************************************************
-- ****************** Raiding Ports *********************
RegisterUnitEvent
(
TeleportNPCEntryID
,
18
,
"TNPC"
)
RegisterUnitGossipEvent
(
TeleportNPCEntryID
,
1
,
"Gossip_OnTalk"
)
RegisterUnitGossipEvent
(
TeleportNPCEntryID
,
2
,
"Gossip_OnSelect"
)
create a
new version
of this paste
RAW Paste Data
--[[ * TeleportNPC * Scripted by Psykko @ WoWBase * Original script by Seejay @ Ac-Web * Note: * Ive added Unused menupoints for funservers too, to activate them, easily delete the "[" infront of the line * and dont forget fill out the coordinations on the first Locale Section! ]]-- --[[ Mall Locales ]]-- local global_mall = map, x, y, z, o local alliance_mall = map, x, y, z, o local horde_mall = map, x, y, z, o --[[ Spell Locals ]]-- local spells = { ["Warrior"] = {2457,1715,2687,71,355,7384,72,694,2565,676,20230,12678,5246,1161,871,2458,20252,18449,1680,6552,11578,1719,34428,23920,3411,55694,47450,47465,47520,47467,47436,47502,47437,47475,47440,47471,57755,57823,47488}, ["Deathknight"] = {48778,48266,50977,49576,49142,46584,48263,48528,45524,3714,48792,45529,56222,48743,56815,48707,48265,41999,47568,57623,49941,49909,51429,49916,42650,49930,49938,49895,49924,49921}, ["Druid"] = {5487,6795,18960,5229,8946,1066,768,2782,2893,5209,783,5225,22842,9634,20719,29166,22812,8983,18658,9913,33357,33786,26995,40120,62078,49802,53307,52610,48575,48476,48560,49803,48443,48562,53308,48577,53312,48574,48465,48570,48378,48480,48579,48477,50213,48461,48470,48467,48568,48451,48469,48463,48441,50763,49800,48572,48447}, ["Hunter"] = {75,1494,13163,5116,883,2641,6991,982,1515,19883,20736,2974,6197,1002,19884,5118,34074,781,3043,1462,19885,3045,19880,13809,13161,5384,1543,19878,3034,13159,19882,14327,19879,19263,14311,19801,34026,27044,34600,34477,53271,49071,53338,49067,48996,49052,49056,49045,49001,61847,60192,61006,48990,53339,49048,58434}, ["Mage"] = {130,475,1953,12051,7301,32271,3562,3567,32272,3561,3563,2139,45438,3565,3566,32266,11416,11417,32267,10059,11418,11419,11420,12826,66,30449,53140,42917,43015,43017,42985,43010,42833,42914,42859,42846,43012,42842,43008,43024,43020,43046,42897,43002,42921,42940,42956,61316,61024,42973,47610,58659}, ["Paladin"] = {21084,20271,498,1152,53408,31789,62124,25780,1044,5502,19746,20164,10326,1038,53407,19752,20165,642,10278,20166,4987,6940,10308,23214,25898,25899,34767,32223,31892,31801,53736,53720,33776,31884,54428,54043,48943,48936,48945,48938,48947,48817,48788,48932,48942,48801,48785,48934,48950,48819,48806,48782,53601,61411}, ["Priest"] = {586,2053,528,6346,453,8129,605,552,6064,1706,988,10909,10890,60931,10955,34433,32375,48072,48169,48168,48170,48120,48063,48135,48171,48300,48071,48127,48113,48123,48173,47951,48073,48078,48087,53023,48161,48066,48162,48074,48068,48158,48125}, ["Rogue"] = {921,1776,1766,1804,51722,1725,2836,1833,1842,2094,1860,6774,26669,8643,11305,1787,26889,31224,5938,51724,57934,48674,48669,48659,48668,48672,48691,48657,57993,51723,48676,48638}, ["Shaman"] = {30671,2484,526,57994,8143,2645,2870,8166,131,10399,6196,546,556,8177,20608,36936,8012,8512,6495,8170,3738,2062,2894,2825,57960,49276,49236,58734,58582,58753,49231,49238,49277,55459,49271,49284,51994,61657,58739,49233,58656,58790,58745,58796,58757,49273,51514,60043,49281,58774,58749,58704,58643,58804}, ["Warlock"] = {59671,688,696,697,5697,698,712,126,5138,5500,132,691,18647,11719,1122,17928,6215,18540,23161,29858,50511,61191,47884,47856,47813,47855,47888,47865,47860,47857,47823,47891,47878,47864,57595,47893,47820,47815,47809,60220,47867,47889,48018,47811,47838,57946,58887,47836,61290,47825}, } --[[ for later use of the spell train method if(Class and spells[Class]) then for _, SpellID in ipairs(spells[Class]) do pPlayer:LearnSpell(SpellID) end ]]-- --[[ Buff Locals ]]-- local buffs = { ["buffsids"] = {48161,20217,48936,48469,42995,20911,53307,48073,48169}, } --[[ Mount Locals ]]-- local mounts = { ["mountsids"] = {34790,17481,24252,54753,49379,41515,40192,63956,48169}, } --[[ Riding Locals ]]-- local RIDING_APPRENTICE = 33388 local RIDING_JOURNEYMAN = 33391 local RIDING_EXPERT = 34090 local RIDING_ARTISAN = 34091 local COLD_WEATHER_FLYING = 54197 --[[ Emblem Locals ]]-- local EMBLEM_OF_FROST = 49426 local EMBLEM_OF_TRIUMPH = 47241 local EMBLEM_OF_VALOR = 40753 local EMBLEM_OF_CONQUEST = 45624 local EMBLEM_OF_HEROISM = 40752 --[[ Misc. Locals ]]-- function TNPC(unit, event) TeleportNPC = unit end local TeleportNPCEntryID = 555555 local Class = pPlayer:GetPlayerClass() local race=player:GetPlayerRace() --[[ Main menu ]]-- function Gossip_OnTalk (unit, event, pPlayer) if (player:IsInCombat() == true) then player:SendAreaTriggerMessage("|cFF00FFFF[WoWBase]: |cFFFFA500You are in Combat!") else TeleportNPC:GossipCreateMenu(3543, pPlayer, 0) TeleportNPC:GossipMenuAddItem(5, "[Teleport Menu] ->", 1, 0) TeleportNPC:GossipMenuAddItem(7, "[Professions] ->", 2, 0) TeleportNPC:GossipMenuAddItem(7, "[Learn Spells] ->", 3, 0) TeleportNPC:GossipMenuAddItem(7, "[Player Tools] ->", 4, 0) TeleportNPC:GossipMenuAddItem(7, "[Buffs] ->", 5, 0) TeleportNPC:GossipSendMenu(pPlayer) end end --[[ Menu Functions ]]-- function Gossip_OnSelect (unit, event, pPlayer, id, intid, code) if (intid == 9) then TeleportNPC:GossipCreateMenu(3543, pPlayer, 0) TeleportNPC:GossipMenuAddItem(5, "[Teleport Menu] ->", 1, 0) TeleportNPC:GossipMenuAddItem(7, "[Professions] ->", 2, 0) TeleportNPC:GossipMenuAddItem(7, "[Learn Spells] ->", 3, 0) TeleportNPC:GossipMenuAddItem(7, "[Player Tools] ->", 4, 0) TeleportNPC:GossipMenuAddItem(7, "[Buffs] ->", 5, 0) TeleportNPC:GossipSendMenu(pPlayer) end if (intid == 1) then TeleportNPC:GossipCreateMenu(3543, pPlayer, 0) [[if race==2 or race==5 or race==6 or race==8 or race==10 then TeleportNPC:GossipMenuAddItem(10, "[Horde Mall] ->", 7, 0) -- Horde Mall, for pvp servers end if race==1 or race==3 or race==4 or race==7 or race==11 then TeleportNPC:GossipMenuAddItem(10, "[Alliance Mall] ->", 8, 0) -- Alliance Mall, for pvp servers end TeleportNPC:GossipMenuAddItem(10, "[Mall] ->", 6, 0) -- Global Mall, for funservers ]] TeleportNPC:GossipMenuAddItem(5, "[Home cities] ->", 10, 0) TeleportNPC:GossipMenuAddItem(5, "[Neutral cities] ->", 11, 0) TeleportNPC:GossipMenuAddItem(5, "[Arenas] ->", 12, 0) TeleportNPC:GossipMenuAddItem(5, "[Dungeons] ->", 13, 0) TeleportNPC:GossipMenuAddItem(5, "[Raids] ->", 14, 0) TeleportNPC:GossipMenuAddItem(5, "[Zones] ->", 15, 0) TeleportNPC:GossipSendMenu(pPlayer) end -- ****************************************************** --****************** Horde City Menu ******************** if (intid == 10) then TeleportNPC:GossipCreateMenu(3543, pPlayer, 0) if race==2 or race==5 or race==6 or race==8 or race==10 then TeleportNPC:GossipMenuAddItem(10, "[Orgrimmar] ->", 20, 0) TeleportNPC:GossipMenuAddItem(10, "[Thunderbluff] ->", 21, 0) TeleportNPC:GossipMenuAddItem(10, "[Silvermoon] ->", 22, 0) TeleportNPC:GossipMenuAddItem(10, "[Undercity] ->", 23, 0) end -- ****************************************************** -- *************** Alliance City Menu ******************* if race==1 or race==3 or race==4 or race==7 or race==11 then TeleportNPC:GossipMenuAddItem(10, "[Stormwind] ->", 24, 0) TeleportNPC:GossipMenuAddItem(10, "[Ironforge] ->", 25, 0) TeleportNPC:GossipMenuAddItem(10, "[Exodar] ->", 26, 0) TeleportNPC:GossipMenuAddItem(10, "[Darnassus] ->", 27, 0) end TeleportNPC:GossipMenuAddItem(5, "<- [Back]", 1, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Mainpage]", 9, 0) TeleportNPC:GossipSendMenu(pPlayer) end -- ****************************************************** -- **************** Neutral City Menu ******************* if (intid == 11) then TeleportNPC:GossipCreateMenu(3543, pPlayer, 0) TeleportNPC:GossipMenuAddItem(10, "[Dalaran] ->", 30, 0) TeleportNPC:GossipMenuAddItem(10, "[Shattrath] ->", 31, 0) TeleportNPC:GossipMenuAddItem(10, "[Booty Bay] ->", 32, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Back]", 1, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Mainpage]", 9, 0) TeleportNPC:GossipSendMenu(pPlayer) end -- ****************************************************** -- ******************* Arena Menu *********************** if (intid == 12) then TeleportNPC:GossipCreateMenu(3543, pPlayer, 0) TeleportNPC:GossipMenuAddItem(10, "[Gurubashi Arena] ->", 40, 0) TeleportNPC:GossipMenuAddItem(10, "[Circle of Blood Arena] ->", 41, 0) TeleportNPC:GossipMenuAddItem(10, "[The Cube] ->", 42, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Back]", 1, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Mainpage]", 9, 0) TeleportNPC:GossipSendMenu(pPlayer) end -- ****************************************************** -- ****************** Dungeon Menu ********************** if (intid == 13) then TeleportNPC:GossipCreateMenu(3543, pPlayer, 0) TeleportNPC:GossipMenuAddItem(10, "[Dungeons (1-60)] ->", 50, 0) TeleportNPC:GossipMenuAddItem(10, "[Dungeons (60-70)] ->", 51, 0) TeleportNPC:GossipMenuAddItem(10, "[Dungeons (70-80)] ->", 52, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Back]", 1, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Mainpage]", 9, 0) TeleportNPC:GossipSendMenu(pPlayer) end -- ****************************************************** -- ************** Dungeon 1-60 Page 1 ******************* if (intid == 50) then TeleportNPC:GossipCreateMenu(3543, pPlayer, 0) TeleportNPC:GossipMenuAddItem(10, "[Ragefire Chasm (15-21)] ->", 60, 0) TeleportNPC:GossipMenuAddItem(10, "[The Deadmines (15-21)] ->", 61, 0) TeleportNPC:GossipMenuAddItem(10, "[Wailing Caverns (15-25)] ->", 62, 0) TeleportNPC:GossipMenuAddItem(10, "[Shadowfang Keep (16-26)] ->", 63, 0) TeleportNPC:GossipMenuAddItem(10, "[Blackfathom Deeps (20-30)] ->", 64, 0) TeleportNPC:GossipMenuAddItem(10, "[Stormwind Stockade (20-30)] ->", 65, 0) TeleportNPC:GossipMenuAddItem(10, "[Gnomeregan (24-34)] ->", 66, 0) TeleportNPC:GossipMenuAddItem(10, "[Scarlet Monastery (26-42)] ->", 67, 0) TeleportNPC:GossipMenuAddItem(10, "[Razorfen Kraul (30-40)] ->", 68, 0) TeleportNPC:GossipMenuAddItem(5, "[Page 2] ->", 53, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Back]", 13, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Mainpage]", 9, 0) TeleportNPC:GossipSendMenu(pPlayer) end -- ****************************************************** -- ************** Dungeon 1-60 Page 2 ******************* if (intid == 53) then TeleportNPC:GossipCreateMenu(3543, pPlayer, 0) TeleportNPC:GossipMenuAddItem(10, "[Maraudon (30-46)] ->", 69, 0) TeleportNPC:GossipMenuAddItem(10, "[Uldaman (35-45)] ->", 70, 0) TeleportNPC:GossipMenuAddItem(10, "[Razorfen Dawns (35-43)] ->", 71, 0) TeleportNPC:GossipMenuAddItem(10, "[Zul Farrak (40-48)] ->", 72, 0) TeleportNPC:GossipMenuAddItem(10, "[Sunken Temple (45-55)] ->", 73, 0) TeleportNPC:GossipMenuAddItem(10, "[Dire Maul (50-60)] ->", 74, 0) TeleportNPC:GossipMenuAddItem(10, "[Blackrock Depths (50-60)] ->", 75, 0) TeleportNPC:GossipMenuAddItem(10, "[Blackrock Spire (50-60)] ->", 76, 0) TeleportNPC:GossipMenuAddItem(10, "[Scholomance (50-60)] ->", 77, 0) TeleportNPC:GossipMenuAddItem(10, "[Stratholme (50-60)] ->", 78, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Back]", 50, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Mainpage]", 9, 0) TeleportNPC:GossipSendMenu(pPlayer) end -- ****************************************************** -- ****************** Raiding Menu ********************** if (intid == 14) then TeleportNPC:GossipCreateMenu(3543, pPlayer, 0) TeleportNPC:GossipMenuAddItem(10, "[Level 60 raids] ->", 80, 0) TeleportNPC:GossipMenuAddItem(10, "[Level 70 raids] ->", 81, 0) TeleportNPC:GossipMenuAddItem(10, "[Level 80 raids] ->", 82, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Back]", 1, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Mainpage]", 9, 0) TeleportNPC:GossipSendMenu(pPlayer) end -- ****************************************************** -- ***************** Level 60 Raids ********************* if (intid == 80) then TeleportNPC:GossipCreateMenu(3543, pPlayer, 0) TeleportNPC:GossipMenuAddItem(10, "[Zul'Gurub] ->", 83, 0) TeleportNPC:GossipMenuAddItem(10, "[Molten Core] ->", 84, 0) TeleportNPC:GossipMenuAddItem(10, "[Blackwing Lair] ->", 85, 0) TeleportNPC:GossipMenuAddItem(10, "[Ahn'Qiraj Ruins] ->", 86, 0) TeleportNPC:GossipMenuAddItem(10, "[Ahn'Qiraj Temple] ->", 87, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Back]", 14, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Mainpage]", 9, 0) TeleportNPC:GossipSendMenu(pPlayer) end -- ****************************************************** -- ***************** Level 70 Raids ********************* if (intid == 81) then TeleportNPC:GossipCreateMenu(3543, pPlayer, 0) TeleportNPC:GossipMenuAddItem(10, "[Karazhan] ->", 88, 0) TeleportNPC:GossipMenuAddItem(10, "[Gruul's Lair] ->", 89, 0) TeleportNPC:GossipMenuAddItem(10, "[Magtheridon's Lair] ->", 90, 0) TeleportNPC:GossipMenuAddItem(10, "[Zul'Aman] ->", 91, 0) TeleportNPC:GossipMenuAddItem(10, "[Serpentshrine Cavern] ->", 92, 0) TeleportNPC:GossipMenuAddItem(10, "[Tempest Keep: The Eye] ->", 93, 0) TeleportNPC:GossipMenuAddItem(10, "[Hyjal Spire] ->", 94, 0) TeleportNPC:GossipMenuAddItem(10, "[Black Temple] ->", 95, 0) TeleportNPC:GossipMenuAddItem(10, "[Sunwell Plateau] ->", 96, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Back]", 14, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Mainpage]", 9, 0) TeleportNPC:GossipSendMenu(pPlayer) end -- ****************************************************** -- ***************** Level 80 Raids ********************* if (intid == 82) then TeleportNPC:GossipCreateMenu(3543, pPlayer, 0) TeleportNPC:GossipMenuAddItem(10, "[Naxxramas] ->", 88, 0) TeleportNPC:GossipMenuAddItem(10, "[Obsidian Sanctum] ->", 89, 0) TeleportNPC:GossipMenuAddItem(10, "[Ruby Sanctum] ->", 90, 0) TeleportNPC:GossipMenuAddItem(10, "[Vault of Archavon] ->", 91, 0) TeleportNPC:GossipMenuAddItem(10, "[Eye of Eternity] ->", 92, 0) TeleportNPC:GossipMenuAddItem(10, "[Ulduar] ->", 93, 0) TeleportNPC:GossipMenuAddItem(10, "[Icecrown Citadel] ->", 94, 0) TeleportNPC:GossipMenuAddItem(10, "[Trial of the Crusader] ->", 95, 0) TeleportNPC:GossipMenuAddItem(10, "[Onyxia's Lair] ->", 96, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Back]", 14, 0) TeleportNPC:GossipMenuAddItem(5, "<- [Mainpage]", 9, 0) TeleportNPC:GossipSendMenu(pPlayer) end -- ****************************************************** --***************** Horde City Ports ******************** -- Orgrimmar if(intid == 20) then player:GossipComplete() player:Teleport(1, 1371.068970, -4370.801758, 26.052483) end -- Thunderbluff if(intid == 21) then player:GossipComplete() player:Teleport(1, -1304.569946, 205.285004, 68.681396) end -- Silvermoon if(intid == 22) then player:GossipComplete() player:Teleport(530, 9400.486328, -7278.376953, 14.206780) end -- Undercity if(intid == 23) then player:GossipComplete() player:Teleport(0, 2050.203125, 285.650604, 56.994549) end -- ****************************************************** -- *************** Alliance City Ports ****************** -- Sturmwind if(intid == 26) then player:GossipComplete() player:Teleport(0, -8913.14, 554.64, 93.80) end -- Eisenschmiede if(intid == 28) then player:GossipComplete() player:Teleport(0, -4981.25, -881.55, 501.67) end -- Exodar if(intid == 29) then player:GossipComplete() player:Teleport(530, -3990.99, -11855.60, 0.32) end -- Darnassus if(intid == 27) then player:GossipComplete() player:Teleport(1, 9952.90, 2280.39, 1341.40) end -- ****************************************************** -- *************** Custom Server Ports ****************** -- Global Mall if (intid == 6) then pPlayer:GossipComplete() pPlayer:Teleport(global_mall) end -- Horde Mall if (intid == 7) then pPlayer:GossipComplete() pPlayer:Teleport(horde_mall) end -- Alliance Mall if (intid == 8) then pPlayer:GossipComplete() pPlayer:Teleport(alliance_mall) end -- ****************************************************** -- **************** Neutral City Ports ****************** --Dalaran if(intid == 30) then player:GossipComplete() player:Teleport(571, 5804.7553, 639.7905, 666.9543) end -- Shattrath if(intid == 31) then player:GossipComplete() player:Teleport(530, -1914.10, 5274.59, 2.43) -14281.9, 552.564, 8.90422, 0.860144 end -- Booty Bay if(intid == 32) then player:GossipComplete() player:Teleport(0, -14281.9, 552.564, 8.90422, 0.860144) end -- ****************************************************** -- **************** Neutral City Ports ****************** -- Gurubashi Area if(intid == 40) then player:GossipComplete() player:Teleport(0, -13247.869141, 189.535706, 31.162361) end -- Blood Ring Arena if(intid == 41) then player:GossipComplete() player:Teleport(530, -2044.388672, 6655.308594, 37.733746) end -- The Cube if(intid == 42) then player:GossipComplete() player:Teleport(1, 16227.868164, 16404.136719, -44.751499) end -- ****************************************************** -- ****************** Dungeon Ports ********************* -- Ragefire Chasm if(intid == 60) then player:GossipComplete() player:Teleport(1, 1811.78, -4410.5, -18.4704, 5.20165) end -- The Deadmines if(intid == 61) then player:GossipComplete() player:Teleport(0, -11209.6, 1666.54, 24.6974, 1.42053) end -- Wailing Caverns if(intid == 62) then player:GossipComplete() player:Teleport(1, -731.607, -2218.39, 17.0281, 2.78486) end -- Shadowfang Keep if(intid == 63) then player:GossipComplete() player:Teleport(0, -234.675, 1561.63, 76.8921, 1.24031) end -- Blackfathom Deeps if(intid == 64) then player:GossipComplete() player:Teleport(1, 4249.99, 740.102, -25.671, 1.34062) end -- Stormwind Stockade if(intid == 65) then player:GossipComplete() player:Teleport(0, -8799.15, 832.718, 97.6348, 6.04085) end -- Gnomeregan if(intid == 66) then player:GossipComplete() player:Teleport(0, -5163.54, 925.423, 257.181, 1.57423) end -- Scarlet Monastery if(intid == 67) then player:GossipComplete() player:Teleport(0, 2873.15, -764.523, 160.332, 5.10447) end -- Razorfen Kraul if(intid == 68) then player:GossipComplete() player:Teleport(1, -4470.28, -1677.77, 81.3925, 1.16302) end -- Maraudon if(intid == 69) then player:GossipComplete() player:Teleport(1, -1421.42, 2907.83, 137.415, 1.70718) end -- Uldaman if(intid == 70) then player:GossipComplete() player:Teleport(0, -6071.37, -2955.16, 209.782, 0.015708) end -- Razorfen Dawns if(intid == 71) then player:GossipComplete() player:Teleport(1, -4657.3, -2519.35, 81.0529, 4.54808) end -- Zul Farrak if(intid == 72) then player:GossipComplete() player:Teleport(1, -6801.19, -2893.02, 9.00388, 0.158639) end -- Sunken Temple if(intid == 73) then player:GossipComplete() player:Teleport(1, -10177.9, -3994.9, -111.239, 6.01885) end -- Dire Maul if(intid == 74) then player:GossipComplete() player:Teleport(1, -3520.14, 1119.38, 161.025, 4.70454) end -- Blackrock Depths if(intid == 75) then player:GossipComplete() player:Teleport(0, -7179.34, -921.212, 165.821, 5.09599) end -- Blackrock Spire if(intid == 75) then player:GossipComplete() player:Teleport(0, -7527.05, -1226.77, 285.732, 5.29626) end -- Scholomance if(intid == 76) then player:GossipComplete() player:Teleport(0, 1269.64, -2556.21, 93.6088, 0.620623) end -- Stratholme if(intid == 77) then player:GossipComplete() player:Teleport(0, 3352.92, -3379.03, 144.782, 6.25978) end -- ****************************************************** -- ****************** Raiding Ports ********************* RegisterUnitEvent(TeleportNPCEntryID, 18, "TNPC") RegisterUnitGossipEvent(TeleportNPCEntryID, 1, "Gossip_OnTalk") RegisterUnitGossipEvent(TeleportNPCEntryID, 2, "Gossip_OnSelect")