Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Scripts: Copyright headers

* Updated the remaining headers, and updated sturcture.(see docs)
* Updated Preample Readme so copyright info for GPL is uptodate.
DB: Cleaned up SQL(dir) abit of organization never hurts anyone ;)
  • Loading branch information...
commit afe4dec90afecd6b0583061dbd104f9997b1f63b 1 parent 10d114b
Aptiva authored
Showing with 3,999 additions and 3,066 deletions.
  1. +20 −21 COPYING
  2. +38 −1 doc/1_cplusplus_copyright_header.txt
  3. 0  sql/{ → base_create}/characters.sql
  4. 0  sql/{ → base_create}/create_mysql.sql
  5. 0  sql/{ → base_create}/drop_mysql.sql
  6. 0  sql/{ → base_create}/realmd.sql
  7. 0  sql/{ → base_create}/world.sql
  8. +14 −14 sql/updates/{ → auth}/1208_01_realmd_account_access.sql
  9. 0  sql/updates/{ → auth}/205_realmd.sql
  10. 0  sql/updates/{ → auth}/209_realmd_account.sql
  11. 0  sql/updates/{ → auth}/580_realmd_realmcharacters.sql
  12. 0  sql/updates/{ → auth}/580_realmd_realmlist.sql
  13. 0  sql/updates/{ → auth}/592_realmd_realmlist.sql
  14. +11 −0 sql/updates/characters/1090_characters_gm_surveys.sql
  15. +2 −0  sql/updates/characters/1090_characters_gm_tickets.sql
  16. +4 −0 sql/updates/characters/1097_03_characters_characters.sql
  17. +54 −0 sql/updates/characters/1319_characters_characters.sql
  18. +46 −0 sql/updates/characters/1479_characters_character_skills.sql
  19. +39 −0 sql/updates/characters/1516_characters_corpse.sql
  20. +1 −0  sql/updates/characters/280_characters_characters.sql
  21. +7 −0 sql/updates/characters/283_01_characters_characters.sql
  22. +9 −0 sql/updates/characters/283_02_characters_characters.sql
  23. +2 −0  sql/updates/characters/290_characters.sql
  24. +1 −0  sql/updates/characters/355_characters_cheaters.sql
  25. +5 −0 sql/updates/characters/535_characters_character_pet_aura.sql
  26. +18 −0 sql/updates/characters/552_characters_mail_external.sql
  27. +16 −0 sql/updates/characters/995_characters_battleground_data.sql
  28. 0  sql/updates/{ → world}/1003_world_creature_template.sql
  29. 0  sql/updates/{ → world}/1037_world_oregon_string.sql
  30. 0  sql/updates/{ → world}/1041_world_command.sql
  31. 0  sql/updates/{ → world}/1056_world_oregon_string.sql
  32. +8 −8 sql/updates/{ → world}/1067_world_script_texts.sql
  33. 0  sql/updates/{ → world}/1076_world_oregon_string.sql
  34. 0  sql/updates/{ → world}/1086_world_oregon_string.sql
  35. 0  sql/updates/{ → world}/1094_world_spell_proc_event.sql
  36. +13 −13 sql/updates/{ → world}/1097_01_world_oregon_string.sql
  37. +8 −8 sql/updates/{ → world}/1097_02_world_command.sql
  38. 0  sql/updates/{ → world}/110_world_oregon_string.sql
  39. 0  sql/updates/{ → world}/1117_world_spell_affect.sql
  40. 0  sql/updates/{ → world}/1137_world_creature_template.sql
  41. +3 −3 sql/updates/{ → world}/1208_02_world_command.sql
  42. +3 −3 sql/updates/{ → world}/1208_03_world_oregon_string.sql
  43. 0  sql/updates/{ → world}/1216_world_spell_linked_spell.sql
  44. 0  sql/updates/{ → world}/1217_world_spell_linked_spell.sql
  45. 0  sql/updates/{ → world}/1282_world_creature_template.sql
  46. +1 −1  sql/updates/{ → world}/1286_world_creature_template.sql
  47. 0  sql/updates/{ → world}/1298_01_world_oregon_string.sql
  48. 0  sql/updates/{ → world}/1298_02_world_command.sql
  49. +2 −2 sql/updates/{ → world}/1335_world_oregon_string.sql
  50. +22 −22 sql/updates/{ → world}/1385_world_autobroadcast.sql
  51. +1 −1  sql/updates/{ → world}/1391_world_ActiveMover.sql
  52. 0  sql/updates/{ → world}/1446_world_creature_template.sql
  53. 0  sql/updates/{ → world}/145_world_scripts.sql
  54. 0  sql/updates/{ → world}/1486_world_gameobject_template.sql
  55. +213 −213 sql/updates/{ → world}/1515_world_creature_template.sql
  56. +76 −76 sql/updates/{ → world}/1522_world_creature_template.sql
  57. +22 −22 sql/updates/{ → world}/1523_world_creature_template.sql
  58. +16 −16 sql/updates/{ → world}/1526_world_creature_template.sql
  59. 0  sql/updates/{ → world}/1529_event_scripts.sql
  60. +47 −47 sql/updates/{ → world}/1533_world_creature_template.sql
  61. +73 −73 sql/updates/{ → world}/1538_world_creature_template.sql
  62. +10 −10 sql/updates/{ → world}/1542_world_creature_template.sql
  63. +5 −5 sql/updates/{ → world}/1544_world_creature_template.sql
  64. +21 −21 sql/updates/{ → world}/1545_01_world_creature_formations.sql
  65. +7 −7 sql/updates/{ → world}/1545_02_world_creature_groups.sql
  66. +5 −5 sql/updates/{ → world}/1545_03_world_creature_group_data.sql
  67. +6 −6 sql/updates/{ → world}/1545_04_world_command.sql
  68. +29 −29 sql/updates/{ → world}/1553_world_creature_template.sql
  69. 0  sql/updates/{ → world}/1555_world_gameobject_template.sql
  70. 0  sql/updates/{ → world}/1569_world_spell_affect.sql
  71. 0  sql/updates/{ → world}/161_world_quest_template.sql
  72. 0  sql/updates/{ → world}/186_world_oregon_string.sql
  73. 0  sql/updates/{ → world}/203_world_script_texts.sql
  74. 0  sql/updates/{ → world}/263_world_oregon_string.sql
  75. 0  sql/updates/{ → world}/267_world_oregon_string.sql
  76. 0  sql/updates/{ → world}/320_world_command.sql
  77. 0  sql/updates/{ → world}/322_world_command.sql
  78. 0  sql/updates/{ → world}/323_world_oregon_string.sql
  79. 0  sql/updates/{ → world}/353_world.sql
  80. 0  sql/updates/{ → world}/485_world_playercreateinfo.sql
  81. 0  sql/updates/{ → world}/494_world_gossip.sql
  82. 0  sql/updates/{ → world}/494_world_script.sql
  83. 0  sql/updates/{ → world}/498_world_script.sql
  84. 0  sql/updates/{ → world}/502_world_mail_loot_template.sql
  85. 0  sql/updates/{ → world}/526_world_command.sql
  86. 0  sql/updates/{ → world}/543_world_spell_proc_event.sql
  87. 0  sql/updates/{ → world}/593_world_eventai.sql
  88. 0  sql/updates/{ → world}/599_world_gameobject_template.sql
  89. 0  sql/updates/{ → world}/671_world_spell_proc_event.sql
  90. 0  sql/updates/{ → world}/686_world_oregon_string.sql
  91. 0  sql/updates/{ → world}/699_world_oregon_string.sql
  92. 0  sql/updates/{ → world}/702_world_structure.sql
  93. 0  sql/updates/{ → world}/788_world_script_texts.sql
  94. 0  sql/updates/{ → world}/793_world_script_texts.sql
  95. 0  sql/updates/{ → world}/794_world_script_texts.sql
  96. 0  sql/updates/{ → world}/806_world_script_texts.sql
  97. 0  sql/updates/{ → world}/819_world_creature.sql
  98. 0  sql/updates/{ → world}/822_world_script_texts.sql
  99. 0  sql/updates/{ → world}/823_world_script_texts.sql
  100. 0  sql/updates/{ → world}/827_world_script_texts.sql
  101. 0  sql/updates/{ → world}/828_world_script_texts.sql
  102. 0  sql/updates/{ → world}/829_world_script_texts.sql
  103. 0  sql/updates/{ → world}/830_world_script_texts.sql
  104. 0  sql/updates/{ → world}/831_world_script_texts.sql
  105. 0  sql/updates/{ → world}/832_world_creature_template.sql
  106. 0  sql/updates/{ → world}/835_world_creature_ai_scripts.sql
  107. 0  sql/updates/{ → world}/836_world_creature_template.sql
  108. 0  sql/updates/{ → world}/837_world_creature_template.sql
  109. 0  sql/updates/{ → world}/841_world_script_texts.sql
  110. 0  sql/updates/{ → world}/852_world_script_texts.sql
  111. 0  sql/updates/{ → world}/868_world_creature_template.sql
  112. 0  sql/updates/{ → world}/893_world_oregon_string.sql
  113. 0  sql/updates/{ → world}/906_world_creature_ai_scripts.sql
  114. 0  sql/updates/{ → world}/938_world_pools.sql
  115. +6 −6 sql/updates/{ → world}/963_world_npc_text.sql
  116. 0  sql/updates/{ → world}/969_world_oregon_string.sql
  117. 0  sql/updates/{ → world}/970_world_spell_script_target.sql
  118. 0  sql/updates/{ → world}/977_world_creature_template.sql
  119. 0  sql/updates/{ → world}/983_world_spell_script_target.sql
  120. 0  sql/updates/{ → world}/984_world_creature_template.sql
  121. 0  sql/updates/{ → world}/993_world_creature_template.sql
  122. +2 −1  src/scripts/Custom/custom_example.cpp
  123. +15 −12 src/scripts/Custom/custom_gossip_codebox.cpp
  124. +19 −0 src/scripts/Custom/on_events.cpp
  125. +15 −12 src/scripts/Custom/test.cpp
  126. +15 −12 src/scripts/EasternKingdoms/AlteracValley/alterac_valley.cpp
  127. +15 −12 src/scripts/EasternKingdoms/AlteracValley/boss_balinda.cpp
  128. +15 −12 src/scripts/EasternKingdoms/AlteracValley/boss_drekthar.cpp
  129. +15 −12 src/scripts/EasternKingdoms/AlteracValley/boss_galvangar.cpp
  130. +16 −13 src/scripts/EasternKingdoms/AlteracValley/boss_vanndar.cpp
  131. +15 −13 src/scripts/EasternKingdoms/BlackrockDepths/blackrock_depths.cpp
  132. +18 −3 src/scripts/EasternKingdoms/BlackrockDepths/blackrock_depths.h
  133. +15 −12 src/scripts/EasternKingdoms/BlackrockDepths/boss_ambassador_flamelash.cpp
  134. +15 −12 src/scripts/EasternKingdoms/BlackrockDepths/boss_anubshiah.cpp
  135. +15 −12 src/scripts/EasternKingdoms/BlackrockDepths/boss_emperor_dagran_thaurissan.cpp
  136. +15 −12 src/scripts/EasternKingdoms/BlackrockDepths/boss_general_angerforge.cpp
  137. +15 −12 src/scripts/EasternKingdoms/BlackrockDepths/boss_gorosh_the_dervish.cpp
  138. +15 −12 src/scripts/EasternKingdoms/BlackrockDepths/boss_grizzle.cpp
  139. +15 −12 src/scripts/EasternKingdoms/BlackrockDepths/boss_high_interrogator_gerstahn.cpp
  140. +15 −12 src/scripts/EasternKingdoms/BlackrockDepths/boss_magmus.cpp
  141. +15 −12 src/scripts/EasternKingdoms/BlackrockDepths/boss_moira_bronzebeard.cpp
  142. +15 −12 src/scripts/EasternKingdoms/BlackrockDepths/boss_tomb_of_seven.cpp
  143. +18 −15 src/scripts/EasternKingdoms/BlackrockDepths/instance_blackrock_depths.cpp
  144. +15 −12 src/scripts/EasternKingdoms/BlackrockSpire/boss_drakkisath.cpp
  145. +15 −12 src/scripts/EasternKingdoms/BlackrockSpire/boss_gyth.cpp
  146. +15 −12 src/scripts/EasternKingdoms/BlackrockSpire/boss_halycon.cpp
  147. +15 −12 src/scripts/EasternKingdoms/BlackrockSpire/boss_highlord_omokk.cpp
  148. +15 −12 src/scripts/EasternKingdoms/BlackrockSpire/boss_mother_smolderweb.cpp
  149. +15 −12 src/scripts/EasternKingdoms/BlackrockSpire/boss_overlord_wyrmthalak.cpp
  150. +15 −12 src/scripts/EasternKingdoms/BlackrockSpire/boss_pyroguard_emberseer.cpp
  151. +15 −12 src/scripts/EasternKingdoms/BlackrockSpire/boss_quartermaster_zigris.cpp
  152. +15 −12 src/scripts/EasternKingdoms/BlackrockSpire/boss_rend_blackhand.cpp
  153. +15 −12 src/scripts/EasternKingdoms/BlackrockSpire/boss_shadow_hunter_voshgajin.cpp
  154. +15 −12 src/scripts/EasternKingdoms/BlackrockSpire/boss_the_beast.cpp
  155. +15 −12 src/scripts/EasternKingdoms/BlackrockSpire/boss_warmaster_voone.cpp
  156. +15 −12 src/scripts/EasternKingdoms/BlackwingLair/boss_broodlord_lashlayer.cpp
  157. +15 −12 src/scripts/EasternKingdoms/BlackwingLair/boss_chromaggus.cpp
  158. +15 −12 src/scripts/EasternKingdoms/BlackwingLair/boss_ebonroc.cpp
  159. +15 −12 src/scripts/EasternKingdoms/BlackwingLair/boss_firemaw.cpp
  160. +15 −12 src/scripts/EasternKingdoms/BlackwingLair/boss_flamegor.cpp
  161. +15 −12 src/scripts/EasternKingdoms/BlackwingLair/boss_nefarian.cpp
  162. +15 −12 src/scripts/EasternKingdoms/BlackwingLair/boss_razorgore.cpp
  163. +15 −12 src/scripts/EasternKingdoms/BlackwingLair/boss_vaelastrasz.cpp
  164. +15 −12 src/scripts/EasternKingdoms/BlackwingLair/boss_victor_nefarius.cpp
  165. +18 −15 src/scripts/EasternKingdoms/BlackwingLair/instance_blackwing_lair.cpp
  166. +17 −16 src/scripts/EasternKingdoms/Deadmines/boss_mr_smite.cpp
  167. +15 −12 src/scripts/EasternKingdoms/Deadmines/deadmines.cpp
  168. +19 −0 src/scripts/EasternKingdoms/Deadmines/deadmines.h
  169. +15 −12 src/scripts/EasternKingdoms/Deadmines/instance_deadmines.cpp
  170. +3 −2 src/scripts/EasternKingdoms/Gnomeregan/gnomeregan.cpp
  171. +3 −1 src/scripts/EasternKingdoms/Gnomeregan/gnomeregan.h
  172. +3 −1 src/scripts/EasternKingdoms/Gnomeregan/instance_gnomeregan.cpp
  173. +15 −12 src/scripts/EasternKingdoms/Karazhan/boss_curator.cpp
  174. +15 −12 src/scripts/EasternKingdoms/Karazhan/boss_maiden_of_virtue.cpp
  175. +15 −12 src/scripts/EasternKingdoms/Karazhan/boss_midnight.cpp
  176. +15 −12 src/scripts/EasternKingdoms/Karazhan/boss_moroes.cpp
  177. +15 −12 src/scripts/EasternKingdoms/Karazhan/boss_netherspite.cpp
  178. +15 −12 src/scripts/EasternKingdoms/Karazhan/boss_nightbane.cpp
  179. +15 −12 src/scripts/EasternKingdoms/Karazhan/boss_prince_malchezaar.cpp
  180. +15 −12 src/scripts/EasternKingdoms/Karazhan/boss_shade_of_aran.cpp
  181. +15 −12 src/scripts/EasternKingdoms/Karazhan/boss_terestian_illhoof.cpp
  182. +15 −12 src/scripts/EasternKingdoms/Karazhan/bosses_opera.cpp
  183. +15 −12 src/scripts/EasternKingdoms/Karazhan/instance_karazhan.cpp
  184. +15 −12 src/scripts/EasternKingdoms/Karazhan/karazhan.cpp
  185. +18 −3 src/scripts/EasternKingdoms/Karazhan/karazhan.h
  186. +15 −12 src/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp
  187. +15 −12 src/scripts/EasternKingdoms/MagistersTerrace/boss_priestess_delrissa.cpp
  188. +15 −12 src/scripts/EasternKingdoms/MagistersTerrace/boss_selin_fireheart.cpp
  189. +15 −12 src/scripts/EasternKingdoms/MagistersTerrace/boss_vexallus.cpp
  190. +15 −12 src/scripts/EasternKingdoms/MagistersTerrace/instance_magisters_terrace.cpp
  191. +15 −12 src/scripts/EasternKingdoms/MagistersTerrace/magisters_terrace.cpp
  192. +18 −3 src/scripts/EasternKingdoms/MagistersTerrace/magisters_terrace.h
  193. +15 −12 src/scripts/EasternKingdoms/MoltenCore/boss_baron_geddon.cpp
  194. +15 −12 src/scripts/EasternKingdoms/MoltenCore/boss_garr.cpp
  195. +15 −12 src/scripts/EasternKingdoms/MoltenCore/boss_gehennas.cpp
  196. +15 −12 src/scripts/EasternKingdoms/MoltenCore/boss_golemagg.cpp
  197. +15 −12 src/scripts/EasternKingdoms/MoltenCore/boss_lucifron.cpp
  198. +15 −12 src/scripts/EasternKingdoms/MoltenCore/boss_magmadar.cpp
  199. +15 −12 src/scripts/EasternKingdoms/MoltenCore/boss_majordomo_executus.cpp
  200. +15 −12 src/scripts/EasternKingdoms/MoltenCore/boss_ragnaros.cpp
  201. +15 −12 src/scripts/EasternKingdoms/MoltenCore/boss_shazzrah.cpp
  202. +15 −12 src/scripts/EasternKingdoms/MoltenCore/boss_sulfuron_harbinger.cpp
  203. +15 −12 src/scripts/EasternKingdoms/MoltenCore/instance_molten_core.cpp
  204. +15 −12 src/scripts/EasternKingdoms/MoltenCore/molten_core.cpp
  205. +18 −3 src/scripts/EasternKingdoms/MoltenCore/molten_core.h
  206. +15 −12 src/scripts/EasternKingdoms/Naxxramas/boss_anubrekhan.cpp
  207. +15 −12 src/scripts/EasternKingdoms/Naxxramas/boss_faerlina.cpp
  208. +342 −339 src/scripts/EasternKingdoms/Naxxramas/boss_four_horsemen.cpp
  209. +15 −12 src/scripts/EasternKingdoms/Naxxramas/boss_gluth.cpp
  210. +15 −12 src/scripts/EasternKingdoms/Naxxramas/boss_gothik.cpp
  211. +15 −12 src/scripts/EasternKingdoms/Naxxramas/boss_grobbulus.cpp
  212. +15 −12 src/scripts/EasternKingdoms/Naxxramas/boss_heigan.cpp
  213. +15 −12 src/scripts/EasternKingdoms/Naxxramas/boss_highlord_mograine.cpp
  214. +15 −12 src/scripts/EasternKingdoms/Naxxramas/boss_kelthuzad.cpp
  215. +15 −12 src/scripts/EasternKingdoms/Naxxramas/boss_loatheb.cpp
  216. +15 −12 src/scripts/EasternKingdoms/Naxxramas/boss_maexxna.cpp
  217. +15 −12 src/scripts/EasternKingdoms/Naxxramas/boss_noth.cpp
  218. +15 −12 src/scripts/EasternKingdoms/Naxxramas/boss_patchwerk.cpp
  219. +15 −12 src/scripts/EasternKingdoms/Naxxramas/boss_razuvious.cpp
  220. +15 −12 src/scripts/EasternKingdoms/Naxxramas/boss_sapphiron.cpp
  221. +15 −12 src/scripts/EasternKingdoms/Naxxramas/boss_thaddius.cpp
  222. +15 −12 src/scripts/EasternKingdoms/Naxxramas/instance_naxxramas.cpp
  223. +15 −12 src/scripts/EasternKingdoms/ScarletMonastery/boss_arcanist_doan.cpp
  224. +15 −12 src/scripts/EasternKingdoms/ScarletMonastery/boss_azshir_the_sleepless.cpp
  225. +15 −12 src/scripts/EasternKingdoms/ScarletMonastery/boss_bloodmage_thalnos.cpp
  226. +15 −12 src/scripts/EasternKingdoms/ScarletMonastery/boss_headless_horseman.cpp
  227. +15 −12 src/scripts/EasternKingdoms/ScarletMonastery/boss_herod.cpp
  228. +15 −12 src/scripts/EasternKingdoms/ScarletMonastery/boss_high_inquisitor_fairbanks.cpp
  229. +15 −12 src/scripts/EasternKingdoms/ScarletMonastery/boss_houndmaster_loksey.cpp
  230. +15 −12 src/scripts/EasternKingdoms/ScarletMonastery/boss_interrogator_vishas.cpp
  231. +15 −12 src/scripts/EasternKingdoms/ScarletMonastery/boss_mograine_and_whitemane.cpp
  232. +15 −12 src/scripts/EasternKingdoms/ScarletMonastery/boss_scorn.cpp
  233. +18 −15 src/scripts/EasternKingdoms/ScarletMonastery/instance_scarlet_monastery.cpp
  234. +18 −3 src/scripts/EasternKingdoms/ScarletMonastery/scarlet_monastery.h
  235. +15 −12 src/scripts/EasternKingdoms/Scholomance/boss_darkmaster_gandling.cpp
  236. +15 −12 src/scripts/EasternKingdoms/Scholomance/boss_death_knight_darkreaver.cpp
  237. +15 −12 src/scripts/EasternKingdoms/Scholomance/boss_doctor_theolen_krastinov.cpp
  238. +15 −12 src/scripts/EasternKingdoms/Scholomance/boss_illucia_barov.cpp
  239. +15 −12 src/scripts/EasternKingdoms/Scholomance/boss_instructor_malicia.cpp
  240. +18 −15 src/scripts/EasternKingdoms/Scholomance/boss_jandice_barov.cpp
  241. +15 −12 src/scripts/EasternKingdoms/Scholomance/boss_kormok.cpp
  242. +15 −12 src/scripts/EasternKingdoms/Scholomance/boss_lord_alexei_barov.cpp
  243. +15 −12 src/scripts/EasternKingdoms/Scholomance/boss_lorekeeper_polkelt.cpp
  244. +15 −12 src/scripts/EasternKingdoms/Scholomance/boss_ras_frostwhisper.cpp
  245. +15 −12 src/scripts/EasternKingdoms/Scholomance/boss_the_ravenian.cpp
  246. +15 −12 src/scripts/EasternKingdoms/Scholomance/boss_vectus.cpp
  247. +15 −12 src/scripts/EasternKingdoms/Scholomance/instance_scholomance.cpp
  248. +18 −3 src/scripts/EasternKingdoms/Scholomance/scholomance.h
  249. +15 −12 src/scripts/EasternKingdoms/ShadowfangKeep/instance_shadowfang_keep.cpp
  250. +15 −12 src/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.cpp
  251. +18 −3 src/scripts/EasternKingdoms/ShadowfangKeep/shadowfang_keep.h
  252. +18 −15 src/scripts/EasternKingdoms/Stratholme/boss_baron_rivendare.cpp
  253. +18 −15 src/scripts/EasternKingdoms/Stratholme/boss_baroness_anastari.cpp
  254. +18 −15 src/scripts/EasternKingdoms/Stratholme/boss_cannon_master_willey.cpp
  255. +18 −15 src/scripts/EasternKingdoms/Stratholme/boss_dathrohan_balnazzar.cpp
  256. +18 −15 src/scripts/EasternKingdoms/Stratholme/boss_magistrate_barthilas.cpp
  257. +18 −15 src/scripts/EasternKingdoms/Stratholme/boss_maleki_the_pallid.cpp
  258. +18 −15 src/scripts/EasternKingdoms/Stratholme/boss_nerubenkan.cpp
  259. +18 −15 src/scripts/EasternKingdoms/Stratholme/boss_order_of_silver_hand.cpp
  260. +18 −15 src/scripts/EasternKingdoms/Stratholme/boss_postmaster_malown.cpp
  261. +18 −15 src/scripts/EasternKingdoms/Stratholme/boss_ramstein_the_gorger.cpp
  262. +18 −15 src/scripts/EasternKingdoms/Stratholme/boss_timmy_the_cruel.cpp
  263. +18 −15 src/scripts/EasternKingdoms/Stratholme/instance_stratholme.cpp
  264. +3 −2 src/scripts/EasternKingdoms/Stratholme/stratholme.cpp
  265. +18 −3 src/scripts/EasternKingdoms/Stratholme/stratholme.h
  266. +14 −12 src/scripts/EasternKingdoms/SunkenTemple/instance_sunken_temple.cpp
  267. +14 −12 src/scripts/EasternKingdoms/SunkenTemple/sunken_temple.cpp
  268. +18 −4 src/scripts/EasternKingdoms/SunkenTemple/sunken_temple.h
  269. +18 −15 src/scripts/EasternKingdoms/SunwellPlateau/boss_brutallus.cpp
  270. +19 −16 src/scripts/EasternKingdoms/SunwellPlateau/boss_eredar_twins.cpp
  271. +18 −15 src/scripts/EasternKingdoms/SunwellPlateau/boss_felmyst.cpp
  272. +18 −15 src/scripts/EasternKingdoms/SunwellPlateau/boss_kalecgos.cpp
  273. +18 −15 src/scripts/EasternKingdoms/SunwellPlateau/boss_kiljaeden.cpp
  274. +18 −15 src/scripts/EasternKingdoms/SunwellPlateau/boss_muru.cpp
  275. +18 −3 src/scripts/EasternKingdoms/SunwellPlateau/instance_sunwell_plateau.cpp
  276. +18 −15 src/scripts/EasternKingdoms/SunwellPlateau/sunwell_plateau.cpp
  277. +18 −3 src/scripts/EasternKingdoms/SunwellPlateau/sunwell_plateau.h
  278. +18 −15 src/scripts/EasternKingdoms/Uldaman/boss_archaedas.cpp
  279. +18 −15 src/scripts/EasternKingdoms/Uldaman/boss_ironaya.cpp
  280. +1 −15 src/scripts/EasternKingdoms/Uldaman/instance_uldaman.cpp
  281. +18 −15 src/scripts/EasternKingdoms/Uldaman/uldaman.cpp
  282. +18 −3 src/scripts/EasternKingdoms/Uldaman/uldaman.h
  283. +18 −15 src/scripts/EasternKingdoms/ZulAman/boss_akilzon.cpp
  284. +18 −15 src/scripts/EasternKingdoms/ZulAman/boss_halazzi.cpp
  285. +18 −15 src/scripts/EasternKingdoms/ZulAman/boss_hexlord.cpp
  286. +18 −15 src/scripts/EasternKingdoms/ZulAman/boss_janalai.cpp
  287. +18 −15 src/scripts/EasternKingdoms/ZulAman/boss_nalorakk.cpp
  288. +18 −15 src/scripts/EasternKingdoms/ZulAman/boss_zuljin.cpp
  289. +18 −15 src/scripts/EasternKingdoms/ZulAman/instance_zulaman.cpp
  290. +18 −15 src/scripts/EasternKingdoms/ZulAman/zulaman.cpp
  291. +18 −3 src/scripts/EasternKingdoms/ZulAman/zulaman.h
  292. +18 −18 src/scripts/EasternKingdoms/ZulGurub/boss_arlokk.cpp
  293. +18 −15 src/scripts/EasternKingdoms/ZulGurub/boss_gahzranka.cpp
  294. +18 −15 src/scripts/EasternKingdoms/ZulGurub/boss_grilek.cpp
  295. +18 −15 src/scripts/EasternKingdoms/ZulGurub/boss_hakkar.cpp
  296. +18 −15 src/scripts/EasternKingdoms/ZulGurub/boss_hazzarah.cpp
  297. +18 −18 src/scripts/EasternKingdoms/ZulGurub/boss_jeklik.cpp
  298. +18 −15 src/scripts/EasternKingdoms/ZulGurub/boss_jindo.cpp
  299. +18 −18 src/scripts/EasternKingdoms/ZulGurub/boss_mandokir.cpp
  300. +18 −18 src/scripts/EasternKingdoms/ZulGurub/boss_marli.cpp
