From b0299529f483171de4a23071c3dcfd708d92681f Mon Sep 17 00:00:00 2001 From: freghar Date: Wed, 22 Oct 2008 11:52:03 +0200 Subject: [PATCH] Removed trailing whitespaces and CRLFs With /contrib/ and /dep/ excluded. Signed-off-by: freghar --- ChangeLog | 16 +- configure.ac | 12 +- doc/DocStructure.dox | 10 +- doc/Doxyfile.in | 1054 ++++++------- doc/Makefile.am | 2 +- sql/mangos.sql | 6 +- sql/updates/0.10/4846_characters.sql | 2 +- sql/updates/0.10/4846_mangos_creature_template.sql | 2 +- sql/updates/0.10/4895_mangos_command.sql | 2 +- .../0.10/4898_mangos_playercreateinfo_item.sql | 2 +- sql/updates/0.10/4916_mangos_spell_affect.sql | 22 +- sql/updates/0.10/4937_mangos_spell_affect.sql | 14 +- sql/updates/0.10/4948_mangos_spell_affect.sql | 8 +- sql/updates/0.10/4951_mangos_spell_affect.sql | 6 +- .../0.10/4971_characters_character_social.sql | 4 +- sql/updates/0.10/4975_mangos_spell_affect.sql | 2 +- sql/updates/0.10/5036_mangos_spell_affect.sql | 4 +- sql/updates/0.10/5084_mangos_command.sql | 2 +- sql/updates/0.10/5092_mangos_item_template.sql | 2 +- sql/updates/0.10/5108_characters.sql | 116 +- sql/updates/0.10/5119_mangos_quest_template.sql | 4 +- sql/updates/0.10/5121_mangos_spell_affect.sql | 2 +- sql/updates/0.10/5123_mangos_spell_proc_event.sql | 2 +- sql/updates/0.10/5147_mangos_spell_learn_spell.sql | 6 +- .../0.10/5159_characters_guild_bank_eventlog.sql | 2 +- .../0.10/5159_characters_guild_bank_item.sql | 2 +- .../0.10/5159_characters_guild_bank_right.sql | 2 +- .../0.10/5159_characters_guild_bank_tab.sql | 2 +- sql/updates/0.10/5159_characters_guild_memeber.sql | 2 +- sql/updates/0.10/5160_mangos_command.sql | 8 +- sql/updates/0.10/5164_mangos_creature_movement.sql | 10 +- sql/updates/0.10/5165_mangos_mangos_string.sql | 936 ++++++------ sql/updates/0.10/5191_mangos_spell_threat.sql | 4 +- sql/updates/0.10/5197_mangos_spell_affect.sql | 350 ++--- .../0.10/5199_characters_guild_bank_eventlog.sql | 2 +- sql/updates/0.10/5201_mangos_spell_affect.sql | 106 +- sql/updates/0.10/5212_mangos_command.sql | 2 +- sql/updates/0.10/5217_characters_character.sql | 2 +- .../0.10/5228_mangos_gameobject_scripts.sql | 26 +- sql/updates/0.10/5243_mangos_spell_affect.sql | 2 +- sql/updates/0.10/5249_mangos_spell_learn_skill.sql | 2 +- sql/updates/0.10/5254_mangos_spell_proc_event.sql | 2 +- sql/updates/0.10/5265_mangos_spell_proc_event.sql | 12 +- sql/updates/0.10/5269_mangos_uptime.sql | 2 +- .../0.10/5270_mangos_gameobject_scripts.sql | 2 +- sql/updates/0.10/5272_mangos_mangos_string.sql | 2 +- sql/updates/0.10/5295_mangos_creature_template.sql | 4 +- sql/updates/0.10/5297_characters.sql | 32 +- sql/updates/0.10/5297_mangos.sql | 24 +- sql/updates/0.10/5297_realmd_account.sql | 4 +- sql/updates/0.10/5350_mangos_spell_affect.sql | 2 +- sql/updates/0.10/5363_mangos_creature_template.sql | 4 +- sql/updates/0.10/5366_mangos_spell_proc_event.sql | 2 +- sql/updates/0.10/5367_mangos_spell_affect.sql | 2 +- sql/updates/0.10/5378_mangos_spell_proc_event.sql | 6 +- sql/updates/0.10/5402_mangos_spell_proc_event.sql | 16 +- sql/updates/0.10/5422_mangos_spell_proc_event.sql | 6 +- .../5441_characters_petition_petition_sign.sql | 4 +- sql/updates/0.10/5460_mangos_spell_proc_event.sql | 6 +- sql/updates/0.10/5492_mangos_player_levelstats.sql | 140 +- sql/updates/0.10/5498_mangos_spell_affect.sql | 16 +- sql/updates/0.10/5505_mangos.sql | 1602 ++++++++++---------- sql/updates/0.10/5505_mangos_npc_gossip.sql | 16 +- sql/updates/0.10/5541_mangos_command.sql | 2 +- .../0.10/5547_characters_character_ticket.sql | 2 +- sql/updates/0.10/5554_mangos_locales_creature.sql | 2 +- sql/updates/0.10/5586_mangos_spell_proc_event.sql | 2 +- sql/updates/0.10/5589_mangos_spell_proc_event.sql | 2 +- sql/updates/0.10/5628_mangos_creature_movement.sql | 4 +- sql/updates/0.10/5632_characters.sql | 44 +- sql/updates/0.10/5636_mangos_loot_template.sql | 94 +- sql/updates/0.10/5640_mangos_spell_proc_event.sql | 6 +- sql/updates/0.11/5659_mangos_loot_template.sql | 6 +- sql/updates/0.11/5680_mangos_spell_proc_event.sql | 2 +- sql/updates/0.11/5718_mangos_creature_template.sql | 2 +- sql/updates/0.11/5733_mangos_creature.sql | 6 +- sql/updates/0.11/5759_mangos_command.sql | 4 +- sql/updates/0.11/5764_mangos_command.sql | 2 +- sql/updates/0.11/5771_mangos_spell_learn_spell.sql | 4 +- sql/updates/0.11/5773_mangos_spell_learn_spell.sql | 2 +- sql/updates/0.11/5778_mangos_spell_affect.sql | 4 +- sql/updates/0.11/5790_mangos_player_levelstats.sql | 4 +- sql/updates/0.11/5799_mangos_spell_proc_event.sql | 2 +- sql/updates/0.11/5827_mangos_spell_affect.sql | 2 +- sql/updates/0.11/5842_mangos_spell_affect.sql | 2 +- sql/updates/0.11/5880_mangos_mangos_string.sql | 2 +- sql/updates/0.11/5965_mangos_mangos_string.sql | 2 +- sql/updates/0.11/6027_mangos_spell_affect.sql | 4 +- sql/updates/0.11/6038_mangos_creature_template.sql | 4 +- .../0.11/6047_characters_guild_bank_tab.sql | 4 +- sql/updates/0.11/6049_mangos_spell_proc_event.sql | 4 +- sql/updates/0.11/6052_mangos_loot_template.sql | 6 +- sql/updates/0.11/6058_mangos_spell_learn_spell.sql | 2 +- sql/updates/0.11/6255_mangos_spell_proc_event.sql | 4 +- .../0.11/6265_mangos_pet_name_generation.sql | 2 +- sql/updates/0.11/6313_mangos_spell_proc_event.sql | 2 +- sql/updates/0.11/6325_mangos_creature_template.sql | 2 +- sql/updates/0.11/6351_mangos_spell_proc_event.sql | 8 +- sql/updates/0.5/1262_areatrigger_tavern.sql | 2 +- sql/updates/0.5/1292_loot_template.sql | 4 +- sql/updates/0.5/1332_character_queststatus.sql | 2 +- sql/updates/0.5/1336_item_template.sql | 2 +- sql/updates/0.5/1339_areatrigger_city.sql | 12 +- .../0.5/1349_areatrigger_involvedrelation.sql | 2 +- sql/updates/0.5/1349_character_aura.sql | 4 +- sql/updates/0.5/1349_character_inventory.sql | 4 +- sql/updates/0.5/1349_creature_template.sql | 2 +- sql/updates/0.5/1349_gameobject_template.sql | 2 +- sql/updates/0.5/1356_item_template.sql | 22 +- sql/updates/0.5/1411_item_template.sql | 2 +- sql/updates/0.5/1447_quest_template.sql | 22 +- sql/updates/0.5/1475_character_aura.sql | 2 +- sql/updates/0.5/1511_object_involvedrelation.sql | 2 +- sql/updates/0.5/1511_object_questrelation.sql | 2 +- sql/updates/0.5/1526_npc_vendor.sql | 2 +- sql/updates/0.5/1562_creature_template.sql | 4 +- sql/updates/0.5/1595_area_graveyard.sql | 8 +- sql/updates/0.5/1799_quest_template.sql | 2 +- sql/updates/0.5/1915_loot_template.sql | 6 +- sql/updates/0.5/1953_playercreateinfo_skill.sql | 2 +- sql/updates/0.5/1953_playercreateinfo_spell.sql | 2 +- sql/updates/0.5/2017_quest_template.sql | 2 +- sql/updates/0.5/2054_command.sql | 2 +- sql/updates/0.5/2058_command.sql | 4 +- sql/updates/0.5/2066_creature_template.sql | 2 +- sql/updates/0.5/2069_quest_template.sql | 2 +- sql/updates/0.5/2099_npc_trainer.sql | 2 +- sql/updates/0.5/2130_quest_template.sql | 2 +- sql/updates/0.5/2156_character.sql | 2 +- sql/updates/0.5/2191_npc_trainer.sql | 2 +- sql/updates/0.5/2191_playercreateinfo.sql | 2 +- sql/updates/0.6/2297_character_stable.sql | 40 +- sql/updates/0.6/2302_player_levelupgains.sql | 14 +- sql/updates/0.6/2343_areatrigger_template.sql | 8 +- sql/updates/0.6/2352_quest_template.sql | 2 +- sql/updates/0.6/2357_playercreateinfo_action.sql | 10 +- sql/updates/0.6/2360_creature_template.sql | 6 +- sql/updates/0.6/2362_areatrigger_template.sql | 2 +- sql/updates/0.6/2369_creature_template.sql | 2 +- sql/updates/0.6/2370_character_queststatus.sql | 2 +- sql/updates/0.6/2372_creature_template.sql | 2 +- sql/updates/0.6/2418_quest_template.sql | 12 +- sql/updates/0.6/2421_quest_template.sql | 6 +- sql/updates/0.6/2467_quest_template.sql | 2 +- sql/updates/0.6/2469_skinning_loot_template.sql | 14 +- sql/updates/0.6/2479_loot_template.sql | 10 +- sql/updates/0.6/2513_guild_rank.sql | 4 +- sql/updates/0.6/2516_auctionhouse.sql | 2 +- sql/updates/0.6/2517_guild_charters.sql | 4 +- sql/updates/0.6/2518_guild.sql | 2 +- sql/updates/0.6/2571_quest_template.sql | 2 +- sql/updates/0.6/2580_character.sql | 2 +- sql/updates/0.6/2584_character.sql | 2 +- sql/updates/0.6/2597_playercreateinfo_action.sql | 2 +- sql/updates/0.6/2597_playercreateinfo_item.sql | 4 +- .../0.6/2597_playercreateinfo_reputation.sql | 4 +- sql/updates/0.6/2597_playercreateinfo_skill.sql | 4 +- sql/updates/0.6/2597_playercreateinfo_spell.sql | 4 +- sql/updates/0.6/2598_playercreateinfo.sql | 2 +- sql/updates/0.6/2642_loot_template.sql | 6 +- sql/updates/0.6/2660_command.sql | 2 +- sql/updates/0.6/2670_command.sql | 4 +- sql/updates/0.6/2674_quest_template.sql | 6 +- sql/updates/0.6/2684_gameobject.sql | 2 +- sql/updates/0.6/2688_player_levelstats.sql | 4 +- sql/updates/0.6/2688_playercreateinfo.sql | 2 +- sql/updates/0.6/2689_player_levelstats.sql | 4 +- sql/updates/0.6/2746_creature.sql | 2 +- sql/updates/0.6/2765_mail.sql | 2 +- sql/updates/0.6/2778_command.sql | 2 +- sql/updates/0.6/2787_item_instance.sql | 4 +- sql/updates/0.6/2812_character_pet.sql | 2 +- sql/updates/0.6/2812_pet_name_generation.sql | 2 +- sql/updates/0.6/2842_character_pet.sql | 4 +- sql/updates/0.6/2850_command.sql | 4 +- sql/updates/0.6/2869_command.sql | 2 +- sql/updates/0.6/2958_scripts.sql | 2 +- sql/updates/0.6/2958_spell_scripts.sql | 2 +- sql/updates/0.6/2982_command.sql | 2 +- sql/updates/0.6/3017_auctionhouse.sql | 2 +- sql/updates/0.6/3054_command.sql | 2 +- sql/updates/0.6/3090_creature_template.sql | 2 +- sql/updates/0.6/3107_playercreateinfo_skill.sql | 2 +- sql/updates/0.6/3110_quest_template.sql | 4 +- sql/updates/0.6/3115_quest_template.sql | 2 +- sql/updates/0.7/3138_character_inventory.sql | 2 +- sql/updates/0.7/3138_item_template.sql | 2 +- sql/updates/0.7/3141_spell_threat.sql | 2 +- sql/updates/0.7/3245_mail.sql | 2 +- sql/updates/0.7/3296_playercreateinfo_skill.sql | 2 +- sql/updates/0.7/3296_spell_learn_skill.sql | 2 +- sql/updates/0.7/3310_spell_learn_spell.sql | 2 +- sql/updates/0.7/3323.sql | 8 +- sql/updates/0.7/3344_playercreateinfo_spell.sql | 4 +- sql/updates/0.7/3348_playercreateinfo_spell.sql | 4 +- sql/updates/0.7/3351_character_pet.sql | 2 +- sql/updates/0.7/3397_creature_template.sql | 2 +- sql/updates/0.7/3424_command.sql | 4 +- sql/updates/0.7/3547_character_reputation.sql | 48 +- .../0.7/3553_creature_onkill_reputation.sql | 2 +- sql/updates/0.7/3605_creature_addon.sql | 2 +- sql/updates/0.7/3636_character_spell.sql | 2 +- sql/updates/0.7/3636_playercreateinfo_spell.sql | 2 +- sql/updates/0.7/3728_spell_proc_event.sql | 4 +- sql/updates/0.7/3732_spell_affect.sql | 2 +- sql/updates/0.7/3753_battleground_template.sql | 2 +- sql/updates/0.7/3763_spell_affect.sql | 2 +- sql/updates/0.7/3774_playercreateinfo_spell.sql | 4 +- sql/updates/0.7/3801_banAccount.sql | 4 +- sql/updates/0.7/3802_petitions.sql | 2 +- sql/updates/0.7/3805_spell_proc_event.sql | 2 +- sql/updates/0.7/3806_petitions.sql | 4 +- sql/updates/0.7/3845_account.sql | 2 +- sql/updates/0.7/3875_item_template.sql | 2 +- sql/updates/0.7/3891_quest_scripts.sql | 4 +- sql/updates/0.7/3932_item_template.sql | 2 +- sql/updates/0.7/4010_spell_proc_event.sql | 4 +- sql/updates/0.7/4012_spell_proc_event.sql | 2 +- sql/updates/0.7/4018_spell_proc_event.sql | 2 +- sql/updates/0.7/4019_spell_proc_event.sql | 4 +- sql/updates/0.7/4020_spell_proc_event.sql | 6 +- sql/updates/0.7/4021_spell_proc_event.sql | 2 +- sql/updates/0.7/4023_spell_proc_event.sql | 4 +- sql/updates/0.7/4026_spell_proc_event.sql | 4 +- sql/updates/0.7/4028_spell_chain.sql | 6 +- sql/updates/0.7/4028_spell_proc_event.sql | 32 +- sql/updates/0.7/4031_spell_chain.sql | 4 +- sql/updates/0.7/4031_spell_proc_event.sql | 22 +- sql/updates/0.7/4035_spell_proc_event.sql | 2 +- sql/updates/0.7/4037_spell_proc_event.sql | 2 +- sql/updates/0.8/4058.sql | 4 +- sql/updates/0.8/4076_character_spell.sql | 4 +- sql/updates/0.8/4076_playercreateinfo_spell.sql | 4 +- sql/updates/0.8/4081_command.sql | 2 +- sql/updates/0.8/4116_creature_template.sql | 2 +- sql/updates/0.8/4139_spell_proc_event.sql | 2 +- sql/updates/0.8/4154_spell_proc_event.sql | 2 +- sql/updates/0.8/4176_command.sql | 2 +- sql/updates/0.8/4187_command.sql | 2 +- sql/updates/0.8/4204_command.sql | 4 +- sql/updates/0.8/4224_character_aura.sql | 6 +- sql/updates/0.8/4224_pet_aura.sql | 6 +- sql/updates/0.8/4235_spell_proc_event.sql | 4 +- sql/updates/0.8/4239_spell_proc_event.sql | 2 +- sql/updates/0.8/4242_spell_proc_event.sql | 18 +- sql/updates/0.8/4243_spell_affect.sql | 2 +- sql/updates/0.8/4248_spell_proc_event.sql | 6 +- sql/updates/0.8/4258_command.sql | 2 +- sql/updates/0.8/4259_spell_proc_event.sql | 16 +- sql/updates/0.8/4262_spell_proc_event.sql | 6 +- sql/updates/0.8/4266_spell_proc_event.sql | 2 +- sql/updates/0.8/4267_command.sql | 2 +- sql/updates/0.8/4270_spell_proc_event.sql | 2 +- sql/updates/0.8/4272_spell_proc_event.sql | 12 +- sql/updates/0.8/4288_spell_proc_event.sql | 44 +- sql/updates/0.8/4294_spell_proc_event.sql | 12 +- sql/updates/0.8/4296_spell_proc_event.sql | 2 +- sql/updates/0.8/4317_spell_affect.sql | 2 +- sql/updates/0.8/4320_spell_affect.sql | 2 +- sql/updates/0.8/4331_spell_proc_event.sql | 4 +- sql/updates/0.8/4397_command.sql | 2 +- sql/updates/0.8/4407_command.sql | 4 +- sql/updates/0.8/4414_spell_proc_event.sql | 2 +- sql/updates/0.8/4420_spell_proc_event.sql | 4 +- sql/updates/0.8/4425_character.sql | 6 +- sql/updates/0.8/4425_command.sql | 2 +- sql/updates/0.8/4430_spell_proc_event.sql | 2 +- sql/updates/0.8/4432_item_template.sql | 2 +- sql/updates/0.8/4432_spell_proc_event.sql | 2 +- sql/updates/0.8/4434_spell_proc_event.sql | 2 +- sql/updates/0.8/4437_character_aura.sql | 6 +- sql/updates/0.8/4437_pet_aura.sql | 4 +- sql/updates/0.8/4439_spell_proc_event.sql | 2 +- sql/updates/0.8/4470_command.sql | 2 +- sql/updates/0.8/4480_spell_affect.sql | 2 +- sql/updates/0.8/4481_spell_affect.sql | 2 +- sql/updates/0.8/4482_playercreateinfo.sql | 2 +- sql/updates/0.8/4482_spell_proc_event.sql | 2 +- sql/updates/0.8/4491_spell_affect.sql | 4 +- sql/updates/0.8/4498_spell_proc_event.sql | 6 +- sql/updates/0.8/4499_spell_script_target.sql | 2 +- sql/updates/0.8/4501.sql | 4 +- sql/updates/0.8/4503_spell_proc_event.sql | 40 +- sql/updates/0.8/4504_spell_affect.sql | 10 +- sql/updates/0.8/4504_spell_proc_event.sql | 4 +- sql/updates/0.8/4506_spell_learn_spell.sql | 2 +- sql/updates/0.8/4507_quest_template.sql | 2 +- sql/updates/0.8/4510_spell_proc_event.sql | 6 +- sql/updates/0.8/4513_spell_proc_event.sql | 4 +- sql/updates/0.8/4517_spell_affect.sql | 2 +- sql/updates/0.8/4524_spell_proc_event.sql | 4 +- sql/updates/0.8/4537_player_levelstats.sql | 2 +- sql/updates/0.8/4544_creature_addon.sql | 2 +- sql/updates/0.8/4547_spell_affect.sql | 2 +- sql/updates/0.8/4547_spell_proc_event.sql | 2 +- sql/updates/0.8/4551_item_template.sql | 2 +- sql/updates/0.8/4556_realmlist.sql | 2 +- sql/updates/0.8/4561_command.sql | 2 +- sql/updates/0.8/4582_spell_affect.sql | 2 +- sql/updates/0.8/4584_character_inventory.sql | 2 +- sql/updates/0.8/4585_item_instance.sql | 2 +- sql/updates/0.8/4594_item_template.sql | 2 +- sql/updates/0.8/4595_command.sql | 2 +- sql/updates/0.8/4595_spell_affect.sql | 38 +- sql/updates/0.8/4599_command.sql | 2 +- sql/updates/0.8/4603_spell_affect.sql | 24 +- sql/updates/0.8/4605_creature_addon.sql | 2 +- sql/updates/0.8/4605_creature_template_addon.sql | 2 +- sql/updates/0.8/4608_game_graveyard_zone.sql | 2 +- sql/updates/0.9/4632_areatrigger_teleport.sql | 2 +- sql/updates/0.9/4633_spell_teleport.sql | 4 +- sql/updates/0.9/4640_command.sql | 2 +- sql/updates/0.9/4657_quest_template.sql | 6 +- sql/updates/0.9/4667_characters_character.sql | 4 +- .../0.9/4674_mangos_skill_discovery_template.sql | 4 +- sql/updates/0.9/4695_mangos_loot_template.sql | 32 +- sql/updates/0.9/4704_mangos_battlemaster_entry.sql | 2 +- sql/updates/0.9/4737_mangos_command.sql | 2 +- .../0.9/4781_mangos_gameobject_loot_template.sql | 2 +- sql/updates/0.9/4793_mangos_spell_affect.sql | 16 +- sql/updates/0.9/4829_mangos_command.sql | 2 +- sql/updates/06506_mangos_spell_proc_event.sql | 2 +- sql/updates/06588_mangos_spell_proc_event.sql | 2 +- sql/updates/06673_mangos_areatrigger_scripts.sql | 2 +- sql/updates/06693_mangos_spell_proc_event.sql | 2 +- sql/updates/06701_mangos_command.sql | 2 +- sql/updates/06760_mangos_creature_template.sql | 2 +- sql/updates/README | 8 +- src/bindings/universal/config.h | 2 +- src/game/Level3.cpp | 4 +- src/game/WorldSocketMgr.cpp | 2 +- src/mangosd/run-mangosd | 2 +- src/shared/Config/Config.cpp | 2 +- src/shared/Config/Config.h | 2 +- src/shared/Config/ConfigEnv.h | 2 +- src/tools/gensvnrevision/Makefile.am | 4 +- src/tools/gensvnrevision/gensvnrevision.cpp | 2 +- 337 files changed, 3027 insertions(+), 3027 deletions(-) rewrite sql/updates/0.5/1356_item_template.sql (90%) rewrite sql/updates/0.5/1447_quest_template.sql (90%) rewrite sql/updates/0.6/2297_character_stable.sql (91%) diff --git a/ChangeLog b/ChangeLog index 38ac3c19a..db287f281 100644 --- a/ChangeLog +++ b/ChangeLog @@ -192,7 +192,7 @@ MaNGOS 0.9 (Dec 14 2007) * Improved: existing chat and console commands for server gamemasters/administrators, and added new commands. ==== Statistics ==== - * Fixed Bugs: 161 + * Fixed Bugs: 161 * Total number of changes: 228 MaNGOS 0.8 (Oct 16, 2007) @@ -200,7 +200,7 @@ MaNGOS 0.8 (Oct 16, 2007) MaNGOS 0.8 - Codename "Innkeeper" - adds further improvements to the server core as well as to the majority of game classes and the game content database. - + Important License Change Notice: MaNGOS still is licensed under the terms of the GPL v2, but we now have added an exception to officially allow our users to link MaNGOS against the OpenSSL libraries. @@ -217,7 +217,7 @@ MaNGOS 0.8 (Oct 16, 2007) * Added: support for instance specific scripts and data, * Added: support for localization of names, texts, etc., * Added: support for multiple battleground instances, - * Added: support for scripted game object buttons, + * Added: support for scripted game object buttons, * Improved: battlegrounds should be mostly working, only a few issues left, * Improved: dungeon system has seen a few improvements, * Improved: formulas for most aspects of the game, @@ -272,7 +272,7 @@ MaNGOS 0.7 (Jul 9, 2007) * Improved: the mail system and implemented the delay for mails containing items. * Added: an initial version of the battleground system. One type of battleground is mostly done, still needs more work. * Added: the jewelry profession, prospecting and support for inserting gems in sockets including meta gems bonuses. - * Added: support for multi-mining veins. + * Added: support for multi-mining veins. * Added: support for auto-renaming of characters on login at the request of GMs. * Added: a new, more correct visibility system, invisibility is also implemented correctly now. * Improved: durability cost calculation. @@ -398,7 +398,7 @@ MaNGOS 0.1 (Dec 04, 2005) * Added: Weapon damage genrator now adds extra damage types for some items. * Add Tools,DBC Editer,you can use it to edit all .dbc File, * AI delivery - * Fix duel flag object position + * Fix duel flag object position * Fixed and sped up the players array code. * Fixed: Armor settings. * Fixed: Bug fixes for crash and other stuff. @@ -432,7 +432,7 @@ MaNGOS 0.1 (Dec 04, 2005) * Fix two player in the same zone cores. Fix mem leaks in 1.8 mask deletion. And fix core dump for npc handler due to GUI only takes lower part. * Function _ApplyItemMods() is protected... then i created a public function ApplyItemMods() that calls it... Object Oriented Project, guys! * Function SetStanding() has been created. Now needs to put it on places where the standing of the reputation is increased. - * Initial delivery of the AI framework.. + * Initial delivery of the AI framework.. * Major CPU usage improvements with grid system disabled. * msg of ignore list fixed * Now Faction.dbc is being loaded. @@ -495,7 +495,7 @@ MaNGOS 0.0.2 (Oct 31, 2005) MaNGOS 0.0.2 - Codename "Library" - adds another bunch of improvements, bug fixes and major enhancements to the overall functionality of the daemon. A complete list of all updated items follows below: - + ==== Game Features ==== * Added support for area exploration. * Added support for duels. @@ -560,4 +560,4 @@ MaNGOS 0.0.1 (Sept 13, 2005) ==== Statistics ==== * Fixed Bugs: #2, #3, #9, #10, #11 * Total number of changes: 53. - + diff --git a/configure.ac b/configure.ac index 48f3b8412..a8a601905 100644 --- a/configure.ac +++ b/configure.ac @@ -27,15 +27,15 @@ AM_MAINTAINER_MODE ## Prevent the configure script from continuing any further if # configuration is being performed in the top-level directory. -# The idea is to prevent this ,because some maintainers tend +# The idea is to prevent this ,because some maintainers tend # to break parallel build trees (a.k.a. VPATH builds). if test "$srcdir" = "." && test "$enable_maintainer_mode" != "yes"; then AC_MSG_ERROR( [ Please configure and build in a directory other than the top-level source directory. This is needed because a lot - of maintainers tend to break parallel build trees - (a.k.a. VPATH builds). This is kinda real ensurance they + of maintainers tend to break parallel build trees + (a.k.a. VPATH builds). This is kinda real ensurance they will not do it (by enforcing everybody to do VPATH builds). For example, try the following from the top-level source @@ -86,7 +86,7 @@ fi AM_CONDITIONAL(DOXYGEN_ENABLED, test x$enable_doxygen_support = xyes) ## Check for required libraries. -AC_CHECK_LIB( pthread, pthread_create, [], +AC_CHECK_LIB( pthread, pthread_create, [], [LDFLAGS="-pthread $LDFLAGS" AC_TRY_LINK([char pthread_create();], pthread_create();, @@ -105,7 +105,7 @@ AC_ARG_WITH(postgresql, *) AC_MSG_ERROR(Bad value ${withval} for --with-postgresql) ;; esac], [DO_POSTGRESQL=no]) - + AC_ARG_WITH(mysql, [ --with-mysql Use MySQL as a backend (default: yes)], [case "${withval}" in @@ -125,7 +125,7 @@ POSTGRE_LIBS="-L/usr/lib/postresql -lpq -lz -lpthread -lcrypt -lnsl -lm -lpthrea CXXFLAGS="-DDO_POSTGRESQL $CXXFLAGS" fi AC_MSG_RESULT($DO_POSTGRESQL) - + # here mysql AC_MSG_CHECKING(whether to build/link MYSQL) if test "x$DO_MYSQL" = "xyes"; then diff --git a/doc/DocStructure.dox b/doc/DocStructure.dox index 597b76d65..ecffa303d 100644 --- a/doc/DocStructure.dox +++ b/doc/DocStructure.dox @@ -10,22 +10,22 @@ * - On the wiki to get an overview of the different modules of the server * - In this source doumentation, starting at the module hierarchy */ - + /*! \defgroup realmd Realm Daemon */ - + /*! \defgroup mangos Mangos Deamon */ /*! \defgroup mangosd Daemon starter \ingroup mangos */ - + /*! \defgroup u2w User Connections \ingroup mangos - */ + */ /*! \defgroup world The World \ingroup mangos - */ + */ diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in index 989359375..599a79534 100644 --- a/doc/Doxyfile.in +++ b/doc/Doxyfile.in @@ -14,175 +14,175 @@ # Project related configuration options #--------------------------------------------------------------------------- -# This tag specifies the encoding used for all characters in the config file that -# follow. The default is UTF-8 which is also the encoding used for all text before -# the first occurrence of this tag. Doxygen uses libiconv (or the iconv built into -# libc) for the transcoding. See http://www.gnu.org/software/libiconv for the list of +# This tag specifies the encoding used for all characters in the config file that +# follow. The default is UTF-8 which is also the encoding used for all text before +# the first occurrence of this tag. Doxygen uses libiconv (or the iconv built into +# libc) for the transcoding. See http://www.gnu.org/software/libiconv for the list of # possible encodings. DOXYFILE_ENCODING = UTF-8 -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded +# The PROJECT_NAME tag is a single word (or a sequence of words surrounded # by quotes) that should identify the project. PROJECT_NAME = @PACKAGE@ -# The PROJECT_NUMBER tag can be used to enter a project or revision number. -# This could be handy for archiving the generated documentation or +# The PROJECT_NUMBER tag can be used to enter a project or revision number. +# This could be handy for archiving the generated documentation or # if some version control system is used. PROJECT_NUMBER = @VERSION@ -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) -# base path where the generated documentation will be put. -# If a relative path is entered, it will be relative to the location +# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) +# base path where the generated documentation will be put. +# If a relative path is entered, it will be relative to the location # where doxygen was started. If left blank the current directory will be used. OUTPUT_DIRECTORY = ./ -# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create -# 4096 sub-directories (in 2 levels) under the output directory of each output -# format and will distribute the generated files over these directories. -# Enabling this option can be useful when feeding doxygen a huge amount of -# source files, where putting all generated files in the same directory would +# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create +# 4096 sub-directories (in 2 levels) under the output directory of each output +# format and will distribute the generated files over these directories. +# Enabling this option can be useful when feeding doxygen a huge amount of +# source files, where putting all generated files in the same directory would # otherwise cause performance problems for the file system. CREATE_SUBDIRS = NO -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# The default language is English, other supported languages are: -# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, -# Croatian, Czech, Danish, Dutch, Finnish, French, German, Greek, Hungarian, -# Italian, Japanese, Japanese-en (Japanese with English messages), Korean, -# Korean-en, Lithuanian, Norwegian, Polish, Portuguese, Romanian, Russian, +# The OUTPUT_LANGUAGE tag is used to specify the language in which all +# documentation generated by doxygen is written. Doxygen will use this +# information to generate all constant output in the proper language. +# The default language is English, other supported languages are: +# Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, +# Croatian, Czech, Danish, Dutch, Finnish, French, German, Greek, Hungarian, +# Italian, Japanese, Japanese-en (Japanese with English messages), Korean, +# Korean-en, Lithuanian, Norwegian, Polish, Portuguese, Romanian, Russian, # Serbian, Slovak, Slovene, Spanish, Swedish, and Ukrainian. OUTPUT_LANGUAGE = English -# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will -# include brief member descriptions after the members that are listed in -# the file and class documentation (similar to JavaDoc). +# If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will +# include brief member descriptions after the members that are listed in +# the file and class documentation (similar to JavaDoc). # Set to NO to disable this. BRIEF_MEMBER_DESC = YES -# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend -# the brief description of a member or function before the detailed description. -# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the +# If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend +# the brief description of a member or function before the detailed description. +# Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the # brief descriptions will be completely suppressed. REPEAT_BRIEF = YES -# This tag implements a quasi-intelligent brief description abbreviator -# that is used to form the text in various listings. Each string -# in this list, if found as the leading text of the brief description, will be -# stripped from the text and the result after processing the whole list, is -# used as the annotated text. Otherwise, the brief description is used as-is. -# If left blank, the following values are used ("$name" is automatically -# replaced with the name of the entity): "The $name class" "The $name widget" -# "The $name file" "is" "provides" "specifies" "contains" +# This tag implements a quasi-intelligent brief description abbreviator +# that is used to form the text in various listings. Each string +# in this list, if found as the leading text of the brief description, will be +# stripped from the text and the result after processing the whole list, is +# used as the annotated text. Otherwise, the brief description is used as-is. +# If left blank, the following values are used ("$name" is automatically +# replaced with the name of the entity): "The $name class" "The $name widget" +# "The $name file" "is" "provides" "specifies" "contains" # "represents" "a" "an" "the" -ABBREVIATE_BRIEF = +ABBREVIATE_BRIEF = -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# Doxygen will generate a detailed section even if there is only a brief +# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then +# Doxygen will generate a detailed section even if there is only a brief # description. ALWAYS_DETAILED_SEC = NO -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all -# inherited members of a class in the documentation of that class as if those -# members were ordinary class members. Constructors, destructors and assignment +# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all +# inherited members of a class in the documentation of that class as if those +# members were ordinary class members. Constructors, destructors and assignment # operators of the base classes will not be shown. INLINE_INHERITED_MEMB = NO -# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full -# path before files name in the file list and in the header files. If set +# If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full +# path before files name in the file list and in the header files. If set # to NO the shortest path that makes the file name unique will be used. FULL_PATH_NAMES = NO -# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag -# can be used to strip a user-defined part of the path. Stripping is -# only done if one of the specified strings matches the left-hand part of -# the path. The tag can be used to show relative paths in the file list. -# If left blank the directory from which doxygen is run is used as the +# If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag +# can be used to strip a user-defined part of the path. Stripping is +# only done if one of the specified strings matches the left-hand part of +# the path. The tag can be used to show relative paths in the file list. +# If left blank the directory from which doxygen is run is used as the # path to strip. STRIP_FROM_PATH = @top_srcdir@/ -# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of -# the path mentioned in the documentation of a class, which tells -# the reader which header file to include in order to use a class. -# If left blank only the name of the header file containing the class -# definition is used. Otherwise one should specify the include paths that +# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of +# the path mentioned in the documentation of a class, which tells +# the reader which header file to include in order to use a class. +# If left blank only the name of the header file containing the class +# definition is used. Otherwise one should specify the include paths that # are normally passed to the compiler using the -I flag. -STRIP_FROM_INC_PATH = +STRIP_FROM_INC_PATH = -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter -# (but less readable) file names. This can be useful is your file systems +# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter +# (but less readable) file names. This can be useful is your file systems # doesn't support long names like on DOS, Mac, or CD-ROM. SHORT_NAMES = NO -# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen -# will interpret the first line (until the first dot) of a JavaDoc-style -# comment as the brief description. If set to NO, the JavaDoc -# comments will behave just like regular Qt-style comments +# If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen +# will interpret the first line (until the first dot) of a JavaDoc-style +# comment as the brief description. If set to NO, the JavaDoc +# comments will behave just like regular Qt-style comments # (thus requiring an explicit @brief command for a brief description.) JAVADOC_AUTOBRIEF = YES -# If the QT_AUTOBRIEF tag is set to YES then Doxygen will -# interpret the first line (until the first dot) of a Qt-style -# comment as the brief description. If set to NO, the comments -# will behave just like regular Qt-style comments (thus requiring +# If the QT_AUTOBRIEF tag is set to YES then Doxygen will +# interpret the first line (until the first dot) of a Qt-style +# comment as the brief description. If set to NO, the comments +# will behave just like regular Qt-style comments (thus requiring # an explicit \brief command for a brief description.) QT_AUTOBRIEF = NO -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen -# treat a multi-line C++ special comment block (i.e. a block of //! or /// -# comments) as a brief description. This used to be the default behaviour. -# The new default is to treat a multi-line C++ comment block as a detailed +# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen +# treat a multi-line C++ special comment block (i.e. a block of //! or /// +# comments) as a brief description. This used to be the default behaviour. +# The new default is to treat a multi-line C++ comment block as a detailed # description. Set this tag to YES if you prefer the old behaviour instead. MULTILINE_CPP_IS_BRIEF = NO -# If the DETAILS_AT_TOP tag is set to YES then Doxygen +# If the DETAILS_AT_TOP tag is set to YES then Doxygen # will output the detailed description near the top, like JavaDoc. -# If set to NO, the detailed description appears after the member +# If set to NO, the detailed description appears after the member # documentation. DETAILS_AT_TOP = NO -# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented -# member inherits the documentation from any documented member that it +# If the INHERIT_DOCS tag is set to YES (the default) then an undocumented +# member inherits the documentation from any documented member that it # re-implements. INHERIT_DOCS = YES -# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce -# a new page for each member. If set to NO, the documentation of a member will +# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce +# a new page for each member. If set to NO, the documentation of a member will # be part of the file/class/namespace that contains it. SEPARATE_MEMBER_PAGES = NO -# The TAB_SIZE tag can be used to set the number of spaces in a tab. +# The TAB_SIZE tag can be used to set the number of spaces in a tab. # Doxygen uses this value to replace tabs by spaces in code fragments. TAB_SIZE = 4 -# This tag can be used to specify a number of aliases that acts -# as commands in the documentation. An alias has the form "name=value". -# For example adding "sideeffect=\par Side Effects:\n" will allow you to -# put the command \sideeffect (or @sideeffect) in the documentation, which -# will result in a user-defined paragraph with heading "Side Effects:". +# This tag can be used to specify a number of aliases that acts +# as commands in the documentation. An alias has the form "name=value". +# For example adding "sideeffect=\par Side Effects:\n" will allow you to +# put the command \sideeffect (or @sideeffect) in the documentation, which +# will result in a user-defined paragraph with heading "Side Effects:". # You can put \n's in the value part of an alias to insert newlines. ALIASES = "memo=\par Note:\n " \ @@ -193,25 +193,25 @@ ALIASES = "memo=\par Note:\n " \ "system=\xrefitem system \"System\" \"System List\" \n Do not use unless you know what you are doing. " \ "internal=\xrefitem internal \"Internal\" \"Internal List\" Do not use. This API is for interal use only. " -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C -# sources only. Doxygen will then generate output that is more tailored for C. -# For instance, some of the names that are used will be different. The list +# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C +# sources only. Doxygen will then generate output that is more tailored for C. +# For instance, some of the names that are used will be different. The list # of all members will be omitted, etc. OPTIMIZE_OUTPUT_FOR_C = YES -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java -# sources only. Doxygen will then generate output that is more tailored for Java. -# For instance, namespaces will be presented as packages, qualified scopes +# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java +# sources only. Doxygen will then generate output that is more tailored for Java. +# For instance, namespaces will be presented as packages, qualified scopes # will look different, etc. OPTIMIZE_OUTPUT_JAVA = NO -# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want to -# include (a tag file for) the STL sources as input, then you should -# set this tag to YES in order to let doxygen match functions declarations and -# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. -# func(std::string) {}). This also make the inheritance and collaboration +# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want to +# include (a tag file for) the STL sources as input, then you should +# set this tag to YES in order to let doxygen match functions declarations and +# definitions whose arguments contain STL classes (e.g. func(std::string); v.s. +# func(std::string) {}). This also make the inheritance and collaboration # diagrams that involve STL classes more complete and accurate. BUILTIN_STL_SUPPORT = NO @@ -221,17 +221,17 @@ BUILTIN_STL_SUPPORT = NO CPP_CLI_SUPPORT = NO -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES, then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default +# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC +# tag is set to YES, then doxygen will reuse the documentation of the first +# member in the group (if any) for the other members of the group. By default # all members of a group must be documented explicitly. DISTRIBUTE_GROUP_DOC = NO -# Set the SUBGROUPING tag to YES (the default) to allow class member groups of -# the same type (for instance a group of public functions) to be put as a -# subgroup of that type (e.g. under the Public Functions section). Set it to -# NO to prevent subgrouping. Alternatively, this can be done per class using +# Set the SUBGROUPING tag to YES (the default) to allow class member groups of +# the same type (for instance a group of public functions) to be put as a +# subgroup of that type (e.g. under the Public Functions section). Set it to +# NO to prevent subgrouping. Alternatively, this can be done per class using # the \nosubgrouping command. SUBGROUPING = YES @@ -240,247 +240,247 @@ SUBGROUPING = YES # Build related configuration options #--------------------------------------------------------------------------- -# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in -# documentation are documented, even if no documentation was available. -# Private class members and static file members will be hidden unless +# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in +# documentation are documented, even if no documentation was available. +# Private class members and static file members will be hidden unless # the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES EXTRACT_ALL = NO -# If the EXTRACT_PRIVATE tag is set to YES all private members of a class +# If the EXTRACT_PRIVATE tag is set to YES all private members of a class # will be included in the documentation. EXTRACT_PRIVATE = NO -# If the EXTRACT_STATIC tag is set to YES all static members of a file +# If the EXTRACT_STATIC tag is set to YES all static members of a file # will be included in the documentation. EXTRACT_STATIC = NO -# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) -# defined locally in source files will be included in the documentation. +# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) +# defined locally in source files will be included in the documentation. # If set to NO only classes defined in header files are included. EXTRACT_LOCAL_CLASSES = YES -# This flag is only useful for Objective-C code. When set to YES local -# methods, which are defined in the implementation section but not in -# the interface are included in the documentation. +# This flag is only useful for Objective-C code. When set to YES local +# methods, which are defined in the implementation section but not in +# the interface are included in the documentation. # If set to NO (the default) only methods in the interface are included. EXTRACT_LOCAL_METHODS = YES -# If this flag is set to YES, the members of anonymous namespaces will be extracted -# and appear in the documentation as a namespace called 'anonymous_namespace{file}', -# where file will be replaced with the base name of the file that contains the anonymous +# If this flag is set to YES, the members of anonymous namespaces will be extracted +# and appear in the documentation as a namespace called 'anonymous_namespace{file}', +# where file will be replaced with the base name of the file that contains the anonymous # namespace. By default anonymous namespace are hidden. EXTRACT_ANON_NSPACES = NO -# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all -# undocumented members of documented classes, files or namespaces. -# If set to NO (the default) these members will be included in the -# various overviews, but no documentation section is generated. +# If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all +# undocumented members of documented classes, files or namespaces. +# If set to NO (the default) these members will be included in the +# various overviews, but no documentation section is generated. # This option has no effect if EXTRACT_ALL is enabled. HIDE_UNDOC_MEMBERS = NO -# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. -# If set to NO (the default) these classes will be included in the various +# If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all +# undocumented classes that are normally visible in the class hierarchy. +# If set to NO (the default) these classes will be included in the various # overviews. This option has no effect if EXTRACT_ALL is enabled. HIDE_UNDOC_CLASSES = NO -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all -# friend (class|struct|union) declarations. -# If set to NO (the default) these declarations will be included in the +# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all +# friend (class|struct|union) declarations. +# If set to NO (the default) these declarations will be included in the # documentation. HIDE_FRIEND_COMPOUNDS = NO -# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any -# documentation blocks found inside the body of a function. -# If set to NO (the default) these blocks will be appended to the +# If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any +# documentation blocks found inside the body of a function. +# If set to NO (the default) these blocks will be appended to the # function's detailed documentation block. HIDE_IN_BODY_DOCS = NO -# The INTERNAL_DOCS tag determines if documentation -# that is typed after a \internal command is included. If the tag is set -# to NO (the default) then the documentation will be excluded. +# The INTERNAL_DOCS tag determines if documentation +# that is typed after a \internal command is included. If the tag is set +# to NO (the default) then the documentation will be excluded. # Set it to YES to include the internal documentation. INTERNAL_DOCS = YES -# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate -# file names in lower-case letters. If set to YES upper-case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows +# If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate +# file names in lower-case letters. If set to YES upper-case letters are also +# allowed. This is useful if you have classes or files whose names only differ +# in case and if your file system supports case sensitive file names. Windows # and Mac users are advised to set this option to NO. CASE_SENSE_NAMES = YES -# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen -# will show members with their full class and namespace scopes in the +# If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen +# will show members with their full class and namespace scopes in the # documentation. If set to YES the scope will be hidden. HIDE_SCOPE_NAMES = NO -# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen -# will put a list of the files that are included by a file in the documentation +# If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen +# will put a list of the files that are included by a file in the documentation # of that file. SHOW_INCLUDE_FILES = YES -# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] +# If the INLINE_INFO tag is set to YES (the default) then a tag [inline] # is inserted in the documentation for inline members. INLINE_INFO = YES -# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen -# will sort the (detailed) documentation of file and class members -# alphabetically by member name. If set to NO the members will appear in +# If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen +# will sort the (detailed) documentation of file and class members +# alphabetically by member name. If set to NO the members will appear in # declaration order. SORT_MEMBER_DOCS = YES -# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the -# brief documentation of file, namespace and class members alphabetically -# by member name. If set to NO (the default) the members will appear in +# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the +# brief documentation of file, namespace and class members alphabetically +# by member name. If set to NO (the default) the members will appear in # declaration order. SORT_BRIEF_DOCS = NO -# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be -# sorted by fully-qualified names, including namespaces. If set to -# NO (the default), the class list will be sorted only by class name, -# not including the namespace part. +# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be +# sorted by fully-qualified names, including namespaces. If set to +# NO (the default), the class list will be sorted only by class name, +# not including the namespace part. # Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. -# Note: This option applies only to the class list, not to the +# Note: This option applies only to the class list, not to the # alphabetical list. SORT_BY_SCOPE_NAME = NO -# The GENERATE_TODOLIST tag can be used to enable (YES) or -# disable (NO) the todo list. This list is created by putting \todo +# The GENERATE_TODOLIST tag can be used to enable (YES) or +# disable (NO) the todo list. This list is created by putting \todo # commands in the documentation. GENERATE_TODOLIST = YES -# The GENERATE_TESTLIST tag can be used to enable (YES) or -# disable (NO) the test list. This list is created by putting \test +# The GENERATE_TESTLIST tag can be used to enable (YES) or +# disable (NO) the test list. This list is created by putting \test # commands in the documentation. GENERATE_TESTLIST = YES -# The GENERATE_BUGLIST tag can be used to enable (YES) or -# disable (NO) the bug list. This list is created by putting \bug +# The GENERATE_BUGLIST tag can be used to enable (YES) or +# disable (NO) the bug list. This list is created by putting \bug # commands in the documentation. GENERATE_BUGLIST = YES -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or -# disable (NO) the deprecated list. This list is created by putting +# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or +# disable (NO) the deprecated list. This list is created by putting # \deprecated commands in the documentation. GENERATE_DEPRECATEDLIST= YES -# The ENABLED_SECTIONS tag can be used to enable conditional +# The ENABLED_SECTIONS tag can be used to enable conditional # documentation sections, marked by \if sectionname ... \endif. -ENABLED_SECTIONS = +ENABLED_SECTIONS = -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines -# the initial value of a variable or define consists of for it to appear in -# the documentation. If the initializer consists of more lines than specified -# here it will be hidden. Use a value of 0 to hide initializers completely. -# The appearance of the initializer of individual variables and defines in the -# documentation can be controlled using \showinitializer or \hideinitializer +# The MAX_INITIALIZER_LINES tag determines the maximum number of lines +# the initial value of a variable or define consists of for it to appear in +# the documentation. If the initializer consists of more lines than specified +# here it will be hidden. Use a value of 0 to hide initializers completely. +# The appearance of the initializer of individual variables and defines in the +# documentation can be controlled using \showinitializer or \hideinitializer # command in the documentation regardless of this setting. MAX_INITIALIZER_LINES = 30 -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated -# at the bottom of the documentation of classes and structs. If set to YES the +# Set the SHOW_USED_FILES tag to NO to disable the list of files generated +# at the bottom of the documentation of classes and structs. If set to YES the # list will mention the files that were used to generate the documentation. SHOW_USED_FILES = YES -# If the sources in your project are distributed over multiple directories -# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy +# If the sources in your project are distributed over multiple directories +# then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy # in the documentation. The default is NO. SHOW_DIRECTORIES = NO -# The FILE_VERSION_FILTER tag can be used to specify a program or script that -# doxygen should invoke to get the current version for each file (typically from the -# version control system). Doxygen will invoke the program by executing (via -# popen()) the command , where is the value of -# the FILE_VERSION_FILTER tag, and is the name of an input file -# provided by doxygen. Whatever the program writes to standard output +# The FILE_VERSION_FILTER tag can be used to specify a program or script that +# doxygen should invoke to get the current version for each file (typically from the +# version control system). Doxygen will invoke the program by executing (via +# popen()) the command , where is the value of +# the FILE_VERSION_FILTER tag, and is the name of an input file +# provided by doxygen. Whatever the program writes to standard output # is used as the file version. See the manual for examples. -FILE_VERSION_FILTER = +FILE_VERSION_FILTER = #--------------------------------------------------------------------------- # configuration options related to warning and progress messages #--------------------------------------------------------------------------- -# The QUIET tag can be used to turn on/off the messages that are generated +# The QUIET tag can be used to turn on/off the messages that are generated # by doxygen. Possible values are YES and NO. If left blank NO is used. QUIET = NO -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated by doxygen. Possible values are YES and NO. If left blank +# The WARNINGS tag can be used to turn on/off the warning messages that are +# generated by doxygen. Possible values are YES and NO. If left blank # NO is used. WARNINGS = YES -# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings -# for undocumented members. If EXTRACT_ALL is set to YES then this flag will +# If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings +# for undocumented members. If EXTRACT_ALL is set to YES then this flag will # automatically be disabled. WARN_IF_UNDOCUMENTED = YES -# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some -# parameters in a documented function, or documenting parameters that +# If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for +# potential errors in the documentation, such as not documenting some +# parameters in a documented function, or documenting parameters that # don't exist or using markup commands wrongly. WARN_IF_DOC_ERROR = YES -# This WARN_NO_PARAMDOC option can be abled to get warnings for -# functions that are documented, but have no documentation for their parameters -# or return value. If set to NO (the default) doxygen will only warn about -# wrong or incomplete parameter documentation, but not about the absence of +# This WARN_NO_PARAMDOC option can be abled to get warnings for +# functions that are documented, but have no documentation for their parameters +# or return value. If set to NO (the default) doxygen will only warn about +# wrong or incomplete parameter documentation, but not about the absence of # documentation. WARN_NO_PARAMDOC = NO -# The WARN_FORMAT tag determines the format of the warning messages that -# doxygen can produce. The string should contain the $file, $line, and $text -# tags, which will be replaced by the file and line number from which the -# warning originated and the warning text. Optionally the format may contain -# $version, which will be replaced by the version of the file (if it could +# The WARN_FORMAT tag determines the format of the warning messages that +# doxygen can produce. The string should contain the $file, $line, and $text +# tags, which will be replaced by the file and line number from which the +# warning originated and the warning text. Optionally the format may contain +# $version, which will be replaced by the version of the file (if it could # be obtained via FILE_VERSION_FILTER) WARN_FORMAT = "$file:$line: $text " -# The WARN_LOGFILE tag can be used to specify a file to which warning -# and error messages should be written. If left blank the output is written +# The WARN_LOGFILE tag can be used to specify a file to which warning +# and error messages should be written. If left blank the output is written # to stderr. -WARN_LOGFILE = +WARN_LOGFILE = #--------------------------------------------------------------------------- # configuration options related to the input files #--------------------------------------------------------------------------- -# The INPUT tag can be used to specify the files and/or directories that contain -# documented source files. You may enter file names like "myfile.cpp" or -# directories like "/usr/src/myproject". Separate the files or directories +# The INPUT tag can be used to specify the files and/or directories that contain +# documented source files. You may enter file names like "myfile.cpp" or +# directories like "/usr/src/myproject". Separate the files or directories # with spaces. INPUT = @top_srcdir@/src/shared/ \ @@ -491,104 +491,104 @@ INPUT = @top_srcdir@/src/shared/ \ @top_srcdir@/src/mangosd/ \ DocStructure.dox -# This tag can be used to specify the character encoding of the source files that -# doxygen parses. Internally doxygen uses the UTF-8 encoding, which is also the default -# input encoding. Doxygen uses libiconv (or the iconv built into libc) for the transcoding. +# This tag can be used to specify the character encoding of the source files that +# doxygen parses. Internally doxygen uses the UTF-8 encoding, which is also the default +# input encoding. Doxygen uses libiconv (or the iconv built into libc) for the transcoding. # See http://www.gnu.org/software/libiconv for the list of possible encodings. INPUT_ENCODING = UTF-8 -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left -# blank the following patterns are tested: -# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx +# If the value of the INPUT tag contains directories, you can use the +# FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left +# blank the following patterns are tested: +# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx # *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py FILE_PATTERNS = *.cpp \ *.h \ *.hpp -# The RECURSIVE tag can be used to turn specify whether or not subdirectories -# should be searched for input files as well. Possible values are YES and NO. +# The RECURSIVE tag can be used to turn specify whether or not subdirectories +# should be searched for input files as well. Possible values are YES and NO. # If left blank NO is used. RECURSIVE = NO -# The EXCLUDE tag can be used to specify files and/or directories that should -# excluded from the INPUT source files. This way you can easily exclude a +# The EXCLUDE tag can be used to specify files and/or directories that should +# excluded from the INPUT source files. This way you can easily exclude a # subdirectory from a directory tree whose root is specified with the INPUT tag. -EXCLUDE = +EXCLUDE = -# The EXCLUDE_SYMLINKS tag can be used select whether or not files or -# directories that are symbolic links (a Unix filesystem feature) are excluded +# The EXCLUDE_SYMLINKS tag can be used select whether or not files or +# directories that are symbolic links (a Unix filesystem feature) are excluded # from the input. EXCLUDE_SYMLINKS = NO -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. Note that the wildcards are matched -# against the file with absolute path, so to exclude all test directories +# If the value of the INPUT tag contains directories, you can use the +# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude +# certain files from those directories. Note that the wildcards are matched +# against the file with absolute path, so to exclude all test directories # for example use the pattern */test/* EXCLUDE_PATTERNS = config*.h -# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names -# (namespaces, classes, functions, etc.) that should be excluded from the output. -# The symbol name can be a fully qualified name, a word, or if the wildcard * is used, +# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names +# (namespaces, classes, functions, etc.) that should be excluded from the output. +# The symbol name can be a fully qualified name, a word, or if the wildcard * is used, # a substring. Examples: ANamespace, AClass, AClass::ANamespace, ANamespace::*Test -EXCLUDE_SYMBOLS = +EXCLUDE_SYMBOLS = -# The EXAMPLE_PATH tag can be used to specify one or more files or -# directories that contain example code fragments that are included (see +# The EXAMPLE_PATH tag can be used to specify one or more files or +# directories that contain example code fragments that are included (see # the \include command). -EXAMPLE_PATH = +EXAMPLE_PATH = -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp -# and *.h) to filter out the source-files in the directories. If left +# If the value of the EXAMPLE_PATH tag contains directories, you can use the +# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp +# and *.h) to filter out the source-files in the directories. If left # blank all files are included. -EXAMPLE_PATTERNS = +EXAMPLE_PATTERNS = -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude -# commands irrespective of the value of the RECURSIVE tag. +# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be +# searched for input files to be used with the \include or \dontinclude +# commands irrespective of the value of the RECURSIVE tag. # Possible values are YES and NO. If left blank NO is used. EXAMPLE_RECURSIVE = NO -# The IMAGE_PATH tag can be used to specify one or more files or -# directories that contain image that are included in the documentation (see +# The IMAGE_PATH tag can be used to specify one or more files or +# directories that contain image that are included in the documentation (see # the \image command). -IMAGE_PATH = +IMAGE_PATH = -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command , where -# is the value of the INPUT_FILTER tag, and is the name of an -# input file. Doxygen will then use the output that the filter program writes -# to standard output. If FILTER_PATTERNS is specified, this tag will be +# The INPUT_FILTER tag can be used to specify a program that doxygen should +# invoke to filter for each input file. Doxygen will invoke the filter program +# by executing (via popen()) the command , where +# is the value of the INPUT_FILTER tag, and is the name of an +# input file. Doxygen will then use the output that the filter program writes +# to standard output. If FILTER_PATTERNS is specified, this tag will be # ignored. -INPUT_FILTER = +INPUT_FILTER = -# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern -# basis. Doxygen will compare the file name with each pattern and apply the -# filter if there is a match. The filters are a list of the form: -# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further -# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER +# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern +# basis. Doxygen will compare the file name with each pattern and apply the +# filter if there is a match. The filters are a list of the form: +# pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further +# info on how filters are used. If FILTER_PATTERNS is empty, INPUT_FILTER # is applied to all files. -FILTER_PATTERNS = +FILTER_PATTERNS = -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will be used to filter the input files when producing source +# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using +# INPUT_FILTER) will be used to filter the input files when producing source # files to browse (i.e. when SOURCE_BROWSER is set to YES). FILTER_SOURCE_FILES = NO @@ -597,34 +597,34 @@ FILTER_SOURCE_FILES = NO # configuration options related to source browsing #--------------------------------------------------------------------------- -# If the SOURCE_BROWSER tag is set to YES then a list of source files will -# be generated. Documented entities will be cross-referenced with these sources. -# Note: To get rid of all source code in the generated output, make sure also -# VERBATIM_HEADERS is set to NO. If you have enabled CALL_GRAPH or CALLER_GRAPH -# then you must also enable this option. If you don't then doxygen will produce +# If the SOURCE_BROWSER tag is set to YES then a list of source files will +# be generated. Documented entities will be cross-referenced with these sources. +# Note: To get rid of all source code in the generated output, make sure also +# VERBATIM_HEADERS is set to NO. If you have enabled CALL_GRAPH or CALLER_GRAPH +# then you must also enable this option. If you don't then doxygen will produce # a warning and turn it on anyway SOURCE_BROWSER = YES -# Setting the INLINE_SOURCES tag to YES will include the body +# Setting the INLINE_SOURCES tag to YES will include the body # of functions and classes directly in the documentation. INLINE_SOURCES = NO -# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct -# doxygen to hide any special comment blocks from generated source code +# Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct +# doxygen to hide any special comment blocks from generated source code # fragments. Normal C and C++ comments will always remain visible. STRIP_CODE_COMMENTS = YES -# If the REFERENCED_BY_RELATION tag is set to YES (the default) -# then for each documented function all documented +# If the REFERENCED_BY_RELATION tag is set to YES (the default) +# then for each documented function all documented # functions referencing it will be listed. REFERENCED_BY_RELATION = YES -# If the REFERENCES_RELATION tag is set to YES (the default) -# then for each documented function all documented entities +# If the REFERENCES_RELATION tag is set to YES (the default) +# then for each documented function all documented entities # called/used by that function will be listed. REFERENCES_RELATION = YES @@ -636,16 +636,16 @@ REFERENCES_RELATION = YES REFERENCES_LINK_SOURCE = YES -# If the USE_HTAGS tag is set to YES then the references to source code -# will point to the HTML generated by the htags(1) tool instead of doxygen -# built-in source browser. The htags tool is part of GNU's global source -# tagging system (see http://www.gnu.org/software/global/global.html). You +# If the USE_HTAGS tag is set to YES then the references to source code +# will point to the HTML generated by the htags(1) tool instead of doxygen +# built-in source browser. The htags tool is part of GNU's global source +# tagging system (see http://www.gnu.org/software/global/global.html). You # will need version 4.8.6 or higher. USE_HTAGS = NO -# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen -# will generate a verbatim copy of the header file for each class for +# If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen +# will generate a verbatim copy of the header file for each class for # which an include is specified. Set to NO to disable this. VERBATIM_HEADERS = YES @@ -654,141 +654,141 @@ VERBATIM_HEADERS = YES # configuration options related to the alphabetical class index #--------------------------------------------------------------------------- -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index -# of all compounds will be generated. Enable this if the project +# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index +# of all compounds will be generated. Enable this if the project # contains a lot of classes, structs, unions or interfaces. ALPHABETICAL_INDEX = YES -# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then -# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns +# If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then +# the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns # in which this list will be split (can be a number in the range [1..20]) COLS_IN_ALPHA_INDEX = 5 -# In case all classes in a project start with a common prefix, all -# classes will be put under the same header in the alphabetical index. -# The IGNORE_PREFIX tag can be used to specify one or more prefixes that +# In case all classes in a project start with a common prefix, all +# classes will be put under the same header in the alphabetical index. +# The IGNORE_PREFIX tag can be used to specify one or more prefixes that # should be ignored while generating the index headers. -IGNORE_PREFIX = +IGNORE_PREFIX = #--------------------------------------------------------------------------- # configuration options related to the HTML output #--------------------------------------------------------------------------- -# If the GENERATE_HTML tag is set to YES (the default) Doxygen will +# If the GENERATE_HTML tag is set to YES (the default) Doxygen will # generate HTML output. GENERATE_HTML = YES -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `html' will be used as the default path. HTML_OUTPUT = html -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for -# each generated HTML page (for example: .htm,.php,.asp). If it is left blank +# The HTML_FILE_EXTENSION tag can be used to specify the file extension for +# each generated HTML page (for example: .htm,.php,.asp). If it is left blank # doxygen will generate files with .html extension. HTML_FILE_EXTENSION = .html -# The HTML_HEADER tag can be used to specify a personal HTML header for -# each generated HTML page. If it is left blank doxygen will generate a +# The HTML_HEADER tag can be used to specify a personal HTML header for +# each generated HTML page. If it is left blank doxygen will generate a # standard header. -HTML_HEADER = +HTML_HEADER = -# The HTML_FOOTER tag can be used to specify a personal HTML footer for -# each generated HTML page. If it is left blank doxygen will generate a +# The HTML_FOOTER tag can be used to specify a personal HTML footer for +# each generated HTML page. If it is left blank doxygen will generate a # standard footer. -HTML_FOOTER = +HTML_FOOTER = -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading -# style sheet that is used by each HTML page. It can be used to -# fine-tune the look of the HTML output. If the tag is left blank doxygen -# will generate a default style sheet. Note that doxygen will try to copy -# the style sheet file to the HTML output directory, so don't put your own +# The HTML_STYLESHEET tag can be used to specify a user-defined cascading +# style sheet that is used by each HTML page. It can be used to +# fine-tune the look of the HTML output. If the tag is left blank doxygen +# will generate a default style sheet. Note that doxygen will try to copy +# the style sheet file to the HTML output directory, so don't put your own # stylesheet in the HTML output directory as well, or it will be erased! -HTML_STYLESHEET = +HTML_STYLESHEET = -# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, -# files or namespaces will be aligned in HTML using tables. If set to +# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, +# files or namespaces will be aligned in HTML using tables. If set to # NO a bullet list will be used. HTML_ALIGN_MEMBERS = YES -# If the GENERATE_HTMLHELP tag is set to YES, additional index files -# will be generated that can be used as input for tools like the -# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) +# If the GENERATE_HTMLHELP tag is set to YES, additional index files +# will be generated that can be used as input for tools like the +# Microsoft HTML help workshop to generate a compressed HTML help file (.chm) # of the generated HTML documentation. GENERATE_HTMLHELP = NO -# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML -# documentation will contain sections that can be hidden and shown after the -# page has loaded. For this to work a browser that supports -# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox +# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML +# documentation will contain sections that can be hidden and shown after the +# page has loaded. For this to work a browser that supports +# JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox # Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari). HTML_DYNAMIC_SECTIONS = NO -# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can -# be used to specify the file name of the resulting .chm file. You -# can add a path in front of the file if the result should not be +# If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can +# be used to specify the file name of the resulting .chm file. You +# can add a path in front of the file if the result should not be # written to the html output directory. -CHM_FILE = +CHM_FILE = -# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can -# be used to specify the location (absolute path including file name) of -# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run +# If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can +# be used to specify the location (absolute path including file name) of +# the HTML help compiler (hhc.exe). If non-empty doxygen will try to run # the HTML help compiler on the generated index.hhp. -HHC_LOCATION = +HHC_LOCATION = -# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag -# controls if a separate .chi index file is generated (YES) or that +# If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag +# controls if a separate .chi index file is generated (YES) or that # it should be included in the master .chm file (NO). GENERATE_CHI = NO -# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag -# controls whether a binary table of contents is generated (YES) or a +# If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag +# controls whether a binary table of contents is generated (YES) or a # normal table of contents (NO) in the .chm file. BINARY_TOC = NO -# The TOC_EXPAND flag can be set to YES to add extra items for group members +# The TOC_EXPAND flag can be set to YES to add extra items for group members # to the contents of the HTML help documentation and to the tree view. TOC_EXPAND = NO -# The DISABLE_INDEX tag can be used to turn on/off the condensed index at -# top of each HTML page. The value NO (the default) enables the index and +# The DISABLE_INDEX tag can be used to turn on/off the condensed index at +# top of each HTML page. The value NO (the default) enables the index and # the value YES disables it. DISABLE_INDEX = NO -# This tag can be used to set the number of enum values (range [1..20]) +# This tag can be used to set the number of enum values (range [1..20]) # that doxygen will group on one line in the generated HTML documentation. ENUM_VALUES_PER_LINE = 4 # If the GENERATE_TREEVIEW tag is set to YES, a side panel will be -# generated containing a tree-like index structure (just like the one that -# is generated for HTML Help). For this to work a browser that supports -# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, -# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are +# generated containing a tree-like index structure (just like the one that +# is generated for HTML Help). For this to work a browser that supports +# JavaScript, DHTML, CSS and frames is required (for instance Mozilla 1.0+, +# Netscape 6.0+, Internet explorer 5.0+, or Konqueror). Windows users are # probably better off using the HTML help feature. GENERATE_TREEVIEW = NO -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be -# used to set the initial width (in pixels) of the frame in which the tree +# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be +# used to set the initial width (in pixels) of the frame in which the tree # is shown. TREEVIEW_WIDTH = 250 @@ -797,74 +797,74 @@ TREEVIEW_WIDTH = 250 # configuration options related to the LaTeX output #--------------------------------------------------------------------------- -# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will +# If the GENERATE_LATEX tag is set to YES (the default) Doxygen will # generate Latex output. GENERATE_LATEX = NO -# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `latex' will be used as the default path. LATEX_OUTPUT = latex -# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be +# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be # invoked. If left blank `latex' will be used as the default command name. LATEX_CMD_NAME = latex -# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to -# generate index for LaTeX. If left blank `makeindex' will be used as the +# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to +# generate index for LaTeX. If left blank `makeindex' will be used as the # default command name. MAKEINDEX_CMD_NAME = makeindex -# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact -# LaTeX documents. This may be useful for small projects and may help to +# If the COMPACT_LATEX tag is set to YES Doxygen generates more compact +# LaTeX documents. This may be useful for small projects and may help to # save some trees in general. COMPACT_LATEX = NO -# The PAPER_TYPE tag can be used to set the paper type that is used -# by the printer. Possible values are: a4, a4wide, letter, legal and +# The PAPER_TYPE tag can be used to set the paper type that is used +# by the printer. Possible values are: a4, a4wide, letter, legal and # executive. If left blank a4wide will be used. PAPER_TYPE = a4wide -# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX +# The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX # packages that should be included in the LaTeX output. -EXTRA_PACKAGES = +EXTRA_PACKAGES = -# The LATEX_HEADER tag can be used to specify a personal LaTeX header for -# the generated latex document. The header should contain everything until -# the first chapter. If it is left blank doxygen will generate a +# The LATEX_HEADER tag can be used to specify a personal LaTeX header for +# the generated latex document. The header should contain everything until +# the first chapter. If it is left blank doxygen will generate a # standard header. Notice: only use this tag if you know what you are doing! -LATEX_HEADER = +LATEX_HEADER = -# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated -# is prepared for conversion to pdf (using ps2pdf). The pdf file will -# contain links (just like the HTML output) instead of page references +# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated +# is prepared for conversion to pdf (using ps2pdf). The pdf file will +# contain links (just like the HTML output) instead of page references # This makes the output suitable for online browsing using a pdf viewer. PDF_HYPERLINKS = NO -# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of -# plain latex in the generated Makefile. Set this option to YES to get a +# If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of +# plain latex in the generated Makefile. Set this option to YES to get a # higher quality PDF documentation. USE_PDFLATEX = NO -# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. -# command to the generated LaTeX files. This will instruct LaTeX to keep -# running if errors occur, instead of asking the user for help. +# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. +# command to the generated LaTeX files. This will instruct LaTeX to keep +# running if errors occur, instead of asking the user for help. # This option is also used when generating formulas in HTML. LATEX_BATCHMODE = NO -# If LATEX_HIDE_INDICES is set to YES then doxygen will not -# include the index chapters (such as File Index, Compound Index, etc.) +# If LATEX_HIDE_INDICES is set to YES then doxygen will not +# include the index chapters (such as File Index, Compound Index, etc.) # in the output. LATEX_HIDE_INDICES = NO @@ -873,68 +873,68 @@ LATEX_HIDE_INDICES = NO # configuration options related to the RTF output #--------------------------------------------------------------------------- -# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output -# The RTF output is optimized for Word 97 and may not look very pretty with +# If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output +# The RTF output is optimized for Word 97 and may not look very pretty with # other RTF readers or editors. GENERATE_RTF = NO -# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `rtf' will be used as the default path. RTF_OUTPUT = rtf -# If the COMPACT_RTF tag is set to YES Doxygen generates more compact -# RTF documents. This may be useful for small projects and may help to +# If the COMPACT_RTF tag is set to YES Doxygen generates more compact +# RTF documents. This may be useful for small projects and may help to # save some trees in general. COMPACT_RTF = NO -# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated -# will contain hyperlink fields. The RTF file will -# contain links (just like the HTML output) instead of page references. -# This makes the output suitable for online browsing using WORD or other -# programs which support those fields. +# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated +# will contain hyperlink fields. The RTF file will +# contain links (just like the HTML output) instead of page references. +# This makes the output suitable for online browsing using WORD or other +# programs which support those fields. # Note: wordpad (write) and others do not support links. RTF_HYPERLINKS = NO -# Load stylesheet definitions from file. Syntax is similar to doxygen's -# config file, i.e. a series of assignments. You only have to provide +# Load stylesheet definitions from file. Syntax is similar to doxygen's +# config file, i.e. a series of assignments. You only have to provide # replacements, missing definitions are set to their default value. -RTF_STYLESHEET_FILE = +RTF_STYLESHEET_FILE = -# Set optional variables used in the generation of an rtf document. +# Set optional variables used in the generation of an rtf document. # Syntax is similar to doxygen's config file. -RTF_EXTENSIONS_FILE = +RTF_EXTENSIONS_FILE = #--------------------------------------------------------------------------- # configuration options related to the man page output #--------------------------------------------------------------------------- -# If the GENERATE_MAN tag is set to YES (the default) Doxygen will +# If the GENERATE_MAN tag is set to YES (the default) Doxygen will # generate man pages GENERATE_MAN = NO -# The MAN_OUTPUT tag is used to specify where the man pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# The MAN_OUTPUT tag is used to specify where the man pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `man' will be used as the default path. MAN_OUTPUT = man -# The MAN_EXTENSION tag determines the extension that is added to +# The MAN_EXTENSION tag determines the extension that is added to # the generated man pages (default is the subroutine's section .3) MAN_EXTENSION = .3 -# If the MAN_LINKS tag is set to YES and Doxygen generates man output, -# then it will generate one additional man file for each entity -# documented in the real man page(s). These additional files -# only source the real man page, but without them the man command +# If the MAN_LINKS tag is set to YES and Doxygen generates man output, +# then it will generate one additional man file for each entity +# documented in the real man page(s). These additional files +# only source the real man page, but without them the man command # would be unable to find the correct page. The default is NO. MAN_LINKS = NO @@ -943,33 +943,33 @@ MAN_LINKS = NO # configuration options related to the XML output #--------------------------------------------------------------------------- -# If the GENERATE_XML tag is set to YES Doxygen will -# generate an XML file that captures the structure of +# If the GENERATE_XML tag is set to YES Doxygen will +# generate an XML file that captures the structure of # the code including all documentation. GENERATE_XML = NO -# The XML_OUTPUT tag is used to specify where the XML pages will be put. -# If a relative path is entered the value of OUTPUT_DIRECTORY will be +# The XML_OUTPUT tag is used to specify where the XML pages will be put. +# If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `xml' will be used as the default path. XML_OUTPUT = xml -# The XML_SCHEMA tag can be used to specify an XML schema, -# which can be used by a validating XML parser to check the +# The XML_SCHEMA tag can be used to specify an XML schema, +# which can be used by a validating XML parser to check the # syntax of the XML files. -XML_SCHEMA = +XML_SCHEMA = -# The XML_DTD tag can be used to specify an XML DTD, -# which can be used by a validating XML parser to check the +# The XML_DTD tag can be used to specify an XML DTD, +# which can be used by a validating XML parser to check the # syntax of the XML files. -XML_DTD = +XML_DTD = -# If the XML_PROGRAMLISTING tag is set to YES Doxygen will -# dump the program listings (including syntax highlighting -# and cross-referencing information) to the XML output. Note that +# If the XML_PROGRAMLISTING tag is set to YES Doxygen will +# dump the program listings (including syntax highlighting +# and cross-referencing information) to the XML output. Note that # enabling this will significantly increase the size of the XML output. XML_PROGRAMLISTING = YES @@ -978,10 +978,10 @@ XML_PROGRAMLISTING = YES # configuration options for the AutoGen Definitions output #--------------------------------------------------------------------------- -# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will -# generate an AutoGen Definitions (see autogen.sf.net) file -# that captures the structure of the code including all -# documentation. Note that this feature is still experimental +# If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will +# generate an AutoGen Definitions (see autogen.sf.net) file +# that captures the structure of the code including all +# documentation. Note that this feature is still experimental # and incomplete at the moment. GENERATE_AUTOGEN_DEF = NO @@ -990,82 +990,82 @@ GENERATE_AUTOGEN_DEF = NO # configuration options related to the Perl module output #--------------------------------------------------------------------------- -# If the GENERATE_PERLMOD tag is set to YES Doxygen will -# generate a Perl module file that captures the structure of -# the code including all documentation. Note that this -# feature is still experimental and incomplete at the +# If the GENERATE_PERLMOD tag is set to YES Doxygen will +# generate a Perl module file that captures the structure of +# the code including all documentation. Note that this +# feature is still experimental and incomplete at the # moment. GENERATE_PERLMOD = NO -# If the PERLMOD_LATEX tag is set to YES Doxygen will generate -# the necessary Makefile rules, Perl scripts and LaTeX code to be able +# If the PERLMOD_LATEX tag is set to YES Doxygen will generate +# the necessary Makefile rules, Perl scripts and LaTeX code to be able # to generate PDF and DVI output from the Perl module output. PERLMOD_LATEX = YES -# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be -# nicely formatted so it can be parsed by a human reader. This is useful -# if you want to understand what is going on. On the other hand, if this -# tag is set to NO the size of the Perl module output will be much smaller +# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be +# nicely formatted so it can be parsed by a human reader. This is useful +# if you want to understand what is going on. On the other hand, if this +# tag is set to NO the size of the Perl module output will be much smaller # and Perl will parse it just the same. PERLMOD_PRETTY = YES -# The names of the make variables in the generated doxyrules.make file -# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. -# This is useful so different doxyrules.make files included by the same +# The names of the make variables in the generated doxyrules.make file +# are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. +# This is useful so different doxyrules.make files included by the same # Makefile don't overwrite each other's variables. -PERLMOD_MAKEVAR_PREFIX = +PERLMOD_MAKEVAR_PREFIX = #--------------------------------------------------------------------------- -# Configuration options related to the preprocessor +# Configuration options related to the preprocessor #--------------------------------------------------------------------------- -# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will -# evaluate all C-preprocessor directives found in the sources and include +# If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will +# evaluate all C-preprocessor directives found in the sources and include # files. ENABLE_PREPROCESSING = YES -# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro -# names in the source code. If set to NO (the default) only conditional -# compilation will be performed. Macro expansion can be done in a controlled +# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro +# names in the source code. If set to NO (the default) only conditional +# compilation will be performed. Macro expansion can be done in a controlled # way by setting EXPAND_ONLY_PREDEF to YES. MACRO_EXPANSION = YES -# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES -# then the macro expansion is limited to the macros specified with the +# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES +# then the macro expansion is limited to the macros specified with the # PREDEFINED and EXPAND_AS_DEFINED tags. EXPAND_ONLY_PREDEF = YES -# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files +# If the SEARCH_INCLUDES tag is set to YES (the default) the includes files # in the INCLUDE_PATH (see below) will be search if a #include is found. SEARCH_INCLUDES = YES -# The INCLUDE_PATH tag can be used to specify one or more directories that -# contain include files that are not input files but should be processed by +# The INCLUDE_PATH tag can be used to specify one or more directories that +# contain include files that are not input files but should be processed by # the preprocessor. -INCLUDE_PATH = +INCLUDE_PATH = -# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard -# patterns (like *.h and *.hpp) to filter out the header-files in the -# directories. If left blank, the patterns specified with FILE_PATTERNS will +# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard +# patterns (like *.h and *.hpp) to filter out the header-files in the +# directories. If left blank, the patterns specified with FILE_PATTERNS will # be used. -INCLUDE_FILE_PATTERNS = +INCLUDE_FILE_PATTERNS = -# The PREDEFINED tag can be used to specify one or more macro names that -# are defined before the preprocessor is started (similar to the -D option of -# gcc). The argument of the tag is a list of macros of the form: name -# or name=definition (no spaces). If the definition and the = are -# omitted =1 is assumed. To prevent a macro definition from being -# undefined via #undef or recursively expanded use the := operator +# The PREDEFINED tag can be used to specify one or more macro names that +# are defined before the preprocessor is started (similar to the -D option of +# gcc). The argument of the tag is a list of macros of the form: name +# or name=definition (no spaces). If the definition and the = are +# omitted =1 is assumed. To prevent a macro definition from being +# undefined via #undef or recursively expanded use the := operator # instead of the = operator. PREDEFINED = U_EXPORT2 \ @@ -1076,239 +1076,239 @@ PREDEFINED = U_EXPORT2 \ U_DEPRECATED \ U_OBSOLETE -# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then -# this tag can be used to specify a list of macro names that should be expanded. -# The macro definition that is found in the sources will be used. +# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then +# this tag can be used to specify a list of macro names that should be expanded. +# The macro definition that is found in the sources will be used. # Use the PREDEFINED tag if you want to use a different macro definition. -EXPAND_AS_DEFINED = +EXPAND_AS_DEFINED = -# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then -# doxygen's preprocessor will remove all function-like macros that are alone -# on a line, have an all uppercase name, and do not end with a semicolon. Such -# function macros are typically used for boiler-plate code, and will confuse +# If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then +# doxygen's preprocessor will remove all function-like macros that are alone +# on a line, have an all uppercase name, and do not end with a semicolon. Such +# function macros are typically used for boiler-plate code, and will confuse # the parser if not removed. SKIP_FUNCTION_MACROS = YES #--------------------------------------------------------------------------- -# Configuration::additions related to external references +# Configuration::additions related to external references #--------------------------------------------------------------------------- -# The TAGFILES option can be used to specify one or more tagfiles. -# Optionally an initial location of the external documentation -# can be added for each tagfile. The format of a tag file without -# this location is as follows: -# TAGFILES = file1 file2 ... -# Adding location for the tag files is done as follows: -# TAGFILES = file1=loc1 "file2 = loc2" ... -# where "loc1" and "loc2" can be relative or absolute paths or -# URLs. If a location is present for each tag, the installdox tool +# The TAGFILES option can be used to specify one or more tagfiles. +# Optionally an initial location of the external documentation +# can be added for each tagfile. The format of a tag file without +# this location is as follows: +# TAGFILES = file1 file2 ... +# Adding location for the tag files is done as follows: +# TAGFILES = file1=loc1 "file2 = loc2" ... +# where "loc1" and "loc2" can be relative or absolute paths or +# URLs. If a location is present for each tag, the installdox tool # does not have to be run to correct the links. # Note that each tag file must have a unique name # (where the name does NOT include the path) -# If a tag file is not located in the directory in which doxygen +# If a tag file is not located in the directory in which doxygen # is run, you must also specify the path to the tagfile here. -TAGFILES = +TAGFILES = -# When a file name is specified after GENERATE_TAGFILE, doxygen will create +# When a file name is specified after GENERATE_TAGFILE, doxygen will create # a tag file that is based on the input files it reads. GENERATE_TAGFILE = "@srcdir@/html/mangos-ng-docs.tag " -# If the ALLEXTERNALS tag is set to YES all external classes will be listed -# in the class index. If set to NO only the inherited external classes +# If the ALLEXTERNALS tag is set to YES all external classes will be listed +# in the class index. If set to NO only the inherited external classes # will be listed. ALLEXTERNALS = NO -# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed -# in the modules index. If set to NO, only the current project's groups will +# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed +# in the modules index. If set to NO, only the current project's groups will # be listed. EXTERNAL_GROUPS = YES -# The PERL_PATH should be the absolute path and name of the perl script +# The PERL_PATH should be the absolute path and name of the perl script # interpreter (i.e. the result of `which perl'). PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- -# Configuration options related to the dot tool +# Configuration options related to the dot tool #--------------------------------------------------------------------------- -# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will -# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base -# or super classes. Setting the tag to NO turns the diagrams off. Note that -# this option is superseded by the HAVE_DOT option below. This is only a -# fallback. It is recommended to install and use dot, since it yields more +# If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will +# generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base +# or super classes. Setting the tag to NO turns the diagrams off. Note that +# this option is superseded by the HAVE_DOT option below. This is only a +# fallback. It is recommended to install and use dot, since it yields more # powerful graphs. CLASS_DIAGRAMS = YES -# You can define message sequence charts within doxygen comments using the \msc -# command. Doxygen will then run the mscgen tool (see http://www.mcternan.me.uk/mscgen/) to -# produce the chart and insert it in the documentation. The MSCGEN_PATH tag allows you to -# specify the directory where the mscgen tool resides. If left empty the tool is assumed to +# You can define message sequence charts within doxygen comments using the \msc +# command. Doxygen will then run the mscgen tool (see http://www.mcternan.me.uk/mscgen/) to +# produce the chart and insert it in the documentation. The MSCGEN_PATH tag allows you to +# specify the directory where the mscgen tool resides. If left empty the tool is assumed to # be found in the default search path. -MSCGEN_PATH = +MSCGEN_PATH = -# If set to YES, the inheritance and collaboration graphs will hide -# inheritance and usage relations if the target is undocumented +# If set to YES, the inheritance and collaboration graphs will hide +# inheritance and usage relations if the target is undocumented # or is not a class. HIDE_UNDOC_RELATIONS = YES -# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is -# available from the path. This tool is part of Graphviz, a graph visualization -# toolkit from AT&T and Lucent Bell Labs. The other options in this section +# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is +# available from the path. This tool is part of Graphviz, a graph visualization +# toolkit from AT&T and Lucent Bell Labs. The other options in this section # have no effect if this option is set to NO (the default) HAVE_DOT = NO -# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect inheritance relations. Setting this tag to YES will force the +# If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect inheritance relations. Setting this tag to YES will force the # the CLASS_DIAGRAMS tag to NO. CLASS_GRAPH = YES -# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen -# will generate a graph for each documented class showing the direct and -# indirect implementation dependencies (inheritance, containment, and +# If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen +# will generate a graph for each documented class showing the direct and +# indirect implementation dependencies (inheritance, containment, and # class references variables) of the class with other documented classes. COLLABORATION_GRAPH = YES -# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen +# If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen # will generate a graph for groups, showing the direct groups dependencies GROUP_GRAPHS = YES -# If the UML_LOOK tag is set to YES doxygen will generate inheritance and -# collaboration diagrams in a style similar to the OMG's Unified Modeling +# If the UML_LOOK tag is set to YES doxygen will generate inheritance and +# collaboration diagrams in a style similar to the OMG's Unified Modeling # Language. UML_LOOK = NO -# If set to YES, the inheritance and collaboration graphs will show the +# If set to YES, the inheritance and collaboration graphs will show the # relations between templates and their instances. TEMPLATE_RELATIONS = NO -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT -# tags are set to YES then doxygen will generate a graph for each documented -# file showing the direct and indirect include dependencies of the file with +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT +# tags are set to YES then doxygen will generate a graph for each documented +# file showing the direct and indirect include dependencies of the file with # other documented files. INCLUDE_GRAPH = YES -# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and -# HAVE_DOT tags are set to YES then doxygen will generate a graph for each -# documented header file showing the documented files that directly or +# If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and +# HAVE_DOT tags are set to YES then doxygen will generate a graph for each +# documented header file showing the documented files that directly or # indirectly include this file. INCLUDED_BY_GRAPH = YES -# If the CALL_GRAPH, SOURCE_BROWSER and HAVE_DOT tags are set to YES then doxygen will -# generate a call dependency graph for every global function or class method. -# Note that enabling this option will significantly increase the time of a run. -# So in most cases it will be better to enable call graphs for selected +# If the CALL_GRAPH, SOURCE_BROWSER and HAVE_DOT tags are set to YES then doxygen will +# generate a call dependency graph for every global function or class method. +# Note that enabling this option will significantly increase the time of a run. +# So in most cases it will be better to enable call graphs for selected # functions only using the \callgraph command. CALL_GRAPH = NO -# If the CALLER_GRAPH, SOURCE_BROWSER and HAVE_DOT tags are set to YES then doxygen will -# generate a caller dependency graph for every global function or class method. -# Note that enabling this option will significantly increase the time of a run. -# So in most cases it will be better to enable caller graphs for selected +# If the CALLER_GRAPH, SOURCE_BROWSER and HAVE_DOT tags are set to YES then doxygen will +# generate a caller dependency graph for every global function or class method. +# Note that enabling this option will significantly increase the time of a run. +# So in most cases it will be better to enable caller graphs for selected # functions only using the \callergraph command. CALLER_GRAPH = NO -# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen +# If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen # will graphical hierarchy of all classes instead of a textual one. GRAPHICAL_HIERARCHY = YES -# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES -# then doxygen will show the dependencies a directory has on other directories +# If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES +# then doxygen will show the dependencies a directory has on other directories # in a graphical way. The dependency relations are determined by the #include # relations between the files in the directories. DIRECTORY_GRAPH = YES -# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images +# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images # generated by dot. Possible values are png, jpg, or gif # If left blank png will be used. DOT_IMAGE_FORMAT = png -# The tag DOT_PATH can be used to specify the path where the dot tool can be +# The tag DOT_PATH can be used to specify the path where the dot tool can be # found. If left blank, it is assumed the dot tool can be found in the path. -DOT_PATH = +DOT_PATH = -# The DOTFILE_DIRS tag can be used to specify one or more directories that -# contain dot files that are included in the documentation (see the +# The DOTFILE_DIRS tag can be used to specify one or more directories that +# contain dot files that are included in the documentation (see the # \dotfile command). -DOTFILE_DIRS = +DOTFILE_DIRS = -# The MAX_DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of -# nodes that will be shown in the graph. If the number of nodes in a graph -# becomes larger than this value, doxygen will truncate the graph, which is -# visualized by representing a node as a red box. Note that doxygen if the number -# of direct children of the root node in a graph is already larger than -# MAX_DOT_GRAPH_NOTES then the graph will not be shown at all. Also note +# The MAX_DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of +# nodes that will be shown in the graph. If the number of nodes in a graph +# becomes larger than this value, doxygen will truncate the graph, which is +# visualized by representing a node as a red box. Note that doxygen if the number +# of direct children of the root node in a graph is already larger than +# MAX_DOT_GRAPH_NOTES then the graph will not be shown at all. Also note # that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. DOT_GRAPH_MAX_NODES = 50 -# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the -# graphs generated by dot. A depth value of 3 means that only nodes reachable -# from the root by following a path via at most 3 edges will be shown. Nodes -# that lay further from the root node will be omitted. Note that setting this -# option to 1 or 2 may greatly reduce the computation time needed for large -# code bases. Also note that the size of a graph can be further restricted by +# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the +# graphs generated by dot. A depth value of 3 means that only nodes reachable +# from the root by following a path via at most 3 edges will be shown. Nodes +# that lay further from the root node will be omitted. Note that setting this +# option to 1 or 2 may greatly reduce the computation time needed for large +# code bases. Also note that the size of a graph can be further restricted by # DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. MAX_DOT_GRAPH_DEPTH = 0 -# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent -# background. This is disabled by default, which results in a white background. -# Warning: Depending on the platform used, enabling this option may lead to -# badly anti-aliased labels on the edges of a graph (i.e. they become hard to +# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent +# background. This is disabled by default, which results in a white background. +# Warning: Depending on the platform used, enabling this option may lead to +# badly anti-aliased labels on the edges of a graph (i.e. they become hard to # read). DOT_TRANSPARENT = NO -# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output -# files in one run (i.e. multiple -o and -T options on the command line). This -# makes dot run faster, but since only newer versions of dot (>1.8.10) +# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output +# files in one run (i.e. multiple -o and -T options on the command line). This +# makes dot run faster, but since only newer versions of dot (>1.8.10) # support this, this feature is disabled by default. DOT_MULTI_TARGETS = NO -# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will -# generate a legend page explaining the meaning of the various boxes and +# If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will +# generate a legend page explaining the meaning of the various boxes and # arrows in the dot generated graphs. GENERATE_LEGEND = YES -# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will -# remove the intermediate dot files that are used to generate +# If the DOT_CLEANUP tag is set to YES (the default) Doxygen will +# remove the intermediate dot files that are used to generate # the various graphs. DOT_CLEANUP = YES #--------------------------------------------------------------------------- -# Configuration::additions related to the search engine +# Configuration::additions related to the search engine #--------------------------------------------------------------------------- -# The SEARCHENGINE tag specifies whether or not a search engine should be +# The SEARCHENGINE tag specifies whether or not a search engine should be # used. If set to NO the values of all tags below this one will be ignored. SEARCHENGINE = YES diff --git a/doc/Makefile.am b/doc/Makefile.am index c9a59115e..c42b41298 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -45,5 +45,5 @@ doc: @echo "You must enable at configure time: ./configure --enable-doxygen" endif -clean-local: +clean-local: rm -rf $(DOC_OUT_HTML) diff --git a/sql/mangos.sql b/sql/mangos.sql index d364e0572..8ba1d8ef6 100644 --- a/sql/mangos.sql +++ b/sql/mangos.sql @@ -39,7 +39,7 @@ UNLOCK TABLES; -- Table structure for table `areatrigger_scripts` -- -DROP TABLE IF EXISTS `areatrigger_scripts`; +DROP TABLE IF EXISTS `areatrigger_scripts`; CREATE TABLE `areatrigger_scripts` ( `entry` MEDIUMINT( 8 ) NOT NULL , `ScriptName` CHAR( 64 ) NOT NULL , @@ -14075,8 +14075,8 @@ LOCK TABLES `spell_learn_spell` WRITE; /*!40000 ALTER TABLE `spell_learn_spell` DISABLE KEYS */; INSERT INTO `spell_learn_spell` VALUES (2842,8681), -(5784,33388), -(13819,33388), +(5784,33388), +(13819,33388), (17002,24867), (23161,33391), (23214,33391), diff --git a/sql/updates/0.10/4846_characters.sql b/sql/updates/0.10/4846_characters.sql index 6e8ac96c6..d0d2e2cfb 100644 --- a/sql/updates/0.10/4846_characters.sql +++ b/sql/updates/0.10/4846_characters.sql @@ -17,4 +17,4 @@ ALTER TABLE `mail` DROP COLUMN `item_guid`, DROP COLUMN `item_template`; -UPDATE `character` SET data = CONCAT(SUBSTRING(data, 1, length(SUBSTRING_INDEX(data, ' ', 48))), " ", "0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ",SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 140))+2, length(SUBSTRING_INDEX(data, ' ', 225))- length(SUBSTRING_INDEX(data, ' ', 140)) - 1), " ", SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 226))+2, length(SUBSTRING_INDEX(data, ' ', 1249))- length(SUBSTRING_INDEX(data, ' ', 226)) - 1), " ", "0 ",SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1249))+2, length(SUBSTRING_INDEX(data, ' ', 1259))- length(SUBSTRING_INDEX(data, ' ', 1249)) - 1), " ", "0 ",SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1259))+2, length(SUBSTRING_INDEX(data, ' ', 1379))- length(SUBSTRING_INDEX(data, ' ', 1259)) - 1), " ", "0 ",SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1380))+2, length(SUBSTRING_INDEX(data, ' ', 1405))- length(SUBSTRING_INDEX(data, ' ', 1380)) - 1), " ", "0 ",SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1405))+2, length(SUBSTRING_INDEX(data, ' ', 1410))- length(SUBSTRING_INDEX(data, ' ', 1405)) - 1), " ", "0 ",SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1410))+2, length(SUBSTRING_INDEX(data, ' ', 1415))- length(SUBSTRING_INDEX(data, ' ', 1410)) - 1), " ", "0 ",SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1415))+2, length(SUBSTRING_INDEX(data, ' ', 1420))- length(SUBSTRING_INDEX(data, ' ', 1415)) - 1), " ", "0 ",SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1420))+2, length(SUBSTRING_INDEX(data, ' ', 1436))- length(SUBSTRING_INDEX(data, ' ', 1420)) - 1)) WHERE length(SUBSTRING_INDEX(data, ' ', 1436)) < length(data) and length(SUBSTRING_INDEX(data, ' ', 1437)) >= length(data); +UPDATE `character` SET data = CONCAT(SUBSTRING(data, 1, length(SUBSTRING_INDEX(data, ' ', 48))), " ", "0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ","0 ",SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 140))+2, length(SUBSTRING_INDEX(data, ' ', 225))- length(SUBSTRING_INDEX(data, ' ', 140)) - 1), " ", SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 226))+2, length(SUBSTRING_INDEX(data, ' ', 1249))- length(SUBSTRING_INDEX(data, ' ', 226)) - 1), " ", "0 ",SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1249))+2, length(SUBSTRING_INDEX(data, ' ', 1259))- length(SUBSTRING_INDEX(data, ' ', 1249)) - 1), " ", "0 ",SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1259))+2, length(SUBSTRING_INDEX(data, ' ', 1379))- length(SUBSTRING_INDEX(data, ' ', 1259)) - 1), " ", "0 ",SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1380))+2, length(SUBSTRING_INDEX(data, ' ', 1405))- length(SUBSTRING_INDEX(data, ' ', 1380)) - 1), " ", "0 ",SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1405))+2, length(SUBSTRING_INDEX(data, ' ', 1410))- length(SUBSTRING_INDEX(data, ' ', 1405)) - 1), " ", "0 ",SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1410))+2, length(SUBSTRING_INDEX(data, ' ', 1415))- length(SUBSTRING_INDEX(data, ' ', 1410)) - 1), " ", "0 ",SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1415))+2, length(SUBSTRING_INDEX(data, ' ', 1420))- length(SUBSTRING_INDEX(data, ' ', 1415)) - 1), " ", "0 ",SUBSTRING(data, length(SUBSTRING_INDEX(data, ' ', 1420))+2, length(SUBSTRING_INDEX(data, ' ', 1436))- length(SUBSTRING_INDEX(data, ' ', 1420)) - 1)) WHERE length(SUBSTRING_INDEX(data, ' ', 1436)) < length(data) and length(SUBSTRING_INDEX(data, ' ', 1437)) >= length(data); diff --git a/sql/updates/0.10/4846_mangos_creature_template.sql b/sql/updates/0.10/4846_mangos_creature_template.sql index d97bf56c7..7e871760d 100644 --- a/sql/updates/0.10/4846_mangos_creature_template.sql +++ b/sql/updates/0.10/4846_mangos_creature_template.sql @@ -1,5 +1,5 @@ -- custom --- UNIT_NPC_FLAG_GUARD = 0x00010000, old +-- UNIT_NPC_FLAG_GUARD = 0x00010000, old -- UNIT_NPC_FLAG_GUARD = 0x10000000, new UPDATE `creature_template` SET `npcflag` = (`npcflag` | 0x10000000) & ~0x00010000 WHERE `npcflag` & 0x00010000; diff --git a/sql/updates/0.10/4895_mangos_command.sql b/sql/updates/0.10/4895_mangos_command.sql index ed7b45a06..8b5871d98 100644 --- a/sql/updates/0.10/4895_mangos_command.sql +++ b/sql/updates/0.10/4895_mangos_command.sql @@ -1,4 +1,4 @@ DELETE FROM command WHERE name IN ('tele'); -INSERT INTO `command` VALUES +INSERT INTO `command` VALUES ('tele',1,'Syntax: .tele #location\r\n\r\nTeleport player to a given location.'); diff --git a/sql/updates/0.10/4898_mangos_playercreateinfo_item.sql b/sql/updates/0.10/4898_mangos_playercreateinfo_item.sql index f54742472..87a05ee5c 100644 --- a/sql/updates/0.10/4898_mangos_playercreateinfo_item.sql +++ b/sql/updates/0.10/4898_mangos_playercreateinfo_item.sql @@ -1 +1 @@ -INSERT IGNORE INTO `playercreateinfo_item` VALUES (11, 8, 6948, 1); \ No newline at end of file +INSERT IGNORE INTO `playercreateinfo_item` VALUES (11, 8, 6948, 1); diff --git a/sql/updates/0.10/4916_mangos_spell_affect.sql b/sql/updates/0.10/4916_mangos_spell_affect.sql index ef3c0b6ba..0d7ae4b61 100644 --- a/sql/updates/0.10/4916_mangos_spell_affect.sql +++ b/sql/updates/0.10/4916_mangos_spell_affect.sql @@ -1,60 +1,60 @@ DELETE FROM `spell_affect` WHERE `entry` IN (43857,43858,43859); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (43857,0,0,0,0,0,0,0x0000001000000000,0), (43858,0,0,0,0,0,0,0x0000001000000000,0), (43859,0,0,0,0,0,0,0x0000001000000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (43860,43861,43862); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (43860,0,0,0,0,0,0,0x0000000090100000,0), (43861,0,0,0,0,0,0,0x0000000090100000,0), (43862,0,0,0,0,0,0,0x0000000090100000,0); DELETE FROM `spell_affect` WHERE `entry` IN (28787); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (28787,0,0,0,0,0,0,0x0000000000001000,0); DELETE FROM `spell_affect` WHERE `entry` IN (41042,43850,43851,43852); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (41042,0,0,0,0,0,0,0x0000000000800000,0), (43850,0,0,0,0,0,0,0x0000000000800000,0), (43851,0,0,0,0,0,0,0x0000000000800000,0), (43852,0,0,0,0,0,0,0x0000000000800000,0); DELETE FROM `spell_affect` WHERE `entry` IN (43854,43855,43856); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (43854,0,0,0,0,0,0,0x0000004000000000,0), (43855,0,0,0,0,0,0,0x0000004000000000,0), (43856,0,0,0,0,0,0,0x0000004000000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (41037,43840,43842,43843); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (41037,0,0,0,0,0,0,0x0000044000000000,0), (43840,0,0,0,0,0,0,0x0000044000000000,0), (43842,0,0,0,0,0,0,0x0000044000000000,0), (43843,0,0,0,0,0,0,0x0000044000000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (43841,43844,43845); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (43841,0,0,0,0,0,0,0x0000000000000002,0), (43844,0,0,0,0,0,0,0x0000000000000002,0), (43845,0,0,0,0,0,0,0x0000000000000002,0); DELETE FROM `spell_affect` WHERE `entry` IN (40460); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (40460,0,0,0,0,0,0,0x00000009003E0000,0); DELETE FROM `spell_affect` WHERE `entry` IN (28814); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (28814,0,0,0,0,0,0,0x0000000000020000,0); DELETE FROM `spell_affect` WHERE `entry` IN (17768); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (17768,0,0,0,0,0,0,0x0000000040000000,0), (17768,1,0,0,0,0,0,0x0000000080000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (29836,29859); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (29836,0,0,0,0,0,0,0x0000001000000020,0), (29859,0,0,0,0,0,0,0x0000001000000020,0); diff --git a/sql/updates/0.10/4937_mangos_spell_affect.sql b/sql/updates/0.10/4937_mangos_spell_affect.sql index ec3922919..5224a9731 100644 --- a/sql/updates/0.10/4937_mangos_spell_affect.sql +++ b/sql/updates/0.10/4937_mangos_spell_affect.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_affect` WHERE `entry` IN (11069,12338,12339,12340,12341); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (11069,0,0,0,0,0,0,0x0000000000000001,0), (12338,0,0,0,0,0,0,0x0000000000000001,0), (12339,0,0,0,0,0,0,0x0000000000000001,0), @@ -7,7 +7,7 @@ INSERT INTO `spell_affect` VALUES (12341,0,0,0,0,0,0,0x0000000000000001,0); DELETE FROM `spell_affect` WHERE `entry` IN (11070,12473,16763,16765,16766); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (11070,0,0,0,0,0,0,0x0000000000000020,0), (12473,0,0,0,0,0,0,0x0000000000000020,0), (16763,0,0,0,0,0,0,0x0000000000000020,0), @@ -15,17 +15,17 @@ INSERT INTO `spell_affect` VALUES (16766,0,0,0,0,0,0,0x0000000000000020,0); DELETE FROM `spell_affect` WHERE `entry` IN (17941); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (17941,0,0,0,0,0,0,0x0000000000000001,1); DELETE FROM `spell_affect` WHERE `entry` IN (20335,20336,20337); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (20335,0,0,0,0,0,0,0x0000000020000000,0), (20336,0,0,0,0,0,0,0x0000000020000000,0), (20337,0,0,0,0,0,0,0x0000000020000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (32043,35396,35397); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (32043,1,0,0,0,0,0,0x0000040008000000,0), (35396,1,0,0,0,0,0,0x0000040008000000,0), (35397,1,0,0,0,0,0,0x0000040008000000,0); @@ -45,11 +45,11 @@ DELETE FROM `spell_affect` WHERE `entry` IN (37189); DELETE FROM `spell_affect` WHERE `entry` IN (37227); DELETE FROM `spell_affect` WHERE `entry` IN (43837); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (43837,0,0,0,0,0,0,0x0000000080000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (39950); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (39950,0,0,0,0,0,0,0x0000000000000040,0); diff --git a/sql/updates/0.10/4948_mangos_spell_affect.sql b/sql/updates/0.10/4948_mangos_spell_affect.sql index 897fab395..35329a442 100644 --- a/sql/updates/0.10/4948_mangos_spell_affect.sql +++ b/sql/updates/0.10/4948_mangos_spell_affect.sql @@ -1,15 +1,15 @@ DELETE FROM `spell_affect` WHERE `entry` IN (11095,12872,12873); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (11095,0,0,0,0,0,0,0x0000000000000010,0), (12872,0,0,0,0,0,0,0x0000000000000010,0), (12873,0,0,0,0,0,0,0x0000000000000010,0); DELETE FROM `spell_affect` WHERE `entry` IN (31821); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (31821,0,0,0,0,0,0,0x0000000004020048,0); DELETE FROM `spell_affect` WHERE `entry` IN (23565); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (23565,0,0,0,0,0,0,0x0000000004020048,0); DELETE FROM `spell_affect` WHERE `entry` IN (26130); @@ -17,7 +17,7 @@ INSERT INTO `spell_affect` VALUES (26130,0,0,0,0,0,0,0x0000000820180000,0); DELETE FROM `spell_affect` WHERE `entry` IN (20101,20102,20103,20104,20105); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (20101,0,0,0,0,0,0,0x000004000A000200,0), (20102,0,0,0,0,0,0,0x000004000A000200,0), (20103,0,0,0,0,0,0,0x000004000A000200,0), diff --git a/sql/updates/0.10/4951_mangos_spell_affect.sql b/sql/updates/0.10/4951_mangos_spell_affect.sql index 85a9bb0d0..8dae347a5 100644 --- a/sql/updates/0.10/4951_mangos_spell_affect.sql +++ b/sql/updates/0.10/4951_mangos_spell_affect.sql @@ -1,11 +1,11 @@ DELETE FROM `spell_affect` WHERE `entry` IN (19498,19499,19500); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (19498,0,0,0,0,0,0,0x00210810007FA01,0), (19499,0,0,0,0,0,0,0x00210810007FA01,0), (19500,0,0,0,0,0,0,0x00210810007FA01,0); DELETE FROM `spell_affect` WHERE `entry` IN (19416,19417,19418,19419,19420); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (19416,0,0,0,0,0,0,0x00210810007FA00,0), (19417,0,0,0,0,0,0,0x00210810007FA00,0), (19418,0,0,0,0,0,0,0x00210810007FA00,0), @@ -13,7 +13,7 @@ INSERT INTO `spell_affect` VALUES (19420,0,0,0,0,0,0,0x00210810007FA00,0); DELETE FROM `spell_affect` WHERE `entry` IN (19485,19487,19488,19489,19490); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (19485,0,0,0,0,0,0,0x000000100061801,0), (19487,0,0,0,0,0,0,0x000000100061801,0), (19488,0,0,0,0,0,0,0x000000100061801,0), diff --git a/sql/updates/0.10/4971_characters_character_social.sql b/sql/updates/0.10/4971_characters_character_social.sql index 76f10eee7..2d4890a4f 100644 --- a/sql/updates/0.10/4971_characters_character_social.sql +++ b/sql/updates/0.10/4971_characters_character_social.sql @@ -1,9 +1,9 @@ -ALTER TABLE `character_social` +ALTER TABLE `character_social` ADD COLUMN `new_flags` tinyint(1) unsigned NOT NULL default '0'; UPDATE `character_social` SET `new_flags` = 1 WHERE `flags`='IGNORE'; -ALTER TABLE `character_social` +ALTER TABLE `character_social` DROP PRIMARY KEY, DROP COLUMN `flags`, CHANGE COLUMN `new_flags` `flags` tinyint(1) unsigned NOT NULL default '0', diff --git a/sql/updates/0.10/4975_mangos_spell_affect.sql b/sql/updates/0.10/4975_mangos_spell_affect.sql index 7a251973b..43250bd46 100644 --- a/sql/updates/0.10/4975_mangos_spell_affect.sql +++ b/sql/updates/0.10/4975_mangos_spell_affect.sql @@ -1,3 +1,3 @@ DELETE FROM `spell_affect` WHERE `entry` IN (20216); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (20216,0,0,0,0,0,0,0x0000000000206000,0); diff --git a/sql/updates/0.10/5036_mangos_spell_affect.sql b/sql/updates/0.10/5036_mangos_spell_affect.sql index 07c99926e..6743fbd35 100644 --- a/sql/updates/0.10/5036_mangos_spell_affect.sql +++ b/sql/updates/0.10/5036_mangos_spell_affect.sql @@ -14,7 +14,7 @@ INSERT INTO `spell_affect` VALUES (21887,0,0,0,0,0,0,0x0000036C2A764EEF,0); DELETE FROM `spell_affect` WHERE `entry` IN (16493,16494); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (16493,0,0,0,0,0,0,0x0000014D2A600CEF,0), (16494,0,0,0,0,0,0,0x0000014D2A600CEF,0); @@ -23,7 +23,7 @@ INSERT INTO `spell_affect` VALUES (37517,0,0,0,0,0,0,0x0000014D2A600CEF,0); DELETE FROM `spell_affect` WHERE `entry` IN (12866,12865,12864,12863,12325); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (12866,0,0,0,0,0,0,0x0000000000000000,0), (12865,0,0,0,0,0,0,0x0000000000000000,0), (12864,0,0,0,0,0,0,0x0000000000000000,0), diff --git a/sql/updates/0.10/5084_mangos_command.sql b/sql/updates/0.10/5084_mangos_command.sql index 7c280620e..b0ada71eb 100644 --- a/sql/updates/0.10/5084_mangos_command.sql +++ b/sql/updates/0.10/5084_mangos_command.sql @@ -1,6 +1,6 @@ DELETE FROM command WHERE name IN ('createguild','guild create','guild delete','guild invite','guild rank','guild uninvite'); -INSERT INTO `command` VALUES +INSERT INTO `command` VALUES ('guild create',2,'Syntax: .guild create $GuildLeaderName $GuildName\r\n\r\nCreate a guild named $GuildName with the player $GuildLeaderName as leader.'), ('guild delete',2,'Syntax: .guild delete $GuildName\r\n\r\nDelete guild $GuildName.'), ('guild invite',2,'Syntax: .guild invite $CharacterName $GuildName\r\n\r\nAdd $CharacterName into a guild $GuildName.'), diff --git a/sql/updates/0.10/5092_mangos_item_template.sql b/sql/updates/0.10/5092_mangos_item_template.sql index 91bf982dc..b5c0cc5b9 100644 --- a/sql/updates/0.10/5092_mangos_item_template.sql +++ b/sql/updates/0.10/5092_mangos_item_template.sql @@ -1,2 +1,2 @@ -ALTER TABLE `item_template` +ALTER TABLE `item_template` ADD `Duration` int(11) NOT NULL DEFAULT '0' COMMENT 'Duration in seconds. Negative value means realtime, postive value ingame time'; diff --git a/sql/updates/0.10/5108_characters.sql b/sql/updates/0.10/5108_characters.sql index d679d7790..e8c8cae82 100644 --- a/sql/updates/0.10/5108_characters.sql +++ b/sql/updates/0.10/5108_characters.sql @@ -1,58 +1,58 @@ -ALTER TABLE `guild` ADD COLUMN `BankMoney` bigint(20) NOT NULL DEFAULT 0 AFTER `createdate`; -ALTER TABLE `guild_rank` ADD COLUMN `BankMoneyPerDay` int(11) unsigned NOT NULL default '0' AFTER `rights`; -ALTER TABLE `guild_member` ADD COLUMN `BankResetTimeMoney` int(11) unsigned NOT NULL DEFAULT '0' AFTER `OFFnote`; -ALTER TABLE `guild_member` ADD COLUMN `BankRemMoney` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankResetTimeMoney`; -ALTER TABLE `guild_member` ADD COLUMN `BankResetTimeTab0` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankRemMoney`; -ALTER TABLE `guild_member` ADD COLUMN `BankRemSlotsTab0` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankResetTimeTab0`; -ALTER TABLE `guild_member` ADD COLUMN `BankResetTimeTab1` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankRemSlotsTab0`; -ALTER TABLE `guild_member` ADD COLUMN `BankRemSlotsTab1` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankResetTimeTab1`; -ALTER TABLE `guild_member` ADD COLUMN `BankResetTimeTab2` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankRemSlotsTab1`; -ALTER TABLE `guild_member` ADD COLUMN `BankRemSlotsTab2` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankResetTimeTab2`; -ALTER TABLE `guild_member` ADD COLUMN `BankResetTimeTab3` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankRemSlotsTab2`; -ALTER TABLE `guild_member` ADD COLUMN `BankRemSlotsTab3` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankResetTimeTab3`; -ALTER TABLE `guild_member` ADD COLUMN `BankResetTimeTab4` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankRemSlotsTab3`; -ALTER TABLE `guild_member` ADD COLUMN `BankRemSlotsTab4` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankResetTimeTab4`; -ALTER TABLE `guild_member` ADD COLUMN `BankResetTimeTab5` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankRemSlotsTab4`; -ALTER TABLE `guild_member` ADD COLUMN `BankRemSlotsTab5` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankResetTimeTab5`; - -DROP TABLE IF EXISTS `guild_bank_item`; -CREATE TABLE `guild_bank_item` ( - `guildid` int(11) unsigned NOT NULL default '0', - `TabId` tinyint(1) unsigned NOT NULL default '0', - `SlotId` tinyint(3) unsigned NOT NULL default '0', - `item_guid` int(11) unsigned NOT NULL default '0', - PRIMARY KEY (`guildid`,`tabid`,`slotid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; - -DROP TABLE IF EXISTS `guild_bank_tab`; -CREATE TABLE `guild_bank_tab` ( - `guildid` int(11) unsigned NOT NULL default '0', - `TabId` tinyint(1) unsigned NOT NULL default '0', - `TabName` varchar(100) NOT NULL default '', - `TabIcon` varchar(100) NOT NULL default '', - PRIMARY KEY (`guildid`,`TabId`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; - -DROP TABLE IF EXISTS `guild_bank_right`; -CREATE TABLE `guild_bank_right` ( - `guildid` int(11) unsigned NOT NULL default '0', - `TabId` tinyint(1) unsigned NOT NULL default '0', - `rid` int(11) unsigned NOT NULL default '0', - `Right` tinyint(3) unsigned NOT NULL default '0', - `SlotPerDay` int(11) unsigned NOT NULL default '0', - PRIMARY KEY (`guildid`,`TabId`,`rid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; - -DROP TABLE IF EXISTS `guild_bank_eventlog`; -CREATE TABLE `guild_bank_eventlog` ( - `guildid` int(11) unsigned NOT NULL default '0', - `LogGuid` int(11) unsigned NOT NULL default '0', - `LogEntry` tinyint(1) unsigned NOT NULL default '0', - `TabId` tinyint(1) unsigned NOT NULL default '0', - `PlayerGuid` int(11) unsigned NOT NULL default '0', - `ItemOrMoney` int(11) unsigned NOT NULL default '0', - `ItemStackCount` tinyint(3) unsigned NOT NULL default '0', - `DestTabId` tinyint(1) unsigned NOT NULL default '0', - `TimeStamp` bigint(20) unsigned NOT NULL default '0', - PRIMARY KEY (`guildid`,`LogGuid`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; +ALTER TABLE `guild` ADD COLUMN `BankMoney` bigint(20) NOT NULL DEFAULT 0 AFTER `createdate`; +ALTER TABLE `guild_rank` ADD COLUMN `BankMoneyPerDay` int(11) unsigned NOT NULL default '0' AFTER `rights`; +ALTER TABLE `guild_member` ADD COLUMN `BankResetTimeMoney` int(11) unsigned NOT NULL DEFAULT '0' AFTER `OFFnote`; +ALTER TABLE `guild_member` ADD COLUMN `BankRemMoney` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankResetTimeMoney`; +ALTER TABLE `guild_member` ADD COLUMN `BankResetTimeTab0` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankRemMoney`; +ALTER TABLE `guild_member` ADD COLUMN `BankRemSlotsTab0` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankResetTimeTab0`; +ALTER TABLE `guild_member` ADD COLUMN `BankResetTimeTab1` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankRemSlotsTab0`; +ALTER TABLE `guild_member` ADD COLUMN `BankRemSlotsTab1` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankResetTimeTab1`; +ALTER TABLE `guild_member` ADD COLUMN `BankResetTimeTab2` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankRemSlotsTab1`; +ALTER TABLE `guild_member` ADD COLUMN `BankRemSlotsTab2` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankResetTimeTab2`; +ALTER TABLE `guild_member` ADD COLUMN `BankResetTimeTab3` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankRemSlotsTab2`; +ALTER TABLE `guild_member` ADD COLUMN `BankRemSlotsTab3` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankResetTimeTab3`; +ALTER TABLE `guild_member` ADD COLUMN `BankResetTimeTab4` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankRemSlotsTab3`; +ALTER TABLE `guild_member` ADD COLUMN `BankRemSlotsTab4` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankResetTimeTab4`; +ALTER TABLE `guild_member` ADD COLUMN `BankResetTimeTab5` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankRemSlotsTab4`; +ALTER TABLE `guild_member` ADD COLUMN `BankRemSlotsTab5` int(11) unsigned NOT NULL DEFAULT '0' AFTER `BankResetTimeTab5`; + +DROP TABLE IF EXISTS `guild_bank_item`; +CREATE TABLE `guild_bank_item` ( + `guildid` int(11) unsigned NOT NULL default '0', + `TabId` tinyint(1) unsigned NOT NULL default '0', + `SlotId` tinyint(3) unsigned NOT NULL default '0', + `item_guid` int(11) unsigned NOT NULL default '0', + PRIMARY KEY (`guildid`,`tabid`,`slotid`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +DROP TABLE IF EXISTS `guild_bank_tab`; +CREATE TABLE `guild_bank_tab` ( + `guildid` int(11) unsigned NOT NULL default '0', + `TabId` tinyint(1) unsigned NOT NULL default '0', + `TabName` varchar(100) NOT NULL default '', + `TabIcon` varchar(100) NOT NULL default '', + PRIMARY KEY (`guildid`,`TabId`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +DROP TABLE IF EXISTS `guild_bank_right`; +CREATE TABLE `guild_bank_right` ( + `guildid` int(11) unsigned NOT NULL default '0', + `TabId` tinyint(1) unsigned NOT NULL default '0', + `rid` int(11) unsigned NOT NULL default '0', + `Right` tinyint(3) unsigned NOT NULL default '0', + `SlotPerDay` int(11) unsigned NOT NULL default '0', + PRIMARY KEY (`guildid`,`TabId`,`rid`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + +DROP TABLE IF EXISTS `guild_bank_eventlog`; +CREATE TABLE `guild_bank_eventlog` ( + `guildid` int(11) unsigned NOT NULL default '0', + `LogGuid` int(11) unsigned NOT NULL default '0', + `LogEntry` tinyint(1) unsigned NOT NULL default '0', + `TabId` tinyint(1) unsigned NOT NULL default '0', + `PlayerGuid` int(11) unsigned NOT NULL default '0', + `ItemOrMoney` int(11) unsigned NOT NULL default '0', + `ItemStackCount` tinyint(3) unsigned NOT NULL default '0', + `DestTabId` tinyint(1) unsigned NOT NULL default '0', + `TimeStamp` bigint(20) unsigned NOT NULL default '0', + PRIMARY KEY (`guildid`,`LogGuid`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; diff --git a/sql/updates/0.10/5119_mangos_quest_template.sql b/sql/updates/0.10/5119_mangos_quest_template.sql index 5769f7719..87b4cf317 100644 --- a/sql/updates/0.10/5119_mangos_quest_template.sql +++ b/sql/updates/0.10/5119_mangos_quest_template.sql @@ -1,3 +1,3 @@ -ALTER TABLE `quest_template` +ALTER TABLE `quest_template` ADD `RepObjectiveFaction` int(10) unsigned NOT NULL default '0' AFTER `RequiredSkillValue`, - ADD `RepObjectiveValue` int(10) NOT NULL default '0' AFTER `RepObjectiveFaction`; \ No newline at end of file + ADD `RepObjectiveValue` int(10) NOT NULL default '0' AFTER `RepObjectiveFaction`; diff --git a/sql/updates/0.10/5121_mangos_spell_affect.sql b/sql/updates/0.10/5121_mangos_spell_affect.sql index 7f79fe199..cda542f79 100644 --- a/sql/updates/0.10/5121_mangos_spell_affect.sql +++ b/sql/updates/0.10/5121_mangos_spell_affect.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_affect` WHERE `entry` IN (11071,12496); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (11071,0,0,0,0,0,0,0x0000000000100000,0), (12496,0,0,0,0,0,0,0x0000000000100000,0); diff --git a/sql/updates/0.10/5123_mangos_spell_proc_event.sql b/sql/updates/0.10/5123_mangos_spell_proc_event.sql index df839fcd1..a28c35b40 100644 --- a/sql/updates/0.10/5123_mangos_spell_proc_event.sql +++ b/sql/updates/0.10/5123_mangos_spell_proc_event.sql @@ -13,7 +13,7 @@ INSERT INTO `spell_proc_event` VALUES DELETE FROM `spell_proc_event` WHERE `entry` IN (35083); INSERT INTO `spell_proc_event` VALUES (35083,0,0,0,0,0x0000000000000000,0x00020000,0); - + DELETE FROM `spell_proc_event` WHERE `entry` IN (35086); INSERT INTO `spell_proc_event` VALUES (35086,0,0,0,0,0x0000000000000000,0x08020000,0); diff --git a/sql/updates/0.10/5147_mangos_spell_learn_spell.sql b/sql/updates/0.10/5147_mangos_spell_learn_spell.sql index 0d3708df7..7807a8fef 100644 --- a/sql/updates/0.10/5147_mangos_spell_learn_spell.sql +++ b/sql/updates/0.10/5147_mangos_spell_learn_spell.sql @@ -1,3 +1,3 @@ -INSERT INTO `spell_learn_spell` ( `entry` , `SpellID` , `IfNoSpell` ) VALUES -('17002', '24867', '0'), -('24866', '24864', '0'); +INSERT INTO `spell_learn_spell` ( `entry` , `SpellID` , `IfNoSpell` ) VALUES +('17002', '24867', '0'), +('24866', '24864', '0'); diff --git a/sql/updates/0.10/5159_characters_guild_bank_eventlog.sql b/sql/updates/0.10/5159_characters_guild_bank_eventlog.sql index e098bd9d9..372220d7b 100644 --- a/sql/updates/0.10/5159_characters_guild_bank_eventlog.sql +++ b/sql/updates/0.10/5159_characters_guild_bank_eventlog.sql @@ -1,3 +1,3 @@ -ALTER TABLE `guild_bank_eventlog` +ALTER TABLE `guild_bank_eventlog` ADD KEY `guildid_key` (`guildid`); diff --git a/sql/updates/0.10/5159_characters_guild_bank_item.sql b/sql/updates/0.10/5159_characters_guild_bank_item.sql index 364c6ea2d..56479a7fb 100644 --- a/sql/updates/0.10/5159_characters_guild_bank_item.sql +++ b/sql/updates/0.10/5159_characters_guild_bank_item.sql @@ -1,4 +1,4 @@ -ALTER TABLE `guild_bank_item` +ALTER TABLE `guild_bank_item` ADD COLUMN `item_entry` int(11) unsigned NOT NULL default '0', ADD KEY `item_guid_key` (`item_guid`), ADD KEY `guildid_key` (`guildid`); diff --git a/sql/updates/0.10/5159_characters_guild_bank_right.sql b/sql/updates/0.10/5159_characters_guild_bank_right.sql index 6d64b1599..48183c526 100644 --- a/sql/updates/0.10/5159_characters_guild_bank_right.sql +++ b/sql/updates/0.10/5159_characters_guild_bank_right.sql @@ -1,3 +1,3 @@ -ALTER TABLE `guild_bank_right` +ALTER TABLE `guild_bank_right` ADD KEY `guildid_key` (`guildid`); diff --git a/sql/updates/0.10/5159_characters_guild_bank_tab.sql b/sql/updates/0.10/5159_characters_guild_bank_tab.sql index 6ab0de6f4..2d984e9d5 100644 --- a/sql/updates/0.10/5159_characters_guild_bank_tab.sql +++ b/sql/updates/0.10/5159_characters_guild_bank_tab.sql @@ -1,3 +1,3 @@ -ALTER TABLE `guild_bank_tab` +ALTER TABLE `guild_bank_tab` ADD KEY `guildid_key` (`guildid`); diff --git a/sql/updates/0.10/5159_characters_guild_memeber.sql b/sql/updates/0.10/5159_characters_guild_memeber.sql index 396f2417d..cf1daca32 100644 --- a/sql/updates/0.10/5159_characters_guild_memeber.sql +++ b/sql/updates/0.10/5159_characters_guild_memeber.sql @@ -1,4 +1,4 @@ -ALTER TABLE `guild_member` +ALTER TABLE `guild_member` ADD KEY `guildid_key` (`guildid`), ADD KEY `guildid_rank_key` (`guildid`,`rank`), ADD KEY `guid_key` (`guid`); diff --git a/sql/updates/0.10/5160_mangos_command.sql b/sql/updates/0.10/5160_mangos_command.sql index 807d969ee..6de805497 100644 --- a/sql/updates/0.10/5160_mangos_command.sql +++ b/sql/updates/0.10/5160_mangos_command.sql @@ -1,4 +1,4 @@ -DELETE FROM command WHERE name IN ('info'); - -INSERT INTO `command` VALUES -('info',0,'Syntax: .info\r\n\r\nDisplay server version and the number of connected players.'); +DELETE FROM command WHERE name IN ('info'); + +INSERT INTO `command` VALUES +('info',0,'Syntax: .info\r\n\r\nDisplay server version and the number of connected players.'); diff --git a/sql/updates/0.10/5164_mangos_creature_movement.sql b/sql/updates/0.10/5164_mangos_creature_movement.sql index d01d1cda4..082845ffe 100644 --- a/sql/updates/0.10/5164_mangos_creature_movement.sql +++ b/sql/updates/0.10/5164_mangos_creature_movement.sql @@ -1,5 +1,5 @@ -ALTER TABLE `creature_movement` CHANGE COLUMN `text1` `text1` text; -ALTER TABLE `creature_movement` CHANGE COLUMN `text2` `text2` text; -ALTER TABLE `creature_movement` CHANGE COLUMN `text3` `text3` text; -ALTER TABLE `creature_movement` CHANGE COLUMN `text4` `text4` text; -ALTER TABLE `creature_movement` CHANGE COLUMN `text5` `text5` text; +ALTER TABLE `creature_movement` CHANGE COLUMN `text1` `text1` text; +ALTER TABLE `creature_movement` CHANGE COLUMN `text2` `text2` text; +ALTER TABLE `creature_movement` CHANGE COLUMN `text3` `text3` text; +ALTER TABLE `creature_movement` CHANGE COLUMN `text4` `text4` text; +ALTER TABLE `creature_movement` CHANGE COLUMN `text5` `text5` text; diff --git a/sql/updates/0.10/5165_mangos_mangos_string.sql b/sql/updates/0.10/5165_mangos_mangos_string.sql index ceba771c8..1722148b4 100644 --- a/sql/updates/0.10/5165_mangos_mangos_string.sql +++ b/sql/updates/0.10/5165_mangos_mangos_string.sql @@ -1,468 +1,468 @@ --- --- Table structure for table `mangos_string` --- - -DROP TABLE IF EXISTS `mangos_string`; -CREATE TABLE `mangos_string` ( - `entry` int(11) unsigned NOT NULL default '0', - `content_default` text, - `content_loc1` text, - `content_loc2` text, - `content_loc3` text, - `content_loc4` text, - `content_loc5` text, - `content_loc6` text, - `content_loc7` text, - PRIMARY KEY (`entry`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8; - --- --- Dumping data for table `mangos_string` --- - -LOCK TABLES `mangos_string` WRITE; -/*!40000 ALTER TABLE `mangos_string` DISABLE KEYS */; -INSERT INTO `mangos_string` VALUES -(1,'You should select a character or a creature.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(2,'You should select a creature.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(5,'There is no help for that command',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(6,'There is no such command',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(7,'There is no such subcommand',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(8,'Command %s have subcommands:%s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(9,'Commands available to you:',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(10,'Incorrect syntax.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(11,'Your account level is: %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(12,'Number of users connected: %u (max since last restart: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(13,'Server uptime: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(14,'Player saved.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(15,'All players saved.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(16,'There are the following active GMs on this server:',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(17,'There are no GMs currently logged in on this server.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(18,'Cannot do that while flying.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(19,'Cannot do that in Battlegrounds.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(20,'Target is flying you can\'t do that.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(21,'%s is flying command failed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(22,'You are not mounted so you can\'t dismount.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(23,'Cannot do that while fighting.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(24,'You used it recently.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(25,'Your password can\'t be longer than 16 characters (client limit), password not changed!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(26,'The password was changed',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(27,'The new passwords do not match or the old password is wrong',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(28,'Your account is now locked.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(29,'Your account is now unlocked.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(30,', rank ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(31,' [known]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(3,'|cffff0000[System Message]:|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(4,'|cffff0000[Event Message]: %s|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(32,' [learn]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(33,' [passive]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(34,' [talent]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(35,' [active]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(36,' [complete]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(37,' (offline)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(38,'on',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(39,'off',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(40,'You are: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(41,'visible',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(42,'invisible',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(43,'done',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(44,'You',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(45,' ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(46,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(47,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(48,'UNKNOWN',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(49,'You must be at least level %u to enter.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(50,'You must be at least level %u and have item %s to enter.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(51,'Hello! Ready for some training?',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(100,'Global notify: ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(101,'Map: %u (%s) Zone: %u (%s) Area: %u (%s)\\nX: %f Y: %f Z: %f Orientation: %f\\ngrid[%u,%u]cell[%u,%u] InstanceID: %u\\n ZoneX: %f ZoneY: %f\\nGroundZ: %f FloorZ: %f Have height data (Map: %u VMap: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(102,'%s is already being teleported.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(103,'You can summon a player to your instance only if he is in your party with you as leader.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(104,'You cannot go to the player\'s instance because you are in a party now.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(105,'You can go to the player\'s instance while not being in his party only if your GM mode is on.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(106,'You can not go to player %s from instance to instance.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(107,'You can not summon player %s from instance to instance.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(108,'You are summoning %s%s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(109,'You are being summoned by %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(110,'You are teleporting %s%s to %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(111,'You are being teleported by %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(112,'Player (%s) does not exist.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(113,'Appearing at %s\'s location.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(114,'%s is appearing to your location.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(115,'Incorrect values.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(116,'No character selected.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(117,'%s is not in a group.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(118,'You changed HP of %s to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(119,'%s changed your HP to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(120,'You changed MANA of %s to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(121,'%s changed your MANA to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(122,'You changed ENERGY of %s to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(123,'%s changed your ENERGY to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(124,'Current energy: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(125,'You changed rage of %s to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(126,'%s changed your rage to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(127,'You changed level of %s to %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(128,'GUID %i, faction is %i, flags is %i, npcflag is %i, DY flag is %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(129,'Wrong faction: %u (not found in factiontemplate.dbc).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(130,'You changed GUID=%i \'s Faction to %i, flags to %i, npcflag to %i, dyflag to %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(131,'You changed the spellflatid=%i, val= %i, mark =%i to %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(132,'%s changed your spellflatid=%i, val= %i, mark =%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(133,'%s has access to all taxi nodes now (until logout).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(134,'%s has no more access to all taxi nodes now (only visited accessible).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(135,'%s has given you access to all taxi nodes (until logout).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(136,'%s has removed access to all taxi nodes (only visited still accessible).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(137,'You set all speeds to %2.2f from normal of %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(138,'%s set all your speeds to %2.2f from normal.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(139,'You set the speed to %2.2f from normal of %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(140,'%s set your speed to %2.2f from normal.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(141,'You set the swim speed to %2.2f from normal of %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(142,'%s set your swim speed to %2.2f from normal.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(143,'You set the backwards run speed to %2.2f from normal of %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(144,'%s set your backwards run speed to %2.2f from normal.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(145,'You set the fly speed to %2.2f from normal of %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(146,'%s set your fly speed to %2.2f from normal.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(147,'You set the size %2.2f of %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(148,'%s set your size to %2.2f.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(149,'There is no such mount.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(150,'You give a mount to %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(151,'%s gave you a mount.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(152,'USER1: %i, ADD: %i, DIF: %i\\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(153,'You take all copper of %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(154,'%s took you all of your copper.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(155,'You take %i copper from %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(156,'%s took %i copper from you.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(157,'You give %i copper to %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(158,'%s gave you %i copper.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(159,'You hear sound %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(160,'USER2: %i, ADD: %i, RESULT: %i\\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(161,'Removed bit %i in field %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(162,'Set bit %i in field %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(163,'Teleport location table is empty!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(164,'Teleport location not found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(165,'Requires search parameter.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(166,'There are no teleport locations matching your request.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(167,'No locations found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(168,'Locations found are:\\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(169,'Mail sent to %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(200,'No selection.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(201,'Object GUID is: lowpart %u highpart %X',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(202,'The name was too long by %i characters.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(203,'Error, name can only contain characters A-Z and a-z.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(204,'The subname was too long by %i characters.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(205,'Not yet implemented',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(206,'Item \'%i\' \'%s\' added to list with maxcount \'%i\' and incrtime \'%i\'',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(207,'Item \'%i\' not found in database.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(208,'Item \'%i\' \'%s\' deleted from vendor list',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(209,'Item \'%i\' not found in vendor list.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(210,'Item \'%i\' already in vendor list.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(211,'Spells of %s reset.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(212,'Spells of %s will reset at next login.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(213,'Talents of %s reset.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(214,'Talents of %s will reset at next login.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(215,'Your spells have been reset.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(216,'Your talents have been reset.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(217,'Unknown case \'%s\' for .resetall command. Type full correct case name.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(218,'Spells will reset for all players at login. Strongly recommend re-login!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(219,'Talents will reset for all players at login. Strongly recommend re-login!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(220,'Creature (GUID: %u) No waypoint found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(221,'Creature (GUID: %u) Last waypoint not found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(222,'Creature (GUID: %u) No waypoint found - used \'wpguid\'. Now trying to find it by its position...',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(223,'Creature (GUID: %u) No waypoints found - This is a MaNGOS db problem (single float).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(224,'Selected creature is ignored - provided GUID is used',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(225,'Creature (GUID: %u) not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(226,'You must select a visual waypoint.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(227,'No visual waypoints found',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(228,'Could not create visual waypoint with creatureID: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(229,'All visual waypoints removed',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(230,'Could not create waypoint-creature with ID: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(231,'No GUID provided.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(232,'No waypoint number provided.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(233,'Argument required for \'%s\'.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(234,'Waypoint %i added to GUID: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(235,'Waypoint %d added.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(236,'Waypoint changed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(237,'Waypoint %s modified.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(238,'WP export successfull.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(239,'No waypoints found inside the database.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(240,'File imported.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(241,'Waypoint removed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(242,'Warning: Could not delete WP from the world with ID: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(243,'This happens if the waypoint is too far away from your char.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(244,'The WP is deleted from the database, but not from the world here.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(245,'They will disappear after a server restart.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(246,'Waypoint %d: Info for creature: %s, GUID: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(247,'Waittime: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(248,'Model %d: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(249,'Emote: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(250,'Spell: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(251,'Text %d: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(252,'AIScript: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(253,'Forced rename for player %s will be requested at next login.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(254,'Forced rename for player %s (GUID #%u) will be requested at next login.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(255,'Waypoint-Creature (GUID: %u) Not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(256,'Could not find NPC...',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(257,'Creature movement type set to \'%s\', waypoints removed (if any).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(258,'Creature movement type set to \'%s\', waypoints were not removed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(259,'Incorrect value, use on or off',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(260,'Value saved.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(261,'Value saved, you may need to rejoin or clean your client cache.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(262,'Areatrigger ID %u not found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(263,'Target map or coordinates is invalid (X: %f Y: %f MapId: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(264,'Zone coordinates is invalid (X: %f Y: %f AreaId: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(265,'Zone %u (%s) is part of instanceable map %u (%s)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(266,'Nothing found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(267,'Object not found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(268,'Creature not found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(269,'Warning: Mob found more than once - you will be teleported to the first one found in DB.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(270,'Creature Removed',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(271,'Creature moved.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(272,'Creature (GUID:%u) must be on the same map as player!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(273,'Game Object (GUID: %u) not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(274,'Game Object (GUID: %u) has references in not found creature %u GO list, can\'t be deleted.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(275,'Game Object (GUID: %u) removed',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(276,'Game Object (GUID: %u) turned',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(277,'Game Object (GUID: %u) moved',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(278,'You must select a vendor',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(279,'You must send id for item',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(280,'Vendor has too many items (max 128)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(281,'You can\'t kick self, logout instead',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(282,'Player %s kicked.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(283,'Player %s not found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(284,'Accepting Whisper: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(285,'Accepting Whisper: ON',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(286,'Accepting Whisper: OFF',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(287,'Creature (GUID: %u) not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(288,'Tickets count: %i show new tickets: %s\\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(289,'New ticket from %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(290,'Ticket of %s (Category: %i):\\n%s\\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(291,'New ticket show: ON',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(292,'New ticket show: OFF',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(293,'Ticket %i doesn\'t exist',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(294,'All tickets deleted.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(295,'Character %s ticket deleted.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(296,'Ticket deleted.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(297,'Spawn distance changed to: %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(298,'Spawn time changed to: %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(299,'The honor of %s was set to %u!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(300,'Your chat has been disabled for %u minutes.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(301,'You have disabled %s\'s chat for %u minutes.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(302,'Player\'s chat is already enabled.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(303,'Your chat has been enabled.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(304,'You have enabled %s\'s chat.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(400,'|cffff0000[System Message]:|rScripts reloaded',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(401,'You change security level of %s to %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(402,'%s changed your security level to %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(403,'You have low security level for this.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(404,'Creature movement disabled.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(405,'Creature movement enabled.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(406,'Weather can\'t be changed for this zone.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(407,'Weather system disabled at server.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(408,'%s is banned for %s. Reason: %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(409,'%s is banned permanently for %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(410,'%s %s not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(411,'%s unbanned.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(412,'There was an error removing the ban on %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(413,'There is no such account.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(414,'There is no such character.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(415,'There is no such IP in banlist.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(416,'Account %s has never been banned',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(417,'Ban history for account %s:',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(418,'Ban Date: %s Bantime: %s Still active: %s Reason: %s Set by: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(419,'Inf.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(420,'Never',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(421,'Yes',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(422,'No',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(423,'IP: %s\\nBan Date: %s\\nUnban Date: %s\\nRemaining: %s\\nReason: %s\\nSet by: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(424,'There is no matching IPban.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(425,'There is no matching account.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(426,'There is no banned account owning a character matching this part.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(427,'The following IPs match your pattern:',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(428,'The following accounts match your query:',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(429,'You learned many spells/skills.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(430,'You learned all spells for class.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(431,'You learned all talents for class.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(432,'You learned all languages.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(433,'You learned all craft skills and recipes.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(434,'Could not find \'%s\'',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(435,'Invalid item id: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(436,'No items found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(437,'Invalid gameobject id: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(438,'Found items %u: %u ( inventory %u mail %u auction %u )',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(439,'Found gameobjects %u: %u ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(440,'Invalid creature id: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(441,'Found creatures %u: %u ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(442,'No area found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(443,'No item sets found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(444,'No skills found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(445,'No spells found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(446,'No quests found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(447,'No creatures found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(448,'No gameobjects found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(449,'Graveyard #%u doesn\'t exist.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(450,'Graveyard #%u already linked to zone #%u (current).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(451,'Graveyard #%u linked to zone #%u (current).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(452,'Graveyard #%u can\'t be linked to subzone or not existed zone #%u (internal error).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(453,'Graveyard can be linked to zone at another map only for all factions (no faction value).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(454,'No faction in Graveyard with id= #%u , fix your DB',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(455,'invalid team, please fix database',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(456,'any',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(457,'alliance',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(458,'horde',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(459,'Graveyard #%u (faction: %s) is nearest from linked to zone #%u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(460,'Zone #%u doesn\'t have linked graveyards.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(461,'Zone #%u doesn\'t have linked graveyards for faction: %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(462,'Teleport location already exists!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(463,'Teleport location added.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(464,'Teleport location NOT added: database error.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(465,'Teleport location deleted.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(466,'Teleport location NOT deleted: database error.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(467,'Target unit has %d auras:',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(468,'id: %d eff: %d type: %d duration: %d maxduration: %d name: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(469,'Target unit has %d auras of type %d:',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(470,'id: %d eff: %d name: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(471,'Quest %u not found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(472,'Quest %u started from item. For correct work, please, add item to inventory and start quest in normal way: .additem %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(473,'Quest removed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(474,' [rewarded]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(475,' [complete]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(476,' [active]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(477,'%s\'s Fly Mode %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(478,'Opcode %u sent to %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(479,'Character loaded successfully!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(480,'Failed to load the character!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(481,'Character dumped successfully!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(482,'Character dump failed!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(483,'Spell %u broken and not allowed to cast or learn!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(484,'Skill %u (%s) for player %s set to %u and current maximum set to %u (without permanent (talent) bonuses).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(485,'Player %s must have skill %u (%s) before using this command.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(486,'Invalid skill id (%u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(487,'You learned default GM spells/skills.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(488,'You already know that spell.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(489,'Target(%s) already know that spell.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(490,'%s doesn\'t know that spell.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(491,'You already forgot that spell.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(492,'All spell cooldowns removed for %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(493,'Spell %u cooldown removed for %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(494,'Command : Additem, itemId = %i, amount = %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(495,'Command : Additemset, itemsetId = %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(496,'Removed itemID = %i, amount = %i from %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(497,'Cannot create item \'%i\' (amount: %i)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(498,'You need to provide a guild name!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(499,'Player not found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(500,'Player already has a guild!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(501,'Guild not created! (already exists?)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(502,'No items from itemset \'%u\' found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(503,'The distance is: (3D) %f (2D) %f yards.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(504,'Item \'%i\' \'%s\' Item Slot %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(505,'Item \'%i\' doesn\'t exist.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(506,'Item \'%i\' \'%s\' Added to Slot %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(507,'Item save failed!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(508,'%d - owner: %s (guid: %u account: %u ) %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(509,'%d - sender: %s (guid: %u account: %u ) receiver: %s (guid: %u account: %u ) %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(510,'%d - owner: %s (guid: %u account: %u ) %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(511,'Wrong link type!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(512,'%d - |cffffffff|Hitem:%d:0:0:0:0:0:0:0|h[%s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(513,'%d - |cffffffff|Hquest:%d|h[%s]|h|r %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(514,'%d - |cffffffff|Hcreature_entry:%d|h[%s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(515,'%d - |cffffffff|Hcreature:%d|h[%s X:%f Y:%f Z:%f MapId:%d]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(516,'%d - |cffffffff|Hgameobject_entry:%d|h[%s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(517,'%d - |cffffffff|Hgameobject:%d|h[%s X:%f Y:%f Z:%f MapId:%d]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(518,'%d - |cffffffff|Hitemset:%d|h[%s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(519,'|cffffffff|Htele:%s|h[%s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(520,'%d - |cffffffff|Hspell:%d|h[%s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(521,'%d - |cffffffff|Hskill:%d|h[%s]|h|r %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(522,'Game Object (GUID: %u) not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(523,'>> Game Object %s (GUID: %u) at %f %f %f. Orientation %f.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(524,'Selected object:\\n%s\\nGUID: %u ID: %u\\nX: %f Y: %f Z: %f MapId: %u\\nOrientation: %f',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(525,'>> Add Game Object \'%i\' (%s) (GUID: %i) added at \'%f %f %f\'.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(526,'%s (lowguid: %u) movement generators stack:',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(527,' Idle',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(528,' Random',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(529,' Waypoint',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(530,' Animal random',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(531,' Confused',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(532,' Targeted to player %s (lowguid %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(533,' Targeted to creature %s (lowguid %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(534,' Targeted to ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(535,' Home movement to (X:%f Y:%f Z:%f)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(536,' Home movement used for player?!?',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(537,' Taxi flight',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(538,' Unknown movement generator (%u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(539,'Player selected NPC\\nGUID: %u.\\nFaction: %u.\\nnpcFlags: %u.\\nEntry: %u.\\nDisplayID: %u (Native: %u).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(540,'Level: %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(541,'Health (base): %u. (max): %u. (current): %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(542,'Field Flags: %u.\\nDynamic Flags: %u.\\nFaction Template: %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(543,'Loot: %u Pickpocket: %u Skinning: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(544,'Position: %f %f %f.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(545,'*** Is a vendor!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(546,'*** Is a trainer!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(547,'InstanceID: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(548,'Player%s %s (guid: %u) Account: %s (id: %u) GMLevel: %u Last IP: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(549,'Played time: %s Level: %u Money: %ug%us%uc',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(550,'Command .pinfo doesn\'t support \'rep\' option for offline players.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(551,'%s has explored all zones now.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(552,'%s has no more explored zones.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(553,'%s has explored all zones for you.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(554,'%s has hidden all zones from you.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(555,'Hover enabled',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(556,'Hover disabled',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(557,'You have been leveled up (%i)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(558,'You have been leveled down (%i)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(559,'Your level progress has been reset.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(560,'The area has been set as explored.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(561,'The area has been set as not explored.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(562,'GUID=%i \'s updateIndex: %i, value: %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(563,'You change GUID=%i \'s UpdateIndex: %i value to %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(564,'The value index %u is too big to %u(count: %u).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(565,'Set %u uint32 Value:[OPCODE]:%u [VALUE]:%u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(566,'You Set %u Field:%u to uint32 Value: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(567,'Set %u float Value:[OPCODE]:%u [VALUE]:%f',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(568,'You Set %u Field:%i to float Value: %f',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(569,'Get %u uint32 Value:[OPCODE]:%u [VALUE]:%u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(570,'The uint32 value of %u in %u is: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(571,'Get %u float Value:[OPCODE]:%u [VALUE]:%f',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(572,'The float of %u value in %u is: %f',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(573,'.Set32Bit:[OPCODE]:%u [VALUE]:%u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(574,'You set Bit of Field:%u to Value: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(575,'.Mod32Value:[OPCODE]:%u [VALUE]:%i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(576,'You modified the value of Field:%u to Value: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(577,'You are now invisible.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(578,'You are now visible.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(600,'The Alliance wins!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(601,'The Horde wins!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(602,'The battle for Warsong Gulch begins in 1 minute.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(603,'The battle for Warsong Gulch begins in 30 seconds. Prepare yourselves!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(604,'Let the battle for Warsong Gulch begin!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(605,'$n captured the Horde flag!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(606,'$n captured the Alliance flag!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(607,'The Horde flag was dropped by $n!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(608,'The Alliance Flag was dropped by $n!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(609,'The Alliance Flag was returned to its base by $n!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(610,'The Horde flag was returned to its base by $n!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(611,'The Horde flag was picked up by $n!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(612,'The Alliance Flag was picked up by $n!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(613,'The flags are now placed at their bases.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(650,'Alliance',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(651,'Horde',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(652,'stables',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(653,'blacksmith',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(654,'farm',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(655,'lumber mill',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(656,'mine',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(657,'The %s has taken the %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(658,'$n has defended the %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(659,'$n has assaulted the %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(660,'$n claims the %s! If left unchallenged, the %s will control it in 1 minute!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(661,'The Battle for Arathi Basin begins in 1 minute.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(662,'The Battle for Arathi Basin begins in 30 seconds. Prepare yourselves!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(663,'The Battle for Arathi Basin has begun!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(664,'The Alliance has gathered $1776W resources, and is near victory!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(665,'The Horde has gathered $1777W resources, and is near victory!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(700,'You must be level %u to form an arena team',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(701,'One minute until the Arena battle begins!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(702,'Thirty seconds until the Arena battle begins!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(703,'Fifteen seconds until the Arena battle begins!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(704,'The Arena battle has begun!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(705,'You must wait %s before speaking again.',NULL,NULL,NULL,NULL,NULL,NULL,NULL); -/*!40000 ALTER TABLE `mangos_string` ENABLE KEYS */; -UNLOCK TABLES; +-- +-- Table structure for table `mangos_string` +-- + +DROP TABLE IF EXISTS `mangos_string`; +CREATE TABLE `mangos_string` ( + `entry` int(11) unsigned NOT NULL default '0', + `content_default` text, + `content_loc1` text, + `content_loc2` text, + `content_loc3` text, + `content_loc4` text, + `content_loc5` text, + `content_loc6` text, + `content_loc7` text, + PRIMARY KEY (`entry`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- +-- Dumping data for table `mangos_string` +-- + +LOCK TABLES `mangos_string` WRITE; +/*!40000 ALTER TABLE `mangos_string` DISABLE KEYS */; +INSERT INTO `mangos_string` VALUES +(1,'You should select a character or a creature.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(2,'You should select a creature.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(5,'There is no help for that command',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(6,'There is no such command',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(7,'There is no such subcommand',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(8,'Command %s have subcommands:%s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(9,'Commands available to you:',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(10,'Incorrect syntax.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(11,'Your account level is: %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(12,'Number of users connected: %u (max since last restart: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(13,'Server uptime: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(14,'Player saved.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(15,'All players saved.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(16,'There are the following active GMs on this server:',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(17,'There are no GMs currently logged in on this server.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(18,'Cannot do that while flying.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(19,'Cannot do that in Battlegrounds.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(20,'Target is flying you can\'t do that.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(21,'%s is flying command failed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(22,'You are not mounted so you can\'t dismount.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(23,'Cannot do that while fighting.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(24,'You used it recently.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(25,'Your password can\'t be longer than 16 characters (client limit), password not changed!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(26,'The password was changed',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(27,'The new passwords do not match or the old password is wrong',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(28,'Your account is now locked.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(29,'Your account is now unlocked.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(30,', rank ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(31,' [known]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(3,'|cffff0000[System Message]:|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(4,'|cffff0000[Event Message]: %s|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(32,' [learn]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(33,' [passive]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(34,' [talent]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(35,' [active]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(36,' [complete]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(37,' (offline)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(38,'on',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(39,'off',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(40,'You are: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(41,'visible',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(42,'invisible',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(43,'done',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(44,'You',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(45,' ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(46,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(47,'',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(48,'UNKNOWN',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(49,'You must be at least level %u to enter.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(50,'You must be at least level %u and have item %s to enter.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(51,'Hello! Ready for some training?',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(100,'Global notify: ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(101,'Map: %u (%s) Zone: %u (%s) Area: %u (%s)\\nX: %f Y: %f Z: %f Orientation: %f\\ngrid[%u,%u]cell[%u,%u] InstanceID: %u\\n ZoneX: %f ZoneY: %f\\nGroundZ: %f FloorZ: %f Have height data (Map: %u VMap: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(102,'%s is already being teleported.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(103,'You can summon a player to your instance only if he is in your party with you as leader.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(104,'You cannot go to the player\'s instance because you are in a party now.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(105,'You can go to the player\'s instance while not being in his party only if your GM mode is on.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(106,'You can not go to player %s from instance to instance.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(107,'You can not summon player %s from instance to instance.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(108,'You are summoning %s%s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(109,'You are being summoned by %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(110,'You are teleporting %s%s to %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(111,'You are being teleported by %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(112,'Player (%s) does not exist.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(113,'Appearing at %s\'s location.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(114,'%s is appearing to your location.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(115,'Incorrect values.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(116,'No character selected.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(117,'%s is not in a group.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(118,'You changed HP of %s to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(119,'%s changed your HP to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(120,'You changed MANA of %s to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(121,'%s changed your MANA to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(122,'You changed ENERGY of %s to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(123,'%s changed your ENERGY to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(124,'Current energy: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(125,'You changed rage of %s to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(126,'%s changed your rage to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(127,'You changed level of %s to %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(128,'GUID %i, faction is %i, flags is %i, npcflag is %i, DY flag is %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(129,'Wrong faction: %u (not found in factiontemplate.dbc).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(130,'You changed GUID=%i \'s Faction to %i, flags to %i, npcflag to %i, dyflag to %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(131,'You changed the spellflatid=%i, val= %i, mark =%i to %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(132,'%s changed your spellflatid=%i, val= %i, mark =%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(133,'%s has access to all taxi nodes now (until logout).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(134,'%s has no more access to all taxi nodes now (only visited accessible).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(135,'%s has given you access to all taxi nodes (until logout).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(136,'%s has removed access to all taxi nodes (only visited still accessible).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(137,'You set all speeds to %2.2f from normal of %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(138,'%s set all your speeds to %2.2f from normal.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(139,'You set the speed to %2.2f from normal of %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(140,'%s set your speed to %2.2f from normal.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(141,'You set the swim speed to %2.2f from normal of %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(142,'%s set your swim speed to %2.2f from normal.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(143,'You set the backwards run speed to %2.2f from normal of %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(144,'%s set your backwards run speed to %2.2f from normal.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(145,'You set the fly speed to %2.2f from normal of %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(146,'%s set your fly speed to %2.2f from normal.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(147,'You set the size %2.2f of %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(148,'%s set your size to %2.2f.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(149,'There is no such mount.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(150,'You give a mount to %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(151,'%s gave you a mount.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(152,'USER1: %i, ADD: %i, DIF: %i\\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(153,'You take all copper of %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(154,'%s took you all of your copper.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(155,'You take %i copper from %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(156,'%s took %i copper from you.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(157,'You give %i copper to %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(158,'%s gave you %i copper.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(159,'You hear sound %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(160,'USER2: %i, ADD: %i, RESULT: %i\\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(161,'Removed bit %i in field %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(162,'Set bit %i in field %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(163,'Teleport location table is empty!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(164,'Teleport location not found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(165,'Requires search parameter.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(166,'There are no teleport locations matching your request.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(167,'No locations found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(168,'Locations found are:\\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(169,'Mail sent to %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(200,'No selection.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(201,'Object GUID is: lowpart %u highpart %X',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(202,'The name was too long by %i characters.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(203,'Error, name can only contain characters A-Z and a-z.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(204,'The subname was too long by %i characters.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(205,'Not yet implemented',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(206,'Item \'%i\' \'%s\' added to list with maxcount \'%i\' and incrtime \'%i\'',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(207,'Item \'%i\' not found in database.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(208,'Item \'%i\' \'%s\' deleted from vendor list',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(209,'Item \'%i\' not found in vendor list.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(210,'Item \'%i\' already in vendor list.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(211,'Spells of %s reset.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(212,'Spells of %s will reset at next login.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(213,'Talents of %s reset.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(214,'Talents of %s will reset at next login.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(215,'Your spells have been reset.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(216,'Your talents have been reset.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(217,'Unknown case \'%s\' for .resetall command. Type full correct case name.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(218,'Spells will reset for all players at login. Strongly recommend re-login!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(219,'Talents will reset for all players at login. Strongly recommend re-login!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(220,'Creature (GUID: %u) No waypoint found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(221,'Creature (GUID: %u) Last waypoint not found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(222,'Creature (GUID: %u) No waypoint found - used \'wpguid\'. Now trying to find it by its position...',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(223,'Creature (GUID: %u) No waypoints found - This is a MaNGOS db problem (single float).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(224,'Selected creature is ignored - provided GUID is used',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(225,'Creature (GUID: %u) not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(226,'You must select a visual waypoint.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(227,'No visual waypoints found',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(228,'Could not create visual waypoint with creatureID: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(229,'All visual waypoints removed',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(230,'Could not create waypoint-creature with ID: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(231,'No GUID provided.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(232,'No waypoint number provided.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(233,'Argument required for \'%s\'.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(234,'Waypoint %i added to GUID: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(235,'Waypoint %d added.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(236,'Waypoint changed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(237,'Waypoint %s modified.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(238,'WP export successfull.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(239,'No waypoints found inside the database.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(240,'File imported.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(241,'Waypoint removed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(242,'Warning: Could not delete WP from the world with ID: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(243,'This happens if the waypoint is too far away from your char.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(244,'The WP is deleted from the database, but not from the world here.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(245,'They will disappear after a server restart.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(246,'Waypoint %d: Info for creature: %s, GUID: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(247,'Waittime: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(248,'Model %d: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(249,'Emote: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(250,'Spell: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(251,'Text %d: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(252,'AIScript: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(253,'Forced rename for player %s will be requested at next login.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(254,'Forced rename for player %s (GUID #%u) will be requested at next login.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(255,'Waypoint-Creature (GUID: %u) Not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(256,'Could not find NPC...',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(257,'Creature movement type set to \'%s\', waypoints removed (if any).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(258,'Creature movement type set to \'%s\', waypoints were not removed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(259,'Incorrect value, use on or off',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(260,'Value saved.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(261,'Value saved, you may need to rejoin or clean your client cache.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(262,'Areatrigger ID %u not found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(263,'Target map or coordinates is invalid (X: %f Y: %f MapId: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(264,'Zone coordinates is invalid (X: %f Y: %f AreaId: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(265,'Zone %u (%s) is part of instanceable map %u (%s)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(266,'Nothing found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(267,'Object not found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(268,'Creature not found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(269,'Warning: Mob found more than once - you will be teleported to the first one found in DB.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(270,'Creature Removed',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(271,'Creature moved.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(272,'Creature (GUID:%u) must be on the same map as player!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(273,'Game Object (GUID: %u) not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(274,'Game Object (GUID: %u) has references in not found creature %u GO list, can\'t be deleted.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(275,'Game Object (GUID: %u) removed',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(276,'Game Object (GUID: %u) turned',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(277,'Game Object (GUID: %u) moved',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(278,'You must select a vendor',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(279,'You must send id for item',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(280,'Vendor has too many items (max 128)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(281,'You can\'t kick self, logout instead',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(282,'Player %s kicked.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(283,'Player %s not found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(284,'Accepting Whisper: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(285,'Accepting Whisper: ON',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(286,'Accepting Whisper: OFF',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(287,'Creature (GUID: %u) not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(288,'Tickets count: %i show new tickets: %s\\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(289,'New ticket from %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(290,'Ticket of %s (Category: %i):\\n%s\\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(291,'New ticket show: ON',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(292,'New ticket show: OFF',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(293,'Ticket %i doesn\'t exist',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(294,'All tickets deleted.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(295,'Character %s ticket deleted.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(296,'Ticket deleted.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(297,'Spawn distance changed to: %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(298,'Spawn time changed to: %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(299,'The honor of %s was set to %u!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(300,'Your chat has been disabled for %u minutes.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(301,'You have disabled %s\'s chat for %u minutes.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(302,'Player\'s chat is already enabled.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(303,'Your chat has been enabled.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(304,'You have enabled %s\'s chat.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(400,'|cffff0000[System Message]:|rScripts reloaded',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(401,'You change security level of %s to %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(402,'%s changed your security level to %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(403,'You have low security level for this.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(404,'Creature movement disabled.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(405,'Creature movement enabled.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(406,'Weather can\'t be changed for this zone.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(407,'Weather system disabled at server.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(408,'%s is banned for %s. Reason: %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(409,'%s is banned permanently for %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(410,'%s %s not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(411,'%s unbanned.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(412,'There was an error removing the ban on %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(413,'There is no such account.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(414,'There is no such character.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(415,'There is no such IP in banlist.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(416,'Account %s has never been banned',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(417,'Ban history for account %s:',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(418,'Ban Date: %s Bantime: %s Still active: %s Reason: %s Set by: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(419,'Inf.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(420,'Never',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(421,'Yes',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(422,'No',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(423,'IP: %s\\nBan Date: %s\\nUnban Date: %s\\nRemaining: %s\\nReason: %s\\nSet by: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(424,'There is no matching IPban.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(425,'There is no matching account.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(426,'There is no banned account owning a character matching this part.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(427,'The following IPs match your pattern:',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(428,'The following accounts match your query:',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(429,'You learned many spells/skills.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(430,'You learned all spells for class.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(431,'You learned all talents for class.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(432,'You learned all languages.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(433,'You learned all craft skills and recipes.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(434,'Could not find \'%s\'',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(435,'Invalid item id: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(436,'No items found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(437,'Invalid gameobject id: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(438,'Found items %u: %u ( inventory %u mail %u auction %u )',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(439,'Found gameobjects %u: %u ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(440,'Invalid creature id: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(441,'Found creatures %u: %u ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(442,'No area found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(443,'No item sets found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(444,'No skills found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(445,'No spells found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(446,'No quests found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(447,'No creatures found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(448,'No gameobjects found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(449,'Graveyard #%u doesn\'t exist.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(450,'Graveyard #%u already linked to zone #%u (current).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(451,'Graveyard #%u linked to zone #%u (current).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(452,'Graveyard #%u can\'t be linked to subzone or not existed zone #%u (internal error).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(453,'Graveyard can be linked to zone at another map only for all factions (no faction value).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(454,'No faction in Graveyard with id= #%u , fix your DB',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(455,'invalid team, please fix database',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(456,'any',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(457,'alliance',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(458,'horde',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(459,'Graveyard #%u (faction: %s) is nearest from linked to zone #%u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(460,'Zone #%u doesn\'t have linked graveyards.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(461,'Zone #%u doesn\'t have linked graveyards for faction: %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(462,'Teleport location already exists!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(463,'Teleport location added.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(464,'Teleport location NOT added: database error.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(465,'Teleport location deleted.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(466,'Teleport location NOT deleted: database error.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(467,'Target unit has %d auras:',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(468,'id: %d eff: %d type: %d duration: %d maxduration: %d name: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(469,'Target unit has %d auras of type %d:',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(470,'id: %d eff: %d name: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(471,'Quest %u not found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(472,'Quest %u started from item. For correct work, please, add item to inventory and start quest in normal way: .additem %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(473,'Quest removed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(474,' [rewarded]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(475,' [complete]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(476,' [active]',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(477,'%s\'s Fly Mode %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(478,'Opcode %u sent to %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(479,'Character loaded successfully!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(480,'Failed to load the character!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(481,'Character dumped successfully!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(482,'Character dump failed!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(483,'Spell %u broken and not allowed to cast or learn!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(484,'Skill %u (%s) for player %s set to %u and current maximum set to %u (without permanent (talent) bonuses).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(485,'Player %s must have skill %u (%s) before using this command.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(486,'Invalid skill id (%u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(487,'You learned default GM spells/skills.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(488,'You already know that spell.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(489,'Target(%s) already know that spell.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(490,'%s doesn\'t know that spell.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(491,'You already forgot that spell.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(492,'All spell cooldowns removed for %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(493,'Spell %u cooldown removed for %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(494,'Command : Additem, itemId = %i, amount = %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(495,'Command : Additemset, itemsetId = %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(496,'Removed itemID = %i, amount = %i from %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(497,'Cannot create item \'%i\' (amount: %i)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(498,'You need to provide a guild name!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(499,'Player not found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(500,'Player already has a guild!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(501,'Guild not created! (already exists?)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(502,'No items from itemset \'%u\' found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(503,'The distance is: (3D) %f (2D) %f yards.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(504,'Item \'%i\' \'%s\' Item Slot %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(505,'Item \'%i\' doesn\'t exist.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(506,'Item \'%i\' \'%s\' Added to Slot %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(507,'Item save failed!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(508,'%d - owner: %s (guid: %u account: %u ) %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(509,'%d - sender: %s (guid: %u account: %u ) receiver: %s (guid: %u account: %u ) %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(510,'%d - owner: %s (guid: %u account: %u ) %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(511,'Wrong link type!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(512,'%d - |cffffffff|Hitem:%d:0:0:0:0:0:0:0|h[%s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(513,'%d - |cffffffff|Hquest:%d|h[%s]|h|r %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(514,'%d - |cffffffff|Hcreature_entry:%d|h[%s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(515,'%d - |cffffffff|Hcreature:%d|h[%s X:%f Y:%f Z:%f MapId:%d]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(516,'%d - |cffffffff|Hgameobject_entry:%d|h[%s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(517,'%d - |cffffffff|Hgameobject:%d|h[%s X:%f Y:%f Z:%f MapId:%d]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(518,'%d - |cffffffff|Hitemset:%d|h[%s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(519,'|cffffffff|Htele:%s|h[%s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(520,'%d - |cffffffff|Hspell:%d|h[%s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(521,'%d - |cffffffff|Hskill:%d|h[%s]|h|r %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(522,'Game Object (GUID: %u) not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(523,'>> Game Object %s (GUID: %u) at %f %f %f. Orientation %f.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(524,'Selected object:\\n%s\\nGUID: %u ID: %u\\nX: %f Y: %f Z: %f MapId: %u\\nOrientation: %f',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(525,'>> Add Game Object \'%i\' (%s) (GUID: %i) added at \'%f %f %f\'.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(526,'%s (lowguid: %u) movement generators stack:',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(527,' Idle',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(528,' Random',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(529,' Waypoint',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(530,' Animal random',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(531,' Confused',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(532,' Targeted to player %s (lowguid %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(533,' Targeted to creature %s (lowguid %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(534,' Targeted to ',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(535,' Home movement to (X:%f Y:%f Z:%f)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(536,' Home movement used for player?!?',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(537,' Taxi flight',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(538,' Unknown movement generator (%u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(539,'Player selected NPC\\nGUID: %u.\\nFaction: %u.\\nnpcFlags: %u.\\nEntry: %u.\\nDisplayID: %u (Native: %u).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(540,'Level: %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(541,'Health (base): %u. (max): %u. (current): %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(542,'Field Flags: %u.\\nDynamic Flags: %u.\\nFaction Template: %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(543,'Loot: %u Pickpocket: %u Skinning: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(544,'Position: %f %f %f.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(545,'*** Is a vendor!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(546,'*** Is a trainer!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(547,'InstanceID: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(548,'Player%s %s (guid: %u) Account: %s (id: %u) GMLevel: %u Last IP: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(549,'Played time: %s Level: %u Money: %ug%us%uc',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(550,'Command .pinfo doesn\'t support \'rep\' option for offline players.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(551,'%s has explored all zones now.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(552,'%s has no more explored zones.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(553,'%s has explored all zones for you.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(554,'%s has hidden all zones from you.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(555,'Hover enabled',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(556,'Hover disabled',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(557,'You have been leveled up (%i)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(558,'You have been leveled down (%i)',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(559,'Your level progress has been reset.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(560,'The area has been set as explored.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(561,'The area has been set as not explored.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(562,'GUID=%i \'s updateIndex: %i, value: %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(563,'You change GUID=%i \'s UpdateIndex: %i value to %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(564,'The value index %u is too big to %u(count: %u).',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(565,'Set %u uint32 Value:[OPCODE]:%u [VALUE]:%u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(566,'You Set %u Field:%u to uint32 Value: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(567,'Set %u float Value:[OPCODE]:%u [VALUE]:%f',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(568,'You Set %u Field:%i to float Value: %f',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(569,'Get %u uint32 Value:[OPCODE]:%u [VALUE]:%u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(570,'The uint32 value of %u in %u is: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(571,'Get %u float Value:[OPCODE]:%u [VALUE]:%f',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(572,'The float of %u value in %u is: %f',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(573,'.Set32Bit:[OPCODE]:%u [VALUE]:%u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(574,'You set Bit of Field:%u to Value: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(575,'.Mod32Value:[OPCODE]:%u [VALUE]:%i',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(576,'You modified the value of Field:%u to Value: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(577,'You are now invisible.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(578,'You are now visible.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(600,'The Alliance wins!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(601,'The Horde wins!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(602,'The battle for Warsong Gulch begins in 1 minute.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(603,'The battle for Warsong Gulch begins in 30 seconds. Prepare yourselves!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(604,'Let the battle for Warsong Gulch begin!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(605,'$n captured the Horde flag!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(606,'$n captured the Alliance flag!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(607,'The Horde flag was dropped by $n!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(608,'The Alliance Flag was dropped by $n!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(609,'The Alliance Flag was returned to its base by $n!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(610,'The Horde flag was returned to its base by $n!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(611,'The Horde flag was picked up by $n!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(612,'The Alliance Flag was picked up by $n!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(613,'The flags are now placed at their bases.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(650,'Alliance',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(651,'Horde',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(652,'stables',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(653,'blacksmith',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(654,'farm',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(655,'lumber mill',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(656,'mine',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(657,'The %s has taken the %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(658,'$n has defended the %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(659,'$n has assaulted the %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(660,'$n claims the %s! If left unchallenged, the %s will control it in 1 minute!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(661,'The Battle for Arathi Basin begins in 1 minute.',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(662,'The Battle for Arathi Basin begins in 30 seconds. Prepare yourselves!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(663,'The Battle for Arathi Basin has begun!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(664,'The Alliance has gathered $1776W resources, and is near victory!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(665,'The Horde has gathered $1777W resources, and is near victory!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(700,'You must be level %u to form an arena team',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(701,'One minute until the Arena battle begins!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(702,'Thirty seconds until the Arena battle begins!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(703,'Fifteen seconds until the Arena battle begins!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(704,'The Arena battle has begun!',NULL,NULL,NULL,NULL,NULL,NULL,NULL), +(705,'You must wait %s before speaking again.',NULL,NULL,NULL,NULL,NULL,NULL,NULL); +/*!40000 ALTER TABLE `mangos_string` ENABLE KEYS */; +UNLOCK TABLES; diff --git a/sql/updates/0.10/5191_mangos_spell_threat.sql b/sql/updates/0.10/5191_mangos_spell_threat.sql index c7afd1738..4de88005a 100644 --- a/sql/updates/0.10/5191_mangos_spell_threat.sql +++ b/sql/updates/0.10/5191_mangos_spell_threat.sql @@ -1,3 +1,3 @@ DELETE FROM `spell_threat` WHERE `entry` = 2139; -INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES -(2139, 300); \ No newline at end of file +INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES +(2139, 300); diff --git a/sql/updates/0.10/5197_mangos_spell_affect.sql b/sql/updates/0.10/5197_mangos_spell_affect.sql index 55bf7151c..1b113b4a1 100644 --- a/sql/updates/0.10/5197_mangos_spell_affect.sql +++ b/sql/updates/0.10/5197_mangos_spell_affect.sql @@ -1,175 +1,175 @@ -DELETE FROM `spell_affect` WHERE `entry` IN (33167); -INSERT INTO `spell_affect` VALUES (33167, 0, 0, 0x00, 0, 0, 0, 0x0000000100000000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (33171); -INSERT INTO `spell_affect` VALUES (33171, 0, 0, 0x00, 0, 0, 0, 0x0000000100000000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (33172); -INSERT INTO `spell_affect` VALUES (33172, 0, 0, 0x00, 0, 0, 0, 0x0000000100000000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (23236); -INSERT INTO `spell_affect` VALUES (23236, 0, 0, 0x00, 0, 0, 0, 0x0000003419541EC0, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (37880); -INSERT INTO `spell_affect` VALUES (37880, 0, 0, 0x00, 0, 0, 0, 0x0000000411041E40, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (15259); -INSERT INTO `spell_affect` VALUES (15259, 0, 0, 0x00, 0, 0, 0, 0x0000000202002000, 0); -INSERT INTO `spell_affect` VALUES (15259, 1, 0, 0x00, 0, 0, 0, 0x0000040000808000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (15307); -INSERT INTO `spell_affect` VALUES (15307, 0, 0, 0x00, 0, 0, 0, 0x0000000202002000, 0); -INSERT INTO `spell_affect` VALUES (15307, 1, 0, 0x00, 0, 0, 0, 0x0000040000808000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (15308); -INSERT INTO `spell_affect` VALUES (15308, 0, 0, 0x00, 0, 0, 0, 0x0000000202002000, 0); -INSERT INTO `spell_affect` VALUES (15308, 1, 0, 0x00, 0, 0, 0, 0x0000040000808000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (15309); -INSERT INTO `spell_affect` VALUES (15309, 0, 0, 0x00, 0, 0, 0, 0x0000000202002000, 0); -INSERT INTO `spell_affect` VALUES (15309, 1, 0, 0x00, 0, 0, 0, 0x0000040000808000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (15310); -INSERT INTO `spell_affect` VALUES (15310, 0, 0, 0x00, 0, 0, 0, 0x0000000202002000, 0); -INSERT INTO `spell_affect` VALUES (15310, 1, 0, 0x00, 0, 0, 0, 0x0000040000808000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14743); -INSERT INTO `spell_affect` VALUES (14743, 0, 0, 0x00, 0, 0, 0, 0x0000049440963E90, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (27828); -INSERT INTO `spell_affect` VALUES (27828, 0, 0, 0x00, 0, 0, 0, 0x0000049440963E90, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (33186); -INSERT INTO `spell_affect` VALUES (33186, 0, 0, 0x00, 0, 0, 0, 0x0000008000000000, 0); -INSERT INTO `spell_affect` VALUES (33186, 1, 0, 0x00, 0, 0, 0, 0x0000008000002080, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (33190); -INSERT INTO `spell_affect` VALUES (33190, 0, 0, 0x00, 0, 0, 0, 0x0000008000000000, 0); -INSERT INTO `spell_affect` VALUES (33190, 1, 0, 0x00, 0, 0, 0, 0x0000008000002080, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (18544); -INSERT INTO `spell_affect` VALUES (18544, 0, 0, 0x00, 0, 0, 0, 0x0000041202F8A090, 0); -INSERT INTO `spell_affect` VALUES (18544, 1, 0, 0x00, 0, 0, 0, 0x0000001202582090, 0); -INSERT INTO `spell_affect` VALUES (18544, 2, 0, 0x00, 0, 0, 0, 0x0000040000A08000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (18547); -INSERT INTO `spell_affect` VALUES (18547, 0, 0, 0x00, 0, 0, 0, 0x0000041202F8A090, 0); -INSERT INTO `spell_affect` VALUES (18547, 1, 0, 0x00, 0, 0, 0, 0x0000001202582090, 0); -INSERT INTO `spell_affect` VALUES (18547, 2, 0, 0x00, 0, 0, 0, 0x0000040000A08000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (18548); -INSERT INTO `spell_affect` VALUES (18548, 0, 0, 0x00, 0, 0, 0, 0x0000041202F8A090, 0); -INSERT INTO `spell_affect` VALUES (18548, 1, 0, 0x00, 0, 0, 0, 0x0000001202582090, 0); -INSERT INTO `spell_affect` VALUES (18548, 2, 0, 0x00, 0, 0, 0, 0x0000040000A08000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (18549); -INSERT INTO `spell_affect` VALUES (18549, 0, 0, 0x00, 0, 0, 0, 0x0000041202F8A090, 0); -INSERT INTO `spell_affect` VALUES (18549, 1, 0, 0x00, 0, 0, 0, 0x0000001202582090, 0); -INSERT INTO `spell_affect` VALUES (18549, 2, 0, 0x00, 0, 0, 0, 0x0000040000A08000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (18550); -INSERT INTO `spell_affect` VALUES (18550, 0, 0, 0x00, 0, 0, 0, 0x0000041202F8A090, 0); -INSERT INTO `spell_affect` VALUES (18550, 1, 0, 0x00, 0, 0, 0, 0x0000001202582090, 0); -INSERT INTO `spell_affect` VALUES (18550, 2, 0, 0x00, 0, 0, 0, 0x0000040000A08000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14913); -INSERT INTO `spell_affect` VALUES (14913, 0, 0, 0x00, 0, 0, 0, 0x0000000400041E00, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (15012); -INSERT INTO `spell_affect` VALUES (15012, 0, 0, 0x00, 0, 0, 0, 0x0000000400041E00, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (37706); -INSERT INTO `spell_affect` VALUES (37706, 0, 0, 0x00, 0, 0, 0, 0x0000000411041E40, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (37571); -INSERT INTO `spell_affect` VALUES (37571, 0, 0, 0x00, 0, 0, 0, 0x0000000000000080, 0); -INSERT INTO `spell_affect` VALUES (37571, 1, 0, 0x00, 0, 0, 0, 0x0000000000800000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14751); -INSERT INTO `spell_affect` VALUES (14751, 0, 0, 0x00, 0, 0, 0, 0xFFFFFFFFFFFFFFFF, 0); -INSERT INTO `spell_affect` VALUES (14751, 1, 0, 0x00, 0, 0, 0, 0xFFFFFFFFFFFFFFFF, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14520); -INSERT INTO `spell_affect` VALUES (14520, 0, 0, 0x00, 0, 0, 0, 0x00000963BF61C16F, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14780); -INSERT INTO `spell_affect` VALUES (14780, 0, 0, 0x00, 0, 0, 0, 0x00000963BF61C16F, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14781); -INSERT INTO `spell_affect` VALUES (14781, 0, 0, 0x00, 0, 0, 0, 0x00000963BF61C16F, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14782); -INSERT INTO `spell_affect` VALUES (14782, 0, 0, 0x00, 0, 0, 0, 0x00000963BF61C16F, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14783); -INSERT INTO `spell_affect` VALUES (14783, 0, 0, 0x00, 0, 0, 0, 0x00000963BF61C16F, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (28808); -INSERT INTO `spell_affect` VALUES (28808, 0, 0, 0x00, 0, 0, 0, 0x0000000411041E40, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (15318); -INSERT INTO `spell_affect` VALUES (15318, 0, 0, 0x00, 0, 0, 0, 0x00000D4A068BE104, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (15272); -INSERT INTO `spell_affect` VALUES (15272, 0, 0, 0x00, 0, 0, 0, 0x00000D4A068BE104, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (15320); -INSERT INTO `spell_affect` VALUES (15320, 0, 0, 0x00, 0, 0, 0, 0x00000D4A068BE104, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (15260); -INSERT INTO `spell_affect` VALUES (15260, 0, 0, 0x00, 0, 0, 0, 0x00000442068BA000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (15327); -INSERT INTO `spell_affect` VALUES (15327, 0, 0, 0x00, 0, 0, 0, 0x00000442068BA000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (15328); -INSERT INTO `spell_affect` VALUES (15328, 0, 0, 0x00, 0, 0, 0, 0x00000442068BA000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (15329); -INSERT INTO `spell_affect` VALUES (15329, 0, 0, 0x00, 0, 0, 0, 0x00000442068BA000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (15330); -INSERT INTO `spell_affect` VALUES (15330, 0, 0, 0x00, 0, 0, 0, 0x00000442068BA000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (17322); -INSERT INTO `spell_affect` VALUES (17322, 0, 0, 0x00, 0, 0, 0, 0x00000542068AA004, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (17323); -INSERT INTO `spell_affect` VALUES (17323, 0, 0, 0x00, 0, 0, 0, 0x00000542068AA004, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14523); -INSERT INTO `spell_affect` VALUES (14523, 1, 0, 0x00, 0, 0, 0, 0xFFFFFFFFFFFFFFFF, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14784); -INSERT INTO `spell_affect` VALUES (14784, 1, 0, 0x00, 0, 0, 0, 0xFFFFFFFFFFFFFFFF, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14785); -INSERT INTO `spell_affect` VALUES (14785, 1, 0, 0x00, 0, 0, 0, 0xFFFFFFFFFFFFFFFF, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14786); -INSERT INTO `spell_affect` VALUES (14786, 1, 0, 0x00, 0, 0, 0, 0xFFFFFFFFFFFFFFFF, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14787); -INSERT INTO `spell_affect` VALUES (14787, 1, 0, 0x00, 0, 0, 0, 0xFFFFFFFFFFFFFFFF, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14912); -INSERT INTO `spell_affect` VALUES (14912, 0, 0, 0x00, 0, 0, 0, 0x0000000000041400, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (15013); -INSERT INTO `spell_affect` VALUES (15013, 0, 0, 0x00, 0, 0, 0, 0x0000000000041400, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (15014); -INSERT INTO `spell_affect` VALUES (15014, 0, 0, 0x00, 0, 0, 0, 0x0000000000041400, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14747); -INSERT INTO `spell_affect` VALUES (14747, 0, 0, 0x00, 0, 0, 0, 0x0000000000000002, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14770); -INSERT INTO `spell_affect` VALUES (14770, 0, 0, 0x00, 0, 0, 0, 0x0000000000000002, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14771); -INSERT INTO `spell_affect` VALUES (14771, 0, 0, 0x00, 0, 0, 0, 0x0000000000000002, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (44297); -INSERT INTO `spell_affect` VALUES (44297, 0, 0, 0x00, 0, 0, 0, 0x0000000000010000, 0); - +DELETE FROM `spell_affect` WHERE `entry` IN (33167); +INSERT INTO `spell_affect` VALUES (33167, 0, 0, 0x00, 0, 0, 0, 0x0000000100000000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (33171); +INSERT INTO `spell_affect` VALUES (33171, 0, 0, 0x00, 0, 0, 0, 0x0000000100000000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (33172); +INSERT INTO `spell_affect` VALUES (33172, 0, 0, 0x00, 0, 0, 0, 0x0000000100000000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (23236); +INSERT INTO `spell_affect` VALUES (23236, 0, 0, 0x00, 0, 0, 0, 0x0000003419541EC0, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (37880); +INSERT INTO `spell_affect` VALUES (37880, 0, 0, 0x00, 0, 0, 0, 0x0000000411041E40, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (15259); +INSERT INTO `spell_affect` VALUES (15259, 0, 0, 0x00, 0, 0, 0, 0x0000000202002000, 0); +INSERT INTO `spell_affect` VALUES (15259, 1, 0, 0x00, 0, 0, 0, 0x0000040000808000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (15307); +INSERT INTO `spell_affect` VALUES (15307, 0, 0, 0x00, 0, 0, 0, 0x0000000202002000, 0); +INSERT INTO `spell_affect` VALUES (15307, 1, 0, 0x00, 0, 0, 0, 0x0000040000808000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (15308); +INSERT INTO `spell_affect` VALUES (15308, 0, 0, 0x00, 0, 0, 0, 0x0000000202002000, 0); +INSERT INTO `spell_affect` VALUES (15308, 1, 0, 0x00, 0, 0, 0, 0x0000040000808000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (15309); +INSERT INTO `spell_affect` VALUES (15309, 0, 0, 0x00, 0, 0, 0, 0x0000000202002000, 0); +INSERT INTO `spell_affect` VALUES (15309, 1, 0, 0x00, 0, 0, 0, 0x0000040000808000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (15310); +INSERT INTO `spell_affect` VALUES (15310, 0, 0, 0x00, 0, 0, 0, 0x0000000202002000, 0); +INSERT INTO `spell_affect` VALUES (15310, 1, 0, 0x00, 0, 0, 0, 0x0000040000808000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14743); +INSERT INTO `spell_affect` VALUES (14743, 0, 0, 0x00, 0, 0, 0, 0x0000049440963E90, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (27828); +INSERT INTO `spell_affect` VALUES (27828, 0, 0, 0x00, 0, 0, 0, 0x0000049440963E90, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (33186); +INSERT INTO `spell_affect` VALUES (33186, 0, 0, 0x00, 0, 0, 0, 0x0000008000000000, 0); +INSERT INTO `spell_affect` VALUES (33186, 1, 0, 0x00, 0, 0, 0, 0x0000008000002080, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (33190); +INSERT INTO `spell_affect` VALUES (33190, 0, 0, 0x00, 0, 0, 0, 0x0000008000000000, 0); +INSERT INTO `spell_affect` VALUES (33190, 1, 0, 0x00, 0, 0, 0, 0x0000008000002080, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (18544); +INSERT INTO `spell_affect` VALUES (18544, 0, 0, 0x00, 0, 0, 0, 0x0000041202F8A090, 0); +INSERT INTO `spell_affect` VALUES (18544, 1, 0, 0x00, 0, 0, 0, 0x0000001202582090, 0); +INSERT INTO `spell_affect` VALUES (18544, 2, 0, 0x00, 0, 0, 0, 0x0000040000A08000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (18547); +INSERT INTO `spell_affect` VALUES (18547, 0, 0, 0x00, 0, 0, 0, 0x0000041202F8A090, 0); +INSERT INTO `spell_affect` VALUES (18547, 1, 0, 0x00, 0, 0, 0, 0x0000001202582090, 0); +INSERT INTO `spell_affect` VALUES (18547, 2, 0, 0x00, 0, 0, 0, 0x0000040000A08000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (18548); +INSERT INTO `spell_affect` VALUES (18548, 0, 0, 0x00, 0, 0, 0, 0x0000041202F8A090, 0); +INSERT INTO `spell_affect` VALUES (18548, 1, 0, 0x00, 0, 0, 0, 0x0000001202582090, 0); +INSERT INTO `spell_affect` VALUES (18548, 2, 0, 0x00, 0, 0, 0, 0x0000040000A08000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (18549); +INSERT INTO `spell_affect` VALUES (18549, 0, 0, 0x00, 0, 0, 0, 0x0000041202F8A090, 0); +INSERT INTO `spell_affect` VALUES (18549, 1, 0, 0x00, 0, 0, 0, 0x0000001202582090, 0); +INSERT INTO `spell_affect` VALUES (18549, 2, 0, 0x00, 0, 0, 0, 0x0000040000A08000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (18550); +INSERT INTO `spell_affect` VALUES (18550, 0, 0, 0x00, 0, 0, 0, 0x0000041202F8A090, 0); +INSERT INTO `spell_affect` VALUES (18550, 1, 0, 0x00, 0, 0, 0, 0x0000001202582090, 0); +INSERT INTO `spell_affect` VALUES (18550, 2, 0, 0x00, 0, 0, 0, 0x0000040000A08000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14913); +INSERT INTO `spell_affect` VALUES (14913, 0, 0, 0x00, 0, 0, 0, 0x0000000400041E00, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (15012); +INSERT INTO `spell_affect` VALUES (15012, 0, 0, 0x00, 0, 0, 0, 0x0000000400041E00, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (37706); +INSERT INTO `spell_affect` VALUES (37706, 0, 0, 0x00, 0, 0, 0, 0x0000000411041E40, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (37571); +INSERT INTO `spell_affect` VALUES (37571, 0, 0, 0x00, 0, 0, 0, 0x0000000000000080, 0); +INSERT INTO `spell_affect` VALUES (37571, 1, 0, 0x00, 0, 0, 0, 0x0000000000800000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14751); +INSERT INTO `spell_affect` VALUES (14751, 0, 0, 0x00, 0, 0, 0, 0xFFFFFFFFFFFFFFFF, 0); +INSERT INTO `spell_affect` VALUES (14751, 1, 0, 0x00, 0, 0, 0, 0xFFFFFFFFFFFFFFFF, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14520); +INSERT INTO `spell_affect` VALUES (14520, 0, 0, 0x00, 0, 0, 0, 0x00000963BF61C16F, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14780); +INSERT INTO `spell_affect` VALUES (14780, 0, 0, 0x00, 0, 0, 0, 0x00000963BF61C16F, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14781); +INSERT INTO `spell_affect` VALUES (14781, 0, 0, 0x00, 0, 0, 0, 0x00000963BF61C16F, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14782); +INSERT INTO `spell_affect` VALUES (14782, 0, 0, 0x00, 0, 0, 0, 0x00000963BF61C16F, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14783); +INSERT INTO `spell_affect` VALUES (14783, 0, 0, 0x00, 0, 0, 0, 0x00000963BF61C16F, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (28808); +INSERT INTO `spell_affect` VALUES (28808, 0, 0, 0x00, 0, 0, 0, 0x0000000411041E40, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (15318); +INSERT INTO `spell_affect` VALUES (15318, 0, 0, 0x00, 0, 0, 0, 0x00000D4A068BE104, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (15272); +INSERT INTO `spell_affect` VALUES (15272, 0, 0, 0x00, 0, 0, 0, 0x00000D4A068BE104, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (15320); +INSERT INTO `spell_affect` VALUES (15320, 0, 0, 0x00, 0, 0, 0, 0x00000D4A068BE104, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (15260); +INSERT INTO `spell_affect` VALUES (15260, 0, 0, 0x00, 0, 0, 0, 0x00000442068BA000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (15327); +INSERT INTO `spell_affect` VALUES (15327, 0, 0, 0x00, 0, 0, 0, 0x00000442068BA000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (15328); +INSERT INTO `spell_affect` VALUES (15328, 0, 0, 0x00, 0, 0, 0, 0x00000442068BA000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (15329); +INSERT INTO `spell_affect` VALUES (15329, 0, 0, 0x00, 0, 0, 0, 0x00000442068BA000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (15330); +INSERT INTO `spell_affect` VALUES (15330, 0, 0, 0x00, 0, 0, 0, 0x00000442068BA000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (17322); +INSERT INTO `spell_affect` VALUES (17322, 0, 0, 0x00, 0, 0, 0, 0x00000542068AA004, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (17323); +INSERT INTO `spell_affect` VALUES (17323, 0, 0, 0x00, 0, 0, 0, 0x00000542068AA004, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14523); +INSERT INTO `spell_affect` VALUES (14523, 1, 0, 0x00, 0, 0, 0, 0xFFFFFFFFFFFFFFFF, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14784); +INSERT INTO `spell_affect` VALUES (14784, 1, 0, 0x00, 0, 0, 0, 0xFFFFFFFFFFFFFFFF, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14785); +INSERT INTO `spell_affect` VALUES (14785, 1, 0, 0x00, 0, 0, 0, 0xFFFFFFFFFFFFFFFF, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14786); +INSERT INTO `spell_affect` VALUES (14786, 1, 0, 0x00, 0, 0, 0, 0xFFFFFFFFFFFFFFFF, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14787); +INSERT INTO `spell_affect` VALUES (14787, 1, 0, 0x00, 0, 0, 0, 0xFFFFFFFFFFFFFFFF, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14912); +INSERT INTO `spell_affect` VALUES (14912, 0, 0, 0x00, 0, 0, 0, 0x0000000000041400, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (15013); +INSERT INTO `spell_affect` VALUES (15013, 0, 0, 0x00, 0, 0, 0, 0x0000000000041400, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (15014); +INSERT INTO `spell_affect` VALUES (15014, 0, 0, 0x00, 0, 0, 0, 0x0000000000041400, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14747); +INSERT INTO `spell_affect` VALUES (14747, 0, 0, 0x00, 0, 0, 0, 0x0000000000000002, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14770); +INSERT INTO `spell_affect` VALUES (14770, 0, 0, 0x00, 0, 0, 0, 0x0000000000000002, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14771); +INSERT INTO `spell_affect` VALUES (14771, 0, 0, 0x00, 0, 0, 0, 0x0000000000000002, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (44297); +INSERT INTO `spell_affect` VALUES (44297, 0, 0, 0x00, 0, 0, 0, 0x0000000000010000, 0); + diff --git a/sql/updates/0.10/5199_characters_guild_bank_eventlog.sql b/sql/updates/0.10/5199_characters_guild_bank_eventlog.sql index 650e5e889..27867c0ff 100644 --- a/sql/updates/0.10/5199_characters_guild_bank_eventlog.sql +++ b/sql/updates/0.10/5199_characters_guild_bank_eventlog.sql @@ -1 +1 @@ -DELETE FROM `guild_bank_eventlog` WHERE `LogGuid`=0; +DELETE FROM `guild_bank_eventlog` WHERE `LogGuid`=0; diff --git a/sql/updates/0.10/5201_mangos_spell_affect.sql b/sql/updates/0.10/5201_mangos_spell_affect.sql index 8c43572cc..ae381427a 100644 --- a/sql/updates/0.10/5201_mangos_spell_affect.sql +++ b/sql/updates/0.10/5201_mangos_spell_affect.sql @@ -1,53 +1,53 @@ -DELETE FROM `spell_affect` WHERE `entry` IN (30288); -INSERT INTO `spell_affect` VALUES (30288, 0, 0, 0x00, 0, 0, 0, 0x0000004000000001, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (30289); -INSERT INTO `spell_affect` VALUES (30289, 0, 0, 0x00, 0, 0, 0, 0x0000004000000001, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (30290); -INSERT INTO `spell_affect` VALUES (30290, 0, 0, 0x00, 0, 0, 0, 0x0000004000000001, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (30291); -INSERT INTO `spell_affect` VALUES (30291, 0, 0, 0x00, 0, 0, 0, 0x0000004000000001, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (30292); -INSERT INTO `spell_affect` VALUES (30292, 0, 0, 0x00, 0, 0, 0, 0x0000004000000001, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (18427); -INSERT INTO `spell_affect` VALUES (18427, 0, 0, 0x00, 0, 0, 0, 0x0000000000020006, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (18428); -INSERT INTO `spell_affect` VALUES (18428, 0, 0, 0x00, 0, 0, 0, 0x0000000000020006, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (18429); -INSERT INTO `spell_affect` VALUES (18429, 0, 0, 0x00, 0, 0, 0, 0x0000000000020006, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (31216); -INSERT INTO `spell_affect` VALUES (31216, 1, 0, 0x00, 0, 0, 0, 0x0000000002000004, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (31217); -INSERT INTO `spell_affect` VALUES (31217, 1, 0, 0x00, 0, 0, 0, 0x0000000002000004, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (31218); -INSERT INTO `spell_affect` VALUES (31218, 1, 0, 0x00, 0, 0, 0, 0x0000000002000004, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (31219); -INSERT INTO `spell_affect` VALUES (31219, 1, 0, 0x00, 0, 0, 0, 0x0000000002000004, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (31220); -INSERT INTO `spell_affect` VALUES (31220, 1, 0, 0x00, 0, 0, 0, 0x0000000002000004, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14171); -INSERT INTO `spell_affect` VALUES (14171, 0, 0, 0x00, 0, 0, 0, 0x0000000000100000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14172); -INSERT INTO `spell_affect` VALUES (14172, 0, 0, 0x00, 0, 0, 0, 0x0000000000100000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (14173); -INSERT INTO `spell_affect` VALUES (14173, 0, 0, 0x00, 0, 0, 0, 0x0000000000100000, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (12290); -INSERT INTO `spell_affect` VALUES (12290, 0, 0, 0x00, 0, 0, 0, 0x0000000000000004, 0); - -DELETE FROM `spell_affect` WHERE `entry` IN (12963); -INSERT INTO `spell_affect` VALUES (12963, 0, 0, 0x00, 0, 0, 0, 0x0000000000000004, 0); \ No newline at end of file +DELETE FROM `spell_affect` WHERE `entry` IN (30288); +INSERT INTO `spell_affect` VALUES (30288, 0, 0, 0x00, 0, 0, 0, 0x0000004000000001, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (30289); +INSERT INTO `spell_affect` VALUES (30289, 0, 0, 0x00, 0, 0, 0, 0x0000004000000001, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (30290); +INSERT INTO `spell_affect` VALUES (30290, 0, 0, 0x00, 0, 0, 0, 0x0000004000000001, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (30291); +INSERT INTO `spell_affect` VALUES (30291, 0, 0, 0x00, 0, 0, 0, 0x0000004000000001, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (30292); +INSERT INTO `spell_affect` VALUES (30292, 0, 0, 0x00, 0, 0, 0, 0x0000004000000001, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (18427); +INSERT INTO `spell_affect` VALUES (18427, 0, 0, 0x00, 0, 0, 0, 0x0000000000020006, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (18428); +INSERT INTO `spell_affect` VALUES (18428, 0, 0, 0x00, 0, 0, 0, 0x0000000000020006, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (18429); +INSERT INTO `spell_affect` VALUES (18429, 0, 0, 0x00, 0, 0, 0, 0x0000000000020006, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (31216); +INSERT INTO `spell_affect` VALUES (31216, 1, 0, 0x00, 0, 0, 0, 0x0000000002000004, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (31217); +INSERT INTO `spell_affect` VALUES (31217, 1, 0, 0x00, 0, 0, 0, 0x0000000002000004, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (31218); +INSERT INTO `spell_affect` VALUES (31218, 1, 0, 0x00, 0, 0, 0, 0x0000000002000004, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (31219); +INSERT INTO `spell_affect` VALUES (31219, 1, 0, 0x00, 0, 0, 0, 0x0000000002000004, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (31220); +INSERT INTO `spell_affect` VALUES (31220, 1, 0, 0x00, 0, 0, 0, 0x0000000002000004, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14171); +INSERT INTO `spell_affect` VALUES (14171, 0, 0, 0x00, 0, 0, 0, 0x0000000000100000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14172); +INSERT INTO `spell_affect` VALUES (14172, 0, 0, 0x00, 0, 0, 0, 0x0000000000100000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (14173); +INSERT INTO `spell_affect` VALUES (14173, 0, 0, 0x00, 0, 0, 0, 0x0000000000100000, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (12290); +INSERT INTO `spell_affect` VALUES (12290, 0, 0, 0x00, 0, 0, 0, 0x0000000000000004, 0); + +DELETE FROM `spell_affect` WHERE `entry` IN (12963); +INSERT INTO `spell_affect` VALUES (12963, 0, 0, 0x00, 0, 0, 0, 0x0000000000000004, 0); diff --git a/sql/updates/0.10/5212_mangos_command.sql b/sql/updates/0.10/5212_mangos_command.sql index 51f5948ed..f26047a36 100644 --- a/sql/updates/0.10/5212_mangos_command.sql +++ b/sql/updates/0.10/5212_mangos_command.sql @@ -1,4 +1,4 @@ DELETE FROM command WHERE name IN ('.casttarget'); -INSERT INTO `command` VALUES +INSERT INTO `command` VALUES ('casttarget',3,'Syntax: .casttarget #spellid\r\n Selected target will cast #spellid to his victim.'); diff --git a/sql/updates/0.10/5217_characters_character.sql b/sql/updates/0.10/5217_characters_character.sql index 61d6e105c..a14336e5c 100644 --- a/sql/updates/0.10/5217_characters_character.sql +++ b/sql/updates/0.10/5217_characters_character.sql @@ -1,2 +1,2 @@ -ALTER TABLE `character` +ALTER TABLE `character` ADD COLUMN `taxi_path` text; diff --git a/sql/updates/0.10/5228_mangos_gameobject_scripts.sql b/sql/updates/0.10/5228_mangos_gameobject_scripts.sql index bc29c6f4e..9ca382da0 100644 --- a/sql/updates/0.10/5228_mangos_gameobject_scripts.sql +++ b/sql/updates/0.10/5228_mangos_gameobject_scripts.sql @@ -1,13 +1,13 @@ -DROP TABLE IF EXISTS `gameobject_scripts`; -CREATE TABLE `gameobject_scripts` ( -`id` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0', -`delay` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0', -`command` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0', -`datalong` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0', -`datalong2` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0', -`datatext` TEXT NOT NULL , -`x` FLOAT NOT NULL DEFAULT '0', -`y` FLOAT NOT NULL DEFAULT '0', -`z` FLOAT NOT NULL DEFAULT '0', -`o` FLOAT NOT NULL DEFAULT '0' -) ENGINE = MYISAM DEFAULT CHARSET = utf8; +DROP TABLE IF EXISTS `gameobject_scripts`; +CREATE TABLE `gameobject_scripts` ( +`id` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0', +`delay` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0', +`command` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0', +`datalong` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0', +`datalong2` INT( 11 ) UNSIGNED NOT NULL DEFAULT '0', +`datatext` TEXT NOT NULL , +`x` FLOAT NOT NULL DEFAULT '0', +`y` FLOAT NOT NULL DEFAULT '0', +`z` FLOAT NOT NULL DEFAULT '0', +`o` FLOAT NOT NULL DEFAULT '0' +) ENGINE = MYISAM DEFAULT CHARSET = utf8; diff --git a/sql/updates/0.10/5243_mangos_spell_affect.sql b/sql/updates/0.10/5243_mangos_spell_affect.sql index 21e9a0bea..c3fc26e69 100644 --- a/sql/updates/0.10/5243_mangos_spell_affect.sql +++ b/sql/updates/0.10/5243_mangos_spell_affect.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_affect` WHERE `entry` IN (33886,33887,33888,33889,33890); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (33886,0,0,0,0,0,0,0x00000010000000d0, 0), (33887,0,0,0,0,0,0,0x00000010000000d0, 0), (33888,0,0,0,0,0,0,0x00000010000000d0, 0), diff --git a/sql/updates/0.10/5249_mangos_spell_learn_skill.sql b/sql/updates/0.10/5249_mangos_spell_learn_skill.sql index 37d52b21e..28f57a822 100644 --- a/sql/updates/0.10/5249_mangos_spell_learn_skill.sql +++ b/sql/updates/0.10/5249_mangos_spell_learn_skill.sql @@ -1,3 +1,3 @@ DELETE FROM `spell_learn_skill` WHERE `entry` IN (29932); -INSERT INTO `spell_learn_skill` (`entry`, `SkillID`, `Value`, `MaxValue`) VALUE +INSERT INTO `spell_learn_skill` (`entry`, `SkillID`, `Value`, `MaxValue`) VALUE (29932,759,-1,-1); diff --git a/sql/updates/0.10/5254_mangos_spell_proc_event.sql b/sql/updates/0.10/5254_mangos_spell_proc_event.sql index c7d27f41d..e12099308 100644 --- a/sql/updates/0.10/5254_mangos_spell_proc_event.sql +++ b/sql/updates/0.10/5254_mangos_spell_proc_event.sql @@ -1,3 +1,3 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (43750); INSERT INTO `spell_proc_event` VALUES -(43750,0,0,0,11,0x0000000000000001,0x00004000,0); +(43750,0,0,0,11,0x0000000000000001,0x00004000,0); diff --git a/sql/updates/0.10/5265_mangos_spell_proc_event.sql b/sql/updates/0.10/5265_mangos_spell_proc_event.sql index 9329b06b7..26efe6ded 100644 --- a/sql/updates/0.10/5265_mangos_spell_proc_event.sql +++ b/sql/updates/0.10/5265_mangos_spell_proc_event.sql @@ -1,6 +1,6 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (39446); INSERT INTO `spell_proc_event` VALUES -(39446,0,0,0,0,0x0000000000000000,0x00000004,0); +(39446,0,0,0,0,0x0000000000000000,0x00000004,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (32863,36123,38252,39367); INSERT INTO `spell_proc_event` VALUES @@ -11,21 +11,21 @@ INSERT INTO `spell_proc_event` VALUES DELETE FROM `spell_proc_event` WHERE `entry` IN (37381); INSERT INTO `spell_proc_event` VALUES -(37381,0,0,0,0,0x0000000000000000,0x000a0001,0); +(37381,0,0,0,0,0x0000000000000000,0x000a0001,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (39372); INSERT INTO `spell_proc_event` VALUES -(39372,0,0,0,0,0x0000000000000000,0x00020000,0); +(39372,0,0,0,0,0x0000000000000000,0x00020000,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (28789); INSERT INTO `spell_proc_event` VALUES -(28789,0,0,0,10,0x0000000000006000,0x20000000,0); +(28789,0,0,0,10,0x0000000000006000,0x20000000,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (28849); INSERT INTO `spell_proc_event` VALUES -(28849,0,0,0,11,0x0000000000000080,0x00004000,0); +(28849,0,0,0,11,0x0000000000000080,0x00004000,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (37655,38334); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (37655,0,0,0,0,0x0000000000000000,0x00004000,0), (38334,0,0,0,0,0x0000000000000000,0x00004000,0); diff --git a/sql/updates/0.10/5269_mangos_uptime.sql b/sql/updates/0.10/5269_mangos_uptime.sql index 289da45ef..76b058a4e 100644 --- a/sql/updates/0.10/5269_mangos_uptime.sql +++ b/sql/updates/0.10/5269_mangos_uptime.sql @@ -1,2 +1,2 @@ -ALTER TABLE `uptime` +ALTER TABLE `uptime` ADD COLUMN `maxplayers` int(11) unsigned NOT NULL default '0'; diff --git a/sql/updates/0.10/5270_mangos_gameobject_scripts.sql b/sql/updates/0.10/5270_mangos_gameobject_scripts.sql index 52f523aeb..194f52c09 100644 --- a/sql/updates/0.10/5270_mangos_gameobject_scripts.sql +++ b/sql/updates/0.10/5270_mangos_gameobject_scripts.sql @@ -1 +1 @@ -ALTER TABLE `button_scripts` RENAME TO `gameobject_scripts`; +ALTER TABLE `button_scripts` RENAME TO `gameobject_scripts`; diff --git a/sql/updates/0.10/5272_mangos_mangos_string.sql b/sql/updates/0.10/5272_mangos_mangos_string.sql index 699ea9d00..edc0d5e71 100644 --- a/sql/updates/0.10/5272_mangos_mangos_string.sql +++ b/sql/updates/0.10/5272_mangos_mangos_string.sql @@ -3,4 +3,4 @@ INSERT INTO `mangos_string` VALUES (707,'%s wishes to not be disturbed and cannot receive whisper messages: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), (708,'%s is Away from Keyboard: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL), (709,'Do not Disturb',NULL,NULL,NULL,NULL,NULL,NULL,NULL), -(710,'Away from Keyboard',NULL,NULL,NULL,NULL,NULL,NULL,NULL); +(710,'Away from Keyboard',NULL,NULL,NULL,NULL,NULL,NULL,NULL); diff --git a/sql/updates/0.10/5295_mangos_creature_template.sql b/sql/updates/0.10/5295_mangos_creature_template.sql index 08ec884e9..774a5a771 100644 --- a/sql/updates/0.10/5295_mangos_creature_template.sql +++ b/sql/updates/0.10/5295_mangos_creature_template.sql @@ -1,2 +1,2 @@ -ALTER TABLE `creature_template` -ADD `mechanic_immune_mask` int(11) signed NOT NULL default '0' AFTER `equipment_id` ; \ No newline at end of file +ALTER TABLE `creature_template` +ADD `mechanic_immune_mask` int(11) signed NOT NULL default '0' AFTER `equipment_id` ; diff --git a/sql/updates/0.10/5297_characters.sql b/sql/updates/0.10/5297_characters.sql index 39f3e3ac2..ff43ea1e7 100644 --- a/sql/updates/0.10/5297_characters.sql +++ b/sql/updates/0.10/5297_characters.sql @@ -1,16 +1,16 @@ -ALTER TABLE `character` RENAME TO `characters`; -ALTER TABLE `group` RENAME TO `groups`; - -ALTER TABLE `character_pet` - CHANGE COLUMN `ABData` `abdata` longtext, - CHANGE COLUMN `TeachSpelldata` `teachspelldata` longtext; - -ALTER TABLE `guild` - CHANGE COLUMN `MOTD` `motd` varchar(255) NOT NULL default ''; - -ALTER TABLE `guild_member` - CHANGE COLUMN `Pnote` `pnote` varchar(255) NOT NULL default '', - CHANGE COLUMN `OFFnote` `offnote` varchar(255) NOT NULL default ''; - -ALTER TABLE `guild_bank_right` - CHANGE COLUMN `Right` `gbright` tinyint(3) unsigned NOT NULL default '0'; \ No newline at end of file +ALTER TABLE `character` RENAME TO `characters`; +ALTER TABLE `group` RENAME TO `groups`; + +ALTER TABLE `character_pet` + CHANGE COLUMN `ABData` `abdata` longtext, + CHANGE COLUMN `TeachSpelldata` `teachspelldata` longtext; + +ALTER TABLE `guild` + CHANGE COLUMN `MOTD` `motd` varchar(255) NOT NULL default ''; + +ALTER TABLE `guild_member` + CHANGE COLUMN `Pnote` `pnote` varchar(255) NOT NULL default '', + CHANGE COLUMN `OFFnote` `offnote` varchar(255) NOT NULL default ''; + +ALTER TABLE `guild_bank_right` + CHANGE COLUMN `Right` `gbright` tinyint(3) unsigned NOT NULL default '0'; diff --git a/sql/updates/0.10/5297_mangos.sql b/sql/updates/0.10/5297_mangos.sql index 058ccfbcd..b9c416a6a 100644 --- a/sql/updates/0.10/5297_mangos.sql +++ b/sql/updates/0.10/5297_mangos.sql @@ -1,12 +1,12 @@ -ALTER TABLE `game_event` - CHANGE COLUMN `start` `start_time` timestamp NOT NULL default '0000-00-00 00:00:00' COMMENT 'Absolute start date, the event will never start before', - CHANGE COLUMN `end` `end_time` timestamp NOT NULL default '0000-00-00 00:00:00' COMMENT 'Absolute end date, the event will never start afler'; - -ALTER TABLE `pet_levelstats` - CHANGE COLUMN `int` `inte` smallint(5) unsigned NOT NULL; - -ALTER TABLE `player_levelstats` - CHANGE COLUMN `int` `inte` smallint(5) unsigned NOT NULL; - -ALTER TABLE `npc_option` - CHANGE COLUMN `option` `option_text` text; \ No newline at end of file +ALTER TABLE `game_event` + CHANGE COLUMN `start` `start_time` timestamp NOT NULL default '0000-00-00 00:00:00' COMMENT 'Absolute start date, the event will never start before', + CHANGE COLUMN `end` `end_time` timestamp NOT NULL default '0000-00-00 00:00:00' COMMENT 'Absolute end date, the event will never start afler'; + +ALTER TABLE `pet_levelstats` + CHANGE COLUMN `int` `inte` smallint(5) unsigned NOT NULL; + +ALTER TABLE `player_levelstats` + CHANGE COLUMN `int` `inte` smallint(5) unsigned NOT NULL; + +ALTER TABLE `npc_option` + CHANGE COLUMN `option` `option_text` text; diff --git a/sql/updates/0.10/5297_realmd_account.sql b/sql/updates/0.10/5297_realmd_account.sql index 7118b94f8..b5bdcb664 100644 --- a/sql/updates/0.10/5297_realmd_account.sql +++ b/sql/updates/0.10/5297_realmd_account.sql @@ -1,2 +1,2 @@ -ALTER TABLE `account` - CHANGE COLUMN `I` `sha_pass_hash` VARCHAR(40) NOT NULL default ''; \ No newline at end of file +ALTER TABLE `account` + CHANGE COLUMN `I` `sha_pass_hash` VARCHAR(40) NOT NULL default ''; diff --git a/sql/updates/0.10/5350_mangos_spell_affect.sql b/sql/updates/0.10/5350_mangos_spell_affect.sql index e712c3123..8c54326c6 100644 --- a/sql/updates/0.10/5350_mangos_spell_affect.sql +++ b/sql/updates/0.10/5350_mangos_spell_affect.sql @@ -1,3 +1,3 @@ DELETE FROM spell_affect WHERE entry IN (5420); INSERT INTO spell_affect VALUES - (5420,2,0,0,0,0,0,0x00001012100000D0,0); \ No newline at end of file + (5420,2,0,0,0,0,0,0x00001012100000D0,0); diff --git a/sql/updates/0.10/5363_mangos_creature_template.sql b/sql/updates/0.10/5363_mangos_creature_template.sql index 6e238f432..6d5728845 100644 --- a/sql/updates/0.10/5363_mangos_creature_template.sql +++ b/sql/updates/0.10/5363_mangos_creature_template.sql @@ -1,2 +1,2 @@ -ALTER TABLE `creature_template` - ADD `scale` float default '0' AFTER `speed`; \ No newline at end of file +ALTER TABLE `creature_template` + ADD `scale` float default '0' AFTER `speed`; diff --git a/sql/updates/0.10/5366_mangos_spell_proc_event.sql b/sql/updates/0.10/5366_mangos_spell_proc_event.sql index 5993a0023..516c14365 100644 --- a/sql/updates/0.10/5366_mangos_spell_proc_event.sql +++ b/sql/updates/0.10/5366_mangos_spell_proc_event.sql @@ -4,4 +4,4 @@ INSERT INTO `spell_proc_event` VALUES (35550,0,0,0,0,0x0000000000000000,0x00000001,0), (35551,0,0,0,0,0x0000000000000000,0x00000001,0), (35552,0,0,0,0,0x0000000000000000,0x00000001,0), -(35553,0,0,0,0,0x0000000000000000,0x00000001,0); +(35553,0,0,0,0,0x0000000000000000,0x00000001,0); diff --git a/sql/updates/0.10/5367_mangos_spell_affect.sql b/sql/updates/0.10/5367_mangos_spell_affect.sql index 19c081ca9..1b07d4a41 100644 --- a/sql/updates/0.10/5367_mangos_spell_affect.sql +++ b/sql/updates/0.10/5367_mangos_spell_affect.sql @@ -1,3 +1,3 @@ DELETE FROM spell_affect WHERE entry IN (32601); INSERT INTO spell_affect VALUES - (32601,1,0,0,0,0,0,0x0000000020800008,0); + (32601,1,0,0,0,0,0,0x0000000020800008,0); diff --git a/sql/updates/0.10/5378_mangos_spell_proc_event.sql b/sql/updates/0.10/5378_mangos_spell_proc_event.sql index abf12d984..2d85c46a9 100644 --- a/sql/updates/0.10/5378_mangos_spell_proc_event.sql +++ b/sql/updates/0.10/5378_mangos_spell_proc_event.sql @@ -1,3 +1,3 @@ -DELETE FROM `spell_proc_event` WHERE `entry` IN (34580); -INSERT INTO `spell_proc_event` VALUES -(34580,0,0,0,0,0x0000000000000000,0x00000001,2); +DELETE FROM `spell_proc_event` WHERE `entry` IN (34580); +INSERT INTO `spell_proc_event` VALUES +(34580,0,0,0,0,0x0000000000000000,0x00000001,2); diff --git a/sql/updates/0.10/5402_mangos_spell_proc_event.sql b/sql/updates/0.10/5402_mangos_spell_proc_event.sql index fa48e291b..eee94f6a3 100644 --- a/sql/updates/0.10/5402_mangos_spell_proc_event.sql +++ b/sql/updates/0.10/5402_mangos_spell_proc_event.sql @@ -1,8 +1,8 @@ -DELETE FROM `spell_proc_event` WHERE `entry` IN (41635,33280,35092,35093,35094); -INSERT INTO `spell_proc_event`VALUES -(41635,0,0,0,0,0x0000000000000000,0x00008000,0), -(33280,0,0,0,0,0x0000000000000000,0x00008000,0), -(35092,0,0,0,0,0x0000000000000000,0x00008000,0), -(35093,0,0,0,0,0x0000000000000000,0x00008000,0), -(35094,0,0,0,0,0x0000000000000000,0x00008000,0); - +DELETE FROM `spell_proc_event` WHERE `entry` IN (41635,33280,35092,35093,35094); +INSERT INTO `spell_proc_event`VALUES +(41635,0,0,0,0,0x0000000000000000,0x00008000,0), +(33280,0,0,0,0,0x0000000000000000,0x00008000,0), +(35092,0,0,0,0,0x0000000000000000,0x00008000,0), +(35093,0,0,0,0,0x0000000000000000,0x00008000,0), +(35094,0,0,0,0,0x0000000000000000,0x00008000,0); + diff --git a/sql/updates/0.10/5422_mangos_spell_proc_event.sql b/sql/updates/0.10/5422_mangos_spell_proc_event.sql index 8a1789358..bc2071863 100644 --- a/sql/updates/0.10/5422_mangos_spell_proc_event.sql +++ b/sql/updates/0.10/5422_mangos_spell_proc_event.sql @@ -1,9 +1,9 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 15600 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (15600,0,0,0,0,0x0000000000000000,0x00000001,0.6); DELETE FROM `spell_proc_event` WHERE `entry` IN (33881,33882,33883); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (33881,0,0,0,0,0x0000000000000000,0x00842000,0), (33882,0,0,0,0,0x0000000000000000,0x00842000,0), -(33883,0,0,0,0,0x0000000000000000,0x00842000,0); +(33883,0,0,0,0,0x0000000000000000,0x00842000,0); diff --git a/sql/updates/0.10/5441_characters_petition_petition_sign.sql b/sql/updates/0.10/5441_characters_petition_petition_sign.sql index 214e3b7a3..0e527f2d2 100644 --- a/sql/updates/0.10/5441_characters_petition_petition_sign.sql +++ b/sql/updates/0.10/5441_characters_petition_petition_sign.sql @@ -1,5 +1,5 @@ -ALTER TABLE `petition` -DROP PRIMARY KEY, +ALTER TABLE `petition` +DROP PRIMARY KEY, ADD PRIMARY KEY (`ownerguid`, `type`); ALTER TABLE `petition_sign` ADD COLUMN `type` int(10) UNSIGNED NOT NULL DEFAULT 0; diff --git a/sql/updates/0.10/5460_mangos_spell_proc_event.sql b/sql/updates/0.10/5460_mangos_spell_proc_event.sql index 2482ab292..28ec800d1 100644 --- a/sql/updates/0.10/5460_mangos_spell_proc_event.sql +++ b/sql/updates/0.10/5460_mangos_spell_proc_event.sql @@ -1,11 +1,11 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 37239 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (37239,0,0,0,0,0x0000000000000000,0x00000001,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 43737 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (43737,0,0,0,7,0x0000044000000000,0x00000001,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 43739 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (43739,0,0,0,7,0x0000000000000002,0x00020000,0); diff --git a/sql/updates/0.10/5492_mangos_player_levelstats.sql b/sql/updates/0.10/5492_mangos_player_levelstats.sql index 273445341..7a8220abd 100644 --- a/sql/updates/0.10/5492_mangos_player_levelstats.sql +++ b/sql/updates/0.10/5492_mangos_player_levelstats.sql @@ -1,70 +1,70 @@ -UPDATE `player_levelstats` SET `basehp` = 28, `basemana` = 60 WHERE `class` = 2 AND `level`=1; -UPDATE `player_levelstats` SET `basehp` = 36, `basemana` = 78 WHERE `class` = 2 AND `level`=2; -UPDATE `player_levelstats` SET `basehp` = 44, `basemana` = 98 WHERE `class` = 2 AND `level`=3; -UPDATE `player_levelstats` SET `basehp` = 52, `basemana` = 104 WHERE `class` = 2 AND `level`=4; -UPDATE `player_levelstats` SET `basehp` = 60, `basemana` = 111 WHERE `class` = 2 AND `level`=5; -UPDATE `player_levelstats` SET `basehp` = 68, `basemana` = 134 WHERE `class` = 2 AND `level`=6; -UPDATE `player_levelstats` SET `basehp` = 76, `basemana` = 143 WHERE `class` = 2 AND `level`=7; -UPDATE `player_levelstats` SET `basehp` = 84, `basemana` = 153 WHERE `class` = 2 AND `level`=8; -UPDATE `player_levelstats` SET `basehp` = 92, `basemana` = 179 WHERE `class` = 2 AND `level`=9; -UPDATE `player_levelstats` SET `basehp` = 100, `basemana` = 192 WHERE `class` = 2 AND `level`=10; -UPDATE `player_levelstats` SET `basehp` = 108, `basemana` = 205 WHERE `class` = 2 AND `level`=11; -UPDATE `player_levelstats` SET `basehp` = 116, `basemana` = 219 WHERE `class` = 2 AND `level`=12; -UPDATE `player_levelstats` SET `basehp` = 124, `basemana` = 249 WHERE `class` = 2 AND `level`=13; -UPDATE `player_levelstats` SET `basehp` = 132, `basemana` = 265 WHERE `class` = 2 AND `level`=14; -UPDATE `player_levelstats` SET `basehp` = 131, `basemana` = 282 WHERE `class` = 2 AND `level`=15; -UPDATE `player_levelstats` SET `basehp` = 141, `basemana` = 315 WHERE `class` = 2 AND `level`=16; -UPDATE `player_levelstats` SET `basehp` = 152, `basemana` = 334 WHERE `class` = 2 AND `level`=17; -UPDATE `player_levelstats` SET `basehp` = 164, `basemana` = 354 WHERE `class` = 2 AND `level`=18; -UPDATE `player_levelstats` SET `basehp` = 177, `basemana` = 390 WHERE `class` = 2 AND `level`=19; -UPDATE `player_levelstats` SET `basehp` = 191, `basemana` = 412 WHERE `class` = 2 AND `level`=20; -UPDATE `player_levelstats` SET `basehp` = 206, `basemana` = 435 WHERE `class` = 2 AND `level`=21; -UPDATE `player_levelstats` SET `basehp` = 222, `basemana` = 459 WHERE `class` = 2 AND `level`=22; -UPDATE `player_levelstats` SET `basehp` = 239, `basemana` = 499 WHERE `class` = 2 AND `level`=23; -UPDATE `player_levelstats` SET `basehp` = 247, `basemana` = 525 WHERE `class` = 2 AND `level`=24; -UPDATE `player_levelstats` SET `basehp` = 266, `basemana` = 552 WHERE `class` = 2 AND `level`=25; -UPDATE `player_levelstats` SET `basehp` = 286, `basemana` = 579 WHERE `class` = 2 AND `level`=26; -UPDATE `player_levelstats` SET `basehp` = 307, `basemana` = 621 WHERE `class` = 2 AND `level`=27; -UPDATE `player_levelstats` SET `basehp` = 329, `basemana` = 648 WHERE `class` = 2 AND `level`=28; -UPDATE `player_levelstats` SET `basehp` = 342, `basemana` = 675 WHERE `class` = 2 AND `level`=29; -UPDATE `player_levelstats` SET `basehp` = 366, `basemana` = 702 WHERE `class` = 2 AND `level`=30; -UPDATE `player_levelstats` SET `basehp` = 391, `basemana` = 729 WHERE `class` = 2 AND `level`=31; -UPDATE `player_levelstats` SET `basehp` = 407, `basemana` = 756 WHERE `class` = 2 AND `level`=32; -UPDATE `player_levelstats` SET `basehp` = 434, `basemana` = 798 WHERE `class` = 2 AND `level`=33; -UPDATE `player_levelstats` SET `basehp` = 462, `basemana` = 825 WHERE `class` = 2 AND `level`=34; -UPDATE `player_levelstats` SET `basehp` = 481, `basemana` = 852 WHERE `class` = 2 AND `level`=35; -UPDATE `player_levelstats` SET `basehp` = 511, `basemana` = 879 WHERE `class` = 2 AND `level`=36; -UPDATE `player_levelstats` SET `basehp` = 542, `basemana` = 906 WHERE `class` = 2 AND `level`=37; -UPDATE `player_levelstats` SET `basehp` = 564, `basemana` = 933 WHERE `class` = 2 AND `level`=38; -UPDATE `player_levelstats` SET `basehp` = 597, `basemana` = 960 WHERE `class` = 2 AND `level`=39; -UPDATE `player_levelstats` SET `basehp` = 621, `basemana` = 987 WHERE `class` = 2 AND `level`=40; -UPDATE `player_levelstats` SET `basehp` = 656, `basemana` =1014 WHERE `class` = 2 AND `level`=41; -UPDATE `player_levelstats` SET `basehp` = 682, `basemana` =1041 WHERE `class` = 2 AND `level`=42; -UPDATE `player_levelstats` SET `basehp` = 719, `basemana` =1068 WHERE `class` = 2 AND `level`=43; -UPDATE `player_levelstats` SET `basehp` = 747, `basemana` =1110 WHERE `class` = 2 AND `level`=44; -UPDATE `player_levelstats` SET `basehp` = 786, `basemana` =1137 WHERE `class` = 2 AND `level`=45; -UPDATE `player_levelstats` SET `basehp` = 816, `basemana` =1164 WHERE `class` = 2 AND `level`=46; -UPDATE `player_levelstats` SET `basehp` = 857, `basemana` =1176 WHERE `class` = 2 AND `level`=47; -UPDATE `player_levelstats` SET `basehp` = 889, `basemana` =1203 WHERE `class` = 2 AND `level`=48; -UPDATE `player_levelstats` SET `basehp` = 922, `basemana` =1230 WHERE `class` = 2 AND `level`=49; -UPDATE `player_levelstats` SET `basehp` = 966, `basemana` =1257 WHERE `class` = 2 AND `level`=50; -UPDATE `player_levelstats` SET `basehp` =1001, `basemana` =1284 WHERE `class` = 2 AND `level`=51; -UPDATE `player_levelstats` SET `basehp` =1037, `basemana` =1311 WHERE `class` = 2 AND `level`=52; -UPDATE `player_levelstats` SET `basehp` =1084, `basemana` =1338 WHERE `class` = 2 AND `level`=53; -UPDATE `player_levelstats` SET `basehp` =1122, `basemana` =1365 WHERE `class` = 2 AND `level`=54; -UPDATE `player_levelstats` SET `basehp` =1161, `basemana` =1392 WHERE `class` = 2 AND `level`=55; -UPDATE `player_levelstats` SET `basehp` =1201, `basemana` =1419 WHERE `class` = 2 AND `level`=56; -UPDATE `player_levelstats` SET `basehp` =1252, `basemana` =1446 WHERE `class` = 2 AND `level`=57; -UPDATE `player_levelstats` SET `basehp` =1294, `basemana` =1458 WHERE `class` = 2 AND `level`=58; -UPDATE `player_levelstats` SET `basehp` =1337, `basemana` =1485 WHERE `class` = 2 AND `level`=59; -UPDATE `player_levelstats` SET `basehp` =1381, `basemana` =1512 WHERE `class` = 2 AND `level`=60; -UPDATE `player_levelstats` SET `basehp` =1540, `basemana` =1656 WHERE `class` = 2 AND `level`=61; -UPDATE `player_levelstats` SET `basehp` =1708, `basemana` =1800 WHERE `class` = 2 AND `level`=62; -UPDATE `player_levelstats` SET `basehp` =1884, `basemana` =1944 WHERE `class` = 2 AND `level`=63; -UPDATE `player_levelstats` SET `basehp` =2068, `basemana` =2088 WHERE `class` = 2 AND `level`=64; -UPDATE `player_levelstats` SET `basehp` =2262, `basemana` =2232 WHERE `class` = 2 AND `level`=65; -UPDATE `player_levelstats` SET `basehp` =2466, `basemana` =2377 WHERE `class` = 2 AND `level`=66; -UPDATE `player_levelstats` SET `basehp` =2679, `basemana` =2521 WHERE `class` = 2 AND `level`=67; -UPDATE `player_levelstats` SET `basehp` =2901, `basemana` =2665 WHERE `class` = 2 AND `level`=68; -UPDATE `player_levelstats` SET `basehp` =3134, `basemana` =2809 WHERE `class` = 2 AND `level`=69; -UPDATE `player_levelstats` SET `basehp` =3377, `basemana` =2953 WHERE `class` = 2 AND `level`=70; +UPDATE `player_levelstats` SET `basehp` = 28, `basemana` = 60 WHERE `class` = 2 AND `level`=1; +UPDATE `player_levelstats` SET `basehp` = 36, `basemana` = 78 WHERE `class` = 2 AND `level`=2; +UPDATE `player_levelstats` SET `basehp` = 44, `basemana` = 98 WHERE `class` = 2 AND `level`=3; +UPDATE `player_levelstats` SET `basehp` = 52, `basemana` = 104 WHERE `class` = 2 AND `level`=4; +UPDATE `player_levelstats` SET `basehp` = 60, `basemana` = 111 WHERE `class` = 2 AND `level`=5; +UPDATE `player_levelstats` SET `basehp` = 68, `basemana` = 134 WHERE `class` = 2 AND `level`=6; +UPDATE `player_levelstats` SET `basehp` = 76, `basemana` = 143 WHERE `class` = 2 AND `level`=7; +UPDATE `player_levelstats` SET `basehp` = 84, `basemana` = 153 WHERE `class` = 2 AND `level`=8; +UPDATE `player_levelstats` SET `basehp` = 92, `basemana` = 179 WHERE `class` = 2 AND `level`=9; +UPDATE `player_levelstats` SET `basehp` = 100, `basemana` = 192 WHERE `class` = 2 AND `level`=10; +UPDATE `player_levelstats` SET `basehp` = 108, `basemana` = 205 WHERE `class` = 2 AND `level`=11; +UPDATE `player_levelstats` SET `basehp` = 116, `basemana` = 219 WHERE `class` = 2 AND `level`=12; +UPDATE `player_levelstats` SET `basehp` = 124, `basemana` = 249 WHERE `class` = 2 AND `level`=13; +UPDATE `player_levelstats` SET `basehp` = 132, `basemana` = 265 WHERE `class` = 2 AND `level`=14; +UPDATE `player_levelstats` SET `basehp` = 131, `basemana` = 282 WHERE `class` = 2 AND `level`=15; +UPDATE `player_levelstats` SET `basehp` = 141, `basemana` = 315 WHERE `class` = 2 AND `level`=16; +UPDATE `player_levelstats` SET `basehp` = 152, `basemana` = 334 WHERE `class` = 2 AND `level`=17; +UPDATE `player_levelstats` SET `basehp` = 164, `basemana` = 354 WHERE `class` = 2 AND `level`=18; +UPDATE `player_levelstats` SET `basehp` = 177, `basemana` = 390 WHERE `class` = 2 AND `level`=19; +UPDATE `player_levelstats` SET `basehp` = 191, `basemana` = 412 WHERE `class` = 2 AND `level`=20; +UPDATE `player_levelstats` SET `basehp` = 206, `basemana` = 435 WHERE `class` = 2 AND `level`=21; +UPDATE `player_levelstats` SET `basehp` = 222, `basemana` = 459 WHERE `class` = 2 AND `level`=22; +UPDATE `player_levelstats` SET `basehp` = 239, `basemana` = 499 WHERE `class` = 2 AND `level`=23; +UPDATE `player_levelstats` SET `basehp` = 247, `basemana` = 525 WHERE `class` = 2 AND `level`=24; +UPDATE `player_levelstats` SET `basehp` = 266, `basemana` = 552 WHERE `class` = 2 AND `level`=25; +UPDATE `player_levelstats` SET `basehp` = 286, `basemana` = 579 WHERE `class` = 2 AND `level`=26; +UPDATE `player_levelstats` SET `basehp` = 307, `basemana` = 621 WHERE `class` = 2 AND `level`=27; +UPDATE `player_levelstats` SET `basehp` = 329, `basemana` = 648 WHERE `class` = 2 AND `level`=28; +UPDATE `player_levelstats` SET `basehp` = 342, `basemana` = 675 WHERE `class` = 2 AND `level`=29; +UPDATE `player_levelstats` SET `basehp` = 366, `basemana` = 702 WHERE `class` = 2 AND `level`=30; +UPDATE `player_levelstats` SET `basehp` = 391, `basemana` = 729 WHERE `class` = 2 AND `level`=31; +UPDATE `player_levelstats` SET `basehp` = 407, `basemana` = 756 WHERE `class` = 2 AND `level`=32; +UPDATE `player_levelstats` SET `basehp` = 434, `basemana` = 798 WHERE `class` = 2 AND `level`=33; +UPDATE `player_levelstats` SET `basehp` = 462, `basemana` = 825 WHERE `class` = 2 AND `level`=34; +UPDATE `player_levelstats` SET `basehp` = 481, `basemana` = 852 WHERE `class` = 2 AND `level`=35; +UPDATE `player_levelstats` SET `basehp` = 511, `basemana` = 879 WHERE `class` = 2 AND `level`=36; +UPDATE `player_levelstats` SET `basehp` = 542, `basemana` = 906 WHERE `class` = 2 AND `level`=37; +UPDATE `player_levelstats` SET `basehp` = 564, `basemana` = 933 WHERE `class` = 2 AND `level`=38; +UPDATE `player_levelstats` SET `basehp` = 597, `basemana` = 960 WHERE `class` = 2 AND `level`=39; +UPDATE `player_levelstats` SET `basehp` = 621, `basemana` = 987 WHERE `class` = 2 AND `level`=40; +UPDATE `player_levelstats` SET `basehp` = 656, `basemana` =1014 WHERE `class` = 2 AND `level`=41; +UPDATE `player_levelstats` SET `basehp` = 682, `basemana` =1041 WHERE `class` = 2 AND `level`=42; +UPDATE `player_levelstats` SET `basehp` = 719, `basemana` =1068 WHERE `class` = 2 AND `level`=43; +UPDATE `player_levelstats` SET `basehp` = 747, `basemana` =1110 WHERE `class` = 2 AND `level`=44; +UPDATE `player_levelstats` SET `basehp` = 786, `basemana` =1137 WHERE `class` = 2 AND `level`=45; +UPDATE `player_levelstats` SET `basehp` = 816, `basemana` =1164 WHERE `class` = 2 AND `level`=46; +UPDATE `player_levelstats` SET `basehp` = 857, `basemana` =1176 WHERE `class` = 2 AND `level`=47; +UPDATE `player_levelstats` SET `basehp` = 889, `basemana` =1203 WHERE `class` = 2 AND `level`=48; +UPDATE `player_levelstats` SET `basehp` = 922, `basemana` =1230 WHERE `class` = 2 AND `level`=49; +UPDATE `player_levelstats` SET `basehp` = 966, `basemana` =1257 WHERE `class` = 2 AND `level`=50; +UPDATE `player_levelstats` SET `basehp` =1001, `basemana` =1284 WHERE `class` = 2 AND `level`=51; +UPDATE `player_levelstats` SET `basehp` =1037, `basemana` =1311 WHERE `class` = 2 AND `level`=52; +UPDATE `player_levelstats` SET `basehp` =1084, `basemana` =1338 WHERE `class` = 2 AND `level`=53; +UPDATE `player_levelstats` SET `basehp` =1122, `basemana` =1365 WHERE `class` = 2 AND `level`=54; +UPDATE `player_levelstats` SET `basehp` =1161, `basemana` =1392 WHERE `class` = 2 AND `level`=55; +UPDATE `player_levelstats` SET `basehp` =1201, `basemana` =1419 WHERE `class` = 2 AND `level`=56; +UPDATE `player_levelstats` SET `basehp` =1252, `basemana` =1446 WHERE `class` = 2 AND `level`=57; +UPDATE `player_levelstats` SET `basehp` =1294, `basemana` =1458 WHERE `class` = 2 AND `level`=58; +UPDATE `player_levelstats` SET `basehp` =1337, `basemana` =1485 WHERE `class` = 2 AND `level`=59; +UPDATE `player_levelstats` SET `basehp` =1381, `basemana` =1512 WHERE `class` = 2 AND `level`=60; +UPDATE `player_levelstats` SET `basehp` =1540, `basemana` =1656 WHERE `class` = 2 AND `level`=61; +UPDATE `player_levelstats` SET `basehp` =1708, `basemana` =1800 WHERE `class` = 2 AND `level`=62; +UPDATE `player_levelstats` SET `basehp` =1884, `basemana` =1944 WHERE `class` = 2 AND `level`=63; +UPDATE `player_levelstats` SET `basehp` =2068, `basemana` =2088 WHERE `class` = 2 AND `level`=64; +UPDATE `player_levelstats` SET `basehp` =2262, `basemana` =2232 WHERE `class` = 2 AND `level`=65; +UPDATE `player_levelstats` SET `basehp` =2466, `basemana` =2377 WHERE `class` = 2 AND `level`=66; +UPDATE `player_levelstats` SET `basehp` =2679, `basemana` =2521 WHERE `class` = 2 AND `level`=67; +UPDATE `player_levelstats` SET `basehp` =2901, `basemana` =2665 WHERE `class` = 2 AND `level`=68; +UPDATE `player_levelstats` SET `basehp` =3134, `basemana` =2809 WHERE `class` = 2 AND `level`=69; +UPDATE `player_levelstats` SET `basehp` =3377, `basemana` =2953 WHERE `class` = 2 AND `level`=70; diff --git a/sql/updates/0.10/5498_mangos_spell_affect.sql b/sql/updates/0.10/5498_mangos_spell_affect.sql index f2f62fb56..38734ed52 100644 --- a/sql/updates/0.10/5498_mangos_spell_affect.sql +++ b/sql/updates/0.10/5498_mangos_spell_affect.sql @@ -1,8 +1,8 @@ --- Ice Shards -UPDATE spell_affect SET SpellFamilyMask = SpellFamilyMask | 0x20000 WHERE (entry = 11207) OR (entry = 12672) OR (entry = 15047) OR (entry = 15052) OR (entry = 15053); --- Piercing Ice -UPDATE spell_affect SET SpellFamilyMask = SpellFamilyMask | 0x20000 WHERE ((entry = 11151) OR (entry = 12952) OR (entry = 12953) OR (entry = 12954) OR (entry = 12957)) AND (effectId = 0); --- Arctic Reach -UPDATE spell_affect SET SpellFamilyMask = SpellFamilyMask | 0x20000 WHERE ((entry = 16757) OR (entry = 16758)) AND (effectId = 0); --- Frost Channeling -UPDATE spell_affect SET SpellFamilyMask = SpellFamilyMask | 0x20000 WHERE ((entry = 11160) OR (entry = 12518) OR (entry = 12519)) AND (effectId = 0); \ No newline at end of file +-- Ice Shards +UPDATE spell_affect SET SpellFamilyMask = SpellFamilyMask | 0x20000 WHERE (entry = 11207) OR (entry = 12672) OR (entry = 15047) OR (entry = 15052) OR (entry = 15053); +-- Piercing Ice +UPDATE spell_affect SET SpellFamilyMask = SpellFamilyMask | 0x20000 WHERE ((entry = 11151) OR (entry = 12952) OR (entry = 12953) OR (entry = 12954) OR (entry = 12957)) AND (effectId = 0); +-- Arctic Reach +UPDATE spell_affect SET SpellFamilyMask = SpellFamilyMask | 0x20000 WHERE ((entry = 16757) OR (entry = 16758)) AND (effectId = 0); +-- Frost Channeling +UPDATE spell_affect SET SpellFamilyMask = SpellFamilyMask | 0x20000 WHERE ((entry = 11160) OR (entry = 12518) OR (entry = 12519)) AND (effectId = 0); diff --git a/sql/updates/0.10/5505_mangos.sql b/sql/updates/0.10/5505_mangos.sql index 72cc66e56..d04847d91 100644 --- a/sql/updates/0.10/5505_mangos.sql +++ b/sql/updates/0.10/5505_mangos.sql @@ -1,801 +1,801 @@ --- Then update all tables -ALTER TABLE `areatrigger_involvedrelation` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier', - CHANGE COLUMN `quest` `quest` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier'; -ALTER TABLE `areatrigger_tavern` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier'; -ALTER TABLE `areatrigger_teleport` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier', - CHANGE COLUMN `required_level` `required_level` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `required_item` `required_item` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `target_map` `target_map` smallint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `battleground_template` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL, - CHANGE COLUMN `MinPlayersPerTeam` `MinPlayersPerTeam` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `MaxPlayersPerTeam` `MaxPlayersPerTeam` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `MinLvl` `MinLvl` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `MaxLvl` `MaxLvl` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `AllianceStartLoc` `AllianceStartLoc` mediumint unsigned NOT NULL, - CHANGE COLUMN `HordeStartLoc` `HordeStartLoc` mediumint unsigned NOT NULL; -ALTER TABLE `battlemaster_entry` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Entry of a creature', - CHANGE COLUMN `bg_template` `bg_template` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Battleground template id'; -ALTER TABLE `command` - CHANGE COLUMN `security` `security` tinyint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `creature` - CHANGE COLUMN `guid` `guid` integer unsigned NOT NULL auto_increment COMMENT 'Global Unique Identifier', - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Creature Identifier', - CHANGE COLUMN `map` `map` smallint unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier', - CHANGE COLUMN `modelid` `modelid` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `equipment_id` `equipment_id` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `spawntimesecs` `spawntimesecs` integer unsigned NOT NULL DEFAULT 120, - CHANGE COLUMN `currentwaypoint` `currentwaypoint` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `curhealth` `curhealth` integer unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `curmana` `curmana` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `DeathState` `DeathState` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `MovementType` `MovementType` tinyint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `creature_addon` - CHANGE COLUMN `guid` `guid` integer NOT NULL DEFAULT 0, - CHANGE COLUMN `mount` `mount` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `bytes0` `bytes0` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `bytes1` `bytes1` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `bytes2` `bytes2` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `emote` `emote` integer unsigned NOT NULL DEFAULT 0; -ALTER TABLE `creature_equip_template` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Unique entry', - CHANGE COLUMN `equipmodel1` `equipmodel1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `equipmodel2` `equipmodel2` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `equipmodel3` `equipmodel3` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `equipinfo1` `equipinfo1` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `equipinfo2` `equipinfo2` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `equipinfo3` `equipinfo3` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `equipslot1` `equipslot1` integer NOT NULL DEFAULT 0, - CHANGE COLUMN `equipslot2` `equipslot2` integer NOT NULL DEFAULT 0, - CHANGE COLUMN `equipslot3` `equipslot3` integer NOT NULL DEFAULT 0; -ALTER TABLE `creature_involvedrelation` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier', - CHANGE COLUMN `quest` `quest` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier'; -ALTER TABLE `creature_loot_template` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `QuestChanceOrGroup` `QuestChanceOrGroup` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `mincount` `mincount` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `maxcount` `maxcount` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `freeforall` `freeforall` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lootcondition` `lootcondition` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `condition_value1` `condition_value1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `condition_value2` `condition_value2` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `creature_model_info` - CHANGE COLUMN `modelid` `modelid` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `gender` `gender` tinyint unsigned NOT NULL DEFAULT 2, - CHANGE COLUMN `modelid_other_gender` `modelid_other_gender` mediumint unsigned NOT NULL DEFAULT 0; -UPDATE `creature_movement` SET `orientation`=0 WHERE `orientation` IS NULL; -UPDATE `creature_movement` SET `model1`=0 WHERE `model1` IS NULL; -UPDATE `creature_movement` SET `model2`=0 WHERE `model2` IS NULL; -ALTER TABLE `creature_movement` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier', - CHANGE COLUMN `point` `point` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `waittime` `waittime` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `aiscript` `aiscript` varchar(128), - CHANGE COLUMN `emote` `emote` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spell` `spell` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `wpguid` `wpguid` integer NOT NULL DEFAULT 0, - CHANGE COLUMN `orientation` `orientation` float NOT NULL DEFAULT 0, - CHANGE COLUMN `model1` `model1` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `model2` `model2` mediumint NOT NULL DEFAULT 0; -ALTER TABLE `creature_onkill_reputation` - CHANGE COLUMN `creature_id` `creature_id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Creature Identifier', - CHANGE COLUMN `RewOnKillRepFaction1` `RewOnKillRepFaction1` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `RewOnKillRepFaction2` `RewOnKillRepFaction2` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `MaxStanding1` `MaxStanding1` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `IsTeamAward1` `IsTeamAward1` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `RewOnKillRepValue1` `RewOnKillRepValue1` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `MaxStanding2` `MaxStanding2` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `IsTeamAward2` `IsTeamAward2` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `RewOnKillRepValue2` `RewOnKillRepValue2` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `TeamDependent` `TeamDependent` tinyint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `creature_questrelation` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier', - CHANGE COLUMN `quest` `quest` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier'; -ALTER TABLE `creature_respawn` - CHANGE COLUMN `guid` `guid` integer unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier', - CHANGE COLUMN `respawntime` `respawntime` bigint NOT NULL DEFAULT 0, - CHANGE COLUMN `instance` `instance` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `creature_template` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `modelid_A` `modelid_A` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `modelid_A2` `modelid_A2` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `modelid_H` `modelid_H` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `modelid_H2` `modelid_H2` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `minlevel` `minlevel` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `maxlevel` `maxlevel` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `minhealth` `minhealth` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `maxhealth` `maxhealth` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `minmana` `minmana` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `maxmana` `maxmana` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `armor` `armor` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `faction_A` `faction_A` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `faction_H` `faction_H` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `npcflag` `npcflag` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `speed` `speed` float NOT NULL DEFAULT 1.0, - CHANGE COLUMN `scale` `scale` float NOT NULL DEFAULT 0, - CHANGE COLUMN `rank` `rank` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `mindmg` `mindmg` float NOT NULL DEFAULT 0, - CHANGE COLUMN `maxdmg` `maxdmg` float NOT NULL DEFAULT 0, - CHANGE COLUMN `dmgschool` `dmgschool` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `attackpower` `attackpower` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `baseattacktime` `baseattacktime` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `rangeattacktime` `rangeattacktime` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `flags` `flags` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `dynamicflags` `dynamicflags` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `family` `family` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `trainer_type` `trainer_type` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `trainer_spell` `trainer_spell` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `class` `class` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `race` `race` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `rangedattackpower` `rangedattackpower` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `type` `type` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `civilian` `civilian` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `flag1` `flag1` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lootid` `lootid` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `pickpocketloot` `pickpocketloot` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `skinloot` `skinloot` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `resistance1` `resistance1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `resistance2` `resistance2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `resistance3` `resistance3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `resistance4` `resistance4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `resistance5` `resistance5` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `resistance6` `resistance6` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spell1` `spell1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spell2` `spell2` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spell3` `spell3` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spell4` `spell4` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `mingold` `mingold` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `maxgold` `maxgold` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `AIName` `AIName` char(64) NOT NULL DEFAULT '', - CHANGE COLUMN `MovementType` `MovementType` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `InhabitType` `InhabitType` tinyint unsigned NOT NULL DEFAULT 3, - CHANGE COLUMN `RacialLeader` `RacialLeader` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RegenHealth` `RegenHealth` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `equipment_id` `equipment_id` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `mechanic_immune_mask` `mechanic_immune_mask` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ScriptName` `ScriptName` char(64) NOT NULL DEFAULT ''; -ALTER TABLE `creature_template_addon` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `mount` `mount` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `bytes0` `bytes0` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `bytes1` `bytes1` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `bytes2` `bytes2` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `emote` `emote` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `disenchant_loot_template` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Recommended id selection: item_level*100 + item_quality', - CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `QuestChanceOrGroup` `QuestChanceOrGroup` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `mincount` `mincount` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `maxcount` `maxcount` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `freeforall` `freeforall` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lootcondition` `lootcondition` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `condition_value1` `condition_value1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `condition_value2` `condition_value2` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `event_scripts` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `delay` `delay` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `command` `command` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `datalong` `datalong` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `datalong2` `datalong2` integer unsigned NOT NULL DEFAULT 0; -ALTER TABLE `exploration_basexp` - CHANGE COLUMN `level` `level` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `basexp` `basexp` mediumint NOT NULL DEFAULT 0; -ALTER TABLE `fishing_loot_template` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `QuestChanceOrGroup` `QuestChanceOrGroup` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `mincount` `mincount` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `maxcount` `maxcount` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `freeforall` `freeforall` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lootcondition` `lootcondition` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `condition_value1` `condition_value1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `condition_value2` `condition_value2` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `game_event_creature` - CHANGE COLUMN `guid` `guid` integer unsigned NOT NULL, - CHANGE COLUMN `event` `event` smallint NOT NULL DEFAULT 0 COMMENT 'Put negatives values to remove during event'; -ALTER TABLE `game_event_creature_quest` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `quest` `quest` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `event` `event` smallint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `game_event_gameobject` - CHANGE COLUMN `guid` `guid` integer unsigned NOT NULL, - CHANGE COLUMN `event` `event` smallint NOT NULL DEFAULT 0 COMMENT 'Put negatives values to remove during event'; -ALTER TABLE `game_event_model_equip` - CHANGE COLUMN `guid` `guid` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `modelid` `modelid` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `equipment_id` `equipment_id` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `event` `event` smallint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `game_graveyard_zone` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ghost_zone` `ghost_zone` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `faction` `faction` smallint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `game_tele` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL auto_increment, - CHANGE COLUMN `map` `map` smallint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `game_weather` - CHANGE COLUMN `zone` `zone` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spring_rain_chance` `spring_rain_chance` tinyint unsigned NOT NULL DEFAULT 25, - CHANGE COLUMN `spring_snow_chance` `spring_snow_chance` tinyint unsigned NOT NULL DEFAULT 25, - CHANGE COLUMN `spring_storm_chance` `spring_storm_chance` tinyint unsigned NOT NULL DEFAULT 25, - CHANGE COLUMN `summer_rain_chance` `summer_rain_chance` tinyint unsigned NOT NULL DEFAULT 25, - CHANGE COLUMN `summer_snow_chance` `summer_snow_chance` tinyint unsigned NOT NULL DEFAULT 25, - CHANGE COLUMN `summer_storm_chance` `summer_storm_chance` tinyint unsigned NOT NULL DEFAULT 25, - CHANGE COLUMN `fall_rain_chance` `fall_rain_chance` tinyint unsigned NOT NULL DEFAULT 25, - CHANGE COLUMN `fall_snow_chance` `fall_snow_chance` tinyint unsigned NOT NULL DEFAULT 25, - CHANGE COLUMN `fall_storm_chance` `fall_storm_chance` tinyint unsigned NOT NULL DEFAULT 25, - CHANGE COLUMN `winter_rain_chance` `winter_rain_chance` tinyint unsigned NOT NULL DEFAULT 25, - CHANGE COLUMN `winter_snow_chance` `winter_snow_chance` tinyint unsigned NOT NULL DEFAULT 25, - CHANGE COLUMN `winter_storm_chance` `winter_storm_chance` tinyint unsigned NOT NULL DEFAULT 25; -ALTER TABLE `gameobject` - CHANGE COLUMN `guid` `guid` integer unsigned NOT NULL auto_increment COMMENT 'Global Unique Identifier', - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Gameobject Identifier', - CHANGE COLUMN `map` `map` smallint unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier', - CHANGE COLUMN `spawntimesecs` `spawntimesecs` integer NOT NULL DEFAULT 0, - CHANGE COLUMN `animprogress` `animprogress` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `state` `state` tinyint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `gameobject_involvedrelation` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `quest` `quest` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier'; -ALTER TABLE `gameobject_loot_template` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `QuestChanceOrGroup` `QuestChanceOrGroup` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `mincount` `mincount` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `maxcount` `maxcount` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `freeforall` `freeforall` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lootcondition` `lootcondition` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `condition_value1` `condition_value1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `condition_value2` `condition_value2` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `gameobject_questrelation` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `quest` `quest` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier'; -ALTER TABLE `gameobject_respawn` - CHANGE COLUMN `guid` `guid` integer unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier', - CHANGE COLUMN `respawntime` `respawntime` bigint NOT NULL DEFAULT 0, - CHANGE COLUMN `instance` `instance` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `gameobject_scripts` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `delay` `delay` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `command` `command` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `datalong` `datalong` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `datalong2` `datalong2` integer unsigned NOT NULL DEFAULT 0; -ALTER TABLE `gameobject_template` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `type` `type` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `displayId` `displayId` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `name` `name` varchar(100) NOT NULL DEFAULT '', - CHANGE COLUMN `faction` `faction` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `flags` `flags` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data0` `data0` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data1` `data1` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data2` `data2` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data3` `data3` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data4` `data4` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data5` `data5` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data6` `data6` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data7` `data7` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data8` `data8` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data9` `data9` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data10` `data10` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data11` `data11` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data12` `data12` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data13` `data13` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data14` `data14` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data15` `data15` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data16` `data16` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data17` `data17` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data18` `data18` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data19` `data19` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data20` `data20` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data21` `data21` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data22` `data22` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `data23` `data23` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ScriptName` `ScriptName` varchar(64) NOT NULL DEFAULT ''; -ALTER TABLE `instance_template` - CHANGE COLUMN `map` `map` smallint unsigned NOT NULL, - CHANGE COLUMN `parent` `parent` integer unsigned NOT NULL, - CHANGE COLUMN `levelMin` `levelMin` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `levelMax` `levelMax` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `maxPlayers` `maxPlayers` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `reset_delay` `reset_delay` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `script` `script` varchar(128) NOT NULL DEFAULT ''; -ALTER TABLE `item_enchantment_template` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ench` `ench` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `item_loot_template` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `QuestChanceOrGroup` `QuestChanceOrGroup` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `mincount` `mincount` smallint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `maxcount` `maxcount` smallint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `freeforall` `freeforall` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lootcondition` `lootcondition` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `condition_value1` `condition_value1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `condition_value2` `condition_value2` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `item_template` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `class` `class` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `subclass` `subclass` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `unk0` `unk0` integer NOT NULL DEFAULT -1, - CHANGE COLUMN `name` `name` varchar(255) NOT NULL DEFAULT '', - CHANGE COLUMN `displayid` `displayid` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `Quality` `Quality` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `Flags` `Flags` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `BuyCount` `BuyCount` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `BuyPrice` `BuyPrice` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `SellPrice` `SellPrice` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `InventoryType` `InventoryType` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `AllowableClass` `AllowableClass` mediumint NOT NULL DEFAULT -1, - CHANGE COLUMN `AllowableRace` `AllowableRace` mediumint NOT NULL DEFAULT -1, - CHANGE COLUMN `ItemLevel` `ItemLevel` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RequiredLevel` `RequiredLevel` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RequiredSkill` `RequiredSkill` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RequiredSkillRank` `RequiredSkillRank` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `requiredspell` `requiredspell` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `requiredhonorrank` `requiredhonorrank` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RequiredCityRank` `RequiredCityRank` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RequiredReputationFaction` `RequiredReputationFaction` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RequiredReputationRank` `RequiredReputationRank` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `maxcount` `maxcount` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `stackable` `stackable` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ContainerSlots` `ContainerSlots` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_type1` `stat_type1` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_value1` `stat_value1` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_type2` `stat_type2` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_value2` `stat_value2` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_type3` `stat_type3` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_value3` `stat_value3` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_type4` `stat_type4` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_value4` `stat_value4` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_type5` `stat_type5` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_value5` `stat_value5` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_type6` `stat_type6` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_value6` `stat_value6` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_type7` `stat_type7` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_value7` `stat_value7` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_type8` `stat_type8` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_value8` `stat_value8` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_type9` `stat_type9` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_value9` `stat_value9` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_type10` `stat_type10` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `stat_value10` `stat_value10` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `dmg_type1` `dmg_type1` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `dmg_type2` `dmg_type2` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `dmg_type3` `dmg_type3` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `dmg_type4` `dmg_type4` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `dmg_type5` `dmg_type5` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `armor` `armor` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `holy_res` `holy_res` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `fire_res` `fire_res` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `nature_res` `nature_res` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `frost_res` `frost_res` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `shadow_res` `shadow_res` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `arcane_res` `arcane_res` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `delay` `delay` smallint unsigned NOT NULL DEFAULT 1000, - CHANGE COLUMN `ammo_type` `ammo_type` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spellid_1` `spellid_1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spelltrigger_1` `spelltrigger_1` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spellcharges_1` `spellcharges_1` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `spellcooldown_1` `spellcooldown_1` integer NOT NULL DEFAULT -1, - CHANGE COLUMN `spellcategory_1` `spellcategory_1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spellcategorycooldown_1` `spellcategorycooldown_1` integer NOT NULL DEFAULT -1, - CHANGE COLUMN `spellid_2` `spellid_2` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spelltrigger_2` `spelltrigger_2` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spellcharges_2` `spellcharges_2` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `spellcooldown_2` `spellcooldown_2` integer NOT NULL DEFAULT -1, - CHANGE COLUMN `spellcategory_2` `spellcategory_2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spellcategorycooldown_2` `spellcategorycooldown_2` integer NOT NULL DEFAULT -1, - CHANGE COLUMN `spellid_3` `spellid_3` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spelltrigger_3` `spelltrigger_3` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spellcharges_3` `spellcharges_3` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `spellcooldown_3` `spellcooldown_3` integer NOT NULL DEFAULT -1, - CHANGE COLUMN `spellcategory_3` `spellcategory_3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spellcategorycooldown_3` `spellcategorycooldown_3` integer NOT NULL DEFAULT -1, - CHANGE COLUMN `spellid_4` `spellid_4` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spelltrigger_4` `spelltrigger_4` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spellcharges_4` `spellcharges_4` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `spellcooldown_4` `spellcooldown_4` integer NOT NULL DEFAULT -1, - CHANGE COLUMN `spellcategory_4` `spellcategory_4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spellcategorycooldown_4` `spellcategorycooldown_4` integer NOT NULL DEFAULT -1, - CHANGE COLUMN `spellid_5` `spellid_5` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spelltrigger_5` `spelltrigger_5` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spellcharges_5` `spellcharges_5` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `spellcooldown_5` `spellcooldown_5` integer NOT NULL DEFAULT -1, - CHANGE COLUMN `spellcategory_5` `spellcategory_5` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spellcategorycooldown_5` `spellcategorycooldown_5` integer NOT NULL DEFAULT -1, - CHANGE COLUMN `bonding` `bonding` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `PageText` `PageText` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `LanguageID` `LanguageID` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `PageMaterial` `PageMaterial` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `startquest` `startquest` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lockid` `lockid` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `Material` `Material` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `sheath` `sheath` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RandomProperty` `RandomProperty` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RandomSuffix` `RandomSuffix` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `block` `block` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `itemset` `itemset` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `MaxDurability` `MaxDurability` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `area` `area` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `Map` `Map` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `BagFamily` `BagFamily` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `TotemCategory` `TotemCategory` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `socketColor_1` `socketColor_1` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `socketContent_1` `socketContent_1` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `socketColor_2` `socketColor_2` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `socketContent_2` `socketContent_2` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `socketColor_3` `socketColor_3` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `socketContent_3` `socketContent_3` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `socketBonus` `socketBonus` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `GemProperties` `GemProperties` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `ExtendedCost` `ExtendedCost` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `CondExtendedCost` `CondExtendedCost` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RequiredDisenchantSkill` `RequiredDisenchantSkill` smallint NOT NULL DEFAULT -1, - CHANGE COLUMN `ScriptName` `ScriptName` varchar(64) NOT NULL DEFAULT '', - CHANGE COLUMN `DisenchantID` `DisenchantID` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `FoodType` `FoodType` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `minMoneyLoot` `minMoneyLoot` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `maxMoneyLoot` `maxMoneyLoot` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `Duration` `Duration` integer NOT NULL DEFAULT 0 COMMENT 'Duration in seconds. Negative value means realtime, postive value ingame time'; -ALTER TABLE `locales_creature` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `locales_gameobject` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `locales_item` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `locales_npc_text` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `locales_page_text` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `locales_quest` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `mangos_string` - CHANGE COLUMN `content_default` `content_default` text NOT NULL, - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `npc_gossip` - CHANGE COLUMN `npc_guid` `npc_guid` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `textid` `textid` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `npc_gossip_textid` - CHANGE COLUMN `zoneid` `zoneid` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `action` `action` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `textid` `textid` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `npc_option` - CHANGE COLUMN `id` `id` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `gossip_id` `gossip_id` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `npcflag` `npcflag` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `icon` `icon` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `action` `action` tinyint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `npc_text` - CHANGE COLUMN `ID` `ID` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lang0` `lang0` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em0_0` `em0_0` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em0_1` `em0_1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em0_2` `em0_2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em0_3` `em0_3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em0_4` `em0_4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em0_5` `em0_5` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lang1` `lang1` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em1_0` `em1_0` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em1_1` `em1_1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em1_2` `em1_2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em1_3` `em1_3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em1_4` `em1_4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em1_5` `em1_5` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lang2` `lang2` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em2_0` `em2_0` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em2_1` `em2_1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em2_2` `em2_2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em2_3` `em2_3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em2_4` `em2_4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em2_5` `em2_5` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lang3` `lang3` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em3_0` `em3_0` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em3_1` `em3_1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em3_2` `em3_2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em3_3` `em3_3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em3_4` `em3_4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em3_5` `em3_5` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lang4` `lang4` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em4_0` `em4_0` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em4_1` `em4_1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em4_2` `em4_2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em4_3` `em4_3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em4_4` `em4_4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em4_5` `em4_5` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lang5` `lang5` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em5_0` `em5_0` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em5_1` `em5_1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em5_2` `em5_2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em5_3` `em5_3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em5_4` `em5_4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em5_5` `em5_5` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lang6` `lang6` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em6_0` `em6_0` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em6_1` `em6_1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em6_2` `em6_2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em6_3` `em6_3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em6_4` `em6_4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em6_5` `em6_5` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lang7` `lang7` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em7_0` `em7_0` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em7_1` `em7_1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em7_2` `em7_2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em7_3` `em7_3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em7_4` `em7_4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `em7_5` `em7_5` smallint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `npc_trainer` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spell` `spell` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `spellcost` `spellcost` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `reqskill` `reqskill` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `reqskillvalue` `reqskillvalue` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `reqlevel` `reqlevel` tinyint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `npc_vendor` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `maxcount` `maxcount` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `incrtime` `incrtime` integer unsigned NOT NULL DEFAULT 0; -ALTER TABLE `page_text` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `text` `text` longtext NOT NULL, - CHANGE COLUMN `next_page` `next_page` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `pet_levelstats` - CHANGE COLUMN `creature_entry` `creature_entry` mediumint unsigned NOT NULL, - CHANGE COLUMN `level` `level` tinyint unsigned NOT NULL, - CHANGE COLUMN `hp` `hp` smallint unsigned NOT NULL, - CHANGE COLUMN `mana` `mana` smallint unsigned NOT NULL, - CHANGE COLUMN `armor` `armor` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `str` `str` smallint unsigned NOT NULL, - CHANGE COLUMN `agi` `agi` smallint unsigned NOT NULL, - CHANGE COLUMN `sta` `sta` smallint unsigned NOT NULL, - CHANGE COLUMN `inte` `inte` smallint unsigned NOT NULL, - CHANGE COLUMN `spi` `spi` smallint unsigned NOT NULL; -ALTER TABLE `pet_name_generation` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL auto_increment, - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `half` `half` tinyint NOT NULL DEFAULT 0; -ALTER TABLE `petcreateinfo_spell` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `Spell1` `Spell1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `Spell2` `Spell2` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `Spell3` `Spell3` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `Spell4` `Spell4` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `FamilyPassive` `FamilyPassive` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `pickpocketing_loot_template` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `QuestChanceOrGroup` `QuestChanceOrGroup` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `mincount` `mincount` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `maxcount` `maxcount` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `freeforall` `freeforall` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lootcondition` `lootcondition` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `condition_value1` `condition_value1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `condition_value2` `condition_value2` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `playercreateinfo` - CHANGE COLUMN `race` `race` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `class` `class` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `map` `map` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `zone` `zone` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `playercreateinfo_action` - CHANGE COLUMN `race` `race` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `class` `class` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `button` `button` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `action` `action` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `type` `type` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `misc` `misc` smallint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `playercreateinfo_item` - CHANGE COLUMN `race` `race` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `class` `class` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `itemid` `itemid` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `amount` `amount` tinyint unsigned NOT NULL DEFAULT 1; -ALTER TABLE `playercreateinfo_skill` - CHANGE COLUMN `race` `race` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `class` `class` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `Skill` `Skill` smallint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `playercreateinfo_spell` - CHANGE COLUMN `race` `race` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `class` `class` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `Spell` `Spell` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `Active` `Active` tinyint unsigned NOT NULL DEFAULT 1; --- here posted -ALTER TABLE `prospecting_loot_template` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `QuestChanceOrGroup` `QuestChanceOrGroup` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `mincount` `mincount` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `maxcount` `maxcount` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `freeforall` `freeforall` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lootcondition` `lootcondition` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `condition_value1` `condition_value1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `condition_value2` `condition_value2` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `quest_end_scripts` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `delay` `delay` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `command` `command` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `datalong` `datalong` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `datalong2` `datalong2` integer unsigned NOT NULL DEFAULT 0; -ALTER TABLE `quest_start_scripts` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `delay` `delay` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `command` `command` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `datalong` `datalong` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `datalong2` `datalong2` integer unsigned NOT NULL DEFAULT 0; -ALTER TABLE `quest_template` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ZoneOrSort` `ZoneOrSort` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `MinLevel` `MinLevel` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `QuestLevel` `QuestLevel` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `Type` `Type` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RequiredRaces` `RequiredRaces` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RequiredSkillValue` `RequiredSkillValue` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RepObjectiveFaction` `RepObjectiveFaction` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RepObjectiveValue` `RepObjectiveValue` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `RequiredMinRepFaction` `RequiredMinRepFaction` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RequiredMinRepValue` `RequiredMinRepValue` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `RequiredMaxRepFaction` `RequiredMaxRepFaction` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RequiredMaxRepValue` `RequiredMaxRepValue` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `SuggestedPlayers` `SuggestedPlayers` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `LimitTime` `LimitTime` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `QuestFlags` `QuestFlags` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `SpecialFlags` `SpecialFlags` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `PrevQuestId` `PrevQuestId` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `NextQuestId` `NextQuestId` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `ExclusiveGroup` `ExclusiveGroup` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `NextQuestInChain` `NextQuestInChain` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `SrcItemId` `SrcItemId` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `SrcItemCount` `SrcItemCount` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `SrcSpell` `SrcSpell` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqItemId1` `ReqItemId1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqItemId2` `ReqItemId2` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqItemId3` `ReqItemId3` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqItemId4` `ReqItemId4` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqItemCount1` `ReqItemCount1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqItemCount2` `ReqItemCount2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqItemCount3` `ReqItemCount3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqItemCount4` `ReqItemCount4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqSourceId1` `ReqSourceId1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqSourceId2` `ReqSourceId2` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqSourceId3` `ReqSourceId3` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqSourceId4` `ReqSourceId4` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqSourceCount1` `ReqSourceCount1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqSourceCount2` `ReqSourceCount2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqSourceCount3` `ReqSourceCount3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqSourceCount4` `ReqSourceCount4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqSourceRef1` `ReqSourceRef1` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqSourceRef2` `ReqSourceRef2` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqSourceRef3` `ReqSourceRef3` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqSourceRef4` `ReqSourceRef4` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqCreatureOrGOId1` `ReqCreatureOrGOId1` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqCreatureOrGOId2` `ReqCreatureOrGOId2` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqCreatureOrGOId3` `ReqCreatureOrGOId3` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqCreatureOrGOId4` `ReqCreatureOrGOId4` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqCreatureOrGOCount1` `ReqCreatureOrGOCount1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqCreatureOrGOCount2` `ReqCreatureOrGOCount2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqCreatureOrGOCount3` `ReqCreatureOrGOCount3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqCreatureOrGOCount4` `ReqCreatureOrGOCount4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqSpellCast1` `ReqSpellCast1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqSpellCast2` `ReqSpellCast2` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqSpellCast3` `ReqSpellCast3` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `ReqSpellCast4` `ReqSpellCast4` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewChoiceItemId1` `RewChoiceItemId1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewChoiceItemId2` `RewChoiceItemId2` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewChoiceItemId3` `RewChoiceItemId3` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewChoiceItemId4` `RewChoiceItemId4` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewChoiceItemId5` `RewChoiceItemId5` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewChoiceItemId6` `RewChoiceItemId6` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewChoiceItemCount1` `RewChoiceItemCount1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewChoiceItemCount2` `RewChoiceItemCount2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewChoiceItemCount3` `RewChoiceItemCount3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewChoiceItemCount4` `RewChoiceItemCount4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewChoiceItemCount5` `RewChoiceItemCount5` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewChoiceItemCount6` `RewChoiceItemCount6` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewItemId1` `RewItemId1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewItemId2` `RewItemId2` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewItemId3` `RewItemId3` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewItemId4` `RewItemId4` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewItemCount1` `RewItemCount1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewItemCount2` `RewItemCount2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewItemCount3` `RewItemCount3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewItemCount4` `RewItemCount4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewRepFaction1` `RewRepFaction1` smallint unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case', - CHANGE COLUMN `RewRepFaction2` `RewRepFaction2` smallint unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case', - CHANGE COLUMN `RewRepFaction3` `RewRepFaction3` smallint unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case', - CHANGE COLUMN `RewRepFaction4` `RewRepFaction4` smallint unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case', - CHANGE COLUMN `RewRepFaction5` `RewRepFaction5` smallint unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case', - CHANGE COLUMN `RewRepValue1` `RewRepValue1` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `RewRepValue2` `RewRepValue2` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `RewRepValue3` `RewRepValue3` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `RewRepValue4` `RewRepValue4` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `RewRepValue5` `RewRepValue5` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `RewOrReqMoney` `RewOrReqMoney` integer NOT NULL DEFAULT 0, - CHANGE COLUMN `RewMoneyMaxLevel` `RewMoneyMaxLevel` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `RewSpell` `RewSpell` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `PointMapId` `PointMapId` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `PointOpt` `PointOpt` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `DetailsEmote1` `DetailsEmote1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `DetailsEmote2` `DetailsEmote2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `DetailsEmote3` `DetailsEmote3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `DetailsEmote4` `DetailsEmote4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `IncompleteEmote` `IncompleteEmote` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `CompleteEmote` `CompleteEmote` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `OfferRewardEmote1` `OfferRewardEmote1` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `OfferRewardEmote2` `OfferRewardEmote2` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `OfferRewardEmote3` `OfferRewardEmote3` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `OfferRewardEmote4` `OfferRewardEmote4` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `StartScript` `StartScript` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `CompleteScript` `CompleteScript` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `skill_discovery_template` - CHANGE COLUMN `spellId` `spellId` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'SpellId of the discoverable spell', - CHANGE COLUMN `reqSpell` `reqSpell` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'spell requirement'; -ALTER TABLE `skill_extra_item_template` - CHANGE COLUMN `spellId` `spellId` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'SpellId of the item creation spell', - CHANGE COLUMN `requiredSpecialization` `requiredSpecialization` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Specialization spell id', - CHANGE COLUMN `additionalMaxNum` `additionalMaxNum` tinyint unsigned NOT NULL DEFAULT 0 COMMENT 'max num of adds'; -ALTER TABLE `skinning_loot_template` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `QuestChanceOrGroup` `QuestChanceOrGroup` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `mincount` `mincount` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `maxcount` `maxcount` tinyint unsigned NOT NULL DEFAULT 1, - CHANGE COLUMN `freeforall` `freeforall` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `lootcondition` `lootcondition` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `condition_value1` `condition_value1` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `condition_value2` `condition_value2` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `spell_affect` - CHANGE COLUMN `entry` `entry` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `effectId` `effectId` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `SpellFamily` `SpellFamily` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `SpellFamilyMask` `SpellFamilyMask` bigint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `Charges` `Charges` smallint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `spell_chain` - CHANGE COLUMN `spell_id` `spell_id` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `prev_spell` `prev_spell` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `first_spell` `first_spell` mediumint NOT NULL DEFAULT 0, - CHANGE COLUMN `rank` `rank` tinyint NOT NULL DEFAULT 0; -ALTER TABLE `spell_learn_skill` - CHANGE COLUMN `entry` `entry` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `SkillID` `SkillID` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `Value` `Value` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `MaxValue` `MaxValue` smallint NOT NULL DEFAULT 0; -ALTER TABLE `spell_learn_spell` - CHANGE COLUMN `entry` `entry` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `SpellID` `SpellID` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `IfNoSpell` `IfNoSpell` smallint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `spell_proc_event` - CHANGE COLUMN `entry` `entry` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `SchoolMask` `SchoolMask` tinyint NOT NULL DEFAULT 0, - CHANGE COLUMN `Category` `Category` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `SkillID` `SkillID` smallint NOT NULL DEFAULT 0, - CHANGE COLUMN `SpellFamilyName` `SpellFamilyName` smallint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `SpellFamilyMask` `SpellFamilyMask` bigint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `procFlags` `procFlags` integer unsigned NOT NULL DEFAULT 0; -ALTER TABLE `spell_script_target` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL, - CHANGE COLUMN `type` `type` tinyint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `targetEntry` `targetEntry` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `spell_scripts` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `delay` `delay` integer unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `command` `command` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `datalong` `datalong` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `datalong2` `datalong2` integer unsigned NOT NULL DEFAULT 0; -ALTER TABLE `spell_teleport` - CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier', - CHANGE COLUMN `target_map` `target_map` smallint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `spell_threat` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL, - CHANGE COLUMN `Threat` `Threat` smallint NOT NULL; -ALTER TABLE `transports` - CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `period` `period` mediumint unsigned NOT NULL DEFAULT 0; -ALTER TABLE `uptime` - CHANGE COLUMN `starttime` `starttime` bigint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `startstring` `startstring` varchar(64) NOT NULL DEFAULT '', - CHANGE COLUMN `uptime` `uptime` bigint unsigned NOT NULL DEFAULT 0, - CHANGE COLUMN `maxplayers` `maxplayers` smallint unsigned NOT NULL DEFAULT 0; +-- Then update all tables +ALTER TABLE `areatrigger_involvedrelation` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier', + CHANGE COLUMN `quest` `quest` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier'; +ALTER TABLE `areatrigger_tavern` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier'; +ALTER TABLE `areatrigger_teleport` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier', + CHANGE COLUMN `required_level` `required_level` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `required_item` `required_item` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `target_map` `target_map` smallint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `battleground_template` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL, + CHANGE COLUMN `MinPlayersPerTeam` `MinPlayersPerTeam` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `MaxPlayersPerTeam` `MaxPlayersPerTeam` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `MinLvl` `MinLvl` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `MaxLvl` `MaxLvl` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `AllianceStartLoc` `AllianceStartLoc` mediumint unsigned NOT NULL, + CHANGE COLUMN `HordeStartLoc` `HordeStartLoc` mediumint unsigned NOT NULL; +ALTER TABLE `battlemaster_entry` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Entry of a creature', + CHANGE COLUMN `bg_template` `bg_template` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Battleground template id'; +ALTER TABLE `command` + CHANGE COLUMN `security` `security` tinyint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `creature` + CHANGE COLUMN `guid` `guid` integer unsigned NOT NULL auto_increment COMMENT 'Global Unique Identifier', + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Creature Identifier', + CHANGE COLUMN `map` `map` smallint unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier', + CHANGE COLUMN `modelid` `modelid` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `equipment_id` `equipment_id` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `spawntimesecs` `spawntimesecs` integer unsigned NOT NULL DEFAULT 120, + CHANGE COLUMN `currentwaypoint` `currentwaypoint` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `curhealth` `curhealth` integer unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `curmana` `curmana` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `DeathState` `DeathState` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `MovementType` `MovementType` tinyint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `creature_addon` + CHANGE COLUMN `guid` `guid` integer NOT NULL DEFAULT 0, + CHANGE COLUMN `mount` `mount` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `bytes0` `bytes0` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `bytes1` `bytes1` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `bytes2` `bytes2` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `emote` `emote` integer unsigned NOT NULL DEFAULT 0; +ALTER TABLE `creature_equip_template` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Unique entry', + CHANGE COLUMN `equipmodel1` `equipmodel1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `equipmodel2` `equipmodel2` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `equipmodel3` `equipmodel3` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `equipinfo1` `equipinfo1` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `equipinfo2` `equipinfo2` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `equipinfo3` `equipinfo3` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `equipslot1` `equipslot1` integer NOT NULL DEFAULT 0, + CHANGE COLUMN `equipslot2` `equipslot2` integer NOT NULL DEFAULT 0, + CHANGE COLUMN `equipslot3` `equipslot3` integer NOT NULL DEFAULT 0; +ALTER TABLE `creature_involvedrelation` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier', + CHANGE COLUMN `quest` `quest` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier'; +ALTER TABLE `creature_loot_template` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `QuestChanceOrGroup` `QuestChanceOrGroup` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `mincount` `mincount` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `maxcount` `maxcount` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `freeforall` `freeforall` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lootcondition` `lootcondition` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `condition_value1` `condition_value1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `condition_value2` `condition_value2` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `creature_model_info` + CHANGE COLUMN `modelid` `modelid` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `gender` `gender` tinyint unsigned NOT NULL DEFAULT 2, + CHANGE COLUMN `modelid_other_gender` `modelid_other_gender` mediumint unsigned NOT NULL DEFAULT 0; +UPDATE `creature_movement` SET `orientation`=0 WHERE `orientation` IS NULL; +UPDATE `creature_movement` SET `model1`=0 WHERE `model1` IS NULL; +UPDATE `creature_movement` SET `model2`=0 WHERE `model2` IS NULL; +ALTER TABLE `creature_movement` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier', + CHANGE COLUMN `point` `point` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `waittime` `waittime` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `aiscript` `aiscript` varchar(128), + CHANGE COLUMN `emote` `emote` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spell` `spell` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `wpguid` `wpguid` integer NOT NULL DEFAULT 0, + CHANGE COLUMN `orientation` `orientation` float NOT NULL DEFAULT 0, + CHANGE COLUMN `model1` `model1` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `model2` `model2` mediumint NOT NULL DEFAULT 0; +ALTER TABLE `creature_onkill_reputation` + CHANGE COLUMN `creature_id` `creature_id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Creature Identifier', + CHANGE COLUMN `RewOnKillRepFaction1` `RewOnKillRepFaction1` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `RewOnKillRepFaction2` `RewOnKillRepFaction2` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `MaxStanding1` `MaxStanding1` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `IsTeamAward1` `IsTeamAward1` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `RewOnKillRepValue1` `RewOnKillRepValue1` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `MaxStanding2` `MaxStanding2` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `IsTeamAward2` `IsTeamAward2` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `RewOnKillRepValue2` `RewOnKillRepValue2` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `TeamDependent` `TeamDependent` tinyint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `creature_questrelation` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier', + CHANGE COLUMN `quest` `quest` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier'; +ALTER TABLE `creature_respawn` + CHANGE COLUMN `guid` `guid` integer unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier', + CHANGE COLUMN `respawntime` `respawntime` bigint NOT NULL DEFAULT 0, + CHANGE COLUMN `instance` `instance` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `creature_template` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `modelid_A` `modelid_A` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `modelid_A2` `modelid_A2` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `modelid_H` `modelid_H` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `modelid_H2` `modelid_H2` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `minlevel` `minlevel` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `maxlevel` `maxlevel` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `minhealth` `minhealth` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `maxhealth` `maxhealth` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `minmana` `minmana` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `maxmana` `maxmana` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `armor` `armor` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `faction_A` `faction_A` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `faction_H` `faction_H` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `npcflag` `npcflag` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `speed` `speed` float NOT NULL DEFAULT 1.0, + CHANGE COLUMN `scale` `scale` float NOT NULL DEFAULT 0, + CHANGE COLUMN `rank` `rank` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `mindmg` `mindmg` float NOT NULL DEFAULT 0, + CHANGE COLUMN `maxdmg` `maxdmg` float NOT NULL DEFAULT 0, + CHANGE COLUMN `dmgschool` `dmgschool` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `attackpower` `attackpower` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `baseattacktime` `baseattacktime` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `rangeattacktime` `rangeattacktime` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `flags` `flags` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `dynamicflags` `dynamicflags` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `family` `family` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `trainer_type` `trainer_type` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `trainer_spell` `trainer_spell` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `class` `class` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `race` `race` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `rangedattackpower` `rangedattackpower` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `type` `type` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `civilian` `civilian` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `flag1` `flag1` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lootid` `lootid` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `pickpocketloot` `pickpocketloot` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `skinloot` `skinloot` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `resistance1` `resistance1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `resistance2` `resistance2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `resistance3` `resistance3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `resistance4` `resistance4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `resistance5` `resistance5` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `resistance6` `resistance6` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spell1` `spell1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spell2` `spell2` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spell3` `spell3` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spell4` `spell4` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `mingold` `mingold` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `maxgold` `maxgold` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `AIName` `AIName` char(64) NOT NULL DEFAULT '', + CHANGE COLUMN `MovementType` `MovementType` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `InhabitType` `InhabitType` tinyint unsigned NOT NULL DEFAULT 3, + CHANGE COLUMN `RacialLeader` `RacialLeader` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RegenHealth` `RegenHealth` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `equipment_id` `equipment_id` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `mechanic_immune_mask` `mechanic_immune_mask` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ScriptName` `ScriptName` char(64) NOT NULL DEFAULT ''; +ALTER TABLE `creature_template_addon` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `mount` `mount` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `bytes0` `bytes0` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `bytes1` `bytes1` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `bytes2` `bytes2` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `emote` `emote` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `disenchant_loot_template` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Recommended id selection: item_level*100 + item_quality', + CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `QuestChanceOrGroup` `QuestChanceOrGroup` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `mincount` `mincount` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `maxcount` `maxcount` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `freeforall` `freeforall` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lootcondition` `lootcondition` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `condition_value1` `condition_value1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `condition_value2` `condition_value2` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `event_scripts` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `delay` `delay` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `command` `command` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `datalong` `datalong` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `datalong2` `datalong2` integer unsigned NOT NULL DEFAULT 0; +ALTER TABLE `exploration_basexp` + CHANGE COLUMN `level` `level` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `basexp` `basexp` mediumint NOT NULL DEFAULT 0; +ALTER TABLE `fishing_loot_template` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `QuestChanceOrGroup` `QuestChanceOrGroup` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `mincount` `mincount` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `maxcount` `maxcount` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `freeforall` `freeforall` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lootcondition` `lootcondition` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `condition_value1` `condition_value1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `condition_value2` `condition_value2` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `game_event_creature` + CHANGE COLUMN `guid` `guid` integer unsigned NOT NULL, + CHANGE COLUMN `event` `event` smallint NOT NULL DEFAULT 0 COMMENT 'Put negatives values to remove during event'; +ALTER TABLE `game_event_creature_quest` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `quest` `quest` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `event` `event` smallint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `game_event_gameobject` + CHANGE COLUMN `guid` `guid` integer unsigned NOT NULL, + CHANGE COLUMN `event` `event` smallint NOT NULL DEFAULT 0 COMMENT 'Put negatives values to remove during event'; +ALTER TABLE `game_event_model_equip` + CHANGE COLUMN `guid` `guid` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `modelid` `modelid` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `equipment_id` `equipment_id` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `event` `event` smallint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `game_graveyard_zone` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ghost_zone` `ghost_zone` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `faction` `faction` smallint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `game_tele` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL auto_increment, + CHANGE COLUMN `map` `map` smallint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `game_weather` + CHANGE COLUMN `zone` `zone` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spring_rain_chance` `spring_rain_chance` tinyint unsigned NOT NULL DEFAULT 25, + CHANGE COLUMN `spring_snow_chance` `spring_snow_chance` tinyint unsigned NOT NULL DEFAULT 25, + CHANGE COLUMN `spring_storm_chance` `spring_storm_chance` tinyint unsigned NOT NULL DEFAULT 25, + CHANGE COLUMN `summer_rain_chance` `summer_rain_chance` tinyint unsigned NOT NULL DEFAULT 25, + CHANGE COLUMN `summer_snow_chance` `summer_snow_chance` tinyint unsigned NOT NULL DEFAULT 25, + CHANGE COLUMN `summer_storm_chance` `summer_storm_chance` tinyint unsigned NOT NULL DEFAULT 25, + CHANGE COLUMN `fall_rain_chance` `fall_rain_chance` tinyint unsigned NOT NULL DEFAULT 25, + CHANGE COLUMN `fall_snow_chance` `fall_snow_chance` tinyint unsigned NOT NULL DEFAULT 25, + CHANGE COLUMN `fall_storm_chance` `fall_storm_chance` tinyint unsigned NOT NULL DEFAULT 25, + CHANGE COLUMN `winter_rain_chance` `winter_rain_chance` tinyint unsigned NOT NULL DEFAULT 25, + CHANGE COLUMN `winter_snow_chance` `winter_snow_chance` tinyint unsigned NOT NULL DEFAULT 25, + CHANGE COLUMN `winter_storm_chance` `winter_storm_chance` tinyint unsigned NOT NULL DEFAULT 25; +ALTER TABLE `gameobject` + CHANGE COLUMN `guid` `guid` integer unsigned NOT NULL auto_increment COMMENT 'Global Unique Identifier', + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Gameobject Identifier', + CHANGE COLUMN `map` `map` smallint unsigned NOT NULL DEFAULT 0 COMMENT 'Map Identifier', + CHANGE COLUMN `spawntimesecs` `spawntimesecs` integer NOT NULL DEFAULT 0, + CHANGE COLUMN `animprogress` `animprogress` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `state` `state` tinyint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `gameobject_involvedrelation` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `quest` `quest` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier'; +ALTER TABLE `gameobject_loot_template` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `QuestChanceOrGroup` `QuestChanceOrGroup` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `mincount` `mincount` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `maxcount` `maxcount` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `freeforall` `freeforall` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lootcondition` `lootcondition` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `condition_value1` `condition_value1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `condition_value2` `condition_value2` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `gameobject_questrelation` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `quest` `quest` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Quest Identifier'; +ALTER TABLE `gameobject_respawn` + CHANGE COLUMN `guid` `guid` integer unsigned NOT NULL DEFAULT 0 COMMENT 'Global Unique Identifier', + CHANGE COLUMN `respawntime` `respawntime` bigint NOT NULL DEFAULT 0, + CHANGE COLUMN `instance` `instance` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `gameobject_scripts` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `delay` `delay` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `command` `command` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `datalong` `datalong` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `datalong2` `datalong2` integer unsigned NOT NULL DEFAULT 0; +ALTER TABLE `gameobject_template` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `type` `type` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `displayId` `displayId` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `name` `name` varchar(100) NOT NULL DEFAULT '', + CHANGE COLUMN `faction` `faction` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `flags` `flags` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data0` `data0` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data1` `data1` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data2` `data2` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data3` `data3` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data4` `data4` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data5` `data5` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data6` `data6` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data7` `data7` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data8` `data8` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data9` `data9` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data10` `data10` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data11` `data11` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data12` `data12` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data13` `data13` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data14` `data14` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data15` `data15` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data16` `data16` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data17` `data17` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data18` `data18` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data19` `data19` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data20` `data20` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data21` `data21` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data22` `data22` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `data23` `data23` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ScriptName` `ScriptName` varchar(64) NOT NULL DEFAULT ''; +ALTER TABLE `instance_template` + CHANGE COLUMN `map` `map` smallint unsigned NOT NULL, + CHANGE COLUMN `parent` `parent` integer unsigned NOT NULL, + CHANGE COLUMN `levelMin` `levelMin` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `levelMax` `levelMax` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `maxPlayers` `maxPlayers` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `reset_delay` `reset_delay` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `script` `script` varchar(128) NOT NULL DEFAULT ''; +ALTER TABLE `item_enchantment_template` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ench` `ench` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `item_loot_template` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `QuestChanceOrGroup` `QuestChanceOrGroup` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `mincount` `mincount` smallint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `maxcount` `maxcount` smallint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `freeforall` `freeforall` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lootcondition` `lootcondition` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `condition_value1` `condition_value1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `condition_value2` `condition_value2` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `item_template` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `class` `class` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `subclass` `subclass` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `unk0` `unk0` integer NOT NULL DEFAULT -1, + CHANGE COLUMN `name` `name` varchar(255) NOT NULL DEFAULT '', + CHANGE COLUMN `displayid` `displayid` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `Quality` `Quality` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `Flags` `Flags` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `BuyCount` `BuyCount` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `BuyPrice` `BuyPrice` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `SellPrice` `SellPrice` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `InventoryType` `InventoryType` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `AllowableClass` `AllowableClass` mediumint NOT NULL DEFAULT -1, + CHANGE COLUMN `AllowableRace` `AllowableRace` mediumint NOT NULL DEFAULT -1, + CHANGE COLUMN `ItemLevel` `ItemLevel` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RequiredLevel` `RequiredLevel` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RequiredSkill` `RequiredSkill` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RequiredSkillRank` `RequiredSkillRank` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `requiredspell` `requiredspell` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `requiredhonorrank` `requiredhonorrank` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RequiredCityRank` `RequiredCityRank` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RequiredReputationFaction` `RequiredReputationFaction` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RequiredReputationRank` `RequiredReputationRank` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `maxcount` `maxcount` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `stackable` `stackable` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ContainerSlots` `ContainerSlots` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_type1` `stat_type1` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_value1` `stat_value1` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_type2` `stat_type2` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_value2` `stat_value2` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_type3` `stat_type3` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_value3` `stat_value3` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_type4` `stat_type4` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_value4` `stat_value4` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_type5` `stat_type5` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_value5` `stat_value5` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_type6` `stat_type6` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_value6` `stat_value6` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_type7` `stat_type7` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_value7` `stat_value7` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_type8` `stat_type8` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_value8` `stat_value8` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_type9` `stat_type9` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_value9` `stat_value9` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_type10` `stat_type10` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `stat_value10` `stat_value10` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `dmg_type1` `dmg_type1` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `dmg_type2` `dmg_type2` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `dmg_type3` `dmg_type3` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `dmg_type4` `dmg_type4` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `dmg_type5` `dmg_type5` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `armor` `armor` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `holy_res` `holy_res` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `fire_res` `fire_res` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `nature_res` `nature_res` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `frost_res` `frost_res` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `shadow_res` `shadow_res` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `arcane_res` `arcane_res` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `delay` `delay` smallint unsigned NOT NULL DEFAULT 1000, + CHANGE COLUMN `ammo_type` `ammo_type` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spellid_1` `spellid_1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spelltrigger_1` `spelltrigger_1` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spellcharges_1` `spellcharges_1` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `spellcooldown_1` `spellcooldown_1` integer NOT NULL DEFAULT -1, + CHANGE COLUMN `spellcategory_1` `spellcategory_1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spellcategorycooldown_1` `spellcategorycooldown_1` integer NOT NULL DEFAULT -1, + CHANGE COLUMN `spellid_2` `spellid_2` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spelltrigger_2` `spelltrigger_2` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spellcharges_2` `spellcharges_2` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `spellcooldown_2` `spellcooldown_2` integer NOT NULL DEFAULT -1, + CHANGE COLUMN `spellcategory_2` `spellcategory_2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spellcategorycooldown_2` `spellcategorycooldown_2` integer NOT NULL DEFAULT -1, + CHANGE COLUMN `spellid_3` `spellid_3` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spelltrigger_3` `spelltrigger_3` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spellcharges_3` `spellcharges_3` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `spellcooldown_3` `spellcooldown_3` integer NOT NULL DEFAULT -1, + CHANGE COLUMN `spellcategory_3` `spellcategory_3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spellcategorycooldown_3` `spellcategorycooldown_3` integer NOT NULL DEFAULT -1, + CHANGE COLUMN `spellid_4` `spellid_4` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spelltrigger_4` `spelltrigger_4` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spellcharges_4` `spellcharges_4` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `spellcooldown_4` `spellcooldown_4` integer NOT NULL DEFAULT -1, + CHANGE COLUMN `spellcategory_4` `spellcategory_4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spellcategorycooldown_4` `spellcategorycooldown_4` integer NOT NULL DEFAULT -1, + CHANGE COLUMN `spellid_5` `spellid_5` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spelltrigger_5` `spelltrigger_5` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spellcharges_5` `spellcharges_5` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `spellcooldown_5` `spellcooldown_5` integer NOT NULL DEFAULT -1, + CHANGE COLUMN `spellcategory_5` `spellcategory_5` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spellcategorycooldown_5` `spellcategorycooldown_5` integer NOT NULL DEFAULT -1, + CHANGE COLUMN `bonding` `bonding` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `PageText` `PageText` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `LanguageID` `LanguageID` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `PageMaterial` `PageMaterial` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `startquest` `startquest` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lockid` `lockid` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `Material` `Material` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `sheath` `sheath` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RandomProperty` `RandomProperty` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RandomSuffix` `RandomSuffix` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `block` `block` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `itemset` `itemset` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `MaxDurability` `MaxDurability` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `area` `area` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `Map` `Map` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `BagFamily` `BagFamily` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `TotemCategory` `TotemCategory` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `socketColor_1` `socketColor_1` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `socketContent_1` `socketContent_1` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `socketColor_2` `socketColor_2` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `socketContent_2` `socketContent_2` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `socketColor_3` `socketColor_3` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `socketContent_3` `socketContent_3` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `socketBonus` `socketBonus` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `GemProperties` `GemProperties` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `ExtendedCost` `ExtendedCost` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `CondExtendedCost` `CondExtendedCost` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RequiredDisenchantSkill` `RequiredDisenchantSkill` smallint NOT NULL DEFAULT -1, + CHANGE COLUMN `ScriptName` `ScriptName` varchar(64) NOT NULL DEFAULT '', + CHANGE COLUMN `DisenchantID` `DisenchantID` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `FoodType` `FoodType` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `minMoneyLoot` `minMoneyLoot` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `maxMoneyLoot` `maxMoneyLoot` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `Duration` `Duration` integer NOT NULL DEFAULT 0 COMMENT 'Duration in seconds. Negative value means realtime, postive value ingame time'; +ALTER TABLE `locales_creature` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `locales_gameobject` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `locales_item` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `locales_npc_text` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `locales_page_text` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `locales_quest` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `mangos_string` + CHANGE COLUMN `content_default` `content_default` text NOT NULL, + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `npc_gossip` + CHANGE COLUMN `npc_guid` `npc_guid` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `textid` `textid` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `npc_gossip_textid` + CHANGE COLUMN `zoneid` `zoneid` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `action` `action` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `textid` `textid` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `npc_option` + CHANGE COLUMN `id` `id` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `gossip_id` `gossip_id` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `npcflag` `npcflag` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `icon` `icon` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `action` `action` tinyint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `npc_text` + CHANGE COLUMN `ID` `ID` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lang0` `lang0` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em0_0` `em0_0` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em0_1` `em0_1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em0_2` `em0_2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em0_3` `em0_3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em0_4` `em0_4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em0_5` `em0_5` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lang1` `lang1` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em1_0` `em1_0` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em1_1` `em1_1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em1_2` `em1_2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em1_3` `em1_3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em1_4` `em1_4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em1_5` `em1_5` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lang2` `lang2` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em2_0` `em2_0` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em2_1` `em2_1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em2_2` `em2_2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em2_3` `em2_3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em2_4` `em2_4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em2_5` `em2_5` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lang3` `lang3` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em3_0` `em3_0` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em3_1` `em3_1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em3_2` `em3_2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em3_3` `em3_3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em3_4` `em3_4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em3_5` `em3_5` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lang4` `lang4` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em4_0` `em4_0` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em4_1` `em4_1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em4_2` `em4_2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em4_3` `em4_3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em4_4` `em4_4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em4_5` `em4_5` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lang5` `lang5` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em5_0` `em5_0` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em5_1` `em5_1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em5_2` `em5_2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em5_3` `em5_3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em5_4` `em5_4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em5_5` `em5_5` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lang6` `lang6` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em6_0` `em6_0` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em6_1` `em6_1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em6_2` `em6_2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em6_3` `em6_3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em6_4` `em6_4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em6_5` `em6_5` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lang7` `lang7` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em7_0` `em7_0` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em7_1` `em7_1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em7_2` `em7_2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em7_3` `em7_3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em7_4` `em7_4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `em7_5` `em7_5` smallint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `npc_trainer` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spell` `spell` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `spellcost` `spellcost` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `reqskill` `reqskill` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `reqskillvalue` `reqskillvalue` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `reqlevel` `reqlevel` tinyint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `npc_vendor` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `maxcount` `maxcount` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `incrtime` `incrtime` integer unsigned NOT NULL DEFAULT 0; +ALTER TABLE `page_text` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `text` `text` longtext NOT NULL, + CHANGE COLUMN `next_page` `next_page` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `pet_levelstats` + CHANGE COLUMN `creature_entry` `creature_entry` mediumint unsigned NOT NULL, + CHANGE COLUMN `level` `level` tinyint unsigned NOT NULL, + CHANGE COLUMN `hp` `hp` smallint unsigned NOT NULL, + CHANGE COLUMN `mana` `mana` smallint unsigned NOT NULL, + CHANGE COLUMN `armor` `armor` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `str` `str` smallint unsigned NOT NULL, + CHANGE COLUMN `agi` `agi` smallint unsigned NOT NULL, + CHANGE COLUMN `sta` `sta` smallint unsigned NOT NULL, + CHANGE COLUMN `inte` `inte` smallint unsigned NOT NULL, + CHANGE COLUMN `spi` `spi` smallint unsigned NOT NULL; +ALTER TABLE `pet_name_generation` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL auto_increment, + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `half` `half` tinyint NOT NULL DEFAULT 0; +ALTER TABLE `petcreateinfo_spell` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `Spell1` `Spell1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `Spell2` `Spell2` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `Spell3` `Spell3` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `Spell4` `Spell4` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `FamilyPassive` `FamilyPassive` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `pickpocketing_loot_template` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `QuestChanceOrGroup` `QuestChanceOrGroup` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `mincount` `mincount` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `maxcount` `maxcount` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `freeforall` `freeforall` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lootcondition` `lootcondition` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `condition_value1` `condition_value1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `condition_value2` `condition_value2` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `playercreateinfo` + CHANGE COLUMN `race` `race` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `class` `class` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `map` `map` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `zone` `zone` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `playercreateinfo_action` + CHANGE COLUMN `race` `race` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `class` `class` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `button` `button` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `action` `action` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `type` `type` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `misc` `misc` smallint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `playercreateinfo_item` + CHANGE COLUMN `race` `race` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `class` `class` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `itemid` `itemid` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `amount` `amount` tinyint unsigned NOT NULL DEFAULT 1; +ALTER TABLE `playercreateinfo_skill` + CHANGE COLUMN `race` `race` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `class` `class` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `Skill` `Skill` smallint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `playercreateinfo_spell` + CHANGE COLUMN `race` `race` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `class` `class` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `Spell` `Spell` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `Active` `Active` tinyint unsigned NOT NULL DEFAULT 1; +-- here posted +ALTER TABLE `prospecting_loot_template` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `QuestChanceOrGroup` `QuestChanceOrGroup` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `mincount` `mincount` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `maxcount` `maxcount` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `freeforall` `freeforall` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lootcondition` `lootcondition` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `condition_value1` `condition_value1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `condition_value2` `condition_value2` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `quest_end_scripts` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `delay` `delay` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `command` `command` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `datalong` `datalong` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `datalong2` `datalong2` integer unsigned NOT NULL DEFAULT 0; +ALTER TABLE `quest_start_scripts` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `delay` `delay` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `command` `command` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `datalong` `datalong` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `datalong2` `datalong2` integer unsigned NOT NULL DEFAULT 0; +ALTER TABLE `quest_template` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ZoneOrSort` `ZoneOrSort` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `MinLevel` `MinLevel` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `QuestLevel` `QuestLevel` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `Type` `Type` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RequiredRaces` `RequiredRaces` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RequiredSkillValue` `RequiredSkillValue` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RepObjectiveFaction` `RepObjectiveFaction` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RepObjectiveValue` `RepObjectiveValue` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `RequiredMinRepFaction` `RequiredMinRepFaction` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RequiredMinRepValue` `RequiredMinRepValue` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `RequiredMaxRepFaction` `RequiredMaxRepFaction` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RequiredMaxRepValue` `RequiredMaxRepValue` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `SuggestedPlayers` `SuggestedPlayers` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `LimitTime` `LimitTime` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `QuestFlags` `QuestFlags` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `SpecialFlags` `SpecialFlags` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `PrevQuestId` `PrevQuestId` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `NextQuestId` `NextQuestId` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `ExclusiveGroup` `ExclusiveGroup` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `NextQuestInChain` `NextQuestInChain` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `SrcItemId` `SrcItemId` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `SrcItemCount` `SrcItemCount` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `SrcSpell` `SrcSpell` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqItemId1` `ReqItemId1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqItemId2` `ReqItemId2` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqItemId3` `ReqItemId3` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqItemId4` `ReqItemId4` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqItemCount1` `ReqItemCount1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqItemCount2` `ReqItemCount2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqItemCount3` `ReqItemCount3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqItemCount4` `ReqItemCount4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqSourceId1` `ReqSourceId1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqSourceId2` `ReqSourceId2` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqSourceId3` `ReqSourceId3` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqSourceId4` `ReqSourceId4` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqSourceCount1` `ReqSourceCount1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqSourceCount2` `ReqSourceCount2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqSourceCount3` `ReqSourceCount3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqSourceCount4` `ReqSourceCount4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqSourceRef1` `ReqSourceRef1` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqSourceRef2` `ReqSourceRef2` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqSourceRef3` `ReqSourceRef3` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqSourceRef4` `ReqSourceRef4` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqCreatureOrGOId1` `ReqCreatureOrGOId1` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqCreatureOrGOId2` `ReqCreatureOrGOId2` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqCreatureOrGOId3` `ReqCreatureOrGOId3` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqCreatureOrGOId4` `ReqCreatureOrGOId4` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqCreatureOrGOCount1` `ReqCreatureOrGOCount1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqCreatureOrGOCount2` `ReqCreatureOrGOCount2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqCreatureOrGOCount3` `ReqCreatureOrGOCount3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqCreatureOrGOCount4` `ReqCreatureOrGOCount4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqSpellCast1` `ReqSpellCast1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqSpellCast2` `ReqSpellCast2` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqSpellCast3` `ReqSpellCast3` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `ReqSpellCast4` `ReqSpellCast4` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewChoiceItemId1` `RewChoiceItemId1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewChoiceItemId2` `RewChoiceItemId2` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewChoiceItemId3` `RewChoiceItemId3` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewChoiceItemId4` `RewChoiceItemId4` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewChoiceItemId5` `RewChoiceItemId5` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewChoiceItemId6` `RewChoiceItemId6` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewChoiceItemCount1` `RewChoiceItemCount1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewChoiceItemCount2` `RewChoiceItemCount2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewChoiceItemCount3` `RewChoiceItemCount3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewChoiceItemCount4` `RewChoiceItemCount4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewChoiceItemCount5` `RewChoiceItemCount5` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewChoiceItemCount6` `RewChoiceItemCount6` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewItemId1` `RewItemId1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewItemId2` `RewItemId2` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewItemId3` `RewItemId3` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewItemId4` `RewItemId4` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewItemCount1` `RewItemCount1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewItemCount2` `RewItemCount2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewItemCount3` `RewItemCount3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewItemCount4` `RewItemCount4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewRepFaction1` `RewRepFaction1` smallint unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case', + CHANGE COLUMN `RewRepFaction2` `RewRepFaction2` smallint unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case', + CHANGE COLUMN `RewRepFaction3` `RewRepFaction3` smallint unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case', + CHANGE COLUMN `RewRepFaction4` `RewRepFaction4` smallint unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case', + CHANGE COLUMN `RewRepFaction5` `RewRepFaction5` smallint unsigned NOT NULL DEFAULT 0 COMMENT 'faction id from Faction.dbc in this case', + CHANGE COLUMN `RewRepValue1` `RewRepValue1` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `RewRepValue2` `RewRepValue2` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `RewRepValue3` `RewRepValue3` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `RewRepValue4` `RewRepValue4` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `RewRepValue5` `RewRepValue5` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `RewOrReqMoney` `RewOrReqMoney` integer NOT NULL DEFAULT 0, + CHANGE COLUMN `RewMoneyMaxLevel` `RewMoneyMaxLevel` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `RewSpell` `RewSpell` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `PointMapId` `PointMapId` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `PointOpt` `PointOpt` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `DetailsEmote1` `DetailsEmote1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `DetailsEmote2` `DetailsEmote2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `DetailsEmote3` `DetailsEmote3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `DetailsEmote4` `DetailsEmote4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `IncompleteEmote` `IncompleteEmote` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `CompleteEmote` `CompleteEmote` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `OfferRewardEmote1` `OfferRewardEmote1` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `OfferRewardEmote2` `OfferRewardEmote2` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `OfferRewardEmote3` `OfferRewardEmote3` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `OfferRewardEmote4` `OfferRewardEmote4` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `StartScript` `StartScript` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `CompleteScript` `CompleteScript` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `skill_discovery_template` + CHANGE COLUMN `spellId` `spellId` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'SpellId of the discoverable spell', + CHANGE COLUMN `reqSpell` `reqSpell` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'spell requirement'; +ALTER TABLE `skill_extra_item_template` + CHANGE COLUMN `spellId` `spellId` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'SpellId of the item creation spell', + CHANGE COLUMN `requiredSpecialization` `requiredSpecialization` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Specialization spell id', + CHANGE COLUMN `additionalMaxNum` `additionalMaxNum` tinyint unsigned NOT NULL DEFAULT 0 COMMENT 'max num of adds'; +ALTER TABLE `skinning_loot_template` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `item` `item` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `QuestChanceOrGroup` `QuestChanceOrGroup` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `mincount` `mincount` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `maxcount` `maxcount` tinyint unsigned NOT NULL DEFAULT 1, + CHANGE COLUMN `freeforall` `freeforall` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `lootcondition` `lootcondition` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `condition_value1` `condition_value1` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `condition_value2` `condition_value2` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `spell_affect` + CHANGE COLUMN `entry` `entry` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `effectId` `effectId` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `SpellFamily` `SpellFamily` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `SpellFamilyMask` `SpellFamilyMask` bigint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `Charges` `Charges` smallint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `spell_chain` + CHANGE COLUMN `spell_id` `spell_id` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `prev_spell` `prev_spell` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `first_spell` `first_spell` mediumint NOT NULL DEFAULT 0, + CHANGE COLUMN `rank` `rank` tinyint NOT NULL DEFAULT 0; +ALTER TABLE `spell_learn_skill` + CHANGE COLUMN `entry` `entry` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `SkillID` `SkillID` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `Value` `Value` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `MaxValue` `MaxValue` smallint NOT NULL DEFAULT 0; +ALTER TABLE `spell_learn_spell` + CHANGE COLUMN `entry` `entry` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `SpellID` `SpellID` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `IfNoSpell` `IfNoSpell` smallint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `spell_proc_event` + CHANGE COLUMN `entry` `entry` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `SchoolMask` `SchoolMask` tinyint NOT NULL DEFAULT 0, + CHANGE COLUMN `Category` `Category` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `SkillID` `SkillID` smallint NOT NULL DEFAULT 0, + CHANGE COLUMN `SpellFamilyName` `SpellFamilyName` smallint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `SpellFamilyMask` `SpellFamilyMask` bigint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `procFlags` `procFlags` integer unsigned NOT NULL DEFAULT 0; +ALTER TABLE `spell_script_target` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL, + CHANGE COLUMN `type` `type` tinyint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `targetEntry` `targetEntry` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `spell_scripts` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `delay` `delay` integer unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `command` `command` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `datalong` `datalong` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `datalong2` `datalong2` integer unsigned NOT NULL DEFAULT 0; +ALTER TABLE `spell_teleport` + CHANGE COLUMN `id` `id` mediumint unsigned NOT NULL DEFAULT 0 COMMENT 'Identifier', + CHANGE COLUMN `target_map` `target_map` smallint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `spell_threat` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL, + CHANGE COLUMN `Threat` `Threat` smallint NOT NULL; +ALTER TABLE `transports` + CHANGE COLUMN `entry` `entry` mediumint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `period` `period` mediumint unsigned NOT NULL DEFAULT 0; +ALTER TABLE `uptime` + CHANGE COLUMN `starttime` `starttime` bigint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `startstring` `startstring` varchar(64) NOT NULL DEFAULT '', + CHANGE COLUMN `uptime` `uptime` bigint unsigned NOT NULL DEFAULT 0, + CHANGE COLUMN `maxplayers` `maxplayers` smallint unsigned NOT NULL DEFAULT 0; diff --git a/sql/updates/0.10/5505_mangos_npc_gossip.sql b/sql/updates/0.10/5505_mangos_npc_gossip.sql index b8935e936..778c9ed76 100644 --- a/sql/updates/0.10/5505_mangos_npc_gossip.sql +++ b/sql/updates/0.10/5505_mangos_npc_gossip.sql @@ -1,8 +1,8 @@ --- Some unused columns left - -ALTER TABLE `npc_gossip` - DROP COLUMN `id`; -ALTER TABLE `npc_gossip` - DROP COLUMN `gossip_type`; -ALTER TABLE `npc_gossip` - DROP COLUMN `option_count`; +-- Some unused columns left + +ALTER TABLE `npc_gossip` + DROP COLUMN `id`; +ALTER TABLE `npc_gossip` + DROP COLUMN `gossip_type`; +ALTER TABLE `npc_gossip` + DROP COLUMN `option_count`; diff --git a/sql/updates/0.10/5541_mangos_command.sql b/sql/updates/0.10/5541_mangos_command.sql index bf248479b..7a132ab41 100644 --- a/sql/updates/0.10/5541_mangos_command.sql +++ b/sql/updates/0.10/5541_mangos_command.sql @@ -1,5 +1,5 @@ DELETE FROM `command` WHERE `name` = 'learn all_default'; -INSERT INTO `command` VALUES +INSERT INTO `command` VALUES ('learn all_default',1,'Syntax: .learn all_default [$playername]\r\n\r\nLearn for selected/$playername player all default spells for his race/class and spells rewarded by completed quests.'); diff --git a/sql/updates/0.10/5547_characters_character_ticket.sql b/sql/updates/0.10/5547_characters_character_ticket.sql index 3c6cb2160..9aaf97feb 100644 --- a/sql/updates/0.10/5547_characters_character_ticket.sql +++ b/sql/updates/0.10/5547_characters_character_ticket.sql @@ -1,2 +1,2 @@ -ALTER TABLE `character_ticket` +ALTER TABLE `character_ticket` ADD `ticket_lastchange` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ; diff --git a/sql/updates/0.10/5554_mangos_locales_creature.sql b/sql/updates/0.10/5554_mangos_locales_creature.sql index f88e05178..aeec74f20 100644 --- a/sql/updates/0.10/5554_mangos_locales_creature.sql +++ b/sql/updates/0.10/5554_mangos_locales_creature.sql @@ -1,2 +1,2 @@ -ALTER TABLE locales_creature +ALTER TABLE locales_creature DROP subname_loc8; diff --git a/sql/updates/0.10/5586_mangos_spell_proc_event.sql b/sql/updates/0.10/5586_mangos_spell_proc_event.sql index f6be26460..1c8d8b2c0 100644 --- a/sql/updates/0.10/5586_mangos_spell_proc_event.sql +++ b/sql/updates/0.10/5586_mangos_spell_proc_event.sql @@ -1,3 +1,3 @@ DELETE FROM `spell_proc_event` WHERE `entry`=28305; -INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `Category`, `SkillID`, `SpellFamilyName`, `SpellFamilyMask`, `procFlags`, `ppmRate`) VALUE +INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `Category`, `SkillID`, `SpellFamilyName`, `SpellFamilyMask`, `procFlags`, `ppmRate`) VALUE (28305,0,0,0,0,0x0000000000000000,0x00000001,0); diff --git a/sql/updates/0.10/5589_mangos_spell_proc_event.sql b/sql/updates/0.10/5589_mangos_spell_proc_event.sql index 32b6041ef..b35a7022e 100644 --- a/sql/updates/0.10/5589_mangos_spell_proc_event.sql +++ b/sql/updates/0.10/5589_mangos_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (16952,16954); -INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `Category`, `SkillID`, `SpellFamilyName`, `SpellFamilyMask`, `procFlags`, `ppmRate`) VALUE +INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `Category`, `SkillID`, `SpellFamilyName`, `SpellFamilyMask`, `procFlags`, `ppmRate`) VALUE (16952,0,0,0,0,0x0000040000039000,0x00010000,0), (16954,0,0,0,0,0x0000040000039000,0x00010000,0); diff --git a/sql/updates/0.10/5628_mangos_creature_movement.sql b/sql/updates/0.10/5628_mangos_creature_movement.sql index 2837aedaf..5bb5ba54a 100644 --- a/sql/updates/0.10/5628_mangos_creature_movement.sql +++ b/sql/updates/0.10/5628_mangos_creature_movement.sql @@ -1,2 +1,2 @@ -ALTER TABLE creature_movement - DROP aiscript; +ALTER TABLE creature_movement + DROP aiscript; diff --git a/sql/updates/0.10/5632_characters.sql b/sql/updates/0.10/5632_characters.sql index 1ea31f7e7..9cdd8738e 100755 --- a/sql/updates/0.10/5632_characters.sql +++ b/sql/updates/0.10/5632_characters.sql @@ -1,22 +1,22 @@ -DROP TABLE IF EXISTS item_test; -CREATE TABLE item_test -SELECT w.`item_guid`,w.`source`,w.`count` FROM - (SELECT u.`item_guid`,u.`source`,COUNT(u.`item_guid`) as `count` FROM - ((SELECT c.`item` as `item_guid`, 'i' as `source` FROM character_inventory c) UNION - (SELECT a.`itemguid` as `item_guid`, 'a' as `source` FROM auctionhouse a) UNION - (SELECT m.`item_guid` as `item_guid`, 'm' as `source` FROM mail_items m) UNION - (SELECT g.`item_guid` as `item_guid`, 'g' as `source` FROM guild_bank_item g) - ) as u - GROUP BY u.`item_guid` - ) as w - WHERE w.`count` > 1; - -DELETE FROM auctionhouse WHERE itemguid IN (SELECT item_guid FROM item_test WHERE `source`='i'); -DELETE FROM mail_items WHERE item_guid IN (SELECT item_guid FROM item_test WHERE `source`='i'); -DELETE FROM guild_bank_item WHERE item_guid IN (SELECT item_guid FROM item_test WHERE `source`='i'); - -DELETE FROM mail_items WHERE item_guid IN (SELECT item_guid FROM item_test WHERE `source`='a'); -DELETE FROM guild_bank_item WHERE item_guid IN (SELECT item_guid FROM item_test WHERE `source`='a'); - -DELETE FROM guild_bank_item WHERE item_guid IN (SELECT item_guid FROM item_test WHERE `source`='m'); -DROP TABLE IF EXISTS item_test; +DROP TABLE IF EXISTS item_test; +CREATE TABLE item_test +SELECT w.`item_guid`,w.`source`,w.`count` FROM + (SELECT u.`item_guid`,u.`source`,COUNT(u.`item_guid`) as `count` FROM + ((SELECT c.`item` as `item_guid`, 'i' as `source` FROM character_inventory c) UNION + (SELECT a.`itemguid` as `item_guid`, 'a' as `source` FROM auctionhouse a) UNION + (SELECT m.`item_guid` as `item_guid`, 'm' as `source` FROM mail_items m) UNION + (SELECT g.`item_guid` as `item_guid`, 'g' as `source` FROM guild_bank_item g) + ) as u + GROUP BY u.`item_guid` + ) as w + WHERE w.`count` > 1; + +DELETE FROM auctionhouse WHERE itemguid IN (SELECT item_guid FROM item_test WHERE `source`='i'); +DELETE FROM mail_items WHERE item_guid IN (SELECT item_guid FROM item_test WHERE `source`='i'); +DELETE FROM guild_bank_item WHERE item_guid IN (SELECT item_guid FROM item_test WHERE `source`='i'); + +DELETE FROM mail_items WHERE item_guid IN (SELECT item_guid FROM item_test WHERE `source`='a'); +DELETE FROM guild_bank_item WHERE item_guid IN (SELECT item_guid FROM item_test WHERE `source`='a'); + +DELETE FROM guild_bank_item WHERE item_guid IN (SELECT item_guid FROM item_test WHERE `source`='m'); +DROP TABLE IF EXISTS item_test; diff --git a/sql/updates/0.10/5636_mangos_loot_template.sql b/sql/updates/0.10/5636_mangos_loot_template.sql index 987d33dae..c80f0fef8 100644 --- a/sql/updates/0.10/5636_mangos_loot_template.sql +++ b/sql/updates/0.10/5636_mangos_loot_template.sql @@ -1,34 +1,34 @@ -ALTER TABLE `creature_loot_template` +ALTER TABLE `creature_loot_template` ADD `ChanceOrQuestChance` FLOAT NOT NULL default '100' AFTER `ChanceOrRef`, ADD `group` tinyint unsigned NOT NULL default '0' AFTER `QuestChanceOrGroup`, ADD `mincountOrRef` mediumint NOT NULL default '1' AFTER `mincount`; -UPDATE `creature_loot_template` SET +UPDATE `creature_loot_template` SET `ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)), - `group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`), - `mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`), + `group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`), + `mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`), `maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`); -ALTER TABLE `creature_loot_template` - DROP `ChanceOrRef`, - DROP `QuestChanceOrGroup`, +ALTER TABLE `creature_loot_template` + DROP `ChanceOrRef`, + DROP `QuestChanceOrGroup`, DROP `mincount`; -ALTER TABLE `disenchant_loot_template` +ALTER TABLE `disenchant_loot_template` ADD `ChanceOrQuestChance` FLOAT NOT NULL default '100' AFTER `ChanceOrRef`, ADD `group` tinyint unsigned NOT NULL default '0' AFTER `QuestChanceOrGroup`, ADD `mincountOrRef` mediumint NOT NULL default '1' AFTER `mincount`; -UPDATE `disenchant_loot_template` SET +UPDATE `disenchant_loot_template` SET `ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)), - `group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`), - `mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`), + `group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`), + `mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`), `maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`); -ALTER TABLE `disenchant_loot_template` - DROP `ChanceOrRef`, - DROP `QuestChanceOrGroup`, +ALTER TABLE `disenchant_loot_template` + DROP `ChanceOrRef`, + DROP `QuestChanceOrGroup`, DROP `mincount`; @@ -37,15 +37,15 @@ ALTER TABLE `fishing_loot_template` ADD `group` tinyint unsigned NOT NULL default '0' AFTER `QuestChanceOrGroup`, ADD `mincountOrRef` mediumint NOT NULL default '1' AFTER `mincount`; -UPDATE `fishing_loot_template` SET +UPDATE `fishing_loot_template` SET `ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)), - `group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`), - `mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`), + `group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`), + `mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`), `maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`); ALTER TABLE `fishing_loot_template` - DROP `ChanceOrRef`, - DROP `QuestChanceOrGroup`, + DROP `ChanceOrRef`, + DROP `QuestChanceOrGroup`, DROP `mincount`; @@ -54,15 +54,15 @@ ALTER TABLE `gameobject_loot_template` ADD `group` tinyint unsigned NOT NULL default '0' AFTER `QuestChanceOrGroup`, ADD `mincountOrRef` mediumint NOT NULL default '1' AFTER `mincount`; -UPDATE `gameobject_loot_template` SET +UPDATE `gameobject_loot_template` SET `ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)), - `group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`), - `mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`), + `group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`), + `mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`), `maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`); ALTER TABLE `gameobject_loot_template` - DROP `ChanceOrRef`, - DROP `QuestChanceOrGroup`, + DROP `ChanceOrRef`, + DROP `QuestChanceOrGroup`, DROP `mincount`; @@ -71,15 +71,15 @@ ALTER TABLE `item_loot_template` ADD `group` tinyint unsigned NOT NULL default '0' AFTER `QuestChanceOrGroup`, ADD `mincountOrRef` mediumint NOT NULL default '1' AFTER `mincount`; -UPDATE `item_loot_template` SET +UPDATE `item_loot_template` SET `ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)), - `group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`), - `mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`), + `group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`), + `mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`), `maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`); ALTER TABLE `item_loot_template` - DROP `ChanceOrRef`, - DROP `QuestChanceOrGroup`, + DROP `ChanceOrRef`, + DROP `QuestChanceOrGroup`, DROP `mincount`; @@ -88,15 +88,15 @@ ALTER TABLE `pickpocketing_loot_template` ADD `group` tinyint unsigned NOT NULL default '0' AFTER `QuestChanceOrGroup`, ADD `mincountOrRef` mediumint NOT NULL default '1' AFTER `mincount`; -UPDATE `pickpocketing_loot_template` SET +UPDATE `pickpocketing_loot_template` SET `ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)), - `group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`), - `mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`), + `group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`), + `mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`), `maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`); -ALTER TABLE `pickpocketing_loot_template` - DROP `ChanceOrRef`, - DROP `QuestChanceOrGroup`, +ALTER TABLE `pickpocketing_loot_template` + DROP `ChanceOrRef`, + DROP `QuestChanceOrGroup`, DROP `mincount`; @@ -105,30 +105,30 @@ ALTER TABLE `prospecting_loot_template` ADD `group` tinyint unsigned NOT NULL default '0' AFTER `QuestChanceOrGroup`, ADD `mincountOrRef` mediumint NOT NULL default '1' AFTER `mincount`; -UPDATE `prospecting_loot_template`SET +UPDATE `prospecting_loot_template`SET `ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)), - `group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`), - `mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`), + `group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`), + `mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`), `maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`); ALTER TABLE `prospecting_loot_template` - DROP `ChanceOrRef`, - DROP `QuestChanceOrGroup`, + DROP `ChanceOrRef`, + DROP `QuestChanceOrGroup`, DROP `mincount`; -ALTER TABLE `skinning_loot_template` +ALTER TABLE `skinning_loot_template` ADD `ChanceOrQuestChance` FLOAT NOT NULL default '100' AFTER `ChanceOrRef`, ADD `group` tinyint unsigned NOT NULL default '0' AFTER `QuestChanceOrGroup`, ADD `mincountOrRef` mediumint NOT NULL default '1' AFTER `mincount`; -UPDATE `skinning_loot_template` SET +UPDATE `skinning_loot_template` SET `ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)), - `group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`), - `mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`), + `group` = if(`QuestChanceOrGroup` > 0, 0, -`QuestChanceOrGroup`), + `mincountOrRef` = if(`ChanceOrRef` < 0, `ChanceOrRef`, `mincount`), `maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`); -ALTER TABLE `skinning_loot_template` - DROP `ChanceOrRef`, - DROP `QuestChanceOrGroup`, +ALTER TABLE `skinning_loot_template` + DROP `ChanceOrRef`, + DROP `QuestChanceOrGroup`, DROP `mincount`; diff --git a/sql/updates/0.10/5640_mangos_spell_proc_event.sql b/sql/updates/0.10/5640_mangos_spell_proc_event.sql index a2f639cf0..32b6a5a60 100644 --- a/sql/updates/0.10/5640_mangos_spell_proc_event.sql +++ b/sql/updates/0.10/5640_mangos_spell_proc_event.sql @@ -1,3 +1,3 @@ -DELETE FROM `spell_proc_event` WHERE `entry`=24905; -INSERT INTO `spell_proc_event` ( `entry` , `SchoolMask` , `Category` , `SkillID` , `SpellFamilyName` , `SpellFamilyMask` , `procFlags` , `ppmRate` ) VALUES -('24905', '0', '0', '0', '0', '0', '1', '15'); \ No newline at end of file +DELETE FROM `spell_proc_event` WHERE `entry`=24905; +INSERT INTO `spell_proc_event` ( `entry` , `SchoolMask` , `Category` , `SkillID` , `SpellFamilyName` , `SpellFamilyMask` , `procFlags` , `ppmRate` ) VALUES +('24905', '0', '0', '0', '0', '0', '1', '15'); diff --git a/sql/updates/0.11/5659_mangos_loot_template.sql b/sql/updates/0.11/5659_mangos_loot_template.sql index a52e182ea..51526fdaa 100644 --- a/sql/updates/0.11/5659_mangos_loot_template.sql +++ b/sql/updates/0.11/5659_mangos_loot_template.sql @@ -1,7 +1,7 @@ -ALTER TABLE `creature_loot_template` +ALTER TABLE `creature_loot_template` CHANGE `group` groupid tinyint unsigned NOT NULL default '0'; -ALTER TABLE `disenchant_loot_template` +ALTER TABLE `disenchant_loot_template` CHANGE `group` groupid tinyint unsigned NOT NULL default '0'; ALTER TABLE `fishing_loot_template` @@ -19,5 +19,5 @@ ALTER TABLE `pickpocketing_loot_template` ALTER TABLE `prospecting_loot_template` CHANGE `group` groupid tinyint unsigned NOT NULL default '0'; -ALTER TABLE `skinning_loot_template` +ALTER TABLE `skinning_loot_template` CHANGE `group` groupid tinyint unsigned NOT NULL default '0'; diff --git a/sql/updates/0.11/5680_mangos_spell_proc_event.sql b/sql/updates/0.11/5680_mangos_spell_proc_event.sql index 33f9c7cbd..4b712378d 100644 --- a/sql/updates/0.11/5680_mangos_spell_proc_event.sql +++ b/sql/updates/0.11/5680_mangos_spell_proc_event.sql @@ -1,4 +1,4 @@ DELETE FROM spell_proc_event WHERE entry IN (37306,37311,32767); -INSERT IGNORE INTO spell_proc_event VALUES +INSERT IGNORE INTO spell_proc_event VALUES (37306,0,0,0,0,0x0000000000000000,0x00000001,0), (37311,0,0,0,0,0x0000000000000000,0x00000001,0); diff --git a/sql/updates/0.11/5718_mangos_creature_template.sql b/sql/updates/0.11/5718_mangos_creature_template.sql index 55eb1f400..4cd916a7c 100644 --- a/sql/updates/0.11/5718_mangos_creature_template.sql +++ b/sql/updates/0.11/5718_mangos_creature_template.sql @@ -1 +1 @@ -ALTER TABLE `creature_template` CHANGE COLUMN `scale` `scale` float NOT NULL default '1'; +ALTER TABLE `creature_template` CHANGE COLUMN `scale` `scale` float NOT NULL default '1'; diff --git a/sql/updates/0.11/5733_mangos_creature.sql b/sql/updates/0.11/5733_mangos_creature.sql index e9947232f..9ed935c90 100644 --- a/sql/updates/0.11/5733_mangos_creature.sql +++ b/sql/updates/0.11/5733_mangos_creature.sql @@ -1,5 +1,5 @@ -ALTER TABLE `creature` - DROP `spawn_position_x`, - DROP `spawn_position_y`, +ALTER TABLE `creature` + DROP `spawn_position_x`, + DROP `spawn_position_y`, DROP `spawn_position_z`, DROP `spawn_orientation`; diff --git a/sql/updates/0.11/5759_mangos_command.sql b/sql/updates/0.11/5759_mangos_command.sql index 14aa7c58c..675307d41 100644 --- a/sql/updates/0.11/5759_mangos_command.sql +++ b/sql/updates/0.11/5759_mangos_command.sql @@ -1,4 +1,4 @@ DELETE FROM `command` WHERE `name` IN ('gograveyard','drunk'); -INSERT INTO `command` VALUES +INSERT INTO `command` VALUES ('drunk',1,'Syntax: .drunk #value\r\n Set drunk level to #value (0..100). Value 0 remove drunk state, 100 is max drunked state.'), -('gograveyard',2,'Syntax: .gograveyard #graveyardId\r\n Teleport to graveyard with the graveyardId specified.'); +('gograveyard',2,'Syntax: .gograveyard #graveyardId\r\n Teleport to graveyard with the graveyardId specified.'); diff --git a/sql/updates/0.11/5764_mangos_command.sql b/sql/updates/0.11/5764_mangos_command.sql index d20861790..23b94bb59 100644 --- a/sql/updates/0.11/5764_mangos_command.sql +++ b/sql/updates/0.11/5764_mangos_command.sql @@ -1,4 +1,4 @@ DELETE FROM `command` WHERE `name` IN ('modify arena','modify honor'); -INSERT INTO `command` VALUES +INSERT INTO `command` VALUES ('modify arena',3,'Syntax: .modify arena #value\r\nAdd $amount arena points to the selected player.'), ('modify honor',1,'Syntax: .modify honor $amount\r\n\r\nAdd $amount honor points to the selected player.'); diff --git a/sql/updates/0.11/5771_mangos_spell_learn_spell.sql b/sql/updates/0.11/5771_mangos_spell_learn_spell.sql index 813c71f14..84ebcdccd 100644 --- a/sql/updates/0.11/5771_mangos_spell_learn_spell.sql +++ b/sql/updates/0.11/5771_mangos_spell_learn_spell.sql @@ -5,5 +5,5 @@ DELETE FROM spell_learn_spell WHERE entry IN (34769,13819,5784); INSERT INTO spell_learn_spell (entry,spellID) VALUES (34769,33388), - (13819,33388), - (5784,33388); + (13819,33388), + (5784,33388); diff --git a/sql/updates/0.11/5773_mangos_spell_learn_spell.sql b/sql/updates/0.11/5773_mangos_spell_learn_spell.sql index 507b1da95..42a627c5f 100644 --- a/sql/updates/0.11/5773_mangos_spell_learn_spell.sql +++ b/sql/updates/0.11/5773_mangos_spell_learn_spell.sql @@ -3,4 +3,4 @@ DELETE FROM spell_learn_spell WHERE entry IN (23161,23214,34767); INSERT INTO spell_learn_spell (entry,spellID) VALUES (23161,33391), (23214,33391), -(34767,33391); \ No newline at end of file +(34767,33391); diff --git a/sql/updates/0.11/5778_mangos_spell_affect.sql b/sql/updates/0.11/5778_mangos_spell_affect.sql index a4919d46b..9b46f6a3f 100644 --- a/sql/updates/0.11/5778_mangos_spell_affect.sql +++ b/sql/updates/0.11/5778_mangos_spell_affect.sql @@ -1,3 +1,3 @@ -ALTER TABLE `spell_affect` - DROP `SpellFamily`, +ALTER TABLE `spell_affect` + DROP `SpellFamily`, DROP `Charges`; diff --git a/sql/updates/0.11/5790_mangos_player_levelstats.sql b/sql/updates/0.11/5790_mangos_player_levelstats.sql index fa6454892..d322dffb4 100644 --- a/sql/updates/0.11/5790_mangos_player_levelstats.sql +++ b/sql/updates/0.11/5790_mangos_player_levelstats.sql @@ -1,3 +1,3 @@ -ALTER TABLE `player_levelstats` - DROP `basehp`, +ALTER TABLE `player_levelstats` + DROP `basehp`, DROP `basemana`; diff --git a/sql/updates/0.11/5799_mangos_spell_proc_event.sql b/sql/updates/0.11/5799_mangos_spell_proc_event.sql index d2047e242..cb4267b08 100644 --- a/sql/updates/0.11/5799_mangos_spell_proc_event.sql +++ b/sql/updates/0.11/5799_mangos_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM spell_proc_event WHERE entry IN (45481,45482,45483,45484); -INSERT INTO spell_proc_event VALUES +INSERT INTO spell_proc_event VALUES (45481,0,0,0,0,0x0000000000000000,0x08020000,0), (45482,0,0,0,0,0x0000000000000000,0x00080001,0), (45483,0,0,0,0,0x0000000000000000,0x00080001,0), diff --git a/sql/updates/0.11/5827_mangos_spell_affect.sql b/sql/updates/0.11/5827_mangos_spell_affect.sql index 2477ec1c9..cf9d5c4cf 100644 --- a/sql/updates/0.11/5827_mangos_spell_affect.sql +++ b/sql/updates/0.11/5827_mangos_spell_affect.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_affect` WHERE `entry` IN (32043,35396,35397); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (32043,1,0x000004000A000000), (35396,1,0x000004000A000000), (35397,1,0x000004000A000000); diff --git a/sql/updates/0.11/5842_mangos_spell_affect.sql b/sql/updates/0.11/5842_mangos_spell_affect.sql index d3e77cf12..eccd58eae 100644 --- a/sql/updates/0.11/5842_mangos_spell_affect.sql +++ b/sql/updates/0.11/5842_mangos_spell_affect.sql @@ -1,4 +1,4 @@ DELETE FROM `spell_affect` WHERE `entry` = 19245; -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (19245,0,0x0000000000000018), (19245,1,0x0000200000000004); diff --git a/sql/updates/0.11/5880_mangos_mangos_string.sql b/sql/updates/0.11/5880_mangos_mangos_string.sql index 74d5d92ac..58a5c14b9 100644 --- a/sql/updates/0.11/5880_mangos_mangos_string.sql +++ b/sql/updates/0.11/5880_mangos_mangos_string.sql @@ -1,3 +1,3 @@ DELETE FROM mangos_string WHERE entry in (297); -INSERT INTO `mangos_string` VALUES +INSERT INTO `mangos_string` VALUES (297,'Spawn distance changed to: %f',NULL,NULL,NULL,NULL,NULL,NULL,NULL); diff --git a/sql/updates/0.11/5965_mangos_mangos_string.sql b/sql/updates/0.11/5965_mangos_mangos_string.sql index f162006eb..f9d7a9222 100644 --- a/sql/updates/0.11/5965_mangos_mangos_string.sql +++ b/sql/updates/0.11/5965_mangos_mangos_string.sql @@ -1,4 +1,4 @@ DELETE FROM mangos_string WHERE entry in (468,470); -INSERT INTO `mangos_string` VALUES +INSERT INTO `mangos_string` VALUES (468,'id: %d eff: %d type: %d duration: %d maxduration: %d name: %s%s%s caster: %s %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL), (470,'id: %d eff: %d name: %s%s%s caster: %s %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL); diff --git a/sql/updates/0.11/6027_mangos_spell_affect.sql b/sql/updates/0.11/6027_mangos_spell_affect.sql index 877ca7215..f11288593 100644 --- a/sql/updates/0.11/6027_mangos_spell_affect.sql +++ b/sql/updates/0.11/6027_mangos_spell_affect.sql @@ -1,4 +1,4 @@ -DELETE FROM `spell_affect` WHERE `entry` IN +DELETE FROM `spell_affect` WHERE `entry` IN (12873,12872,11095,11252,12605,20244,20245,23565,16040,16113,16114,16115,16116,22804,14171,14172,14173,12290,12963,16858,16859,16860,16861,16862, 17815,17833,17834,17835,17836,21744,12866,12325,12863,12864,12865,12866,16194,16218,16219,16220,16221,23236,14143,14149,14151,26130,27848); @@ -9,4 +9,4 @@ DELETE FROM `spell_affect` WHERE `entry` IN (14075,14074,14073,14072,14057,16544 INSERT INTO `spell_affect` VALUES (14143,0,0x0000000004000206), (14149,0,0x0000000004000206); - \ No newline at end of file + diff --git a/sql/updates/0.11/6038_mangos_creature_template.sql b/sql/updates/0.11/6038_mangos_creature_template.sql index c672796b1..98985e013 100644 --- a/sql/updates/0.11/6038_mangos_creature_template.sql +++ b/sql/updates/0.11/6038_mangos_creature_template.sql @@ -1,2 +1,2 @@ -ALTER TABLE `creature_template` - ADD COLUMN `PetSpellDataId` mediumint(8) unsigned NOT NULL default '0' AFTER `spell4`; \ No newline at end of file +ALTER TABLE `creature_template` + ADD COLUMN `PetSpellDataId` mediumint(8) unsigned NOT NULL default '0' AFTER `spell4`; diff --git a/sql/updates/0.11/6047_characters_guild_bank_tab.sql b/sql/updates/0.11/6047_characters_guild_bank_tab.sql index d27efd2b3..9d3a02425 100644 --- a/sql/updates/0.11/6047_characters_guild_bank_tab.sql +++ b/sql/updates/0.11/6047_characters_guild_bank_tab.sql @@ -1,2 +1,2 @@ -ALTER TABLE guild_bank_tab - CHANGE COLUMN `TabText` `TabText` varchar(500) NOT NULL DEFAULT ''; \ No newline at end of file +ALTER TABLE guild_bank_tab + CHANGE COLUMN `TabText` `TabText` varchar(500) NOT NULL DEFAULT ''; diff --git a/sql/updates/0.11/6049_mangos_spell_proc_event.sql b/sql/updates/0.11/6049_mangos_spell_proc_event.sql index 86547acc1..4a4791c36 100644 --- a/sql/updates/0.11/6049_mangos_spell_proc_event.sql +++ b/sql/updates/0.11/6049_mangos_spell_proc_event.sql @@ -1,4 +1,4 @@ -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (20784,0,0,0,0,0,4096,0), (32850,0,0,0,0,0,1,0), -(34457,0,0,0,0,0,4096,0); \ No newline at end of file +(34457,0,0,0,0,0,4096,0); diff --git a/sql/updates/0.11/6052_mangos_loot_template.sql b/sql/updates/0.11/6052_mangos_loot_template.sql index 3ecb7d1fe..693d7c578 100644 --- a/sql/updates/0.11/6052_mangos_loot_template.sql +++ b/sql/updates/0.11/6052_mangos_loot_template.sql @@ -1,7 +1,7 @@ -ALTER TABLE `creature_loot_template` +ALTER TABLE `creature_loot_template` DROP freeforall; -ALTER TABLE `disenchant_loot_template` +ALTER TABLE `disenchant_loot_template` DROP freeforall; ALTER TABLE `fishing_loot_template` @@ -19,5 +19,5 @@ ALTER TABLE `pickpocketing_loot_template` ALTER TABLE `prospecting_loot_template` DROP freeforall; -ALTER TABLE `skinning_loot_template` +ALTER TABLE `skinning_loot_template` DROP freeforall; diff --git a/sql/updates/0.11/6058_mangos_spell_learn_spell.sql b/sql/updates/0.11/6058_mangos_spell_learn_spell.sql index 33f3066da..e04a65c70 100644 --- a/sql/updates/0.11/6058_mangos_spell_learn_spell.sql +++ b/sql/updates/0.11/6058_mangos_spell_learn_spell.sql @@ -1,4 +1,4 @@ DELETE FROM `spell_learn_spell` WHERE `entry` = 71; DELETE FROM `spell_learn_spell` WHERE `entry` = 2842; -INSERT INTO `spell_learn_spell` VALUES (2842,8681); \ No newline at end of file +INSERT INTO `spell_learn_spell` VALUES (2842,8681); diff --git a/sql/updates/0.11/6255_mangos_spell_proc_event.sql b/sql/updates/0.11/6255_mangos_spell_proc_event.sql index 184bf953a..3445888f5 100644 --- a/sql/updates/0.11/6255_mangos_spell_proc_event.sql +++ b/sql/updates/0.11/6255_mangos_spell_proc_event.sql @@ -7,9 +7,9 @@ INSERT INTO `spell_proc_event` VALUES (40470,0,0,0,10,0x00000000C0800000,0x00004000,0); DELETE FROM `spell_proc_event` WHERE `entry` = 40485; -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (40485,0,0,0,9,0x0000000100000000,0x00080000,0); DELETE FROM `spell_proc_event` WHERE `entry` = 40478; -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (40478,0,0,0,5,0x0000000000000002,0x00020000,0); diff --git a/sql/updates/0.11/6265_mangos_pet_name_generation.sql b/sql/updates/0.11/6265_mangos_pet_name_generation.sql index 45045d291..3325792ec 100644 --- a/sql/updates/0.11/6265_mangos_pet_name_generation.sql +++ b/sql/updates/0.11/6265_mangos_pet_name_generation.sql @@ -7,7 +7,7 @@ CREATE TABLE `pet_name_generation` ( PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -INSERT INTO `pet_name_generation` (`word`,`entry`,`half`) VALUES +INSERT INTO `pet_name_generation` (`word`,`entry`,`half`) VALUES ('Aba',416,0), ('Az',416,0), ('Bel',416,0), diff --git a/sql/updates/0.11/6313_mangos_spell_proc_event.sql b/sql/updates/0.11/6313_mangos_spell_proc_event.sql index 164075c22..89c7f3ad9 100644 --- a/sql/updates/0.11/6313_mangos_spell_proc_event.sql +++ b/sql/updates/0.11/6313_mangos_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM spell_proc_event WHERE entry IN (37982, 37617, 37213, 37237, 37228); -INSERT INTO spell_proc_event VALUES +INSERT INTO spell_proc_event VALUES -- Earthstun (Brutal Earthstorm-Diamond) (37982,0,0,0,0,0x0000000000000000,0x00000001,0), -- Desolation Battlegear 4 pieces diff --git a/sql/updates/0.11/6325_mangos_creature_template.sql b/sql/updates/0.11/6325_mangos_creature_template.sql index 9b47f8b92..6a65a373e 100644 --- a/sql/updates/0.11/6325_mangos_creature_template.sql +++ b/sql/updates/0.11/6325_mangos_creature_template.sql @@ -1,5 +1,5 @@ UPDATE creature_template SET flags_extra = flags_extra | 2 WHERE civilian <> 0; -ALTER TABLE `creature_template` +ALTER TABLE `creature_template` DROP civilian; diff --git a/sql/updates/0.11/6351_mangos_spell_proc_event.sql b/sql/updates/0.11/6351_mangos_spell_proc_event.sql index 37e3c84b0..61b564a19 100644 --- a/sql/updates/0.11/6351_mangos_spell_proc_event.sql +++ b/sql/updates/0.11/6351_mangos_spell_proc_event.sql @@ -1,9 +1,9 @@ DELETE FROM spell_proc_event WHERE entry IN (17364); -INSERT INTO spell_proc_event VALUES +INSERT INTO spell_proc_event VALUES (17364,0,0,0,0,0x0000000000000000,0x00008000,0); DELETE FROM spell_proc_event WHERE entry IN (17794, 17797, 17798, 17799, 17800); -INSERT INTO spell_proc_event VALUES +INSERT INTO spell_proc_event VALUES (17794,0,0,0,0,0x0000000000000000,0x00008000,0), (17797,0,0,0,0,0x0000000000000000,0x00008000,0), (17798,0,0,0,0,0x0000000000000000,0x00008000,0), @@ -11,9 +11,9 @@ INSERT INTO spell_proc_event VALUES (17800,0,0,0,0,0x0000000000000000,0x00008000,0); DELETE FROM spell_proc_event WHERE entry IN (43823); -INSERT INTO spell_proc_event VALUES +INSERT INTO spell_proc_event VALUES (43823,0,0,0,0,0x0000000000000000,0x00008000,0); DELETE FROM spell_proc_event WHERE entry IN (36576); -INSERT INTO spell_proc_event VALUES +INSERT INTO spell_proc_event VALUES (36576,0,0,0,0,0x0000000000000000,0x00008000,0); diff --git a/sql/updates/0.5/1262_areatrigger_tavern.sql b/sql/updates/0.5/1262_areatrigger_tavern.sql index bc50ddff8..10cc6e533 100644 --- a/sql/updates/0.5/1262_areatrigger_tavern.sql +++ b/sql/updates/0.5/1262_areatrigger_tavern.sql @@ -1,4 +1,4 @@ -ALTER TABLE `areatrigger_tavern` +ALTER TABLE `areatrigger_tavern` CHANGE `triggerid` `id` int(11) unsigned NOT NULL default '0' , CHANGE `Triggername` `name` text , DROP KEY `acct`, diff --git a/sql/updates/0.5/1292_loot_template.sql b/sql/updates/0.5/1292_loot_template.sql index 97d180783..8b1407c2c 100644 --- a/sql/updates/0.5/1292_loot_template.sql +++ b/sql/updates/0.5/1292_loot_template.sql @@ -1,6 +1,6 @@ ALTER TABLE `loot_template` - CHANGE `itemid` `item` int(11) unsigned NOT NULL default '0' , - CHANGE `percentchance` `chance` float NOT NULL default '100' , + CHANGE `itemid` `item` int(11) unsigned NOT NULL default '0' , + CHANGE `percentchance` `chance` float NOT NULL default '100' , DROP KEY `i_creature_loot_creatureid` , DROP KEY `creatureloot_index` , ADD PRIMARY KEY (`entry`,`item`) ; diff --git a/sql/updates/0.5/1332_character_queststatus.sql b/sql/updates/0.5/1332_character_queststatus.sql index 1a32a7854..4ed164769 100644 --- a/sql/updates/0.5/1332_character_queststatus.sql +++ b/sql/updates/0.5/1332_character_queststatus.sql @@ -4,7 +4,7 @@ ALTER TABLE `character_queststatus` CHANGE `status` `status` int(11) unsigned NOT NULL default '0', CHANGE `rewarded` `rewarded` int(11) unsigned NOT NULL default '0', CHANGE `explored` `explored` int(11) unsigned NOT NULL default '0' AFTER `rewarded` , - CHANGE `timer` `timer` bigint(20) unsigned NOT NULL default '0' AFTER `explored` , + CHANGE `timer` `timer` bigint(20) unsigned NOT NULL default '0' AFTER `explored` , CHANGE `questMobCount1` `mobcount1` int(11) unsigned NOT NULL default '0', CHANGE `questMobCount2` `mobcount2` int(11) unsigned NOT NULL default '0', CHANGE `questMobCount3` `mobcount3` int(11) unsigned NOT NULL default '0', diff --git a/sql/updates/0.5/1336_item_template.sql b/sql/updates/0.5/1336_item_template.sql index f200674af..efe55c9f3 100644 --- a/sql/updates/0.5/1336_item_template.sql +++ b/sql/updates/0.5/1336_item_template.sql @@ -1 +1 @@ -ALTER TABLE `item_template` ADD `RangedModRange` float NOT NULL default '0' AFTER `ammo_type` ; +ALTER TABLE `item_template` ADD `RangedModRange` float NOT NULL default '0' AFTER `ammo_type` ; diff --git a/sql/updates/0.5/1339_areatrigger_city.sql b/sql/updates/0.5/1339_areatrigger_city.sql index 4ca9eb0d8..72633c99f 100644 --- a/sql/updates/0.5/1339_areatrigger_city.sql +++ b/sql/updates/0.5/1339_areatrigger_city.sql @@ -1,6 +1,6 @@ -DROP TABLE IF EXISTS `areatrigger_city`; -CREATE TABLE `areatrigger_city` ( - `id` int(11) unsigned NOT NULL default '0' COMMENT 'Identifier', - `name` text, - PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System'; +DROP TABLE IF EXISTS `areatrigger_city`; +CREATE TABLE `areatrigger_city` ( + `id` int(11) unsigned NOT NULL default '0' COMMENT 'Identifier', + `name` text, + PRIMARY KEY (`id`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System'; diff --git a/sql/updates/0.5/1349_areatrigger_involvedrelation.sql b/sql/updates/0.5/1349_areatrigger_involvedrelation.sql index 69d713c14..99119936b 100644 --- a/sql/updates/0.5/1349_areatrigger_involvedrelation.sql +++ b/sql/updates/0.5/1349_areatrigger_involvedrelation.sql @@ -1 +1 @@ -ALTER TABLE `areatrigger_involvedrelation` DROP `creature` ; +ALTER TABLE `areatrigger_involvedrelation` DROP `creature` ; diff --git a/sql/updates/0.5/1349_character_aura.sql b/sql/updates/0.5/1349_character_aura.sql index 2290782d2..00a55475c 100644 --- a/sql/updates/0.5/1349_character_aura.sql +++ b/sql/updates/0.5/1349_character_aura.sql @@ -1,3 +1,3 @@ -ALTER TABLE `character_aura` +ALTER TABLE `character_aura` DROP KEY `guid` , - ADD PRIMARY KEY (`guid`,`spell`) ; + ADD PRIMARY KEY (`guid`,`spell`) ; diff --git a/sql/updates/0.5/1349_character_inventory.sql b/sql/updates/0.5/1349_character_inventory.sql index 8e0f1c5a6..84b102004 100644 --- a/sql/updates/0.5/1349_character_inventory.sql +++ b/sql/updates/0.5/1349_character_inventory.sql @@ -1,3 +1,3 @@ -ALTER TABLE `character_inventory` +ALTER TABLE `character_inventory` DROP KEY `idx_guid` , - ADD PRIMARY KEY (`guid`,`bag`,`slot`) ; + ADD PRIMARY KEY (`guid`,`bag`,`slot`) ; diff --git a/sql/updates/0.5/1349_creature_template.sql b/sql/updates/0.5/1349_creature_template.sql index 5f5584895..9253ff0f7 100644 --- a/sql/updates/0.5/1349_creature_template.sql +++ b/sql/updates/0.5/1349_creature_template.sql @@ -1,3 +1,3 @@ -ALTER TABLE `creature_template` +ALTER TABLE `creature_template` DROP KEY `entry` , ADD PRIMARY KEY (`entry`) ; diff --git a/sql/updates/0.5/1349_gameobject_template.sql b/sql/updates/0.5/1349_gameobject_template.sql index f440fe362..3a4b66e82 100644 --- a/sql/updates/0.5/1349_gameobject_template.sql +++ b/sql/updates/0.5/1349_gameobject_template.sql @@ -1,3 +1,3 @@ -ALTER TABLE `gameobject_template` +ALTER TABLE `gameobject_template` DROP KEY `id` , ADD PRIMARY KEY (`entry`) ; diff --git a/sql/updates/0.5/1356_item_template.sql b/sql/updates/0.5/1356_item_template.sql dissimilarity index 90% index 49cc91e7a..cfc987850 100644 --- a/sql/updates/0.5/1356_item_template.sql +++ b/sql/updates/0.5/1356_item_template.sql @@ -1,11 +1,11 @@ -ALTER TABLE `item_template` - CHANGE `dmg_min1` `dmg_min1` float NOT NULL default '0', - CHANGE `dmg_max1` `dmg_max1` float NOT NULL default '0', - CHANGE `dmg_min2` `dmg_min2` float NOT NULL default '0', - CHANGE `dmg_max2` `dmg_max2` float NOT NULL default '0', - CHANGE `dmg_min3` `dmg_min3` float NOT NULL default '0', - CHANGE `dmg_max3` `dmg_max3` float NOT NULL default '0', - CHANGE `dmg_min4` `dmg_min4` float NOT NULL default '0', - CHANGE `dmg_max4` `dmg_max4` float NOT NULL default '0', - CHANGE `dmg_min5` `dmg_min5` float NOT NULL default '0', - CHANGE `dmg_max5` `dmg_max5` float NOT NULL default '0'; +ALTER TABLE `item_template` + CHANGE `dmg_min1` `dmg_min1` float NOT NULL default '0', + CHANGE `dmg_max1` `dmg_max1` float NOT NULL default '0', + CHANGE `dmg_min2` `dmg_min2` float NOT NULL default '0', + CHANGE `dmg_max2` `dmg_max2` float NOT NULL default '0', + CHANGE `dmg_min3` `dmg_min3` float NOT NULL default '0', + CHANGE `dmg_max3` `dmg_max3` float NOT NULL default '0', + CHANGE `dmg_min4` `dmg_min4` float NOT NULL default '0', + CHANGE `dmg_max4` `dmg_max4` float NOT NULL default '0', + CHANGE `dmg_min5` `dmg_min5` float NOT NULL default '0', + CHANGE `dmg_max5` `dmg_max5` float NOT NULL default '0'; diff --git a/sql/updates/0.5/1411_item_template.sql b/sql/updates/0.5/1411_item_template.sql index eb9399fe0..8518ce162 100644 --- a/sql/updates/0.5/1411_item_template.sql +++ b/sql/updates/0.5/1411_item_template.sql @@ -1 +1 @@ -ALTER TABLE `item_template` ADD `Unknown1` int(30) unsigned NOT NULL default '0' AFTER `area` ; +ALTER TABLE `item_template` ADD `Unknown1` int(30) unsigned NOT NULL default '0' AFTER `area` ; diff --git a/sql/updates/0.5/1447_quest_template.sql b/sql/updates/0.5/1447_quest_template.sql dissimilarity index 90% index e3f8a9b7c..c625ecc66 100644 --- a/sql/updates/0.5/1447_quest_template.sql +++ b/sql/updates/0.5/1447_quest_template.sql @@ -1,11 +1,11 @@ -ALTER TABLE `quest_template` - CHANGE `Title` `Title` text, - CHANGE `Details` `Details` text, - CHANGE `Objectives` `Objectives` text, - CHANGE `CompletionText` `CompletionText` text, - CHANGE `IncompleteText` `IncompleteText` text, - CHANGE `EndText` `EndText` text, - CHANGE `ObjectiveText1` `ObjectiveText1` text, - CHANGE `ObjectiveText2` `ObjectiveText2` text, - CHANGE `ObjectiveText3` `ObjectiveText3` text, - CHANGE `ObjectiveText4` `ObjectiveText4` text; +ALTER TABLE `quest_template` + CHANGE `Title` `Title` text, + CHANGE `Details` `Details` text, + CHANGE `Objectives` `Objectives` text, + CHANGE `CompletionText` `CompletionText` text, + CHANGE `IncompleteText` `IncompleteText` text, + CHANGE `EndText` `EndText` text, + CHANGE `ObjectiveText1` `ObjectiveText1` text, + CHANGE `ObjectiveText2` `ObjectiveText2` text, + CHANGE `ObjectiveText3` `ObjectiveText3` text, + CHANGE `ObjectiveText4` `ObjectiveText4` text; diff --git a/sql/updates/0.5/1475_character_aura.sql b/sql/updates/0.5/1475_character_aura.sql index 6a4c49dbe..4488734bb 100644 --- a/sql/updates/0.5/1475_character_aura.sql +++ b/sql/updates/0.5/1475_character_aura.sql @@ -1,3 +1,3 @@ -ALTER TABLE `character_aura` +ALTER TABLE `character_aura` DROP PRIMARY KEY , ADD PRIMARY KEY (`guid`,`spell`,`effect_index`) ; diff --git a/sql/updates/0.5/1511_object_involvedrelation.sql b/sql/updates/0.5/1511_object_involvedrelation.sql index 05839658a..72f44d96f 100644 --- a/sql/updates/0.5/1511_object_involvedrelation.sql +++ b/sql/updates/0.5/1511_object_involvedrelation.sql @@ -1,4 +1,4 @@ -ALTER TABLE `object_involvedrelation` +ALTER TABLE `object_involvedrelation` RENAME TO `gameobject_involvedrelation`, DROP PRIMARY KEY, DROP `Id`, diff --git a/sql/updates/0.5/1511_object_questrelation.sql b/sql/updates/0.5/1511_object_questrelation.sql index aac0e5679..b1392fdd4 100644 --- a/sql/updates/0.5/1511_object_questrelation.sql +++ b/sql/updates/0.5/1511_object_questrelation.sql @@ -1,4 +1,4 @@ -ALTER TABLE `object_questrelation` +ALTER TABLE `object_questrelation` RENAME TO `gameobject_questrelation`, DROP PRIMARY KEY, DROP `Id`, diff --git a/sql/updates/0.5/1526_npc_vendor.sql b/sql/updates/0.5/1526_npc_vendor.sql index 36a331b75..f6b172761 100644 --- a/sql/updates/0.5/1526_npc_vendor.sql +++ b/sql/updates/0.5/1526_npc_vendor.sql @@ -1,4 +1,4 @@ -ALTER TABLE `npc_vendor` +ALTER TABLE `npc_vendor` DROP PRIMARY KEY, DROP KEY `vendor_id` , DROP `index_id`, diff --git a/sql/updates/0.5/1562_creature_template.sql b/sql/updates/0.5/1562_creature_template.sql index 529e027da..164960c6a 100644 --- a/sql/updates/0.5/1562_creature_template.sql +++ b/sql/updates/0.5/1562_creature_template.sql @@ -1,3 +1,3 @@ -ALTER TABLE `creature_template` +ALTER TABLE `creature_template` ADD `mingold` int(30) unsigned NOT NULL default '0' AFTER `spell4` , - ADD `maxgold` int(30) unsigned NOT NULL default '0' AFTER `mingold`; \ No newline at end of file + ADD `maxgold` int(30) unsigned NOT NULL default '0' AFTER `mingold`; diff --git a/sql/updates/0.5/1595_area_graveyard.sql b/sql/updates/0.5/1595_area_graveyard.sql index 512762f46..89a35de76 100644 --- a/sql/updates/0.5/1595_area_graveyard.sql +++ b/sql/updates/0.5/1595_area_graveyard.sql @@ -1,9 +1,9 @@ DROP TABLE IF EXISTS `areatrigger_graveyard_zone`; -CREATE TABLE `areatrigger_graveyard_zone` AS SELECT - `areatrigger_graveyard`.`id` AS `id`, - `areatrigger_graveyard`.`map` AS `ghost_map`, - `areatrigger_graveyard`.`zone` AS `ghost_zone` +CREATE TABLE `areatrigger_graveyard_zone` AS SELECT + `areatrigger_graveyard`.`id` AS `id`, + `areatrigger_graveyard`.`map` AS `ghost_map`, + `areatrigger_graveyard`.`zone` AS `ghost_zone` FROM `areatrigger_graveyard` ; ALTER TABLE `areatrigger_graveyard` diff --git a/sql/updates/0.5/1799_quest_template.sql b/sql/updates/0.5/1799_quest_template.sql index 05a3ebd7f..36f490ec6 100644 --- a/sql/updates/0.5/1799_quest_template.sql +++ b/sql/updates/0.5/1799_quest_template.sql @@ -1,4 +1,4 @@ -ALTER TABLE `quest_template` +ALTER TABLE `quest_template` ADD COLUMN `RequiredRepFaction` int(11) unsigned NOT NULL default '0' AFTER `RequiredTradeskill`, ADD COLUMN `RequiredRepValue` int(11) unsigned NOT NULL default '0' AFTER `RequiredRepFaction`, CHANGE `ReqKillMobId1` `ReqKillMobOrGOId1` int(11) NOT NULL default '0', diff --git a/sql/updates/0.5/1915_loot_template.sql b/sql/updates/0.5/1915_loot_template.sql index d2893b61c..78bef1172 100644 --- a/sql/updates/0.5/1915_loot_template.sql +++ b/sql/updates/0.5/1915_loot_template.sql @@ -6,14 +6,14 @@ CREATE TABLE `creature_loot_template` AS SELECT DISTINCT FROM `loot_template`, `creature_template` WHERE `loot_template`.`entry` = `creature_template`.`lootid`; CREATE TABLE `gameobject_loot_template` AS SELECT DISTINCT - `loot_template`.`entry` AS `entry`, + `loot_template`.`entry` AS `entry`, `loot_template`.`item` AS `item`, `loot_template`.`chance` AS `chance`, `loot_template`.`questchance` AS `questchance` FROM `loot_template`, `gameobject` WHERE `loot_template`.`entry` = `gameobject`.`loot`; -CREATE TABLE `fishing_loot_template` AS SELECT - (`loot_template`.`entry` - 30000) AS `entry`, +CREATE TABLE `fishing_loot_template` AS SELECT + (`loot_template`.`entry` - 30000) AS `entry`, `loot_template`.`item` AS `item`, `loot_template`.`chance` AS `chance`, `loot_template`.`questchance` AS `questchance` diff --git a/sql/updates/0.5/1953_playercreateinfo_skill.sql b/sql/updates/0.5/1953_playercreateinfo_skill.sql index 88a654ad4..4d9453ed7 100644 --- a/sql/updates/0.5/1953_playercreateinfo_skill.sql +++ b/sql/updates/0.5/1953_playercreateinfo_skill.sql @@ -1,3 +1,3 @@ -ALTER IGNORE TABLE `playercreateinfo_skill` +ALTER IGNORE TABLE `playercreateinfo_skill` ADD PRIMARY KEY (`createid`,`Skill`); diff --git a/sql/updates/0.5/1953_playercreateinfo_spell.sql b/sql/updates/0.5/1953_playercreateinfo_spell.sql index a7da2fc1f..613b5e19f 100644 --- a/sql/updates/0.5/1953_playercreateinfo_spell.sql +++ b/sql/updates/0.5/1953_playercreateinfo_spell.sql @@ -1,3 +1,3 @@ -ALTER IGNORE TABLE `playercreateinfo_spell` +ALTER IGNORE TABLE `playercreateinfo_spell` ADD PRIMARY KEY (`createid`,`Spell`); diff --git a/sql/updates/0.5/2017_quest_template.sql b/sql/updates/0.5/2017_quest_template.sql index 24bf660eb..b80396683 100644 --- a/sql/updates/0.5/2017_quest_template.sql +++ b/sql/updates/0.5/2017_quest_template.sql @@ -1,3 +1,3 @@ -ALTER TABLE `quest_template` +ALTER TABLE `quest_template` CHANGE `MaxLevel` `QuestLevel` int(11) unsigned NOT NULL default '0', CHANGE `RewMoney` `RewOrReqMoney` int(11) NOT NULL default '0'; diff --git a/sql/updates/0.5/2054_command.sql b/sql/updates/0.5/2054_command.sql index b99c2822d..8adf6730c 100644 --- a/sql/updates/0.5/2054_command.sql +++ b/sql/updates/0.5/2054_command.sql @@ -1,2 +1,2 @@ UPDATE command SET `help` = 'Syntax: .learn #parameter\r\n\r\nSelected character learn a spell of id #parameter. A GM can use .learn all if he wants to learn all default spells for Game Masters, and .learn all_myclass to learn all spells available for his class (Character selection in these cases ignored).' WHERE `name` = 'learn'; -UPDATE command SET `help` = 'Syntax: .additem #itemid [#itemcount] or .additem 0 #itemcount $itemname\r\n\r\nAdds the specified number of items of id #itemid to your inventory. If #itemcount is omitted, only one item will be added.\r\nWith the second syntax you can add an item with exact (!) name $itemname.' WHERE `name` = 'additem'; \ No newline at end of file +UPDATE command SET `help` = 'Syntax: .additem #itemid [#itemcount] or .additem 0 #itemcount $itemname\r\n\r\nAdds the specified number of items of id #itemid to your inventory. If #itemcount is omitted, only one item will be added.\r\nWith the second syntax you can add an item with exact (!) name $itemname.' WHERE `name` = 'additem'; diff --git a/sql/updates/0.5/2058_command.sql b/sql/updates/0.5/2058_command.sql index ff9ec86da..06aa87af1 100644 --- a/sql/updates/0.5/2058_command.sql +++ b/sql/updates/0.5/2058_command.sql @@ -1,2 +1,2 @@ -UPDATE command SET `help` = 'Syntax: .additem #itemid [#itemcount] or .additem 0 #itemcount $itemname\r\n\r\nAdds the specified number of items of id #itemid to your or selected character inventory. If #itemcount is omitted, only one item will be added.\r\nWith the second syntax you can add an item with exact (!) name $itemname.' WHERE `name` = 'additem'; -UPDATE command SET `help` = 'Syntax: .additemset #itemsetid\r\n\r\nAdd items from itemset of id #itemsetid to your or selected character inventory. Will add by one example each item from itemset.' WHERE `name` = 'additemset'; \ No newline at end of file +UPDATE command SET `help` = 'Syntax: .additem #itemid [#itemcount] or .additem 0 #itemcount $itemname\r\n\r\nAdds the specified number of items of id #itemid to your or selected character inventory. If #itemcount is omitted, only one item will be added.\r\nWith the second syntax you can add an item with exact (!) name $itemname.' WHERE `name` = 'additem'; +UPDATE command SET `help` = 'Syntax: .additemset #itemsetid\r\n\r\nAdd items from itemset of id #itemsetid to your or selected character inventory. Will add by one example each item from itemset.' WHERE `name` = 'additemset'; diff --git a/sql/updates/0.5/2066_creature_template.sql b/sql/updates/0.5/2066_creature_template.sql index 0dd3ba833..84d19cd8b 100644 --- a/sql/updates/0.5/2066_creature_template.sql +++ b/sql/updates/0.5/2066_creature_template.sql @@ -1,3 +1,3 @@ -ALTER TABLE `creature_template` +ALTER TABLE `creature_template` ADD `trainer_spell` int(11) unsigned default '0' AFTER `trainer_type`, ADD `race` int(11) unsigned default '0' AFTER `class`; diff --git a/sql/updates/0.5/2069_quest_template.sql b/sql/updates/0.5/2069_quest_template.sql index f06edb9b3..7215fdb67 100644 --- a/sql/updates/0.5/2069_quest_template.sql +++ b/sql/updates/0.5/2069_quest_template.sql @@ -1,3 +1,3 @@ -ALTER TABLE `quest_template` +ALTER TABLE `quest_template` CHANGE `RequiredTradeskill` `RequiredSkill` int(11) unsigned NOT NULL default '0', ADD COLUMN `RequiredSkillValue` int(11) unsigned NOT NULL default '1' AFTER `RequiredSkill`; diff --git a/sql/updates/0.5/2099_npc_trainer.sql b/sql/updates/0.5/2099_npc_trainer.sql index 29421cb1f..e67e545ae 100644 --- a/sql/updates/0.5/2099_npc_trainer.sql +++ b/sql/updates/0.5/2099_npc_trainer.sql @@ -1,4 +1,4 @@ -ALTER TABLE `npc_trainer` +ALTER TABLE `npc_trainer` CHANGE `reqspell` `reqspell` int(11) unsigned default '0', CHANGE `reqskill` `reqskill` int(11) unsigned default '0', CHANGE `reqskillvalue` `reqskillvalue` int(11) unsigned default '0', diff --git a/sql/updates/0.5/2130_quest_template.sql b/sql/updates/0.5/2130_quest_template.sql index 46ff557cc..72fb1eed6 100644 --- a/sql/updates/0.5/2130_quest_template.sql +++ b/sql/updates/0.5/2130_quest_template.sql @@ -1,3 +1,3 @@ -ALTER TABLE `quest_template` +ALTER TABLE `quest_template` CHANGE `RewRepValue1` `RewRepValue1` int(11) NOT NULL default '0', CHANGE `RewRepValue2` `RewRepValue2` int(11) NOT NULL default '0'; diff --git a/sql/updates/0.5/2156_character.sql b/sql/updates/0.5/2156_character.sql index ffb5e76a8..9d0f088c6 100644 --- a/sql/updates/0.5/2156_character.sql +++ b/sql/updates/0.5/2156_character.sql @@ -1,3 +1,3 @@ -ALTER TABLE `character` +ALTER TABLE `character` ADD `totaltime` int(11) unsigned NOT NULL default '0', ADD `leveltime` int(11) unsigned NOT NULL default '0'; diff --git a/sql/updates/0.5/2191_npc_trainer.sql b/sql/updates/0.5/2191_npc_trainer.sql index 6e76442d8..687f50b58 100644 --- a/sql/updates/0.5/2191_npc_trainer.sql +++ b/sql/updates/0.5/2191_npc_trainer.sql @@ -1,4 +1,4 @@ -ALTER TABLE `npc_trainer` +ALTER TABLE `npc_trainer` DROP PRIMARY KEY, DROP `rowid`, ADD UNIQUE KEY `entry_spell` (`entry`,`spell`); diff --git a/sql/updates/0.5/2191_playercreateinfo.sql b/sql/updates/0.5/2191_playercreateinfo.sql index cee1f2bee..23419f7c0 100644 --- a/sql/updates/0.5/2191_playercreateinfo.sql +++ b/sql/updates/0.5/2191_playercreateinfo.sql @@ -1,4 +1,4 @@ -ALTER TABLE `playercreateinfo` +ALTER TABLE `playercreateinfo` DROP `attackpower`, DROP `mindmg`, DROP `maxdmg`, diff --git a/sql/updates/0.6/2297_character_stable.sql b/sql/updates/0.6/2297_character_stable.sql dissimilarity index 91% index 5df6b4d94..eb56085c7 100644 --- a/sql/updates/0.6/2297_character_stable.sql +++ b/sql/updates/0.6/2297_character_stable.sql @@ -1,20 +1,20 @@ -DROP TABLE IF EXISTS `character_stable`; -CREATE TABLE `character_stable` ( - `owner` int(11) unsigned NOT NULL default '0', - `slot` int(11) unsigned NOT NULL default '0', - `petnumber` int(11) unsigned NOT NULL default '0', - `entry` int(11) unsigned NOT NULL default '0', - `level` int(11) unsigned NOT NULL default '0', - `loyalty` int(11) unsigned NOT NULL default '1', - `trainpoint` int(11) unsigned NOT NULL default '0', - KEY `petnumber` (`petnumber`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System'; - --- --- Dumping data for table `character_stable` --- - -/*!40000 ALTER TABLE `character_stable` DISABLE KEYS */; -LOCK TABLES `character_stable` WRITE; -UNLOCK TABLES; -/*!40000 ALTER TABLE character_stable ENABLE KEYS */; \ No newline at end of file +DROP TABLE IF EXISTS `character_stable`; +CREATE TABLE `character_stable` ( + `owner` int(11) unsigned NOT NULL default '0', + `slot` int(11) unsigned NOT NULL default '0', + `petnumber` int(11) unsigned NOT NULL default '0', + `entry` int(11) unsigned NOT NULL default '0', + `level` int(11) unsigned NOT NULL default '0', + `loyalty` int(11) unsigned NOT NULL default '1', + `trainpoint` int(11) unsigned NOT NULL default '0', + KEY `petnumber` (`petnumber`) +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System'; + +-- +-- Dumping data for table `character_stable` +-- + +/*!40000 ALTER TABLE `character_stable` DISABLE KEYS */; +LOCK TABLES `character_stable` WRITE; +UNLOCK TABLES; +/*!40000 ALTER TABLE character_stable ENABLE KEYS */; diff --git a/sql/updates/0.6/2302_player_levelupgains.sql b/sql/updates/0.6/2302_player_levelupgains.sql index cc336a6ea..22fda7f92 100644 --- a/sql/updates/0.6/2302_player_levelupgains.sql +++ b/sql/updates/0.6/2302_player_levelupgains.sql @@ -1,20 +1,20 @@ -- phpMyAdmin SQL Dump -- version 2.7.0-pl2 -- http://www.phpmyadmin.net --- +-- -- Host: localhost -- Generation Time: Sep 04, 2006 at 05:27 AM -- Server version: 5.0.22 -- PHP Version: 5.2.0-dev --- +-- -- Database: `mangos` --- +-- -- -------------------------------------------------------- --- +-- -- Table structure for table `player_levelupgains` --- +-- CREATE TABLE `player_levelupgains` ( `entry` smallint(5) unsigned NOT NULL auto_increment, @@ -31,9 +31,9 @@ CREATE TABLE `player_levelupgains` ( PRIMARY KEY (`entry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores level up stat gains.' AUTO_INCREMENT=2401 ; --- +-- -- Dumping data for table `player_levelupgains` --- +-- INSERT INTO `player_levelupgains` VALUES (2, 3, 3, 1, 17, 6, 0, 1, 1, 1, 1); INSERT INTO `player_levelupgains` VALUES (3, 3, 3, 2, 17, 21, 1, 1, 1, 0, 0); diff --git a/sql/updates/0.6/2343_areatrigger_template.sql b/sql/updates/0.6/2343_areatrigger_template.sql index 7aa606fe4..ed592346a 100644 --- a/sql/updates/0.6/2343_areatrigger_template.sql +++ b/sql/updates/0.6/2343_areatrigger_template.sql @@ -1,14 +1,14 @@ -ALTER TABLE `character` +ALTER TABLE `character` ADD `logout_time` int(11) NOT NULL DEFAULT '0', ADD `is_logout_resting` int(11) NOT NULL DEFAULT '0', ADD `rest_bonus` FLOAT NOT NULL DEFAULT '0'; DROP TABLE IF EXISTS `areatrigger_city`; -ALTER TABLE `areatrigger_template` +ALTER TABLE `areatrigger_template` CHANGE `name` `name` text AFTER `id`, - ADD `trigger_map` int(11) unsigned NOT NULL DEFAULT '0' AFTER `name`, + ADD `trigger_map` int(11) unsigned NOT NULL DEFAULT '0' AFTER `name`, ADD `trigger_postion_x` FLOAT NOT NULL DEFAULT '0' AFTER `trigger_map`, ADD `trigger_position_y` FLOAT NOT NULL DEFAULT '0' AFTER `trigger_postion_x`, ADD `trigger_position_z` FLOAT NOT NULL DEFAULT '0' AFTER `trigger_position_y`, - CHANGE `target_map` `target_map` int(11) unsigned NOT NULL DEFAULT '0' AFTER `trigger_position_z`; \ No newline at end of file + CHANGE `target_map` `target_map` int(11) unsigned NOT NULL DEFAULT '0' AFTER `trigger_position_z`; diff --git a/sql/updates/0.6/2352_quest_template.sql b/sql/updates/0.6/2352_quest_template.sql index a44b92cc0..c5c5820e9 100644 --- a/sql/updates/0.6/2352_quest_template.sql +++ b/sql/updates/0.6/2352_quest_template.sql @@ -1,4 +1,4 @@ -ALTER TABLE `quest_template` +ALTER TABLE `quest_template` CHANGE `ReqKillMobOrGOId1` `ReqCreatureOrGOId1` int(11) NOT NULL default '0', CHANGE `ReqKillMobOrGOId2` `ReqCreatureOrGOId2` int(11) NOT NULL default '0', CHANGE `ReqKillMobOrGOId3` `ReqCreatureOrGOId3` int(11) NOT NULL default '0', diff --git a/sql/updates/0.6/2357_playercreateinfo_action.sql b/sql/updates/0.6/2357_playercreateinfo_action.sql index 5e0f59e73..c9524d51b 100644 --- a/sql/updates/0.6/2357_playercreateinfo_action.sql +++ b/sql/updates/0.6/2357_playercreateinfo_action.sql @@ -1,13 +1,13 @@ -ALTER TABLE `playercreateinfo_action` +ALTER TABLE `playercreateinfo_action` DROP KEY `playercreateinfo_actions_index`, ADD KEY `playercreateinfo_actions_index` (`createid`,`button`); -UPDATE `playercreateinfo_action` +UPDATE `playercreateinfo_action` SET `type` = `misc`; -UPDATE `playercreateinfo_action` +UPDATE `playercreateinfo_action` SET `misc` = '0'; -UPDATE `character_action` +UPDATE `character_action` SET `type` = `misc`; -UPDATE `character_action` +UPDATE `character_action` SET `misc` = '0'; diff --git a/sql/updates/0.6/2360_creature_template.sql b/sql/updates/0.6/2360_creature_template.sql index 342f4d7ca..636dc8b5d 100644 --- a/sql/updates/0.6/2360_creature_template.sql +++ b/sql/updates/0.6/2360_creature_template.sql @@ -1,4 +1,4 @@ -ALTER TABLE `creature_template` +ALTER TABLE `creature_template` ADD COLUMN `MovementType` int(11) unsigned NOT NULL default '0' AFTER `MoveName`; UPDATE `creature_template` @@ -6,10 +6,10 @@ UPDATE `creature_template` UPDATE `creature_template` SET `MovementType` = '2' WHERE `MoveName` = 'Waypoint'; -ALTER TABLE `creature_template` +ALTER TABLE `creature_template` DROP `MoveName`; -ALTER TABLE `creature` +ALTER TABLE `creature` ADD COLUMN `MovementType` int(11) unsigned NOT NULL default '0' AFTER `faction`; UPDATE `creature`, `creature_template` diff --git a/sql/updates/0.6/2362_areatrigger_template.sql b/sql/updates/0.6/2362_areatrigger_template.sql index e46de1fdd..710ee6b23 100644 --- a/sql/updates/0.6/2362_areatrigger_template.sql +++ b/sql/updates/0.6/2362_areatrigger_template.sql @@ -1,2 +1,2 @@ -ALTER TABLE `areatrigger_template` +ALTER TABLE `areatrigger_template` CHANGE `trigger_postion_x` `trigger_position_x` FLOAT NOT NULL DEFAULT '0'; diff --git a/sql/updates/0.6/2369_creature_template.sql b/sql/updates/0.6/2369_creature_template.sql index eea90e12f..00386af7f 100644 --- a/sql/updates/0.6/2369_creature_template.sql +++ b/sql/updates/0.6/2369_creature_template.sql @@ -1,4 +1,4 @@ -ALTER TABLE `creature_template` +ALTER TABLE `creature_template` CHANGE `level` `minlevel` int(3) unsigned default '1', CHANGE `level_max` `maxlevel` int(3) unsigned default '1' AFTER `minlevel`, ADD COLUMN `minhealth` int(5) unsigned default '0' AFTER `maxlevel`, diff --git a/sql/updates/0.6/2370_character_queststatus.sql b/sql/updates/0.6/2370_character_queststatus.sql index df10601cc..db5a51511 100644 --- a/sql/updates/0.6/2370_character_queststatus.sql +++ b/sql/updates/0.6/2370_character_queststatus.sql @@ -1,4 +1,4 @@ -ALTER TABLE `character_queststatus` +ALTER TABLE `character_queststatus` CHANGE `rewarded` `rewarded` tinyint(1) unsigned NOT NULL default '0', CHANGE `explored` `explored` tinyint(1) unsigned NOT NULL default '0', ADD COLUMN `completed_once` tinyint(1) unsigned NOT NULL default '0' AFTER `explored`; diff --git a/sql/updates/0.6/2372_creature_template.sql b/sql/updates/0.6/2372_creature_template.sql index 38a5dbf42..0931f5c19 100644 --- a/sql/updates/0.6/2372_creature_template.sql +++ b/sql/updates/0.6/2372_creature_template.sql @@ -1,4 +1,4 @@ -ALTER TABLE `creature_template` +ALTER TABLE `creature_template` CHANGE `maxlevel` `maxlevel` int(3) unsigned default '1' AFTER `minlevel`, CHANGE `minhealth` `minhealth` int(5) unsigned default '0' AFTER `maxlevel`, CHANGE `maxhealth` `maxhealth` int(5) unsigned default '0' AFTER `minhealth`, diff --git a/sql/updates/0.6/2418_quest_template.sql b/sql/updates/0.6/2418_quest_template.sql index 618a920ac..31d57708f 100644 --- a/sql/updates/0.6/2418_quest_template.sql +++ b/sql/updates/0.6/2418_quest_template.sql @@ -1,9 +1,9 @@ -ALTER TABLE `quest_template` - ADD `ReqSourceId1` int(11) unsigned NOT NULL default '0' AFTER `ReqItemCount4` , - ADD `ReqSourceId2` int(11) unsigned NOT NULL default '0' AFTER `ReqSourceId1` , - ADD `ReqSourceId3` int(11) unsigned NOT NULL default '0' AFTER `ReqSourceId2` , - ADD `ReqSourceId4` int(11) unsigned NOT NULL default '0' AFTER `ReqSourceId3` , +ALTER TABLE `quest_template` + ADD `ReqSourceId1` int(11) unsigned NOT NULL default '0' AFTER `ReqItemCount4` , + ADD `ReqSourceId2` int(11) unsigned NOT NULL default '0' AFTER `ReqSourceId1` , + ADD `ReqSourceId3` int(11) unsigned NOT NULL default '0' AFTER `ReqSourceId2` , + ADD `ReqSourceId4` int(11) unsigned NOT NULL default '0' AFTER `ReqSourceId3` , ADD `ReqSourceRef1` int(11) unsigned NOT NULL default '0' AFTER `ReqSourceId4` , ADD `ReqSourceRef2` int(11) unsigned NOT NULL default '0' AFTER `ReqSourceRef1` , ADD `ReqSourceRef3` int(11) unsigned NOT NULL default '0' AFTER `ReqSourceRef2` , - ADD `ReqSourceRef4` int(11) unsigned NOT NULL default '0' AFTER `ReqSourceRef3` ; + ADD `ReqSourceRef4` int(11) unsigned NOT NULL default '0' AFTER `ReqSourceRef3` ; diff --git a/sql/updates/0.6/2421_quest_template.sql b/sql/updates/0.6/2421_quest_template.sql index 68966b7fc..a20ab3f0b 100644 --- a/sql/updates/0.6/2421_quest_template.sql +++ b/sql/updates/0.6/2421_quest_template.sql @@ -1,4 +1,4 @@ -ALTER TABLE `quest_template` - ADD `DetailsEmote` int(11) NOT NULL default '0', - ADD `IncompleteEmote` int(11) NOT NULL default '0', +ALTER TABLE `quest_template` + ADD `DetailsEmote` int(11) NOT NULL default '0', + ADD `IncompleteEmote` int(11) NOT NULL default '0', ADD `CompleteEmote` int(11) NOT NULL default '0'; diff --git a/sql/updates/0.6/2467_quest_template.sql b/sql/updates/0.6/2467_quest_template.sql index ecc129eca..b6ff41d3e 100644 --- a/sql/updates/0.6/2467_quest_template.sql +++ b/sql/updates/0.6/2467_quest_template.sql @@ -1,2 +1,2 @@ -ALTER TABLE `quest_template` +ALTER TABLE `quest_template` ADD `ExclusiveGroup` int(11) unsigned NOT NULL default '0' AFTER `NextQuestId`; diff --git a/sql/updates/0.6/2469_skinning_loot_template.sql b/sql/updates/0.6/2469_skinning_loot_template.sql index 9597c7866..0db557ced 100644 --- a/sql/updates/0.6/2469_skinning_loot_template.sql +++ b/sql/updates/0.6/2469_skinning_loot_template.sql @@ -14,7 +14,7 @@ CREATE TABLE `skinning_loot_template_alternative` ( PRIMARY KEY (`item`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System'; -update `creature_template` set `skinloot` = +update `creature_template` set `skinloot` = case `type` when 2 then 100001 #CREATURE_TYPE_DRAGON when 1 then #CREATURE_TYPE_BEAST @@ -22,14 +22,14 @@ case `type` when 7 then 0 #CREATURE_FAMILY_CARRION_BIRD when 26 then 0 #CREATURE_FAMILY_OWL when 21 then 100002 #CREATURE_FAMILY_TURTLE - else if (`minlevel` > 48, 100003, - if (`minlevel` > 36, 100004, - if (`minlevel` > 25, 100005, - if (`minlevel` > 15, 100006, - if (`minlevel` > 3, 100007, + else if (`minlevel` > 48, 100003, + if (`minlevel` > 36, 100004, + if (`minlevel` > 25, 100005, + if (`minlevel` > 15, 100006, + if (`minlevel` > 3, 100007, 100008 ))))) end - else 0 + else 0 end; insert into `skinning_loot_template` values diff --git a/sql/updates/0.6/2479_loot_template.sql b/sql/updates/0.6/2479_loot_template.sql index a02e5f6bd..248b5c5e8 100644 --- a/sql/updates/0.6/2479_loot_template.sql +++ b/sql/updates/0.6/2479_loot_template.sql @@ -1,15 +1,15 @@ -ALTER TABLE `creature_loot_template` +ALTER TABLE `creature_loot_template` ADD `maxcount` int(11) unsigned NOT NULL default '1'; -ALTER TABLE `fishing_loot_template` +ALTER TABLE `fishing_loot_template` ADD `maxcount` int(11) unsigned NOT NULL default '1'; -ALTER TABLE `gameobject_loot_template` +ALTER TABLE `gameobject_loot_template` ADD `maxcount` int(11) unsigned NOT NULL default '1'; -ALTER TABLE `pickpocketing_loot_template` +ALTER TABLE `pickpocketing_loot_template` ADD `maxcount` int(11) unsigned NOT NULL default '1'; -ALTER TABLE `skinning_loot_template` +ALTER TABLE `skinning_loot_template` ADD `maxcount` int(11) unsigned NOT NULL default '1'; diff --git a/sql/updates/0.6/2513_guild_rank.sql b/sql/updates/0.6/2513_guild_rank.sql index 39c0ce748..95a5a3321 100644 --- a/sql/updates/0.6/2513_guild_rank.sql +++ b/sql/updates/0.6/2513_guild_rank.sql @@ -1,3 +1,3 @@ -ALTER TABLE `guild_rank` +ALTER TABLE `guild_rank` ADD `rid` int(11) unsigned NOT NULL AFTER `guildid`, - ADD PRIMARY KEY (`guildid`,`rid`); \ No newline at end of file + ADD PRIMARY KEY (`guildid`,`rid`); diff --git a/sql/updates/0.6/2516_auctionhouse.sql b/sql/updates/0.6/2516_auctionhouse.sql index fe9e30a91..78fe60891 100644 --- a/sql/updates/0.6/2516_auctionhouse.sql +++ b/sql/updates/0.6/2516_auctionhouse.sql @@ -1,5 +1,5 @@ DELETE FROM `auctionhouse`; -ALTER TABLE `auctionhouse` +ALTER TABLE `auctionhouse` DROP `id`, ADD `id` bigint(20) unsigned NOT NULL default '0' FIRST, ADD `location` tinyint(3) unsigned NOT NULL default '3'; diff --git a/sql/updates/0.6/2517_guild_charters.sql b/sql/updates/0.6/2517_guild_charters.sql index 249842569..f0ae7dd8a 100644 --- a/sql/updates/0.6/2517_guild_charters.sql +++ b/sql/updates/0.6/2517_guild_charters.sql @@ -1,7 +1,7 @@ DROP TABLE IF EXISTS `guild_charter`; CREATE TABLE `guild_charter` ( `ownerguid` int(10) unsigned NOT NULL, - `charterguid` int(10) unsigned default '0', + `charterguid` int(10) unsigned default '0', `guildname` varchar(255) NOT NULL default '', PRIMARY KEY (`ownerguid`), UNIQUE KEY `index_ownerguid_charterguid` (`ownerguid`,`charterguid`) @@ -10,7 +10,7 @@ CREATE TABLE `guild_charter` ( DROP TABLE IF EXISTS `guild_charter_sign`; CREATE TABLE `guild_charter_sign` ( `ownerguid` int(10) unsigned NOT NULL, - `charterguid` int(11) unsigned default '0', + `charterguid` int(11) unsigned default '0', `playerguid` int(11) unsigned default '0', PRIMARY KEY (`charterguid`,`playerguid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System'; diff --git a/sql/updates/0.6/2518_guild.sql b/sql/updates/0.6/2518_guild.sql index 04b84e3eb..9f8389c94 100644 --- a/sql/updates/0.6/2518_guild.sql +++ b/sql/updates/0.6/2518_guild.sql @@ -1,2 +1,2 @@ -ALTER TABLE `guild` +ALTER TABLE `guild` ADD `info` TEXT NOT NULL AFTER `BackgroundColor` ; diff --git a/sql/updates/0.6/2571_quest_template.sql b/sql/updates/0.6/2571_quest_template.sql index afcbec1a0..d4d8d12bc 100644 --- a/sql/updates/0.6/2571_quest_template.sql +++ b/sql/updates/0.6/2571_quest_template.sql @@ -1,3 +1,3 @@ -ALTER TABLE `quest_template` +ALTER TABLE `quest_template` CHANGE `srcItem` `SrcItemId` int(11) unsigned NOT NULL default '0', ADD `SrcSpell` int(11) unsigned NOT NULL default '0' AFTER `SrcItemCount`; diff --git a/sql/updates/0.6/2580_character.sql b/sql/updates/0.6/2580_character.sql index 23103a407..c3bbfc449 100644 --- a/sql/updates/0.6/2580_character.sql +++ b/sql/updates/0.6/2580_character.sql @@ -1,2 +1,2 @@ -ALTER TABLE `character` +ALTER TABLE `character` ADD `instanceid` int(11) unsigned NOT NULL default '0' AFTER `map`; diff --git a/sql/updates/0.6/2584_character.sql b/sql/updates/0.6/2584_character.sql index 7b534c44e..5ccd7497f 100644 --- a/sql/updates/0.6/2584_character.sql +++ b/sql/updates/0.6/2584_character.sql @@ -1,2 +1,2 @@ -ALTER TABLE `character` +ALTER TABLE `character` DROP `instanceid`; diff --git a/sql/updates/0.6/2597_playercreateinfo_action.sql b/sql/updates/0.6/2597_playercreateinfo_action.sql index 7af5626fd..cd9e54cd5 100644 --- a/sql/updates/0.6/2597_playercreateinfo_action.sql +++ b/sql/updates/0.6/2597_playercreateinfo_action.sql @@ -3,7 +3,7 @@ ALTER TABLE `playercreateinfo_action` ADD `class` tinyint(3) unsigned NOT NULL default '0' AFTER `race`; UPDATE `playercreateinfo_action`,`playercreateinfo` - SET `playercreateinfo_action`.`race` = `playercreateinfo`.`race`, + SET `playercreateinfo_action`.`race` = `playercreateinfo`.`race`, `playercreateinfo_action`.`class` = `playercreateinfo`.`class` WHERE `playercreateinfo_action`.`createid` = `playercreateinfo`.`createid`; diff --git a/sql/updates/0.6/2597_playercreateinfo_item.sql b/sql/updates/0.6/2597_playercreateinfo_item.sql index 9530deb85..dcf6b08d0 100644 --- a/sql/updates/0.6/2597_playercreateinfo_item.sql +++ b/sql/updates/0.6/2597_playercreateinfo_item.sql @@ -3,7 +3,7 @@ ALTER TABLE `playercreateinfo_item` ADD `class` tinyint(3) unsigned NOT NULL default '0' AFTER `race`; UPDATE `playercreateinfo_item`,`playercreateinfo` - SET `playercreateinfo_item`.`race` = `playercreateinfo`.`race`, + SET `playercreateinfo_item`.`race` = `playercreateinfo`.`race`, `playercreateinfo_item`.`class` = `playercreateinfo`.`class` WHERE `playercreateinfo_item`.`createid` = `playercreateinfo`.`createid`; @@ -13,4 +13,4 @@ ALTER TABLE `playercreateinfo_item` DROP `bagIndex`, DROP `slot`, ADD KEY `playercreateinfo_race_class_index` (`race`,`class`); - \ No newline at end of file + diff --git a/sql/updates/0.6/2597_playercreateinfo_reputation.sql b/sql/updates/0.6/2597_playercreateinfo_reputation.sql index 0368bb593..2a8cec52b 100644 --- a/sql/updates/0.6/2597_playercreateinfo_reputation.sql +++ b/sql/updates/0.6/2597_playercreateinfo_reputation.sql @@ -3,7 +3,7 @@ ALTER TABLE `playercreateinfo_reputation` ADD `class` tinyint(3) unsigned NOT NULL default '0' AFTER `race`; UPDATE `playercreateinfo_reputation`,`playercreateinfo` - SET `playercreateinfo_reputation`.`race` = `playercreateinfo`.`race`, + SET `playercreateinfo_reputation`.`race` = `playercreateinfo`.`race`, `playercreateinfo_reputation`.`class` = `playercreateinfo`.`class` WHERE `playercreateinfo_reputation`.`createid` = `playercreateinfo`.`createid`; @@ -11,4 +11,4 @@ ALTER TABLE `playercreateinfo_reputation` DROP KEY `playercreateinfo_reputation_index`, DROP `createid`, ADD KEY `playercreateinfo_race_class_index` (`race`,`class`); - \ No newline at end of file + diff --git a/sql/updates/0.6/2597_playercreateinfo_skill.sql b/sql/updates/0.6/2597_playercreateinfo_skill.sql index 7d68bc9eb..33977e2fa 100644 --- a/sql/updates/0.6/2597_playercreateinfo_skill.sql +++ b/sql/updates/0.6/2597_playercreateinfo_skill.sql @@ -3,7 +3,7 @@ ALTER TABLE `playercreateinfo_skill` ADD `class` tinyint(3) unsigned NOT NULL default '0' AFTER `race`; UPDATE `playercreateinfo_skill`,`playercreateinfo` - SET `playercreateinfo_skill`.`race` = `playercreateinfo`.`race`, + SET `playercreateinfo_skill`.`race` = `playercreateinfo`.`race`, `playercreateinfo_skill`.`class` = `playercreateinfo`.`class` WHERE `playercreateinfo_skill`.`createid` = `playercreateinfo`.`createid`; @@ -11,4 +11,4 @@ ALTER TABLE `playercreateinfo_skill` DROP PRIMARY KEY, DROP `createid`, ADD PRIMARY KEY (`race`,`class`,`Skill`); - \ No newline at end of file + diff --git a/sql/updates/0.6/2597_playercreateinfo_spell.sql b/sql/updates/0.6/2597_playercreateinfo_spell.sql index 44e20d49f..6758f5d94 100644 --- a/sql/updates/0.6/2597_playercreateinfo_spell.sql +++ b/sql/updates/0.6/2597_playercreateinfo_spell.sql @@ -3,7 +3,7 @@ ALTER TABLE `playercreateinfo_spell` ADD `class` tinyint(3) unsigned NOT NULL default '0' AFTER `race`; UPDATE `playercreateinfo_spell`,`playercreateinfo` - SET `playercreateinfo_spell`.`race` = `playercreateinfo`.`race`, + SET `playercreateinfo_spell`.`race` = `playercreateinfo`.`race`, `playercreateinfo_spell`.`class` = `playercreateinfo`.`class` WHERE `playercreateinfo_spell`.`createid` = `playercreateinfo`.`createid`; @@ -11,4 +11,4 @@ ALTER TABLE `playercreateinfo_spell` DROP PRIMARY KEY, DROP `createid`, ADD PRIMARY KEY (`race`,`class`,`Spell`); - \ No newline at end of file + diff --git a/sql/updates/0.6/2598_playercreateinfo.sql b/sql/updates/0.6/2598_playercreateinfo.sql index fd4d81d03..261f0f4a8 100644 --- a/sql/updates/0.6/2598_playercreateinfo.sql +++ b/sql/updates/0.6/2598_playercreateinfo.sql @@ -3,4 +3,4 @@ ALTER TABLE `playercreateinfo` DROP PRIMARY KEY , DROP `createId` , ADD PRIMARY KEY `playercreateinfo_race_class_index` (`race`,`class`) ; - \ No newline at end of file + diff --git a/sql/updates/0.6/2642_loot_template.sql b/sql/updates/0.6/2642_loot_template.sql index 74dfb12a9..8d58e7656 100644 --- a/sql/updates/0.6/2642_loot_template.sql +++ b/sql/updates/0.6/2642_loot_template.sql @@ -22,13 +22,13 @@ ALTER TABLE `skinning_loot_template` CHANGE `chance` `ChanceOrRef` float NOT NULL default '100', CHANGE `questchance` `QuestChanceOrGroup` tinyint(3) NOT NULL default '0'; -UPDATE `skinning_loot_template`,`skinning_loot_template_alternative` +UPDATE `skinning_loot_template`,`skinning_loot_template_alternative` SET `QuestChanceOrGroup` = '-1',`ChanceOrRef` = '80' WHERE `skinning_loot_template`.`item` = `skinning_loot_template_alternative`.`item`; -INSERT INTO `skinning_loot_template` +INSERT INTO `skinning_loot_template` SELECT `skinning_loot_template`.`entry`, `skinning_loot_template_alternative`.`item2`, '20', '-1', `skinning_loot_template`.`maxcount`, '1' - FROM `skinning_loot_template`,`skinning_loot_template_alternative` + FROM `skinning_loot_template`,`skinning_loot_template_alternative` WHERE `skinning_loot_template`.`item` = `skinning_loot_template_alternative`.`item`; DROP TABLE `skinning_loot_template_alternative`; diff --git a/sql/updates/0.6/2660_command.sql b/sql/updates/0.6/2660_command.sql index 9a6b1281c..4deb7575c 100644 --- a/sql/updates/0.6/2660_command.sql +++ b/sql/updates/0.6/2660_command.sql @@ -1,4 +1,4 @@ -UPDATE `command` SET `help` = 'Syntax: .saveall\r\n\r\nSave all characters in game.' WHERE `name` = 'saveall'; +UPDATE `command` SET `help` = 'Syntax: .saveall\r\n\r\nSave all characters in game.' WHERE `name` = 'saveall'; UPDATE `command` SET `help` = 'Syntax: .recall $place\r\n\r\nTeleport you to various towns around the world. $place defines the target location. Available places include sunr, thun, cross, orgr, neth, thel, storm, iron, under, and darn.' WHERE `name` = 'recall'; UPDATE `command` SET `help` = 'Syntax: .createguild $GuildName $GuildLeaderName\r\n\r\nCreate a guild named $GuildName with the player $GuildLeaderName as leader.' WHERE `name` = 'createguild'; diff --git a/sql/updates/0.6/2670_command.sql b/sql/updates/0.6/2670_command.sql index a63b72533..4ee1323ed 100644 --- a/sql/updates/0.6/2670_command.sql +++ b/sql/updates/0.6/2670_command.sql @@ -1,8 +1,8 @@ -DELETE FROM `command` WHERE `name` = 'modify gold'; +DELETE FROM `command` WHERE `name` = 'modify gold'; INSERT INTO `command` VALUES('modify money',1,'Syntax:\r\n.modify money #money\r\n.money #money\r\n\r\nAdd or remove money to the selected player. If no player is selected, modify your money.\r\n\r\n #gold can be negative to remove money.'); INSERT INTO `command` VALUES('money',1,'Syntax:\r\n.modify money #money\r\n.money #money\r\n\r\nAdd or remove money to the selected player. If no player is selected, modify your money.\r\n\r\n #gold can be negative to remove money.'); UPDATE `command` SET `help` = 'Syntax:\r\n.modify speed #speed\r\n.speed #speed\r\n\r\nModify the running speed of the selected player. If no player is selected, modify your speed.\r\n\r\n #speed may range from 0 to 50.' WHERE `name` = 'modify speed'; INSERT INTO `command` VALUES('speed',1,'Syntax:\r\n.modify speed #speed\r\n.speed #speed\r\n\r\nModify the running speed of the selected player. If no player is selected, modify your speed.\r\n\r\n #speed may range from 0 to 50.'); -DELETE FROM `command` WHERE `name` = 'lookupmob'; +DELETE FROM `command` WHERE `name` = 'lookupmob'; INSERT INTO `command` VALUES('lookupcreature',3,'Syntax: .lookupcreature $namepart\r\n\r\nLooks up a creature by $namepart, and returns all matches with their creature ID\'s.'); diff --git a/sql/updates/0.6/2674_quest_template.sql b/sql/updates/0.6/2674_quest_template.sql index 402dc8cb5..28dfa8389 100644 --- a/sql/updates/0.6/2674_quest_template.sql +++ b/sql/updates/0.6/2674_quest_template.sql @@ -1,11 +1,11 @@ alter table quest_template -add column +add column `OfferRewardEmote` int(11) unsigned NOT NULL default '0'; alter table quest_template -add column +add column `RequestItemsEmote` int(11) unsigned NOT NULL default '1'; alter table quest_template -add column +add column `CompleteScript` int(11) unsigned NOT NULL default '0'; diff --git a/sql/updates/0.6/2684_gameobject.sql b/sql/updates/0.6/2684_gameobject.sql index e5ce705d5..4bd85c70d 100644 --- a/sql/updates/0.6/2684_gameobject.sql +++ b/sql/updates/0.6/2684_gameobject.sql @@ -1,4 +1,4 @@ alter table gameobject add column `dynflags` int(11) unsigned NOT NULL default '0'; - \ No newline at end of file + diff --git a/sql/updates/0.6/2688_player_levelstats.sql b/sql/updates/0.6/2688_player_levelstats.sql index 0e5049686..d56496a22 100644 --- a/sql/updates/0.6/2688_player_levelstats.sql +++ b/sql/updates/0.6/2688_player_levelstats.sql @@ -17,9 +17,9 @@ CREATE TABLE `player_levelstats` ( ) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores levels stats.'; -- ---------------------------- --- Records +-- Records -- ---------------------------- -INSERT INTO `player_levelstats` VALUES +INSERT INTO `player_levelstats` VALUES ('1', '1', '1', '60', '0', '23', '20', '22', '21', '20'), ('1', '1', '2', '79', '0', '24', '21', '23', '20', '21'), ('1', '1', '3', '98', '0', '25', '21', '24', '20', '22'), diff --git a/sql/updates/0.6/2688_playercreateinfo.sql b/sql/updates/0.6/2688_playercreateinfo.sql index 766e92b01..1c60956d0 100644 --- a/sql/updates/0.6/2688_playercreateinfo.sql +++ b/sql/updates/0.6/2688_playercreateinfo.sql @@ -10,4 +10,4 @@ ALTER TABLE `playercreateinfo` DROP `BaseRage`, DROP `BaseFocus`, DROP `BaseEnergy`; - \ No newline at end of file + diff --git a/sql/updates/0.6/2689_player_levelstats.sql b/sql/updates/0.6/2689_player_levelstats.sql index 110f43327..bed412677 100644 --- a/sql/updates/0.6/2689_player_levelstats.sql +++ b/sql/updates/0.6/2689_player_levelstats.sql @@ -17,9 +17,9 @@ CREATE TABLE `player_levelstats` ( ) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores levels stats.'; -- ---------------------------- --- Records +-- Records -- ---------------------------- -INSERT INTO `player_levelstats` VALUES +INSERT INTO `player_levelstats` VALUES ('1', '1', '1', '60', '0', '23', '20', '22', '20', '21'), ('1', '1', '2', '79', '0', '24', '21', '23', '20', '21'), ('1', '1', '3', '98', '0', '25', '21', '24', '20', '22'), diff --git a/sql/updates/0.6/2746_creature.sql b/sql/updates/0.6/2746_creature.sql index 4304f728c..ab1109970 100644 --- a/sql/updates/0.6/2746_creature.sql +++ b/sql/updates/0.6/2746_creature.sql @@ -1,3 +1,3 @@ -ALTER TABLE `creature` +ALTER TABLE `creature` DROP `npcflags`, DROP `faction`; diff --git a/sql/updates/0.6/2765_mail.sql b/sql/updates/0.6/2765_mail.sql index 78e6dbdde..b8b227c09 100644 --- a/sql/updates/0.6/2765_mail.sql +++ b/sql/updates/0.6/2765_mail.sql @@ -14,4 +14,4 @@ CREATE TABLE `mail` ( `checked` tinyint(3) unsigned NOT NULL default '0', PRIMARY KEY (`id`), KEY `idx_receiver` (`receiver`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Mail System'; \ No newline at end of file +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Mail System'; diff --git a/sql/updates/0.6/2778_command.sql b/sql/updates/0.6/2778_command.sql index d70b558d4..e1da819fb 100644 --- a/sql/updates/0.6/2778_command.sql +++ b/sql/updates/0.6/2778_command.sql @@ -1,2 +1,2 @@ -UPDATE `command` SET `help` = 'Syntax: .idleshutdown #delay|cancel\r\n\r\nShut the server down after #delay seconds if no active connections are present (no players) or cancel the shutdown if cancel value is used.' WHERE `name` = 'idleshutdown'; +UPDATE `command` SET `help` = 'Syntax: .idleshutdown #delay|cancel\r\n\r\nShut the server down after #delay seconds if no active connections are present (no players) or cancel the shutdown if cancel value is used.' WHERE `name` = 'idleshutdown'; UPDATE `command` SET `help` = 'Syntax: .shutdown #delay|cancel\r\n\r\nShut the server down after #delay seconds or cancel the shutdown if cancel value is used.' WHERE `name` = 'shutdown'; diff --git a/sql/updates/0.6/2787_item_instance.sql b/sql/updates/0.6/2787_item_instance.sql index b6d97a87d..5e8a2738d 100644 --- a/sql/updates/0.6/2787_item_instance.sql +++ b/sql/updates/0.6/2787_item_instance.sql @@ -1,3 +1,3 @@ -UPDATE `item_instance` - SET `data` = CONCAT(`data`,' 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ') +UPDATE `item_instance` + SET `data` = CONCAT(`data`,' 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ') WHERE SUBSTRING_INDEX(SUBSTRING_INDEX(`data`,' ',3),' ',-1) = 7 AND SUBSTRING_INDEX(SUBSTRING_INDEX(`data`,' ',91),' ',-1) = ''; diff --git a/sql/updates/0.6/2812_character_pet.sql b/sql/updates/0.6/2812_character_pet.sql index 1881a7311..1974c3c73 100644 --- a/sql/updates/0.6/2812_character_pet.sql +++ b/sql/updates/0.6/2812_character_pet.sql @@ -1,2 +1,2 @@ -ALTER TABLE `character_pet` +ALTER TABLE `character_pet` ADD `name` varchar(12) default 'Pet' AFTER `trainpoint`; diff --git a/sql/updates/0.6/2812_pet_name_generation.sql b/sql/updates/0.6/2812_pet_name_generation.sql index 8131cec00..a28ca3bfb 100644 --- a/sql/updates/0.6/2812_pet_name_generation.sql +++ b/sql/updates/0.6/2812_pet_name_generation.sql @@ -206,6 +206,6 @@ INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('roon',417,1 INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('tom',417,1); INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('zhem',417,1); INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('zhum',417,1); -INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('zun',417,1); +INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('zun',417,1); UNLOCK TABLES; /*!40000 ALTER TABLE `pet_name_generation` ENABLE KEYS */; diff --git a/sql/updates/0.6/2842_character_pet.sql b/sql/updates/0.6/2842_character_pet.sql index f30604900..7ccd3bc7f 100644 --- a/sql/updates/0.6/2842_character_pet.sql +++ b/sql/updates/0.6/2842_character_pet.sql @@ -2,9 +2,9 @@ ALTER TABLE `character_pet` ADD COLUMN `modelid` int(11) unsigned default '0' after `owner`; UPDATE `character_pet`,`creature_template` - SET `character_pet`.`modelid` = `creature_template`.`modelid_m` + SET `character_pet`.`modelid` = `creature_template`.`modelid_m` WHERE `character_pet`.`modelid` = 0 AND `character_pet`.`entry` = `creature_template`.`entry`; UPDATE `character_pet`,`creature_template` - SET `character_pet`.`modelid` = `creature_template`.`modelid_f` + SET `character_pet`.`modelid` = `creature_template`.`modelid_f` WHERE `character_pet`.`modelid` = 0 AND `character_pet`.`entry` = `creature_template`.`entry`; diff --git a/sql/updates/0.6/2850_command.sql b/sql/updates/0.6/2850_command.sql index 1b6f152ed..ef4efe103 100644 --- a/sql/updates/0.6/2850_command.sql +++ b/sql/updates/0.6/2850_command.sql @@ -1,5 +1,5 @@ -UPDATE `command` SET `help` = 'Syntax:\r\n.modify speed #rate\r\n.speed #rate\r\n\r\nModify the running speed of the selected player to "normal base run speed"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 10.' WHERE `name` = 'speed'; -UPDATE `command` SET `help` = 'Syntax:\r\n.modify speed #rate\r\n.speed #rate\r\n\r\nModify the running speed of the selected player to "normal base run speed"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 10.' WHERE `name` = 'modify speed'; +UPDATE `command` SET `help` = 'Syntax:\r\n.modify speed #rate\r\n.speed #rate\r\n\r\nModify the running speed of the selected player to "normal base run speed"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 10.' WHERE `name` = 'speed'; +UPDATE `command` SET `help` = 'Syntax:\r\n.modify speed #rate\r\n.speed #rate\r\n\r\nModify the running speed of the selected player to "normal base run speed"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 10.' WHERE `name` = 'modify speed'; UPDATE `command` SET `help` = 'Syntax: .modify swim #rate\r\n\r\nModify the swim speed of the selected player to "normal swim speed"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 10.' WHERE `name` = 'modify swim'; UPDATE `command` SET `help` = 'Syntax: .modify aspeed #rate\r\n\r\nModify all speeds -run,swim,run back,swim back- of the selected player to "normalbase speed for this move type"*rate. If no player is selected, modify your speed.\r\n\r\n #rate may range from 0.1 to 10.' WHERE `name` = 'modify aspeed'; UPDATE `command` SET `help` = 'Syntax: .modify bwalk #rate\r\n\r\nModify the speed of the selected player while running backwards to "normal walk back speed"*rate. If no player is selected, modify your speed.\r\n\r\n #speed may range from 0.1 to 10.' WHERE `name` = 'modify bwalk'; diff --git a/sql/updates/0.6/2869_command.sql b/sql/updates/0.6/2869_command.sql index 5cc6ff5d0..82d811e39 100644 --- a/sql/updates/0.6/2869_command.sql +++ b/sql/updates/0.6/2869_command.sql @@ -1 +1 @@ -UPDATE `command` SET `help` = 'Syntax: .pinfo [$player_name] [rep]\r\n\r\nOutput account information for selected player or player find by $player_name. If "rep" parameter provided show reputation information for player.' WHERE `name` = 'pinfo'; +UPDATE `command` SET `help` = 'Syntax: .pinfo [$player_name] [rep]\r\n\r\nOutput account information for selected player or player find by $player_name. If "rep" parameter provided show reputation information for player.' WHERE `name` = 'pinfo'; diff --git a/sql/updates/0.6/2958_scripts.sql b/sql/updates/0.6/2958_scripts.sql index c0cf92433..996ed500b 100644 --- a/sql/updates/0.6/2958_scripts.sql +++ b/sql/updates/0.6/2958_scripts.sql @@ -1,2 +1,2 @@ -ALTER TABLE `scripts` +ALTER TABLE `scripts` CHANGE COLUMN `datatext` `datatext` text NOT NULL; diff --git a/sql/updates/0.6/2958_spell_scripts.sql b/sql/updates/0.6/2958_spell_scripts.sql index 2a36c43a9..918f865dd 100644 --- a/sql/updates/0.6/2958_spell_scripts.sql +++ b/sql/updates/0.6/2958_spell_scripts.sql @@ -1,2 +1,2 @@ -ALTER TABLE `spell_scripts` +ALTER TABLE `spell_scripts` CHANGE COLUMN `datatext` `datatext` text NOT NULL; diff --git a/sql/updates/0.6/2982_command.sql b/sql/updates/0.6/2982_command.sql index 8a4b8fbd4..3fb10207e 100644 --- a/sql/updates/0.6/2982_command.sql +++ b/sql/updates/0.6/2982_command.sql @@ -1 +1 @@ -UPDATE `command` SET `help` = 'Syntax: .additem #itemid/[#itemname]/#shift-click-item-link #itemcount\r\n\r\nAdds the specified number of items of id #itemid (or exact (!) name $itemname in brackets, or link created by shift-click at item in inventory or recipe) to your or selected character inventory. If #itemcount is omitted, only one item will be added.\r\n.' WHERE `name` = 'additem'; +UPDATE `command` SET `help` = 'Syntax: .additem #itemid/[#itemname]/#shift-click-item-link #itemcount\r\n\r\nAdds the specified number of items of id #itemid (or exact (!) name $itemname in brackets, or link created by shift-click at item in inventory or recipe) to your or selected character inventory. If #itemcount is omitted, only one item will be added.\r\n.' WHERE `name` = 'additem'; diff --git a/sql/updates/0.6/3017_auctionhouse.sql b/sql/updates/0.6/3017_auctionhouse.sql index 0125fc622..caf1c40d1 100644 --- a/sql/updates/0.6/3017_auctionhouse.sql +++ b/sql/updates/0.6/3017_auctionhouse.sql @@ -1,4 +1,4 @@ -ALTER TABLE `auctionhouse` +ALTER TABLE `auctionhouse` MODIFY COLUMN `auctioneerguid` int(11) unsigned NOT NULL default '0', MODIFY COLUMN `itemguid` int(11) unsigned NOT NULL default '0', MODIFY COLUMN `itemowner` int(11) unsigned NOT NULL default '0', diff --git a/sql/updates/0.6/3054_command.sql b/sql/updates/0.6/3054_command.sql index 347924f65..7fa83eeb1 100644 --- a/sql/updates/0.6/3054_command.sql +++ b/sql/updates/0.6/3054_command.sql @@ -1,4 +1,4 @@ -DELETE FROM `command` WHERE `name` = 'searchtele'; +DELETE FROM `command` WHERE `name` = 'searchtele'; INSERT INTO `command` VALUES('lookuptele',1,'Syntax: .lookuptele $substring\r\n\r\nSearch and output all .tele command locations with provide $substring in name.'); INSERT INTO `command` VALUES('lookupquest',3,'Syntax: .lookupquest $namepart\r\n\r\nLooks up a quest by $namepart, and returns all matches with their quest ID\'s.'); INSERT INTO `command` VALUES('lookupspell',3,'Syntax: .lookupspell $namepart\r\n\r\nLooks up a spell by $namepart, and returns all matches with their spell ID\'s.'); diff --git a/sql/updates/0.6/3090_creature_template.sql b/sql/updates/0.6/3090_creature_template.sql index 64bb0e610..6ffa040e2 100644 --- a/sql/updates/0.6/3090_creature_template.sql +++ b/sql/updates/0.6/3090_creature_template.sql @@ -1,4 +1,4 @@ -ALTER TABLE `creature_template` +ALTER TABLE `creature_template` ADD COLUMN `pickpocketloot` int(10) unsigned NOT NULL default '0' AFTER `lootid`; UPDATE `creature_template`,`pickpocketing_loot_template` diff --git a/sql/updates/0.6/3107_playercreateinfo_skill.sql b/sql/updates/0.6/3107_playercreateinfo_skill.sql index 9d2978ce3..9757d6256 100644 --- a/sql/updates/0.6/3107_playercreateinfo_skill.sql +++ b/sql/updates/0.6/3107_playercreateinfo_skill.sql @@ -1,4 +1,4 @@ -ALTER TABLE `playercreateinfo_skill` +ALTER TABLE `playercreateinfo_skill` MODIFY COLUMN `SkillMin` smallint(5) NOT NULL default '0', MODIFY COLUMN `SkillMax` smallint(5) NOT NULL default '0'; diff --git a/sql/updates/0.6/3110_quest_template.sql b/sql/updates/0.6/3110_quest_template.sql index c7cc4d7a2..ea92ff995 100644 --- a/sql/updates/0.6/3110_quest_template.sql +++ b/sql/updates/0.6/3110_quest_template.sql @@ -1,4 +1,4 @@ -update `quest_template` set `RewRepFaction1` = +update `quest_template` set `RewRepFaction1` = case `RewRepFaction1` when 0 then 0 when 11 then 72 @@ -47,7 +47,7 @@ case `RewRepFaction1` else `RewRepFaction1`*'-1' end; -update `quest_template` set `RewRepFaction2` = +update `quest_template` set `RewRepFaction2` = case `RewRepFaction2` when 0 then 0 when 11 then 72 diff --git a/sql/updates/0.6/3115_quest_template.sql b/sql/updates/0.6/3115_quest_template.sql index 13afbd322..604b68e2c 100644 --- a/sql/updates/0.6/3115_quest_template.sql +++ b/sql/updates/0.6/3115_quest_template.sql @@ -1,4 +1,4 @@ -ALTER TABLE `quest_template` +ALTER TABLE `quest_template` ADD COLUMN `RewRepFaction3` int(11) unsigned NOT NULL default '0' AFTER `RewRepFaction2`, ADD COLUMN `RewRepFaction4` int(11) unsigned NOT NULL default '0' AFTER `RewRepFaction3`, ADD COLUMN `RewRepFaction5` int(11) unsigned NOT NULL default '0' AFTER `RewRepFaction4`, diff --git a/sql/updates/0.7/3138_character_inventory.sql b/sql/updates/0.7/3138_character_inventory.sql index bd4bbc47d..46a2a76a9 100644 --- a/sql/updates/0.7/3138_character_inventory.sql +++ b/sql/updates/0.7/3138_character_inventory.sql @@ -1,2 +1,2 @@ -ALTER TABLE character_inventory +ALTER TABLE character_inventory ADD UNIQUE KEY `idx_item` (`item`); diff --git a/sql/updates/0.7/3138_item_template.sql b/sql/updates/0.7/3138_item_template.sql index a32dc187a..0b2e9fa17 100644 --- a/sql/updates/0.7/3138_item_template.sql +++ b/sql/updates/0.7/3138_item_template.sql @@ -1,2 +1,2 @@ -ALTER TABLE `item_template` +ALTER TABLE `item_template` ADD `DisenchantID` int(11) unsigned NOT NULL default '0'; diff --git a/sql/updates/0.7/3141_spell_threat.sql b/sql/updates/0.7/3141_spell_threat.sql index 0f9737ccf..46b23965f 100644 --- a/sql/updates/0.7/3141_spell_threat.sql +++ b/sql/updates/0.7/3141_spell_threat.sql @@ -10,7 +10,7 @@ CREATE TABLE `spell_threat` ( -- /*!40000 ALTER TABLE `spell_threat` DISABLE KEYS */; -INSERT INTO `spell_threat` (`entry`,`Threat`) VALUES +INSERT INTO `spell_threat` (`entry`,`Threat`) VALUES (1672,180),(9881,207),(11556,43),(11567,145),(11597,261),(11601,315),(11775,395),(14921,415),(24394,580),(24583,5), (25286,175),(25288,355),(25289,60),(78,20),(284,39),(285,59),(1608,78),(11564,98),(11565,118),(11566,137),(7386,100),(7405,140), (8380,180),(11596,220),(1715,61),(7372,101),(7373,141),(6572,155),(6574,195),(7379,235),(11600,275),(23922,160),(23923,190), diff --git a/sql/updates/0.7/3245_mail.sql b/sql/updates/0.7/3245_mail.sql index ed7342232..431f89a73 100644 --- a/sql/updates/0.7/3245_mail.sql +++ b/sql/updates/0.7/3245_mail.sql @@ -1,3 +1,3 @@ -ALTER TABLE `mail` +ALTER TABLE `mail` CHANGE COLUMN `itemPageId` `itemTextId` int(11) unsigned NOT NULL default '0'; diff --git a/sql/updates/0.7/3296_playercreateinfo_skill.sql b/sql/updates/0.7/3296_playercreateinfo_skill.sql index 788b89243..e0659648f 100644 --- a/sql/updates/0.7/3296_playercreateinfo_skill.sql +++ b/sql/updates/0.7/3296_playercreateinfo_skill.sql @@ -7,7 +7,7 @@ CREATE TABLE `playercreateinfo_skill` ( PRIMARY KEY (`race`,`class`,`Skill`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -INSERT INTO `playercreateinfo_skill` VALUES +INSERT INTO `playercreateinfo_skill` VALUES (1,1,183,'GENERIC (DND)'),(1,2,183,'GENERIC (DND)'),(1,4,183,'GENERIC (DND)'),(1,5,183,'GENERIC (DND)'),(1,8,183,'GENERIC (DND)'),(1,9,183,'GENERIC (DND)'),(2,1,183,'GENERIC (DND)'),(2,3,183,'GENERIC (DND)'),(2,4,183,'GENERIC (DND)'),(2,7,183,'GENERIC (DND)'),(2,9,183,'GENERIC (DND)'),(3,1,183,'GENERIC (DND)'),(3,2,183,'GENERIC (DND)'),(3,3,183,'GENERIC (DND)'),(3,4,183,'GENERIC (DND)'),(3,5,183,'GENERIC (DND)'),(4,1,183,'GENERIC (DND)'),(4,3,183,'GENERIC (DND)'),(4,4,183,'GENERIC (DND)'),(4,5,183,'GENERIC (DND)'),(4,11,183,'GENERIC (DND)'),(5,1,183,'GENERIC (DND)'),(5,4,183,'GENERIC (DND)'),(5,5,183,'GENERIC (DND)'),(5,8,183,'GENERIC (DND)'),(5,9,183,'GENERIC (DND)'),(6,1,183,'GENERIC (DND)'),(6,3,183,'GENERIC (DND)'),(6,7,183,'GENERIC (DND)'),(6,11,183,'GENERIC (DND)'),(7,1,183,'GENERIC (DND)'),(7,4,183,'GENERIC (DND)'),(7,8,183,'GENERIC (DND)'),(7,9,183,'GENERIC (DND)'),(8,1,183,'GENERIC (DND)'),(8,3,183,'GENERIC (DND)'),(8,4,183,'GENERIC (DND)'),(8,5,183,'GENERIC (DND)'),(8,7,183,'GENERIC (DND)'),(8,8,183,'GENERIC (DND)'), (1,8,6,'Frost'),(5,8,6,'Frost'),(7,8,6,'Frost'),(8,8,6,'Frost'), (1,8,8,'Fire'),(5,8,8,'Fire'),(7,8,8,'Fire'),(8,8,8,'Fire'), diff --git a/sql/updates/0.7/3296_spell_learn_skill.sql b/sql/updates/0.7/3296_spell_learn_skill.sql index aafd633db..6c51a3ffa 100644 --- a/sql/updates/0.7/3296_spell_learn_skill.sql +++ b/sql/updates/0.7/3296_spell_learn_skill.sql @@ -8,7 +8,7 @@ CREATE TABLE `spell_learn_skill` ( UNIQUE KEY spell_skill(`entry`,`SkillID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System'; -INSERT INTO `spell_learn_skill` VALUES +INSERT INTO `spell_learn_skill` VALUES /*================== Armor ============*/ /*Cloth */( 9078,415, 1, 1), /*Leather */( 9077,414, 1, 1), diff --git a/sql/updates/0.7/3310_spell_learn_spell.sql b/sql/updates/0.7/3310_spell_learn_spell.sql index 28bb02e29..0ec80a009 100644 --- a/sql/updates/0.7/3310_spell_learn_spell.sql +++ b/sql/updates/0.7/3310_spell_learn_spell.sql @@ -6,7 +6,7 @@ CREATE TABLE `spell_learn_spell` ( PRIMARY KEY (`entry`,`SpellID`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System'; -INSERT INTO `spell_learn_spell` VALUES +INSERT INTO `spell_learn_spell` VALUES /*SKILL_ENGINERING*/ (4036,3918,0), (4036,3919,0), diff --git a/sql/updates/0.7/3323.sql b/sql/updates/0.7/3323.sql index d0ea3e6c4..d29bd9753 100644 --- a/sql/updates/0.7/3323.sql +++ b/sql/updates/0.7/3323.sql @@ -1,4 +1,4 @@ -ALTER TABLE `character_pet` +ALTER TABLE `character_pet` ADD COLUMN `slot` tinyint(1) unsigned NOT NULL default '0', CHANGE COLUMN `id` `id` int(11) unsigned NOT NULL default '0'; @@ -10,15 +10,15 @@ UPDATE `character_pet` SET `slot` = 3 WHERE `current` = 0; /* current = (`slot`==0) */ -ALTER TABLE `character_pet` +ALTER TABLE `character_pet` DROP COLUMN `current`; UPDATE `character_pet`, `character_stable` SET `character_pet`.`slot` =`character_stable`.`slot` - WHERE `character_pet`.`id`=`character_stable`.`petnumber` + WHERE `character_pet`.`id`=`character_stable`.`petnumber` AND `character_pet`.`owner`=`character_stable`.`owner` AND `character_pet`.`id`=`character_stable`.`petnumber`; -ALTER TABLE `character` +ALTER TABLE `character` ADD COLUMN `stable_slots` tinyint(1) unsigned NOT NULL default '0'; UPDATE `character`, ( diff --git a/sql/updates/0.7/3344_playercreateinfo_spell.sql b/sql/updates/0.7/3344_playercreateinfo_spell.sql index a43a903ac..e641756f1 100644 --- a/sql/updates/0.7/3344_playercreateinfo_spell.sql +++ b/sql/updates/0.7/3344_playercreateinfo_spell.sql @@ -9,5 +9,5 @@ INSERT INTO `playercreateinfo_spell` VALUES ('8','1','21156','Battle Stance Pass INSERT IGNORE INTO `character_spell` SELECT `character`.`guid`,`playercreateinfo_spell`.`spell` AS `spell`, '65535' AS `slot`,`playercreateinfo_spell`.`Active` AS `active` -FROM `character`,`playercreateinfo_spell` -WHERE `character`.`class`=`playercreateinfo_spell`.`class` AND `character`.`race`=`playercreateinfo_spell`.`race`; \ No newline at end of file +FROM `character`,`playercreateinfo_spell` +WHERE `character`.`class`=`playercreateinfo_spell`.`class` AND `character`.`race`=`playercreateinfo_spell`.`race`; diff --git a/sql/updates/0.7/3348_playercreateinfo_spell.sql b/sql/updates/0.7/3348_playercreateinfo_spell.sql index d0f541002..fc7d4a97d 100644 --- a/sql/updates/0.7/3348_playercreateinfo_spell.sql +++ b/sql/updates/0.7/3348_playercreateinfo_spell.sql @@ -3,5 +3,5 @@ INSERT INTO `playercreateinfo_spell` VALUES ('6','11','21178','Bear Form (Passiv INSERT IGNORE INTO `character_spell` SELECT `character`.`guid`,`playercreateinfo_spell`.`spell` AS `spell`, '65535' AS `slot`,`playercreateinfo_spell`.`Active` AS `active` -FROM `character`,`playercreateinfo_spell` -WHERE `character`.`class`=`playercreateinfo_spell`.`class` AND `character`.`race`=`playercreateinfo_spell`.`race`; \ No newline at end of file +FROM `character`,`playercreateinfo_spell` +WHERE `character`.`class`=`playercreateinfo_spell`.`class` AND `character`.`race`=`playercreateinfo_spell`.`race`; diff --git a/sql/updates/0.7/3351_character_pet.sql b/sql/updates/0.7/3351_character_pet.sql index 2b7f4e634..852ff72b6 100644 --- a/sql/updates/0.7/3351_character_pet.sql +++ b/sql/updates/0.7/3351_character_pet.sql @@ -1,3 +1,3 @@ -ALTER TABLE `character_pet` +ALTER TABLE `character_pet` ADD COLUMN `curhealth` int(11) unsigned NOT NULL default '1', ADD COLUMN `curmana` int(11) unsigned NOT NULL default '0'; diff --git a/sql/updates/0.7/3397_creature_template.sql b/sql/updates/0.7/3397_creature_template.sql index 4363e6bb2..9bfb7c083 100644 --- a/sql/updates/0.7/3397_creature_template.sql +++ b/sql/updates/0.7/3397_creature_template.sql @@ -1,4 +1,4 @@ -ALTER TABLE `creature_template` +ALTER TABLE `creature_template` ADD COLUMN `InhabitType` tinyint(1) unsigned NOT NULL default '3' AFTER `MovementType`; /* diff --git a/sql/updates/0.7/3424_command.sql b/sql/updates/0.7/3424_command.sql index 8bbab6311..763092444 100644 --- a/sql/updates/0.7/3424_command.sql +++ b/sql/updates/0.7/3424_command.sql @@ -1,4 +1,4 @@ -UPDATE `command` +UPDATE `command` SET `help` = 'Syntax: .modify $parameter $value Modify the value of various parameters. Use .help modify $parameter to get help on specific parameter usage. Supported parameters include hp, mana, rage, energy, money, speed, swim, scale, bit, bwalk, aspeed, faction, spell and tp.' WHERE `name` = 'modify' LIMIT 1 ; @@ -6,6 +6,6 @@ UPDATE `command` SET `help` = 'Syntax: .aura #spellid Add the aura from spell #spellid to the selected Unit.' WHERE `name` = 'aura' LIMIT 1 ; -UPDATE `command` +UPDATE `command` SET `help` = 'Syntax: .unaura #spellid Remove aura due to spell #spellid from the selected Unit.' WHERE `name` = 'unaura' LIMIT 1 ; diff --git a/sql/updates/0.7/3547_character_reputation.sql b/sql/updates/0.7/3547_character_reputation.sql index 9bdaa8603..29b24c984 100644 --- a/sql/updates/0.7/3547_character_reputation.sql +++ b/sql/updates/0.7/3547_character_reputation.sql @@ -1,72 +1,72 @@ /* alliance */ -UPDATE `character_reputation`,`character` SET `character_reputation`.`flags` = 17 -WHERE `character_reputation`.`guid` = `character`.`guid` +UPDATE `character_reputation`,`character` SET `character_reputation`.`flags` = 17 +WHERE `character_reputation`.`guid` = `character`.`guid` AND (`character_reputation`.`faction` = 47 or `character_reputation`.`faction` = 54 or `character_reputation`.`faction` = 69 or `character_reputation`.`faction` = 72 or `character_reputation`.`faction` = 930 ) AND (`character`.`race` = 1 OR `character`.`race` = 3 OR `character`.`race` = 4 OR `character`.`race` = 7 OR `character`.`race` = 11 ); /* horde */ -UPDATE `character_reputation`,`character` SET `character_reputation`.`flags` = 17 -WHERE `character_reputation`.`guid` = `character`.`guid` +UPDATE `character_reputation`,`character` SET `character_reputation`.`flags` = 17 +WHERE `character_reputation`.`guid` = `character`.`guid` AND (`character_reputation`.`faction` = 68 or `character_reputation`.`faction` = 76 or `character_reputation`.`faction` = 81 or `character_reputation`.`faction` = 530 or `character_reputation`.`faction` = 911 ) AND (`character`.`race` = 2 OR `character`.`race` = 5 OR `character`.`race` = 6 OR `character`.`race` = 8 OR `character`.`race` = 10 ); /* faction 47 */ -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 47 , 20, '0', '17' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 47 , 20, '0', '17' FROM `character` WHERE `race` = 1 OR `race` = 3 OR `race` = 4 OR `race` = 7 OR `race` = 11; -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 47 , 20, '0', '2' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 47 , 20, '0', '2' FROM `character` WHERE `race` = 2 OR `race` = 5 OR `race` = 6 OR `race` = 8 OR `race` = 10; /* faction 54 */ -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 54 , 18, '0', '17' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 54 , 18, '0', '17' FROM `character` WHERE `race` = 1 OR `race` = 3 OR `race` = 4 OR `race` = 7 OR `race` = 11; -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 54 , 18, '0', '2' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 54 , 18, '0', '2' FROM `character` WHERE `race` = 2 OR `race` = 5 OR `race` = 6 OR `race` = 8 OR `race` = 10; /* faction 68 */ -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 68 , 17, '0', '2' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 68 , 17, '0', '2' FROM `character` WHERE `race` = 1 OR `race` = 3 OR `race` = 4 OR `race` = 7 OR `race` = 11; -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 68 , 17, '0', '17' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 68 , 17, '0', '17' FROM `character` WHERE `race` = 2 OR `race` = 5 OR `race` = 6 OR `race` = 8 OR `race` = 10; /* faction 69 */ -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 69 , 21, '0', '17' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 69 , 21, '0', '17' FROM `character` WHERE `race` = 1 OR `race` = 3 OR `race` = 4 OR `race` = 7 OR `race` = 11; -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 69 , 21, '0', '2' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 69 , 21, '0', '2' FROM `character` WHERE `race` = 2 OR `race` = 5 OR `race` = 6 OR `race` = 8 OR `race` = 10; /* faction 72 */ -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 72 , 19, '0', '17' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 72 , 19, '0', '17' FROM `character` WHERE `race` = 1 OR `race` = 3 OR `race` = 4 OR `race` = 7 OR `race` = 11; -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 72 , 19, '0', '2' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 72 , 19, '0', '2' FROM `character` WHERE `race` = 2 OR `race` = 5 OR `race` = 6 OR `race` = 8 OR `race` = 10; /* faction 76 */ -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 76 , 14, '0', '2' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 76 , 14, '0', '2' FROM `character` WHERE `race` = 1 OR `race` = 3 OR `race` = 4 OR `race` = 7 OR `race` = 11; -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 76 , 14, '0', '17' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 76 , 14, '0', '17' FROM `character` WHERE `race` = 2 OR `race` = 5 OR `race` = 6 OR `race` = 8 OR `race` = 10; /* faction 81 */ -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 81 , 16, '0', '2' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 81 , 16, '0', '2' FROM `character` WHERE `race` = 1 OR `race` = 3 OR `race` = 4 OR `race` = 7 OR `race` = 11; -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 81 , 16, '0', '17' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 81 , 16, '0', '17' FROM `character` WHERE `race` = 2 OR `race` = 5 OR `race` = 6 OR `race` = 8 OR `race` = 10; /* faction 530 */ -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 530, 15, '0', '2' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 530, 15, '0', '2' FROM `character` WHERE `race` = 1 OR `race` = 3 OR `race` = 4 OR `race` = 7 OR `race` = 11; -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 530, 15, '0', '17' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 530, 15, '0', '17' FROM `character` WHERE `race` = 2 OR `race` = 5 OR `race` = 6 OR `race` = 8 OR `race` = 10; /* faction 911 (B.Elf) */ -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 911, 15, '0', '2' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 911, 15, '0', '2' FROM `character` WHERE `race` = 1 OR `race` = 3 OR `race` = 4 OR `race` = 7 OR `race` = 11; -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 911, 15, '0', '17' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 911, 15, '0', '17' FROM `character` WHERE `race` = 2 OR `race` = 5 OR `race` = 6 OR `race` = 8 OR `race` = 10; /* faction 930 (Dra) */ -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 930 , 19, '0', '17' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 930 , 19, '0', '17' FROM `character` WHERE `race` = 1 OR `race` = 3 OR `race` = 4 OR `race` = 7 OR `race` = 11; -INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 930 , 19, '0', '2' +INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 930 , 19, '0', '2' FROM `character` WHERE `race` = 2 OR `race` = 5 OR `race` = 6 OR `race` = 8 OR `race` = 10; diff --git a/sql/updates/0.7/3553_creature_onkill_reputation.sql b/sql/updates/0.7/3553_creature_onkill_reputation.sql index 5d674ba26..d58e6507c 100644 --- a/sql/updates/0.7/3553_creature_onkill_reputation.sql +++ b/sql/updates/0.7/3553_creature_onkill_reputation.sql @@ -1,4 +1,4 @@ -ALTER TABLE `creature_onkill_reputation` +ALTER TABLE `creature_onkill_reputation` CHANGE COLUMN `MaxStanding1` `MaxStanding1` tinyint(1) default '0', CHANGE COLUMN `IsTeamAward1` `IsTeamAward1` tinyint(1) default '0', CHANGE COLUMN `MaxStanding2` `MaxStanding2` tinyint(1) default '0', diff --git a/sql/updates/0.7/3605_creature_addon.sql b/sql/updates/0.7/3605_creature_addon.sql index 09389ec90..7ba66b917 100644 --- a/sql/updates/0.7/3605_creature_addon.sql +++ b/sql/updates/0.7/3605_creature_addon.sql @@ -1,2 +1,2 @@ -ALTER TABLE `creature_addon` +ALTER TABLE `creature_addon` CHANGE COLUMN `entry` `guid` int(11) NOT NULL default '0'; diff --git a/sql/updates/0.7/3636_character_spell.sql b/sql/updates/0.7/3636_character_spell.sql index 945180b29..5c9285f42 100644 --- a/sql/updates/0.7/3636_character_spell.sql +++ b/sql/updates/0.7/3636_character_spell.sql @@ -1,2 +1,2 @@ -UPDATE `character_spell` +UPDATE `character_spell` SET `spell` = 5420 WHERE `spell` = 3122; diff --git a/sql/updates/0.7/3636_playercreateinfo_spell.sql b/sql/updates/0.7/3636_playercreateinfo_spell.sql index 5116fdd28..cf76aac8f 100644 --- a/sql/updates/0.7/3636_playercreateinfo_spell.sql +++ b/sql/updates/0.7/3636_playercreateinfo_spell.sql @@ -1,2 +1,2 @@ -UPDATE `playercreateinfo_spell` +UPDATE `playercreateinfo_spell` SET `Spell` = 5420 WHERE `Spell` = 3122; diff --git a/sql/updates/0.7/3728_spell_proc_event.sql b/sql/updates/0.7/3728_spell_proc_event.sql index 789ac7e1f..05a8876bb 100644 --- a/sql/updates/0.7/3728_spell_proc_event.sql +++ b/sql/updates/0.7/3728_spell_proc_event.sql @@ -1,3 +1,3 @@ -ALTER TABLE `spell_proc_event` +ALTER TABLE `spell_proc_event` CHANGE COLUMN `entry` `entry` smallint(6) unsigned NOT NULL default '0'; - \ No newline at end of file + diff --git a/sql/updates/0.7/3732_spell_affect.sql b/sql/updates/0.7/3732_spell_affect.sql index 1ce212f5a..10795edae 100644 --- a/sql/updates/0.7/3732_spell_affect.sql +++ b/sql/updates/0.7/3732_spell_affect.sql @@ -11,7 +11,7 @@ CREATE TABLE `spell_affect` ( PRIMARY KEY (`entry`,`effectId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (11070, 1, 0, 0, 0, 0, 0, 32), (11069, 1, 0, 0, 0, 0, 0, 1), (11083, 0, 0, 0, 0, 8, 0, 0), diff --git a/sql/updates/0.7/3753_battleground_template.sql b/sql/updates/0.7/3753_battleground_template.sql index 40c5b2d35..69e656e8a 100644 --- a/sql/updates/0.7/3753_battleground_template.sql +++ b/sql/updates/0.7/3753_battleground_template.sql @@ -15,7 +15,7 @@ CREATE TABLE `battleground_template` ( ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- ---------------------------- --- Records +-- Records -- ---------------------------- INSERT INTO `battleground_template` VALUES ('1', '0', '0', '0', '611', '2.72532', '610','2.27452'); diff --git a/sql/updates/0.7/3763_spell_affect.sql b/sql/updates/0.7/3763_spell_affect.sql index 2bc10ee14..6ffe5b348 100644 --- a/sql/updates/0.7/3763_spell_affect.sql +++ b/sql/updates/0.7/3763_spell_affect.sql @@ -12,7 +12,7 @@ CREATE TABLE `spell_affect` ( PRIMARY KEY (`entry`,`effectId`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (11069, 1, 0, 0, 0, 0, 0, 1, 0), (11070, 1, 0, 0, 0, 0, 0, 32, 0), (11083, 0, 0, 0, 0, 8, 0, 0, 0), diff --git a/sql/updates/0.7/3774_playercreateinfo_spell.sql b/sql/updates/0.7/3774_playercreateinfo_spell.sql index aa658850f..f8682c308 100644 --- a/sql/updates/0.7/3774_playercreateinfo_spell.sql +++ b/sql/updates/0.7/3774_playercreateinfo_spell.sql @@ -3,5 +3,5 @@ INSERT INTO `playercreateinfo_spell` VALUES ('6','11','33948','Flight Form (Pass INSERT IGNORE INTO `character_spell` SELECT `character`.`guid`,`playercreateinfo_spell`.`spell` AS `spell`, '65535' AS `slot`,`playercreateinfo_spell`.`Active` AS `active` -FROM `character`,`playercreateinfo_spell` -WHERE `character`.`class`=`playercreateinfo_spell`.`class` AND `character`.`race`=`playercreateinfo_spell`.`race`; \ No newline at end of file +FROM `character`,`playercreateinfo_spell` +WHERE `character`.`class`=`playercreateinfo_spell`.`class` AND `character`.`race`=`playercreateinfo_spell`.`race`; diff --git a/sql/updates/0.7/3801_banAccount.sql b/sql/updates/0.7/3801_banAccount.sql index 5ae903542..62b51e202 100644 --- a/sql/updates/0.7/3801_banAccount.sql +++ b/sql/updates/0.7/3801_banAccount.sql @@ -1,10 +1,10 @@ -ALTER TABLE `realmd`.`ip_banned` +ALTER TABLE `realmd`.`ip_banned` ADD COLUMN `bandate` INT NOT NULL AFTER `ip`, ADD COLUMN `unbandate` INT NOT NULL AFTER `bandate`, ADD COLUMN `bannedby` VARCHAR(50) NOT NULL DEFAULT '[Console]' AFTER `unbandate`, ADD COLUMN `banreason` VARCHAR(50) NOT NULL DEFAULT 'no reason' AFTER `bannedby`; -ALTER TABLE `realmd`.`account` +ALTER TABLE `realmd`.`account` DROP KEY `idx_banned`, DROP COLUMN `banned`; diff --git a/sql/updates/0.7/3802_petitions.sql b/sql/updates/0.7/3802_petitions.sql index 7b4e9b8f2..652838151 100644 --- a/sql/updates/0.7/3802_petitions.sql +++ b/sql/updates/0.7/3802_petitions.sql @@ -1,6 +1,6 @@ RENAME TABLE `guild_charter` TO `petition`; RENAME TABLE `guild_charter_sign` TO `petition_sign`; -ALTER TABLE `petition` +ALTER TABLE `petition` CHANGE COLUMN `guildname` `name` varchar(255) NOT NULL default '', ADD `type` int(10) unsigned NOT NULL default '0' AFTER `name`; UPDATE `petition` SET `type`='9'; diff --git a/sql/updates/0.7/3805_spell_proc_event.sql b/sql/updates/0.7/3805_spell_proc_event.sql index 93347648d..6a8be6446 100644 --- a/sql/updates/0.7/3805_spell_proc_event.sql +++ b/sql/updates/0.7/3805_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( '27155','27160','27166'); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES ('27155', '0', '0', '0', '0', '1', '0'), ('27160', '0', '0', '0', '0', '1', '5'), ('27166', '0', '0', '0', '0', '1', '5'); diff --git a/sql/updates/0.7/3806_petitions.sql b/sql/updates/0.7/3806_petitions.sql index 5763635fa..7051416fa 100644 --- a/sql/updates/0.7/3806_petitions.sql +++ b/sql/updates/0.7/3806_petitions.sql @@ -1,8 +1,8 @@ -ALTER TABLE `petition` +ALTER TABLE `petition` DROP KEY `index_ownerguid_charterguid`, CHANGE COLUMN `charterguid` `petitionguid` int(10) unsigned default '0', ADD UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`); -ALTER TABLE `petition_sign` +ALTER TABLE `petition_sign` DROP PRIMARY KEY, CHANGE COLUMN `charterguid` `petitionguid` int(10) unsigned default '0', ADD PRIMARY KEY (`petitionguid`,`playerguid`); diff --git a/sql/updates/0.7/3845_account.sql b/sql/updates/0.7/3845_account.sql index c014746ee..42ea700f0 100644 --- a/sql/updates/0.7/3845_account.sql +++ b/sql/updates/0.7/3845_account.sql @@ -1,2 +1,2 @@ -ALTER TABLE `realmd`.`account` +ALTER TABLE `realmd`.`account` ADD COLUMN `mutetime` bigint(40) unsigned NOT NULL default '0' AFTER `tbc`; diff --git a/sql/updates/0.7/3875_item_template.sql b/sql/updates/0.7/3875_item_template.sql index 1d57fc43f..80a3dae58 100644 --- a/sql/updates/0.7/3875_item_template.sql +++ b/sql/updates/0.7/3875_item_template.sql @@ -1,3 +1,3 @@ -ALTER TABLE `item_template` +ALTER TABLE `item_template` CHANGE COLUMN `Extra` `RandomProperty_1` int(30) unsigned NOT NULL default '0', CHANGE COLUMN `unk_203` `RandomProperty_2` int(30) unsigned NOT NULL default '0'; diff --git a/sql/updates/0.7/3891_quest_scripts.sql b/sql/updates/0.7/3891_quest_scripts.sql index 4811d8114..2addfe3dc 100644 --- a/sql/updates/0.7/3891_quest_scripts.sql +++ b/sql/updates/0.7/3891_quest_scripts.sql @@ -28,11 +28,11 @@ CREATE TABLE `quest_start_scripts` ( INSERT INTO `quest_end_scripts` -SELECT `id`,`delay`,`command`,`datalong`,`datalong2`,`datatext`,`x`,`y`,`z`,`o` +SELECT `id`,`delay`,`command`,`datalong`,`datalong2`,`datatext`,`x`,`y`,`z`,`o` FROM `scripts` WHERE `StartOrFinish` = 0; INSERT INTO `quest_start_scripts` -SELECT `id`,`delay`,`command`,`datalong`,`datalong2`,`datatext`,`x`,`y`,`z`,`o` +SELECT `id`,`delay`,`command`,`datalong`,`datalong2`,`datatext`,`x`,`y`,`z`,`o` FROM `scripts` WHERE `StartOrFinish` = 1; DROP TABLE IF EXISTS `scripts`; diff --git a/sql/updates/0.7/3932_item_template.sql b/sql/updates/0.7/3932_item_template.sql index a2ea7b81b..4e058b976 100644 --- a/sql/updates/0.7/3932_item_template.sql +++ b/sql/updates/0.7/3932_item_template.sql @@ -1,3 +1,3 @@ -ALTER TABLE `item_template` +ALTER TABLE `item_template` CHANGE COLUMN `RandomProperty_1` `RandomProperty` int(30) unsigned NOT NULL default '0', CHANGE COLUMN `RandomProperty_2` `RandomSuffix` int(30) unsigned NOT NULL default '0'; diff --git a/sql/updates/0.7/4010_spell_proc_event.sql b/sql/updates/0.7/4010_spell_proc_event.sql index d289b3bf8..c24728534 100644 --- a/sql/updates/0.7/4010_spell_proc_event.sql +++ b/sql/updates/0.7/4010_spell_proc_event.sql @@ -1,10 +1,10 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( '31830','31829','31828'); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES ('31828', '0', '0', '0', '0', '32768', '0'), ('31829', '0', '0', '0', '0', '32768', '0'), ('31830', '0', '0', '0', '0', '32768', '0'); DELETE FROM `spell_proc_event` WHERE `entry` IN ( '33776','31785'); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES ('31785', '0', '0', '0', '0', '536870912', '0'), ('33776', '0', '0', '0', '0', '536870912', '0'); diff --git a/sql/updates/0.7/4012_spell_proc_event.sql b/sql/updates/0.7/4012_spell_proc_event.sql index 6ec8225dd..4888f550e 100644 --- a/sql/updates/0.7/4012_spell_proc_event.sql +++ b/sql/updates/0.7/4012_spell_proc_event.sql @@ -1,4 +1,4 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 9799, 25988 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES ( 9799,0,0,0,0, 262144,0), (25988,0,0,0,0, 262144,0); diff --git a/sql/updates/0.7/4018_spell_proc_event.sql b/sql/updates/0.7/4018_spell_proc_event.sql index 2485ad241..3d854c4da 100644 --- a/sql/updates/0.7/4018_spell_proc_event.sql +++ b/sql/updates/0.7/4018_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 20210, 20212, 20213, 20214, 20215 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (20210,0,0,0,0,268435456,0), (20212,0,0,0,0,268435456,0), (20213,0,0,0,0,268435456,0), diff --git a/sql/updates/0.7/4019_spell_proc_event.sql b/sql/updates/0.7/4019_spell_proc_event.sql index b462a1c9f..3e52cff6a 100644 --- a/sql/updates/0.7/4019_spell_proc_event.sql +++ b/sql/updates/0.7/4019_spell_proc_event.sql @@ -1,9 +1,9 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 17106, 17107, 17108 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (17106,0,0,0,0,16384,0), (17107,0,0,0,0,16384,0), (17108,0,0,0,0,16384,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 34303 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (34303,0,0,0,0,128,0); diff --git a/sql/updates/0.7/4020_spell_proc_event.sql b/sql/updates/0.7/4020_spell_proc_event.sql index ce3239adc..3c067ed1a 100644 --- a/sql/updates/0.7/4020_spell_proc_event.sql +++ b/sql/updates/0.7/4020_spell_proc_event.sql @@ -1,14 +1,14 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 34082 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (34082,0,0,0,0,8192,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 24398, 33736 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (24398,0,0,0,0,1049602,0), (33736,0,0,0,0,1049602,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 324, 325, 905, 945, 8134, 10431, 10432, 25469, 25472 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (324,0,0,0,0,1049602,0), (325,0,0,0,0,1049602,0), (905,0,0,0,0,1049602,0), diff --git a/sql/updates/0.7/4021_spell_proc_event.sql b/sql/updates/0.7/4021_spell_proc_event.sql index c12c054b7..5bf3eb085 100644 --- a/sql/updates/0.7/4021_spell_proc_event.sql +++ b/sql/updates/0.7/4021_spell_proc_event.sql @@ -1,4 +1,4 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 25252, 30339 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (25252,0,0,0,0,1,0), (30339,0,0,0,0,1,0); diff --git a/sql/updates/0.7/4023_spell_proc_event.sql b/sql/updates/0.7/4023_spell_proc_event.sql index a56d1b9ab..a53ec4cbf 100644 --- a/sql/updates/0.7/4023_spell_proc_event.sql +++ b/sql/updates/0.7/4023_spell_proc_event.sql @@ -2,10 +2,10 @@ ALTER TABLE `spell_proc_event` CHANGE COLUMN `procFlags` `procFlags` int(11) unsigned NOT NULL default '0'; /* on attack miss,dodge,parry and block */ -UPDATE `spell_proc_event` +UPDATE `spell_proc_event` SET `procFlags` = 3288334336 WHERE `entry` = 26107; /* on attack dodge,parry */ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 37519 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (37519,0,0,0,0,67108864,0); diff --git a/sql/updates/0.7/4026_spell_proc_event.sql b/sql/updates/0.7/4026_spell_proc_event.sql index f4e4c3243..2a0e6b427 100644 --- a/sql/updates/0.7/4026_spell_proc_event.sql +++ b/sql/updates/0.7/4026_spell_proc_event.sql @@ -1,8 +1,8 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 20177, 20179, 20181, 20180, 20182, 20178 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (20177,0,0,0,0,1049602,0), (20179,0,0,0,0,1049602,0), (20180,0,0,0,0,1049602,0), (20181,0,0,0,0,1049602,0), (20182,0,0,0,0,1049602,0), -(20178,0,0,0,0,1,0); \ No newline at end of file +(20178,0,0,0,0,1,0); diff --git a/sql/updates/0.7/4028_spell_chain.sql b/sql/updates/0.7/4028_spell_chain.sql index 508bcb2aa..3b6f11937 100644 --- a/sql/updates/0.7/4028_spell_chain.sql +++ b/sql/updates/0.7/4028_spell_chain.sql @@ -2,12 +2,12 @@ DELETE FROM `spell_chain` WHERE `spell_id` IN (33142, 33145, 33146); INSERT INTO `spell_chain` VALUES (33142,0,33142,1), (33145,33142,33142,2), -(33146,33145,33142,3); +(33146,33145,33142,3); DELETE FROM `spell_chain` WHERE `spell_id` IN (34950, 34594); INSERT INTO `spell_chain` VALUES (34950,0,34950,1), -(34594,34950,34950,2); +(34594,34950,34950,2); DELETE FROM `spell_chain` WHERE `spell_id` IN (34506, 34507, 34508, 34838, 34839); INSERT INTO `spell_chain` VALUES @@ -15,4 +15,4 @@ INSERT INTO `spell_chain` VALUES (34507,34506,34506,2), (34508,34507,34506,3), (34838,34508,34506,4), -(34839,34838,34506,5); \ No newline at end of file +(34839,34838,34506,5); diff --git a/sql/updates/0.7/4028_spell_proc_event.sql b/sql/updates/0.7/4028_spell_proc_event.sql index daa9c491f..d652b149b 100644 --- a/sql/updates/0.7/4028_spell_proc_event.sql +++ b/sql/updates/0.7/4028_spell_proc_event.sql @@ -1,35 +1,35 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 15600 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (15600,0,0,0,0,1,3); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 33142, 33145, 33146 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (33142,0,0,0,0,8658944,0), (33145,0,0,0,0,8658944,0), (33146,0,0,0,0,8658944,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 27179 ); -INSERT INTO `spell_proc_event` VALUES -(27179,0,0,0,0,64,0); +INSERT INTO `spell_proc_event` VALUES +(27179,0,0,0,0,64,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 37443 ); -INSERT INTO `spell_proc_event` VALUES -(37443,0,0,0,0,16384,0); +INSERT INTO `spell_proc_event` VALUES +(37443,0,0,0,0,16384,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 34774 ); -INSERT INTO `spell_proc_event` VALUES -(34774,0,0,0,0,524289,0); +INSERT INTO `spell_proc_event` VALUES +(34774,0,0,0,0,524289,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 34950, 34954 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (34950,0,0,0,0,4194304,0), -(34954,0,0,0,0,4194304,0); +(34954,0,0,0,0,4194304,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 34506, 34507, 34508, 34838, 34839 ); -INSERT INTO `spell_proc_event` VALUES -(34506,0,0,0,0,524288,0), -(34507,0,0,0,0,524288,0), -(34508,0,0,0,0,524288,0), -(34838,0,0,0,0,524288,0), -(34839,0,0,0,0,524288,0); +INSERT INTO `spell_proc_event` VALUES +(34506,0,0,0,0,524288,0), +(34507,0,0,0,0,524288,0), +(34508,0,0,0,0,524288,0), +(34838,0,0,0,0,524288,0), +(34839,0,0,0,0,524288,0); diff --git a/sql/updates/0.7/4031_spell_chain.sql b/sql/updates/0.7/4031_spell_chain.sql index 14a4cf23e..15e5924df 100644 --- a/sql/updates/0.7/4031_spell_chain.sql +++ b/sql/updates/0.7/4031_spell_chain.sql @@ -1,10 +1,10 @@ DELETE FROM `spell_chain` WHERE `spell_id` IN (34594, 34954); INSERT INTO `spell_chain` VALUES -(34954,34950,34950,2); +(34954,34950,34950,2); DELETE FROM `spell_chain` WHERE `spell_id` IN ( 31833, 31835, 31836 ); INSERT INTO `spell_chain` VALUES (31833,0,31833,1), (31835,31833,31833,2), -(31836,31835,31833,3); +(31836,31835,31833,3); diff --git a/sql/updates/0.7/4031_spell_proc_event.sql b/sql/updates/0.7/4031_spell_proc_event.sql index 10e470e06..3911b2df8 100644 --- a/sql/updates/0.7/4031_spell_proc_event.sql +++ b/sql/updates/0.7/4031_spell_proc_event.sql @@ -14,32 +14,32 @@ ALTER TABLE `spell_proc_event` DELETE FROM `spell_proc_event` WHERE `entry` IN ( 31833, 31835, 31836 ); -INSERT INTO `spell_proc_event` VALUES -(31833,0,0,0,10,2147483648,16384,0), -(31835,0,0,0,10,2147483648,16384,0), -(31836,0,0,0,10,2147483648,16384,0); +INSERT INTO `spell_proc_event` VALUES +(31833,0,0,0,10,2147483648,16384,0), +(31835,0,0,0,10,2147483648,16384,0), +(31836,0,0,0,10,2147483648,16384,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 33648 ); -INSERT INTO `spell_proc_event` VALUES -(33648,0,0,0,0,0,4096,0); +INSERT INTO `spell_proc_event` VALUES +(33648,0,0,0,0,0,4096,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 34749 ); -INSERT INTO `spell_proc_event` VALUES -(34749,0,0,0,0,0,33554432,0); +INSERT INTO `spell_proc_event` VALUES +(34749,0,0,0,0,0,33554432,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 28789 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (28789,0,0,0,10,3221225472,16384,0); /* HL FoL */ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 26119 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (26119,0,0,0,10,2416967683,16384,0); /* LB CL and shaman shocks */ UPDATE `spell_proc_event` SET `spellFamilyName`=8 WHERE `entry` IN ( 14195,14194,14190,14193,14186 ); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 20501, 20500 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (20500,0,0,0,4,268435456,16384,0), /* BR */ (20501,0,0,0,4,268435456,16384,0); /* BR */ diff --git a/sql/updates/0.7/4035_spell_proc_event.sql b/sql/updates/0.7/4035_spell_proc_event.sql index b88a406bd..447e217a6 100644 --- a/sql/updates/0.7/4035_spell_proc_event.sql +++ b/sql/updates/0.7/4035_spell_proc_event.sql @@ -1,7 +1,7 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 21329, 27857 ); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 33191, 33192, 33193, 33194, 33195 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (33191,0,0,0,6,4398054932480,16384,0), (33192,0,0,0,6,4398054932480,16384,0), (33193,0,0,0,6,4398054932480,16384,0), diff --git a/sql/updates/0.7/4037_spell_proc_event.sql b/sql/updates/0.7/4037_spell_proc_event.sql index c977f74bc..c6e98323b 100644 --- a/sql/updates/0.7/4037_spell_proc_event.sql +++ b/sql/updates/0.7/4037_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 32385, 32387, 32392, 32393, 32394 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (32385,0,0,0,6,73014445058,16384,0), (32387,0,0,0,6,73014445058,16384,0), (32392,0,0,0,6,73014445058,16384,0), diff --git a/sql/updates/0.8/4058.sql b/sql/updates/0.8/4058.sql index e73798a03..3ed8b5a3f 100644 --- a/sql/updates/0.8/4058.sql +++ b/sql/updates/0.8/4058.sql @@ -1,4 +1,4 @@ ALTER TABLE `item_template` ADD COLUMN `ArmorDamageModifier` float NOT NULL default '0' AFTER `RequiredDisenchantSkill`; -ALTER TABLE `item_template` DROP COLUMN `name2`, DROP COLUMN `name3`, DROP COLUMN `name4`; +ALTER TABLE `item_template` DROP COLUMN `name2`, DROP COLUMN `name3`, DROP COLUMN `name4`; DELETE FROM `spell_affect` WHERE `entry` in(11370,12288,12288,12707,12707,14067,15019,16183,16823,16823,16825,16825,17325,18310,18311,18312,18313,29860,29861,29862,30440,30640,30649,33216,33217,34301); -DELETE FROM `spell_proc_event` WHERE `entry` in(114,637,646,648,1028,1034,1048,1707,2095,2852,4051,4161,4512,5575,5580,6134,6135,6592,6593,7601,7614,7615,7616,7618,9205,9793,9797,9801,9808,10095,10400,10727,10868,11830,11838,11961,12002,12038,12094,12546,12552,13078,13260,13320,13767,13987,14095,14150,14152,14154,15364,15365,15567,15568,15569,15644,15650,16140,16241,16242,16311,16312,16313,16423,16563,16925,16926,16955,16956,16957,16962,16963,16964,17000,17001,17079,17082,19195,19234,19235,19389,19390,19396,19640,20163,20169,20183,20204,20411,20412,20413,20414,20419,20421,20422,20423,20563,20809,20896,21387,21789,22283,22285,22286,22287,22288,22697,22716,23255,23301,23303,23305,23306,25592,25715,25727,25728,25729,25730,25731,25732,25733,25734,25745,25751,25752,25757,25926,25942,25945,26341,28130,28881,29526); \ No newline at end of file +DELETE FROM `spell_proc_event` WHERE `entry` in(114,637,646,648,1028,1034,1048,1707,2095,2852,4051,4161,4512,5575,5580,6134,6135,6592,6593,7601,7614,7615,7616,7618,9205,9793,9797,9801,9808,10095,10400,10727,10868,11830,11838,11961,12002,12038,12094,12546,12552,13078,13260,13320,13767,13987,14095,14150,14152,14154,15364,15365,15567,15568,15569,15644,15650,16140,16241,16242,16311,16312,16313,16423,16563,16925,16926,16955,16956,16957,16962,16963,16964,17000,17001,17079,17082,19195,19234,19235,19389,19390,19396,19640,20163,20169,20183,20204,20411,20412,20413,20414,20419,20421,20422,20423,20563,20809,20896,21387,21789,22283,22285,22286,22287,22288,22697,22716,23255,23301,23303,23305,23306,25592,25715,25727,25728,25729,25730,25731,25732,25733,25734,25745,25751,25752,25757,25926,25942,25945,26341,28130,28881,29526); diff --git a/sql/updates/0.8/4076_character_spell.sql b/sql/updates/0.8/4076_character_spell.sql index eb11e0291..653a2e9cc 100644 --- a/sql/updates/0.8/4076_character_spell.sql +++ b/sql/updates/0.8/4076_character_spell.sql @@ -2,5 +2,5 @@ DELETE FROM `character_spell` WHERE `spell` = '23301'; INSERT IGNORE INTO `character_spell` SELECT `character`.`guid`,`playercreateinfo_spell`.`spell` AS `spell`, '65535' AS `slot`,`playercreateinfo_spell`.`Active` AS `active` -FROM `character`,`playercreateinfo_spell` -WHERE `character`.`class`=`playercreateinfo_spell`.`class` AND `character`.`race`=`playercreateinfo_spell`.`race`; \ No newline at end of file +FROM `character`,`playercreateinfo_spell` +WHERE `character`.`class`=`playercreateinfo_spell`.`class` AND `character`.`race`=`playercreateinfo_spell`.`race`; diff --git a/sql/updates/0.8/4076_playercreateinfo_spell.sql b/sql/updates/0.8/4076_playercreateinfo_spell.sql index 168a7b580..e54ce5cb8 100644 --- a/sql/updates/0.8/4076_playercreateinfo_spell.sql +++ b/sql/updates/0.8/4076_playercreateinfo_spell.sql @@ -8,7 +8,7 @@ CREATE TABLE `playercreateinfo_spell` ( PRIMARY KEY (`race`,`class`,`Spell`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; -INSERT INTO `playercreateinfo_spell` VALUES +INSERT INTO `playercreateinfo_spell` VALUES (1,1,78,'Heroic Strike',1), (1,1,81,'Dodge',1), (1,1,107,'Block',1), @@ -2013,4 +2013,4 @@ INSERT INTO `playercreateinfo_spell` VALUES (11,8,28875,'Gemcutting',1), (11,8,28878,'Inspiring Presence',1), (11,8,28880,'Gift of the Naaru',1), -(11,8,29932,'Language Draenei',1); \ No newline at end of file +(11,8,29932,'Language Draenei',1); diff --git a/sql/updates/0.8/4081_command.sql b/sql/updates/0.8/4081_command.sql index b266bf326..d0fbf1b25 100644 --- a/sql/updates/0.8/4081_command.sql +++ b/sql/updates/0.8/4081_command.sql @@ -1,5 +1,5 @@ DELETE FROM `command` WHERE `name`='learn'; -INSERT INTO `command` VALUES +INSERT INTO `command` VALUES ('learn',3,'Syntax: .learn #parameter\r\n\r\nSelected character learn a spell of id #parameter.'), ('learn all',3,'Syntax: .learn all\r\n\r\nLearn all big set different spell maybe useful for Administaror.'), ('learn all_crafts',2,'Syntax: .learn crafts\r\n\r\nLearn all professions and recipes.'), diff --git a/sql/updates/0.8/4116_creature_template.sql b/sql/updates/0.8/4116_creature_template.sql index dfd710f85..0226519ab 100644 --- a/sql/updates/0.8/4116_creature_template.sql +++ b/sql/updates/0.8/4116_creature_template.sql @@ -1,2 +1,2 @@ ALTER TABLE `creature_template` -ADD COLUMN `RacialLeader` tinyint(1) unsigned NOT NULL default '0' AFTER `InhabitType`; +ADD COLUMN `RacialLeader` tinyint(1) unsigned NOT NULL default '0' AFTER `InhabitType`; diff --git a/sql/updates/0.8/4139_spell_proc_event.sql b/sql/updates/0.8/4139_spell_proc_event.sql index fd83802c0..4d762c01a 100644 --- a/sql/updates/0.8/4139_spell_proc_event.sql +++ b/sql/updates/0.8/4139_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 11255, 12598 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (11255,32,0,0,3,0,16384,0), (12598,32,0,0,3,0,16384,0); diff --git a/sql/updates/0.8/4154_spell_proc_event.sql b/sql/updates/0.8/4154_spell_proc_event.sql index dbb1e1e04..613e1fb16 100644 --- a/sql/updates/0.8/4154_spell_proc_event.sql +++ b/sql/updates/0.8/4154_spell_proc_event.sql @@ -14,7 +14,7 @@ CREATE TABLE `spell_proc_event` ( */ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 30675, 30678, 30679, 30680, 30681 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (30675,0,0,0,11,3,16384,0), (30678,0,0,0,11,3,16384,0), (30679,0,0,0,11,3,16384,0), diff --git a/sql/updates/0.8/4176_command.sql b/sql/updates/0.8/4176_command.sql index 8e88e84c7..7deff905a 100644 --- a/sql/updates/0.8/4176_command.sql +++ b/sql/updates/0.8/4176_command.sql @@ -1,3 +1,3 @@ -INSERT INTO `command` ( `name` , `security` , `help` ) VALUES +INSERT INTO `command` ( `name` , `security` , `help` ) VALUES ('gogrid', '3', 'Syntax: .gogrid #gridX #gridY [#mapId]\n\nTeleport the gm to center of grid with provided indexes at map #mapId (or current map if it not provided).'); diff --git a/sql/updates/0.8/4187_command.sql b/sql/updates/0.8/4187_command.sql index 75033a11c..87e01ad5e 100644 --- a/sql/updates/0.8/4187_command.sql +++ b/sql/updates/0.8/4187_command.sql @@ -1,5 +1,5 @@ UPDATE `command` SET `help` = 'Syntax: .learn all_myclass\r\n\r\nLearn all spells and talents available for his class.' WHERE `name` = 'learn all_myclass'; -INSERT INTO `command` ( `name` , `security` , `help` ) VALUES +INSERT INTO `command` ( `name` , `security` , `help` ) VALUES ('learn all_myspells',3,'Syntax: .learn all_myspells\r\n\r\nLearn all spells (except talents and spells with first rank learned as talent) available for his class.'), ('learn all_mytalents',3,'Syntax: .learn all_mytalents\r\n\r\nLearn all talents (and spells with first rank learned as talent) available for his class.'); diff --git a/sql/updates/0.8/4204_command.sql b/sql/updates/0.8/4204_command.sql index af8b8d373..0e8a9e3aa 100644 --- a/sql/updates/0.8/4204_command.sql +++ b/sql/updates/0.8/4204_command.sql @@ -1,4 +1,4 @@ DELETE FROM `command` WHERE `name` = 'setmovetype'; -INSERT INTO `command` ( `name` , `security` , `help` ) VALUES -('setmovetype',2,'Syntax: .setmovetype [#creature_guid] stay/random/way [NODEL]\r\n\r\nSet for creature pointed by #creature_guid (or selected if #creature_guid not provided) movement type and move it to respawn position (if creature alive). Any existing waypoints for creature will be removed from the database if you do not use NODEL. If the creature is dead then movement type will applied at creature respawn.\r\nMake sure you use NODEL, if you want to keep the waypoints.'); \ No newline at end of file +INSERT INTO `command` ( `name` , `security` , `help` ) VALUES +('setmovetype',2,'Syntax: .setmovetype [#creature_guid] stay/random/way [NODEL]\r\n\r\nSet for creature pointed by #creature_guid (or selected if #creature_guid not provided) movement type and move it to respawn position (if creature alive). Any existing waypoints for creature will be removed from the database if you do not use NODEL. If the creature is dead then movement type will applied at creature respawn.\r\nMake sure you use NODEL, if you want to keep the waypoints.'); diff --git a/sql/updates/0.8/4224_character_aura.sql b/sql/updates/0.8/4224_character_aura.sql index 3daac5256..49c5bf815 100644 --- a/sql/updates/0.8/4224_character_aura.sql +++ b/sql/updates/0.8/4224_character_aura.sql @@ -1,6 +1,6 @@ -ALTER TABLE `character_aura` +ALTER TABLE `character_aura` ADD `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier' AFTER `guid`, ADD `amount` int(11) NOT NULL default '0' AFTER `effect_index`; -UPDATE `character_aura` - SET `caster_guid` = `guid`; \ No newline at end of file +UPDATE `character_aura` + SET `caster_guid` = `guid`; diff --git a/sql/updates/0.8/4224_pet_aura.sql b/sql/updates/0.8/4224_pet_aura.sql index f185a65ce..22af4c3a4 100644 --- a/sql/updates/0.8/4224_pet_aura.sql +++ b/sql/updates/0.8/4224_pet_aura.sql @@ -1,6 +1,6 @@ -ALTER TABLE `pet_aura` +ALTER TABLE `pet_aura` ADD `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier' AFTER `guid`, ADD `amount` int(11) NOT NULL default '0' AFTER `effect_index`; -UPDATE `pet_aura` - SET `caster_guid` = `guid`; \ No newline at end of file +UPDATE `pet_aura` + SET `caster_guid` = `guid`; diff --git a/sql/updates/0.8/4235_spell_proc_event.sql b/sql/updates/0.8/4235_spell_proc_event.sql index f87f40b9b..0e0139e44 100644 --- a/sql/updates/0.8/4235_spell_proc_event.sql +++ b/sql/updates/0.8/4235_spell_proc_event.sql @@ -1,7 +1,7 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 37514 ); INSERT INTO `spell_proc_event` (`entry` ,`SchoolMask`,`Category`,`SkillID`,`SpellFamilyName`,`SpellFamilyMask`,`procFlags`,`ppmRate`) -VALUES ('37514', '0', '0', '0', '0', '0', '32', '0'); +VALUES ('37514', '0', '0', '0', '0', '0', '32', '0'); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 37197 ); INSERT INTO `spell_proc_event` (`entry` ,`SchoolMask`,`Category`,`SkillID`,`SpellFamilyName`,`SpellFamilyMask`,`procFlags`,`ppmRate`) -VALUES ('37197', '0', '0', '0', '0', '0', '16384', '0'); \ No newline at end of file +VALUES ('37197', '0', '0', '0', '0', '0', '16384', '0'); diff --git a/sql/updates/0.8/4239_spell_proc_event.sql b/sql/updates/0.8/4239_spell_proc_event.sql index 1e4852c33..4d6d2dae7 100644 --- a/sql/updates/0.8/4239_spell_proc_event.sql +++ b/sql/updates/0.8/4239_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (18137,19308,19309,19310,19311,19312,25477); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (18137,0,0,0,0,0,1049602,0), (19308,0,0,0,0,0,1049602,0), (19309,0,0,0,0,0,1049602,0), diff --git a/sql/updates/0.8/4242_spell_proc_event.sql b/sql/updates/0.8/4242_spell_proc_event.sql index 5e00ec3d3..c57e7fabb 100644 --- a/sql/updates/0.8/4242_spell_proc_event.sql +++ b/sql/updates/0.8/4242_spell_proc_event.sql @@ -1,34 +1,34 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (34948, 34949); -INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES +INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES (34948, 0, 0, 0, 0, 0, 4, 0), (34949, 0, 0, 0, 0, 0, 4, 0); DELETE FROM `spell_proc_event` WHERE `entry` IN (34497, 34498, 34499); -INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES +INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES (34497, 0, 0, 0, 0, 0, 4194304, 0), (34498, 0, 0, 0, 0, 0, 4194304, 0), (34499, 0, 0, 0, 0, 0, 4194304, 0); DELETE FROM `spell_proc_event` WHERE `entry` IN (34500, 34502, 34503); -INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES +INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES (34500, 0, 0, 0, 0, 0, 4194304, 0), (34502, 0, 0, 0, 0, 0, 4194304, 0), -(34503, 0, 0, 0, 0, 0, 4194304, 0); +(34503, 0, 0, 0, 0, 0, 4194304, 0); DELETE FROM `spell_proc_event` WHERE `entry` IN (30823); -INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES +INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES (30823, 0, 0, 0, 0, 0, 1, 0); DELETE FROM `spell_proc_event` WHERE `entry` IN (31244,31245); -INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES +INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES (31244, 0, 0, 0, 0, 0, 2147483648, 0), (31245, 0, 0, 0, 0, 0, 2147483648, 0); DELETE FROM `spell_proc_event` WHERE `entry` IN (34935,34938,34939); -INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES +INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES (34935, 0, 0, 0, 0, 0, 2, 0), -(34938, 0, 0, 0, 0, 0, 2, 0), -(34939, 0, 0, 0, 0, 0, 2, 0); +(34938, 0, 0, 0, 0, 0, 2, 0), +(34939, 0, 0, 0, 0, 0, 2, 0); diff --git a/sql/updates/0.8/4243_spell_affect.sql b/sql/updates/0.8/4243_spell_affect.sql index 61c0ff8e6..2655e545d 100644 --- a/sql/updates/0.8/4243_spell_affect.sql +++ b/sql/updates/0.8/4243_spell_affect.sql @@ -15,5 +15,5 @@ CREATE TABLE `spell_affect` ( */ DELETE FROM `spell_affect` WHERE `entry` IN (34936); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (34936,0,0,0,0,0,0,274877906945,1); diff --git a/sql/updates/0.8/4248_spell_proc_event.sql b/sql/updates/0.8/4248_spell_proc_event.sql index e8252cd26..a29e7e668 100644 --- a/sql/updates/0.8/4248_spell_proc_event.sql +++ b/sql/updates/0.8/4248_spell_proc_event.sql @@ -1,6 +1,6 @@ /* fix scholl mask */ DELETE FROM `spell_proc_event` WHERE `entry` IN (11103,11119,11120,11129,11180,11255,12357,12358,12359,12360,12598,12846,12847,12848,14892,15268,15286,15323,15324,15325,15326,15362,15363,16164,17793,17796,17801,17802,17803,18073,18096,19407,19412,19413,19414,19415,20234,20235,23551,23572,23721,28592,28593,28594,28595,28719,28809,28823,28847,28849,29074,29075,29076,34914,34916,34917); -INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES +INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES (11103,4,0,0,0,0,131072,0), (11119,4,0,0,0,0,65536,0), (11120,4,0,0,0,0,65536,0), @@ -59,12 +59,12 @@ INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamil (34917,32,0,0,0,0,32768,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (6866,18189); -INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES +INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES (6866,0,0,0,0,0,114,0), (18189,0,0,0,0,0,131072,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (37377,39437); -INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES +INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES (37377,32,0,0,0,0,16384,0), (39437,4,0,0,0,0,16384,0); diff --git a/sql/updates/0.8/4258_command.sql b/sql/updates/0.8/4258_command.sql index 0936503c3..9138a46e9 100644 --- a/sql/updates/0.8/4258_command.sql +++ b/sql/updates/0.8/4258_command.sql @@ -1,4 +1,4 @@ DELETE FROM `command` WHERE `name` = 'grouptele'; -INSERT INTO `command` ( `name` , `security` , `help` ) VALUES +INSERT INTO `command` ( `name` , `security` , `help` ) VALUES ('grouptele',1,'Syntax: .grouptele #location\r\n\r\nTeleport a selected player and his group members to a given location.'); diff --git a/sql/updates/0.8/4259_spell_proc_event.sql b/sql/updates/0.8/4259_spell_proc_event.sql index c5191b472..c0daf251e 100644 --- a/sql/updates/0.8/4259_spell_proc_event.sql +++ b/sql/updates/0.8/4259_spell_proc_event.sql @@ -1,19 +1,19 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (30299,30301,30302); -INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES +INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES (30299,36,0,0,0,0,1048576,0), (30301,36,0,0,0,0,1048576,0), -(30302,36,0,0,0,0,1048576,0); +(30302,36,0,0,0,0,1048576,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (27168); -INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES -(27168,0,0,0,0,0,64,0); +INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES +(27168,0,0,0,0,0,64,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (27169); -INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES -(27169,0,0,0,0,0,64,0); +INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES +(27169,0,0,0,0,0,64,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (33150,33154); -INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES +INSERT INTO `spell_proc_event` (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate) VALUES (33150,0,0,0,0,0,65536,0), -(33154,0,0,0,0,0,65536,0); +(33154,0,0,0,0,0,65536,0); diff --git a/sql/updates/0.8/4262_spell_proc_event.sql b/sql/updates/0.8/4262_spell_proc_event.sql index d67fefa7c..68fce14e1 100644 --- a/sql/updates/0.8/4262_spell_proc_event.sql +++ b/sql/updates/0.8/4262_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 33191, 33192, 33193, 33194, 33195 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (33191,0,0,0,6,4398054932480,131072,0), (33192,0,0,0,6,4398054932480,131072,0), (33193,0,0,0,6,4398054932480,131072,0), @@ -16,5 +16,5 @@ INSERT INTO `spell_proc_event` VALUES (32394,0,0,0,5,73014445058,131072,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 30482 ); -INSERT INTO `spell_proc_event` VALUES -(30482,0,0,0,0,0,32768,0); +INSERT INTO `spell_proc_event` VALUES +(30482,0,0,0,0,0,32768,0); diff --git a/sql/updates/0.8/4266_spell_proc_event.sql b/sql/updates/0.8/4266_spell_proc_event.sql index d53c9168b..075d43a9d 100644 --- a/sql/updates/0.8/4266_spell_proc_event.sql +++ b/sql/updates/0.8/4266_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 20210, 20212, 20213, 20214, 20215 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (20210,0,0,0,10,3223322624,268435456,0), (20212,0,0,0,10,3223322624,268435456,0), (20213,0,0,0,10,3223322624,268435456,0), diff --git a/sql/updates/0.8/4267_command.sql b/sql/updates/0.8/4267_command.sql index b702353e5..9d8c2ef43 100644 --- a/sql/updates/0.8/4267_command.sql +++ b/sql/updates/0.8/4267_command.sql @@ -1,6 +1,6 @@ DELETE FROM `command` WHERE `name` = 'namego'; DELETE FROM `command` WHERE `name` = 'groupgo'; -INSERT INTO `command` ( `name` , `security` , `help` ) VALUES +INSERT INTO `command` ( `name` , `security` , `help` ) VALUES ('namego',1,'Syntax: .namego $charactername\r\n\r\nTeleport the given character to you.'), ('groupgo',1,'Syntax: .groupgo $charactername\r\n\r\nTeleport the given character and his group to you.'); diff --git a/sql/updates/0.8/4270_spell_proc_event.sql b/sql/updates/0.8/4270_spell_proc_event.sql index 87d38c81a..e38ccf1a2 100644 --- a/sql/updates/0.8/4270_spell_proc_event.sql +++ b/sql/updates/0.8/4270_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 33191, 33192, 33193, 33194, 33195 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (33191,0,0,0,6,4398054932480,131072,0), (33192,0,0,0,6,4398054932480,131072,0), (33193,0,0,0,6,4398054932480,131072,0), diff --git a/sql/updates/0.8/4272_spell_proc_event.sql b/sql/updates/0.8/4272_spell_proc_event.sql index 1e57bfd02..76378b662 100644 --- a/sql/updates/0.8/4272_spell_proc_event.sql +++ b/sql/updates/0.8/4272_spell_proc_event.sql @@ -1,11 +1,11 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 16880 ); -INSERT INTO `spell_proc_event` VALUES -(16880,0,0,0,0,0,65536,0); +INSERT INTO `spell_proc_event` VALUES +(16880,0,0,0,0,0,65536,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 40475 ); -INSERT INTO `spell_proc_event` VALUES -(40475,0,0,0,0,0,524289,3); +INSERT INTO `spell_proc_event` VALUES +(40475,0,0,0,0,0,524289,3); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 41434 ); -INSERT INTO `spell_proc_event` VALUES -(41434,0,0,0,0,0,1,2); +INSERT INTO `spell_proc_event` VALUES +(41434,0,0,0,0,0,1,2); diff --git a/sql/updates/0.8/4288_spell_proc_event.sql b/sql/updates/0.8/4288_spell_proc_event.sql index 0e3e6f890..c0ceef4c8 100644 --- a/sql/updates/0.8/4288_spell_proc_event.sql +++ b/sql/updates/0.8/4288_spell_proc_event.sql @@ -1,47 +1,47 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 34320 ); -INSERT INTO `spell_proc_event` VALUES -(34320,0,0,0,0,0,65536,0); +INSERT INTO `spell_proc_event` VALUES +(34320,0,0,0,0,0,65536,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 38347 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (38347,0,0,0,0,0,65536,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 42083 ); -INSERT INTO `spell_proc_event` VALUES -(42083,0,0,0,0,0,4198400,0); +INSERT INTO `spell_proc_event` VALUES +(42083,0,0,0,0,0,4198400,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 33012 ); -INSERT INTO `spell_proc_event` VALUES -(33012,0,0,0,0,0,4,0); +INSERT INTO `spell_proc_event` VALUES +(33012,0,0,0,0,0,4,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 33014 ); -INSERT INTO `spell_proc_event` VALUES -(33014,0,0,0,0,0,4,0); +INSERT INTO `spell_proc_event` VALUES +(33014,0,0,0,0,0,4,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 31794 ); -INSERT INTO `spell_proc_event` VALUES -(31794,0,0,0,0,0,16384,0); +INSERT INTO `spell_proc_event` VALUES +(31794,0,0,0,0,0,16384,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 33089 ); -INSERT INTO `spell_proc_event` VALUES -(33089,0,0,0,0,0,64,0); +INSERT INTO `spell_proc_event` VALUES +(33089,0,0,0,0,0,64,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 34586 ); -INSERT INTO `spell_proc_event` VALUES -(34586,0,0,0,0,0,524289,0); +INSERT INTO `spell_proc_event` VALUES +(34586,0,0,0,0,0,524289,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 38332 ); -INSERT INTO `spell_proc_event` VALUES -(38332,0,0,0,0,0,134217728,0); +INSERT INTO `spell_proc_event` VALUES +(38332,0,0,0,0,0,134217728,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 37657 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (37657,0,0,0,0,0,65536,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 37195 ); -INSERT INTO `spell_proc_event` VALUES -(37195,0,0,0,10,8388608,16384,0); +INSERT INTO `spell_proc_event` VALUES +(37195,0,0,0,10,8388608,16384,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 37525 ); -INSERT INTO `spell_proc_event` VALUES -(37525,0,0,0,0,0,1049602,0); +INSERT INTO `spell_proc_event` VALUES +(37525,0,0,0,0,0,1049602,0); diff --git a/sql/updates/0.8/4294_spell_proc_event.sql b/sql/updates/0.8/4294_spell_proc_event.sql index bbf6f413c..48f6e027b 100644 --- a/sql/updates/0.8/4294_spell_proc_event.sql +++ b/sql/updates/0.8/4294_spell_proc_event.sql @@ -1,10 +1,10 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 11255, 12598 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (11255,0,0,0,3,16384,16384,0), -(12598,0,0,0,3,16384,16384,0); +(12598,0,0,0,3,16384,16384,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 17793, 17796, 17801, 17802, 17803 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (17793,0,0,593,5,1,65536,0), (17796,0,0,593,5,1,65536,0), (17801,0,0,593,5,1,65536,0), @@ -13,11 +13,11 @@ INSERT INTO `spell_proc_event` VALUES DELETE FROM `spell_proc_event` WHERE `entry` IN ( 18094, 18095 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (18094,0,0,0,5,10,131072,0), (18095,0,0,0,5,10,131072,0); DELETE FROM `spell_proc_event` WHERE `entry` IN ( 37443 ); -INSERT INTO `spell_proc_event` VALUES -(37443,0,0,0,0,0,65536,0); +INSERT INTO `spell_proc_event` VALUES +(37443,0,0,0,0,0,65536,0); diff --git a/sql/updates/0.8/4296_spell_proc_event.sql b/sql/updates/0.8/4296_spell_proc_event.sql index 902a3f3ca..1a0fec974 100644 --- a/sql/updates/0.8/4296_spell_proc_event.sql +++ b/sql/updates/0.8/4296_spell_proc_event.sql @@ -1,4 +1,4 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN ( 12958, 12311 ); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (12958,0,0,0,4,0x800,0x20000,0), (12311,0,0,0,4,0x800,0x20000,0); diff --git a/sql/updates/0.8/4317_spell_affect.sql b/sql/updates/0.8/4317_spell_affect.sql index 6239feca4..ebc0d62b5 100644 --- a/sql/updates/0.8/4317_spell_affect.sql +++ b/sql/updates/0.8/4317_spell_affect.sql @@ -1,4 +1,4 @@ DELETE FROM `spell_affect` WHERE `entry` IN (31670,31672); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (31670,0,0,0,0,0,0,0x500080000,0), (31672,0,0,0,0,0,0,0x500080000,0); diff --git a/sql/updates/0.8/4320_spell_affect.sql b/sql/updates/0.8/4320_spell_affect.sql index 0018a669d..171c54d0e 100644 --- a/sql/updates/0.8/4320_spell_affect.sql +++ b/sql/updates/0.8/4320_spell_affect.sql @@ -1,4 +1,4 @@ DELETE FROM `spell_affect` WHERE `entry` IN (31670,31672); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (31670,0,0,0,0,0,0,0x500000200,0), (31672,0,0,0,0,0,0,0x500000200,0); diff --git a/sql/updates/0.8/4331_spell_proc_event.sql b/sql/updates/0.8/4331_spell_proc_event.sql index cc91ec0c1..7099046df 100644 --- a/sql/updates/0.8/4331_spell_proc_event.sql +++ b/sql/updates/0.8/4331_spell_proc_event.sql @@ -1,11 +1,11 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (974,32593,32594); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (974,0,0,0,0,0,0x100402,0), (32593,0,0,0,0,0,0x100402,0), (32594,0,0,0,0,0,0x100402,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (2652,19261,19262,19264,19265,19266,25461); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (2652, 0,0,0,0,0,0x2,0), (19261,0,0,0,0,0,0x2,0), (19262,0,0,0,0,0,0x2,0), diff --git a/sql/updates/0.8/4397_command.sql b/sql/updates/0.8/4397_command.sql index ad554c527..bf0dd3645 100644 --- a/sql/updates/0.8/4397_command.sql +++ b/sql/updates/0.8/4397_command.sql @@ -8,7 +8,7 @@ update command set security=1 where name in ('gogrid', 'goxy') ; update command set security=2 where name in ('addgo', 'standstate', 'anim', 'morph'); delete from command where name in('textemote', 'taxicheat','gm','visible'); -INSERT INTO `command` VALUES +INSERT INTO `command` VALUES ('textemote',3,'Syntax: .text #emoteid\r\n\r\nMake the selected creature to do textemote with an emote of id #emoteid.'), ('taxicheat',1,'Syntax: .taxicheat on/off\r\n\r\nTemporary grant access or remove to all taxi routes for the selected character. If no character is selected, hide or reveal all routes to you.\r\n\r\nVisited taxi nodes sill accessible after removing access.'), ('visible',1,'Syntax: .visible on/off\r\n\r\nOutput current visibility state or make GM visible(on) and invisible(off) for other players.'), diff --git a/sql/updates/0.8/4407_command.sql b/sql/updates/0.8/4407_command.sql index 4bf2dfa18..3d5c14f47 100644 --- a/sql/updates/0.8/4407_command.sql +++ b/sql/updates/0.8/4407_command.sql @@ -2,10 +2,10 @@ delete from command where name in('honor', 'honor add', 'honor addkill', 'honor update `command` set `help` = 'Syntax: .modify $parameter $value\r\n\r\nModify the value of various parameters. Use .help modify $parameter to get help on specific parameter usage.\r\n\r\nSupported parameters include hp, mana, rage, energy, money, speed, swim, scale, bit, bwalk, aspeed, faction, spell, tp and honor.' where `name` = 'modify'; -INSERT INTO `command` ( `name` , `security` , `help` ) VALUES +INSERT INTO `command` ( `name` , `security` , `help` ) VALUES ('honor',2,'Syntax: .honor $command [$value] Various honor related commands. Use .help honor $command to get help on specific parameter usage. Supported parameters include add, addkill, flushkills, update'), ('honor add',2,'Syntax: .honor add $amount\r\n\r\nAdd a certain amount of honor (gained today) to the selected player.'), ('honor addkill',2,'Syntax: .honor addkikll\r\n\r\nAdd the targeted unit as one of your pvp kills today (you only get honor if it\'s a racial leader or a player)'), ('honor flushkills',2,'Syntax: .honor flushkills\r\n\r\nClear today\'s kills from the player limit storage (immediately) and from the DB (on next save) for the selected player.'), ('honor update',2,'Syntax: .honor update\r\n\r\nForce the yesterday\'s honor fields to be updated with today\'s data, which will get reset for the selected player.'), -('modify honor',1,'Syntax: .modify honor $amount\r\n\r\nAdded $amount to the selected player\'s total honor points.'); \ No newline at end of file +('modify honor',1,'Syntax: .modify honor $amount\r\n\r\nAdded $amount to the selected player\'s total honor points.'); diff --git a/sql/updates/0.8/4414_spell_proc_event.sql b/sql/updates/0.8/4414_spell_proc_event.sql index 3109b44c9..70419b32c 100644 --- a/sql/updates/0.8/4414_spell_proc_event.sql +++ b/sql/updates/0.8/4414_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (25441,27009,27124,27280,31896); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (25441,0,0,0,0,0,1048576,0), (27009,0,0,0,0,0,2,0), (27124,0,0,0,0,0,2,0), diff --git a/sql/updates/0.8/4420_spell_proc_event.sql b/sql/updates/0.8/4420_spell_proc_event.sql index c1ce08ceb..29b2714fc 100644 --- a/sql/updates/0.8/4420_spell_proc_event.sql +++ b/sql/updates/0.8/4420_spell_proc_event.sql @@ -1,10 +1,10 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (35100,35102,35103); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (35100,0,0,0,0,0,524288,0), (35102,0,0,0,0,0,524288,0), (35103,0,0,0,0,0,524288,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (33511); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (33511,0,0,0,0,0,131072,0); diff --git a/sql/updates/0.8/4425_character.sql b/sql/updates/0.8/4425_character.sql index 515ab151b..c6c877140 100644 --- a/sql/updates/0.8/4425_character.sql +++ b/sql/updates/0.8/4425_character.sql @@ -1,7 +1,7 @@ -ALTER TABLE `character` +ALTER TABLE `character` ADD COLUMN `at_login` int(11) unsigned NOT NULL default '0' AFTER `rename`; UPDATE `character` SET `at_login` = 1 WHERE `rename` <> 0; -ALTER TABLE `character` - DROP COLUMN `rename`; \ No newline at end of file +ALTER TABLE `character` + DROP COLUMN `rename`; diff --git a/sql/updates/0.8/4425_command.sql b/sql/updates/0.8/4425_command.sql index b4f61ccdd..77a3d8f88 100644 --- a/sql/updates/0.8/4425_command.sql +++ b/sql/updates/0.8/4425_command.sql @@ -1,5 +1,5 @@ delete from command where name in('goxyz','resetall','reset','reset honor','reset level','reset spells','reset stats','reset talents'); -INSERT INTO `command` VALUES +INSERT INTO `command` VALUES ('goxyz',1,'Syntax: .goxyz #x #y #z [#mapid]\r\n\r\nTeleport player to point with (#x,#y,#z) coordinates at ground(water) level at map #mapid or same map if #mapid not provided.'), ('resetall',3,'Syntax: .resetall spells\r\n\r\nSyntax: .resetall talents\r\n\r\nRequest reset spells or talents at next login each existed character.'), ('reset honor',3,'Syntax:\r\n.reset honor [Playername]\r\n Reset all honor data for targeted character.'), diff --git a/sql/updates/0.8/4430_spell_proc_event.sql b/sql/updates/0.8/4430_spell_proc_event.sql index 368feb1b7..138ea0954 100644 --- a/sql/updates/0.8/4430_spell_proc_event.sql +++ b/sql/updates/0.8/4430_spell_proc_event.sql @@ -1,4 +1,4 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (2565); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (2565,0,0,0,0,0,64,0); diff --git a/sql/updates/0.8/4432_item_template.sql b/sql/updates/0.8/4432_item_template.sql index efb28784f..abf28ce30 100644 --- a/sql/updates/0.8/4432_item_template.sql +++ b/sql/updates/0.8/4432_item_template.sql @@ -1,4 +1,4 @@ -ALTER TABLE `item_template` +ALTER TABLE `item_template` ADD COLUMN `spellppmRate_1` float NOT NULL default '0' AFTER `spellcharges_1`, ADD COLUMN `spellppmRate_2` float NOT NULL default '0' AFTER `spellcharges_2`, ADD COLUMN `spellppmRate_3` float NOT NULL default '0' AFTER `spellcharges_3`, diff --git a/sql/updates/0.8/4432_spell_proc_event.sql b/sql/updates/0.8/4432_spell_proc_event.sql index d84e417cf..14bf6a5a1 100644 --- a/sql/updates/0.8/4432_spell_proc_event.sql +++ b/sql/updates/0.8/4432_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (29801,30030,30033); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (29801,0,0,0,0,0,0,0), (30030,0,0,0,0,0,0,0), (30033,0,0,0,0,0,0,0); diff --git a/sql/updates/0.8/4434_spell_proc_event.sql b/sql/updates/0.8/4434_spell_proc_event.sql index 7d6d1f25b..8d0e3be46 100644 --- a/sql/updates/0.8/4434_spell_proc_event.sql +++ b/sql/updates/0.8/4434_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (29801,30030,30033); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (29801,0,0,0,0,0,1,0), (30030,0,0,0,0,0,1,0), (30033,0,0,0,0,0,1,0); diff --git a/sql/updates/0.8/4437_character_aura.sql b/sql/updates/0.8/4437_character_aura.sql index 65dabddc4..47908915d 100644 --- a/sql/updates/0.8/4437_character_aura.sql +++ b/sql/updates/0.8/4437_character_aura.sql @@ -1,6 +1,6 @@ -ALTER TABLE `character_aura` +ALTER TABLE `character_aura` ADD `maxduration` int(11) NOT NULL default '0' AFTER `amount`, ADD `remaincharges` int(11) NOT NULL default '0' AFTER `remaintime`; -UPDATE `character_aura` - SET `maxduration` = `remaintime`, `remaincharges` = -1; \ No newline at end of file +UPDATE `character_aura` + SET `maxduration` = `remaintime`, `remaincharges` = -1; diff --git a/sql/updates/0.8/4437_pet_aura.sql b/sql/updates/0.8/4437_pet_aura.sql index 885adc902..711ec6de0 100644 --- a/sql/updates/0.8/4437_pet_aura.sql +++ b/sql/updates/0.8/4437_pet_aura.sql @@ -1,6 +1,6 @@ -ALTER TABLE `pet_aura` +ALTER TABLE `pet_aura` ADD `maxduration` int(11) NOT NULL default '0' AFTER `amount`, ADD `remaincharges` int(11) NOT NULL default '0' AFTER `remaintime`; -UPDATE `pet_aura` +UPDATE `pet_aura` SET `maxduration` = `remaintime`, `remaincharges` = -1; diff --git a/sql/updates/0.8/4439_spell_proc_event.sql b/sql/updates/0.8/4439_spell_proc_event.sql index 00dde4fc8..89cedad4c 100644 --- a/sql/updates/0.8/4439_spell_proc_event.sql +++ b/sql/updates/0.8/4439_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (30293,30295,30296); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (30293, 0, 0, 0, 5, 824633721729, 131072, 0), (30295, 0, 0, 0, 5, 824633721729, 131072, 0), (30296, 0, 0, 0, 5, 824633721729, 131072, 0); diff --git a/sql/updates/0.8/4470_command.sql b/sql/updates/0.8/4470_command.sql index bbd104b73..f82eab706 100644 --- a/sql/updates/0.8/4470_command.sql +++ b/sql/updates/0.8/4470_command.sql @@ -1,4 +1,4 @@ delete from command where name in('movegens'); -INSERT INTO `command` VALUES +INSERT INTO `command` VALUES ('movegens',3,'Syntax: .movegens\r\n Show movement generators stack for selected creature or player.'); diff --git a/sql/updates/0.8/4480_spell_affect.sql b/sql/updates/0.8/4480_spell_affect.sql index 74fec20b9..27fb17191 100644 --- a/sql/updates/0.8/4480_spell_affect.sql +++ b/sql/updates/0.8/4480_spell_affect.sql @@ -1,6 +1,6 @@ -- Improved Fire Totems 1-2 Rangs DELETE FROM `spell_affect` WHERE `entry` IN (16544,16086); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (16544,0,0,0,0,0,0,32,0), (16544,1,0,0,0,0,0,32,0), (16544,2,0,0,0,0,0,1073741824,0), diff --git a/sql/updates/0.8/4481_spell_affect.sql b/sql/updates/0.8/4481_spell_affect.sql index cd1535c8e..08f631cbe 100644 --- a/sql/updates/0.8/4481_spell_affect.sql +++ b/sql/updates/0.8/4481_spell_affect.sql @@ -1,4 +1,4 @@ DELETE FROM `spell_affect` WHERE `entry` IN (16544,16086) AND `effectId`=2; -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (16544,2,0,0,0,0,0,4,0), (16086,2,0,0,0,0,0,4,0); diff --git a/sql/updates/0.8/4482_playercreateinfo.sql b/sql/updates/0.8/4482_playercreateinfo.sql index bd7c02fb5..4eede1e2c 100644 --- a/sql/updates/0.8/4482_playercreateinfo.sql +++ b/sql/updates/0.8/4482_playercreateinfo.sql @@ -5,7 +5,7 @@ DELETE FROM `character_spell` WHERE spell='20154'; -- re-add all default spells if not have with from spell list INSERT IGNORE INTO `character_spell` SELECT `character`.`guid`,`playercreateinfo_spell`.`spell` AS `spell`, '65535' AS `slot`,`playercreateinfo_spell`.`Active` AS `active` -FROM `character`,`playercreateinfo_spell` +FROM `character`,`playercreateinfo_spell` WHERE `character`.`class`=`playercreateinfo_spell`.`class` AND `character`.`race`=`playercreateinfo_spell`.`race`; UPDATE character_action SET action = '21084' WHERE action = '20154' AND `type` = 0; diff --git a/sql/updates/0.8/4482_spell_proc_event.sql b/sql/updates/0.8/4482_spell_proc_event.sql index bf1371d15..2d3e471a7 100644 --- a/sql/updates/0.8/4482_spell_proc_event.sql +++ b/sql/updates/0.8/4482_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (12284,12701,12702,12703,12704); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (12284,0,0,0,0,0,1,0.33252), (12701,0,0,0,0,0,1,0.66504), (12702,0,0,0,0,0,1,0.99756), diff --git a/sql/updates/0.8/4491_spell_affect.sql b/sql/updates/0.8/4491_spell_affect.sql index a6d530930..11b8434aa 100644 --- a/sql/updates/0.8/4491_spell_affect.sql +++ b/sql/updates/0.8/4491_spell_affect.sql @@ -1,9 +1,9 @@ DELETE FROM `spell_affect` WHERE `entry` IN (28176, 28189); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (28176,1,0,0,0,0,0,4295491592,0), (28189,1,0,0,0,0,0,4295491592,0); DELETE FROM `spell_affect` WHERE `entry` IN (11252, 12605); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (11252,0,0,0,0,0,0,32768,0), (12605,0,0,0,0,0,0,32768,0); diff --git a/sql/updates/0.8/4498_spell_proc_event.sql b/sql/updates/0.8/4498_spell_proc_event.sql index fa3fbada1..b029ee156 100644 --- a/sql/updates/0.8/4498_spell_proc_event.sql +++ b/sql/updates/0.8/4498_spell_proc_event.sql @@ -1,8 +1,8 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (40971); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (40971,0,0,0,0,0,134217728,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (38427,40407); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (38427,0,0,0,0,0,1,0), -(40407,0,0,0,0,0,1026,6); \ No newline at end of file +(40407,0,0,0,0,0,1026,6); diff --git a/sql/updates/0.8/4499_spell_script_target.sql b/sql/updates/0.8/4499_spell_script_target.sql index 35926d83d..8a7e35357 100644 --- a/sql/updates/0.8/4499_spell_script_target.sql +++ b/sql/updates/0.8/4499_spell_script_target.sql @@ -1,3 +1,3 @@ -ALTER TABLE `spell_script_target` +ALTER TABLE `spell_script_target` CHANGE COLUMN `targetEntry` `targetEntry` int(11) unsigned default '0', ADD UNIQUE KEY `entry_type_target` (`entry`,`type`,`targetEntry`); diff --git a/sql/updates/0.8/4501.sql b/sql/updates/0.8/4501.sql index e8e9cc733..7380a0ff7 100644 --- a/sql/updates/0.8/4501.sql +++ b/sql/updates/0.8/4501.sql @@ -3,7 +3,7 @@ ALTER TABLE `creature` ADD INDEX `index_id` (id); -- Add suport to creature table for equipment and model overwritting -ALTER TABLE `creature` +ALTER TABLE `creature` ADD COLUMN `equipment_id` int(11) NOT NULL default '0' AFTER `map`, ADD COLUMN `modelid` int(11) unsigned default '0' AFTER `map`; @@ -73,7 +73,7 @@ CREATE TABLE `creature_equip_template` ( ) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='Creature System (Equipment)'; -- Fill the creature_equip_template table with values from creature_template -INSERT INTO `creature_equip_template` (`equipmodel1`,`equipmodel2`,`equipmodel3`,`equipinfo1`,`equipinfo2`,`equipinfo3`,`equipslot1`,`equipslot2`,`equipslot3`) +INSERT INTO `creature_equip_template` (`equipmodel1`,`equipmodel2`,`equipmodel3`,`equipinfo1`,`equipinfo2`,`equipinfo3`,`equipslot1`,`equipslot2`,`equipslot3`) (SELECT DISTINCT `equipmodel1`,`equipmodel2`,`equipmodel3`,`equipinfo1`,`equipinfo2`,`equipinfo3`,`equipslot1`,`equipslot2`,`equipslot3` FROM `creature_template` WHERE `equipmodel1`<>0 OR `equipmodel2`<>0 OR `equipmodel3`<>0); -- Then add to creature_template the id generated for equipements diff --git a/sql/updates/0.8/4503_spell_proc_event.sql b/sql/updates/0.8/4503_spell_proc_event.sql index bdd37b945..a052ed0aa 100644 --- a/sql/updates/0.8/4503_spell_proc_event.sql +++ b/sql/updates/0.8/4503_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (5728,6397,6398,6399,10425,10426,25513); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (5728,0,0,0,0,0,1049602,0), (6397,0,0,0,0,0,1049602,0), (6398,0,0,0,0,0,1049602,0), @@ -9,41 +9,41 @@ INSERT INTO `spell_proc_event` VALUES (25513,0,0,0,0,0,1049602,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (31895); -INSERT INTO `spell_proc_event` VALUES -(31895,0,0,0,0,0,1,2); +INSERT INTO `spell_proc_event` VALUES +(31895,0,0,0,0,0,1,2); DELETE FROM `spell_proc_event` WHERE `entry` IN (37705); -INSERT INTO `spell_proc_event` VALUES -(37705,0,0,0,0,0,134217728,0); +INSERT INTO `spell_proc_event` VALUES +(37705,0,0,0,0,0,134217728,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (37247); -INSERT INTO `spell_proc_event` VALUES -(37247,8,0,0,0,0,16384,0); +INSERT INTO `spell_proc_event` VALUES +(37247,8,0,0,0,0,16384,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (40444); -INSERT INTO `spell_proc_event` VALUES -(40444,0,0,0,0,0,64,0); +INSERT INTO `spell_proc_event` VALUES +(40444,0,0,0,0,0,64,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (40482); -INSERT INTO `spell_proc_event` VALUES -(40482,0,0,0,0,0,65536,0); +INSERT INTO `spell_proc_event` VALUES +(40482,0,0,0,0,0,65536,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (33297); -INSERT INTO `spell_proc_event` VALUES -(33297,0,0,0,0,0,131072,0); +INSERT INTO `spell_proc_event` VALUES +(33297,0,0,0,0,0,131072,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (33953); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (33953,0,0,0,0,0,134217728,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (38350); -INSERT INTO `spell_proc_event` VALUES -(38350,0,0,0,0,0,4198400,0); +INSERT INTO `spell_proc_event` VALUES +(38350,0,0,0,0,0,4198400,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (33510); -INSERT INTO `spell_proc_event` VALUES -(33510,0,0,0,0,0,524289,5); +INSERT INTO `spell_proc_event` VALUES +(33510,0,0,0,0,0,524289,5); DELETE FROM `spell_proc_event` WHERE `entry` IN (32215); -INSERT INTO `spell_proc_event` VALUES -(32215,0,0,0,0,0,4,0); +INSERT INTO `spell_proc_event` VALUES +(32215,0,0,0,0,0,4,0); diff --git a/sql/updates/0.8/4504_spell_affect.sql b/sql/updates/0.8/4504_spell_affect.sql index a9eeb98c8..c3446aff8 100644 --- a/sql/updates/0.8/4504_spell_affect.sql +++ b/sql/updates/0.8/4504_spell_affect.sql @@ -1,17 +1,17 @@ DELETE FROM `spell_affect` WHERE `entry` IN (20216) AND `effectId`=0; -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (20216,0,0,0,0,0,0,3223322624,0); DELETE FROM `spell_affect` WHERE `entry` IN (31842) AND `effectId`=0; -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (31842,0,0,126,0,0,0,0,0); DELETE FROM `spell_affect` WHERE `entry` IN (31834) AND `effectId`=0; -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (31834,0,0,0,0,0,0,2147483648,0); DELETE FROM `spell_affect` WHERE `entry` IN (20224,20225,20330,20331,20332) AND `effectId`=0; -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (20224,0,0,0,0,0,0,134218752,0), (20225,0,0,0,0,0,0,134218752,0), (20330,0,0,0,0,0,0,134218752,0), @@ -19,6 +19,6 @@ INSERT INTO `spell_affect` VALUES (20332,0,0,0,0,0,0,134218752,0); DELETE FROM `spell_affect` WHERE `entry` IN (20244,20245) AND `effectId`=0; -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (20244,0,0,0,0,0,0,65536,0), (20245,0,0,0,0,0,0,65536,0); diff --git a/sql/updates/0.8/4504_spell_proc_event.sql b/sql/updates/0.8/4504_spell_proc_event.sql index d329b5b5c..aff33cc37 100644 --- a/sql/updates/0.8/4504_spell_proc_event.sql +++ b/sql/updates/0.8/4504_spell_proc_event.sql @@ -1,3 +1,3 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (31801); -INSERT INTO `spell_proc_event` VALUES -(31801,0,0,0,0,0,1,20); +INSERT INTO `spell_proc_event` VALUES +(31801,0,0,0,0,0,1,20); diff --git a/sql/updates/0.8/4506_spell_learn_spell.sql b/sql/updates/0.8/4506_spell_learn_spell.sql index 96c0c7226..0bccbbb78 100644 --- a/sql/updates/0.8/4506_spell_learn_spell.sql +++ b/sql/updates/0.8/4506_spell_learn_spell.sql @@ -1,4 +1,4 @@ -INSERT IGNORE INTO `spell_learn_spell` VALUES +INSERT IGNORE INTO `spell_learn_spell` VALUES (71,355,0), (71,7386,0), (264,3018,0), diff --git a/sql/updates/0.8/4507_quest_template.sql b/sql/updates/0.8/4507_quest_template.sql index 2a39ae65b..525d2c37f 100644 --- a/sql/updates/0.8/4507_quest_template.sql +++ b/sql/updates/0.8/4507_quest_template.sql @@ -1,2 +1,2 @@ -ALTER TABLE `quest_template` +ALTER TABLE `quest_template` CHANGE `ExclusiveGroup` `ExclusiveGroup` int(11) NOT NULL default '0'; diff --git a/sql/updates/0.8/4510_spell_proc_event.sql b/sql/updates/0.8/4510_spell_proc_event.sql index 5d676b9b1..7660cf442 100644 --- a/sql/updates/0.8/4510_spell_proc_event.sql +++ b/sql/updates/0.8/4510_spell_proc_event.sql @@ -1,9 +1,9 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (32837); -INSERT INTO `spell_proc_event` VALUES -(32837,0,0,0,0,0,16384,0); +INSERT INTO `spell_proc_event` VALUES +(32837,0,0,0,0,0,16384,0); DELETE FROM `spell_proc_event` WHERE `entry` IN (588,7128,602,1006,10951,10952,25431); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (588,0,0,0,0,0,1026,0), (602,0,0,0,0,0,1026,0), (1006,0,0,0,0,0,1026,0), diff --git a/sql/updates/0.8/4513_spell_proc_event.sql b/sql/updates/0.8/4513_spell_proc_event.sql index 2e3569ce8..6e9a46f13 100644 --- a/sql/updates/0.8/4513_spell_proc_event.sql +++ b/sql/updates/0.8/4513_spell_proc_event.sql @@ -1,3 +1,3 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (30482); -INSERT INTO `spell_proc_event` VALUES -(30482,0,0,0,0,0,2,0); \ No newline at end of file +INSERT INTO `spell_proc_event` VALUES +(30482,0,0,0,0,0,2,0); diff --git a/sql/updates/0.8/4517_spell_affect.sql b/sql/updates/0.8/4517_spell_affect.sql index 4f4ea253c..2f204412b 100644 --- a/sql/updates/0.8/4517_spell_affect.sql +++ b/sql/updates/0.8/4517_spell_affect.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_affect` WHERE `entry` IN (41021,41026); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (41021,0,0,0,0,0,0,274877906944,0), (41021,1,0,0,0,0,0,274877906944,0), (41026,0,0,0,0,0,0,274877906944,0), diff --git a/sql/updates/0.8/4524_spell_proc_event.sql b/sql/updates/0.8/4524_spell_proc_event.sql index 013a117d1..a6f42046f 100644 --- a/sql/updates/0.8/4524_spell_proc_event.sql +++ b/sql/updates/0.8/4524_spell_proc_event.sql @@ -1,3 +1,3 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (32642); -INSERT INTO `spell_proc_event` VALUES -(32642,0,0,0,0,0,64,0); +INSERT INTO `spell_proc_event` VALUES +(32642,0,0,0,0,0,64,0); diff --git a/sql/updates/0.8/4537_player_levelstats.sql b/sql/updates/0.8/4537_player_levelstats.sql index cf5030dd5..6c1fa4122 100644 --- a/sql/updates/0.8/4537_player_levelstats.sql +++ b/sql/updates/0.8/4537_player_levelstats.sql @@ -23,7 +23,7 @@ CREATE TABLE `player_levelstats` ( LOCK TABLES `player_levelstats` WRITE; /*!40000 ALTER TABLE `player_levelstats` DISABLE KEYS */; -INSERT INTO `player_levelstats` VALUES +INSERT INTO `player_levelstats` VALUES (1,1,1,60,0,23,20,22,20,20), (1,1,2,79,0,24,21,23,20,20), (1,1,3,98,0,26,22,24,20,21), diff --git a/sql/updates/0.8/4544_creature_addon.sql b/sql/updates/0.8/4544_creature_addon.sql index 182b9362c..f9faa130a 100644 --- a/sql/updates/0.8/4544_creature_addon.sql +++ b/sql/updates/0.8/4544_creature_addon.sql @@ -1,2 +1,2 @@ -ALTER TABLE `creature_addon` +ALTER TABLE `creature_addon` DROP COLUMN `RefId`; diff --git a/sql/updates/0.8/4547_spell_affect.sql b/sql/updates/0.8/4547_spell_affect.sql index 5d4b92146..bd93c1e08 100644 --- a/sql/updates/0.8/4547_spell_affect.sql +++ b/sql/updates/0.8/4547_spell_affect.sql @@ -1,4 +1,4 @@ DELETE FROM `spell_affect` WHERE `entry` IN (23565, 31821); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (31821,0,0,0,0,0,0,67240008,0), (23565,0,0,0,0,0,0,67240008,0); diff --git a/sql/updates/0.8/4547_spell_proc_event.sql b/sql/updates/0.8/4547_spell_proc_event.sql index 2acc33ca5..67b9840f0 100644 --- a/sql/updates/0.8/4547_spell_proc_event.sql +++ b/sql/updates/0.8/4547_spell_proc_event.sql @@ -1,5 +1,5 @@ DELETE FROM `spell_proc_event` WHERE `entry` IN (20127,20130,20135,20136,20137); -INSERT INTO `spell_proc_event` VALUES +INSERT INTO `spell_proc_event` VALUES (20127,0,0,0,0,0,1026,0), (20130,0,0,0,0,0,1026,0), (20135,0,0,0,0,0,1026,0), diff --git a/sql/updates/0.8/4551_item_template.sql b/sql/updates/0.8/4551_item_template.sql index 02f6f4342..342a7f641 100644 --- a/sql/updates/0.8/4551_item_template.sql +++ b/sql/updates/0.8/4551_item_template.sql @@ -1,2 +1,2 @@ -ALTER TABLE `item_template` +ALTER TABLE `item_template` ADD COLUMN `FoodType` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `DisenchantID`; diff --git a/sql/updates/0.8/4556_realmlist.sql b/sql/updates/0.8/4556_realmlist.sql index 09a9477ce..6278b3a4b 100644 --- a/sql/updates/0.8/4556_realmlist.sql +++ b/sql/updates/0.8/4556_realmlist.sql @@ -1,3 +1,3 @@ -ALTER TABLE realmd.realmlist +ALTER TABLE realmd.realmlist ALTER COLUMN `color` SET DEFAULT '2', ENGINE = MyISAM; diff --git a/sql/updates/0.8/4561_command.sql b/sql/updates/0.8/4561_command.sql index d9683a4fe..d59a9acf9 100644 --- a/sql/updates/0.8/4561_command.sql +++ b/sql/updates/0.8/4561_command.sql @@ -1,4 +1,4 @@ DELETE FROM command WHERE name IN ('plimit'); -INSERT INTO `command` VALUES +INSERT INTO `command` VALUES ('plimit',3,'Syntax: .plimit [#num|-1|-2|-3|default|player|moderator|gamemaster|administrator]\r\n Without arg show current player amount and security level limitations for login to server, with arg set player linit ($num > 0) or securiti limitation ($num < 0 or security leme name. With `default` arg set default for server player limit (100)'); diff --git a/sql/updates/0.8/4582_spell_affect.sql b/sql/updates/0.8/4582_spell_affect.sql index 1caa6788a..4e8ee00ab 100644 --- a/sql/updates/0.8/4582_spell_affect.sql +++ b/sql/updates/0.8/4582_spell_affect.sql @@ -3,7 +3,7 @@ DELETE FROM `spell_affect` WHERE `entry` IN (28787); -- Correct data DELETE FROM `spell_affect` WHERE `entry` IN (37878,37879,37880); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (37878, 0, 0, 0x00, 0, 0, 0, 0x00000010000000F0, 0), (37879, 0, 0, 0x00, 0, 0, 0, 0x00000000C0006000, 0), (37880, 0, 0, 0x00, 0, 0, 0, 0x0000000411041E40, 0); diff --git a/sql/updates/0.8/4584_character_inventory.sql b/sql/updates/0.8/4584_character_inventory.sql index 5fa8cf13d..fe3fa0007 100644 --- a/sql/updates/0.8/4584_character_inventory.sql +++ b/sql/updates/0.8/4584_character_inventory.sql @@ -1,2 +1,2 @@ -ALTER TABLE `character_inventory` +ALTER TABLE `character_inventory` ADD KEY `idx_guid` ( `guid` ); diff --git a/sql/updates/0.8/4585_item_instance.sql b/sql/updates/0.8/4585_item_instance.sql index a9e3bbbf2..470439975 100644 --- a/sql/updates/0.8/4585_item_instance.sql +++ b/sql/updates/0.8/4585_item_instance.sql @@ -1,2 +1,2 @@ -ALTER TABLE `item_instance` +ALTER TABLE `item_instance` ADD KEY `idx_owner_guid` ( `owner_guid`); diff --git a/sql/updates/0.8/4594_item_template.sql b/sql/updates/0.8/4594_item_template.sql index f9b8e3df7..a1bd200ae 100644 --- a/sql/updates/0.8/4594_item_template.sql +++ b/sql/updates/0.8/4594_item_template.sql @@ -1,3 +1,3 @@ -ALTER TABLE `item_template` +ALTER TABLE `item_template` ADD COLUMN `minMoneyLoot` int(11) unsigned NOT NULL default '0' AFTER `FoodType`, ADD COLUMN `maxMoneyLoot` int(11) unsigned NOT NULL default '0' AFTER `minMoneyLoot`; diff --git a/sql/updates/0.8/4595_command.sql b/sql/updates/0.8/4595_command.sql index 50eac0de3..e55d12c13 100644 --- a/sql/updates/0.8/4595_command.sql +++ b/sql/updates/0.8/4595_command.sql @@ -1,5 +1,5 @@ DELETE FROM command WHERE name IN ('cast','castback'); -INSERT INTO `command` VALUES +INSERT INTO `command` VALUES ('cast',3,'Syntax: .cast #spellid\r\n Cast #spellid to selected target. If no target selected cast to self.'), ('castback',3,'Syntax: .castback #spellid\r\n Selected target cast #spellid to your character.'); diff --git a/sql/updates/0.8/4595_spell_affect.sql b/sql/updates/0.8/4595_spell_affect.sql index ba9274597..96258f183 100644 --- a/sql/updates/0.8/4595_spell_affect.sql +++ b/sql/updates/0.8/4595_spell_affect.sql @@ -1,20 +1,20 @@ DELETE FROM `spell_affect` WHERE `entry` IN (21873,38314); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (21873,0,0,0,0,0,0,0x0000E000E2000000,0), -- ?? rare druid armor (38314,0,0,0,0,0,0,0x0000E000E2000000,0); -- for item 31334 DELETE FROM `spell_affect` WHERE `entry` IN (16870); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (16870,0,0,0,0,0,0,0x001007F100E3FEFF,0); DELETE FROM `spell_affect` WHERE `entry` IN (16947,16948,16949); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (16947,1,0,0,0,0,0,0x0000000002000000,0), (16948,1,0,0,0,0,0,0x0000000002000000,0), (16949,1,0,0,0,0,0,0x0000000002000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (17104,24943,24944,24945,24946); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (17104,0,0,0,0,0,0,0x00000010000000F0,0), (17104,1,0,0,0,0,0,0x00000010000000F0,0), (24943,0,0,0,0,0,0,0x00000010000000F0,0), @@ -27,72 +27,72 @@ INSERT INTO `spell_affect` VALUES (24946,1,0,0,0,0,0,0x00000010000000F0,0); DELETE FROM `spell_affect` WHERE `entry` IN (37721); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (37721,0,0,0,0,0,0,0x00000010000000F0,1); -- not used in 2.3.0 DELETE FROM `spell_affect` WHERE `entry` IN (42367); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (42367,0,0,0,0,0,0,0x0000001000000000,0); -- not used in 2.3.0 (?) DELETE FROM `spell_affect` WHERE `entry` IN (38447); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (38447,0,0,0,0,0,0,0x0000040000000000,0), (38447,1,0,0,0,0,0,0x0000004000000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (37292); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (37292,0,0,0,0,0,0,0x0008000000000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (39926); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (39926,1,0,0,0,0,0,0x0000080000000000,0), (39926,2,0,0,0,0,0,0x0000200000000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (38416); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (38416,0,0,0,0,0,0,0x0010000000800000,0), (38416,1,0,0,0,0,0,0x0010000000800000,0); DELETE FROM `spell_affect` WHERE `entry` IN (37736); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (37736,0,0,0,0,0,0,0x0000040000000000,0), (37736,1,0,0,0,0,0,0x0000004000000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (28855); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (28855,0,0,0,0,0,0,0x0000000000000800,0), (28855,1,0,0,0,0,0,0x0010000000000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (23724); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (23724,0,0,0,0,0,0,0x0000E000E2000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (16833,16834,16835); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (16833,0,0,0,0,0,0,0x0000E000E2000000,0), (16834,0,0,0,0,0,0,0x0000E000E2000000,0), (16835,0,0,0,0,0,0,0x0000E000E2000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (16886); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (16886,0,0,0,0,0,0,0x0000000001000265,1); DELETE FROM `spell_affect` WHERE `entry` IN (16819,16820); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (16819,0,0,0,0,0,0,0x0002122000600707,0), (16820,0,0,0,0,0,0,0x0002122000600707,0); DELETE FROM `spell_affect` WHERE `entry` IN (17116,38466); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (17116,0,0,0,0,0,0,0x0002002010000261,0), (38466,0,0,0,0,0,0,0x0008000000000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (37287); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (37287,0,0,0,0,0,0,0x0000E000E2000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (17118,17119,17120,17121,17122); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (17118,0,0,0,0,0,0,0x001005D000E193F7,0), (17118,1,0,0,0,0,0,0x0004103000340750,0), (17119,0,0,0,0,0,0,0x001005D000E193F7,0), diff --git a/sql/updates/0.8/4599_command.sql b/sql/updates/0.8/4599_command.sql index 50eac0de3..e55d12c13 100644 --- a/sql/updates/0.8/4599_command.sql +++ b/sql/updates/0.8/4599_command.sql @@ -1,5 +1,5 @@ DELETE FROM command WHERE name IN ('cast','castback'); -INSERT INTO `command` VALUES +INSERT INTO `command` VALUES ('cast',3,'Syntax: .cast #spellid\r\n Cast #spellid to selected target. If no target selected cast to self.'), ('castback',3,'Syntax: .castback #spellid\r\n Selected target cast #spellid to your character.'); diff --git a/sql/updates/0.8/4603_spell_affect.sql b/sql/updates/0.8/4603_spell_affect.sql index 4d3c72283..419c18c9f 100644 --- a/sql/updates/0.8/4603_spell_affect.sql +++ b/sql/updates/0.8/4603_spell_affect.sql @@ -1,27 +1,27 @@ DELETE FROM `spell_affect` WHERE `entry` IN (34453,34454); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (34453,1,0,0,0,0,0,0x0000000400000000,0), (34454,1,0,0,0,0,0,0x0000000400000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (24348); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (24348,0,0,0,0,0,0,0x0000000000200000,0); DELETE FROM `spell_affect` WHERE `entry` IN (34462,34464,34465); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (34462,1,0,0,0,0,0,0x0000000800000000,0), (34464,1,0,0,0,0,0,0x0000000800000000,0), (34465,1,0,0,0,0,0,0x0000000800000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (19239,19245); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (19239,0,0,0,0,0,0,0x0000000000000018,0), (19239,1,0,0,0,0,0,0x0000000000000004,0), (19245,0,0,0,0,0,0,0x0000000000000018,0), (19245,1,0,0,0,0,0,0x0000000000000004,0); DELETE FROM `spell_affect` WHERE `entry` IN (19416,19417,19418,19419,19420); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (19416,0,0,0,0,0,0,0x000010810007DA00,0), (19417,0,0,0,0,0,0,0x000010810007DA00,0), (19418,0,0,0,0,0,0,0x000010810007DA00,0), @@ -29,7 +29,7 @@ INSERT INTO `spell_affect` VALUES (19420,0,0,0,0,0,0,0x000010810007DA00,0); DELETE FROM `spell_affect` WHERE `entry` IN (34455,34459,34460); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (34455,0,0,0,0,0,0,0x0000002000000000,0), (34455,1,0,0,0,0,0,0x0000004000000000,0), (34459,0,0,0,0,0,0,0x0000002000000000,0), @@ -38,17 +38,17 @@ INSERT INTO `spell_affect` VALUES (34460,1,0,0,0,0,0,0x0000004000000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (35029,35030); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (35029,1,0,0,0,0,0,0x0000080000000000,0), (35030,1,0,0,0,0,0,0x0000080000000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (19572,19573); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (19572,1,0,0,0,0,0,0x0000000000800000,0), (19573,1,0,0,0,0,0,0x0000000000800000,0); DELETE FROM `spell_affect` WHERE `entry` IN (19464,19465,19466,19467,19468); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (19464,0,0,0,0,0,0,0x0000010000004000,0), (19464,1,0,0,0,0,0,0x0000008000000000,0), (19464,2,0,0,0,0,0,0x000011800000C000,0), @@ -66,7 +66,7 @@ INSERT INTO `spell_affect` VALUES (19468,2,0,0,0,0,0,0x000011800000C000,0); DELETE FROM `spell_affect` WHERE `entry` IN (19485,19487,19488,19489,19490); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (19485,0,0,0,0,0,0,0x0000000000000001,0), (19487,0,0,0,0,0,0,0x0000000000000001,0), (19488,0,0,0,0,0,0,0x0000000000000001,0), @@ -74,10 +74,10 @@ INSERT INTO `spell_affect` VALUES (19490,0,0,0,0,0,0,0x0000000000000001,0); DELETE FROM `spell_affect` WHERE `entry` IN (32203,41660); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (32203,1,0,0,0,0,0,0x0001100001C22000,0), (41660,1,0,0,0,0,0,0x0001100001C22000,0); DELETE FROM `spell_affect` WHERE `entry` IN (37508); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (37508,0,0,0,0,0,0,0x0000000100061800,0); diff --git a/sql/updates/0.8/4605_creature_addon.sql b/sql/updates/0.8/4605_creature_addon.sql index 5f1bf1a1f..5e0d4dbc7 100644 --- a/sql/updates/0.8/4605_creature_addon.sql +++ b/sql/updates/0.8/4605_creature_addon.sql @@ -1,3 +1,3 @@ -ALTER TABLE `creature_addon` +ALTER TABLE `creature_addon` DROP KEY `guid`, ADD PRIMARY KEY (`guid`); diff --git a/sql/updates/0.8/4605_creature_template_addon.sql b/sql/updates/0.8/4605_creature_template_addon.sql index d49df0793..cb6bb73dc 100644 --- a/sql/updates/0.8/4605_creature_template_addon.sql +++ b/sql/updates/0.8/4605_creature_template_addon.sql @@ -1,3 +1,3 @@ -ALTER TABLE `creature_template_addon` +ALTER TABLE `creature_template_addon` DROP KEY `entry`, ADD PRIMARY KEY(`entry`); diff --git a/sql/updates/0.8/4608_game_graveyard_zone.sql b/sql/updates/0.8/4608_game_graveyard_zone.sql index 1dcff5e11..3feb805d0 100644 --- a/sql/updates/0.8/4608_game_graveyard_zone.sql +++ b/sql/updates/0.8/4608_game_graveyard_zone.sql @@ -1,4 +1,4 @@ -ALTER TABLE `game_graveyard_zone` +ALTER TABLE `game_graveyard_zone` DROP COLUMN `ghost_map`; UPDATE `game_graveyard_zone` as G1,`game_graveyard_zone` as G2 diff --git a/sql/updates/0.9/4632_areatrigger_teleport.sql b/sql/updates/0.9/4632_areatrigger_teleport.sql index ef7a345f7..2e462e006 100644 --- a/sql/updates/0.9/4632_areatrigger_teleport.sql +++ b/sql/updates/0.9/4632_areatrigger_teleport.sql @@ -6,7 +6,7 @@ ALTER TABLE `areatrigger_template` DELETE FROM `areatrigger_template` - WHERE `required_level` = 0 AND `required_item` = 0 + WHERE `required_level` = 0 AND `required_item` = 0 AND `target_map` = 0 AND `target_position_x` = 0 AND `target_position_y` = 0 AND `target_position_z` = 0 AND `target_orientation` = 0; ALTER TABLE `areatrigger_template` RENAME TO `areatrigger_teleport`; diff --git a/sql/updates/0.9/4633_spell_teleport.sql b/sql/updates/0.9/4633_spell_teleport.sql index 055fadba1..de19138d2 100644 --- a/sql/updates/0.9/4633_spell_teleport.sql +++ b/sql/updates/0.9/4633_spell_teleport.sql @@ -10,8 +10,8 @@ CREATE TABLE `spell_teleport` ( PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell System'; -INSERT INTO `spell_teleport` -SELECT `id`,`target_map`,`target_position_x`,`target_position_y`,`target_position_z`,`target_orientation` +INSERT INTO `spell_teleport` +SELECT `id`,`target_map`,`target_position_x`,`target_position_y`,`target_position_z`,`target_orientation` FROM `areatrigger_teleport`; DELETE FROM `spell_teleport` WHERE `target_position_x` = 0 AND `target_position_y` = 0 AND `target_position_z` = 0; diff --git a/sql/updates/0.9/4640_command.sql b/sql/updates/0.9/4640_command.sql index 01c7ecefb..60294c24c 100644 --- a/sql/updates/0.9/4640_command.sql +++ b/sql/updates/0.9/4640_command.sql @@ -1,4 +1,4 @@ DELETE FROM command WHERE name IN ('gotrigger'); -INSERT INTO `command` (`name`,`security`,`help`) VALUES +INSERT INTO `command` (`name`,`security`,`help`) VALUES ('gotrigger',2,'Syntax: .gotrigger #trigger_id\r\n\r\nTeleport your character to areatrigger with id #trigger_id. Character will be teleported to trigger target if selected areatrigger is telporting trigger.'); diff --git a/sql/updates/0.9/4657_quest_template.sql b/sql/updates/0.9/4657_quest_template.sql index 4f61a8846..09b7db166 100644 --- a/sql/updates/0.9/4657_quest_template.sql +++ b/sql/updates/0.9/4657_quest_template.sql @@ -1,5 +1,5 @@ -ALTER TABLE `quest_template` +ALTER TABLE `quest_template` CHANGE `RequiredSkillValue` `RequiredSkillValue` int(11) unsigned NOT NULL default '0'; -UPDATE `quest_template` - SET `RequiredSkillValue` = 0 WHERE `RequiredSkillValue` = 1 AND `ZoneOrSort` >= 0; \ No newline at end of file +UPDATE `quest_template` + SET `RequiredSkillValue` = 0 WHERE `RequiredSkillValue` = 1 AND `ZoneOrSort` >= 0; diff --git a/sql/updates/0.9/4667_characters_character.sql b/sql/updates/0.9/4667_characters_character.sql index 0b5470197..0a80ca659 100644 --- a/sql/updates/0.9/4667_characters_character.sql +++ b/sql/updates/0.9/4667_characters_character.sql @@ -1,2 +1,2 @@ -ALTER TABLE `character` - DROP COLUMN `pending_kills`; \ No newline at end of file +ALTER TABLE `character` + DROP COLUMN `pending_kills`; diff --git a/sql/updates/0.9/4674_mangos_skill_discovery_template.sql b/sql/updates/0.9/4674_mangos_skill_discovery_template.sql index 7358a3a2d..e2eacb863 100644 --- a/sql/updates/0.9/4674_mangos_skill_discovery_template.sql +++ b/sql/updates/0.9/4674_mangos_skill_discovery_template.sql @@ -3,6 +3,6 @@ CREATE TABLE `skill_discovery_template` ( `spellId` int(11) unsigned NOT NULL default '0' COMMENT 'SpellId of the discoverable spell', `reqSpell` int(11) unsigned NOT NULL default '0' COMMENT 'spell requirement', `chance` float NOT NULL default '0' COMMENT 'chance to discover', - + PRIMARY KEY (`spellId`) -) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Skill Discovery System'; \ No newline at end of file +) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Skill Discovery System'; diff --git a/sql/updates/0.9/4695_mangos_loot_template.sql b/sql/updates/0.9/4695_mangos_loot_template.sql index d395dd3f1..d2eeaaf49 100644 --- a/sql/updates/0.9/4695_mangos_loot_template.sql +++ b/sql/updates/0.9/4695_mangos_loot_template.sql @@ -1,39 +1,39 @@ -ALTER TABLE `creature_loot_template` +ALTER TABLE `creature_loot_template` CHANGE `QuestFFAorLootCondition` `freeforall` tinyint(1) unsigned NOT NULL default 0 COMMENT '1 if everybody should get a copy'; -ALTER TABLE `creature_loot_template` +ALTER TABLE `creature_loot_template` ADD COLUMN `lootcondition` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `freeforall`; -ALTER TABLE `disenchant_loot_template` +ALTER TABLE `disenchant_loot_template` CHANGE `QuestFFAorLootCondition` `freeforall` tinyint(1) unsigned NOT NULL default 0 COMMENT '1 if everybody should get a copy'; -ALTER TABLE `disenchant_loot_template` +ALTER TABLE `disenchant_loot_template` ADD COLUMN `lootcondition` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `freeforall`; -ALTER TABLE `fishing_loot_template` +ALTER TABLE `fishing_loot_template` CHANGE `QuestFFAorLootCondition` `freeforall` tinyint(1) unsigned NOT NULL default 0 COMMENT '1 if everybody should get a copy'; -ALTER TABLE `fishing_loot_template` +ALTER TABLE `fishing_loot_template` ADD COLUMN `lootcondition` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `freeforall`; -ALTER TABLE `gameobject_loot_template` +ALTER TABLE `gameobject_loot_template` CHANGE `QuestFFAorLootCondition` `freeforall` tinyint(1) unsigned NOT NULL default 0 COMMENT '1 if everybody should get a copy'; -ALTER TABLE `gameobject_loot_template` +ALTER TABLE `gameobject_loot_template` ADD COLUMN `lootcondition` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `freeforall`; -ALTER TABLE `item_loot_template` +ALTER TABLE `item_loot_template` CHANGE `QuestFFAorLootCondition` `freeforall` tinyint(1) unsigned NOT NULL default 0 COMMENT '1 if everybody should get a copy'; -ALTER TABLE `item_loot_template` +ALTER TABLE `item_loot_template` ADD COLUMN `lootcondition` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `freeforall`; -ALTER TABLE `pickpocketing_loot_template` +ALTER TABLE `pickpocketing_loot_template` CHANGE `QuestFFAorLootCondition` `freeforall` tinyint(1) unsigned NOT NULL default 0 COMMENT '1 if everybody should get a copy'; -ALTER TABLE `pickpocketing_loot_template` +ALTER TABLE `pickpocketing_loot_template` ADD COLUMN `lootcondition` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `freeforall`; -ALTER TABLE `skinning_loot_template` +ALTER TABLE `skinning_loot_template` CHANGE `QuestFFAorLootCondition` `freeforall` tinyint(1) unsigned NOT NULL default 0 COMMENT '1 if everybody should get a copy'; -ALTER TABLE `skinning_loot_template` +ALTER TABLE `skinning_loot_template` ADD COLUMN `lootcondition` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `freeforall`; -ALTER TABLE `prospecting_loot_template` +ALTER TABLE `prospecting_loot_template` CHANGE `QuestFFAorLootCondition` `freeforall` tinyint(1) unsigned NOT NULL default 0 COMMENT '1 if everybody should get a copy'; -ALTER TABLE `prospecting_loot_template` +ALTER TABLE `prospecting_loot_template` ADD COLUMN `lootcondition` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `freeforall`; diff --git a/sql/updates/0.9/4704_mangos_battlemaster_entry.sql b/sql/updates/0.9/4704_mangos_battlemaster_entry.sql index 950649437..93d7d4bda 100644 --- a/sql/updates/0.9/4704_mangos_battlemaster_entry.sql +++ b/sql/updates/0.9/4704_mangos_battlemaster_entry.sql @@ -6,6 +6,6 @@ DROP TABLE IF EXISTS `battlemaster_entry`; CREATE TABLE `battlemaster_entry` ( `entry` int(11) unsigned NOT NULL default '0' COMMENT 'Entry of a creature', `bg_template` int(11) unsigned NOT NULL default '0' COMMENT 'Battleground template id', - + PRIMARY KEY (`entry`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8; diff --git a/sql/updates/0.9/4737_mangos_command.sql b/sql/updates/0.9/4737_mangos_command.sql index 204430ae4..620c0bfaa 100644 --- a/sql/updates/0.9/4737_mangos_command.sql +++ b/sql/updates/0.9/4737_mangos_command.sql @@ -3,7 +3,7 @@ DELETE FROM command WHERE name IN ('lookupitem','lookupitemset','lookupcreature','lookupobject','lookupquest','lookupskill','lookupspell','lookuptele'); -INSERT INTO `command` VALUES +INSERT INTO `command` VALUES ('lookup creature',3,'Syntax: .lookup creature $namepart\r\n\r\nLooks up a creature by $namepart, and returns all matches with their creature ID\'s.'), ('lookup item',3,'Syntax: .lookup item $itemname\r\n\r\nLooks up an item by $itemname, and returns all matches with their Item ID\'s.'), ('lookup itemset',3,'Syntax: .lookup itemset $itemname\r\n\r\nLooks up an item set by $itemname, and returns all matches with their Item set ID\'s.'), diff --git a/sql/updates/0.9/4781_mangos_gameobject_loot_template.sql b/sql/updates/0.9/4781_mangos_gameobject_loot_template.sql index c7b39204a..ba803c4e0 100644 --- a/sql/updates/0.9/4781_mangos_gameobject_loot_template.sql +++ b/sql/updates/0.9/4781_mangos_gameobject_loot_template.sql @@ -1,6 +1,6 @@ -- Addgo command change DELETE FROM `command` WHERE `name`='addgo'; -INSERT INTO `command` (`name`,`security`,`help`) VALUES +INSERT INTO `command` (`name`,`security`,`help`) VALUES ('addgo',2,'Syntax: .addgo #id \r\n\r\nAdd a game object from game object templates to the world at your current location using the #id.\r\nspawntimesecs sets the spawntime, it is optional.\r\n\r\nNote: this is a copy of .gameobject.'); -- Creation of first temp table diff --git a/sql/updates/0.9/4793_mangos_spell_affect.sql b/sql/updates/0.9/4793_mangos_spell_affect.sql index f59f91088..128ef2b6a 100644 --- a/sql/updates/0.9/4793_mangos_spell_affect.sql +++ b/sql/updates/0.9/4793_mangos_spell_affect.sql @@ -4,13 +4,13 @@ INSERT INTO `spell_affect` VALUES (37441,1,0,0,0,0,0,0x0000000020000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (33421,33713,33714); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (33421,0,0,0,0,0,0,0x0000000200000000,0), (33713,0,0,0,0,0,0,0x0000000200000000,0), (33714,0,0,0,0,0,0,0x0000000200000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (11222,12839,12840,12841,12842); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (11222,0,0,0,0,0,0,0x0000000020001800,0), (12839,0,0,0,0,0,0,0x0000000020001800,0), (12840,0,0,0,0,0,0,0x0000000020001800,0), @@ -30,32 +30,32 @@ INSERT INTO `spell_affect` VALUES (12042,2,0,0,0,0,0,0x0000000020E01AF7,0); DELETE FROM `spell_affect` WHERE `entry` IN (11083,12351); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (11083,0,0,0,0,0,0,0x0000000000C20017,0), (12351,0,0,0,0,0,0,0x0000000000C20017,0); DELETE FROM `spell_affect` WHERE `entry` IN (12536); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (12536,0,0,0,0,0,0,0x0000000020C01AF7,0); DELETE FROM `spell_affect` WHERE `entry` IN (28682); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (28682,0,0,0,0,0,0,0x0000004008C20017,0); DELETE FROM `spell_affect` WHERE `entry` IN (37439); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (37439,0,0,0,0,0,0,0x0000002000000000,0), (37439,1,0,0,0,0,0,0x0000004000000000,0), (37439,2,0,0,0,0,0,0x0000008000000000,0); DELETE FROM `spell_affect` WHERE `entry` IN (29438,29439,29440); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (29438,0,0,0,0,0,0,0x0000000000D000D7,0), (29439,0,0,0,0,0,0,0x0000000000D000D7,0), (29440,0,0,0,0,0,0,0x0000000000D000D7,0); DELETE FROM `spell_affect` WHERE `entry` IN (31685); -INSERT INTO `spell_affect` VALUES +INSERT INTO `spell_affect` VALUES (31685,0,0,0,0,0,0,0x0000000000000020,0), (31685,1,0,0,0,0,0,0x0000000000000020,0); diff --git a/sql/updates/0.9/4829_mangos_command.sql b/sql/updates/0.9/4829_mangos_command.sql index 1a20bcd87..ff8481b23 100644 --- a/sql/updates/0.9/4829_mangos_command.sql +++ b/sql/updates/0.9/4829_mangos_command.sql @@ -1,5 +1,5 @@ DELETE FROM command WHERE name IN ('gozonexy','lookup area'); -INSERT INTO `command` VALUES +INSERT INTO `command` VALUES ('gozonexy',1,'Syntax: .gozonexy #x #y [#zone]\r\n\r\nTeleport player to point with (#x,#y) client coordinates at ground(water) level in zone #zoneid or current zone if #zoneid not provided. You can look up zone using .lookup area $namepart'), ('lookup area',1,'Syntax: .lookup area $namepart\r\n\r\nLooks up an area by $namepart, and returns all matches with their area ID\'s.'); diff --git a/sql/updates/06506_mangos_spell_proc_event.sql b/sql/updates/06506_mangos_spell_proc_event.sql index 363274d51..971c489ff 100644 --- a/sql/updates/06506_mangos_spell_proc_event.sql +++ b/sql/updates/06506_mangos_spell_proc_event.sql @@ -1,6 +1,6 @@ DELETE FROM spell_proc_event WHERE entry IN (34138,42370,43728,46098); -INSERT INTO spell_proc_event VALUES +INSERT INTO spell_proc_event VALUES (34138,0,0,0,11,0x0000000000000080,0x08000000,0), (42370,0,0,0,11,0x0000000000000080,0x08000000,0), (43728,0,0,0,11,0x0000000000000080,0x08000000,0), diff --git a/sql/updates/06588_mangos_spell_proc_event.sql b/sql/updates/06588_mangos_spell_proc_event.sql index 083a3524c..6ec7d6606 100644 --- a/sql/updates/06588_mangos_spell_proc_event.sql +++ b/sql/updates/06588_mangos_spell_proc_event.sql @@ -1,3 +1,3 @@ DELETE FROM spell_proc_event WHERE entry = 41434; -INSERT INTO spell_proc_event (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate, cooldown) VALUES +INSERT INTO spell_proc_event (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate, cooldown) VALUES (41434,0,0,0,0,0x0000000000000000,0x00000001,2,45); diff --git a/sql/updates/06673_mangos_areatrigger_scripts.sql b/sql/updates/06673_mangos_areatrigger_scripts.sql index 91d3cc6d9..e4088cf1d 100644 --- a/sql/updates/06673_mangos_areatrigger_scripts.sql +++ b/sql/updates/06673_mangos_areatrigger_scripts.sql @@ -1,4 +1,4 @@ -DROP TABLE IF EXISTS `areatrigger_scripts`; +DROP TABLE IF EXISTS `areatrigger_scripts`; CREATE TABLE `areatrigger_scripts` ( `entry` MEDIUMINT( 8 ) NOT NULL , `ScriptName` CHAR( 64 ) NOT NULL , diff --git a/sql/updates/06693_mangos_spell_proc_event.sql b/sql/updates/06693_mangos_spell_proc_event.sql index fa4df63d5..c96296fc8 100644 --- a/sql/updates/06693_mangos_spell_proc_event.sql +++ b/sql/updates/06693_mangos_spell_proc_event.sql @@ -8,4 +8,4 @@ INSERT INTO spell_proc_event (entry, SchoolMask, Category, SkillID, SpellFamilyN DELETE FROM spell_proc_event where entry = 46046; INSERT INTO spell_proc_event (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate, cooldown) VALUES -(46046,0,0,0,0,0x0000000000000000,0x00000001,0,5); +(46046,0,0,0,0,0x0000000000000000,0x00000001,0,5); diff --git a/sql/updates/06701_mangos_command.sql b/sql/updates/06701_mangos_command.sql index e7dd8cfc2..2c973115b 100644 --- a/sql/updates/06701_mangos_command.sql +++ b/sql/updates/06701_mangos_command.sql @@ -1,4 +1,4 @@ DELETE FROM command WHERE name IN ('lookup player account','lookup player ip','lookup player email'); INSERT INTO `command` VALUES ('lookup player account',2,'Syntax : .lookup player account $account ($limit) \r\n\r\n Searchs players, which account username is $account with optional parametr $limit of results.'); INSERT INTO `command` VALUES ('lookup player ip',2,'Syntax : .lookup player ip $ip ($limit) \r\n\r\n Searchs players, which account ast_ip is $ip with optional parametr $limit of results.'); -INSERT INTO `command` VALUES ('lookup player email',2,'Syntax : .lookup player email $email ($limit) \r\n\r\n Searchs players, which account email is $email with optional parametr $limit of results.'); +INSERT INTO `command` VALUES ('lookup player email',2,'Syntax : .lookup player email $email ($limit) \r\n\r\n Searchs players, which account email is $email with optional parametr $limit of results.'); diff --git a/sql/updates/06760_mangos_creature_template.sql b/sql/updates/06760_mangos_creature_template.sql index 1dfb93b63..05ad2472a 100644 --- a/sql/updates/06760_mangos_creature_template.sql +++ b/sql/updates/06760_mangos_creature_template.sql @@ -1,2 +1,2 @@ UPDATE creature_template - SET flags_extra = flags_extra | 0x00000080 WHERE entry = 1; + SET flags_extra = flags_extra | 0x00000080 WHERE entry = 1; diff --git a/sql/updates/README b/sql/updates/README index e25eb54d5..a54513eb9 100644 --- a/sql/updates/README +++ b/sql/updates/README @@ -12,9 +12,9 @@ To see if you need an update, the file names have been given a fixed structure that should enable you to see if you need an update or not. === File name descriptin === -File names are divided into two parts. First part is the date+counter -that show commit apply date that will be compatible with database after apply update. -The second part of the name, is the table that needs and update or has been added. +File names are divided into two parts. First part is the date+counter +that show commit apply date that will be compatible with database after apply update. +The second part of the name, is the table that needs and update or has been added. See an example below: 2008_10_17_01_characters_character_spell.sql @@ -36,4 +36,4 @@ See an example below: changed files, After appling this update DB compatiable with found commit. === For commiters ==== -Please, include sql update name in first line of commit description for simplify it search by users in commits list. \ No newline at end of file +Please, include sql update name in first line of commit description for simplify it search by users in commits list. diff --git a/src/bindings/universal/config.h b/src/bindings/universal/config.h index 68d428a38..1541db505 100644 --- a/src/bindings/universal/config.h +++ b/src/bindings/universal/config.h @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2005-2008 MaNGOS * * This program is free software; you can redistribute it and/or modify diff --git a/src/game/Level3.cpp b/src/game/Level3.cpp index 0c81d4d0a..f4fed22f9 100644 --- a/src/game/Level3.cpp +++ b/src/game/Level3.cpp @@ -5091,7 +5091,7 @@ bool ChatHandler::HandleBanListHelper(QueryResult* result) // "account" case, name can be get in same quary if(result->GetFieldCount() > 1) account_name = fields[1].GetCppString(); - // "character" case, name need extract from another DB + // "character" case, name need extract from another DB else accmgr.GetName (account_id,account_name); @@ -5140,7 +5140,7 @@ bool ChatHandler::HandleBanListIPCommand(const char* args) loginDatabase.escape_string(filter); QueryResult* result; - + if(filter.empty()) { result = loginDatabase.Query ("SELECT ip,bandate,unbandate,bannedby,banreason FROM ip_banned" diff --git a/src/game/WorldSocketMgr.cpp b/src/game/WorldSocketMgr.cpp index d7b427361..a7558e354 100644 --- a/src/game/WorldSocketMgr.cpp +++ b/src/game/WorldSocketMgr.cpp @@ -53,7 +53,7 @@ class ReactorRunnable : protected ACE_Task_Base { public: - ReactorRunnable () : + ReactorRunnable () : m_ThreadId (-1), m_Connections (0), m_Reactor (0) diff --git a/src/mangosd/run-mangosd b/src/mangosd/run-mangosd index 2287e516c..08f4cc989 100755 --- a/src/mangosd/run-mangosd +++ b/src/mangosd/run-mangosd @@ -6,7 +6,7 @@ while : do echo "MaNGOS daemon restarted" echo `date` >> crash.log & - ./mangosd | tail -n 20 >> crash.log + ./mangosd | tail -n 20 >> crash.log echo " " >> crash.log & pid=`ps ax | awk '($5 ~ /mangosd/) { print $1 }'` wait $pid diff --git a/src/shared/Config/Config.cpp b/src/shared/Config/Config.cpp index f76e4abd9..8aa9293c2 100644 --- a/src/shared/Config/Config.cpp +++ b/src/shared/Config/Config.cpp @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2005-2008 MaNGOS * * This program is free software; you can redistribute it and/or modify diff --git a/src/shared/Config/Config.h b/src/shared/Config/Config.h index efbfd1d1f..cff2fa523 100644 --- a/src/shared/Config/Config.h +++ b/src/shared/Config/Config.h @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2005-2008 MaNGOS * * This program is free software; you can redistribute it and/or modify diff --git a/src/shared/Config/ConfigEnv.h b/src/shared/Config/ConfigEnv.h index de5dbe6a0..f2a0d5146 100644 --- a/src/shared/Config/ConfigEnv.h +++ b/src/shared/Config/ConfigEnv.h @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2005-2008 MaNGOS * * This program is free software; you can redistribute it and/or modify diff --git a/src/tools/gensvnrevision/Makefile.am b/src/tools/gensvnrevision/Makefile.am index e46653358..86b9b4ac7 100644 --- a/src/tools/gensvnrevision/Makefile.am +++ b/src/tools/gensvnrevision/Makefile.am @@ -25,11 +25,11 @@ gensvnrevision_SOURCES = \ gensvnrevision.cpp ## Link world daemon against the shared library -gensvnrevision_LDADD = +gensvnrevision_LDADD = gensvnrevision_LDFLAGS = -L$(libdir) ## Additional files to include when running 'make dist' # Include world daemon configuration -#EXTRA_DIST = +#EXTRA_DIST = ## Additional files to install diff --git a/src/tools/gensvnrevision/gensvnrevision.cpp b/src/tools/gensvnrevision/gensvnrevision.cpp index 572d882a6..3533a0bff 100644 --- a/src/tools/gensvnrevision/gensvnrevision.cpp +++ b/src/tools/gensvnrevision/gensvnrevision.cpp @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2005-2008 MaNGOS * * This program is free software; you can redistribute it and/or modify -- 2.11.4.GIT