MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides

Homepage Register FAQ Members Mark Forums Read Advertise Marketplace FPSowned


Go Back   MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides > WoW Emulator Server > Emulator Server Guides
Reload this Page How to Compile a DLL with Video
Emulator Server Guides Guides for working with World of Warcraft Emulator servers. Learn how to create a WoW Server here.
[NO QUESTIONS HERE]

Reply
 
LinkBack Thread Tools
(#16)
Old
SectorSeven's Avatar
SectorSeven is Offline
Banned
Rep Power: 0
Reputation: 444
SectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really nice
 
Posts: 1,966
Join Date: Oct 2007
06-27-2008

You put src\MorphNPC\MorphNPC.cpp

and thanks!
Reply With Quote

Donate to remove ads.
(#17)
Old
**Sweeny**'s Avatar
**Sweeny** is Offline
Knight-Lieutenant
Rep Power: 1
Reputation: 33
**Sweeny** is on a distinguished road
 
Posts: 284
Join Date: Dec 2007
06-27-2008

Thanks need to spread rep O.o


Reply With Quote
(#18)
Old
Come Undone's Avatar
Come Undone is Offline
Master Sergeant
Rep Power: 1
Reputation: 38
Come Undone is on a distinguished road
 
Posts: 117
Join Date: May 2008
06-27-2008

Very good video I must say. Couldn't do it better myself
Reply With Quote
(#19)
Old
SectorSeven's Avatar
SectorSeven is Offline
Banned
Rep Power: 0
Reputation: 444
SectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really nice
 
Posts: 1,966
Join Date: Oct 2007
06-27-2008

Hahaha thanks guys
Reply With Quote
What a Guy
(#20)
Old
Shogun7 is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 1
Reputation: 2
Shogun7 is an unknown quantity at this point
 
Posts: 5
Join Date: May 2008
What a Guy - 06-27-2008

Thanks Man, this cleared up a few things for me. My very own warp npc *SIGH*

You DA MAN.
Reply With Quote
(#21)
Old
Yiddus's Avatar
Yiddus is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 1
Reputation: 3
Yiddus is an unknown quantity at this point
 
Posts: 17
Join Date: Mar 2008
Location: Delft, Netherlands
06-28-2008

Works fine for me. But it is looking for ascent.exe instead of ascent-world.exe

Whrn I talk to the npc ingame it jsut come up saying. "Hello there, Narrox. How can I help you?"
Reply With Quote
(#22)
Old
SectorSeven's Avatar
SectorSeven is Offline
Banned
Rep Power: 0
Reputation: 444
SectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really nice
 
Posts: 1,966
Join Date: Oct 2007
06-28-2008

You need to change the NPC's flags in creature_proto to "1"
Reply With Quote
(#23)
Old
mafiaboy's Avatar
mafiaboy is Offline
Contributor
Rep Power: 3
Reputation: 227
mafiaboy has a spectacular aura aboutmafiaboy has a spectacular aura aboutmafiaboy has a spectacular aura about
 
Posts: 677
Join Date: May 2007
Location: Canada
06-28-2008

Can you just use the GossipScripts method instead of making a whole new project? Put your GlobalNPC.cpp file in Gossipscripts folder , then add it to your setup files and compile the scripts?

I've done it with past WarpNPC's , not sure if it would make any difference with this one. But WOW great guide. + rep x 3

EDIT: gotta spread some rep -.- , and yea just did it with the gossip scripts way. It skips the whole process of making a project.



Last edited by mafiaboy; 06-28-2008 at 12:54 PM.
Reply With Quote
(#24)
Old
SectorSeven's Avatar
SectorSeven is Offline
Banned
Rep Power: 0
Reputation: 444
SectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really nice
 
Posts: 1,966
Join Date: Oct 2007
06-28-2008

Thanks, good to see your back.
Reply With Quote
(#25)
Old
Yiddus's Avatar
Yiddus is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 1
Reputation: 3
Yiddus is an unknown quantity at this point
 
Posts: 17
Join Date: Mar 2008
Location: Delft, Netherlands
06-28-2008

But the problem is, if the server needs to be restart it won't restart because it will get stuck at a dialog box (error box) which pops up telling me that it cannot find ascent.exe!
Reply With Quote
(#26)
Old
SectorSeven's Avatar
SectorSeven is Offline
Banned
Rep Power: 0
Reputation: 444
SectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really niceSectorSeven is just really nice
 
Posts: 1,966
Join Date: Oct 2007
06-28-2008

Lol, what does that have to do with this guide
Reply With Quote
(#27)
Old
Yiddus's Avatar
Yiddus is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 1
Reputation: 3
Yiddus is an unknown quantity at this point
 
Posts: 17
Join Date: Mar 2008
Location: Delft, Netherlands
06-28-2008

Because something here in the code points to ascent.exe on startup. The .dll wants me to be running ascent.exe isntead of ascent-world.exe.
Reply With Quote
(#28)
Old
Neth'zul's Avatar
Neth'zul is Offline
Contributor
Rep Power: 2
Reputation: 186
Neth'zul has a spectacular aura aboutNeth'zul has a spectacular aura about
 
Posts: 786
Join Date: Nov 2007
Location: Head of Recruitment
06-30-2008

Ugh I need a c++ registration key >,<




Reply With Quote
(#29)
Old
1337w33d is Offline
Site n00b.. (A leecher if I've been here for more than a month and can't earn 5 rep)
Rep Power: 1
Reputation: 1
1337w33d is an unknown quantity at this point
 
Posts: 29
Join Date: Jan 2008
Location: Pismo
07-01-2008

[Only registered and activated users can see links. ] broken? Wont load page or anything. sends me to default search engine on my computer.
Reply With Quote
(#30)
Old
Power of Illuminati's Avatar
Power of Illuminati is Offline
Contributor
Rep Power: 2
Reputation: 168
Power of Illuminati has a spectacular aura aboutPower of Illuminati has a spectacular aura about
 
Posts: 1,363
Join Date: May 2008
Location: Pyramid of Anubis
07-01-2008

Can acces it without any problem

Code:
  1. #include "StdAfx.h"
  2. #include "Setup.h"
  3. #ifdef WIN32
  4. #pragma warning(disable:4305)// warning C4305: 'argument' : truncation from 'double' to 'float'
  5. #endif
  6. class SCRIPT_DECL GlobalNPC : public GossipScript
  7. {
  8. public:
  9. void GossipHello(Object * pObject, Player* Plr, bool AutoSend);
  10. void GossipSelectOption(Object * pObject, Player* Plr, uint32 Id, uint32 IntId, const char * Code);
  11. void GossipEnd(Object * pObject, Player* Plr);
  12. void Destroy()
  13. {
  14. delete this;
  15. }
  16. };
  17. void GlobalNPC::GossipHello(Object * pObject, Player* Plr, bool AutoSend)
  18. {
  19. GossipMenu *Menu;
  20. objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
  21. if(Plr->IsPvPFlagged() && Plr->getLevel() <= 30)
  22. {
  23. Menu->AddItem(2, "You are either Flagged for PVP or are not higher than level 30.");
  24. }else{
  25. if(Plr->getRace()== 10||Plr->getRace()== 2||Plr->getRace()== 6||Plr->getRace()== 8||Plr->getRace()== 5)
  26. {Menu->AddItem(0, "Horde Cities", 1);}else{Menu->AddItem(1, "Alliance Cities", 2);}
  27. Menu->AddItem(2, "Global Locations", 80);
  28. Menu->AddItem(3, "Azeroth Instances", 30);
  29. Menu->AddItem(4, "Outland Instances", 50);
  30. Menu->AddItem(5, "|cffC11218World Bosses |r", 147);
  31. if(Plr->getLevel()>59){Menu->AddItem(2, "|cff681EA2Shattrath|r", 20);}
  32. Menu->AddItem(6, "Gurubashi Arena", 21);
  33. Menu->AddItem(8, "Buff me up, baby!", 96);
  34. Menu->AddItem(9, "Remove Resurrection Sickness", 97);
  35. }
  36. if(AutoSend)
  37. Menu->SendTo(Plr);
  38. }
  39. void GlobalNPC::GossipSelectOption(Object * pObject, Player* Plr, uint32 Id, uint32 IntId, const char * Code)
  40. {
  41. Creature * pCreature = (pObject->GetTypeId()==TYPEID_UNIT)?((Creature*)pObject):NULL;
  42. if(pCreature==NULL)
  43. return;
  44. GossipMenu * Menu;
  45. switch(IntId)
  46. {
  47. case 0:
  48. GossipHello(pObject, Plr, true);
  49. break;
  50. case 1: // Hord Cities
  51. {
  52. objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
  53. Menu->AddItem(5, "Silvermoon", 4);
  54. Menu->AddItem(5, "Orgrimmar", 5);
  55. Menu->AddItem(5, "Thunder Bluff", 6);
  56. Menu->AddItem(5, "Undercity", 7);
  57. Menu->SendTo(Plr);
  58. }
  59. break;
  60. case 2: // Alliance Cities
  61. {
  62. objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
  63. Menu->AddItem(5, "The Exodar", 8);
  64. Menu->AddItem(5, "Stormwind", 9);
  65. Menu->AddItem(5, "Ironforge", 10);
  66. Menu->AddItem(5, "Darnassus", 11);
  67. Menu->SendTo(Plr);
  68. }
  69. break;
  70. case 3: // Outland Locations
  71. {
  72. objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
  73. Menu->AddItem(5, "Hellfire Peninsula", 12);
  74. Menu->AddItem(5, "Zangermarsh", 13);
  75. Menu->AddItem(5, "Nagrand", 14);
  76. Menu->AddItem(5, "Blades Edge Mountains", 15);
  77. Menu->AddItem(5, "Netherstorm", 16);
  78. Menu->AddItem(5, "Terokkar Forest", 17);
  79. Menu->AddItem(5, "Shadowmoon Valley", 18);
  80. Menu->SendTo(Plr);
  81. }
  82. break;
  83. case 4://Silvermoon
  84. {
  85. Plr->EventTeleport(530, 9400.486328, -7278.376953, 14.206780);
  86. }break;
  87. case 5://Orgrimmar
  88. {
  89. Plr->EventTeleport(1, 1371.068970, -4370.801758, 26.052483);
  90. }break;
  91. case 6://ThunderBluff
  92. {
  93. Plr->EventTeleport(1, -1304.569946, 205.285004, 68.681396);
  94. }
  95. break;
  96. case 7://Undercity
  97. {
  98. Plr->EventTeleport(0, 2050.203125, 285.650604, 56.994549);
  99. }
  100. break;
  101. case 8: //Exodar
  102. {
  103. Plr->EventTeleport(530, -4072.202393, -12014.337891, -1.277277);
  104. }
  105. break;
  106. case 9: //Stormwind
  107. {
  108. Plr->EventTeleport(0, -9100.480469, 406.950745, 92.594185);
  109. }
  110. break;
  111. case 10: //Ironforge
  112. {
  113. Plr->EventTeleport(0, -5028.265137, -825.976563, 495.301575);
  114. }
  115. break;
  116. case 11: //Darnassus
  117. {
  118. Plr->EventTeleport(1, 9985.907227, 1971.155640, 1326.815674);
  119. }
  120. break;
  121. case 12: //Hellfire Peninsula
  122. {
  123. Plr->EventTeleport(530, -248.160004, 922.348999, 84.379799);
  124. }
  125. break;
  126. case 13: //Zangermarsh
  127. {
  128. Plr->EventTeleport(530, -225.863632, 5405.927246, 22.346397);
  129. }
  130. break;
  131. case 14: //Nagrand
  132. {
  133. Plr->EventTeleport(530, -468.232330, 8418.666016, 28.031298);
  134. }
  135. break;
  136. case 15: //Blades Edge Mountains
  137. {
  138. Plr->EventTeleport(530, 1471.672852, 6828.047852, 107.759239);
  139. }
  140. break;
  141. case 16: //Netherstorm
  142. {
  143. Plr->EventTeleport(530, 3396.123779, 4182.208008, 137.097992);
  144. }
  145. break;
  146. case 17: //Terokkar Forest
  147. {
  148. Plr->EventTeleport(530, -1202.426636, 5313.692871, 33.774723);
  149. }
  150. break;
  151. case 18: //Shadowmoon Valley
  152. {
  153. Plr->EventTeleport(530, -2859.522461, 3182.34773, 10.008426);
  154. }
  155. break;
  156. case 20: //Shattrath
  157. {
  158. Plr->EventTeleport(530, -1887.510010, 5359.379883, -12.427300);
  159. }
  160. break;
  161. case 21: // Gurubsahi Arena
  162. {
  163. Plr->EventTeleport(0, -13271.959961, 149.105515, 34.464458);
  164. }
  165. break;
  166. case 30: // Azeroth Instances
  167. {
  168. objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
  169. Menu->AddItem(5, "Shadowfang Keep", 31);
  170. Menu->AddItem(5, "Scarlet Monastery", 32);
  171. Menu->AddItem(5, "Zul'Farrak", 33);
  172. Menu->AddItem(5, "Stratholme", 41);
  173. Menu->AddItem(5, "Scholomance", 40);
  174. Menu->AddItem(5, "Blackrock Spire", 42);
  175. Menu->AddItem(5, "Onyxia's Lair", 38);
  176. Menu->AddItem(5, "Molten Core", 37);
  177. Menu->AddItem(5, "Zul'Gurub", 34);
  178. Menu->AddItem(5, "Karazhan", 43);
  179. Menu->AddItem(5, "Ahn'Qirai 20", 35);
  180. Menu->AddItem(5, "Ahn'Qirai 40", 36);
  181. Menu->AddItem(5, "Naxxramas", 39);
  182. Menu->AddItem(5, "Caverns of Time", 44);
  183. Menu->SendTo(Plr);
  184. }
  185. break;
  186. case 31: // Shadowfang Keep
  187. {
  188. Plr->EventTeleport(0, -234.495087, 1561.946411, 76.892143);
  189. }
  190. break;
  191. case 32: // Scarlet Monastery
  192. {
  193. Plr->EventTeleport(0, 2870.442627, -819.985229, 160.331085);
  194. }
  195. break;
  196. case 33: // Zul'Farrak
  197. {
  198. Plr->EventTeleport(1, -6797.278809, -2903.917969, 9.953360);
  199. }
  200. break;
  201. case 34: // Zul'Gurub
  202. {
  203. Plr->EventTeleport(0, -11919.073242, -1202.459374, 92.298744);
  204. }
  205. break;
  206. case 35: // Ahn'Qirai 20
  207. {
  208. Plr->EventTeleport(1, -8394.730469, 1485.658447, 21.038563);
  209. }
  210. break;
  211. case 36: // Ahn'Qirai 40
  212. {
  213. Plr->EventTeleport(1, -8247.316406, 1970.156860, 129.071472);
  214. }
  215. break;
  216. case 37: // Molten Core
  217. {
  218. // Plr->EventTeleport(0, -7515.409668, -1045.369629, 182.301208);
  219. Plr->EventTeleport(409, 1089.6, -470.19, -106.41);
  220. }
  221. break;
  222. case 38: // Onyxia
  223. {
  224. // Plr->EventTeleport(1, -4708.491699, -3727.672363, 54.535076);
  225. Plr->EventTeleport(249, 30.0, -64.0, -5.0);
  226. }
  227. break;
  228. case 39: // Naxxramas
  229. {
  230. // Plr->EventTeleport(0, 3132.915283, -3731.012939, 138.658371);
  231. Plr->EventTeleport(533, 3006.06, -3436.72, 293.891);
  232. }
  233. break;
  234. case 40: //Scholomance
  235. {
  236. Plr->EventTeleport(0, 1267.468628, -2556.651367, 94.127983);
  237. }
  238. break;
  239. case 41: //Stratholme
  240. {
  241. Plr->EventTeleport(0, 3359.111572, -3380.8444238, 144.781860);
  242. }break;
  243. case 42: // Black Rock Spire
  244. {
  245. Plr->EventTeleport(0, -7527.129883, -1224.997437, 285.733002);
  246. }break;
  247. case 43: // Kharazan
  248. {
  249. // Plr->EventTeleport(0, -11122.913086, -2014.498779, 47.079350);
  250. Plr->EventTeleport(532, -11087.3, -1977.47, 49.6135);
  251. }break;
  252. case 44: // Caverns of Times
  253. {
  254. Plr->EventTeleport(1, -8519.718750, -4297.542480, -208.441376);
  255. }break;
  256. case 50: // Outland Instances
  257. {
  258. objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
  259. Menu->AddItem(0, "Outland Raids", 64);
  260. Menu->AddItem(5, "Hellfire Ramparts", 51);
  261. Menu->AddItem(5, "The Blood Furnace", 52);
  262. Menu->AddItem(5, "The Shattered Halls", 53);
  263. Menu->AddItem(5, "The Underbog", 54);
  264. Menu->AddItem(5, "The Slave Pens", 55);
  265. Menu->AddItem(5, "The Steamvault", 56);
  266. Menu->AddItem(5, "Mana-Tombs", 57);
  267. Menu->AddItem(5, "Auchenai Crypts", 58);
  268. Menu->AddItem(5, "Sethekk Halls", 59);
  269. Menu->AddItem(5, "Shadow Labyrinth", 60);
  270. Menu->AddItem(5, "The Mechanar", 61);
  271. Menu->AddItem(5, "The Botanica", 62);
  272. Menu->AddItem(5, "The Arcatraz", 63);
  273. Menu->SendTo(Plr);
  274. }
  275. break;
  276. case 51: // Hellfire Ramparts
  277. {
  278. Plr->EventTeleport(530, -360.670990, 3071.899902, -15.097700);
  279. }break;
  280. case 52: // The Blood Furnace
  281. {
  282. Plr->EventTeleport(530, -303.506012, 3164.820068, 31.742500);
  283. }break;
  284. case 53: // The Shattered Halls
  285. {
  286. Plr->EventTeleport(530, -311.083527, 3083.291748, -3.745923);
  287. }break;
  288. case 54: // The Underbog
  289. {
  290. Plr->EventTeleport(530, 777.088989, 6763.450195, -72.062561);
  291. }break;
  292. case 55: // The Slave Pens
  293. {
  294. Plr->EventTeleport(530, 719.507996, 6999.339844, -73.074303);
  295. }break;
  296. case 56: // The Steamvault
  297. {
  298. Plr->EventTeleport(530, 816.590027, 6934.669922, -80.544601);
  299. }break;
  300. case 57: // Mana-Tombs
  301. {
  302. Plr->EventTeleport(530, -3079.810059, 4943.040039, -101.046997);
  303. }break;
  304. case 58: // Auchenai Crypts
  305. {
  306. Plr->EventTeleport(530, -3361.959961, 5225.770020, -101.047997);
  307. }break;
  308. case 59: // Sethekk Halls
  309. {
  310. Plr->EventTeleport(530, -3362.219971, 4660.410156, -101.049004 );
  311. }break;
  312. case 60: // Shadow Labyrinth
  313. {
  314. Plr->EventTeleport(530, -3645.060059, 4943.620117, -101.047997);
  315. }break;
  316. case 61: // The Mechanar
  317. {
  318. Plr->EventTeleport(530, 2862.409912, 1546.089966, 252.158691);
  319. }break;
  320. case 62: // The Botanica
  321. {
  322. Plr->EventTeleport(530, 3413.649902, 1483.319946, 182.837997);
  323. }break;
  324. case 63: // The Arcatraz
  325. {
  326. Plr->EventTeleport(530, 3311.598145, 1332.745117, 505.557251);
  327. }break;
  328. case 64: // Outland Raids
  329. {
  330. objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
  331. Menu->AddItem(5, "Magtheridon's Lair", 65);
  332. Menu->AddItem(5, "Serpentshrine Cavern", 66);
  333. Menu->AddItem(5, "Gruul's Lair", 67);
  334. Menu->AddItem(5, "The Eye", 68);
  335. Menu->AddItem(5, "Black Temple", 69);
  336. Menu->SendTo(Plr);
  337. }
  338. break;
  339. case 65: // Magtheridon's Lair
  340. {
  341. Plr->EventTeleport(530, -313.678986, 3088.350098, -116.501999);
  342. }break;
  343. case 66: // Serpentshrine Cavern
  344. {
  345. Plr->EventTeleport(530, 830.542908, 6865.445801, -63.785503);
  346. }break;
  347. case 67: // Gruul's Lair
  348. {
  349. Plr->EventTeleport(530, 3549.424072, 5179.854004, -4.430779);
  350. }break;
  351. case 68: // The Eye
  352. {
  353. Plr->EventTeleport(530, 3087.310059, 1373.790039, 184.643005);
  354. }break;
  355. case 69: // Black Temple
  356. {
  357. // Plr->EventTeleport(530, -3609.739990, 328.252014, 37.307701 );
  358. Plr->EventTeleport(564, 97.0894, 1001.96, -86.8798 );
  359. }break;
  360. case 80: //SUB MENU
  361. {
  362. objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
  363. Menu->AddItem(5, "Eastern Kingdoms", 81);
  364. Menu->AddItem(5, "Kalimdor", 82);
  365. Menu->AddItem(5, "Outland", 3);
  366. Menu->SendTo(Plr);
  367. }
  368. break;
  369. case 81: // EASTERN KINGDOM
  370. {
  371. objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
  372. Menu->AddItem(5, "Eastern Plaguelands", 70);
  373. Menu->AddItem(5, "Western Plaguelands", 71);
  374. Menu->AddItem(5, "Tristfal Glades", 72);
  375. Menu->AddItem(5, "Alterac Mountains", 73);
  376. Menu->AddItem(5, "Silverpine Forest", 74);
  377. Menu->AddItem(5, "Hillsbrad Foothills", 75);
  378. Menu->AddItem(5, "The Hinterlands", 76);
  379. Menu->AddItem(5, "Arathi Highlands", 77);
  380. Menu->AddItem(5, "Wetlands", 78);
  381. Menu->AddItem(5, "Dun Morogh", 79);
  382. Menu->AddItem(5, "Loch Modan", 100);
  383. Menu->AddItem(5, "--> Second Page -->", 151);
  384. Menu->SendTo(Plr);
  385. }
  386. break;
  387. case 151:
  388. {
  389. objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
  390. Menu->AddItem(5, "Badlands", 101);
  391. Menu->AddItem(5, "Blackrock Mountain", 102);
  392. Menu->AddItem(5, "Redridge Mountain", 103);
  393. Menu->AddItem(5, "Elwynn Forest", 104);
  394. Menu->AddItem(5, "Duskwood", 105);
  395. Menu->AddItem(5, "Westfall", 106);
  396. Menu->AddItem(5, "Swamp of Sorrows", 107);
  397. Menu->AddItem(5, "The Blasted Lands", 108);
  398. Menu->AddItem(5, "Deadwind Pass", 109);
  399. Menu->AddItem(5, "Stranglethorn Vale", 110);
  400. Menu->SendTo(Plr);
  401. }
  402. break;
  403. case 82: // KALIMDOR
  404. {
  405. objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
  406. Menu->AddItem(5, "Moonglade", 111);
  407. Menu->AddItem(5, "Winterspring", 112);
  408. Menu->AddItem(5, "Felwood", 113);
  409. Menu->AddItem(5, "Darkshore", 114);
  410. Menu->AddItem(5, "Azshara", 115);
  411. Menu->AddItem(5, "Ashenvale", 116);
  412. Menu->AddItem(5, "Stonetalon Mountains", 117);
  413. Menu->AddItem(5, "The Barrens", 118);
  414. Menu->AddItem(5, "Durotar", 119);
  415. Menu->AddItem(5, "--> Second Page -->", 152);
  416. Menu->SendTo(Plr);
  417. }
  418. break;
  419. case 152:
  420. {
  421. objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
  422. Menu->AddItem(5, "Mulgore", 120);
  423. Menu->AddItem(5, "Desolace", 121);
  424. Menu->AddItem(5, "Dustwallow Marsh", 122);
  425. Menu->AddItem(5, "Feralas", 123);
  426. Menu->AddItem(5, "Thousand Needles", 124);
  427. Menu->AddItem(5, "Tanaris Desert", 125);
  428. Menu->AddItem(5, "Un'Goro Crater", 126);
  429. Menu->AddItem(5, "Silithus", 127);
  430. Menu->SendTo(Plr);
  431. }
  432. break;
  433. // EASTERN KINGDOMS [case] //
  434. case 70: // WesternPlaguelands
  435. {
  436. Plr->EventTeleport( 0, 1855, -1569, 61);
  437. }break;
  438. case 71: // EasternPlaguelands
  439. {
  440. Plr->EventTeleport( 0, 2278, -5311, 89);
  441. }break;
  442. case 72: // TristfallGlades
  443. {
  444. Plr->EventTeleport( 0, 2032, -432, 37);
  445. }break;
  446. case 73: // AlteracMountains
  447. {
  448. Plr->EventTeleport( 0, 552, -275, 152);
  449. }break;
  450. case 74: // Silverpine Forest
  451. {
  452. Plr->EventTeleport( 0, -126, 815, 68);
  453. }break;
  454. case 75: // Hillsbrad
  455. {
  456. Plr->EventTeleport( 0, -502, 91, 61);
  457. }break;
  458. case 76: // TheHinterlands
  459. {
  460. Plr->EventTeleport( 0, -678, -4018, 240);
  461. }break;
  462. case 77: // ArathiHighlands
  463. {
  464. Plr->EventTeleport( 0, -797, -2068, 35);
  465. }break;
  466. case 78: // Wetlands
  467. {
  468. Plr->EventTeleport( 0, -3256, -2718, 11);
  469. }break;
  470. case 79: // Dunmorogh
  471. {
  472. Plr->EventTeleport( 0, -5826, -1586, 366);
  473. }break;
  474. case 100: // Lochmodan
  475. {
  476. Plr->EventTeleport( 0, -4771, -3329, 347);
  477. }break;
  478. case 101: // Badlands
  479. {
  480. Plr->EventTeleport( 0, -7027, -3330, 243);
  481. }break;
  482. case 102: // Blackrockmountain
  483. {
  484. Plr->EventTeleport( 0, -7317, -1072, 279);
  485. }break;
  486. case 103: // Redridgemountain
  487. {
  488. Plr->EventTeleport( 0, -9168, -2726, 92);
  489. }break;
  490. case 104: // ElwynnForest
  491. {
  492. Plr->EventTeleport( 0, -9325, -1038, 67);
  493. }break;
  494. case 105: // Duskwood
  495. {
  496. Plr->EventTeleport( 0, -10694, -884, 80);
  497. }break;
  498. case 106: // Westfall
  499. {
  500. Plr->EventTeleport( 0, -11018, 1513, 45);
  501. }break;
  502. case 107: // SwampofSorrows
  503. {
  504. Plr->EventTeleport( 0, -10429, -3828, -29);
  505. }break;
  506. case 108: // BlastedLands
  507. {
  508. Plr->EventTeleport( 0, -11853, -3197, -25);
  509. }break;
  510. case 109: // DeadwindPass
  511. {
  512. Plr->EventTeleport( 0, -10435, -1809, 101);
  513. }break;
  514. case 110: // Stranglethornvale
  515. {
  516. Plr->EventTeleport( 0, -13382, 2, 23);
  517. }break;
  518. // KALIMDOR [case] //
  519. case 111: // Moonglade
  520. {
  521. Plr->EventTeleport( 1, 7978, -2501, 490);
  522. }break;
  523. case 112: // winterspring
  524. {
  525. Plr->EventTeleport( 1, 6721, -4659, 722);
  526. }break;
  527. case 113: // felwood
  528. {
  529. Plr->EventTeleport( 1, 4878, -614, 362);
  530. }break;
  531. case 114: // darkshore
  532. {
  533. Plr->EventTeleport( 1, 4565, 438, 34);
  534. }break;
  535. case 115: // azshara
  536. {
  537. Plr->EventTeleport( 1, 2717, -5968, 108);
  538. }break;
  539. case 116: // ashenvale
  540. {
  541. Plr->EventTeleport( 1, 3469, 847, 7);
  542. }break;
  543. case 117: // Stonetalon
  544. {
  545. Plr->EventTeleport( 1, 898, 922, 128);
  546. }break;
  547. case 118: // TheBarrens
  548. {
  549. Plr->EventTeleport( 1, -1330, -3120, 93);
  550. }break;
  551. case 119: // Durotar
  552. {
  553. Plr->EventTeleport( 1, 242, -5151, 3);
  554. }break;
  555. case 120: // Mulgore
  556. {
  557. Plr->EventTeleport( 1, -2326, -367, -6);
  558. }break;
  559. case 121: // Desolace
  560. {
  561. Plr->EventTeleport( 1, -939, 1091, 95);
  562. }break;
  563. case 122: // Dustwallow
  564. {
  565. Plr->EventTeleport( 1, -3719, -2530, 71);
  566. }break;
  567. case 123: // Feralas
  568. {
  569. Plr->EventTeleport( 1, -4508, 2041, 53);
  570. }break;
  571. case 124: // ThousandNeedles
  572. {
  573. Plr->EventTeleport( 1, -4619, -1850, 88);
  574. }break;
  575. case 125: // Tanaris
  576. {
  577. Plr->EventTeleport( 1, -7373, -2950, 12);
  578. }break;
  579. case 126: // Ungoro
  580. {
  581. Plr->EventTeleport( 1, -6186, -1106, -215);
  582. }break;
  583. case 127: // Silithus
  584. {
  585. Plr->EventTeleport( 1, -6824, 821, 51);
  586. }break;
  587. case 146:
  588. {
  589. Plr->EventTeleport(1, 4314, -4069, 937);
  590. }break;
  591. case 148:
  592. {
  593. Plr->EventTeleport(1, 6039, -1198, 374);
  594. }break;
  595. case 147:
  596. {
  597. objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 1, Plr);
  598. Menu->AddItem(5, "|cff9024D5Nightshroud Celestial|r", 146);
  599. Menu->AddItem(5, "|CFF006600Tork'in Ancient Protector|r", 148);
  600. Menu->AddItem(5, "Menu", 99);
  601. Menu->SendTo(Plr);
  602. }
  603. break;
  604. case 96:
  605. {
  606. if(Plr->getLevel() >= 60)
  607. {
  608. pCreature->CastSpell(Plr, 15366, 0);
  609. pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "By all that is wrong in this world, I bless you." );
  610. Plr->Gossip_Complete();
  611. }else{
  612. pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "You need to be at least level 60 in order to recieve my buff." );
  613. Plr->Gossip_Complete();}
  614. }break;
  615. case 97: // REMOVE RESSURECTION SICKNESS
  616. {
  617. Plr->addSpell(15007);
  618. Plr->removeSpell(15007,0,0,0);
  619. pCreature->SendChatMessage(CHAT_MSG_MONSTER_SAY, LANG_UNIVERSAL, "You have been cured of that dreaded sickness." );
  620. Plr->Gossip_Complete();
  621. }break;
  622. }
  623. }
  624. void GlobalNPC::GossipEnd(Object * pObject, Player* Plr)
  625. {
  626. GossipScript::GossipEnd(pObject, Plr);
  627. }
  628. void SetupGlobalNPC(ScriptMgr * mgr)
  629. {
  630. GossipScript * gs = (GossipScript*) new GlobalNPC();
  631. mgr->register_gossip_script(112230, gs);
  632. }
Total Paste Views: 144 — [Only registered and activated users can see links. ] (0) — [Only registered and activated users can see links. ][Only registered and activated users can see links. ]
Thats teh script from the link.


Reply With Quote
Reply

Donate to remove ads.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On




Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
vBulletin Skin developed by: vBStyles.com