Sorry, we could not display the entire diff because too many files (532) changed.
View
41 COPYING
@@ -1,12 +1,12 @@
- GNU GENERAL PUBLIC LICENSE
- Version 2, June 1991
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
- Preamble
+ Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
@@ -15,7 +15,7 @@ software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
-the GNU Library General Public License instead.) You can apply it to
+the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
@@ -55,8 +55,8 @@ patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
-
- GNU GENERAL PUBLIC LICENSE
+
+ GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
@@ -110,7 +110,7 @@ above, provided that you also meet all of these conditions:
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
-
+
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
@@ -168,7 +168,7 @@ access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
-
+
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
@@ -225,7 +225,7 @@ impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
-
+
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
@@ -255,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
- NO WARRANTY
+ NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -277,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
- END OF TERMS AND CONDITIONS
-
- How to Apply These Terms to Your New Programs
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
@@ -303,17 +303,16 @@ the "copyright" line and a pointer to where the full notice is found.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
- Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
@@ -336,5 +335,5 @@ necessary. Here is a sample; alter the names:
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
-library. If this is what you want to do, use the GNU Library General
+library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
View
39 doc/1_cplusplus_copyright_header.txt
@@ -1,3 +1,5 @@
+Soure:
+
/*
* Copyright (C) 2010-2012 Oregon <http://www.oregoncore.com/>
* Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
@@ -15,4 +17,39 @@
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
- */
+ */
+
+-------------------------------------------------------------------------------------
+
+ Scripts:
+
+/*
+ * Copyright (C) 2010-2012 Oregon <http://www.oregoncore.com/>
+ * Copyright (C) 2006-2008 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
+ * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+ /* ScriptData
+SDName: ***Here Goes name of script
+SD%Complete: ***PCT
+SDComment: ***Developers Notes
+SDCategory: *** Here is catagory (Zone/npc/go..etc)
+EndScriptData */
+
+/* ContentData
+* Here goes named bosses,npcs,spells
+* that is within the script
+EndContentData */
View
0  sql/characters.sql → sql/base_create/characters.sql
File renamed without changes
View
0  sql/create_mysql.sql → sql/base_create/create_mysql.sql
File renamed without changes
View
0  sql/drop_mysql.sql → sql/base_create/drop_mysql.sql
File renamed without changes
View
0  sql/realmd.sql → sql/base_create/realmd.sql
File renamed without changes
View
0  sql/world.sql → sql/base_create/world.sql
File renamed without changes
View
28 ...updates/1208_01_realmd_account_access.sql → ...es/auth/1208_01_realmd_account_access.sql
@@ -1,14 +1,14 @@
--- Table structure for `account_access`
-DROP TABLE IF EXISTS `account_access`;
-CREATE TABLE `account_access` (
- `id` int(11) unsigned NOT NULL,
- `gmlevel` tinyint(3) unsigned NOT NULL,
- `RealmID` int(11) NOT NULL default '-1',
- PRIMARY KEY (`id`,`RealmID`)
-) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
--- export current gm account to the new table
--- RealmID -1 = all realms
-INSERT INTO `account_access` (id, gmlevel, RealmID)
-SELECT `id`, `gmlevel`, -1 FROM `account` WHERE `gmlevel` > 0;
--- Remove the gmlevel field from account
-ALTER TABLE account DROP COLUMN `gmlevel`;
+-- Table structure for `account_access`
+DROP TABLE IF EXISTS `account_access`;
+CREATE TABLE `account_access` (
+ `id` int(11) unsigned NOT NULL,
+ `gmlevel` tinyint(3) unsigned NOT NULL,
+ `RealmID` int(11) NOT NULL default '-1',
+ PRIMARY KEY (`id`,`RealmID`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+-- export current gm account to the new table
+-- RealmID -1 = all realms
+INSERT INTO `account_access` (id, gmlevel, RealmID)
+SELECT `id`, `gmlevel`, -1 FROM `account` WHERE `gmlevel` > 0;
+-- Remove the gmlevel field from account
+ALTER TABLE account DROP COLUMN `gmlevel`;
View
0  sql/updates/205_realmd.sql → sql/updates/auth/205_realmd.sql
File renamed without changes
View
0  sql/updates/209_realmd_account.sql → sql/updates/auth/209_realmd_account.sql
File renamed without changes
View
0  sql/updates/580_realmd_realmcharacters.sql → ...dates/auth/580_realmd_realmcharacters.sql
File renamed without changes
View
0  sql/updates/580_realmd_realmlist.sql → sql/updates/auth/580_realmd_realmlist.sql
File renamed without changes
View
0  sql/updates/592_realmd_realmlist.sql → sql/updates/auth/592_realmd_realmlist.sql
File renamed without changes
View
11 sql/updates/characters/1090_characters_gm_surveys.sql
@@ -0,0 +1,11 @@
+DROP TABLE IF EXISTS `gm_surveys`;
+CREATE TABLE `gm_surveys` (
+ `surveyid` int(10) NOT NULL auto_increment,
+ `AppropriateAnswer` tinyint(3) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Did the GM provide an appropriate answer or solution to your question/problem?',
+ `Understandability` tinyint(3) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'How easy was it to understand and/or follow the information provided?',
+ `GMRating` tinyint(3) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Was the GM knowledgeable, respectful and empathetic during your interactions?',
+ `ResponseTime` tinyint(3) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'How would you rate the response time to address your petition?',
+ `OverallGMExperience` tinyint(3) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'How would you rate the overall experience with the GM that assisted you with your petition?',
+ `comment` longtext,
+ PRIMARY KEY (`surveyid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
View
2  sql/updates/characters/1090_characters_gm_tickets.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `gm_tickets` ADD COLUMN `escalated` int(11) NOT NULL DEFAULT '0' AFTER `comment`;
+ALTER TABLE `gm_tickets` ADD COLUMN `viewed` int(11) NOT NULL DEFAULT '0' AFTER `escalated`;
View
4 sql/updates/characters/1097_03_characters_characters.sql
@@ -0,0 +1,4 @@
+ALTER TABLE `characters`
+ ADD COLUMN `deleteInfos_Account` int(11) UNSIGNED default NULL AFTER arena_pending_points,
+ ADD COLUMN `deleteInfos_Name` varchar(12) default NULL AFTER deleteInfos_Account,
+ ADD COLUMN `deleteDate` bigint(20) default NULL AFTER deleteInfos_Name;
View
54 sql/updates/characters/1319_characters_characters.sql
@@ -0,0 +1,54 @@
+ALTER TABLE characters
+ ADD COLUMN `arenaPoints` int(10) UNSIGNED NOT NULL default '0' AFTER arena_pending_points,
+ ADD COLUMN `totalHonorPoints` int(10) UNSIGNED NOT NULL default '0' AFTER arenaPoints,
+ ADD COLUMN `todayHonorPoints` int(10) UNSIGNED NOT NULL default '0' AFTER totalHonorPoints,
+ ADD COLUMN `yesterdayHonorPoints` int(10) UNSIGNED NOT NULL default '0' AFTER todayHonorPoints,
+ ADD COLUMN `totalKills` int(10) UNSIGNED NOT NULL default '0' AFTER yesterdayHonorPoints,
+ ADD COLUMN `todayKills` smallint(5) UNSIGNED NOT NULL default '0' AFTER totalKills,
+ ADD COLUMN `yesterdayKills` smallint(5) UNSIGNED NOT NULL default '0' AFTER todayKills,
+ ADD COLUMN `chosenTitle` int(10) UNSIGNED NOT NULL default '0' AFTER yesterdayKills,
+ ADD COLUMN `watchedFaction` int(10) UNSIGNED NOT NULL default '0' AFTER chosenTitle,
+ ADD COLUMN `drunk` smallint(5) UNSIGNED NOT NULL default '0' AFTER watchedFaction,
+ ADD COLUMN `health` int(10) UNSIGNED NOT NULL default '0' AFTER drunk,
+ ADD COLUMN `powerMana` int(10) UNSIGNED NOT NULL default '0' AFTER health,
+ ADD COLUMN `powerRage` int(10) UNSIGNED NOT NULL default '0' AFTER powerMana,
+ ADD COLUMN `powerFocus` int(10) UNSIGNED NOT NULL default '0' AFTER powerRage,
+ ADD COLUMN `powerEnergy` int(10) UNSIGNED NOT NULL default '0' AFTER powerFocus,
+ ADD COLUMN `powerHappiness` int(10) UNSIGNED NOT NULL default '0' AFTER powerEnergy;
+
+UPDATE IGNORE characters SET
+ arenaPoints = arena_pending_points +
+ SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1563))+2, length(SUBSTRING_INDEX(data, ' ', 1563+1))- length(SUBSTRING_INDEX(data, ' ', 1563)) - 1),
+ totalHonorPoints =
+ SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1562))+2, length(SUBSTRING_INDEX(data, ' ', 1562+1))- length(SUBSTRING_INDEX(data, ' ', 1562)) - 1),
+ todayHonorPoints =
+ SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1515))+2, length(SUBSTRING_INDEX(data, ' ', 1515+1))- length(SUBSTRING_INDEX(data, ' ', 1515)) - 1),
+ yesterdayHonorPoints =
+ SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1516))+2, length(SUBSTRING_INDEX(data, ' ', 1516+1))- length(SUBSTRING_INDEX(data, ' ', 1516)) - 1),
+ totalKills =
+ SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1517))+2, length(SUBSTRING_INDEX(data, ' ', 1517+1))- length(SUBSTRING_INDEX(data, ' ', 1517)) - 1),
+ todayKills =
+ SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1514))+2, length(SUBSTRING_INDEX(data, ' ', 1514+1))- length(SUBSTRING_INDEX(data, ' ', 1514)) - 1) & 0x0000FFFF,
+ yesterdayKills =
+ (SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1514))+2, length(SUBSTRING_INDEX(data, ' ', 1514+1))- length(SUBSTRING_INDEX(data, ' ', 1514)) - 1) & 0xFFFF0000) >> 16,
+ chosenTitle =
+ SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 648))+2, length(SUBSTRING_INDEX(data, ' ', 648+1))- length(SUBSTRING_INDEX(data, ' ', 648)) - 1),
+ watchedFaction =
+ SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1519))+2, length(SUBSTRING_INDEX(data, ' ', 1519+1))- length(SUBSTRING_INDEX(data, ' ', 1519)) - 1),
+ drunk =
+ SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 241))+2, length(SUBSTRING_INDEX(data, ' ', 241+1))- length(SUBSTRING_INDEX(data, ' ', 241)) - 1) & 0xFFFE,
+ health =
+ SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 22))+2, length(SUBSTRING_INDEX(data, ' ', 22+1))- length(SUBSTRING_INDEX(data, ' ', 22)) - 1),
+ powerMana =
+ SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 23))+2, length(SUBSTRING_INDEX(data, ' ', 23+1))- length(SUBSTRING_INDEX(data, ' ', 23)) - 1),
+ powerRage =
+ SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 24))+2, length(SUBSTRING_INDEX(data, ' ', 24+1))- length(SUBSTRING_INDEX(data, ' ', 24)) - 1),
+ powerFocus =
+ SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 25))+2, length(SUBSTRING_INDEX(data, ' ', 25+1))- length(SUBSTRING_INDEX(data, ' ', 25)) - 1),
+ powerEnergy =
+ SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 26))+2, length(SUBSTRING_INDEX(data, ' ', 26+1))- length(SUBSTRING_INDEX(data, ' ', 26)) - 1),
+ powerHappiness =
+ SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 27))+2, length(SUBSTRING_INDEX(data, ' ', 27+1))- length(SUBSTRING_INDEX(data, ' ', 27)) - 1);
+
+ALTER TABLE characters
+ DROP COLUMN arena_pending_points;
View
46 sql/updates/characters/1479_characters_character_skills.sql
@@ -0,0 +1,46 @@
+DROP TABLE IF EXISTS `character_skills`;
+CREATE TABLE `character_skills` (
+ `guid` int(11) unsigned NOT NULL COMMENT 'Global Unique Identifier',
+ `skill` mediumint(9) unsigned NOT NULL,
+ `value` int(11) unsigned NOT NULL,
+ `max` mediumint(9) unsigned NOT NULL,
+ i mediumint(9),
+ PRIMARY KEY (`guid`,`skill`,`i`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+DROP TABLE IF EXISTS temp_skills;
+CREATE TABLE temp_skills (
+ i int(11) unsigned NOT NULL,
+ PRIMARY KEY (i)
+);
+INSERT INTO temp_skills VALUES
+( 0),( 1),( 2),( 3),( 4),( 5),( 6),( 7),( 8),( 9),(10),(11),(12),(13),(14),(15),(16),(17),(18),(19),
+(20),(21),(22),(23),(24),(25),(26),(27),(28),(29),(30),(31),(32),(33),(34),(35),(36),(37),(38),(39),
+(40),(41),(42),(43),(44),(45),(46),(47),(48),(49),(50),(51),(52),(53),(54),(55),(56),(57),(58),(59),
+(60),(61),(62),(63),(64),(65),(66),(67),(68),(69),(70),(71),(72),(73),(74),(75),(76),(77),(78),(79),
+(80),(81),(82),(83),(84),(85),(86),(87),(88),(89),(90),(91),(92),(93),(94),(95),(96),(97),(98),(99),
+(100),(101),(102),(103),(104),(105),(106),(107),(108),(109),(110),(111),(112),(113),(114),(115),(116),(117),(118),(119),
+(120),(121),(122),(123),(124),(125),(126),(127);
+
+INSERT INTO character_skills SELECT
+guid,
+((SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 928+3*i))+2, length(SUBSTRING_INDEX(data, ' ', 928+3*i+1))- length(SUBSTRING_INDEX(data, ' ', 928+3*i)) - 1)) & 0xFFFF) as skill,
+(SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 928+3*i+1))+2, length(SUBSTRING_INDEX(data, ' ', 928+3*i+2))- length(SUBSTRING_INDEX(data, ' ', 928+3*i+1)) - 1)) as value,
+(0) as max,
+i
+FROM characters, temp_skills;
+
+DELETE FROM character_skills WHERE skill = 0;
+DROP TABLE IF EXISTS temp_skills;
+
+UPDATE character_skills
+ SET max = ((value & 0xFFFF0000) >> 16);
+
+UPDATE character_skills
+ SET value = (value & 0xFFFF);
+
+ALTER IGNORE TABLE character_skills
+ CHANGE COLUMN value value mediumint(9) unsigned NOT NULL,
+ DROP PRIMARY KEY,
+ ADD PRIMARY KEY (guid,skill),
+ DROP COLUMN i;
View
39 sql/updates/characters/1516_characters_corpse.sql
@@ -0,0 +1,39 @@
+ALTER TABLE `corpse`
+ ADD COLUMN `displayId` int(10) unsigned NOT NULL default '0' AFTER `map`,
+ ADD COLUMN `itemCache` text NOT NULL AFTER `displayId`,
+ ADD COLUMN `bytes1` int(10) unsigned NOT NULL default '0' AFTER `itemCache`,
+ ADD COLUMN `bytes2` int(10) unsigned NOT NULL default '0' AFTER `bytes1`,
+ ADD COLUMN `guild` int(10) unsigned NOT NULL default '0' AFTER `bytes2`,
+ ADD COLUMN `flags` int(10) unsigned NOT NULL default '0' AFTER `guild`,
+ ADD COLUMN `dynFlags` int(10) unsigned NOT NULL default '0' AFTER `flags`;
+
+UPDATE `corpse` SET
+`displayId` = SUBSTRING(`data`,
+length(SUBSTRING_INDEX(`data`,' ',10))+2,
+length(SUBSTRING_INDEX(`data`,' ',10+1))-length(SUBSTRING_INDEX(data,' ',10))-1),
+
+`itemCache` = SUBSTRING(`data`,
+length(SUBSTRING_INDEX(`data`,' ',11))+2,
+length(SUBSTRING_INDEX(`data`,' ',29+1))-length(SUBSTRING_INDEX(data,' ',11))-1),
+
+`bytes1` = SUBSTRING(`data`,
+length(SUBSTRING_INDEX(`data`,' ',30))+2,
+length(SUBSTRING_INDEX(`data`,' ',30+1))-length(SUBSTRING_INDEX(data,' ',30))-1),
+
+`bytes2` = SUBSTRING(`data`,
+length(SUBSTRING_INDEX(`data`,' ',31))+2,
+length(SUBSTRING_INDEX(`data`,' ',31+1))-length(SUBSTRING_INDEX(data,' ',31))-1),
+
+`guild` = SUBSTRING(`data`,
+length(SUBSTRING_INDEX(`data`,' ',32))+2,
+length(SUBSTRING_INDEX(`data`,' ',32+1))-length(SUBSTRING_INDEX(data,' ',32))-1),
+
+`flags` = SUBSTRING(`data`,
+length(SUBSTRING_INDEX(`data`,' ',33))+2,
+length(SUBSTRING_INDEX(`data`,' ',33+1))-length(SUBSTRING_INDEX(data,' ',33))-1),
+
+`dynFlags` = SUBSTRING(`data`,
+length(SUBSTRING_INDEX(`data`,' ',34))+2,
+length(SUBSTRING_INDEX(`data`,' ',34+1))-length(SUBSTRING_INDEX(data,' ',34))-1);
+
+ALTER TABLE `corpse` DROP `data`;
View
1  sql/updates/characters/280_characters_characters.sql
@@ -0,0 +1 @@
+ALTER TABLE `characters` ADD COLUMN `instance_id` int(11) unsigned NOT NULL default '0' AFTER `map`;
View
7 sql/updates/characters/283_01_characters_characters.sql
@@ -0,0 +1,7 @@
+ALTER TABLE characters ADD gender TINYINT UNSIGNED NOT NULL default '0' AFTER class;
+ALTER TABLE characters ADD level TINYINT UNSIGNED NOT NULL default '0' AFTER gender;
+ALTER TABLE characters ADD xp INT UNSIGNED NOT NULL default '0' AFTER level;
+ALTER TABLE characters ADD money INT UNSIGNED NOT NULL default '0' AFTER xp;
+ALTER TABLE characters ADD playerBytes INT UNSIGNED NOT NULL default '0' AFTER money;
+ALTER TABLE characters ADD playerBytes2 INT UNSIGNED NOT NULL default '0' AFTER playerBytes;
+ALTER TABLE characters ADD playerFlags INT UNSIGNED NOT NULL default '0' AFTER playerBytes2;
View
9 sql/updates/characters/283_02_characters_characters.sql
@@ -0,0 +1,9 @@
+UPDATE characters SET
+gender = (CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 37), ' ', -1) AS UNSIGNED) & 0xFF0000) >> 16,
+level = CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 35), ' ', -1) AS UNSIGNED),
+xp = CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 927), ' ', -1) AS UNSIGNED),
+money = CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 1462), ' ', -1) AS UNSIGNED),
+playerBytes = CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 240), ' ', -1) AS UNSIGNED),
+playerBytes2 = CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 241), ' ', -1) AS UNSIGNED),
+playerFlags = CAST(SUBSTRING_INDEX(SUBSTRING_INDEX(data, ' ', 237), ' ', -1) AS UNSIGNED)
+WHERE LENGTH(SUBSTRING_INDEX(data, ' ', 1592)) < LENGTH(data) && LENGTH(data) <= LENGTH(SUBSTRING_INDEX(data, ' ', 1593));
View
2  sql/updates/characters/290_characters.sql
@@ -0,0 +1,2 @@
+ALTER TABLE character_spell DROP slot;
+ALTER TABLE pet_spell DROP slot;
View
1  sql/updates/characters/355_characters_cheaters.sql
@@ -0,0 +1 @@
+DROP TABLE IF EXISTS `cheaters`;
View
5 sql/updates/characters/535_characters_character_pet_aura.sql
@@ -0,0 +1,5 @@
+ALTER TABLE `pet_aura` DROP PRIMARY KEY;
+ALTER TABLE `pet_aura` ADD PRIMARY KEY (`guid`,`caster_guid`,`spell`,`effect_index`);
+
+ALTER TABLE `character_aura` DROP PRIMARY KEY;
+ALTER TABLE `character_aura` ADD PRIMARY KEY (`guid`,`caster_guid`,`spell`,`effect_index`);
View
18 sql/updates/characters/552_characters_mail_external.sql
@@ -0,0 +1,18 @@
+SET NAMES utf8;
+SET FOREIGN_KEY_CHECKS = 0;
+
+DROP TABLE IF EXISTS `mail_external`;
+
+CREATE TABLE `mail_external` (
+ `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
+ `receiver` bigint(20) unsigned NOT NULL,
+ `subject` varchar(200) DEFAULT 'Support Message',
+ `message` varchar(500) DEFAULT 'Support Message',
+ `money` bigint(20) unsigned NOT NULL DEFAULT '0',
+ `item` bigint(20) unsigned NOT NULL DEFAULT '0',
+ `item_count` bigint(20) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+
+SET FOREIGN_KEY_CHECKS = 1;
View
16 sql/updates/characters/995_characters_battleground_data.sql
@@ -0,0 +1,16 @@
+DROP TABLE IF EXISTS `character_bgcoord`;
+DROP TABLE IF EXISTS `character_battleground_data`;
+CREATE TABLE `character_battleground_data` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `instance_id` int(11) unsigned NOT NULL default '0',
+ `team` int(11) unsigned NOT NULL default '0',
+ `join_x` float NOT NULL default '0',
+ `join_y` float NOT NULL default '0',
+ `join_z` float NOT NULL default '0',
+ `join_o` float NOT NULL default '0',
+ `join_map` int(11) NOT NULL default '0',
+ `taxi_start` int(11) NOT NULL default '0',
+ `taxi_end` int(11) NOT NULL default '0',
+ `mount_spell` int(11) NOT NULL default '0',
+ PRIMARY KEY (`guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
View
0  sql/updates/1003_world_creature_template.sql → ...es/world/1003_world_creature_template.sql
File renamed without changes
View
0  sql/updates/1037_world_oregon_string.sql → ...pdates/world/1037_world_oregon_string.sql
File renamed without changes
View
0  sql/updates/1041_world_command.sql → sql/updates/world/1041_world_command.sql
File renamed without changes
View
0  sql/updates/1056_world_oregon_string.sql → ...pdates/world/1056_world_oregon_string.sql
File renamed without changes
View
16 sql/updates/1067_world_script_texts.sql → ...updates/world/1067_world_script_texts.sql
@@ -1,9 +1,9 @@
-REPLACE INTO `script_texts` (`entry`,`content_default`,`type`,`emote`,`comment`) VALUES
-(-1000728,'What\'s the big idea, Spark? Why\'d you call for this meeting?',0,0,'geezle - GEEZLE_SAY_1'),
-(-1000729,'What\'s the big idea? You nearly blew my cover, idiot! I told you to put the compass and navigation maps somewhere safe - not out in the open for any fool to discover.',0,4,'geezle - SPARK_SAY_2'),
-(-1000730,'The Master has gone to great lengths to secure information about the whereabouts of the Exodar. You could have blown the entire operation, including the cover of our spy on the inside.',0,0,'geezle - SPARK_SAY_3'),
-(-1000731,'Relax, Spark! I have it all under control. We\'ll strip mine the Exodar right out from under\'em - making both you and I very, very rich in the process.',0,4,'geezle - GEEZLE_SAY_4'),
-(-1000732,'Relax? Do you know what Kael\'thas does to those that fail him, Geezle? Eternal suffering and pain... Do NOT screw this up, fool.',0,0,'geezle - SPARK_SAY_5'),
-(-1000733,'Our Bloodmyst scouts have located our contact. The fool, Velen, will soon leave himself open and defenseless -- long enough for us to strike! Now get out of my sight before I vaporize you...',0,0,'geezle - SPARK_SAY_6'),
-(-1000734,'Yes, sir. It won\'t happen again...',0,0,'geezle - GEEZLE_SAY_7'),
+REPLACE INTO `script_texts` (`entry`,`content_default`,`type`,`emote`,`comment`) VALUES
+(-1000728,'What\'s the big idea, Spark? Why\'d you call for this meeting?',0,0,'geezle - GEEZLE_SAY_1'),
+(-1000729,'What\'s the big idea? You nearly blew my cover, idiot! I told you to put the compass and navigation maps somewhere safe - not out in the open for any fool to discover.',0,4,'geezle - SPARK_SAY_2'),
+(-1000730,'The Master has gone to great lengths to secure information about the whereabouts of the Exodar. You could have blown the entire operation, including the cover of our spy on the inside.',0,0,'geezle - SPARK_SAY_3'),
+(-1000731,'Relax, Spark! I have it all under control. We\'ll strip mine the Exodar right out from under\'em - making both you and I very, very rich in the process.',0,4,'geezle - GEEZLE_SAY_4'),
+(-1000732,'Relax? Do you know what Kael\'thas does to those that fail him, Geezle? Eternal suffering and pain... Do NOT screw this up, fool.',0,0,'geezle - SPARK_SAY_5'),
+(-1000733,'Our Bloodmyst scouts have located our contact. The fool, Velen, will soon leave himself open and defenseless -- long enough for us to strike! Now get out of my sight before I vaporize you...',0,0,'geezle - SPARK_SAY_6'),
+(-1000734,'Yes, sir. It won\'t happen again...',0,0,'geezle - GEEZLE_SAY_7'),
(-1000735,'picks up the naga flag.',2,0,'geezle - EMOTE_SPARK');
View
0  sql/updates/1076_world_oregon_string.sql → ...pdates/world/1076_world_oregon_string.sql
File renamed without changes
View
0  sql/updates/1086_world_oregon_string.sql → ...pdates/world/1086_world_oregon_string.sql
File renamed without changes
View
0  sql/updates/1094_world_spell_proc_event.sql → ...tes/world/1094_world_spell_proc_event.sql
File renamed without changes
View
26 sql/updates/1097_01_world_oregon_string.sql → ...tes/world/1097_01_world_oregon_string.sql
@@ -1,13 +1,13 @@
-DELETE FROM oregon_string WHERE entry IN (1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026);
-INSERT INTO oregon_string VALUES
-(1012, '| GUID | Name | Account | Delete Date |',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
-(1013, '| %10u | %20s | %15s (%10u) | %19s |',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
-(1014, '==========================================================================================',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
-(1015, 'No characters found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
-(1016, 'Restoring the following characters:',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
-(1017, 'Deleting the following characters:',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
-(1018, 'ERROR: You can only assign a new name if you have only selected a single character!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
-(1019, 'Character \'%s\' (GUID: %u Account %u) can\'t be restored: account not exist!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
-(1020, 'Character \'%s\' (GUID: %u Account %u) can\'t be restored: account character list full!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
-(1021, 'Character \'%s\' (GUID: %u Account %u) can\'t be restored: new name already used!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
-(1022, 'GUID: %u Name: %s Account: %s (%u) Date: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+DELETE FROM oregon_string WHERE entry IN (1016, 1017, 1018, 1019, 1020, 1021, 1022, 1023, 1024, 1025, 1026);
+INSERT INTO oregon_string VALUES
+(1012, '| GUID | Name | Account | Delete Date |',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(1013, '| %10u | %20s | %15s (%10u) | %19s |',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(1014, '==========================================================================================',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(1015, 'No characters found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(1016, 'Restoring the following characters:',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(1017, 'Deleting the following characters:',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(1018, 'ERROR: You can only assign a new name if you have only selected a single character!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(1019, 'Character \'%s\' (GUID: %u Account %u) can\'t be restored: account not exist!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(1020, 'Character \'%s\' (GUID: %u Account %u) can\'t be restored: account character list full!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(1021, 'Character \'%s\' (GUID: %u Account %u) can\'t be restored: new name already used!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(1022, 'GUID: %u Name: %s Account: %s (%u) Date: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
View
16 sql/updates/1097_02_world_command.sql → sql/updates/world/1097_02_world_command.sql
@@ -1,8 +1,8 @@
-DELETE FROM command WHERE name IN ('character delete', 'character deleted list', 'character deleted restore', 'character deleted delete', 'character deleted old', 'character erase');
-INSERT INTO command (name, security, help) VALUES
-('character erase', 4,'Syntax: .character erase $name\r\n\r\nDelete character $name. Character finally deleted in case any deleting options.'),
-('character deleted delete', 4, 'Syntax: .character deleted delete #guid|$name\r\n\r\nCompletely deletes the selected characters.\r\nIf $name is supplied, only characters with that string in their name will be deleted, if #guid is supplied, only the character with that GUID will be deleted.'),
-('character deleted list', 3, 'Syntax: .character deleted list [#guid|$name]\r\n\r\nShows a list with all deleted characters.\r\nIf $name is supplied, only characters with that string in their name will be selected, if #guid is supplied, only the character with that GUID will be selected.'),
-('character deleted old', 4, 'Syntax: .character deleted old [#keepDays]\r\n\r\nCompletely deletes all characters with deleted time longer #keepDays. If #keepDays not provided the used value from oregoncore.conf option \'CharDelete.KeepDays\'. If referenced config option disabled (use 0 value) then command can\'t be used without #keepDays.'),
-('character deleted restore', 3, 'Syntax: .character deleted restore #guid|$name [$newname] [#new account]\r\n\r\nRestores deleted characters.\r\nIf $name is supplied, only characters with that string in their name will be restored, if $guid is supplied, only the character with that GUID will be restored.\r\nIf $newname is set, the character will be restored with that name instead of the original one. If #newaccount is set, the character will be restored to specific account character list. This works only with one character!');
-
+DELETE FROM command WHERE name IN ('character delete', 'character deleted list', 'character deleted restore', 'character deleted delete', 'character deleted old', 'character erase');
+INSERT INTO command (name, security, help) VALUES
+('character erase', 4,'Syntax: .character erase $name\r\n\r\nDelete character $name. Character finally deleted in case any deleting options.'),
+('character deleted delete', 4, 'Syntax: .character deleted delete #guid|$name\r\n\r\nCompletely deletes the selected characters.\r\nIf $name is supplied, only characters with that string in their name will be deleted, if #guid is supplied, only the character with that GUID will be deleted.'),
+('character deleted list', 3, 'Syntax: .character deleted list [#guid|$name]\r\n\r\nShows a list with all deleted characters.\r\nIf $name is supplied, only characters with that string in their name will be selected, if #guid is supplied, only the character with that GUID will be selected.'),
+('character deleted old', 4, 'Syntax: .character deleted old [#keepDays]\r\n\r\nCompletely deletes all characters with deleted time longer #keepDays. If #keepDays not provided the used value from oregoncore.conf option \'CharDelete.KeepDays\'. If referenced config option disabled (use 0 value) then command can\'t be used without #keepDays.'),
+('character deleted restore', 3, 'Syntax: .character deleted restore #guid|$name [$newname] [#new account]\r\n\r\nRestores deleted characters.\r\nIf $name is supplied, only characters with that string in their name will be restored, if $guid is supplied, only the character with that GUID will be restored.\r\nIf $newname is set, the character will be restored with that name instead of the original one. If #newaccount is set, the character will be restored to specific account character list. This works only with one character!');
+
View
0  sql/updates/110_world_oregon_string.sql → ...updates/world/110_world_oregon_string.sql
File renamed without changes
View
0  sql/updates/1117_world_spell_affect.sql → ...updates/world/1117_world_spell_affect.sql
File renamed without changes
View
0  sql/updates/1137_world_creature_template.sql → ...es/world/1137_world_creature_template.sql
File renamed without changes
View
6 sql/updates/1208_02_world_command.sql → sql/updates/world/1208_02_world_command.sql
@@ -1,3 +1,3 @@
-UPDATE command
-SET help = 'Syntax: .account set gmlevel [$account] #level [#realmid]\r\n\r\nSet the security level for targeted player (can\'t be used at self) or for account $name to a level of #level on the realm #realmID.\r\n\r\n#level may range from 0 to 3.\r\n\r\n#reamID may be -1 for all realms.'
-WHERE name = 'account set gmlevel';
+UPDATE command
+SET help = 'Syntax: .account set gmlevel [$account] #level [#realmid]\r\n\r\nSet the security level for targeted player (can\'t be used at self) or for account $name to a level of #level on the realm #realmID.\r\n\r\n#level may range from 0 to 3.\r\n\r\n#reamID may be -1 for all realms.'
+WHERE name = 'account set gmlevel';
View
6 sql/updates/1208_03_world_oregon_string.sql → ...tes/world/1208_03_world_oregon_string.sql
@@ -1,3 +1,3 @@
-DELETE FROM `oregon_string` WHERE `entry` = 11001;
-INSERT INTO oregon_string VALUES
-(11001, 'You have not chosen -1 or the current realmID that you are on.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+DELETE FROM `oregon_string` WHERE `entry` = 11001;
+INSERT INTO oregon_string VALUES
+(11001, 'You have not chosen -1 or the current realmID that you are on.', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
View
0  ...updates/1216_world_spell_linked_spell.sql → ...s/world/1216_world_spell_linked_spell.sql
File renamed without changes
View
0  ...updates/1217_world_spell_linked_spell.sql → ...s/world/1217_world_spell_linked_spell.sql
File renamed without changes
View
0  sql/updates/1282_world_creature_template.sql → ...es/world/1282_world_creature_template.sql
File renamed without changes
View
2  sql/updates/1286_world_creature_template.sql → ...es/world/1286_world_creature_template.sql
@@ -1 +1 @@
-UPDATE `creature_template` SET `ScriptName`='npc_eitrigg' WHERE `entry`='3144';
+UPDATE `creature_template` SET `ScriptName`='npc_eitrigg' WHERE `entry`='3144';
View
0  sql/updates/1298_01_world_oregon_string.sql → ...tes/world/1298_01_world_oregon_string.sql
File renamed without changes
View
0  sql/updates/1298_02_world_command.sql → sql/updates/world/1298_02_world_command.sql
File renamed without changes
View
4 sql/updates/1335_world_oregon_string.sql → ...pdates/world/1335_world_oregon_string.sql
@@ -1,2 +1,2 @@
-UPDATE `oregon_string` SET `content_default` = 'Player%s %s (guid: %u) Account: %s (id: %u) Email: %s GMLevel: %u Last IP: %s Last login: %s Latency: %ums' WHERE `entry` = 548;
-UPDATE `oregon_string` SET `content_default` = 'Race: %s Class: %s Played time: %s Level: %u Money: %ug%us%uc' WHERE `entry` = 549;
+UPDATE `oregon_string` SET `content_default` = 'Player%s %s (guid: %u) Account: %s (id: %u) Email: %s GMLevel: %u Last IP: %s Last login: %s Latency: %ums' WHERE `entry` = 548;
+UPDATE `oregon_string` SET `content_default` = 'Race: %s Class: %s Played time: %s Level: %u Money: %ug%us%uc' WHERE `entry` = 549;
View
44 sql/updates/1385_world_autobroadcast.sql → ...pdates/world/1385_world_autobroadcast.sql
@@ -1,22 +1,22 @@
-DROP TABLE IF EXISTS `autobroadcast`;
-
---
--- Table structure for table `autobroadcast`
---
-
-CREATE TABLE `autobroadcast` (
-`id` int(11) NOT NULL AUTO_INCREMENT,
-`text` longtext NOT NULL,
-PRIMARY KEY (`id`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
-
---
--- Data for table `autobroadcast`
---
-
-DELETE FROM `oregon_string` WHERE `entry` = 11000;
-INSERT INTO `oregon_string` (entry, content_default, content_loc1, content_loc2, content_loc3, content_loc4, content_loc5, content_loc6, content_loc7, content_loc8)
-VALUES (11000, '|cffffff00[|c00077766Autobroadcast|cffffff00]: |cFFF222FF%s|r', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-
-DELETE FROM `command` WHERE `name` = 'reload autobroadcast';
-INSERT INTO `command` (`name`, `security`, `help`) VALUES ('reload autobroadcast', 3, 'Syntax: .reload autobroadcast\nReload autobroadcast table.');
+DROP TABLE IF EXISTS `autobroadcast`;
+
+--
+-- Table structure for table `autobroadcast`
+--
+
+CREATE TABLE `autobroadcast` (
+`id` int(11) NOT NULL AUTO_INCREMENT,
+`text` longtext NOT NULL,
+PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
+
+--
+-- Data for table `autobroadcast`
+--
+
+DELETE FROM `oregon_string` WHERE `entry` = 11000;
+INSERT INTO `oregon_string` (entry, content_default, content_loc1, content_loc2, content_loc3, content_loc4, content_loc5, content_loc6, content_loc7, content_loc8)
+VALUES (11000, '|cffffff00[|c00077766Autobroadcast|cffffff00]: |cFFF222FF%s|r', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+
+DELETE FROM `command` WHERE `name` = 'reload autobroadcast';
+INSERT INTO `command` (`name`, `security`, `help`) VALUES ('reload autobroadcast', 3, 'Syntax: .reload autobroadcast\nReload autobroadcast table.');
View
2  sql/updates/1391_world_ActiveMover.sql → sql/updates/world/1391_world_ActiveMover.sql
@@ -1,2 +1,2 @@
-ALTER TABLE `creature_addon` ADD COLUMN `isActive` INT(1) DEFAULT '0' NULL AFTER `moveflags`;
+ALTER TABLE `creature_addon` ADD COLUMN `isActive` INT(1) DEFAULT '0' NULL AFTER `moveflags`;
ALTER TABLE `creature_template_addon` ADD COLUMN `isActive` INT(1) DEFAULT '0' NULL AFTER `moveflags`;
View
0  sql/updates/1446_world_creature_template.sql → ...es/world/1446_world_creature_template.sql
File renamed without changes
View
0  sql/updates/145_world_scripts.sql → sql/updates/world/145_world_scripts.sql
File renamed without changes
View
0  ...pdates/1486_world_gameobject_template.sql → .../world/1486_world_gameobject_template.sql
File renamed without changes
View
426 sql/updates/1515_world_creature_template.sql → ...es/world/1515_world_creature_template.sql
@@ -1,214 +1,214 @@
-UPDATE `creature_template` SET `ScriptName` = 'npc_maghar_prisoner' WHERE `entry` = '18428';
-
-UPDATE `quest_template` SET `ReqSpellCast1` = '0' WHERE `entry` = '9948';
-
-UPDATE `gameobject_template` SET `ScriptName`='go_maghar_prison' WHERE `entry` IN (182487,182504,182484,182486,182488,182494,182491,182489,182493,182496,182495,182490,182503,182498,182500,182502,182501,182499,182497,182492);
-
-INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
- (-1900148,'Help! Help! They\'re going to eat me!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'MAG_PRISONER1'),
- (-1900149,'My Children will be made orphans!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'MAG_PRISONER2'),
- (-1900150,'The ogres have the keys! Kill the ogres and get me out of here!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'MAG_PRISONER3'),
- (-1900151,'I\'m done for!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'MAG_PRISONER4'),
- (-1900152,'Thank you, $r! Your service to the Mag\'har will not be forgotten.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'MAG_PRISONER5'),
- (-1900153,'Many Thanks, hero!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'MAG_PRISONER6'),
- (-1900154,'Spirits watch for you, $r.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'MAG_PRISONER7'),
- (-1900155,'Death to the ogres!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'MAG_PRISONER8');
-
-UPDATE `quest_template` SET `ReqCreatureOrGOID1` = '18445' WHERE `entry` = '9923';
-UPDATE `gameobject_template` SET `data2` = '1966080' WHERE `entry` = '182349';
-UPDATE `gameobject_template` SET `ScriptName` = 'go_corkis_prison1' WHERE `entry` = '182349';
-UPDATE `creature_template` SET `ScriptName` = 'npc_corki1' WHERE `entry` = '18445';
-
-INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
- (-1900133,'Thanks $r ! I\'m sure my dad will reward you greatly! Bye!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KORKI1'),
- (-1900134,'Hey, fatso! How do you go to the bathroom with all that fat?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KORKI2'),
- (-1900135,'Stop getting caught Corki!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KORKI3'),
- (-1900136,'I want my daddy!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KORKI4'),
- (-1900137,'I\'m not Corki! I\'m not Corki!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KORKI5'),
- (-1900138,'Man that Corki sure is an idiot!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KORKI6');
-
-DELETE FROM `script_waypoint` WHERE `entry`=18445;
-INSERT INTO `script_waypoint` VALUES
- (18445,0,-2561.155,6284.777,15.138,0, ''),
- (18445,1,-2544.227,6274.250,14.612,0, ''),
- (18445,2,-2528.367,6277.982,17.335,0, ''),
- (18445,3,-2477.215,6341.930,26.882,0, '');
-
-UPDATE `quest_template` SET `ReqCreatureOrGOID1` = '20812' WHERE `entry` = '9924';
-UPDATE `gameobject_template` SET `data2` = '1966080' WHERE `entry` = '182350';
-UPDATE `gameobject_template` SET `ScriptName` = 'go_corkis_prison2' WHERE `entry` = '182350';
-UPDATE `creature_template` SET `ScriptName` = 'npc_corki2' WHERE `entry` = '20812';
-
-INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
- (-1900139,'This is the last time I get caught! I promise! Bye!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KORKI7');
-
-DELETE FROM `script_waypoint` WHERE `entry`=20812;
-INSERT INTO `script_waypoint` VALUES
- (20812,0,-972.953,8125.154,-94.303,0, ''),
- (20812,1,-981.466,8120.831,-95.112,0, ''),
- (20812,2,-1058.294,8102.698,-89.662,0, '');
-
-UPDATE `quest_template` SET `ReqCreatureOrGOID1` = '18369' WHERE `entry` = '9955';
-UPDATE `gameobject_template` SET `data2` = '1966080' WHERE `entry` = '182521';
-UPDATE `gameobject_template` SET `ScriptName` = 'go_corkis_prison3' WHERE `entry` = '182521';
-UPDATE `creature_template` SET `ScriptName` = 'npc_corki3' WHERE `entry` = '18369';
-
-DELETE FROM `script_waypoint` WHERE `entry`=18369;
-INSERT INTO `script_waypoint` VALUES
- (18369,0,-915.809,8667.150,171.827,0, ''),
- (18369,1,-868.656,8709.678,173.826,0, ''),
- (18369,2,-817.007,8729.769,178.137,0, '');
-
-UPDATE `creature_template` SET `minhealth` = '4274' WHERE `entry` = '18209';
-UPDATE `creature_template` SET `maxhealth` = '4274' WHERE `entry` = '18209';
-UPDATE `creature_template` SET `ScriptName` = 'npc_kurenai_captive' WHERE `entry` = '18209';
-
-INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
-(-1900132,'It is best that we split up now, in case they send more after us. Hopefully one of us will make it back to Arechron. Farewell stranger.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KUR_COMPLETE');
-
-DELETE FROM `script_waypoint` WHERE `entry`=18209;
-INSERT INTO `script_waypoint` VALUES
- (18209,0,-1515.121216,8463.864258,-4.101,0, ''),
- (18209,1,-1526.754150,8461.015625,-4.102,0, ''),
- (18209,2,-1530.113770,8456.399414,-4.102,0, ''),
- (18209,3,-1510.905396,8436.612305,-3.360,0, ''),
- (18209,4,-1502.916504,8435.619141,-1.120,0, ''),
- (18209,5,-1495.801270,8440.210938,0.396,0, ''),
- (18209,6,-1478.269409,8471.061523,0.737,0, ''),
- (18209,7,-1464.239014,8489.628906,3.606,2000, 'SAY_KUR_MORE'),
- (18209,8,-1456.312500,8493.965820,4.641,0, ''),
- (18209,9,-1446.376465,8497.753906,5.918,0, ''),
- (18209,10,-1442.828735,8499.535156,6.312,0, ''),
- (18209,11,-1436.682861,8504.025391,6.943,0, ''),
- (18209,12,-1429.496338,8508.789063,7.492,0, ''),
- (18209,13,-1426.472168,8510.116211,7.686,0, ''),
- (18209,14,-1403.685303,8524.146484,9.680,0, ''),
- (18209,15,-1384.890503,8542.014648,11.180,0, ''),
- (18209,16,-1388.047241,8554.712891,11.638,7500, 'SAY_KUR_COMPLETE'),
- (18209,17,-1392.759033,8571.518555,12.820,0, ''),
- (18209,18,-1411.280029,8595.495117,14.896,0, ''),
- (18209,19,-1436.143677,8629.674805,17.162,0, '');
-
-DELETE FROM spell_script_target WHERE entry = '33655';
-INSERT INTO spell_script_target VALUES (33655, 1, 19291),(33655, 1, 19292);
-
-
-UPDATE creature_template SET KillCredit1 = '21161' WHERE entry = '18952';
-UPDATE creature_template SET KillCredit1 = '21161' WHERE entry = '16876';
-UPDATE creature_template SET KillCredit1 = '21161' WHERE entry = '19701';
-UPDATE creature_template SET KillCredit1 = '21161' WHERE entry = '16925';
-
-UPDATE `creature_template` SET `ScriptName` = 'npc_anchorite_relic_bunny' WHERE `entry` = '22444';
-UPDATE `creature_template` SET `ScriptName` = 'npc_hand_berserker' WHERE `entry` = '16878';
-UPDATE `creature_template` SET `unit_flags` = '0' WHERE `entry` = '22444';
-UPDATE `gameobject_template` SET `size` = '3' WHERE `entry` = '185298';
-INSERT INTO `spell_script_target` VALUES (39184,1,16878);
-UPDATE `item_template` SET `spellcooldown_1` = '60000' WHERE `entry` = '31772';
-INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
-(-1900130,'Vengeance will not be yours. Livine!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_SP');
-
-INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
- (-1900100,'It\'s time. The rite of exorcism will now commence...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_BARADA1'),
- (-1900101,'Prepare yourself.Do not allow the ritual to be interrupted or we may lose our patient...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_BARADA2'),
- (-1900104,'In the name of the Light! It is Light that commands you! It is Light that flung you to be depths of darkness!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_BARADA3'),
- (-1900105,'You cannot deceive me, demon! Your strenght wanes just as my faith bolsters!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_BARADA4'),
- (-1900106,'I... must not...falter!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_BARADA5'),
- (-1900107,'The power of Light compels you! Back to your pit!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_BARADA6'),
- (-1900108,'In the name of Light! It is Light that commands you! It is Light that flung you to the depths of darkness!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_BARADA7'),
- (-1900109,'Back! I cast you back... corrupter of faith! Author of pain! Do not return, or suffer the same fate as you did here today!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_BARADA8'),
- (-1900110,'Keep away.The fool is mine.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_COLONEL1'),
- (-1900111,'You will not succeed mortal! This shell will lie decrepit, blistered and bleeding before I am donewith It. And its spirit will be long cast into darkness.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_COLONEL2'),
- (-1900112,'All is lost, Anchorite! Abandon what hope remains.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_COLONEL3'),
- (-1900113,'This is fruitless, draenel! You and your little helper cannot wrest control of this pathetic human. He is mine!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_COLONEL4'),
- (-1900114,'I see your ancestors, Anchorite! They writhe and scream in the darkness... they are with us!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_COLONEL5'),
- (-1900115,'All is lost, Anchorite! Abandon what hope remains.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_COLONEL6'),
- (-1900116,'I will tear your soul into morsels and slow roast them over demon fire!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_COLONEL7'),
- (-1900117,'I see your ancestors, Anchorite! They writhe and scream in the darkness... they are with us!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_COLONEL8');
-
-UPDATE `creature_template` SET `unit_flags` = '0' WHERE entry = '22507';
-UPDATE `creature_template` SET `minhealth` = '916' WHERE entry = '22507';
-UPDATE `creature_template` SET `maxhealth` = '916' WHERE entry = '22507';
-UPDATE `creature_template` SET `mindmg` = '176' WHERE entry = '22506';
-UPDATE `creature_template` SET `maxdmg` = '176' WHERE entry = '22506';
-UPDATE `creature_template` SET `attackpower` = '1235' WHERE entry = '22506';
-UPDATE `creature_template` SET `faction_A` = '14' WHERE entry = '22506';
-UPDATE `creature_template` SET `faction_H` = '14' WHERE entry = '22506';
-UPDATE `creature_template` SET `flags_extra` = '128' WHERE entry = '22505';
-UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE entry = '22505';
-UPDATE `creature` SET `modelid` = '14533' WHERE guid = '78786';
-UPDATE `quest_template` SET `ReqSpellCast1` = '0' WHERE entry = '10935';
-UPDATE `quest_template` SET `ReqCreatureOrGOID1` = '0' WHERE entry = '10935';
-UPDATE `quest_template` SET `ReqCreatureOrGOCount1` = '0' WHERE entry = '10935';
-UPDATE `quest_template` SET `QuestFlags` = '128' WHERE entry = '10935';
-UPDATE `quest_template` SET `SpecialFlags` = '2' WHERE entry = '10935';
-UPDATE `quest_template` SET `ObjectiveText1` = '' WHERE entry = '10935';
-UPDATE `quest_template` SET `EndText` = 'Colonel Jules Saved' WHERE entry = '10935';
-UPDATE `creature_template` SET `ScriptName` = 'npc_anchorite_barada' WHERE entry = '22431';
-UPDATE `creature_template` SET `ScriptName` = 'npc_darkness_released' WHERE entry = '22507';
-UPDATE `creature_template` SET `ScriptName` = 'npc_foul_purge' WHERE entry = '22506';
-
-INSERT INTO creature_ai_scripts VALUES ('2250501', '22505', '1', '0', '100', '0', '1000', '1000', '0', '0', '11', '39300', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Slimer Bunny - Cast Aura on Spawn');
-INSERT INTO creature_ai_scripts VALUES ('2250502', '22505', '1', '0', '100', '0', '1000', '1000', '0', '0', '12', '22506', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Slimer Bunny - Summon Foul Purge on Spawn');
-
-INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
- (-1900125,'Do not return, draenei scum. Next time we won\'t spare your life, unarmed or not!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_MAG_ESSCORT'),
- (-1900126,'I\'ve failed... peace is impossible.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_SEDAI1'),
- (-1900127,'The cycle of bloodshed is unending. Is there nothing I can do?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_SEDAI2'),
- (-1900128,'You can die!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KRUN');
-
-INSERT INTO `creature_template_addon` VALUES ('16852', '0', '0', '0', '7', '0', '0', '0', '0', null);
-
-UPDATE `item_template` SET `spellcharges_1` = '1' WHERE entry = '23645';
-UPDATE `quest_template` SET `SpecialFlags` = '0' WHERE entry = '9545';
-UPDATE `creature_template` SET `equipment_id` = '1411' WHERE entry = '17417';
-UPDATE `creature_template` SET `flags_extra` = '128' WHERE entry = '17413';
-UPDATE `creature_template_addon` SET `bytes1` = '7' WHERE entry = '17062';
-UPDATE `creature_template` SET `dynamicflags` = '32' WHERE entry = '16852';
-UPDATE `creature_template` SET `dynamicflags` = '32' WHERE entry = '17062';
-UPDATE `creature_template` SET `ScriptName` = 'npc_sedai_quest_credit_marker' WHERE entry = '17413';
-UPDATE `creature_template` SET `ScriptName` = 'npc_vindicator_sedai' WHERE entry = '17404';
-
-UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '19312';
-UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '16870';
-UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '19414';
-UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '19411';
-UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '19415';
-UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '19295';
-UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '19413';
-UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '16878';
-UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '16867';
-UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '19410';
-
-UPDATE `creature_template` SET `npcflag` = '1' WHERE entry = '22258';
-UPDATE `creature_template` SET `minhealth` = '9958' WHERE entry = '22258';
-UPDATE `creature_template` SET `maxhealth` = '9958' WHERE entry = '22258';
-UPDATE `creature_template` SET `minhealth` = '2987' WHERE entry = '22259';
-UPDATE `creature_template` SET `maxhealth` = '3095' WHERE entry = '22259';
-UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE entry = '22273';
-UPDATE `creature_template` SET `flags_extra` = '128' WHERE entry = '22267';
-UPDATE `creature_template` SET `flags_extra` = '128' WHERE entry = '22260';
-UPDATE `creature_template` SET `ScriptName` = 'npc_demoniac_scryer' WHERE entry = '22258';
-UPDATE `creature_template` SET `ScriptName` = 'npc_magic_sucker_device_spawner' WHERE entry = '22260';
-
-INSERT INTO `spell_script_target` VALUES ('38691','1','22267');
-INSERT INTO `spell_script_target` VALUES ('38691','1','22260');
-INSERT INTO `creature_ai_scripts` VALUES ('2227301', '22273', '1', '0', '100', '0', '0', '0', '0', '0', '21', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Prevent Combat Movement on Spawn');
-INSERT INTO `creature_ai_scripts` VALUES ('2227302', '22273', '4', '0', '100', '0', '0', '0', '0', '0', '11', '14034', '1', '0', '23', '1', '0', '0', '0', '0', '0', '0', 'Fel Warden - Cast Fireball and Set Phase 1 on Aggro');
-INSERT INTO `creature_ai_scripts` VALUES ('2227303', '22273', '9', '13', '100', '1', '0', '40', '2400', '3800', '11', '14034', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Cast Fireball (Phase 1)');
-INSERT INTO `creature_ai_scripts` VALUES ('2227304', '22273', '3', '13', '100', '0', '15', '0', '0', '0', '21', '1', '0', '0', '23', '1', '0', '0', '0', '0', '0', '0', 'Fel Warden - Start Combat Movement and Set Phase 2 when Mana is at 15% (Phase 1)');
-INSERT INTO `creature_ai_scripts` VALUES ('2227305', '22273', '9', '13', '100', '1', '35', '80', '0', '0', '21', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Start Combat Movement at 35 Yards (Phase 1)');
-INSERT INTO `creature_ai_scripts` VALUES ('2227306', '22273', '9', '13', '100', '1', '5', '15', '0', '0', '21', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Prevent Combat Movement at 15 Yards (Phase 1)');
-INSERT INTO `creature_ai_scripts` VALUES ('2227307', '22273', '9', '13', '100', '1', '0', '5', '0', '0', '21', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Start Combat Movement Below 5 Yards');
-INSERT INTO `creature_ai_scripts` VALUES ('2227308', '22273', '3', '11', '100', '1', '100', '30', '100', '100', '23', '-1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Set Phase 1 when Mana is above 30% (Phase 2)');
-INSERT INTO `creature_ai_scripts` VALUES ('2227309', '22273', '0', '0', '100', '1', '6000', '9000', '12000', '16000', '11', '11831', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Cast Frost Nova');
-INSERT INTO `creature_ai_scripts` VALUES ('2227310', '22273', '2', '0', '100', '0', '15', '0', '0', '0', '22', '3', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Set Phase 3 at 15% HP');
-INSERT INTO `creature_ai_scripts` VALUES ('2227311', '22273', '2', '7', '100', '0', '15', '0', '0', '0', '21', '1', '0', '0', '25', '0', '0', '0', '1', '-47', '0', '0', 'Fel Warden - Start Combat Movement and Flee at 15% HP (Phase 3)');
-INSERT INTO `creature_ai_scripts` VALUES ('2227312', '22273', '7', '0', '100', '0', '0', '0', '0', '0', '22', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Set Phase to 0 on Evade');
-
-DELETE FROM `creature` WHERE `guid` = '84645';
-UPDATE `gameobject` SET `position_x` = '-18.8763' WHERE `guid` = '99909';
-UPDATE `gameobject` SET `position_y` = '3804.13' WHERE `guid` = '99909';
-UPDATE `gameobject` SET `position_z` = '93.5195' WHERE `guid` = '99909';
-UPDATE `gameobject` SET `orientation` = '2.62837' WHERE `guid` = '99909';
-UPDATE `gameobject` SET `rotation2` = '0.967255' WHERE `guid` = '99909';
+UPDATE `creature_template` SET `ScriptName` = 'npc_maghar_prisoner' WHERE `entry` = '18428';
+
+UPDATE `quest_template` SET `ReqSpellCast1` = '0' WHERE `entry` = '9948';
+
+UPDATE `gameobject_template` SET `ScriptName`='go_maghar_prison' WHERE `entry` IN (182487,182504,182484,182486,182488,182494,182491,182489,182493,182496,182495,182490,182503,182498,182500,182502,182501,182499,182497,182492);
+
+INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+ (-1900148,'Help! Help! They\'re going to eat me!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'MAG_PRISONER1'),
+ (-1900149,'My Children will be made orphans!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'MAG_PRISONER2'),
+ (-1900150,'The ogres have the keys! Kill the ogres and get me out of here!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'MAG_PRISONER3'),
+ (-1900151,'I\'m done for!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'MAG_PRISONER4'),
+ (-1900152,'Thank you, $r! Your service to the Mag\'har will not be forgotten.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'MAG_PRISONER5'),
+ (-1900153,'Many Thanks, hero!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'MAG_PRISONER6'),
+ (-1900154,'Spirits watch for you, $r.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'MAG_PRISONER7'),
+ (-1900155,'Death to the ogres!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'MAG_PRISONER8');
+
+UPDATE `quest_template` SET `ReqCreatureOrGOID1` = '18445' WHERE `entry` = '9923';
+UPDATE `gameobject_template` SET `data2` = '1966080' WHERE `entry` = '182349';
+UPDATE `gameobject_template` SET `ScriptName` = 'go_corkis_prison1' WHERE `entry` = '182349';
+UPDATE `creature_template` SET `ScriptName` = 'npc_corki1' WHERE `entry` = '18445';
+
+INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+ (-1900133,'Thanks $r ! I\'m sure my dad will reward you greatly! Bye!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KORKI1'),
+ (-1900134,'Hey, fatso! How do you go to the bathroom with all that fat?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KORKI2'),
+ (-1900135,'Stop getting caught Corki!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KORKI3'),
+ (-1900136,'I want my daddy!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KORKI4'),
+ (-1900137,'I\'m not Corki! I\'m not Corki!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KORKI5'),
+ (-1900138,'Man that Corki sure is an idiot!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KORKI6');
+
+DELETE FROM `script_waypoint` WHERE `entry`=18445;
+INSERT INTO `script_waypoint` VALUES
+ (18445,0,-2561.155,6284.777,15.138,0, ''),
+ (18445,1,-2544.227,6274.250,14.612,0, ''),
+ (18445,2,-2528.367,6277.982,17.335,0, ''),
+ (18445,3,-2477.215,6341.930,26.882,0, '');
+
+UPDATE `quest_template` SET `ReqCreatureOrGOID1` = '20812' WHERE `entry` = '9924';
+UPDATE `gameobject_template` SET `data2` = '1966080' WHERE `entry` = '182350';
+UPDATE `gameobject_template` SET `ScriptName` = 'go_corkis_prison2' WHERE `entry` = '182350';
+UPDATE `creature_template` SET `ScriptName` = 'npc_corki2' WHERE `entry` = '20812';
+
+INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+ (-1900139,'This is the last time I get caught! I promise! Bye!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KORKI7');
+
+DELETE FROM `script_waypoint` WHERE `entry`=20812;
+INSERT INTO `script_waypoint` VALUES
+ (20812,0,-972.953,8125.154,-94.303,0, ''),
+ (20812,1,-981.466,8120.831,-95.112,0, ''),
+ (20812,2,-1058.294,8102.698,-89.662,0, '');
+
+UPDATE `quest_template` SET `ReqCreatureOrGOID1` = '18369' WHERE `entry` = '9955';
+UPDATE `gameobject_template` SET `data2` = '1966080' WHERE `entry` = '182521';
+UPDATE `gameobject_template` SET `ScriptName` = 'go_corkis_prison3' WHERE `entry` = '182521';
+UPDATE `creature_template` SET `ScriptName` = 'npc_corki3' WHERE `entry` = '18369';
+
+DELETE FROM `script_waypoint` WHERE `entry`=18369;
+INSERT INTO `script_waypoint` VALUES
+ (18369,0,-915.809,8667.150,171.827,0, ''),
+ (18369,1,-868.656,8709.678,173.826,0, ''),
+ (18369,2,-817.007,8729.769,178.137,0, '');
+
+UPDATE `creature_template` SET `minhealth` = '4274' WHERE `entry` = '18209';
+UPDATE `creature_template` SET `maxhealth` = '4274' WHERE `entry` = '18209';
+UPDATE `creature_template` SET `ScriptName` = 'npc_kurenai_captive' WHERE `entry` = '18209';
+
+INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+(-1900132,'It is best that we split up now, in case they send more after us. Hopefully one of us will make it back to Arechron. Farewell stranger.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KUR_COMPLETE');
+
+DELETE FROM `script_waypoint` WHERE `entry`=18209;
+INSERT INTO `script_waypoint` VALUES
+ (18209,0,-1515.121216,8463.864258,-4.101,0, ''),
+ (18209,1,-1526.754150,8461.015625,-4.102,0, ''),
+ (18209,2,-1530.113770,8456.399414,-4.102,0, ''),
+ (18209,3,-1510.905396,8436.612305,-3.360,0, ''),
+ (18209,4,-1502.916504,8435.619141,-1.120,0, ''),
+ (18209,5,-1495.801270,8440.210938,0.396,0, ''),
+ (18209,6,-1478.269409,8471.061523,0.737,0, ''),
+ (18209,7,-1464.239014,8489.628906,3.606,2000, 'SAY_KUR_MORE'),
+ (18209,8,-1456.312500,8493.965820,4.641,0, ''),
+ (18209,9,-1446.376465,8497.753906,5.918,0, ''),
+ (18209,10,-1442.828735,8499.535156,6.312,0, ''),
+ (18209,11,-1436.682861,8504.025391,6.943,0, ''),
+ (18209,12,-1429.496338,8508.789063,7.492,0, ''),
+ (18209,13,-1426.472168,8510.116211,7.686,0, ''),
+ (18209,14,-1403.685303,8524.146484,9.680,0, ''),
+ (18209,15,-1384.890503,8542.014648,11.180,0, ''),
+ (18209,16,-1388.047241,8554.712891,11.638,7500, 'SAY_KUR_COMPLETE'),
+ (18209,17,-1392.759033,8571.518555,12.820,0, ''),
+ (18209,18,-1411.280029,8595.495117,14.896,0, ''),
+ (18209,19,-1436.143677,8629.674805,17.162,0, '');
+
+DELETE FROM spell_script_target WHERE entry = '33655';
+INSERT INTO spell_script_target VALUES (33655, 1, 19291),(33655, 1, 19292);
+
+
+UPDATE creature_template SET KillCredit1 = '21161' WHERE entry = '18952';
+UPDATE creature_template SET KillCredit1 = '21161' WHERE entry = '16876';
+UPDATE creature_template SET KillCredit1 = '21161' WHERE entry = '19701';
+UPDATE creature_template SET KillCredit1 = '21161' WHERE entry = '16925';
+
+UPDATE `creature_template` SET `ScriptName` = 'npc_anchorite_relic_bunny' WHERE `entry` = '22444';
+UPDATE `creature_template` SET `ScriptName` = 'npc_hand_berserker' WHERE `entry` = '16878';
+UPDATE `creature_template` SET `unit_flags` = '0' WHERE `entry` = '22444';
+UPDATE `gameobject_template` SET `size` = '3' WHERE `entry` = '185298';
+INSERT INTO `spell_script_target` VALUES (39184,1,16878);
+UPDATE `item_template` SET `spellcooldown_1` = '60000' WHERE `entry` = '31772';
+INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+(-1900130,'Vengeance will not be yours. Livine!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_SP');
+
+INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+ (-1900100,'It\'s time. The rite of exorcism will now commence...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_BARADA1'),
+ (-1900101,'Prepare yourself.Do not allow the ritual to be interrupted or we may lose our patient...',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_BARADA2'),
+ (-1900104,'In the name of the Light! It is Light that commands you! It is Light that flung you to be depths of darkness!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_BARADA3'),
+ (-1900105,'You cannot deceive me, demon! Your strenght wanes just as my faith bolsters!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_BARADA4'),
+ (-1900106,'I... must not...falter!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_BARADA5'),
+ (-1900107,'The power of Light compels you! Back to your pit!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_BARADA6'),
+ (-1900108,'In the name of Light! It is Light that commands you! It is Light that flung you to the depths of darkness!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_BARADA7'),
+ (-1900109,'Back! I cast you back... corrupter of faith! Author of pain! Do not return, or suffer the same fate as you did here today!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_BARADA8'),
+ (-1900110,'Keep away.The fool is mine.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_COLONEL1'),
+ (-1900111,'You will not succeed mortal! This shell will lie decrepit, blistered and bleeding before I am donewith It. And its spirit will be long cast into darkness.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_COLONEL2'),
+ (-1900112,'All is lost, Anchorite! Abandon what hope remains.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_COLONEL3'),
+ (-1900113,'This is fruitless, draenel! You and your little helper cannot wrest control of this pathetic human. He is mine!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_COLONEL4'),
+ (-1900114,'I see your ancestors, Anchorite! They writhe and scream in the darkness... they are with us!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_COLONEL5'),
+ (-1900115,'All is lost, Anchorite! Abandon what hope remains.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_COLONEL6'),
+ (-1900116,'I will tear your soul into morsels and slow roast them over demon fire!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_COLONEL7'),
+ (-1900117,'I see your ancestors, Anchorite! They writhe and scream in the darkness... they are with us!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_COLONEL8');
+
+UPDATE `creature_template` SET `unit_flags` = '0' WHERE entry = '22507';
+UPDATE `creature_template` SET `minhealth` = '916' WHERE entry = '22507';
+UPDATE `creature_template` SET `maxhealth` = '916' WHERE entry = '22507';
+UPDATE `creature_template` SET `mindmg` = '176' WHERE entry = '22506';
+UPDATE `creature_template` SET `maxdmg` = '176' WHERE entry = '22506';
+UPDATE `creature_template` SET `attackpower` = '1235' WHERE entry = '22506';
+UPDATE `creature_template` SET `faction_A` = '14' WHERE entry = '22506';
+UPDATE `creature_template` SET `faction_H` = '14' WHERE entry = '22506';
+UPDATE `creature_template` SET `flags_extra` = '128' WHERE entry = '22505';
+UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE entry = '22505';
+UPDATE `creature` SET `modelid` = '14533' WHERE guid = '78786';
+UPDATE `quest_template` SET `ReqSpellCast1` = '0' WHERE entry = '10935';
+UPDATE `quest_template` SET `ReqCreatureOrGOID1` = '0' WHERE entry = '10935';
+UPDATE `quest_template` SET `ReqCreatureOrGOCount1` = '0' WHERE entry = '10935';
+UPDATE `quest_template` SET `QuestFlags` = '128' WHERE entry = '10935';
+UPDATE `quest_template` SET `SpecialFlags` = '2' WHERE entry = '10935';
+UPDATE `quest_template` SET `ObjectiveText1` = '' WHERE entry = '10935';
+UPDATE `quest_template` SET `EndText` = 'Colonel Jules Saved' WHERE entry = '10935';
+UPDATE `creature_template` SET `ScriptName` = 'npc_anchorite_barada' WHERE entry = '22431';
+UPDATE `creature_template` SET `ScriptName` = 'npc_darkness_released' WHERE entry = '22507';
+UPDATE `creature_template` SET `ScriptName` = 'npc_foul_purge' WHERE entry = '22506';
+
+INSERT INTO creature_ai_scripts VALUES ('2250501', '22505', '1', '0', '100', '0', '1000', '1000', '0', '0', '11', '39300', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Slimer Bunny - Cast Aura on Spawn');
+INSERT INTO creature_ai_scripts VALUES ('2250502', '22505', '1', '0', '100', '0', '1000', '1000', '0', '0', '12', '22506', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Slimer Bunny - Summon Foul Purge on Spawn');
+
+INSERT INTO `script_texts` (`entry`,`content_default`,`content_loc1`,`content_loc2`,`content_loc3`,`content_loc4`,`content_loc5`,`content_loc6`,`content_loc7`,`content_loc8`,`sound`,`type`,`language`,`emote`,`comment`) VALUES
+ (-1900125,'Do not return, draenei scum. Next time we won\'t spare your life, unarmed or not!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_MAG_ESSCORT'),
+ (-1900126,'I\'ve failed... peace is impossible.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_SEDAI1'),
+ (-1900127,'The cycle of bloodshed is unending. Is there nothing I can do?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_SEDAI2'),
+ (-1900128,'You can die!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,'SAY_KRUN');
+
+INSERT INTO `creature_template_addon` VALUES ('16852', '0', '0', '0', '7', '0', '0', '0', '0', null);
+
+UPDATE `item_template` SET `spellcharges_1` = '1' WHERE entry = '23645';
+UPDATE `quest_template` SET `SpecialFlags` = '0' WHERE entry = '9545';
+UPDATE `creature_template` SET `equipment_id` = '1411' WHERE entry = '17417';
+UPDATE `creature_template` SET `flags_extra` = '128' WHERE entry = '17413';
+UPDATE `creature_template_addon` SET `bytes1` = '7' WHERE entry = '17062';
+UPDATE `creature_template` SET `dynamicflags` = '32' WHERE entry = '16852';
+UPDATE `creature_template` SET `dynamicflags` = '32' WHERE entry = '17062';
+UPDATE `creature_template` SET `ScriptName` = 'npc_sedai_quest_credit_marker' WHERE entry = '17413';
+UPDATE `creature_template` SET `ScriptName` = 'npc_vindicator_sedai' WHERE entry = '17404';
+
+UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '19312';
+UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '16870';
+UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '19414';
+UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '19411';
+UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '19415';
+UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '19295';
+UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '19413';
+UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '16878';
+UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '16867';
+UPDATE creature_template SET KillCredit1 = '22334' WHERE entry = '19410';
+
+UPDATE `creature_template` SET `npcflag` = '1' WHERE entry = '22258';
+UPDATE `creature_template` SET `minhealth` = '9958' WHERE entry = '22258';
+UPDATE `creature_template` SET `maxhealth` = '9958' WHERE entry = '22258';
+UPDATE `creature_template` SET `minhealth` = '2987' WHERE entry = '22259';
+UPDATE `creature_template` SET `maxhealth` = '3095' WHERE entry = '22259';
+UPDATE `creature_template` SET `AIName` = 'EventAI' WHERE entry = '22273';
+UPDATE `creature_template` SET `flags_extra` = '128' WHERE entry = '22267';
+UPDATE `creature_template` SET `flags_extra` = '128' WHERE entry = '22260';
+UPDATE `creature_template` SET `ScriptName` = 'npc_demoniac_scryer' WHERE entry = '22258';
+UPDATE `creature_template` SET `ScriptName` = 'npc_magic_sucker_device_spawner' WHERE entry = '22260';
+
+INSERT INTO `spell_script_target` VALUES ('38691','1','22267');
+INSERT INTO `spell_script_target` VALUES ('38691','1','22260');
+INSERT INTO `creature_ai_scripts` VALUES ('2227301', '22273', '1', '0', '100', '0', '0', '0', '0', '0', '21', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Prevent Combat Movement on Spawn');
+INSERT INTO `creature_ai_scripts` VALUES ('2227302', '22273', '4', '0', '100', '0', '0', '0', '0', '0', '11', '14034', '1', '0', '23', '1', '0', '0', '0', '0', '0', '0', 'Fel Warden - Cast Fireball and Set Phase 1 on Aggro');
+INSERT INTO `creature_ai_scripts` VALUES ('2227303', '22273', '9', '13', '100', '1', '0', '40', '2400', '3800', '11', '14034', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Cast Fireball (Phase 1)');
+INSERT INTO `creature_ai_scripts` VALUES ('2227304', '22273', '3', '13', '100', '0', '15', '0', '0', '0', '21', '1', '0', '0', '23', '1', '0', '0', '0', '0', '0', '0', 'Fel Warden - Start Combat Movement and Set Phase 2 when Mana is at 15% (Phase 1)');
+INSERT INTO `creature_ai_scripts` VALUES ('2227305', '22273', '9', '13', '100', '1', '35', '80', '0', '0', '21', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Start Combat Movement at 35 Yards (Phase 1)');
+INSERT INTO `creature_ai_scripts` VALUES ('2227306', '22273', '9', '13', '100', '1', '5', '15', '0', '0', '21', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Prevent Combat Movement at 15 Yards (Phase 1)');
+INSERT INTO `creature_ai_scripts` VALUES ('2227307', '22273', '9', '13', '100', '1', '0', '5', '0', '0', '21', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Start Combat Movement Below 5 Yards');
+INSERT INTO `creature_ai_scripts` VALUES ('2227308', '22273', '3', '11', '100', '1', '100', '30', '100', '100', '23', '-1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Set Phase 1 when Mana is above 30% (Phase 2)');
+INSERT INTO `creature_ai_scripts` VALUES ('2227309', '22273', '0', '0', '100', '1', '6000', '9000', '12000', '16000', '11', '11831', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Cast Frost Nova');
+INSERT INTO `creature_ai_scripts` VALUES ('2227310', '22273', '2', '0', '100', '0', '15', '0', '0', '0', '22', '3', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Set Phase 3 at 15% HP');
+INSERT INTO `creature_ai_scripts` VALUES ('2227311', '22273', '2', '7', '100', '0', '15', '0', '0', '0', '21', '1', '0', '0', '25', '0', '0', '0', '1', '-47', '0', '0', 'Fel Warden - Start Combat Movement and Flee at 15% HP (Phase 3)');
+INSERT INTO `creature_ai_scripts` VALUES ('2227312', '22273', '7', '0', '100', '0', '0', '0', '0', '0', '22', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Fel Warden - Set Phase to 0 on Evade');
+
+DELETE FROM `creature` WHERE `guid` = '84645';
+UPDATE `gameobject` SET `position_x` = '-18.8763' WHERE `guid` = '99909';