aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/Makefile.am42
-rw-r--r--sql/characters.sql1221
-rw-r--r--sql/create_mysql.sql14
-rw-r--r--sql/drop_mysql.sql21
-rw-r--r--sql/mangos.sql15321
-rw-r--r--sql/realmd.sql167
-rw-r--r--sql/tools/Makefile.am36
-rw-r--r--sql/tools/README10
-rw-r--r--sql/tools/characters_item_duplicates_remove.sql22
-rw-r--r--sql/tools/characters_pet_data_cleanup.sql3
-rw-r--r--sql/updates/0.10/4846_characters.sql20
-rw-r--r--sql/updates/0.10/4846_mangos_creature_template.sql52
-rw-r--r--sql/updates/0.10/4846_mangos_item_template.sql2
-rw-r--r--sql/updates/0.10/4846_mangos_npc_option.sql13
-rw-r--r--sql/updates/0.10/4875_mangos_quest_template.sql1
-rw-r--r--sql/updates/0.10/4890_mangos_item_template.sql8
-rw-r--r--sql/updates/0.10/4895_mangos_command.sql4
-rw-r--r--sql/updates/0.10/4896_characters_mail.sql2
-rw-r--r--sql/updates/0.10/4898_mangos_playercreateinfo_item.sql1
-rw-r--r--sql/updates/0.10/4904_mangos_item_template.sql10
-rw-r--r--sql/updates/0.10/4908_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/0.10/4916_mangos_spell_affect.sql60
-rw-r--r--sql/updates/0.10/4921_mangos_gameobject.sql2
-rw-r--r--sql/updates/0.10/4926_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/0.10/4937_mangos_spell_affect.sql56
-rw-r--r--sql/updates/0.10/4937_mangos_spell_proc_event.sql5
-rw-r--r--sql/updates/0.10/4948_mangos_spell_affect.sql147
-rw-r--r--sql/updates/0.10/4951_mangos_spell_affect.sql21
-rw-r--r--sql/updates/0.10/4952_mangos_spell_proc_event.sql10
-rw-r--r--sql/updates/0.10/4971_characters_character_social.sql15
-rw-r--r--sql/updates/0.10/4975_mangos_spell_affect.sql3
-rw-r--r--sql/updates/0.10/4975_mangos_spell_proc_event.sql8
-rw-r--r--sql/updates/0.10/4984_mangos_spell_proc_event.sql20
-rw-r--r--sql/updates/0.10/5019_mangos_spell_proc_event.sql26
-rw-r--r--sql/updates/0.10/5030_mangos_item_template.sql5
-rw-r--r--sql/updates/0.10/5036_mangos_spell_affect.sql52
-rw-r--r--sql/updates/0.10/5039_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/0.10/5064_mangos_spell_proc_event.sql15
-rw-r--r--sql/updates/0.10/5070_mangos_spell_proc_event.sql5
-rw-r--r--sql/updates/0.10/5072_mangos_spell_proc_event.sql4
-rw-r--r--sql/updates/0.10/5075_mangos_spell_proc_event.sql34
-rw-r--r--sql/updates/0.10/5084_mangos_command.sql8
-rw-r--r--sql/updates/0.10/5085_mangos_spell_affect.sql7
-rw-r--r--sql/updates/0.10/5087_mangos_spell_affect.sql4
-rw-r--r--sql/updates/0.10/5088_mangos_spell_proc_event.sql5
-rw-r--r--sql/updates/0.10/5092_mangos_item_template.sql2
-rw-r--r--sql/updates/0.10/5097_mangos_skill_extra_item_template.sql9
-rw-r--r--sql/updates/0.10/5106_mangos_spell_chain.sql15
-rw-r--r--sql/updates/0.10/5108_characters.sql58
-rw-r--r--sql/updates/0.10/5119_mangos_quest_template.sql3
-rw-r--r--sql/updates/0.10/5120_mangos_spell_chain.sql15
-rw-r--r--sql/updates/0.10/5121_mangos_spell_affect.sql33
-rw-r--r--sql/updates/0.10/5123_mangos_spell_proc_event.sql27
-rw-r--r--sql/updates/0.10/5128_mangos_spell_proc_event.sql4
-rw-r--r--sql/updates/0.10/5130_mangos_spell_proc_event.sql53
-rw-r--r--sql/updates/0.10/5146_mangos_spell_proc_event.sql5
-rw-r--r--sql/updates/0.10/5147_mangos_spell_learn_spell.sql3
-rw-r--r--sql/updates/0.10/5156_mangos_spell_affect.sql85
-rw-r--r--sql/updates/0.10/5156_mangos_spell_proc_event.sql9
-rw-r--r--sql/updates/0.10/5158_mangos_spell_affect.sql1
-rw-r--r--sql/updates/0.10/5159_characters_guild_bank_eventlog.sql3
-rw-r--r--sql/updates/0.10/5159_characters_guild_bank_item.sql9
-rw-r--r--sql/updates/0.10/5159_characters_guild_bank_right.sql3
-rw-r--r--sql/updates/0.10/5159_characters_guild_bank_tab.sql3
-rw-r--r--sql/updates/0.10/5159_characters_guild_memeber.sql5
-rw-r--r--sql/updates/0.10/5160_mangos_command.sql4
-rw-r--r--sql/updates/0.10/5163_mangos_spell_affect.sql8
-rw-r--r--sql/updates/0.10/5163_mangos_spell_proc_event.sql4
-rw-r--r--sql/updates/0.10/5164_mangos_creature_movement.sql5
-rw-r--r--sql/updates/0.10/5165_mangos_mangos_string.sql468
-rw-r--r--sql/updates/0.10/5166_mangos_mangos_string.sql3
-rw-r--r--sql/updates/0.10/5172_mangos_mangos_string.sql12
-rw-r--r--sql/updates/0.10/5180_mangos_spell_affect.sql6
-rw-r--r--sql/updates/0.10/5181_mangos_mangos_string.sql3
-rw-r--r--sql/updates/0.10/5185_mangos_spell_proc_event.sql15
-rw-r--r--sql/updates/0.10/5191_mangos_spell_threat.sql3
-rw-r--r--sql/updates/0.10/5197_mangos_spell_affect.sql175
-rw-r--r--sql/updates/0.10/5199_characters_guild_bank_eventlog.sql1
-rw-r--r--sql/updates/0.10/5201_mangos_spell_affect.sql53
-rw-r--r--sql/updates/0.10/5212_mangos_command.sql4
-rw-r--r--sql/updates/0.10/5212_mangos_mangos_string.sql3
-rw-r--r--sql/updates/0.10/5217_characters_character.sql2
-rw-r--r--sql/updates/0.10/5228_mangos_gameobject_scripts.sql13
-rw-r--r--sql/updates/0.10/5233_mangos_event_scripts.sql1
-rw-r--r--sql/updates/0.10/5234_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/0.10/5238_mangos_spell_proc_event.sql7
-rw-r--r--sql/updates/0.10/5242_mangos_instance_template.sql2
-rw-r--r--sql/updates/0.10/5243_mangos_spell_affect.sql8
-rw-r--r--sql/updates/0.10/5249_mangos_spell_learn_skill.sql3
-rw-r--r--sql/updates/0.10/5254_mangos_spell_affect.sql11
-rw-r--r--sql/updates/0.10/5254_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/0.10/5258_characters_character.sql1
-rw-r--r--sql/updates/0.10/5265_mangos_spell_proc_event.sql31
-rw-r--r--sql/updates/0.10/5269_mangos_uptime.sql2
-rw-r--r--sql/updates/0.10/5270_mangos_gameobject_scripts.sql1
-rw-r--r--sql/updates/0.10/5272_mangos_mangos_string.sql6
-rw-r--r--sql/updates/0.10/5286_characters_character_pet.sql2
-rw-r--r--sql/updates/0.10/5292_mangos_spell_proc_event.sql8
-rw-r--r--sql/updates/0.10/5295_mangos_creature_template.sql2
-rw-r--r--sql/updates/0.10/5297_characters.sql16
-rw-r--r--sql/updates/0.10/5297_mangos.sql12
-rw-r--r--sql/updates/0.10/5297_realmd_account.sql2
-rw-r--r--sql/updates/0.10/5302_mangos_player_levelstats.sql13
-rw-r--r--sql/updates/0.10/5311_mangos_spell_affect.sql3
-rw-r--r--sql/updates/0.10/5326_mangos_spell_affect.sql8
-rw-r--r--sql/updates/0.10/5335_mangos_mangos_string.sql3
-rw-r--r--sql/updates/0.10/5343_mangos_spell_proc_event.sql7
-rw-r--r--sql/updates/0.10/5347_mangos_spell_affect.sql3
-rw-r--r--sql/updates/0.10/5350_mangos_spell_affect.sql3
-rw-r--r--sql/updates/0.10/5351_mangos_spell_proc_event.sql10
-rw-r--r--sql/updates/0.10/5363_mangos_creature_template.sql2
-rw-r--r--sql/updates/0.10/5366_mangos_spell_proc_event.sql7
-rw-r--r--sql/updates/0.10/5367_mangos_spell_affect.sql3
-rw-r--r--sql/updates/0.10/5370_mangos_spell_affect.sql87
-rw-r--r--sql/updates/0.10/5374_mangos_spell_affect.sql4
-rw-r--r--sql/updates/0.10/5378_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/0.10/5379_mangos_spell_proc_event.sql1
-rw-r--r--sql/updates/0.10/5402_mangos_spell_proc_event.sql8
-rw-r--r--sql/updates/0.10/5408_characters_mail_items.sql8
-rw-r--r--sql/updates/0.10/5411_mangos_spell_affect.sql5
-rw-r--r--sql/updates/0.10/5419_mangos_spell_affect.sql8
-rw-r--r--sql/updates/0.10/5420_characters_mail_items.sql1
-rw-r--r--sql/updates/0.10/5422_mangos_spell_proc_event.sql9
-rw-r--r--sql/updates/0.10/5441_characters_petition_petition_sign.sql5
-rw-r--r--sql/updates/0.10/5443_mangos_item_template.sql2
-rw-r--r--sql/updates/0.10/5445_mangos_spell_affect.sql7
-rw-r--r--sql/updates/0.10/5446_mangos_creature_template.sql2
-rw-r--r--sql/updates/0.10/5451_characters_petition_petition_sign.sql2
-rw-r--r--sql/updates/0.10/5457_realmd_account.sql1
-rw-r--r--sql/updates/0.10/5460_mangos_spell_proc_event.sql11
-rw-r--r--sql/updates/0.10/5462_mangos_spell_affect.sql144
-rw-r--r--sql/updates/0.10/5463_mangos_command.sql2
-rw-r--r--sql/updates/0.10/5466_mangos_spell_affect.sql67
-rw-r--r--sql/updates/0.10/5471_mangos_spell_affect.sql70
-rw-r--r--sql/updates/0.10/5482_mangos_spell_affect.sql5
-rw-r--r--sql/updates/0.10/5491_mangos_player_levelstats.sql70
-rw-r--r--sql/updates/0.10/5492_mangos_player_levelstats.sql70
-rw-r--r--sql/updates/0.10/5498_mangos_spell_affect.sql8
-rw-r--r--sql/updates/0.10/5505_mangos.sql801
-rw-r--r--sql/updates/0.10/5505_mangos_npc_gossip.sql8
-rw-r--r--sql/updates/0.10/5526_mangos_player_levelstats.sql70
-rw-r--r--sql/updates/0.10/5529_mangos_spell_chain.sql30
-rw-r--r--sql/updates/0.10/5530_mangos_spell_learn_spell.sql2
-rw-r--r--sql/updates/0.10/5531_mangos_creature_movement.sql2
-rw-r--r--sql/updates/0.10/5534_mangos_player_levelstats.sql144
-rw-r--r--sql/updates/0.10/5541_mangos_command.sql5
-rw-r--r--sql/updates/0.10/5541_mangos_mangos_string.sql3
-rw-r--r--sql/updates/0.10/5547_characters_character_ticket.sql2
-rw-r--r--sql/updates/0.10/5547_mangos_mangos_string.sql4
-rw-r--r--sql/updates/0.10/5554_mangos_locales_creature.sql2
-rw-r--r--sql/updates/0.10/5558_mangos_player_levelstats.sql70
-rw-r--r--sql/updates/0.10/5570_mangos_spell_elixir.sql118
-rw-r--r--sql/updates/0.10/5571_mangos_player_levelstats.sql70
-rw-r--r--sql/updates/0.10/5574_mangos_mangos_string.sql4
-rw-r--r--sql/updates/0.10/5574_mangos_spell_learn_spell.sql1
-rw-r--r--sql/updates/0.10/5576_mangos_spell_affect.sql10
-rw-r--r--sql/updates/0.10/5576_mangos_spell_proc_event.sql1
-rw-r--r--sql/updates/0.10/5585_mangos_gameobject_template.sql1
-rw-r--r--sql/updates/0.10/5585_mangos_locales_gameobject.sql7
-rw-r--r--sql/updates/0.10/5586_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/0.10/5589_mangos_spell_proc_event.sql6
-rw-r--r--sql/updates/0.10/5593_mangos_spell_proc_event.sql2
-rw-r--r--sql/updates/0.10/5628_mangos_creature_movement.sql2
-rw-r--r--sql/updates/0.10/5632_characters.sql22
-rw-r--r--sql/updates/0.10/5634_mangos_mangos_string.sql3
-rw-r--r--sql/updates/0.10/5636_mangos_loot_template.sql134
-rw-r--r--sql/updates/0.10/5640_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/0.10/5642_mangos_mangos_string.sql3
-rw-r--r--sql/updates/0.5/1150_character_aura.sql8
-rw-r--r--sql/updates/0.5/1155_commands.sql1
-rw-r--r--sql/updates/0.5/1155_npc_option.sql10
-rw-r--r--sql/updates/0.5/1158_character_inventory.sql4
-rw-r--r--sql/updates/0.5/1186_game_weather.sql17
-rw-r--r--sql/updates/0.5/1208_npc_trainer.sql6
-rw-r--r--sql/updates/0.5/1250_item_template.sql1
-rw-r--r--sql/updates/0.5/1262_areatrigger_tavern.sql6
-rw-r--r--sql/updates/0.5/1262_game_graveyard.sql1
-rw-r--r--sql/updates/0.5/1282_playercreateinfo.sql8
-rw-r--r--sql/updates/0.5/1282_playercreateinfo_item.sql10
-rw-r--r--sql/updates/0.5/1292_loot_template.sql6
-rw-r--r--sql/updates/0.5/1332_character_queststatus.sql18
-rw-r--r--sql/updates/0.5/1336_item_template.sql1
-rw-r--r--sql/updates/0.5/1339_areatrigger_city.sql6
-rw-r--r--sql/updates/0.5/1349_areatrigger_involvedrelation.sql1
-rw-r--r--sql/updates/0.5/1349_character_aura.sql3
-rw-r--r--sql/updates/0.5/1349_character_inventory.sql3
-rw-r--r--sql/updates/0.5/1349_creature_template.sql3
-rw-r--r--sql/updates/0.5/1349_gameobject_template.sql3
-rw-r--r--sql/updates/0.5/1356_item_template.sql11
-rw-r--r--sql/updates/0.5/1411_item_template.sql1
-rw-r--r--sql/updates/0.5/1447_quest_template.sql11
-rw-r--r--sql/updates/0.5/1465_build_realmd_db.sql92
-rw-r--r--sql/updates/0.5/1465_create_realmd_db.sql4
-rw-r--r--sql/updates/0.5/1465_populate_realmd_db.sql17
-rw-r--r--sql/updates/0.5/1475_character_aura.sql3
-rw-r--r--sql/updates/0.5/1511_object_involvedrelation.sql7
-rw-r--r--sql/updates/0.5/1511_object_questrelation.sql7
-rw-r--r--sql/updates/0.5/1526_npc_vendor.sql9
-rw-r--r--sql/updates/0.5/1562_creature_template.sql3
-rw-r--r--sql/updates/0.5/1576_command.sql1
-rw-r--r--sql/updates/0.5/1595_area_graveyard.sql11
-rw-r--r--sql/updates/0.5/1601_game_addons.sql7
-rw-r--r--sql/updates/0.5/1615_areatrigger_graveyard.sql3
-rw-r--r--sql/updates/0.5/1635_character.sql3
-rw-r--r--sql/updates/0.5/1669_character_spell.sql2
-rw-r--r--sql/updates/0.5/1676_game_graveyard.sql5
-rw-r--r--sql/updates/0.5/1676_game_tele.sql10
-rw-r--r--sql/updates/0.5/1687_loot_template.sql4
-rw-r--r--sql/updates/0.5/1704_item_template.sql9
-rw-r--r--sql/updates/0.5/1799_quest_template.sql11
-rw-r--r--sql/updates/0.5/1825_game_corpse.sql1
-rw-r--r--sql/updates/0.5/1856_command.sql3
-rw-r--r--sql/updates/0.5/1865_command.sql2
-rw-r--r--sql/updates/0.5/1880_command.sql3
-rw-r--r--sql/updates/0.5/1883_quest_template.sql2
-rw-r--r--sql/updates/0.5/1915_loot_template.sql30
-rw-r--r--sql/updates/0.5/1935_command.sql2
-rw-r--r--sql/updates/0.5/1949_corpse.sql14
-rw-r--r--sql/updates/0.5/1953_playercreateinfo_skill.sql3
-rw-r--r--sql/updates/0.5/1953_playercreateinfo_spell.sql3
-rw-r--r--sql/updates/0.5/1956_command.sql4
-rw-r--r--sql/updates/0.5/2017_quest_template.sql3
-rw-r--r--sql/updates/0.5/2033_command.sql2
-rw-r--r--sql/updates/0.5/2041_auctionhouse_bid.sql1
-rw-r--r--sql/updates/0.5/2041_game_spell.sql1
-rw-r--r--sql/updates/0.5/2041_game_talent.sql1
-rw-r--r--sql/updates/0.5/2047_quest_template.sql5
-rw-r--r--sql/updates/0.5/2054_command.sql2
-rw-r--r--sql/updates/0.5/2058_command.sql2
-rw-r--r--sql/updates/0.5/2066_creature_template.sql3
-rw-r--r--sql/updates/0.5/2069_quest_template.sql3
-rw-r--r--sql/updates/0.5/2079_command.sql2
-rw-r--r--sql/updates/0.5/2099_npc_trainer.sql5
-rw-r--r--sql/updates/0.5/2107_command.sql1
-rw-r--r--sql/updates/0.5/2113_command.sql1
-rw-r--r--sql/updates/0.5/2118_playercreateinfo_spell.sql31
-rw-r--r--sql/updates/0.5/2119_command.sql1
-rw-r--r--sql/updates/0.5/2130_quest_template.sql3
-rw-r--r--sql/updates/0.5/2131_command.sql1
-rw-r--r--sql/updates/0.5/2156_character.sql3
-rw-r--r--sql/updates/0.5/2164_command.sql1
-rw-r--r--sql/updates/0.5/2191_npc_trainer.sql4
-rw-r--r--sql/updates/0.5/2191_playercreateinfo.sql6
-rw-r--r--sql/updates/0.5/2220_command.sql1
-rw-r--r--sql/updates/0.6/2297_character_stable.sql20
-rw-r--r--sql/updates/0.6/2302_player_levelupgains.sql2397
-rw-r--r--sql/updates/0.6/2308_character_pet.sql4
-rw-r--r--sql/updates/0.6/2330_realmlist.sql2
-rw-r--r--sql/updates/0.6/2343_areatrigger_template.sql14
-rw-r--r--sql/updates/0.6/2352_quest_template.sql13
-rw-r--r--sql/updates/0.6/2357_playercreateinfo_action.sql13
-rw-r--r--sql/updates/0.6/2359_command.sql1
-rw-r--r--sql/updates/0.6/2360_creature_template.sql16
-rw-r--r--sql/updates/0.6/2362_areatrigger_template.sql2
-rw-r--r--sql/updates/0.6/2367_command.sql2
-rw-r--r--sql/updates/0.6/2369_creature_template.sql12
-rw-r--r--sql/updates/0.6/2370_character_queststatus.sql4
-rw-r--r--sql/updates/0.6/2372_creature_template.sql6
-rw-r--r--sql/updates/0.6/2382_mail_item.sql1
-rw-r--r--sql/updates/0.6/2383_auctionhouse_item.sql1
-rw-r--r--sql/updates/0.6/2418_quest_template.sql9
-rw-r--r--sql/updates/0.6/2421_quest_template.sql4
-rw-r--r--sql/updates/0.6/2424_gameobject_template.sql1
-rw-r--r--sql/updates/0.6/2429_taxi.sql3
-rw-r--r--sql/updates/0.6/2445_command.sql1
-rw-r--r--sql/updates/0.6/2448_command.sql3
-rw-r--r--sql/updates/0.6/2448_game_graveyard.sql9
-rw-r--r--sql/updates/0.6/2454_command.sql1
-rw-r--r--sql/updates/0.6/2467_quest_template.sql2
-rw-r--r--sql/updates/0.6/2468_command.sql3
-rw-r--r--sql/updates/0.6/2469_skinning_loot_template.sql50
-rw-r--r--sql/updates/0.6/2479_loot_template.sql15
-rw-r--r--sql/updates/0.6/2494_command.sql1
-rw-r--r--sql/updates/0.6/2495_item_loot_template.sql8
-rw-r--r--sql/updates/0.6/2500_command.sql1
-rw-r--r--sql/updates/0.6/2513_guild_rank.sql3
-rw-r--r--sql/updates/0.6/2516_auctionhouse.sql5
-rw-r--r--sql/updates/0.6/2517_guild_charters.sql16
-rw-r--r--sql/updates/0.6/2518_guild.sql2
-rw-r--r--sql/updates/0.6/2530_loot_template.sql6
-rw-r--r--sql/updates/0.6/2549_character.sql1
-rw-r--r--sql/updates/0.6/2571_quest_template.sql3
-rw-r--r--sql/updates/0.6/2572_creature_template.sql3
-rw-r--r--sql/updates/0.6/2578_character.sql3
-rw-r--r--sql/updates/0.6/2580_character.sql2
-rw-r--r--sql/updates/0.6/2580_insatne.sql10
-rw-r--r--sql/updates/0.6/2584_character.sql2
-rw-r--r--sql/updates/0.6/2584_instance.sql1
-rw-r--r--sql/updates/0.6/2597_playercreateinfo_action.sql13
-rw-r--r--sql/updates/0.6/2597_playercreateinfo_item.sql16
-rw-r--r--sql/updates/0.6/2597_playercreateinfo_reputation.sql14
-rw-r--r--sql/updates/0.6/2597_playercreateinfo_skill.sql14
-rw-r--r--sql/updates/0.6/2597_playercreateinfo_spell.sql14
-rw-r--r--sql/updates/0.6/2598_playercreateinfo.sql6
-rw-r--r--sql/updates/0.6/2605_realmd_account.sql3
-rw-r--r--sql/updates/0.6/2610_character.sql1
-rw-r--r--sql/updates/0.6/2617_character_spell_cooldown.sql9
-rw-r--r--sql/updates/0.6/2622_character.sql5
-rw-r--r--sql/updates/0.6/2622_gameobject.sql1
-rw-r--r--sql/updates/0.6/2622_transports.sql8
-rw-r--r--sql/updates/0.6/2630_command.sql1
-rw-r--r--sql/updates/0.6/2633_character_spell_cooldown.sql2
-rw-r--r--sql/updates/0.6/2637_auctionhouse.sql6
-rw-r--r--sql/updates/0.6/2637_mail.sql7
-rw-r--r--sql/updates/0.6/2641_command.sql2
-rw-r--r--sql/updates/0.6/2642_loot_template.sql34
-rw-r--r--sql/updates/0.6/2649_command.sql2
-rw-r--r--sql/updates/0.6/2660_command.sql5
-rw-r--r--sql/updates/0.6/2663_command.sql2
-rw-r--r--sql/updates/0.6/2670_command.sql8
-rw-r--r--sql/updates/0.6/2674_quest_template.sql11
-rw-r--r--sql/updates/0.6/2674_scripts.sql13
-rw-r--r--sql/updates/0.6/2680_game_addons.sql1
-rw-r--r--sql/updates/0.6/2684_gameobject.sql4
-rw-r--r--sql/updates/0.6/2684_quest_template.sql13
-rw-r--r--sql/updates/0.6/2688_command.sql2
-rw-r--r--sql/updates/0.6/2688_player_levelstats.sql2422
-rw-r--r--sql/updates/0.6/2688_playercreateinfo.sql13
-rw-r--r--sql/updates/0.6/2689_player_levelstats.sql2422
-rw-r--r--sql/updates/0.6/2691_player_levelupgains.sql1
-rw-r--r--sql/updates/0.6/2699_character_inventory.sql9
-rw-r--r--sql/updates/0.6/2703_command.sql6
-rw-r--r--sql/updates/0.6/2713_quest_template.sql6
-rw-r--r--sql/updates/0.6/2746_command.sql1
-rw-r--r--sql/updates/0.6/2746_creature.sql3
-rw-r--r--sql/updates/0.6/2754_realmd.sql1
-rw-r--r--sql/updates/0.6/2762_command.sql1
-rw-r--r--sql/updates/0.6/2765_auctionHouse.sql17
-rw-r--r--sql/updates/0.6/2765_mail.sql17
-rw-r--r--sql/updates/0.6/2778_command.sql2
-rw-r--r--sql/updates/0.6/2787_item_instance.sql3
-rw-r--r--sql/updates/0.6/2798_command.sql1
-rw-r--r--sql/updates/0.6/2803_command.sql11
-rw-r--r--sql/updates/0.6/2808_command.sql2
-rw-r--r--sql/updates/0.6/2812_character_pet.sql2
-rw-r--r--sql/updates/0.6/2812_pet_name_generation.sql211
-rw-r--r--sql/updates/0.6/2815_character_pet.sql2
-rw-r--r--sql/updates/0.6/2821_raidgroups.sql24
-rw-r--r--sql/updates/0.6/2828_character.sql27
-rw-r--r--sql/updates/0.6/2838_corpse_grid.sql1
-rw-r--r--sql/updates/0.6/2838_creature_grid.sql1
-rw-r--r--sql/updates/0.6/2838_gameobject_grid.sql1
-rw-r--r--sql/updates/0.6/2842_character_pet.sql10
-rw-r--r--sql/updates/0.6/2843_character_pet.sql2
-rw-r--r--sql/updates/0.6/2850_command.sql5
-rw-r--r--sql/updates/0.6/2869_command.sql1
-rw-r--r--sql/updates/0.6/2875_npc_trainer.sql2
-rw-r--r--sql/updates/0.6/2875_spell_chain.sql1359
-rw-r--r--sql/updates/0.6/2881_spell_chain.sql7
-rw-r--r--sql/updates/0.6/2885_character.sql2
-rw-r--r--sql/updates/0.6/2912_areatrigger_template.sql1
-rw-r--r--sql/updates/0.6/2916_character.sql2
-rw-r--r--sql/updates/0.6/2938_spell_scripts.sql13
-rw-r--r--sql/updates/0.6/2940_playercreateinfo_skill.sql1
-rw-r--r--sql/updates/0.6/2958_command.sql2
-rw-r--r--sql/updates/0.6/2958_scripts.sql2
-rw-r--r--sql/updates/0.6/2958_spell_scripts.sql2
-rw-r--r--sql/updates/0.6/2982_command.sql1
-rw-r--r--sql/updates/0.6/2993_command.sql20
-rw-r--r--sql/updates/0.6/3005.sql166
-rw-r--r--sql/updates/0.6/3010_item_template.sql1
-rw-r--r--sql/updates/0.6/3017_auctionhouse.sql5
-rw-r--r--sql/updates/0.6/3020_command.sql2
-rw-r--r--sql/updates/0.6/3032_creature.sql7
-rw-r--r--sql/updates/0.6/3044_gameobject_template.sql2
-rw-r--r--sql/updates/0.6/3054_command.sql5
-rw-r--r--sql/updates/0.6/3059_pet_levelstats.sql12
-rw-r--r--sql/updates/0.6/3068_command.sql2
-rw-r--r--sql/updates/0.6/3075_creature.sql8
-rw-r--r--sql/updates/0.6/3075_gameobject.sql12
-rw-r--r--sql/updates/0.6/3090_command.sql1
-rw-r--r--sql/updates/0.6/3090_creature_template.sql6
-rw-r--r--sql/updates/0.6/3090_loot_template.sql17
-rw-r--r--sql/updates/0.6/3091_spell_proc_event.sql831
-rw-r--r--sql/updates/0.6/3092_quest_template.sql2
-rw-r--r--sql/updates/0.6/3096_spell_proc_event.sql1
-rw-r--r--sql/updates/0.6/3106_command.sql5
-rw-r--r--sql/updates/0.6/3107_playercreateinfo_skill.sql6
-rw-r--r--sql/updates/0.6/3108_quest_template.sql5
-rw-r--r--sql/updates/0.6/3110_quest_template.sql98
-rw-r--r--sql/updates/0.6/3115_quest_template.sql7
-rw-r--r--sql/updates/0.7/3138_character_inventory.sql2
-rw-r--r--sql/updates/0.7/3138_disenchaning_loot_template.sql11
-rw-r--r--sql/updates/0.7/3138_item_template.sql2
-rw-r--r--sql/updates/0.7/3141_spell_threat.sql19
-rw-r--r--sql/updates/0.7/3144_command.sql5
-rw-r--r--sql/updates/0.7/3150_command.sql3
-rw-r--r--sql/updates/0.7/3162_character_queststatus.sql2
-rw-r--r--sql/updates/0.7/3162_command.sql1
-rw-r--r--sql/updates/0.7/3162_quest_template.sql2
-rw-r--r--sql/updates/0.7/3174_command.sql1
-rw-r--r--sql/updates/0.7/3179_quest_template.sql3
-rw-r--r--sql/updates/0.7/3180_spell_proc_event.sql2
-rw-r--r--sql/updates/0.7/3183_command.sql1
-rw-r--r--sql/updates/0.7/3186_command.sql1
-rw-r--r--sql/updates/0.7/3202_character_gifts.sql10
-rw-r--r--sql/updates/0.7/3205_character_inventory.sql3
-rw-r--r--sql/updates/0.7/3231_quest_template.sql9
-rw-r--r--sql/updates/0.7/3245_item_text.sql6
-rw-r--r--sql/updates/0.7/3245_mail.sql3
-rw-r--r--sql/updates/0.7/3245_page_text.sql7
-rw-r--r--sql/updates/0.7/3246_character_reputation.sql24
-rw-r--r--sql/updates/0.7/3251_commands.sql2
-rw-r--r--sql/updates/0.7/3252.sql74
-rw-r--r--sql/updates/0.7/3296_commands.sql4
-rw-r--r--sql/updates/0.7/3296_playercreateinfo_skill.sql32
-rw-r--r--sql/updates/0.7/3296_spell_learn_skill.sql57
-rw-r--r--sql/updates/0.7/3310_spell_learn_spell.sql61
-rw-r--r--sql/updates/0.7/3316_playercreateinfo_reputation.sql1
-rw-r--r--sql/updates/0.7/3323.sql31
-rw-r--r--sql/updates/0.7/3344_playercreateinfo_spell.sql13
-rw-r--r--sql/updates/0.7/3346_command.sql4
-rw-r--r--sql/updates/0.7/3348_playercreateinfo_spell.sql7
-rw-r--r--sql/updates/0.7/3350_command.sql7
-rw-r--r--sql/updates/0.7/3351_character_pet.sql3
-rw-r--r--sql/updates/0.7/3397_creature_template.sql12
-rw-r--r--sql/updates/0.7/3400.sql75
-rw-r--r--sql/updates/0.7/3402_creature_onkill_reputation.sql13
-rw-r--r--sql/updates/0.7/3410_group.sql7
-rw-r--r--sql/updates/0.7/3424_command.sql11
-rw-r--r--sql/updates/0.7/3463_mangos.sql116
-rw-r--r--sql/updates/0.7/3463_realm.sql1
-rw-r--r--sql/updates/0.7/3474_creature_addon.sql17
-rw-r--r--sql/updates/0.7/3501.sql37
-rw-r--r--sql/updates/0.7/3503_creature_movement.sql7
-rw-r--r--sql/updates/0.7/3512_character_spell_cooldown.sql1
-rw-r--r--sql/updates/0.7/3514_mail.sql3
-rw-r--r--sql/updates/0.7/3516_spell_learn_spell.sql4
-rw-r--r--sql/updates/0.7/3533_command.sql1
-rw-r--r--sql/updates/0.7/3538_guild_charter_sign.sql6
-rw-r--r--sql/updates/0.7/3539_item_template.sql12
-rw-r--r--sql/updates/0.7/3545_creature_movement.sql2
-rw-r--r--sql/updates/0.7/3547_character_reputation.sql72
-rw-r--r--sql/updates/0.7/3553_creature_onkill_reputation.sql6
-rw-r--r--sql/updates/0.7/3562_player_levelstats.sql5
-rw-r--r--sql/updates/0.7/3605_creature_addon.sql2
-rw-r--r--sql/updates/0.7/3605_grid.sql3
-rw-r--r--sql/updates/0.7/3611_spell_learn_skill.sql5
-rw-r--r--sql/updates/0.7/3616_commands.sql6
-rw-r--r--sql/updates/0.7/3627_quest_template.sql5
-rw-r--r--sql/updates/0.7/3631_gameobject_template.sql15
-rw-r--r--sql/updates/0.7/3636_character_spell.sql2
-rw-r--r--sql/updates/0.7/3636_playercreateinfo_spell.sql2
-rw-r--r--sql/updates/0.7/3646_spell_chain.sql6
-rw-r--r--sql/updates/0.7/3648_command.sql1
-rw-r--r--sql/updates/0.7/3649_spell_chain.sql8
-rw-r--r--sql/updates/0.7/3653_spell.sql4
-rw-r--r--sql/updates/0.7/3655_quest_template.sql24
-rw-r--r--sql/updates/0.7/3657_command.sql1
-rw-r--r--sql/updates/0.7/3660_character_kill.sql1
-rw-r--r--sql/updates/0.7/3700_character.sql1
-rw-r--r--sql/updates/0.7/3728_spell_proc_event.sql3
-rw-r--r--sql/updates/0.7/3730_command.sql1
-rw-r--r--sql/updates/0.7/3732_spell_affect.sql113
-rw-r--r--sql/updates/0.7/3739_looking_for_group.sql1
-rw-r--r--sql/updates/0.7/3746_spell_proc_event.sql2
-rw-r--r--sql/updates/0.7/3747_command.sql1
-rw-r--r--sql/updates/0.7/3748_command.sql3
-rw-r--r--sql/updates/0.7/3753_battleground_template.sql24
-rw-r--r--sql/updates/0.7/3763_spell_affect.sql935
-rw-r--r--sql/updates/0.7/3766_spell_proc_event.sql4
-rw-r--r--sql/updates/0.7/3771_creature_template.sql1
-rw-r--r--sql/updates/0.7/3773.sql3
-rw-r--r--sql/updates/0.7/3774_playercreateinfo_spell.sql7
-rw-r--r--sql/updates/0.7/3782_command.sql1
-rw-r--r--sql/updates/0.7/3784_command.sql4
-rw-r--r--sql/updates/0.7/3787_spell_proc_event.sql8
-rw-r--r--sql/updates/0.7/3801_banAccount.sql33
-rw-r--r--sql/updates/0.7/3801_command.sql6
-rw-r--r--sql/updates/0.7/3802_arena_teams.sql44
-rw-r--r--sql/updates/0.7/3802_petitions.sql6
-rw-r--r--sql/updates/0.7/3805_spell_proc_event.sql5
-rw-r--r--sql/updates/0.7/3806_petitions.sql8
-rw-r--r--sql/updates/0.7/3833_quest_template.sql1
-rw-r--r--sql/updates/0.7/3845_account.sql2
-rw-r--r--sql/updates/0.7/3845_command.sql3
-rw-r--r--sql/updates/0.7/3859_spell_affect.sql79
-rw-r--r--sql/updates/0.7/3860_creature_template.sql2
-rw-r--r--sql/updates/0.7/3862_prospecting_loot_template.sql11
-rw-r--r--sql/updates/0.7/3874_spell_scripts.sql1
-rw-r--r--sql/updates/0.7/3875_item_template.sql3
-rw-r--r--sql/updates/0.7/3876_character_ticket.sql1
-rw-r--r--sql/updates/0.7/3884_quest_scripts.sql2
-rw-r--r--sql/updates/0.7/3891_quest_scripts.sql38
-rw-r--r--sql/updates/0.7/3906_areatrigger_template.sql2
-rw-r--r--sql/updates/0.7/3929_spell_affect.sql38
-rw-r--r--sql/updates/0.7/3932_item_enchantment_template.sql7
-rw-r--r--sql/updates/0.7/3932_item_template.sql3
-rw-r--r--sql/updates/0.7/3939_realmd_account.sql2
-rw-r--r--sql/updates/0.7/3948_realmd_account.sql1
-rw-r--r--sql/updates/0.7/3951_exploration_basexp.sql8
-rw-r--r--sql/updates/0.7/3961_uptime.sql7
-rw-r--r--sql/updates/0.7/3964_command.sql1
-rw-r--r--sql/updates/0.7/4010_spell_proc_event.sql10
-rw-r--r--sql/updates/0.7/4012_spell_proc_event.sql4
-rw-r--r--sql/updates/0.7/4018_spell_proc_event.sql7
-rw-r--r--sql/updates/0.7/4019_spell_chain.sql5
-rw-r--r--sql/updates/0.7/4019_spell_proc_event.sql9
-rw-r--r--sql/updates/0.7/4020_spell_chain.sql4
-rw-r--r--sql/updates/0.7/4020_spell_proc_event.sql21
-rw-r--r--sql/updates/0.7/4021_spell_chain.sql5
-rw-r--r--sql/updates/0.7/4021_spell_proc_event.sql4
-rw-r--r--sql/updates/0.7/4023_spell_proc_event.sql11
-rw-r--r--sql/updates/0.7/4026_spell_proc_event.sql8
-rw-r--r--sql/updates/0.7/4028_spell_chain.sql18
-rw-r--r--sql/updates/0.7/4028_spell_proc_event.sql35
-rw-r--r--sql/updates/0.7/4031_spell_chain.sql10
-rw-r--r--sql/updates/0.7/4031_spell_proc_event.sql45
-rw-r--r--sql/updates/0.7/4035_spell_proc_event.sql10
-rw-r--r--sql/updates/0.7/4036_spell_proc_event.sql1
-rw-r--r--sql/updates/0.7/4037_spell_proc_event.sql8
-rw-r--r--sql/updates/0.7/4096_pet.sql290
-rw-r--r--sql/updates/0.8/4058.sql4
-rw-r--r--sql/updates/0.8/4059_spell_learn_skill.sql1
-rw-r--r--sql/updates/0.8/4059_spell_learn_spell.sql1
-rw-r--r--sql/updates/0.8/4076_character_spell.sql6
-rw-r--r--sql/updates/0.8/4076_playercreateinfo_spell.sql2016
-rw-r--r--sql/updates/0.8/4081_command.sql8
-rw-r--r--sql/updates/0.8/4096_pet.sql290
-rw-r--r--sql/updates/0.8/4116_creature_template.sql2
-rw-r--r--sql/updates/0.8/4133_command.sql6
-rw-r--r--sql/updates/0.8/4133_spell_chain.sql7
-rw-r--r--sql/updates/0.8/4134_command.sql6
-rw-r--r--sql/updates/0.8/4139_spell_proc_event.sql5
-rw-r--r--sql/updates/0.8/4140_command.sql4
-rw-r--r--sql/updates/0.8/4145_character_reputation.sql1
-rw-r--r--sql/updates/0.8/4154_spell_proc_event.sql23
-rw-r--r--sql/updates/0.8/4176_character.sql1
-rw-r--r--sql/updates/0.8/4176_command.sql3
-rw-r--r--sql/updates/0.8/4187_command.sql5
-rw-r--r--sql/updates/0.8/4204_command.sql4
-rw-r--r--sql/updates/0.8/4205_creature_template.sql4
-rw-r--r--sql/updates/0.8/4224_character_aura.sql6
-rw-r--r--sql/updates/0.8/4224_pet_aura.sql6
-rw-r--r--sql/updates/0.8/4235_spell_proc_event.sql7
-rw-r--r--sql/updates/0.8/4239_spell_chain.sql4
-rw-r--r--sql/updates/0.8/4239_spell_proc_event.sql9
-rw-r--r--sql/updates/0.8/4242_spell_proc_event.sql34
-rw-r--r--sql/updates/0.8/4243_spell_affect.sql19
-rw-r--r--sql/updates/0.8/4248_spell_chain.sql13
-rw-r--r--sql/updates/0.8/4248_spell_proc_event.sql70
-rw-r--r--sql/updates/0.8/4252_spell_threat.sql4
-rw-r--r--sql/updates/0.8/4255_spell_chain.sql6
-rw-r--r--sql/updates/0.8/4258_command.sql4
-rw-r--r--sql/updates/0.8/4259_spell_chain.sql7
-rw-r--r--sql/updates/0.8/4259_spell_proc_event.sql19
-rw-r--r--sql/updates/0.8/4262_spell_proc_event.sql20
-rw-r--r--sql/updates/0.8/4266_spell_proc_event.sql7
-rw-r--r--sql/updates/0.8/4267_command.sql6
-rw-r--r--sql/updates/0.8/4270_spell_proc_event.sql7
-rw-r--r--sql/updates/0.8/4272_spell_proc_event.sql11
-rw-r--r--sql/updates/0.8/4274_character_pet.sql9
-rw-r--r--sql/updates/0.8/4275_game_event.sql21
-rw-r--r--sql/updates/0.8/4288_spell_proc_event.sql47
-rw-r--r--sql/updates/0.8/4294_spell_proc_event.sql23
-rw-r--r--sql/updates/0.8/4296_spell_proc_event.sql4
-rw-r--r--sql/updates/0.8/4317_spell_affect.sql4
-rw-r--r--sql/updates/0.8/4320_spell_affect.sql4
-rw-r--r--sql/updates/0.8/4331_spell_chain.sql6
-rw-r--r--sql/updates/0.8/4331_spell_proc_event.sql15
-rw-r--r--sql/updates/0.8/4341_game_event.sql4
-rw-r--r--sql/updates/0.8/4356_command.sql1
-rw-r--r--sql/updates/0.8/4369_battleground_template.sql2
-rw-r--r--sql/updates/0.8/4376_battleground_template.sql3
-rw-r--r--sql/updates/0.8/4392_battleground_template.sql2
-rw-r--r--sql/updates/0.8/4395_spell_chain.sql20
-rw-r--r--sql/updates/0.8/4397_command.sql15
-rw-r--r--sql/updates/0.8/4401_spell_chain.sql11
-rw-r--r--sql/updates/0.8/4403_reserved_name.sql5
-rw-r--r--sql/updates/0.8/4407_character.sql3
-rw-r--r--sql/updates/0.8/4407_character_kill.sql7
-rw-r--r--sql/updates/0.8/4407_command.sql11
-rw-r--r--sql/updates/0.8/4414_spell_chain.sql312
-rw-r--r--sql/updates/0.8/4414_spell_proc_event.sql8
-rw-r--r--sql/updates/0.8/4417_quest_template.sql4
-rw-r--r--sql/updates/0.8/4420_spell_proc_event.sql10
-rw-r--r--sql/updates/0.8/4422_command.sql1
-rw-r--r--sql/updates/0.8/4425_character.sql7
-rw-r--r--sql/updates/0.8/4425_command.sql10
-rw-r--r--sql/updates/0.8/4426_creature_template.sql1
-rw-r--r--sql/updates/0.8/4430_spell_proc_event.sql4
-rw-r--r--sql/updates/0.8/4432_item_template.sql6
-rw-r--r--sql/updates/0.8/4432_spell_chain.sql7
-rw-r--r--sql/updates/0.8/4432_spell_proc_event.sql5
-rw-r--r--sql/updates/0.8/4434_spell_proc_event.sql5
-rw-r--r--sql/updates/0.8/4437_character_aura.sql6
-rw-r--r--sql/updates/0.8/4437_pet_aura.sql6
-rw-r--r--sql/updates/0.8/4439_spell_proc_event.sql5
-rw-r--r--sql/updates/0.8/4446_creature_template.sql1
-rw-r--r--sql/updates/0.8/4464_instance.sql1
-rw-r--r--sql/updates/0.8/4464_instance_template.sql1
-rw-r--r--sql/updates/0.8/4470_command.sql4
-rw-r--r--sql/updates/0.8/4480_spell_affect.sql9
-rw-r--r--sql/updates/0.8/4481_spell_affect.sql4
-rw-r--r--sql/updates/0.8/4482_playercreateinfo.sql11
-rw-r--r--sql/updates/0.8/4482_spell_proc_event.sql7
-rw-r--r--sql/updates/0.8/4488_db_version.sql6
-rw-r--r--sql/updates/0.8/4491_spell_affect.sql9
-rw-r--r--sql/updates/0.8/4496_spell_script_target.sql6
-rw-r--r--sql/updates/0.8/4498_spell_proc_event.sql8
-rw-r--r--sql/updates/0.8/4499_spell_script_target.sql3
-rw-r--r--sql/updates/0.8/4501.sql112
-rw-r--r--sql/updates/0.8/4503_spell_chain.sql4
-rw-r--r--sql/updates/0.8/4503_spell_proc_event.sql49
-rw-r--r--sql/updates/0.8/4504_spell_affect.sql24
-rw-r--r--sql/updates/0.8/4504_spell_proc_event.sql3
-rw-r--r--sql/updates/0.8/4506_spell_learn_spell.sql6
-rw-r--r--sql/updates/0.8/4507_quest_template.sql2
-rw-r--r--sql/updates/0.8/4510_spell_proc_event.sql13
-rw-r--r--sql/updates/0.8/4513_spell_proc_event.sql3
-rw-r--r--sql/updates/0.8/4517_spell_affect.sql6
-rw-r--r--sql/updates/0.8/4524_spell_proc_event.sql3
-rw-r--r--sql/updates/0.8/4537_player_levelstats.sql3668
-rw-r--r--sql/updates/0.8/4540_battleground_template.sql1
-rw-r--r--sql/updates/0.8/4544_creature_addon.sql2
-rw-r--r--sql/updates/0.8/4544_creature_template_addon.sql17
-rw-r--r--sql/updates/0.8/4547_spell_affect.sql4
-rw-r--r--sql/updates/0.8/4547_spell_proc_event.sql7
-rw-r--r--sql/updates/0.8/4551_item_template.sql2
-rw-r--r--sql/updates/0.8/4556_realmlist.sql3
-rw-r--r--sql/updates/0.8/4561_command.sql4
-rw-r--r--sql/updates/0.8/4571_button_scripts.sql17
-rw-r--r--sql/updates/0.8/4577_gameobject.sql2
-rw-r--r--sql/updates/0.8/4579.sql274
-rw-r--r--sql/updates/0.8/4582_spell_affect.sql9
-rw-r--r--sql/updates/0.8/4584_character_inventory.sql2
-rw-r--r--sql/updates/0.8/4585_item_instance.sql2
-rw-r--r--sql/updates/0.8/4587_character_quest_daily.sql9
-rw-r--r--sql/updates/0.8/4588_command.sql1
-rw-r--r--sql/updates/0.8/4592_command.sql1
-rw-r--r--sql/updates/0.8/4592_realmlist.sql2
-rw-r--r--sql/updates/0.8/4594_item_template.sql3
-rw-r--r--sql/updates/0.8/4595_command.sql5
-rw-r--r--sql/updates/0.8/4595_spell_affect.sql105
-rw-r--r--sql/updates/0.8/4597_realmlist.sql2
-rw-r--r--sql/updates/0.8/4599_command.sql5
-rw-r--r--sql/updates/0.8/4603_spell_affect.sql83
-rw-r--r--sql/updates/0.8/4605_creature_addon.sql3
-rw-r--r--sql/updates/0.8/4605_creature_template_addon.sql3
-rw-r--r--sql/updates/0.8/4608_game_graveyard_zone.sql25
-rw-r--r--sql/updates/0.8/4615_creature_template.sql3
-rw-r--r--sql/updates/0.8/4627_game_event_model_equip.sql8
-rw-r--r--sql/updates/0.9/4615_creature_template.sql3
-rw-r--r--sql/updates/0.9/4627_game_event_model_equip.sql8
-rw-r--r--sql/updates/0.9/4628.sql76
-rw-r--r--sql/updates/0.9/4632_areatrigger_teleport.sql12
-rw-r--r--sql/updates/0.9/4633_spell_teleport.sql17
-rw-r--r--sql/updates/0.9/4640_command.sql4
-rw-r--r--sql/updates/0.9/4656_game_event_creature_quest.sql7
-rw-r--r--sql/updates/0.9/4657_quest_template.sql5
-rw-r--r--sql/updates/0.9/4664.sql982
-rw-r--r--sql/updates/0.9/4667_characters_character.sql2
-rw-r--r--sql/updates/0.9/4674_mangos_skill_discovery_template.sql8
-rw-r--r--sql/updates/0.9/4679_mangos_spell_proc_event.sql4
-rw-r--r--sql/updates/0.9/4687_mangos_loot_template.sql86
-rw-r--r--sql/updates/0.9/4689_mangos_loot_template.sql23
-rw-r--r--sql/updates/0.9/4695_mangos_loot_template.sql39
-rw-r--r--sql/updates/0.9/4704_mangos_battlemaster_entry.sql11
-rw-r--r--sql/updates/0.9/4714_mangos_spell_threat.sql45
-rw-r--r--sql/updates/0.9/4718_mangos_uptime.sql1
-rw-r--r--sql/updates/0.9/4737_mangos_command.sql15
-rw-r--r--sql/updates/0.9/4764_characters_auctionhouse.sql2
-rw-r--r--sql/updates/0.9/4772_mangos_item_template.sql1
-rw-r--r--sql/updates/0.9/4781_mangos_gameobject_loot_template.sql50
-rw-r--r--sql/updates/0.9/4788_mangos_gameobject_template.sql25
-rw-r--r--sql/updates/0.9/4793_mangos_spell_affect.sql109
-rw-r--r--sql/updates/0.9/4799_mangos_creature_addon.sql37
-rw-r--r--sql/updates/0.9/4815_mangos_quest_template.sql3
-rw-r--r--sql/updates/0.9/4829_mangos_command.sql5
-rw-r--r--sql/updates/0.9/4842_mangos_quest_template.sql4
-rw-r--r--sql/updates/5651_characters_character_social.sql5
-rw-r--r--sql/updates/5651_characters_characters.sql19
-rw-r--r--sql/updates/5651_characters_guild_bank_tab.sql1
-rw-r--r--sql/updates/5651_mangos_creature_template.sql2
-rw-r--r--sql/updates/5655_mangos_spell_affect.sql39
-rw-r--r--sql/updates/5655_mangos_spell_chain.sql1
-rw-r--r--sql/updates/5655_mangos_spell_proc_event.sql1
-rw-r--r--sql/updates/5659_mangos_loot_template.sql23
-rw-r--r--sql/updates/5660_mangos_spell_elixir.sql4
-rw-r--r--sql/updates/5664_mangos.sql6
-rw-r--r--sql/updates/5665_mangos_creature_template.sql1
-rw-r--r--sql/updates/5679_mangos_creature_template.sql9
-rw-r--r--sql/updates/5680_mangos_spell_proc_event.sql4
-rw-r--r--sql/updates/5698_mangos_item_template.sql2
-rw-r--r--sql/updates/5708_mangos_player_levelstats.sql70
-rw-r--r--sql/updates/5711_characters_character_kill.sql1
-rw-r--r--sql/updates/5711_mangos_command.sql5
-rw-r--r--sql/updates/5714_mangos_command.sql3
-rw-r--r--sql/updates/5714_mangos_mangos_string.sql4
-rw-r--r--sql/updates/5718_mangos_command.sql8
-rw-r--r--sql/updates/5718_mangos_creature_template.sql1
-rw-r--r--sql/updates/5718_mangos_mangos_string.sql26
-rw-r--r--sql/updates/5720_mangos_command.sql3
-rw-r--r--sql/updates/5720_mangos_mangos_string.sql3
-rw-r--r--sql/updates/5721_mangos_spell_affect.sql24
-rw-r--r--sql/updates/5733_mangos_creature.sql5
-rw-r--r--sql/updates/5739_mangos_creature.sql1
-rw-r--r--sql/updates/5739_mangos_gameobject.sql1
-rw-r--r--sql/updates/5746_mangos_quest_template.sql3
-rw-r--r--sql/updates/5753_mangos_areatrigger_teleport.sql6
-rw-r--r--sql/updates/5758_mangos_creature_addon.sql2
-rw-r--r--sql/updates/5759_mangos_command.sql4
-rw-r--r--sql/updates/5764_characters_characters.sql2
-rw-r--r--sql/updates/5764_mangos_command.sql4
-rw-r--r--sql/updates/5771_mangos_spell_learn_spell.sql9
-rw-r--r--sql/updates/5772_mangos_command.sql118
-rw-r--r--sql/updates/5773_mangos_spell_affect.sql3
-rw-r--r--sql/updates/5773_mangos_spell_learn_spell.sql6
-rw-r--r--sql/updates/5774_mangos_command.sql5
-rw-r--r--sql/updates/5774_mangos_mangos_string.sql4
-rw-r--r--sql/updates/5777_mangos_command.sql1
-rw-r--r--sql/updates/5778_mangos_spell_affect.sql3
-rw-r--r--sql/updates/5779_mangos_quest_template.sql21
-rw-r--r--sql/updates/5784_mangos_player_levelstats.sql70
-rw-r--r--sql/updates/5787_mangos_player_levelstats.sql70
-rw-r--r--sql/updates/5790_mangos_player_classlevelstats.sql640
-rw-r--r--sql/updates/5790_mangos_player_levelstats.sql3
-rw-r--r--sql/updates/5799_mangos_spell_proc_event.sql6
-rw-r--r--sql/updates/5813_mangos_mangos_string.sql27
-rw-r--r--sql/updates/5827_mangos_spell_affect.sql5
-rw-r--r--sql/updates/5827_mangos_spell_chain.sql8
-rw-r--r--sql/updates/5827_mangos_spell_learn_spell.sql5
-rw-r--r--sql/updates/5827_mangos_spell_proc_event.sql7
-rw-r--r--sql/updates/5831_mangos_skill_fishing_base_level.sql6
-rw-r--r--sql/updates/5842_mangos_spell_affect.sql4
-rw-r--r--sql/updates/5845_mangos_spell_proc_event.sql4
-rw-r--r--sql/updates/5847_mangos_command.sql4
-rw-r--r--sql/updates/5857_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/5861_mangos_command.sql10
-rw-r--r--sql/updates/5865_mangos_command.sql4
-rw-r--r--sql/updates/5867_mangos_spell_affect.sql3
-rw-r--r--sql/updates/5875_mangos_quest_template.sql1
-rw-r--r--sql/updates/5880_mangos_mangos_string.sql3
-rw-r--r--sql/updates/5882_mangos_spell_affect.sql29
-rw-r--r--sql/updates/5890_mangos_quest_template.sql1
-rw-r--r--sql/updates/5896_mangos_spell_proc_event.sql4
-rw-r--r--sql/updates/5923_mangos_spell_affect.sql1
-rw-r--r--sql/updates/5940_mangos_spell_affect.sql3
-rw-r--r--sql/updates/5946_mangos_spell_affect.sql19
-rw-r--r--sql/updates/5955_characters_guild_eventlog.sql10
-rw-r--r--sql/updates/5965_mangos_mangos_string.sql4
-rw-r--r--sql/updates/5973_mangos_spell_proc_event.sql4
-rw-r--r--sql/updates/5977_characters_pet.sql3
-rw-r--r--sql/updates/5982_mangos.sql2
-rw-r--r--sql/updates/5986_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/5999_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/6016_mangos_spell_proc_event.sql12
-rw-r--r--sql/updates/6017_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/6022_mangos_spell_proc_event.sql7
-rw-r--r--sql/updates/6023_mangos_mangos_string.sql6
-rw-r--r--sql/updates/6027_mangos_spell_affect.sql12
-rw-r--r--sql/updates/6032_mangos_petcreateinfo_spell.sql1
-rw-r--r--sql/updates/6037_mangos_spell_affect.sql7
-rw-r--r--sql/updates/6038_mangos_creature_template.sql2
-rw-r--r--sql/updates/6047_characters_character_social.sql2
-rw-r--r--sql/updates/6047_characters_guild_bank_tab.sql2
-rw-r--r--sql/updates/6049_mangos_spell_proc_event.sql4
-rw-r--r--sql/updates/6052_mangos_loot_template.sql23
-rw-r--r--sql/updates/6058_mangos_spell_learn_spell.sql4
-rw-r--r--sql/updates/6061_characters_mail.sql2
-rw-r--r--sql/updates/6061_mangos_quest_mail_loot_template.sql13
-rw-r--r--sql/updates/6061_mangos_quest_template.sql3
-rw-r--r--sql/updates/6062_mangos_spell_proc_event.sql19
-rw-r--r--sql/updates/6078_mangos_spell_proc_event.sql7
-rw-r--r--sql/updates/6090_mangos_command.sql8
-rw-r--r--sql/updates/6090_mangos_mangos_string.sql9
-rw-r--r--sql/updates/6151_mangos_spell_proc_event.sql14
-rw-r--r--sql/updates/6164_mangos_command.sql4
-rw-r--r--sql/updates/6171_mangos_spell_affect.sql56
-rw-r--r--sql/updates/6179_mangos_mangos_string.sql6
-rw-r--r--sql/updates/6193_mangos_spell_proc_event.sql12
-rw-r--r--sql/updates/6199_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/6210_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/6213_mangos_spell_target_position.sql1
-rw-r--r--sql/updates/6219_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/6246_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/6251_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/6255_mangos_spell_proc_event.sql15
-rw-r--r--sql/updates/6265_mangos_pet_name_generation.sql270
-rw-r--r--sql/updates/6270_mangos_spell_proc_event.sql4
-rw-r--r--sql/updates/6291_characters_character_pet.sql1
-rw-r--r--sql/updates/6297_characters_characters.sql4
-rw-r--r--sql/updates/6298_characters_characters.sql2
-rw-r--r--sql/updates/6298_characters_corpse.sql9
-rw-r--r--sql/updates/6304_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/6308_mangos_command.sql4
-rw-r--r--sql/updates/6313_mangos_spell_proc_event.sql12
-rw-r--r--sql/updates/6314_mangos_command.sql4
-rw-r--r--sql/updates/6324_mangos_creature_template.sql1
-rw-r--r--sql/updates/6325_mangos_creature_template.sql5
-rw-r--r--sql/updates/6326_characters_corpse.sql8
-rw-r--r--sql/updates/6334_mangos_spell_affect.sql8
-rw-r--r--sql/updates/6335_characters_corpse.sql5
-rw-r--r--sql/updates/6351_mangos_spell_proc_event.sql19
-rw-r--r--sql/updates/6360_characters_characters.sql6
-rw-r--r--sql/updates/6360_characters_corpse.sql6
-rw-r--r--sql/updates/6362_characters.sql34
-rw-r--r--sql/updates/6362_mangos_instance_template.sql1
-rw-r--r--sql/updates/6367_mangos_spell_proc_event.sql1
-rw-r--r--sql/updates/6369_mangos_spell_affect.sql1
-rw-r--r--sql/updates/6370_mangos_spell_affect.sql4
-rw-r--r--sql/updates/6381_mangos_command.sql4
-rw-r--r--sql/updates/6387_characters_character_ticket.sql2
-rw-r--r--sql/updates/6387_mangos_mangos_string.sql3
-rw-r--r--sql/updates/6397_mangos_creature_template.sql1
-rw-r--r--sql/updates/6398_mangos_creature_template.sql2
-rw-r--r--sql/updates/6412_characters_declinedname.sql24
-rw-r--r--sql/updates/6426_mangos_locales.sql87
-rw-r--r--sql/updates/6426_realmd_localization.sql1
-rw-r--r--sql/updates/6431_mangos_mangos_string.sql5
-rw-r--r--sql/updates/6439_mangos_command.sql7
-rw-r--r--sql/updates/6456_mangos_command.sql7
-rw-r--r--sql/updates/6472_realmd_account.sql2
-rw-r--r--sql/updates/6492_mangos_spell_chain.sql36
-rw-r--r--sql/updates/6496_mangos_spell_pet_auras.sql56
-rw-r--r--sql/updates/6506_mangos_spell_proc_event.sql7
-rw-r--r--sql/updates/6509_mangos_command.sql3
-rw-r--r--sql/updates/6509_mangos_mangos_string.sql4
-rw-r--r--sql/updates/6513_mangos_command.sql3
-rw-r--r--sql/updates/6515_mangos_spell_proc_event.sql4
-rw-r--r--sql/updates/6521_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/6523_mangos_spell_proc_event.sql10
-rw-r--r--sql/updates/6528_mangos_spell_affect.sql3
-rw-r--r--sql/updates/6528_mangos_spell_proc_event.sql85
-rw-r--r--sql/updates/6538_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/6540_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/6544_mangos_spell_proc_event.sql5
-rw-r--r--sql/updates/6545_mangos_command.sql7
-rw-r--r--sql/updates/6557_mangos_command.sql3
-rw-r--r--sql/updates/6574_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/6585_mangos_command.sql3
-rw-r--r--sql/updates/6588_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/6596_characters_arena_team.sql10
-rw-r--r--sql/updates/6598_character_spell.sql2
-rw-r--r--sql/updates/6609_mangos_mangos_string.sql3
-rw-r--r--sql/updates/6613_mangos_mangos_string.sql11
-rw-r--r--sql/updates/6627_mangos_creature_movement.sql1
-rw-r--r--sql/updates/6640_mangos_reference_loot_template.sql27
-rw-r--r--sql/updates/6642_characters_declinedname.sql6
-rw-r--r--sql/updates/6668_mangos_spell_proc_event.sql5
-rw-r--r--sql/updates/6673_mangos_areatrigger_scripts.sql7
-rw-r--r--sql/updates/6676_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/6681_mangos_mangos_string.sql5
-rw-r--r--sql/updates/6691_mangos_spell_proc_event.sql3
-rw-r--r--sql/updates/6693_mangos_spell_affect.sql3
-rw-r--r--sql/updates/6693_mangos_spell_proc_event.sql11
-rw-r--r--sql/updates/6698_characters_character_tutorial.sql15
-rw-r--r--sql/updates/Makefile.am384
-rw-r--r--sql/updates/README33
849 files changed, 47453 insertions, 0 deletions
diff --git a/sql/Makefile.am b/sql/Makefile.am
new file mode 100644
index 00000000000..fe7aade1839
--- /dev/null
+++ b/sql/Makefile.am
@@ -0,0 +1,42 @@
+# Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+## Process this file with automake to produce Makefile.in
+
+## Sub-directories to parse
+SUBDIRS = updates tools
+
+## Change installation location
+# datadir = mangos/sql
+pkgdatadir = $(datadir)/mangos/sql
+
+## Files to be installed
+# Install basic SQL files to datadir
+pkgdata_DATA = \
+ mangos.sql \
+ realmd.sql \
+ characters.sql \
+ create_mysql.sql \
+ drop_mysql.sql
+
+## Additional files to include when running 'make dist'
+# SQL files for MaNGOS database
+EXTRA_DIST = \
+ create_mysql.sql \
+ drop_mysql.sql \
+ characters.sql \
+ mangos.sql \
+ realmd.sql
diff --git a/sql/characters.sql b/sql/characters.sql
new file mode 100644
index 00000000000..1c294e21a75
--- /dev/null
+++ b/sql/characters.sql
@@ -0,0 +1,1221 @@
+-- MySQL dump 10.11
+--
+-- Host: localhost Database: characters
+-- ------------------------------------------------------
+-- Server version 5.0.45-Debian_1ubuntu3.1-log
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
+/*!40103 SET TIME_ZONE='+00:00' */;
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+
+--
+-- Table structure for table `arena_team`
+--
+
+DROP TABLE IF EXISTS `arena_team`;
+CREATE TABLE `arena_team` (
+ `arenateamid` int(10) unsigned NOT NULL default '0',
+ `name` char(255) NOT NULL,
+ `captainguid` int(10) unsigned NOT NULL default '0',
+ `type` tinyint(3) unsigned NOT NULL default '0',
+ `BackgroundColor` int(10) unsigned NOT NULL default '0',
+ `EmblemStyle` int(10) unsigned NOT NULL default '0',
+ `EmblemColor` int(10) unsigned NOT NULL default '0',
+ `BorderStyle` int(10) unsigned NOT NULL default '0',
+ `BorderColor` int(10) unsigned NOT NULL default '0',
+ PRIMARY KEY (`arenateamid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `arena_team`
+--
+
+LOCK TABLES `arena_team` WRITE;
+/*!40000 ALTER TABLE `arena_team` DISABLE KEYS */;
+/*!40000 ALTER TABLE `arena_team` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `arena_team_member`
+--
+
+DROP TABLE IF EXISTS `arena_team_member`;
+CREATE TABLE `arena_team_member` (
+ `arenateamid` int(10) unsigned NOT NULL default '0',
+ `guid` int(10) unsigned NOT NULL default '0',
+ `played_week` int(10) unsigned NOT NULL default '0',
+ `wons_week` int(10) unsigned NOT NULL default '0',
+ `played_season` int(10) unsigned NOT NULL default '0',
+ `wons_season` int(10) unsigned NOT NULL default '0'
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `arena_team_member`
+--
+
+LOCK TABLES `arena_team_member` WRITE;
+/*!40000 ALTER TABLE `arena_team_member` DISABLE KEYS */;
+/*!40000 ALTER TABLE `arena_team_member` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `arena_team_stats`
+--
+
+DROP TABLE IF EXISTS `arena_team_stats`;
+CREATE TABLE `arena_team_stats` (
+ `arenateamid` int(10) unsigned NOT NULL default '0',
+ `rating` int(10) unsigned NOT NULL default '0',
+ `games` int(10) unsigned NOT NULL default '0',
+ `wins` int(10) unsigned NOT NULL default '0',
+ `played` int(10) unsigned NOT NULL default '0',
+ `wins2` int(10) unsigned NOT NULL default '0',
+ `rank` int(10) unsigned NOT NULL default '0',
+ PRIMARY KEY (`arenateamid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `arena_team_stats`
+--
+
+LOCK TABLES `arena_team_stats` WRITE;
+/*!40000 ALTER TABLE `arena_team_stats` DISABLE KEYS */;
+/*!40000 ALTER TABLE `arena_team_stats` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `auctionhouse`
+--
+
+DROP TABLE IF EXISTS `auctionhouse`;
+CREATE TABLE `auctionhouse` (
+ `id` int(11) unsigned NOT NULL default '0',
+ `auctioneerguid` int(11) unsigned NOT NULL default '0',
+ `itemguid` int(11) unsigned NOT NULL default '0',
+ `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
+ `itemowner` int(11) unsigned NOT NULL default '0',
+ `buyoutprice` int(11) NOT NULL default '0',
+ `time` bigint(40) NOT NULL default '0',
+ `buyguid` int(11) unsigned NOT NULL default '0',
+ `lastbid` int(11) NOT NULL default '0',
+ `startbid` int(11) NOT NULL default '0',
+ `deposit` int(11) NOT NULL default '0',
+ `location` tinyint(3) unsigned NOT NULL default '3',
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `item_guid` (`itemguid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `auctionhouse`
+--
+
+LOCK TABLES `auctionhouse` WRITE;
+/*!40000 ALTER TABLE `auctionhouse` DISABLE KEYS */;
+/*!40000 ALTER TABLE `auctionhouse` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `bugreport`
+--
+
+DROP TABLE IF EXISTS `bugreport`;
+CREATE TABLE `bugreport` (
+ `id` int(11) NOT NULL auto_increment COMMENT 'Identifier',
+ `type` varchar(255) NOT NULL default '',
+ `content` varchar(255) NOT NULL default '',
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Debug System';
+
+--
+-- Dumping data for table `bugreport`
+--
+
+LOCK TABLES `bugreport` WRITE;
+/*!40000 ALTER TABLE `bugreport` DISABLE KEYS */;
+/*!40000 ALTER TABLE `bugreport` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `characters`
+--
+
+DROP TABLE IF EXISTS `characters`;
+CREATE TABLE `characters` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `account` int(11) unsigned NOT NULL default '0' COMMENT 'Account Identifier',
+ `data` longtext,
+ `name` varchar(12) NOT NULL default '',
+ `race` tinyint(3) unsigned NOT NULL default '0',
+ `class` tinyint(3) unsigned NOT NULL default '0',
+ `position_x` float NOT NULL default '0',
+ `position_y` float NOT NULL default '0',
+ `position_z` float NOT NULL default '0',
+ `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
+ `dungeon_difficulty` tinyint(1) unsigned NOT NULL DEFAULT '0',
+ `orientation` float NOT NULL default '0',
+ `taximask` longtext,
+ `online` tinyint(3) unsigned NOT NULL default '0',
+ `cinematic` tinyint(3) unsigned NOT NULL default '0',
+ `totaltime` int(11) unsigned NOT NULL default '0',
+ `leveltime` int(11) unsigned NOT NULL default '0',
+ `logout_time` bigint(20) unsigned NOT NULL default '0',
+ `is_logout_resting` tinyint(3) unsigned NOT NULL default '0',
+ `rest_bonus` float NOT NULL default '0',
+ `resettalents_cost` int(11) unsigned NOT NULL default '0',
+ `resettalents_time` bigint(20) unsigned NOT NULL default '0',
+ `trans_x` float NOT NULL default '0',
+ `trans_y` float NOT NULL default '0',
+ `trans_z` float NOT NULL default '0',
+ `trans_o` float NOT NULL default '0',
+ `transguid` bigint(20) unsigned NOT NULL default '0',
+ `gmstate` tinyint(3) unsigned NOT NULL default '0',
+ `stable_slots` tinyint(1) unsigned NOT NULL default '0',
+ `at_login` int(11) unsigned NOT NULL default '0',
+ `zone` int(11) unsigned NOT NULL default '0',
+ `death_expire_time` bigint(20) unsigned NOT NULL default '0',
+ `taxi_path` text,
+ PRIMARY KEY (`guid`),
+ KEY `idx_account` (`account`),
+ KEY `idx_online` (`online`),
+ KEY `idx_name` (`name`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `characters`
+--
+
+LOCK TABLES `characters` WRITE;
+/*!40000 ALTER TABLE `characters` DISABLE KEYS */;
+/*!40000 ALTER TABLE `characters` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_action`
+--
+
+DROP TABLE IF EXISTS `character_action`;
+CREATE TABLE `character_action` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `button` tinyint(3) unsigned NOT NULL default '0',
+ `action` smallint(5) unsigned NOT NULL default '0',
+ `type` tinyint(3) unsigned NOT NULL default '0',
+ `misc` tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`button`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_action`
+--
+
+LOCK TABLES `character_action` WRITE;
+/*!40000 ALTER TABLE `character_action` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_action` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_aura`
+--
+
+DROP TABLE IF EXISTS `character_aura`;
+CREATE TABLE `character_aura` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier',
+ `spell` int(11) unsigned NOT NULL default '0',
+ `effect_index` int(11) unsigned NOT NULL default '0',
+ `amount` int(11) NOT NULL default '0',
+ `maxduration` int(11) NOT NULL default '0',
+ `remaintime` int(11) NOT NULL default '0',
+ `remaincharges` int(11) NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`,`effect_index`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_aura`
+--
+
+LOCK TABLES `character_aura` WRITE;
+/*!40000 ALTER TABLE `character_aura` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_aura` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_declinedname`
+--
+
+DROP TABLE IF EXISTS `character_declinedname`;
+CREATE TABLE `character_declinedname` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `genitive` varchar(15) NOT NULL default '',
+ `dative` varchar(15) NOT NULL default '',
+ `accusative` varchar(15) NOT NULL default '',
+ `instrumental` varchar(15) NOT NULL default '',
+ `prepositional` varchar(15) NOT NULL default '',
+ PRIMARY KEY (`guid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+
+--
+-- Dumping data for table `character_declinedname`
+--
+
+LOCK TABLES `character_declinedname` WRITE;
+/*!40000 ALTER TABLE `character_declinedname` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_declinedname` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_gifts`
+--
+
+DROP TABLE IF EXISTS `character_gifts`;
+CREATE TABLE `character_gifts` (
+ `guid` int(20) unsigned NOT NULL default '0',
+ `item_guid` int(11) unsigned NOT NULL default '0',
+ `entry` int(20) unsigned NOT NULL default '0',
+ `flags` int(20) unsigned NOT NULL default '0',
+ PRIMARY KEY (`item_guid`),
+ KEY `idx_guid` (`guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `character_gifts`
+--
+
+LOCK TABLES `character_gifts` WRITE;
+/*!40000 ALTER TABLE `character_gifts` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_gifts` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_homebind`
+--
+
+DROP TABLE IF EXISTS `character_homebind`;
+CREATE TABLE `character_homebind` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
+ `zone` int(11) unsigned NOT NULL default '0' COMMENT 'Zone Identifier',
+ `position_x` float NOT NULL default '0',
+ `position_y` float NOT NULL default '0',
+ `position_z` float NOT NULL default '0',
+ PRIMARY KEY (`guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_homebind`
+--
+
+LOCK TABLES `character_homebind` WRITE;
+/*!40000 ALTER TABLE `character_homebind` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_homebind` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_instance`
+--
+
+DROP TABLE IF EXISTS `character_instance`;
+CREATE TABLE `character_instance` (
+ `guid` int(11) unsigned NOT NULL default '0',
+ `instance` int(11) unsigned NOT NULL default '0',
+ `permanent` tinyint(1) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`instance`),
+ KEY `instance` (`instance`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `character_instance`
+--
+
+LOCK TABLES `character_instance` WRITE;
+/*!40000 ALTER TABLE `character_instance` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_instance` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_inventory`
+--
+
+DROP TABLE IF EXISTS `character_inventory`;
+CREATE TABLE `character_inventory` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `bag` int(11) unsigned NOT NULL default '0',
+ `slot` tinyint(3) unsigned NOT NULL default '0',
+ `item` int(11) unsigned NOT NULL default '0' COMMENT 'Item Global Unique Identifier',
+ `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
+ PRIMARY KEY (`item`),
+ KEY `idx_guid` (`guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_inventory`
+--
+
+LOCK TABLES `character_inventory` WRITE;
+/*!40000 ALTER TABLE `character_inventory` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_inventory` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_pet`
+--
+
+DROP TABLE IF EXISTS `character_pet`;
+CREATE TABLE `character_pet` (
+ `id` int(11) unsigned NOT NULL default '0',
+ `entry` int(11) unsigned NOT NULL default '0',
+ `owner` int(11) unsigned NOT NULL default '0',
+ `modelid` int(11) unsigned default '0',
+ `CreatedBySpell` int(11) unsigned NOT NULL default '0',
+ `PetType` tinyint(3) unsigned NOT NULL default '0',
+ `level` int(11) unsigned NOT NULL default '1',
+ `exp` int(11) unsigned NOT NULL default '0',
+ `Reactstate` tinyint(1) unsigned NOT NULL default '0',
+ `loyaltypoints` int(11) NOT NULL default '0',
+ `loyalty` int(11) unsigned NOT NULL default '0',
+ `trainpoint` int(11) NOT NULL default '0',
+ `name` varchar(100) default 'Pet',
+ `renamed` tinyint(1) unsigned NOT NULL default '0',
+ `slot` int(11) unsigned NOT NULL default '0',
+ `curhealth` int(11) unsigned NOT NULL default '1',
+ `curmana` int(11) unsigned NOT NULL default '0',
+ `curhappiness` int(11) unsigned NOT NULL default '0',
+ `savetime` bigint(20) unsigned NOT NULL default '0',
+ `resettalents_cost` int(11) unsigned NOT NULL default '0',
+ `resettalents_time` bigint(20) unsigned NOT NULL default '0',
+ `abdata` longtext,
+ `teachspelldata` longtext,
+ PRIMARY KEY (`id`),
+ KEY `owner` (`owner`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
+
+--
+-- Dumping data for table `character_pet`
+--
+
+LOCK TABLES `character_pet` WRITE;
+/*!40000 ALTER TABLE `character_pet` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_pet` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_pet_declinedname`
+--
+
+DROP TABLE IF EXISTS `character_pet_declinedname`;
+CREATE TABLE `character_pet_declinedname` (
+ `id` int(11) unsigned NOT NULL default '0',
+ `owner` int(11) unsigned NOT NULL default '0',
+ `genitive` varchar(12) NOT NULL default '',
+ `dative` varchar(12) NOT NULL default '',
+ `accusative` varchar(12) NOT NULL default '',
+ `instrumental` varchar(12) NOT NULL default '',
+ `prepositional` varchar(12) NOT NULL default '',
+ PRIMARY KEY (`id`),
+ KEY owner_key (`owner`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+
+--
+-- Dumping data for table `character_pet_declinedname`
+--
+
+LOCK TABLES `character_pet_declinedname` WRITE;
+/*!40000 ALTER TABLE `character_pet_declinedname` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_pet_declinedname` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_queststatus`
+--
+
+DROP TABLE IF EXISTS `character_queststatus`;
+CREATE TABLE `character_queststatus` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
+ `status` int(11) unsigned NOT NULL default '0',
+ `rewarded` tinyint(1) unsigned NOT NULL default '0',
+ `explored` tinyint(1) unsigned NOT NULL default '0',
+ `timer` bigint(20) unsigned NOT NULL default '0',
+ `mobcount1` int(11) unsigned NOT NULL default '0',
+ `mobcount2` int(11) unsigned NOT NULL default '0',
+ `mobcount3` int(11) unsigned NOT NULL default '0',
+ `mobcount4` int(11) unsigned NOT NULL default '0',
+ `itemcount1` int(11) unsigned NOT NULL default '0',
+ `itemcount2` int(11) unsigned NOT NULL default '0',
+ `itemcount3` int(11) unsigned NOT NULL default '0',
+ `itemcount4` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`quest`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_queststatus`
+--
+
+LOCK TABLES `character_queststatus` WRITE;
+/*!40000 ALTER TABLE `character_queststatus` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_queststatus` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_queststatus_daily`
+--
+
+DROP TABLE IF EXISTS `character_queststatus_daily`;
+CREATE TABLE `character_queststatus_daily` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
+ `time` bigint(20) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`quest`),
+ KEY `idx_guid` (`guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_queststatus_daily`
+--
+
+LOCK TABLES `character_queststatus_daily` WRITE;
+/*!40000 ALTER TABLE `character_queststatus_daily` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_queststatus_daily` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_reputation`
+--
+
+DROP TABLE IF EXISTS `character_reputation`;
+CREATE TABLE `character_reputation` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `faction` int(11) unsigned NOT NULL default '0',
+ `standing` int(11) NOT NULL default '0',
+ `flags` int(11) NOT NULL default '0',
+ PRIMARY KEY (`guid`,`faction`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_reputation`
+--
+
+LOCK TABLES `character_reputation` WRITE;
+/*!40000 ALTER TABLE `character_reputation` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_reputation` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_social`
+--
+
+DROP TABLE IF EXISTS `character_social`;
+CREATE TABLE `character_social` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
+ `friend` int(11) unsigned NOT NULL default '0' COMMENT 'Friend Global Unique Identifier',
+ `flags` tinyint(1) unsigned NOT NULL default '0' COMMENT 'Friend Flags',
+ `note` varchar(48) NOT NULL DEFAULT '' COMMENT 'Friend Note',
+ PRIMARY KEY (`guid`,`friend`,`flags`),
+ KEY `guid` (`guid`),
+ KEY `friend` (`friend`),
+ KEY `guid_flags` (`guid`,`flags`),
+ KEY `friend_flags` (`friend`,`flags`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_social`
+--
+
+LOCK TABLES `character_social` WRITE;
+/*!40000 ALTER TABLE `character_social` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_social` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_spell`
+--
+
+DROP TABLE IF EXISTS `character_spell`;
+CREATE TABLE `character_spell` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
+ `slot` int(11) unsigned NOT NULL default '0',
+ `active` tinyint(3) unsigned NOT NULL default '1',
+ `disabled` tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_spell`
+--
+
+LOCK TABLES `character_spell` WRITE;
+/*!40000 ALTER TABLE `character_spell` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_spell` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_spell_cooldown`
+--
+
+DROP TABLE IF EXISTS `character_spell_cooldown`;
+CREATE TABLE `character_spell_cooldown` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part',
+ `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
+ `item` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
+ `time` bigint(20) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `character_spell_cooldown`
+--
+
+LOCK TABLES `character_spell_cooldown` WRITE;
+/*!40000 ALTER TABLE `character_spell_cooldown` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_spell_cooldown` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_ticket`
+--
+
+DROP TABLE IF EXISTS `character_ticket`;
+CREATE TABLE `character_ticket` (
+ `ticket_id` int(11) unsigned NOT NULL auto_increment,
+ `guid` int(11) unsigned NOT NULL default '0',
+ `ticket_text` text,
+ `ticket_lastchange` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ PRIMARY KEY (`ticket_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_ticket`
+--
+
+LOCK TABLES `character_ticket` WRITE;
+/*!40000 ALTER TABLE `character_ticket` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_ticket` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `character_tutorial`
+--
+
+DROP TABLE IF EXISTS `character_tutorial`;
+CREATE TABLE `character_tutorial` (
+ `account` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Account Identifier',
+ `realmid` int(11) unsigned NOT NULL default '0' COMMENT 'Realm Identifier',
+ `tut0` int(11) unsigned NOT NULL default '0',
+ `tut1` int(11) unsigned NOT NULL default '0',
+ `tut2` int(11) unsigned NOT NULL default '0',
+ `tut3` int(11) unsigned NOT NULL default '0',
+ `tut4` int(11) unsigned NOT NULL default '0',
+ `tut5` int(11) unsigned NOT NULL default '0',
+ `tut6` int(11) unsigned NOT NULL default '0',
+ `tut7` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`account`,`realmid`),
+ KEY acc_key (`account`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_tutorial`
+--
+
+LOCK TABLES `character_tutorial` WRITE;
+/*!40000 ALTER TABLE `character_tutorial` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_tutorial` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `corpse`
+--
+
+DROP TABLE IF EXISTS `corpse`;
+CREATE TABLE `corpse` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `player` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
+ `position_x` float NOT NULL default '0',
+ `position_y` float NOT NULL default '0',
+ `position_z` float NOT NULL default '0',
+ `orientation` float NOT NULL default '0',
+ `zone` int(11) unsigned NOT NULL default '38' COMMENT 'Zone Identifier',
+ `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
+ `data` longtext,
+ `time` bigint(20) unsigned NOT NULL default '0',
+ `corpse_type` tinyint(3) unsigned NOT NULL default '0',
+ `instance` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`),
+ KEY `idx_type` (`corpse_type`),
+ KEY `instance` (`instance`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Death System';
+
+--
+-- Dumping data for table `corpse`
+--
+
+LOCK TABLES `corpse` WRITE;
+/*!40000 ALTER TABLE `corpse` DISABLE KEYS */;
+/*!40000 ALTER TABLE `corpse` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `groups`
+--
+
+DROP TABLE IF EXISTS `groups`;
+CREATE TABLE `groups` (
+ `leaderGuid` int(11) unsigned NOT NULL,
+ `mainTank` int(11) unsigned NOT NULL,
+ `mainAssistant` int(11) unsigned NOT NULL,
+ `lootMethod` tinyint(4) unsigned NOT NULL,
+ `looterGuid` int(11) unsigned NOT NULL,
+ `lootThreshold` tinyint(4) unsigned NOT NULL,
+ `icon1` int(11) unsigned NOT NULL,
+ `icon2` int(11) unsigned NOT NULL,
+ `icon3` int(11) unsigned NOT NULL,
+ `icon4` int(11) unsigned NOT NULL,
+ `icon5` int(11) unsigned NOT NULL,
+ `icon6` int(11) unsigned NOT NULL,
+ `icon7` int(11) unsigned NOT NULL,
+ `icon8` int(11) unsigned NOT NULL,
+ `isRaid` tinyint(1) unsigned NOT NULL,
+ `difficulty` tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (`leaderGuid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Groups';
+
+--
+-- Dumping data for table `groups`
+--
+
+LOCK TABLES `groups` WRITE;
+/*!40000 ALTER TABLE `groups` DISABLE KEYS */;
+/*!40000 ALTER TABLE `groups` ENABLE KEYS */;
+UNLOCK TABLES;
+
+-- ----------------------------
+-- Table structure for group_instance
+-- ----------------------------
+DROP TABLE IF EXISTS `group_instance`;
+CREATE TABLE `group_instance` (
+ `leaderGuid` int(11) unsigned NOT NULL default '0',
+ `instance` int(11) unsigned NOT NULL default '0',
+ `permanent` tinyint(1) unsigned NOT NULL default '0',
+ PRIMARY KEY (`leaderGuid`,`instance`),
+ KEY `instance` (`instance`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `group_instance`
+--
+
+LOCK TABLES `group_instance` WRITE;
+/*!40000 ALTER TABLE `group_instance` DISABLE KEYS */;
+/*!40000 ALTER TABLE `group_instance` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `group_member`
+--
+
+DROP TABLE IF EXISTS `group_member`;
+CREATE TABLE `group_member` (
+ `leaderGuid` int(11) unsigned NOT NULL,
+ `memberGuid` int(11) unsigned NOT NULL,
+ `assistant` tinyint(1) unsigned NOT NULL,
+ `subgroup` smallint(6) unsigned NOT NULL,
+ PRIMARY KEY (`leaderGuid`,`memberGuid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Groups';
+
+--
+-- Dumping data for table `group_member`
+--
+
+LOCK TABLES `group_member` WRITE;
+/*!40000 ALTER TABLE `group_member` DISABLE KEYS */;
+/*!40000 ALTER TABLE `group_member` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `guild`
+--
+
+DROP TABLE IF EXISTS `guild`;
+CREATE TABLE `guild` (
+ `guildid` int(6) unsigned NOT NULL default '0',
+ `name` varchar(255) NOT NULL default '',
+ `leaderguid` int(6) unsigned NOT NULL default '0',
+ `EmblemStyle` int(5) NOT NULL default '0',
+ `EmblemColor` int(5) NOT NULL default '0',
+ `BorderStyle` int(5) NOT NULL default '0',
+ `BorderColor` int(5) NOT NULL default '0',
+ `BackgroundColor` int(5) NOT NULL default '0',
+ `info` text NOT NULL,
+ `motd` varchar(255) NOT NULL default '',
+ `createdate` datetime default NULL,
+ `BankMoney` bigint(20) NOT NULL default '0',
+ PRIMARY KEY (`guildid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
+
+--
+-- Dumping data for table `guild`
+--
+
+LOCK TABLES `guild` WRITE;
+/*!40000 ALTER TABLE `guild` DISABLE KEYS */;
+/*!40000 ALTER TABLE `guild` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `guild_bank_eventlog`
+--
+
+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`),
+ KEY `guildid_key` (`guildid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `guild_bank_eventlog`
+--
+
+LOCK TABLES `guild_bank_eventlog` WRITE;
+/*!40000 ALTER TABLE `guild_bank_eventlog` DISABLE KEYS */;
+/*!40000 ALTER TABLE `guild_bank_eventlog` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `guild_bank_item`
+--
+
+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',
+ `item_entry` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guildid`,`tabid`,`slotid`),
+ KEY `guildid_key` (`guildid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `guild_bank_item`
+--
+
+LOCK TABLES `guild_bank_item` WRITE;
+/*!40000 ALTER TABLE `guild_bank_item` DISABLE KEYS */;
+/*!40000 ALTER TABLE `guild_bank_item` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `guild_bank_right`
+--
+
+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',
+ `gbright` tinyint(3) unsigned NOT NULL default '0',
+ `SlotPerDay` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guildid`,`TabId`,`rid`),
+ KEY `guildid_key` (`guildid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `guild_bank_right`
+--
+
+LOCK TABLES `guild_bank_right` WRITE;
+/*!40000 ALTER TABLE `guild_bank_right` DISABLE KEYS */;
+/*!40000 ALTER TABLE `guild_bank_right` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `guild_bank_tab`
+--
+
+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 '',
+ `TabText` varchar(500) NOT NULL default '',
+ PRIMARY KEY (`guildid`,`TabId`),
+ KEY `guildid_key` (`guildid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `guild_bank_tab`
+--
+
+LOCK TABLES `guild_bank_tab` WRITE;
+/*!40000 ALTER TABLE `guild_bank_tab` DISABLE KEYS */;
+/*!40000 ALTER TABLE `guild_bank_tab` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `guild_eventlog`
+--
+
+DROP TABLE IF EXISTS `guild_eventlog`;
+CREATE TABLE `guild_eventlog` (
+ `guildid` int(11) NOT NULL COMMENT 'Guild Identificator',
+ `LogGuid` int(11) NOT NULL COMMENT 'Log entry identificator',
+ `EventType` tinyint(1) NOT NULL COMMENT 'Event type',
+ `PlayerGuid1` int(11) NOT NULL COMMENT 'Player 1',
+ `PlayerGuid2` int(11) NOT NULL COMMENT 'Player 2',
+ `NewRank` tinyint(2) NOT NULL COMMENT 'New rank(in case promotion/demotion)',
+ `TimeStamp` bigint(20) NOT NULL COMMENT 'Event UNIX time'
+) ENGINE = InnoDB DEFAULT CHARSET = latin1 COMMENT 'Guild Eventlog';
+
+--
+-- Dumping data for table `guild_eventlog`
+--
+
+LOCK TABLES `guild_eventlog` WRITE;
+/*!40000 ALTER TABLE `guild_eventlog` DISABLE KEYS */;
+/*!40000 ALTER TABLE `guild_eventlog` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `guild_member`
+--
+
+DROP TABLE IF EXISTS `guild_member`;
+CREATE TABLE `guild_member` (
+ `guildid` int(6) unsigned NOT NULL default '0',
+ `guid` int(11) unsigned NOT NULL default '0',
+ `rank` tinyint(2) unsigned NOT NULL default '0',
+ `pnote` varchar(255) NOT NULL default '',
+ `offnote` varchar(255) NOT NULL default '',
+ `BankResetTimeMoney` int(11) unsigned NOT NULL default '0',
+ `BankRemMoney` int(11) unsigned NOT NULL default '0',
+ `BankResetTimeTab0` int(11) unsigned NOT NULL default '0',
+ `BankRemSlotsTab0` int(11) unsigned NOT NULL default '0',
+ `BankResetTimeTab1` int(11) unsigned NOT NULL default '0',
+ `BankRemSlotsTab1` int(11) unsigned NOT NULL default '0',
+ `BankResetTimeTab2` int(11) unsigned NOT NULL default '0',
+ `BankRemSlotsTab2` int(11) unsigned NOT NULL default '0',
+ `BankResetTimeTab3` int(11) unsigned NOT NULL default '0',
+ `BankRemSlotsTab3` int(11) unsigned NOT NULL default '0',
+ `BankResetTimeTab4` int(11) unsigned NOT NULL default '0',
+ `BankRemSlotsTab4` int(11) unsigned NOT NULL default '0',
+ `BankResetTimeTab5` int(11) unsigned NOT NULL default '0',
+ `BankRemSlotsTab5` int(11) unsigned NOT NULL default '0',
+ KEY `guildid_key` (`guildid`),
+ KEY `guildid_rank_key` (`guildid`,`rank`),
+ KEY `guid_key` (`guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Guild System';
+
+--
+-- Dumping data for table `guild_member`
+--
+
+LOCK TABLES `guild_member` WRITE;
+/*!40000 ALTER TABLE `guild_member` DISABLE KEYS */;
+/*!40000 ALTER TABLE `guild_member` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `guild_rank`
+--
+
+DROP TABLE IF EXISTS `guild_rank`;
+CREATE TABLE `guild_rank` (
+ `guildid` int(6) unsigned NOT NULL default '0',
+ `rid` int(11) unsigned NOT NULL,
+ `rname` varchar(255) NOT NULL default '',
+ `rights` int(3) unsigned NOT NULL default '0',
+ `BankMoneyPerDay` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guildid`,`rid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
+
+--
+-- Dumping data for table `guild_rank`
+--
+
+LOCK TABLES `guild_rank` WRITE;
+/*!40000 ALTER TABLE `guild_rank` DISABLE KEYS */;
+/*!40000 ALTER TABLE `guild_rank` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `instance`
+--
+
+DROP TABLE IF EXISTS `instance`;
+CREATE TABLE `instance` (
+ `id` int(11) unsigned NOT NULL default '0',
+ `map` int(11) unsigned NOT NULL default '0',
+ `resettime` bigint(40) NOT NULL default '0',
+ `difficulty` tinyint(1) unsigned NOT NULL default '0',
+ `data` longtext,
+ PRIMARY KEY (`id`),
+ KEY `map` (`map`),
+ KEY `resettime` (`resettime`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `instance`
+--
+
+LOCK TABLES `instance` WRITE;
+/*!40000 ALTER TABLE `instance` DISABLE KEYS */;
+/*!40000 ALTER TABLE `instance` ENABLE KEYS */;
+UNLOCK TABLES;
+
+-- ----------------------------
+-- Table structure for instance_reset
+-- ----------------------------
+DROP TABLE IF EXISTS `instance_reset`;
+CREATE TABLE `instance_reset` (
+ `mapid` int(11) unsigned NOT NULL default '0',
+ `resettime` bigint(40) NOT NULL default '0',
+ PRIMARY KEY (`mapid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `instance_reset`
+--
+
+LOCK TABLES `instance_reset` WRITE;
+/*!40000 ALTER TABLE `instance_reset` DISABLE KEYS */;
+/*!40000 ALTER TABLE `instance_reset` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `item_instance`
+--
+
+DROP TABLE IF EXISTS `item_instance`;
+CREATE TABLE `item_instance` (
+ `guid` int(11) unsigned NOT NULL default '0',
+ `owner_guid` int(11) unsigned NOT NULL default '0',
+ `data` longtext,
+ PRIMARY KEY (`guid`),
+ KEY `idx_owner_guid` (`owner_guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Item System';
+
+--
+-- Dumping data for table `item_instance`
+--
+
+LOCK TABLES `item_instance` WRITE;
+/*!40000 ALTER TABLE `item_instance` DISABLE KEYS */;
+/*!40000 ALTER TABLE `item_instance` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `item_text`
+--
+
+DROP TABLE IF EXISTS `item_text`;
+CREATE TABLE `item_text` (
+ `id` int(11) unsigned NOT NULL default '0',
+ `text` longtext,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System';
+
+--
+-- Dumping data for table `item_text`
+--
+
+LOCK TABLES `item_text` WRITE;
+/*!40000 ALTER TABLE `item_text` DISABLE KEYS */;
+/*!40000 ALTER TABLE `item_text` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `mail`
+--
+
+DROP TABLE IF EXISTS `mail`;
+CREATE TABLE `mail` (
+ `id` int(11) unsigned NOT NULL default '0' COMMENT 'Identifier',
+ `messageType` tinyint(3) unsigned NOT NULL default '0',
+ `stationery` tinyint(3) NOT NULL default '41',
+ `mailTemplateId` mediumint(8) unsigned NOT NULL default '0',
+ `sender` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
+ `receiver` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
+ `subject` longtext,
+ `itemTextId` int(11) unsigned NOT NULL default '0',
+ `has_items` tinyint(3) unsigned NOT NULL default '0',
+ `expire_time` bigint(40) NOT NULL default '0',
+ `deliver_time` bigint(40) NOT NULL default '0',
+ `money` int(11) unsigned NOT NULL default '0',
+ `cod` int(11) unsigned NOT NULL default '0',
+ `checked` tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (`id`),
+ KEY `idx_receiver` (`receiver`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Mail System';
+
+--
+-- Dumping data for table `mail`
+--
+
+LOCK TABLES `mail` WRITE;
+/*!40000 ALTER TABLE `mail` DISABLE KEYS */;
+/*!40000 ALTER TABLE `mail` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `mail_items`
+--
+
+DROP TABLE IF EXISTS `mail_items`;
+CREATE TABLE `mail_items` (
+ `mail_id` int(11) NOT NULL default '0',
+ `item_guid` int(11) NOT NULL default '0',
+ `item_template` int(11) NOT NULL default '0',
+ `receiver` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
+ PRIMARY KEY (`mail_id`,`item_guid`),
+ KEY `idx_receiver` (`receiver`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+
+--
+-- Dumping data for table `mail_items`
+--
+
+LOCK TABLES `mail_items` WRITE;
+/*!40000 ALTER TABLE `mail_items` DISABLE KEYS */;
+/*!40000 ALTER TABLE `mail_items` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `pet_aura`
+--
+
+DROP TABLE IF EXISTS `pet_aura`;
+CREATE TABLE `pet_aura` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier',
+ `spell` int(11) unsigned NOT NULL default '0',
+ `effect_index` int(11) unsigned NOT NULL default '0',
+ `amount` int(11) NOT NULL default '0',
+ `maxduration` int(11) NOT NULL default '0',
+ `remaintime` int(11) NOT NULL default '0',
+ `remaincharges` int(11) NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`,`effect_index`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
+
+--
+-- Dumping data for table `pet_aura`
+--
+
+LOCK TABLES `pet_aura` WRITE;
+/*!40000 ALTER TABLE `pet_aura` DISABLE KEYS */;
+/*!40000 ALTER TABLE `pet_aura` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `pet_spell`
+--
+
+DROP TABLE IF EXISTS `pet_spell`;
+CREATE TABLE `pet_spell` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
+ `slot` int(11) unsigned NOT NULL default '0',
+ `active` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
+
+--
+-- Dumping data for table `pet_spell`
+--
+
+LOCK TABLES `pet_spell` WRITE;
+/*!40000 ALTER TABLE `pet_spell` DISABLE KEYS */;
+/*!40000 ALTER TABLE `pet_spell` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `pet_spell_cooldown`
+--
+
+DROP TABLE IF EXISTS `pet_spell_cooldown`;
+CREATE TABLE `pet_spell_cooldown` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part',
+ `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
+ `time` bigint(20) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `pet_spell_cooldown`
+--
+
+LOCK TABLES `pet_spell_cooldown` WRITE;
+/*!40000 ALTER TABLE `pet_spell_cooldown` DISABLE KEYS */;
+/*!40000 ALTER TABLE `pet_spell_cooldown` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `petition`
+--
+
+DROP TABLE IF EXISTS `petition`;
+CREATE TABLE `petition` (
+ `ownerguid` int(10) unsigned NOT NULL,
+ `petitionguid` int(10) unsigned default '0',
+ `name` varchar(255) NOT NULL default '',
+ `type` int(10) unsigned NOT NULL default '0',
+ PRIMARY KEY (`ownerguid`,`type`),
+ UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
+
+--
+-- Dumping data for table `petition`
+--
+
+LOCK TABLES `petition` WRITE;
+/*!40000 ALTER TABLE `petition` DISABLE KEYS */;
+/*!40000 ALTER TABLE `petition` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `petition_sign`
+--
+
+DROP TABLE IF EXISTS `petition_sign`;
+CREATE TABLE `petition_sign` (
+ `ownerguid` int(10) unsigned NOT NULL,
+ `petitionguid` int(11) unsigned NOT NULL default '0',
+ `playerguid` int(11) unsigned NOT NULL default '0',
+ `player_account` int(11) unsigned NOT NULL default '0',
+ `type` int(10) unsigned NOT NULL default '0',
+ PRIMARY KEY (`petitionguid`,`playerguid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
+--
+-- Dumping data for table `petition_sign`
+--
+
+LOCK TABLES `petition_sign` WRITE;
+/*!40000 ALTER TABLE `petition_sign` DISABLE KEYS */;
+/*!40000 ALTER TABLE `petition_sign` ENABLE KEYS */;
+UNLOCK TABLES;
+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+
+-- Dump completed on 2008-01-10 11:37:06
diff --git a/sql/create_mysql.sql b/sql/create_mysql.sql
new file mode 100644
index 00000000000..5a39665d7e7
--- /dev/null
+++ b/sql/create_mysql.sql
@@ -0,0 +1,14 @@
+GRANT USAGE ON * . * TO 'mangos'@'localhost' IDENTIFIED BY 'mangos' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 ;
+
+CREATE DATABASE `mangos` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
+
+CREATE DATABASE `characters` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
+
+CREATE DATABASE `realmd` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
+
+GRANT ALL PRIVILEGES ON `mangos` . * TO 'mangos'@'localhost' WITH GRANT OPTION;
+
+GRANT ALL PRIVILEGES ON `characters` . * TO 'mangos'@'localhost' WITH GRANT OPTION;
+
+GRANT ALL PRIVILEGES ON `realmd` . * TO 'mangos'@'localhost' WITH GRANT OPTION;
+
diff --git a/sql/drop_mysql.sql b/sql/drop_mysql.sql
new file mode 100644
index 00000000000..4ed3f55472e
--- /dev/null
+++ b/sql/drop_mysql.sql
@@ -0,0 +1,21 @@
+REVOKE ALL PRIVILEGES ON * . * FROM 'mangos'@'localhost';
+
+REVOKE ALL PRIVILEGES ON `mangos` . * FROM 'mangos'@'localhost';
+
+REVOKE GRANT OPTION ON `mangos` . * FROM 'mangos'@'localhost';
+
+REVOKE ALL PRIVILEGES ON `characters` . * FROM 'mangos'@'localhost';
+
+REVOKE GRANT OPTION ON `characters` . * FROM 'mangos'@'localhost';
+
+REVOKE ALL PRIVILEGES ON `realmd` . * FROM 'mangos'@'localhost';
+
+REVOKE GRANT OPTION ON `realmd` . * FROM 'mangos'@'localhost';
+
+DELETE FROM `user` WHERE CONVERT( User USING utf8 ) = CONVERT( 'mangos' USING utf8 ) AND CONVERT( Host USING utf8 ) = CONVERT( 'localhost' USING utf8 ) ;
+
+DROP DATABASE IF EXISTS `mangos` ;
+
+DROP DATABASE IF EXISTS `characters` ;
+
+DROP DATABASE IF EXISTS `realmd` ;
diff --git a/sql/mangos.sql b/sql/mangos.sql
new file mode 100644
index 00000000000..8955a959c69
--- /dev/null
+++ b/sql/mangos.sql
@@ -0,0 +1,15321 @@
+-- MySQL dump 10.11
+--
+-- Host: localhost Database: mangos
+-- ------------------------------------------------------
+-- Server version 5.0.56-nt
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
+/*!40103 SET TIME_ZONE='+00:00' */;
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+
+--
+-- Table structure for table `areatrigger_involvedrelation`
+--
+
+DROP TABLE IF EXISTS `areatrigger_involvedrelation`;
+CREATE TABLE `areatrigger_involvedrelation` (
+ `id` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Identifier',
+ `quest` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System';
+
+--
+-- Dumping data for table `areatrigger_involvedrelation`
+--
+
+LOCK TABLES `areatrigger_involvedrelation` WRITE;
+/*!40000 ALTER TABLE `areatrigger_involvedrelation` DISABLE KEYS */;
+/*!40000 ALTER TABLE `areatrigger_involvedrelation` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `areatrigger_scripts`
+--
+
+DROP TABLE IF EXISTS `areatrigger_scripts`;
+CREATE TABLE `areatrigger_scripts` (
+ `entry` MEDIUMINT( 8 ) NOT NULL ,
+ `ScriptName` CHAR( 64 ) NOT NULL ,
+ PRIMARY KEY ( `entry` )
+) ENGINE = MYISAM DEFAULT CHARSET=utf8;
+
+--
+-- Table structure for table `areatrigger_tavern`
+--
+
+DROP TABLE IF EXISTS `areatrigger_tavern`;
+CREATE TABLE `areatrigger_tavern` (
+ `id` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Identifier',
+ `name` text,
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System';
+
+--
+-- Dumping data for table `areatrigger_tavern`
+--
+
+LOCK TABLES `areatrigger_tavern` WRITE;
+/*!40000 ALTER TABLE `areatrigger_tavern` DISABLE KEYS */;
+/*!40000 ALTER TABLE `areatrigger_tavern` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `areatrigger_teleport`
+--
+
+DROP TABLE IF EXISTS `areatrigger_teleport`;
+CREATE TABLE `areatrigger_teleport` (
+ `id` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Identifier',
+ `name` text,
+ `required_level` tinyint(3) unsigned NOT NULL default '0',
+ `required_item` mediumint(8) unsigned NOT NULL default '0',
+ `required_item2` mediumint(8) unsigned NOT NULL default '0',
+ `heroic_key` mediumint(8) unsigned NOT NULL default '0',
+ `heroic_key2` mediumint(8) unsigned NOT NULL default '0',
+ `required_quest_done` int(11) unsigned NOT NULL default '0',
+ `required_failed_text` text,
+ `target_map` smallint(5) unsigned NOT NULL default '0',
+ `target_position_x` float NOT NULL default '0',
+ `target_position_y` float NOT NULL default '0',
+ `target_position_z` float NOT NULL default '0',
+ `target_orientation` float NOT NULL default '0',
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Trigger System';
+
+--
+-- Dumping data for table `areatrigger_teleport`
+--
+
+LOCK TABLES `areatrigger_teleport` WRITE;
+/*!40000 ALTER TABLE `areatrigger_teleport` DISABLE KEYS */;
+/*!40000 ALTER TABLE `areatrigger_teleport` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `battleground_template`
+--
+
+DROP TABLE IF EXISTS `battleground_template`;
+CREATE TABLE `battleground_template` (
+ `id` mediumint(8) unsigned NOT NULL,
+ `MinPlayersPerTeam` smallint(5) unsigned NOT NULL default '0',
+ `MaxPlayersPerTeam` smallint(5) unsigned NOT NULL default '0',
+ `MinLvl` tinyint(3) unsigned NOT NULL default '0',
+ `MaxLvl` tinyint(3) unsigned NOT NULL default '0',
+ `AllianceStartLoc` mediumint(8) unsigned NOT NULL,
+ `AllianceStartO` float NOT NULL,
+ `HordeStartLoc` mediumint(8) unsigned NOT NULL,
+ `HordeStartO` float NOT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `battleground_template`
+--
+
+LOCK TABLES `battleground_template` WRITE;
+/*!40000 ALTER TABLE `battleground_template` DISABLE KEYS */;
+INSERT INTO `battleground_template` VALUES
+(1,0,0,0,0,611,2.72532,610,2.27452),
+(2,0,0,0,0,769,3.14159,770,3.14159),
+(4,0,2,10,70,929,0,936,3.14159),
+(3,0,0,0,0,890,3.40156,889,0.263892),
+(5,0,2,10,70,939,0,940,3.14159),
+(6,0,2,10,70,0,0,0,0),
+(7,0,0,0,0,1103,3.40156,1104,0.263892),
+(8,0,2,10,70,1258,0,1259,3.14159);
+/*!40000 ALTER TABLE `battleground_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `battlemaster_entry`
+--
+
+DROP TABLE IF EXISTS `battlemaster_entry`;
+CREATE TABLE `battlemaster_entry` (
+ `entry` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Entry of a creature',
+ `bg_template` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Battleground template id',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `battlemaster_entry`
+--
+
+LOCK TABLES `battlemaster_entry` WRITE;
+/*!40000 ALTER TABLE `battlemaster_entry` DISABLE KEYS */;
+/*!40000 ALTER TABLE `battlemaster_entry` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `command`
+--
+
+DROP TABLE IF EXISTS `command`;
+CREATE TABLE `command` (
+ `name` varchar(50) NOT NULL default '',
+ `security` tinyint(3) unsigned NOT NULL default '0',
+ `help` longtext,
+ PRIMARY KEY (`name`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Chat System';
+
+--
+-- Dumping data for table `command`
+--
+
+LOCK TABLES `command` WRITE;
+/*!40000 ALTER TABLE `command` DISABLE KEYS */;
+INSERT INTO `command` VALUES
+('acct',0,'Syntax: .acct\r\n\r\nDisplay the access level of your account.'),
+('additem',3,'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.'),
+('additemset',3,'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.'),
+('addmove',2,'Syntax: .addmove #creature_guid [#waittime]\r\n\r\nAdd your current location as a waypoint for creature with guid #creature_guid. And optional add wait time.'),
+('announce',1,'Syntax: .announce $MessageToBroadcast\r\n\r\nSend a global message to all players online in chat log.'),
+('aura',3,'Syntax: .aura #spellid\r\n\r\nAdd the aura from spell #spellid to the selected Unit.'),
+('ban',3,'Syntax is: ban <account|ip|character> $NameOrIp $bantime $reason\r\nBan account or IP and kick player.\r\n$bantime: negative value leads to permban, otherwise use a timestring like \"4d20h3s\".'),
+('baninfo',3,'Syntax is: baninfo <account|ip|character>\r\nWatch full information about a specific ban.'),
+('bank',3,'Syntax: .bank\r\n\r\nShow your bank inventory.'),
+('banlist',3,'Syntax is: banlist <account|ip|character> $NameOrIp\r\nsearches the banlist for a pattern.'),
+('cast',3,'Syntax: .cast #spellid [triggered]\r\n Cast #spellid to selected target. If no target selected cast to self. If \'trigered\' or part provided then spell casted with triggered flag.'),
+('cast back',3,'Syntax: .cast back #spellid [triggered]\r\n Selected target will cast #spellid to your character. If \'trigered\' or part provided then spell casted with triggered flag.'),
+('cast dist',3,'Syntax: .cast dist #spellid [#dist [triggered]]\r\n You will cast spell to pint at distance #dist. If \'trigered\' or part provided then spell casted with triggered flag. Not all spells can be casted as area spells.'),
+('cast self',3,'Syntax: .cast self #spellid [triggered]\r\nCast #spellid by target at target itself. If \'trigered\' or part provided then spell casted with triggered flag.'),
+('cast target',3,'Syntax: .cast target #spellid [triggered]\r\n Selected target will cast #spellid to his victim. If \'trigered\' or part provided then spell casted with triggered flag.'),
+('combatstop',2,'Syntax: .combatstop [$playername]\r\nStop combat for selected character. If selected non-player then command applied to self. If $playername provided then attempt applied to online player $playername.'),
+('commands',0,'Syntax: .commands\r\n\r\nDisplay a list of available commands for your account level.'),
+('cooldown',3,'Syntax: .cooldown [#spell_id]\r\n\r\nRemove all (if spell_id not provided) or #spel_id spell cooldown from selected character or you (if no selection).'),
+('damage',3,'Syntax: .damage $damage_amount [$school [$spellid]]\r\n\r\nApply $damage to target. If not $school and $spellid provided then this flat clean melee damage without any modifiers. If $school provided then damage modified by armor reduction (if school physical), and target absorbing modifiers and result applied as melee damage to target. If spell provided then damage modified and applied as spell damage. $spellid can be shift-link.'),
+('debug anim',2,'Syntax: .debug anim #emoteid\r\n\r\nPlay emote #emoteid for your character.'),
+('debug getvalue',3,'Syntax: .debug getvalue #field #isInt\r\n\r\nGet the field #field of the selected creature. If no creature is selected, get the content of your field.\r\n\r\nUse a #isInt of value 1 if the expected field content is an integer.'),
+('debug playsound',1,'Syntax: .debug playsound #soundid\r\n\r\nPlay sound with #soundid.\r\nSound will be play only for you. Other players do not hear this.\r\nWarning: client may have more 5000 sounds...'),
+('debug setvalue',3,'Syntax: .debug setvalue #field #value #isInt\r\n\r\nSet the field #field of the selected creature with value #value. If no creature is selected, set the content of your field.\r\n\r\nUse a #isInt of value 1 if #value is an integer.'),
+('debug standstate',2,'Syntax: .debug standstate #emoteid\r\n\r\nChange the emote of your character while standing to #emoteid.'),
+('debug update',3,'Syntax: .debug update #field #value\r\n\r\nUpdate the field #field of the selected character or creature with value #value.\r\n\r\nIf no #value is provided, display the content of field #field.'),
+('delticket',2,'Syntax: .delticket all\r\n .delticket #num\r\n .delticket $character_name\r\n\rall to dalete all tickets at server, $character_name to delete ticket of this character, #num to delete ticket #num.'),
+('demorph',2,'Syntax: .demorph\r\n\r\nDemorph the selected player.'),
+('die',3,'Syntax: .die\r\n\r\nKill the selected player. If no player is selected, it will kill you.'),
+('dismount',0,'Syntax: .dismount\r\n\r\nDismount you, if you are mounted.'),
+('distance',3,'Syntax: .distance\r\n\r\nDisplay the distance from your character to the selected creature.'),
+('event',2,'Syntax: .event #event_id\r\nShow details about event with #event_id.'),
+('event activelist',2,'Syntax: .event activelist\r\nShow list of currently active events.'),
+('event start',2,'Syntax: .event start #event_id\r\nStart event #event_id. Set start time for event to current moment (change not saved in DB).'),
+('event stop',2,'Syntax: .event stop #event_id\r\nStop event #event_id. Set start time for event to time in past that make current moment is event stop time (change not saved in DB).'),
+('explorecheat',3,'Syntax: .explorecheat #flag\r\n\r\nReveal or hide all maps for the selected player. If no player is selected, hide or reveal maps to you.\r\n\r\nUse a #flag of value 1 to reveal, use a #flag value of 0 to hide all maps.'),
+('gm',1,'Syntax: .gm on/off\r\n\r\nEnable or Disable GM MODE'),
+('gm fly',3,'Syntax: .gm fly on/off\r\nEnable/disable gm fly mode.'),
+('gm list',0,'Syntax: .gm list\r\n\r\nDisplay a list of available Game Masters.'),
+('gm visible',1,'Syntax: .gm visible on/off\r\n\r\nOutput current visibility state or make GM visible(on) and invisible(off) for other players.'),
+('go creature',2,'Syntax: .go creature #creature_guid\r\nTeleport your character to creature with guid #creature_guid.\r\n.gocreature #creature_name\r\nTeleport your character to creature with this name.\r\n.gocreature id #creature_id\r\nTeleport your character to a creature that was spawned from the template with this entry.\r\n*If* more than one creature is found, then you are teleported to the first that is found inside the database.'),
+('go graveyard',2,'Syntax: .go graveyard #graveyardId\r\n Teleport to graveyard with the graveyardId specified.'),
+('go grid',1,'Syntax: .go grid #gridX #gridY [#mapId]\r\n\r\nTeleport the gm to center of grid with provided indexes at map #mapId (or current map if it not provided).'),
+('go object',1,'Syntax: .go object #object_guid\r\nTeleport your character to gameobject with guid #object_guid'),
+('go trigger',2,'Syntax: .go trigger #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.'),
+('go xy',1,'Syntax: .go xy #x #y [#mapid]\r\n\r\nTeleport player to point with (#x,#y) coordinates at ground(water) level at map #mapid or same map if #mapid not provided.'),
+('go xyz',1,'Syntax: .go xyz #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.'),
+('go zonexy',1,'Syntax: .go zonexy #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'),
+('gobject add',2,'Syntax: .gobject add #id <spawntimeSecs>\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.'),
+('gobject delete',2,'Syntax: .gobject delete #go_guid\r\nDelete gameobject with guid #go_guid.'),
+('gobject move',2,'Syntax: .gobject move #goguid [#x #y #z]\r\n\r\nMove gameobject #goguid to character coordinates (or to (#x,#y,#z) coordinates if its provide).'),
+('gobject near ',3,'Syntax: .gobject near [#distance]\r\n\r\nOutput gameobjects at distance #distance from player. Output gameobject guids and coordinates sorted by distance from character. If #distance not provided use 10 as default value.'),
+('gobject turn',2,'Syntax: .gobject turn #goguid \r\n\r\nSet for gameobject #goguid orientation same as current character orientation.'),
+('gobject target',2,'Syntax: .gobject target [#go_id|#go_name_part]\r\n\r\nLocate and show position nearest gameobject. If #go_id or #go_name_part provide then locate and show position of nearest gameobject with gameobject template id #go_id or name included #go_name_part as part.'),
+('goname',1,'Syntax: .goname $charactername\r\n\r\nTeleport to the given character. Either specify the character name or click on the character\'s portrait, e.g. when you are in a group.'),
+('gps',1,'Syntax: .gps\r\n\r\nDisplay the position information for a selected character or creature. Position information includes X, Y, Z, and orientation, map Id and zone Id'),
+('groupgo',1,'Syntax: .groupgo $charactername\r\n\r\nTeleport the given character and his group to you.'),
+('guid',2,'Syntax: .guid\r\n\r\nDisplay the GUID for the selected character.'),
+('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.'),
+('guild rank',2,'Syntax: .guild rank $CharacterName #Rank\r\n\r\nSet for $CharacterName rank #Rank in a guild.'),
+('guild uninvite',2,'Syntax: .guild uninvite $CharacterName\r\n\r\nRemove $CharacterName from a guild.'),
+('help',0,'Syntax: .help $command\r\n\r\nDisplay usage instructions for the given $command.'),
+('hidearea',3,'Syntax: .hidearea #areaid\r\n\r\nHide the area of #areaid to the selected character. If no character is selected, hide this area to you.'),
+('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 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.'),
+('hover',3,'Syntax: .hover #flag\r\n\r\nEnable or disable hover mode for your character.\r\n\r\nUse a #flag of value 1 to enable, use a #flag value of 0 to disable hover.'),
+('instance unbind',3,'Syntax: .instance unbind all\r\n All of the selected player\'s binds will be cleared.'),
+('instance listbinds',3,'Syntax: .instance listbinds\r\n Lists the binds of the selected player.'),
+('instance stats',3,'Syntax: .instance stats\r\n Shows statistics about instances.'),
+('instance savedata',3,'Syntax: .instance savedata\r\n Save the InstanceData for the current player\'s map to the DB.'),
+('itemmove',2,'Syntax: .itemmove #sourceslotid #destinationslotid\r\n\r\nMove an item from slots #sourceslotid to #destinationslotid in your inventory\r\n\r\nNot yet implemented'),
+('kick',2,'Syntax: .kick [$charactername]\r\n\r\nKick the given character name from the world. If no character name is provided then the selected player (except for yourself) will be kicked.'),
+('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.'),
+('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.'),
+('learn all_gm',2,'Syntax: .learn all_gm\r\n\r\nLearn all default spells for Game Masters.'),
+('learn all_lang',1,'Syntax: .learn all_lang\r\n\r\nLearn all languages'),
+('learn all_myclass',3,'Syntax: .learn all_myclass\r\n\r\nLearn all spells and talents available for his class.'),
+('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.'),
+('learn all_recipes',2,'Syntax: .learn all_recipes [$profession]\r\rLearns all recipes of specified profession and sets skill level to max.\rExample: .learn all_recipes enchanting'),
+('levelup',3,'Syntax: .levelup [$playername] [#numberoflevels]\r\n\r\nIncrease/decrease the level of character with $playername (or the selected if not name provided) by #numberoflevels Or +1 if no #numberoflevels provided). If #numberoflevels is omitted, the level will be increase by 1. If #numberoflevels is 0, the same level will be restarted. If no character is selected and name not provided, increase your level. Command can be used for offline character. All stats and dependent VALUESrecalculated. At level decrease talents can be reset if need. Also at level decrease equipped items with greater level requirement can be lost.'),
+('linkgrave',3,'Syntax: .linkgrave #graveyard_id [alliance|horde]\r\n\r\nLink current zone to graveyard for any (or alliance/horde faction ghosts). This let character ghost from zone teleport to graveyard after die if graveyard is nearest from linked to zone and accept ghost of this faction. Add only single graveyard at another map and only if no graveyards linked (or planned linked at same map).'),
+('list creature',3,'Syntax: .list creature #creature_id [#max_count]\r\n\r\nOutput creatures with creature id #creature_id found in world. Output creature guids and coordinates sorted by distance from character. Will be output maximum #max_count creatures. If #max_count not provided use 10 as default value.'),
+('list item',3,'Syntax: .list item #item_id [#max_count]\r\n\r\nOutput items with item id #item_id found in all character inventories, mails and auctions. Output item guids, item owner guid, owner account and owner name. Will be output maximum #max_count items. If #max_count not provided use 10 as default value.'),
+('list object',3,'Syntax: .list object #gameobject_id [#max_count]\r\n\r\nOutput gameobjects with gameobject id #gameobject_id found in world. Output gameobject guids and coordinates sorted by distance from character. Will be output maximum #max_count gameobject. If #max_count not provided use 10 as default value.'),
+('loadscripts',3,'Syntax: .loadscripts $scriptlibraryname\r\n\r\nUnload current and load the script library $scriptlibraryname or reload current if $scriptlibraryname omitted, in case you changed it while the server was running.'),
+('lockaccount',0,'Syntax: .lockaccount [on|off]\r\n\r\nAllow login from account only from current used IP or remove this requirement.'),
+('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.'),
+('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 event',2,'Syntax: .lookup event $name\r\nAttempts to find the ID of the event with the provided $name.'),
+('lookup faction',3,'Syntax: .lookup faction $name\r\nAttempts to find the ID of the faction with the provided $name.'),
+('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.'),
+('lookup object',3,'Syntax: .lookup object $objname\r\n\r\nLooks up an gameobject by $objname, and returns all matches with their Gameobject ID\'s.'),
+('lookup quest',3,'Syntax: .lookup quest $namepart\r\n\r\nLooks up a quest by $namepart, and returns all matches with their quest ID\'s.'),
+('lookup skill',3,'Syntax: .lookup skill $$namepart\r\n\r\nLooks up a skill by $namepart, and returns all matches with their skill ID\'s.'),
+('lookup spell',3,'Syntax: .lookup spell $namepart\r\n\r\nLooks up a spell by $namepart, and returns all matches with their spell ID\'s.'),
+('lookup tele',1,'Syntax: .lookup tele $substring\r\n\r\nSearch and output all .tele command locations with provide $substring in name.'),
+('maxskill',3,'Syntax: .maxskill\r\nSets all skills of the targeted player to their maximum VALUESfor its current level.'),
+('Mod32Value',3,'Syntax: .Mod32Value #field #value\r\n\r\nAdd #value to field #field of your character.'),
+('modify arena',3,'Syntax: .modify arena #value\r\nAdd $amount arena points to the selected player.'),
+('modify aspeed',1,'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.'),
+('modify bit',1,'Syntax: .modify bit #field #bit\r\n\r\nToggle the #bit bit of the #field field for the selected player. If no player is selected, modify your character.'),
+('modify bwalk',1,'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 #rate may range from 0.1 to 10.'),
+('modify drunk',1,'Syntax: .modify drunk #value\r\n Set drunk level to #value (0..100). Value 0 remove drunk state, 100 is max drunked state.'),
+('modify energy',1,'Syntax: .modify energy #energy\r\n\r\nModify the energy of the selected player. If no player is selected, modify your energy.'),
+('modify faction',1,'Syntax: .modify faction #factionid #flagid #npcflagid #dynamicflagid\r\n\r\nModify the faction and flags of the selected creature. Without arguments, display the faction and flags of the selected creature.'),
+('modify honor',1,'Syntax: .modify honor $amount\r\n\r\nAdd $amount honor points to the selected player.'),
+('modify hp',1,'Syntax: .modify hp #newhp\r\n\r\nModify the hp of the selected player. If no player is selected, modify your hp.'),
+('modify mana',1,'Syntax: .modify mana #newmana\r\n\r\nModify the mana of the selected player. If no player is selected, modify your mana.'),
+('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.'),
+('modify morph',2,'Syntax: .modify morph #displayid\r\n\r\nChange your current model id to #displayid.'),
+('modify mount',1,'Syntax:\r\n.modify mount #id #speed\r\nDisplay selected player as mounted at #id creature and set speed to #speed value.'),
+('modify rage',1,'Syntax: .modify rage #newrage\r\n\r\nModify the rage of the selected player. If no player is selected, modify your rage.'),
+('modify rep',2,'Syntax: .modify rep #repId (#repvalue | $rankname [#delta])\r\nSets the selected players reputation with faction #repId to #repvalue or to $reprank.\r\nIf the reputation rank name is provided, the resulting reputation will be the lowest reputation for that rank plus the delta amount, if specified.\r\nYou can use \'.pinfo rep\' to list all known reputation ids, or use \'.lookup faction $name\' to locate a specific faction id.'),
+('modify scale',1,''),
+('modify speed',1,'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.'),
+('modify spell',1,''),
+('modify swim',1,'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.'),
+('modify titles',1,'Syntax:\r\n.modify titles #mask\r\n\r\nAllows user to use all titles from #mask.\r\n\r\n #mask=0 disables the title-choose-field'),
+('movegens',3,'Syntax: .movegens\r\n Show movement generators stack for selected creature or player.'),
+('mute',1,'Syntax: .mute $playerName $timeInMinutes\r\n\r\nDisible chat messaging for any character from account of character $playerName at $timeInMinutes minutes.'),
+('namego',1,'Syntax: .namego $charactername\r\n\r\nTeleport the given character to you.'),
+('neargrave',3,'Syntax: .neargrave [alliance|horde]\r\n\r\nFind nearest graveyard linked to zone (or only nearest from accepts alliance or horde faction ghosts).'),
+('notify',1,'Syntax: .notify $MessageToBroadcast\r\n\r\nSend a global message to all players online in screen.'),
+('npc add',2,'Syntax: .npc add #creatureid\r\n\r\nSpawn a creature by the given template id of #creatureid.'),
+('npc additem',2,'Syntax: .npc additem #itemId <#maxcount><#incrtime><#extendedcost>r\r\n\r\nAdd item #itemid to item list of selected vendor. Also optionally set max count item in vendor item list and time to item count restoring and items ExtendedCost.'),
+('npc addweapon',3,'Not yet implemented.'),
+('npc allowmove',3,'Syntax: .npc allowmove\r\n\r\nEnable or disable movement for the selected creature.'),
+('npc changelevel',2,'Syntax: .npc changelevel #level\r\n\r\nChange the level of the selected creature to #level.\r\n\r\n#level may range from 1 to 63.'),
+('npc delete',2,'Syntax: .npc delete [#guid]\r\n\r\nDelete creature with guid #guid (or the selected if no guid is provided)'),
+('npc delitem',2,'Syntax: .npc delitem #itemId\r\n\r\nRemove item #itemid from item list of selected vendor.'),
+('npc factionid',2,'Syntax: .npc factionid #factionid\r\n\r\nSet the faction of the selected creature to #factionid.'),
+('npc flag',2,'Syntax: .npc flag #npcflag\r\n\r\nSet the NPC flags of creature template of the selected creature and selected creature to #npcflag. NPC flags will applied to all creatures of selected creature template after server restart or grid unload/load.'),
+('npc info',3,'Syntax: .npc info\r\n\r\nDisplay a list of details for the selected creature.\r\n\r\nThe list includes:\r\n- GUID, Faction, NPC flags, Entry ID, Model ID,\r\n- Level,\r\n- Health (current/maximum),\r\n\r\n- Field flags, dynamic flags, faction template, \r\n- Position information,\r\n- and the creature type, e.g. if the creature is a vendor.'),
+('npc move',2,'Syntax: .npc move [#creature_guid]\r\n\r\nMove the targeted creature spawn point to your coordinates.'),
+('npc name',2,'Syntax: .npc name $name\r\n\r\nChange the name of the selected creature or character to $name.\r\n\r\nCommand disabled.'),
+('npc playemote',3,'Syntax: .npc playemote #emoteid\r\n\r\nMake the selected creature emote with an emote of id #emoteid.'),
+('npc setmodel',2,'Syntax: .npc setmodel #displayid\r\n\r\nChange the model id of the selected creature to #displayid.'),
+('npc setmovetype',2,'Syntax: .npc 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.'),
+('npc spawndist',2,'Syntax: .npc spawndist #dist\r\n\r\nAdjust spawndistance of selected creature to dist.'),
+('npc spawntime',2,'Syntax: .npc spawntime #time \r\n\r\nAdjust spawntime of selected creature to time.'),
+('npc subname',2,'Syntax: .npc subname $Name\r\n\r\nChange the subname of the selected creature or player to $Name.\r\n\r\nCommand disabled.'),
+('npc textemote',3,'Syntax: .npc textemote #emoteid\r\n\r\nMake the selected creature to do textemote with an emote of id #emoteid.'),
+('npc whisper',1,'Syntax: .npc whisper #playerguid #text\r\nMake the selected npc whisper #text to #playerguid.'),
+('password',0,'Syntax: .password $old_password $new_password $new_password\r\n\r\nChange your account password.'),
+('pinfo',2,'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.'),
+('plimit',3,'Syntax: .plimit [#num|-1|-2|-3|reset|player|moderator|gamemaster|administrator]\r\n\r\nWithout 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 `reset` sets player limit to the one in the config file'),
+('quest add',3,'Syntax: .quest add #quest_id\r\n\r\nAdd to character quest log quest #quest_id. Quest started from item can\'t be added by this command but correct .additem call provided in command output.'),
+('quest complete',3,'Syntax: .quest complete #questid\r\nMark all quest objectives as completed for target character active quest. After this target character can go and get quest reward.'),
+('quest remove',3,'Syntax: .quest remove #quest_id\r\n\r\nSet quest #quest_id state to not completed and not active (and remove from active quest list) for selected player.'),
+('recall',1,'Syntax: .recall [$playername]\r\n\r\nTeleport $playername or selected player to the place where he has been before last use of a teleportation command. If no $playername is entered and no player is selected, it will teleport you.'),
+('reload',3,'Syntax: .reload table_name\r\n\r\nReload table `table_name` if reload support added for this table and this table can be _safe_ reloaded.'),
+('reload all',3,'Syntax: .reload all\r\n\r\nReload all tables with reload support added and that can be _safe_ reloaded.'),
+('reload all_area',3,'Syntax: .reload all_area\r\n\r\nReload all `areatrigger_*` tables if reload support added for this table and this table can be _safe_ reloaded.'),
+('reload all_loot',3,'Syntax: .reload all_loot\r\n\r\nReload all `*_loot_template` tables. This can be slow operation with lags for server run.'),
+('reload all_quest',3,'Syntax: .reload all_quest\r\n\r\nReload all quest related tables if reload support added for this table and this table can be _safe_ reloaded.'),
+('reload all_spell',3,'Syntax: .reload all\r\n\r\nReload all `spell_*` tables with reload support added and that can be _safe_ reloaded.'),
+('reload config',3,'Syntax: .reload config\r\n\r\nReload config settings (by default stored in mangosd.conf). Not all settings can be change at reload: some new setting values will be ignored until restart, some values will applied with delay or only to new objects/maps, some values will explicitly rejected to change at reload.'),
+('reset all',3,'Syntax: .reset all spells\r\n\r\nSyntax: .reset all 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.'),
+('reset level',3,'Syntax:\r\n.reset level [Playername]\r\n Reset level to 1 including reset stats and talents. Equipped items with greater level requirement can be lost.'),
+('reset spells',3,'Syntax:\r\n.reset spells [Playername]\r\n Removes all non-original spells from spellbook.\r\n. Playername can be name of offline character.'),
+('reset stats',3,'Syntax:\r\n.reset stats [Playername]\r\n Resets(recalculate) all stats of the targeted player to their original VALUESat current level.'),
+('reset talents',3,'Syntax:\r\n.reset talents [Playername]\r\n Removes all talents of the targeted player. Playername can be name of offline character.'),
+('respawn',3,'Syntax: .respawn\r\n\r\nRespawn all nearest creatures and GO without waiting respawn time expiration.'),
+('revive',3,'Syntax: .revive\r\n\r\nRevive the selected player. If no player is selected, it will revive you.'),
+('save',0,'Syntax: .save\r\n\r\nSaves your character.'),
+('saveall',1,'Syntax: .saveall\r\n\r\nSave all characters in game.'),
+('security',3,'Syntax: .security $name #level\r\n\r\nSet the security level of player $name to a level of #level.\r\n\r\n#level may range from 0 to 5.'),
+('sendmail',1,'Syntax: .sendmail #playername #subject #text\r\n\r\nSend a mail to a player. Note: subject may not contain spaces.'),
+('server info',0,'Syntax: .server info\r\n\r\nDisplay server version and the number of connected players.'),
+('server idleshutdown',3,'Syntax: .server idleshutdown #delay|cancel\r\n\r\nShut the server down after #delay seconds if no active connections are present (no players) or cancel the restart/shutdown if cancel value is used.'),
+('server idlerestart',3,'Syntax: .server idlerestart #delay|cancel\r\n\r\nRestart the server after #delay seconds if no active connections are present (no players) or cancel the restart/shutdown if cancel value is used.'),
+('server restart',3,'Syntax: .server restart seconds\r\n\r\nRestart the server after given seconds and show "Restart server in X" or cancel the restart/shutdown if cancel value is used.'),
+('server shutdown',3,'Syntax: .server shutdown seconds\r\n\r\nShut the server down after given seconds and show "Off server in X" or cancel the restart/shutdown if cancel value is used.'),
+('setskill',3,'Syntax: .setskill #skill #level [#max]\r\n\r\nSet a skill of id #skill with a current skill value of #level and a maximum value of #max (or equal current maximum if not provide) for the selected character. If no character is selected, you learn the skill.'),
+('showarea',3,'Syntax: .showarea #areaid\r\n\r\nReveal the area of #areaid to the selected character. If no character is selected, reveal this area to you.'),
+('start',0,'Syntax: .start\r\n\r\nTeleport you to the starting area of your character.'),
+('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.'),
+('tele',1,'Syntax: .tele #location\r\n\r\nTeleport player to a given location.'),
+('tele add',3,'Syntax: .tele add $name\r\n\r\nAdd current your position to .tele command target locations list with name $name.'),
+('tele del',3,'Syntax: .tele del $name\r\n\r\nRemove location with name $name for .tele command locations list.'),
+('tele group',1,'Syntax: .tele group#location\r\n\r\nTeleport a selected player and his group members to a given location.'),
+('tele name',1,'Syntax: .tele name #playername #location\r\n\r\nTeleport a player to a given location.'),
+('ticket',2,'Syntax: .ticket on\r\n .ticket off\r\n .ticket #num\r\n .ticket $character_name\r\n\r\non/off for GMs to show or not a new ticket directly, $character_name to show ticket of this character, #num to show ticket #num.'),
+('transport',3,'Not yet implemented.'),
+('unaura',3,'Syntax: .unaura #spellid\r\n\r\nRemove aura due to spell #spellid from the selected Unit.'),
+('unban',3,'Syntax is: unban <account|ip|character> $NameOrIp\r\nUnban account or IP.'),
+('unlearn',3,'Syntax: .unlearn #startspell #endspell\r\n\r\nUnlearn for selected player the range of spells between id #startspell and #endspell. If no #endspell is provided, just unlearn spell of id #startspell.'),
+('unmute',1,'Syntax: .unmute $playerName\r\n\r\nRestore chat messaging for any character from account of character $playerName.'),
+('wchange',3,'Syntax: .wchange #weathertype #status\r\n\r\nSet current weather to #weathertype with an intensity of #status.\r\n\r\n#weathertype can be 1 for rain, 2 for snow, and 3 for sand. #status can be 0 for disabled, and 1 for enabled.'),
+('whispers',1,'Syntax: .whispers on|off\r\nEnable/disable accepting whispers by GM from players. By default use mangosd.conf setting.'),
+('wp',2,'Using WP Command:\r\nEach Waypoint Command has it\'s own description!'),
+('wp add',2,'Syntax: .wp add [#creature_guid or Select a Creature]'),
+('wp export',3,'Syntax: .wp export [#creature_guid or Select a Creature] $filename'),
+('wp import',3,'Syntax: .wp import $filename'),
+('wp modify',2,'Syntax: .wp modify [#creature_guid or Select a Creature]\r\nadd - Add a waypoint after the selected visual\r\nwaittime $time\r\nemote ID\r\nspell ID\r\ntext1| text2| text3| text4| text5 <text>\r\nmodel1 ID\r\nmodel2 ID\r\nmove(moves wp to player pos)\r\ndel (deletes the wp)\r\n\r\nOnly one parameter per time!'),
+('wp show',2,'Syntax: .wp show [#creature_guid or Select a Creature]\r\non\r\nfirst\r\nlast\r\noff\r\ninfo\r\n\r\nFor using info you have to do first show on and than select a Visual-Waypoint and do the show info!');
+/*!40000 ALTER TABLE `command` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `creature`
+--
+
+DROP TABLE IF EXISTS `creature`;
+CREATE TABLE `creature` (
+ `guid` int(10) unsigned NOT NULL auto_increment COMMENT 'Global Unique Identifier',
+ `id` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Creature Identifier',
+ `map` smallint(5) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
+ `spawnMask` tinyint(3) unsigned NOT NULL default '1',
+ `modelid` mediumint(8) unsigned NOT NULL default '0',
+ `equipment_id` mediumint(9) NOT NULL default '0',
+ `position_x` float NOT NULL default '0',
+ `position_y` float NOT NULL default '0',
+ `position_z` float NOT NULL default '0',
+ `orientation` float NOT NULL default '0',
+ `spawntimesecs` int(10) unsigned NOT NULL default '120',
+ `spawndist` float NOT NULL default '5',
+ `currentwaypoint` mediumint(8) unsigned NOT NULL default '0',
+ `curhealth` int(10) unsigned NOT NULL default '1',
+ `curmana` int(10) unsigned NOT NULL default '0',
+ `DeathState` tinyint(3) unsigned NOT NULL default '0',
+ `MovementType` tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`),
+ KEY `idx_map` (`map`),
+ KEY `index_id` (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature System';
+
+--
+-- Dumping data for table `creature`
+--
+
+LOCK TABLES `creature` WRITE;
+/*!40000 ALTER TABLE `creature` DISABLE KEYS */;
+/*!40000 ALTER TABLE `creature` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `creature_addon`
+--
+
+DROP TABLE IF EXISTS `creature_addon`;
+CREATE TABLE `creature_addon` (
+ `guid` int(11) NOT NULL default '0',
+ `mount` mediumint(8) unsigned NOT NULL default '0',
+ `bytes0` int(10) unsigned NOT NULL default '0',
+ `bytes1` int(10) unsigned NOT NULL default '0',
+ `bytes2` int(10) unsigned NOT NULL default '0',
+ `emote` int(10) unsigned NOT NULL default '0',
+ `moveflags` int(10) unsigned NOT NULL default '0',
+ `auras` text,
+ PRIMARY KEY (`guid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `creature_addon`
+--
+
+LOCK TABLES `creature_addon` WRITE;
+/*!40000 ALTER TABLE `creature_addon` DISABLE KEYS */;
+/*!40000 ALTER TABLE `creature_addon` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `creature_equip_template`
+--
+
+DROP TABLE IF EXISTS `creature_equip_template`;
+CREATE TABLE `creature_equip_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Unique entry',
+ `equipmodel1` mediumint(8) unsigned NOT NULL default '0',
+ `equipmodel2` mediumint(8) unsigned NOT NULL default '0',
+ `equipmodel3` mediumint(8) unsigned NOT NULL default '0',
+ `equipinfo1` int(10) unsigned NOT NULL default '0',
+ `equipinfo2` int(10) unsigned NOT NULL default '0',
+ `equipinfo3` int(10) unsigned NOT NULL default '0',
+ `equipslot1` int(11) NOT NULL default '0',
+ `equipslot2` int(11) NOT NULL default '0',
+ `equipslot3` int(11) NOT NULL default '0',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Creature System (Equipment)';
+
+--
+-- Dumping data for table `creature_equip_template`
+--
+
+LOCK TABLES `creature_equip_template` WRITE;
+/*!40000 ALTER TABLE `creature_equip_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `creature_equip_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `creature_involvedrelation`
+--
+
+DROP TABLE IF EXISTS `creature_involvedrelation`;
+CREATE TABLE `creature_involvedrelation` (
+ `id` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Identifier',
+ `quest` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
+ PRIMARY KEY (`id`,`quest`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature System';
+
+--
+-- Dumping data for table `creature_involvedrelation`
+--
+
+LOCK TABLES `creature_involvedrelation` WRITE;
+/*!40000 ALTER TABLE `creature_involvedrelation` DISABLE KEYS */;
+/*!40000 ALTER TABLE `creature_involvedrelation` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `creature_loot_template`
+--
+
+DROP TABLE IF EXISTS `creature_loot_template`;
+CREATE TABLE `creature_loot_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `item` mediumint(8) unsigned NOT NULL default '0',
+ `ChanceOrQuestChance` float NOT NULL default '100',
+ `groupid` tinyint(3) unsigned NOT NULL default '0',
+ `mincountOrRef` mediumint(9) NOT NULL default '1',
+ `maxcount` tinyint(3) unsigned NOT NULL default '1',
+ `lootcondition` tinyint(3) unsigned NOT NULL default '0',
+ `condition_value1` mediumint(8) unsigned NOT NULL default '0',
+ `condition_value2` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+
+--
+-- Dumping data for table `creature_loot_template`
+--
+
+LOCK TABLES `creature_loot_template` WRITE;
+/*!40000 ALTER TABLE `creature_loot_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `creature_loot_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `creature_model_info`
+--
+
+DROP TABLE IF EXISTS `creature_model_info`;
+CREATE TABLE `creature_model_info` (
+ `modelid` mediumint(8) unsigned NOT NULL default '0',
+ `bounding_radius` float NOT NULL default '0',
+ `combat_reach` float NOT NULL default '0',
+ `gender` tinyint(3) unsigned NOT NULL default '2',
+ `modelid_other_gender` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`modelid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Creature System (Model related info)';
+
+--
+-- Dumping data for table `creature_model_info`
+--
+
+LOCK TABLES `creature_model_info` WRITE;
+/*!40000 ALTER TABLE `creature_model_info` DISABLE KEYS */;
+/*!40000 ALTER TABLE `creature_model_info` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `creature_movement`
+--
+
+DROP TABLE IF EXISTS `creature_movement`;
+CREATE TABLE `creature_movement` (
+ `id` int(10) unsigned NOT NULL COMMENT 'Creature GUID',
+ `point` mediumint(8) unsigned NOT NULL default '0',
+ `position_x` float NOT NULL default '0',
+ `position_y` float NOT NULL default '0',
+ `position_z` float NOT NULL default '0',
+ `waittime` int(10) unsigned NOT NULL default '0',
+ `text1` text,
+ `text2` text,
+ `text3` text,
+ `text4` text,
+ `text5` text,
+ `emote` mediumint(8) unsigned NOT NULL default '0',
+ `spell` mediumint(8) unsigned NOT NULL default '0',
+ `wpguid` int(11) NOT NULL default '0',
+ `orientation` float NOT NULL default '0',
+ `model1` mediumint(9) NOT NULL default '0',
+ `model2` mediumint(9) NOT NULL default '0',
+ PRIMARY KEY (`id`,`point`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature System';
+
+--
+-- Dumping data for table `creature_movement`
+--
+
+LOCK TABLES `creature_movement` WRITE;
+/*!40000 ALTER TABLE `creature_movement` DISABLE KEYS */;
+/*!40000 ALTER TABLE `creature_movement` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `creature_onkill_reputation`
+--
+
+DROP TABLE IF EXISTS `creature_onkill_reputation`;
+CREATE TABLE `creature_onkill_reputation` (
+ `creature_id` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Creature Identifier',
+ `RewOnKillRepFaction1` smallint(6) NOT NULL default '0',
+ `RewOnKillRepFaction2` smallint(6) NOT NULL default '0',
+ `MaxStanding1` tinyint(4) NOT NULL default '0',
+ `IsTeamAward1` tinyint(4) NOT NULL default '0',
+ `RewOnKillRepValue1` mediumint(9) NOT NULL default '0',
+ `MaxStanding2` tinyint(4) NOT NULL default '0',
+ `IsTeamAward2` tinyint(4) NOT NULL default '0',
+ `RewOnKillRepValue2` mediumint(9) NOT NULL default '0',
+ `TeamDependent` tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (`creature_id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature OnKill Reputation gain';
+
+--
+-- Dumping data for table `creature_onkill_reputation`
+--
+
+LOCK TABLES `creature_onkill_reputation` WRITE;
+/*!40000 ALTER TABLE `creature_onkill_reputation` DISABLE KEYS */;
+/*!40000 ALTER TABLE `creature_onkill_reputation` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `creature_questrelation`
+--
+
+DROP TABLE IF EXISTS `creature_questrelation`;
+CREATE TABLE `creature_questrelation` (
+ `id` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Identifier',
+ `quest` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
+ PRIMARY KEY (`id`,`quest`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature System';
+
+--
+-- Dumping data for table `creature_questrelation`
+--
+
+LOCK TABLES `creature_questrelation` WRITE;
+/*!40000 ALTER TABLE `creature_questrelation` DISABLE KEYS */;
+/*!40000 ALTER TABLE `creature_questrelation` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `creature_respawn`
+--
+
+DROP TABLE IF EXISTS `creature_respawn`;
+CREATE TABLE `creature_respawn` (
+ `guid` int(10) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `respawntime` bigint(20) NOT NULL default '0',
+ `instance` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`instance`),
+ KEY `instance` (`instance`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Grid Loading System';
+
+--
+-- Dumping data for table `creature_respawn`
+--
+
+LOCK TABLES `creature_respawn` WRITE;
+/*!40000 ALTER TABLE `creature_respawn` DISABLE KEYS */;
+/*!40000 ALTER TABLE `creature_respawn` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `creature_template`
+--
+
+DROP TABLE IF EXISTS `creature_template`;
+CREATE TABLE `creature_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `heroic_entry` mediumint(8) unsigned NOT NULL default '0',
+ `modelid_A` mediumint(8) unsigned NOT NULL default '0',
+ `modelid_A2` mediumint(8) unsigned NOT NULL default '0',
+ `modelid_H` mediumint(8) unsigned NOT NULL default '0',
+ `modelid_H2` mediumint(8) unsigned NOT NULL default '0',
+ `name` char(100) NOT NULL default '0',
+ `subname` char(100) default NULL,
+ `IconName` char(100) default NULL,
+ `minlevel` tinyint(3) unsigned NOT NULL default '1',
+ `maxlevel` tinyint(3) unsigned NOT NULL default '1',
+ `minhealth` int(10) unsigned NOT NULL default '0',
+ `maxhealth` int(10) unsigned NOT NULL default '0',
+ `minmana` int(10) unsigned NOT NULL default '0',
+ `maxmana` int(10) unsigned NOT NULL default '0',
+ `armor` mediumint(8) unsigned NOT NULL default '0',
+ `faction_A` smallint(5) unsigned NOT NULL default '0',
+ `faction_H` smallint(5) unsigned NOT NULL default '0',
+ `npcflag` int(10) unsigned NOT NULL default '0',
+ `speed` float NOT NULL default '1',
+ `scale` float NOT NULL default '1',
+ `rank` tinyint(3) unsigned NOT NULL default '0',
+ `mindmg` float NOT NULL default '0',
+ `maxdmg` float NOT NULL default '0',
+ `dmgschool` tinyint(4) NOT NULL default '0',
+ `attackpower` int(10) unsigned NOT NULL default '0',
+ `baseattacktime` int(10) unsigned NOT NULL default '0',
+ `rangeattacktime` int(10) unsigned NOT NULL default '0',
+ `flags` int(10) unsigned NOT NULL default '0',
+ `dynamicflags` int(10) unsigned NOT NULL default '0',
+ `family` tinyint(4) NOT NULL default '0',
+ `trainer_type` tinyint(4) NOT NULL default '0',
+ `trainer_spell` mediumint(8) unsigned NOT NULL default '0',
+ `class` tinyint(3) unsigned NOT NULL default '0',
+ `race` tinyint(3) unsigned NOT NULL default '0',
+ `minrangedmg` float NOT NULL default '0',
+ `maxrangedmg` float NOT NULL default '0',
+ `rangedattackpower` smallint(5) unsigned NOT NULL default '0',
+ `type` tinyint(3) unsigned NOT NULL default '0',
+ `flag1` int(10) unsigned NOT NULL default '0',
+ `lootid` mediumint(8) unsigned NOT NULL default '0',
+ `pickpocketloot` mediumint(8) unsigned NOT NULL default '0',
+ `skinloot` mediumint(8) unsigned NOT NULL default '0',
+ `resistance1` smallint(5) NOT NULL default '0',
+ `resistance2` smallint(5) NOT NULL default '0',
+ `resistance3` smallint(5) NOT NULL default '0',
+ `resistance4` smallint(5) NOT NULL default '0',
+ `resistance5` smallint(5) NOT NULL default '0',
+ `resistance6` smallint(5) NOT NULL default '0',
+ `spell1` mediumint(8) unsigned NOT NULL default '0',
+ `spell2` mediumint(8) unsigned NOT NULL default '0',
+ `spell3` mediumint(8) unsigned NOT NULL default '0',
+ `spell4` mediumint(8) unsigned NOT NULL default '0',
+ `PetSpellDataId` mediumint(8) unsigned NOT NULL default '0',
+ `mingold` mediumint(8) unsigned NOT NULL default '0',
+ `maxgold` mediumint(8) unsigned NOT NULL default '0',
+ `AIName` char(64) NOT NULL default '',
+ `MovementType` tinyint(3) unsigned NOT NULL default '0',
+ `InhabitType` tinyint(3) unsigned NOT NULL default '3',
+ `RacialLeader` tinyint(3) unsigned NOT NULL default '0',
+ `RegenHealth` tinyint(3) unsigned NOT NULL default '1',
+ `equipment_id` mediumint(8) unsigned NOT NULL default '0',
+ `mechanic_immune_mask` int(10) unsigned NOT NULL default '0',
+ `flags_extra` int(10) unsigned NOT NULL default '0',
+ `ScriptName` char(64) NOT NULL default '',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Creature System';
+
+--
+-- Dumping data for table `creature_template`
+--
+
+LOCK TABLES `creature_template` WRITE;
+/*!40000 ALTER TABLE `creature_template` DISABLE KEYS */;
+INSERT INTO `creature_template` VALUES
+(1,1,10045,0,10045,0,'Waypoint(Only GM can see it)','Visual',NULL,1,1,64,64,0,0,0,35,35,0,0.91,1,0,14,15,0,100,2000,2200,4096,0,8,0,0,0,0,1.76,2.42,100,8,5242886,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,3,0,1,0,0,2,'');
+/*!40000 ALTER TABLE `creature_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `creature_template_addon`
+--
+
+DROP TABLE IF EXISTS `creature_template_addon`;
+CREATE TABLE `creature_template_addon` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `mount` mediumint(8) unsigned NOT NULL default '0',
+ `bytes0` int(10) unsigned NOT NULL default '0',
+ `bytes1` int(10) unsigned NOT NULL default '0',
+ `bytes2` int(10) unsigned NOT NULL default '0',
+ `emote` mediumint(8) unsigned NOT NULL default '0',
+ `moveflags` int(10) unsigned NOT NULL default '0',
+ `auras` text,
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `creature_template_addon`
+--
+
+LOCK TABLES `creature_template_addon` WRITE;
+/*!40000 ALTER TABLE `creature_template_addon` DISABLE KEYS */;
+/*!40000 ALTER TABLE `creature_template_addon` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `db_version`
+--
+
+DROP TABLE IF EXISTS `db_version`;
+CREATE TABLE `db_version` (
+ `version` varchar(120) default NULL
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
+
+--
+-- Dumping data for table `db_version`
+--
+
+LOCK TABLES `db_version` WRITE;
+/*!40000 ALTER TABLE `db_version` DISABLE KEYS */;
+INSERT INTO `db_version` VALUES
+('Mangos default database.');
+/*!40000 ALTER TABLE `db_version` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `disenchant_loot_template`
+--
+
+DROP TABLE IF EXISTS `disenchant_loot_template`;
+CREATE TABLE `disenchant_loot_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Recommended id selection: item_level*100 + item_quality',
+ `item` mediumint(8) unsigned NOT NULL default '0',
+ `ChanceOrQuestChance` float NOT NULL default '100',
+ `groupid` tinyint(3) unsigned NOT NULL default '0',
+ `mincountOrRef` mediumint(9) NOT NULL default '1',
+ `maxcount` tinyint(3) unsigned NOT NULL default '1',
+ `lootcondition` tinyint(3) unsigned NOT NULL default '0',
+ `condition_value1` mediumint(8) unsigned NOT NULL default '0',
+ `condition_value2` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+
+--
+-- Dumping data for table `disenchant_loot_template`
+--
+
+LOCK TABLES `disenchant_loot_template` WRITE;
+/*!40000 ALTER TABLE `disenchant_loot_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `disenchant_loot_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `event_scripts`
+--
+
+DROP TABLE IF EXISTS `event_scripts`;
+CREATE TABLE `event_scripts` (
+ `id` mediumint(8) unsigned NOT NULL default '0',
+ `delay` int(10) unsigned NOT NULL default '0',
+ `command` mediumint(8) unsigned NOT NULL default '0',
+ `datalong` mediumint(8) unsigned NOT NULL default '0',
+ `datalong2` int(10) 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;
+
+--
+-- Dumping data for table `event_scripts`
+--
+
+LOCK TABLES `event_scripts` WRITE;
+/*!40000 ALTER TABLE `event_scripts` DISABLE KEYS */;
+/*!40000 ALTER TABLE `event_scripts` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `exploration_basexp`
+--
+
+DROP TABLE IF EXISTS `exploration_basexp`;
+CREATE TABLE `exploration_basexp` (
+ `level` tinyint(4) NOT NULL default '0',
+ `basexp` mediumint(9) NOT NULL default '0',
+ PRIMARY KEY (`level`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Exploration System';
+
+--
+-- Dumping data for table `exploration_basexp`
+--
+
+LOCK TABLES `exploration_basexp` WRITE;
+/*!40000 ALTER TABLE `exploration_basexp` DISABLE KEYS */;
+INSERT INTO `exploration_basexp` VALUES
+(0,0),
+(1,5),
+(2,15),
+(3,25),
+(4,35),
+(5,45),
+(6,55),
+(7,65),
+(8,70),
+(9,80),
+(10,85),
+(11,90),
+(12,90),
+(13,90),
+(14,100),
+(15,105),
+(16,115),
+(17,125),
+(18,135),
+(19,145),
+(20,155),
+(21,165),
+(22,175),
+(23,185),
+(24,195),
+(25,200),
+(26,210),
+(27,220),
+(28,230),
+(29,240),
+(30,245),
+(31,250),
+(32,255),
+(33,265),
+(34,270),
+(35,275),
+(36,280),
+(37,285),
+(38,285),
+(39,300),
+(40,315),
+(41,330),
+(42,345),
+(43,360),
+(44,375),
+(45,390),
+(46,405),
+(47,420),
+(48,440),
+(49,455),
+(50,470),
+(51,490),
+(52,510),
+(53,530),
+(54,540),
+(55,560),
+(56,580),
+(57,600),
+(58,620),
+(59,640),
+(60,660),
+(61,970),
+(62,1000),
+(63,1050),
+(64,1080),
+(65,1100),
+(66,1130),
+(67,1160),
+(68,1200),
+(69,1230),
+(70,1250);
+/*!40000 ALTER TABLE `exploration_basexp` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `fishing_loot_template`
+--
+
+DROP TABLE IF EXISTS `fishing_loot_template`;
+CREATE TABLE `fishing_loot_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `item` mediumint(8) unsigned NOT NULL default '0',
+ `ChanceOrQuestChance` float NOT NULL default '100',
+ `groupid` tinyint(3) unsigned NOT NULL default '0',
+ `mincountOrRef` mediumint(9) NOT NULL default '1',
+ `maxcount` tinyint(3) unsigned NOT NULL default '1',
+ `lootcondition` tinyint(3) unsigned NOT NULL default '0',
+ `condition_value1` mediumint(8) unsigned NOT NULL default '0',
+ `condition_value2` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+
+--
+-- Dumping data for table `fishing_loot_template`
+--
+
+LOCK TABLES `fishing_loot_template` WRITE;
+/*!40000 ALTER TABLE `fishing_loot_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `fishing_loot_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `game_event`
+--
+
+DROP TABLE IF EXISTS `game_event`;
+CREATE TABLE `game_event` (
+ `entry` mediumint(8) unsigned NOT NULL COMMENT 'Entry of the game event',
+ `start_time` timestamp NOT NULL default '0000-00-00 00:00:00' COMMENT 'Absolute start date, the event will never start before',
+ `end_time` timestamp NOT NULL default '0000-00-00 00:00:00' COMMENT 'Absolute end date, the event will never start afler',
+ `occurence` bigint(20) unsigned NOT NULL default '86400' COMMENT 'Delay in hours between occurences of the event',
+ `length` bigint(20) unsigned NOT NULL default '43200' COMMENT 'Length in hours of the event',
+ `description` varchar(255) default NULL COMMENT 'Description of the event displayed in console',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `game_event`
+--
+
+LOCK TABLES `game_event` WRITE;
+/*!40000 ALTER TABLE `game_event` DISABLE KEYS */;
+/*!40000 ALTER TABLE `game_event` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `game_event_creature`
+--
+
+DROP TABLE IF EXISTS `game_event_creature`;
+CREATE TABLE `game_event_creature` (
+ `guid` int(10) unsigned NOT NULL,
+ `event` smallint(6) NOT NULL default '0' COMMENT 'Put negatives values to remove during event',
+ PRIMARY KEY (`guid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `game_event_creature`
+--
+
+LOCK TABLES `game_event_creature` WRITE;
+/*!40000 ALTER TABLE `game_event_creature` DISABLE KEYS */;
+/*!40000 ALTER TABLE `game_event_creature` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `game_event_creature_quest`
+--
+
+DROP TABLE IF EXISTS `game_event_creature_quest`;
+CREATE TABLE `game_event_creature_quest` (
+ `id` mediumint(8) unsigned NOT NULL default '0',
+ `quest` mediumint(8) unsigned NOT NULL default '0',
+ `event` smallint(5) unsigned NOT NULL default '0',
+ PRIMARY KEY (`id`,`quest`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `game_event_creature_quest`
+--
+
+LOCK TABLES `game_event_creature_quest` WRITE;
+/*!40000 ALTER TABLE `game_event_creature_quest` DISABLE KEYS */;
+/*!40000 ALTER TABLE `game_event_creature_quest` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `game_event_gameobject`
+--
+
+DROP TABLE IF EXISTS `game_event_gameobject`;
+CREATE TABLE `game_event_gameobject` (
+ `guid` int(10) unsigned NOT NULL,
+ `event` smallint(6) NOT NULL default '0' COMMENT 'Put negatives values to remove during event',
+ PRIMARY KEY (`guid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `game_event_gameobject`
+--
+
+LOCK TABLES `game_event_gameobject` WRITE;
+/*!40000 ALTER TABLE `game_event_gameobject` DISABLE KEYS */;
+/*!40000 ALTER TABLE `game_event_gameobject` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `game_event_model_equip`
+--
+
+DROP TABLE IF EXISTS `game_event_model_equip`;
+CREATE TABLE `game_event_model_equip` (
+ `guid` int(10) unsigned NOT NULL default '0',
+ `modelid` mediumint(8) unsigned NOT NULL default '0',
+ `equipment_id` mediumint(8) unsigned NOT NULL default '0',
+ `event` smallint(5) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `game_event_model_equip`
+--
+
+LOCK TABLES `game_event_model_equip` WRITE;
+/*!40000 ALTER TABLE `game_event_model_equip` DISABLE KEYS */;
+/*!40000 ALTER TABLE `game_event_model_equip` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `game_graveyard_zone`
+--
+
+DROP TABLE IF EXISTS `game_graveyard_zone`;
+CREATE TABLE `game_graveyard_zone` (
+ `id` mediumint(8) unsigned NOT NULL default '0',
+ `ghost_zone` mediumint(8) unsigned NOT NULL default '0',
+ `faction` smallint(5) unsigned NOT NULL default '0',
+ PRIMARY KEY (`id`,`ghost_zone`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Trigger System';
+
+--
+-- Dumping data for table `game_graveyard_zone`
+--
+
+LOCK TABLES `game_graveyard_zone` WRITE;
+/*!40000 ALTER TABLE `game_graveyard_zone` DISABLE KEYS */;
+/*!40000 ALTER TABLE `game_graveyard_zone` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `game_tele`
+--
+
+DROP TABLE IF EXISTS `game_tele`;
+CREATE TABLE `game_tele` (
+ `id` mediumint(8) unsigned NOT NULL auto_increment,
+ `position_x` float NOT NULL default '0',
+ `position_y` float NOT NULL default '0',
+ `position_z` float NOT NULL default '0',
+ `orientation` float NOT NULL default '0',
+ `map` smallint(5) unsigned NOT NULL default '0',
+ `name` varchar(100) NOT NULL default '',
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Tele Command';
+
+--
+-- Dumping data for table `game_tele`
+--
+
+LOCK TABLES `game_tele` WRITE;
+/*!40000 ALTER TABLE `game_tele` DISABLE KEYS */;
+/*!40000 ALTER TABLE `game_tele` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `game_weather`
+--
+
+DROP TABLE IF EXISTS `game_weather`;
+CREATE TABLE `game_weather` (
+ `zone` mediumint(8) unsigned NOT NULL default '0',
+ `spring_rain_chance` tinyint(3) unsigned NOT NULL default '25',
+ `spring_snow_chance` tinyint(3) unsigned NOT NULL default '25',
+ `spring_storm_chance` tinyint(3) unsigned NOT NULL default '25',
+ `summer_rain_chance` tinyint(3) unsigned NOT NULL default '25',
+ `summer_snow_chance` tinyint(3) unsigned NOT NULL default '25',
+ `summer_storm_chance` tinyint(3) unsigned NOT NULL default '25',
+ `fall_rain_chance` tinyint(3) unsigned NOT NULL default '25',
+ `fall_snow_chance` tinyint(3) unsigned NOT NULL default '25',
+ `fall_storm_chance` tinyint(3) unsigned NOT NULL default '25',
+ `winter_rain_chance` tinyint(3) unsigned NOT NULL default '25',
+ `winter_snow_chance` tinyint(3) unsigned NOT NULL default '25',
+ `winter_storm_chance` tinyint(3) unsigned NOT NULL default '25',
+ PRIMARY KEY (`zone`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Weather System';
+
+--
+-- Dumping data for table `game_weather`
+--
+
+LOCK TABLES `game_weather` WRITE;
+/*!40000 ALTER TABLE `game_weather` DISABLE KEYS */;
+/*!40000 ALTER TABLE `game_weather` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `gameobject`
+--
+
+DROP TABLE IF EXISTS `gameobject`;
+CREATE TABLE `gameobject` (
+ `guid` int(10) unsigned NOT NULL auto_increment COMMENT 'Global Unique Identifier',
+ `id` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Gameobject Identifier',
+ `map` smallint(5) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
+ `spawnMask` tinyint(3) unsigned NOT NULL default '1',
+ `position_x` float NOT NULL default '0',
+ `position_y` float NOT NULL default '0',
+ `position_z` float NOT NULL default '0',
+ `orientation` float NOT NULL default '0',
+ `rotation0` float NOT NULL default '0',
+ `rotation1` float NOT NULL default '0',
+ `rotation2` float NOT NULL default '0',
+ `rotation3` float NOT NULL default '0',
+ `spawntimesecs` int(11) NOT NULL default '0',
+ `animprogress` tinyint(3) unsigned NOT NULL default '0',
+ `state` tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Gameobject System';
+
+--
+-- Dumping data for table `gameobject`
+--
+
+LOCK TABLES `gameobject` WRITE;
+/*!40000 ALTER TABLE `gameobject` DISABLE KEYS */;
+/*!40000 ALTER TABLE `gameobject` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `gameobject_involvedrelation`
+--
+
+DROP TABLE IF EXISTS `gameobject_involvedrelation`;
+CREATE TABLE `gameobject_involvedrelation` (
+ `id` mediumint(8) unsigned NOT NULL default '0',
+ `quest` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
+ PRIMARY KEY (`id`,`quest`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `gameobject_involvedrelation`
+--
+
+LOCK TABLES `gameobject_involvedrelation` WRITE;
+/*!40000 ALTER TABLE `gameobject_involvedrelation` DISABLE KEYS */;
+/*!40000 ALTER TABLE `gameobject_involvedrelation` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `gameobject_loot_template`
+--
+
+DROP TABLE IF EXISTS `gameobject_loot_template`;
+CREATE TABLE `gameobject_loot_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `item` mediumint(8) unsigned NOT NULL default '0',
+ `ChanceOrQuestChance` float NOT NULL default '100',
+ `groupid` tinyint(3) unsigned NOT NULL default '0',
+ `mincountOrRef` mediumint(9) NOT NULL default '1',
+ `maxcount` tinyint(3) unsigned NOT NULL default '1',
+ `lootcondition` tinyint(3) unsigned NOT NULL default '0',
+ `condition_value1` mediumint(8) unsigned NOT NULL default '0',
+ `condition_value2` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+
+--
+-- Dumping data for table `gameobject_loot_template`
+--
+
+LOCK TABLES `gameobject_loot_template` WRITE;
+/*!40000 ALTER TABLE `gameobject_loot_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `gameobject_loot_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `gameobject_questrelation`
+--
+
+DROP TABLE IF EXISTS `gameobject_questrelation`;
+CREATE TABLE `gameobject_questrelation` (
+ `id` mediumint(8) unsigned NOT NULL default '0',
+ `quest` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
+ PRIMARY KEY (`id`,`quest`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `gameobject_questrelation`
+--
+
+LOCK TABLES `gameobject_questrelation` WRITE;
+/*!40000 ALTER TABLE `gameobject_questrelation` DISABLE KEYS */;
+/*!40000 ALTER TABLE `gameobject_questrelation` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `gameobject_respawn`
+--
+
+DROP TABLE IF EXISTS `gameobject_respawn`;
+CREATE TABLE `gameobject_respawn` (
+ `guid` int(10) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `respawntime` bigint(20) NOT NULL default '0',
+ `instance` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`instance`),
+ KEY `instance` (`instance`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Grid Loading System';
+
+--
+-- Dumping data for table `gameobject_respawn`
+--
+
+LOCK TABLES `gameobject_respawn` WRITE;
+/*!40000 ALTER TABLE `gameobject_respawn` DISABLE KEYS */;
+/*!40000 ALTER TABLE `gameobject_respawn` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `gameobject_scripts`
+--
+
+DROP TABLE IF EXISTS `gameobject_scripts`;
+CREATE TABLE `gameobject_scripts` (
+ `id` mediumint(8) unsigned NOT NULL default '0',
+ `delay` int(10) unsigned NOT NULL default '0',
+ `command` mediumint(8) unsigned NOT NULL default '0',
+ `datalong` mediumint(8) unsigned NOT NULL default '0',
+ `datalong2` int(10) 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;
+
+--
+-- Dumping data for table `gameobject_scripts`
+--
+
+LOCK TABLES `gameobject_scripts` WRITE;
+/*!40000 ALTER TABLE `gameobject_scripts` DISABLE KEYS */;
+/*!40000 ALTER TABLE `gameobject_scripts` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `gameobject_template`
+--
+
+DROP TABLE IF EXISTS `gameobject_template`;
+CREATE TABLE `gameobject_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `type` tinyint(3) unsigned NOT NULL default '0',
+ `displayId` mediumint(8) unsigned NOT NULL default '0',
+ `name` varchar(100) NOT NULL default '',
+ `castBarCaption` varchar(100) NOT NULL default '',
+ `faction` smallint(5) unsigned NOT NULL default '0',
+ `flags` int(10) unsigned NOT NULL default '0',
+ `size` float NOT NULL default '1',
+ `data0` int(10) unsigned NOT NULL default '0',
+ `data1` int(10) unsigned NOT NULL default '0',
+ `data2` int(10) unsigned NOT NULL default '0',
+ `data3` int(10) unsigned NOT NULL default '0',
+ `data4` int(10) unsigned NOT NULL default '0',
+ `data5` int(10) unsigned NOT NULL default '0',
+ `data6` int(10) unsigned NOT NULL default '0',
+ `data7` int(10) unsigned NOT NULL default '0',
+ `data8` int(10) unsigned NOT NULL default '0',
+ `data9` int(10) unsigned NOT NULL default '0',
+ `data10` int(10) unsigned NOT NULL default '0',
+ `data11` int(10) unsigned NOT NULL default '0',
+ `data12` int(10) unsigned NOT NULL default '0',
+ `data13` int(10) unsigned NOT NULL default '0',
+ `data14` int(10) unsigned NOT NULL default '0',
+ `data15` int(10) unsigned NOT NULL default '0',
+ `data16` int(10) unsigned NOT NULL default '0',
+ `data17` int(10) unsigned NOT NULL default '0',
+ `data18` int(10) unsigned NOT NULL default '0',
+ `data19` int(10) unsigned NOT NULL default '0',
+ `data20` int(10) unsigned NOT NULL default '0',
+ `data21` int(10) unsigned NOT NULL default '0',
+ `data22` int(10) unsigned NOT NULL default '0',
+ `data23` int(10) unsigned NOT NULL default '0',
+ `ScriptName` varchar(64) NOT NULL default '',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Gameobject System';
+
+--
+-- Dumping data for table `gameobject_template`
+--
+
+LOCK TABLES `gameobject_template` WRITE;
+/*!40000 ALTER TABLE `gameobject_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `gameobject_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `instance_template`
+--
+
+DROP TABLE IF EXISTS `instance_template`;
+CREATE TABLE `instance_template` (
+ `map` smallint(5) unsigned NOT NULL,
+ `parent` int(10) unsigned NOT NULL,
+ `levelMin` tinyint(3) unsigned NOT NULL default '0',
+ `levelMax` tinyint(3) unsigned NOT NULL default '0',
+ `maxPlayers` tinyint(3) unsigned NOT NULL default '0',
+ `reset_delay` int(10) unsigned NOT NULL default '0',
+ `startLocX` float default NULL,
+ `startLocY` float default NULL,
+ `startLocZ` float default NULL,
+ `startLocO` float default NULL,
+ `script` varchar(128) NOT NULL default '',
+ PRIMARY KEY (`map`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `instance_template`
+--
+
+LOCK TABLES `instance_template` WRITE;
+/*!40000 ALTER TABLE `instance_template` DISABLE KEYS */;
+INSERT INTO `instance_template` VALUES
+(33,0,22,30,10,7200,NULL,NULL,NULL,NULL,''),
+(34,0,24,32,10,7200,NULL,NULL,NULL,NULL,''),
+(36,0,15,20,10,7200,NULL,NULL,NULL,NULL,''),
+(43,0,15,21,10,7200,NULL,NULL,NULL,NULL,''),
+(47,0,29,38,10,7200,NULL,NULL,NULL,NULL,''),
+(48,0,24,32,10,7200,NULL,NULL,NULL,NULL,''),
+(70,0,35,47,10,7200,NULL,NULL,NULL,NULL,''),
+(90,0,29,38,10,7200,NULL,NULL,NULL,NULL,''),
+(109,0,45,55,10,7200,NULL,NULL,NULL,NULL,''),
+(129,0,37,46,10,7200,NULL,NULL,NULL,NULL,''),
+(189,0,34,45,10,7200,NULL,NULL,NULL,NULL,''),
+(209,0,44,54,10,7200,NULL,NULL,NULL,NULL,''),
+(229,0,58,0,10,120000,78.5083,-225.044,49.839,5.1,''),
+(230,0,52,0,5,7200,NULL,NULL,NULL,NULL,''),
+(249,0,60,0,40,432000,NULL,NULL,NULL,NULL,''),
+(289,0,57,0,5,7200,NULL,NULL,NULL,NULL,''),
+(309,0,60,0,20,259200,NULL,NULL,NULL,NULL,''),
+(329,0,58,60,5,7200,NULL,NULL,NULL,NULL,''),
+(349,0,46,55,10,7200,NULL,NULL,NULL,NULL,''),
+(389,0,13,18,10,7200,NULL,NULL,NULL,NULL,''),
+(409,0,60,0,40,604800,NULL,NULL,NULL,NULL,''),
+(429,0,55,60,5,7200,NULL,NULL,NULL,NULL,''),
+(469,0,60,0,40,604800,NULL,NULL,NULL,NULL,''),
+(509,0,60,0,20,259200,NULL,NULL,NULL,NULL,''),
+(531,0,60,0,40,604800,NULL,NULL,NULL,NULL,''),
+(533,0,60,0,40,604800,NULL,NULL,NULL,NULL,'');
+/*!40000 ALTER TABLE `instance_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `item_enchantment_template`
+--
+
+DROP TABLE IF EXISTS `item_enchantment_template`;
+CREATE TABLE `item_enchantment_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `ench` mediumint(8) unsigned NOT NULL default '0',
+ `chance` float unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`ench`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item Random Enchantment System';
+
+--
+-- Dumping data for table `item_enchantment_template`
+--
+
+LOCK TABLES `item_enchantment_template` WRITE;
+/*!40000 ALTER TABLE `item_enchantment_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `item_enchantment_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `item_loot_template`
+--
+
+DROP TABLE IF EXISTS `item_loot_template`;
+CREATE TABLE `item_loot_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `item` mediumint(8) unsigned NOT NULL default '0',
+ `ChanceOrQuestChance` float NOT NULL default '100',
+ `groupid` tinyint(3) unsigned NOT NULL default '0',
+ `mincountOrRef` mediumint(9) NOT NULL default '1',
+ `maxcount` tinyint(3) unsigned NOT NULL default '1',
+ `lootcondition` tinyint(3) unsigned NOT NULL default '0',
+ `condition_value1` mediumint(8) unsigned NOT NULL default '0',
+ `condition_value2` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+
+--
+-- Dumping data for table `item_loot_template`
+--
+
+LOCK TABLES `item_loot_template` WRITE;
+/*!40000 ALTER TABLE `item_loot_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `item_loot_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `item_template`
+--
+
+DROP TABLE IF EXISTS `item_template`;
+CREATE TABLE `item_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `class` tinyint(3) unsigned NOT NULL default '0',
+ `subclass` tinyint(3) unsigned NOT NULL default '0',
+ `unk0` int(11) NOT NULL default '-1',
+ `name` varchar(255) NOT NULL default '',
+ `displayid` mediumint(8) unsigned NOT NULL default '0',
+ `Quality` tinyint(3) unsigned NOT NULL default '0',
+ `Flags` int(10) unsigned NOT NULL default '0',
+ `BuyCount` tinyint(3) unsigned NOT NULL default '1',
+ `BuyPrice` int(10) unsigned NOT NULL default '0',
+ `SellPrice` int(10) unsigned NOT NULL default '0',
+ `InventoryType` tinyint(3) unsigned NOT NULL default '0',
+ `AllowableClass` mediumint(9) NOT NULL default '-1',
+ `AllowableRace` mediumint(9) NOT NULL default '-1',
+ `ItemLevel` tinyint(3) unsigned NOT NULL default '0',
+ `RequiredLevel` tinyint(3) unsigned NOT NULL default '0',
+ `RequiredSkill` smallint(5) unsigned NOT NULL default '0',
+ `RequiredSkillRank` smallint(5) unsigned NOT NULL default '0',
+ `requiredspell` mediumint(8) unsigned NOT NULL default '0',
+ `requiredhonorrank` mediumint(8) unsigned NOT NULL default '0',
+ `RequiredCityRank` mediumint(8) unsigned NOT NULL default '0',
+ `RequiredReputationFaction` smallint(5) unsigned NOT NULL default '0',
+ `RequiredReputationRank` smallint(5) unsigned NOT NULL default '0',
+ `maxcount` smallint(5) unsigned NOT NULL default '0',
+ `stackable` smallint(5) unsigned NOT NULL default '1',
+ `ContainerSlots` tinyint(3) unsigned NOT NULL default '0',
+ `stat_type1` tinyint(3) unsigned NOT NULL default '0',
+ `stat_value1` smallint(6) NOT NULL default '0',
+ `stat_type2` tinyint(3) unsigned NOT NULL default '0',
+ `stat_value2` smallint(6) NOT NULL default '0',
+ `stat_type3` tinyint(3) unsigned NOT NULL default '0',
+ `stat_value3` smallint(6) NOT NULL default '0',
+ `stat_type4` tinyint(3) unsigned NOT NULL default '0',
+ `stat_value4` smallint(6) NOT NULL default '0',
+ `stat_type5` tinyint(3) unsigned NOT NULL default '0',
+ `stat_value5` smallint(6) NOT NULL default '0',
+ `stat_type6` tinyint(3) unsigned NOT NULL default '0',
+ `stat_value6` smallint(6) NOT NULL default '0',
+ `stat_type7` tinyint(3) unsigned NOT NULL default '0',
+ `stat_value7` smallint(6) NOT NULL default '0',
+ `stat_type8` tinyint(3) unsigned NOT NULL default '0',
+ `stat_value8` smallint(6) NOT NULL default '0',
+ `stat_type9` tinyint(3) unsigned NOT NULL default '0',
+ `stat_value9` smallint(6) NOT NULL default '0',
+ `stat_type10` tinyint(3) unsigned NOT NULL default '0',
+ `stat_value10` smallint(6) NOT NULL default '0',
+ `dmg_min1` float NOT NULL default '0',
+ `dmg_max1` float NOT NULL default '0',
+ `dmg_type1` tinyint(3) unsigned NOT NULL default '0',
+ `dmg_min2` float NOT NULL default '0',
+ `dmg_max2` float NOT NULL default '0',
+ `dmg_type2` tinyint(3) unsigned NOT NULL default '0',
+ `dmg_min3` float NOT NULL default '0',
+ `dmg_max3` float NOT NULL default '0',
+ `dmg_type3` tinyint(3) unsigned NOT NULL default '0',
+ `dmg_min4` float NOT NULL default '0',
+ `dmg_max4` float NOT NULL default '0',
+ `dmg_type4` tinyint(3) unsigned NOT NULL default '0',
+ `dmg_min5` float NOT NULL default '0',
+ `dmg_max5` float NOT NULL default '0',
+ `dmg_type5` tinyint(3) unsigned NOT NULL default '0',
+ `armor` smallint(5) unsigned NOT NULL default '0',
+ `holy_res` tinyint(3) unsigned NOT NULL default '0',
+ `fire_res` tinyint(3) unsigned NOT NULL default '0',
+ `nature_res` tinyint(3) unsigned NOT NULL default '0',
+ `frost_res` tinyint(3) unsigned NOT NULL default '0',
+ `shadow_res` tinyint(3) unsigned NOT NULL default '0',
+ `arcane_res` tinyint(3) unsigned NOT NULL default '0',
+ `delay` smallint(5) unsigned NOT NULL default '1000',
+ `ammo_type` tinyint(3) unsigned NOT NULL default '0',
+ `RangedModRange` float NOT NULL default '0',
+ `spellid_1` mediumint(8) unsigned NOT NULL default '0',
+ `spelltrigger_1` tinyint(3) unsigned NOT NULL default '0',
+ `spellcharges_1` tinyint(4) NOT NULL default '0',
+ `spellppmRate_1` float NOT NULL default '0',
+ `spellcooldown_1` int(11) NOT NULL default '-1',
+ `spellcategory_1` smallint(5) unsigned NOT NULL default '0',
+ `spellcategorycooldown_1` int(11) NOT NULL default '-1',
+ `spellid_2` mediumint(8) unsigned NOT NULL default '0',
+ `spelltrigger_2` tinyint(3) unsigned NOT NULL default '0',
+ `spellcharges_2` tinyint(4) NOT NULL default '0',
+ `spellppmRate_2` float NOT NULL default '0',
+ `spellcooldown_2` int(11) NOT NULL default '-1',
+ `spellcategory_2` smallint(5) unsigned NOT NULL default '0',
+ `spellcategorycooldown_2` int(11) NOT NULL default '-1',
+ `spellid_3` mediumint(8) unsigned NOT NULL default '0',
+ `spelltrigger_3` tinyint(3) unsigned NOT NULL default '0',
+ `spellcharges_3` tinyint(4) NOT NULL default '0',
+ `spellppmRate_3` float NOT NULL default '0',
+ `spellcooldown_3` int(11) NOT NULL default '-1',
+ `spellcategory_3` smallint(5) unsigned NOT NULL default '0',
+ `spellcategorycooldown_3` int(11) NOT NULL default '-1',
+ `spellid_4` mediumint(8) unsigned NOT NULL default '0',
+ `spelltrigger_4` tinyint(3) unsigned NOT NULL default '0',
+ `spellcharges_4` tinyint(4) NOT NULL default '0',
+ `spellppmRate_4` float NOT NULL default '0',
+ `spellcooldown_4` int(11) NOT NULL default '-1',
+ `spellcategory_4` smallint(5) unsigned NOT NULL default '0',
+ `spellcategorycooldown_4` int(11) NOT NULL default '-1',
+ `spellid_5` mediumint(8) unsigned NOT NULL default '0',
+ `spelltrigger_5` tinyint(3) unsigned NOT NULL default '0',
+ `spellcharges_5` tinyint(4) NOT NULL default '0',
+ `spellppmRate_5` float NOT NULL default '0',
+ `spellcooldown_5` int(11) NOT NULL default '-1',
+ `spellcategory_5` smallint(5) unsigned NOT NULL default '0',
+ `spellcategorycooldown_5` int(11) NOT NULL default '-1',
+ `bonding` tinyint(3) unsigned NOT NULL default '0',
+ `description` varchar(255) NOT NULL default '',
+ `PageText` mediumint(8) unsigned NOT NULL default '0',
+ `LanguageID` tinyint(3) unsigned NOT NULL default '0',
+ `PageMaterial` tinyint(3) unsigned NOT NULL default '0',
+ `startquest` mediumint(8) unsigned NOT NULL default '0',
+ `lockid` mediumint(8) unsigned NOT NULL default '0',
+ `Material` tinyint(4) NOT NULL default '0',
+ `sheath` tinyint(3) unsigned NOT NULL default '0',
+ `RandomProperty` mediumint(8) unsigned NOT NULL default '0',
+ `RandomSuffix` mediumint(8) unsigned NOT NULL default '0',
+ `block` mediumint(8) unsigned NOT NULL default '0',
+ `itemset` mediumint(8) unsigned NOT NULL default '0',
+ `MaxDurability` smallint(5) unsigned NOT NULL default '0',
+ `area` mediumint(8) unsigned NOT NULL default '0',
+ `Map` smallint(6) NOT NULL default '0',
+ `BagFamily` mediumint(9) NOT NULL default '0',
+ `TotemCategory` tinyint(4) NOT NULL default '0',
+ `socketColor_1` tinyint(4) NOT NULL default '0',
+ `socketContent_1` mediumint(9) NOT NULL default '0',
+ `socketColor_2` tinyint(4) NOT NULL default '0',
+ `socketContent_2` mediumint(9) NOT NULL default '0',
+ `socketColor_3` tinyint(4) NOT NULL default '0',
+ `socketContent_3` mediumint(9) NOT NULL default '0',
+ `socketBonus` mediumint(9) NOT NULL default '0',
+ `GemProperties` mediumint(9) NOT NULL default '0',
+ `RequiredDisenchantSkill` smallint(6) NOT NULL default '-1',
+ `ArmorDamageModifier` float NOT NULL default '0',
+ `ScriptName` varchar(64) NOT NULL default '',
+ `DisenchantID` mediumint(8) unsigned NOT NULL default '0',
+ `FoodType` tinyint(3) unsigned NOT NULL default '0',
+ `minMoneyLoot` int(10) unsigned NOT NULL default '0',
+ `maxMoneyLoot` int(10) unsigned NOT NULL default '0',
+ `Duration` int(11) NOT NULL default '0' COMMENT 'Duration in seconds. Negative value means realtime, postive value ingame time',
+ PRIMARY KEY (`entry`),
+ KEY `items_index` (`class`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System';
+
+--
+-- Dumping data for table `item_template`
+--
+
+LOCK TABLES `item_template` WRITE;
+/*!40000 ALTER TABLE `item_template` DISABLE KEYS */;
+INSERT INTO `item_template` VALUES
+(25,2,7,-1,'Worn Shortsword',1542,1,0,1,35,7,21,32767,511,2,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1900,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,1,0,0,0,1,3,0,0,0,0,20,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(35,2,10,-1,'Bent Staff',472,1,0,1,47,9,17,2047,255,2,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2900,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,2,2,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(36,2,4,-1,'Worn Mace',5194,1,0,1,38,7,21,2047,255,2,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1900,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,2,3,0,0,0,0,20,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(37,2,0,-1,'Worn Axe',14029,1,0,1,38,7,21,2047,255,2,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,1,3,0,0,0,0,20,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(38,4,0,-1,'Recruit\'s Shirt',9891,1,0,1,1,1,4,-1,-1,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(39,4,1,-1,'Recruit\'s Pants',9892,0,0,1,5,1,7,32767,511,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(40,4,0,-1,'Recruit\'s Boots',10141,1,0,1,4,1,8,32767,511,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(43,4,0,-1,'Squire\'s Boots',9938,1,0,1,4,1,8,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(44,4,1,-1,'Squire\'s Pants',9937,0,0,1,4,1,7,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(45,4,0,-1,'Squire\'s Shirt',3265,1,0,1,1,1,4,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(47,4,0,-1,'Footpad\'s Shoes',9915,1,0,1,4,1,8,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(48,4,1,-1,'Footpad\'s Pants',9913,0,0,1,4,1,7,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(49,4,0,-1,'Footpad\'s Shirt',9906,1,0,1,1,1,4,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(51,4,0,-1,'Neophyte\'s Boots',9946,1,0,1,5,1,8,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(52,4,1,-1,'Neophyte\'s Pants',9945,0,0,1,5,1,7,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(53,4,0,-1,'Neophyte\'s Shirt',9944,1,0,1,1,1,4,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(55,4,0,-1,'Apprentice\'s Boots',9929,1,0,1,5,1,8,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(56,4,1,-1,'Apprentice\'s Robe',12647,0,0,1,5,1,20,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,35,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(57,4,1,-1,'Acolyte\'s Robe',12645,0,0,1,5,1,20,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,35,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(59,4,0,-1,'Acolyte\'s Shoes',3261,1,0,1,5,1,8,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(117,0,0,-1,'Tough Jerky',2473,1,0,6,25,1,0,2047,255,5,1,0,0,0,0,0,0,0,0,20,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,1000,0,0,433,0,-1,0,-1,11,1000,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,-1,0,'internalItemHandler',0,0,0,0,0),
+(120,4,1,-1,'Thug Pants',10006,0,0,1,4,1,7,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(121,4,0,-1,'Thug Boots',10008,1,0,1,4,1,8,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(127,4,0,-1,'Trapper\'s Shirt',9996,1,0,1,1,1,4,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(139,4,1,-1,'Brawler\'s Pants',9988,0,0,1,4,1,7,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(140,4,0,-1,'Brawler\'s Boots',9992,1,0,1,4,1,8,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(147,4,1,-1,'Rugged Trapper\'s Pants',9975,0,0,1,5,1,7,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(148,4,0,-1,'Rugged Trapper\'s Shirt',9976,1,0,1,1,1,4,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(153,4,2,-1,'Primitive Kilt',10050,0,0,1,5,1,7,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,8,0,0,0,0,0,30,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(154,4,0,-1,'Primitive Mantle',10058,1,0,1,1,1,4,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(159,0,0,-1,'Refreshing Spring Water',18084,1,0,6,25,1,0,2047,255,5,1,0,0,0,0,0,0,0,0,20,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,1000,0,0,430,0,-1,0,-1,59,1000,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,-1,0,'internalItemHandler',0,0,0,0,0),
+(1395,4,1,-1,'Apprentice\'s Pants',9924,0,0,1,5,1,7,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(1396,4,1,-1,'Acolyte\'s Pants',3260,0,0,1,4,1,7,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(2070,0,0,-1,'Darnassian Bleu',6353,1,0,6,25,1,0,2047,255,5,1,0,0,0,0,0,0,0,0,20,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,1000,0,0,433,0,-1,0,-1,11,1000,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,-1,0,'internalItemHandler',0,0,0,0,0),
+(2092,2,15,-1,'Worn Dagger',6442,1,0,1,35,7,13,2047,255,2,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1600,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,1,3,0,0,0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(2101,1,2,-1,'Light Quiver',21328,1,0,1,4,1,18,2047,255,1,1,0,0,0,0,0,0,0,0,1,6,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,1000,0,0,14824,1,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,'',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(2102,1,3,-1,'Small Ammo Pouch',1816,1,0,1,4,1,18,2047,255,1,1,0,0,0,0,0,0,0,0,1,6,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,1000,0,0,14824,1,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,'',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(2105,4,0,-1,'Thug Shirt',10005,1,0,1,5,1,4,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(2361,2,5,-1,'Battleworn Hammer',8690,1,0,1,45,9,17,2047,255,2,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2900,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,2,1,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(2362,4,6,-1,'Worn Wooden Shield',18730,0,0,1,7,1,14,32767,511,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,1,4,0,0,1,0,20,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(2504,2,2,-1,'Worn Shortbow',8106,1,0,1,29,5,15,2047,255,2,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2300,2,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,2,0,0,0,0,0,20,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(2508,2,3,-1,'Old Blunderbuss',6606,1,0,1,27,5,26,2047,255,2,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2300,3,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,1,0,0,0,0,0,20,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(2512,6,2,-1,'Rough Arrow',5996,1,0,1,10,0,24,2047,255,5,1,0,0,0,0,0,0,0,0,200,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,2,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(2516,6,3,-1,'Light Shot',5998,1,0,1,10,0,24,2047,255,5,1,0,0,0,0,0,0,0,0,200,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,2,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(2947,2,16,-1,'Small Throwing Knife',16754,1,0,1,15,0,25,2047,255,3,1,0,0,0,0,0,0,0,0,200,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2000,4,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(3661,2,10,-1,'Handcrafted Staff',18530,1,0,1,45,9,17,2047,255,2,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2900,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,2,2,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(4536,0,0,-1,'Shiny Red Apple',6410,1,0,6,25,1,0,2047,255,5,1,0,0,0,0,0,0,0,0,20,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,1000,0,0,433,0,-1,0,-1,11,100,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,-1,0,'internalItemHandler',0,0,0,0,0),
+(4540,0,0,-1,'Tough Hunk of Bread',6399,1,0,6,25,1,0,2047,255,5,1,0,0,0,0,0,0,0,0,20,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,1000,0,0,433,0,-1,0,-1,11,1000,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,-1,0,'internalItemHandler',0,0,0,0,0),
+(4604,0,0,-1,'Forest Mushroom Cap',15852,1,0,6,25,1,0,2047,255,5,1,0,0,0,0,0,0,0,0,20,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,1000,0,0,433,0,-1,0,-1,11,1000,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,-1,0,'internalItemHandler',0,0,0,0,0),
+(6096,4,0,-1,'Apprentice\'s Shirt',2163,1,0,1,1,1,4,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(6097,4,0,-1,'Acolyte\'s Shirt',2470,1,0,1,1,1,4,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(6098,4,1,-1,'Neophyte\'s Robe',12679,0,0,1,4,1,20,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,35,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(6119,4,1,-1,'Neophyte\'s Robe',12681,0,0,1,4,1,20,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,35,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(6123,4,1,-1,'Novice\'s Robe',12683,0,0,1,4,1,20,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,35,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(6124,4,1,-1,'Novice\'s Pants',9987,0,0,1,5,1,7,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(6125,4,0,-1,'Brawler\'s Harness',9995,1,0,1,1,1,4,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(6126,4,1,-1,'Trapper\'s Pants',10002,0,0,1,5,1,7,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(6127,4,0,-1,'Trapper\'s Boots',10003,1,0,1,5,1,8,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(6129,4,1,-1,'Acolyte\'s Robe',12646,0,0,1,5,1,20,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,35,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(6134,4,0,-1,'Primitive Mantle',10108,1,0,1,1,1,4,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(6135,4,2,-1,'Primitive Kilt',10109,0,0,1,5,1,7,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,8,0,0,0,0,0,30,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(6139,4,1,-1,'Novice\'s Robe',12684,0,0,1,4,1,20,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,35,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(6140,4,1,-1,'Apprentice\'s Robe',12649,0,0,1,4,1,20,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,35,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(6144,4,1,-1,'Neophyte\'s Robe',12680,0,0,1,5,1,20,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,7,0,0,0,0,0,35,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(6948,15,0,-1,'Hearthstone',6418,1,64,1,0,0,0,32767,511,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8690,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,'',0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(12282,2,1,-1,'Worn Battleaxe',22291,1,0,1,43,8,17,2047,255,2,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2900,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,1,1,0,0,0,0,25,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(14646,12,0,-1,'Northshire Gift Voucher',18499,1,0,1,0,0,0,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,'',0,0,0,5805,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(14647,12,0,-1,'Coldridge Valley Gift Voucher',18499,1,0,1,0,0,0,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,'',0,0,0,5841,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(14648,12,0,-1,'Shadowglen Gift Voucher',18499,1,0,1,0,0,0,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,'',0,0,0,5842,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(14649,12,0,-1,'Valley of Trials Gift Voucher',18499,1,0,1,0,0,0,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,'',0,0,0,5843,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(14650,12,0,-1,'Camp Narache Gift Voucher',18499,1,0,1,0,0,0,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,'',0,0,0,5844,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(14651,12,0,-1,'Deathknell Gift Voucher',18499,1,0,1,0,0,0,2047,255,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1000,0,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,'',0,0,0,5847,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0),
+(25861,2,16,-1,'Crude Throwing Axe',20777,1,0,1,15,0,25,2047,255,3,1,0,0,0,0,0,0,0,0,200,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2000,4,0,0,0,0,0,-1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,'',0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,'internalItemHandler',0,0,0,0,0);
+/*!40000 ALTER TABLE `item_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `locales_creature`
+--
+
+DROP TABLE IF EXISTS `locales_creature`;
+CREATE TABLE `locales_creature` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `name_loc1` varchar(100) NOT NULL default '',
+ `name_loc2` varchar(100) NOT NULL default '',
+ `name_loc3` varchar(100) NOT NULL default '',
+ `name_loc4` varchar(100) NOT NULL default '',
+ `name_loc5` varchar(100) NOT NULL default '',
+ `name_loc6` varchar(100) NOT NULL default '',
+ `name_loc7` varchar(100) NOT NULL default '',
+ `name_loc8` varchar(100) NOT NULL default '',
+ `subname_loc1` varchar(100) default NULL,
+ `subname_loc2` varchar(100) default NULL,
+ `subname_loc3` varchar(100) default NULL,
+ `subname_loc4` varchar(100) default NULL,
+ `subname_loc5` varchar(100) default NULL,
+ `subname_loc6` varchar(100) default NULL,
+ `subname_loc7` varchar(100) default NULL,
+ `subname_loc8` varchar(100) default NULL,
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `locales_creature`
+--
+
+LOCK TABLES `locales_creature` WRITE;
+/*!40000 ALTER TABLE `locales_creature` DISABLE KEYS */;
+/*!40000 ALTER TABLE `locales_creature` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `locales_gameobject`
+--
+
+DROP TABLE IF EXISTS `locales_gameobject`;
+CREATE TABLE `locales_gameobject` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `name_loc1` varchar(100) NOT NULL default '',
+ `name_loc2` varchar(100) NOT NULL default '',
+ `name_loc3` varchar(100) NOT NULL default '',
+ `name_loc4` varchar(100) NOT NULL default '',
+ `name_loc5` varchar(100) NOT NULL default '',
+ `name_loc6` varchar(100) NOT NULL default '',
+ `name_loc7` varchar(100) NOT NULL default '',
+ `name_loc8` varchar(100) NOT NULL default '',
+ `castbarcaption_loc1` varchar(100) NOT NULL default '',
+ `castbarcaption_loc2` varchar(100) NOT NULL default '',
+ `castbarcaption_loc3` varchar(100) NOT NULL default '',
+ `castbarcaption_loc4` varchar(100) NOT NULL default '',
+ `castbarcaption_loc5` varchar(100) NOT NULL default '',
+ `castbarcaption_loc6` varchar(100) NOT NULL default '',
+ `castbarcaption_loc7` varchar(100) NOT NULL default '',
+ `castbarcaption_loc8` varchar(100) NOT NULL default '',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `locales_gameobject`
+--
+
+LOCK TABLES `locales_gameobject` WRITE;
+/*!40000 ALTER TABLE `locales_gameobject` DISABLE KEYS */;
+/*!40000 ALTER TABLE `locales_gameobject` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `locales_item`
+--
+
+DROP TABLE IF EXISTS `locales_item`;
+CREATE TABLE `locales_item` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `name_loc1` varchar(100) NOT NULL default '',
+ `name_loc2` varchar(100) NOT NULL default '',
+ `name_loc3` varchar(100) NOT NULL default '',
+ `name_loc4` varchar(100) NOT NULL default '',
+ `name_loc5` varchar(100) NOT NULL default '',
+ `name_loc6` varchar(100) NOT NULL default '',
+ `name_loc7` varchar(100) NOT NULL default '',
+ `name_loc8` varchar(100) NOT NULL default '',
+ `description_loc1` varchar(255) default NULL,
+ `description_loc2` varchar(255) default NULL,
+ `description_loc3` varchar(255) default NULL,
+ `description_loc4` varchar(255) default NULL,
+ `description_loc5` varchar(255) default NULL,
+ `description_loc6` varchar(255) default NULL,
+ `description_loc7` varchar(255) default NULL,
+ `description_loc8` varchar(255) default NULL,
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `locales_item`
+--
+
+LOCK TABLES `locales_item` WRITE;
+/*!40000 ALTER TABLE `locales_item` DISABLE KEYS */;
+/*!40000 ALTER TABLE `locales_item` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `locales_npc_text`
+--
+
+DROP TABLE IF EXISTS `locales_npc_text`;
+CREATE TABLE `locales_npc_text` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `Text0_0_loc1` longtext,
+ `Text0_0_loc2` longtext,
+ `Text0_0_loc3` longtext,
+ `Text0_0_loc4` longtext,
+ `Text0_0_loc5` longtext,
+ `Text0_0_loc6` longtext,
+ `Text0_0_loc7` longtext,
+ `Text0_0_loc8` longtext,
+ `Text0_1_loc1` longtext,
+ `Text0_1_loc2` longtext,
+ `Text0_1_loc3` longtext,
+ `Text0_1_loc4` longtext,
+ `Text0_1_loc5` longtext,
+ `Text0_1_loc6` longtext,
+ `Text0_1_loc7` longtext,
+ `Text0_1_loc8` longtext,
+ `Text1_0_loc1` longtext,
+ `Text1_0_loc2` longtext,
+ `Text1_0_loc3` longtext,
+ `Text1_0_loc4` longtext,
+ `Text1_0_loc5` longtext,
+ `Text1_0_loc6` longtext,
+ `Text1_0_loc7` longtext,
+ `Text1_0_loc8` longtext,
+ `Text1_1_loc1` longtext,
+ `Text1_1_loc2` longtext,
+ `Text1_1_loc3` longtext,
+ `Text1_1_loc4` longtext,
+ `Text1_1_loc5` longtext,
+ `Text1_1_loc6` longtext,
+ `Text1_1_loc7` longtext,
+ `Text1_1_loc8` longtext,
+ `Text2_0_loc1` longtext,
+ `Text2_0_loc2` longtext,
+ `Text2_0_loc3` longtext,
+ `Text2_0_loc4` longtext,
+ `Text2_0_loc5` longtext,
+ `Text2_0_loc6` longtext,
+ `Text2_0_loc7` longtext,
+ `Text2_0_loc8` longtext,
+ `Text2_1_loc1` longtext,
+ `Text2_1_loc2` longtext,
+ `Text2_1_loc3` longtext,
+ `Text2_1_loc4` longtext,
+ `Text2_1_loc5` longtext,
+ `Text2_1_loc6` longtext,
+ `Text2_1_loc7` longtext,
+ `Text2_1_loc8` longtext,
+ `Text3_0_loc1` longtext,
+ `Text3_0_loc2` longtext,
+ `Text3_0_loc3` longtext,
+ `Text3_0_loc4` longtext,
+ `Text3_0_loc5` longtext,
+ `Text3_0_loc6` longtext,
+ `Text3_0_loc7` longtext,
+ `Text3_0_loc8` longtext,
+ `Text3_1_loc1` longtext,
+ `Text3_1_loc2` longtext,
+ `Text3_1_loc3` longtext,
+ `Text3_1_loc4` longtext,
+ `Text3_1_loc5` longtext,
+ `Text3_1_loc6` longtext,
+ `Text3_1_loc7` longtext,
+ `Text3_1_loc8` longtext,
+ `Text4_0_loc1` longtext,
+ `Text4_0_loc2` longtext,
+ `Text4_0_loc3` longtext,
+ `Text4_0_loc4` longtext,
+ `Text4_0_loc5` longtext,
+ `Text4_0_loc6` longtext,
+ `Text4_0_loc7` longtext,
+ `Text4_0_loc8` longtext,
+ `Text4_1_loc1` longtext,
+ `Text4_1_loc2` longtext,
+ `Text4_1_loc3` longtext,
+ `Text4_1_loc4` longtext,
+ `Text4_1_loc5` longtext,
+ `Text4_1_loc6` longtext,
+ `Text4_1_loc7` longtext,
+ `Text4_1_loc8` longtext,
+ `Text5_0_loc1` longtext,
+ `Text5_0_loc2` longtext,
+ `Text5_0_loc3` longtext,
+ `Text5_0_loc4` longtext,
+ `Text5_0_loc5` longtext,
+ `Text5_0_loc6` longtext,
+ `Text5_0_loc7` longtext,
+ `Text5_0_loc8` longtext,
+ `Text5_1_loc1` longtext,
+ `Text5_1_loc2` longtext,
+ `Text5_1_loc3` longtext,
+ `Text5_1_loc4` longtext,
+ `Text5_1_loc5` longtext,
+ `Text5_1_loc6` longtext,
+ `Text5_1_loc7` longtext,
+ `Text5_1_loc8` longtext,
+ `Text6_0_loc1` longtext,
+ `Text6_0_loc2` longtext,
+ `Text6_0_loc3` longtext,
+ `Text6_0_loc4` longtext,
+ `Text6_0_loc5` longtext,
+ `Text6_0_loc6` longtext,
+ `Text6_0_loc7` longtext,
+ `Text6_0_loc8` longtext,
+ `Text6_1_loc1` longtext,
+ `Text6_1_loc2` longtext,
+ `Text6_1_loc3` longtext,
+ `Text6_1_loc4` longtext,
+ `Text6_1_loc5` longtext,
+ `Text6_1_loc6` longtext,
+ `Text6_1_loc7` longtext,
+ `Text6_1_loc8` longtext,
+ `Text7_0_loc1` longtext,
+ `Text7_0_loc2` longtext,
+ `Text7_0_loc3` longtext,
+ `Text7_0_loc4` longtext,
+ `Text7_0_loc5` longtext,
+ `Text7_0_loc6` longtext,
+ `Text7_0_loc7` longtext,
+ `Text7_0_loc8` longtext,
+ `Text7_1_loc1` longtext,
+ `Text7_1_loc2` longtext,
+ `Text7_1_loc3` longtext,
+ `Text7_1_loc4` longtext,
+ `Text7_1_loc5` longtext,
+ `Text7_1_loc6` longtext,
+ `Text7_1_loc7` longtext,
+ `Text7_1_loc8` longtext,
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `locales_npc_text`
+--
+
+LOCK TABLES `locales_npc_text` WRITE;
+/*!40000 ALTER TABLE `locales_npc_text` DISABLE KEYS */;
+/*!40000 ALTER TABLE `locales_npc_text` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `locales_page_text`
+--
+
+DROP TABLE IF EXISTS `locales_page_text`;
+CREATE TABLE `locales_page_text` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `Text_loc1` longtext,
+ `Text_loc2` longtext,
+ `Text_loc3` longtext,
+ `Text_loc4` longtext,
+ `Text_loc5` longtext,
+ `Text_loc6` longtext,
+ `Text_loc7` longtext,
+ `Text_loc8` longtext,
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `locales_page_text`
+--
+
+LOCK TABLES `locales_page_text` WRITE;
+/*!40000 ALTER TABLE `locales_page_text` DISABLE KEYS */;
+/*!40000 ALTER TABLE `locales_page_text` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `locales_quest`
+--
+
+DROP TABLE IF EXISTS `locales_quest`;
+CREATE TABLE `locales_quest` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `Title_loc1` text,
+ `Title_loc2` text,
+ `Title_loc3` text,
+ `Title_loc4` text,
+ `Title_loc5` text,
+ `Title_loc6` text,
+ `Title_loc7` text,
+ `Title_loc8` text,
+ `Details_loc1` text,
+ `Details_loc2` text,
+ `Details_loc3` text,
+ `Details_loc4` text,
+ `Details_loc5` text,
+ `Details_loc6` text,
+ `Details_loc7` text,
+ `Details_loc8` text,
+ `Objectives_loc1` text,
+ `Objectives_loc2` text,
+ `Objectives_loc3` text,
+ `Objectives_loc4` text,
+ `Objectives_loc5` text,
+ `Objectives_loc6` text,
+ `Objectives_loc7` text,
+ `Objectives_loc8` text,
+ `OfferRewardText_loc1` text,
+ `OfferRewardText_loc2` text,
+ `OfferRewardText_loc3` text,
+ `OfferRewardText_loc4` text,
+ `OfferRewardText_loc5` text,
+ `OfferRewardText_loc6` text,
+ `OfferRewardText_loc7` text,
+ `OfferRewardText_loc8` text,
+ `RequestItemsText_loc1` text,
+ `RequestItemsText_loc2` text,
+ `RequestItemsText_loc3` text,
+ `RequestItemsText_loc4` text,
+ `RequestItemsText_loc5` text,
+ `RequestItemsText_loc6` text,
+ `RequestItemsText_loc7` text,
+ `RequestItemsText_loc8` text,
+ `EndText_loc1` text,
+ `EndText_loc2` text,
+ `EndText_loc3` text,
+ `EndText_loc4` text,
+ `EndText_loc5` text,
+ `EndText_loc6` text,
+ `EndText_loc7` text,
+ `EndText_loc8` text,
+ `ObjectiveText1_loc1` text,
+ `ObjectiveText1_loc2` text,
+ `ObjectiveText1_loc3` text,
+ `ObjectiveText1_loc4` text,
+ `ObjectiveText1_loc5` text,
+ `ObjectiveText1_loc6` text,
+ `ObjectiveText1_loc7` text,
+ `ObjectiveText1_loc8` text,
+ `ObjectiveText2_loc1` text,
+ `ObjectiveText2_loc2` text,
+ `ObjectiveText2_loc3` text,
+ `ObjectiveText2_loc4` text,
+ `ObjectiveText2_loc5` text,
+ `ObjectiveText2_loc6` text,
+ `ObjectiveText2_loc7` text,
+ `ObjectiveText2_loc8` text,
+ `ObjectiveText3_loc1` text,
+ `ObjectiveText3_loc2` text,
+ `ObjectiveText3_loc3` text,
+ `ObjectiveText3_loc4` text,
+ `ObjectiveText3_loc5` text,
+ `ObjectiveText3_loc6` text,
+ `ObjectiveText3_loc7` text,
+ `ObjectiveText3_loc8` text,
+ `ObjectiveText4_loc1` text,
+ `ObjectiveText4_loc2` text,
+ `ObjectiveText4_loc3` text,
+ `ObjectiveText4_loc4` text,
+ `ObjectiveText4_loc5` text,
+ `ObjectiveText4_loc6` text,
+ `ObjectiveText4_loc7` text,
+ `ObjectiveText4_loc8` text,
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `locales_quest`
+--
+
+LOCK TABLES `locales_quest` WRITE;
+/*!40000 ALTER TABLE `locales_quest` DISABLE KEYS */;
+/*!40000 ALTER TABLE `locales_quest` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `mangos_string`
+--
+
+DROP TABLE IF EXISTS `mangos_string`;
+CREATE TABLE `mangos_string` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `content_default` text NOT NULL,
+ `content_loc1` text,
+ `content_loc2` text,
+ `content_loc3` text,
+ `content_loc4` text,
+ `content_loc5` text,
+ `content_loc6` text,
+ `content_loc7` text,
+ `content_loc8` 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,NULL),
+(2,'You should select a creature.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(3,'|cffff0000[System Message]: %s|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(4,'|cffff0000[Event Message]: %s|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(5,'There is no help for that command',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(6,'There is no such command',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(7,'There is no such subcommand',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(8,'Command %s have subcommands:%s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(9,'Commands available to you:',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(10,'Incorrect syntax.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(11,'Your account level is: %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(12,'Online players: %u (max: %u) Queued players: %u (max: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(13,'Server uptime: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(14,'Player saved.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(15,'All players saved.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(16,'There are the following active GMs on this server:',NULL,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,NULL),
+(18,'Cannot do that while flying.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(19,'Cannot do that in Battlegrounds.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(20,'Target is flying you can\'t do that.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(21,'%s is flying command failed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(22,'You are not mounted so you can\'t dismount.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(23,'Cannot do that while fighting.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(24,'You used it recently.',NULL,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,NULL),
+(26,'The password was changed',NULL,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,NULL),
+(28,'Your account is now locked.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(29,'Your account is now unlocked.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(30,', rank ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(31,' [known]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(32,' [learn]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(33,' [passive]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(34,' [talent]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(35,' [active]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(36,' [complete]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(37,' (offline)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(38,'on',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(39,'off',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(40,'You are: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(41,'visible',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(42,'invisible',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(43,'done',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(44,'You',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(45,' <unknown> ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(46,'<error>',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(47,'<non-existing character>',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(48,'UNKNOWN',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(49,'You must be at least level %u to enter.',NULL,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,NULL),
+(51,'Hello! Ready for some training?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(100,'Global notify: ',NULL,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,NULL),
+(102,'%s is already being teleported.',NULL,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,NULL),
+(104,'You cannot go to the player\'s instance because you are in a party now.',NULL,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,NULL),
+(106,'You can not go to player %s from instance to instance.',NULL,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,NULL),
+(108,'You are summoning %s%s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(109,'You are being summoned by %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(110,'You are teleporting %s%s to %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(111,'You are being teleported by %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(112,'Player (%s) does not exist.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(113,'Appearing at %s\'s location.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(114,'%s is appearing to your location.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(115,'Incorrect values.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(116,'No character selected.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(117,'%s is not in a group.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(118,'You changed HP of %s to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(119,'%s changed your HP to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(120,'You changed MANA of %s to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(121,'%s changed your MANA to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(122,'You changed ENERGY of %s to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(123,'%s changed your ENERGY to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(124,'Current energy: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(125,'You changed rage of %s to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(126,'%s changed your rage to %i/%i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(127,'You changed level of %s to %i.',NULL,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,NULL),
+(129,'Wrong faction: %u (not found in factiontemplate.dbc).',NULL,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,NULL),
+(131,'You changed the spellflatid=%i, val= %i, mark =%i to %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(132,'%s changed your spellflatid=%i, val= %i, mark =%i.',NULL,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,NULL),
+(134,'%s has no more access to all taxi nodes now (only visited accessible).',NULL,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,NULL),
+(136,'%s has removed access to all taxi nodes (only visited still accessible).',NULL,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,NULL),
+(138,'%s set all your speeds to %2.2f from normal.',NULL,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,NULL),
+(140,'%s set your speed to %2.2f from normal.',NULL,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,NULL),
+(142,'%s set your swim speed to %2.2f from normal.',NULL,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,NULL),
+(144,'%s set your backwards run speed to %2.2f from normal.',NULL,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,NULL),
+(146,'%s set your fly speed to %2.2f from normal.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(147,'You set the size %2.2f of %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(148,'%s set your size to %2.2f.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(149,'There is no such mount.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(150,'You give a mount to %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(151,'%s gave you a mount.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(152,'USER1: %i, ADD: %i, DIF: %i\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(153,'You take all copper of %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(154,'%s took you all of your copper.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(155,'You take %i copper from %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(156,'%s took %i copper from you.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(157,'You give %i copper to %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(158,'%s gave you %i copper.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(159,'You hear sound %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(160,'USER2: %i, ADD: %i, RESULT: %i\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(161,'Removed bit %i in field %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(162,'Set bit %i in field %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(163,'Teleport location table is empty!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(164,'Teleport location not found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(165,'Requires search parameter.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(166,'There are no teleport locations matching your request.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(167,'No locations found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(168,'Locations found are:\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(169,'Mail sent to %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(170,'You try to hear sound %u but it doesn\'t exist.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(200,'No selection.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(201,'Object GUID is: lowpart %u highpart %X',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(202,'The name was too long by %i characters.',NULL,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,NULL),
+(204,'The subname was too long by %i characters.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(205,'Not yet implemented',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(206,'Item \'%i\' \'%s\' added to list with maxcount \'%i\' and incrtime \'%i\' and extendedcost \'%i\'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(207,'Item \'%i\' not found in database.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(208,'Item \'%i\' \'%s\' deleted from vendor list',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(209,'Item \'%i\' not found in vendor list.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(210,'Item \'%i\' already in vendor list.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(211,'Spells of %s reset.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(212,'Spells of %s will reset at next login.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(213,'Talents of %s reset.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(214,'Talents of %s will reset at next login.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(215,'Your spells have been reset.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(216,'Your talents have been reset.',NULL,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,NULL),
+(218,'Spells will reset for all players at login. Strongly recommend re-login!',NULL,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,NULL),
+(220,'Creature (GUID: %u) No waypoint found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(221,'Creature (GUID: %u) Last waypoint not found.',NULL,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,NULL),
+(223,'Creature (GUID: %u) No waypoints found - This is a MaNGOS db problem (single float).',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(224,'Selected creature is ignored - provided GUID is used',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(225,'Creature (GUID: %u) not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(226,'You must select a visual waypoint.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(227,'No visual waypoints found',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(228,'Could not create visual waypoint with creatureID: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(229,'All visual waypoints removed',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(230,'Could not create waypoint-creature with ID: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(231,'No GUID provided.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(232,'No waypoint number provided.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(233,'Argument required for \'%s\'.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(234,'Waypoint %i added to GUID: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(235,'Waypoint %d added.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(236,'Waypoint changed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(237,'Waypoint %s modified.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(238,'WP export successfull.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(239,'No waypoints found inside the database.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(240,'File imported.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(241,'Waypoint removed.',NULL,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,NULL),
+(243,'This happens if the waypoint is too far away from your char.',NULL,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,NULL),
+(245,'They will disappear after a server restart.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(246,'Waypoint %d: Info for creature: %s, GUID: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(247,'Waittime: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(248,'Model %d: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(249,'Emote: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(250,'Spell: %d',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(251,'Text %d: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(252,'AIScript: %s',NULL,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,NULL),
+(254,'Forced rename for player %s (GUID #%u) will be requested at next login.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(255,'Waypoint-Creature (GUID: %u) Not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(256,'Could not find NPC...',NULL,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,NULL),
+(258,'Creature movement type set to \'%s\', waypoints were not removed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(259,'Incorrect value, use on or off',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(260,'Value saved.',NULL,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,NULL),
+(262,'Areatrigger ID %u not found!',NULL,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,NULL),
+(264,'Zone coordinates is invalid (X: %f Y: %f AreaId: %u)',NULL,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,NULL),
+(266,'Nothing found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(267,'Object not found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(268,'Creature not found!',NULL,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,NULL),
+(270,'Creature Removed',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(271,'Creature moved.',NULL,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,NULL),
+(273,'Game Object (GUID: %u) not found',NULL,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,NULL),
+(275,'Game Object (GUID: %u) removed',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(276,'Game Object (GUID: %u) turned',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(277,'Game Object (GUID: %u) moved',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(278,'You must select a vendor',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(279,'You must send id for item',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(280,'Vendor has too many items (max 128)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(281,'You can\'t kick self, logout instead',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(282,'Player %s kicked.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(283,'Player %s not found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(284,'Accepting Whisper: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(285,'Accepting Whisper: ON',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(286,'Accepting Whisper: OFF',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(287,'Creature (GUID: %u) not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(288,'Tickets count: %i show new tickets: %s\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(289,'New ticket from %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(290,'Ticket of %s (Last updated: %s):\n%s ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(291,'New ticket show: ON',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(292,'New ticket show: OFF',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(293,'Ticket %i doesn\'t exist',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(294,'All tickets deleted.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(295,'Character %s ticket deleted.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(296,'Ticket deleted.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(297,'Spawn distance changed to: %f',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(298,'Spawn time changed to: %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(299,'The honor of %s was set to %u!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(300,'Your chat has been disabled for %u minutes.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(301,'You have disabled %s\'s chat for %u minutes.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(302,'Player\'s chat is already enabled.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(303,'Your chat has been enabled.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(304,'You have enabled %s\'s chat.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(305, 'Faction %s (%u) reputation of %s was set to %5d!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(306, 'The arena points of %s was set to %u!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(307, 'No faction found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(308, 'Faction %i unknown!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(309, 'Invalid parameter %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(310, 'delta must be between 0 and %d (inclusive)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(311, '%d - |cffffffff|Hfaction:%d|h[%s]|h|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(312, ' [visible]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(313, ' [at war]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(314, ' [peace forced]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(315, ' [hidden]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(316, ' [invisible forced]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(317, ' [inactive]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(318, 'Hated',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(319, 'Hostile',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(320, 'Unfriendly',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(321, 'Neutral',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(322, 'Friendly',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(323, 'Honored',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(324, 'Revered',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(325, 'Exalted',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(326, 'Faction %s (%u) can\'not have reputation.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(327, ' [no reputation]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(400,'|cffff0000[System Message]:|rScripts reloaded',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(401,'You change security level of %s to %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(402,'%s changed your security level to %i.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(403,'You have low security level for this.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(404,'Creature movement disabled.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(405,'Creature movement enabled.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(406,'Weather can\'t be changed for this zone.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(407,'Weather system disabled at server.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(408,'%s is banned for %s. Reason: %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(409,'%s is banned permanently for %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(410,'%s %s not found',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(411,'%s unbanned.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(412,'There was an error removing the ban on %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(413,'There is no such account.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(414,'There is no such character.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(415,'There is no such IP in banlist.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(416,'Account %s has never been banned',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(417,'Ban history for account %s:',NULL,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,NULL),
+(419,'Inf.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(420,'Never',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(421,'Yes',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(422,'No',NULL,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,NULL),
+(424,'There is no matching IPban.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(425,'There is no matching account.',NULL,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,NULL),
+(427,'The following IPs match your pattern:',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(428,'The following accounts match your query:',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(429,'You learned many spells/skills.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(430,'You learned all spells for class.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(431,'You learned all talents for class.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(432,'You learned all languages.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(433,'You learned all craft skills and recipes.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(434,'Could not find \'%s\'',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(435,'Invalid item id: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(436,'No items found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(437,'Invalid gameobject id: %u',NULL,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,NULL),
+(439,'Found gameobjects %u: %u ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(440,'Invalid creature id: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(441,'Found creatures %u: %u ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(442,'No area found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(443,'No item sets found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(444,'No skills found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(445,'No spells found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(446,'No quests found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(447,'No creatures found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(448,'No gameobjects found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(449,'Graveyard #%u doesn\'t exist.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(450,'Graveyard #%u already linked to zone #%u (current).',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(451,'Graveyard #%u linked to zone #%u (current).',NULL,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,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,NULL),
+(454,'No faction in Graveyard with id= #%u , fix your DB',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(455,'invalid team, please fix database',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(456,'any',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(457,'alliance',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(458,'horde',NULL,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,NULL),
+(460,'Zone #%u doesn\'t have linked graveyards.',NULL,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,NULL),
+(462,'Teleport location already exists!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(463,'Teleport location added.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(464,'Teleport location NOT added: database error.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(465,'Teleport location deleted.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(466,'Teleport location NOT deleted: database error.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(467,'Target unit has %d auras:',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(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,NULL),
+(469,'Target unit has %d auras of type %d:',NULL,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,NULL),
+(471,'Quest %u not found.',NULL,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,NULL),
+(473,'Quest removed.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(474,' [rewarded]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(475,' [complete]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(476,' [active]',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(477,'%s\'s Fly Mode %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(478,'Opcode %u sent to %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(479,'Character loaded successfully!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(480,'Failed to load the character!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(481,'Character dumped successfully!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(482,'Character dump failed!',NULL,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,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,NULL),
+(485,'Player %s must have skill %u (%s) before using this command.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(486,'Invalid skill id (%u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(487,'You learned default GM spells/skills.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(488,'You already know that spell.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(489,'Target(%s) already know that spell.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(490,'%s doesn\'t know that spell.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(491,'You already forgot that spell.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(492,'All spell cooldowns removed for %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(493,'Spell %u cooldown removed for %s.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(494,'Command : Additem, itemId = %i, amount = %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(495,'Command : Additemset, itemsetId = %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(496,'Removed itemID = %i, amount = %i from %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(497,'Cannot create item \'%i\' (amount: %i)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(498,'You need to provide a guild name!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(499,'Player not found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(500,'Player already has a guild!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(501,'Guild not created! (already exists?)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(502,'No items from itemset \'%u\' found.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(503,'The distance is: (3D) %f (2D) %f yards.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(504,'Item \'%i\' \'%s\' Item Slot %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(505,'Item \'%i\' doesn\'t exist.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(506,'Item \'%i\' \'%s\' Added to Slot %i',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(507,'Item save failed!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(508,'%d - owner: %s (guid: %u account: %u ) %s',NULL,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,NULL),
+(510,'%d - owner: %s (guid: %u account: %u ) %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(511,'Wrong link type!',NULL,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,NULL),
+(513,'%d - |cffffffff|Hquest:%d|h[%s]|h|r %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(514,'%d - |cffffffff|Hcreature_entry:%d|h[%s]|h|r ',NULL,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,NULL),
+(516,'%d - |cffffffff|Hgameobject_entry:%d|h[%s]|h|r ',NULL,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,NULL),
+(518,'%d - |cffffffff|Hitemset:%d|h[%s %s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(519,'|cffffffff|Htele:%s|h[%s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(520,'%d - |cffffffff|Hspell:%d|h[%s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(521,'%d - |cffffffff|Hskill:%d|h[%s %s]|h|r %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(522,'Game Object (GUID: %u) not found',NULL,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,NULL),
+(524,'Selected object:\n|cffffffff|Hitemset:%d|h[%s]|h|r\nGUID: %u ID: %u\nX: %f Y: %f Z: %f MapId: %u\nOrientation: %f',NULL,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,NULL),
+(526,'%s (lowguid: %u) movement generators stack:',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(527,' Idle',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(528,' Random',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(529,' Waypoint',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(530,' Animal random',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(531,' Confused',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(532,' Targeted to player %s (lowguid %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(533,' Targeted to creature %s (lowguid %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(534,' Targeted to <NULL>',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(535,' Home movement to (X:%f Y:%f Z:%f)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(536,' Home movement used for player?!?',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(537,' Taxi flight',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(538,' Unknown movement generator (%u)',NULL,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,NULL),
+(540,'Level: %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(541,'Health (base): %u. (max): %u. (current): %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(542,'Field Flags: %u.\nDynamic Flags: %u.\nFaction Template: %u.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(543,'Loot: %u Pickpocket: %u Skinning: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(544,'Position: %f %f %f.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(545,'*** Is a vendor!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(546,'*** Is a trainer!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(547,'InstanceID: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(548,'Player%s %s (guid: %u) Account: %s (id: %u) GMLevel: %u Last IP: %s Last login: %s Latency: %ums',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(549,'Played time: %s Level: %u Money: %ug%us%uc',NULL,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,NULL),
+(551,'%s has explored all zones now.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(552,'%s has no more explored zones.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(553,'%s has explored all zones for you.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(554,'%s has hidden all zones from you.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(555,'Hover enabled',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(556,'Hover disabled',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(557,'You have been leveled up (%i)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(558,'You have been leveled down (%i)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(559,'Your level progress has been reset.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(560,'The area has been set as explored.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(561,'The area has been set as not explored.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(562,'GUID=%i \'s updateIndex: %i, value: %i.',NULL,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,NULL),
+(564,'The value index %u is too big to %u(count: %u).',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(565,'Set %u uint32 Value:[OPCODE]:%u [VALUE]:%u',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(566,'You Set %u Field:%u to uint32 Value: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(567,'Set %u float Value:[OPCODE]:%u [VALUE]:%f',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(568,'You Set %u Field:%i to float Value: %f',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(569,'Get %u uint32 Value:[OPCODE]:%u [VALUE]:%u',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(570,'The uint32 value of %u in %u is: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(571,'Get %u float Value:[OPCODE]:%u [VALUE]:%f',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(572,'The float of %u value in %u is: %f',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(573,'.Set32Bit:[OPCODE]:%u [VALUE]:%u',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(574,'You set Bit of Field:%u to Value: %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(575,'.Mod32Value:[OPCODE]:%u [VALUE]:%i',NULL,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,NULL),
+(577,'You are now invisible.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(578,'You are now visible.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(579,'Selected player or creature not have victim.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(580,'You learned all default spells for race/class and completed quests rewarded spells.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(581,'Found near gameobjects (distance %f): %u ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(582,'SpawnTime: Full:%s Remain:%s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(583,'%d - |cffffffff|Hgameevent:%d|h[%s]|h|r%s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(584,'No event found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(585,'Event not exist!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(586,'Event %u: %s%s\nStart: %s End: %s Occurence: %s Length: %s\nNext state change: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(587,'Event %u already active!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(588,'Event %u not active!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(589,' Point movement to (X:%f Y:%f Z:%f)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(590,' Fear movement',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(591,' Distract movement',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(592,'You have learned all spells in craft: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(600,'The Alliance wins!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(601,'The Horde wins!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(602,'The battle for Warsong Gulch begins in 1 minute.',NULL,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,NULL),
+(604,'Let the battle for Warsong Gulch begin!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(605,'$n captured the Horde flag!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(606,'$n captured the Alliance flag!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(607,'The Horde flag was dropped by $n!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(608,'The Alliance Flag was dropped by $n!',NULL,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,NULL),
+(610,'The Horde flag was returned to its base by $n!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(611,'The Horde flag was picked up by $n!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(612,'The Alliance Flag was picked up by $n!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(613,'The flags are now placed at their bases.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(636,'The Battle for Eye of the Storm begins in 1 minute.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(637,'The Battle for Eye of the Storm begins in 30 seconds.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(638,'The Battle for Eye of the Storm has begun!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(650,'Alliance',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(651,'Horde',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(652,'stables',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(653,'blacksmith',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(654,'farm',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(655,'lumber mill',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(656,'mine',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(657,'The %s has taken the %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(658,'$n has defended the %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(659,'$n has assaulted the %s',NULL,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,NULL),
+(661,'The Battle for Arathi Basin begins in 1 minute.',NULL,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,NULL),
+(663,'The Battle for Arathi Basin has begun!',NULL,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,NULL),
+(665,'The Horde has gathered $1777W resources, and is near victory!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(666,'After your recent battle in %s our best attempts to award you a Mark of Honor failed. Enclosed you will find the Mark of Honor we were not able to deliver to you at the time. Thanks for fighting in %s!',NULL,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,NULL),
+(701,'One minute until the Arena battle begins!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(702,'Thirty seconds until the Arena battle begins!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(703,'Fifteen seconds until the Arena battle begins!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(704,'The Arena battle has begun!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(705,'You must wait %s before speaking again.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(706,'This item(s) have problems with equipping/storing in inventory.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(707,'%s wishes to not be disturbed and cannot receive whisper messages: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(708,'%s is Away from Keyboard: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(709,'Do not Disturb',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(710,'Away from Keyboard',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(711,'Queue status for %s (Lvl: %u to %u)\nQueued alliances: %u (Need at least %u more)\nQueued hordes: %u (Need at least %u more)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(712,'|cffff0000[BG Queue Announcer]:|r %s -- [%u-%u] A: %u (Need: %u), H: %u (Needs %u)|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+/*!40000 ALTER TABLE `mangos_string` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `npc_gossip`
+--
+
+DROP TABLE IF EXISTS `npc_gossip`;
+CREATE TABLE `npc_gossip` (
+ `npc_guid` int(10) unsigned NOT NULL default '0',
+ `textid` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`npc_guid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `npc_gossip`
+--
+
+LOCK TABLES `npc_gossip` WRITE;
+/*!40000 ALTER TABLE `npc_gossip` DISABLE KEYS */;
+/*!40000 ALTER TABLE `npc_gossip` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `npc_gossip_textid`
+--
+
+DROP TABLE IF EXISTS `npc_gossip_textid`;
+CREATE TABLE `npc_gossip_textid` (
+ `zoneid` smallint(5) unsigned NOT NULL default '0',
+ `action` smallint(5) unsigned NOT NULL default '0',
+ `textid` mediumint(8) unsigned NOT NULL default '0',
+ KEY `zoneid` (`zoneid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `npc_gossip_textid`
+--
+
+LOCK TABLES `npc_gossip_textid` WRITE;
+/*!40000 ALTER TABLE `npc_gossip_textid` DISABLE KEYS */;
+/*!40000 ALTER TABLE `npc_gossip_textid` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `npc_option`
+--
+
+DROP TABLE IF EXISTS `npc_option`;
+CREATE TABLE `npc_option` (
+ `id` tinyint(3) unsigned NOT NULL default '0',
+ `gossip_id` tinyint(3) unsigned NOT NULL default '0',
+ `npcflag` int(10) unsigned NOT NULL default '0',
+ `icon` tinyint(3) unsigned NOT NULL default '0',
+ `action` tinyint(3) unsigned NOT NULL default '0',
+ `option_text` text,
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `npc_option`
+--
+
+LOCK TABLES `npc_option` WRITE;
+/*!40000 ALTER TABLE `npc_option` DISABLE KEYS */;
+/*!40000 ALTER TABLE `npc_option` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `npc_text`
+--
+
+DROP TABLE IF EXISTS `npc_text`;
+CREATE TABLE `npc_text` (
+ `ID` mediumint(8) unsigned NOT NULL default '0',
+ `text0_0` longtext,
+ `text0_1` longtext,
+ `lang0` tinyint(3) unsigned NOT NULL default '0',
+ `prob0` float NOT NULL default '0',
+ `em0_0` smallint(5) unsigned NOT NULL default '0',
+ `em0_1` smallint(5) unsigned NOT NULL default '0',
+ `em0_2` smallint(5) unsigned NOT NULL default '0',
+ `em0_3` smallint(5) unsigned NOT NULL default '0',
+ `em0_4` smallint(5) unsigned NOT NULL default '0',
+ `em0_5` smallint(5) unsigned NOT NULL default '0',
+ `text1_0` longtext,
+ `text1_1` longtext,
+ `lang1` tinyint(3) unsigned NOT NULL default '0',
+ `prob1` float NOT NULL default '0',
+ `em1_0` smallint(5) unsigned NOT NULL default '0',
+ `em1_1` smallint(5) unsigned NOT NULL default '0',
+ `em1_2` smallint(5) unsigned NOT NULL default '0',
+ `em1_3` smallint(5) unsigned NOT NULL default '0',
+ `em1_4` smallint(5) unsigned NOT NULL default '0',
+ `em1_5` smallint(5) unsigned NOT NULL default '0',
+ `text2_0` longtext,
+ `text2_1` longtext,
+ `lang2` tinyint(3) unsigned NOT NULL default '0',
+ `prob2` float NOT NULL default '0',
+ `em2_0` smallint(5) unsigned NOT NULL default '0',
+ `em2_1` smallint(5) unsigned NOT NULL default '0',
+ `em2_2` smallint(5) unsigned NOT NULL default '0',
+ `em2_3` smallint(5) unsigned NOT NULL default '0',
+ `em2_4` smallint(5) unsigned NOT NULL default '0',
+ `em2_5` smallint(5) unsigned NOT NULL default '0',
+ `text3_0` longtext,
+ `text3_1` longtext,
+ `lang3` tinyint(3) unsigned NOT NULL default '0',
+ `prob3` float NOT NULL default '0',
+ `em3_0` smallint(5) unsigned NOT NULL default '0',
+ `em3_1` smallint(5) unsigned NOT NULL default '0',
+ `em3_2` smallint(5) unsigned NOT NULL default '0',
+ `em3_3` smallint(5) unsigned NOT NULL default '0',
+ `em3_4` smallint(5) unsigned NOT NULL default '0',
+ `em3_5` smallint(5) unsigned NOT NULL default '0',
+ `text4_0` longtext,
+ `text4_1` longtext,
+ `lang4` tinyint(3) unsigned NOT NULL default '0',
+ `prob4` float NOT NULL default '0',
+ `em4_0` smallint(5) unsigned NOT NULL default '0',
+ `em4_1` smallint(5) unsigned NOT NULL default '0',
+ `em4_2` smallint(5) unsigned NOT NULL default '0',
+ `em4_3` smallint(5) unsigned NOT NULL default '0',
+ `em4_4` smallint(5) unsigned NOT NULL default '0',
+ `em4_5` smallint(5) unsigned NOT NULL default '0',
+ `text5_0` longtext,
+ `text5_1` longtext,
+ `lang5` tinyint(3) unsigned NOT NULL default '0',
+ `prob5` float NOT NULL default '0',
+ `em5_0` smallint(5) unsigned NOT NULL default '0',
+ `em5_1` smallint(5) unsigned NOT NULL default '0',
+ `em5_2` smallint(5) unsigned NOT NULL default '0',
+ `em5_3` smallint(5) unsigned NOT NULL default '0',
+ `em5_4` smallint(5) unsigned NOT NULL default '0',
+ `em5_5` smallint(5) unsigned NOT NULL default '0',
+ `text6_0` longtext,
+ `text6_1` longtext,
+ `lang6` tinyint(3) unsigned NOT NULL default '0',
+ `prob6` float NOT NULL default '0',
+ `em6_0` smallint(5) unsigned NOT NULL default '0',
+ `em6_1` smallint(5) unsigned NOT NULL default '0',
+ `em6_2` smallint(5) unsigned NOT NULL default '0',
+ `em6_3` smallint(5) unsigned NOT NULL default '0',
+ `em6_4` smallint(5) unsigned NOT NULL default '0',
+ `em6_5` smallint(5) unsigned NOT NULL default '0',
+ `text7_0` longtext,
+ `text7_1` longtext,
+ `lang7` tinyint(3) unsigned NOT NULL default '0',
+ `prob7` float NOT NULL default '0',
+ `em7_0` smallint(5) unsigned NOT NULL default '0',
+ `em7_1` smallint(5) unsigned NOT NULL default '0',
+ `em7_2` smallint(5) unsigned NOT NULL default '0',
+ `em7_3` smallint(5) unsigned NOT NULL default '0',
+ `em7_4` smallint(5) unsigned NOT NULL default '0',
+ `em7_5` smallint(5) unsigned NOT NULL default '0',
+ PRIMARY KEY (`ID`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `npc_text`
+--
+
+LOCK TABLES `npc_text` WRITE;
+/*!40000 ALTER TABLE `npc_text` DISABLE KEYS */;
+/*!40000 ALTER TABLE `npc_text` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `npc_trainer`
+--
+
+DROP TABLE IF EXISTS `npc_trainer`;
+CREATE TABLE `npc_trainer` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `spell` mediumint(8) unsigned NOT NULL default '0',
+ `spellcost` int(10) unsigned NOT NULL default '0',
+ `reqskill` smallint(5) unsigned NOT NULL default '0',
+ `reqskillvalue` smallint(5) unsigned NOT NULL default '0',
+ `reqlevel` tinyint(3) unsigned NOT NULL default '0',
+ UNIQUE KEY `entry_spell` (`entry`,`spell`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `npc_trainer`
+--
+
+LOCK TABLES `npc_trainer` WRITE;
+/*!40000 ALTER TABLE `npc_trainer` DISABLE KEYS */;
+/*!40000 ALTER TABLE `npc_trainer` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `npc_vendor`
+--
+
+DROP TABLE IF EXISTS `npc_vendor`;
+CREATE TABLE `npc_vendor` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `item` mediumint(8) unsigned NOT NULL default '0',
+ `maxcount` tinyint(3) unsigned NOT NULL default '0',
+ `incrtime` int(10) unsigned NOT NULL default '0',
+ `ExtendedCost` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Npc System';
+
+--
+-- Dumping data for table `npc_vendor`
+--
+
+LOCK TABLES `npc_vendor` WRITE;
+/*!40000 ALTER TABLE `npc_vendor` DISABLE KEYS */;
+/*!40000 ALTER TABLE `npc_vendor` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `page_text`
+--
+
+DROP TABLE IF EXISTS `page_text`;
+CREATE TABLE `page_text` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `text` longtext NOT NULL,
+ `next_page` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System';
+
+--
+-- Dumping data for table `page_text`
+--
+
+LOCK TABLES `page_text` WRITE;
+/*!40000 ALTER TABLE `page_text` DISABLE KEYS */;
+/*!40000 ALTER TABLE `page_text` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `pet_levelstats`
+--
+
+DROP TABLE IF EXISTS `pet_levelstats`;
+CREATE TABLE `pet_levelstats` (
+ `creature_entry` mediumint(8) unsigned NOT NULL,
+ `level` tinyint(3) unsigned NOT NULL,
+ `hp` smallint(5) unsigned NOT NULL,
+ `mana` smallint(5) unsigned NOT NULL,
+ `armor` int(10) unsigned NOT NULL default '0',
+ `str` smallint(5) unsigned NOT NULL,
+ `agi` smallint(5) unsigned NOT NULL,
+ `sta` smallint(5) unsigned NOT NULL,
+ `inte` smallint(5) unsigned NOT NULL,
+ `spi` smallint(5) unsigned NOT NULL,
+ PRIMARY KEY (`creature_entry`,`level`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores pet levels stats.';
+
+--
+-- Dumping data for table `pet_levelstats`
+--
+
+LOCK TABLES `pet_levelstats` WRITE;
+/*!40000 ALTER TABLE `pet_levelstats` DISABLE KEYS */;
+/*!40000 ALTER TABLE `pet_levelstats` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `pet_name_generation`
+--
+
+DROP TABLE IF EXISTS `pet_name_generation`;
+CREATE TABLE `pet_name_generation` (
+ `id` mediumint(8) unsigned NOT NULL auto_increment,
+ `word` tinytext NOT NULL,
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `half` tinyint(4) NOT NULL default '0',
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `pet_name_generation`
+--
+
+LOCK TABLES `pet_name_generation` WRITE;
+/*!40000 ALTER TABLE `pet_name_generation` DISABLE KEYS */;
+INSERT INTO `pet_name_generation` (`word`,`entry`,`half`) VALUES
+('Aba',416,0),
+('Az',416,0),
+('Bel',416,0),
+('Biz',416,0),
+('Cho',416,0),
+('Dag',416,0),
+('Gak',416,0),
+('Gar',416,0),
+('Gel',416,0),
+('Gho',416,0),
+('Gob',416,0),
+('Gra',416,0),
+('Jak',416,0),
+('Jub',416,0),
+('Kar',416,0),
+('Kup',416,0),
+('Laz',416,0),
+('Nal',416,0),
+('Nok',416,0),
+('Pag',416,0),
+('Pig',416,0),
+('Pip',416,0),
+('Piz',416,0),
+('Quz',416,0),
+('Rui',416,0),
+('Rul',416,0),
+('Rup',416,0),
+('Tar',416,0),
+('Vol',416,0),
+('Yaz',416,0),
+('Zep',416,0),
+('Zig',416,0),
+('Zil',416,0),
+('Zor',416,0),
+('bis',416,1),
+('fip',416,1),
+('gup',416,1),
+('ham',416,1),
+('jub',416,1),
+('kin',416,1),
+('kol',416,1),
+('lop',416,1),
+('loz',416,1),
+('mat',416,1),
+('mir',416,1),
+('nam',416,1),
+('nar',416,1),
+('nik',416,1),
+('nip',416,1),
+('pad',416,1),
+('pep',416,1),
+('pit',416,1),
+('qua',416,1),
+('rai',416,1),
+('rin',416,1),
+('rot',416,1),
+('tai',416,1),
+('tal',416,1),
+('tik',416,1),
+('tip',416,1),
+('tog',416,1),
+('tuk',416,1),
+('uri',416,1),
+('yal',416,1),
+('yap',416,1),
+('Bhee',417,0),
+('Bruu',417,0),
+('Czaa',417,0),
+('Droo',417,0),
+('Flaa',417,0),
+('Fzuu',417,0),
+('Ghaa',417,0),
+('Gree',417,0),
+('Gzaa',417,0),
+('Haa',417,0),
+('Haad',417,0),
+('Haag',417,0),
+('Haap',417,0),
+('Jhaa',417,0),
+('Jhuu',417,0),
+('Khaa',417,0),
+('Khii',417,0),
+('Khuu',417,0),
+('Kree',417,0),
+('Luu',417,0),
+('Maa',417,0),
+('Nhee',417,0),
+('Phuu',417,0),
+('Pryy',417,0),
+('Rhuu',417,0),
+('Shaa',417,0),
+('Sloo',417,0),
+('Sruu',417,0),
+('Thoo',417,0),
+('Traa',417,0),
+('Wraa',417,0),
+('Zhaa',417,0),
+('dhon',417,1),
+('dhum',417,1),
+('dhun',417,1),
+('dom',417,1),
+('don',417,1),
+('drom',417,1),
+('dym',417,1),
+('fenn',417,1),
+('fum',417,1),
+('fun',417,1),
+('ghon',417,1),
+('ghun',417,1),
+('grom',417,1),
+('grym',417,1),
+('hom',417,1),
+('hon',417,1),
+('hun',417,1),
+('jhom',417,1),
+('kun',417,1),
+('lum',417,1),
+('mmon',417,1),
+('mon',417,1),
+('myn',417,1),
+('nam',417,1),
+('nem',417,1),
+('nhym',417,1),
+('nom',417,1),
+('num',417,1),
+('phom',417,1),
+('roon',417,1),
+('rym',417,1),
+('shon',417,1),
+('thun',417,1),
+('tom',417,1),
+('zhem',417,1),
+('zhum',417,1),
+('zun',417,1),
+('Bar',1860,0),
+('Bel',1860,0),
+('Char',1860,0),
+('Grak\'',1860,0),
+('Graz\'',1860,0),
+('Grim',1860,0),
+('Hath',1860,0),
+('Hel',1860,0),
+('Hok',1860,0),
+('Huk',1860,0),
+('Jhaz',1860,0),
+('Jhom',1860,0),
+('Juk\'',1860,0),
+('Kal\'',1860,0),
+('Klath',1860,0),
+('Kon',1860,0),
+('Krag',1860,0),
+('Krak',1860,0),
+('Mak',1860,0),
+('Mezz',1860,0),
+('Orm',1860,0),
+('Phan',1860,0),
+('Sar',1860,0),
+('Tang',1860,0),
+('Than',1860,0),
+('Thog',1860,0),
+('Thok',1860,0),
+('Thul',1860,0),
+('Zag\'',1860,0),
+('Zang',1860,0),
+('Zhar\'',1860,0),
+('kath',1860,1),
+('doc',1860,1),
+('dok',1860,1),
+('gak',1860,1),
+('garth',1860,1),
+('gore',1860,1),
+('gorg',1860,1),
+('grave',1860,1),
+('gron',1860,1),
+('juk',1860,1),
+('krast',1860,1),
+('kresh',1860,1),
+('krit',1860,1),
+('los',1860,1),
+('mon',1860,1),
+('mos',1860,1),
+('moth',1860,1),
+('nagma',1860,1),
+('nak',1860,1),
+('nar',1860,1),
+('nos',1860,1),
+('nuz',1860,1),
+('phog',1860,1),
+('rath',1860,1),
+('tast',1860,1),
+('taz',1860,1),
+('thak',1860,1),
+('thang',1860,1),
+('thyk',1860,1),
+('vhug',1860,1),
+('zazt',1860,1),
+('Ael',1863,0),
+('Aez',1863,0),
+('Ang',1863,0),
+('Ban',1863,0),
+('Bet',1863,0),
+('Bro',1863,0),
+('Bry',1863,0),
+('Cat',1863,0),
+('Dir',1863,0),
+('Dis',1863,0),
+('Dom',1863,0),
+('Drus',1863,0),
+('Fie',1863,0),
+('Fier',1863,0),
+('Gly',1863,0),
+('Hel',1863,0),
+('Hes',1863,0),
+('Kal',1863,0),
+('Lyn',1863,0),
+('Mir',1863,0),
+('Nim',1863,0),
+('Sar',1863,0),
+('Sel',1863,0),
+('Vil',1863,0),
+('Zah',1863,0),
+('aith',1863,1),
+('anda',1863,1),
+('antia',1863,1),
+('evere',1863,1),
+('lia',1863,1),
+('lissa',1863,1),
+('neri',1863,1),
+('neth',1863,1),
+('nia',1863,1),
+('nlissa',1863,1),
+('nora',1863,1),
+('nva',1863,1),
+('nys',1863,1),
+('ola',1863,1),
+('ona',1863,1),
+('ora',1863,1),
+('rah',1863,1),
+('riana',1863,1),
+('riel',1863,1),
+('rona',1863,1),
+('tai',1863,1),
+('tevere',1863,1),
+('thea',1863,1),
+('vina',1863,1),
+('wena',1863,1),
+('wyn',1863,1),
+('xia',1863,1),
+('yla',1863,1),
+('yssa',1863,1),
+('Flaa',17252,0),
+('Haa',17252,0),
+('Jhuu',17252,0),
+('Shaa',17252,0),
+('Thoo',17252,0),
+('dhun',17252,1),
+('ghun',17252,1),
+('roon',17252,1),
+('thun',17252,1),
+('tom',17252,1);
+
+/*!40000 ALTER TABLE `pet_name_generation` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `petcreateinfo_spell`
+--
+
+DROP TABLE IF EXISTS `petcreateinfo_spell`;
+CREATE TABLE `petcreateinfo_spell` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `Spell1` mediumint(8) unsigned NOT NULL default '0',
+ `Spell2` mediumint(8) unsigned NOT NULL default '0',
+ `Spell3` mediumint(8) unsigned NOT NULL default '0',
+ `Spell4` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet Create Spells';
+
+--
+-- Dumping data for table `petcreateinfo_spell`
+--
+
+LOCK TABLES `petcreateinfo_spell` WRITE;
+/*!40000 ALTER TABLE `petcreateinfo_spell` DISABLE KEYS */;
+/*!40000 ALTER TABLE `petcreateinfo_spell` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `pickpocketing_loot_template`
+--
+
+DROP TABLE IF EXISTS `pickpocketing_loot_template`;
+CREATE TABLE `pickpocketing_loot_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `item` mediumint(8) unsigned NOT NULL default '0',
+ `ChanceOrQuestChance` float NOT NULL default '100',
+ `groupid` tinyint(3) unsigned NOT NULL default '0',
+ `mincountOrRef` mediumint(9) NOT NULL default '1',
+ `maxcount` tinyint(3) unsigned NOT NULL default '1',
+ `lootcondition` tinyint(3) unsigned NOT NULL default '0',
+ `condition_value1` mediumint(8) unsigned NOT NULL default '0',
+ `condition_value2` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+
+--
+-- Dumping data for table `pickpocketing_loot_template`
+--
+
+LOCK TABLES `pickpocketing_loot_template` WRITE;
+/*!40000 ALTER TABLE `pickpocketing_loot_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `pickpocketing_loot_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `player_classlevelstats`
+--
+
+DROP TABLE IF EXISTS `player_classlevelstats`;
+CREATE TABLE `player_classlevelstats` (
+ `class` tinyint(3) unsigned NOT NULL,
+ `level` tinyint(3) unsigned NOT NULL,
+ `basehp` smallint(5) unsigned NOT NULL,
+ `basemana` smallint(5) unsigned NOT NULL,
+ PRIMARY KEY (`class`,`level`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores levels stats.';
+
+--
+-- Dumping data for table `player_classlevelstats`
+--
+
+LOCK TABLES `player_classlevelstats` WRITE;
+/*!40000 ALTER TABLE `player_classlevelstats` DISABLE KEYS */;
+INSERT INTO `player_classlevelstats` VALUES
+(1,1,20,0),
+(1,2,29,0),
+(1,3,38,0),
+(1,4,47,0),
+(1,5,56,0),
+(1,6,65,0),
+(1,7,74,0),
+(1,8,83,0),
+(1,9,92,0),
+(1,10,101,0),
+(1,11,100,0),
+(1,12,109,0),
+(1,13,118,0),
+(1,14,128,0),
+(1,15,139,0),
+(1,16,151,0),
+(1,17,154,0),
+(1,18,168,0),
+(1,19,183,0),
+(1,20,199,0),
+(1,21,206,0),
+(1,22,224,0),
+(1,23,243,0),
+(1,24,253,0),
+(1,25,274,0),
+(1,26,296,0),
+(1,27,309,0),
+(1,28,333,0),
+(1,29,348,0),
+(1,30,374,0),
+(1,31,401,0),
+(1,32,419,0),
+(1,33,448,0),
+(1,34,468,0),
+(1,35,499,0),
+(1,36,521,0),
+(1,37,545,0),
+(1,38,581,0),
+(1,39,609,0),
+(1,40,649,0),
+(1,41,681,0),
+(1,42,715,0),
+(1,43,761,0),
+(1,44,799,0),
+(1,45,839,0),
+(1,46,881,0),
+(1,47,935,0),
+(1,48,981,0),
+(1,49,1029,0),
+(1,50,1079,0),
+(1,51,1131,0),
+(1,52,1185,0),
+(1,53,1241,0),
+(1,54,1299,0),
+(1,55,1359,0),
+(1,56,1421,0),
+(1,57,1485,0),
+(1,58,1551,0),
+(1,59,1619,0),
+(1,60,1689,0),
+(1,61,1902,0),
+(1,62,2129,0),
+(1,63,2357,0),
+(1,64,2612,0),
+(1,65,2883,0),
+(1,66,3169,0),
+(1,67,3455,0),
+(1,68,3774,0),
+(1,69,4109,0),
+(1,70,4444,0),
+(2,1,28,60),
+(2,2,36,78),
+(2,3,44,98),
+(2,4,52,104),
+(2,5,60,111),
+(2,6,68,134),
+(2,7,76,143),
+(2,8,84,153),
+(2,9,92,179),
+(2,10,100,192),
+(2,11,108,205),
+(2,12,116,219),
+(2,13,124,249),
+(2,14,132,265),
+(2,15,131,282),
+(2,16,141,315),
+(2,17,152,334),
+(2,18,164,354),
+(2,19,177,390),
+(2,20,191,412),
+(2,21,206,435),
+(2,22,222,459),
+(2,23,239,499),
+(2,24,247,525),
+(2,25,266,552),
+(2,26,286,579),
+(2,27,307,621),
+(2,28,329,648),
+(2,29,342,675),
+(2,30,366,702),
+(2,31,391,729),
+(2,32,407,756),
+(2,33,434,798),
+(2,34,462,825),
+(2,35,481,852),
+(2,36,511,879),
+(2,37,542,906),
+(2,38,564,933),
+(2,39,597,960),
+(2,40,621,987),
+(2,41,656,1014),
+(2,42,682,1041),
+(2,43,719,1068),
+(2,44,747,1110),
+(2,45,786,1137),
+(2,46,816,1164),
+(2,47,857,1176),
+(2,48,889,1203),
+(2,49,922,1230),
+(2,50,966,1257),
+(2,51,1001,1284),
+(2,52,1037,1311),
+(2,53,1084,1338),
+(2,54,1122,1365),
+(2,55,1161,1392),
+(2,56,1201,1419),
+(2,57,1252,1446),
+(2,58,1294,1458),
+(2,59,1337,1485),
+(2,60,1381,1512),
+(2,61,1540,1656),
+(2,62,1708,1800),
+(2,63,1884,1944),
+(2,64,2068,2088),
+(2,65,2262,2232),
+(2,66,2466,2377),
+(2,67,2679,2521),
+(2,68,2901,2665),
+(2,69,3134,2809),
+(2,70,3377,2953),
+(3,1,46,65),
+(3,2,53,70),
+(3,3,60,76),
+(3,4,67,98),
+(3,5,74,106),
+(3,6,81,130),
+(3,7,88,140),
+(3,8,95,166),
+(3,9,102,193),
+(3,10,109,206),
+(3,11,116,235),
+(3,12,123,250),
+(3,13,130,266),
+(3,14,138,298),
+(3,15,147,316),
+(3,16,157,350),
+(3,17,168,370),
+(3,18,180,391),
+(3,19,193,428),
+(3,20,207,451),
+(3,21,222,475),
+(3,22,238,515),
+(3,23,255,541),
+(3,24,273,568),
+(3,25,292,611),
+(3,26,312,640),
+(3,27,333,670),
+(3,28,355,715),
+(3,29,378,745),
+(3,30,402,775),
+(3,31,417,805),
+(3,32,443,850),
+(3,33,470,880),
+(3,34,498,910),
+(3,35,527,940),
+(3,36,547,970),
+(3,37,578,1015),
+(3,38,610,1045),
+(3,39,643,1075),
+(3,40,667,1105),
+(3,41,702,1135),
+(3,42,738,1180),
+(3,43,775,1210),
+(3,44,803,1240),
+(3,45,842,1270),
+(3,46,872,1300),
+(3,47,913,1330),
+(3,48,955,1360),
+(3,49,994,1390),
+(3,50,1047,1420),
+(3,51,1067,1450),
+(3,52,1113,1480),
+(3,53,1150,1510),
+(3,54,1198,1540),
+(3,55,1237,1570),
+(3,56,1287,1600),
+(3,57,1328,1630),
+(3,58,1370,1660),
+(3,59,1423,1690),
+(3,60,1467,1720),
+(3,61,1633,1886),
+(3,62,1819,2053),
+(3,63,2003,2219),
+(3,64,2195,2385),
+(3,65,2397,2552),
+(3,66,2623,2718),
+(3,67,2844,2884),
+(3,68,3075,3050),
+(3,69,3316,3217),
+(3,70,3568,3383),
+(4,1,25,0),
+(4,2,32,0),
+(4,3,49,0),
+(4,4,56,0),
+(4,5,63,0),
+(4,6,70,0),
+(4,7,87,0),
+(4,8,94,0),
+(4,9,101,0),
+(4,10,118,0),
+(4,11,125,0),
+(4,12,142,0),
+(4,13,149,0),
+(4,14,156,0),
+(4,15,173,0),
+(4,16,181,0),
+(4,17,190,0),
+(4,18,200,0),
+(4,19,221,0),
+(4,20,233,0),
+(4,21,246,0),
+(4,22,260,0),
+(4,23,275,0),
+(4,24,301,0),
+(4,25,318,0),
+(4,26,336,0),
+(4,27,355,0),
+(4,28,375,0),
+(4,29,396,0),
+(4,30,428,0),
+(4,31,451,0),
+(4,32,475,0),
+(4,33,500,0),
+(4,34,526,0),
+(4,35,553,0),
+(4,36,581,0),
+(4,37,610,0),
+(4,38,640,0),
+(4,39,671,0),
+(4,40,703,0),
+(4,41,736,0),
+(4,42,770,0),
+(4,43,805,0),
+(4,44,841,0),
+(4,45,878,0),
+(4,46,916,0),
+(4,47,955,0),
+(4,48,995,0),
+(4,49,1026,0),
+(4,50,1068,0),
+(4,51,1111,0),
+(4,52,1155,0),
+(4,53,1200,0),
+(4,54,1246,0),
+(4,55,1283,0),
+(4,56,1331,0),
+(4,57,1380,0),
+(4,58,1430,0),
+(4,59,1471,0),
+(4,60,1523,0),
+(4,61,1702,0),
+(4,62,1879,0),
+(4,63,2077,0),
+(4,64,2285,0),
+(4,65,2489,0),
+(4,66,2717,0),
+(4,67,2941,0),
+(4,68,3190,0),
+(4,69,3450,0),
+(4,70,3704,0),
+(5,1,52,73),
+(5,2,57,76),
+(5,3,72,95),
+(5,4,77,114),
+(5,5,92,133),
+(5,6,97,152),
+(5,7,112,171),
+(5,8,117,190),
+(5,9,132,209),
+(5,10,137,212),
+(5,11,142,215),
+(5,12,157,234),
+(5,13,172,254),
+(5,14,177,260),
+(5,15,192,282),
+(5,16,197,305),
+(5,17,212,329),
+(5,18,227,339),
+(5,19,232,365),
+(5,20,247,377),
+(5,21,252,405),
+(5,22,268,434),
+(5,23,275,449),
+(5,24,293,480),
+(5,25,302,497),
+(5,26,322,530),
+(5,27,343,549),
+(5,28,355,584),
+(5,29,378,605),
+(5,30,392,627),
+(5,31,417,665),
+(5,32,433,689),
+(5,33,460,728),
+(5,34,478,752),
+(5,35,507,776),
+(5,36,527,800),
+(5,37,548,839),
+(5,38,580,863),
+(5,39,603,887),
+(5,40,637,911),
+(5,41,662,950),
+(5,42,698,974),
+(5,43,725,998),
+(5,44,763,1022),
+(5,45,792,1046),
+(5,46,822,1070),
+(5,47,863,1094),
+(5,48,895,1118),
+(5,49,928,1142),
+(5,50,972,1166),
+(5,51,1007,1190),
+(5,52,1053,1214),
+(5,53,1090,1238),
+(5,54,1128,1262),
+(5,55,1177,1271),
+(5,56,1217,1295),
+(5,57,1258,1319),
+(5,58,1300,1343),
+(5,59,1353,1352),
+(5,60,1397,1376),
+(5,61,1557,1500),
+(5,62,1738,1625),
+(5,63,1916,1749),
+(5,64,2101,1873),
+(5,65,2295,1998),
+(5,66,2495,2122),
+(5,67,2719,2247),
+(5,68,2936,2371),
+(5,69,3160,2495),
+(5,70,3391,2620),
+(7,1,37,85),
+(7,2,44,91),
+(7,3,51,98),
+(7,4,58,106),
+(7,5,65,115),
+(7,6,72,125),
+(7,7,79,136),
+(7,8,86,148),
+(7,9,93,161),
+(7,10,100,175),
+(7,11,107,190),
+(7,12,114,206),
+(7,13,121,223),
+(7,14,128,241),
+(7,15,135,260),
+(7,16,142,280),
+(7,17,150,301),
+(7,18,159,323),
+(7,19,169,346),
+(7,20,180,370),
+(7,21,192,395),
+(7,22,205,421),
+(7,23,219,448),
+(7,24,234,476),
+(7,25,240,505),
+(7,26,257,535),
+(7,27,275,566),
+(7,28,294,598),
+(7,29,314,631),
+(7,30,335,665),
+(7,31,347,699),
+(7,32,370,733),
+(7,33,394,767),
+(7,34,419,786),
+(7,35,435,820),
+(7,36,462,854),
+(7,37,490,888),
+(7,38,509,922),
+(7,39,539,941),
+(7,40,570,975),
+(7,41,592,1009),
+(7,42,625,1028),
+(7,43,649,1062),
+(7,44,684,1096),
+(7,45,710,1115),
+(7,46,747,1149),
+(7,47,775,1183),
+(7,48,814,1202),
+(7,49,844,1236),
+(7,50,885,1255),
+(7,51,917,1289),
+(7,52,960,1323),
+(7,53,994,1342),
+(7,54,1029,1376),
+(7,55,1075,1395),
+(7,56,1112,1414),
+(7,57,1150,1448),
+(7,58,1199,1467),
+(7,59,1239,1501),
+(7,60,1330,1520),
+(7,61,1428,1664),
+(7,62,1583,1808),
+(7,63,1760,1951),
+(7,64,1932,2095),
+(7,65,2114,2239),
+(7,66,2304,2383),
+(7,67,2504,2527),
+(7,68,2713,2670),
+(7,69,2931,2814),
+(7,70,3159,2958),
+(8,1,32,100),
+(8,2,47,110),
+(8,3,52,106),
+(8,4,67,118),
+(8,5,82,131),
+(8,6,97,130),
+(8,7,102,145),
+(8,8,117,146),
+(8,9,132,163),
+(8,10,137,196),
+(8,11,152,215),
+(8,12,167,220),
+(8,13,172,241),
+(8,14,187,263),
+(8,15,202,271),
+(8,16,207,295),
+(8,17,222,305),
+(8,18,237,331),
+(8,19,242,343),
+(8,20,257,371),
+(8,21,272,385),
+(8,22,277,415),
+(8,23,292,431),
+(8,24,298,463),
+(8,25,315,481),
+(8,26,333,515),
+(8,27,342,535),
+(8,28,362,556),
+(8,29,373,592),
+(8,30,395,613),
+(8,31,418,634),
+(8,32,432,670),
+(8,33,457,691),
+(8,34,473,712),
+(8,35,500,733),
+(8,36,518,754),
+(8,37,547,790),
+(8,38,577,811),
+(8,39,598,832),
+(8,40,630,853),
+(8,41,653,874),
+(8,42,687,895),
+(8,43,712,916),
+(8,44,748,937),
+(8,45,775,958),
+(8,46,813,979),
+(8,47,842,1000),
+(8,48,882,1021),
+(8,49,913,1042),
+(8,50,955,1048),
+(8,51,988,1069),
+(8,52,1032,1090),
+(8,53,1067,1111),
+(8,54,1103,1117),
+(8,55,1150,1138),
+(8,56,1188,1159),
+(8,57,1237,1165),
+(8,58,1277,1186),
+(8,59,1328,1192),
+(8,60,1370,1213),
+(8,61,1526,1316),
+(8,62,1702,1419),
+(8,63,1875,1521),
+(8,64,2070,1624),
+(8,65,2261,1727),
+(8,66,2461,1830),
+(8,67,2686,1932),
+(8,68,2906,2035),
+(8,69,3136,2138),
+(8,70,3393,2241),
+(9,1,23,90),
+(9,2,28,98),
+(9,3,43,107),
+(9,4,48,102),
+(9,5,63,113),
+(9,6,68,126),
+(9,7,83,144),
+(9,8,88,162),
+(9,9,93,180),
+(9,10,108,198),
+(9,11,123,200),
+(9,12,128,218),
+(9,13,143,237),
+(9,14,148,257),
+(9,15,153,278),
+(9,16,168,300),
+(9,17,173,308),
+(9,18,189,332),
+(9,19,196,357),
+(9,20,204,383),
+(9,21,223,395),
+(9,22,233,423),
+(9,23,244,452),
+(9,24,266,467),
+(9,25,279,498),
+(9,26,293,530),
+(9,27,318,548),
+(9,28,334,582),
+(9,29,351,602),
+(9,30,379,638),
+(9,31,398,674),
+(9,32,418,695),
+(9,33,439,731),
+(9,34,471,752),
+(9,35,494,788),
+(9,36,518,809),
+(9,37,543,830),
+(9,38,569,866),
+(9,39,606,887),
+(9,40,634,923),
+(9,41,663,944),
+(9,42,693,965),
+(9,43,724,1001),
+(9,44,756,1022),
+(9,45,799,1043),
+(9,46,832,1064),
+(9,47,868,1100),
+(9,48,904,1121),
+(9,49,941,1142),
+(9,50,979,1163),
+(9,51,1018,1184),
+(9,52,1058,1205),
+(9,53,1099,1226),
+(9,54,1141,1247),
+(9,55,1184,1268),
+(9,56,1228,1289),
+(9,57,1273,1310),
+(9,58,1319,1331),
+(9,59,1366,1352),
+(9,60,1414,1373),
+(9,61,1580,1497),
+(9,62,1755,1621),
+(9,63,1939,1745),
+(9,64,2133,1870),
+(9,65,2323,1994),
+(9,66,2535,2118),
+(9,67,2758,2242),
+(9,68,2991,2366),
+(9,69,3235,2490),
+(9,70,3490,2615),
+(11,1,44,60),
+(11,2,51,66),
+(11,3,58,73),
+(11,4,75,81),
+(11,5,82,90),
+(11,6,89,100),
+(11,7,106,111),
+(11,8,113,123),
+(11,9,120,136),
+(11,10,137,150),
+(11,11,144,165),
+(11,12,151,182),
+(11,13,168,200),
+(11,14,175,219),
+(11,15,182,239),
+(11,16,199,260),
+(11,17,206,282),
+(11,18,214,305),
+(11,19,233,329),
+(11,20,243,354),
+(11,21,254,380),
+(11,22,266,392),
+(11,23,289,420),
+(11,24,303,449),
+(11,25,318,479),
+(11,26,334,509),
+(11,27,361,524),
+(11,28,379,554),
+(11,29,398,584),
+(11,30,418,614),
+(11,31,439,629),
+(11,32,461,659),
+(11,33,494,689),
+(11,34,518,704),
+(11,35,543,734),
+(11,36,569,749),
+(11,37,596,779),
+(11,38,624,809),
+(11,39,653,824),
+(11,40,683,854),
+(11,41,714,869),
+(11,42,746,899),
+(11,43,779,914),
+(11,44,823,944),
+(11,45,858,959),
+(11,46,894,989),
+(11,47,921,1004),
+(11,48,959,1019),
+(11,49,998,1049),
+(11,50,1038,1064),
+(11,51,1079,1079),
+(11,52,1121,1109),
+(11,53,1164,1124),
+(11,54,1208,1139),
+(11,55,1253,1154),
+(11,56,1299,1169),
+(11,57,1346,1199),
+(11,58,1384,1214),
+(11,59,1433,1229),
+(11,60,1483,1244),
+(11,61,1657,1357),
+(11,62,1840,1469),
+(11,63,2020,1582),
+(11,64,2222,1694),
+(11,65,2433,1807),
+(11,66,2640,1919),
+(11,67,2872,2032),
+(11,68,3114,2145),
+(11,69,3351,2257),
+(11,70,3614,2370);
+/*!40000 ALTER TABLE `player_classlevelstats` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `player_levelstats`
+--
+
+DROP TABLE IF EXISTS `player_levelstats`;
+CREATE TABLE `player_levelstats` (
+ `race` tinyint(3) unsigned NOT NULL,
+ `class` tinyint(3) unsigned NOT NULL,
+ `level` tinyint(3) unsigned NOT NULL,
+ `str` tinyint(3) unsigned NOT NULL,
+ `agi` tinyint(3) unsigned NOT NULL,
+ `sta` tinyint(3) unsigned NOT NULL,
+ `inte` tinyint(3) unsigned NOT NULL,
+ `spi` tinyint(3) unsigned NOT NULL,
+ PRIMARY KEY (`race`,`class`,`level`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores levels stats.';
+
+--
+-- Dumping data for table `player_levelstats`
+--
+
+LOCK TABLES `player_levelstats` WRITE;
+/*!40000 ALTER TABLE `player_levelstats` DISABLE KEYS */;
+INSERT INTO `player_levelstats` VALUES
+(1,1,1,23,20,22,20,20),
+(1,1,2,24,21,23,20,20),
+(1,1,3,26,22,24,20,21),
+(1,1,4,27,22,26,20,21),
+(1,1,5,28,23,27,20,21),
+(1,1,6,30,24,28,20,21),
+(1,1,7,31,25,29,21,22),
+(1,1,8,32,26,30,21,22),
+(1,1,9,34,26,32,21,22),
+(1,1,10,35,27,33,21,23),
+(1,1,11,36,28,34,21,23),
+(1,1,12,38,29,35,21,23),
+(1,1,13,39,30,37,21,24),
+(1,1,14,41,31,38,21,24),
+(1,1,15,42,32,39,21,24),
+(1,1,16,44,33,41,21,25),
+(1,1,17,45,34,42,22,25),
+(1,1,18,47,34,43,22,25),
+(1,1,19,48,35,45,22,26),
+(1,1,20,50,36,46,22,26),
+(1,1,21,51,37,48,22,26),
+(1,1,22,53,38,49,22,27),
+(1,1,23,54,39,51,22,27),
+(1,1,24,56,40,52,23,28),
+(1,1,25,58,41,53,23,28),
+(1,1,26,59,42,55,23,28),
+(1,1,27,61,43,56,23,29),
+(1,1,28,63,44,58,23,29),
+(1,1,29,64,45,59,23,30),
+(1,1,30,66,46,61,24,30),
+(1,1,31,68,47,62,24,30),
+(1,1,32,69,48,64,24,31),
+(1,1,33,71,50,66,24,31),
+(1,1,34,73,51,67,24,32),
+(1,1,35,74,52,69,24,32),
+(1,1,36,76,53,70,25,33),
+(1,1,37,78,54,72,25,33),
+(1,1,38,80,55,74,25,34),
+(1,1,39,82,56,75,25,34),
+(1,1,40,83,57,77,25,35),
+(1,1,41,85,58,79,26,35),
+(1,1,42,87,60,80,26,35),
+(1,1,43,89,61,82,26,36),
+(1,1,44,91,62,84,26,36),
+(1,1,45,93,63,85,26,37),
+(1,1,46,95,64,87,27,37),
+(1,1,47,97,66,89,27,38),
+(1,1,48,99,67,91,27,38),
+(1,1,49,101,68,93,27,39),
+(1,1,50,103,69,94,28,40),
+(1,1,51,105,71,96,28,40),
+(1,1,52,107,72,98,28,41),
+(1,1,53,109,73,100,28,41),
+(1,1,54,111,74,102,29,42),
+(1,1,55,113,76,103,29,42),
+(1,1,56,115,77,105,29,43),
+(1,1,57,117,78,107,29,43),
+(1,1,58,119,79,109,30,44),
+(1,1,59,121,81,111,30,44),
+(1,1,60,123,82,113,30,45),
+(1,1,61,125,83,115,30,46),
+(1,1,62,127,85,117,31,46),
+(1,1,63,129,86,119,31,47),
+(1,1,64,132,88,121,31,47),
+(1,1,65,134,89,123,32,48),
+(1,1,66,136,90,125,32,49),
+(1,1,67,138,92,127,32,49),
+(1,1,68,140,93,129,32,50),
+(1,1,69,143,95,131,33,50),
+(1,1,70,145,96,133,33,51),
+(1,2,1,22,20,22,20,21),
+(1,2,2,23,21,23,21,22),
+(1,2,3,24,21,24,21,22),
+(1,2,4,25,22,25,22,23),
+(1,2,5,26,22,26,23,24),
+(1,2,6,28,23,27,23,25),
+(1,2,7,29,24,28,24,25),
+(1,2,8,30,24,29,25,26),
+(1,2,9,31,25,30,25,27),
+(1,2,10,32,25,32,26,27),
+(1,2,11,33,26,33,27,28),
+(1,2,12,35,27,34,27,29),
+(1,2,13,36,27,35,28,30),
+(1,2,14,37,28,36,29,31),
+(1,2,15,38,29,37,30,31),
+(1,2,16,40,29,38,30,32),
+(1,2,17,41,30,40,31,33),
+(1,2,18,42,31,41,32,34),
+(1,2,19,43,31,42,33,35),
+(1,2,20,45,32,43,33,35),
+(1,2,21,46,33,45,34,36),
+(1,2,22,47,33,46,35,37),
+(1,2,23,49,34,47,36,38),
+(1,2,24,50,35,48,37,39),
+(1,2,25,51,36,50,37,40),
+(1,2,26,53,36,51,38,41),
+(1,2,27,54,37,52,39,42),
+(1,2,28,56,38,54,40,43),
+(1,2,29,57,39,55,41,43),
+(1,2,30,58,39,56,42,44),
+(1,2,31,60,40,58,43,45),
+(1,2,32,61,41,59,43,46),
+(1,2,33,63,42,60,44,47),
+(1,2,34,64,43,62,45,48),
+(1,2,35,66,44,63,46,49),
+(1,2,36,67,44,65,47,50),
+(1,2,37,69,45,66,48,51),
+(1,2,38,70,46,67,49,52),
+(1,2,39,72,47,69,50,53),
+(1,2,40,73,48,70,51,54),
+(1,2,41,75,49,72,52,55),
+(1,2,42,77,49,73,53,56),
+(1,2,43,78,50,75,54,57),
+(1,2,44,80,51,76,55,58),
+(1,2,45,81,52,78,56,59),
+(1,2,46,83,53,79,57,61),
+(1,2,47,85,54,81,58,62),
+(1,2,48,86,55,83,59,63),
+(1,2,49,88,56,84,60,64),
+(1,2,50,90,57,86,61,65),
+(1,2,51,91,58,87,62,66),
+(1,2,52,93,59,89,63,67),
+(1,2,53,95,60,91,64,68),
+(1,2,54,97,61,92,65,69),
+(1,2,55,98,61,94,66,71),
+(1,2,56,100,62,95,67,72),
+(1,2,57,102,63,97,68,73),
+(1,2,58,104,64,99,69,74),
+(1,2,59,105,65,101,70,75),
+(1,2,60,107,66,102,71,77),
+(1,2,61,109,67,104,73,78),
+(1,2,62,111,69,106,74,79),
+(1,2,63,113,70,107,75,80),
+(1,2,64,115,71,109,76,81),
+(1,2,65,116,72,111,77,83),
+(1,2,66,118,73,113,78,84),
+(1,2,67,120,74,115,79,85),
+(1,2,68,122,75,116,81,86),
+(1,2,69,124,76,118,82,88),
+(1,2,70,126,77,120,83,89),
+(1,4,1,21,23,21,20,20),
+(1,4,2,22,24,22,20,20),
+(1,4,3,23,26,22,20,21),
+(1,4,4,23,27,23,20,21),
+(1,4,5,24,29,24,21,21),
+(1,4,6,25,30,25,21,22),
+(1,4,7,26,32,25,21,22),
+(1,4,8,26,33,26,21,23),
+(1,4,9,27,35,27,21,23),
+(1,4,10,28,36,27,21,23),
+(1,4,11,29,38,28,22,24),
+(1,4,12,30,39,29,22,24),
+(1,4,13,31,41,30,22,25),
+(1,4,14,31,43,31,22,25),
+(1,4,15,32,44,31,22,25),
+(1,4,16,33,46,32,23,26),
+(1,4,17,34,48,33,23,26),
+(1,4,18,35,49,34,23,27),
+(1,4,19,36,51,35,23,27),
+(1,4,20,37,53,35,23,28),
+(1,4,21,38,54,36,24,28),
+(1,4,22,39,56,37,24,29),
+(1,4,23,40,58,38,24,29),
+(1,4,24,41,60,39,24,30),
+(1,4,25,42,61,40,25,30),
+(1,4,26,43,63,41,25,31),
+(1,4,27,44,65,42,25,31),
+(1,4,28,45,67,43,25,32),
+(1,4,29,46,69,43,25,32),
+(1,4,30,47,71,44,26,33),
+(1,4,31,48,72,45,26,33),
+(1,4,32,49,74,46,26,34),
+(1,4,33,50,76,47,27,34),
+(1,4,34,51,78,48,27,35),
+(1,4,35,52,80,49,27,35),
+(1,4,36,53,82,50,27,36),
+(1,4,37,54,84,51,28,36),
+(1,4,38,55,86,52,28,37),
+(1,4,39,56,88,53,28,38),
+(1,4,40,57,90,54,28,38),
+(1,4,41,58,92,55,29,39),
+(1,4,42,60,94,56,29,39),
+(1,4,43,61,96,57,29,40),
+(1,4,44,62,98,58,30,40),
+(1,4,45,63,100,59,30,41),
+(1,4,46,64,103,61,30,42),
+(1,4,47,65,105,62,31,42),
+(1,4,48,66,107,63,31,43),
+(1,4,49,68,109,64,31,44),
+(1,4,50,69,111,65,32,44),
+(1,4,51,70,113,66,32,45),
+(1,4,52,71,116,67,32,45),
+(1,4,53,73,118,68,33,46),
+(1,4,54,74,120,69,33,47),
+(1,4,55,75,122,71,33,47),
+(1,4,56,76,125,72,34,48),
+(1,4,57,78,127,73,34,49),
+(1,4,58,79,129,74,34,49),
+(1,4,59,80,131,75,35,50),
+(1,4,60,81,134,77,35,51),
+(1,4,61,83,136,78,35,51),
+(1,4,62,84,138,79,36,52),
+(1,4,63,85,141,80,36,53),
+(1,4,64,87,143,81,37,54),
+(1,4,65,88,146,83,37,54),
+(1,4,66,89,148,84,37,55),
+(1,4,67,91,151,85,38,56),
+(1,4,68,92,153,86,38,57),
+(1,4,69,94,156,88,39,57),
+(1,4,70,95,158,89,39,58),
+(1,5,1,20,20,20,22,23),
+(1,5,2,20,20,20,23,24),
+(1,5,3,20,20,21,25,26),
+(1,5,4,20,21,21,26,27),
+(1,5,5,21,21,21,27,28),
+(1,5,6,21,21,22,29,30),
+(1,5,7,21,21,22,30,31),
+(1,5,8,21,22,23,31,33),
+(1,5,9,21,22,23,33,34),
+(1,5,10,21,22,23,34,36),
+(1,5,11,22,22,24,36,37),
+(1,5,12,22,23,24,37,39),
+(1,5,13,22,23,25,38,40),
+(1,5,14,22,23,25,40,42),
+(1,5,15,22,23,25,41,43),
+(1,5,16,23,24,26,43,45),
+(1,5,17,23,24,26,44,46),
+(1,5,18,23,24,27,46,48),
+(1,5,19,23,24,27,47,49),
+(1,5,20,23,25,28,49,51),
+(1,5,21,24,25,28,51,53),
+(1,5,22,24,25,29,52,54),
+(1,5,23,24,26,29,54,56),
+(1,5,24,24,26,30,55,58),
+(1,5,25,25,26,30,57,59),
+(1,5,26,25,27,31,59,61),
+(1,5,27,25,27,31,60,63),
+(1,5,28,25,27,32,62,65),
+(1,5,29,25,28,32,64,66),
+(1,5,30,26,28,33,65,68),
+(1,5,31,26,28,33,67,70),
+(1,5,32,26,29,34,69,72),
+(1,5,33,27,29,34,70,73),
+(1,5,34,27,29,35,72,75),
+(1,5,35,27,30,35,74,77),
+(1,5,36,27,30,36,76,79),
+(1,5,37,28,30,36,78,81),
+(1,5,38,28,31,37,79,83),
+(1,5,39,28,31,38,81,85),
+(1,5,40,28,31,38,83,87),
+(1,5,41,29,32,39,85,88),
+(1,5,42,29,32,39,87,90),
+(1,5,43,29,33,40,89,92),
+(1,5,44,30,33,40,91,94),
+(1,5,45,30,33,41,92,96),
+(1,5,46,30,34,42,94,98),
+(1,5,47,31,34,42,96,100),
+(1,5,48,31,35,43,98,102),
+(1,5,49,31,35,44,100,104),
+(1,5,50,32,36,44,102,106),
+(1,5,51,32,36,45,104,109),
+(1,5,52,32,36,45,106,111),
+(1,5,53,33,37,46,108,113),
+(1,5,54,33,37,47,110,115),
+(1,5,55,33,38,47,112,117),
+(1,5,56,34,38,48,114,119),
+(1,5,57,34,39,49,117,121),
+(1,5,58,34,39,49,119,124),
+(1,5,59,35,40,50,121,126),
+(1,5,60,35,40,51,123,128),
+(1,5,61,35,41,51,125,130),
+(1,5,62,36,41,52,127,132),
+(1,5,63,36,41,53,129,135),
+(1,5,64,37,42,54,132,137),
+(1,5,65,37,42,54,134,139),
+(1,5,66,37,43,55,136,142),
+(1,5,67,38,43,56,138,144),
+(1,5,68,38,44,57,140,146),
+(1,5,69,39,44,57,143,149),
+(1,5,70,39,45,58,145,151),
+(1,8,1,20,20,20,23,22),
+(1,8,2,20,20,20,24,23),
+(1,8,3,20,20,21,26,25),
+(1,8,4,20,20,21,27,26),
+(1,8,5,20,21,21,28,27),
+(1,8,6,20,21,21,30,29),
+(1,8,7,21,21,22,31,30),
+(1,8,8,21,21,22,33,31),
+(1,8,9,21,21,22,34,33),
+(1,8,10,21,21,23,36,34),
+(1,8,11,21,22,23,37,36),
+(1,8,12,21,22,23,39,37),
+(1,8,13,21,22,24,40,38),
+(1,8,14,21,22,24,42,40),
+(1,8,15,21,22,24,43,41),
+(1,8,16,21,23,25,45,43),
+(1,8,17,22,23,25,46,44),
+(1,8,18,22,23,25,48,46),
+(1,8,19,22,23,26,49,47),
+(1,8,20,22,23,26,51,49),
+(1,8,21,22,24,26,53,51),
+(1,8,22,22,24,27,54,52),
+(1,8,23,22,24,27,56,54),
+(1,8,24,23,24,28,58,55),
+(1,8,25,23,25,28,59,57),
+(1,8,26,23,25,28,61,59),
+(1,8,27,23,25,29,63,60),
+(1,8,28,23,25,29,65,62),
+(1,8,29,23,25,30,66,64),
+(1,8,30,24,26,30,68,65),
+(1,8,31,24,26,30,70,67),
+(1,8,32,24,26,31,72,69),
+(1,8,33,24,27,31,73,70),
+(1,8,34,24,27,32,75,72),
+(1,8,35,24,27,32,77,74),
+(1,8,36,25,27,33,79,76),
+(1,8,37,25,28,33,81,78),
+(1,8,38,25,28,34,83,79),
+(1,8,39,25,28,34,85,81),
+(1,8,40,25,28,35,87,83),
+(1,8,41,26,29,35,88,85),
+(1,8,42,26,29,35,90,87),
+(1,8,43,26,29,36,92,89),
+(1,8,44,26,30,36,94,91),
+(1,8,45,26,30,37,96,92),
+(1,8,46,27,30,37,98,94),
+(1,8,47,27,31,38,100,96),
+(1,8,48,27,31,38,102,98),
+(1,8,49,27,31,39,104,100),
+(1,8,50,28,32,40,106,102),
+(1,8,51,28,32,40,109,104),
+(1,8,52,28,32,41,111,106),
+(1,8,53,28,33,41,113,108),
+(1,8,54,29,33,42,115,110),
+(1,8,55,29,33,42,117,112),
+(1,8,56,29,34,43,119,114),
+(1,8,57,29,34,43,121,117),
+(1,8,58,30,34,44,124,119),
+(1,8,59,30,35,44,126,121),
+(1,8,60,30,35,45,128,123),
+(1,8,61,30,35,46,130,125),
+(1,8,62,31,36,46,132,127),
+(1,8,63,31,36,47,135,129),
+(1,8,64,31,37,47,137,132),
+(1,8,65,32,37,48,139,134),
+(1,8,66,32,37,49,142,136),
+(1,8,67,32,38,49,144,138),
+(1,8,68,32,38,50,146,140),
+(1,8,69,33,39,50,149,143),
+(1,8,70,33,39,51,151,145),
+(1,9,1,20,20,21,22,22),
+(1,9,2,20,20,22,23,23),
+(1,9,3,21,21,22,24,24),
+(1,9,4,21,21,23,26,25),
+(1,9,5,21,21,23,27,27),
+(1,9,6,21,22,24,28,28),
+(1,9,7,22,22,24,29,29),
+(1,9,8,22,23,25,30,30),
+(1,9,9,22,23,26,32,31),
+(1,9,10,23,23,26,33,33),
+(1,9,11,23,24,27,34,34),
+(1,9,12,23,24,27,35,35),
+(1,9,13,24,25,28,37,36),
+(1,9,14,24,25,29,38,38),
+(1,9,15,24,25,29,39,39),
+(1,9,16,25,26,30,41,40),
+(1,9,17,25,26,31,42,42),
+(1,9,18,25,27,31,43,43),
+(1,9,19,26,27,32,45,44),
+(1,9,20,26,28,33,46,46),
+(1,9,21,26,28,33,48,47),
+(1,9,22,27,29,34,49,49),
+(1,9,23,27,29,35,51,50),
+(1,9,24,28,30,35,52,51),
+(1,9,25,28,30,36,53,53),
+(1,9,26,28,31,37,55,54),
+(1,9,27,29,31,37,56,56),
+(1,9,28,29,32,38,58,57),
+(1,9,29,30,32,39,59,59),
+(1,9,30,30,33,40,61,60),
+(1,9,31,30,33,40,62,62),
+(1,9,32,31,34,41,64,63),
+(1,9,33,31,34,42,66,65),
+(1,9,34,32,35,43,67,66),
+(1,9,35,32,35,44,69,68),
+(1,9,36,33,36,44,70,69),
+(1,9,37,33,36,45,72,71),
+(1,9,38,34,37,46,74,73),
+(1,9,39,34,38,47,75,74),
+(1,9,40,35,38,48,77,76),
+(1,9,41,35,39,48,79,78),
+(1,9,42,35,39,49,80,79),
+(1,9,43,36,40,50,82,81),
+(1,9,44,36,40,51,84,83),
+(1,9,45,37,41,52,85,84),
+(1,9,46,37,42,53,87,86),
+(1,9,47,38,42,54,89,88),
+(1,9,48,38,43,55,91,89),
+(1,9,49,39,44,55,93,91),
+(1,9,50,40,44,56,94,93),
+(1,9,51,40,45,57,96,95),
+(1,9,52,41,45,58,98,97),
+(1,9,53,41,46,59,100,98),
+(1,9,54,42,47,60,102,100),
+(1,9,55,42,47,61,103,102),
+(1,9,56,43,48,62,105,104),
+(1,9,57,43,49,63,107,106),
+(1,9,58,44,49,64,109,108),
+(1,9,59,44,50,65,111,109),
+(1,9,60,45,51,66,113,111),
+(1,9,61,46,51,67,115,113),
+(1,9,62,46,52,68,117,115),
+(1,9,63,47,53,69,119,117),
+(1,9,64,47,54,70,121,119),
+(1,9,65,48,54,71,123,121),
+(1,9,66,49,55,72,125,123),
+(1,9,67,49,56,73,127,125),
+(1,9,68,50,57,74,129,127),
+(1,9,69,50,57,75,131,129),
+(1,9,70,51,58,76,133,131),
+(2,1,1,26,17,24,17,23),
+(2,1,2,27,18,25,17,23),
+(2,1,3,29,19,26,17,24),
+(2,1,4,30,19,27,17,24),
+(2,1,5,31,20,29,17,24),
+(2,1,6,32,21,30,17,24),
+(2,1,7,34,22,31,18,25),
+(2,1,8,35,23,32,18,25),
+(2,1,9,37,24,34,18,25),
+(2,1,10,38,24,35,18,26),
+(2,1,11,39,25,36,18,26),
+(2,1,12,41,26,37,18,26),
+(2,1,13,42,27,39,18,27),
+(2,1,14,44,28,40,18,27),
+(2,1,15,45,29,41,18,27),
+(2,1,16,47,30,43,19,28),
+(2,1,17,48,31,44,19,28),
+(2,1,18,50,32,45,19,28),
+(2,1,19,51,33,47,19,29),
+(2,1,20,53,34,48,19,29),
+(2,1,21,54,34,50,19,29),
+(2,1,22,56,35,51,19,30),
+(2,1,23,57,36,52,20,30),
+(2,1,24,59,37,54,20,30),
+(2,1,25,60,38,55,20,31),
+(2,1,26,62,39,57,20,31),
+(2,1,27,64,40,58,20,32),
+(2,1,28,65,41,60,20,32),
+(2,1,29,67,43,61,21,32),
+(2,1,30,69,44,63,21,33),
+(2,1,31,70,45,64,21,33),
+(2,1,32,72,46,66,21,34),
+(2,1,33,74,47,67,21,34),
+(2,1,34,76,48,69,21,35),
+(2,1,35,77,49,71,22,35),
+(2,1,36,79,50,72,22,36),
+(2,1,37,81,51,74,22,36),
+(2,1,38,83,52,76,22,36),
+(2,1,39,84,53,77,22,37),
+(2,1,40,86,55,79,23,37),
+(2,1,41,88,56,81,23,38),
+(2,1,42,90,57,82,23,38),
+(2,1,43,92,58,84,23,39),
+(2,1,44,94,59,86,23,39),
+(2,1,45,96,60,87,24,40),
+(2,1,46,98,62,89,24,40),
+(2,1,47,100,63,91,24,41),
+(2,1,48,101,64,93,24,41),
+(2,1,49,103,65,94,25,42),
+(2,1,50,105,66,96,25,42),
+(2,1,51,107,68,98,25,43),
+(2,1,52,109,69,100,25,43),
+(2,1,53,111,70,102,25,44),
+(2,1,54,113,71,104,26,45),
+(2,1,55,115,73,105,26,45),
+(2,1,56,118,74,107,26,46),
+(2,1,57,120,75,109,26,46),
+(2,1,58,122,77,111,27,47),
+(2,1,59,124,78,113,27,47),
+(2,1,60,126,79,115,27,48),
+(2,1,61,128,81,117,27,48),
+(2,1,62,130,82,119,28,49),
+(2,1,63,132,83,121,28,50),
+(2,1,64,135,85,123,28,50),
+(2,1,65,137,86,125,29,51),
+(2,1,66,139,87,127,29,52),
+(2,1,67,141,89,129,29,52),
+(2,1,68,143,90,131,29,53),
+(2,1,69,146,92,133,30,53),
+(2,1,70,148,93,135,30,54),
+(2,3,1,23,20,23,17,24),
+(2,3,2,23,21,24,18,25),
+(2,3,3,24,23,25,18,25),
+(2,3,4,24,24,26,19,26),
+(2,3,5,25,25,27,19,26),
+(2,3,6,25,27,28,20,27),
+(2,3,7,26,28,28,21,28),
+(2,3,8,26,30,29,21,28),
+(2,3,9,26,31,30,22,29),
+(2,3,10,27,33,31,22,30),
+(2,3,11,27,34,32,23,30),
+(2,3,12,28,36,33,24,31),
+(2,3,13,28,37,34,24,32),
+(2,3,14,29,39,35,25,33),
+(2,3,15,29,40,36,26,33),
+(2,3,16,30,42,37,26,34),
+(2,3,17,30,43,39,27,35),
+(2,3,18,31,45,40,28,35),
+(2,3,19,31,47,41,28,36),
+(2,3,20,32,48,42,29,37),
+(2,3,21,32,50,43,30,38),
+(2,3,22,33,51,44,31,39),
+(2,3,23,34,53,45,31,39),
+(2,3,24,34,55,46,32,40),
+(2,3,25,35,57,47,33,41),
+(2,3,26,35,58,48,34,42),
+(2,3,27,36,60,50,34,43),
+(2,3,28,36,62,51,35,43),
+(2,3,29,37,63,52,36,44),
+(2,3,30,38,65,53,37,45),
+(2,3,31,38,67,54,37,46),
+(2,3,32,39,69,56,38,47),
+(2,3,33,39,71,57,39,48),
+(2,3,34,40,72,58,40,49),
+(2,3,35,41,74,59,41,49),
+(2,3,36,41,76,61,42,50),
+(2,3,37,42,78,62,42,51),
+(2,3,38,43,80,63,43,52),
+(2,3,39,43,82,64,44,53),
+(2,3,40,44,84,66,45,54),
+(2,3,41,45,86,67,46,55),
+(2,3,42,45,88,68,47,56),
+(2,3,43,46,90,70,47,57),
+(2,3,44,47,91,71,48,58),
+(2,3,45,47,93,72,49,59),
+(2,3,46,48,95,74,50,60),
+(2,3,47,49,98,75,51,61),
+(2,3,48,50,100,77,52,62),
+(2,3,49,50,102,78,53,63),
+(2,3,50,51,104,79,54,64),
+(2,3,51,52,106,81,55,65),
+(2,3,52,52,108,82,56,66),
+(2,3,53,53,110,84,57,67),
+(2,3,54,54,112,85,58,68),
+(2,3,55,55,114,87,59,69),
+(2,3,56,55,116,88,60,70),
+(2,3,57,56,118,90,61,71),
+(2,3,58,57,121,91,62,72),
+(2,3,59,58,123,93,63,73),
+(2,3,60,59,125,94,64,74),
+(2,3,61,59,127,96,65,76),
+(2,3,62,60,130,97,66,77),
+(2,3,63,61,132,99,67,78),
+(2,3,64,62,134,100,68,79),
+(2,3,65,63,136,102,69,80),
+(2,3,66,64,139,104,70,81),
+(2,3,67,64,141,105,71,82),
+(2,3,68,65,143,107,72,84),
+(2,3,69,66,146,108,73,85),
+(2,3,70,67,148,110,74,86),
+(2,4,1,24,20,23,17,23),
+(2,4,2,25,21,24,17,23),
+(2,4,3,25,23,24,17,24),
+(2,4,4,26,24,25,17,24),
+(2,4,5,27,26,26,18,24),
+(2,4,6,28,27,26,18,25),
+(2,4,7,29,29,27,18,25),
+(2,4,8,29,30,28,18,26),
+(2,4,9,30,32,29,18,26),
+(2,4,10,31,33,29,19,26),
+(2,4,11,32,35,30,19,27),
+(2,4,12,33,37,31,19,27),
+(2,4,13,34,38,32,19,28),
+(2,4,14,34,40,32,19,28),
+(2,4,15,35,41,33,19,28),
+(2,4,16,36,43,34,20,29),
+(2,4,17,37,45,35,20,29),
+(2,4,18,38,46,36,20,30),
+(2,4,19,39,48,37,20,30),
+(2,4,20,40,50,37,21,31),
+(2,4,21,41,52,38,21,31),
+(2,4,22,42,53,39,21,31),
+(2,4,23,43,55,40,21,32),
+(2,4,24,43,57,41,21,32),
+(2,4,25,44,59,42,22,33),
+(2,4,26,45,60,43,22,33),
+(2,4,27,46,62,44,22,34),
+(2,4,28,47,64,44,22,34),
+(2,4,29,48,66,45,23,35),
+(2,4,30,49,68,46,23,35),
+(2,4,31,50,70,47,23,36),
+(2,4,32,51,72,48,23,36),
+(2,4,33,53,73,49,24,37),
+(2,4,34,54,75,50,24,38),
+(2,4,35,55,77,51,24,38),
+(2,4,36,56,79,52,24,39),
+(2,4,37,57,81,53,25,39),
+(2,4,38,58,83,54,25,40),
+(2,4,39,59,85,55,25,40),
+(2,4,40,60,87,56,26,41),
+(2,4,41,61,89,57,26,41),
+(2,4,42,62,91,58,26,42),
+(2,4,43,63,93,59,27,43),
+(2,4,44,65,95,60,27,43),
+(2,4,45,66,98,61,27,44),
+(2,4,46,67,100,62,27,44),
+(2,4,47,68,102,64,28,45),
+(2,4,48,69,104,65,28,46),
+(2,4,49,71,106,66,28,46),
+(2,4,50,72,108,67,29,47),
+(2,4,51,73,110,68,29,48),
+(2,4,52,74,113,69,29,48),
+(2,4,53,75,115,70,30,49),
+(2,4,54,77,117,71,30,50),
+(2,4,55,78,119,73,30,50),
+(2,4,56,79,122,74,31,51),
+(2,4,57,80,124,75,31,52),
+(2,4,58,82,126,76,31,52),
+(2,4,59,83,129,77,32,53),
+(2,4,60,84,131,78,32,54),
+(2,4,61,86,133,80,33,54),
+(2,4,62,87,136,81,33,55),
+(2,4,63,88,138,82,33,56),
+(2,4,64,90,140,83,34,57),
+(2,4,65,91,143,85,34,57),
+(2,4,66,92,145,86,34,58),
+(2,4,67,94,148,87,35,59),
+(2,4,68,95,150,88,35,59),
+(2,4,69,97,153,90,36,60),
+(2,4,70,98,155,91,36,61),
+(2,7,1,24,17,23,18,25),
+(2,7,2,25,17,24,19,26),
+(2,7,3,26,18,25,20,27),
+(2,7,4,26,18,26,21,28),
+(2,7,5,27,19,27,22,29),
+(2,7,6,28,19,28,23,30),
+(2,7,7,29,20,29,24,31),
+(2,7,8,30,20,30,25,32),
+(2,7,9,31,21,31,26,33),
+(2,7,10,32,21,32,27,34),
+(2,7,11,33,22,33,28,36),
+(2,7,12,34,22,34,29,37),
+(2,7,13,34,23,35,30,38),
+(2,7,14,35,23,36,31,39),
+(2,7,15,36,24,37,32,40),
+(2,7,16,37,24,39,33,41),
+(2,7,17,38,25,40,34,43),
+(2,7,18,39,25,41,35,44),
+(2,7,19,40,26,42,36,45),
+(2,7,20,41,26,43,37,46),
+(2,7,21,42,27,44,38,47),
+(2,7,22,43,27,45,39,49),
+(2,7,23,44,28,47,40,50),
+(2,7,24,45,28,48,41,51),
+(2,7,25,47,29,49,43,52),
+(2,7,26,48,30,50,44,54),
+(2,7,27,49,30,52,45,55),
+(2,7,28,50,31,53,46,56),
+(2,7,29,51,31,54,47,58),
+(2,7,30,52,32,55,48,59),
+(2,7,31,53,33,57,50,60),
+(2,7,32,54,33,58,51,62),
+(2,7,33,55,34,59,52,63),
+(2,7,34,57,34,61,53,65),
+(2,7,35,58,35,62,55,66),
+(2,7,36,59,36,63,56,67),
+(2,7,37,60,36,65,57,69),
+(2,7,38,61,37,66,58,70),
+(2,7,39,62,38,67,60,72),
+(2,7,40,64,38,69,61,73),
+(2,7,41,65,39,70,62,75),
+(2,7,42,66,40,72,64,76),
+(2,7,43,67,40,73,65,78),
+(2,7,44,69,41,74,66,79),
+(2,7,45,70,42,76,68,81),
+(2,7,46,71,42,77,69,82),
+(2,7,47,72,43,79,70,84),
+(2,7,48,74,44,80,72,85),
+(2,7,49,75,45,82,73,87),
+(2,7,50,76,45,83,75,89),
+(2,7,51,78,46,85,76,90),
+(2,7,52,79,47,86,77,92),
+(2,7,53,80,47,88,79,93),
+(2,7,54,82,48,90,80,95),
+(2,7,55,83,49,91,82,97),
+(2,7,56,85,50,93,83,98),
+(2,7,57,86,50,94,85,100),
+(2,7,58,87,51,96,86,102),
+(2,7,59,89,52,97,88,103),
+(2,7,60,90,53,99,89,105),
+(2,7,61,92,54,101,91,107),
+(2,7,62,93,54,102,92,109),
+(2,7,63,95,55,104,94,110),
+(2,7,64,96,56,106,95,112),
+(2,7,65,97,57,107,97,114),
+(2,7,66,99,58,109,99,116),
+(2,7,67,100,58,111,100,118),
+(2,7,68,102,59,113,102,119),
+(2,7,69,103,60,114,103,121),
+(2,7,70,105,61,116,105,123),
+(2,9,1,23,17,23,19,25),
+(2,9,2,23,17,24,20,26),
+(2,9,3,24,18,24,21,27),
+(2,9,4,24,18,25,23,28),
+(2,9,5,24,18,25,24,30),
+(2,9,6,24,19,26,25,31),
+(2,9,7,25,19,26,26,32),
+(2,9,8,25,20,27,27,33),
+(2,9,9,25,20,27,29,34),
+(2,9,10,26,20,28,30,36),
+(2,9,11,26,21,29,31,37),
+(2,9,12,26,21,29,33,38),
+(2,9,13,27,22,30,34,39),
+(2,9,14,27,22,31,35,41),
+(2,9,15,27,23,31,37,42),
+(2,9,16,28,23,32,38,43),
+(2,9,17,28,23,32,39,45),
+(2,9,18,28,24,33,41,46),
+(2,9,19,29,24,34,42,47),
+(2,9,20,29,25,34,43,49),
+(2,9,21,29,25,35,45,50),
+(2,9,22,30,26,36,46,51),
+(2,9,23,30,26,37,48,53),
+(2,9,24,30,27,37,49,54),
+(2,9,25,31,27,38,51,56),
+(2,9,26,31,28,39,52,57),
+(2,9,27,32,28,39,54,59),
+(2,9,28,32,29,40,55,60),
+(2,9,29,32,29,41,57,62),
+(2,9,30,33,30,42,58,63),
+(2,9,31,33,30,42,60,65),
+(2,9,32,34,31,43,61,66),
+(2,9,33,34,31,44,63,68),
+(2,9,34,35,32,45,64,69),
+(2,9,35,35,32,45,66,71),
+(2,9,36,36,33,46,68,72),
+(2,9,37,36,34,47,69,74),
+(2,9,38,36,34,48,71,76),
+(2,9,39,37,35,49,72,77),
+(2,9,40,37,35,50,74,79),
+(2,9,41,38,36,50,76,80),
+(2,9,42,38,36,51,77,82),
+(2,9,43,39,37,52,79,84),
+(2,9,44,39,38,53,81,85),
+(2,9,45,40,38,54,83,87),
+(2,9,46,40,39,55,84,89),
+(2,9,47,41,39,56,86,91),
+(2,9,48,41,40,56,88,92),
+(2,9,49,42,41,57,90,94),
+(2,9,50,42,41,58,91,96),
+(2,9,51,43,42,59,93,98),
+(2,9,52,43,43,60,95,99),
+(2,9,53,44,43,61,97,101),
+(2,9,54,45,44,62,99,103),
+(2,9,55,45,45,63,101,105),
+(2,9,56,46,45,64,102,107),
+(2,9,57,46,46,65,104,109),
+(2,9,58,47,47,66,106,110),
+(2,9,59,47,47,67,108,112),
+(2,9,60,48,48,68,110,114),
+(2,9,61,48,49,69,112,116),
+(2,9,62,49,49,70,114,118),
+(2,9,63,50,50,71,116,120),
+(2,9,64,50,51,72,118,122),
+(2,9,65,51,51,73,120,124),
+(2,9,66,52,52,74,122,126),
+(2,9,67,52,53,75,124,128),
+(2,9,68,53,54,76,126,130),
+(2,9,69,53,54,77,128,132),
+(2,9,70,54,55,78,130,134),
+(3,1,1,25,16,25,19,19),
+(3,1,2,26,17,26,19,19),
+(3,1,3,28,18,27,19,20),
+(3,1,4,29,18,28,19,20),
+(3,1,5,30,19,30,19,20),
+(3,1,6,31,20,31,19,20),
+(3,1,7,33,21,32,20,21),
+(3,1,8,34,22,33,20,21),
+(3,1,9,36,23,35,20,21),
+(3,1,10,37,23,36,20,22),
+(3,1,11,38,24,37,20,22),
+(3,1,12,40,25,38,20,22),
+(3,1,13,41,26,40,20,23),
+(3,1,14,43,27,41,20,23),
+(3,1,15,44,28,42,20,23),
+(3,1,16,46,29,44,21,24),
+(3,1,17,47,30,45,21,24),
+(3,1,18,49,31,46,21,24),
+(3,1,19,50,32,48,21,25),
+(3,1,20,52,33,49,21,25),
+(3,1,21,53,34,51,21,26),
+(3,1,22,55,34,52,21,26),
+(3,1,23,56,35,53,21,26),
+(3,1,24,58,36,55,22,27),
+(3,1,25,59,37,56,22,27),
+(3,1,26,61,38,58,22,27),
+(3,1,27,63,39,59,22,28),
+(3,1,28,64,41,61,22,28),
+(3,1,29,66,42,62,22,29),
+(3,1,30,68,43,64,23,29),
+(3,1,31,69,44,65,23,30),
+(3,1,32,71,45,67,23,30),
+(3,1,33,73,46,68,23,30),
+(3,1,34,75,47,70,23,31),
+(3,1,35,76,48,72,24,31),
+(3,1,36,78,49,73,24,32),
+(3,1,37,80,50,75,24,32),
+(3,1,38,82,51,76,24,33),
+(3,1,39,84,52,78,24,33),
+(3,1,40,85,54,80,24,34),
+(3,1,41,87,55,81,25,34),
+(3,1,42,89,56,83,25,35),
+(3,1,43,91,57,85,25,35),
+(3,1,44,93,58,87,25,36),
+(3,1,45,95,59,88,26,36),
+(3,1,46,97,61,90,26,37),
+(3,1,47,99,62,92,26,37),
+(3,1,48,101,63,94,26,38),
+(3,1,49,102,64,95,26,38),
+(3,1,50,104,65,97,27,39),
+(3,1,51,106,67,99,27,39),
+(3,1,52,108,68,101,27,40),
+(3,1,53,110,69,103,27,40),
+(3,1,54,112,70,104,28,41),
+(3,1,55,115,72,106,28,41),
+(3,1,56,117,73,108,28,42),
+(3,1,57,119,74,110,28,42),
+(3,1,58,121,76,112,29,43),
+(3,1,59,123,77,114,29,43),
+(3,1,60,125,78,116,29,44),
+(3,1,61,127,80,118,29,45),
+(3,1,62,129,81,120,30,45),
+(3,1,63,131,82,122,30,46),
+(3,1,64,134,84,124,30,46),
+(3,1,65,136,85,126,31,47),
+(3,1,66,138,86,128,31,48),
+(3,1,67,140,88,130,31,48),
+(3,1,68,142,89,132,31,49),
+(3,1,69,145,91,134,32,49),
+(3,1,70,147,92,136,32,50),
+(3,2,1,24,16,25,19,20),
+(3,2,2,25,17,26,20,21),
+(3,2,3,26,17,27,20,21),
+(3,2,4,27,18,28,21,22),
+(3,2,5,28,18,29,22,23),
+(3,2,6,29,19,30,22,24),
+(3,2,7,31,20,31,23,24),
+(3,2,8,32,20,32,24,25),
+(3,2,9,33,21,33,24,26),
+(3,2,10,34,21,34,25,26),
+(3,2,11,35,22,36,26,27),
+(3,2,12,36,23,37,26,28),
+(3,2,13,38,23,38,27,29),
+(3,2,14,39,24,39,28,30),
+(3,2,15,40,25,40,29,30),
+(3,2,16,41,25,41,29,31),
+(3,2,17,43,26,43,30,32),
+(3,2,18,44,27,44,31,33),
+(3,2,19,45,28,45,32,34),
+(3,2,20,47,28,46,32,35),
+(3,2,21,48,29,47,33,35),
+(3,2,22,49,30,49,34,36),
+(3,2,23,51,30,50,35,37),
+(3,2,24,52,31,51,36,38),
+(3,2,25,53,32,52,36,39),
+(3,2,26,55,33,54,37,40),
+(3,2,27,56,33,55,38,41),
+(3,2,28,57,34,56,39,42),
+(3,2,29,59,35,58,40,43),
+(3,2,30,60,36,59,41,43),
+(3,2,31,62,37,60,42,44),
+(3,2,32,63,37,62,42,45),
+(3,2,33,65,38,63,43,46),
+(3,2,34,66,39,65,44,47),
+(3,2,35,68,40,66,45,48),
+(3,2,36,69,41,67,46,49),
+(3,2,37,71,41,69,47,50),
+(3,2,38,72,42,70,48,51),
+(3,2,39,74,43,72,49,52),
+(3,2,40,75,44,73,50,53),
+(3,2,41,77,45,75,51,54),
+(3,2,42,78,46,76,52,55),
+(3,2,43,80,47,78,53,56),
+(3,2,44,82,47,79,54,57),
+(3,2,45,83,48,81,55,59),
+(3,2,46,85,49,82,56,60),
+(3,2,47,87,50,84,57,61),
+(3,2,48,88,51,85,58,62),
+(3,2,49,90,52,87,59,63),
+(3,2,50,92,53,89,60,64),
+(3,2,51,93,54,90,61,65),
+(3,2,52,95,55,92,62,66),
+(3,2,53,97,56,93,63,67),
+(3,2,54,98,57,95,64,69),
+(3,2,55,100,58,97,65,70),
+(3,2,56,102,59,98,66,71),
+(3,2,57,104,60,100,67,72),
+(3,2,58,106,61,102,68,73),
+(3,2,59,107,62,103,69,74),
+(3,2,60,109,63,105,70,76),
+(3,2,61,111,64,107,72,77),
+(3,2,62,113,65,109,73,78),
+(3,2,63,115,66,110,74,79),
+(3,2,64,117,67,112,75,80),
+(3,2,65,118,68,114,76,82),
+(3,2,66,120,69,116,77,83),
+(3,2,67,122,70,118,78,84),
+(3,2,68,124,71,119,80,85),
+(3,2,69,126,72,121,81,87),
+(3,2,70,128,73,123,82,88),
+(3,3,1,22,19,24,19,20),
+(3,3,2,22,20,25,20,21),
+(3,3,3,23,22,26,20,21),
+(3,3,4,23,23,27,21,22),
+(3,3,5,24,25,28,21,23),
+(3,3,6,24,26,29,22,23),
+(3,3,7,25,27,29,23,24),
+(3,3,8,25,29,30,23,25),
+(3,3,9,25,30,31,24,25),
+(3,3,10,26,32,32,24,26),
+(3,3,11,26,33,33,25,27),
+(3,3,12,27,35,34,26,27),
+(3,3,13,27,36,35,26,28),
+(3,3,14,28,38,36,27,29),
+(3,3,15,28,39,37,28,29),
+(3,3,16,29,41,38,28,30),
+(3,3,17,29,42,39,29,31),
+(3,3,18,30,44,41,30,32),
+(3,3,19,30,46,42,30,32),
+(3,3,20,31,47,43,31,33),
+(3,3,21,32,49,44,32,34),
+(3,3,22,32,51,45,33,35),
+(3,3,23,33,52,46,33,36),
+(3,3,24,33,54,47,34,36),
+(3,3,25,34,56,48,35,37),
+(3,3,26,34,57,49,35,38),
+(3,3,27,35,59,51,36,39),
+(3,3,28,35,61,52,37,40),
+(3,3,29,36,63,53,38,40),
+(3,3,30,37,64,54,39,41),
+(3,3,31,37,66,55,39,42),
+(3,3,32,38,68,57,40,43),
+(3,3,33,38,70,58,41,44),
+(3,3,34,39,71,59,42,45),
+(3,3,35,40,73,60,43,46),
+(3,3,36,40,75,62,43,47),
+(3,3,37,41,77,63,44,47),
+(3,3,38,42,79,64,45,48),
+(3,3,39,42,81,65,46,49),
+(3,3,40,43,83,67,47,50),
+(3,3,41,44,85,68,48,51),
+(3,3,42,44,87,69,49,52),
+(3,3,43,45,89,71,49,53),
+(3,3,44,46,91,72,50,54),
+(3,3,45,46,93,73,51,55),
+(3,3,46,47,95,75,52,56),
+(3,3,47,48,97,76,53,57),
+(3,3,48,49,99,78,54,58),
+(3,3,49,49,101,79,55,59),
+(3,3,50,50,103,80,56,60),
+(3,3,51,51,105,82,57,61),
+(3,3,52,51,107,83,58,62),
+(3,3,53,52,109,85,59,63),
+(3,3,54,53,111,86,60,64),
+(3,3,55,54,113,88,61,65),
+(3,3,56,55,115,89,62,66),
+(3,3,57,55,118,91,62,67),
+(3,3,58,56,120,92,63,68),
+(3,3,59,57,122,94,64,70),
+(3,3,60,58,124,95,65,71),
+(3,3,61,58,126,97,67,72),
+(3,3,62,59,129,98,68,73),
+(3,3,63,60,131,100,69,74),
+(3,3,64,61,133,101,70,75),
+(3,3,65,62,135,103,71,76),
+(3,3,66,63,138,105,72,77),
+(3,3,67,63,140,106,73,78),
+(3,3,68,64,142,108,74,80),
+(3,3,69,65,145,109,75,81),
+(3,3,70,66,147,111,76,82),
+(3,4,1,23,19,24,19,19),
+(3,4,2,24,20,25,19,19),
+(3,4,3,24,22,25,19,20),
+(3,4,4,25,23,26,19,20),
+(3,4,5,26,25,27,20,20),
+(3,4,6,27,26,27,20,21),
+(3,4,7,28,28,28,20,21),
+(3,4,8,28,29,29,20,22),
+(3,4,9,29,31,30,20,22),
+(3,4,10,30,32,30,20,22),
+(3,4,11,31,34,31,21,23),
+(3,4,12,32,36,32,21,23),
+(3,4,13,33,37,33,21,24),
+(3,4,14,33,39,33,21,24),
+(3,4,15,34,40,34,21,25),
+(3,4,16,35,42,35,22,25),
+(3,4,17,36,44,36,22,25),
+(3,4,18,37,45,37,22,26),
+(3,4,19,38,47,38,22,26),
+(3,4,20,39,49,38,22,27),
+(3,4,21,40,51,39,23,27),
+(3,4,22,41,52,40,23,28),
+(3,4,23,42,54,41,23,28),
+(3,4,24,43,56,42,23,29),
+(3,4,25,44,58,43,24,29),
+(3,4,26,44,59,44,24,30),
+(3,4,27,45,61,44,24,30),
+(3,4,28,46,63,45,24,31),
+(3,4,29,47,65,46,25,31),
+(3,4,30,48,67,47,25,32),
+(3,4,31,49,69,48,25,32),
+(3,4,32,51,71,49,25,33),
+(3,4,33,52,72,50,26,33),
+(3,4,34,53,74,51,26,34),
+(3,4,35,54,76,52,26,34),
+(3,4,36,55,78,53,26,35),
+(3,4,37,56,80,54,27,35),
+(3,4,38,57,82,55,27,36),
+(3,4,39,58,84,56,27,37),
+(3,4,40,59,86,57,28,37),
+(3,4,41,60,88,58,28,38),
+(3,4,42,61,90,59,28,38),
+(3,4,43,63,92,60,28,39),
+(3,4,44,64,95,61,29,39),
+(3,4,45,65,97,62,29,40),
+(3,4,46,66,99,63,29,41),
+(3,4,47,67,101,64,30,41),
+(3,4,48,68,103,66,30,42),
+(3,4,49,70,105,67,30,43),
+(3,4,50,71,107,68,31,43),
+(3,4,51,72,110,69,31,44),
+(3,4,52,73,112,70,31,44),
+(3,4,53,74,114,71,32,45),
+(3,4,54,76,116,72,32,46),
+(3,4,55,77,118,73,32,46),
+(3,4,56,78,121,75,33,47),
+(3,4,57,80,123,76,33,48),
+(3,4,58,81,125,77,33,48),
+(3,4,59,82,128,78,34,49),
+(3,4,60,83,130,79,34,50),
+(3,4,61,85,132,81,34,51),
+(3,4,62,86,135,82,35,51),
+(3,4,63,87,137,83,35,52),
+(3,4,64,89,139,84,36,53),
+(3,4,65,90,142,86,36,53),
+(3,4,66,91,144,87,36,54),
+(3,4,67,93,147,88,37,55),
+(3,4,68,94,149,89,37,56),
+(3,4,69,96,152,91,38,56),
+(3,4,70,97,154,92,38,57),
+(3,5,1,22,16,23,21,22),
+(3,5,2,22,16,23,22,23),
+(3,5,3,22,16,24,24,25),
+(3,5,4,22,17,24,25,26),
+(3,5,5,23,17,24,26,27),
+(3,5,6,23,17,25,28,29),
+(3,5,7,23,17,25,29,30),
+(3,5,8,23,18,26,30,32),
+(3,5,9,23,18,26,32,33),
+(3,5,10,23,18,26,33,35),
+(3,5,11,24,18,27,35,36),
+(3,5,12,24,19,27,36,38),
+(3,5,13,24,19,28,37,39),
+(3,5,14,24,19,28,39,41),
+(3,5,15,24,19,28,40,42),
+(3,5,16,24,20,29,42,44),
+(3,5,17,25,20,29,43,45),
+(3,5,18,25,20,30,45,47),
+(3,5,19,25,21,30,46,49),
+(3,5,20,25,21,31,48,50),
+(3,5,21,25,21,31,50,52),
+(3,5,22,26,22,31,51,53),
+(3,5,23,26,22,32,53,55),
+(3,5,24,26,22,32,54,57),
+(3,5,25,26,22,33,56,58),
+(3,5,26,27,23,33,58,60),
+(3,5,27,27,23,34,59,62),
+(3,5,28,27,23,34,61,64),
+(3,5,29,27,24,35,63,65),
+(3,5,30,28,24,35,64,67),
+(3,5,31,28,24,36,66,69),
+(3,5,32,28,25,36,68,71),
+(3,5,33,28,25,37,70,72),
+(3,5,34,29,26,38,71,74),
+(3,5,35,29,26,38,73,76),
+(3,5,36,29,26,39,75,78),
+(3,5,37,29,27,39,77,80),
+(3,5,38,30,27,40,78,82),
+(3,5,39,30,27,40,80,84),
+(3,5,40,30,28,41,82,86),
+(3,5,41,31,28,41,84,88),
+(3,5,42,31,29,42,86,89),
+(3,5,43,31,29,43,88,91),
+(3,5,44,32,29,43,90,93),
+(3,5,45,32,30,44,92,95),
+(3,5,46,32,30,44,93,97),
+(3,5,47,32,30,45,95,99),
+(3,5,48,33,31,46,97,101),
+(3,5,49,33,31,46,99,103),
+(3,5,50,33,32,47,101,106),
+(3,5,51,34,32,48,103,108),
+(3,5,52,34,33,48,105,110),
+(3,5,53,35,33,49,107,112),
+(3,5,54,35,33,50,109,114),
+(3,5,55,35,34,50,111,116),
+(3,5,56,36,34,51,113,118),
+(3,5,57,36,35,52,116,120),
+(3,5,58,36,35,52,118,123),
+(3,5,59,37,36,53,120,125),
+(3,5,60,37,36,54,122,127),
+(3,5,61,37,37,54,124,129),
+(3,5,62,38,37,55,126,131),
+(3,5,63,38,38,56,128,134),
+(3,5,64,39,38,57,131,136),
+(3,5,65,39,39,57,133,138),
+(3,5,66,39,39,58,135,141),
+(3,5,67,40,40,59,137,143),
+(3,5,68,40,40,59,139,145),
+(3,5,69,41,40,60,142,148),
+(3,5,70,41,41,61,144,150),
+(4,1,1,20,25,21,20,20),
+(4,1,2,21,26,22,20,20),
+(4,1,3,23,27,23,20,21),
+(4,1,4,24,27,25,20,21),
+(4,1,5,25,28,26,20,21),
+(4,1,6,27,29,27,20,21),
+(4,1,7,28,30,28,21,22),
+(4,1,8,29,31,29,21,22),
+(4,1,9,31,31,31,21,22),
+(4,1,10,32,32,32,21,23),
+(4,1,11,33,33,33,21,23),
+(4,1,12,35,34,34,21,23),
+(4,1,13,36,35,36,21,24),
+(4,1,14,38,36,37,21,24),
+(4,1,15,39,37,38,21,24),
+(4,1,16,41,37,40,21,25),
+(4,1,17,42,38,41,22,25),
+(4,1,18,44,39,43,22,25),
+(4,1,19,45,40,44,22,26),
+(4,1,20,47,41,45,22,26),
+(4,1,21,48,42,47,22,26),
+(4,1,22,50,43,48,22,27),
+(4,1,23,52,44,50,22,27),
+(4,1,24,53,45,51,23,28),
+(4,1,25,55,46,52,23,28),
+(4,1,26,56,47,54,23,28),
+(4,1,27,58,48,55,23,29),
+(4,1,28,60,49,57,23,29),
+(4,1,29,61,50,58,23,30),
+(4,1,30,63,51,60,24,30),
+(4,1,31,65,52,62,24,30),
+(4,1,32,66,53,63,24,31),
+(4,1,33,68,54,65,24,31),
+(4,1,34,70,55,66,24,32),
+(4,1,35,72,56,68,24,32),
+(4,1,36,73,58,69,25,33),
+(4,1,37,75,59,71,25,33),
+(4,1,38,77,60,73,25,34),
+(4,1,39,79,61,74,25,34),
+(4,1,40,81,62,76,25,35),
+(4,1,41,82,63,78,26,35),
+(4,1,42,84,64,79,26,35),
+(4,1,43,86,66,81,26,36),
+(4,1,44,88,67,83,26,36),
+(4,1,45,90,68,85,26,37),
+(4,1,46,92,69,86,27,37),
+(4,1,47,94,70,88,27,38),
+(4,1,48,96,72,90,27,38),
+(4,1,49,98,73,92,27,39),
+(4,1,50,100,74,93,28,40),
+(4,1,51,102,75,95,28,40),
+(4,1,52,104,77,97,28,41),
+(4,1,53,106,78,99,28,41),
+(4,1,54,108,79,101,29,42),
+(4,1,55,110,80,103,29,42),
+(4,1,56,112,82,104,29,43),
+(4,1,57,114,83,106,29,43),
+(4,1,58,116,84,108,30,44),
+(4,1,59,118,86,110,30,44),
+(4,1,60,120,87,112,30,45),
+(4,1,61,122,88,114,30,46),
+(4,1,62,124,90,116,31,46),
+(4,1,63,127,91,118,31,47),
+(4,1,64,129,92,120,31,47),
+(4,1,65,131,94,122,32,48),
+(4,1,66,133,95,124,32,49),
+(4,1,67,135,97,126,32,49),
+(4,1,68,138,98,128,32,50),
+(4,1,69,140,100,130,33,50),
+(4,1,70,142,101,132,33,51),
+(4,3,1,17,28,20,20,21),
+(4,3,2,17,29,21,21,22),
+(4,3,3,18,31,22,21,22),
+(4,3,4,18,32,23,22,23),
+(4,3,5,19,33,24,22,24),
+(4,3,6,19,35,25,23,24),
+(4,3,7,20,36,26,24,25),
+(4,3,8,20,38,27,24,25),
+(4,3,9,21,39,27,25,26),
+(4,3,10,21,40,28,25,27),
+(4,3,11,22,42,29,26,28),
+(4,3,12,22,43,30,27,28),
+(4,3,13,23,45,31,27,29),
+(4,3,14,23,46,32,28,30),
+(4,3,15,24,48,34,29,30),
+(4,3,16,24,50,35,29,31),
+(4,3,17,25,51,36,30,32),
+(4,3,18,25,53,37,31,33),
+(4,3,19,26,54,38,31,33),
+(4,3,20,26,56,39,32,34),
+(4,3,21,27,57,40,33,35),
+(4,3,22,27,59,41,33,36),
+(4,3,23,28,61,42,34,36),
+(4,3,24,28,62,43,35,37),
+(4,3,25,29,64,44,36,38),
+(4,3,26,30,66,46,36,39),
+(4,3,27,30,68,47,37,40),
+(4,3,28,31,69,48,38,41),
+(4,3,29,31,71,49,39,41),
+(4,3,30,32,73,50,39,42),
+(4,3,31,33,75,52,40,43),
+(4,3,32,33,76,53,41,44),
+(4,3,33,34,78,54,42,45),
+(4,3,34,34,80,55,43,46),
+(4,3,35,35,82,57,44,47),
+(4,3,36,36,84,58,44,48),
+(4,3,37,36,86,59,45,48),
+(4,3,38,37,87,60,46,49),
+(4,3,39,38,89,62,47,50),
+(4,3,40,38,91,63,48,51),
+(4,3,41,39,93,64,49,52),
+(4,3,42,40,95,66,49,53),
+(4,3,43,40,97,67,50,54),
+(4,3,44,41,99,68,51,55),
+(4,3,45,42,101,70,52,56),
+(4,3,46,42,103,71,53,57),
+(4,3,47,43,105,72,54,58),
+(4,3,48,44,107,74,55,59),
+(4,3,49,45,109,75,56,60),
+(4,3,50,45,111,77,57,61),
+(4,3,51,46,113,78,58,62),
+(4,3,52,47,115,79,59,63),
+(4,3,53,47,118,81,60,64),
+(4,3,54,48,120,82,61,65),
+(4,3,55,49,122,84,61,66),
+(4,3,56,50,124,85,62,67),
+(4,3,57,50,126,87,63,68),
+(4,3,58,51,128,88,64,69),
+(4,3,59,52,131,90,65,70),
+(4,3,60,53,133,91,66,72),
+(4,3,61,54,135,93,67,73),
+(4,3,62,54,137,94,69,74),
+(4,3,63,55,140,96,70,75),
+(4,3,64,56,142,97,71,76),
+(4,3,65,57,144,99,72,77),
+(4,3,66,58,147,101,73,78),
+(4,3,67,58,149,102,74,79),
+(4,3,68,59,151,104,75,81),
+(4,3,69,60,154,105,76,82),
+(4,3,70,61,156,107,77,83),
+(4,4,1,18,28,20,20,20),
+(4,4,2,19,29,21,20,20),
+(4,4,3,20,31,21,20,21),
+(4,4,4,20,32,22,20,21),
+(4,4,5,21,34,23,21,21),
+(4,4,6,22,35,24,21,22),
+(4,4,7,23,37,24,21,22),
+(4,4,8,24,38,25,21,23),
+(4,4,9,24,40,26,21,23),
+(4,4,10,25,41,26,21,23),
+(4,4,11,26,43,27,22,24),
+(4,4,12,27,44,28,22,24),
+(4,4,13,28,46,29,22,25),
+(4,4,14,29,48,30,22,25),
+(4,4,15,29,49,30,22,25),
+(4,4,16,30,51,31,23,26),
+(4,4,17,31,52,32,23,26),
+(4,4,18,32,54,33,23,27),
+(4,4,19,33,56,34,23,27),
+(4,4,20,34,57,35,23,28),
+(4,4,21,35,59,35,24,28),
+(4,4,22,36,61,36,24,29),
+(4,4,23,37,63,37,24,29),
+(4,4,24,38,64,38,24,30),
+(4,4,25,39,66,39,25,30),
+(4,4,26,40,68,40,25,31),
+(4,4,27,41,70,41,25,31),
+(4,4,28,42,72,42,25,32),
+(4,4,29,43,73,43,25,32),
+(4,4,30,44,75,43,26,33),
+(4,4,31,45,77,44,26,33),
+(4,4,32,46,79,45,26,34),
+(4,4,33,47,81,46,27,34),
+(4,4,34,48,83,47,27,35),
+(4,4,35,49,85,48,27,35),
+(4,4,36,50,87,49,27,36),
+(4,4,37,51,89,50,28,36),
+(4,4,38,52,91,51,28,37),
+(4,4,39,53,93,52,28,38),
+(4,4,40,54,95,53,28,38),
+(4,4,41,56,97,54,29,39),
+(4,4,42,57,99,55,29,39),
+(4,4,43,58,101,56,29,40),
+(4,4,44,59,103,57,30,40),
+(4,4,45,60,105,59,30,41),
+(4,4,46,61,107,60,30,42),
+(4,4,47,62,109,61,31,42),
+(4,4,48,64,112,62,31,43),
+(4,4,49,65,114,63,31,44),
+(4,4,50,66,116,64,32,44),
+(4,4,51,67,118,65,32,45),
+(4,4,52,68,120,66,32,45),
+(4,4,53,70,123,67,33,46),
+(4,4,54,71,125,69,33,47),
+(4,4,55,72,127,70,33,47),
+(4,4,56,73,129,71,34,48),
+(4,4,57,75,132,72,34,49),
+(4,4,58,76,134,73,34,49),
+(4,4,59,77,136,74,35,50),
+(4,4,60,79,139,76,35,51),
+(4,4,61,80,141,77,35,51),
+(4,4,62,81,143,78,36,52),
+(4,4,63,82,146,79,36,53),
+(4,4,64,84,148,80,37,54),
+(4,4,65,85,151,82,37,54),
+(4,4,66,87,153,83,37,55),
+(4,4,67,88,156,84,38,56),
+(4,4,68,89,158,85,38,57),
+(4,4,69,91,160,87,39,57),
+(4,4,70,92,163,88,39,58),
+(4,5,1,17,25,19,22,23),
+(4,5,2,17,25,19,23,24),
+(4,5,3,17,25,20,25,26),
+(4,5,4,17,26,20,26,27),
+(4,5,5,18,26,20,27,28),
+(4,5,6,18,26,21,29,30),
+(4,5,7,18,26,21,30,31),
+(4,5,8,18,26,22,31,33),
+(4,5,9,18,27,22,33,34),
+(4,5,10,19,27,22,34,36),
+(4,5,11,19,27,23,36,37),
+(4,5,12,19,27,23,37,39),
+(4,5,13,19,28,24,38,40),
+(4,5,14,19,28,24,40,42),
+(4,5,15,19,28,25,41,43),
+(4,5,16,20,28,25,43,45),
+(4,5,17,20,29,25,44,46),
+(4,5,18,20,29,26,46,48),
+(4,5,19,20,29,26,47,49),
+(4,5,20,21,30,27,49,51),
+(4,5,21,21,30,27,51,53),
+(4,5,22,21,30,28,52,54),
+(4,5,23,21,30,28,54,56),
+(4,5,24,21,31,29,55,58),
+(4,5,25,22,31,29,57,59),
+(4,5,26,22,31,30,59,61),
+(4,5,27,22,32,30,60,63),
+(4,5,28,22,32,31,62,65),
+(4,5,29,23,32,31,64,66),
+(4,5,30,23,33,32,65,68),
+(4,5,31,23,33,32,67,70),
+(4,5,32,23,33,33,69,72),
+(4,5,33,24,34,33,70,73),
+(4,5,34,24,34,34,72,75),
+(4,5,35,24,34,34,74,77),
+(4,5,36,24,35,35,76,79),
+(4,5,37,25,35,35,78,81),
+(4,5,38,25,35,36,79,83),
+(4,5,39,25,36,37,81,85),
+(4,5,40,26,36,37,83,87),
+(4,5,41,26,37,38,85,88),
+(4,5,42,26,37,38,87,90),
+(4,5,43,27,37,39,89,92),
+(4,5,44,27,38,39,91,94),
+(4,5,45,27,38,40,92,96),
+(4,5,46,27,39,41,94,98),
+(4,5,47,28,39,41,96,100),
+(4,5,48,28,39,42,98,102),
+(4,5,49,28,40,43,100,104),
+(4,5,50,29,40,43,102,106),
+(4,5,51,29,41,44,104,109),
+(4,5,52,29,41,44,106,111),
+(4,5,53,30,42,45,108,113),
+(4,5,54,30,42,46,110,115),
+(4,5,55,30,43,46,112,117),
+(4,5,56,31,43,47,114,119),
+(4,5,57,31,43,48,117,121),
+(4,5,58,31,44,48,119,124),
+(4,5,59,32,44,49,121,126),
+(4,5,60,32,45,50,123,128),
+(4,5,61,33,45,51,125,130),
+(4,5,62,33,46,51,127,132),
+(4,5,63,33,46,52,129,135),
+(4,5,64,34,47,53,132,137),
+(4,5,65,34,47,53,134,139),
+(4,5,66,34,48,54,136,142),
+(4,5,67,35,48,55,138,144),
+(4,5,68,35,49,56,140,146),
+(4,5,69,36,49,56,143,149),
+(4,5,70,36,50,57,145,151),
+(4,11,1,18,25,19,22,22),
+(4,11,2,19,25,20,23,23),
+(4,11,3,19,26,20,24,24),
+(4,11,4,20,26,21,25,26),
+(4,11,5,20,27,22,26,27),
+(4,11,6,21,27,22,27,28),
+(4,11,7,21,28,23,28,29),
+(4,11,8,22,28,24,29,30),
+(4,11,9,23,29,24,30,32),
+(4,11,10,23,29,25,32,33),
+(4,11,11,24,30,26,33,34),
+(4,11,12,24,31,26,34,35),
+(4,11,13,25,31,27,35,37),
+(4,11,14,26,32,28,36,38),
+(4,11,15,26,32,29,37,39),
+(4,11,16,27,33,29,38,41),
+(4,11,17,28,33,30,40,42),
+(4,11,18,28,34,31,41,43),
+(4,11,19,29,35,32,42,45),
+(4,11,20,30,35,32,43,46),
+(4,11,21,30,36,33,45,48),
+(4,11,22,31,36,34,46,49),
+(4,11,23,32,37,35,47,51),
+(4,11,24,32,38,36,48,52),
+(4,11,25,33,38,36,50,53),
+(4,11,26,34,39,37,51,55),
+(4,11,27,35,40,38,52,56),
+(4,11,28,35,40,39,54,58),
+(4,11,29,36,41,40,55,59),
+(4,11,30,37,42,41,56,61),
+(4,11,31,38,42,42,58,62),
+(4,11,32,38,43,42,59,64),
+(4,11,33,39,44,43,60,66),
+(4,11,34,40,44,44,62,67),
+(4,11,35,41,45,45,63,69),
+(4,11,36,42,46,46,65,70),
+(4,11,37,42,47,47,66,72),
+(4,11,38,43,47,48,67,74),
+(4,11,39,44,48,49,69,75),
+(4,11,40,45,49,50,70,77),
+(4,11,41,46,50,51,72,79),
+(4,11,42,46,50,52,73,80),
+(4,11,43,47,51,53,75,82),
+(4,11,44,48,52,54,76,84),
+(4,11,45,49,53,55,78,85),
+(4,11,46,50,54,56,79,87),
+(4,11,47,51,54,57,81,89),
+(4,11,48,52,55,58,83,91),
+(4,11,49,53,56,59,84,93),
+(4,11,50,53,57,60,86,94),
+(4,11,51,54,58,61,87,96),
+(4,11,52,55,59,62,89,98),
+(4,11,53,56,59,63,91,100),
+(4,11,54,57,60,64,92,102),
+(4,11,55,58,61,65,94,103),
+(4,11,56,59,62,66,95,105),
+(4,11,57,60,63,67,97,107),
+(4,11,58,61,64,68,99,109),
+(4,11,59,62,65,69,101,111),
+(4,11,60,63,66,70,102,113),
+(4,11,61,64,66,72,104,115),
+(4,11,62,65,67,73,106,117),
+(4,11,63,66,68,74,107,119),
+(4,11,64,67,69,75,109,121),
+(4,11,65,68,70,76,111,123),
+(4,11,66,69,71,77,113,125),
+(4,11,67,70,72,78,115,127),
+(4,11,68,71,73,80,116,129),
+(4,11,69,72,74,81,118,131),
+(4,11,70,73,75,82,120,133),
+(5,1,1,22,18,23,18,25),
+(5,1,2,23,19,24,18,25),
+(5,1,3,25,20,25,18,26),
+(5,1,4,26,20,26,18,26),
+(5,1,5,27,21,28,18,26),
+(5,1,6,29,22,29,18,26),
+(5,1,7,30,23,30,19,27),
+(5,1,8,31,24,31,19,27),
+(5,1,9,33,25,33,19,27),
+(5,1,10,34,25,34,19,28),
+(5,1,11,35,26,35,19,28),
+(5,1,12,37,27,36,19,28),
+(5,1,13,38,28,38,19,28),
+(5,1,14,40,29,39,19,29),
+(5,1,15,41,30,40,19,29),
+(5,1,16,43,31,42,20,29),
+(5,1,17,44,32,43,20,30),
+(5,1,18,46,33,44,20,30),
+(5,1,19,47,34,46,20,31),
+(5,1,20,49,34,47,20,31),
+(5,1,21,50,35,49,20,31),
+(5,1,22,52,36,50,20,32),
+(5,1,23,53,37,51,21,32),
+(5,1,24,55,38,53,21,32),
+(5,1,25,57,39,54,21,33),
+(5,1,26,58,40,56,21,33),
+(5,1,27,60,41,57,21,34),
+(5,1,28,62,42,59,21,34),
+(5,1,29,63,43,60,21,34),
+(5,1,30,65,44,62,22,35),
+(5,1,31,67,46,63,22,35),
+(5,1,32,68,47,65,22,36),
+(5,1,33,70,48,67,22,36),
+(5,1,34,72,49,68,22,36),
+(5,1,35,74,50,70,23,37),
+(5,1,36,75,51,71,23,37),
+(5,1,37,77,52,73,23,38),
+(5,1,38,79,53,75,23,38),
+(5,1,39,81,54,76,23,39),
+(5,1,40,83,55,78,24,39),
+(5,1,41,84,57,80,24,40),
+(5,1,42,86,58,81,24,40),
+(5,1,43,88,59,83,24,41),
+(5,1,44,90,60,85,24,41),
+(5,1,45,92,61,86,25,42),
+(5,1,46,94,62,88,25,42),
+(5,1,47,96,64,90,25,43),
+(5,1,48,98,65,92,25,43),
+(5,1,49,100,66,93,25,44),
+(5,1,50,102,67,95,26,44),
+(5,1,51,104,69,97,26,45),
+(5,1,52,106,70,99,26,45),
+(5,1,53,108,71,101,26,46),
+(5,1,54,110,72,103,27,46),
+(5,1,55,112,74,104,27,47),
+(5,1,56,114,75,106,27,48),
+(5,1,57,116,76,108,27,48),
+(5,1,58,118,78,110,28,49),
+(5,1,59,120,79,112,28,49),
+(5,1,60,122,80,114,28,50),
+(5,1,61,124,82,116,28,50),
+(5,1,62,126,83,118,29,51),
+(5,1,63,128,84,120,29,52),
+(5,1,64,131,86,122,29,52),
+(5,1,65,133,87,124,30,53),
+(5,1,66,135,88,126,30,53),
+(5,1,67,137,90,128,30,54),
+(5,1,68,139,91,130,30,55),
+(5,1,69,142,93,132,31,55),
+(5,1,70,144,94,134,31,56),
+(5,4,1,20,21,22,18,25),
+(5,4,2,21,22,23,18,25),
+(5,4,3,22,24,23,18,26),
+(5,4,4,22,25,24,18,26),
+(5,4,5,23,27,25,19,26),
+(5,4,6,24,28,25,19,27),
+(5,4,7,25,30,26,19,27),
+(5,4,8,25,31,27,19,27),
+(5,4,9,26,33,28,19,28),
+(5,4,10,27,34,28,19,28),
+(5,4,11,28,36,29,20,29),
+(5,4,12,29,38,30,20,29),
+(5,4,13,30,39,31,20,29),
+(5,4,14,31,41,32,20,30),
+(5,4,15,31,42,32,20,30),
+(5,4,16,32,44,33,21,31),
+(5,4,17,33,46,34,21,31),
+(5,4,18,34,47,35,21,32),
+(5,4,19,35,49,36,21,32),
+(5,4,20,36,51,36,21,32),
+(5,4,21,37,52,37,22,33),
+(5,4,22,38,54,38,22,33),
+(5,4,23,39,56,39,22,34),
+(5,4,24,40,58,40,22,34),
+(5,4,25,41,60,41,23,35),
+(5,4,26,42,61,42,23,35),
+(5,4,27,43,63,43,23,36),
+(5,4,28,44,65,44,23,36),
+(5,4,29,45,67,44,24,37),
+(5,4,30,46,69,45,24,37),
+(5,4,31,47,71,46,24,38),
+(5,4,32,48,72,47,24,38),
+(5,4,33,49,74,48,25,39),
+(5,4,34,50,76,49,25,39),
+(5,4,35,51,78,50,25,40),
+(5,4,36,52,80,51,25,41),
+(5,4,37,53,82,52,26,41),
+(5,4,38,54,84,53,26,42),
+(5,4,39,55,86,54,26,42),
+(5,4,40,56,88,55,27,43),
+(5,4,41,57,90,56,27,43),
+(5,4,42,59,92,57,27,44),
+(5,4,43,60,94,58,27,45),
+(5,4,44,61,96,59,28,45),
+(5,4,45,62,99,60,28,46),
+(5,4,46,63,101,61,28,46),
+(5,4,47,64,103,63,29,47),
+(5,4,48,66,105,64,29,48),
+(5,4,49,67,107,65,29,48),
+(5,4,50,68,109,66,30,49),
+(5,4,51,69,111,67,30,50),
+(5,4,52,70,114,68,30,50),
+(5,4,53,72,116,69,31,51),
+(5,4,54,73,118,70,31,52),
+(5,4,55,74,120,72,31,52),
+(5,4,56,75,123,73,32,53),
+(5,4,57,77,125,74,32,54),
+(5,4,58,78,127,75,32,54),
+(5,4,59,79,130,76,33,55),
+(5,4,60,81,132,77,33,56),
+(5,4,61,82,134,79,34,56),
+(5,4,62,83,137,80,34,57),
+(5,4,63,84,139,81,34,58),
+(5,4,64,86,141,82,35,59),
+(5,4,65,87,144,84,35,59),
+(5,4,66,88,146,85,35,60),
+(5,4,67,90,149,86,36,61),
+(5,4,68,91,151,87,36,61),
+(5,4,69,93,154,89,37,62),
+(5,4,70,94,156,90,37,63),
+(5,5,1,19,18,21,20,28),
+(5,5,2,19,18,21,21,29),
+(5,5,3,19,18,22,23,31),
+(5,5,4,19,19,22,24,32),
+(5,5,5,20,19,22,25,33),
+(5,5,6,20,19,23,27,35),
+(5,5,7,20,19,23,28,36),
+(5,5,8,20,20,24,29,38),
+(5,5,9,20,20,24,31,39),
+(5,5,10,20,20,24,32,40),
+(5,5,11,21,20,25,34,42),
+(5,5,12,21,21,25,35,43),
+(5,5,13,21,21,26,37,45),
+(5,5,14,21,21,26,38,46),
+(5,5,15,21,21,26,39,48),
+(5,5,16,22,22,27,41,50),
+(5,5,17,22,22,27,42,51),
+(5,5,18,22,22,28,44,53),
+(5,5,19,22,23,28,46,54),
+(5,5,20,22,23,29,47,56),
+(5,5,21,23,23,29,49,57),
+(5,5,22,23,23,30,50,59),
+(5,5,23,23,24,30,52,61),
+(5,5,24,23,24,31,53,62),
+(5,5,25,24,24,31,55,64),
+(5,5,26,24,25,32,57,66),
+(5,5,27,24,25,32,58,68),
+(5,5,28,24,25,33,60,69),
+(5,5,29,25,26,33,62,71),
+(5,5,30,25,26,34,63,73),
+(5,5,31,25,26,34,65,75),
+(5,5,32,25,27,35,67,76),
+(5,5,33,26,27,35,69,78),
+(5,5,34,26,27,36,70,80),
+(5,5,35,26,28,36,72,82),
+(5,5,36,26,28,37,74,84),
+(5,5,37,27,28,37,76,86),
+(5,5,38,27,29,38,77,87),
+(5,5,39,27,29,38,79,89),
+(5,5,40,28,30,39,81,91),
+(5,5,41,28,30,40,83,93),
+(5,5,42,28,30,40,85,95),
+(5,5,43,28,31,41,87,97),
+(5,5,44,29,31,41,89,99),
+(5,5,45,29,32,42,91,101),
+(5,5,46,29,32,43,92,103),
+(5,5,47,30,32,43,94,105),
+(5,5,48,30,33,44,96,107),
+(5,5,49,30,33,44,98,109),
+(5,5,50,31,34,45,100,111),
+(5,5,51,31,34,46,102,113),
+(5,5,52,31,35,46,104,115),
+(5,5,53,32,35,47,106,118),
+(5,5,54,32,35,48,108,120),
+(5,5,55,32,36,48,110,122),
+(5,5,56,33,36,49,113,124),
+(5,5,57,33,37,50,115,126),
+(5,5,58,33,37,50,117,128),
+(5,5,59,34,38,51,119,131),
+(5,5,60,34,38,52,121,133),
+(5,5,61,34,39,52,123,135),
+(5,5,62,35,39,53,125,137),
+(5,5,63,35,40,54,127,140),
+(5,5,64,36,40,55,130,142),
+(5,5,65,36,41,55,132,144),
+(5,5,66,36,41,56,134,147),
+(5,5,67,37,41,57,136,149),
+(5,5,68,37,42,58,138,151),
+(5,5,69,38,42,58,141,154),
+(5,5,70,38,43,59,143,156),
+(5,8,1,19,18,21,21,27),
+(5,8,2,19,18,21,22,28),
+(5,8,3,19,18,22,24,30),
+(5,8,4,19,18,22,25,31),
+(5,8,5,19,19,22,26,32),
+(5,8,6,19,19,22,28,34),
+(5,8,7,20,19,23,29,35),
+(5,8,8,20,19,23,31,36),
+(5,8,9,20,19,23,32,38),
+(5,8,10,20,19,24,34,39),
+(5,8,11,20,20,24,35,40),
+(5,8,12,20,20,24,37,42),
+(5,8,13,20,20,25,38,43),
+(5,8,14,20,20,25,40,45),
+(5,8,15,20,20,25,41,46),
+(5,8,16,21,21,26,43,48),
+(5,8,17,21,21,26,44,49),
+(5,8,18,21,21,26,46,51),
+(5,8,19,21,21,27,48,52),
+(5,8,20,21,21,27,49,54),
+(5,8,21,21,22,27,51,55),
+(5,8,22,21,22,28,52,57),
+(5,8,23,21,22,28,54,58),
+(5,8,24,22,22,29,56,60),
+(5,8,25,22,23,29,57,62),
+(5,8,26,22,23,29,59,63),
+(5,8,27,22,23,30,61,65),
+(5,8,28,22,23,30,63,67),
+(5,8,29,22,24,31,64,68),
+(5,8,30,23,24,31,66,70),
+(5,8,31,23,24,31,68,72),
+(5,8,32,23,24,32,70,73),
+(5,8,33,23,25,32,72,75),
+(5,8,34,23,25,33,73,77),
+(5,8,35,24,25,33,75,79),
+(5,8,36,24,25,34,77,80),
+(5,8,37,24,26,34,79,82),
+(5,8,38,24,26,35,81,84),
+(5,8,39,24,26,35,83,86),
+(5,8,40,24,27,35,85,88),
+(5,8,41,25,27,36,87,90),
+(5,8,42,25,27,36,89,91),
+(5,8,43,25,27,37,90,93),
+(5,8,44,25,28,37,92,95),
+(5,8,45,26,28,38,94,97),
+(5,8,46,26,28,38,96,99),
+(5,8,47,26,29,39,98,101),
+(5,8,48,26,29,39,100,103),
+(5,8,49,26,29,40,103,105),
+(5,8,50,27,30,40,105,107),
+(5,8,51,27,30,41,107,109),
+(5,8,52,27,30,42,109,111),
+(5,8,53,27,31,42,111,113),
+(5,8,54,28,31,43,113,115),
+(5,8,55,28,31,43,115,117),
+(5,8,56,28,32,44,117,119),
+(5,8,57,28,32,44,119,121),
+(5,8,58,29,32,45,122,123),
+(5,8,59,29,33,45,124,126),
+(5,8,60,29,33,46,126,128),
+(5,8,61,29,34,47,128,130),
+(5,8,62,30,34,47,131,132),
+(5,8,63,30,34,48,133,134),
+(5,8,64,30,35,48,135,136),
+(5,8,65,31,35,49,137,139),
+(5,8,66,31,35,50,140,141),
+(5,8,67,31,36,50,142,143),
+(5,8,68,31,36,51,144,145),
+(5,8,69,32,37,51,147,148),
+(5,8,70,32,37,52,149,150),
+(5,9,1,19,18,22,20,27),
+(5,9,2,19,18,23,21,28),
+(5,9,3,20,19,23,22,29),
+(5,9,4,20,19,24,24,30),
+(5,9,5,20,19,24,25,32),
+(5,9,6,20,20,25,26,33),
+(5,9,7,21,20,25,27,34),
+(5,9,8,21,21,26,28,35),
+(5,9,9,21,21,26,30,36),
+(5,9,10,22,21,27,31,38),
+(5,9,11,22,22,28,32,39),
+(5,9,12,22,22,28,34,40),
+(5,9,13,23,23,29,35,41),
+(5,9,14,23,23,30,36,43),
+(5,9,15,23,24,30,37,44),
+(5,9,16,24,24,31,39,45),
+(5,9,17,24,24,31,40,47),
+(5,9,18,24,25,32,42,48),
+(5,9,19,25,25,33,43,49),
+(5,9,20,25,26,33,44,51),
+(5,9,21,26,26,34,46,52),
+(5,9,22,26,27,35,47,53),
+(5,9,23,26,27,36,49,55),
+(5,9,24,27,28,36,50,56),
+(5,9,25,27,28,37,52,58),
+(5,9,26,27,29,38,53,59),
+(5,9,27,28,29,38,55,60),
+(5,9,28,28,30,39,56,62),
+(5,9,29,29,30,40,58,63),
+(5,9,30,29,31,41,59,65),
+(5,9,31,30,31,41,61,66),
+(5,9,32,30,32,42,62,68),
+(5,9,33,30,32,43,64,69),
+(5,9,34,31,33,44,65,71),
+(5,9,35,31,33,45,67,73),
+(5,9,36,32,34,45,69,74),
+(5,9,37,32,34,46,70,76),
+(5,9,38,33,35,47,72,77),
+(5,9,39,33,36,48,73,79),
+(5,9,40,34,36,49,75,81),
+(5,9,41,34,37,49,77,82),
+(5,9,42,35,37,50,78,84),
+(5,9,43,35,38,51,80,86),
+(5,9,44,36,39,52,82,87),
+(5,9,45,36,39,53,84,89),
+(5,9,46,37,40,54,85,91),
+(5,9,47,37,40,55,87,92),
+(5,9,48,38,41,55,89,94),
+(5,9,49,38,42,56,91,96),
+(5,9,50,39,42,57,92,98),
+(5,9,51,39,43,58,94,100),
+(5,9,52,40,44,59,96,101),
+(5,9,53,40,44,60,98,103),
+(5,9,54,41,45,61,100,105),
+(5,9,55,41,45,62,102,107),
+(5,9,56,42,46,63,103,109),
+(5,9,57,42,47,64,105,111),
+(5,9,58,43,47,65,107,112),
+(5,9,59,43,48,66,109,114),
+(5,9,60,44,49,67,111,116),
+(5,9,61,45,50,68,113,118),
+(5,9,62,45,50,69,115,120),
+(5,9,63,46,51,70,117,122),
+(5,9,64,46,52,71,119,124),
+(5,9,65,47,52,72,121,126),
+(5,9,66,48,53,73,123,128),
+(5,9,67,48,54,74,125,130),
+(5,9,68,49,55,75,127,132),
+(5,9,69,49,55,76,129,134),
+(5,9,70,50,56,77,131,136),
+(6,1,1,28,15,24,15,22),
+(6,1,2,29,16,25,15,22),
+(6,1,3,31,17,26,15,23),
+(6,1,4,32,17,27,15,23),
+(6,1,5,33,18,29,15,23),
+(6,1,6,34,19,30,15,23),
+(6,1,7,36,20,31,16,24),
+(6,1,8,37,21,32,16,24),
+(6,1,9,38,22,34,16,24),
+(6,1,10,40,22,35,16,25),
+(6,1,11,41,23,36,16,25),
+(6,1,12,43,24,37,16,25),
+(6,1,13,44,25,39,16,26),
+(6,1,14,46,26,40,16,26),
+(6,1,15,47,27,41,17,26),
+(6,1,16,48,28,43,17,27),
+(6,1,17,50,29,44,17,27),
+(6,1,18,51,30,45,17,27),
+(6,1,19,53,31,47,17,28),
+(6,1,20,54,32,48,17,28),
+(6,1,21,56,33,50,17,28),
+(6,1,22,58,34,51,18,29),
+(6,1,23,59,35,52,18,29),
+(6,1,24,61,36,54,18,30),
+(6,1,25,62,37,55,18,30),
+(6,1,26,64,38,57,18,30),
+(6,1,27,66,39,58,18,31),
+(6,1,28,67,40,60,18,31),
+(6,1,29,69,41,61,19,32),
+(6,1,30,71,42,63,19,32),
+(6,1,31,72,43,64,19,32),
+(6,1,32,74,44,66,19,33),
+(6,1,33,76,45,67,19,33),
+(6,1,34,77,46,69,20,34),
+(6,1,35,79,47,71,20,34),
+(6,1,36,81,48,72,20,35),
+(6,1,37,83,49,74,20,35),
+(6,1,38,85,50,76,20,35),
+(6,1,39,86,51,77,21,36),
+(6,1,40,88,53,79,21,36),
+(6,1,41,90,54,81,21,37),
+(6,1,42,92,55,82,21,37),
+(6,1,43,94,56,84,21,38),
+(6,1,44,96,57,86,22,38),
+(6,1,45,98,58,87,22,39),
+(6,1,46,99,60,89,22,39),
+(6,1,47,101,61,91,22,40),
+(6,1,48,103,62,93,22,40),
+(6,1,49,105,63,94,23,41),
+(6,1,50,107,65,96,23,41),
+(6,1,51,109,66,98,23,42),
+(6,1,52,111,67,100,23,42),
+(6,1,53,113,68,102,24,43),
+(6,1,54,115,70,104,24,44),
+(6,1,55,117,71,105,24,44),
+(6,1,56,119,72,107,24,45),
+(6,1,57,122,73,109,25,45),
+(6,1,58,124,75,111,25,46),
+(6,1,59,126,76,113,25,46),
+(6,1,60,128,77,115,25,47),
+(6,1,61,130,79,117,26,48),
+(6,1,62,132,80,119,26,48),
+(6,1,63,134,81,121,26,49),
+(6,1,64,137,83,123,26,49),
+(6,1,65,139,84,125,27,50),
+(6,1,66,141,85,127,27,51),
+(6,1,67,143,87,129,27,51),
+(6,1,68,145,88,131,27,52),
+(6,1,69,148,90,133,28,52),
+(6,1,70,150,91,135,28,53),
+(6,3,1,25,18,23,15,23),
+(6,3,2,25,19,24,16,24),
+(6,3,3,26,21,25,16,24),
+(6,3,4,26,22,26,17,25),
+(6,3,5,27,24,27,17,25),
+(6,3,6,27,25,28,18,26),
+(6,3,7,28,26,28,19,27),
+(6,3,8,28,28,29,19,27),
+(6,3,9,28,29,30,20,28),
+(6,3,10,29,31,31,20,29),
+(6,3,11,29,32,32,21,29),
+(6,3,12,30,34,33,22,30),
+(6,3,13,30,35,34,22,31),
+(6,3,14,31,37,35,23,32),
+(6,3,15,31,38,36,24,32),
+(6,3,16,32,40,37,24,33),
+(6,3,17,32,41,39,25,34),
+(6,3,18,33,43,40,26,35),
+(6,3,19,33,45,41,27,35),
+(6,3,20,34,46,42,27,36),
+(6,3,21,34,48,43,28,37),
+(6,3,22,35,50,44,29,38),
+(6,3,23,35,51,45,29,38),
+(6,3,24,36,53,46,30,39),
+(6,3,25,37,55,47,31,40),
+(6,3,26,37,56,48,32,41),
+(6,3,27,38,58,50,32,42),
+(6,3,28,38,60,51,33,42),
+(6,3,29,39,62,52,34,43),
+(6,3,30,39,63,53,35,44),
+(6,3,31,40,65,54,36,45),
+(6,3,32,41,67,56,36,46),
+(6,3,33,41,69,57,37,47),
+(6,3,34,42,71,58,38,48),
+(6,3,35,43,72,59,39,48),
+(6,3,36,43,74,61,40,49),
+(6,3,37,44,76,62,40,50),
+(6,3,38,45,78,63,41,51),
+(6,3,39,45,80,64,42,52),
+(6,3,40,46,82,66,43,53),
+(6,3,41,47,84,67,44,54),
+(6,3,42,47,86,68,45,55),
+(6,3,43,48,88,70,46,56),
+(6,3,44,49,90,71,46,57),
+(6,3,45,49,92,72,47,58),
+(6,3,46,50,94,74,48,59),
+(6,3,47,51,96,75,49,60),
+(6,3,48,51,98,77,50,61),
+(6,3,49,52,100,78,51,62),
+(6,3,50,53,102,79,52,63),
+(6,3,51,54,104,81,53,64),
+(6,3,52,54,106,82,54,65),
+(6,3,53,55,108,84,55,66),
+(6,3,54,56,110,85,56,67),
+(6,3,55,57,112,87,57,68),
+(6,3,56,57,114,88,58,69),
+(6,3,57,58,117,90,59,70),
+(6,3,58,59,119,91,60,71),
+(6,3,59,60,121,93,61,72),
+(6,3,60,61,123,94,62,74),
+(6,3,61,61,125,96,63,75),
+(6,3,62,62,128,97,64,76),
+(6,3,63,63,130,99,65,77),
+(6,3,64,64,132,100,66,78),
+(6,3,65,65,134,102,67,79),
+(6,3,66,66,137,104,68,80),
+(6,3,67,66,139,105,69,81),
+(6,3,68,67,141,107,70,83),
+(6,3,69,68,144,108,71,84),
+(6,3,70,69,146,110,72,85),
+(6,7,1,26,15,23,16,24),
+(6,7,2,27,15,24,17,25),
+(6,7,3,28,16,25,18,26),
+(6,7,4,28,16,26,19,27),
+(6,7,5,29,17,27,20,28),
+(6,7,6,30,17,28,21,29),
+(6,7,7,31,18,29,22,30),
+(6,7,8,32,18,30,23,31),
+(6,7,9,33,19,31,24,32),
+(6,7,10,34,19,32,25,33),
+(6,7,11,35,20,33,26,35),
+(6,7,12,35,20,34,27,36),
+(6,7,13,36,21,35,28,37),
+(6,7,14,37,21,36,29,38),
+(6,7,15,38,22,37,30,39),
+(6,7,16,39,22,39,31,40),
+(6,7,17,40,23,40,32,42),
+(6,7,18,41,23,41,33,43),
+(6,7,19,42,24,42,34,44),
+(6,7,20,43,24,43,35,45),
+(6,7,21,44,25,44,36,46),
+(6,7,22,45,25,45,37,48),
+(6,7,23,46,26,47,38,49),
+(6,7,24,47,27,48,40,50),
+(6,7,25,48,27,49,41,51),
+(6,7,26,49,28,50,42,53),
+(6,7,27,51,28,52,43,54),
+(6,7,28,52,29,53,44,55),
+(6,7,29,53,29,54,45,57),
+(6,7,30,54,30,55,47,58),
+(6,7,31,55,31,57,48,59),
+(6,7,32,56,31,58,49,61),
+(6,7,33,57,32,59,50,62),
+(6,7,34,58,33,61,51,64),
+(6,7,35,60,33,62,53,65),
+(6,7,36,61,34,63,54,66),
+(6,7,37,62,34,65,55,68),
+(6,7,38,63,35,66,57,69),
+(6,7,39,64,36,67,58,71),
+(6,7,40,66,36,69,59,72),
+(6,7,41,67,37,70,60,74),
+(6,7,42,68,38,72,62,75),
+(6,7,43,69,38,73,63,77),
+(6,7,44,70,39,74,64,78),
+(6,7,45,72,40,76,66,80),
+(6,7,46,73,41,77,67,81),
+(6,7,47,74,41,79,69,83),
+(6,7,48,76,42,80,70,84),
+(6,7,49,77,43,82,71,86),
+(6,7,50,78,43,83,73,88),
+(6,7,51,80,44,85,74,89),
+(6,7,52,81,45,86,76,91),
+(6,7,53,82,46,88,77,92),
+(6,7,54,84,46,90,78,94),
+(6,7,55,85,47,91,80,96),
+(6,7,56,86,48,93,81,97),
+(6,7,57,88,49,94,83,99),
+(6,7,58,89,49,96,84,101),
+(6,7,59,91,50,97,86,102),
+(6,7,60,92,51,99,87,104),
+(6,7,61,94,52,101,89,106),
+(6,7,62,95,52,102,90,108),
+(6,7,63,96,53,104,92,109),
+(6,7,64,98,54,106,93,111),
+(6,7,65,99,55,107,95,113),
+(6,7,66,101,56,109,97,115),
+(6,7,67,102,57,111,98,117),
+(6,7,68,104,57,113,100,118),
+(6,7,69,105,58,114,101,120),
+(6,7,70,107,59,116,103,122),
+(6,11,1,26,15,22,17,24),
+(6,11,2,27,16,23,18,25),
+(6,11,3,27,16,23,19,26),
+(6,11,4,28,17,24,20,27),
+(6,11,5,28,17,25,21,29),
+(6,11,6,29,18,25,22,30),
+(6,11,7,29,18,26,23,31),
+(6,11,8,30,19,27,24,32),
+(6,11,9,30,19,27,26,34),
+(6,11,10,31,20,28,27,35),
+(6,11,11,32,20,29,28,36),
+(6,11,12,32,21,29,29,37),
+(6,11,13,33,21,30,30,39),
+(6,11,14,33,22,31,31,40),
+(6,11,15,34,23,32,32,41),
+(6,11,16,35,23,32,34,43),
+(6,11,17,35,24,33,35,44),
+(6,11,18,36,24,34,36,45),
+(6,11,19,37,25,35,37,47),
+(6,11,20,37,26,35,39,48),
+(6,11,21,38,26,36,40,50),
+(6,11,22,39,27,37,41,51),
+(6,11,23,39,28,38,42,52),
+(6,11,24,40,28,39,44,54),
+(6,11,25,41,29,39,45,55),
+(6,11,26,41,30,40,46,57),
+(6,11,27,42,30,41,47,58),
+(6,11,28,43,31,42,49,60),
+(6,11,29,44,32,43,50,61),
+(6,11,30,44,32,44,52,63),
+(6,11,31,45,33,44,53,64),
+(6,11,32,46,34,45,54,66),
+(6,11,33,47,34,46,56,67),
+(6,11,34,47,35,47,57,69),
+(6,11,35,48,36,48,58,71),
+(6,11,36,49,36,49,60,72),
+(6,11,37,50,37,50,61,74),
+(6,11,38,51,38,51,63,76),
+(6,11,39,52,39,52,64,77),
+(6,11,40,52,39,53,66,79),
+(6,11,41,53,40,54,67,81),
+(6,11,42,54,41,55,69,82),
+(6,11,43,55,42,56,70,84),
+(6,11,44,56,43,57,72,86),
+(6,11,45,57,43,57,73,87),
+(6,11,46,57,44,58,75,89),
+(6,11,47,58,45,60,76,91),
+(6,11,48,59,46,61,78,93),
+(6,11,49,60,47,62,79,94),
+(6,11,50,61,47,63,81,96),
+(6,11,51,62,48,64,83,98),
+(6,11,52,63,49,65,84,100),
+(6,11,53,64,50,66,86,102),
+(6,11,54,65,51,67,87,104),
+(6,11,55,66,51,68,89,105),
+(6,11,56,67,52,69,91,107),
+(6,11,57,68,53,70,92,109),
+(6,11,58,69,54,71,94,111),
+(6,11,59,70,55,72,96,113),
+(6,11,60,71,56,73,97,115),
+(6,11,61,72,57,74,99,117),
+(6,11,62,73,58,76,101,119),
+(6,11,63,74,59,77,103,121),
+(6,11,64,75,59,78,104,123),
+(6,11,65,76,60,79,106,125),
+(6,11,66,77,61,80,108,127),
+(6,11,67,78,62,81,110,129),
+(6,11,68,79,63,83,111,131),
+(6,11,69,80,64,84,113,133),
+(6,11,70,81,65,85,115,135),
+(7,1,1,18,23,21,24,20),
+(7,1,2,19,24,22,24,20),
+(7,1,3,21,25,23,24,21),
+(7,1,4,22,25,25,24,21),
+(7,1,5,23,26,26,24,21),
+(7,1,6,25,27,27,24,21),
+(7,1,7,26,28,28,24,22),
+(7,1,8,27,29,29,25,22),
+(7,1,9,29,29,31,25,22),
+(7,1,10,30,30,32,25,23),
+(7,1,11,32,31,33,25,23),
+(7,1,12,33,32,34,25,23),
+(7,1,13,34,33,36,25,24),
+(7,1,14,36,34,37,25,24),
+(7,1,15,37,35,38,25,24),
+(7,1,16,39,36,40,25,25),
+(7,1,17,40,36,41,25,25),
+(7,1,18,42,37,43,26,25),
+(7,1,19,43,38,44,26,26),
+(7,1,20,45,39,45,26,26),
+(7,1,21,47,40,47,26,26),
+(7,1,22,48,41,48,26,27),
+(7,1,23,50,42,50,26,27),
+(7,1,24,51,43,51,26,28),
+(7,1,25,53,44,52,27,28),
+(7,1,26,55,45,54,27,28),
+(7,1,27,56,46,55,27,29),
+(7,1,28,58,47,57,27,29),
+(7,1,29,59,48,58,27,30),
+(7,1,30,61,49,60,27,30),
+(7,1,31,63,50,62,27,30),
+(7,1,32,65,51,63,28,31),
+(7,1,33,66,52,65,28,31),
+(7,1,34,68,53,66,28,32),
+(7,1,35,70,55,68,28,32),
+(7,1,36,72,56,69,28,33),
+(7,1,37,73,57,71,29,33),
+(7,1,38,75,58,73,29,34),
+(7,1,39,77,59,74,29,34),
+(7,1,40,79,60,76,29,35),
+(7,1,41,81,61,78,29,35),
+(7,1,42,82,62,79,30,35),
+(7,1,43,84,64,81,30,36),
+(7,1,44,86,65,83,30,36),
+(7,1,45,88,66,85,30,37),
+(7,1,46,90,67,86,30,37),
+(7,1,47,92,68,88,31,38),
+(7,1,48,94,70,90,31,38),
+(7,1,49,96,71,92,31,39),
+(7,1,50,98,72,93,31,40),
+(7,1,51,100,73,95,32,40),
+(7,1,52,102,75,97,32,41),
+(7,1,53,104,76,99,32,41),
+(7,1,54,106,77,101,32,42),
+(7,1,55,108,78,103,33,42),
+(7,1,56,110,80,104,33,43),
+(7,1,57,112,81,106,33,43),
+(7,1,58,114,82,108,33,44),
+(7,1,59,116,84,110,34,44),
+(7,1,60,118,85,112,34,45),
+(7,1,61,120,86,114,34,46),
+(7,1,62,122,88,116,35,46),
+(7,1,63,125,89,118,35,47),
+(7,1,64,127,91,120,35,47),
+(7,1,65,129,92,122,35,48),
+(7,1,66,131,93,124,36,49),
+(7,1,67,133,95,126,36,49),
+(7,1,68,136,96,128,36,50),
+(7,1,69,138,98,130,37,50),
+(7,1,70,140,99,132,37,51),
+(7,4,1,16,26,20,24,20),
+(7,4,2,17,27,21,24,20),
+(7,4,3,18,29,21,24,21),
+(7,4,4,18,30,22,24,21),
+(7,4,5,19,32,23,25,21),
+(7,4,6,20,33,24,25,22),
+(7,4,7,21,35,24,25,22),
+(7,4,8,22,36,25,25,23),
+(7,4,9,22,38,26,25,23),
+(7,4,10,23,39,26,25,23),
+(7,4,11,24,41,27,25,24),
+(7,4,12,25,42,28,26,24),
+(7,4,13,26,44,29,26,25),
+(7,4,14,27,46,30,26,25),
+(7,4,15,28,47,30,26,25),
+(7,4,16,28,49,31,26,26),
+(7,4,17,29,50,32,27,26),
+(7,4,18,30,52,33,27,27),
+(7,4,19,31,54,34,27,27),
+(7,4,20,32,56,35,27,28),
+(7,4,21,33,57,35,27,28),
+(7,4,22,34,59,36,28,29),
+(7,4,23,35,61,37,28,29),
+(7,4,24,36,62,38,28,30),
+(7,4,25,37,64,39,28,30),
+(7,4,26,38,66,40,29,31),
+(7,4,27,39,68,41,29,31),
+(7,4,28,40,70,42,29,32),
+(7,4,29,41,72,43,29,32),
+(7,4,30,42,73,43,29,33),
+(7,4,31,43,75,44,30,33),
+(7,4,32,44,77,45,30,34),
+(7,4,33,45,79,46,30,34),
+(7,4,34,46,81,47,31,35),
+(7,4,35,47,83,48,31,35),
+(7,4,36,48,85,49,31,36),
+(7,4,37,49,87,50,31,36),
+(7,4,38,50,89,51,32,37),
+(7,4,39,51,91,52,32,38),
+(7,4,40,53,93,53,32,38),
+(7,4,41,54,95,54,33,39),
+(7,4,42,55,97,55,33,39),
+(7,4,43,56,99,56,33,40),
+(7,4,44,57,101,57,33,40),
+(7,4,45,58,103,59,34,41),
+(7,4,46,59,105,60,34,42),
+(7,4,47,61,107,61,34,42),
+(7,4,48,62,110,62,35,43),
+(7,4,49,63,112,63,35,44),
+(7,4,50,64,114,64,35,44),
+(7,4,51,65,116,65,36,45),
+(7,4,52,67,118,66,36,45),
+(7,4,53,68,121,67,36,46),
+(7,4,54,69,123,69,37,47),
+(7,4,55,70,125,70,37,47),
+(7,4,56,72,127,71,37,48),
+(7,4,57,73,130,72,38,49),
+(7,4,58,74,132,73,38,49),
+(7,4,59,75,134,74,39,50),
+(7,4,60,77,137,76,39,51),
+(7,4,61,78,139,77,39,51),
+(7,4,62,79,141,78,40,52),
+(7,4,63,81,144,79,40,53),
+(7,4,64,82,146,80,41,54),
+(7,4,65,83,149,82,41,54),
+(7,4,66,85,151,83,41,55),
+(7,4,67,86,154,84,42,56),
+(7,4,68,87,156,85,42,57),
+(7,4,69,89,158,87,43,57),
+(7,4,70,90,161,88,43,58),
+(7,8,1,15,23,19,27,22),
+(7,8,2,15,23,19,28,23),
+(7,8,3,15,23,20,30,25),
+(7,8,4,15,23,20,31,26),
+(7,8,5,15,24,20,32,27),
+(7,8,6,15,24,20,34,29),
+(7,8,7,16,24,21,35,30),
+(7,8,8,16,24,21,37,31),
+(7,8,9,16,24,21,38,33),
+(7,8,10,16,24,22,40,34),
+(7,8,11,16,25,22,41,36),
+(7,8,12,16,25,22,42,37),
+(7,8,13,16,25,23,44,38),
+(7,8,14,16,25,23,45,40),
+(7,8,15,17,25,23,47,41),
+(7,8,16,17,25,24,49,43),
+(7,8,17,17,26,24,50,44),
+(7,8,18,17,26,24,52,46),
+(7,8,19,17,26,25,53,47),
+(7,8,20,17,26,25,55,49),
+(7,8,21,17,26,26,57,51),
+(7,8,22,18,27,26,58,52),
+(7,8,23,18,27,26,60,54),
+(7,8,24,18,27,27,61,55),
+(7,8,25,18,27,27,63,57),
+(7,8,26,18,28,27,65,59),
+(7,8,27,18,28,28,67,60),
+(7,8,28,18,28,28,68,62),
+(7,8,29,19,28,29,70,64),
+(7,8,30,19,29,29,72,65),
+(7,8,31,19,29,30,74,67),
+(7,8,32,19,29,30,75,69),
+(7,8,33,19,29,30,77,70),
+(7,8,34,20,30,31,79,72),
+(7,8,35,20,30,31,81,74),
+(7,8,36,20,30,32,83,76),
+(7,8,37,20,30,32,85,78),
+(7,8,38,20,31,33,86,79),
+(7,8,39,21,31,33,88,81),
+(7,8,40,21,31,34,90,83),
+(7,8,41,21,32,34,92,85),
+(7,8,42,21,32,35,94,87),
+(7,8,43,21,32,35,96,89),
+(7,8,44,22,32,36,98,91),
+(7,8,45,22,33,36,100,92),
+(7,8,46,22,33,37,102,94),
+(7,8,47,22,33,37,104,96),
+(7,8,48,22,34,38,106,98),
+(7,8,49,23,34,38,108,100),
+(7,8,50,23,34,39,110,102),
+(7,8,51,23,35,39,112,104),
+(7,8,52,23,35,40,114,106),
+(7,8,53,24,35,40,117,108),
+(7,8,54,24,36,41,119,110),
+(7,8,55,24,36,41,121,112),
+(7,8,56,24,37,42,123,114),
+(7,8,57,25,37,42,125,117),
+(7,8,58,25,37,43,127,119),
+(7,8,59,25,38,43,130,121),
+(7,8,60,25,38,44,132,123),
+(7,8,61,26,38,45,134,125),
+(7,8,62,26,39,45,136,127),
+(7,8,63,26,39,46,139,129),
+(7,8,64,26,40,46,141,132),
+(7,8,65,27,40,47,143,134),
+(7,8,66,27,40,48,146,136),
+(7,8,67,27,41,48,148,138),
+(7,8,68,27,41,49,150,140),
+(7,8,69,28,42,49,153,143),
+(7,8,70,28,42,50,155,145),
+(7,9,1,15,23,20,26,22),
+(7,9,2,15,23,21,27,23),
+(7,9,3,16,24,21,28,24),
+(7,9,4,16,24,22,29,25),
+(7,9,5,16,24,22,31,27),
+(7,9,6,17,25,23,32,28),
+(7,9,7,17,25,23,33,29),
+(7,9,8,17,26,24,34,30),
+(7,9,9,17,26,25,36,31),
+(7,9,10,18,26,25,37,33),
+(7,9,11,18,27,26,38,34),
+(7,9,12,18,27,26,39,35),
+(7,9,13,19,28,27,41,36),
+(7,9,14,19,28,28,42,38),
+(7,9,15,20,28,28,43,39),
+(7,9,16,20,29,29,45,40),
+(7,9,17,20,29,30,46,42),
+(7,9,18,21,30,30,47,43),
+(7,9,19,21,30,31,49,44),
+(7,9,20,21,31,32,50,46),
+(7,9,21,22,31,32,51,47),
+(7,9,22,22,31,33,53,49),
+(7,9,23,23,32,34,54,50),
+(7,9,24,23,32,34,56,51),
+(7,9,25,23,33,35,57,53),
+(7,9,26,24,33,36,59,54),
+(7,9,27,24,34,37,60,56),
+(7,9,28,25,34,37,62,57),
+(7,9,29,25,35,38,63,59),
+(7,9,30,25,35,39,65,60),
+(7,9,31,26,36,40,66,62),
+(7,9,32,26,36,40,68,63),
+(7,9,33,27,37,41,69,65),
+(7,9,34,27,38,42,71,66),
+(7,9,35,28,38,43,73,68),
+(7,9,36,28,39,43,74,69),
+(7,9,37,28,39,44,76,71),
+(7,9,38,29,40,45,77,73),
+(7,9,39,29,40,46,79,74),
+(7,9,40,30,41,47,81,76),
+(7,9,41,30,41,48,82,78),
+(7,9,42,31,42,48,84,79),
+(7,9,43,31,43,49,86,81),
+(7,9,44,32,43,50,88,83),
+(7,9,45,32,44,51,89,84),
+(7,9,46,33,44,52,91,86),
+(7,9,47,33,45,53,93,88),
+(7,9,48,34,46,54,95,89),
+(7,9,49,34,46,54,96,91),
+(7,9,50,35,47,55,98,93),
+(7,9,51,35,48,56,100,95),
+(7,9,52,36,48,57,102,97),
+(7,9,53,36,49,58,104,98),
+(7,9,54,37,50,59,105,100),
+(7,9,55,37,50,60,107,102),
+(7,9,56,38,51,61,109,104),
+(7,9,57,38,52,62,111,106),
+(7,9,58,39,52,63,113,108),
+(7,9,59,40,53,64,115,109),
+(7,9,60,40,54,65,117,111),
+(7,9,61,41,54,66,119,113),
+(7,9,62,41,55,67,121,115),
+(7,9,63,42,56,68,123,117),
+(7,9,64,42,57,69,125,119),
+(7,9,65,43,57,70,127,121),
+(7,9,66,44,58,71,129,123),
+(7,9,67,44,59,72,131,125),
+(7,9,68,45,59,73,133,127),
+(7,9,69,45,60,74,135,129),
+(7,9,70,46,61,75,137,131),
+(8,1,1,24,22,23,16,21),
+(8,1,2,25,23,24,16,21),
+(8,1,3,27,24,25,16,22),
+(8,1,4,28,24,26,16,22),
+(8,1,5,29,25,28,16,22),
+(8,1,6,31,26,29,16,22),
+(8,1,7,32,27,30,17,23),
+(8,1,8,33,28,31,17,23),
+(8,1,9,35,28,33,17,23),
+(8,1,10,36,29,34,17,24),
+(8,1,11,37,30,35,17,24),
+(8,1,12,39,31,36,17,24),
+(8,1,13,40,32,38,17,25),
+(8,1,14,42,33,39,17,25),
+(8,1,15,43,34,40,18,25),
+(8,1,16,45,35,42,18,26),
+(8,1,17,46,35,43,18,26),
+(8,1,18,48,36,44,18,26),
+(8,1,19,49,37,46,18,27),
+(8,1,20,51,38,47,18,27),
+(8,1,21,52,39,49,18,27),
+(8,1,22,54,40,50,18,28),
+(8,1,23,55,41,51,19,28),
+(8,1,24,57,42,53,19,29),
+(8,1,25,59,43,54,19,29),
+(8,1,26,60,44,56,19,29),
+(8,1,27,62,45,57,19,30),
+(8,1,28,63,46,59,19,30),
+(8,1,29,65,47,60,20,31),
+(8,1,30,67,48,62,20,31),
+(8,1,31,69,49,63,20,31),
+(8,1,32,70,50,65,20,32),
+(8,1,33,72,51,67,20,32),
+(8,1,34,74,53,68,20,33),
+(8,1,35,75,54,70,21,33),
+(8,1,36,77,55,71,21,34),
+(8,1,37,79,56,73,21,34),
+(8,1,38,81,57,75,21,35),
+(8,1,39,83,58,76,21,35),
+(8,1,40,84,59,78,22,35),
+(8,1,41,86,60,80,22,36),
+(8,1,42,88,62,81,22,36),
+(8,1,43,90,63,83,22,37),
+(8,1,44,92,64,85,22,37),
+(8,1,45,94,65,86,23,38),
+(8,1,46,96,66,88,23,38),
+(8,1,47,98,67,90,23,39),
+(8,1,48,100,69,92,23,39),
+(8,1,49,102,70,93,24,40),
+(8,1,50,103,71,95,24,40),
+(8,1,51,105,72,97,24,41),
+(8,1,52,107,74,99,24,42),
+(8,1,53,109,75,101,25,42),
+(8,1,54,112,76,103,25,43),
+(8,1,55,114,78,104,25,43),
+(8,1,56,116,79,106,25,44),
+(8,1,57,118,80,108,25,44),
+(8,1,58,120,81,110,26,45),
+(8,1,59,122,83,112,26,45),
+(8,1,60,124,84,114,26,46),
+(8,1,61,126,85,116,27,47),
+(8,1,62,128,87,118,27,47),
+(8,1,63,130,88,120,27,48),
+(8,1,64,133,90,122,27,48),
+(8,1,65,135,91,124,28,49),
+(8,1,66,137,92,126,28,50),
+(8,1,67,139,94,128,28,50),
+(8,1,68,141,95,130,28,51),
+(8,1,69,144,97,132,29,51),
+(8,1,70,146,98,134,29,52),
+(8,3,1,21,25,22,16,22),
+(8,3,2,21,26,23,17,23),
+(8,3,3,22,28,24,17,23),
+(8,3,4,22,29,25,18,24),
+(8,3,5,23,30,26,18,25),
+(8,3,6,23,32,27,19,25),
+(8,3,7,24,33,28,20,26),
+(8,3,8,24,35,28,20,26),
+(8,3,9,25,36,29,21,27),
+(8,3,10,25,38,30,21,28),
+(8,3,11,25,39,31,22,29),
+(8,3,12,26,41,32,23,29),
+(8,3,13,26,42,33,23,30),
+(8,3,14,27,44,34,24,31),
+(8,3,15,27,45,35,25,31),
+(8,3,16,28,47,36,25,32),
+(8,3,17,28,48,38,26,33),
+(8,3,18,29,50,39,27,34),
+(8,3,19,29,51,40,28,34),
+(8,3,20,30,53,41,28,35),
+(8,3,21,31,55,42,29,36),
+(8,3,22,31,56,43,30,37),
+(8,3,23,32,58,44,30,37),
+(8,3,24,32,60,45,31,38),
+(8,3,25,33,61,46,32,39),
+(8,3,26,33,63,48,33,40),
+(8,3,27,34,65,49,33,41),
+(8,3,28,35,66,50,34,41),
+(8,3,29,35,68,51,35,42),
+(8,3,30,36,70,52,36,43),
+(8,3,31,36,72,53,37,44),
+(8,3,32,37,73,55,37,45),
+(8,3,33,38,75,56,38,46),
+(8,3,34,38,77,57,39,47),
+(8,3,35,39,79,58,40,48),
+(8,3,36,39,81,60,41,48),
+(8,3,37,40,83,61,41,49),
+(8,3,38,41,85,62,42,50),
+(8,3,39,41,86,63,43,51),
+(8,3,40,42,88,65,44,52),
+(8,3,41,43,90,66,45,53),
+(8,3,42,43,92,67,46,54),
+(8,3,43,44,94,69,47,55),
+(8,3,44,45,96,70,47,56),
+(8,3,45,45,98,71,48,57),
+(8,3,46,46,100,73,49,58),
+(8,3,47,47,102,74,50,59),
+(8,3,48,48,104,76,51,60),
+(8,3,49,48,106,77,52,61),
+(8,3,50,49,108,78,53,62),
+(8,3,51,50,110,80,54,63),
+(8,3,52,51,113,81,55,64),
+(8,3,53,51,115,83,56,65),
+(8,3,54,52,117,84,57,66),
+(8,3,55,53,119,86,58,67),
+(8,3,56,54,121,87,59,68),
+(8,3,57,54,123,89,60,69),
+(8,3,58,55,126,90,61,70),
+(8,3,59,56,128,92,62,71),
+(8,3,60,57,130,93,63,73),
+(8,3,61,58,132,95,64,74),
+(8,3,62,58,134,96,65,75),
+(8,3,63,59,137,98,66,76),
+(8,3,64,60,139,99,67,77),
+(8,3,65,61,141,101,68,78),
+(8,3,66,62,144,103,69,79),
+(8,3,67,62,146,104,70,80),
+(8,3,68,63,148,106,71,82),
+(8,3,69,64,151,107,72,83),
+(8,3,70,65,153,109,73,84),
+(8,4,1,22,25,22,16,21),
+(8,4,2,23,26,23,16,21),
+(8,4,3,24,28,23,16,22),
+(8,4,4,24,29,24,16,22),
+(8,4,5,25,31,25,17,22),
+(8,4,6,26,32,25,17,23),
+(8,4,7,27,34,26,17,23),
+(8,4,8,27,35,27,17,24),
+(8,4,9,28,37,28,17,24),
+(8,4,10,29,38,28,18,24),
+(8,4,11,30,40,29,18,25),
+(8,4,12,31,41,30,18,25),
+(8,4,13,32,43,31,18,26),
+(8,4,14,32,45,32,18,26),
+(8,4,15,33,46,32,19,26),
+(8,4,16,34,48,33,19,27),
+(8,4,17,35,50,34,19,27),
+(8,4,18,36,51,35,19,28),
+(8,4,19,37,53,36,19,28),
+(8,4,20,38,55,36,20,29),
+(8,4,21,39,56,37,20,29),
+(8,4,22,40,58,38,20,30),
+(8,4,23,41,60,39,20,30),
+(8,4,24,42,62,40,20,31),
+(8,4,25,43,63,41,21,31),
+(8,4,26,44,65,42,21,32),
+(8,4,27,45,67,43,21,32),
+(8,4,28,46,69,44,21,33),
+(8,4,29,47,71,44,22,33),
+(8,4,30,48,72,45,22,34),
+(8,4,31,49,74,46,22,34),
+(8,4,32,50,76,47,22,35),
+(8,4,33,51,78,48,23,35),
+(8,4,34,52,80,49,23,36),
+(8,4,35,53,82,50,23,36),
+(8,4,36,54,84,51,24,37),
+(8,4,37,55,86,52,24,37),
+(8,4,38,56,88,53,24,38),
+(8,4,39,57,90,54,24,38),
+(8,4,40,58,92,55,25,39),
+(8,4,41,59,94,56,25,40),
+(8,4,42,60,96,57,25,40),
+(8,4,43,62,98,58,26,41),
+(8,4,44,63,100,59,26,41),
+(8,4,45,64,102,60,26,42),
+(8,4,46,65,104,61,27,43),
+(8,4,47,66,107,63,27,43),
+(8,4,48,67,109,64,27,44),
+(8,4,49,69,111,65,27,44),
+(8,4,50,70,113,66,28,45),
+(8,4,51,71,115,67,28,46),
+(8,4,52,72,117,68,28,46),
+(8,4,53,74,120,69,29,47),
+(8,4,54,75,122,70,29,48),
+(8,4,55,76,124,72,29,48),
+(8,4,56,77,126,73,30,49),
+(8,4,57,79,129,74,30,50),
+(8,4,58,80,131,75,30,50),
+(8,4,59,81,133,76,31,51),
+(8,4,60,82,136,77,31,52),
+(8,4,61,84,138,79,32,52),
+(8,4,62,85,140,80,32,53),
+(8,4,63,86,143,81,32,54),
+(8,4,64,88,145,82,33,55),
+(8,4,65,89,148,84,33,55),
+(8,4,66,90,150,85,33,56),
+(8,4,67,92,153,86,34,57),
+(8,4,68,93,155,87,34,58),
+(8,4,69,95,157,89,35,58),
+(8,4,70,96,160,90,35,59),
+(8,5,1,21,22,21,18,24),
+(8,5,2,21,22,21,19,25),
+(8,5,3,21,22,22,21,27),
+(8,5,4,21,23,22,22,28),
+(8,5,5,22,23,22,23,29),
+(8,5,6,22,23,23,25,31),
+(8,5,7,22,23,23,26,32),
+(8,5,8,22,24,24,27,34),
+(8,5,9,22,24,24,29,35),
+(8,5,10,22,24,24,30,37),
+(8,5,11,23,24,25,32,38),
+(8,5,12,23,24,25,33,40),
+(8,5,13,23,25,26,35,41),
+(8,5,14,23,25,26,36,43),
+(8,5,15,23,25,26,38,44),
+(8,5,16,24,26,27,39,46),
+(8,5,17,24,26,27,41,47),
+(8,5,18,24,26,28,42,49),
+(8,5,19,24,26,28,44,50),
+(8,5,20,24,27,29,45,52),
+(8,5,21,25,27,29,47,54),
+(8,5,22,25,27,30,48,55),
+(8,5,23,25,28,30,50,57),
+(8,5,24,25,28,31,52,59),
+(8,5,25,25,28,31,53,60),
+(8,5,26,26,28,32,55,62),
+(8,5,27,26,29,32,56,64),
+(8,5,28,26,29,33,58,65),
+(8,5,29,26,29,33,60,67),
+(8,5,30,27,30,34,62,69),
+(8,5,31,27,30,34,63,71),
+(8,5,32,27,30,35,65,73),
+(8,5,33,27,31,35,67,74),
+(8,5,34,28,31,36,68,76),
+(8,5,35,28,32,36,70,78),
+(8,5,36,28,32,37,72,80),
+(8,5,37,29,32,37,74,82),
+(8,5,38,29,33,38,76,84),
+(8,5,39,29,33,38,77,86),
+(8,5,40,29,33,39,79,87),
+(8,5,41,30,34,40,81,89),
+(8,5,42,30,34,40,83,91),
+(8,5,43,30,35,41,85,93),
+(8,5,44,31,35,41,87,95),
+(8,5,45,31,35,42,89,97),
+(8,5,46,31,36,43,91,99),
+(8,5,47,32,36,43,93,101),
+(8,5,48,32,37,44,94,103),
+(8,5,49,32,37,44,96,105),
+(8,5,50,33,37,45,98,107),
+(8,5,51,33,38,46,100,110),
+(8,5,52,33,38,46,102,112),
+(8,5,53,34,39,47,104,114),
+(8,5,54,34,39,48,106,116),
+(8,5,55,34,40,48,109,118),
+(8,5,56,35,40,49,111,120),
+(8,5,57,35,41,50,113,122),
+(8,5,58,35,41,50,115,125),
+(8,5,59,36,42,51,117,127),
+(8,5,60,36,42,52,119,129),
+(8,5,61,36,42,52,121,131),
+(8,5,62,37,43,53,123,133),
+(8,5,63,37,43,54,125,136),
+(8,5,64,38,44,55,128,138),
+(8,5,65,38,44,55,130,140),
+(8,5,66,38,45,56,132,143),
+(8,5,67,39,45,57,134,145),
+(8,5,68,39,46,58,136,147),
+(8,5,69,40,46,58,139,150),
+(8,5,70,40,47,59,141,152),
+(8,7,1,22,22,22,17,23),
+(8,7,2,23,22,23,18,24),
+(8,7,3,24,23,24,19,25),
+(8,7,4,25,23,25,20,26),
+(8,7,5,25,24,26,21,27),
+(8,7,6,26,24,27,22,28),
+(8,7,7,27,25,28,23,29),
+(8,7,8,28,25,29,24,30),
+(8,7,9,29,25,30,25,31),
+(8,7,10,30,26,31,26,33),
+(8,7,11,31,26,32,27,34),
+(8,7,12,32,27,33,28,35),
+(8,7,13,33,27,34,29,36),
+(8,7,14,34,28,35,30,37),
+(8,7,15,34,28,36,31,38),
+(8,7,16,35,29,38,32,39),
+(8,7,17,36,29,39,33,41),
+(8,7,18,37,30,40,34,42),
+(8,7,19,38,30,41,35,43),
+(8,7,20,39,31,42,36,44),
+(8,7,21,40,32,43,37,45),
+(8,7,22,41,32,45,38,47),
+(8,7,23,43,33,46,39,48),
+(8,7,24,44,33,47,40,49),
+(8,7,25,45,34,48,42,51),
+(8,7,26,46,34,49,43,52),
+(8,7,27,47,35,51,44,53),
+(8,7,28,48,35,52,45,54),
+(8,7,29,49,36,53,46,56),
+(8,7,30,50,37,54,48,57),
+(8,7,31,51,37,56,49,59),
+(8,7,32,52,38,57,50,60),
+(8,7,33,53,38,58,51,61),
+(8,7,34,55,39,60,52,63),
+(8,7,35,56,40,61,54,64),
+(8,7,36,57,40,62,55,66),
+(8,7,37,58,41,64,56,67),
+(8,7,38,59,42,65,57,68),
+(8,7,39,61,42,66,59,70),
+(8,7,40,62,43,68,60,71),
+(8,7,41,63,44,69,61,73),
+(8,7,42,64,44,71,63,74),
+(8,7,43,65,45,72,64,76),
+(8,7,44,67,46,74,65,77),
+(8,7,45,68,46,75,67,79),
+(8,7,46,69,47,76,68,80),
+(8,7,47,71,48,78,69,82),
+(8,7,48,72,49,79,71,83),
+(8,7,49,73,49,81,72,85),
+(8,7,50,74,50,82,74,87),
+(8,7,51,76,51,84,75,88),
+(8,7,52,77,51,85,77,90),
+(8,7,53,78,52,87,78,92),
+(8,7,54,80,53,89,79,93),
+(8,7,55,81,54,90,81,95),
+(8,7,56,83,55,92,82,96),
+(8,7,57,84,55,93,84,98),
+(8,7,58,85,56,95,85,100),
+(8,7,59,87,57,97,87,102),
+(8,7,60,88,58,98,88,103),
+(8,7,61,90,58,100,90,105),
+(8,7,62,91,59,101,91,107),
+(8,7,63,93,60,103,93,108),
+(8,7,64,94,61,105,94,110),
+(8,7,65,95,62,106,96,112),
+(8,7,66,97,63,108,98,114),
+(8,7,67,98,63,110,99,116),
+(8,7,68,100,64,112,101,117),
+(8,7,69,101,65,113,102,119),
+(8,7,70,103,66,115,104,121),
+(8,8,1,21,22,21,19,23),
+(8,8,2,21,22,21,20,24),
+(8,8,3,21,22,22,22,26),
+(8,8,4,21,22,22,23,27),
+(8,8,5,21,23,22,25,28),
+(8,8,6,21,23,22,26,30),
+(8,8,7,21,23,23,27,31),
+(8,8,8,22,23,23,29,32),
+(8,8,9,22,23,23,30,34),
+(8,8,10,22,23,24,32,35),
+(8,8,11,22,24,24,33,37),
+(8,8,12,22,24,24,35,38),
+(8,8,13,22,24,25,36,39),
+(8,8,14,22,24,25,38,41),
+(8,8,15,22,24,25,39,42),
+(8,8,16,22,24,26,41,44),
+(8,8,17,23,25,26,42,45),
+(8,8,18,23,25,26,44,47),
+(8,8,19,23,25,27,46,48),
+(8,8,20,23,25,27,47,50),
+(8,8,21,23,25,27,49,51),
+(8,8,22,23,26,28,51,53),
+(8,8,23,23,26,28,52,55),
+(8,8,24,24,26,29,54,56),
+(8,8,25,24,26,29,56,58),
+(8,8,26,24,27,29,57,60),
+(8,8,27,24,27,30,59,61),
+(8,8,28,24,27,30,61,63),
+(8,8,29,24,27,31,63,65),
+(8,8,30,24,28,31,64,66),
+(8,8,31,25,28,31,66,68),
+(8,8,32,25,28,32,68,70),
+(8,8,33,25,28,32,70,71),
+(8,8,34,25,29,33,71,73),
+(8,8,35,25,29,33,73,75),
+(8,8,36,26,29,34,75,77),
+(8,8,37,26,29,34,77,79),
+(8,8,38,26,30,35,79,80),
+(8,8,39,26,30,35,81,82),
+(8,8,40,26,30,35,83,84),
+(8,8,41,27,31,36,85,86),
+(8,8,42,27,31,36,87,88),
+(8,8,43,27,31,37,89,90),
+(8,8,44,27,32,37,91,91),
+(8,8,45,27,32,38,93,93),
+(8,8,46,28,32,38,95,95),
+(8,8,47,28,32,39,97,97),
+(8,8,48,28,33,39,99,99),
+(8,8,49,28,33,40,101,101),
+(8,8,50,29,33,40,103,103),
+(8,8,51,29,34,41,105,105),
+(8,8,52,29,34,42,107,107),
+(8,8,53,29,35,42,109,109),
+(8,8,54,30,35,43,111,111),
+(8,8,55,30,35,43,113,113),
+(8,8,56,30,36,44,115,115),
+(8,8,57,30,36,44,118,118),
+(8,8,58,31,36,45,120,120),
+(8,8,59,31,37,45,122,122),
+(8,8,60,31,37,46,124,124),
+(8,8,61,31,37,47,126,126),
+(8,8,62,32,38,47,129,128),
+(8,8,63,32,38,48,131,130),
+(8,8,64,32,39,48,133,133),
+(8,8,65,33,39,49,135,135),
+(8,8,66,33,39,50,138,137),
+(8,8,67,33,40,50,140,139),
+(8,8,68,33,40,51,142,141),
+(8,8,69,34,41,51,145,144),
+(8,8,70,34,41,52,147,146),
+(10,2,1,19,22,21,24,20),
+(10,2,2,20,23,22,25,21),
+(10,2,3,21,23,23,25,21),
+(10,2,4,22,24,24,26,22),
+(10,2,5,23,24,25,27,23),
+(10,2,6,25,25,26,27,24),
+(10,2,7,26,25,27,28,24),
+(10,2,8,27,26,28,29,25),
+(10,2,9,28,27,29,29,26),
+(10,2,10,29,27,31,30,26),
+(10,2,11,30,28,32,31,27),
+(10,2,12,32,29,33,31,28),
+(10,2,13,33,29,34,32,29),
+(10,2,14,34,30,35,33,30),
+(10,2,15,35,31,36,33,30),
+(10,2,16,37,31,37,34,31),
+(10,2,17,38,32,39,35,32),
+(10,2,18,39,33,40,36,33),
+(10,2,19,40,33,41,36,34),
+(10,2,20,42,34,42,37,35),
+(10,2,21,43,35,44,38,35),
+(10,2,22,44,35,45,39,36),
+(10,2,23,46,36,46,40,37),
+(10,2,24,47,37,47,40,38),
+(10,2,25,49,38,49,41,39),
+(10,2,26,50,38,50,42,40),
+(10,2,27,51,39,51,43,41),
+(10,2,28,53,40,53,44,42),
+(10,2,29,54,41,54,45,43),
+(10,2,30,56,41,55,45,43),
+(10,2,31,57,42,57,46,44),
+(10,2,32,58,43,58,47,45),
+(10,2,33,60,44,59,48,46),
+(10,2,34,61,45,61,49,47),
+(10,2,35,63,45,62,50,48),
+(10,2,36,64,46,64,51,49),
+(10,2,37,66,47,65,52,50),
+(10,2,38,67,48,67,53,51),
+(10,2,39,69,49,68,54,52),
+(10,2,40,71,50,69,55,53),
+(10,2,41,72,50,71,55,54),
+(10,2,42,74,51,72,56,55),
+(10,2,43,75,52,74,57,56),
+(10,2,44,77,53,75,58,57),
+(10,2,45,79,54,77,59,59),
+(10,2,46,80,55,78,60,60),
+(10,2,47,82,56,80,61,61),
+(10,2,48,83,57,82,62,62),
+(10,2,49,85,58,83,63,63),
+(10,2,50,87,59,85,64,64),
+(10,2,51,89,60,86,66,65),
+(10,2,52,90,61,88,67,66),
+(10,2,53,92,61,90,68,67),
+(10,2,54,94,62,91,69,69),
+(10,2,55,95,63,93,70,70),
+(10,2,56,97,64,95,71,71),
+(10,2,57,99,65,96,72,72),
+(10,2,58,101,66,98,73,73),
+(10,2,59,102,67,100,74,74),
+(10,2,60,104,68,101,75,76),
+(10,2,61,106,69,103,76,77),
+(10,2,62,108,70,105,78,78),
+(10,2,63,110,72,106,79,79),
+(10,2,64,112,73,108,80,80),
+(10,2,65,113,74,110,81,82),
+(10,2,66,115,75,112,82,83),
+(10,2,67,117,76,114,83,84),
+(10,2,68,119,77,115,85,85),
+(10,2,69,121,78,117,86,87),
+(10,2,70,123,79,119,87,88),
+(10,3,1,17,25,20,24,20),
+(10,3,2,17,26,21,25,21),
+(10,3,3,18,28,22,25,21),
+(10,3,4,18,29,23,26,22),
+(10,3,5,19,30,24,26,23),
+(10,3,6,19,32,25,27,23),
+(10,3,7,20,33,26,27,24),
+(10,3,8,20,35,27,28,25),
+(10,3,9,21,36,27,29,25),
+(10,3,10,21,38,28,29,26),
+(10,3,11,22,39,29,30,27),
+(10,3,12,22,41,30,31,27),
+(10,3,13,23,42,31,31,28),
+(10,3,14,23,44,32,32,29),
+(10,3,15,24,45,34,32,29),
+(10,3,16,24,47,35,33,30),
+(10,3,17,25,48,36,34,31),
+(10,3,18,25,50,37,34,32),
+(10,3,19,26,51,38,35,32),
+(10,3,20,26,53,39,36,33),
+(10,3,21,27,55,40,37,34),
+(10,3,22,27,56,41,37,35),
+(10,3,23,28,58,42,38,36),
+(10,3,24,28,60,43,39,36),
+(10,3,25,29,61,44,39,37),
+(10,3,26,30,63,46,40,38),
+(10,3,27,30,65,47,41,39),
+(10,3,28,31,66,48,42,40),
+(10,3,29,31,68,49,42,40),
+(10,3,30,32,70,50,43,41),
+(10,3,31,33,72,52,44,42),
+(10,3,32,33,73,53,45,43),
+(10,3,33,34,75,54,46,44),
+(10,3,34,34,77,55,46,45),
+(10,3,35,35,79,57,47,46),
+(10,3,36,36,81,58,48,47),
+(10,3,37,36,83,59,49,47),
+(10,3,38,37,85,60,50,48),
+(10,3,39,38,86,62,51,49),
+(10,3,40,38,88,63,51,50),
+(10,3,41,39,90,64,52,51),
+(10,3,42,40,92,66,53,52),
+(10,3,43,40,94,67,54,53),
+(10,3,44,41,96,68,55,54),
+(10,3,45,42,98,70,56,55),
+(10,3,46,42,100,71,57,56),
+(10,3,47,43,102,72,58,57),
+(10,3,48,44,104,74,59,58),
+(10,3,49,45,106,75,60,59),
+(10,3,50,45,108,77,61,60),
+(10,3,51,46,110,78,61,61),
+(10,3,52,47,113,79,62,62),
+(10,3,53,47,115,81,63,63),
+(10,3,54,48,117,82,64,64),
+(10,3,55,49,119,84,65,65),
+(10,3,56,50,121,85,66,66),
+(10,3,57,50,123,87,67,67),
+(10,3,58,51,126,88,68,68),
+(10,3,59,52,128,90,69,70),
+(10,3,60,53,130,91,70,71),
+(10,3,61,54,132,93,71,72),
+(10,3,62,54,134,94,72,73),
+(10,3,63,55,137,96,73,74),
+(10,3,64,56,139,97,75,75),
+(10,3,65,57,141,99,76,76),
+(10,3,66,58,144,101,77,77),
+(10,3,67,58,146,102,78,78),
+(10,3,68,59,148,104,79,80),
+(10,3,69,60,151,105,80,81),
+(10,3,70,61,153,107,81,82),
+(10,4,1,18,25,20,24,19),
+(10,4,2,19,26,21,24,19),
+(10,4,3,20,28,21,24,20),
+(10,4,4,20,29,22,24,20),
+(10,4,5,21,31,23,25,20),
+(10,4,6,22,32,24,25,21),
+(10,4,7,23,34,24,25,21),
+(10,4,8,24,35,25,25,22),
+(10,4,9,24,37,26,25,22),
+(10,4,10,25,38,26,25,22),
+(10,4,11,26,40,27,25,23),
+(10,4,12,27,41,28,26,23),
+(10,4,13,28,43,29,26,24),
+(10,4,14,29,45,30,26,24),
+(10,4,15,29,46,30,26,25),
+(10,4,16,30,48,31,26,25),
+(10,4,17,31,50,32,27,25),
+(10,4,18,32,51,33,27,26),
+(10,4,19,33,53,34,27,26),
+(10,4,20,34,55,35,27,27),
+(10,4,21,35,56,35,27,27),
+(10,4,22,36,58,36,28,28),
+(10,4,23,37,60,37,28,28),
+(10,4,24,38,62,38,28,29),
+(10,4,25,39,63,39,28,29),
+(10,4,26,40,65,40,29,30),
+(10,4,27,41,67,41,29,30),
+(10,4,28,42,69,42,29,31),
+(10,4,29,43,71,43,29,31),
+(10,4,30,44,72,43,29,32),
+(10,4,31,45,74,44,30,32),
+(10,4,32,46,76,45,30,33),
+(10,4,33,47,78,46,30,33),
+(10,4,34,48,80,47,31,34),
+(10,4,35,49,82,48,31,34),
+(10,4,36,50,84,49,31,35),
+(10,4,37,51,86,50,31,35),
+(10,4,38,52,88,51,32,36),
+(10,4,39,53,90,52,32,37),
+(10,4,40,54,92,53,32,37),
+(10,4,41,56,94,54,33,38),
+(10,4,42,57,96,55,33,38),
+(10,4,43,58,98,56,33,39),
+(10,4,44,59,100,57,33,39),
+(10,4,45,60,102,59,34,40),
+(10,4,46,61,104,60,34,41),
+(10,4,47,62,107,61,34,41),
+(10,4,48,64,109,62,35,42),
+(10,4,49,65,111,63,35,43),
+(10,4,50,66,113,64,35,43),
+(10,4,51,67,115,65,36,44),
+(10,4,52,68,117,66,36,44),
+(10,4,53,70,120,67,36,45),
+(10,4,54,71,122,69,37,46),
+(10,4,55,72,124,70,37,46),
+(10,4,56,73,126,71,37,47),
+(10,4,57,75,129,72,38,48),
+(10,4,58,76,131,73,38,48),
+(10,4,59,77,133,74,39,49),
+(10,4,60,79,136,76,39,50),
+(10,4,61,80,138,77,39,51),
+(10,4,62,81,140,78,40,51),
+(10,4,63,82,143,79,40,52),
+(10,4,64,84,145,80,41,53),
+(10,4,65,85,148,82,41,53),
+(10,4,66,87,150,83,41,54),
+(10,4,67,88,153,84,42,55),
+(10,4,68,89,155,85,42,56),
+(10,4,69,91,157,87,43,56),
+(10,4,70,92,160,88,43,57),
+(10,5,1,17,22,19,26,22),
+(10,5,2,17,22,19,27,23),
+(10,5,3,17,22,20,29,25),
+(10,5,4,17,23,20,30,26),
+(10,5,5,18,23,20,31,27),
+(10,5,6,18,23,21,33,29),
+(10,5,7,18,23,21,34,30),
+(10,5,8,18,24,22,35,32),
+(10,5,9,18,24,22,37,33),
+(10,5,10,19,24,22,38,35),
+(10,5,11,19,24,23,39,36),
+(10,5,12,19,24,23,41,38),
+(10,5,13,19,25,24,42,39),
+(10,5,14,19,25,24,44,41),
+(10,5,15,19,25,25,45,42),
+(10,5,16,20,26,25,47,44),
+(10,5,17,20,26,25,48,45),
+(10,5,18,20,26,26,50,47),
+(10,5,19,20,26,26,51,49),
+(10,5,20,21,27,27,53,50),
+(10,5,21,21,27,27,54,52),
+(10,5,22,21,27,28,56,53),
+(10,5,23,21,28,28,58,55),
+(10,5,24,21,28,29,59,57),
+(10,5,25,22,28,29,61,58),
+(10,5,26,22,28,30,62,60),
+(10,5,27,22,29,30,64,62),
+(10,5,28,22,29,31,66,64),
+(10,5,29,23,29,31,67,65),
+(10,5,30,23,30,32,69,67),
+(10,5,31,23,30,32,71,69),
+(10,5,32,23,30,33,72,71),
+(10,5,33,24,31,33,74,72),
+(10,5,34,24,31,34,76,74),
+(10,5,35,24,32,34,78,76),
+(10,5,36,24,32,35,80,78),
+(10,5,37,25,32,35,81,80),
+(10,5,38,25,33,36,83,82),
+(10,5,39,25,33,37,85,84),
+(10,5,40,26,33,37,87,86),
+(10,5,41,26,34,38,89,88),
+(10,5,42,26,34,38,91,89),
+(10,5,43,27,35,39,92,91),
+(10,5,44,27,35,39,94,93),
+(10,5,45,27,35,40,96,95),
+(10,5,46,27,36,41,98,97),
+(10,5,47,28,36,41,100,99),
+(10,5,48,28,37,42,102,101),
+(10,5,49,28,37,43,104,103),
+(10,5,50,29,37,43,106,106),
+(10,5,51,29,38,44,108,108),
+(10,5,52,29,38,44,110,110),
+(10,5,53,30,39,45,112,112),
+(10,5,54,30,39,46,114,114),
+(10,5,55,30,40,46,116,116),
+(10,5,56,31,40,47,118,118),
+(10,5,57,31,41,48,120,120),
+(10,5,58,31,41,48,123,123),
+(10,5,59,32,42,49,125,125),
+(10,5,60,32,42,50,127,127),
+(10,5,61,33,42,51,129,129),
+(10,5,62,33,43,51,131,131),
+(10,5,63,33,43,52,133,134),
+(10,5,64,34,44,53,135,136),
+(10,5,65,34,44,53,138,138),
+(10,5,66,34,45,54,140,141),
+(10,5,67,35,45,55,142,143),
+(10,5,68,35,46,56,144,145),
+(10,5,69,36,46,56,147,148),
+(10,5,70,36,47,57,149,150),
+(10,8,1,17,22,19,27,21),
+(10,8,2,17,22,19,28,22),
+(10,8,3,17,22,20,30,24),
+(10,8,4,17,22,20,31,25),
+(10,8,5,17,23,20,32,26),
+(10,8,6,17,23,20,34,28),
+(10,8,7,18,23,21,35,29),
+(10,8,8,18,23,21,37,30),
+(10,8,9,18,23,21,38,32),
+(10,8,10,18,23,22,40,33),
+(10,8,11,18,24,22,41,35),
+(10,8,12,18,24,22,42,36),
+(10,8,13,18,24,23,44,37),
+(10,8,14,18,24,23,45,39),
+(10,8,15,18,24,23,47,40),
+(10,8,16,19,24,24,49,42),
+(10,8,17,19,25,24,50,43),
+(10,8,18,19,25,24,52,45),
+(10,8,19,19,25,25,53,46),
+(10,8,20,19,25,25,55,48),
+(10,8,21,19,25,26,57,50),
+(10,8,22,19,26,26,58,51),
+(10,8,23,20,26,26,60,53),
+(10,8,24,20,26,27,61,54),
+(10,8,25,20,26,27,63,56),
+(10,8,26,20,27,27,65,58),
+(10,8,27,20,27,28,67,59),
+(10,8,28,20,27,28,68,61),
+(10,8,29,21,27,29,70,63),
+(10,8,30,21,28,29,72,64),
+(10,8,31,21,28,30,74,66),
+(10,8,32,21,28,30,75,68),
+(10,8,33,21,28,30,77,70),
+(10,8,34,21,29,31,79,71),
+(10,8,35,22,29,31,81,73),
+(10,8,36,22,29,32,83,75),
+(10,8,37,22,29,32,85,77),
+(10,8,38,22,30,33,86,78),
+(10,8,39,22,30,33,88,80),
+(10,8,40,23,30,34,90,82),
+(10,8,41,23,31,34,92,84),
+(10,8,42,23,31,35,94,86),
+(10,8,43,23,31,35,96,88),
+(10,8,44,23,32,36,98,90),
+(10,8,45,24,32,36,100,92),
+(10,8,46,24,32,37,102,93),
+(10,8,47,24,32,37,104,95),
+(10,8,48,24,33,38,106,97),
+(10,8,49,25,33,38,108,99),
+(10,8,50,25,33,39,110,101),
+(10,8,51,25,34,39,112,103),
+(10,8,52,25,34,40,114,105),
+(10,8,53,25,35,40,117,107),
+(10,8,54,26,35,41,119,109),
+(10,8,55,26,35,41,121,111),
+(10,8,56,26,36,42,123,113),
+(10,8,57,26,36,42,125,116),
+(10,8,58,27,36,43,127,118),
+(10,8,59,27,37,43,130,120),
+(10,8,60,27,37,44,132,122),
+(10,8,61,27,37,45,134,124),
+(10,8,62,28,38,45,136,126),
+(10,8,63,28,38,46,139,128),
+(10,8,64,28,39,46,141,131),
+(10,8,65,29,39,47,143,133),
+(10,8,66,29,39,48,146,135),
+(10,8,67,29,40,48,148,137),
+(10,8,68,29,40,49,150,139),
+(10,8,69,30,41,49,153,142),
+(10,8,70,30,41,50,155,144),
+(10,9,1,17,22,20,26,21),
+(10,9,2,17,22,21,27,22),
+(10,9,3,18,23,21,28,23),
+(10,9,4,18,23,22,29,24),
+(10,9,5,18,23,22,31,26),
+(10,9,6,18,24,23,32,27),
+(10,9,7,19,24,23,33,28),
+(10,9,8,19,25,24,34,29),
+(10,9,9,19,25,25,36,30),
+(10,9,10,20,25,25,37,32),
+(10,9,11,20,26,26,38,33),
+(10,9,12,20,26,26,39,34),
+(10,9,13,21,27,27,41,36),
+(10,9,14,21,27,28,42,37),
+(10,9,15,21,27,28,43,38),
+(10,9,16,22,28,29,45,39),
+(10,9,17,22,28,30,46,41),
+(10,9,18,23,29,30,47,42),
+(10,9,19,23,29,31,49,43),
+(10,9,20,23,30,32,50,45),
+(10,9,21,24,30,32,51,46),
+(10,9,22,24,31,33,53,48),
+(10,9,23,24,31,34,54,49),
+(10,9,24,25,31,34,56,50),
+(10,9,25,25,32,35,57,52),
+(10,9,26,26,32,36,59,53),
+(10,9,27,26,33,37,60,55),
+(10,9,28,26,33,37,62,56),
+(10,9,29,27,34,38,63,58),
+(10,9,30,27,34,39,65,59),
+(10,9,31,28,35,40,66,61),
+(10,9,32,28,36,40,68,62),
+(10,9,33,29,36,41,69,64),
+(10,9,34,29,37,42,71,65),
+(10,9,35,29,37,43,73,67),
+(10,9,36,30,38,43,74,69),
+(10,9,37,30,38,44,76,70),
+(10,9,38,31,39,45,77,72),
+(10,9,39,31,39,46,79,73),
+(10,9,40,32,40,47,81,75),
+(10,9,41,32,41,48,82,77),
+(10,9,42,33,41,48,84,78),
+(10,9,43,33,42,49,86,80),
+(10,9,44,34,42,50,88,82),
+(10,9,45,34,43,51,89,83),
+(10,9,46,35,44,52,91,85),
+(10,9,47,35,44,53,93,87),
+(10,9,48,36,45,54,95,89),
+(10,9,49,36,45,54,96,90),
+(10,9,50,37,46,55,98,92),
+(10,9,51,37,47,56,100,94),
+(10,9,52,38,47,57,102,96),
+(10,9,53,38,48,58,104,97),
+(10,9,54,39,49,59,105,99),
+(10,9,55,39,49,60,107,101),
+(10,9,56,40,50,61,109,103),
+(10,9,57,40,51,62,111,105),
+(10,9,58,41,51,63,113,107),
+(10,9,59,42,52,64,115,108),
+(10,9,60,42,53,65,117,110),
+(10,9,61,43,53,66,119,112),
+(10,9,62,43,54,67,121,114),
+(10,9,63,44,55,68,123,116),
+(10,9,64,44,56,69,125,118),
+(10,9,65,45,56,70,127,120),
+(10,9,66,46,57,71,129,122),
+(10,9,67,46,58,72,131,124),
+(10,9,68,47,58,73,133,126),
+(10,9,69,47,59,74,135,128),
+(10,9,70,48,60,75,137,130),
+(11,1,1,24,17,21,21,22),
+(11,1,2,25,18,22,21,22),
+(11,1,3,27,19,23,21,23),
+(11,1,4,28,19,25,21,23),
+(11,1,5,29,20,26,21,23),
+(11,1,6,31,21,27,21,23),
+(11,1,7,32,22,28,21,24),
+(11,1,8,33,23,29,22,24),
+(11,1,9,35,24,31,22,24),
+(11,1,10,36,24,32,22,25),
+(11,1,11,37,25,33,22,25),
+(11,1,12,39,26,34,22,25),
+(11,1,13,40,27,36,22,26),
+(11,1,14,42,28,37,22,26),
+(11,1,15,43,29,38,22,26),
+(11,1,16,45,30,40,22,27),
+(11,1,17,46,31,41,23,27),
+(11,1,18,48,32,43,23,27),
+(11,1,19,49,33,44,23,28),
+(11,1,20,51,34,45,23,28),
+(11,1,21,52,34,47,23,28),
+(11,1,22,54,35,48,23,29),
+(11,1,23,55,36,50,23,29),
+(11,1,24,57,37,51,24,30),
+(11,1,25,59,38,52,24,30),
+(11,1,26,60,39,54,24,30),
+(11,1,27,62,40,55,24,31),
+(11,1,28,63,41,57,24,31),
+(11,1,29,65,43,58,24,32),
+(11,1,30,67,44,60,24,32),
+(11,1,31,69,45,62,25,32),
+(11,1,32,70,46,63,25,33),
+(11,1,33,72,47,65,25,33),
+(11,1,34,74,48,66,25,34),
+(11,1,35,75,49,68,25,34),
+(11,1,36,77,50,69,26,35),
+(11,1,37,79,51,71,26,35),
+(11,1,38,81,52,73,26,35),
+(11,1,39,83,53,74,26,36),
+(11,1,40,84,55,76,26,36),
+(11,1,41,86,56,78,27,37),
+(11,1,42,88,57,79,27,37),
+(11,1,43,90,58,81,27,38),
+(11,1,44,92,59,83,27,38),
+(11,1,45,94,60,85,27,39),
+(11,1,46,96,62,86,28,39),
+(11,1,47,98,63,88,28,40),
+(11,1,48,100,64,90,28,40),
+(11,1,49,102,65,92,28,41),
+(11,1,50,103,66,93,29,41),
+(11,1,51,105,68,95,29,42),
+(11,1,52,107,69,97,29,42),
+(11,1,53,109,70,99,29,43),
+(11,1,54,112,71,101,30,44),
+(11,1,55,114,73,103,30,44),
+(11,1,56,116,74,104,30,45),
+(11,1,57,118,75,106,30,45),
+(11,1,58,120,77,108,31,46),
+(11,1,59,122,78,110,31,46),
+(11,1,60,124,79,112,31,47),
+(11,1,61,126,81,114,31,48),
+(11,1,62,128,82,116,32,48),
+(11,1,63,130,83,118,32,49),
+(11,1,64,133,85,120,32,49),
+(11,1,65,135,86,122,33,50),
+(11,1,66,137,87,124,33,51),
+(11,1,67,139,89,126,33,51),
+(11,1,68,141,90,128,33,52),
+(11,1,69,144,92,130,34,52),
+(11,1,70,146,93,132,34,53),
+(11,2,1,23,17,21,21,23),
+(11,2,2,24,18,22,22,24),
+(11,2,3,25,18,23,22,24),
+(11,2,4,26,19,24,23,25),
+(11,2,5,27,19,25,24,26),
+(11,2,6,29,20,26,24,26),
+(11,2,7,30,21,27,25,27),
+(11,2,8,31,21,28,26,28),
+(11,2,9,32,22,29,26,29),
+(11,2,10,33,22,31,27,29),
+(11,2,11,34,23,32,28,30),
+(11,2,12,36,24,33,28,31),
+(11,2,13,37,24,34,29,32),
+(11,2,14,38,25,35,30,32),
+(11,2,15,39,26,36,31,33),
+(11,2,16,40,26,37,31,34),
+(11,2,17,42,27,39,32,35),
+(11,2,18,43,28,40,33,36),
+(11,2,19,44,28,41,34,37),
+(11,2,20,46,29,42,34,37),
+(11,2,21,47,30,44,35,38),
+(11,2,22,48,31,45,36,39),
+(11,2,23,50,31,46,37,40),
+(11,2,24,51,32,47,38,41),
+(11,2,25,52,33,49,38,42),
+(11,2,26,54,34,50,39,43),
+(11,2,27,55,34,51,40,44),
+(11,2,28,56,35,53,41,44),
+(11,2,29,58,36,54,42,45),
+(11,2,30,59,37,55,43,46),
+(11,2,31,61,37,57,43,47),
+(11,2,32,62,38,58,44,48),
+(11,2,33,64,39,59,45,49),
+(11,2,34,65,40,61,46,50),
+(11,2,35,67,41,62,47,51),
+(11,2,36,68,42,64,48,52),
+(11,2,37,70,42,65,49,53),
+(11,2,38,71,43,67,50,54),
+(11,2,39,73,44,68,51,55),
+(11,2,40,74,45,69,52,56),
+(11,2,41,76,46,71,53,57),
+(11,2,42,78,47,72,54,58),
+(11,2,43,79,47,74,55,59),
+(11,2,44,81,48,75,56,60),
+(11,2,45,82,49,77,57,61),
+(11,2,46,84,50,78,58,62),
+(11,2,47,86,51,80,59,64),
+(11,2,48,87,52,82,60,65),
+(11,2,49,89,53,83,61,66),
+(11,2,50,91,54,85,62,67),
+(11,2,51,92,55,86,63,68),
+(11,2,52,94,56,88,64,69),
+(11,2,53,96,57,90,65,70),
+(11,2,54,97,58,91,66,71),
+(11,2,55,99,59,93,67,73),
+(11,2,56,101,60,95,68,74),
+(11,2,57,103,61,96,69,75),
+(11,2,58,105,62,98,70,76),
+(11,2,59,106,63,100,71,77),
+(11,2,60,108,64,101,72,78),
+(11,2,61,110,65,103,74,80),
+(11,2,62,112,66,105,75,81),
+(11,2,63,114,67,106,76,82),
+(11,2,64,116,68,108,77,83),
+(11,2,65,117,69,110,78,85),
+(11,2,66,119,70,112,79,86),
+(11,2,67,121,71,114,80,87),
+(11,2,68,123,72,115,82,88),
+(11,2,69,125,73,117,83,90),
+(11,2,70,127,74,119,84,91),
+(11,3,1,21,20,20,21,23),
+(11,3,2,21,21,21,22,24),
+(11,3,3,22,23,22,22,24),
+(11,3,4,22,24,23,23,25),
+(11,3,5,23,25,24,23,25),
+(11,3,6,23,27,25,24,26),
+(11,3,7,24,28,26,24,27),
+(11,3,8,24,30,27,25,27),
+(11,3,9,25,31,27,26,28),
+(11,3,10,25,33,28,26,29),
+(11,3,11,25,34,29,27,29),
+(11,3,12,26,36,30,28,30),
+(11,3,13,26,37,31,28,31),
+(11,3,14,27,39,32,29,32),
+(11,3,15,27,40,34,30,32),
+(11,3,16,28,42,35,30,33),
+(11,3,17,28,43,36,31,34),
+(11,3,18,29,45,37,32,35),
+(11,3,19,29,47,38,32,35),
+(11,3,20,30,48,39,33,36),
+(11,3,21,31,50,40,34,37),
+(11,3,22,31,51,41,34,38),
+(11,3,23,32,53,42,35,38),
+(11,3,24,32,55,43,36,39),
+(11,3,25,33,57,44,37,40),
+(11,3,26,33,58,46,37,41),
+(11,3,27,34,60,47,38,42),
+(11,3,28,35,62,48,39,42),
+(11,3,29,35,63,49,40,43),
+(11,3,30,36,65,50,40,44),
+(11,3,31,36,67,52,41,45),
+(11,3,32,37,69,53,42,46),
+(11,3,33,38,71,54,43,47),
+(11,3,34,38,72,55,44,48),
+(11,3,35,39,74,57,44,48),
+(11,3,36,39,76,58,45,49),
+(11,3,37,40,78,59,46,50),
+(11,3,38,41,80,60,47,51),
+(11,3,39,41,82,62,48,52),
+(11,3,40,42,84,63,49,53),
+(11,3,41,43,86,64,50,54),
+(11,3,42,43,88,66,50,55),
+(11,3,43,44,90,67,51,56),
+(11,3,44,45,91,68,52,57),
+(11,3,45,45,93,70,53,58),
+(11,3,46,46,95,71,54,59),
+(11,3,47,47,98,72,55,60),
+(11,3,48,48,100,74,56,61),
+(11,3,49,48,102,75,57,62),
+(11,3,50,49,104,77,58,63),
+(11,3,51,50,106,78,59,64),
+(11,3,52,51,108,79,60,65),
+(11,3,53,51,110,81,61,66),
+(11,3,54,52,112,82,61,67),
+(11,3,55,53,114,84,62,68),
+(11,3,56,54,116,85,63,69),
+(11,3,57,54,118,87,64,70),
+(11,3,58,55,121,88,65,71),
+(11,3,59,56,123,90,66,72),
+(11,3,60,57,125,91,67,74),
+(11,3,61,58,127,93,68,75),
+(11,3,62,58,130,94,69,76),
+(11,3,63,59,132,96,71,77),
+(11,3,64,60,134,97,72,78),
+(11,3,65,61,136,99,73,79),
+(11,3,66,62,139,101,74,80),
+(11,3,67,62,141,102,75,81),
+(11,3,68,63,143,104,76,83),
+(11,3,69,64,146,105,77,84),
+(11,3,70,65,148,107,78,85),
+(11,5,1,21,17,19,23,25),
+(11,5,2,21,17,19,24,26),
+(11,5,3,21,17,20,26,28),
+(11,5,4,21,18,20,27,29),
+(11,5,5,22,18,20,28,30),
+(11,5,6,22,18,21,30,32),
+(11,5,7,22,18,21,31,33),
+(11,5,8,22,19,22,32,35),
+(11,5,9,22,19,22,34,36),
+(11,5,10,22,19,22,35,38),
+(11,5,11,23,19,23,37,39),
+(11,5,12,23,20,23,38,41),
+(11,5,13,23,20,24,39,42),
+(11,5,14,23,20,24,41,44),
+(11,5,15,23,20,25,42,45),
+(11,5,16,24,21,25,44,47),
+(11,5,17,24,21,25,45,48),
+(11,5,18,24,21,26,47,50),
+(11,5,19,24,22,26,48,51),
+(11,5,20,24,22,27,50,53),
+(11,5,21,25,22,27,51,55),
+(11,5,22,25,22,28,53,56),
+(11,5,23,25,23,28,55,58),
+(11,5,24,25,23,29,56,60),
+(11,5,25,25,23,29,58,61),
+(11,5,26,26,24,30,60,63),
+(11,5,27,26,24,30,61,65),
+(11,5,28,26,24,31,63,66),
+(11,5,29,26,25,31,65,68),
+(11,5,30,27,25,32,66,70),
+(11,5,31,27,25,32,68,72),
+(11,5,32,27,26,33,70,73),
+(11,5,33,27,26,33,71,75),
+(11,5,34,28,26,34,73,77),
+(11,5,35,28,27,34,75,79),
+(11,5,36,28,27,35,77,81),
+(11,5,37,29,28,35,79,83),
+(11,5,38,29,28,36,80,85),
+(11,5,39,29,28,37,82,86),
+(11,5,40,29,29,37,84,88),
+(11,5,41,30,29,38,86,90),
+(11,5,42,30,29,38,88,92),
+(11,5,43,30,30,39,90,94),
+(11,5,44,31,30,39,91,96),
+(11,5,45,31,31,40,93,98),
+(11,5,46,31,31,41,95,100),
+(11,5,47,32,31,41,97,102),
+(11,5,48,32,32,42,99,104),
+(11,5,49,32,32,43,101,106),
+(11,5,50,33,33,43,103,108),
+(11,5,51,33,33,44,105,110),
+(11,5,52,33,34,44,107,113),
+(11,5,53,34,34,45,109,115),
+(11,5,54,34,34,46,111,117),
+(11,5,55,34,35,46,113,119),
+(11,5,56,35,35,47,115,121),
+(11,5,57,35,36,48,118,123),
+(11,5,58,35,36,48,120,126),
+(11,5,59,36,37,49,122,128),
+(11,5,60,36,37,50,124,130),
+(11,5,61,36,38,51,126,132),
+(11,5,62,37,38,51,128,134),
+(11,5,63,37,39,52,130,137),
+(11,5,64,38,39,53,133,139),
+(11,5,65,38,40,53,135,141),
+(11,5,66,38,40,54,137,144),
+(11,5,67,39,40,55,139,146),
+(11,5,68,39,41,56,141,148),
+(11,5,69,40,41,56,144,151),
+(11,5,70,40,42,57,146,153),
+(11,7,1,22,17,20,22,24),
+(11,7,2,23,17,21,23,25),
+(11,7,3,24,18,22,24,26),
+(11,7,4,25,18,23,25,27),
+(11,7,5,25,19,24,26,28),
+(11,7,6,26,19,25,27,29),
+(11,7,7,27,20,26,28,30),
+(11,7,8,28,20,27,28,31),
+(11,7,9,29,21,28,29,32),
+(11,7,10,30,21,29,30,33),
+(11,7,11,31,22,30,31,35),
+(11,7,12,32,22,31,32,36),
+(11,7,13,33,23,32,33,37),
+(11,7,14,34,23,33,34,38),
+(11,7,15,34,24,35,35,39),
+(11,7,16,35,24,36,36,40),
+(11,7,17,36,25,37,38,42),
+(11,7,18,37,25,38,39,43),
+(11,7,19,38,26,39,40,44),
+(11,7,20,39,26,40,41,45),
+(11,7,21,40,27,41,42,46),
+(11,7,22,41,27,43,43,48),
+(11,7,23,43,28,44,44,49),
+(11,7,24,44,28,45,45,50),
+(11,7,25,45,29,46,46,51),
+(11,7,26,46,30,47,48,53),
+(11,7,27,47,30,49,49,54),
+(11,7,28,48,31,50,50,55),
+(11,7,29,49,31,51,51,57),
+(11,7,30,50,32,53,52,58),
+(11,7,31,51,33,54,53,59),
+(11,7,32,52,33,55,55,61),
+(11,7,33,53,34,56,56,62),
+(11,7,34,55,34,58,57,64),
+(11,7,35,56,35,59,58,65),
+(11,7,36,57,36,60,60,66),
+(11,7,37,58,36,62,61,68),
+(11,7,38,59,37,63,62,69),
+(11,7,39,61,38,65,63,71),
+(11,7,40,62,38,66,65,72),
+(11,7,41,63,39,67,66,74),
+(11,7,42,64,40,69,67,75),
+(11,7,43,65,40,70,69,77),
+(11,7,44,67,41,72,70,78),
+(11,7,45,68,42,73,71,80),
+(11,7,46,69,42,75,73,81),
+(11,7,47,71,43,76,74,83),
+(11,7,48,72,44,78,76,84),
+(11,7,49,73,45,79,77,86),
+(11,7,50,74,45,81,78,88),
+(11,7,51,76,46,82,80,89),
+(11,7,52,77,47,84,81,91),
+(11,7,53,78,47,85,83,92),
+(11,7,54,80,48,87,84,94),
+(11,7,55,81,49,88,86,96),
+(11,7,56,83,50,90,87,97),
+(11,7,57,84,50,91,89,99),
+(11,7,58,85,51,93,90,101),
+(11,7,59,87,52,95,92,102),
+(11,7,60,88,53,96,93,104),
+(11,7,61,90,54,98,95,106),
+(11,7,62,91,54,99,96,108),
+(11,7,63,93,55,101,98,109),
+(11,7,64,94,56,103,99,111),
+(11,7,65,95,57,104,101,113),
+(11,7,66,97,58,106,103,115),
+(11,7,67,98,58,108,104,117),
+(11,7,68,100,59,110,106,118),
+(11,7,69,101,60,111,107,120),
+(11,7,70,103,61,113,109,122),
+(11,8,1,21,17,19,24,24),
+(11,8,2,21,17,19,25,25),
+(11,8,3,21,17,20,27,27),
+(11,8,4,21,17,20,28,28),
+(11,8,5,21,18,20,29,29),
+(11,8,6,21,18,20,31,31),
+(11,8,7,21,18,21,32,32),
+(11,8,8,22,18,21,34,33),
+(11,8,9,22,18,21,35,35),
+(11,8,10,22,19,22,37,36),
+(11,8,11,22,19,22,38,37),
+(11,8,12,22,19,22,40,39),
+(11,8,13,22,19,23,41,40),
+(11,8,14,22,19,23,43,42),
+(11,8,15,22,19,23,44,43),
+(11,8,16,22,20,24,46,45),
+(11,8,17,23,20,24,47,46),
+(11,8,18,23,20,24,49,48),
+(11,8,19,23,20,25,50,49),
+(11,8,20,23,21,25,52,51),
+(11,8,21,23,21,26,54,52),
+(11,8,22,23,21,26,55,54),
+(11,8,23,23,21,26,57,56),
+(11,8,24,24,21,27,59,57),
+(11,8,25,24,22,27,60,59),
+(11,8,26,24,22,27,62,60),
+(11,8,27,24,22,28,64,62),
+(11,8,28,24,22,28,65,64),
+(11,8,29,24,23,29,67,65),
+(11,8,30,24,23,29,69,67),
+(11,8,31,25,23,30,71,69),
+(11,8,32,25,23,30,73,71),
+(11,8,33,25,24,30,74,72),
+(11,8,34,25,24,31,76,74),
+(11,8,35,25,24,31,78,76),
+(11,8,36,26,24,32,80,78),
+(11,8,37,26,25,32,82,79),
+(11,8,38,26,25,33,84,81),
+(11,8,39,26,25,33,86,83),
+(11,8,40,26,26,34,87,85),
+(11,8,41,27,26,34,89,87),
+(11,8,42,27,26,35,91,89),
+(11,8,43,27,27,35,93,91),
+(11,8,44,27,27,36,95,92),
+(11,8,45,27,27,36,97,94),
+(11,8,46,28,27,37,99,96),
+(11,8,47,28,28,37,101,98),
+(11,8,48,28,28,38,103,100),
+(11,8,49,28,28,38,105,102),
+(11,8,50,29,29,39,107,104),
+(11,8,51,29,29,39,110,106),
+(11,8,52,29,29,40,112,108),
+(11,8,53,29,30,40,114,110),
+(11,8,54,30,30,41,116,112),
+(11,8,55,30,30,41,118,114),
+(11,8,56,30,31,42,120,116),
+(11,8,57,30,31,42,122,118),
+(11,8,58,31,31,43,125,121),
+(11,8,59,31,32,43,127,123),
+(11,8,60,31,32,44,129,125),
+(11,8,61,31,33,45,131,127),
+(11,8,62,32,33,45,133,129),
+(11,8,63,32,33,46,136,131),
+(11,8,64,32,34,46,138,134),
+(11,8,65,33,34,47,140,136),
+(11,8,66,33,34,48,143,138),
+(11,8,67,33,35,48,145,140),
+(11,8,68,33,35,49,147,142),
+(11,8,69,34,36,49,150,145),
+(11,8,70,34,36,50,152,147);
+/*!40000 ALTER TABLE `player_levelstats` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `playercreateinfo`
+--
+
+DROP TABLE IF EXISTS `playercreateinfo`;
+CREATE TABLE `playercreateinfo` (
+ `race` tinyint(3) unsigned NOT NULL default '0',
+ `class` tinyint(3) unsigned NOT NULL default '0',
+ `map` smallint(5) unsigned NOT NULL default '0',
+ `zone` mediumint(8) unsigned NOT NULL default '0',
+ `position_x` float NOT NULL default '0',
+ `position_y` float NOT NULL default '0',
+ `position_z` float NOT NULL default '0',
+ PRIMARY KEY (`race`,`class`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `playercreateinfo`
+--
+
+LOCK TABLES `playercreateinfo` WRITE;
+/*!40000 ALTER TABLE `playercreateinfo` DISABLE KEYS */;
+INSERT INTO `playercreateinfo` VALUES
+(1,1,0,12,-8949,-132,84),
+(1,2,0,12,-8949,-132,84),
+(1,4,0,12,-8949,-132,84),
+(1,5,0,12,-8949,-132,84),
+(1,8,0,12,-8949,-132,84),
+(1,9,0,12,-8949,-132,84),
+(2,1,1,14,-618,-4251,39),
+(2,3,1,14,-618,-4251,39),
+(2,4,1,14,-618,-4251,39),
+(2,7,1,14,-618,-4251,39),
+(2,9,1,14,-618,-4251,39),
+(3,1,0,1,-6240,331,383),
+(3,2,0,1,-6240,331,383),
+(3,3,0,1,-6240,331,383),
+(3,4,0,1,-6240,331,383),
+(3,5,0,1,-6240,331,383),
+(4,1,1,141,10311,832,1327),
+(4,3,1,141,10311,832,1327),
+(4,4,1,141,10311,832,1327),
+(4,5,1,141,10311,832,1327),
+(4,11,1,141,10311,832,1327),
+(5,1,0,85,1676,1677,122),
+(5,4,0,85,1676,1677,122),
+(5,5,0,85,1676,1677,122),
+(5,8,0,85,1676,1677,122),
+(5,9,0,85,1676,1677,122),
+(6,1,1,215,-2917,-257,53),
+(6,3,1,215,-2917,-257,53),
+(6,7,1,215,-2917,-257,53),
+(6,11,1,215,-2917,-257,53),
+(7,1,0,1,-6240,331,383),
+(7,4,0,1,-6340,331,383),
+(7,8,0,1,-6340,331,383),
+(7,9,0,1,-6340,331,383),
+(8,1,1,14,-618,-4251,39),
+(8,3,1,14,-618,-4251,39),
+(8,4,1,14,-618,-4251,39),
+(8,5,1,14,-618,-4251,39),
+(8,7,1,14,-618,-4251,39),
+(8,8,1,14,-618,-4251,39),
+(10,2,530,3431,10349.6,-6357.29,33.4026),
+(10,3,530,3431,10349.6,-6357.29,33.4026),
+(10,4,530,3431,10349.6,-6357.29,33.4026),
+(10,5,530,3431,10349.6,-6357.29,33.4026),
+(10,8,530,3431,10349.6,-6357.29,33.4026),
+(10,9,530,3431,10349.6,-6357.29,33.4026),
+(11,1,530,3526,-3961.64,-13931.2,100.615),
+(11,2,530,3526,-3961.64,-13931.2,100.615),
+(11,3,530,3526,-3961.64,-13931.2,100.615),
+(11,5,530,3526,-3961.64,-13931.2,100.615),
+(11,7,530,3526,-3961.64,-13931.2,100.615),
+(11,8,530,3526,-3961.64,-13931.2,100.615);
+/*!40000 ALTER TABLE `playercreateinfo` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `playercreateinfo_action`
+--
+
+DROP TABLE IF EXISTS `playercreateinfo_action`;
+CREATE TABLE `playercreateinfo_action` (
+ `race` tinyint(3) unsigned NOT NULL default '0',
+ `class` tinyint(3) unsigned NOT NULL default '0',
+ `button` smallint(5) unsigned NOT NULL default '0',
+ `action` smallint(5) unsigned NOT NULL default '0',
+ `type` smallint(5) unsigned NOT NULL default '0',
+ `misc` smallint(5) unsigned NOT NULL default '0',
+ KEY `playercreateinfo_race_class_index` (`race`,`class`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `playercreateinfo_action`
+--
+
+LOCK TABLES `playercreateinfo_action` WRITE;
+/*!40000 ALTER TABLE `playercreateinfo_action` DISABLE KEYS */;
+INSERT INTO `playercreateinfo_action` VALUES
+(1,1,1,78,0,0),
+(1,1,0,6603,0,0),
+(1,1,11,117,128,0),
+(1,2,2,635,0,0),
+(1,2,0,6603,0,0),
+(1,2,1,21084,0,0),
+(1,2,10,159,128,0),
+(1,2,11,2070,128,0),
+(1,4,1,1752,0,0),
+(1,4,2,2098,0,0),
+(1,4,3,2764,0,0),
+(1,4,0,6603,0,0),
+(1,4,11,2070,128,0),
+(1,5,1,585,0,0),
+(1,5,2,2050,0,0),
+(1,5,0,6603,0,0),
+(1,5,10,159,128,0),
+(1,5,11,2070,128,0),
+(1,8,1,133,0,0),
+(1,8,2,168,0,0),
+(1,8,0,6603,0,0),
+(1,8,10,159,128,0),
+(1,8,11,2070,128,0),
+(1,9,1,686,0,0),
+(1,9,2,687,0,0),
+(1,9,0,6603,0,0),
+(1,9,10,159,128,0),
+(1,9,11,4604,128,0),
+(2,1,1,78,0,0),
+(2,1,0,6603,0,0),
+(2,1,11,117,128,0),
+(2,3,2,75,0,0),
+(2,3,1,2973,0,0),
+(2,3,0,6603,0,0),
+(2,3,11,117,128,0),
+(2,3,10,159,128,0),
+(2,4,10,0,128,0),
+(2,4,1,1752,0,0),
+(2,4,2,2098,0,0),
+(2,4,0,6603,0,0),
+(2,4,11,117,128,0),
+(2,7,2,331,0,0),
+(2,7,1,403,0,0),
+(2,7,0,6603,0,0),
+(2,7,11,117,128,0),
+(2,7,10,159,128,0),
+(2,9,1,686,0,0),
+(2,9,2,687,0,0),
+(2,9,0,6603,0,0),
+(2,9,11,117,128,0),
+(2,9,10,159,128,0),
+(3,1,1,78,0,0),
+(3,1,0,6603,0,0),
+(3,1,11,117,128,0),
+(3,2,2,635,0,0),
+(3,2,0,6603,0,0),
+(3,2,1,21084,0,0),
+(3,2,10,159,128,0),
+(3,2,11,4540,128,0),
+(3,3,2,75,0,0),
+(3,3,1,2973,0,0),
+(3,3,0,6603,0,0),
+(3,3,11,117,128,0),
+(3,3,10,159,128,0),
+(3,4,1,1752,0,0),
+(3,4,2,2098,0,0),
+(3,4,3,2764,0,0),
+(3,4,0,6603,0,0),
+(3,4,11,4540,128,0),
+(3,5,1,585,0,0),
+(3,5,2,2050,0,0),
+(3,5,0,6603,0,0),
+(3,5,10,159,128,0),
+(3,5,11,4540,128,0),
+(4,1,1,78,0,0),
+(4,1,0,6603,0,0),
+(4,1,11,117,128,0),
+(4,3,2,75,0,0),
+(4,3,1,2973,0,0),
+(4,3,0,6603,0,0),
+(4,3,11,117,128,0),
+(4,3,10,159,128,0),
+(4,4,1,1752,0,0),
+(4,4,2,2098,0,0),
+(4,4,3,2764,0,0),
+(4,4,0,6603,0,0),
+(4,4,11,4540,128,0),
+(4,5,1,585,0,0),
+(4,5,2,2050,0,0),
+(4,5,0,6603,0,0),
+(4,5,10,159,128,0),
+(4,5,11,2070,128,0),
+(4,11,1,5176,0,0),
+(4,11,2,5185,0,0),
+(4,11,0,6603,0,0),
+(4,11,10,159,128,0),
+(4,11,11,4536,128,0),
+(5,1,11,4604,128,0),
+(5,1,0,6603,0,0),
+(5,1,1,78,0,0),
+(5,4,11,4604,128,0),
+(5,4,3,2764,0,0),
+(5,4,2,2098,0,0),
+(5,4,1,1752,0,0),
+(5,4,0,6603,0,0),
+(5,5,10,159,128,0),
+(5,5,2,2050,0,0),
+(5,5,1,585,0,0),
+(5,5,11,4604,128,0),
+(5,5,0,6603,0,0),
+(5,8,11,4604,128,0),
+(5,8,10,159,128,0),
+(5,8,2,168,0,0),
+(5,8,1,133,0,0),
+(5,8,0,6603,0,0),
+(5,9,1,686,0,0),
+(5,9,10,159,128,0),
+(5,9,2,687,0,0),
+(5,9,11,4604,128,0),
+(5,9,0,6603,0,0),
+(6,1,1,78,0,0),
+(6,1,2,20549,0,0),
+(6,1,11,4540,128,0),
+(6,1,0,6603,0,0),
+(6,3,1,2973,0,0),
+(6,3,10,159,128,0),
+(6,3,2,75,0,0),
+(6,3,3,20549,0,0),
+(6,3,11,117,128,0),
+(6,3,0,6603,0,0),
+(6,7,1,403,0,0),
+(6,7,10,159,128,0),
+(6,7,2,331,0,0),
+(6,7,3,20549,0,0),
+(6,7,11,4604,128,0),
+(6,7,0,6603,0,0),
+(6,11,1,5176,0,0),
+(6,11,10,159,128,0),
+(6,11,2,5185,0,0),
+(6,11,3,20549,0,0),
+(6,11,11,4536,128,0),
+(6,11,0,6603,0,0),
+(7,1,11,117,128,0),
+(7,1,1,78,0,0),
+(7,1,0,6603,0,0),
+(7,4,11,117,128,0),
+(7,4,3,2764,0,0),
+(7,4,1,1752,0,0),
+(7,4,2,2098,0,0),
+(7,4,0,6603,0,0),
+(7,8,11,4536,128,0),
+(7,8,1,133,0,0),
+(7,8,2,168,0,0),
+(7,8,10,159,128,0),
+(7,8,0,6603,0,0),
+(7,9,11,4604,128,0),
+(7,9,1,686,0,0),
+(7,9,2,687,0,0),
+(7,9,10,159,128,0),
+(7,9,0,6603,0,0),
+(8,1,11,117,128,0),
+(8,1,1,78,0,0),
+(8,1,3,2764,0,0),
+(8,1,0,6603,0,0),
+(8,3,10,159,128,0),
+(8,3,11,4604,128,0),
+(8,3,1,2973,0,0),
+(8,3,2,75,0,0),
+(8,3,0,6603,0,0),
+(8,4,1,1752,0,0),
+(8,4,3,2764,0,0),
+(8,4,2,2098,0,0),
+(8,4,11,117,128,0),
+(8,4,0,6603,0,0),
+(8,5,1,585,0,0),
+(8,5,10,159,128,0),
+(8,5,2,2050,0,0),
+(8,5,11,4540,128,0),
+(8,5,0,6603,0,0),
+(8,7,1,403,0,0),
+(8,7,10,159,128,0),
+(8,7,2,331,0,0),
+(8,7,11,117,128,0),
+(8,7,0,6603,0,0),
+(8,8,1,133,0,0),
+(8,8,10,159,128,0),
+(8,8,2,168,0,0),
+(8,8,11,117,128,0),
+(8,8,0,6603,0,0),
+(10,2,0,6603,0,0),
+(10,2,1,21084,0,0),
+(10,2,2,635,0,0),
+(10,2,3,28734,0,0),
+(10,2,4,28730,0,0),
+(10,2,10,159,128,0),
+(10,2,11,20857,128,0),
+(10,3,0,6603,0,0),
+(10,3,1,2973,0,0),
+(10,3,2,75,0,0),
+(10,3,3,28734,0,0),
+(10,3,4,28730,0,0),
+(10,3,10,159,128,0),
+(10,3,11,20857,128,0),
+(10,4,0,6603,0,0),
+(10,4,1,1752,0,0),
+(10,4,2,2098,0,0),
+(10,4,3,2764,0,0),
+(10,4,4,28734,0,0),
+(10,4,5,25046,0,0),
+(10,4,11,20857,128,0),
+(10,5,0,6603,0,0),
+(10,5,1,585,0,0),
+(10,5,2,2050,0,0),
+(10,5,3,28734,0,0),
+(10,5,4,28730,0,0),
+(10,5,10,159,128,0),
+(10,5,11,20857,128,0),
+(10,8,0,6603,0,0),
+(10,8,1,133,0,0),
+(10,8,2,168,0,0),
+(10,8,3,28734,0,0),
+(10,8,4,28730,0,0),
+(10,8,10,159,128,0),
+(10,8,11,20857,128,0),
+(10,9,11,20857,128,0),
+(10,9,10,159,128,0),
+(10,9,4,28730,0,0),
+(10,9,3,28734,0,0),
+(10,9,2,687,0,0),
+(10,9,1,686,0,0),
+(10,9,0,6603,0,0),
+(11,1,0,6603,0,0),
+(11,1,72,6603,0,0),
+(11,1,73,78,0,0),
+(11,1,74,28880,0,0),
+(11,1,83,4540,128,0),
+(11,1,84,6603,0,0),
+(11,1,96,6603,0,0),
+(11,1,108,6603,0,0),
+(11,2,0,6603,0,0),
+(11,2,1,21084,0,0),
+(11,2,2,635,0,0),
+(11,2,3,28880,0,0),
+(11,2,10,159,128,0),
+(11,2,11,4540,128,0),
+(11,2,83,4540,128,0),
+(11,3,0,6603,0,0),
+(11,3,1,2973,0,0),
+(11,3,2,75,0,0),
+(11,3,3,28880,0,0),
+(11,3,10,159,128,0),
+(11,3,11,4540,128,0),
+(11,3,72,6603,0,0),
+(11,3,73,2973,0,0),
+(11,3,74,75,0,0),
+(11,3,82,159,128,0),
+(11,3,83,4540,128,0),
+(11,5,0,6603,0,0),
+(11,5,1,585,0,0),
+(11,5,2,2050,0,0),
+(11,5,3,28880,0,0),
+(11,5,10,159,128,0),
+(11,5,11,4540,128,0),
+(11,5,83,4540,128,0),
+(11,7,0,6603,0,0),
+(11,7,1,403,0,0),
+(11,7,2,331,0,0),
+(11,7,3,28880,0,0),
+(11,7,10,159,128,0),
+(11,7,11,4540,128,0),
+(11,8,0,6603,0,0),
+(11,8,1,133,0,0),
+(11,8,2,168,0,0),
+(11,8,3,28880,0,0),
+(11,8,10,159,128,0),
+(11,8,11,4540,128,0),
+(11,8,83,4540,128,0);
+/*!40000 ALTER TABLE `playercreateinfo_action` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `playercreateinfo_item`
+--
+
+DROP TABLE IF EXISTS `playercreateinfo_item`;
+CREATE TABLE `playercreateinfo_item` (
+ `race` tinyint(3) unsigned NOT NULL default '0',
+ `class` tinyint(3) unsigned NOT NULL default '0',
+ `itemid` mediumint(8) unsigned NOT NULL default '0',
+ `amount` tinyint(3) unsigned NOT NULL default '1',
+ KEY `playercreateinfo_race_class_index` (`race`,`class`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `playercreateinfo_item`
+--
+
+LOCK TABLES `playercreateinfo_item` WRITE;
+/*!40000 ALTER TABLE `playercreateinfo_item` DISABLE KEYS */;
+INSERT INTO `playercreateinfo_item` VALUES
+(1,1,38,1),
+(1,1,39,1),
+(1,1,40,1),
+(1,1,25,1),
+(1,1,2362,1),
+(1,1,117,4),
+(1,1,6948,1),
+(1,1,14646,1),
+(1,2,45,1),
+(1,2,44,1),
+(1,2,43,1),
+(1,2,2361,1),
+(1,2,6948,1),
+(1,2,159,2),
+(1,2,2070,4),
+(1,2,14646,1),
+(1,4,49,1),
+(1,4,48,1),
+(1,4,47,1),
+(1,4,2092,1),
+(1,4,2947,100),
+(1,4,2070,4),
+(1,4,6948,1),
+(1,4,14646,1),
+(1,5,53,1),
+(1,5,6098,1),
+(1,5,52,1),
+(1,5,51,1),
+(1,5,36,1),
+(1,5,159,2),
+(1,5,2070,4),
+(1,5,6948,1),
+(1,5,14646,1),
+(1,8,6096,1),
+(1,8,56,1),
+(1,8,1395,1),
+(1,8,55,1),
+(1,8,35,1),
+(1,8,2070,4),
+(1,8,159,2),
+(1,8,6948,1),
+(1,8,14646,1),
+(1,9,6097,1),
+(1,9,57,1),
+(1,9,1396,1),
+(1,9,59,1),
+(1,9,2092,1),
+(1,9,4604,4),
+(1,9,159,2),
+(1,9,6948,1),
+(1,9,14646,1),
+(2,1,6125,1),
+(2,1,139,1),
+(2,1,140,1),
+(2,1,12282,1),
+(2,1,6948,1),
+(2,1,117,4),
+(2,1,14649,1),
+(2,3,127,1),
+(2,3,6126,1),
+(2,3,6127,1),
+(2,3,37,1),
+(2,3,2504,1),
+(2,3,159,2),
+(2,3,117,4),
+(2,3,6948,1),
+(2,3,14649,1),
+(2,3,2512,200),
+(2,3,2101,1),
+(2,4,2105,1),
+(2,4,120,1),
+(2,4,121,1),
+(2,4,2092,1),
+(2,4,25861,100),
+(2,4,117,4),
+(2,4,6948,1),
+(2,4,14649,1),
+(2,7,154,1),
+(2,7,153,1),
+(2,7,36,1),
+(2,7,6948,1),
+(2,7,117,4),
+(2,7,159,2),
+(2,7,14649,1),
+(2,9,6129,1),
+(2,9,1396,1),
+(2,9,59,1),
+(2,9,2092,1),
+(2,9,6948,1),
+(2,9,117,4),
+(2,9,159,2),
+(2,9,14649,1),
+(3,1,38,1),
+(3,1,39,1),
+(3,1,40,1),
+(3,1,12282,1),
+(3,1,6948,1),
+(3,1,117,4),
+(3,1,14647,1),
+(3,2,45,1),
+(3,2,44,1),
+(3,2,43,1),
+(3,2,2361,1),
+(3,2,4540,4),
+(3,2,159,2),
+(3,2,6948,1),
+(3,2,14647,1),
+(3,3,148,1),
+(3,3,147,1),
+(3,3,129,1),
+(3,3,37,1),
+(3,3,2508,1),
+(3,3,159,2),
+(3,3,117,4),
+(3,3,6948,1),
+(3,3,14647,1),
+(3,3,2516,200),
+(3,3,2102,1),
+(3,4,49,1),
+(3,4,48,1),
+(3,4,47,1),
+(3,4,2092,1),
+(3,4,25861,100),
+(3,4,4540,4),
+(3,4,6948,1),
+(3,4,14647,1),
+(3,5,53,1),
+(3,5,6098,1),
+(3,5,52,1),
+(3,5,51,1),
+(3,5,36,1),
+(3,5,159,2),
+(3,5,4540,4),
+(3,5,6948,1),
+(3,5,14647,1),
+(4,1,38,1),
+(4,1,39,1),
+(4,1,40,1),
+(4,1,25,1),
+(4,1,2362,1),
+(4,1,117,4),
+(4,1,6948,1),
+(4,1,14648,1),
+(4,3,148,1),
+(4,3,147,1),
+(4,3,129,1),
+(4,3,2092,1),
+(4,3,2504,1),
+(4,3,159,2),
+(4,3,117,4),
+(4,3,6948,1),
+(4,3,14648,1),
+(4,3,2512,200),
+(4,3,2101,1),
+(4,4,49,1),
+(4,4,48,1),
+(4,4,47,1),
+(4,4,2092,1),
+(4,4,2947,100),
+(4,4,4540,4),
+(4,4,6948,1),
+(4,4,14648,1),
+(4,5,53,1),
+(4,5,6119,1),
+(4,5,52,1),
+(4,5,51,1),
+(4,5,36,1),
+(4,5,2070,4),
+(4,5,159,2),
+(4,5,6948,1),
+(4,5,14648,1),
+(4,11,6123,1),
+(4,11,44,1),
+(4,11,3661,1),
+(4,11,159,2),
+(4,11,4536,4),
+(4,11,6948,1),
+(4,11,14648,1),
+(5,1,6125,1),
+(5,1,139,1),
+(5,1,140,1),
+(5,1,25,1),
+(5,1,2362,1),
+(5,1,4604,4),
+(5,1,6948,1),
+(5,1,14651,1),
+(5,4,2105,1),
+(5,4,120,1),
+(5,4,121,1),
+(5,4,2092,1),
+(5,4,2947,100),
+(5,4,4604,4),
+(5,4,6948,1),
+(5,4,14651,1),
+(5,5,53,1),
+(5,5,6144,1),
+(5,5,52,1),
+(5,5,51,1),
+(5,5,36,1),
+(5,5,4604,4),
+(5,5,159,2),
+(5,5,6948,1),
+(5,5,14651,1),
+(5,8,6096,1),
+(5,8,6140,1),
+(5,8,1395,1),
+(5,8,55,1),
+(5,8,35,1),
+(5,8,4604,4),
+(5,8,159,2),
+(5,8,6948,1),
+(5,8,14651,1),
+(5,9,6129,1),
+(5,9,1396,1),
+(5,9,59,1),
+(5,9,2092,1),
+(5,9,4604,4),
+(5,9,159,2),
+(5,9,6948,1),
+(5,9,14651,1),
+(6,1,6125,1),
+(6,1,139,1),
+(6,1,2361,1),
+(6,1,6948,1),
+(6,1,4540,4),
+(6,1,14650,1),
+(6,3,127,1),
+(6,3,6126,1),
+(6,3,37,1),
+(6,3,2508,1),
+(6,3,159,2),
+(6,3,117,4),
+(6,3,6948,1),
+(6,3,14650,1),
+(6,3,2516,200),
+(6,3,2102,1),
+(6,7,154,1),
+(6,7,153,1),
+(6,7,36,1),
+(6,7,6948,1),
+(6,7,4604,4),
+(6,7,159,2),
+(6,7,14650,1),
+(6,11,6139,1),
+(6,11,6124,1),
+(6,11,35,1),
+(6,11,159,2),
+(6,11,4536,4),
+(6,11,6948,1),
+(6,11,14650,1),
+(7,1,38,1),
+(7,1,39,1),
+(7,1,40,1),
+(7,1,25,1),
+(7,1,2362,1),
+(7,1,117,4),
+(7,1,6948,1),
+(7,1,14647,1),
+(7,4,49,1),
+(7,4,48,1),
+(7,4,47,1),
+(7,4,2092,1),
+(7,4,2947,100),
+(7,4,117,4),
+(7,4,6948,1),
+(7,4,14647,1),
+(7,8,6096,1),
+(7,8,56,1),
+(7,8,1395,1),
+(7,8,55,1),
+(7,8,35,1),
+(7,8,4536,4),
+(7,8,159,2),
+(7,8,6948,1),
+(7,8,14647,1),
+(7,9,6097,1),
+(7,9,57,1),
+(7,9,1396,1),
+(7,9,59,1),
+(7,9,2092,1),
+(7,9,159,2),
+(7,9,4604,4),
+(7,9,6948,1),
+(7,9,14647,1),
+(8,1,6125,1),
+(8,1,139,1),
+(8,1,140,1),
+(8,1,37,1),
+(8,1,2362,1),
+(8,1,25861,100),
+(8,1,117,4),
+(8,1,6948,1),
+(8,1,14649,1),
+(8,3,127,1),
+(8,3,6126,1),
+(8,3,6127,1),
+(8,3,37,1),
+(8,3,2504,1),
+(8,3,4604,4),
+(8,3,159,2),
+(8,3,2512,200),
+(8,3,2101,1),
+(8,3,14649,1),
+(8,3,6948,1),
+(8,4,2105,1),
+(8,4,120,1),
+(8,4,121,1),
+(8,4,2092,1),
+(8,4,25861,100),
+(8,4,117,4),
+(8,4,6948,1),
+(8,4,14649,1),
+(8,5,53,1),
+(8,5,6144,1),
+(8,5,52,1),
+(8,5,36,1),
+(8,5,4540,4),
+(8,5,159,2),
+(8,5,6948,1),
+(8,5,14649,1),
+(8,7,6134,1),
+(8,7,6135,1),
+(8,7,36,1),
+(8,7,117,4),
+(8,7,159,2),
+(8,7,6948,1),
+(8,7,14649,1),
+(8,8,6096,1),
+(8,8,6140,1),
+(8,8,1395,1),
+(8,8,55,1),
+(8,8,35,1),
+(8,8,117,4),
+(8,8,159,2),
+(8,8,6948,1),
+(8,8,14649,1),
+(10,2,159,5),
+(10,2,2070,5),
+(10,2,6948,1),
+(10,2,23346,1),
+(10,2,24143,1),
+(10,2,24145,1),
+(10,2,24146,1),
+(10,3,159,5),
+(10,3,2101,1),
+(10,3,2512,200),
+(10,3,6948,1),
+(10,3,20857,5),
+(10,3,20899,1),
+(10,3,20900,1),
+(10,3,20901,1),
+(10,3,20980,1),
+(10,3,20982,1),
+(10,4,3111,100),
+(10,4,6948,1),
+(10,4,20857,10),
+(10,4,20896,1),
+(10,4,20897,1),
+(10,4,20898,1),
+(10,4,20982,1),
+(10,5,51,1),
+(10,5,52,1),
+(10,5,53,1),
+(10,5,159,5),
+(10,5,6948,1),
+(10,5,20891,1),
+(10,5,20981,5),
+(10,8,35,1),
+(10,8,159,5),
+(10,8,6096,1),
+(10,8,6948,1),
+(10,8,20857,5),
+(10,8,20893,1),
+(10,8,20894,1),
+(10,8,20895,1),
+(10,9,59,1),
+(10,9,159,5),
+(10,9,1396,1),
+(10,9,6948,1),
+(10,9,20857,5),
+(10,9,20892,1),
+(10,9,20983,1),
+(11,1,4540,5),
+(11,1,6948,1),
+(11,1,23346,1),
+(11,1,23473,1),
+(11,1,23474,1),
+(11,1,23475,1),
+(11,2,159,5),
+(11,2,2361,1),
+(11,2,4540,5),
+(11,2,6948,1),
+(11,2,23476,1),
+(11,2,23476,1),
+(11,2,23477,1),
+(11,3,25,1),
+(11,3,159,5),
+(11,3,2101,1),
+(11,3,2504,1),
+(11,3,2512,200),
+(11,3,4540,5),
+(11,3,6948,1),
+(11,3,23344,1),
+(11,3,23345,1),
+(11,3,23348,1),
+(11,5,36,1),
+(11,5,59,1),
+(11,5,159,5),
+(11,5,1396,1),
+(11,5,4540,5),
+(11,5,6097,1),
+(11,5,6948,1),
+(11,5,23322,1),
+(11,7,36,1),
+(11,7,159,5),
+(11,7,4540,5),
+(11,7,6948,1),
+(11,7,23344,1),
+(11,7,23345,1),
+(11,7,23348,1),
+(11,8,35,1),
+(11,8,159,5),
+(11,8,4540,5),
+(11,8,6948,1),
+(11,8,23473,1),
+(11,8,23475,1),
+(11,8,23478,1),
+(11,8,23479,1);
+/*!40000 ALTER TABLE `playercreateinfo_item` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `playercreateinfo_spell`
+--
+
+DROP TABLE IF EXISTS `playercreateinfo_spell`;
+CREATE TABLE `playercreateinfo_spell` (
+ `race` tinyint(3) unsigned NOT NULL default '0',
+ `class` tinyint(3) unsigned NOT NULL default '0',
+ `Spell` mediumint(8) unsigned NOT NULL default '0',
+ `Note` varchar(255) default NULL,
+ `Active` tinyint(3) unsigned NOT NULL default '1',
+ PRIMARY KEY (`race`,`class`,`Spell`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `playercreateinfo_spell`
+--
+
+LOCK TABLES `playercreateinfo_spell` WRITE;
+/*!40000 ALTER TABLE `playercreateinfo_spell` DISABLE KEYS */;
+INSERT INTO `playercreateinfo_spell` VALUES
+(1,1,78,'Heroic Strike',1),
+(1,1,81,'Dodge',1),
+(1,1,107,'Block',1),
+(1,1,196,'One-Handed Axes',1),
+(1,1,198,'One-Handed Maces',1),
+(1,1,201,'One-Handed Swords',1),
+(1,1,203,'Unarmed',1),
+(1,1,204,'Defense',1),
+(1,1,522,'SPELLDEFENSE(DND)',1),
+(1,1,668,'Language Common',1),
+(1,1,2382,'Generic',1),
+(1,1,2457,'Battle Stance',1),
+(1,1,2479,'Honorless Target',1),
+(1,1,3050,'Detect',1),
+(1,1,3365,'Opening',1),
+(1,1,5301,'Defensive State(DND)',1),
+(1,1,6233,'Closing',1),
+(1,1,6246,'Closing',1),
+(1,1,6247,'Opening',1),
+(1,1,6477,'Opening',1),
+(1,1,6478,'Opening',1),
+(1,1,6603,'Attack',1),
+(1,1,7266,'Duel',1),
+(1,1,7267,'Grovel',1),
+(1,1,7355,'Stuck',1),
+(1,1,7376,'Defensive Stance Passive',0),
+(1,1,7381,'Berserker Stance Passive',0),
+(1,1,8386,'Attacking',1),
+(1,1,8737,'Mail',1),
+(1,1,9077,'Leather',1),
+(1,1,9078,'Cloth',1),
+(1,1,9116,'Shield',1),
+(1,1,9125,'Generic',1),
+(1,1,20597,'Sword Specialization',1),
+(1,1,20598,'The Human Spirit',1),
+(1,1,20599,'Diplomacy',1),
+(1,1,20600,'Perception',1),
+(1,1,20864,'Mace Specialization',1),
+(1,1,21156,'Battle Stance Passive',0),
+(1,1,21651,'Opening',1),
+(1,1,21652,'Closing',1),
+(1,1,22027,'Remove Insignia',1),
+(1,1,22810,'Opening - No Text',1),
+(1,1,32215,'Victorious State',1),
+(1,2,81,'Dodge',1),
+(1,2,107,'Block',1),
+(1,2,198,'One-Handed Maces',1),
+(1,2,199,'Two-Handed Maces',1),
+(1,2,203,'Unarmed',1),
+(1,2,204,'Defense',1),
+(1,2,522,'SPELLDEFENSE(DND)',1),
+(1,2,635,'Holy Light',1),
+(1,2,668,'Language Common',1),
+(1,2,2382,'Generic',1),
+(1,2,2479,'Honorless Target',1),
+(1,2,3050,'Detect',1),
+(1,2,3365,'Opening',1),
+(1,2,6233,'Closing',1),
+(1,2,6246,'Closing',1),
+(1,2,6247,'Opening',1),
+(1,2,6477,'Opening',1),
+(1,2,6478,'Opening',1),
+(1,2,6603,'Attack',1),
+(1,2,7266,'Duel',1),
+(1,2,7267,'Grovel',1),
+(1,2,7355,'Stuck',1),
+(1,2,8386,'Attacking',1),
+(1,2,8737,'Mail',1),
+(1,2,9077,'Leather',1),
+(1,2,9078,'Cloth',1),
+(1,2,9116,'Shield',1),
+(1,2,9125,'Generic',1),
+(1,2,21084,'Seal of Righteousness',1),
+(1,2,20597,'Sword Specialization',1),
+(1,2,20598,'The Human Spirit',1),
+(1,2,20599,'Diplomacy',1),
+(1,2,20600,'Perception',1),
+(1,2,20864,'Mace Specialization',1),
+(1,2,21651,'Opening',1),
+(1,2,21652,'Closing',1),
+(1,2,22027,'Remove Insignia',1),
+(1,2,22810,'Opening - No Text',1),
+(1,2,27762,'Libram',1),
+(1,4,81,'Dodge',1),
+(1,4,203,'Unarmed',1),
+(1,4,204,'Defense',1),
+(1,4,522,'SPELLDEFENSE(DND)',1),
+(1,4,668,'Language Common',1),
+(1,4,1180,'Daggers',1),
+(1,4,1752,'Sinister Strike',1),
+(1,4,2098,'Eviscerate',1),
+(1,4,2382,'Generic',1),
+(1,4,2479,'Honorless Target',1),
+(1,4,2567,'Thrown',1),
+(1,4,2764,'Throw',1),
+(1,4,3050,'Detect',1),
+(1,4,3365,'Opening',1),
+(1,4,6233,'Closing',1),
+(1,4,6246,'Closing',1),
+(1,4,6247,'Opening',1),
+(1,4,6477,'Opening',1),
+(1,4,6478,'Opening',1),
+(1,4,6603,'Attack',1),
+(1,4,7266,'Duel',1),
+(1,4,7267,'Grovel',1),
+(1,4,7355,'Stuck',1),
+(1,4,8386,'Attacking',1),
+(1,4,9077,'Leather',1),
+(1,4,9078,'Cloth',1),
+(1,4,9125,'Generic',1),
+(1,4,16092,'Defensive State(DND)',1),
+(1,4,20597,'Sword Specialization',1),
+(1,4,20598,'The Human Spirit',1),
+(1,4,20599,'Diplomacy',1),
+(1,4,20600,'Perception',1),
+(1,4,20864,'Mace Specialization',1),
+(1,4,21184,'Rogue Passive(DND)',1),
+(1,4,21651,'Opening',1),
+(1,4,21652,'Closing',1),
+(1,4,22027,'Remove Insignia',1),
+(1,4,22810,'Opening - No Text',1),
+(1,5,81,'Dodge',1),
+(1,5,198,'One-Handed Maces',1),
+(1,5,203,'Unarmed',1),
+(1,5,204,'Defense',1),
+(1,5,522,'SPELLDEFENSE(DND)',1),
+(1,5,585,'Smite',1),
+(1,5,668,'Language Common',1),
+(1,5,2050,'Lesser Heal',1),
+(1,5,2382,'Generic',1),
+(1,5,2479,'Honorless Target',1),
+(1,5,3050,'Detect',1),
+(1,5,3365,'Opening',1),
+(1,5,5009,'Wands',1),
+(1,5,5019,'Shoot',1),
+(1,5,6233,'Closing',1),
+(1,5,6246,'Closing',1),
+(1,5,6247,'Opening',1),
+(1,5,6477,'Opening',1),
+(1,5,6478,'Opening',1),
+(1,5,6603,'Attack',1),
+(1,5,7266,'Duel',1),
+(1,5,7267,'Grovel',1),
+(1,5,7355,'Stuck',1),
+(1,5,8386,'Attacking',1),
+(1,5,9078,'Cloth',1),
+(1,5,9125,'Generic',1),
+(1,5,20597,'Sword Specialization',1),
+(1,5,20598,'The Human Spirit',1),
+(1,5,20599,'Diplomacy',1),
+(1,5,20600,'Perception',1),
+(1,5,20864,'Mace Specialization',1),
+(1,5,21651,'Opening',1),
+(1,5,21652,'Closing',1),
+(1,5,22027,'Remove Insignia',1),
+(1,5,22810,'Opening - No Text',1),
+(1,8,81,'Dodge',1),
+(1,8,133,'Fireball',1),
+(1,8,168,'Frost Armor',1),
+(1,8,203,'Unarmed',1),
+(1,8,204,'Defense',1),
+(1,8,227,'Staves',1),
+(1,8,522,'SPELLDEFENSE(DND)',1),
+(1,8,668,'Language Common',1),
+(1,8,2382,'Generic',1),
+(1,8,2479,'Honorless Target',1),
+(1,8,3050,'Detect',1),
+(1,8,3365,'Opening',1),
+(1,8,5009,'Wands',1),
+(1,8,5019,'Shoot',1),
+(1,8,6233,'Closing',1),
+(1,8,6246,'Closing',1),
+(1,8,6247,'Opening',1),
+(1,8,6477,'Opening',1),
+(1,8,6478,'Opening',1),
+(1,8,6603,'Attack',1),
+(1,8,7266,'Duel',1),
+(1,8,7267,'Grovel',1),
+(1,8,7355,'Stuck',1),
+(1,8,8386,'Attacking',1),
+(1,8,9078,'Cloth',1),
+(1,8,9125,'Generic',1),
+(1,8,20597,'Sword Specialization',1),
+(1,8,20598,'The Human Spirit',1),
+(1,8,20599,'Diplomacy',1),
+(1,8,20600,'Perception',1),
+(1,8,20864,'Mace Specialization',1),
+(1,8,21651,'Opening',1),
+(1,8,21652,'Closing',1),
+(1,8,22027,'Remove Insignia',1),
+(1,8,22810,'Opening - No Text',1),
+(1,9,81,'Dodge',1),
+(1,9,203,'Unarmed',1),
+(1,9,204,'Defense',1),
+(1,9,522,'SPELLDEFENSE(DND)',1),
+(1,9,668,'Language Common',1),
+(1,9,686,'Shadow Bolt',1),
+(1,9,687,'Demon Skin',1),
+(1,9,1180,'Daggers',1),
+(1,9,2382,'Generic',1),
+(1,9,2479,'Honorless Target',1),
+(1,9,3050,'Detect',1),
+(1,9,3365,'Opening',1),
+(1,9,5009,'Wands',1),
+(1,9,5019,'Shoot',1),
+(1,9,6233,'Closing',1),
+(1,9,6246,'Closing',1),
+(1,9,6247,'Opening',1),
+(1,9,6477,'Opening',1),
+(1,9,6478,'Opening',1),
+(1,9,6603,'Attack',1),
+(1,9,7266,'Duel',1),
+(1,9,7267,'Grovel',1),
+(1,9,7355,'Stuck',1),
+(1,9,8386,'Attacking',1),
+(1,9,9078,'Cloth',1),
+(1,9,9125,'Generic',1),
+(1,9,20597,'Sword Specialization',1),
+(1,9,20598,'The Human Spirit',1),
+(1,9,20599,'Diplomacy',1),
+(1,9,20600,'Perception',1),
+(1,9,20864,'Mace Specialization',1),
+(1,9,21651,'Opening',1),
+(1,9,21652,'Closing',1),
+(1,9,22027,'Remove Insignia',1),
+(1,9,22810,'Opening - No Text',1),
+(2,1,78,'Heroic Strike',1),
+(2,1,81,'Dodge',1),
+(2,1,107,'Block',1),
+(2,1,196,'One-Handed Axes',1),
+(2,1,197,'Two-Handed Axes',1),
+(2,1,201,'One-Handed Swords',1),
+(2,1,203,'Unarmed',1),
+(2,1,204,'Defense',1),
+(2,1,522,'SPELLDEFENSE(DND)',1),
+(2,1,669,'Language Orcish',1),
+(2,1,2382,'Generic',1),
+(2,1,2457,'Battle Stance',1),
+(2,1,2479,'Honorless Target',1),
+(2,1,3050,'Detect',1),
+(2,1,3365,'Opening',1),
+(2,1,5301,'Defensive State(DND)',1),
+(2,1,6233,'Closing',1),
+(2,1,6246,'Closing',1),
+(2,1,6247,'Opening',1),
+(2,1,6477,'Opening',1),
+(2,1,6478,'Opening',1),
+(2,1,6603,'Attack',1),
+(2,1,7266,'Duel',1),
+(2,1,7267,'Grovel',1),
+(2,1,7355,'Stuck',1),
+(2,1,7376,'Defensive Stance Passive',0),
+(2,1,7381,'Berserker Stance Passive',0),
+(2,1,8386,'Attacking',1),
+(2,1,8737,'Mail',1),
+(2,1,9077,'Leather',1),
+(2,1,9078,'Cloth',1),
+(2,1,9116,'Shield',1),
+(2,1,9125,'Generic',1),
+(2,1,20572,'Blood Fury',1),
+(2,1,20573,'Hardiness',1),
+(2,1,20574,'Axe Specialization',1),
+(2,1,21156,'Battle Stance Passive',0),
+(2,1,21563,'Command',1),
+(2,1,21651,'Opening',1),
+(2,1,21652,'Closing',1),
+(2,1,22027,'Remove Insignia',1),
+(2,1,22810,'Opening - No Text',1),
+(2,1,32215,'Victorious State',1),
+(2,3,75,'Auto Shot',1),
+(2,3,81,'Dodge',1),
+(2,3,196,'One-Handed Axes',1),
+(2,3,203,'Unarmed',1),
+(2,3,204,'Defense',1),
+(2,3,264,'Bows',1),
+(2,3,522,'SPELLDEFENSE(DND)',1),
+(2,3,669,'Language Orcish',1),
+(2,3,2382,'Generic',1),
+(2,3,2479,'Honorless Target',1),
+(2,3,2973,'Raptor Strike',1),
+(2,3,3050,'Detect',1),
+(2,3,3365,'Opening',1),
+(2,3,6233,'Closing',1),
+(2,3,6246,'Closing',1),
+(2,3,6247,'Opening',1),
+(2,3,6477,'Opening',1),
+(2,3,6478,'Opening',1),
+(2,3,6603,'Attack',1),
+(2,3,7266,'Duel',1),
+(2,3,7267,'Grovel',1),
+(2,3,7355,'Stuck',1),
+(2,3,8386,'Attacking',1),
+(2,3,9077,'Leather',1),
+(2,3,9078,'Cloth',1),
+(2,3,9125,'Generic',1),
+(2,3,13358,'Defensive State(DND)',1),
+(2,3,20572,'Blood Fury',1),
+(2,3,20573,'Hardiness',1),
+(2,3,20574,'Axe Specialization',1),
+(2,3,20576,'Command',1),
+(2,3,21651,'Opening',1),
+(2,3,21652,'Closing',1),
+(2,3,22027,'Remove Insignia',1),
+(2,3,22810,'Opening - No Text',1),
+(2,3,24949,'Defensive State 2(DND)',1),
+(2,3,34082,'Advantaged State(DND)',1),
+(2,4,81,'Dodge',1),
+(2,4,203,'Unarmed',1),
+(2,4,204,'Defense',1),
+(2,4,522,'SPELLDEFENSE(DND)',1),
+(2,4,669,'Language Orcish',1),
+(2,4,1180,'Daggers',1),
+(2,4,1752,'Sinister Strike',1),
+(2,4,2098,'Eviscerate',1),
+(2,4,2382,'Generic',1),
+(2,4,2479,'Honorless Target',1),
+(2,4,2567,'Thrown',1),
+(2,4,2764,'Throw',1),
+(2,4,3050,'Detect',1),
+(2,4,3365,'Opening',1),
+(2,4,6233,'Closing',1),
+(2,4,6246,'Closing',1),
+(2,4,6247,'Opening',1),
+(2,4,6477,'Opening',1),
+(2,4,6478,'Opening',1),
+(2,4,6603,'Attack',1),
+(2,4,7266,'Duel',1),
+(2,4,7267,'Grovel',1),
+(2,4,7355,'Stuck',1),
+(2,4,8386,'Attacking',1),
+(2,4,9077,'Leather',1),
+(2,4,9078,'Cloth',1),
+(2,4,9125,'Generic',1),
+(2,4,16092,'Defensive State(DND)',1),
+(2,4,20572,'Blood Fury',1),
+(2,4,20573,'Hardiness',1),
+(2,4,20574,'Axe Specialization',1),
+(2,4,21184,'Rogue Passive(DND)',1),
+(2,4,21563,'Command',1),
+(2,4,21651,'Opening',1),
+(2,4,21652,'Closing',1),
+(2,4,22027,'Remove Insignia',1),
+(2,4,22810,'Opening - No Text',1),
+(2,7,81,'Dodge',1),
+(2,7,107,'Block',1),
+(2,7,198,'One-Handed Maces',1),
+(2,7,203,'Unarmed',1),
+(2,7,204,'Defense',1),
+(2,7,227,'Staves',1),
+(2,7,331,'Healing Wave',1),
+(2,7,403,'Lightning Bolt',1),
+(2,7,522,'SPELLDEFENSE(DND)',1),
+(2,7,669,'Language Orcish',1),
+(2,7,2382,'Generic',1),
+(2,7,2479,'Honorless Target',1),
+(2,7,3050,'Detect',1),
+(2,7,3365,'Opening',1),
+(2,7,6233,'Closing',1),
+(2,7,6246,'Closing',1),
+(2,7,6247,'Opening',1),
+(2,7,6477,'Opening',1),
+(2,7,6478,'Opening',1),
+(2,7,6603,'Attack',1),
+(2,7,7266,'Duel',1),
+(2,7,7267,'Grovel',1),
+(2,7,7355,'Stuck',1),
+(2,7,8386,'Attacking',1),
+(2,7,9077,'Leather',1),
+(2,7,9078,'Cloth',1),
+(2,7,9116,'Shield',1),
+(2,7,9125,'Generic',1),
+(2,7,20573,'Hardiness',1),
+(2,7,20574,'Axe Specialization',1),
+(2,7,21563,'Command',1),
+(2,7,21651,'Opening',1),
+(2,7,21652,'Closing',1),
+(2,7,22027,'Remove Insignia',1),
+(2,7,22810,'Opening - No Text',1),
+(2,7,27763,'Totem',1),
+(2,7,33697,'Blood Fury',1),
+(2,9,81,'Dodge',1),
+(2,9,203,'Unarmed',1),
+(2,9,204,'Defense',1),
+(2,9,522,'SPELLDEFENSE(DND)',1),
+(2,9,669,'Language Orcish',1),
+(2,9,686,'Shadow Bolt',1),
+(2,9,687,'Demon Skin',1),
+(2,9,1180,'Daggers',1),
+(2,9,2382,'Generic',1),
+(2,9,2479,'Honorless Target',1),
+(2,9,3050,'Detect',1),
+(2,9,3365,'Opening',1),
+(2,9,5009,'Wands',1),
+(2,9,5019,'Shoot',1),
+(2,9,6233,'Closing',1),
+(2,9,6246,'Closing',1),
+(2,9,6247,'Opening',1),
+(2,9,6477,'Opening',1),
+(2,9,6478,'Opening',1),
+(2,9,6603,'Attack',1),
+(2,9,7266,'Duel',1),
+(2,9,7267,'Grovel',1),
+(2,9,7355,'Stuck',1),
+(2,9,8386,'Attacking',1),
+(2,9,9078,'Cloth',1),
+(2,9,9125,'Generic',1),
+(2,9,20573,'Hardiness',1),
+(2,9,20574,'Axe Specialization',1),
+(2,9,20575,'Command',1),
+(2,9,21651,'Opening',1),
+(2,9,21652,'Closing',1),
+(2,9,22027,'Remove Insignia',1),
+(2,9,22810,'Opening - No Text',1),
+(2,9,33702,'Blood Fury',1),
+(3,1,78,'Heroic Strike',1),
+(3,1,81,'Dodge',1),
+(3,1,107,'Block',1),
+(3,1,196,'One-Handed Axes',1),
+(3,1,197,'Two-Handed Axes',1),
+(3,1,198,'One-Handed Maces',1),
+(3,1,203,'Unarmed',1),
+(3,1,204,'Defense',1),
+(3,1,522,'SPELLDEFENSE(DND)',1),
+(3,1,668,'Language Common',1),
+(3,1,672,'Language Dwarven',1),
+(3,1,2382,'Generic',1),
+(3,1,2457,'Battle Stance',1),
+(3,1,2479,'Honorless Target',1),
+(3,1,2481,'Find Treasure',1),
+(3,1,3050,'Detect',1),
+(3,1,3365,'Opening',1),
+(3,1,5301,'Defensive State(DND)',1),
+(3,1,6233,'Closing',1),
+(3,1,6246,'Closing',1),
+(3,1,6247,'Opening',1),
+(3,1,6477,'Opening',1),
+(3,1,6478,'Opening',1),
+(3,1,6603,'Attack',1),
+(3,1,7266,'Duel',1),
+(3,1,7267,'Grovel',1),
+(3,1,7355,'Stuck',1),
+(3,1,7376,'Defensive Stance Passive',0),
+(3,1,7381,'Berserker Stance Passive',0),
+(3,1,8386,'Attacking',1),
+(3,1,8737,'Mail',1),
+(3,1,9077,'Leather',1),
+(3,1,9078,'Cloth',1),
+(3,1,9116,'Shield',1),
+(3,1,9125,'Generic',1),
+(3,1,20594,'Stoneform',1),
+(3,1,20595,'Gun Specialization',1),
+(3,1,20596,'Frost Resistance',1),
+(3,1,21156,'Battle Stance Passive',0),
+(3,1,21651,'Opening',1),
+(3,1,21652,'Closing',1),
+(3,1,22027,'Remove Insignia',1),
+(3,1,22810,'Opening - No Text',1),
+(3,1,32215,'Victorious State',1),
+(3,2,81,'Dodge',1),
+(3,2,107,'Block',1),
+(3,2,198,'One-Handed Maces',1),
+(3,2,199,'Two-Handed Maces',1),
+(3,2,203,'Unarmed',1),
+(3,2,204,'Defense',1),
+(3,2,522,'SPELLDEFENSE(DND)',1),
+(3,2,635,'Holy Light',1),
+(3,2,668,'Language Common',1),
+(3,2,672,'Language Dwarven',1),
+(3,2,2382,'Generic',1),
+(3,2,2479,'Honorless Target',1),
+(3,2,2481,'Find Treasure',1),
+(3,2,3050,'Detect',1),
+(3,2,3365,'Opening',1),
+(3,2,6233,'Closing',1),
+(3,2,6246,'Closing',1),
+(3,2,6247,'Opening',1),
+(3,2,6477,'Opening',1),
+(3,2,6478,'Opening',1),
+(3,2,6603,'Attack',1),
+(3,2,7266,'Duel',1),
+(3,2,7267,'Grovel',1),
+(3,2,7355,'Stuck',1),
+(3,2,8386,'Attacking',1),
+(3,2,8737,'Mail',1),
+(3,2,9077,'Leather',1),
+(3,2,9078,'Cloth',1),
+(3,2,9116,'Shield',1),
+(3,2,9125,'Generic',1),
+(3,2,21084,'Seal of Righteousness',1),
+(3,2,20594,'Stoneform',1),
+(3,2,20595,'Gun Specialization',1),
+(3,2,20596,'Frost Resistance',1),
+(3,2,21651,'Opening',1),
+(3,2,21652,'Closing',1),
+(3,2,22027,'Remove Insignia',1),
+(3,2,22810,'Opening - No Text',1),
+(3,2,27762,'Libram',1),
+(3,3,75,'Auto Shot',1),
+(3,3,81,'Dodge',1),
+(3,3,196,'One-Handed Axes',1),
+(3,3,203,'Unarmed',1),
+(3,3,204,'Defense',1),
+(3,3,266,'Guns',1),
+(3,3,522,'SPELLDEFENSE(DND)',1),
+(3,3,668,'Language Common',1),
+(3,3,672,'Language Dwarven',1),
+(3,3,2382,'Generic',1),
+(3,3,2479,'Honorless Target',1),
+(3,3,2481,'Find Treasure',1),
+(3,3,2973,'Raptor Strike',1),
+(3,3,3050,'Detect',1),
+(3,3,3365,'Opening',1),
+(3,3,6233,'Closing',1),
+(3,3,6246,'Closing',1),
+(3,3,6247,'Opening',1),
+(3,3,6477,'Opening',1),
+(3,3,6478,'Opening',1),
+(3,3,6603,'Attack',1),
+(3,3,7266,'Duel',1),
+(3,3,7267,'Grovel',1),
+(3,3,7355,'Stuck',1),
+(3,3,8386,'Attacking',1),
+(3,3,9077,'Leather',1),
+(3,3,9078,'Cloth',1),
+(3,3,9125,'Generic',1),
+(3,3,13358,'Defensive State(DND)',1),
+(3,3,20594,'Stoneform',1),
+(3,3,20595,'Gun Specialization',1),
+(3,3,20596,'Frost Resistance',1),
+(3,3,21651,'Opening',1),
+(3,3,21652,'Closing',1),
+(3,3,22027,'Remove Insignia',1),
+(3,3,22810,'Opening - No Text',1),
+(3,3,24949,'Defensive State 2(DND)',1),
+(3,3,34082,'Advantaged State(DND)',1),
+(3,4,81,'Dodge',1),
+(3,4,203,'Unarmed',1),
+(3,4,204,'Defense',1),
+(3,4,522,'SPELLDEFENSE(DND)',1),
+(3,4,668,'Language Common',1),
+(3,4,672,'Language Dwarven',1),
+(3,4,1180,'Daggers',1),
+(3,4,1752,'Sinister Strike',1),
+(3,4,2098,'Eviscerate',1),
+(3,4,2382,'Generic',1),
+(3,4,2479,'Honorless Target',1),
+(3,4,2481,'Find Treasure',1),
+(3,4,2567,'Thrown',1),
+(3,4,2764,'Throw',1),
+(3,4,3050,'Detect',1),
+(3,4,3365,'Opening',1),
+(3,4,6233,'Closing',1),
+(3,4,6246,'Closing',1),
+(3,4,6247,'Opening',1),
+(3,4,6477,'Opening',1),
+(3,4,6478,'Opening',1),
+(3,4,6603,'Attack',1),
+(3,4,7266,'Duel',1),
+(3,4,7267,'Grovel',1),
+(3,4,7355,'Stuck',1),
+(3,4,8386,'Attacking',1),
+(3,4,9077,'Leather',1),
+(3,4,9078,'Cloth',1),
+(3,4,9125,'Generic',1),
+(3,4,16092,'Defensive State(DND)',1),
+(3,4,20594,'Stoneform',1),
+(3,4,20595,'Gun Specialization',1),
+(3,4,20596,'Frost Resistance',1),
+(3,4,21184,'Rogue Passive(DND)',1),
+(3,4,21651,'Opening',1),
+(3,4,21652,'Closing',1),
+(3,4,22027,'Remove Insignia',1),
+(3,4,22810,'Opening - No Text',1),
+(3,5,81,'Dodge',1),
+(3,5,198,'One-Handed Maces',1),
+(3,5,203,'Unarmed',1),
+(3,5,204,'Defense',1),
+(3,5,522,'SPELLDEFENSE(DND)',1),
+(3,5,585,'Smite',1),
+(3,5,668,'Language Common',1),
+(3,5,672,'Language Dwarven',1),
+(3,5,2050,'Lesser Heal',1),
+(3,5,2382,'Generic',1),
+(3,5,2479,'Honorless Target',1),
+(3,5,2481,'Find Treasure',1),
+(3,5,3050,'Detect',1),
+(3,5,3365,'Opening',1),
+(3,5,5009,'Wands',1),
+(3,5,5019,'Shoot',1),
+(3,5,6233,'Closing',1),
+(3,5,6246,'Closing',1),
+(3,5,6247,'Opening',1),
+(3,5,6477,'Opening',1),
+(3,5,6478,'Opening',1),
+(3,5,6603,'Attack',1),
+(3,5,7266,'Duel',1),
+(3,5,7267,'Grovel',1),
+(3,5,7355,'Stuck',1),
+(3,5,8386,'Attacking',1),
+(3,5,9078,'Cloth',1),
+(3,5,9125,'Generic',1),
+(3,5,20594,'Stoneform',1),
+(3,5,20595,'Gun Specialization',1),
+(3,5,20596,'Frost Resistance',1),
+(3,5,21651,'Opening',1),
+(3,5,21652,'Closing',1),
+(3,5,22027,'Remove Insignia',1),
+(3,5,22810,'Opening - No Text',1),
+(4,1,78,'Heroic Strike',1),
+(4,1,81,'Dodge',1),
+(4,1,107,'Block',1),
+(4,1,198,'One-Handed Maces',1),
+(4,1,201,'One-Handed Swords',1),
+(4,1,203,'Unarmed',1),
+(4,1,204,'Defense',1),
+(4,1,522,'SPELLDEFENSE(DND)',1),
+(4,1,668,'Language Common',1),
+(4,1,671,'Language Darnassian',1),
+(4,1,1180,'Daggers',1),
+(4,1,2382,'Generic',1),
+(4,1,2457,'Battle Stance',1),
+(4,1,2479,'Honorless Target',1),
+(4,1,3050,'Detect',1),
+(4,1,3365,'Opening',1),
+(4,1,5301,'Defensive State(DND)',1),
+(4,1,6233,'Closing',1),
+(4,1,6246,'Closing',1),
+(4,1,6247,'Opening',1),
+(4,1,6477,'Opening',1),
+(4,1,6478,'Opening',1),
+(4,1,6603,'Attack',1),
+(4,1,7266,'Duel',1),
+(4,1,7267,'Grovel',1),
+(4,1,7355,'Stuck',1),
+(4,1,7376,'Defensive Stance Passive',0),
+(4,1,7381,'Berserker Stance Passive',0),
+(4,1,8386,'Attacking',1),
+(4,1,8737,'Mail',1),
+(4,1,9077,'Leather',1),
+(4,1,9078,'Cloth',1),
+(4,1,9116,'Shield',1),
+(4,1,9125,'Generic',1),
+(4,1,20580,'Shadowmeld',1),
+(4,1,20582,'Quickness',1),
+(4,1,20583,'Nature Resistance',1),
+(4,1,20585,'Wisp Spirit',1),
+(4,1,21009,'Shadowmeld Passive',1),
+(4,1,21156,'Battle Stance Passive',0),
+(4,1,21651,'Opening',1),
+(4,1,21652,'Closing',1),
+(4,1,22027,'Remove Insignia',1),
+(4,1,22810,'Opening - No Text',1),
+(4,1,32215,'Victorious State',1),
+(4,3,75,'Auto Shot',1),
+(4,3,81,'Dodge',1),
+(4,3,203,'Unarmed',1),
+(4,3,204,'Defense',1),
+(4,3,264,'Bows',1),
+(4,3,522,'SPELLDEFENSE(DND)',1),
+(4,3,668,'Language Common',1),
+(4,3,671,'Language Darnassian',1),
+(4,3,1180,'Daggers',1),
+(4,3,2382,'Generic',1),
+(4,3,2479,'Honorless Target',1),
+(4,3,2973,'Raptor Strike',1),
+(4,3,3050,'Detect',1),
+(4,3,3365,'Opening',1),
+(4,3,6233,'Closing',1),
+(4,3,6246,'Closing',1),
+(4,3,6247,'Opening',1),
+(4,3,6477,'Opening',1),
+(4,3,6478,'Opening',1),
+(4,3,6603,'Attack',1),
+(4,3,7266,'Duel',1),
+(4,3,7267,'Grovel',1),
+(4,3,7355,'Stuck',1),
+(4,3,8386,'Attacking',1),
+(4,3,9077,'Leather',1),
+(4,3,9078,'Cloth',1),
+(4,3,9125,'Generic',1),
+(4,3,13358,'Defensive State(DND)',1),
+(4,3,20580,'Shadowmeld',1),
+(4,3,20582,'Quickness',1),
+(4,3,20583,'Nature Resistance',1),
+(4,3,20585,'Wisp Spirit',1),
+(4,3,21009,'Shadowmeld Passive',1),
+(4,3,21651,'Opening',1),
+(4,3,21652,'Closing',1),
+(4,3,22027,'Remove Insignia',1),
+(4,3,22810,'Opening - No Text',1),
+(4,3,24949,'Defensive State 2(DND)',1),
+(4,3,34082,'Advantaged State(DND)',1),
+(4,4,81,'Dodge',1),
+(4,4,203,'Unarmed',1),
+(4,4,204,'Defense',1),
+(4,4,522,'SPELLDEFENSE(DND)',1),
+(4,4,668,'Language Common',1),
+(4,4,671,'Language Darnassian',1),
+(4,4,1180,'Daggers',1),
+(4,4,1752,'Sinister Strike',1),
+(4,4,2098,'Eviscerate',1),
+(4,4,2382,'Generic',1),
+(4,4,2479,'Honorless Target',1),
+(4,4,2567,'Thrown',1),
+(4,4,2764,'Throw',1),
+(4,4,3050,'Detect',1),
+(4,4,3365,'Opening',1),
+(4,4,6233,'Closing',1),
+(4,4,6246,'Closing',1),
+(4,4,6247,'Opening',1),
+(4,4,6477,'Opening',1),
+(4,4,6478,'Opening',1),
+(4,4,6603,'Attack',1),
+(4,4,7266,'Duel',1),
+(4,4,7267,'Grovel',1),
+(4,4,7355,'Stuck',1),
+(4,4,8386,'Attacking',1),
+(4,4,9077,'Leather',1),
+(4,4,9078,'Cloth',1),
+(4,4,9125,'Generic',1),
+(4,4,16092,'Defensive State(DND)',1),
+(4,4,20580,'Shadowmeld',1),
+(4,4,20582,'Quickness',1),
+(4,4,20583,'Nature Resistance',1),
+(4,4,20585,'Wisp Spirit',1),
+(4,4,21009,'Shadowmeld Passive',1),
+(4,4,21184,'Rogue Passive(DND)',1),
+(4,4,21651,'Opening',1),
+(4,4,21652,'Closing',1),
+(4,4,22027,'Remove Insignia',1),
+(4,4,22810,'Opening - No Text',1),
+(4,5,81,'Dodge',1),
+(4,5,198,'One-Handed Maces',1),
+(4,5,203,'Unarmed',1),
+(4,5,204,'Defense',1),
+(4,5,522,'SPELLDEFENSE(DND)',1),
+(4,5,585,'Smite',1),
+(4,5,668,'Language Common',1),
+(4,5,671,'Language Darnassian',1),
+(4,5,2050,'Lesser Heal',1),
+(4,5,2382,'Generic',1),
+(4,5,2479,'Honorless Target',1),
+(4,5,3050,'Detect',1),
+(4,5,3365,'Opening',1),
+(4,5,5009,'Wands',1),
+(4,5,5019,'Shoot',1),
+(4,5,6233,'Closing',1),
+(4,5,6246,'Closing',1),
+(4,5,6247,'Opening',1),
+(4,5,6477,'Opening',1),
+(4,5,6478,'Opening',1),
+(4,5,6603,'Attack',1),
+(4,5,7266,'Duel',1),
+(4,5,7267,'Grovel',1),
+(4,5,7355,'Stuck',1),
+(4,5,8386,'Attacking',1),
+(4,5,9078,'Cloth',1),
+(4,5,9125,'Generic',1),
+(4,5,20580,'Shadowmeld',1),
+(4,5,20582,'Quickness',1),
+(4,5,20583,'Nature Resistance',1),
+(4,5,20585,'Wisp Spirit',1),
+(4,5,21009,'Shadowmeld Passive',1),
+(4,5,21651,'Opening',1),
+(4,5,21652,'Closing',1),
+(4,5,22027,'Remove Insignia',1),
+(4,5,22810,'Opening - No Text',1),
+(4,11,81,'Dodge',1),
+(4,11,203,'Unarmed',1),
+(4,11,204,'Defense',1),
+(4,11,227,'Staves',1),
+(4,11,522,'SPELLDEFENSE(DND)',1),
+(4,11,668,'Language Common',1),
+(4,11,671,'Language Darnassian',1),
+(4,11,1178,'Bear Form(Passive)',0),
+(4,11,1180,'Daggers',1),
+(4,11,2382,'Generic',1),
+(4,11,2479,'Honorless Target',1),
+(4,11,3025,'Cat Form(Passive)',0),
+(4,11,3050,'Detect',1),
+(4,11,3365,'Opening',1),
+(4,11,5176,'Wrath',1),
+(4,11,5185,'Healing Touch',1),
+(4,11,5419,'Travel Form(Passive)',0),
+(4,11,5420,'Tree of Life',0),
+(4,11,5421,'Aquatic Form(Passive)',0),
+(4,11,6233,'Closing',1),
+(4,11,6246,'Closing',1),
+(4,11,6247,'Opening',1),
+(4,11,6477,'Opening',1),
+(4,11,6478,'Opening',1),
+(4,11,6603,'Attack',1),
+(4,11,7266,'Duel',1),
+(4,11,7267,'Grovel',1),
+(4,11,7355,'Stuck',1),
+(4,11,8386,'Attacking',1),
+(4,11,9077,'Leather',1),
+(4,11,9078,'Cloth',1),
+(4,11,9125,'Generic',1),
+(4,11,9635,'Dire Bear Form(Passive)',0),
+(4,11,20580,'Shadowmeld',1),
+(4,11,20582,'Quickness',1),
+(4,11,20583,'Nature Resistance',1),
+(4,11,20585,'Wisp Spirit',1),
+(4,11,21009,'Shadowmeld Passive',1),
+(4,11,21178,'Bear Form(Passive2)',0),
+(4,11,21651,'Opening',1),
+(4,11,21652,'Closing',1),
+(4,11,22027,'Remove Insignia',1),
+(4,11,22810,'Opening - No Text',1),
+(4,11,24905,'Moonkin Form(Passive)',0),
+(4,11,27764,'Fetish',1),
+(4,11,33948,'Flight Form(Passive)',0),
+(4,11,34123,'Tree of Life(Passive)',0),
+(4,11,40121,'Swift Flight Form(Passive)',0),
+(5,1,78,'Heroic Strike',1),
+(5,1,81,'Dodge',1),
+(5,1,107,'Block',1),
+(5,1,201,'One-Handed Swords',1),
+(5,1,202,'Two-Handed Swords',1),
+(5,1,203,'Unarmed',1),
+(5,1,204,'Defense',1),
+(5,1,522,'SPELLDEFENSE(DND)',1),
+(5,1,669,'Language Orcish',1),
+(5,1,1180,'Daggers',1),
+(5,1,2382,'Generic',1),
+(5,1,2457,'Battle Stance',1),
+(5,1,2479,'Honorless Target',1),
+(5,1,3050,'Detect',1),
+(5,1,3365,'Opening',1),
+(5,1,5227,'Underwater Breathing',1),
+(5,1,5301,'Defensive State(DND)',1),
+(5,1,6233,'Closing',1),
+(5,1,6246,'Closing',1),
+(5,1,6247,'Opening',1),
+(5,1,6477,'Opening',1),
+(5,1,6478,'Opening',1),
+(5,1,6603,'Attack',1),
+(5,1,7266,'Duel',1),
+(5,1,7267,'Grovel',1),
+(5,1,7355,'Stuck',1),
+(5,1,7376,'Defensive Stance Passive',0),
+(5,1,7381,'Berserker Stance Passive',0),
+(5,1,7744,'Will of the Forsaken',1),
+(5,1,8386,'Attacking',1),
+(5,1,8737,'Mail',1),
+(5,1,9077,'Leather',1),
+(5,1,9078,'Cloth',1),
+(5,1,9116,'Shield',1),
+(5,1,9125,'Generic',1),
+(5,1,17737,'Language Gutterspeak',1),
+(5,1,20577,'Cannibalize',1),
+(5,1,20579,'Shadow Resistance',1),
+(5,1,21156,'Battle Stance Passive',0),
+(5,1,21651,'Opening',1),
+(5,1,21652,'Closing',1),
+(5,1,22027,'Remove Insignia',1),
+(5,1,22810,'Opening - No Text',1),
+(5,1,32215,'Victorious State',1),
+(5,4,81,'Dodge',1),
+(5,4,203,'Unarmed',1),
+(5,4,204,'Defense',1),
+(5,4,522,'SPELLDEFENSE(DND)',1),
+(5,4,669,'Language Orcish',1),
+(5,4,1180,'Daggers',1),
+(5,4,1752,'Sinister Strike',1),
+(5,4,2098,'Eviscerate',1),
+(5,4,2382,'Generic',1),
+(5,4,2479,'Honorless Target',1),
+(5,4,2567,'Thrown',1),
+(5,4,2764,'Throw',1),
+(5,4,3050,'Detect',1),
+(5,4,3365,'Opening',1),
+(5,4,5227,'Underwater Breathing',1),
+(5,4,6233,'Closing',1),
+(5,4,6246,'Closing',1),
+(5,4,6247,'Opening',1),
+(5,4,6477,'Opening',1),
+(5,4,6478,'Opening',1),
+(5,4,6603,'Attack',1),
+(5,4,7266,'Duel',1),
+(5,4,7267,'Grovel',1),
+(5,4,7355,'Stuck',1),
+(5,4,7744,'Will of the Forsaken',1),
+(5,4,8386,'Attacking',1),
+(5,4,9077,'Leather',1),
+(5,4,9078,'Cloth',1),
+(5,4,9125,'Generic',1),
+(5,4,16092,'Defensive State(DND)',1),
+(5,4,17737,'Language Gutterspeak',1),
+(5,4,20577,'Cannibalize',1),
+(5,4,20579,'Shadow Resistance',1),
+(5,4,21184,'Rogue Passive(DND)',1),
+(5,4,21651,'Opening',1),
+(5,4,21652,'Closing',1),
+(5,4,22027,'Remove Insignia',1),
+(5,4,22810,'Opening - No Text',1),
+(5,5,81,'Dodge',1),
+(5,5,198,'One-Handed Maces',1),
+(5,5,203,'Unarmed',1),
+(5,5,204,'Defense',1),
+(5,5,522,'SPELLDEFENSE(DND)',1),
+(5,5,585,'Smite',1),
+(5,5,669,'Language Orcish',1),
+(5,5,2050,'Lesser Heal',1),
+(5,5,2382,'Generic',1),
+(5,5,2479,'Honorless Target',1),
+(5,5,3050,'Detect',1),
+(5,5,3365,'Opening',1),
+(5,5,5009,'Wands',1),
+(5,5,5019,'Shoot',1),
+(5,5,5227,'Underwater Breathing',1),
+(5,5,6233,'Closing',1),
+(5,5,6246,'Closing',1),
+(5,5,6247,'Opening',1),
+(5,5,6477,'Opening',1),
+(5,5,6478,'Opening',1),
+(5,5,6603,'Attack',1),
+(5,5,7266,'Duel',1),
+(5,5,7267,'Grovel',1),
+(5,5,7355,'Stuck',1),
+(5,5,7744,'Will of the Forsaken',1),
+(5,5,8386,'Attacking',1),
+(5,5,9078,'Cloth',1),
+(5,5,9125,'Generic',1),
+(5,5,17737,'Language Gutterspeak',1),
+(5,5,20577,'Cannibalize',1),
+(5,5,20579,'Shadow Resistance',1),
+(5,5,21651,'Opening',1),
+(5,5,21652,'Closing',1),
+(5,5,22027,'Remove Insignia',1),
+(5,5,22810,'Opening - No Text',1),
+(5,8,81,'Dodge',1),
+(5,8,133,'Fireball',1),
+(5,8,168,'Frost Armor',1),
+(5,8,203,'Unarmed',1),
+(5,8,204,'Defense',1),
+(5,8,227,'Staves',1),
+(5,8,522,'SPELLDEFENSE(DND)',1),
+(5,8,669,'Language Orcish',1),
+(5,8,2382,'Generic',1),
+(5,8,2479,'Honorless Target',1),
+(5,8,3050,'Detect',1),
+(5,8,3365,'Opening',1),
+(5,8,5009,'Wands',1),
+(5,8,5019,'Shoot',1),
+(5,8,5227,'Underwater Breathing',1),
+(5,8,6233,'Closing',1),
+(5,8,6246,'Closing',1),
+(5,8,6247,'Opening',1),
+(5,8,6477,'Opening',1),
+(5,8,6478,'Opening',1),
+(5,8,6603,'Attack',1),
+(5,8,7266,'Duel',1),
+(5,8,7267,'Grovel',1),
+(5,8,7355,'Stuck',1),
+(5,8,7744,'Will of the Forsaken',1),
+(5,8,8386,'Attacking',1),
+(5,8,9078,'Cloth',1),
+(5,8,9125,'Generic',1),
+(5,8,17737,'Language Gutterspeak',1),
+(5,8,20577,'Cannibalize',1),
+(5,8,20579,'Shadow Resistance',1),
+(5,8,21651,'Opening',1),
+(5,8,21652,'Closing',1),
+(5,8,22027,'Remove Insignia',1),
+(5,8,22810,'Opening - No Text',1),
+(5,9,81,'Dodge',1),
+(5,9,203,'Unarmed',1),
+(5,9,204,'Defense',1),
+(5,9,522,'SPELLDEFENSE(DND)',1),
+(5,9,669,'Language Orcish',1),
+(5,9,686,'Shadow Bolt',1),
+(5,9,687,'Demon Skin',1),
+(5,9,1180,'Daggers',1),
+(5,9,2382,'Generic',1),
+(5,9,2479,'Honorless Target',1),
+(5,9,3050,'Detect',1),
+(5,9,3365,'Opening',1),
+(5,9,5009,'Wands',1),
+(5,9,5019,'Shoot',1),
+(5,9,5227,'Underwater Breathing',1),
+(5,9,6233,'Closing',1),
+(5,9,6246,'Closing',1),
+(5,9,6247,'Opening',1),
+(5,9,6477,'Opening',1),
+(5,9,6478,'Opening',1),
+(5,9,6603,'Attack',1),
+(5,9,7266,'Duel',1),
+(5,9,7267,'Grovel',1),
+(5,9,7355,'Stuck',1),
+(5,9,7744,'Will of the Forsaken',1),
+(5,9,8386,'Attacking',1),
+(5,9,9078,'Cloth',1),
+(5,9,9125,'Generic',1),
+(5,9,17737,'Language Gutterspeak',1),
+(5,9,20577,'Cannibalize',1),
+(5,9,20579,'Shadow Resistance',1),
+(5,9,21651,'Opening',1),
+(5,9,21652,'Closing',1),
+(5,9,22027,'Remove Insignia',1),
+(5,9,22810,'Opening - No Text',1),
+(6,1,78,'Heroic Strike',1),
+(6,1,81,'Dodge',1),
+(6,1,107,'Block',1),
+(6,1,196,'One-Handed Axes',1),
+(6,1,198,'One-Handed Maces',1),
+(6,1,199,'Two-Handed Maces',1),
+(6,1,203,'Unarmed',1),
+(6,1,204,'Defense',1),
+(6,1,522,'SPELLDEFENSE(DND)',1),
+(6,1,669,'Language Orcish',1),
+(6,1,670,'Language Taurahe',1),
+(6,1,2382,'Generic',1),
+(6,1,2457,'Battle Stance',1),
+(6,1,2479,'Honorless Target',1),
+(6,1,3050,'Detect',1),
+(6,1,3365,'Opening',1),
+(6,1,5301,'Defensive State(DND)',1),
+(6,1,6233,'Closing',1),
+(6,1,6246,'Closing',1),
+(6,1,6247,'Opening',1),
+(6,1,6477,'Opening',1),
+(6,1,6478,'Opening',1),
+(6,1,6603,'Attack',1),
+(6,1,7266,'Duel',1),
+(6,1,7267,'Grovel',1),
+(6,1,7355,'Stuck',1),
+(6,1,7376,'Defensive Stance Passive',0),
+(6,1,7381,'Berserker Stance Passive',0),
+(6,1,8386,'Attacking',1),
+(6,1,8737,'Mail',1),
+(6,1,9077,'Leather',1),
+(6,1,9078,'Cloth',1),
+(6,1,9116,'Shield',1),
+(6,1,9125,'Generic',1),
+(6,1,20549,'War Stomp',1),
+(6,1,20550,'Endurance',1),
+(6,1,20551,'Nature Resistance',1),
+(6,1,20552,'Cultivation',1),
+(6,1,21156,'Battle Stance Passive',0),
+(6,1,21651,'Opening',1),
+(6,1,21652,'Closing',1),
+(6,1,22027,'Remove Insignia',1),
+(6,1,22810,'Opening - No Text',1),
+(6,1,32215,'Victorious State',1),
+(6,3,75,'Auto Shot',1),
+(6,3,81,'Dodge',1),
+(6,3,196,'One-Handed Axes',1),
+(6,3,203,'Unarmed',1),
+(6,3,204,'Defense',1),
+(6,3,266,'Guns',1),
+(6,3,522,'SPELLDEFENSE(DND)',1),
+(6,3,669,'Language Orcish',1),
+(6,3,670,'Language Taurahe',1),
+(6,3,2382,'Generic',1),
+(6,3,2479,'Honorless Target',1),
+(6,3,2973,'Raptor Strike',1),
+(6,3,3050,'Detect',1),
+(6,3,3365,'Opening',1),
+(6,3,6233,'Closing',1),
+(6,3,6246,'Closing',1),
+(6,3,6247,'Opening',1),
+(6,3,6477,'Opening',1),
+(6,3,6478,'Opening',1),
+(6,3,6603,'Attack',1),
+(6,3,7266,'Duel',1),
+(6,3,7267,'Grovel',1),
+(6,3,7355,'Stuck',1),
+(6,3,8386,'Attacking',1),
+(6,3,9077,'Leather',1),
+(6,3,9078,'Cloth',1),
+(6,3,9125,'Generic',1),
+(6,3,13358,'Defensive State(DND)',1),
+(6,3,20549,'War Stomp',1),
+(6,3,20550,'Endurance',1),
+(6,3,20551,'Nature Resistance',1),
+(6,3,20552,'Cultivation',1),
+(6,3,21651,'Opening',1),
+(6,3,21652,'Closing',1),
+(6,3,22027,'Remove Insignia',1),
+(6,3,22810,'Opening - No Text',1),
+(6,3,24949,'Defensive State 2(DND)',1),
+(6,3,34082,'Advantaged State(DND)',1),
+(6,7,81,'Dodge',1),
+(6,7,107,'Block',1),
+(6,7,198,'One-Handed Maces',1),
+(6,7,203,'Unarmed',1),
+(6,7,204,'Defense',1),
+(6,7,227,'Staves',1),
+(6,7,331,'Healing Wave',1),
+(6,7,403,'Lightning Bolt',1),
+(6,7,522,'SPELLDEFENSE(DND)',1),
+(6,7,669,'Language Orcish',1),
+(6,7,670,'Language Taurahe',1),
+(6,7,2382,'Generic',1),
+(6,7,2479,'Honorless Target',1),
+(6,7,3050,'Detect',1),
+(6,7,3365,'Opening',1),
+(6,7,6233,'Closing',1),
+(6,7,6246,'Closing',1),
+(6,7,6247,'Opening',1),
+(6,7,6477,'Opening',1),
+(6,7,6478,'Opening',1),
+(6,7,6603,'Attack',1),
+(6,7,7266,'Duel',1),
+(6,7,7267,'Grovel',1),
+(6,7,7355,'Stuck',1),
+(6,7,8386,'Attacking',1),
+(6,7,9077,'Leather',1),
+(6,7,9078,'Cloth',1),
+(6,7,9116,'Shield',1),
+(6,7,9125,'Generic',1),
+(6,7,20549,'War Stomp',1),
+(6,7,20550,'Endurance',1),
+(6,7,20551,'Nature Resistance',1),
+(6,7,20552,'Cultivation',1),
+(6,7,21651,'Opening',1),
+(6,7,21652,'Closing',1),
+(6,7,22027,'Remove Insignia',1),
+(6,7,22810,'Opening - No Text',1),
+(6,7,27763,'Totem',1),
+(6,11,81,'Dodge',1),
+(6,11,198,'One-Handed Maces',1),
+(6,11,203,'Unarmed',1),
+(6,11,204,'Defense',1),
+(6,11,227,'Staves',1),
+(6,11,522,'SPELLDEFENSE(DND)',1),
+(6,11,669,'Language Orcish',1),
+(6,11,670,'Language Taurahe',1),
+(6,11,1178,'Bear Form(Passive)',0),
+(6,11,2382,'Generic',1),
+(6,11,2479,'Honorless Target',1),
+(6,11,3025,'Cat Form(Passive)',0),
+(6,11,3050,'Detect',1),
+(6,11,3365,'Opening',1),
+(6,11,5176,'Wrath',1),
+(6,11,5185,'Healing Touch',1),
+(6,11,5419,'Travel Form(Passive)',0),
+(6,11,5420,'Tree of Life',0),
+(6,11,5421,'Aquatic Form(Passive)',0),
+(6,11,6233,'Closing',1),
+(6,11,6246,'Closing',1),
+(6,11,6247,'Opening',1),
+(6,11,6477,'Opening',1),
+(6,11,6478,'Opening',1),
+(6,11,6603,'Attack',1),
+(6,11,7266,'Duel',1),
+(6,11,7267,'Grovel',1),
+(6,11,7355,'Stuck',1),
+(6,11,8386,'Attacking',1),
+(6,11,9077,'Leather',1),
+(6,11,9078,'Cloth',1),
+(6,11,9125,'Generic',1),
+(6,11,9635,'Dire Bear Form(Passive)',0),
+(6,11,20549,'War Stomp',1),
+(6,11,20550,'Endurance',1),
+(6,11,20551,'Nature Resistance',1),
+(6,11,20552,'Cultivation',1),
+(6,11,21178,'Bear Form(Passive2)',0),
+(6,11,21651,'Opening',1),
+(6,11,21652,'Closing',1),
+(6,11,22027,'Remove Insignia',1),
+(6,11,22810,'Opening - No Text',1),
+(6,11,24905,'Moonkin Form(Passive)',0),
+(6,11,27764,'Fetish',1),
+(6,11,33948,'Flight Form(Passive)',0),
+(6,11,34123,'Tree of Life(Passive)',0),
+(6,11,40121,'Swift Flight Form(Passive)',0),
+(7,1,78,'Heroic Strike',1),
+(7,1,81,'Dodge',1),
+(7,1,107,'Block',1),
+(7,1,198,'One-Handed Maces',1),
+(7,1,201,'One-Handed Swords',1),
+(7,1,203,'Unarmed',1),
+(7,1,204,'Defense',1),
+(7,1,522,'SPELLDEFENSE(DND)',1),
+(7,1,668,'Language Common',1),
+(7,1,1180,'Daggers',1),
+(7,1,2382,'Generic',1),
+(7,1,2457,'Battle Stance',1),
+(7,1,2479,'Honorless Target',1),
+(7,1,3050,'Detect',1),
+(7,1,3365,'Opening',1),
+(7,1,5301,'Defensive State(DND)',1),
+(7,1,6233,'Closing',1),
+(7,1,6246,'Closing',1),
+(7,1,6247,'Opening',1),
+(7,1,6477,'Opening',1),
+(7,1,6478,'Opening',1),
+(7,1,6603,'Attack',1),
+(7,1,7266,'Duel',1),
+(7,1,7267,'Grovel',1),
+(7,1,7340,'Language Gnomish',1),
+(7,1,7355,'Stuck',1),
+(7,1,7376,'Defensive Stance Passive',0),
+(7,1,7381,'Berserker Stance Passive',0),
+(7,1,8386,'Attacking',1),
+(7,1,8737,'Mail',1),
+(7,1,9077,'Leather',1),
+(7,1,9078,'Cloth',1),
+(7,1,9116,'Shield',1),
+(7,1,9125,'Generic',1),
+(7,1,20589,'Escape Artist',1),
+(7,1,20591,'Expansive Mind',1),
+(7,1,20592,'Arcane Resistance',1),
+(7,1,20593,'Engineering Specialization',1),
+(7,1,21156,'Battle Stance Passive',0),
+(7,1,21651,'Opening',1),
+(7,1,21652,'Closing',1),
+(7,1,22027,'Remove Insignia',1),
+(7,1,22810,'Opening - No Text',1),
+(7,1,32215,'Victorious State',1),
+(7,4,81,'Dodge',1),
+(7,4,203,'Unarmed',1),
+(7,4,204,'Defense',1),
+(7,4,522,'SPELLDEFENSE(DND)',1),
+(7,4,668,'Language Common',1),
+(7,4,1180,'Daggers',1),
+(7,4,1752,'Sinister Strike',1),
+(7,4,2098,'Eviscerate',1),
+(7,4,2382,'Generic',1),
+(7,4,2479,'Honorless Target',1),
+(7,4,2567,'Thrown',1),
+(7,4,2764,'Throw',1),
+(7,4,3050,'Detect',1),
+(7,4,3365,'Opening',1),
+(7,4,6233,'Closing',1),
+(7,4,6246,'Closing',1),
+(7,4,6247,'Opening',1),
+(7,4,6477,'Opening',1),
+(7,4,6478,'Opening',1),
+(7,4,6603,'Attack',1),
+(7,4,7266,'Duel',1),
+(7,4,7267,'Grovel',1),
+(7,4,7340,'Language Gnomish',1),
+(7,4,7355,'Stuck',1),
+(7,4,8386,'Attacking',1),
+(7,4,9077,'Leather',1),
+(7,4,9078,'Cloth',1),
+(7,4,9125,'Generic',1),
+(7,4,16092,'Defensive State(DND)',1),
+(7,4,20589,'Escape Artist',1),
+(7,4,20591,'Expansive Mind',1),
+(7,4,20592,'Arcane Resistance',1),
+(7,4,20593,'Engineering Specialization',1),
+(7,4,21184,'Rogue Passive(DND)',1),
+(7,4,21651,'Opening',1),
+(7,4,21652,'Closing',1),
+(7,4,22027,'Remove Insignia',1),
+(7,4,22810,'Opening - No Text',1),
+(7,8,81,'Dodge',1),
+(7,8,133,'Fireball',1),
+(7,8,168,'Frost Armor',1),
+(7,8,203,'Unarmed',1),
+(7,8,204,'Defense',1),
+(7,8,227,'Staves',1),
+(7,8,522,'SPELLDEFENSE(DND)',1),
+(7,8,668,'Language Common',1),
+(7,8,2382,'Generic',1),
+(7,8,2479,'Honorless Target',1),
+(7,8,3050,'Detect',1),
+(7,8,3365,'Opening',1),
+(7,8,5009,'Wands',1),
+(7,8,5019,'Shoot',1),
+(7,8,6233,'Closing',1),
+(7,8,6246,'Closing',1),
+(7,8,6247,'Opening',1),
+(7,8,6477,'Opening',1),
+(7,8,6478,'Opening',1),
+(7,8,6603,'Attack',1),
+(7,8,7266,'Duel',1),
+(7,8,7267,'Grovel',1),
+(7,8,7340,'Language Gnomish',1),
+(7,8,7355,'Stuck',1),
+(7,8,8386,'Attacking',1),
+(7,8,9078,'Cloth',1),
+(7,8,9125,'Generic',1),
+(7,8,20589,'Escape Artist',1),
+(7,8,20591,'Expansive Mind',1),
+(7,8,20592,'Arcane Resistance',1),
+(7,8,20593,'Engineering Specialization',1),
+(7,8,21651,'Opening',1),
+(7,8,21652,'Closing',1),
+(7,8,22027,'Remove Insignia',1),
+(7,8,22810,'Opening - No Text',1),
+(7,9,81,'Dodge',1),
+(7,9,203,'Unarmed',1),
+(7,9,204,'Defense',1),
+(7,9,522,'SPELLDEFENSE(DND)',1),
+(7,9,668,'Language Common',1),
+(7,9,686,'Shadow Bolt',1),
+(7,9,687,'Demon Skin',1),
+(7,9,1180,'Daggers',1),
+(7,9,2382,'Generic',1),
+(7,9,2479,'Honorless Target',1),
+(7,9,3050,'Detect',1),
+(7,9,3365,'Opening',1),
+(7,9,5009,'Wands',1),
+(7,9,5019,'Shoot',1),
+(7,9,6233,'Closing',1),
+(7,9,6246,'Closing',1),
+(7,9,6247,'Opening',1),
+(7,9,6477,'Opening',1),
+(7,9,6478,'Opening',1),
+(7,9,6603,'Attack',1),
+(7,9,7266,'Duel',1),
+(7,9,7267,'Grovel',1),
+(7,9,7340,'Language Gnomish',1),
+(7,9,7355,'Stuck',1),
+(7,9,8386,'Attacking',1),
+(7,9,9078,'Cloth',1),
+(7,9,9125,'Generic',1),
+(7,9,20589,'Escape Artist',1),
+(7,9,20591,'Expansive Mind',1),
+(7,9,20592,'Arcane Resistance',1),
+(7,9,20593,'Engineering Specialization',1),
+(7,9,21651,'Opening',1),
+(7,9,21652,'Closing',1),
+(7,9,22027,'Remove Insignia',1),
+(7,9,22810,'Opening - No Text',1),
+(8,1,78,'Heroic Strike',1),
+(8,1,81,'Dodge',1),
+(8,1,107,'Block',1),
+(8,1,196,'One-Handed Axes',1),
+(8,1,203,'Unarmed',1),
+(8,1,204,'Defense',1),
+(8,1,522,'SPELLDEFENSE(DND)',1),
+(8,1,669,'Language Orcish',1),
+(8,1,1180,'Daggers',1),
+(8,1,2382,'Generic',1),
+(8,1,2457,'Battle Stance',1),
+(8,1,2479,'Honorless Target',1),
+(8,1,2567,'Thrown',1),
+(8,1,2764,'Throw',1),
+(8,1,3050,'Detect',1),
+(8,1,3365,'Opening',1),
+(8,1,5301,'Defensive State(DND)',1),
+(8,1,6233,'Closing',1),
+(8,1,6246,'Closing',1),
+(8,1,6247,'Opening',1),
+(8,1,6477,'Opening',1),
+(8,1,6478,'Opening',1),
+(8,1,6603,'Attack',1),
+(8,1,7266,'Duel',1),
+(8,1,7267,'Grovel',1),
+(8,1,7341,'Language Troll',1),
+(8,1,7355,'Stuck',1),
+(8,1,7376,'Defensive Stance Passive',0),
+(8,1,7381,'Berserker Stance Passive',0),
+(8,1,8386,'Attacking',1),
+(8,1,8737,'Mail',1),
+(8,1,9077,'Leather',1),
+(8,1,9078,'Cloth',1),
+(8,1,9116,'Shield',1),
+(8,1,9125,'Generic',1),
+(8,1,20555,'Regeneration',1),
+(8,1,20557,'Beast Slaying',1),
+(8,1,20558,'Throwing Specialization',1),
+(8,1,21156,'Battle Stance Passive',0),
+(8,1,21651,'Opening',1),
+(8,1,21652,'Closing',1),
+(8,1,22027,'Remove Insignia',1),
+(8,1,22810,'Opening - No Text',1),
+(8,1,26290,'Bow Specialization',1),
+(8,1,26296,'Berserking',1),
+(8,1,32215,'Victorious State',1),
+(8,3,75,'Auto Shot',1),
+(8,3,81,'Dodge',1),
+(8,3,196,'One-Handed Axes',1),
+(8,3,203,'Unarmed',1),
+(8,3,204,'Defense',1),
+(8,3,264,'Bows',1),
+(8,3,522,'SPELLDEFENSE(DND)',1),
+(8,3,669,'Language Orcish',1),
+(8,3,2382,'Generic',1),
+(8,3,2479,'Honorless Target',1),
+(8,3,2973,'Raptor Strike',1),
+(8,3,3050,'Detect',1),
+(8,3,3365,'Opening',1),
+(8,3,6233,'Closing',1),
+(8,3,6246,'Closing',1),
+(8,3,6247,'Opening',1),
+(8,3,6477,'Opening',1),
+(8,3,6478,'Opening',1),
+(8,3,6603,'Attack',1),
+(8,3,7266,'Duel',1),
+(8,3,7267,'Grovel',1),
+(8,3,7341,'Language Troll',1),
+(8,3,7355,'Stuck',1),
+(8,3,8386,'Attacking',1),
+(8,3,9077,'Leather',1),
+(8,3,9078,'Cloth',1),
+(8,3,9125,'Generic',1),
+(8,3,13358,'Defensive State(DND)',1),
+(8,3,20554,'Berserking',1),
+(8,3,20555,'Regeneration',1),
+(8,3,20557,'Beast Slaying',1),
+(8,3,20558,'Throwing Specialization',1),
+(8,3,21651,'Opening',1),
+(8,3,21652,'Closing',1),
+(8,3,22027,'Remove Insignia',1),
+(8,3,22810,'Opening - No Text',1),
+(8,3,24949,'Defensive State 2(DND)',1),
+(8,3,26290,'Bow Specialization',1),
+(8,3,34082,'Advantaged State(DND)',1),
+(8,4,81,'Dodge',1),
+(8,4,203,'Unarmed',1),
+(8,4,204,'Defense',1),
+(8,4,522,'SPELLDEFENSE(DND)',1),
+(8,4,669,'Language Orcish',1),
+(8,4,1180,'Daggers',1),
+(8,4,1752,'Sinister Strike',1),
+(8,4,2098,'Eviscerate',1),
+(8,4,2382,'Generic',1),
+(8,4,2479,'Honorless Target',1),
+(8,4,2567,'Thrown',1),
+(8,4,2764,'Throw',1),
+(8,4,3050,'Detect',1),
+(8,4,3365,'Opening',1),
+(8,4,6233,'Closing',1),
+(8,4,6246,'Closing',1),
+(8,4,6247,'Opening',1),
+(8,4,6477,'Opening',1),
+(8,4,6478,'Opening',1),
+(8,4,6603,'Attack',1),
+(8,4,7266,'Duel',1),
+(8,4,7267,'Grovel',1),
+(8,4,7341,'Language Troll',1),
+(8,4,7355,'Stuck',1),
+(8,4,8386,'Attacking',1),
+(8,4,9077,'Leather',1),
+(8,4,9078,'Cloth',1),
+(8,4,9125,'Generic',1),
+(8,4,16092,'Defensive State(DND)',1),
+(8,4,20555,'Regeneration',1),
+(8,4,20557,'Beast Slaying',1),
+(8,4,20558,'Throwing Specialization',1),
+(8,4,21184,'Rogue Passive(DND)',1),
+(8,4,21651,'Opening',1),
+(8,4,21652,'Closing',1),
+(8,4,22027,'Remove Insignia',1),
+(8,4,22810,'Opening - No Text',1),
+(8,4,26290,'Bow Specialization',1),
+(8,4,26297,'Berserking',1),
+(8,5,81,'Dodge',1),
+(8,5,198,'One-Handed Maces',1),
+(8,5,203,'Unarmed',1),
+(8,5,204,'Defense',1),
+(8,5,522,'SPELLDEFENSE(DND)',1),
+(8,5,585,'Smite',1),
+(8,5,669,'Language Orcish',1),
+(8,5,2050,'Lesser Heal',1),
+(8,5,2382,'Generic',1),
+(8,5,2479,'Honorless Target',1),
+(8,5,3050,'Detect',1),
+(8,5,3365,'Opening',1),
+(8,5,5009,'Wands',1),
+(8,5,5019,'Shoot',1),
+(8,5,6233,'Closing',1),
+(8,5,6246,'Closing',1),
+(8,5,6247,'Opening',1),
+(8,5,6477,'Opening',1),
+(8,5,6478,'Opening',1),
+(8,5,6603,'Attack',1),
+(8,5,7266,'Duel',1),
+(8,5,7267,'Grovel',1),
+(8,5,7341,'Language Troll',1),
+(8,5,7355,'Stuck',1),
+(8,5,8386,'Attacking',1),
+(8,5,9078,'Cloth',1),
+(8,5,9125,'Generic',1),
+(8,5,20554,'Berserking',1),
+(8,5,20555,'Regeneration',1),
+(8,5,20557,'Beast Slaying',1),
+(8,5,20558,'Throwing Specialization',1),
+(8,5,21651,'Opening',1),
+(8,5,21652,'Closing',1),
+(8,5,22027,'Remove Insignia',1),
+(8,5,22810,'Opening - No Text',1),
+(8,5,26290,'Bow Specialization',1),
+(8,7,81,'Dodge',1),
+(8,7,107,'Block',1),
+(8,7,198,'One-Handed Maces',1),
+(8,7,203,'Unarmed',1),
+(8,7,204,'Defense',1),
+(8,7,227,'Staves',1),
+(8,7,331,'Healing Wave',1),
+(8,7,403,'Lightning Bolt',1),
+(8,7,522,'SPELLDEFENSE(DND)',1),
+(8,7,669,'Language Orcish',1),
+(8,7,2382,'Generic',1),
+(8,7,2479,'Honorless Target',1),
+(8,7,3050,'Detect',1),
+(8,7,3365,'Opening',1),
+(8,7,6233,'Closing',1),
+(8,7,6246,'Closing',1),
+(8,7,6247,'Opening',1),
+(8,7,6477,'Opening',1),
+(8,7,6478,'Opening',1),
+(8,7,6603,'Attack',1),
+(8,7,7266,'Duel',1),
+(8,7,7267,'Grovel',1),
+(8,7,7341,'Language Troll',1),
+(8,7,7355,'Stuck',1),
+(8,7,8386,'Attacking',1),
+(8,7,9077,'Leather',1),
+(8,7,9078,'Cloth',1),
+(8,7,9116,'Shield',1),
+(8,7,9125,'Generic',1),
+(8,7,20554,'Berserking',1),
+(8,7,20555,'Regeneration',1),
+(8,7,20557,'Beast Slaying',1),
+(8,7,20558,'Throwing Specialization',1),
+(8,7,21651,'Opening',1),
+(8,7,21652,'Closing',1),
+(8,7,22027,'Remove Insignia',1),
+(8,7,22810,'Opening - No Text',1),
+(8,7,26290,'Bow Specialization',1),
+(8,7,27763,'Totem',1),
+(8,8,81,'Dodge',1),
+(8,8,133,'Fireball',1),
+(8,8,168,'Frost Armor',1),
+(8,8,203,'Unarmed',1),
+(8,8,204,'Defense',1),
+(8,8,227,'Staves',1),
+(8,8,522,'SPELLDEFENSE(DND)',1),
+(8,8,669,'Language Orcish',1),
+(8,8,2382,'Generic',1),
+(8,8,2479,'Honorless Target',1),
+(8,8,3050,'Detect',1),
+(8,8,3365,'Opening',1),
+(8,8,5009,'Wands',1),
+(8,8,5019,'Shoot',1),
+(8,8,6233,'Closing',1),
+(8,8,6246,'Closing',1),
+(8,8,6247,'Opening',1),
+(8,8,6477,'Opening',1),
+(8,8,6478,'Opening',1),
+(8,8,6603,'Attack',1),
+(8,8,7266,'Duel',1),
+(8,8,7267,'Grovel',1),
+(8,8,7341,'Language Troll',1),
+(8,8,7355,'Stuck',1),
+(8,8,8386,'Attacking',1),
+(8,8,9078,'Cloth',1),
+(8,8,9125,'Generic',1),
+(8,8,20554,'Berserking',1),
+(8,8,20555,'Regeneration',1),
+(8,8,20557,'Beast Slaying',1),
+(8,8,20558,'Throwing Specialization',1),
+(8,8,21651,'Opening',1),
+(8,8,21652,'Closing',1),
+(8,8,22027,'Remove Insignia',1),
+(8,8,22810,'Opening - No Text',1),
+(8,8,26290,'Bow Specialization',1),
+(10,2,81,'Dodge',1),
+(10,2,107,'Block',1),
+(10,2,201,'One-Handed Swords',1),
+(10,2,202,'Two-Handed Swords',1),
+(10,2,203,'Unarmed',1),
+(10,2,204,'Defense',1),
+(10,2,522,'SPELLDEFENSE(DND)',1),
+(10,2,635,'Holy Light',1),
+(10,2,669,'Language Orcish',1),
+(10,2,813,'Language Thalassian',1),
+(10,2,822,'Magic Resistance',1),
+(10,2,2382,'Generic',1),
+(10,2,2479,'Honorless Target',1),
+(10,2,3050,'Detect',1),
+(10,2,3365,'Opening',1),
+(10,2,6233,'Closing',1),
+(10,2,6246,'Closing',1),
+(10,2,6247,'Opening',1),
+(10,2,6477,'Opening',1),
+(10,2,6478,'Opening',1),
+(10,2,6603,'Attack',1),
+(10,2,7266,'Duel',1),
+(10,2,7267,'Grovel',1),
+(10,2,7355,'Stuck',1),
+(10,2,8386,'Attacking',1),
+(10,2,8737,'Mail',1),
+(10,2,9077,'Leather',1),
+(10,2,9078,'Cloth',1),
+(10,2,9116,'Shield',1),
+(10,2,9125,'Generic',1),
+(10,2,21084,'Seal of Righteousness',1),
+(10,2,21651,'Opening',1),
+(10,2,21652,'Closing',1),
+(10,2,22027,'Remove Insignia',1),
+(10,2,22810,'Opening - No Text',1),
+(10,2,27762,'Libram',1),
+(10,2,28730,'Arcane Torrent',1),
+(10,2,28734,'Mana Tap',1),
+(10,2,28877,'Arcane Affinity',1),
+(10,3,75,'Auto Shot',1),
+(10,3,81,'Dodge',1),
+(10,3,203,'Unarmed',1),
+(10,3,204,'Defense',1),
+(10,3,264,'Bows',1),
+(10,3,522,'SPELLDEFENSE(DND)',1),
+(10,3,669,'Language Orcish',1),
+(10,3,813,'Language Thalassian',1),
+(10,3,822,'Magic Resistance',1),
+(10,3,1180,'Daggers',1),
+(10,3,2382,'Generic',1),
+(10,3,2479,'Honorless Target',1),
+(10,3,2973,'Raptor Strike',1),
+(10,3,3050,'Detect',1),
+(10,3,3365,'Opening',1),
+(10,3,6233,'Closing',1),
+(10,3,6246,'Closing',1),
+(10,3,6247,'Opening',1),
+(10,3,6477,'Opening',1),
+(10,3,6478,'Opening',1),
+(10,3,6603,'Attack',1),
+(10,3,7266,'Duel',1),
+(10,3,7267,'Grovel',1),
+(10,3,7355,'Stuck',1),
+(10,3,8386,'Attacking',1),
+(10,3,9077,'Leather',1),
+(10,3,9078,'Cloth',1),
+(10,3,9125,'Generic',1),
+(10,3,13358,'Defensive State(DND)',1),
+(10,3,21651,'Opening',1),
+(10,3,21652,'Closing',1),
+(10,3,22027,'Remove Insignia',1),
+(10,3,22810,'Opening - No Text',1),
+(10,3,24949,'Defensive State 2(DND)',1),
+(10,3,28730,'Arcane Torrent',1),
+(10,3,28734,'Mana Tap',1),
+(10,3,28877,'Arcane Affinity',1),
+(10,3,34082,'Advantaged State(DND)',1),
+(10,4,81,'Dodge',1),
+(10,4,203,'Unarmed',1),
+(10,4,204,'Defense',1),
+(10,4,522,'SPELLDEFENSE(DND)',1),
+(10,4,669,'Language Orcish',1),
+(10,4,813,'Language Thalassian',1),
+(10,4,822,'Magic Resistance',1),
+(10,4,1180,'Daggers',1),
+(10,4,1752,'Sinister Strike',1),
+(10,4,2098,'Eviscerate',1),
+(10,4,2382,'Generic',1),
+(10,4,2479,'Honorless Target',1),
+(10,4,2567,'Thrown',1),
+(10,4,2764,'Throw',1),
+(10,4,3050,'Detect',1),
+(10,4,3365,'Opening',1),
+(10,4,6233,'Closing',1),
+(10,4,6246,'Closing',1),
+(10,4,6247,'Opening',1),
+(10,4,6477,'Opening',1),
+(10,4,6478,'Opening',1),
+(10,4,6603,'Attack',1),
+(10,4,7266,'Duel',1),
+(10,4,7267,'Grovel',1),
+(10,4,7355,'Stuck',1),
+(10,4,8386,'Attacking',1),
+(10,4,9077,'Leather',1),
+(10,4,9078,'Cloth',1),
+(10,4,9125,'Generic',1),
+(10,4,16092,'Defensive State(DND)',1),
+(10,4,21184,'Rogue Passive(DND)',1),
+(10,4,21651,'Opening',1),
+(10,4,21652,'Closing',1),
+(10,4,22027,'Remove Insignia',1),
+(10,4,22810,'Opening - No Text',1),
+(10,4,25046,'Arcane Torrent',1),
+(10,4,28734,'Mana Tap',1),
+(10,4,28877,'Arcane Affinity',1),
+(10,5,81,'Dodge',1),
+(10,5,198,'One-Handed Maces',1),
+(10,5,203,'Unarmed',1),
+(10,5,204,'Defense',1),
+(10,5,522,'SPELLDEFENSE(DND)',1),
+(10,5,585,'Smite',1),
+(10,5,669,'Language Orcish',1),
+(10,5,813,'Language Thalassian',1),
+(10,5,822,'Magic Resistance',1),
+(10,5,2050,'Lesser Heal',1),
+(10,5,2382,'Generic',1),
+(10,5,2479,'Honorless Target',1),
+(10,5,3050,'Detect',1),
+(10,5,3365,'Opening',1),
+(10,5,5009,'Wands',1),
+(10,5,5019,'Shoot',1),
+(10,5,6233,'Closing',1),
+(10,5,6246,'Closing',1),
+(10,5,6247,'Opening',1),
+(10,5,6477,'Opening',1),
+(10,5,6478,'Opening',1),
+(10,5,6603,'Attack',1),
+(10,5,7266,'Duel',1),
+(10,5,7267,'Grovel',1),
+(10,5,7355,'Stuck',1),
+(10,5,8386,'Attacking',1),
+(10,5,9078,'Cloth',1),
+(10,5,9125,'Generic',1),
+(10,5,21651,'Opening',1),
+(10,5,21652,'Closing',1),
+(10,5,22027,'Remove Insignia',1),
+(10,5,22810,'Opening - No Text',1),
+(10,5,28730,'Arcane Torrent',1),
+(10,5,28734,'Mana Tap',1),
+(10,5,28877,'Arcane Affinity',1),
+(10,8,81,'Dodge',1),
+(10,8,133,'Fireball',1),
+(10,8,168,'Frost Armor',1),
+(10,8,203,'Unarmed',1),
+(10,8,204,'Defense',1),
+(10,8,227,'Staves',1),
+(10,8,522,'SPELLDEFENSE(DND)',1),
+(10,8,669,'Language Orcish',1),
+(10,8,813,'Language Thalassian',1),
+(10,8,822,'Magic Resistance',1),
+(10,8,2382,'Generic',1),
+(10,8,2479,'Honorless Target',1),
+(10,8,3050,'Detect',1),
+(10,8,3365,'Opening',1),
+(10,8,5009,'Wands',1),
+(10,8,5019,'Shoot',1),
+(10,8,6233,'Closing',1),
+(10,8,6246,'Closing',1),
+(10,8,6247,'Opening',1),
+(10,8,6477,'Opening',1),
+(10,8,6478,'Opening',1),
+(10,8,6603,'Attack',1),
+(10,8,7266,'Duel',1),
+(10,8,7267,'Grovel',1),
+(10,8,7355,'Stuck',1),
+(10,8,8386,'Attacking',1),
+(10,8,9078,'Cloth',1),
+(10,8,9125,'Generic',1),
+(10,8,21651,'Opening',1),
+(10,8,21652,'Closing',1),
+(10,8,22027,'Remove Insignia',1),
+(10,8,22810,'Opening - No Text',1),
+(10,8,28730,'Arcane Torrent',1),
+(10,8,28734,'Mana Tap',1),
+(10,8,28877,'Arcane Affinity',1),
+(10,9,81,'Dodge',1),
+(10,9,203,'Unarmed',1),
+(10,9,204,'Defense',1),
+(10,9,522,'SPELLDEFENSE(DND)',1),
+(10,9,669,'Language Orcish',1),
+(10,9,686,'Shadow Bolt',1),
+(10,9,687,'Demon Skin',1),
+(10,9,813,'Language Thalassian',1),
+(10,9,822,'Magic Resistance',1),
+(10,9,1180,'Daggers',1),
+(10,9,2382,'Generic',1),
+(10,9,2479,'Honorless Target',1),
+(10,9,3050,'Detect',1),
+(10,9,3365,'Opening',1),
+(10,9,5009,'Wands',1),
+(10,9,5019,'Shoot',1),
+(10,9,6233,'Closing',1),
+(10,9,6246,'Closing',1),
+(10,9,6247,'Opening',1),
+(10,9,6477,'Opening',1),
+(10,9,6478,'Opening',1),
+(10,9,6603,'Attack',1),
+(10,9,7266,'Duel',1),
+(10,9,7267,'Grovel',1),
+(10,9,7355,'Stuck',1),
+(10,9,8386,'Attacking',1),
+(10,9,9078,'Cloth',1),
+(10,9,9125,'Generic',1),
+(10,9,21651,'Opening',1),
+(10,9,21652,'Closing',1),
+(10,9,22027,'Remove Insignia',1),
+(10,9,22810,'Opening - No Text',1),
+(10,9,28730,'Arcane Torrent',1),
+(10,9,28734,'Mana Tap',1),
+(10,9,28877,'Arcane Affinity',1),
+(11,1,78,'Heroic Strike',1),
+(11,1,81,'Dodge',1),
+(11,1,107,'Block',1),
+(11,1,198,'One-Handed Maces',1),
+(11,1,201,'One-Handed Swords',1),
+(11,1,202,'Two-Handed Swords',1),
+(11,1,203,'Unarmed',1),
+(11,1,204,'Defense',1),
+(11,1,522,'SPELLDEFENSE(DND)',1),
+(11,1,668,'Language Common',1),
+(11,1,2382,'Generic',1),
+(11,1,2457,'Battle Stance',1),
+(11,1,2479,'Honorless Target',1),
+(11,1,3050,'Detect',1),
+(11,1,3365,'Opening',1),
+(11,1,5301,'Defensive State(DND)',1),
+(11,1,6233,'Closing',1),
+(11,1,6246,'Closing',1),
+(11,1,6247,'Opening',1),
+(11,1,6477,'Opening',1),
+(11,1,6478,'Opening',1),
+(11,1,6562,'Heroic Presence',1),
+(11,1,6603,'Attack',1),
+(11,1,7266,'Duel',1),
+(11,1,7267,'Grovel',1),
+(11,1,7355,'Stuck',1),
+(11,1,7376,'Defensive Stance Passive',0),
+(11,1,7381,'Berserker Stance Passive',0),
+(11,1,8386,'Attacking',1),
+(11,1,8737,'Mail',1),
+(11,1,9077,'Leather',1),
+(11,1,9078,'Cloth',1),
+(11,1,9116,'Shield',1),
+(11,1,9125,'Generic',1),
+(11,1,20579,'Shadow Resistance',1),
+(11,1,21156,'Battle Stance Passive',0),
+(11,1,21651,'Opening',1),
+(11,1,21652,'Closing',1),
+(11,1,22027,'Remove Insignia',1),
+(11,1,22810,'Opening - No Text',1),
+(11,1,28875,'Gemcutting',1),
+(11,1,28880,'Gift of the Naaru',1),
+(11,1,29932,'Language Draenei',1),
+(11,1,32215,'Victorious State',1),
+(11,2,81,'Dodge',1),
+(11,2,107,'Block',1),
+(11,2,198,'One-Handed Maces',1),
+(11,2,199,'Two-Handed Maces',1),
+(11,2,203,'Unarmed',1),
+(11,2,204,'Defense',1),
+(11,2,522,'SPELLDEFENSE(DND)',1),
+(11,2,635,'Holy Light',1),
+(11,2,668,'Language Common',1),
+(11,2,2382,'Generic',1),
+(11,2,2479,'Honorless Target',1),
+(11,2,3050,'Detect',1),
+(11,2,3365,'Opening',1),
+(11,2,6233,'Closing',1),
+(11,2,6246,'Closing',1),
+(11,2,6247,'Opening',1),
+(11,2,6477,'Opening',1),
+(11,2,6478,'Opening',1),
+(11,2,6562,'Heroic Presence',1),
+(11,2,6603,'Attack',1),
+(11,2,7266,'Duel',1),
+(11,2,7267,'Grovel',1),
+(11,2,7355,'Stuck',1),
+(11,2,8386,'Attacking',1),
+(11,2,8737,'Mail',1),
+(11,2,9077,'Leather',1),
+(11,2,9078,'Cloth',1),
+(11,2,9116,'Shield',1),
+(11,2,9125,'Generic',1),
+(11,2,21084,'Seal of Righteousness',1),
+(11,2,20579,'Shadow Resistance',1),
+(11,2,21651,'Opening',1),
+(11,2,21652,'Closing',1),
+(11,2,22027,'Remove Insignia',1),
+(11,2,22810,'Opening - No Text',1),
+(11,2,27762,'Libram',1),
+(11,2,28875,'Gemcutting',1),
+(11,2,28880,'Gift of the Naaru',1),
+(11,2,29932,'Language Draenei',1),
+(11,3,75,'Auto Shot',1),
+(11,3,81,'Dodge',1),
+(11,3,201,'One-Handed Swords',1),
+(11,3,203,'Unarmed',1),
+(11,3,204,'Defense',1),
+(11,3,522,'SPELLDEFENSE(DND)',1),
+(11,3,668,'Language Common',1),
+(11,3,2382,'Generic',1),
+(11,3,2479,'Honorless Target',1),
+(11,3,2973,'Raptor Strike',1),
+(11,3,3050,'Detect',1),
+(11,3,3365,'Opening',1),
+(11,3,5011,'Crossbows',1),
+(11,3,6233,'Closing',1),
+(11,3,6246,'Closing',1),
+(11,3,6247,'Opening',1),
+(11,3,6477,'Opening',1),
+(11,3,6478,'Opening',1),
+(11,3,6562,'Heroic Presence',1),
+(11,3,6603,'Attack',1),
+(11,3,7266,'Duel',1),
+(11,3,7267,'Grovel',1),
+(11,3,7355,'Stuck',1),
+(11,3,8386,'Attacking',1),
+(11,3,9077,'Leather',1),
+(11,3,9078,'Cloth',1),
+(11,3,9125,'Generic',1),
+(11,3,13358,'Defensive State(DND)',1),
+(11,3,20579,'Shadow Resistance',1),
+(11,3,21651,'Opening',1),
+(11,3,21652,'Closing',1),
+(11,3,22027,'Remove Insignia',1),
+(11,3,22810,'Opening - No Text',1),
+(11,3,24949,'Defensive State 2(DND)',1),
+(11,3,28875,'Gemcutting',1),
+(11,3,28880,'Gift of the Naaru',1),
+(11,3,29932,'Language Draenei',1),
+(11,3,34082,'Advantaged State(DND)',1),
+(11,5,81,'Dodge',1),
+(11,5,198,'One-Handed Maces',1),
+(11,5,203,'Unarmed',1),
+(11,5,204,'Defense',1),
+(11,5,522,'SPELLDEFENSE(DND)',1),
+(11,5,585,'Smite',1),
+(11,5,668,'Language Common',1),
+(11,5,2050,'Lesser Heal',1),
+(11,5,2382,'Generic',1),
+(11,5,2479,'Honorless Target',1),
+(11,5,3050,'Detect',1),
+(11,5,3365,'Opening',1),
+(11,5,5009,'Wands',1),
+(11,5,5019,'Shoot',1),
+(11,5,6233,'Closing',1),
+(11,5,6246,'Closing',1),
+(11,5,6247,'Opening',1),
+(11,5,6477,'Opening',1),
+(11,5,6478,'Opening',1),
+(11,5,6603,'Attack',1),
+(11,5,7266,'Duel',1),
+(11,5,7267,'Grovel',1),
+(11,5,7355,'Stuck',1),
+(11,5,8386,'Attacking',1),
+(11,5,9078,'Cloth',1),
+(11,5,9125,'Generic',1),
+(11,5,20579,'Shadow Resistance',1),
+(11,5,21651,'Opening',1),
+(11,5,21652,'Closing',1),
+(11,5,22027,'Remove Insignia',1),
+(11,5,22810,'Opening - No Text',1),
+(11,5,28875,'Gemcutting',1),
+(11,5,28878,'Inspiring Presence',1),
+(11,5,28880,'Gift of the Naaru',1),
+(11,5,29932,'Language Draenei',1),
+(11,7,81,'Dodge',1),
+(11,7,107,'Block',1),
+(11,7,198,'One-Handed Maces',1),
+(11,7,203,'Unarmed',1),
+(11,7,204,'Defense',1),
+(11,7,227,'Staves',1),
+(11,7,331,'Healing Wave',1),
+(11,7,403,'Lightning Bolt',1),
+(11,7,522,'SPELLDEFENSE(DND)',1),
+(11,7,668,'Language Common',1),
+(11,7,2382,'Generic',1),
+(11,7,2479,'Honorless Target',1),
+(11,7,3050,'Detect',1),
+(11,7,3365,'Opening',1),
+(11,7,6233,'Closing',1),
+(11,7,6246,'Closing',1),
+(11,7,6247,'Opening',1),
+(11,7,6477,'Opening',1),
+(11,7,6478,'Opening',1),
+(11,7,6603,'Attack',1),
+(11,7,7266,'Duel',1),
+(11,7,7267,'Grovel',1),
+(11,7,7355,'Stuck',1),
+(11,7,8386,'Attacking',1),
+(11,7,9077,'Leather',1),
+(11,7,9078,'Cloth',1),
+(11,7,9116,'Shield',1),
+(11,7,9125,'Generic',1),
+(11,7,20579,'Shadow Resistance',1),
+(11,7,21651,'Opening',1),
+(11,7,21652,'Closing',1),
+(11,7,22027,'Remove Insignia',1),
+(11,7,22810,'Opening - No Text',1),
+(11,7,27763,'Totem',1),
+(11,7,28875,'Gemcutting',1),
+(11,7,28878,'Inspiring Presence',1),
+(11,7,28880,'Gift of the Naaru',1),
+(11,7,29932,'Language Draenei',1),
+(11,8,81,'Dodge',1),
+(11,8,133,'Fireball',1),
+(11,8,168,'Frost Armor',1),
+(11,8,203,'Unarmed',1),
+(11,8,204,'Defense',1),
+(11,8,227,'Staves',1),
+(11,8,522,'SPELLDEFENSE(DND)',1),
+(11,8,668,'Language Common',1),
+(11,8,2382,'Generic',1),
+(11,8,2479,'Honorless Target',1),
+(11,8,3050,'Detect',1),
+(11,8,3365,'Opening',1),
+(11,8,5009,'Wands',1),
+(11,8,5019,'Shoot',1),
+(11,8,6233,'Closing',1),
+(11,8,6246,'Closing',1),
+(11,8,6247,'Opening',1),
+(11,8,6477,'Opening',1),
+(11,8,6478,'Opening',1),
+(11,8,6603,'Attack',1),
+(11,8,7266,'Duel',1),
+(11,8,7267,'Grovel',1),
+(11,8,7355,'Stuck',1),
+(11,8,8386,'Attacking',1),
+(11,8,9078,'Cloth',1),
+(11,8,9125,'Generic',1),
+(11,8,20579,'Shadow Resistance',1),
+(11,8,21651,'Opening',1),
+(11,8,21652,'Closing',1),
+(11,8,22027,'Remove Insignia',1),
+(11,8,22810,'Opening - No Text',1),
+(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);
+/*!40000 ALTER TABLE `playercreateinfo_spell` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `prospecting_loot_template`
+--
+
+DROP TABLE IF EXISTS `prospecting_loot_template`;
+CREATE TABLE `prospecting_loot_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `item` mediumint(8) unsigned NOT NULL default '0',
+ `ChanceOrQuestChance` float NOT NULL default '100',
+ `groupid` tinyint(3) unsigned NOT NULL default '0',
+ `mincountOrRef` mediumint(9) NOT NULL default '1',
+ `maxcount` tinyint(3) unsigned NOT NULL default '1',
+ `lootcondition` tinyint(3) unsigned NOT NULL default '0',
+ `condition_value1` mediumint(8) unsigned NOT NULL default '0',
+ `condition_value2` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+
+--
+-- Dumping data for table `prospecting_loot_template`
+--
+
+LOCK TABLES `prospecting_loot_template` WRITE;
+/*!40000 ALTER TABLE `prospecting_loot_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `prospecting_loot_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `quest_end_scripts`
+--
+
+DROP TABLE IF EXISTS `quest_end_scripts`;
+CREATE TABLE `quest_end_scripts` (
+ `id` mediumint(8) unsigned NOT NULL default '0',
+ `delay` int(10) unsigned NOT NULL default '0',
+ `command` mediumint(8) unsigned NOT NULL default '0',
+ `datalong` mediumint(8) unsigned NOT NULL default '0',
+ `datalong2` int(10) 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;
+
+--
+-- Dumping data for table `quest_end_scripts`
+--
+
+LOCK TABLES `quest_end_scripts` WRITE;
+/*!40000 ALTER TABLE `quest_end_scripts` DISABLE KEYS */;
+/*!40000 ALTER TABLE `quest_end_scripts` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `quest_start_scripts`
+--
+
+DROP TABLE IF EXISTS `quest_start_scripts`;
+CREATE TABLE `quest_start_scripts` (
+ `id` mediumint(8) unsigned NOT NULL default '0',
+ `delay` int(10) unsigned NOT NULL default '0',
+ `command` mediumint(8) unsigned NOT NULL default '0',
+ `datalong` mediumint(8) unsigned NOT NULL default '0',
+ `datalong2` int(10) 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;
+
+--
+-- Dumping data for table `quest_start_scripts`
+--
+
+LOCK TABLES `quest_start_scripts` WRITE;
+/*!40000 ALTER TABLE `quest_start_scripts` DISABLE KEYS */;
+/*!40000 ALTER TABLE `quest_start_scripts` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `quest_mail_loot_template`
+--
+
+DROP TABLE IF EXISTS `quest_mail_loot_template`;
+CREATE TABLE `quest_mail_loot_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `item` mediumint(8) unsigned NOT NULL default '0',
+ `ChanceOrQuestChance` float NOT NULL default '100',
+ `groupid` tinyint(3) unsigned NOT NULL default '0',
+ `mincountOrRef` mediumint(9) NOT NULL default '1',
+ `maxcount` tinyint(3) unsigned NOT NULL default '1',
+ `lootcondition` tinyint(3) unsigned NOT NULL default '0',
+ `condition_value1` mediumint(8) unsigned NOT NULL default '0',
+ `condition_value2` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+
+--
+-- Dumping data for table `quest_mail_loot_template`
+--
+
+LOCK TABLES `quest_mail_loot_template` WRITE;
+/*!40000 ALTER TABLE `quest_mail_loot_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `quest_mail_loot_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `quest_template`
+--
+
+DROP TABLE IF EXISTS `quest_template`;
+CREATE TABLE `quest_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `ZoneOrSort` smallint(6) NOT NULL default '0',
+ `SkillOrClass` smallint(6) NOT NULL default '0',
+ `MinLevel` tinyint(3) unsigned NOT NULL default '0',
+ `QuestLevel` tinyint(3) unsigned NOT NULL default '0',
+ `Type` smallint(5) unsigned NOT NULL default '0',
+ `RequiredRaces` smallint(5) unsigned NOT NULL default '0',
+ `RequiredSkillValue` smallint(5) unsigned NOT NULL default '0',
+ `RepObjectiveFaction` smallint(5) unsigned NOT NULL default '0',
+ `RepObjectiveValue` mediumint(9) NOT NULL default '0',
+ `RequiredMinRepFaction` smallint(5) unsigned NOT NULL default '0',
+ `RequiredMinRepValue` mediumint(9) NOT NULL default '0',
+ `RequiredMaxRepFaction` smallint(5) unsigned NOT NULL default '0',
+ `RequiredMaxRepValue` mediumint(9) NOT NULL default '0',
+ `SuggestedPlayers` tinyint(3) unsigned NOT NULL default '0',
+ `LimitTime` int(10) unsigned NOT NULL default '0',
+ `QuestFlags` smallint(5) unsigned NOT NULL default '0',
+ `SpecialFlags` tinyint(3) unsigned NOT NULL default '0',
+ `CharTitleId` tinyint(3) unsigned NOT NULL default '0',
+ `PrevQuestId` mediumint(9) NOT NULL default '0',
+ `NextQuestId` mediumint(9) NOT NULL default '0',
+ `ExclusiveGroup` mediumint(9) NOT NULL default '0',
+ `NextQuestInChain` mediumint(8) unsigned NOT NULL default '0',
+ `SrcItemId` mediumint(8) unsigned NOT NULL default '0',
+ `SrcItemCount` tinyint(3) unsigned NOT NULL default '0',
+ `SrcSpell` mediumint(8) unsigned NOT NULL default '0',
+ `Title` text,
+ `Details` text,
+ `Objectives` text,
+ `OfferRewardText` text,
+ `RequestItemsText` text,
+ `EndText` text,
+ `ObjectiveText1` text,
+ `ObjectiveText2` text,
+ `ObjectiveText3` text,
+ `ObjectiveText4` text,
+ `ReqItemId1` mediumint(8) unsigned NOT NULL default '0',
+ `ReqItemId2` mediumint(8) unsigned NOT NULL default '0',
+ `ReqItemId3` mediumint(8) unsigned NOT NULL default '0',
+ `ReqItemId4` mediumint(8) unsigned NOT NULL default '0',
+ `ReqItemCount1` smallint(5) unsigned NOT NULL default '0',
+ `ReqItemCount2` smallint(5) unsigned NOT NULL default '0',
+ `ReqItemCount3` smallint(5) unsigned NOT NULL default '0',
+ `ReqItemCount4` smallint(5) unsigned NOT NULL default '0',
+ `ReqSourceId1` mediumint(8) unsigned NOT NULL default '0',
+ `ReqSourceId2` mediumint(8) unsigned NOT NULL default '0',
+ `ReqSourceId3` mediumint(8) unsigned NOT NULL default '0',
+ `ReqSourceId4` mediumint(8) unsigned NOT NULL default '0',
+ `ReqSourceCount1` smallint(5) unsigned NOT NULL default '0',
+ `ReqSourceCount2` smallint(5) unsigned NOT NULL default '0',
+ `ReqSourceCount3` smallint(5) unsigned NOT NULL default '0',
+ `ReqSourceCount4` smallint(5) unsigned NOT NULL default '0',
+ `ReqSourceRef1` tinyint(3) unsigned NOT NULL default '0',
+ `ReqSourceRef2` tinyint(3) unsigned NOT NULL default '0',
+ `ReqSourceRef3` tinyint(3) unsigned NOT NULL default '0',
+ `ReqSourceRef4` tinyint(3) unsigned NOT NULL default '0',
+ `ReqCreatureOrGOId1` mediumint(9) NOT NULL default '0',
+ `ReqCreatureOrGOId2` mediumint(9) NOT NULL default '0',
+ `ReqCreatureOrGOId3` mediumint(9) NOT NULL default '0',
+ `ReqCreatureOrGOId4` mediumint(9) NOT NULL default '0',
+ `ReqCreatureOrGOCount1` smallint(5) unsigned NOT NULL default '0',
+ `ReqCreatureOrGOCount2` smallint(5) unsigned NOT NULL default '0',
+ `ReqCreatureOrGOCount3` smallint(5) unsigned NOT NULL default '0',
+ `ReqCreatureOrGOCount4` smallint(5) unsigned NOT NULL default '0',
+ `ReqSpellCast1` mediumint(8) unsigned NOT NULL default '0',
+ `ReqSpellCast2` mediumint(8) unsigned NOT NULL default '0',
+ `ReqSpellCast3` mediumint(8) unsigned NOT NULL default '0',
+ `ReqSpellCast4` mediumint(8) unsigned NOT NULL default '0',
+ `RewChoiceItemId1` mediumint(8) unsigned NOT NULL default '0',
+ `RewChoiceItemId2` mediumint(8) unsigned NOT NULL default '0',
+ `RewChoiceItemId3` mediumint(8) unsigned NOT NULL default '0',
+ `RewChoiceItemId4` mediumint(8) unsigned NOT NULL default '0',
+ `RewChoiceItemId5` mediumint(8) unsigned NOT NULL default '0',
+ `RewChoiceItemId6` mediumint(8) unsigned NOT NULL default '0',
+ `RewChoiceItemCount1` smallint(5) unsigned NOT NULL default '0',
+ `RewChoiceItemCount2` smallint(5) unsigned NOT NULL default '0',
+ `RewChoiceItemCount3` smallint(5) unsigned NOT NULL default '0',
+ `RewChoiceItemCount4` smallint(5) unsigned NOT NULL default '0',
+ `RewChoiceItemCount5` smallint(5) unsigned NOT NULL default '0',
+ `RewChoiceItemCount6` smallint(5) unsigned NOT NULL default '0',
+ `RewItemId1` mediumint(8) unsigned NOT NULL default '0',
+ `RewItemId2` mediumint(8) unsigned NOT NULL default '0',
+ `RewItemId3` mediumint(8) unsigned NOT NULL default '0',
+ `RewItemId4` mediumint(8) unsigned NOT NULL default '0',
+ `RewItemCount1` smallint(5) unsigned NOT NULL default '0',
+ `RewItemCount2` smallint(5) unsigned NOT NULL default '0',
+ `RewItemCount3` smallint(5) unsigned NOT NULL default '0',
+ `RewItemCount4` smallint(5) unsigned NOT NULL default '0',
+ `RewRepFaction1` smallint(5) unsigned NOT NULL default '0' COMMENT 'faction id from Faction.dbc in this case',
+ `RewRepFaction2` smallint(5) unsigned NOT NULL default '0' COMMENT 'faction id from Faction.dbc in this case',
+ `RewRepFaction3` smallint(5) unsigned NOT NULL default '0' COMMENT 'faction id from Faction.dbc in this case',
+ `RewRepFaction4` smallint(5) unsigned NOT NULL default '0' COMMENT 'faction id from Faction.dbc in this case',
+ `RewRepFaction5` smallint(5) unsigned NOT NULL default '0' COMMENT 'faction id from Faction.dbc in this case',
+ `RewRepValue1` mediumint(9) NOT NULL default '0',
+ `RewRepValue2` mediumint(9) NOT NULL default '0',
+ `RewRepValue3` mediumint(9) NOT NULL default '0',
+ `RewRepValue4` mediumint(9) NOT NULL default '0',
+ `RewRepValue5` mediumint(9) NOT NULL default '0',
+ `RewOrReqMoney` int(11) NOT NULL default '0',
+ `RewMoneyMaxLevel` int(10) unsigned NOT NULL default '0',
+ `RewSpell` mediumint(8) unsigned NOT NULL default '0',
+ `RewSpellCast` mediumint(8) unsigned NOT NULL default '0',
+ `RewMailTemplateId` mediumint(8) unsigned NOT NULL default '0',
+ `RewMailDelaySecs` int(11) unsigned NOT NULL default '0',
+ `PointMapId` smallint(5) unsigned NOT NULL default '0',
+ `PointX` float NOT NULL default '0',
+ `PointY` float NOT NULL default '0',
+ `PointOpt` mediumint(8) unsigned NOT NULL default '0',
+ `DetailsEmote1` smallint(5) unsigned NOT NULL default '0',
+ `DetailsEmote2` smallint(5) unsigned NOT NULL default '0',
+ `DetailsEmote3` smallint(5) unsigned NOT NULL default '0',
+ `DetailsEmote4` smallint(5) unsigned NOT NULL default '0',
+ `IncompleteEmote` smallint(5) unsigned NOT NULL default '0',
+ `CompleteEmote` smallint(5) unsigned NOT NULL default '0',
+ `OfferRewardEmote1` smallint(5) unsigned NOT NULL default '0',
+ `OfferRewardEmote2` smallint(5) unsigned NOT NULL default '0',
+ `OfferRewardEmote3` smallint(5) unsigned NOT NULL default '0',
+ `OfferRewardEmote4` smallint(5) unsigned NOT NULL default '0',
+ `StartScript` mediumint(8) unsigned NOT NULL default '0',
+ `CompleteScript` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Quest System';
+
+--
+-- Dumping data for table `quest_template`
+--
+
+LOCK TABLES `quest_template` WRITE;
+/*!40000 ALTER TABLE `quest_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `quest_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `reference_loot_template`
+--
+
+DROP TABLE IF EXISTS `reference_loot_template`;
+CREATE TABLE `reference_loot_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `item` mediumint(8) unsigned NOT NULL default '0',
+ `ChanceOrQuestChance` float NOT NULL default '100',
+ `groupid` tinyint(3) unsigned NOT NULL default '0',
+ `mincountOrRef` mediumint(9) NOT NULL default '1',
+ `maxcount` tinyint(3) unsigned NOT NULL default '1',
+ `lootcondition` tinyint(3) unsigned NOT NULL default '0',
+ `condition_value1` mediumint(8) unsigned NOT NULL default '0',
+ `condition_value2` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+
+--
+-- Dumping data for table `reference_loot_template`
+--
+
+LOCK TABLES `reference_loot_template` WRITE;
+/*!40000 ALTER TABLE `reference_loot_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `reference_loot_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `reserved_name`
+--
+
+DROP TABLE IF EXISTS `reserved_name`;
+CREATE TABLE `reserved_name` (
+ `name` varchar(12) NOT NULL default '',
+ PRIMARY KEY (`name`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player Reserved Names';
+
+--
+-- Dumping data for table `reserved_name`
+--
+
+LOCK TABLES `reserved_name` WRITE;
+/*!40000 ALTER TABLE `reserved_name` DISABLE KEYS */;
+/*!40000 ALTER TABLE `reserved_name` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `skill_discovery_template`
+--
+
+DROP TABLE IF EXISTS `skill_discovery_template`;
+CREATE TABLE `skill_discovery_template` (
+ `spellId` mediumint(8) unsigned NOT NULL default '0' COMMENT 'SpellId of the discoverable spell',
+ `reqSpell` mediumint(8) 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';
+
+--
+-- Dumping data for table `skill_discovery_template`
+--
+
+LOCK TABLES `skill_discovery_template` WRITE;
+/*!40000 ALTER TABLE `skill_discovery_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `skill_discovery_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `skill_extra_item_template`
+--
+
+DROP TABLE IF EXISTS `skill_extra_item_template`;
+CREATE TABLE `skill_extra_item_template` (
+ `spellId` mediumint(8) unsigned NOT NULL default '0' COMMENT 'SpellId of the item creation spell',
+ `requiredSpecialization` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Specialization spell id',
+ `additionalCreateChance` float NOT NULL default '0' COMMENT 'chance to create add',
+ `additionalMaxNum` tinyint(3) unsigned NOT NULL default '0' COMMENT 'max num of adds',
+ PRIMARY KEY (`spellId`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Skill Specialization System';
+
+--
+-- Dumping data for table `skill_extra_item_template`
+--
+
+LOCK TABLES `skill_extra_item_template` WRITE;
+/*!40000 ALTER TABLE `skill_extra_item_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `skill_extra_item_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `skill_fishing_base_level`
+--
+
+DROP TABLE IF EXISTS `skill_fishing_base_level`;
+CREATE TABLE `skill_fishing_base_level` (
+ `entry` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Area identifier',
+ `skill` smallint(6) NOT NULL default '0' COMMENT 'Base skill level requirement',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Fishing system';
+
+--
+-- Dumping data for table `skill_fishing_base_level`
+--
+
+LOCK TABLES `skill_fishing_base_level` WRITE;
+/*!40000 ALTER TABLE `skill_fishing_base_level` DISABLE KEYS */;
+/*!40000 ALTER TABLE `skill_fishing_base_level` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `skinning_loot_template`
+--
+
+DROP TABLE IF EXISTS `skinning_loot_template`;
+CREATE TABLE `skinning_loot_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `item` mediumint(8) unsigned NOT NULL default '0',
+ `ChanceOrQuestChance` float NOT NULL default '100',
+ `groupid` tinyint(3) unsigned NOT NULL default '0',
+ `mincountOrRef` mediumint(9) NOT NULL default '1',
+ `maxcount` tinyint(3) unsigned NOT NULL default '1',
+ `lootcondition` tinyint(3) unsigned NOT NULL default '0',
+ `condition_value1` mediumint(8) unsigned NOT NULL default '0',
+ `condition_value2` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+
+--
+-- Dumping data for table `skinning_loot_template`
+--
+
+LOCK TABLES `skinning_loot_template` WRITE;
+/*!40000 ALTER TABLE `skinning_loot_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `skinning_loot_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `spell_affect`
+--
+
+DROP TABLE IF EXISTS `spell_affect`;
+CREATE TABLE `spell_affect` (
+ `entry` smallint(5) unsigned NOT NULL default '0',
+ `effectId` tinyint(3) unsigned NOT NULL default '0',
+ `SpellFamilyMask` bigint(20) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`effectId`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `spell_affect`
+--
+
+LOCK TABLES `spell_affect` WRITE;
+/*!40000 ALTER TABLE `spell_affect` DISABLE KEYS */;
+INSERT INTO `spell_affect` VALUES
+(5420,2,0x00001012100000D0),
+(8875,1,0x0000040000000000),
+(11069,0,0x0000000000000001),
+(11070,0,0x0000000000000020),
+(11071,0,0x0000000000100000),
+(11083,0,0x0000000000C20017),
+(11124,0,0x0000000008C20017),
+(11151,0,0x00000000000202E0),
+(11160,0,0x00000001020203E0),
+(11175,1,0x0000000000100000),
+(11207,0,0x00000000000202E0),
+(11222,0,0x0000000020001800),
+(11242,0,0x0000000020001000),
+(11247,0,0x0000000000002000),
+(12042,0,0x0000000020E01AF7),
+(12042,1,0x0000000020E01AF7),
+(12042,2,0x0000000020E01AF7),
+(12043,0,0x0000000021400035),
+(12285,0,0x0000000000000001),
+(12286,0,0x0000000000000020),
+(12287,1,0x0000000000000080),
+(12295,1,0x0000000002000000),
+(12295,2,0x0000040000000000),
+(12301,0,0x0000000000000100),
+(12303,1,0x0000100000000000),
+(12308,0,0x0000000000004000),
+(12318,0,0x0000008000010000),
+(12321,0,0x0000008000030000),
+(12321,1,0x0000008000030000),
+(12330,0,0x0000000000200000),
+(12338,0,0x0000000000000001),
+(12339,0,0x0000000000000001),
+(12340,0,0x0000000000000001),
+(12341,0,0x0000000000000001),
+(12351,0,0x0000000000C20017),
+(12378,0,0x0000000008C20017),
+(12398,0,0x0000000008C20017),
+(12399,0,0x0000000008C20017),
+(12400,0,0x0000000008C20017),
+(12467,0,0x0000000020001000),
+(12469,0,0x0000000020001000),
+(12472,1,0x00000000E44008A5),
+(12473,0,0x0000000000000020),
+(12496,0,0x0000000000100000),
+(12497,0,0x0000000000100000),
+(12518,0,0x00000001020203E0),
+(12519,0,0x00000001020203E0),
+(12536,0,0x0000000020C01AF7),
+(12569,1,0x0000000000100000),
+(12571,1,0x0000000000100000),
+(12606,0,0x0000000000002000),
+(12658,0,0x0000000000000020),
+(12659,0,0x0000000000000020),
+(12665,1,0x0000000000000080),
+(12666,1,0x0000000000000080),
+(12672,0,0x00000000000202E0),
+(12676,1,0x0000000002000000),
+(12676,2,0x0000040000000000),
+(12677,1,0x0000000002000000),
+(12677,2,0x0000040000000000),
+(12697,0,0x0000000000000001),
+(12788,1,0x0000100000000000),
+(12789,1,0x0000100000000000),
+(12810,0,0x0000000000004000),
+(12811,0,0x0000000000004000),
+(12818,0,0x0000000000000100),
+(12835,0,0x0000008000030000),
+(12835,1,0x0000008000030000),
+(12836,0,0x0000008000030000),
+(12836,1,0x0000008000030000),
+(12837,0,0x0000008000030000),
+(12837,1,0x0000008000030000),
+(12838,0,0x0000008000030000),
+(12838,1,0x0000008000030000),
+(12839,0,0x0000000020001800),
+(12840,0,0x0000000020001800),
+(12841,0,0x0000000020001800),
+(12842,0,0x0000000020001800),
+(12857,0,0x0000008000010000),
+(12858,0,0x0000008000010000),
+(12860,0,0x0000008000010000),
+(12861,0,0x0000008000010000),
+(12862,0,0x0000000000200000),
+(12945,1,0x0000000000001000),
+(12952,0,0x00000000000202E0),
+(12953,0,0x00000000000202E0),
+(12954,0,0x00000000000202E0),
+(12957,0,0x00000000000202E0),
+(13733,0,0x0000000000000004),
+(13733,1,0x0000000400000000),
+(13742,0,0x0000000000000060),
+(13743,0,0x0000000000000040),
+(13865,0,0x0000000000000004),
+(13865,1,0x0000000400000000),
+(13866,0,0x0000000000000004),
+(13866,1,0x0000000400000000),
+(13872,0,0x0000000000000060),
+(13875,0,0x0000000000000040),
+(13975,0,0x0000000000400000),
+(13975,1,0x0000000000400000),
+(13976,0,0x0000000000000700),
+(13979,0,0x0000000000000700),
+(13980,0,0x0000000000000700),
+(13981,0,0x0000000001000000),
+(13981,1,0x0000000000000800),
+(14057,0,0x0000000600000304),
+(14062,0,0x0000000000400000),
+(14062,1,0x0000000000400000),
+(14063,0,0x0000000000400000),
+(14063,1,0x0000000000400000),
+(14064,0,0x0000000000400000),
+(14064,1,0x0000000000400000),
+(14065,0,0x0000000000400000),
+(14065,1,0x0000000000400000),
+(14066,0,0x0000000001000000),
+(14066,1,0x0000000000000800),
+(14072,0,0x0000000600000304),
+(14073,0,0x0000000600000304),
+(14074,0,0x0000000600000304),
+(14075,0,0x0000000600000304),
+(14076,0,0x0000000001000080),
+(14076,1,0x0000000001000080),
+(14082,0,0x0000000000000500),
+(14083,0,0x0000000000000500),
+(14094,0,0x0000000001000080),
+(14094,1,0x0000000001000080),
+(14113,0,0x000000000001E000),
+(14114,0,0x000000000001E000),
+(14115,0,0x000000000001E000),
+(14116,0,0x000000000001E000),
+(14117,0,0x000000000001E000),
+(14128,0,0x000000062600000E),
+(14132,0,0x000000062600000E),
+(14135,0,0x000000062600000E),
+(14136,0,0x000000062600000E),
+(14137,0,0x000000062600000E),
+(14143,0,0x0000000004000206),
+(14149,0,0x0000000004000206),
+(14162,0,0x0000000000020000),
+(14163,0,0x0000000000020000),
+(14164,0,0x0000000000020000),
+(14168,0,0x0000000000080000),
+(14169,0,0x0000000000080000),
+(14174,0,0x0000000000200000),
+(14175,0,0x0000000000200000),
+(14176,0,0x0000000000200000),
+(14177,0,0x0000000C6012031E),
+(14179,0,0x00000009003E0000),
+(14520,0,0x00000963BF61C16F),
+(14523,1,0x000000208030016B),
+(14523,2,0x000000208030016B),
+(14743,0,0x0000049440963E90),
+(14747,0,0x0000000000000002),
+(14750,0,0x0000000000000010),
+(14751,0,0xFFFFFFFFFFFFFFFF),
+(14751,1,0xFFFFFFFFFFFFFFFF),
+(14770,0,0x0000000000000002),
+(14771,0,0x0000000000000002),
+(14772,0,0x0000000000000010),
+(14780,0,0x00000963BF61C16F),
+(14781,0,0x00000963BF61C16F),
+(14782,0,0x00000963BF61C16F),
+(14783,0,0x00000963BF61C16F),
+(14784,1,0x000000208030016B),
+(14784,2,0x000000208030016B),
+(14785,1,0x000000208030016B),
+(14785,2,0x000000208030016B),
+(14786,1,0x000000208030016B),
+(14786,2,0x000000208030016B),
+(14787,1,0x000000208030016B),
+(14787,2,0x000000208030016B),
+(14908,0,0x0000000000000040),
+(14909,1,0x0000000000100080),
+(14911,0,0x0000002000000200),
+(14912,0,0x0000000000041400),
+(14913,0,0x0000000400041E00),
+(15012,0,0x0000000400041E00),
+(15013,0,0x0000000000041400),
+(15014,0,0x0000000000041400),
+(15017,1,0x0000000000100080),
+(15018,0,0x0000002000000200),
+(15020,0,0x0000000000000040),
+(15047,0,0x00000000000202E0),
+(15052,0,0x00000000000202E0),
+(15053,0,0x00000000000202E0),
+(15257,0,0x000004020288A010),
+(15259,0,0x0000000202002000),
+(15259,1,0x0000040000808000),
+(15260,0,0x00000442068BA000),
+(15272,0,0x00000D4A068BE104),
+(15307,0,0x0000000202002000),
+(15307,1,0x0000040000808000),
+(15308,0,0x0000000202002000),
+(15308,1,0x0000040000808000),
+(15309,0,0x0000000202002000),
+(15309,1,0x0000040000808000),
+(15310,0,0x0000000202002000),
+(15310,1,0x0000040000808000),
+(15318,0,0x00000D4A068BE104),
+(15320,0,0x00000D4A068BE104),
+(15327,0,0x00000442068BA000),
+(15328,0,0x00000442068BA000),
+(15329,0,0x00000442068BA000),
+(15330,0,0x00000442068BA000),
+(15331,0,0x000004020288A010),
+(15332,0,0x000004020288A010),
+(15333,0,0x000004020288A010),
+(15334,0,0x000004020288A010),
+(16035,0,0x0000000090100003),
+(16038,0,0x0000000040000000),
+(16039,0,0x0000000090100003),
+(16041,0,0x0000000000000003),
+(16043,0,0x0000000000000008),
+(16043,1,0x0000000100000000),
+(16086,0,0x0000000000000020),
+(16086,1,0x0000000000000020),
+(16086,2,0x0000000000000004),
+(16089,0,0x00000004D3300407),
+(16105,0,0x0000000090100003),
+(16106,0,0x0000000090100003),
+(16106,1,0x0000000090100003),
+(16107,0,0x0000000090100003),
+(16108,0,0x0000000090100003),
+(16109,0,0x0000000090100003),
+(16110,0,0x0000000090100003),
+(16111,0,0x0000000090100003),
+(16112,0,0x0000000090100003),
+(16117,0,0x0000000000000003),
+(16118,0,0x0000000000000003),
+(16119,0,0x0000000000000003),
+(16120,0,0x0000000000000003),
+(16130,0,0x0000000000000008),
+(16130,1,0x0000000100000000),
+(16160,0,0x0000000040000000),
+(16161,0,0x0000000040000000),
+(16166,0,0x0000000090100003),
+(16166,1,0x0000000090100003),
+(16173,0,0x0000000020081018),
+(16179,0,0x00000000000000C0),
+(16181,0,0x00000000000001C0),
+(16184,0,0x0000000000000200),
+(16184,1,0x0000000000000200),
+(16187,0,0x0000000000006000),
+(16187,1,0x0000000000006000),
+(16188,0,0x00000000000009C3),
+(16189,0,0x000001000403E000),
+(16205,0,0x0000000000006000),
+(16205,1,0x0000000000006000),
+(16206,0,0x0000000000006000),
+(16206,1,0x0000000000006000),
+(16207,0,0x0000000000006000),
+(16207,1,0x0000000000006000),
+(16208,0,0x0000000000006000),
+(16208,1,0x0000000000006000),
+(16209,1,0x0000000000000200),
+(16214,0,0x00000000000000C0),
+(16215,0,0x00000000000000C0),
+(16216,0,0x00000000000000C0),
+(16217,0,0x00000000000000C0),
+(16222,0,0x0000000020081018),
+(16223,0,0x0000000020081018),
+(16224,0,0x0000000020081018),
+(16225,0,0x0000000020081018),
+(16230,0,0x00000000000001C0),
+(16232,0,0x00000000000001C0),
+(16233,0,0x00000000000001C0),
+(16234,0,0x00000000000001C0),
+(16246,0,0x0000000090100003),
+(16258,0,0x0000000000008000),
+(16258,1,0x0000000000040000),
+(16259,0,0x0000000000010000),
+(16259,1,0x0000000000020000),
+(16261,0,0x0000000000000400),
+(16266,0,0x0000000000400000),
+(16266,1,0x0000000001000000),
+(16266,2,0x0000000000800000),
+(16290,0,0x0000000000000400),
+(16291,0,0x0000000000000400),
+(16293,0,0x0000000000008000),
+(16293,1,0x0000000000040000),
+(16295,0,0x0000000000010000),
+(16295,1,0x0000000000020000),
+(16493,0,0x0000014D2A600CEF),
+(16494,0,0x0000014D2A600CEF),
+(16513,0,0x000000080001E000),
+(16513,1,0x000000000001E000),
+(16513,2,0x000000000001E000),
+(16514,0,0x000000080001E000),
+(16514,1,0x000000000001E000),
+(16514,2,0x000000000001E000),
+(16515,0,0x000000080001E000),
+(16515,1,0x000000000001E000),
+(16515,2,0x000000000001E000),
+(16544,2,0x0000000000000004),
+(16578,0,0x0000000000000003),
+(16579,0,0x0000000000000003),
+(16580,0,0x0000000000000003),
+(16581,0,0x0000000000000003),
+(16582,0,0x0000000000000003),
+(16719,0,0x000000080001E000),
+(16719,1,0x000000000001E000),
+(16719,2,0x000000000001E000),
+(16720,0,0x000000080001E000),
+(16720,1,0x000000000001E000),
+(16720,2,0x000000000001E000),
+(16757,0,0x00000000000200A0),
+(16757,1,0x0000000000000240),
+(16758,0,0x00000000000200A0),
+(16758,1,0x0000000000000240),
+(16763,0,0x0000000000000020),
+(16765,0,0x0000000000000020),
+(16766,0,0x0000000000000020),
+(16814,0,0x0000000000000005),
+(16815,0,0x0000000000000005),
+(16816,0,0x0000000000000005),
+(16817,0,0x0000000000000005),
+(16818,0,0x0000000000000005),
+(16819,0,0x0002122000600707),
+(16820,0,0x0002122000600707),
+(16821,0,0x0000000000000002),
+(16821,1,0x0000000000000002),
+(16821,2,0x0000000000000002),
+(16822,0,0x0000000000000002),
+(16822,1,0x0000000000000002),
+(16822,2,0x0000000000000002),
+(16833,0,0x0000E000E2000000),
+(16834,0,0x0000E000E2000000),
+(16835,0,0x0000E000E2000000),
+(16836,1,0x0000000000000300),
+(16839,1,0x0000000000000300),
+(16840,1,0x0000000000000300),
+(16850,1,0x0000000000000001),
+(16870,0,0x001007F100E3FEFF),
+(16886,0,0x0000000001000265),
+(16896,0,0x0000000000000007),
+(16896,1,0x0000000000000007),
+(16897,0,0x0000000000000007),
+(16897,1,0x0000000000000007),
+(16899,0,0x0000000000000007),
+(16899,1,0x0000000000000007),
+(16900,0,0x0000000000000007),
+(16900,1,0x0000000000000007),
+(16901,0,0x0000000000000007),
+(16901,1,0x0000000000000007),
+(16918,0,0x0000002000000200),
+(16919,0,0x0000002000000200),
+(16920,0,0x0000002000000200),
+(16923,1,0x0000000000000001),
+(16924,1,0x0000000000000001),
+(16934,0,0x0010004000000800),
+(16934,1,0x0000040000001000),
+(16935,0,0x0010004000000800),
+(16935,1,0x0000040000001000),
+(16936,0,0x0010004000000800),
+(16936,1,0x0000040000001000),
+(16937,0,0x0010004000000800),
+(16937,1,0x0000040000001000),
+(16938,0,0x0010004000000800),
+(16938,1,0x0000040000001000),
+(16947,1,0x0000000002000000),
+(16948,1,0x0000000002000000),
+(16949,1,0x0000000002000000),
+(16966,0,0x0000000000008000),
+(16966,1,0x0000010000000000),
+(16968,0,0x0000000000008000),
+(16968,1,0x0000010000000000),
+(16998,0,0x0000000000001000),
+(16998,2,0x0000000000001000),
+(16999,0,0x0000000000001000),
+(16999,2,0x0000000000001000),
+(17104,0,0x00000010000000F0),
+(17104,1,0x00000010000000F0),
+(17111,0,0x0000000000000010),
+(17112,0,0x0000000000000010),
+(17113,0,0x0000000000000010),
+(17114,0,0x0000000000000010),
+(17115,0,0x0000000000000010),
+(17116,0,0x0002002010000261),
+(17118,0,0x001005D000E193F7),
+(17118,1,0x0004103000340750),
+(17119,0,0x001005D000E193F7),
+(17119,1,0x0004103000340750),
+(17120,0,0x001005D000E193F7),
+(17120,1,0x0004103000340750),
+(17121,0,0x001005D000E193F7),
+(17121,1,0x0004103000340750),
+(17122,0,0x001005D000E193F7),
+(17122,1,0x0004103000340750),
+(17123,0,0x0000000000000080),
+(17124,0,0x0000000000000080),
+(17191,0,0x0000000000000040),
+(17322,0,0x00000542068AA004),
+(17323,0,0x00000542068AA004),
+(17768,0,0x0000000040000000),
+(17768,1,0x0000000080000000),
+(17778,0,0x000010C0000003E5),
+(17779,0,0x000010C0000003E5),
+(17780,0,0x000010C0000003E5),
+(17781,0,0x000010C0000003E5),
+(17782,0,0x000010C0000003E5),
+(17788,1,0x0000008000000000),
+(17789,1,0x0000008000000000),
+(17790,1,0x0000008000000000),
+(17791,1,0x0000008000000000),
+(17792,1,0x0000008000000000),
+(17904,0,0x0000000000000000),
+(17912,0,0x0000000000000000),
+(17913,0,0x0000000000000000),
+(17914,0,0x0000000000000000),
+(17915,0,0x0000000000000000),
+(17916,0,0x0000000000000000),
+(17917,0,0x000010C0000003A5),
+(17917,1,0x000010C0000003E5),
+(17918,0,0x000010C0000003A5),
+(17918,1,0x000010C0000003E5),
+(17927,0,0x0000000000000100),
+(17929,0,0x0000000000000100),
+(17930,0,0x0000000000000100),
+(17941,0,0x0000000000000001),
+(17954,0,0x000000C000001364),
+(17954,1,0x000000C000001364),
+(17954,2,0x0000004000000000),
+(17955,0,0x000000C000001364),
+(17955,1,0x000000C000001364),
+(17955,2,0x0000004000000000),
+(17956,0,0x000000C000001364),
+(17956,1,0x000000C000001364),
+(17956,2,0x0000004000000000),
+(17957,0,0x000000C000001364),
+(17957,1,0x000000C000001364),
+(17957,2,0x0000004000000000),
+(17958,0,0x000000C000001364),
+(17958,1,0x000000C000001364),
+(17958,2,0x0000004000000000),
+(17959,0,0x000010C0000003E5),
+(18126,0,0x0000000000001000),
+(18127,0,0x0000000000001000),
+(18130,0,0x000010C0000003E5),
+(18131,0,0x000010C0000003E5),
+(18132,0,0x000010C0000003E5),
+(18133,0,0x000010C0000003E5),
+(18134,0,0x000010C0000003E5),
+(18135,0,0x000010C0000003E5),
+(18136,0,0x000010C0000003E5),
+(18174,0,0x0000071B804CC41A),
+(18175,0,0x0000071B804CC41A),
+(18176,0,0x0000071B804CC41A),
+(18177,0,0x0000071B804CC41A),
+(18178,0,0x0000071B804CC41A),
+(18179,0,0x0000000000008000),
+(18180,0,0x0000000000008000),
+(18213,0,0x0000000000004000),
+(18213,1,0x0000871B804CC41A),
+(18218,0,0x000007138048C41A),
+(18219,0,0x000007138048C41A),
+(18271,0,0x000011130008A48B),
+(18271,1,0x000011130008A48B),
+(18272,0,0x000011130008A48B),
+(18272,1,0x000011130008A48B),
+(18273,0,0x000011130008A48B),
+(18273,1,0x000011130008A48B),
+(18274,0,0x000011130008A48B),
+(18274,1,0x000011130008A48B),
+(18275,0,0x000011130008A48B),
+(18275,1,0x000011130008A48B),
+(18288,0,0x0000000200000400),
+(18288,1,0x0000000000400000),
+(18372,1,0x0000871B804CC41A),
+(18427,0,0x0000000000020006),
+(18428,0,0x0000000000020006),
+(18429,0,0x0000000000020006),
+(18544,0,0x0000041202F8A090),
+(18544,1,0x0000001202582090),
+(18544,2,0x0000040000A08000),
+(18547,0,0x0000041202F8A090),
+(18547,1,0x0000001202582090),
+(18547,2,0x0000040000A08000),
+(18548,0,0x0000041202F8A090),
+(18548,1,0x0000001202582090),
+(18548,2,0x0000040000A08000),
+(18549,0,0x0000041202F8A090),
+(18549,1,0x0000001202582090),
+(18549,2,0x0000040000A08000),
+(18550,0,0x0000041202F8A090),
+(18550,1,0x0000001202582090),
+(18550,2,0x0000040000A08000),
+(18703,1,0x0000000001000000),
+(18704,1,0x0000000001000000),
+(18731,0,0x0000000010000000),
+(18743,0,0x0000000010000000),
+(18744,0,0x0000000010000000),
+(18748,0,0x0000000008000000),
+(18749,0,0x0000000008000000),
+(18750,0,0x0000000008000000),
+(18767,1,0x0000000000020000),
+(18768,1,0x0000000000020000),
+(18821,0,0x0000000000000800),
+(18821,1,0x0000000000000800),
+(18821,2,0x0000000000000800),
+(18822,0,0x0000000000000800),
+(18822,1,0x0000000000000800),
+(18822,2,0x0000000000000800),
+(18827,0,0x0000000000000400),
+(18829,0,0x0000000000000400),
+(19239,0,0x0000000000000018),
+(19239,1,0x0000000000000004),
+(19245,0,0x0000000000000018),
+(19245,1,0x0000200000000004),
+(19416,0,0x000210810007FA00),
+(19417,0,0x000210810007FA00),
+(19418,0,0x000210810007FA00),
+(19419,0,0x000210810007FA00),
+(19420,0,0x000210810007FA00),
+(19461,0,0x0000000000003000),
+(19461,1,0x0000000000003000),
+(19462,0,0x0000000000003000),
+(19462,1,0x0000000000003000),
+(19464,0,0x0000010000004000),
+(19464,1,0x0000008000000000),
+(19464,2,0x000011800000C000),
+(19465,0,0x0000010000004000),
+(19465,1,0x0000008000000000),
+(19465,2,0x000011800000C000),
+(19466,0,0x0000010000004000),
+(19466,1,0x0000008000000000),
+(19466,2,0x000011800000C000),
+(19467,0,0x0000010000004000),
+(19467,1,0x0000008000000000),
+(19467,2,0x000011800000C000),
+(19468,0,0x0000010000004000),
+(19468,1,0x0000008000000000),
+(19468,2,0x000011800000C000),
+(19485,0,0x0000000100061801),
+(19487,0,0x0000000100061801),
+(19488,0,0x0000000100061801),
+(19489,0,0x0000000100061801),
+(19490,0,0x0000000100061801),
+(19498,0,0x000210810007FA01),
+(19499,0,0x000210810007FA01),
+(19500,0,0x000210810007FA01),
+(19549,0,0x0000000000080000),
+(19550,0,0x0000000000080000),
+(19551,0,0x0000000000080000),
+(19552,0,0x0000000000100000),
+(19552,1,0x0000020000000000),
+(19553,0,0x0000000000100000),
+(19553,1,0x0000020000000000),
+(19554,0,0x0000000000100000),
+(19554,1,0x0000020000000000),
+(19555,0,0x0000000000100000),
+(19555,1,0x0000020000000000),
+(19556,0,0x0000000000100000),
+(19556,1,0x0000020000000000),
+(19559,0,0x0000000000200000),
+(19560,0,0x0000000000200000),
+(19572,1,0x0000000000800000),
+(19573,1,0x0000000000800000),
+(19583,0,0x0000000008000000),
+(19584,0,0x0000000008000000),
+(19585,0,0x0000000008000000),
+(19586,0,0x0000000008000000),
+(19587,0,0x0000000008000000),
+(19590,0,0x0000000020000000),
+(19592,0,0x0000000020000000),
+(19598,0,0x0000000040000000),
+(19599,0,0x0000000040000000),
+(19600,0,0x0000000040000000),
+(19601,0,0x0000000040000000),
+(19602,0,0x0000000040000000),
+(19609,0,0x0000000004000000),
+(19610,0,0x0000000004000000),
+(19612,0,0x0000000004000000),
+(20101,0,0x000004000A000200),
+(20102,0,0x000004000A000200),
+(20103,0,0x000004000A000200),
+(20104,0,0x000004000A000200),
+(20105,0,0x000004000A000200),
+(20138,0,0x0000000000000040),
+(20139,0,0x0000000000000040),
+(20140,0,0x0000000000000040),
+(20141,0,0x0000000000000040),
+(20142,0,0x0000000000000040),
+(20174,0,0x0000000000000080),
+(20174,1,0x0000000000000010),
+(20175,0,0x0000000000000080),
+(20175,1,0x0000000000000010),
+(20216,0,0x00010000C0200000),
+(20224,0,0x0000000008000400),
+(20225,0,0x0000000008000400),
+(20237,0,0x00000000C0000000),
+(20238,0,0x00000000C0000000),
+(20239,0,0x00000000C0000000),
+(20249,0,0x0000000040000000),
+(20250,0,0x0000000040000000),
+(20251,0,0x0000000040000000),
+(20254,0,0x0000000000020000),
+(20254,1,0x0000000000020000),
+(20254,2,0x0000000000020000),
+(20255,0,0x0000000000020000),
+(20255,1,0x0000000000020000),
+(20255,2,0x0000000000020000),
+(20256,0,0x0000000000020000),
+(20256,1,0x0000000000020000),
+(20256,2,0x0000000000020000),
+(20330,0,0x0000000008000400),
+(20331,0,0x0000000008000400),
+(20332,0,0x0000000008000400),
+(20335,0,0x0000000020000000),
+(20336,0,0x0000000020000000),
+(20337,0,0x0000000020000000),
+(20359,0,0x0000000080000000),
+(20360,0,0x0000000080000000),
+(20361,0,0x0000000080000000),
+(20468,1,0x0000000000000001),
+(20469,1,0x0000000000000001),
+(20470,1,0x0000000000000001),
+(20575,0,0x0000000004000000),
+(20575,1,0x0000000004000000),
+(20576,0,0x0000000002000000),
+(21873,0,0x0000E000E2000000),
+(21881,0,0x000000000001E000),
+(21887,0,0x0000036C2A764EEF),
+(21895,0,0x000000000403E000),
+(21899,0,0x0000000000000100),
+(21942,1,0x0000000008000000),
+(22008,0,0x0000000021400035),
+(23025,0,0x0000000000010000),
+(23047,0,0x0000040000000000),
+(23047,1,0x0000040000000000),
+(23158,0,0x0000000000000200),
+(23300,0,0x0000000020000000),
+(23555,0,0x000010C0000003E5),
+(23561,0,0x0000000000004000),
+(23566,0,0x0000000000001000),
+(23724,0,0x0000E000E2000000),
+(23726,0,0x0000000000002000),
+(23726,1,0x0000000000010000),
+(24348,0,0x0000000000200000),
+(24429,0,0x0000000000004000),
+(24431,0,0x0000000400000000),
+(24460,0,0x0000000010000180),
+(24469,0,0x0000000001000000),
+(24499,0,0x0000000000000400),
+(24542,1,0x00000000000000F0),
+(24546,1,0x0000000400041E00),
+(24691,0,0x0000000000003000),
+(24691,1,0x0000000000003000),
+(24943,0,0x00000010000000F0),
+(24943,1,0x00000010000000F0),
+(24944,0,0x00000010000000F0),
+(24944,1,0x00000010000000F0),
+(24945,0,0x00000010000000F0),
+(24945,1,0x00000010000000F0),
+(24946,0,0x00000010000000F0),
+(24946,1,0x00000010000000F0),
+(26106,0,0x0000000010000000),
+(26109,0,0x00000080000F0000),
+(26112,0,0x0000000000000020),
+(26118,0,0x0000000004000000),
+(26118,1,0x0000000004000000),
+(26174,0,0x0000000000000020),
+(27789,1,0x0000000010400200),
+(27790,1,0x0000000010400200),
+(27828,0,0x0000049440963E90),
+(27846,0,0x0000000000000020),
+(27850,0,0x0000000000000040),
+(27851,0,0x0000000000001000),
+(28088,0,0x000000000001E000),
+(28107,0,0x0000000000040000),
+(28539,0,0x0000000000001000),
+(28682,0,0x0000004008C20017),
+(28743,0,0x00000000000000F0),
+(28746,1,0x0000000100000406),
+(28751,0,0x0000000000021000),
+(28755,0,0x0000000000000020),
+(28763,0,0x0000000004000000),
+(28774,0,0x0000000000008000),
+(28775,0,0x0000000100000000),
+(28787,0,0x0000000000001000),
+(28807,0,0x0000000000000040),
+(28808,0,0x0000000411041E40),
+(28811,0,0x0000000002020006),
+(28814,0,0x0000000000020000),
+(28815,0,0x0000000002000006),
+(28818,0,0x0000000020081018),
+(28821,0,0x0000000000000400),
+(28829,0,0x0000000000000002),
+(28831,0,0x0000000000000001),
+(28842,0,0x0000000100004440),
+(28843,0,0x0000000000088000),
+(28844,0,0x0000000000000400),
+(28852,0,0x0000000000000200),
+(28852,1,0x0000000020000000),
+(28855,0,0x0000000000000800),
+(28855,1,0x0010000000000000),
+(28999,0,0x0000000000000003),
+(29000,0,0x0000000000000003),
+(29005,0,0x0000000090100003),
+(29063,0,0x00000000000009C3),
+(29079,0,0x0000000000400000),
+(29079,1,0x0000000001000000),
+(29079,2,0x0000000000800000),
+(29080,0,0x0000000000400000),
+(29080,1,0x0000000001000000),
+(29080,2,0x0000000000800000),
+(29171,0,0x0000000000004000),
+(29187,0,0x00000000000001C0),
+(29187,1,0x0004103000340750),
+(29189,0,0x00000000000001C0),
+(29189,1,0x0004103000340750),
+(29191,0,0x00000000000001C0),
+(29191,1,0x0004103000340750),
+(29202,0,0x0000000000000040),
+(29205,0,0x0000000000000040),
+(29206,0,0x0000000000000040),
+(29438,0,0x0000000000D000D7),
+(29439,0,0x0000000000D000D7),
+(29440,0,0x0000000000D000D7),
+(29721,0,0x0000000400000000),
+(29723,0,0x0000000800002010),
+(29723,1,0x0000000800002010),
+(29724,0,0x0000000800002010),
+(29724,1,0x0000000800002010),
+(29725,0,0x0000000800002010),
+(29725,1,0x0000000800002010),
+(29759,1,0x0000075D6E6ECEEF),
+(29760,1,0x0000075D6E6ECEEF),
+(29761,1,0x0000075D6E6ECEEF),
+(29762,1,0x0000075D6E6ECEEF),
+(29763,1,0x0000075D6E6ECEEF),
+(29776,0,0x0000000400000000),
+(29787,0,0x0000036C2A764EEF),
+(29790,0,0x0000036C2A764EEF),
+(29792,0,0x0000036C2A764EEF),
+(29836,0,0x0000001000000020),
+(29859,0,0x0000001000000020),
+(29888,0,0x0000000040000000),
+(29889,0,0x0000000040000000),
+(29976,0,0x0000000021400035),
+(30049,0,0x0000000000080000),
+(30051,0,0x0000000000080000),
+(30052,0,0x0000000000080000),
+(30054,0,0x0000000800000000),
+(30057,0,0x0000000800000000),
+(30060,0,0x0000001000000402),
+(30060,1,0x0000001000000402),
+(30060,2,0x0000871B804CC41A),
+(30061,0,0x0000001000000402),
+(30061,1,0x0000001000000402),
+(30061,2,0x0000871B804CC41A),
+(30062,0,0x0000001000000402),
+(30062,1,0x0000001000000402),
+(30062,2,0x0000871B804CC41A),
+(30063,0,0x0000001000000402),
+(30063,1,0x0000001000000402),
+(30063,2,0x0000871B804CC41A),
+(30064,0,0x0000001000000402),
+(30064,1,0x0000001000000402),
+(30064,2,0x0000871B804CC41A),
+(30085,0,0x0000071B804CC41A),
+(30085,1,0x0000000000000400),
+(30085,2,0x0000000000000002),
+(30086,0,0x0000071B804CC41A),
+(30086,1,0x0000000000000400),
+(30086,2,0x0000000000000002),
+(30143,0,0x0000002000000000),
+(30144,0,0x0000002000000000),
+(30145,0,0x0000002000000000),
+(30242,0,0x0000200000000000),
+(30245,0,0x0000200000000000),
+(30246,0,0x0000200000000000),
+(30247,0,0x0000200000000000),
+(30248,0,0x0000200000000000),
+(30251,0,0x000010C000000125),
+(30256,0,0x000010C000000125),
+(30288,0,0x0000004000000001),
+(30289,0,0x0000004000000001),
+(30290,0,0x0000004000000001),
+(30291,0,0x0000004000000001),
+(30292,0,0x0000004000000001),
+(30319,1,0x0000400000000000),
+(30320,1,0x0000400000000000),
+(30321,1,0x0000400000000000),
+(30326,0,0x0000000000040010),
+(30327,0,0x0000000000040010),
+(30328,0,0x0000000000040010),
+(30812,0,0x00000C78B018141B),
+(30813,0,0x00000C78B018141B),
+(30814,0,0x00000C78B018141B),
+(30872,0,0x0000000000000100),
+(30873,0,0x0000000000000100),
+(30892,0,0x0000000008000000),
+(30893,0,0x0000000008000000),
+(31216,1,0x0000000002000004),
+(31217,1,0x0000000002000004),
+(31218,1,0x0000000002000004),
+(31219,1,0x0000000002000004),
+(31220,1,0x0000000002000004),
+(31226,0,0x000000000001E000),
+(31227,0,0x000000000001E000),
+(31234,0,0x000001002612030F),
+(31234,1,0x0000000000100100),
+(31235,0,0x000001002612030F),
+(31235,1,0x0000000000100100),
+(31236,0,0x000001002612030F),
+(31236,1,0x0000000000100100),
+(31237,0,0x000001002612030F),
+(31237,1,0x0000000000100100),
+(31238,0,0x000001002612030F),
+(31238,1,0x0000000000100100),
+(31571,0,0x0000000200000000),
+(31572,0,0x0000000200000000),
+(31573,0,0x0000000200000000),
+(31579,0,0x0000000000200000),
+(31579,1,0x0000000000000800),
+(31582,0,0x0000000000200000),
+(31582,1,0x0000000000000800),
+(31583,0,0x0000000000200000),
+(31583,1,0x0000000000000800),
+(31656,0,0x0000000000000001),
+(31657,0,0x0000000000000001),
+(31658,0,0x0000000000000001),
+(31659,0,0x0000000000000001),
+(31660,0,0x0000000000000001),
+(31670,0,0x0000000500000200),
+(31672,0,0x0000000500000200),
+(31682,0,0x0000000000000020),
+(31682,1,0x0000000000000020),
+(31683,0,0x0000000000000020),
+(31683,1,0x0000000000000020),
+(31684,0,0x0000000000000020),
+(31684,1,0x0000000000000020),
+(31685,0,0x0000000000000020),
+(31685,1,0x0000000000000020),
+(31686,0,0x0000000000000020),
+(31686,1,0x0000000000000020),
+(31821,0,0x0000000004020048),
+(31825,0,0x0000000000001020),
+(31825,1,0x0000000200000000),
+(31826,0,0x0000000000001020),
+(31826,1,0x0000000200000000),
+(31834,0,0x0000000080000000),
+(31844,1,0x000005401A00038C),
+(31845,1,0x000005401A00038C),
+(31848,0,0x0000000000400000),
+(31848,1,0x0000000000400000),
+(31849,0,0x0000000000400000),
+(31849,1,0x0000000000400000),
+(31869,0,0x0000002000000000),
+(31870,0,0x0000002000000000),
+(31879,0,0x0000000800000400),
+(31880,0,0x0000000800000400),
+(31881,0,0x0000000800000400),
+(31882,0,0x0000000800000400),
+(31883,0,0x0000000800000400),
+(32043,1,0x000004000A000000),
+(32203,1,0x0001100001C22000),
+(32381,0,0x0000000000000002),
+(32382,0,0x0000000000000002),
+(32383,0,0x0000000000000002),
+(32412,0,0x0000000000000400),
+(32477,0,0x0000020000000000),
+(32483,0,0x0000020000000000),
+(32484,0,0x0000020000000000),
+(32601,1,0x0000000020800008),
+(32743,0,0x0000000000000800),
+(32973,0,0x0000000090100000),
+(33018,0,0x0000001000000000),
+(33020,0,0x0000000000000400),
+(33063,0,0x0000040000000000),
+(33066,0,0x0000000000000002),
+(33151,0,0x0000000000000080),
+(33151,1,0x0000000000000080),
+(33151,2,0x0000000000000080),
+(33158,0,0x0000000000001000),
+(33158,1,0x0000000000000800),
+(33159,0,0x0000000000001000),
+(33159,1,0x0000000000000800),
+(33160,0,0x0000000000001000),
+(33160,1,0x0000000000000800),
+(33161,0,0x0000000000001000),
+(33161,1,0x0000000000000800),
+(33162,0,0x0000000000001000),
+(33162,1,0x0000000000000800),
+(33167,0,0x0000008100000000),
+(33171,0,0x0000008100000000),
+(33172,0,0x0000008100000000),
+(33174,0,0x0000000000000020),
+(33174,1,0x0000000000000020),
+(33182,0,0x0000000000000020),
+(33182,1,0x0000000000000020),
+(33186,0,0x0000008000000000),
+(33186,1,0x0000008000002080),
+(33190,0,0x0000008000000000),
+(33190,1,0x0000008000002080),
+(33213,0,0x0000000000822000),
+(33214,0,0x0000000000822000),
+(33215,0,0x0000000000822000),
+(33221,0,0x0000000200002000),
+(33222,0,0x0000000200002000),
+(33223,0,0x0000000200002000),
+(33224,0,0x0000000200002000),
+(33225,0,0x0000000200002000),
+(33333,0,0x0000000020000000),
+(33421,0,0x0000000200000000),
+(33557,0,0x0000000000000200),
+(33557,1,0x0000000020000000),
+(33565,0,0x0000000000001000),
+(33600,0,0x0000000000000400),
+(33600,1,0x0000000000000400),
+(33601,0,0x0000000000000400),
+(33601,1,0x0000000000000400),
+(33602,0,0x0000000000000400),
+(33602,1,0x0000000000000400),
+(33603,0,0x0000000000000004),
+(33603,1,0x0000000000000001),
+(33604,0,0x0000000000000004),
+(33604,1,0x0000000000000001),
+(33605,0,0x0000000000000004),
+(33605,1,0x0000000000000001),
+(33606,0,0x0000000000000004),
+(33606,1,0x0000000000000001),
+(33607,0,0x0000000000000004),
+(33607,1,0x0000000000000001),
+(33693,0,0x0000000000008000),
+(33696,0,0x0000000000000001),
+(33713,0,0x0000000200000000),
+(33714,0,0x0000000200000000),
+(33830,0,0x0000002000000000),
+(33830,1,0x0000002000000000),
+(33877,0,0x0000000000000002),
+(33879,0,0x0000000000000020),
+(33880,0,0x0000000000000020),
+(33886,0,0x00000010000000D0),
+(33887,0,0x00000010000000D0),
+(33888,0,0x00000010000000D0),
+(33889,0,0x00000010000000D0),
+(33890,0,0x00000010000000D0),
+(34128,0,0x0000001000000000),
+(34129,0,0x0000000040000000),
+(34129,1,0x0000000040000000),
+(34131,0,0x0000000000000080),
+(34131,1,0x0000000000000080),
+(34253,0,0x0000010000000000),
+(34297,0,0x0000080000000000),
+(34300,0,0x0000080000000000),
+(34318,0,0x0000000000000400),
+(34318,1,0x0000002000000000),
+(34323,0,0x0000008000800000),
+(34453,1,0x0000000400000000),
+(34454,1,0x0000000400000000),
+(34455,0,0x0000002000000000),
+(34455,1,0x0000004000000000),
+(34459,0,0x0000002000000000),
+(34459,1,0x0000004000000000),
+(34460,0,0x0000002000000000),
+(34460,1,0x0000004000000000),
+(34462,1,0x0000000800000000),
+(34464,1,0x0000000800000000),
+(34465,1,0x0000000800000000),
+(34466,1,0x0000001000000000),
+(34467,1,0x0000001000000000),
+(34468,1,0x0000001000000000),
+(34469,1,0x0000001000000000),
+(34470,1,0x0000001000000000),
+(34491,0,0x00004000000000C2),
+(34491,1,0x0000000000000080),
+(34492,0,0x00004000000000C2),
+(34492,1,0x0000000000000080),
+(34493,0,0x00004000000000C2),
+(34493,1,0x0000000000000080),
+(34754,0,0x0000000400001800),
+(34936,0,0x0000004000000001),
+(34948,1,0x0000000000000020),
+(34949,1,0x0000000000000020),
+(35029,1,0x0000080000000000),
+(35030,1,0x0000080000000000),
+(35098,0,0x0000000000020801),
+(35099,0,0x0000000000020801),
+(35104,0,0x0000000000001000),
+(35104,1,0x0000000000002000),
+(35110,0,0x0000000000001000),
+(35110,1,0x0000000000002000),
+(35111,0,0x0000000000001000),
+(35111,1,0x0000000000002000),
+(35363,0,0x0000000000000005),
+(35364,0,0x0000000000000005),
+(35396,1,0x000004000A000000),
+(35397,1,0x000004000A000000),
+(35446,0,0x0000000002000000),
+(35446,1,0x0000000002000000),
+(35448,0,0x0000000002000000),
+(35448,1,0x0000000002000000),
+(35449,0,0x0000000002000000),
+(35449,1,0x0000000002000000),
+(35450,0,0x0000000002000000),
+(35450,1,0x0000000002000000),
+(35451,0,0x0000000002000000),
+(35451,1,0x0000000002000000),
+(35578,0,0x0000000028E212F7),
+(35581,0,0x0000000028E212F7),
+(36032,0,0x0000000020000000),
+(36032,1,0x0000000020000000),
+(36413,0,0x0000000000000001),
+(36563,1,0x0000000000000204),
+(36563,2,0x0000000000000100),
+(37166,0,0x0000000000800000),
+(37167,0,0x0000000000040000),
+(37171,0,0x00000009003E0000),
+(37180,0,0x0000000000000020),
+(37181,0,0x0000000400000000),
+(37183,0,0x0000010000000000),
+(37184,0,0x0000040008000000),
+(37184,1,0x0000040008000000),
+(37185,0,0x0000004000000000),
+(37186,0,0x0000000020000000),
+(37187,0,0x0000020000000000),
+(37190,0,0x0000000000000008),
+(37191,0,0x0000004000000000),
+(37194,0,0x0000000000800000),
+(37207,0,0x0000000000000002),
+(37209,0,0x0000000000000400),
+(37209,1,0x0000002000000000),
+(37210,0,0x0000000000004000),
+(37211,0,0x0000008000000000),
+(37212,0,0x0000010000000000),
+(37223,0,0x0000000000010000),
+(37224,0,0x0000001000000000),
+(37225,0,0x0000000000000080),
+(37234,0,0x0000000000000080),
+(37240,0,0x0000000000000080),
+(37241,0,0x0000020000000000),
+(37286,0,0x0000000000000010),
+(37287,0,0x0000E000E2000000),
+(37292,0,0x0008000000000000),
+(37297,0,0x0000100000000000),
+(37313,0,0x0000000000000040),
+(37314,0,0x0000001000000000),
+(37316,0,0x0000000000000040),
+(37325,0,0x0000000000000040),
+(37333,0,0x0000000000008000),
+(37333,1,0x0000010000000000),
+(37376,0,0x0000001000000000),
+(37380,0,0x0000000000000006),
+(37423,0,0x0000000000000004),
+(37424,0,0x0000000000008000),
+(37438,0,0x0000000000000021),
+(37439,0,0x0000002000000000),
+(37439,1,0x0000004000000000),
+(37439,2,0x0000008000000000),
+(37441,0,0x0000000020000000),
+(37441,1,0x0000000020000000),
+(37447,0,0x0000010000000000),
+(37481,0,0x0000000000000080),
+(37484,0,0x0000000000000100),
+(37485,0,0x0000000000001000),
+(37505,0,0x0000000100000000),
+(37507,0,0x0000000000000800),
+(37508,0,0x0000000100061800),
+(37512,0,0x00000080000F0000),
+(37513,0,0x0000000000000001),
+(37517,0,0x0000014D2A600CEF),
+(37518,0,0x0000000400000000),
+(37522,0,0x0000000000001000),
+(37535,0,0x0000000002000000),
+(37536,0,0x0000000000010000),
+(37556,0,0x0000000400000000),
+(37564,0,0x0000000000000200),
+(37565,0,0x0000000000001000),
+(37570,1,0x0000010000000000),
+(37571,0,0x0000000000000080),
+(37571,1,0x0000000000800000),
+(37593,0,0x0000000000000040),
+(37706,0,0x0000000411041E40),
+(37721,0,0x00000010000000F0),
+(37722,0,0x00000000000001C0),
+(37723,0,0x00000000C0000000),
+(37736,0,0x0000040000000000),
+(37736,1,0x0000004000000000),
+(37737,0,0x0000000000000040),
+(37738,0,0x0000000000000040),
+(37739,0,0x0000000080000000),
+(37740,0,0x0000000000000001),
+(37742,0,0x0000004000000000),
+(37760,0,0x0000000000000001),
+(37762,0,0x0000001000000000),
+(37763,0,0x0000800000000000),
+(37878,0,0x00000010000000F0),
+(37879,0,0x00000000C0000000),
+(37880,0,0x0000000411041E40),
+(37881,0,0x00000000000001C0),
+(38314,0,0x0000E000E2000000),
+(38321,0,0x0000000000000020),
+(38322,0,0x0000000000000100),
+(38388,0,0x0000000000040000),
+(38389,0,0x0000000E00000006),
+(38392,0,0x0000000100000000),
+(38393,0,0x0000000000000001),
+(38396,0,0x0000000004000000),
+(38397,0,0x0000000000000821),
+(38398,0,0x0000000020000000),
+(38399,0,0x0000000002000000),
+(38407,0,0x0000000100000000),
+(38408,0,0x0000008000000000),
+(38410,0,0x0000000000000200),
+(38411,0,0x0000000000001000),
+(38412,0,0x0000000000002000),
+(38413,0,0x0000000000008000),
+(38414,0,0x0000000000000002),
+(38415,0,0x0000000000000004),
+(38416,0,0x0010000000800000),
+(38416,1,0x0010000000800000),
+(38417,0,0x0000000200000000),
+(38420,0,0x0000000000000020),
+(38421,0,0x0000100000000000),
+(38422,0,0x0000000000000020),
+(38424,0,0x0000008000000000),
+(38425,0,0x0000000040000000),
+(38426,0,0x0000000080000000),
+(38429,0,0x0000000090100000),
+(38434,0,0x0000000000000100),
+(38435,0,0x0000000000000080),
+(38436,0,0x0000000000000001),
+(38447,0,0x0000040000000000),
+(38447,1,0x0000004000000000),
+(38466,0,0x0008000000000000),
+(38499,0,0x0000008000000000),
+(38501,0,0x0000000000000080),
+(38522,0,0x0000000040000000),
+(39805,0,0x0000000000000003),
+(39805,1,0x0000000000000003),
+(39926,1,0x0000080000000000),
+(39926,2,0x0000200000000000),
+(39950,0,0x0000000000000040),
+(40389,0,0x0000800000000000),
+(40460,0,0x00000009003E0000),
+(41021,0,0x0000004000000000),
+(41021,1,0x0000004000000000),
+(41026,0,0x0000004000000000),
+(41026,1,0x0000004000000000),
+(41037,0,0x0000044000000000),
+(41042,0,0x0000000000800000),
+(42367,0,0x0000001000000000),
+(43339,0,0x0000000090100000),
+(43725,0,0x0000001000000000),
+(43736,0,0x0000000000000010),
+(43743,1,0x0000000008000400),
+(43752,0,0x0000000000000100),
+(43837,0,0x0000000080000000),
+(43840,0,0x0000044000000000),
+(43841,0,0x0000000000000002),
+(43842,0,0x0000044000000000),
+(43843,0,0x0000044000000000),
+(43844,0,0x0000000000000002),
+(43845,0,0x0000000000000002),
+(43850,0,0x0000000000800000),
+(43851,0,0x0000000000800000),
+(43852,0,0x0000000000800000),
+(43854,0,0x0000004000000000),
+(43855,0,0x0000004000000000),
+(43856,0,0x0000004000000000),
+(43857,0,0x0000001000000000),
+(43858,0,0x0000001000000000),
+(43859,0,0x0000001000000000),
+(43860,0,0x0000000090100000),
+(43861,0,0x0000000090100000),
+(43862,0,0x0000000090100000),
+(44292,0,0x0000000000001000),
+(44293,0,0x0000000000000200),
+(44295,0,0x0000000090100000),
+(44296,0,0x0000000000000001),
+(44297,0,0x0000000000010000),
+(44299,0,0x0000000000040000),
+(44300,0,0x0000800000000000),
+(44301,0,0x0000000001000000),
+(44302,0,0x0000000001000000),
+(46088,0,0x0000044000000000),
+(46090,0,0x0000000000000002),
+(46091,0,0x0000000000800000),
+(46095,0,0x0000004000000000),
+(46096,0,0x0000001000000000),
+(46097,0,0x0000000090100000),
+(46100,0,0x0000001000000000),
+(46833,0,0x0000000000000004),
+(46834,0,0x0000000000000040),
+(46851,0,0x0001000000000000);
+
+/*!40000 ALTER TABLE `spell_affect` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `spell_chain`
+--
+
+DROP TABLE IF EXISTS `spell_chain`;
+CREATE TABLE `spell_chain` (
+ `spell_id` mediumint(9) NOT NULL default '0',
+ `prev_spell` mediumint(9) NOT NULL default '0',
+ `first_spell` mediumint(9) NOT NULL default '0',
+ `rank` tinyint(4) NOT NULL default '0',
+ `req_spell` mediumint(9) NOT NULL default '0',
+ PRIMARY KEY (`spell_id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell Additinal Data';
+
+--
+-- Dumping data for table `spell_chain`
+--
+
+LOCK TABLES `spell_chain` WRITE;
+/*!40000 ALTER TABLE `spell_chain` DISABLE KEYS */;
+INSERT INTO `spell_chain` VALUES
+(10,0,10,1,0),
+(17,0,17,1,0),
+(53,0,53,1,0),
+(72,0,72,1,0),
+(78,0,78,1,0),
+(99,0,99,1,0),
+(100,0,100,1,0),
+(116,0,116,1,0),
+(118,0,118,1,0),
+(120,0,120,1,0),
+(122,0,122,1,0),
+(133,0,133,1,0),
+(136,0,136,1,0),
+(139,0,139,1,0),
+(143,133,133,2,0),
+(145,143,133,3,0),
+(168,0,168,1,0),
+(172,0,172,1,0),
+(205,116,116,2,0),
+(284,78,78,2,0),
+(285,284,78,3,0),
+(324,0,324,1,0),
+(325,324,324,2,0),
+(331,0,331,1,0),
+(332,331,331,2,0),
+(339,0,339,1,0),
+(348,0,348,1,0),
+(370,0,370,1,0),
+(403,0,403,1,0),
+(408,0,408,1,0),
+(421,0,421,1,0),
+(453,0,453,1,0),
+(465,0,465,1,0),
+(467,0,467,1,0),
+(469,0,469,1,0),
+(498,0,498,1,0),
+(527,0,527,1,0),
+(529,403,403,2,0),
+(543,0,543,1,0),
+(547,332,331,3,0),
+(548,529,403,3,0),
+(585,0,585,1,0),
+(586,0,586,1,0),
+(587,0,587,1,0),
+(588,0,588,1,0),
+(589,0,589,1,0),
+(591,585,585,2,0),
+(592,17,17,2,0),
+(594,589,589,2,0),
+(596,0,596,1,0),
+(597,587,587,2,0),
+(598,591,585,3,0),
+(600,592,17,3,0),
+(602,7128,588,3,0),
+(603,0,603,1,0),
+(604,0,604,1,0),
+(605,0,605,1,0),
+(633,0,633,1,0),
+(635,0,635,1,0),
+(639,635,635,2,0),
+(642,0,642,1,0),
+(643,10290,465,3,0),
+(647,639,635,3,0),
+(686,0,686,1,0),
+(687,0,687,1,0),
+(688,0,688,1,0),
+(689,0,689,1,0),
+(693,0,693,1,0),
+(694,0,694,1,0),
+(695,686,686,2,0),
+(696,687,687,2,0),
+(699,689,689,2,0),
+(702,0,702,1,0),
+(703,0,703,1,0),
+(704,0,704,1,0),
+(705,695,686,3,0),
+(706,0,706,1,0),
+(707,348,348,2,0),
+(709,699,689,3,0),
+(710,0,710,1,0),
+(724,0,724,1,0),
+(740,0,740,1,0),
+(755,0,755,1,0),
+(769,780,779,3,0),
+(770,0,770,1,0),
+(772,0,772,1,0),
+(774,0,774,1,0),
+(778,770,770,2,0),
+(779,0,779,1,0),
+(780,779,779,2,0),
+(781,0,781,1,0),
+(782,467,467,2,0),
+(837,205,116,3,0),
+(845,0,845,1,0),
+(853,0,853,1,0),
+(865,122,122,2,0),
+(879,0,879,1,0),
+(905,325,324,3,0),
+(913,547,331,4,0),
+(915,548,403,4,0),
+(930,421,421,2,0),
+(939,913,331,5,0),
+(943,915,403,5,0),
+(945,905,324,4,0),
+(959,939,331,6,0),
+(970,594,589,3,0),
+(974,0,974,1,0),
+(976,0,976,1,0),
+(980,0,980,1,0),
+(984,598,585,4,0),
+(988,527,527,2,0),
+(990,597,587,3,0),
+(992,970,589,4,0),
+(996,596,596,2,0),
+(1004,984,585,5,0),
+(1006,602,588,4,0),
+(1008,0,1008,1,0),
+(1014,980,980,2,0),
+(1020,642,642,2,0),
+(1022,0,1022,1,0),
+(1026,647,635,4,0),
+(1032,10291,465,5,0),
+(1038,0,1038,1,0),
+(1042,1026,635,5,0),
+(1058,774,774,2,0),
+(1062,339,339,2,0),
+(1064,0,1064,1,0),
+(1075,782,467,3,0),
+(1079,0,1079,1,0),
+(1082,0,1082,1,0),
+(1086,706,706,2,0),
+(1088,705,686,4,0),
+(1094,707,348,3,0),
+(1098,0,1098,1,0),
+(1106,1088,686,5,0),
+(1108,702,702,2,0),
+(1120,0,1120,1,0),
+(1126,0,1126,1,0),
+(1130,0,1130,1,0),
+(1160,0,1160,1,0),
+(1243,0,1243,1,0),
+(1244,1243,1243,2,0),
+(1245,1244,1243,3,0),
+(1329,0,1329,1,0),
+(1430,1058,774,3,0),
+(1449,0,1449,1,0),
+(1454,0,1454,1,0),
+(1455,1454,1454,2,0),
+(1456,1455,1454,3,0),
+(1459,0,1459,1,0),
+(1460,1459,1459,2,0),
+(1461,1460,1459,3,0),
+(1463,0,1463,1,0),
+(1464,0,1464,1,0),
+(1490,0,1490,1,0),
+(1495,0,1495,1,0),
+(1499,0,1499,1,0),
+(1510,0,1510,1,0),
+(1513,0,1513,1,0),
+(1535,0,1535,1,0),
+(1608,285,78,4,0),
+(1671,72,72,2,0),
+(1672,1671,72,3,0),
+(1714,0,1714,1,0),
+(1715,0,1715,1,0),
+(1735,99,99,2,0),
+(1742,0,1742,1,0),
+(1752,0,1752,1,0),
+(1753,1742,1742,2,0),
+(1754,1753,1742,3,0),
+(1755,1754,1742,4,0),
+(1756,1755,1742,5,0),
+(1757,1752,1752,2,0),
+(1758,1757,1752,3,0),
+(1759,1758,1752,4,0),
+(1760,1759,1752,5,0),
+(1766,0,1766,1,0),
+(1767,1766,1766,2,0),
+(1768,1767,1766,3,0),
+(1769,1768,1766,4,0),
+(1776,0,1776,1,0),
+(1777,1776,1776,2,0),
+(1784,0,1784,1,0),
+(1785,1784,1784,2,0),
+(1786,1785,1784,3,0),
+(1787,1786,1784,4,0),
+(1804,0,1804,1,0),
+(1822,0,1822,1,0),
+(1823,1822,1822,2,0),
+(1824,1823,1822,3,0),
+(1850,0,1850,1,0),
+(1856,0,1856,1,0),
+(1857,1856,1856,2,0),
+(1943,0,1943,1,0),
+(1949,0,1949,1,0),
+(1966,0,1966,1,0),
+(1978,0,1978,1,0),
+(2006,0,2006,1,0),
+(2008,0,2008,1,0),
+(2010,2006,2006,2,0),
+(2018,0,2018,1,0),
+(2048,25289,6673,8,0),
+(2050,0,2050,1,0),
+(2052,2050,2050,2,0),
+(2053,2052,2050,3,0),
+(2054,0,2054,1,0),
+(2055,2054,2054,2,0),
+(2060,0,2060,1,0),
+(2061,0,2061,1,0),
+(2062,0,2062,1,0),
+(2070,6770,6770,2,0),
+(2090,1430,774,4,0),
+(2091,2090,774,5,0),
+(2096,0,2096,1,0),
+(2098,0,2098,1,0),
+(2108,0,2108,1,0),
+(2120,0,2120,1,0),
+(2121,2120,2120,2,0),
+(2136,0,2136,1,0),
+(2137,2136,2136,2,0),
+(2138,2137,2136,3,0),
+(2259,0,2259,1,0),
+(2362,0,2362,1,0),
+(2366,0,2366,1,0),
+(2368,2366,2366,2,0),
+(2550,0,2550,1,0),
+(2575,0,2575,1,0),
+(2576,2575,2575,2,0),
+(2589,53,53,2,0),
+(2590,2589,53,3,0),
+(2591,2590,53,4,0),
+(2637,0,2637,1,0),
+(2643,0,2643,1,0),
+(2649,0,2649,1,0),
+(2651,0,2651,1,0),
+(2652,0,2652,1,0),
+(2767,992,589,5,0),
+(2791,1245,1243,4,0),
+(2800,633,633,2,0),
+(2812,0,2812,1,0),
+(2825,0,2825,1,0),
+(2835,0,2835,1,0),
+(2837,2835,2835,2,0),
+(2860,930,421,3,0),
+(2878,0,2878,1,0),
+(2894,0,2894,1,0),
+(2908,0,2908,1,0),
+(2912,0,2912,1,0),
+(2941,1094,348,4,0),
+(2944,0,2944,1,0),
+(2947,0,2947,1,0),
+(2948,0,2948,1,0),
+(2973,0,2973,1,0),
+(2974,0,2974,1,0),
+(2983,0,2983,1,0),
+(3009,3010,16827,8,0),
+(3010,16832,16827,7,0),
+(3029,1082,1082,2,0),
+(3034,0,3034,1,0),
+(3044,0,3044,1,0),
+(3100,2018,2018,2,0),
+(3101,2259,2259,2,0),
+(3102,2550,2550,2,0),
+(3104,2108,2108,2,0),
+(3110,0,3110,1,0),
+(3111,136,136,2,0),
+(3140,145,133,4,0),
+(3273,0,3273,1,0),
+(3274,3273,3273,2,0),
+(3413,3102,2550,3,0),
+(3420,0,3420,1,0),
+(3421,3420,3420,2,0),
+(3464,3101,2259,3,0),
+(3472,1042,635,6,0),
+(3538,3100,2018,3,0),
+(3564,2576,2575,3,0),
+(3570,2368,2366,3,0),
+(3599,0,3599,1,0),
+(3627,2091,774,6,0),
+(3661,3111,136,3,0),
+(3662,3661,136,4,0),
+(3698,755,755,2,0),
+(3699,3698,755,3,0),
+(3700,3699,755,4,0),
+(3716,0,3716,1,0),
+(3738,0,3738,1,0),
+(3747,600,17,4,0),
+(3811,3104,2108,3,0),
+(3908,0,3908,1,0),
+(3909,3908,3908,2,0),
+(3910,3909,3908,3,0),
+(4036,0,4036,1,0),
+(4037,4036,4036,2,0),
+(4038,4037,4036,3,0),
+(4187,0,4187,1,0),
+(4188,4187,4187,2,0),
+(4189,4188,4187,3,0),
+(4190,4189,4187,4,0),
+(4191,4190,4187,5,0),
+(4192,4191,4187,6,0),
+(4193,4192,4187,7,0),
+(4194,4193,4187,8,0),
+(5041,4194,4187,9,0),
+(5042,5041,4187,10,0),
+(5138,0,5138,1,0),
+(5143,0,5143,1,0),
+(5144,5143,5143,2,0),
+(5145,5144,5143,3,0),
+(5171,0,5171,1,0),
+(5176,0,5176,1,0),
+(5177,5176,5176,2,0),
+(5178,5177,5176,3,0),
+(5179,5178,5176,4,0),
+(5180,5179,5176,5,0),
+(5185,0,5185,1,0),
+(5186,5185,5185,2,0),
+(5187,5186,5185,3,0),
+(5188,5187,5185,4,0),
+(5189,5188,5185,5,0),
+(5195,1062,339,3,0),
+(5196,5195,339,4,0),
+(5201,3029,1082,3,0),
+(5211,0,5211,1,0),
+(5215,0,5215,1,0),
+(5217,0,5217,1,0),
+(5221,0,5221,1,0),
+(5232,1126,1126,2,0),
+(5234,6756,1126,4,0),
+(5242,6673,6673,2,0),
+(5277,0,5277,1,0),
+(5308,0,5308,1,0),
+(5394,0,5394,1,0),
+(5484,0,5484,1,0),
+(5487,0,5487,1,0),
+(5504,0,5504,1,0),
+(5505,5504,5504,2,0),
+(5506,5505,5504,3,0),
+(5570,0,5570,1,0),
+(5573,498,498,2,0),
+(5588,853,853,2,0),
+(5589,5588,853,3,0),
+(5599,1022,1022,2,0),
+(5614,879,879,2,0),
+(5615,5614,879,3,0),
+(5627,2878,2878,2,0),
+(5675,0,5675,1,0),
+(5676,0,5676,1,0),
+(5699,6202,6201,3,0),
+(5730,0,5730,1,0),
+(5740,0,5740,1,0),
+(5763,0,5763,1,0),
+(5782,0,5782,1,0),
+(5938,0,5938,1,0),
+(6041,943,403,6,0),
+(6060,1004,585,6,0),
+(6063,2055,2054,3,0),
+(6064,6063,2054,4,0),
+(6065,3747,17,5,0),
+(6066,6065,17,6,0),
+(6074,139,139,2,0),
+(6075,6074,139,3,0),
+(6076,6075,139,4,0),
+(6077,6076,139,5,0),
+(6078,6077,139,6,0),
+(6117,0,6117,1,0),
+(6127,5506,5504,4,0),
+(6129,990,587,4,0),
+(6131,865,122,3,0),
+(6141,10,10,2,0),
+(6143,0,6143,1,0),
+(6178,100,100,2,0),
+(6190,1160,1160,2,0),
+(6192,5242,6673,3,0),
+(6201,0,6201,1,0),
+(6202,6201,6201,2,0),
+(6205,1108,702,3,0),
+(6213,5782,5782,2,0),
+(6215,6213,5782,3,0),
+(6217,1014,980,3,0),
+(6219,5740,5740,2,0),
+(6222,172,172,2,0),
+(6223,6222,172,3,0),
+(6226,5138,5138,2,0),
+(6229,0,6229,1,0),
+(6307,0,6307,1,0),
+(6343,0,6343,1,0),
+(6353,0,6353,1,0),
+(6360,0,6360,1,0),
+(6363,3599,3599,2,0),
+(6364,6363,3599,3,0),
+(6365,6364,3599,4,0),
+(6366,0,6366,1,0),
+(6375,5394,5394,2,0),
+(6377,6375,5394,3,0),
+(6390,5730,5730,2,0),
+(6391,6390,5730,3,0),
+(6392,6391,5730,4,0),
+(6542,0,6542,1,0),
+(6546,772,772,2,0),
+(6547,6546,772,3,0),
+(6548,6547,772,4,0),
+(6552,0,6552,1,0),
+(6554,6552,6552,2,0),
+(6572,0,6572,1,0),
+(6574,6572,6572,2,0),
+(6673,0,6673,1,0),
+(6756,5232,1126,3,0),
+(6760,2098,2098,2,0),
+(6761,6760,2098,3,0),
+(6762,6761,2098,4,0),
+(6768,1966,1966,2,0),
+(6770,0,6770,1,0),
+(6774,5171,5171,2,0),
+(6778,5189,5185,6,0),
+(6780,5180,5176,6,0),
+(6783,5215,5215,2,0),
+(6785,0,6785,1,0),
+(6787,6785,6785,2,0),
+(6789,0,6789,1,0),
+(6793,5217,5217,2,0),
+(6798,5211,5211,2,0),
+(6800,5221,5221,2,0),
+(6807,0,6807,1,0),
+(6808,6807,6807,2,0),
+(6809,6808,6807,3,0),
+(6940,0,6940,1,0),
+(7128,588,588,2,0),
+(7294,0,7294,1,0),
+(7300,168,168,2,0),
+(7301,7300,168,3,0),
+(7302,0,7302,1,0),
+(7320,7302,7302,2,0),
+(7322,837,116,4,0),
+(7328,0,7328,1,0),
+(7369,845,845,2,0),
+(7371,0,7371,1,0),
+(7372,1715,1715,2,0),
+(7373,7372,1715,3,0),
+(7379,6574,6572,3,0),
+(7384,0,7384,1,0),
+(7386,0,7386,1,0),
+(7400,694,694,2,0),
+(7402,7400,694,3,0),
+(7405,7386,7386,2,0),
+(7411,0,7411,1,0),
+(7412,7411,7411,2,0),
+(7413,7412,7411,3,0),
+(7620,0,7620,1,0),
+(7641,1106,686,6,0),
+(7646,6205,702,4,0),
+(7648,6223,172,4,0),
+(7651,709,689,4,0),
+(7658,704,704,2,0),
+(7659,7658,704,3,0),
+(7731,7620,7620,2,0),
+(7732,7731,7620,3,0),
+(7799,3110,3110,2,0),
+(7800,7799,3110,3,0),
+(7801,7800,3110,4,0),
+(7802,7801,3110,5,0),
+(7804,6307,6307,2,0),
+(7805,7804,6307,3,0),
+(7809,3716,3716,2,0),
+(7810,7809,3716,3,0),
+(7811,7810,3716,4,0),
+(7812,0,7812,1,0),
+(7813,6360,6360,2,0),
+(7814,0,7814,1,0),
+(7815,7814,7814,2,0),
+(7816,7815,7814,3,0),
+(7887,7384,7384,2,0),
+(7924,3274,3273,3,0),
+(8004,0,8004,1,0),
+(8005,959,331,7,0),
+(8008,8004,8004,2,0),
+(8010,8008,8004,3,0),
+(8012,370,370,2,0),
+(8017,0,8017,1,0),
+(8018,8017,8017,2,0),
+(8019,8018,8017,3,0),
+(8024,0,8024,1,0),
+(8027,8024,8024,2,0),
+(8030,8027,8024,3,0),
+(8033,0,8033,1,0),
+(8038,8033,8033,2,0),
+(8042,0,8042,1,0),
+(8044,8042,8042,2,0),
+(8045,8044,8042,3,0),
+(8046,8045,8042,4,0),
+(8050,0,8050,1,0),
+(8052,8050,8050,2,0),
+(8053,8052,8050,3,0),
+(8056,0,8056,1,0),
+(8058,8056,8056,2,0),
+(8071,0,8071,1,0),
+(8075,0,8075,1,0),
+(8092,0,8092,1,0),
+(8102,8092,8092,2,0),
+(8103,8102,8092,3,0),
+(8104,8103,8092,4,0),
+(8105,8104,8092,5,0),
+(8106,8105,8092,6,0),
+(8122,0,8122,1,0),
+(8124,8122,8122,2,0),
+(8129,0,8129,1,0),
+(8131,8129,8129,2,0),
+(8134,945,324,5,0),
+(8154,8071,8071,2,0),
+(8155,8154,8071,3,0),
+(8160,8075,8075,2,0),
+(8161,8160,8075,3,0),
+(8181,0,8181,1,0),
+(8184,0,8184,1,0),
+(8190,0,8190,1,0),
+(8192,453,453,2,0),
+(8198,6343,6343,2,0),
+(8204,8198,6343,3,0),
+(8205,8204,6343,4,0),
+(8227,0,8227,1,0),
+(8232,0,8232,1,0),
+(8235,8232,8232,2,0),
+(8249,8227,8227,2,0),
+(8288,1120,1120,2,0),
+(8289,8288,1120,3,0),
+(8316,2947,2947,2,0),
+(8317,8316,2947,3,0),
+(8380,7405,7386,3,0),
+(8400,3140,133,5,0),
+(8401,8400,133,6,0),
+(8402,8401,133,7,0),
+(8406,7322,116,5,0),
+(8407,8406,116,6,0),
+(8408,8407,116,7,0),
+(8412,2138,2136,4,0),
+(8413,8412,2136,5,0),
+(8416,5145,5143,4,0),
+(8417,8416,5143,5,0),
+(8422,2121,2120,3,0),
+(8423,8422,2120,4,0),
+(8427,6141,10,3,0),
+(8437,1449,1449,2,0),
+(8438,8437,1449,3,0),
+(8439,8438,1449,4,0),
+(8444,2948,2948,2,0),
+(8445,8444,2948,3,0),
+(8446,8445,2948,4,0),
+(8450,604,604,2,0),
+(8451,8450,604,3,0),
+(8455,1008,1008,2,0),
+(8457,543,543,2,0),
+(8458,8457,543,3,0),
+(8461,6143,6143,2,0),
+(8462,8461,6143,3,0),
+(8492,120,120,2,0),
+(8494,1463,1463,2,0),
+(8495,8494,1463,3,0),
+(8498,1535,1535,2,0),
+(8499,8498,1535,3,0),
+(8512,0,8512,1,0),
+(8613,0,8613,1,0),
+(8617,8613,8613,2,0),
+(8618,8617,8613,3,0),
+(8621,1760,1752,6,0),
+(8623,6762,2098,5,0),
+(8624,8623,2098,6,0),
+(8629,1777,1776,3,0),
+(8631,703,703,2,0),
+(8632,8631,703,3,0),
+(8633,8632,703,4,0),
+(8637,6768,1966,3,0),
+(8639,1943,1943,2,0),
+(8640,8639,1943,3,0),
+(8643,408,408,2,0),
+(8647,0,8647,1,0),
+(8649,8647,8647,2,0),
+(8650,8649,8647,3,0),
+(8676,0,8676,1,0),
+(8681,0,8681,1,0),
+(8687,8681,8681,2,0),
+(8691,8687,8681,3,0),
+(8694,5763,5763,2,0),
+(8696,2983,2983,2,0),
+(8721,2591,53,5,0),
+(8724,8676,8676,2,0),
+(8725,8724,8676,3,0),
+(8820,1464,1464,2,0),
+(8835,0,8835,1,0),
+(8903,6778,5185,7,0),
+(8905,6780,5176,7,0),
+(8907,5234,1126,5,0),
+(8910,3627,774,7,0),
+(8914,1075,467,4,0),
+(8918,740,740,2,0),
+(8921,0,8921,1,0),
+(8924,8921,8921,2,0),
+(8925,8924,8921,3,0),
+(8926,8925,8921,4,0),
+(8927,8926,8921,5,0),
+(8928,8927,8921,6,0),
+(8929,8928,8921,7,0),
+(8936,0,8936,1,0),
+(8938,8936,8936,2,0),
+(8939,8938,8936,3,0),
+(8940,8939,8936,4,0),
+(8941,8940,8936,5,0),
+(8949,2912,2912,2,0),
+(8950,8949,2912,3,0),
+(8951,8950,2912,4,0),
+(8955,2908,2908,2,0),
+(8972,6809,6807,4,0),
+(8983,6798,5211,3,0),
+(8992,6800,5221,3,0),
+(8998,0,8998,1,0),
+(9000,8998,8998,2,0),
+(9005,0,9005,1,0),
+(9035,0,9035,1,0),
+(9472,2061,2061,2,0),
+(9473,9472,2061,3,0),
+(9474,9473,2061,4,0),
+(9484,0,9484,1,0),
+(9485,9484,9484,2,0),
+(9490,1735,99,3,0),
+(9492,1079,1079,2,0),
+(9493,9492,1079,3,0),
+(9578,586,586,2,0),
+(9579,9578,586,3,0),
+(9592,9579,586,4,0),
+(9634,5487,5487,2,0),
+(9745,8972,6807,5,0),
+(9747,9490,99,4,0),
+(9749,778,770,3,0),
+(9750,8941,8936,6,0),
+(9752,9493,1079,4,0),
+(9754,769,779,4,0),
+(9756,8914,467,5,0),
+(9758,8903,5185,8,0),
+(9785,3538,2018,4,0),
+(9787,9785,2018,5,0),
+(9788,9785,2018,5,0),
+(9821,1850,1850,2,0),
+(9823,9005,9005,2,0),
+(9827,9823,9005,3,0),
+(9829,8992,5221,4,0),
+(9830,9829,5221,5,0),
+(9833,8929,8921,8,0),
+(9834,9833,8921,9,0),
+(9835,9834,8921,10,0),
+(9839,8910,774,8,0),
+(9840,9839,774,9,0),
+(9841,9840,774,10,0),
+(9845,6793,5217,3,0),
+(9846,9845,5217,4,0),
+(9849,5201,1082,4,0),
+(9850,9849,1082,5,0),
+(9852,5196,339,5,0),
+(9853,9852,339,6,0),
+(9856,9750,8936,7,0),
+(9857,9856,8936,8,0),
+(9858,9857,8936,9,0),
+(9862,8918,740,3,0),
+(9863,9862,740,4,0),
+(9866,6787,6785,3,0),
+(9867,9866,6785,4,0),
+(9875,8951,2912,5,0),
+(9876,9875,2912,6,0),
+(9880,9745,6807,6,0),
+(9881,9880,6807,7,0),
+(9884,8907,1126,6,0),
+(9885,9884,1126,7,0),
+(9888,9758,5185,9,0),
+(9889,9888,5185,10,0),
+(9892,9000,8998,3,0),
+(9894,9752,1079,5,0),
+(9896,9894,1079,6,0),
+(9898,9747,99,5,0),
+(9901,8955,2908,3,0),
+(9904,1824,1822,4,0),
+(9907,9749,770,4,0),
+(9908,9754,779,5,0),
+(9910,9756,467,6,0),
+(9912,8905,5176,8,0),
+(9913,6783,5215,3,0),
+(10138,6127,5504,5,0),
+(10139,10138,5504,6,0),
+(10140,10139,5504,7,0),
+(10144,6129,587,5,0),
+(10145,10144,587,6,0),
+(10148,8402,133,8,0),
+(10149,10148,133,9,0),
+(10150,10149,133,10,0),
+(10151,10150,133,11,0),
+(10156,1461,1459,4,0),
+(10157,10156,1459,5,0),
+(10159,8492,120,3,0),
+(10160,10159,120,4,0),
+(10161,10160,120,5,0),
+(10169,8455,1008,3,0),
+(10170,10169,1008,4,0),
+(10173,8451,604,4,0),
+(10174,10173,604,5,0),
+(10177,8462,6143,4,0),
+(10179,8408,116,8,0),
+(10180,10179,116,9,0),
+(10181,10180,116,10,0),
+(10185,8427,10,4,0),
+(10186,10185,10,5,0),
+(10187,10186,10,6,0),
+(10191,8495,1463,4,0),
+(10192,10191,1463,5,0),
+(10193,10192,1463,6,0),
+(10197,8413,2136,6,0),
+(10199,10197,2136,7,0),
+(10201,8439,1449,5,0),
+(10202,10201,1449,6,0),
+(10205,8446,2948,5,0),
+(10206,10205,2948,6,0),
+(10207,10206,2948,7,0),
+(10211,8417,5143,6,0),
+(10212,10211,5143,7,0),
+(10215,8423,2120,5,0),
+(10216,10215,2120,6,0),
+(10219,7320,7302,3,0),
+(10220,10219,7302,4,0),
+(10223,8458,543,4,0),
+(10225,10223,543,5,0),
+(10230,6131,122,4,0),
+(10248,3564,2575,4,0),
+(10278,5599,1022,3,0),
+(10290,465,465,2,0),
+(10291,643,465,4,0),
+(10292,1032,465,6,0),
+(10293,10292,465,7,0),
+(10298,7294,7294,2,0),
+(10299,10298,7294,3,0),
+(10300,10299,7294,4,0),
+(10301,10300,7294,5,0),
+(10308,5589,853,4,0),
+(10310,2800,633,3,0),
+(10312,5615,879,4,0),
+(10313,10312,879,5,0),
+(10314,10313,879,6,0),
+(10318,2812,2812,2,0),
+(10322,7328,7328,2,0),
+(10324,10322,7328,3,0),
+(10326,5627,2878,3,0),
+(10328,3472,635,7,0),
+(10329,10328,635,8,0),
+(10391,6041,403,7,0),
+(10392,10391,403,8,0),
+(10395,8005,331,8,0),
+(10396,10395,331,9,0),
+(10399,8019,8017,4,0),
+(10406,8155,8071,4,0),
+(10407,10406,8071,5,0),
+(10408,10407,8071,6,0),
+(10412,8046,8042,5,0),
+(10413,10412,8042,6,0),
+(10414,10413,8042,7,0),
+(10427,6392,5730,5,0),
+(10428,10427,5730,6,0),
+(10431,8134,324,6,0),
+(10432,10431,324,7,0),
+(10437,6365,3599,5,0),
+(10438,10437,3599,6,0),
+(10442,8161,8075,4,0),
+(10447,8053,8050,4,0),
+(10448,10447,8050,5,0),
+(10456,8038,8033,3,0),
+(10462,6377,5394,4,0),
+(10463,10462,5394,5,0),
+(10466,8010,8004,4,0),
+(10467,10466,8004,5,0),
+(10468,10467,8004,6,0),
+(10472,8058,8056,3,0),
+(10473,10472,8056,4,0),
+(10478,8181,8181,2,0),
+(10479,10478,8181,3,0),
+(10486,8235,8232,3,0),
+(10495,5675,5675,2,0),
+(10496,10495,5675,3,0),
+(10497,10496,5675,4,0),
+(10526,8249,8227,3,0),
+(10537,8184,8184,2,0),
+(10538,10537,8184,3,0),
+(10585,8190,8190,2,0),
+(10586,10585,8190,3,0),
+(10587,10586,8190,4,0),
+(10595,0,10595,1,0),
+(10600,10595,10595,2,0),
+(10601,10600,10595,3,0),
+(10605,2860,421,4,0),
+(10613,8512,8512,2,0),
+(10614,10613,8512,3,0),
+(10622,1064,1064,2,0),
+(10623,10622,1064,3,0),
+(10627,8835,8835,2,0),
+(10656,10662,2108,5,0),
+(10658,10662,2108,5,0),
+(10660,10662,2108,5,0),
+(10662,3811,2108,4,0),
+(10768,8618,8613,4,0),
+(10797,0,10797,1,0),
+(10846,7924,3273,4,0),
+(10874,8131,8129,3,0),
+(10875,10874,8129,4,0),
+(10876,10875,8129,5,0),
+(10880,2010,2006,3,0),
+(10881,10880,2006,4,0),
+(10888,8124,8122,3,0),
+(10890,10888,8122,4,0),
+(10892,2767,589,6,0),
+(10893,10892,589,7,0),
+(10894,10893,589,8,0),
+(10898,6066,17,7,0),
+(10899,10898,17,8,0),
+(10900,10899,17,9,0),
+(10901,10900,17,10,0),
+(10909,2096,2096,2,0),
+(10911,605,605,2,0),
+(10912,10911,605,3,0),
+(10915,9474,2061,5,0),
+(10916,10915,2061,6,0),
+(10917,10916,2061,7,0),
+(10927,6078,139,7,0),
+(10928,10927,139,8,0),
+(10929,10928,139,9,0),
+(10933,6060,585,7,0),
+(10934,10933,585,8,0),
+(10937,2791,1243,5,0),
+(10938,10937,1243,6,0),
+(10941,9592,586,5,0),
+(10942,10941,586,6,0),
+(10945,8106,8092,7,0),
+(10946,10945,8092,8,0),
+(10947,10946,8092,9,0),
+(10951,1006,588,5,0),
+(10952,10951,588,6,0),
+(10953,8192,453,3,0),
+(10955,9485,9484,3,0),
+(10957,976,976,2,0),
+(10958,10957,976,3,0),
+(10960,996,596,3,0),
+(10961,10960,596,4,0),
+(10963,2060,2060,2,0),
+(10964,10963,2060,3,0),
+(10965,10964,2060,4,0),
+(11113,0,11113,1,0),
+(11197,8650,8647,4,0),
+(11198,11197,8647,5,0),
+(11267,8725,8676,4,0),
+(11268,11267,8676,5,0),
+(11269,11268,8676,6,0),
+(11273,8640,1943,4,0),
+(11274,11273,1943,5,0),
+(11275,11274,1943,6,0),
+(11279,8721,53,6,0),
+(11280,11279,53,7,0),
+(11281,11280,53,8,0),
+(11285,8629,1776,4,0),
+(11286,11285,1776,5,0),
+(11289,8633,703,5,0),
+(11290,11289,703,6,0),
+(11293,8621,1752,7,0),
+(11294,11293,1752,8,0),
+(11297,2070,6770,3,0),
+(11299,8624,2098,7,0),
+(11300,11299,2098,8,0),
+(11303,8637,1966,4,0),
+(11305,8696,2983,3,0),
+(11314,8499,1535,4,0),
+(11315,11314,1535,5,0),
+(11341,8691,8681,4,0),
+(11342,11341,8681,5,0),
+(11343,11342,8681,6,0),
+(11357,2837,2835,3,0),
+(11358,11357,2835,4,0),
+(11366,0,11366,1,0),
+(11400,8694,5763,3,0),
+(11426,0,11426,1,0),
+(11549,6192,6673,4,0),
+(11550,11549,6673,5,0),
+(11551,11550,6673,6,0),
+(11554,6190,1160,3,0),
+(11555,11554,1160,4,0),
+(11556,11555,1160,5,0),
+(11564,1608,78,5,0),
+(11565,11564,78,6,0),
+(11566,11565,78,7,0),
+(11567,11566,78,8,0),
+(11572,6548,772,5,0),
+(11573,11572,772,6,0),
+(11574,11573,772,7,0),
+(11578,6178,100,3,0),
+(11580,8205,6343,5,0),
+(11581,11580,6343,6,0),
+(11584,7887,7384,3,0),
+(11585,11584,7384,4,0),
+(11596,8380,7386,4,0),
+(11597,11596,7386,5,0),
+(11600,7379,6572,4,0),
+(11601,11600,6572,5,0),
+(11604,8820,1464,3,0),
+(11605,11604,1464,4,0),
+(11608,7369,845,3,0),
+(11609,11608,845,4,0),
+(11611,3464,2259,4,0),
+(11659,7641,686,7,0),
+(11660,11659,686,8,0),
+(11661,11660,686,9,0),
+(11665,2941,348,5,0),
+(11667,11665,348,6,0),
+(11668,11667,348,7,0),
+(11671,7648,172,5,0),
+(11672,11671,172,6,0),
+(11675,8289,1120,4,0),
+(11677,6219,5740,3,0),
+(11678,11677,5740,4,0),
+(11683,1949,1949,2,0),
+(11684,11683,1949,3,0),
+(11687,1456,1454,4,0),
+(11688,11687,1454,5,0),
+(11689,11688,1454,6,0),
+(11693,3700,755,5,0),
+(11694,11693,755,6,0),
+(11695,11694,755,7,0),
+(11699,7651,689,5,0),
+(11700,11699,689,6,0),
+(11703,6226,5138,3,0),
+(11704,11703,5138,4,0),
+(11707,7646,702,5,0),
+(11708,11707,702,6,0),
+(11711,6217,980,4,0),
+(11712,11711,980,5,0),
+(11713,11712,980,6,0),
+(11717,7659,704,4,0),
+(11719,1714,1714,2,0),
+(11721,1490,1490,2,0),
+(11722,11721,1490,3,0),
+(11725,1098,1098,2,0),
+(11726,11725,1098,3,0),
+(11729,5699,6201,4,0),
+(11730,11729,6201,5,0),
+(11733,1086,706,3,0),
+(11734,11733,706,4,0),
+(11735,11734,706,5,0),
+(11739,6229,6229,2,0),
+(11740,11739,6229,3,0),
+(11762,7802,3110,6,0),
+(11763,11762,3110,7,0),
+(11766,7805,6307,4,0),
+(11767,11766,6307,5,0),
+(11770,8317,2947,4,0),
+(11771,11770,2947,5,0),
+(11774,7811,3716,5,0),
+(11775,11774,3716,6,0),
+(11778,7816,7814,4,0),
+(11779,11778,7814,5,0),
+(11780,11779,7814,6,0),
+(11784,7813,6360,3,0),
+(11785,11784,6360,4,0),
+(11993,3570,2366,4,0),
+(12180,3910,3908,4,0),
+(12656,4038,4036,4,0),
+(12294,0,12294,1,0),
+(12505,11366,11366,2,0),
+(12522,12505,11366,3,0),
+(12523,12522,11366,4,0),
+(12524,12523,11366,5,0),
+(12525,12524,11366,6,0),
+(12526,12525,11366,7,0),
+(12824,118,118,2,0),
+(12825,12824,118,3,0),
+(12826,12825,118,4,0),
+(13018,11113,11113,2,0),
+(13019,13018,11113,3,0),
+(13020,13019,11113,4,0),
+(13021,13020,11113,5,0),
+(13031,11426,11426,2,0),
+(13032,13031,11426,3,0),
+(13033,13032,11426,4,0),
+(13165,0,13165,1,0),
+(13220,0,13220,1,0),
+(13228,13220,13220,2,0),
+(13229,13228,13220,3,0),
+(13230,13229,13220,4,0),
+(13542,3662,136,5,0),
+(13543,13542,136,6,0),
+(13544,13543,136,7,0),
+(13549,1978,1978,2,0),
+(13550,13549,1978,3,0),
+(13551,13550,1978,4,0),
+(13552,13551,1978,5,0),
+(13553,13552,1978,6,0),
+(13554,13553,1978,7,0),
+(13555,13554,1978,8,0),
+(13795,0,13795,1,0),
+(13813,0,13813,1,0),
+(13896,0,13896,1,0),
+(13908,0,13908,1,0),
+(13920,7413,7411,4,0),
+(14260,2973,2973,2,0),
+(14261,14260,2973,3,0),
+(14262,14261,2973,4,0),
+(14263,14262,2973,5,0),
+(14264,14263,2973,6,0),
+(14265,14264,2973,7,0),
+(14266,14265,2973,8,0),
+(14267,2974,2974,2,0),
+(14268,14267,2974,3,0),
+(14269,1495,1495,2,0),
+(14270,14269,1495,3,0),
+(14271,14270,1495,4,0),
+(14272,781,781,2,0),
+(14273,14272,781,3,0),
+(14274,20736,20736,2,0),
+(14279,3034,3034,2,0),
+(14280,14279,3034,3,0),
+(14281,3044,3044,2,0),
+(14282,14281,3044,3,0),
+(14283,14282,3044,4,0),
+(14284,14283,3044,5,0),
+(14285,14284,3044,6,0),
+(14286,14285,3044,7,0),
+(14287,14286,3044,8,0),
+(14288,2643,2643,2,0),
+(14289,14288,2643,3,0),
+(14290,14289,2643,4,0),
+(14294,1510,1510,2,0),
+(14295,14294,1510,3,0),
+(14302,13795,13795,2,0),
+(14303,14302,13795,3,0),
+(14304,14303,13795,4,0),
+(14305,14304,13795,5,0),
+(14310,1499,1499,2,0),
+(14311,14310,1499,3,0),
+(14316,13813,13813,2,0),
+(14317,14316,13813,3,0),
+(14318,13165,13165,2,0),
+(14319,14318,13165,3,0),
+(14320,14319,13165,4,0),
+(14321,14320,13165,5,0),
+(14322,14321,13165,6,0),
+(14323,1130,1130,2,0),
+(14324,14323,1130,3,0),
+(14325,14324,1130,4,0),
+(14326,1513,1513,2,0),
+(14327,14326,1513,3,0),
+(14752,0,14752,1,0),
+(14818,14752,14752,2,0),
+(14819,14818,14752,3,0),
+(14914,0,14914,1,0),
+(14916,2649,2649,2,0),
+(14917,14916,2649,3,0),
+(14918,14917,2649,4,0),
+(14919,14918,2649,5,0),
+(14920,14919,2649,6,0),
+(14921,14920,2649,7,0),
+(15107,0,15107,1,0),
+(15111,15107,15107,2,0),
+(15112,15111,15107,3,0),
+(15207,10392,403,9,0),
+(15208,15207,403,10,0),
+(15237,0,15237,1,0),
+(15261,15267,14914,8,0),
+(15262,14914,14914,2,0),
+(15263,15262,14914,3,0),
+(15264,15263,14914,4,0),
+(15265,15264,14914,5,0),
+(15266,15265,14914,6,0),
+(15267,15266,14914,7,0),
+(15407,0,15407,1,0),
+(15430,15237,15237,2,0),
+(15431,15430,15237,3,0),
+(15629,14274,20736,3,0),
+(15630,15629,20736,4,0),
+(15631,15630,20736,5,0),
+(15632,15631,20736,6,0),
+(16314,10399,8017,5,0),
+(16315,16314,8017,6,0),
+(16316,16315,8017,7,0),
+(16339,8030,8024,4,0),
+(16341,16339,8024,5,0),
+(16342,16341,8024,6,0),
+(16355,10456,8033,4,0),
+(16356,16355,8033,5,0),
+(16362,10486,8232,4,0),
+(16387,10526,8227,4,0),
+(16511,0,16511,1,0),
+(16689,0,16689,1,339),
+(16697,1756,1742,6,0),
+(16810,16689,16689,2,1062),
+(16811,16810,16689,3,5195),
+(16812,16811,16689,4,5196),
+(16813,16812,16689,5,9852),
+(16827,0,16827,1,0),
+(16828,16827,16827,2,0),
+(16829,16828,16827,3,0),
+(16830,16829,16827,4,0),
+(16831,16830,16827,5,0),
+(16832,16831,16827,6,0),
+(16857,0,16857,1,0),
+(16914,0,16914,1,0),
+(17039,9787,2018,6,0),
+(17040,9787,2018,6,0),
+(17041,9787,2018,6,0),
+(17253,0,17253,1,0),
+(17255,17253,17253,2,0),
+(17256,17255,17253,3,0),
+(17257,17256,17253,4,0),
+(17258,17257,17253,5,0),
+(17259,17258,17253,6,0),
+(17260,17259,17253,7,0),
+(17261,17260,17253,8,0),
+(17311,15407,15407,2,0),
+(17312,17311,15407,3,0),
+(17313,17312,15407,4,0),
+(17314,17313,15407,5,0),
+(17329,16813,16689,6,9853),
+(17347,16511,16511,2,0),
+(17348,17347,16511,3,0),
+(17390,16857,16857,2,0),
+(17391,17390,16857,3,0),
+(17392,17391,16857,4,0),
+(17401,16914,16914,2,0),
+(17402,17401,16914,3,0),
+(17727,2362,2362,2,0),
+(17728,17727,2362,3,0),
+(17735,0,17735,1,0),
+(17750,17735,17735,2,0),
+(17751,17750,17735,3,0),
+(17752,17751,17735,4,0),
+(17767,0,17767,1,0),
+(17850,17767,17767,2,0),
+(17851,17850,17767,3,0),
+(17852,17851,17767,4,0),
+(17853,17852,17767,5,0),
+(17854,17853,17767,6,0),
+(17862,0,17862,1,0),
+(17877,0,17877,1,0),
+(17919,5676,5676,2,0),
+(17920,17919,5676,3,0),
+(17921,17920,5676,4,0),
+(17922,17921,5676,5,0),
+(17923,17922,5676,6,0),
+(17924,6353,6353,2,0),
+(17925,6789,6789,2,0),
+(17926,17925,6789,3,0),
+(17928,5484,5484,2,0),
+(17937,17862,17862,2,0),
+(17951,6366,6366,2,0),
+(17952,17951,6366,3,0),
+(17953,17952,6366,4,0),
+(17962,0,17962,1,0),
+(18137,0,18137,1,0),
+(18220,0,18220,1,0),
+(18248,7732,7620,4,0),
+(18260,3413,2550,4,0),
+(18265,0,18265,1,0),
+(18647,710,710,2,0),
+(18657,2637,2637,2,0),
+(18658,18657,2637,3,0),
+(18807,17314,15407,6,0),
+(18809,12526,11366,8,0),
+(18867,17877,17877,2,0),
+(18868,18867,17877,3,0),
+(18869,18868,17877,4,0),
+(18870,18869,17877,5,0),
+(18871,18870,17877,6,0),
+(18879,18265,18265,2,0),
+(18880,18879,18265,3,0),
+(18881,18880,18265,4,0),
+(18930,17962,17962,2,0),
+(18931,18930,17962,3,0),
+(18932,18931,17962,4,0),
+(18937,18220,18220,2,0),
+(18938,18937,18220,3,0),
+(19236,13908,13908,2,0),
+(19238,19236,13908,3,0),
+(19240,19238,13908,4,0),
+(19241,19240,13908,5,0),
+(19242,19241,13908,6,0),
+(19243,19242,13908,7,0),
+(19261,2652,2652,2,0),
+(19262,19261,2652,3,0),
+(19264,19262,2652,4,0),
+(19265,19264,2652,5,0),
+(19266,19265,2652,6,0),
+(19271,13896,13896,2,0),
+(19273,19271,13896,3,0),
+(19274,19273,13896,4,0),
+(19275,19274,13896,5,0),
+(19276,2944,2944,2,0),
+(19277,19276,2944,3,0),
+(19278,19277,2944,4,0),
+(19279,19278,2944,5,0),
+(19280,19279,2944,6,0),
+(19281,9035,9035,2,0),
+(19282,19281,9035,3,0),
+(19283,19282,9035,4,0),
+(19284,19283,9035,5,0),
+(19285,19284,9035,6,0),
+(19296,10797,10797,2,0),
+(19299,19296,10797,3,0),
+(19302,19299,10797,4,0),
+(19303,19302,10797,5,0),
+(19304,19303,10797,6,0),
+(19305,19304,10797,7,0),
+(19306,0,19306,1,0),
+(19308,18137,18137,2,0),
+(19309,19308,18137,3,0),
+(19310,19309,18137,4,0),
+(19311,19310,18137,5,0),
+(19312,19311,18137,6,0),
+(19386,0,19386,1,0),
+(19434,0,19434,1,0),
+(19438,7812,7812,2,0),
+(19440,19438,7812,3,0),
+(19441,19440,7812,4,0),
+(19442,19441,7812,5,0),
+(19443,19442,7812,6,0),
+(19244,0,19244,1,0),
+(19478,0,19478,1,0),
+(19505,0,19505,1,0),
+(19506,0,19506,1,0),
+(19647,19244,19244,2,0),
+(19655,19478,19478,2,0),
+(19656,19655,19478,3,0),
+(19660,19656,19478,4,0),
+(19731,19505,19505,2,0),
+(19734,19731,19505,3,0),
+(19736,19734,19505,4,0),
+(19740,0,19740,1,0),
+(19742,0,19742,1,0),
+(19750,0,19750,1,0),
+(19834,19740,19740,2,0),
+(19835,19834,19740,3,0),
+(19836,19835,19740,4,0),
+(19837,19836,19740,5,0),
+(19838,19837,19740,6,0),
+(19850,19742,19742,2,0),
+(19852,19850,19742,3,0),
+(19853,19852,19742,4,0),
+(19854,19853,19742,5,0),
+(19876,0,19876,1,0),
+(19888,0,19888,1,0),
+(19891,0,19891,1,0),
+(19895,19876,19876,2,0),
+(19896,19895,19876,3,0),
+(19897,19888,19888,2,0),
+(19898,19897,19888,3,0),
+(19899,19891,19891,2,0),
+(19900,19899,19891,3,0),
+(19939,19750,19750,2,0),
+(19940,19939,19750,3,0),
+(19941,19940,19750,4,0),
+(19942,19941,19750,5,0),
+(19943,19942,19750,6,0),
+(19977,0,19977,1,0),
+(19978,19977,19977,2,0),
+(19979,19978,19977,3,0),
+(20043,0,20043,1,0),
+(20116,26573,26573,2,0),
+(20162,21082,21082,2,0),
+(20164,0,20164,1,0),
+(20165,0,20165,1,0),
+(20166,0,20166,1,0),
+(20190,20043,20043,2,0),
+(20217,0,20217,1,0),
+(20219,12656,4036,5,0),
+(20222,12656,4036,5,0),
+(20243,0,20243,1,0),
+(20252,0,20252,1,0),
+(20287,21084,21084,2,0),
+(20288,20287,21084,3,0),
+(20289,20288,21084,4,0),
+(20290,20289,21084,5,0),
+(20291,20290,21084,6,0),
+(20292,20291,21084,7,0),
+(20293,20292,21084,8,0),
+(20305,20162,21082,3,0),
+(20306,20305,21082,4,0),
+(20307,20306,21082,5,0),
+(20308,20307,21082,6,0),
+(20347,20165,20165,2,0),
+(20348,20347,20165,3,0),
+(20349,20348,20165,4,0),
+(20356,20166,20166,2,0),
+(20357,20356,20166,3,0),
+(20375,0,20375,1,0),
+(20473,0,20473,1,0),
+(20484,0,20484,1,0),
+(20559,7402,694,4,0),
+(20560,20559,694,5,0),
+(20569,11609,845,5,0),
+(20609,2008,2008,2,0),
+(20610,20609,2008,3,0),
+(20616,20252,20252,2,0),
+(20617,20616,20252,3,0),
+(20658,5308,5308,2,0),
+(20660,20658,5308,3,0),
+(20661,20660,5308,4,0),
+(20662,20661,5308,5,0),
+(20729,6940,6940,2,0),
+(20736,0,20736,1,0),
+(20739,20484,20484,2,0),
+(20742,20739,20484,3,0),
+(20747,20742,20484,4,0),
+(20748,20747,20484,5,0),
+(20752,693,693,2,0),
+(20755,20752,693,3,0),
+(20756,20755,693,4,0),
+(20757,20756,693,5,0),
+(20770,10881,2006,5,0),
+(20772,10324,7328,4,0),
+(20773,20772,7328,5,0),
+(20776,20610,2008,4,0),
+(20777,20776,2008,5,0),
+(20900,19434,19434,2,0),
+(20901,20900,19434,3,0),
+(20902,20901,19434,4,0),
+(20903,20902,19434,5,0),
+(20904,20903,19434,6,0),
+(20905,19506,19506,2,0),
+(20906,20905,19506,3,0),
+(20909,19306,19306,2,0),
+(20910,20909,19306,3,0),
+(20911,0,20911,1,0),
+(20912,20911,20911,2,0),
+(20913,20912,20911,3,0),
+(20914,20913,20911,4,0),
+(20915,20375,20375,2,0),
+(20918,20915,20375,3,0),
+(20919,20918,20375,4,0),
+(20920,20919,20375,5,0),
+(20922,20116,26573,3,0),
+(20923,20922,26573,4,0),
+(20924,20923,26573,5,0),
+(20925,0,20925,1,0),
+(20927,20925,20925,2,0),
+(20928,20927,20925,3,0),
+(20929,20473,20473,2,0),
+(20930,20929,20473,3,0),
+(21082,0,21082,1,0),
+(21084,0,21084,1,0),
+(21551,12294,12294,2,0),
+(21552,21551,12294,3,0),
+(21553,21552,12294,4,0),
+(21562,0,21562,1,0),
+(21564,21562,21562,2,0),
+(21849,0,21849,1,0),
+(21850,21849,21849,2,0),
+(22568,0,22568,1,0),
+(22782,6117,6117,2,0),
+(22783,22782,6117,3,0),
+(22827,22568,22568,2,0),
+(22828,22827,22568,3,0),
+(22829,22828,22568,4,0),
+(22842,0,22842,1,0),
+(22895,22842,22842,2,0),
+(22896,22895,22842,3,0),
+(23028,0,23028,1,0),
+(23099,0,23099,1,0),
+(23109,23099,23099,2,0),
+(23110,23109,23099,3,0),
+(23145,0,23145,1,0),
+(23147,23145,23145,2,0),
+(23148,23147,23145,3,0),
+(23881,0,23881,1,0),
+(23892,23881,23881,2,0),
+(23893,23892,23881,3,0),
+(23894,23893,23881,4,0),
+(23922,0,23922,1,0),
+(23923,23922,23922,2,0),
+(23924,23923,23922,3,0),
+(23925,23924,23922,4,0),
+(23992,0,23992,1,0),
+(24132,19386,19386,2,0),
+(24133,24132,19386,3,0),
+(24224,0,24224,1,0),
+(24239,24274,24275,3,0),
+(24248,31018,22568,6,0),
+(24274,24275,24275,2,0),
+(24275,0,24275,1,0),
+(24398,0,24398,1,0),
+(24423,0,24423,1,0),
+(24439,23992,23992,2,0),
+(24444,24439,23992,3,0),
+(24445,24444,23992,4,0),
+(24446,0,24446,1,0),
+(24447,24446,24446,2,0),
+(24448,24447,24446,3,0),
+(24449,24448,24446,4,0),
+(24450,0,24450,1,0),
+(24452,24450,24450,2,0),
+(24453,24452,24450,3,0),
+(24488,0,24488,1,0),
+(24492,0,24492,1,0),
+(24493,0,24493,1,0),
+(24497,24493,24493,2,0),
+(24500,24497,24493,3,0),
+(24501,24500,24493,4,0),
+(24502,24492,24492,2,0),
+(24503,24502,24492,3,0),
+(24504,24503,24492,4,0),
+(24505,24488,24488,2,0),
+(24506,24505,24488,3,0),
+(24507,24506,24488,4,0),
+(24545,0,24545,1,0),
+(24549,24545,24545,2,0),
+(24550,24549,24545,3,0),
+(24551,24550,24545,4,0),
+(24552,24551,24545,5,0),
+(24553,24552,24545,6,0),
+(24554,24553,24545,7,0),
+(24555,24554,24545,8,0),
+(24577,24423,24423,2,0),
+(24578,24577,24423,3,0),
+(24579,24578,24423,4,0),
+(24583,24640,24640,2,0),
+(24586,24583,24640,3,0),
+(24587,24586,24640,4,0),
+(24597,24603,24604,4,0),
+(24604,0,24604,1,0),
+(24605,24604,24604,2,0),
+(24603,24605,24604,3,0),
+(24629,24555,24545,9,0),
+(24630,24629,24545,10,0),
+(24640,0,24640,1,0),
+(24844,0,24844,1,0),
+(24974,5570,5570,2,0),
+(24975,24974,5570,3,0),
+(24976,24975,5570,4,0),
+(24977,24976,5570,5,0),
+(25008,24844,24844,2,0),
+(25009,25008,24844,3,0),
+(25010,25009,24844,4,0),
+(25011,25010,24844,5,0),
+(25012,25011,24844,6,0),
+(25076,0,25076,1,0),
+(25202,11556,1160,6,0),
+(25203,25202,1160,7,0),
+(25208,11574,772,8,0),
+(25210,25314,2060,6,0),
+(25212,7373,1715,4,0),
+(25213,25210,2060,7,0),
+(25217,10901,17,11,0),
+(25218,25217,17,12,0),
+(25221,25315,139,11,0),
+(25222,25221,139,12,0),
+(25225,11597,7386,6,0),
+(25229,0,25229,1,0),
+(25230,25229,25229,2,0),
+(25231,20569,845,6,0),
+(25233,10917,2061,8,0),
+(25234,20662,5308,6,0),
+(25235,25233,2061,9,0),
+(25236,25234,5308,7,0),
+(25241,11605,1464,5,0),
+(25242,25241,1464,6,0),
+(25248,21553,12294,5,0),
+(25251,23894,23881,5,0),
+(25258,23925,23922,5,0),
+(25264,11581,6343,7,0),
+(25266,20560,694,6,0),
+(25269,25288,6572,7,0),
+(25272,20617,20252,4,0),
+(25275,25272,20252,5,0),
+(25286,11567,78,9,0),
+(25288,11601,6572,6,0),
+(25289,11551,6673,7,0),
+(25290,19854,19742,6,0),
+(25291,19838,19740,7,0),
+(25292,10329,635,9,0),
+(25294,14290,2643,5,0),
+(25295,13555,1978,9,0),
+(25296,14322,13165,7,0),
+(25297,9889,5185,11,0),
+(25298,9876,2912,7,0),
+(25299,9841,774,11,0),
+(25300,11281,53,9,0),
+(25302,11303,1966,5,0),
+(25304,10181,116,11,0),
+(25306,10151,133,12,0),
+(25307,11661,686,10,0),
+(25308,25316,596,6,0),
+(25309,11668,348,8,0),
+(25311,11672,172,7,0),
+(25312,27841,14752,5,0),
+(25314,10965,2060,5,0),
+(25315,10929,139,10,0),
+(25316,10961,596,5,0),
+(25331,27801,15237,7,0),
+(25345,10212,5143,8,0),
+(25347,11358,2835,5,0),
+(25357,10396,331,10,0),
+(25359,10627,8835,3,0),
+(25361,10442,8075,5,0),
+(25363,10934,585,9,0),
+(25364,25363,585,10,0),
+(25367,10894,589,9,0),
+(25368,25367,589,10,0),
+(25372,10947,8092,10,0),
+(25375,25372,8092,11,0),
+(25379,10876,8129,6,0),
+(25380,25379,8129,7,0),
+(25384,15261,14914,9,0),
+(25387,18807,15407,7,0),
+(25389,10938,1243,7,0),
+(25391,25357,331,11,0),
+(25396,25391,331,12,0),
+(25420,10468,8004,7,0),
+(25422,10623,1064,4,0),
+(25423,25422,1064,5,0),
+(25429,10942,586,7,0),
+(25431,10952,588,7,0),
+(25433,10958,976,4,0),
+(25435,20770,2006,6,0),
+(25437,19243,13908,8,0),
+(25439,10605,421,5,0),
+(25441,19275,13896,6,0),
+(25442,25439,421,6,0),
+(25446,19305,10797,8,0),
+(25448,15208,403,11,0),
+(25449,25448,403,12,0),
+(25454,10414,8042,8,0),
+(25457,29228,8050,7,0),
+(25464,10473,8056,5,0),
+(25467,19280,2944,7,0),
+(25469,10432,324,8,0),
+(25470,19285,9035,7,0),
+(25472,25469,324,9,0),
+(25477,19312,18137,7,0),
+(25479,16316,8017,8,0),
+(25485,25479,8017,9,0),
+(25489,16342,8024,7,0),
+(25500,16356,8033,6,0),
+(25505,16362,8232,5,0),
+(25508,10408,8071,7,0),
+(25509,25508,8071,8,0),
+(25525,10428,5730,7,0),
+(25528,25361,8075,6,0),
+(25533,10438,3599,7,0),
+(25546,11315,1535,6,0),
+(25547,25546,1535,7,0),
+(25552,10587,8190,5,0),
+(25557,16387,8227,5,0),
+(25560,10479,8181,4,0),
+(25563,10538,8184,4,0),
+(25567,10463,5394,6,0),
+(25570,10497,5675,5,0),
+(25574,10601,10595,4,0),
+(25577,15112,15107,4,0),
+(25585,10614,8512,4,0),
+(25587,25585,8512,5,0),
+(25596,10953,453,4,0),
+(25782,0,25782,1,19838),
+(25890,0,25890,1,19979),
+(25894,0,25894,1,19854),
+(25895,0,25895,1,1038),
+(25898,0,25898,1,20217),
+(25899,0,25899,1,20914),
+(25916,25782,25782,2,25291),
+(25918,25894,25894,2,25290),
+(26064,0,26064,1,0),
+(26090,0,26090,1,0),
+(26177,7371,7371,2,0),
+(26178,26177,7371,3,0),
+(26179,26178,7371,4,0),
+(26187,26090,26090,2,0),
+(26188,26187,26090,3,0),
+(26201,26179,7371,5,0),
+(26573,0,26573,1,0),
+(26790,12180,3908,5,0),
+(26797,12180,3908,5,0),
+(26798,12180,3908,5,0),
+(26801,12180,3908,5,0),
+(26839,11290,703,7,0),
+(26861,11294,1752,9,0),
+(26862,26861,1752,10,0),
+(26863,25300,53,10,0),
+(26864,17348,16511,4,0),
+(26865,31016,2098,10,0),
+(26866,11198,8647,6,0),
+(26867,11275,1943,7,0),
+(26884,26839,703,8,0),
+(26889,1857,1856,3,0),
+(26892,11343,8681,7,0),
+(26969,25347,2835,6,0),
+(26978,25297,5185,12,0),
+(26979,26978,5185,13,0),
+(26980,9858,8936,10,0),
+(26981,25299,774,12,0),
+(26982,26981,774,13,0),
+(26983,9863,740,5,0),
+(26984,9912,5176,9,0),
+(26985,26984,5176,10,0),
+(26986,25298,2912,8,0),
+(26987,9835,8921,11,0),
+(26988,26987,8921,12,0),
+(26989,9853,339,7,0),
+(26990,9885,1126,8,0),
+(26992,9910,467,7,0),
+(26993,9907,770,5,0),
+(26994,20748,20484,6,0),
+(26995,9901,2908,4,0),
+(26996,9881,6807,8,0),
+(26997,9908,779,6,0),
+(26998,9898,99,6,0),
+(26999,22896,22842,4,0),
+(27001,9830,5221,6,0),
+(27002,27001,5221,7,0),
+(27003,9904,1822,5,0),
+(27005,9867,6785,5,0),
+(27006,9827,9005,4,0),
+(27008,9896,1079,7,0),
+(27009,17329,16689,7,26989),
+(27011,17392,16857,5,0),
+(27012,17402,16914,4,0),
+(27013,24977,5570,6,0),
+(27014,14266,2973,9,0),
+(27015,14273,781,4,0),
+(27016,25295,1978,10,0),
+(27018,14280,3034,4,0),
+(27019,14287,3044,9,0),
+(27020,15632,20736,7,0),
+(27021,25294,2643,6,0),
+(27022,14295,1510,4,0),
+(27023,14305,13795,6,0),
+(27025,14317,13813,4,0),
+(27028,10846,3273,5,0),
+(27044,25296,13165,8,0),
+(27045,20190,20043,3,0),
+(27046,13544,136,8,0),
+(27047,14921,2649,8,0),
+(27048,16697,1742,7,0),
+(27049,3009,16827,9,0),
+(27050,17261,17253,9,0),
+(27051,24579,24423,5,0),
+(27052,24501,24493,5,0),
+(27053,24445,23992,5,0),
+(27054,24449,24446,5,0),
+(27055,24504,24492,5,0),
+(27056,24507,24488,5,0),
+(27060,24587,24640,5,0),
+(27061,24630,24545,11,0),
+(27062,5042,4187,11,0),
+(27063,26188,26090,4,0),
+(27065,20904,19434,7,0),
+(27066,20906,19506,4,0),
+(27067,20910,19306,4,0),
+(27068,24133,19386,4,0),
+(27070,25306,133,13,0),
+(27071,25304,116,12,0),
+(27072,27071,116,13,0),
+(27073,10207,2948,8,0),
+(27074,27073,2948,9,0),
+(27075,25345,5143,9,0),
+(27078,10199,2136,8,0),
+(27079,27078,2136,9,0),
+(27080,10202,1449,7,0),
+(27082,27080,1449,8,0),
+(27085,10187,10,7,0),
+(27086,10216,2120,7,0),
+(27087,10161,120,6,0),
+(27088,10230,122,5,0),
+(27090,37420,5504,9,0),
+(27124,10220,7302,5,0),
+(27125,22783,6117,4,0),
+(27126,10157,1459,6,0),
+(27128,10225,543,6,0),
+(27130,10170,1008,5,0),
+(27131,10193,1463,7,0),
+(27132,18809,11366,9,0),
+(27133,13021,11113,6,0),
+(27134,13033,11426,5,0),
+(27135,25292,635,10,0),
+(27136,27135,635,11,0),
+(27137,19943,19750,7,0),
+(27138,10314,879,7,0),
+(27139,10318,2812,3,0),
+(27140,25291,19740,8,0),
+(27141,25916,25782,3,27140),
+(27142,25290,19742,7,0),
+(27143,25918,25894,3,27142),
+(27144,19979,19977,4,0),
+(27145,25890,25890,2,27144),
+(27147,20729,6940,3,0),
+(27148,27147,6940,4,0),
+(27149,10293,465,8,0),
+(27150,10301,7294,6,0),
+(27151,19896,19876,4,0),
+(27152,19898,19888,4,0),
+(27153,19900,19891,4,0),
+(27154,10310,633,4,0),
+(27155,20293,21084,9,0),
+(27158,20308,21082,7,0),
+(27166,20357,20166,4,0),
+(27168,20914,20911,5,0),
+(27169,25899,25899,2,27168),
+(27170,20920,20375,6,0),
+(27173,20924,26573,6,0),
+(27174,20930,20473,4,0),
+(27179,20928,20925,4,0),
+(27180,24239,24275,4,0),
+(27209,25307,686,11,0),
+(27210,17923,5676,7,0),
+(27211,17924,6353,3,0),
+(27212,11678,5740,5,0),
+(27213,11684,1949,4,0),
+(27215,25309,348,9,0),
+(27216,25311,172,8,0),
+(27217,11675,1120,5,0),
+(27218,11713,980,7,0),
+(27219,11700,689,7,0),
+(27220,27219,689,8,0),
+(27221,11704,5138,5,0),
+(27222,11689,1454,7,0),
+(27223,17926,6789,4,0),
+(27224,11708,702,7,0),
+(27226,11717,704,5,0),
+(27228,11722,1490,4,0),
+(27229,17937,17862,3,0),
+(27230,11730,6201,6,0),
+(27238,20757,693,6,0),
+(27250,17953,6366,5,0),
+(27259,11695,755,8,0),
+(27260,11735,706,6,0),
+(27263,18871,17877,7,0),
+(27264,18881,18265,5,0),
+(27265,18938,18220,4,0),
+(27266,18932,17962,5,0),
+(27267,11763,3110,8,0),
+(27268,11767,6307,6,0),
+(27269,11771,2947,6,0),
+(27270,11775,3716,7,0),
+(27271,17752,17735,5,0),
+(27272,17854,17767,7,0),
+(27273,19443,7812,7,0),
+(27274,11780,7814,7,0),
+(27275,11785,6360,5,0),
+(27276,19736,19505,5,0),
+(27277,27276,19505,6,0),
+(27280,19660,19478,5,0),
+(27282,26969,2835,7,0),
+(27283,13230,13220,5,0),
+(27441,11269,8676,7,0),
+(27448,25302,1966,6,0),
+(27681,14752,14752,2,0),
+(27683,0,27683,1,0),
+(27685,26201,7371,6,0),
+(27799,15431,15237,4,0),
+(27800,27799,15237,5,0),
+(27801,27800,15237,6,0),
+(27841,14819,14752,4,0),
+(27870,724,724,2,0),
+(27871,27870,724,3,0),
+(28029,13920,7411,5,0),
+(28172,17728,2362,4,0),
+(28176,0,28176,1,0),
+(28189,28176,28176,2,0),
+(28275,27871,724,4,0),
+(28596,11611,2259,5,0),
+(28609,10177,6143,5,0),
+(28610,11740,6229,4,0),
+(28612,10145,587,7,0),
+(28672,11611,2259,5,0),
+(28675,11611,2259,5,0),
+(28677,11611,2259,5,0),
+(28695,11993,2366,5,0),
+(28894,25230,25229,3,0),
+(28895,28894,25229,4,0),
+(28897,28895,25229,5,0),
+(29228,10448,8050,6,0),
+(29354,10248,2575,5,0),
+(29704,1672,72,4,0),
+(29707,25286,78,10,0),
+(29722,0,29722,1,0),
+(29801,0,29801,1,0),
+(29844,9785,2018,5,0),
+(30016,20243,20243,2,0),
+(30022,30016,20243,3,0),
+(30030,29801,29801,2,0),
+(30033,30030,29801,3,0),
+(30108,0,30108,1,0),
+(30151,0,30151,1,0),
+(30194,30151,30151,2,0),
+(30198,30194,30151,3,0),
+(30213,0,30213,1,0),
+(30219,30213,30213,2,0),
+(30223,30219,30213,3,0),
+(30283,0,30283,1,0),
+(30324,29707,78,11,0),
+(30330,25248,12294,6,0),
+(30335,25251,23881,6,0),
+(30350,12656,4036,5,0),
+(30356,25258,23922,6,0),
+(30357,25269,6572,8,0),
+(30404,30108,30108,2,0),
+(30405,30404,30108,3,0),
+(30413,30283,30283,2,0),
+(30414,30413,30283,3,0),
+(30459,27210,5676,8,0),
+(30545,27211,6353,4,0),
+(30546,27263,17877,8,0),
+(30908,27221,5138,6,0),
+(30909,27224,702,8,0),
+(30910,603,603,2,0),
+(30911,27264,18265,6,0),
+(30912,27266,17962,6,0),
+(31016,11300,2098,9,0),
+(31018,22829,22568,5,0),
+(31661,0,31661,1,0),
+(31785,0,31785,1,0),
+(31895,20164,20164,2,0),
+(31935,0,31935,1,0),
+(32231,29722,29722,2,0),
+(32379,0,32379,1,0),
+(32549,10662,2108,5,0),
+(32593,974,974,2,0),
+(32594,32593,974,3,0),
+(32645,0,32645,1,0),
+(32678,10768,8613,5,0),
+(32684,32645,32645,2,0),
+(32699,31935,31935,2,0),
+(32700,32699,31935,3,0),
+(32796,28609,6143,6,0),
+(32996,32379,32379,2,0),
+(32999,27681,14752,3,0),
+(33041,31661,31661,2,0),
+(33042,33041,31661,3,0),
+(33043,33042,31661,4,0),
+(33072,27174,20473,5,0),
+(33095,18248,7620,5,0),
+(33142,0,33142,1,0),
+(33145,33142,33142,2,0),
+(33146,33145,33142,3,0),
+(33359,18260,2550,5,0),
+(33388,0,33388,1,0),
+(33391,33388,33388,2,0),
+(33405,27134,11426,6,0),
+(33698,0,33698,1,0),
+(33699,33698,33698,2,0),
+(33700,33699,33698,3,0),
+(33701,27271,17735,6,0),
+(33717,28612,587,8,0),
+(33736,24398,24398,2,0),
+(33776,31785,31785,2,0),
+(33876,0,33876,1,0),
+(33878,0,33878,1,0),
+(33933,27133,11113,7,0),
+(33938,27132,11366,10,0),
+(33943,0,33943,1,0),
+(33944,10174,604,6,0),
+(33946,27130,1008,6,0),
+(33982,33876,33876,2,0),
+(33983,33982,33876,3,0),
+(33986,33878,33878,2,0),
+(33987,33986,33878,3,0),
+(34411,1329,1329,2,0),
+(34412,34411,1329,3,0),
+(34413,34412,1329,4,0),
+(34506,0,34506,1,0),
+(34507,34506,34506,2,0),
+(34508,34507,34506,3,0),
+(34838,34508,34506,4,0),
+(34839,34838,34506,5,0),
+(34861,0,34861,1,0),
+(34863,34861,34861,2,0),
+(34864,34863,34861,3,0),
+(34865,34864,34861,4,0),
+(34866,34865,34861,5,0),
+(34889,0,34889,1,0),
+(34914,0,34914,1,0),
+(34916,34914,34914,2,0),
+(34917,34916,34914,3,0),
+(34950,0,34950,1,0),
+(34954,34950,34950,2,0),
+(35323,34889,34889,2,0),
+(35290,0,35290,1,0),
+(35291,35290,35290,2,0),
+(35292,35291,35290,3,0),
+(35293,35292,35290,4,0),
+(35294,35293,35290,5,0),
+(35295,35294,35290,6,0),
+(35296,35295,35290,7,0),
+(35297,35296,35290,8,0),
+(35298,35297,35290,9,0),
+(35387,0,35387,1,0),
+(35389,35387,35387,2,0),
+(35392,35389,35387,3,0),
+(35346,0,35346,1,0),
+(35694,0,35694,1,0),
+(35698,35694,35694,2,0),
+(36916,14271,1495,5,0),
+(37420,10140,5504,8,0),
+(38692,27070,133,14,0),
+(38697,27072,116,14,0),
+(38699,27075,5143,10,0),
+(38704,38699,5143,11,0),
+(38764,11286,1776,6,0),
+(38768,1769,1766,5,0),
+(40120,33943,33943,2,0);
+/*!40000 ALTER TABLE `spell_chain` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `spell_elixir`
+--
+
+DROP TABLE IF EXISTS `spell_elixir`;
+CREATE TABLE `spell_elixir` (
+ `entry` int(11) unsigned NOT NULL default '0' COMMENT 'SpellId of potion',
+ `mask` tinyint(1) unsigned NOT NULL default '0' COMMENT 'Mask 0x1 battle 0x2 guardian 0x3 flask 0x7 unstable flasks 0xB shattrath flasks',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell System';
+
+--
+-- Dumping data for table `spell_elixir`
+--
+
+LOCK TABLES `spell_elixir` WRITE;
+/*!40000 ALTER TABLE `spell_elixir` DISABLE KEYS */;
+INSERT INTO `spell_elixir` VALUES
+( 673,0x2),
+( 2367,0x1),
+( 2374,0x1),
+( 2378,0x2),
+( 2380,0x2),
+( 3160,0x1),
+( 3164,0x1),
+( 3166,0x2),
+( 3219,0x2),
+( 3220,0x2),
+( 3222,0x2),
+( 3223,0x2),
+( 3593,0x2),
+( 7844,0x1),
+( 8212,0x1),
+(10667,0x1),
+(10668,0x2),
+(10669,0x1),
+(10692,0x2),
+(10693,0x2),
+(11319,0x2),
+(11328,0x1),
+(11334,0x1),
+(11348,0x2),
+(11349,0x2),
+(11364,0x2),
+(11371,0x2),
+(11390,0x1),
+(11396,0x2),
+(11405,0x1),
+(11406,0x1),
+(11474,0x1),
+(15231,0x2),
+(15233,0x2),
+(16321,0x2),
+(16322,0x1),
+(16323,0x1),
+(16325,0x2),
+(16326,0x2),
+(16327,0x2),
+(16329,0x1),
+(17038,0x1),
+(17535,0x2),
+(17537,0x1),
+(17538,0x1),
+(17539,0x1),
+(17624,0x3),
+(17626,0x3),
+(17627,0x3),
+(17629,0x3),
+(17628,0x3),
+(21920,0x1),
+(24361,0x2),
+(24363,0x2),
+(24382,0x2),
+(24383,0x2),
+(24417,0x2),
+(26276,0x1),
+(27652,0x2),
+(27653,0x2),
+(28486,0x1),
+(28488,0x1),
+(28490,0x1),
+(28491,0x1),
+(28493,0x1),
+(28497,0x1),
+(28501,0x1),
+(28502,0x2),
+(28503,0x1),
+(28509,0x2),
+(28514,0x2),
+(28518,0x3),
+(28519,0x3),
+(28520,0x3),
+(28521,0x3),
+(28540,0x3),
+(29348,0x2),
+(33720,0x1),
+(33721,0x1),
+(33726,0x1),
+(38954,0x1),
+(39625,0x2),
+(39626,0x2),
+(39627,0x2),
+(39628,0x2),
+(40567,0x7),
+(40568,0x7),
+(40572,0x7),
+(40573,0x7),
+(40575,0x7),
+(40576,0x7),
+(41608,0xB),
+(41609,0xB),
+(41610,0xB),
+(41611,0xB),
+(42735,0x3),
+(46837,0xB),
+(46839,0xB);
+/*!40000 ALTER TABLE `spell_elixir` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `spell_learn_spell`
+--
+
+DROP TABLE IF EXISTS `spell_learn_spell`;
+CREATE TABLE `spell_learn_spell` (
+ `entry` smallint(5) unsigned NOT NULL default '0',
+ `SpellID` smallint(5) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`SpellID`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System';
+
+--
+-- Dumping data for table `spell_learn_spell`
+--
+
+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),
+(17002,24867),
+(23161,33391),
+(23214,33391),
+(24866,24864),
+(33872,47179),
+(33873,47180),
+(33943,34090),
+(34767,33391),
+(34769,33388);
+
+/*!40000 ALTER TABLE `spell_learn_spell` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `spell_pet_auras`
+--
+
+DROP TABLE IF EXISTS `spell_pet_auras`;
+CREATE TABLE `spell_pet_auras` (
+ `spell` mediumint(8) unsigned NOT NULL COMMENT 'dummy spell id',
+ `pet` mediumint(8) unsigned NOT NULL default '0' COMMENT 'pet id; 0 = all',
+ `aura` mediumint(8) unsigned NOT NULL COMMENT 'pet aura id',
+ PRIMARY KEY (`spell`,`pet`)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
+
+--
+-- Dumping data for table `spell_pet_auras`
+--
+
+LOCK TABLES `spell_pet_auras` WRITE;
+/*!40000 ALTER TABLE `spell_pet_auras` DISABLE KEYS */;
+INSERT INTO `spell_pet_auras` VALUES
+(19028, 0, 25228),
+(19578, 0, 19579),
+(20895, 0, 24529),
+(28757, 0, 28758),
+(35029, 0, 35060),
+(35030, 0, 35061),
+(35691, 0, 35696),
+(35692, 0, 35696),
+(35693, 0, 35696),
+(23785, 416, 23759),
+(23822, 416, 23826),
+(23823, 416, 23827),
+(23824, 416, 23828),
+(23825, 416, 23829),
+(23785, 417, 23762),
+(23822, 417, 23837),
+(23823, 417, 23838),
+(23824, 417, 23839),
+(23825, 417, 23840),
+(23785, 1860, 23760),
+(23822, 1860, 23841),
+(23823, 1860, 23842),
+(23824, 1860, 23843),
+(23825, 1860, 23844),
+(23785, 1863, 23761),
+(23822, 1863, 23833),
+(23823, 1863, 23834),
+(23824, 1863, 23835),
+(23825, 1863, 23836),
+(23785, 17252, 35702),
+(23822, 17252, 35703),
+(23823, 17252, 35704),
+(23824, 17252, 35705),
+(23825, 17252, 35706);
+
+/*!40000 ALTER TABLE `spell_pet_auras` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `spell_proc_event`
+--
+
+DROP TABLE IF EXISTS `spell_proc_event`;
+CREATE TABLE `spell_proc_event` (
+ `entry` smallint(5) unsigned NOT NULL default '0',
+ `SchoolMask` tinyint(4) NOT NULL default '0',
+ `Category` smallint(6) NOT NULL default '0',
+ `SkillID` smallint(6) NOT NULL default '0',
+ `SpellFamilyName` smallint(5) unsigned NOT NULL default '0',
+ `SpellFamilyMask` bigint(20) unsigned NOT NULL default '0',
+ `procFlags` int(10) unsigned NOT NULL default '0',
+ `ppmRate` float NOT NULL default '0',
+ `cooldown` int(10) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `spell_proc_event`
+--
+
+LOCK TABLES `spell_proc_event` WRITE;
+/*!40000 ALTER TABLE `spell_proc_event` DISABLE KEYS */;
+INSERT INTO `spell_proc_event` VALUES
+(168,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(324,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(325,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(588,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(602,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(742,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(905,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(945,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(974,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(1006,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(1120,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(2565,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(2652,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(3235,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(3284,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(3338,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(3394,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(3417,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(3418,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(3424,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(3436,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(3439,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(3440,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(3509,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(3512,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(3582,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(3616,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(3637,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(4070,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(4112,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(4113,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(4114,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(4115,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(4133,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(4136,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(4138,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(4140,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(4142,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(4144,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(4241,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(4242,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(4245,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(4279,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(4283,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(4284,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(4315,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(4317,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(4493,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(4525,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(4932,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(4951,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(5104,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(5118,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(5202,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(5205,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(5262,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(5301,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(5364,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(5368,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(5369,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(5370,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(5377,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(5427,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(5680,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(5728,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(5811,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(6268,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(6397,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(6398,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(6399,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(6433,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(6645,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(6750,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(6752,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(6866,0,0,0,0,0x0000000000000000,0x00000072,0,0),
+(6867,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(6870,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(6871,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(6909,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(6921,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(6923,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(6947,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(6961,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7095,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7098,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7102,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7103,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(7128,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(7131,0,0,0,0,0x0000000000000000,0x000A22A8,0,0),
+(7137,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7276,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7300,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(7301,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(7302,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(7320,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(7445,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(7446,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(7486,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7617,0,0,0,0,0x0000000000000000,0x00100002,0,0),
+(7619,0,0,0,0,0x0000000000000000,0x00100002,0,0),
+(7711,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7721,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7722,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7723,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7724,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7725,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7726,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7806,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7807,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7808,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(7849,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(7999,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(8134,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(8224,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(8247,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(8260,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(8288,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(8289,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(8397,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(8601,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(8612,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(8788,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(8852,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(8876,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(8981,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(9084,0,0,0,0,0x0000000000000000,0x00000008,0,0),
+(9160,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(9233,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(9276,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(9452,0,0,0,0,0x0000000000000000,0x00000014,3,0),
+(9460,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(9463,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(9778,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(9782,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(9784,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(9799,0,0,0,0,0x0000000000000000,0x00040000,0,0),
+(10022,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(10092,0,0,0,0,0x0000000000000000,0x00000080,0,0),
+(10219,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(10220,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(10425,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(10426,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(10431,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(10432,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(10951,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(10952,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(11103,4,0,0,0,0x0000000000000000,0x00020000,0,0),
+(11119,4,0,0,0,0x0000000000000000,0x00010000,0,0),
+(11120,4,0,0,0,0x0000000000000000,0x00010000,0,0),
+(11129,4,0,0,0,0x0000000000000000,0x00020000,0,0),
+(11180,16,0,0,0,0x0000000000000000,0x00020000,0,0),
+(11185,0,0,0,3,0x0000000000000080,0x00020000,0,0),
+(11213,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(11255,0,0,0,3,0x0000000000004000,0x00004000,0,0),
+(11371,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(11441,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(11675,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(11919,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(11959,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(11964,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(11984,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(12099,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(12169,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(12246,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(12254,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(12281,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(12284,0,0,0,0,0x0000000000000000,0x00000001,0.33252,0),
+(12289,0,0,26,0,0x0000000000000002,0x00020000,0,0),
+(12292,0,0,0,0,0x0000000000000000,0x00000080,0,0),
+(12298,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(12311,0,0,0,4,0x0000000000000800,0x00020000,0,0),
+(12317,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(12319,0,0,0,0,0x0000000000000000,0x00011000,0,0),
+(12322,0,0,0,0,0x0000000000000000,0x00000001,2,0),
+(12328,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(12357,4,0,0,0,0x0000000000000000,0x00020000,0,0),
+(12358,4,0,0,0,0x0000000000000000,0x00020000,0,0),
+(12359,4,0,0,0,0x0000000000000000,0x00020000,0,0),
+(12360,4,0,0,0,0x0000000000000000,0x00020000,0,0),
+(12487,0,0,0,3,0x0000000000000080,0x00020000,0,0),
+(12488,0,0,0,3,0x0000000000000080,0x00020000,0,0),
+(12529,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(12539,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(12544,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(12550,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(12556,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(12574,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(12575,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(12576,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(12577,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(12598,0,0,0,3,0x0000000000004000,0x00004000,0,0),
+(12668,0,0,26,0,0x0000000000000002,0x00020000,0,0),
+(12701,0,0,0,0,0x0000000000000000,0x00000001,0.66504,0),
+(12702,0,0,0,0,0x0000000000000000,0x00000001,0.99756,0),
+(12703,0,0,0,0,0x0000000000000000,0x00000001,1.33008,0),
+(12704,0,0,0,0,0x0000000000000000,0x00000001,1.6626,0),
+(12724,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(12725,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(12726,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(12727,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(12782,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(12787,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(12797,0,0,0,0,0x0000000000000400,0x00020000,0,0),
+(12799,0,0,0,0,0x0000000000000400,0x00020000,0,0),
+(12800,0,0,0,0,0x0000000000000400,0x00020000,0,0),
+(12812,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(12813,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(12814,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(12815,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(12834,0,0,0,0,0x0000000000000000,0x00011000,0,0),
+(12846,4,0,0,0,0x0000000000000000,0x00010000,0,0),
+(12847,4,0,0,0,0x0000000000000000,0x00010000,0,0),
+(12848,4,0,0,0,0x0000000000000000,0x00010000,0,0),
+(12849,0,0,0,0,0x0000000000000000,0x00011000,0,0),
+(12867,0,0,0,0,0x0000000000000000,0x00011000,0,0),
+(12947,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(12958,0,0,0,4,0x0000000000000800,0x00020000,0,0),
+(12966,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(12967,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(12968,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(12969,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(12970,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(12971,0,0,0,0,0x0000000000000000,0x00011000,0,0),
+(12972,0,0,0,0,0x0000000000000000,0x00011000,0,0),
+(12973,0,0,0,0,0x0000000000000000,0x00011000,0,0),
+(12974,0,0,0,0,0x0000000000000000,0x00011000,0,0),
+(12999,0,0,0,0,0x0000000000000000,0x00000001,4,0),
+(13000,0,0,0,0,0x0000000000000000,0x00000001,6,0),
+(13001,0,0,0,0,0x0000000000000000,0x00000001,8,0),
+(13002,0,0,0,0,0x0000000000000000,0x00000001,10,0),
+(13045,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(13046,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(13047,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(13048,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(13159,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(13165,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(13299,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(13358,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(13585,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(13616,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(13709,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(13716,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(13754,0,0,0,0,0x0000000000000010,0x00020000,0,0),
+(13800,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(13801,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(13802,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(13803,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(13867,0,0,0,0,0x0000000000000010,0x00020000,0,0),
+(13877,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(13879,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(13886,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(13896,0,0,0,0,0x0000000000000000,0x00100000,0,0),
+(13959,0,0,0,0,0x0000000000000000,0x00100002,0,0),
+(13960,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(13961,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(13962,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(13963,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(13964,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(13983,0,0,0,0,0x0000000000000000,0x01000010,0,0),
+(14070,0,0,0,0,0x0000000000000000,0x01000010,0,0),
+(14071,0,0,0,0,0x0000000000000000,0x01000010,0,0),
+(14108,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(14111,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(14133,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(14144,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(14148,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(14156,0,0,0,0,0x00000000003E0000,0x00020000,0,0),
+(14160,0,0,0,0,0x00000000003E0000,0x00020000,0,0),
+(14161,0,0,0,0,0x00000000003E0000,0x00020000,0,0),
+(14178,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(14186,0,0,0,8,0x0000000040800508,0x00010000,0,0),
+(14190,0,0,0,8,0x0000000040800508,0x00010000,0,0),
+(14193,0,0,0,8,0x0000000040800508,0x00010000,0,0),
+(14194,0,0,0,8,0x0000000040800508,0x00010000,0,0),
+(14195,0,0,0,8,0x0000000040800508,0x00010000,0,0),
+(14318,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(14319,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(14320,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(14321,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(14322,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(14531,0,0,0,0,0x0000000000000000,0x00002000,0,0),
+(14774,0,0,0,0,0x0000000000000000,0x00002000,0,0),
+(14796,0,0,0,0,0x0000000000000000,0x00000800,0,0),
+(14869,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(14892,0,0,0,6,0x0000000410001E00,0x10000000,0,0),
+(15088,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(15097,0,0,0,0,0x0000000000000000,0x00002000,0,0),
+(15268,32,0,0,0,0x0000000000000000,0x00020000,0,0),
+(15270,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(15277,0,0,0,0,0x0000000000000000,0x00000001,6,0),
+(15286,32,0,0,0,0x0000000000000000,0x00008000,0,0),
+(15323,32,0,0,0,0x0000000000000000,0x00020000,0,0),
+(15324,32,0,0,0,0x0000000000000000,0x00020000,0,0),
+(15325,32,0,0,0,0x0000000000000000,0x00020000,0,0),
+(15326,32,0,0,0,0x0000000000000000,0x00020000,0,0),
+(15335,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(15336,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(15337,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(15338,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(15346,0,0,0,0,0x0000000000000000,0x00000001,6,0),
+(15362,0,0,0,6,0x0000000410001E00,0x10000000,0,0),
+(15363,0,0,0,6,0x0000000410001E00,0x10000000,0,0),
+(15506,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(15507,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(15573,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(15594,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(15599,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(15600,0,0,0,0,0x0000000000000000,0x00000001,0.6,0),
+(15603,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(15636,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(15641,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(15730,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(15733,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(15784,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(15849,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(15852,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(15876,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(15978,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(16092,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(16142,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(16146,0,0,0,0,0x0000000000000000,0x00000800,0,0),
+(16164,28,0,0,0,0x0000000000000000,0x00010000,0,0),
+(16176,0,0,0,0,0x0000000000000000,0x10000000,0,0),
+(16235,0,0,0,0,0x0000000000000000,0x10000000,0,0),
+(16240,0,0,0,0,0x0000000000000000,0x10000000,0,0),
+(16247,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(16256,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(16257,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(16277,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(16278,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(16279,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(16280,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(16281,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(16282,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(16283,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(16284,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(16428,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(16487,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(16489,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(16492,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(16550,0,0,0,0,0x0000000000000000,0x00002000,0,0),
+(16574,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(16575,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(16611,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(16615,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(16620,0,0,0,0,0x0000000000000000,0x00100402,0,30),
+(16624,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(16689,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(16792,0,0,0,0,0x0000000000000000,0x00002000,0,0),
+(16800,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(16810,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(16811,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(16812,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(16813,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(16843,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(16850,0,0,0,0,0x0000000000000004,0x00020000,0,0),
+(16864,0,0,0,0,0x0000000000000000,0x00000001,2,0),
+(16880,0,0,0,0,0x0000000000000000,0x00010000,0,0),
+(16923,0,0,0,0,0x0000000000000004,0x00020000,0,0),
+(16924,0,0,0,0,0x0000000000000004,0x00020000,0,0),
+(16952,0,0,0,0,0x0000040000039000,0x00010000,0,0),
+(16954,0,0,0,0,0x0000040000039000,0x00010000,0,0),
+(16958,0,0,0,0,0x0000000000000000,0x00011000,0,0),
+(16961,0,0,0,0,0x0000000000000000,0x00011000,0,0),
+(16982,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(17010,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(17106,0,0,0,7,0x0000000000080000,0x00004000,0,0),
+(17107,0,0,0,7,0x0000000000080000,0x00004000,0,0),
+(17108,0,0,0,7,0x0000000000080000,0x00004000,0,0),
+(17329,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(17332,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(17350,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(17364,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(17495,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(17670,0,0,0,0,0x0000000000000000,0x00000008,0,0),
+(17687,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(17688,0,0,0,0,0x0000000000000000,0x00000080,0,0),
+(17690,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(17793,0,0,0,5,0x0000000000000001,0x00010000,0,0),
+(17794,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(17796,0,0,0,5,0x0000000000000001,0x00010000,0,0),
+(17797,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(17798,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(17799,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(17800,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(17801,0,0,0,5,0x0000000000000001,0x00010000,0,0),
+(17802,0,0,0,5,0x0000000000000001,0x00010000,0,0),
+(17803,0,0,0,5,0x0000000000000001,0x00010000,0,0),
+(18073,0,0,0,0,0x0000008000000060,0x00020000,0,0),
+(18094,0,0,0,5,0x000000000000000A,0x00020000,0,0),
+(18095,0,0,0,5,0x000000000000000A,0x00020000,0,0),
+(18096,0,0,0,0,0x0000008000000060,0x00020000,0,0),
+(18097,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(18100,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(18119,0,0,593,0,0x0000000000000000,0x00020000,0,0),
+(18120,0,0,593,0,0x0000000000000000,0x00020000,0,0),
+(18121,0,0,593,0,0x0000000000000000,0x00020000,0,0),
+(18122,0,0,593,0,0x0000000000000000,0x00020000,0,0),
+(18123,0,0,593,0,0x0000000000000000,0x00020000,0,0),
+(18137,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(18146,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(18167,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(18186,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(18189,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(18542,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(18765,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(18799,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(18800,0,0,0,0,0x0000000000000000,0x00000008,0,0),
+(18803,0,0,0,0,0x0000000000000000,0x00004000,0,0),
+(18815,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(18816,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(18847,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(18943,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(18979,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(18983,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(19184,0,0,0,0,0x0000000000000000,0x00200000,0,0),
+(19194,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(19228,0,0,0,0,0x0000000000000040,0x00020000,0,0),
+(19232,0,0,0,0,0x0000000000000040,0x00020000,0,0),
+(19233,0,0,0,0,0x0000000000000040,0x00020000,0,0),
+(19261,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(19262,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(19264,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(19265,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(19266,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(19271,0,0,0,0,0x0000000000000000,0x00100000,0,0),
+(19273,0,0,0,0,0x0000000000000000,0x00100000,0,0),
+(19274,0,0,0,0,0x0000000000000000,0x00100000,0,0),
+(19275,0,0,0,0,0x0000000000000000,0x00100000,0,0),
+(19308,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(19309,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(19310,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(19311,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(19312,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(19387,0,0,0,0,0x0000000000000000,0x00200000,0,0),
+(19388,0,0,0,0,0x0000000000000000,0x00200000,0,0),
+(19407,0,0,0,0,0x0000000000000200,0x00020000,0,0),
+(19409,0,0,0,0,0x0000000000000000,0x00100002,0,0),
+(19412,0,0,0,0,0x0000000000000200,0x00020000,0,0),
+(19413,0,0,0,0,0x0000000000000200,0x00020000,0,0),
+(19414,0,0,0,0,0x0000000000000200,0x00020000,0,0),
+(19415,0,0,0,0,0x0000000000000200,0x00020000,0,0),
+(19449,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(19478,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(19514,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(19572,0,0,0,9,0x0000000000800000,0x08000000,0,0),
+(19573,0,0,0,9,0x0000000000800000,0x08000000,0,0),
+(19577,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(19655,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(19656,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(19660,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(19817,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(19818,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(20049,0,0,0,0,0x0000000000000000,0x00011000,0,0),
+(20056,0,0,0,0,0x0000000000000000,0x00011000,0,0),
+(20057,0,0,0,0,0x0000000000000000,0x00011000,0,0),
+(20058,0,0,0,0,0x0000000000000000,0x00011000,0,0),
+(20059,0,0,0,0,0x0000000000000000,0x00011000,0,0),
+(20127,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(20128,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(20130,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(20131,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(20132,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(20133,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(20134,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(20135,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(20136,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(20137,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(20154,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(20164,0,0,0,0,0x0000000000000000,0x00000001,5,0),
+(20165,0,0,0,0,0x0000000000000000,0x00000001,20,0),
+(20166,0,0,0,0,0x0000000000000000,0x00000001,20,0),
+(20177,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(20178,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(20179,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(20180,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(20181,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(20182,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(20185,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(20186,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(20210,0,0,0,10,0x00010000C0000000,0x10000000,0,0),
+(20212,0,0,0,10,0x00010000C0000000,0x10000000,0,0),
+(20213,0,0,0,10,0x00010000C0000000,0x10000000,0,0),
+(20214,0,0,0,10,0x00010000C0000000,0x10000000,0,0),
+(20215,0,0,0,10,0x00010000C0000000,0x10000000,0,0),
+(20230,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(20234,0,0,0,0,0x0000000000008000,0x00020000,0,0),
+(20235,0,0,0,0,0x0000000000008000,0x00020000,0,0),
+(20287,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(20288,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(20289,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(20290,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(20291,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(20292,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(20293,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(20344,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(20345,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(20346,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(20347,0,0,0,0,0x0000000000000000,0x00000001,20,0),
+(20348,0,0,0,0,0x0000000000000000,0x00000001,20,0),
+(20349,0,0,0,0,0x0000000000000000,0x00000001,20,0),
+(20354,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(20355,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(20356,0,0,0,0,0x0000000000000000,0x00000001,20,0),
+(20357,0,0,0,0,0x0000000000000000,0x00000001,20,0),
+(20375,0,0,0,0,0x0000000000000000,0x00000001,7,0),
+(20500,0,0,0,4,0x0000000010000000,0x00004000,0,0),
+(20501,0,0,0,4,0x0000000010000000,0x00004000,0,0),
+(20545,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(20705,0,0,0,0,0x0000000000000000,0x00002000,0,0),
+(20725,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(20784,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(20847,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(20884,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(20891,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(20911,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(20912,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(20913,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(20914,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(20915,0,0,0,0,0x0000000000000000,0x00000001,7,0),
+(20918,0,0,0,0,0x0000000000000000,0x00000001,7,0),
+(20919,0,0,0,0,0x0000000000000000,0x00000001,7,0),
+(20920,0,0,0,0,0x0000000000000000,0x00000001,7,0),
+(20925,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(20927,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(20928,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(21053,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(21061,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(21063,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(21080,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(21084,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(21185,0,0,0,0,0x0000000000000000,0x00000004,0,10),
+(21334,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(21645,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(21747,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(21788,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(21838,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(21841,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(21853,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(21882,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(21890,0,0,0,4,0x0000036C2A764EEF,0x00082001,0,0),
+(21893,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(21897,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(21911,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(21969,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(21978,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(22007,0,0,0,0,0x0000000000200821,0x00004000,0,0),
+(22413,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(22438,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(22618,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(22620,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(22648,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(22835,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(22857,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(23340,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(23378,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(23547,0,0,0,0,0x0000000000000000,0x00000020,0,0),
+(23548,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(23551,0,0,0,0,0x00000000000000C0,0x00004000,0,0),
+(23552,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(23572,0,0,0,0,0x00000000000000C0,0x00004000,0,0),
+(23578,0,0,0,0,0x0000000000000000,0x00080000,2,0),
+(23581,0,0,0,0,0x0000000000000000,0x00000001,2,0),
+(23686,0,0,0,0,0x0000000000000000,0x00000001,2,0),
+(23688,0,0,0,0,0x0000000000000000,0x00004000,0,0),
+(23689,0,0,0,0,0x0000000000000000,0x00000001,4,0),
+(23695,0,0,0,0,0x0000000000000002,0x00020000,0,0),
+(23721,0,0,0,0,0x0000000000000800,0x00020000,0,0),
+(23771,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(23780,0,0,0,0,0x0000000000000000,0x00100002,0,0),
+(23863,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(23867,0,0,0,0,0x0000000000000000,0x00000081,0,0),
+(23885,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(23886,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(23887,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(23888,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(24051,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(24256,0,0,0,0,0x0000000000000000,0x00080001,0,0),
+(24389,4,0,0,0,0x0000000000000000,0x00020000,0,0),
+(24398,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(24574,0,0,0,0,0x0000000000000000,0x00100002,0,0),
+(24596,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(24597,0,0,0,0,0x0000000000000000,0x00080001,0,0),
+(24603,0,0,0,0,0x0000000000000000,0x00080001,0,0),
+(24604,0,0,0,0,0x0000000000000000,0x00080001,0,0),
+(24605,0,0,0,0,0x0000000000000000,0x00080001,0,0),
+(24658,0,0,0,0,0x0000000000000000,0x00004000,0,0),
+(24661,0,0,0,0,0x0000000000000000,0x00080001,0,0),
+(24905,0,0,0,0,0x0000000000000000,0x00000001,15,0),
+(24932,0,0,0,0,0x0000000000000000,0x00001000,0,6),
+(24949,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(25020,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(25023,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(25296,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(25431,0,0,0,0,0x0000000000000000,0x00000402,0,0),
+(25441,0,0,0,0,0x0000000000000000,0x00100000,0,0),
+(25461,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(25469,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(25472,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(25477,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(25513,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(25669,0,0,0,0,0x0000000000000000,0x00000001,1,0),
+(25759,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(25760,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(25761,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(25762,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(25767,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(25820,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(25899,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(25906,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(25937,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(25988,0,0,0,0,0x0000000000000000,0x00040000,0,0),
+(26016,0,0,0,0,0x0000000000000000,0x00000001,2,0),
+(26021,0,0,0,0,0x0000000000000000,0x00000001,2,0),
+(26107,0,0,0,7,0x0000008000800000,0xC4000000,0,0),
+(26119,0,0,0,11,0x0000000090100003,0x00004000,0,0),
+(26128,0,0,0,0,0x0000000000000000,0x02000000,0,0),
+(26135,0,0,0,0,0x0000000000800000,0x00004000,0,0),
+(26169,0,0,0,0,0x0000000000000000,0x08000000,0,0),
+(26376,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(26463,0,0,0,0,0x0000000000000000,0x00100000,0,0),
+(26467,0,0,0,0,0x0000000000000000,0x08000000,0,0),
+(26480,0,0,0,0,0x0000000000000000,0x00080001,3,0),
+(27009,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(27044,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(27124,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(27155,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(27160,0,0,0,0,0x0000000000000000,0x00000001,20,0),
+(27162,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(27164,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(27166,0,0,0,0,0x0000000000000000,0x00000001,20,0),
+(27168,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(27169,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(27170,0,0,0,0,0x0000000000000000,0x00000001,7,0),
+(27179,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(27200,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(27217,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(27243,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(27280,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(27419,0,0,0,0,0x0000000000000000,0x00000001,3,0),
+(27420,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(27498,0,0,0,0,0x0000000000000000,0x00000001,3,0),
+(27521,0,0,0,0,0x0000000000000000,0x00004000,0,0),
+(27522,0,0,0,0,0x0000000000000000,0x00080001,0,0),
+(27539,0,0,0,0,0x0000000000000000,0x00100000,0,0),
+(27561,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(27656,0,0,0,0,0x0000000000000000,0x00000001,3,0),
+(27688,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(27774,0,0,0,0,0x0000000000000000,0x00004000,0,0),
+(27776,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(27778,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(27780,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(27781,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(27785,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(27787,0,0,0,0,0x0000000000000000,0x00000001,3,0),
+(27811,0,0,0,0,0x0000000000000000,0x00802000,0,0),
+(27815,0,0,0,0,0x0000000000000000,0x00802000,0,0),
+(27816,0,0,0,0,0x0000000000000000,0x00802000,0,0),
+(27852,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(27861,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(27863,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(27864,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(27865,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(27867,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(28200,0,0,0,0,0x0000000000000000,0x08000000,0,0),
+(28305,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(28429,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(28458,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(28460,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(28592,16,0,0,0,0x0000000000000000,0x00020000,0,0),
+(28593,16,0,0,0,0x0000000000000000,0x00020000,0,0),
+(28594,16,0,0,0,0x0000000000000000,0x00020000,0,0),
+(28595,16,0,0,0,0x0000000000000000,0x00020000,0,0),
+(28716,0,0,0,7,0x0000000000000010,0x08000000,0,0),
+(28719,0,0,0,7,0x0000000000000020,0x10000000,0,0),
+(28744,0,0,0,7,0x0000000000000040,0x08000000,0,0),
+(28752,0,0,0,0,0x0000000000000000,0x00400000,0,0),
+(28761,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(28764,0,0,0,0,0x0000000000000000,0x00100000,0,0),
+(28771,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(28780,0,0,0,0,0x0000000000000000,0x08020000,0,0),
+(28789,0,0,0,10,0x0000000000006000,0x20000000,0,0),
+(28802,0,0,0,0,0x0000000000000000,0x00004000,0,0),
+(28809,0,0,0,0,0x0000000000001000,0x10000000,0,0),
+(28812,0,0,0,0,0x0000000000000000,0x00010000,0,0),
+(28816,0,0,0,0,0x0000000000000000,0x00000001,3,0),
+(28823,0,0,0,0,0x00000000000000C0,0x08000000,0,0),
+(28845,0,0,0,0,0x0000000000000000,0x00000200,0,0),
+(28847,0,0,0,7,0x0000000000000020,0x00004000,0,0),
+(28849,0,0,0,11,0x0000000000000080,0x00004000,0,0),
+(29062,0,0,0,0,0x0000000000000000,0x00802000,0,0),
+(29064,0,0,0,0,0x0000000000000000,0x00802000,0,0),
+(29065,0,0,0,0,0x0000000000000000,0x00802000,0,0),
+(29074,20,0,0,0,0x0000000000000000,0x00010000,0,0),
+(29075,20,0,0,0,0x0000000000000000,0x00010000,0,0),
+(29076,20,0,0,0,0x0000000000000000,0x00010000,0,0),
+(29150,0,0,0,0,0x0000000000000000,0x00000001,3,0),
+(29162,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(29179,0,0,0,0,0x0000000000000000,0x00010000,0,0),
+(29180,0,0,0,0,0x0000000000000000,0x00010000,0,0),
+(29185,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(29194,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(29196,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(29198,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(29220,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(29307,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(29441,0,0,0,0,0x0000000000000000,0x01000000,0,1),
+(29444,0,0,0,0,0x0000000000000000,0x01000000,0,1),
+(29445,0,0,0,0,0x0000000000000000,0x01000000,0,1),
+(29446,0,0,0,0,0x0000000000000000,0x01000000,0,1),
+(29447,0,0,0,0,0x0000000000000000,0x01000000,0,1),
+(29448,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(29501,0,0,0,0,0x0000000000000000,0x00080000,3,0),
+(29601,0,0,0,7,0x0000000000000000,0x00004000,0,0),
+(29624,0,0,0,0,0x0000000000000000,0x00080000,3,0),
+(29625,0,0,0,0,0x0000000000000000,0x00080000,3,0),
+(29626,0,0,0,0,0x0000000000000000,0x00080000,3,0),
+(29632,0,0,0,0,0x0000000000000000,0x00080000,3,0),
+(29633,0,0,0,0,0x0000000000000000,0x00080000,3,0),
+(29634,0,0,0,0,0x0000000000000000,0x00080000,3,0),
+(29635,0,0,0,0,0x0000000000000000,0x00080000,3,0),
+(29636,0,0,0,0,0x0000000000000000,0x00080000,3,0),
+(29637,0,0,0,0,0x0000000000000000,0x00080000,3,0),
+(29801,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(30030,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(30033,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(30079,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(30080,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(30081,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(30160,0,0,0,0,0x0000000000000000,0x00010000,0,0),
+(30293,0,0,0,5,0x000000C000000381,0x00020000,0,0),
+(30295,0,0,0,5,0x000000C000000381,0x00020000,0,0),
+(30296,0,0,0,5,0x000000C000000381,0x00020000,0,0),
+(30299,36,0,0,0,0x0000000000000000,0x00100000,0,0),
+(30301,36,0,0,0,0x0000000000000000,0x00100000,0,0),
+(30302,36,0,0,0,0x0000000000000000,0x00100000,0,0),
+(30339,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(30482,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(30636,0,0,0,0,0x0000000000000000,0x00080001,0,0),
+(30675,0,0,0,11,0x0000000000000003,0x00004000,0,0),
+(30678,0,0,0,11,0x0000000000000003,0x00004000,0,0),
+(30679,0,0,0,11,0x0000000000000003,0x00004000,0,0),
+(30680,0,0,0,11,0x0000000000000003,0x00004000,0,0),
+(30681,0,0,0,11,0x0000000000000003,0x00004000,0,0),
+(30802,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(30808,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(30809,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(30810,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(30811,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(30823,0,0,0,0,0x0000000000000000,0x00000001,10.5,0),
+(30881,0,0,0,0,0x0000000000000000,0x00008000,0,5),
+(30883,0,0,0,0,0x0000000000000000,0x00008000,0,5),
+(30884,0,0,0,0,0x0000000000000000,0x00008000,0,5),
+(30885,0,0,0,0,0x0000000000000000,0x00008000,0,5),
+(30886,0,0,0,0,0x0000000000000000,0x00008000,0,5),
+(31233,0,0,0,8,0x00000009003E0000,0x00020000,0,0),
+(31239,0,0,0,8,0x00000009003E0000,0x00020000,0,0),
+(31240,0,0,0,8,0x00000009003E0000,0x00020000,0,0),
+(31241,0,0,0,8,0x00000009003E0000,0x00020000,0,0),
+(31242,0,0,0,8,0x00000009003E0000,0x00020000,0,0),
+(31244,0,0,0,0,0x0000000000000000,0x80000000,0,0),
+(31245,0,0,0,0,0x0000000000000000,0x80000000,0,0),
+(31255,0,0,0,0,0x0000000000000000,0x00000100,0,0),
+(31316,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(31569,0,0,0,3,0x0000000000010000,0x00004000,0,0),
+(31570,0,0,0,3,0x0000000000010000,0x00004000,0,0),
+(31641,0,0,0,0,0x0000000000000000,0x00080002,0,0),
+(31642,0,0,0,0,0x0000000000000000,0x00080002,0,0),
+(31785,0,0,0,0,0x0000000000000000,0x20000000,0,0),
+(31794,0,0,0,0,0x0000000000000000,0x00004000,0,0),
+(31801,0,0,0,0,0x0000000000000000,0x00000001,20,0),
+(31828,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(31829,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(31830,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(31833,0,0,0,10,0x0000000080000000,0x00004000,0,0),
+(31835,0,0,0,10,0x0000000080000000,0x00004000,0,0),
+(31836,0,0,0,10,0x0000000080000000,0x00004000,0,0),
+(31892,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(31895,0,0,0,0,0x0000000000000000,0x00000001,5,0),
+(31896,0,0,0,0,0x0000000000000000,0x00000001,2,0),
+(32215,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(32385,0,0,0,5,0x0000001100000402,0x00020000,0,0),
+(32387,0,0,0,5,0x0000001100000402,0x00020000,0,0),
+(32392,0,0,0,5,0x0000001100000402,0x00020000,0,0),
+(32393,0,0,0,5,0x0000001100000402,0x00020000,0,0),
+(32394,0,0,0,5,0x0000001100000402,0x00020000,0,0),
+(32587,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(32593,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(32594,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(32642,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(32734,0,0,0,0,0x0000000000000000,0x00000002,0,3),
+(32748,0,0,0,8,0x0000000100000000,0x00080000,0,0),
+(32776,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(32777,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(32837,0,0,0,0,0x0000000000000000,0x00004000,0,45),
+(32850,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(32863,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(33012,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(33014,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(33089,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(33142,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(33145,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(33146,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(33150,0,0,0,0,0x0000000000000000,0x10010000,0,0),
+(33154,0,0,0,0,0x0000000000000000,0x10010000,0,0),
+(33191,0,0,0,6,0x0000040000808000,0x00020000,0,0),
+(33192,0,0,0,6,0x0000040000808000,0x00020000,0,0),
+(33193,0,0,0,6,0x0000040000808000,0x00020000,0,0),
+(33194,0,0,0,6,0x0000040000808000,0x00020000,0,0),
+(33195,0,0,0,6,0x0000040000808000,0x00020000,0,0),
+(33297,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(33299,0,0,0,0,0x0000000000000000,0x00004000,0,0),
+(33493,0,0,0,0,0x0000000000000000,0x00000002,0,0),
+(33510,0,0,0,0,0x0000000000000000,0x00080001,5,0),
+(33511,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(33522,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(33648,0,0,0,0,0x0000000000000000,0x00401000,0,0),
+(33727,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(33735,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(33736,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(33746,0,0,0,0,0x0000000000000000,0x00000004,0,10),
+(33754,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(33755,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(33756,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(33757,0,0,0,0,0x0000000000000000,0x00000001,0,3),
+(33759,0,0,0,0,0x0000000000000000,0x00000004,0,10),
+(33776,0,0,0,0,0x0000000000000000,0x20000000,0,0),
+(33881,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(33882,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(33883,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(33953,0,0,0,0,0x0000000000000000,0x08000000,0,0),
+(34082,0,0,0,0,0x0000000000000000,0x00000000,0,0),
+(34138,0,0,0,11,0x0000000000000080,0x08000000,0,0),
+(34303,0,0,0,0,0x0000000000000000,0x00000080,0,0),
+(34320,0,0,0,0,0x0000000000000000,0x00010000,0,0),
+(34355,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(34457,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(34497,0,0,0,0,0x0000000000000000,0x00400000,0,0),
+(34498,0,0,0,0,0x0000000000000000,0x00400000,0,0),
+(34499,0,0,0,0,0x0000000000000000,0x00400000,0,0),
+(34500,0,0,0,0,0x0000000000000000,0x00400000,0,0),
+(34502,0,0,0,0,0x0000000000000000,0x00400000,0,0),
+(34503,0,0,0,0,0x0000000000000000,0x00400000,0,0),
+(34506,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(34507,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(34508,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(34586,0,0,0,0,0x0000000000000000,0x00080001,1.5,0),
+(34749,0,0,0,0,0x0000000000000000,0x02000000,0,0),
+(34753,0,0,0,6,0x0000000000001800,0x08000000,0,0),
+(34774,0,0,0,0,0x0000000000000000,0x00080001,1.5,20),
+(34827,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(34838,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(34839,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(34859,0,0,0,6,0x0000000000001800,0x08000000,0,0),
+(34860,0,0,0,6,0x0000000000001800,0x08000000,0,0),
+(34914,32,0,0,0,0x0000000000000000,0x00008000,0,0),
+(34916,32,0,0,0,0x0000000000000000,0x00008000,0,0),
+(34917,32,0,0,0,0x0000000000000000,0x00008000,0,0),
+(34935,0,0,0,0,0x0000000000000000,0x00000002,0,8),
+(34938,0,0,0,0,0x0000000000000000,0x00000002,0,8),
+(34939,0,0,0,0,0x0000000000000000,0x00000002,0,8),
+(34948,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(34949,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(34950,0,0,0,0,0x0000000000000000,0x00400000,0,0),
+(34954,0,0,0,0,0x0000000000000000,0x00400000,0,0),
+(35077,0,0,0,0,0x0000000000000000,0x00008000,0,60),
+(35080,0,0,0,0,0x0000000000000000,0x00000001,0,60),
+(35083,0,0,0,0,0x0000000000000000,0x00020000,0,60),
+(35086,0,0,0,0,0x0000000000000000,0x08020000,0,60),
+(35100,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(35102,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(35103,0,0,0,0,0x0000000000000000,0x00080000,0,0),
+(35205,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(35541,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(35550,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(35551,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(35552,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(35553,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(35942,0,0,0,0,0x0000000000000000,0x00080001,0,0),
+(36111,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(36123,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(36576,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(37168,0,0,0,8,0x00000009003E0000,0x00020000,0,0),
+(37169,0,0,0,8,0x0000000000020000,0x00000000,0,0),
+(37170,0,0,0,0,0x0000000000000000,0x00000001,1,0),
+(37173,0,0,0,8,0x000001062CBC0598,0x000A0001,0,30),
+(37188,0,0,0,10,0x0000000000800000,0x00004000,0,0),
+(37189,0,0,0,10,0x0000000000006000,0x10000000,0,60),
+(37195,0,0,0,10,0x0000000000800000,0x00004000,0,0),
+(37197,0,0,0,0,0x0000000000000000,0x00004000,0,45),
+(37213,0,0,0,11,0x0000000090100007,0x00010000,0,0),
+(37227,0,0,0,11,0x00000000000001C0,0x10000000,0,60),
+(37228,0,0,0,11,0x0000000090100007,0x00020000,0,0),
+(37237,0,0,0,11,0x0000000000000001,0x00010000,0,0),
+(37239,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(37247,8,0,0,0,0x0000000000000000,0x00004000,0,45),
+(37288,0,0,0,0,0x0000000000000000,0x08000000,0,0),
+(37295,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(37306,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(37311,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(37336,0,0,0,0,0x0000000000000000,0x00084001,0,0),
+(37377,32,0,0,0,0x0000000000000000,0x00004000,0,0),
+(37381,0,0,0,0,0x0000000000000000,0x000A0001,0,0),
+(37443,0,0,0,0,0x0000000000000000,0x00010000,0,0),
+(37447,0,0,0,3,0x0000010000000000,0x00004000,0,0),
+(37514,0,0,0,0,0x0000000000000000,0x00000020,0,0),
+(37519,0,0,0,0,0x0000000000000000,0x04000000,0,0),
+(37525,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(37528,0,0,0,4,0x0000000000000004,0x00000001,0,0),
+(37604,0,0,0,0,0x0000000000000000,0x00004000,0,0),
+(37617,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(37655,0,0,0,0,0x0000000000000000,0x00004000,0,60),
+(37657,0,0,0,0,0x0000000000000000,0x00010000,0,0),
+(37705,0,0,0,0,0x0000000000000000,0x08000000,0,0),
+(37982,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(38031,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(38196,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(38252,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(38290,0,0,0,0,0x0000000000000000,0x00080000,3,0),
+(38299,0,0,0,0,0x0000000000000000,0x08000000,0,0),
+(38319,0,0,0,0,0x0000000000000000,0x00004000,0,0),
+(38332,0,0,0,0,0x0000000000000000,0x08000000,0,0),
+(38334,0,0,0,0,0x0000000000000000,0x00004000,0,60),
+(38347,0,0,0,0,0x0000000000000000,0x00010000,0,0),
+(38350,0,0,0,0,0x0000000000000000,0x00401000,0,0),
+(38394,0,0,0,5,0x0000000000000006,0x00020000,0,0),
+(38427,0,0,0,0,0x0000000000000000,0x00000001,0,0),
+(39027,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(39367,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(39372,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(39437,4,0,0,0,0x0000000000000000,0x00004000,0,0),
+(39438,0,0,0,0,0x0000000000000000,0x00080001,0,0),
+(39440,0,0,0,0,0x0000000000000000,0x00020000,0,0),
+(39442,0,0,0,0,0x0000000000000000,0x00020001,0,0),
+(39443,0,0,0,0,0x0000000000000000,0x00401000,0,0),
+(39444,0,0,0,0,0x0000000000000000,0x00100002,0,0),
+(39446,0,0,0,0,0x0000000000000000,0x00000004,0,0),
+(39530,0,0,0,0,0x0000000000000000,0x00004000,0,0),
+(39958,0,0,0,0,0x0000000000000000,0x00000001,0.7,40),
+(40353,0,0,0,0,0x0000000000000000,0xC4000001,0,0),
+(40407,0,0,0,0,0x0000000000000000,0x00000402,6,0),
+(40438,0,0,0,6,0x0000000000008010,0x08020000,0,0),
+(40442,0,0,0,7,0x0000044000000014,0x00004001,0,0),
+(40444,0,0,0,0,0x0000000000000000,0x00000040,0,0),
+(40458,0,0,0,4,0x0000060102000000,0x00000001,0,0),
+(40463,0,0,0,11,0x0000001000000081,0x00004001,0,0),
+(40470,0,0,0,10,0x00000000C0800000,0x00004000,0,0),
+(40475,0,0,0,0,0x0000000000000000,0x00080001,3,0),
+(40482,0,0,0,0,0x0000000000000000,0x00010000,0,0),
+(40485,0,0,0,9,0x0000000100000000,0x00080000,0,0),
+(40478,0,0,0,5,0x0000000000000002,0x00020000,0,0),
+(40971,0,0,0,0,0x0000000000000000,0x08000000,0,0),
+(41260,0,0,0,0,0x0000000000000000,0x00000004,0,10),
+(41262,0,0,0,0,0x0000000000000000,0x00000004,0,10),
+(41434,0,0,0,0,0x0000000000000000,0x00000001,2,45),
+(41635,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(41989,0,0,0,0,0x0000000000000000,0x00000001,3,0),
+(42083,0,0,0,0,0x0000000000000000,0x00401000,0,0),
+(42135,0,0,0,0,0x0000000000000000,0x00100402,0,90),
+(42136,0,0,0,0,0x0000000000000000,0x00100402,0,90),
+(42370,0,0,0,11,0x0000000000000080,0x08000000,0,0),
+(43338,0,0,0,0,0x0000000000000000,0x00001000,0,0),
+(43728,0,0,0,11,0x0000000000000080,0x08000000,0,0),
+(43737,0,0,0,7,0x0000044000000000,0x00000001,0,10),
+(43739,0,0,0,7,0x0000000000000002,0x00020000,0,0),
+(43745,0,0,0,10,0x0000020000000000,0x00020000,0,0),
+(43748,0,0,0,11,0x0000000090100000,0x00004000,0,0),
+(43750,0,0,0,11,0x0000000000000001,0x00004000,0,0),
+(43823,0,0,0,0,0x0000000000000000,0x00008000,0,0),
+(44604,0,0,0,0,0x0000000000000000,0x00004000,0,0),
+(44599,0,0,0,0,0x0000000000000000,0x00000001,0,5),
+(44835,0,0,0,7,0x0000008000000000,0x00000001,0,0),
+(45040,0,0,0,0,0x0000000000000000,0x00080001,0,0),
+(45054,0,0,0,0,0x0000000000000000,0x00020000,0,15),
+(45057,0,0,0,0,0x0000000000000000,0x00000002,0,30),
+(45059,0,0,0,0,0x0000000000000000,0x08000000,0,0),
+(45234,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(45243,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(45244,0,0,0,0,0x0000000000000000,0x00842000,0,0),
+(45354,0,0,0,0,0x0000000000000000,0x00000001,0,45),
+(45355,0,0,0,0,0x0000000000000000,0x00080001,0,0),
+(45444,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(45481,0,0,0,0,0x0000000000000000,0x08020000,0,45),
+(45482,0,0,0,0,0x0000000000000000,0x00080001,0,45),
+(45483,0,0,0,0,0x0000000000000000,0x00080001,0,45),
+(45484,0,0,0,0,0x0000000000000000,0x08000000,0,45),
+(46046,0,0,0,0,0x0000000000000000,0x00000001,0,5),
+(46098,0,0,0,11,0x0000000000000080,0x08000000,0,0),
+(46364,0,0,0,0,0x0000000000000000,0x00100402,0,0),
+(46569,0,0,0,0,0x0000000000000000,0x00004000,0,45),
+(46832,0,0,0,7,0x0000000000000001,0x00004000,0,0);
+/*!40000 ALTER TABLE `spell_proc_event` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `spell_script_target`
+--
+
+DROP TABLE IF EXISTS `spell_script_target`;
+CREATE TABLE `spell_script_target` (
+ `entry` mediumint(8) unsigned NOT NULL,
+ `type` tinyint(3) unsigned NOT NULL default '0',
+ `targetEntry` mediumint(8) unsigned NOT NULL default '0',
+ UNIQUE KEY `entry_type_target` (`entry`,`type`,`targetEntry`)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Spell System';
+
+--
+-- Dumping data for table `spell_script_target`
+--
+
+LOCK TABLES `spell_script_target` WRITE;
+/*!40000 ALTER TABLE `spell_script_target` DISABLE KEYS */;
+/*!40000 ALTER TABLE `spell_script_target` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `spell_scripts`
+--
+
+DROP TABLE IF EXISTS `spell_scripts`;
+CREATE TABLE `spell_scripts` (
+ `id` mediumint(8) unsigned NOT NULL default '0',
+ `delay` int(10) unsigned NOT NULL default '0',
+ `command` mediumint(8) unsigned NOT NULL default '0',
+ `datalong` mediumint(8) unsigned NOT NULL default '0',
+ `datalong2` int(10) 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;
+
+--
+-- Dumping data for table `spell_scripts`
+--
+
+LOCK TABLES `spell_scripts` WRITE;
+/*!40000 ALTER TABLE `spell_scripts` DISABLE KEYS */;
+/*!40000 ALTER TABLE `spell_scripts` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `spell_target_position`
+--
+
+DROP TABLE IF EXISTS `spell_target_position`;
+CREATE TABLE `spell_target_position` (
+ `id` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Identifier',
+ `target_map` smallint(5) unsigned NOT NULL default '0',
+ `target_position_x` float NOT NULL default '0',
+ `target_position_y` float NOT NULL default '0',
+ `target_position_z` float NOT NULL default '0',
+ `target_orientation` float NOT NULL default '0',
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell System';
+
+--
+-- Dumping data for table `spell_target_position`
+--
+
+LOCK TABLES `spell_target_position` WRITE;
+/*!40000 ALTER TABLE `spell_target_position` DISABLE KEYS */;
+/*!40000 ALTER TABLE `spell_target_position` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `spell_threat`
+--
+
+DROP TABLE IF EXISTS `spell_threat`;
+CREATE TABLE `spell_threat` (
+ `entry` mediumint(8) unsigned NOT NULL,
+ `Threat` smallint(6) NOT NULL,
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+
+--
+-- Dumping data for table `spell_threat`
+--
+
+LOCK TABLES `spell_threat` WRITE;
+/*!40000 ALTER TABLE `spell_threat` DISABLE KEYS */;
+INSERT INTO `spell_threat` VALUES
+(78,20),
+(284,39),
+(285,59),
+(770,108),
+(778,108),
+(1608,78),
+(1672,180),
+(1715,61),
+(2139,300),
+(6343,17),
+(6572,155),
+(6574,195),
+(6809,89),
+(7372,101),
+(7373,141),
+(7379,235),
+(7386,100),
+(7405,140),
+(8198,40),
+(8204,64),
+(8205,96),
+(8380,180),
+(8972,118),
+(9745,148),
+(9749,108),
+(9880,178),
+(9881,207),
+(9907,108),
+(11556,43),
+(11564,98),
+(11565,118),
+(11566,137),
+(11567,145),
+(11580,143),
+(11581,180),
+(11596,220),
+(11597,261),
+(11600,275),
+(11601,315),
+(11775,395),
+(14274,200),
+(14921,415),
+(15629,300),
+(15630,400),
+(15631,500),
+(15632,600),
+(16857,108),
+(17735,200),
+(17750,300),
+(17751,450),
+(17752,600),
+(17390,108),
+(17391,108),
+(17392,108),
+(20569,100),
+(20736,100),
+(20925,20),
+(20927,30),
+(20928,40),
+(23922,160),
+(23923,190),
+(23924,220),
+(23925,250),
+(24394,580),
+(24583,5),
+(25225,300),
+(25231,130),
+(25258,286),
+(25264,215),
+(25269,400),
+(25286,175),
+(25288,355),
+(25289,60),
+(26993,127),
+(26996,176),
+(27011,127),
+(27179,54),
+(29704,230),
+(29707,196),
+(30324,220),
+(30356,323),
+(30357,483),
+(33745,285),
+(33878,129),
+(33986,180),
+(33987,232);
+/*!40000 ALTER TABLE `spell_threat` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `transports`
+--
+
+DROP TABLE IF EXISTS `transports`;
+CREATE TABLE `transports` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `name` text,
+ `period` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Transports';
+
+--
+-- Dumping data for table `transports`
+--
+
+LOCK TABLES `transports` WRITE;
+/*!40000 ALTER TABLE `transports` DISABLE KEYS */;
+/*!40000 ALTER TABLE `transports` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `uptime`
+--
+
+DROP TABLE IF EXISTS `uptime`;
+CREATE TABLE `uptime` (
+ `starttime` bigint(20) unsigned NOT NULL default '0',
+ `startstring` varchar(64) NOT NULL default '',
+ `uptime` bigint(20) unsigned NOT NULL default '0',
+ `maxplayers` smallint(5) unsigned NOT NULL default '0',
+ PRIMARY KEY (`starttime`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Uptime system';
+
+--
+-- Dumping data for table `uptime`
+--
+
+LOCK TABLES `uptime` WRITE;
+/*!40000 ALTER TABLE `uptime` DISABLE KEYS */;
+/*!40000 ALTER TABLE `uptime` ENABLE KEYS */;
+UNLOCK TABLES;
+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+
+-- Dump completed on 2008-03-30 15:34:54
diff --git a/sql/realmd.sql b/sql/realmd.sql
new file mode 100644
index 00000000000..04edb0cd0d2
--- /dev/null
+++ b/sql/realmd.sql
@@ -0,0 +1,167 @@
+-- MySQL dump 10.11
+--
+-- Host: localhost Database: realmd
+-- ------------------------------------------------------
+-- Server version 5.0.45-Debian_1ubuntu3.1-log
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
+/*!40103 SET TIME_ZONE='+00:00' */;
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+
+--
+-- Table structure for table `account`
+--
+
+DROP TABLE IF EXISTS `account`;
+CREATE TABLE `account` (
+ `id` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Identifier',
+ `username` varchar(32) NOT NULL default '',
+ `sha_pass_hash` varchar(40) NOT NULL default '',
+ `gmlevel` tinyint(3) unsigned NOT NULL default '0',
+ `sessionkey` longtext,
+ `v` longtext,
+ `s` longtext,
+ `email` varchar(320) NOT NULL default '',
+ `joindate` timestamp NOT NULL default CURRENT_TIMESTAMP,
+ `last_ip` varchar(30) NOT NULL default '127.0.0.1',
+ `failed_logins` int(11) unsigned NOT NULL default '0',
+ `locked` tinyint(3) unsigned NOT NULL default '0',
+ `last_login` timestamp NOT NULL default '0000-00-00 00:00:00',
+ `online` tinyint(4) NOT NULL default '0',
+ `tbc` tinyint(3) unsigned NOT NULL default '0',
+ `mutetime` bigint(40) unsigned NOT NULL default '0',
+ `locale` tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `idx_username` (`username`),
+ KEY `idx_gmlevel` (`gmlevel`)
+) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci ROW_FORMAT=DYNAMIC COMMENT='Account System';
+
+--
+-- Dumping data for table `account`
+--
+
+LOCK TABLES `account` WRITE;
+/*!40000 ALTER TABLE `account` DISABLE KEYS */;
+INSERT INTO `account` VALUES
+(1,'ADMINISTRATOR','a34b29541b87b7e4823683ce6c7bf6ae68beaaac',3,'','0','0','','2006-04-25 10:18:56','127.0.0.1',0,0,'0000-00-00 00:00:00',0,0,0,0),
+(2,'GAMEMASTER','7841e21831d7c6bc0b57fbe7151eb82bd65ea1f9',2,'','0','0','','2006-04-25 10:18:56','127.0.0.1',0,0,'0000-00-00 00:00:00',0,0,0,0),
+(3,'MODERATOR','a7f5fbff0b4eec2d6b6e78e38e8312e64d700008',1,'','0','0','','2006-04-25 10:19:35','127.0.0.1',0,0,'0000-00-00 00:00:00',0,0,0,0),
+(4,'PLAYER','3ce8a96d17c5ae88a30681024e86279f1a38c041',0,'','0','0','','2006-04-25 10:19:35','127.0.0.1',0,0,'0000-00-00 00:00:00',0,0,0,0);
+/*!40000 ALTER TABLE `account` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `account_banned`
+--
+
+DROP TABLE IF EXISTS `account_banned`;
+CREATE TABLE `account_banned` (
+ `id` int(11) NOT NULL default '0' COMMENT 'Account id',
+ `bandate` bigint(40) NOT NULL default '0',
+ `unbandate` bigint(40) NOT NULL default '0',
+ `bannedby` varchar(50) NOT NULL,
+ `banreason` varchar(255) NOT NULL,
+ `active` tinyint(4) NOT NULL default '1',
+ PRIMARY KEY (`id`,`bandate`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Ban List';
+
+--
+-- Dumping data for table `account_banned`
+--
+
+LOCK TABLES `account_banned` WRITE;
+/*!40000 ALTER TABLE `account_banned` DISABLE KEYS */;
+/*!40000 ALTER TABLE `account_banned` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `ip_banned`
+--
+
+DROP TABLE IF EXISTS `ip_banned`;
+CREATE TABLE `ip_banned` (
+ `ip` varchar(32) NOT NULL default '127.0.0.1',
+ `bandate` bigint(40) NOT NULL,
+ `unbandate` bigint(40) NOT NULL,
+ `bannedby` varchar(50) NOT NULL default '[Console]',
+ `banreason` varchar(255) NOT NULL default 'no reason',
+ PRIMARY KEY (`ip`,`bandate`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Banned IPs';
+
+--
+-- Dumping data for table `ip_banned`
+--
+
+LOCK TABLES `ip_banned` WRITE;
+/*!40000 ALTER TABLE `ip_banned` DISABLE KEYS */;
+/*!40000 ALTER TABLE `ip_banned` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `realmcharacters`
+--
+
+DROP TABLE IF EXISTS `realmcharacters`;
+CREATE TABLE `realmcharacters` (
+ `realmid` int(11) unsigned NOT NULL default '0',
+ `acctid` bigint(20) unsigned NOT NULL,
+ `numchars` tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (`realmid`,`acctid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Realm Character Tracker';
+
+--
+-- Dumping data for table `realmcharacters`
+--
+
+LOCK TABLES `realmcharacters` WRITE;
+/*!40000 ALTER TABLE `realmcharacters` DISABLE KEYS */;
+/*!40000 ALTER TABLE `realmcharacters` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `realmlist`
+--
+
+DROP TABLE IF EXISTS `realmlist`;
+CREATE TABLE `realmlist` (
+ `id` int(11) unsigned NOT NULL auto_increment,
+ `name` varchar(32) NOT NULL default '',
+ `address` varchar(32) NOT NULL default '127.0.0.1',
+ `port` int(11) NOT NULL default '8085',
+ `icon` tinyint(3) unsigned NOT NULL default '0',
+ `color` tinyint(3) unsigned NOT NULL default '2',
+ `timezone` tinyint(3) unsigned NOT NULL default '0',
+ `allowedSecurityLevel` tinyint(3) unsigned NOT NULL default '0',
+ `population` float unsigned NOT NULL default '0',
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `idx_name` (`name`)
+) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Realm System';
+
+--
+-- Dumping data for table `realmlist`
+--
+
+LOCK TABLES `realmlist` WRITE;
+/*!40000 ALTER TABLE `realmlist` DISABLE KEYS */;
+INSERT INTO `realmlist` VALUES
+(1,'MaNGOS','127.0.0.1',8085,1,0,1,0,0);
+/*!40000 ALTER TABLE `realmlist` ENABLE KEYS */;
+UNLOCK TABLES;
+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+
+-- Dump completed on 2008-01-10 11:37:06
diff --git a/sql/tools/Makefile.am b/sql/tools/Makefile.am
new file mode 100644
index 00000000000..f489b83088b
--- /dev/null
+++ b/sql/tools/Makefile.am
@@ -0,0 +1,36 @@
+# Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+## Process this file with automake to produce Makefile.in
+
+## Sub-directories to parse
+
+## Change installation location
+# datadir = mangos/sql/tools
+pkgdatadir = $(datadir)/mangos/sql/tools
+
+## Files to be installed
+# Install basic SQL files to datadir
+pkgdata_DATA = \
+ characters_item_duplicates_remove.sql \
+ characters_pet_data_cleanup.sql \
+ README
+
+## Additional files to include when running 'make dist'
+EXTRA_DIST = \
+ characters_item_duplicates_remove.sql \
+ characters_pet_data_cleanup.sql \
+ README
diff --git a/sql/tools/README b/sql/tools/README
new file mode 100644
index 00000000000..de60305cece
--- /dev/null
+++ b/sql/tools/README
@@ -0,0 +1,10 @@
+= MaNGOS -- README =
+
+Copyright (c) 2005-2008 MaNGOS <http://www.mangosproject.org/>
+
+See the COPYING file for copying conditions.
+
+== Database tools ==
+This folder contains SQL files which can be used for cleanup DB from corrupted or outdated data in safe way.
+This tools must be used _only_ when mangos server stopped.
+But you can safely use its any times while server shutdown.
diff --git a/sql/tools/characters_item_duplicates_remove.sql b/sql/tools/characters_item_duplicates_remove.sql
new file mode 100644
index 00000000000..9cdd8738ecd
--- /dev/null
+++ b/sql/tools/characters_item_duplicates_remove.sql
@@ -0,0 +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;
diff --git a/sql/tools/characters_pet_data_cleanup.sql b/sql/tools/characters_pet_data_cleanup.sql
new file mode 100644
index 00000000000..f4454ca856f
--- /dev/null
+++ b/sql/tools/characters_pet_data_cleanup.sql
@@ -0,0 +1,3 @@
+DELETE FROM pet_aura WHERE guid NOT IN (SELECT id FROM character_pet);
+DELETE FROM pet_spell WHERE guid NOT IN (SELECT id FROM character_pet);
+DELETE FROM pet_spell_cooldown WHERE guid NOT IN (SELECT id FROM character_pet);
diff --git a/sql/updates/0.10/4846_characters.sql b/sql/updates/0.10/4846_characters.sql
new file mode 100644
index 00000000000..6e8ac96c680
--- /dev/null
+++ b/sql/updates/0.10/4846_characters.sql
@@ -0,0 +1,20 @@
+ALTER TABLE `mail`
+ ADD COLUMN `has_items` tinyint(3) unsigned NOT NULL default '0' AFTER `itemTextId`;
+
+UPDATE `mail` SET `has_items` = '1' WHERE `item_guid`<>'0';
+
+DROP TABLE IF EXISTS `mail_items`;
+CREATE TABLE `mail_items` (
+ `mail_id` int(11) NOT NULL default '0',
+ `item_guid` int(11) NOT NULL default '0',
+ `item_template` int(11) NOT NULL default '0',
+ PRIMARY KEY (`mail_id`,`item_guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+
+INSERT INTO `mail_items` SELECT `id`,`item_guid`,`item_template` FROM `mail` WHERE `mail`.`has_items`>0;
+
+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);
diff --git a/sql/updates/0.10/4846_mangos_creature_template.sql b/sql/updates/0.10/4846_mangos_creature_template.sql
new file mode 100644
index 00000000000..d97bf56c79e
--- /dev/null
+++ b/sql/updates/0.10/4846_mangos_creature_template.sql
@@ -0,0 +1,52 @@
+-- custom
+-- UNIT_NPC_FLAG_GUARD = 0x00010000, old
+-- UNIT_NPC_FLAG_GUARD = 0x10000000, new
+UPDATE `creature_template` SET `npcflag` = (`npcflag` | 0x10000000) & ~0x00010000 WHERE `npcflag` & 0x00010000;
+
+-- UNIT_NPC_FLAG_STABLEMASTER = 0x00002000, old
+-- UNIT_NPC_FLAG_STABLEMASTER = 0x00400000, new
+UPDATE `creature_template` SET `npcflag` = (`npcflag` | 0x00400000) & ~0x00002000 WHERE `npcflag` & 0x00002000;
+
+-- UNIT_NPC_FLAG_AUCTIONEER = 0x00001000, old
+-- UNIT_NPC_FLAG_AUCTIONEER = 0x00200000, new
+UPDATE `creature_template` SET `npcflag` = (`npcflag` | 0x00200000) & ~0x00001000 WHERE `npcflag` & 0x00001000;
+
+-- UNIT_NPC_FLAG_BATTLEFIELDPERSON = 0x00000800, old
+-- UNIT_NPC_FLAG_BATTLEMASTER = 0x00100000, new
+UPDATE `creature_template` SET `npcflag` = (`npcflag` | 0x00100000) & ~0x00000800 WHERE `npcflag` & 0x00000800;
+
+-- UNIT_NPC_FLAG_ARMORER = 0x00004000, old
+-- UNIT_NPC_FLAG_REPAIR = 0x00001000, new
+UPDATE `creature_template` SET `npcflag` = (`npcflag` | 0x00001000) & ~0x00004000 WHERE `npcflag` & 0x00004000;
+
+-- UNIT_NPC_FLAG_TABARDDESIGNER = 0x00000400, old
+-- UNIT_NPC_FLAG_TABARDDESIGNER = 0x00080000, new
+UPDATE `creature_template` SET `npcflag` = (`npcflag` | 0x00080000) & ~0x00000400 WHERE `npcflag` & 0x00000400;
+
+-- UNIT_NPC_FLAG_PETITIONER = 0x00000200, old
+-- UNIT_NPC_FLAG_PETITIONER = 0x00040000, new
+UPDATE `creature_template` SET `npcflag` = (`npcflag` | 0x00040000) & ~0x00000200 WHERE `npcflag` & 0x00000200;
+
+-- UNIT_NPC_FLAG_BANKER = 0x00000100, old
+-- UNIT_NPC_FLAG_BANKER = 0x00020000, new
+UPDATE `creature_template` SET `npcflag` = (`npcflag` | 0x00020000) & ~0x00000100 WHERE `npcflag` & 0x00000100;
+
+-- UNIT_NPC_FLAG_INNKEEPER = 0x00000080, old
+-- UNIT_NPC_FLAG_INNKEEPER = 0x00010000, new
+UPDATE `creature_template` SET `npcflag` = (`npcflag` | 0x00010000) & ~0x00000080 WHERE `npcflag` & 0x00000080;
+
+-- UNIT_NPC_FLAG_SPIRITGUIDE = 0x00000040, old
+-- UNIT_NPC_FLAG_SPIRITGUIDE = 0x00008000, new
+UPDATE `creature_template` SET `npcflag` = (`npcflag` | 0x00008000) & ~0x00000040 WHERE `npcflag` & 0x00000040;
+
+-- UNIT_NPC_FLAG_SPIRITHEALER = 0x00000020, old
+-- UNIT_NPC_FLAG_SPIRITHEALER = 0x00004000, new
+UPDATE `creature_template` SET `npcflag` = (`npcflag` | 0x00004000) & ~0x00000020 WHERE `npcflag` & 0x00000020;
+
+-- UNIT_NPC_FLAG_TAXIVENDOR = 0x00000008, old
+-- UNIT_NPC_FLAG_FLIGHTMASTER = 0x00002000, new
+UPDATE `creature_template` SET `npcflag` = (`npcflag` | 0x00002000) & ~0x00000008 WHERE `npcflag` & 0x00000008;
+
+-- UNIT_NPC_FLAG_VENDOR = 0x00000004, old
+-- UNIT_NPC_FLAG_VENDOR = 0x00000080, new
+UPDATE `creature_template` SET `npcflag` = (`npcflag` | 0x00000080) & ~0x00000004 WHERE `npcflag` & 0x00000004;
diff --git a/sql/updates/0.10/4846_mangos_item_template.sql b/sql/updates/0.10/4846_mangos_item_template.sql
new file mode 100644
index 00000000000..4c2aac5754d
--- /dev/null
+++ b/sql/updates/0.10/4846_mangos_item_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `item_template`
+ ADD COLUMN `RequiredArenaRank` INT(10) UNSIGNED NOT NULL DEFAULT 0 AFTER `ExtendedCost`; \ No newline at end of file
diff --git a/sql/updates/0.10/4846_mangos_npc_option.sql b/sql/updates/0.10/4846_mangos_npc_option.sql
new file mode 100644
index 00000000000..9b205447e55
--- /dev/null
+++ b/sql/updates/0.10/4846_mangos_npc_option.sql
@@ -0,0 +1,13 @@
+update `npc_option` set `npcflag`=0x00000010 where `id` in('5','49','50');
+update `npc_option` set `npcflag`=0x00000080 where `id` = '3';
+update `npc_option` set `npcflag`=0x00002000 where `id` = '4';
+update `npc_option` set `npcflag`=0x00004000 where `id` = '6';
+update `npc_option` set `npcflag`=0x00008000 where `id` = '7';
+update `npc_option` set `npcflag`=0x00010000 where `id` = '8';
+update `npc_option` set `npcflag`=0x00020000 where `id` = '9';
+update `npc_option` set `npcflag`=0x00040000 where `id` = '10';
+update `npc_option` set `npcflag`=0x00080000 where `id` = '11';
+update `npc_option` set `npcflag`=0x00100000 where `id` = '12';
+update `npc_option` set `npcflag`=0x00200000 where `id` = '13';
+update `npc_option` set `npcflag`=0x00400000 where `id` = '14';
+update `npc_option` set `npcflag`=0x00001000 where `id` = '15';
diff --git a/sql/updates/0.10/4875_mangos_quest_template.sql b/sql/updates/0.10/4875_mangos_quest_template.sql
new file mode 100644
index 00000000000..d46e1698915
--- /dev/null
+++ b/sql/updates/0.10/4875_mangos_quest_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `quest_template` CHANGE COLUMN `RewXpOrMoney` `RewMoneyMaxLevel` int(11) unsigned NOT NULL default '0';
diff --git a/sql/updates/0.10/4890_mangos_item_template.sql b/sql/updates/0.10/4890_mangos_item_template.sql
new file mode 100644
index 00000000000..63f2a748b99
--- /dev/null
+++ b/sql/updates/0.10/4890_mangos_item_template.sql
@@ -0,0 +1,8 @@
+UPDATE `item_template` SET `BagFamily` = 0x00000400 WHERE `BagFamily` =11;
+UPDATE `item_template` SET `BagFamily` = 0x00000200 WHERE `BagFamily` =10;
+UPDATE `item_template` SET `BagFamily` = 0x00000100 WHERE `BagFamily` = 9;
+UPDATE `item_template` SET `BagFamily` = 0x00000080 WHERE `BagFamily` = 8;
+UPDATE `item_template` SET `BagFamily` = 0x00000040 WHERE `BagFamily` = 7;
+UPDATE `item_template` SET `BagFamily` = 0x00000020 WHERE `BagFamily` = 6;
+UPDATE `item_template` SET `BagFamily` = 0x00000008 WHERE `BagFamily` = 4;
+UPDATE `item_template` SET `BagFamily` = 0x00000004 WHERE `BagFamily` = 3;
diff --git a/sql/updates/0.10/4895_mangos_command.sql b/sql/updates/0.10/4895_mangos_command.sql
new file mode 100644
index 00000000000..ed7b45a0628
--- /dev/null
+++ b/sql/updates/0.10/4895_mangos_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM command WHERE name IN ('tele');
+
+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/4896_characters_mail.sql b/sql/updates/0.10/4896_characters_mail.sql
new file mode 100644
index 00000000000..94ecebcc8e1
--- /dev/null
+++ b/sql/updates/0.10/4896_characters_mail.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `mail`
+ ADD COLUMN `stationery` tinyint(3) NOT NULL DEFAULT '41' AFTER `messageType`; \ No newline at end of file
diff --git a/sql/updates/0.10/4898_mangos_playercreateinfo_item.sql b/sql/updates/0.10/4898_mangos_playercreateinfo_item.sql
new file mode 100644
index 00000000000..f54742472ac
--- /dev/null
+++ b/sql/updates/0.10/4898_mangos_playercreateinfo_item.sql
@@ -0,0 +1 @@
+INSERT IGNORE INTO `playercreateinfo_item` VALUES (11, 8, 6948, 1); \ No newline at end of file
diff --git a/sql/updates/0.10/4904_mangos_item_template.sql b/sql/updates/0.10/4904_mangos_item_template.sql
new file mode 100644
index 00000000000..976782abe8a
--- /dev/null
+++ b/sql/updates/0.10/4904_mangos_item_template.sql
@@ -0,0 +1,10 @@
+UPDATE `item_template` SET `spellcooldown_1` = -1 WHERE `spellcooldown_1` = 0;
+UPDATE `item_template` SET `spellcategorycooldown_1` = -1 WHERE `spellcategorycooldown_1` = 0;
+UPDATE `item_template` SET `spellcooldown_2` = -1 WHERE `spellcooldown_2` = 0;
+UPDATE `item_template` SET `spellcategorycooldown_2` = -1 WHERE `spellcategorycooldown_2` = 0;
+UPDATE `item_template` SET `spellcooldown_3` = -1 WHERE `spellcooldown_3` = 0;
+UPDATE `item_template` SET `spellcategorycooldown_3` = -1 WHERE `spellcategorycooldown_3` = 0;
+UPDATE `item_template` SET `spellcooldown_4` = -1 WHERE `spellcooldown_4` = 0;
+UPDATE `item_template` SET `spellcategorycooldown_4` = -1 WHERE `spellcategorycooldown_4` = 0;
+UPDATE `item_template` SET `spellcooldown_5` = -1 WHERE `spellcooldown_5` = 0;
+UPDATE `item_template` SET `spellcategorycooldown_5` = -1 WHERE `spellcategorycooldown_5` = 0;
diff --git a/sql/updates/0.10/4908_mangos_spell_proc_event.sql b/sql/updates/0.10/4908_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..7b29b0d8e5b
--- /dev/null
+++ b/sql/updates/0.10/4908_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (38394);
+INSERT INTO `spell_proc_event` VALUES
+(38394,36,0,0,5,6,131072,0);
diff --git a/sql/updates/0.10/4916_mangos_spell_affect.sql b/sql/updates/0.10/4916_mangos_spell_affect.sql
new file mode 100644
index 00000000000..ef3c0b6bad5
--- /dev/null
+++ b/sql/updates/0.10/4916_mangos_spell_affect.sql
@@ -0,0 +1,60 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (43857,43858,43859);
+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
+(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
+(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
+(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
+(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
+(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
+(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
+(40460,0,0,0,0,0,0,0x00000009003E0000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (28814);
+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
+(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
+(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/4921_mangos_gameobject.sql b/sql/updates/0.10/4921_mangos_gameobject.sql
new file mode 100644
index 00000000000..f678eae2f9b
--- /dev/null
+++ b/sql/updates/0.10/4921_mangos_gameobject.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `gameobject` CHANGE COLUMN `dynflags` `state` int(11) unsigned NOT NULL default '1';
+UPDATE `gameobject` SET `state` = 1;
diff --git a/sql/updates/0.10/4926_mangos_spell_proc_event.sql b/sql/updates/0.10/4926_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..42fddf7ed50
--- /dev/null
+++ b/sql/updates/0.10/4926_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (40458);
+INSERT INTO `spell_proc_event` VALUES
+(40458,0,971,0,4,0x60102000000,1,0);
diff --git a/sql/updates/0.10/4937_mangos_spell_affect.sql b/sql/updates/0.10/4937_mangos_spell_affect.sql
new file mode 100644
index 00000000000..ec3922919ea
--- /dev/null
+++ b/sql/updates/0.10/4937_mangos_spell_affect.sql
@@ -0,0 +1,56 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (11069,12338,12339,12340,12341);
+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),
+ (12340,0,0,0,0,0,0,0x0000000000000001,0),
+ (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
+ (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),
+ (16765,0,0,0,0,0,0,0x0000000000000020,0),
+ (16766,0,0,0,0,0,0,0x0000000000000020,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (17941);
+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
+ (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
+ (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);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (36591);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (28176);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (28189);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (31842);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (38390);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (37188);
+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
+ (43837,0,0,0,0,0,0,0x0000000080000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (39950);
+INSERT INTO `spell_affect` VALUES
+ (39950,0,0,0,0,0,0,0x0000000000000040,0);
+
+
+
diff --git a/sql/updates/0.10/4937_mangos_spell_proc_event.sql b/sql/updates/0.10/4937_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..1788383317d
--- /dev/null
+++ b/sql/updates/0.10/4937_mangos_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (37188,37189,37227);
+INSERT INTO `spell_proc_event` VALUES
+ (37188,0,0,0,10,0x0000000000800000,0x00004000,0),
+ (37189,0,0,0,10,0x00000000C0000000,0x10000000,0),
+ (37227,0,0,0,11,0x00000000000001C0,0x10000000,0);
diff --git a/sql/updates/0.10/4948_mangos_spell_affect.sql b/sql/updates/0.10/4948_mangos_spell_affect.sql
new file mode 100644
index 00000000000..897fab3956d
--- /dev/null
+++ b/sql/updates/0.10/4948_mangos_spell_affect.sql
@@ -0,0 +1,147 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (11095,12872,12873);
+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
+ (31821,0,0,0,0,0,0,0x0000000004020048,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (23565);
+INSERT INTO `spell_affect` VALUES
+ (23565,0,0,0,0,0,0,0x0000000004020048,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (26130);
+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
+ (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),
+ (20104,0,0,0,0,0,0,0x000004000A000200,0),
+ (20105,0,0,0,0,0,0,0x000004000A000200,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (27848);
+INSERT INTO `spell_affect` VALUES
+ (27848,0,0,0,0,0,0,0x000004000A000200,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (33695);
+INSERT INTO `spell_affect` VALUES
+ (33695,0,0,0,0,0,0,0x0000000200000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (31879,31880,31881,31882,31883);
+INSERT INTO `spell_affect` VALUES
+ (31879,0,0,0,0,0,0,0x0000000800000400,0),
+ (31880,0,0,0,0,0,0,0x0000000800000400,0),
+ (31881,0,0,0,0,0,0,0x0000000800000400,0),
+ (31882,0,0,0,0,0,0,0x0000000800000400,0),
+ (31883,0,0,0,0,0,0,0x0000000800000400,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (38426);
+INSERT INTO `spell_affect` VALUES
+ (38426,0,0,0,0,0,0,0x0000000080000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (37189);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (37739);
+INSERT INTO `spell_affect` VALUES
+ (37739,0,0,0,0,0,0,0x0000000080000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (20359,20360,20361);
+INSERT INTO `spell_affect` VALUES
+ (20359,0,0,0,0,0,0,0x0000000080000000,0),
+ (20360,0,0,0,0,0,0,0x0000000080000000,0),
+ (20361,0,0,0,0,0,0,0x0000000080000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (20237,20238,20239);
+INSERT INTO `spell_affect` VALUES
+ (20237,0,0,0,0,0,0,0x00000000C0000000,0),
+ (20238,0,0,0,0,0,0,0x00000000C0000000,0),
+ (20239,0,0,0,0,0,0,0x00000000C0000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (37723);
+INSERT INTO `spell_affect` VALUES
+ (37723,0,0,0,0,0,0,0x00000000C0000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (38425,20249,20250,20251);
+INSERT INTO `spell_affect` VALUES
+ (38425,0,0,0,0,0,0,0x0000000040000000,0),
+ (20249,0,0,0,0,0,0,0x0000000040000000,0),
+ (20250,0,0,0,0,0,0,0x0000000040000000,0),
+ (20251,0,0,0,0,0,0,0x0000000040000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (38522);
+INSERT INTO `spell_affect` VALUES
+ (38522,0,0,0,0,0,0,0x0000000040000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (34129);
+INSERT INTO `spell_affect` VALUES
+ (34129,0,0,0,0,0,0,0x0000000040000000,0),
+ (34129,1,0,0,0,0,0,0x0000000040000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (24460);
+INSERT INTO `spell_affect` VALUES
+ (24460,0,0,0,0,0,0,0x0000000010000180,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (21744);
+INSERT INTO `spell_affect` VALUES
+ (21744,0,0,0,0,0,0,0x0000000010000180,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (20254,20255,20256);
+INSERT INTO `spell_affect` VALUES
+ (20254,0,0,0,0,0,0,0x0000000000020000,0),
+ (20254,1,0,0,0,0,0,0x0000000000020000,0),
+ (20254,2,0,0,0,0,0,0x0000000000020000,0),
+ (20255,0,0,0,0,0,0,0x0000000000020000,0),
+ (20255,1,0,0,0,0,0,0x0000000000020000,0),
+ (20255,2,0,0,0,0,0,0x0000000000020000,0),
+ (20256,0,0,0,0,0,0,0x0000000000020000,0),
+ (20256,1,0,0,0,0,0,0x0000000000020000,0),
+ (20256,2,0,0,0,0,0,0x0000000000020000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (38424);
+INSERT INTO `spell_affect` VALUES
+ (38424,0,0,0,0,0,0,0x0000008000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (41021,41026);
+INSERT INTO `spell_affect` VALUES
+ (41021,0,0,0,0,0,0,0x0000004000000000,0),
+ (41021,1,0,0,0,0,0,0x0000004000000000,0),
+ (41026,0,0,0,0,0,0,0x0000004000000000,0),
+ (41026,1,0,0,0,0,0,0x0000004000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (38421);
+INSERT INTO `spell_affect` VALUES
+ (38421,0,0,0,0,0,0,0x0000100000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (37187);
+INSERT INTO `spell_affect` VALUES
+ (37187,0,0,0,0,0,0,0x0000020000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (37182);
+INSERT INTO `spell_affect` VALUES
+ (37182,0,0,0,0,0,0,0x0000000100000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (28775);
+INSERT INTO `spell_affect` VALUES
+ (28775,0,0,0,0,0,0,0x0000000100000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (37184);
+INSERT INTO `spell_affect` VALUES
+ (37184,0,0,0,0,0,0,0x0000040008000000,0),
+ (37184,1,0,0,0,0,0,0x0000040008000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (31825,31826);
+INSERT INTO `spell_affect` VALUES
+ (31825,0,0,0,0,0,0,0x0000000000001020,0),
+ (31825,1,0,0,0,0,0,0x0000000200000000,0),
+ (31826,0,0,0,0,0,0,0x0000000000001020,0),
+ (31826,1,0,0,0,0,0,0x0000000200000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (31844,31845);
+INSERT INTO `spell_affect` VALUES
+ (31844,1,0,0,0,0,0,0x000005401A00038C,0),
+ (31845,1,0,0,0,0,0,0x000005401A00038C,0);
diff --git a/sql/updates/0.10/4951_mangos_spell_affect.sql b/sql/updates/0.10/4951_mangos_spell_affect.sql
new file mode 100644
index 00000000000..85a9bb0d010
--- /dev/null
+++ b/sql/updates/0.10/4951_mangos_spell_affect.sql
@@ -0,0 +1,21 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (19498,19499,19500);
+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
+ (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),
+ (19419,0,0,0,0,0,0,0x00210810007FA00,0),
+ (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
+ (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),
+ (19489,0,0,0,0,0,0,0x000000100061801,0),
+ (19490,0,0,0,0,0,0,0x000000100061801,0);
diff --git a/sql/updates/0.10/4952_mangos_spell_proc_event.sql b/sql/updates/0.10/4952_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..0d45e5c8e26
--- /dev/null
+++ b/sql/updates/0.10/4952_mangos_spell_proc_event.sql
@@ -0,0 +1,10 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (13165,14318,14319,14320,14321,14322,25296,27044);
+INSERT INTO `spell_proc_event` VALUES
+ (13165,0,0,0,0,0,0x00080000,0),
+ (14318,0,0,0,0,0,0x00080000,0),
+ (14319,0,0,0,0,0,0x00080000,0),
+ (14320,0,0,0,0,0,0x00080000,0),
+ (14321,0,0,0,0,0,0x00080000,0),
+ (14322,0,0,0,0,0,0x00080000,0),
+ (25296,0,0,0,0,0,0x00080000,0),
+ (27044,0,0,0,0,0,0x00080000,0);
diff --git a/sql/updates/0.10/4971_characters_character_social.sql b/sql/updates/0.10/4971_characters_character_social.sql
new file mode 100644
index 00000000000..76f10eee76f
--- /dev/null
+++ b/sql/updates/0.10/4971_characters_character_social.sql
@@ -0,0 +1,15 @@
+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`
+ DROP PRIMARY KEY,
+ DROP COLUMN `flags`,
+ CHANGE COLUMN `new_flags` `flags` tinyint(1) unsigned NOT NULL default '0',
+ ADD PRIMARY KEY (`guid`,`friend`,`flags`),
+ ADD KEY (`guid`),
+ ADD KEY (`friend`),
+ ADD KEY `guid_flags` (`guid`,`flags`),
+ ADD KEY `friend_flags` (`friend`,`flags`);
+
diff --git a/sql/updates/0.10/4975_mangos_spell_affect.sql b/sql/updates/0.10/4975_mangos_spell_affect.sql
new file mode 100644
index 00000000000..7a251973b03
--- /dev/null
+++ b/sql/updates/0.10/4975_mangos_spell_affect.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (20216);
+INSERT INTO `spell_affect` VALUES
+ (20216,0,0,0,0,0,0,0x0000000000206000,0);
diff --git a/sql/updates/0.10/4975_mangos_spell_proc_event.sql b/sql/updates/0.10/4975_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..8a175bc8a73
--- /dev/null
+++ b/sql/updates/0.10/4975_mangos_spell_proc_event.sql
@@ -0,0 +1,8 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (20210,20212,20213,20214,20215,37189);
+INSERT INTO `spell_proc_event` VALUES
+ (20210,0,0,0,10,0x0000000000206000,0x10000000,0),
+ (20212,0,0,0,10,0x0000000000206000,0x10000000,0),
+ (20213,0,0,0,10,0x0000000000206000,0x10000000,0),
+ (20214,0,0,0,10,0x0000000000206000,0x10000000,0),
+ (20215,0,0,0,10,0x0000000000206000,0x10000000,0),
+ (37189,0,0,0,10,0x0000000000006000,0x10000000,0);
diff --git a/sql/updates/0.10/4984_mangos_spell_proc_event.sql b/sql/updates/0.10/4984_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..2e1ce21ad26
--- /dev/null
+++ b/sql/updates/0.10/4984_mangos_spell_proc_event.sql
@@ -0,0 +1,20 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (12169,20128,20131,20132,20133,20134,32587,32776,32777,38031);
+INSERT INTO `spell_proc_event` VALUES
+ (12169,0,0,0,0,0,0x00000040,0),
+ (20128,0,0,0,0,0,0x00000040,0),
+ (20131,0,0,0,0,0,0x00000040,0),
+ (20132,0,0,0,0,0,0x00000040,0),
+ (20133,0,0,0,0,0,0x00000040,0),
+ (20134,0,0,0,0,0,0x00000040,0),
+ (32587,0,0,0,0,0,0x00000040,0),
+ (32776,0,0,0,0,0,0x00000040,0),
+ (32777,0,0,0,0,0,0x00000040,0),
+ (38031,0,0,0,0,0,0x00000040,0);
+
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (18803,33299,39530);
+INSERT INTO `spell_proc_event` VALUES
+ (18803,0,0,0,0,0,0x00004000,0),
+ (33299,0,0,0,0,0,0x00004000,0),
+ (39530,0,0,0,0,0,0x00004000,0);
+
diff --git a/sql/updates/0.10/5019_mangos_spell_proc_event.sql b/sql/updates/0.10/5019_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..542359e14eb
--- /dev/null
+++ b/sql/updates/0.10/5019_mangos_spell_proc_event.sql
@@ -0,0 +1,26 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (6268,7137,8260);
+INSERT INTO `spell_proc_event` VALUES
+ (6268,0,0,0,0,0,0x00000001,0),
+ (8260,0,0,0,0,0,0x00000001,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (24597,24603,24604,24605,30636,35942);
+INSERT INTO `spell_proc_event` VALUES
+ (24597,0,0,0,0,0,0x00080001,0),
+ (24603,0,0,0,0,0,0x00080001,0),
+ (24604,0,0,0,0,0,0x00080001,0),
+ (24605,0,0,0,0,0,0x00080001,0),
+ (30636,0,0,0,0,0,0x00080001,0),
+ (35942,0,0,0,0,0,0x00080001,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (37604);
+INSERT INTO `spell_proc_event` VALUES
+ (37604,0,0,0,0,0,0x00004000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (24389);
+INSERT INTO `spell_proc_event` VALUES
+ (24389,0x04,0,0,0,0,0x00020000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (28780);
+INSERT INTO `spell_proc_event` VALUES
+ (28780,0,0,0,0,0,0x08020000,0);
+
diff --git a/sql/updates/0.10/5030_mangos_item_template.sql b/sql/updates/0.10/5030_mangos_item_template.sql
new file mode 100644
index 00000000000..883fa5d82bc
--- /dev/null
+++ b/sql/updates/0.10/5030_mangos_item_template.sql
@@ -0,0 +1,5 @@
+ALTER TABLE `item_template` CHANGE `AllowableClass` `AllowableClass` mediumint(9) not null default '-1';
+ALTER TABLE `item_template` CHANGE `AllowableRace` `AllowableRace` mediumint(9) not null default '-1';
+
+UPDATE `item_template` SET `AllowableClass` = -1 WHERE `AllowableClass` = 0;
+UPDATE `item_template` SET `AllowableRace` = -1 WHERE `AllowableRace` = 0;
diff --git a/sql/updates/0.10/5036_mangos_spell_affect.sql b/sql/updates/0.10/5036_mangos_spell_affect.sql
new file mode 100644
index 00000000000..07c99926ea1
--- /dev/null
+++ b/sql/updates/0.10/5036_mangos_spell_affect.sql
@@ -0,0 +1,52 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (12945);
+INSERT INTO `spell_affect` VALUES
+ (12945,0,0,0,0,0,0,0x0000000000001000,0),
+ (12945,1,0,0,0,0,0,0x0000000000001000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (29787,29790,29792);
+INSERT INTO `spell_affect` VALUES
+ (29787,0,0,0,0,0,0,0x0000036C2A764EEF,0),
+ (29790,0,0,0,0,0,0,0x0000036C2A764EEF,0),
+ (29792,0,0,0,0,0,0,0x0000036C2A764EEF,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (21887);
+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
+ (16493,0,0,0,0,0,0,0x0000014D2A600CEF,0),
+ (16494,0,0,0,0,0,0,0x0000014D2A600CEF,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (37517);
+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
+ (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),
+ (12863,0,0,0,0,0,0,0x0000000000000000,0),
+ (12325,0,0,0,0,0,0,0x0000000000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (35446,35448,35449,35450,35451);
+INSERT INTO `spell_affect` VALUES
+ (35446,0,0,0,0,0,0,0x0000000002000000,0),
+ (35446,1,0,0,0,0,0,0x0000000002000000,0),
+ (35448,0,0,0,0,0,0,0x0000000002000000,0),
+ (35448,1,0,0,0,0,0,0x0000000002000000,0),
+ (35449,0,0,0,0,0,0,0x0000000002000000,0),
+ (35449,1,0,0,0,0,0,0x0000000002000000,0),
+ (35450,0,0,0,0,0,0,0x0000000002000000,0),
+ (35450,1,0,0,0,0,0,0x0000000002000000,0),
+ (35451,0,0,0,0,0,0,0x0000000002000000,0),
+ (35451,1,0,0,0,0,0,0x0000000002000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (38407);
+INSERT INTO `spell_affect` VALUES
+ (38407,0,0,0,0,0,0,0x0000000100000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (28842);
+INSERT INTO `spell_affect` VALUES
+ (28842,0,0,0,0,0,0,0x0000000100004440,0);
diff --git a/sql/updates/0.10/5039_mangos_spell_proc_event.sql b/sql/updates/0.10/5039_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..785d9deabdb
--- /dev/null
+++ b/sql/updates/0.10/5039_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (21890);
+INSERT INTO `spell_proc_event` VALUES
+ (21890,0,0,0,4,0x0000036C2A764EEF,0x00004001,0);
diff --git a/sql/updates/0.10/5064_mangos_spell_proc_event.sql b/sql/updates/0.10/5064_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..67e395a3e06
--- /dev/null
+++ b/sql/updates/0.10/5064_mangos_spell_proc_event.sql
@@ -0,0 +1,15 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (31233,31239,31240,31241,31242);
+INSERT INTO `spell_proc_event` VALUES
+ (31233,0,0,0,8,0x00000009003E0000,0x00020000,0),
+ (31239,0,0,0,8,0x00000009003E0000,0x00020000,0),
+ (31240,0,0,0,8,0x00000009003E0000,0x00020000,0),
+ (31241,0,0,0,8,0x00000009003E0000,0x00020000,0),
+ (31242,0,0,0,8,0x00000009003E0000,0x00020000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (37168);
+INSERT INTO `spell_proc_event` VALUES
+ (37168,0,0,0,8,0x00000009003E0000,0x00020000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (26107);
+INSERT INTO `spell_proc_event` VALUES
+ (26107,0,0,0,7,0x0000008000800000,0xC4000000,0);
diff --git a/sql/updates/0.10/5070_mangos_spell_proc_event.sql b/sql/updates/0.10/5070_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..312fdac44ed
--- /dev/null
+++ b/sql/updates/0.10/5070_mangos_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (5301,13358,16092);
+INSERT INTO `spell_proc_event` VALUES
+ ( 5301,0,0,0,0,0x0000000000000000,0x00000000,0),
+ (13358,0,0,0,0,0x0000000000000000,0x00000000,0),
+ (16092,0,0,0,0,0x0000000000000000,0x00000000,0);
diff --git a/sql/updates/0.10/5072_mangos_spell_proc_event.sql b/sql/updates/0.10/5072_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..522c451bacf
--- /dev/null
+++ b/sql/updates/0.10/5072_mangos_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (12328,18765);
+INSERT INTO `spell_proc_event` VALUES
+ (12328,0,0,0,0,0x0000000000000000,0xC4000001,0),
+ (18765,0,0,0,0,0x0000000000000000,0xC4000001,0);
diff --git a/sql/updates/0.10/5075_mangos_spell_proc_event.sql b/sql/updates/0.10/5075_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..680b08c016e
--- /dev/null
+++ b/sql/updates/0.10/5075_mangos_spell_proc_event.sql
@@ -0,0 +1,34 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (13877,33735);
+INSERT INTO `spell_proc_event` VALUES
+ (13877,0,0,0,0,0x0000000000000000,0xC4000001,0),
+ (33735,0,0,0,0,0x0000000000000000,0xC4000001,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (12966,12967,12968,12969,12970,16257,16277,16278,16279,16280,17687);
+INSERT INTO `spell_proc_event` VALUES
+ (12966,0,0,0,0,0x0000000000000000,0xC4000001,0),
+ (12967,0,0,0,0,0x0000000000000000,0xC4000001,0),
+ (12968,0,0,0,0,0x0000000000000000,0xC4000001,0),
+ (12969,0,0,0,0,0x0000000000000000,0xC4000001,0),
+ (12970,0,0,0,0,0x0000000000000000,0xC4000001,0),
+ (16257,0,0,0,0,0x0000000000000000,0xC4000001,0),
+ (16277,0,0,0,0,0x0000000000000000,0xC4000001,0),
+ (16278,0,0,0,0,0x0000000000000000,0xC4000001,0),
+ (16279,0,0,0,0,0x0000000000000000,0xC4000001,0),
+ (16280,0,0,0,0,0x0000000000000000,0xC4000001,0),
+ (17687,0,0,0,0,0x0000000000000000,0xC4000001,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (40353);
+INSERT INTO `spell_proc_event` VALUES
+ (40353,0,0,0,0,0x0000000000000000,0xC4000001,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (29448,35205);
+INSERT INTO `spell_proc_event` VALUES
+ (29448,0,0,0,0,0x0000000000000000,0xC4000001,0),
+ (35205,0,0,0,0,0x0000000000000000,0xC4000001,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (1328);
+INSERT INTO `spell_proc_event` VALUES
+ (1328,0,0,0,0,0x0000000000000000,0xC4000001,0);
+
+
+
diff --git a/sql/updates/0.10/5084_mangos_command.sql b/sql/updates/0.10/5084_mangos_command.sql
new file mode 100644
index 00000000000..7c280620e84
--- /dev/null
+++ b/sql/updates/0.10/5084_mangos_command.sql
@@ -0,0 +1,8 @@
+DELETE FROM command WHERE name IN ('createguild','guild create','guild delete','guild invite','guild rank','guild uninvite');
+
+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.'),
+('guild rank',2,'Syntax: .guild rank $CharacterName #Rank\r\n\r\nSet for $CharacterName rank #Rank in a guild.'),
+('guild uninvite',2,'Syntax: .guild uninvite $CharacterName\r\n\r\nRemove $CharacterName from a guild.');
diff --git a/sql/updates/0.10/5085_mangos_spell_affect.sql b/sql/updates/0.10/5085_mangos_spell_affect.sql
new file mode 100644
index 00000000000..f81ddc515c1
--- /dev/null
+++ b/sql/updates/0.10/5085_mangos_spell_affect.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (16179,16214,16215,16216,16217);
+INSERT INTO `spell_affect` VALUES
+(16179,0,0,0,0,0,0,0x00000000000000C0,0),
+(16214,0,0,0,0,0,0,0x00000000000000C0,0),
+(16215,0,0,0,0,0,0,0x00000000000000C0,0),
+(16216,0,0,0,0,0,0,0x00000000000000C0,0),
+(16217,0,0,0,0,0,0,0x00000000000000C0,0);
diff --git a/sql/updates/0.10/5087_mangos_spell_affect.sql b/sql/updates/0.10/5087_mangos_spell_affect.sql
new file mode 100644
index 00000000000..c39869832f0
--- /dev/null
+++ b/sql/updates/0.10/5087_mangos_spell_affect.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (20175);
+INSERT INTO `spell_affect` VALUES
+ (20175,0,0,0,0,0,0,0x0000000000000080,0),
+ (20175,1,0,0,0,0,0,0x0000000000000010,0);
diff --git a/sql/updates/0.10/5088_mangos_spell_proc_event.sql b/sql/updates/0.10/5088_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..b5c03ceb046
--- /dev/null
+++ b/sql/updates/0.10/5088_mangos_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (17106,17107,17108);
+INSERT INTO `spell_proc_event` VALUES
+ (17106,0,0,0,7,0x0000000000080000,0x00004000,0),
+ (17107,0,0,0,7,0x0000000000080000,0x00004000,0),
+ (17108,0,0,0,7,0x0000000000080000,0x00004000,0);
diff --git a/sql/updates/0.10/5092_mangos_item_template.sql b/sql/updates/0.10/5092_mangos_item_template.sql
new file mode 100644
index 00000000000..91bf982dc47
--- /dev/null
+++ b/sql/updates/0.10/5092_mangos_item_template.sql
@@ -0,0 +1,2 @@
+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/5097_mangos_skill_extra_item_template.sql b/sql/updates/0.10/5097_mangos_skill_extra_item_template.sql
new file mode 100644
index 00000000000..ef417ff60ba
--- /dev/null
+++ b/sql/updates/0.10/5097_mangos_skill_extra_item_template.sql
@@ -0,0 +1,9 @@
+DROP TABLE IF EXISTS `skill_extra_item_template`;
+CREATE TABLE `skill_extra_item_template` (
+ `spellId` int(11) unsigned NOT NULL default '0' COMMENT 'SpellId of the item creation spell',
+ `requiredSpecialization` int(11) unsigned NOT NULL default '0' COMMENT 'Specialization spell id',
+ `additionalCreateChance` float NOT NULL default '0' COMMENT 'chance to create add',
+ `additionalMaxNum` int(11) unsigned NOT NULL default '0' COMMENT 'max num of adds',
+
+ PRIMARY KEY (`spellId`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Skill Specialization System';
diff --git a/sql/updates/0.10/5106_mangos_spell_chain.sql b/sql/updates/0.10/5106_mangos_spell_chain.sql
new file mode 100644
index 00000000000..2ce95bc05c4
--- /dev/null
+++ b/sql/updates/0.10/5106_mangos_spell_chain.sql
@@ -0,0 +1,15 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (26790,27028,28029,28596,28695,28897,29354,29844,30350,32549,32678,33095,33359);
+INSERT INTO `spell_chain` (`spell_id`, `prev_spell`, `first_spell`, `rank`) VALUES
+(26790,12180,3908,5),
+(27028,10846,3273,5),
+(28029,13920,7411,5),
+(28596,11611,2259,5),
+(28695,11993,2366,5),
+(28897,28895,25229,5),
+(29354,10248,2575,5),
+(29844,9785,2018,5),
+(30350,12656,4036,5),
+(32549,10662,2108,5),
+(32678,10768,8613,5),
+(33095,18248,7620,5),
+(33359,18260,2550,5);
diff --git a/sql/updates/0.10/5108_characters.sql b/sql/updates/0.10/5108_characters.sql
new file mode 100644
index 00000000000..e8c8cae8279
--- /dev/null
+++ b/sql/updates/0.10/5108_characters.sql
@@ -0,0 +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;
diff --git a/sql/updates/0.10/5119_mangos_quest_template.sql b/sql/updates/0.10/5119_mangos_quest_template.sql
new file mode 100644
index 00000000000..5769f7719b1
--- /dev/null
+++ b/sql/updates/0.10/5119_mangos_quest_template.sql
@@ -0,0 +1,3 @@
+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
diff --git a/sql/updates/0.10/5120_mangos_spell_chain.sql b/sql/updates/0.10/5120_mangos_spell_chain.sql
new file mode 100644
index 00000000000..c0bef0f2f1f
--- /dev/null
+++ b/sql/updates/0.10/5120_mangos_spell_chain.sql
@@ -0,0 +1,15 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (9787,9788,17039,17040,17041,10656,10658,10660,20219,20222,26797,26798,26801);
+INSERT INTO `spell_chain` (`spell_id`, `prev_spell`, `first_spell`, `rank`) VALUES
+(9787,29844,2018,6),
+(9788,29844,2018,6),
+(17039,9787,2018,7),
+(17040,9787,2018,7),
+(17041,9787,2018,7),
+(10656,32549,2108,6),
+(10658,32549,2108,6),
+(10660,32549,2108,6),
+(20219,30350,4036,6),
+(20222,30350,4036,6),
+(26797,26790,3908,6),
+(26798,26790,3908,6),
+(26801,26790,3908,6);
diff --git a/sql/updates/0.10/5121_mangos_spell_affect.sql b/sql/updates/0.10/5121_mangos_spell_affect.sql
new file mode 100644
index 00000000000..7f79fe19968
--- /dev/null
+++ b/sql/updates/0.10/5121_mangos_spell_affect.sql
@@ -0,0 +1,33 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (11071,12496);
+INSERT INTO `spell_affect` VALUES
+ (11071,0,0,0,0,0,0,0x0000000000100000,0),
+ (12496,0,0,0,0,0,0,0x0000000000100000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (16578,16579,16580,16581,16582);
+INSERT INTO `spell_affect` VALUES
+ (16578,0,0,0,0,0,0,0x0000000000000003,0),
+ (16579,0,0,0,0,0,0,0x0000000000000003,0),
+ (16580,0,0,0,0,0,0,0x0000000000000003,0),
+ (16581,0,0,0,0,0,0,0x0000000000000003,0),
+ (16582,0,0,0,0,0,0,0x0000000000000003,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (16194,16218,16219,16220,16221);
+INSERT INTO `spell_affect` VALUES
+ (16194,0,0,0,0,0,0,0x00000000000001C3,0),
+ (16218,0,0,0,0,0,0,0x00000000000001C3,0),
+ (16219,0,0,0,0,0,0,0x00000000000001C3,0),
+ (16220,0,0,0,0,0,0,0x00000000000001C3,0),
+ (16221,0,0,0,0,0,0,0x00000000000001C3,0);
+
+DELETE FROM spell_affect WHERE entry IN (16934,16935,16936,16937,16938);
+INSERT INTO `spell_affect` VALUES
+ (16934,0,0,0,0,0,0,0x0010004000000800,0),
+ (16934,1,0,0,0,0,0,0x0000040000001000,0),
+ (16935,0,0,0,0,0,0,0x0010004000000800,0),
+ (16935,1,0,0,0,0,0,0x0000040000001000,0),
+ (16936,0,0,0,0,0,0,0x0010004000000800,0),
+ (16936,1,0,0,0,0,0,0x0000040000001000,0),
+ (16937,0,0,0,0,0,0,0x0010004000000800,0),
+ (16937,1,0,0,0,0,0,0x0000040000001000,0),
+ (16938,0,0,0,0,0,0,0x0010004000000800,0),
+ (16938,1,0,0,0,0,0,0x0000040000001000,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
new file mode 100644
index 00000000000..df839fcd158
--- /dev/null
+++ b/sql/updates/0.10/5123_mangos_spell_proc_event.sql
@@ -0,0 +1,27 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (34860,34859,34753);
+INSERT INTO `spell_proc_event` VALUES
+ (34860,0,0,0,6,0x0000000000001800,0x08000000,0),
+ (34859,0,0,0,6,0x0000000000001800,0x08000000,0),
+ (34753,0,0,0,6,0x0000000000001800,0x08000000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (45244,45243,45234);
+INSERT INTO `spell_proc_event` VALUES
+ (45244,0,0,0,0,0x0000000000000000,0x00842000,0),
+ (45243,0,0,0,0,0x0000000000000000,0x00842000,0),
+ (45234,0,0,0,0,0x0000000000000000,0x00842000,0);
+
+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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (35080);
+INSERT INTO `spell_proc_event` VALUES
+ (35080,0,0,0,0,0x0000000000000000,0x00000001,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (35077);
+INSERT INTO `spell_proc_event` VALUES
+ (35077,0,0,0,0,0x0000000000000000,0x00008000,0);
diff --git a/sql/updates/0.10/5128_mangos_spell_proc_event.sql b/sql/updates/0.10/5128_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..fa48a51d01e
--- /dev/null
+++ b/sql/updates/0.10/5128_mangos_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (24949,34082);
+INSERT INTO `spell_proc_event` VALUES
+ (24949,0,0,0,0,0x0000000000000000,0x00000000,0),
+ (34082,0,0,0,0,0x0000000000000000,0x00000000,0);
diff --git a/sql/updates/0.10/5130_mangos_spell_proc_event.sql b/sql/updates/0.10/5130_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..73c1bc5e256
--- /dev/null
+++ b/sql/updates/0.10/5130_mangos_spell_proc_event.sql
@@ -0,0 +1,53 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (21063,27539,28764,33493,38196);
+INSERT INTO `spell_proc_event` VALUES
+ (21063,0,0,0,0,0x0000000000000000,0x00008000,0),
+ (27539,0,0,0,0,0x0000000000000000,0x00100000,0),
+ (28764,0,0,0,0,0x0000000000000000,0x00100000,0),
+ (33493,0,0,0,0,0x0000000000000000,0x00000002,0),
+ (38196,0,0,0,0,0x0000000000000000,0x00000001,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (29441,29444,29445,29446,29447);
+INSERT INTO `spell_proc_event` VALUES
+ (29441,0,0,0,0,0x0000000000000000,0x01000000,0),
+ (29444,0,0,0,0,0x0000000000000000,0x01000000,0),
+ (29445,0,0,0,0,0x0000000000000000,0x01000000,0),
+ (29446,0,0,0,0,0x0000000000000000,0x01000000,0),
+ (29447,0,0,0,0,0x0000000000000000,0x01000000,0);
+
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (27243);
+INSERT INTO `spell_proc_event` VALUES
+ (27243,0,0,0,0,0x0000000000000000,0x00008000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (40438);
+INSERT INTO `spell_proc_event` VALUES
+ (40438,0,0,0,6,0x0000000000008010,0x08020000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (26169);
+INSERT INTO `spell_proc_event` VALUES
+ (26169,0,0,0,0,0x0000000000000000,0x08000000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (40442);
+INSERT INTO `spell_proc_event` VALUES
+ (40442,0,0,0,7,0x0000044000000014,0x00004000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (28719);
+INSERT INTO `spell_proc_event` VALUES
+ (28719,0,0,0,7,0x0000000000000020,0x10000000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (28847);
+INSERT INTO `spell_proc_event` VALUES
+ (28847,0,0,0,7,0x0000000000000020,0x00004000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (37288,37295);
+INSERT INTO `spell_proc_event` VALUES
+ (37288,0,0,0,0,0x0000000000000000,0x08000000,0),
+ (37295,0,0,0,0,0x0000000000000000,0x00020000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (31892);
+INSERT INTO `spell_proc_event` VALUES
+ (31892,0,0,0,0,0x0000000000000000,0x00000001,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (40470);
+INSERT INTO `spell_proc_event` VALUES
+ (40470,0,0,0,10,0x0000000000806000,0x00004000,0);
diff --git a/sql/updates/0.10/5146_mangos_spell_proc_event.sql b/sql/updates/0.10/5146_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..638d22c710e
--- /dev/null
+++ b/sql/updates/0.10/5146_mangos_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (37169,43745);
+INSERT INTO `spell_proc_event` VALUES
+ (37169,0,0,0,8,0x0000000000020000,0x00000000,0),
+ (43745,0,0,0,10,0x0000020000000000,0x00020000,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
new file mode 100644
index 00000000000..f8f35a9917a
--- /dev/null
+++ b/sql/updates/0.10/5147_mangos_spell_learn_spell.sql
@@ -0,0 +1,3 @@
+INSERT INTO `spell_learn_spell` ( `entry` , `SpellID` , `IfNoSpell` ) VALUES
+('17002', '24867', '0'),
+('24866', '24864', '0');
diff --git a/sql/updates/0.10/5156_mangos_spell_affect.sql b/sql/updates/0.10/5156_mangos_spell_affect.sql
new file mode 100644
index 00000000000..f4560987c42
--- /dev/null
+++ b/sql/updates/0.10/5156_mangos_spell_affect.sql
@@ -0,0 +1,85 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (43339);
+INSERT INTO `spell_affect` VALUES
+ (43339,0,0,0,0,0,0,0x0000000090100000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (16246);
+INSERT INTO `spell_affect` VALUES
+ (16246,0,0,0,0,0,0,0x0000000090100003,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (38434);
+INSERT INTO `spell_affect` VALUES
+ (38434,0,0,0,0,0,0,0x0000000000000100,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (16089);
+INSERT INTO `spell_affect` VALUES
+ (16089,0,0,0,0,0,0,0x00000004D33005C7,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (16166);
+INSERT INTO `spell_affect` VALUES
+ (16166,0,0,0,0,0,0,0x00000000901001C3,0),
+ (16166,1,0,0,0,0,0,0x00000000901001C3,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (29063);
+INSERT INTO `spell_affect` VALUES
+ (29063,0,0,0,0,0,0,0x00000000000009C3,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (37241);
+INSERT INTO `spell_affect` VALUES
+ (37241,0,0,0,0,0,0,0x0000020000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (38435);
+INSERT INTO `spell_affect` VALUES
+ (38435,0,0,0,0,0,0,0x0000000000000080,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (38436);
+INSERT INTO `spell_affect` VALUES
+ (38436,0,0,0,0,0,0,0x0000000000000001,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (34318,37209);
+INSERT INTO `spell_affect` VALUES
+ (34318,0,0,0,0,0,0,0x0000002000000000,0),
+ (37209,0,0,0,0,0,0,0x0000002000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (21895);
+INSERT INTO `spell_affect` VALUES
+ (21895,0,0,0,0,0,0,0x000000000403E000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (39805);
+INSERT INTO `spell_affect` VALUES
+ (39805,0,0,0,0,0,0,0x0000000000000003,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (30812,30813,30814);
+INSERT INTO `spell_affect` VALUES
+ (30812,0,0,0,0,0,0,0x00000C78B018141B,0),
+ (30813,0,0,0,0,0,0,0x00000C78B018141B,0),
+ (30814,0,0,0,0,0,0,0x00000C78B018141B,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (38501);
+INSERT INTO `spell_affect` VALUES
+ (38501,0,0,0,0,0,0,0x0000000000000080,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (36591);
+INSERT INTO `spell_affect` VALUES
+ (36591,1,0,0,0,0,0,0x00000410901005C3,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (28818);
+INSERT INTO `spell_affect` VALUES
+ (28818,0,0,0,0,0,0,0x0000000020081018,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (16173,16222,16223,16224,16225);
+INSERT INTO `spell_affect` VALUES
+ (16173,0,0,0,0,0,0,0x0000000020081018,0),
+ (16222,0,0,0,0,0,0,0x0000000020081018,0),
+ (16223,0,0,0,0,0,0,0x0000000020081018,0),
+ (16224,0,0,0,0,0,0,0x0000000020081018,0),
+ (16225,0,0,0,0,0,0,0x0000000020081018,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (16189);
+INSERT INTO `spell_affect` VALUES
+ (16189,0,0,0,0,0,0,0x000001000403E000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (39950);
+INSERT INTO `spell_affect` VALUES
+ (39950,0,0,0,0,0,0,0x0000000000000040,0);
+
+
diff --git a/sql/updates/0.10/5156_mangos_spell_proc_event.sql b/sql/updates/0.10/5156_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..0941e54642b
--- /dev/null
+++ b/sql/updates/0.10/5156_mangos_spell_proc_event.sql
@@ -0,0 +1,9 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (33746,40463);
+INSERT INTO `spell_proc_event` VALUES
+ (33746,0,0,0,0,0x0000000000000000,0x00000004,0),
+ (40463,0,0,0,11,0x0000001000000081,0x00004001,0);
+
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (43338);
+INSERT INTO `spell_proc_event` VALUES
+ (43338,0,0,0,0,0x0000000000000000,0x00001000,0);
diff --git a/sql/updates/0.10/5158_mangos_spell_affect.sql b/sql/updates/0.10/5158_mangos_spell_affect.sql
new file mode 100644
index 00000000000..94867e6a47b
--- /dev/null
+++ b/sql/updates/0.10/5158_mangos_spell_affect.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (36591);
diff --git a/sql/updates/0.10/5159_characters_guild_bank_eventlog.sql b/sql/updates/0.10/5159_characters_guild_bank_eventlog.sql
new file mode 100644
index 00000000000..e098bd9d9b5
--- /dev/null
+++ b/sql/updates/0.10/5159_characters_guild_bank_eventlog.sql
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 00000000000..364c6ea2de5
--- /dev/null
+++ b/sql/updates/0.10/5159_characters_guild_bank_item.sql
@@ -0,0 +1,9 @@
+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`);
+
+UPDATE `guild_bank_item` ,`item_instance`
+ SET `guild_bank_item`.`item_entry` = SUBSTRING_INDEX(SUBSTRING_INDEX(`item_instance`.`data`, ' ', 4), ' ', -1)
+ WHERE `guild_bank_item`.`item_guid` = `item_instance`.`guid`;
+
diff --git a/sql/updates/0.10/5159_characters_guild_bank_right.sql b/sql/updates/0.10/5159_characters_guild_bank_right.sql
new file mode 100644
index 00000000000..6d64b15996f
--- /dev/null
+++ b/sql/updates/0.10/5159_characters_guild_bank_right.sql
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 00000000000..6ab0de6f4b2
--- /dev/null
+++ b/sql/updates/0.10/5159_characters_guild_bank_tab.sql
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 00000000000..396f2417d73
--- /dev/null
+++ b/sql/updates/0.10/5159_characters_guild_memeber.sql
@@ -0,0 +1,5 @@
+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
new file mode 100644
index 00000000000..fb10c4b8012
--- /dev/null
+++ b/sql/updates/0.10/5160_mangos_command.sql
@@ -0,0 +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.');
diff --git a/sql/updates/0.10/5163_mangos_spell_affect.sql b/sql/updates/0.10/5163_mangos_spell_affect.sql
new file mode 100644
index 00000000000..69676ce313f
--- /dev/null
+++ b/sql/updates/0.10/5163_mangos_spell_affect.sql
@@ -0,0 +1,8 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (16113,16114,16115,16116,16040,22804);
+INSERT INTO `spell_affect` VALUES
+ (16113,0,0,0,0,0,0,0x0000000090100000,0),
+ (16114,0,0,0,0,0,0,0x0000000090100000,0),
+ (16115,0,0,0,0,0,0,0x0000000090100000,0),
+ (16116,0,0,0,0,0,0,0x0000000090100000,0),
+ (16040,0,0,0,0,0,0,0x0000000090100000,0),
+ (22804,0,0,0,0,0,0,0x0000000090100000,0);
diff --git a/sql/updates/0.10/5163_mangos_spell_proc_event.sql b/sql/updates/0.10/5163_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..d85b344460a
--- /dev/null
+++ b/sql/updates/0.10/5163_mangos_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (26119,43748);
+INSERT INTO `spell_proc_event` VALUES
+ (26119,0,0,0,11,0x0000000090100003,0x00004000,0),
+ (43748,0,0,0,11,0x0000000090100000,0x00004000,0);
diff --git a/sql/updates/0.10/5164_mangos_creature_movement.sql b/sql/updates/0.10/5164_mangos_creature_movement.sql
new file mode 100644
index 00000000000..082845ffe11
--- /dev/null
+++ b/sql/updates/0.10/5164_mangos_creature_movement.sql
@@ -0,0 +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;
diff --git a/sql/updates/0.10/5165_mangos_mangos_string.sql b/sql/updates/0.10/5165_mangos_mangos_string.sql
new file mode 100644
index 00000000000..1722148b4de
--- /dev/null
+++ b/sql/updates/0.10/5165_mangos_mangos_string.sql
@@ -0,0 +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,' <unknown> ',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(46,'<error>',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(47,'<non-existing character>',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,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/5166_mangos_mangos_string.sql b/sql/updates/0.10/5166_mangos_mangos_string.sql
new file mode 100644
index 00000000000..f50f8983020
--- /dev/null
+++ b/sql/updates/0.10/5166_mangos_mangos_string.sql
@@ -0,0 +1,3 @@
+DELETE FROM `mangos_string` WHERE `entry`= 706;
+INSERT INTO `mangos_string` VALUES
+(706,'This item(s) have problems with equipping/storing in inventory.',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/0.10/5172_mangos_mangos_string.sql b/sql/updates/0.10/5172_mangos_mangos_string.sql
new file mode 100644
index 00000000000..a9423d997f3
--- /dev/null
+++ b/sql/updates/0.10/5172_mangos_mangos_string.sql
@@ -0,0 +1,12 @@
+DELETE FROM `mangos_string` WHERE `entry` in (101,152,160,168,288,290,423,524,539,542);
+INSERT INTO `mangos_string` VALUES
+(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),
+(152,'USER1: %i, ADD: %i, DIF: %i\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(160,'USER2: %i, ADD: %i, RESULT: %i\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(168,'Locations found are:\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(288,'Tickets count: %i show new tickets: %s\n',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(290,'Ticket of %s (Category: %i):\n%s\n',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),
+(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),
+(539,'Player selected NPC\nGUID: %u.\nFaction: %u.\nnpcFlags: %u.\nEntry: %u.\nDisplayID: %u (Native: %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);
diff --git a/sql/updates/0.10/5180_mangos_spell_affect.sql b/sql/updates/0.10/5180_mangos_spell_affect.sql
new file mode 100644
index 00000000000..c4016284c50
--- /dev/null
+++ b/sql/updates/0.10/5180_mangos_spell_affect.sql
@@ -0,0 +1,6 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (12303,12788,12789);
+INSERT INTO `spell_affect` VALUES
+ (12303,1,0,0,0,0,0,0x0000100000000000,0),
+ (12788,1,0,0,0,0,0,0x0000100000000000,0),
+ (12789,1,0,0,0,0,0,0x0000100000000000,0);
+
diff --git a/sql/updates/0.10/5181_mangos_mangos_string.sql b/sql/updates/0.10/5181_mangos_mangos_string.sql
new file mode 100644
index 00000000000..492533f85a4
--- /dev/null
+++ b/sql/updates/0.10/5181_mangos_mangos_string.sql
@@ -0,0 +1,3 @@
+DELETE FROM `mangos_string` WHERE `entry` = 548;
+INSERT INTO `mangos_string` VALUES
+ (548,'Player%s %s (guid: %u) Account: %s (id: %u) GMLevel: %u Last IP: %s Latency: %ums',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/0.10/5185_mangos_spell_proc_event.sql b/sql/updates/0.10/5185_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..79c506857ba
--- /dev/null
+++ b/sql/updates/0.10/5185_mangos_spell_proc_event.sql
@@ -0,0 +1,15 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (20185,20344,20345,20346,27162);
+INSERT INTO `spell_proc_event` VALUES
+ (20185,0,0,0,0,0x0000000000000000,0x00000002,0),
+ (20344,0,0,0,0,0x0000000000000000,0x00000002,0),
+ (20345,0,0,0,0,0x0000000000000000,0x00000002,0),
+ (20346,0,0,0,0,0x0000000000000000,0x00000002,0),
+ (27162,0,0,0,0,0x0000000000000000,0x00000002,0);
+
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (20186,20354,20355,27164);
+INSERT INTO `spell_proc_event` VALUES
+ (20186,0,0,0,0,0x0000000000000000,0x00100402,0),
+ (20354,0,0,0,0,0x0000000000000000,0x00100402,0),
+ (20355,0,0,0,0,0x0000000000000000,0x00100402,0),
+ (27164,0,0,0,0,0x0000000000000000,0x00100402,0);
diff --git a/sql/updates/0.10/5191_mangos_spell_threat.sql b/sql/updates/0.10/5191_mangos_spell_threat.sql
new file mode 100644
index 00000000000..c7afd17384b
--- /dev/null
+++ b/sql/updates/0.10/5191_mangos_spell_threat.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_threat` WHERE `entry` = 2139;
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES
+(2139, 300); \ No newline at end of file
diff --git a/sql/updates/0.10/5197_mangos_spell_affect.sql b/sql/updates/0.10/5197_mangos_spell_affect.sql
new file mode 100644
index 00000000000..1b113b4a180
--- /dev/null
+++ b/sql/updates/0.10/5197_mangos_spell_affect.sql
@@ -0,0 +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);
+
diff --git a/sql/updates/0.10/5199_characters_guild_bank_eventlog.sql b/sql/updates/0.10/5199_characters_guild_bank_eventlog.sql
new file mode 100644
index 00000000000..27867c0ff6e
--- /dev/null
+++ b/sql/updates/0.10/5199_characters_guild_bank_eventlog.sql
@@ -0,0 +1 @@
+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
new file mode 100644
index 00000000000..3a8eb9a937f
--- /dev/null
+++ b/sql/updates/0.10/5201_mangos_spell_affect.sql
@@ -0,0 +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
diff --git a/sql/updates/0.10/5212_mangos_command.sql b/sql/updates/0.10/5212_mangos_command.sql
new file mode 100644
index 00000000000..51f5948ed90
--- /dev/null
+++ b/sql/updates/0.10/5212_mangos_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM command WHERE name IN ('.casttarget');
+
+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/5212_mangos_mangos_string.sql b/sql/updates/0.10/5212_mangos_mangos_string.sql
new file mode 100644
index 00000000000..b84f7d59488
--- /dev/null
+++ b/sql/updates/0.10/5212_mangos_mangos_string.sql
@@ -0,0 +1,3 @@
+DELETE FROM `mangos_string` WHERE `entry` = 579;
+INSERT INTO `mangos_string` VALUES
+ (579,'Selected player or creature not have victim.',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/0.10/5217_characters_character.sql b/sql/updates/0.10/5217_characters_character.sql
new file mode 100644
index 00000000000..61d6e105c11
--- /dev/null
+++ b/sql/updates/0.10/5217_characters_character.sql
@@ -0,0 +1,2 @@
+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
new file mode 100644
index 00000000000..5c5fecb14ed
--- /dev/null
+++ b/sql/updates/0.10/5228_mangos_gameobject_scripts.sql
@@ -0,0 +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;
diff --git a/sql/updates/0.10/5233_mangos_event_scripts.sql b/sql/updates/0.10/5233_mangos_event_scripts.sql
new file mode 100644
index 00000000000..1ab97a526d8
--- /dev/null
+++ b/sql/updates/0.10/5233_mangos_event_scripts.sql
@@ -0,0 +1 @@
+ALTER TABLE `gameobject_scripts` RENAME TO `event_scripts`;
diff --git a/sql/updates/0.10/5234_mangos_spell_proc_event.sql b/sql/updates/0.10/5234_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..9ed803db866
--- /dev/null
+++ b/sql/updates/0.10/5234_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (29601);
+INSERT INTO `spell_proc_event` VALUES
+(29601,0,0,0,7,0x0000000000000000,0x00004000,0);
diff --git a/sql/updates/0.10/5238_mangos_spell_proc_event.sql b/sql/updates/0.10/5238_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..d6515853e98
--- /dev/null
+++ b/sql/updates/0.10/5238_mangos_spell_proc_event.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (33727,33754,33755,33756,33757);
+INSERT INTO `spell_proc_event` VALUES
+(33727,0,0,0,0,0x0000000000000000,0x00000000,0), /* not used*/
+(33754,0,0,0,0,0x0000000000000000,0x00000000,0), /* not used*/
+(33755,0,0,0,0,0x0000000000000000,0x00000000,0), /* not used*/
+(33756,0,0,0,0,0x0000000000000000,0x00000000,0), /* not used*/
+(33757,0,0,0,0,0x0000000000000000,0x00000001,0);
diff --git a/sql/updates/0.10/5242_mangos_instance_template.sql b/sql/updates/0.10/5242_mangos_instance_template.sql
new file mode 100644
index 00000000000..e0229a66cd2
--- /dev/null
+++ b/sql/updates/0.10/5242_mangos_instance_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `instance_template`
+ ADD `parent` int(11) unsigned NOT NULL AFTER `map`;
diff --git a/sql/updates/0.10/5243_mangos_spell_affect.sql b/sql/updates/0.10/5243_mangos_spell_affect.sql
new file mode 100644
index 00000000000..21e9a0bea76
--- /dev/null
+++ b/sql/updates/0.10/5243_mangos_spell_affect.sql
@@ -0,0 +1,8 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (33886,33887,33888,33889,33890);
+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),
+(33889,0,0,0,0,0,0,0x00000010000000d0, 0),
+(33890,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
new file mode 100644
index 00000000000..37d52b21e33
--- /dev/null
+++ b/sql/updates/0.10/5249_mangos_spell_learn_skill.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_learn_skill` WHERE `entry` IN (29932);
+INSERT INTO `spell_learn_skill` (`entry`, `SkillID`, `Value`, `MaxValue`) VALUE
+(29932,759,-1,-1);
diff --git a/sql/updates/0.10/5254_mangos_spell_affect.sql b/sql/updates/0.10/5254_mangos_spell_affect.sql
new file mode 100644
index 00000000000..15225141898
--- /dev/null
+++ b/sql/updates/0.10/5254_mangos_spell_affect.sql
@@ -0,0 +1,11 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (31579,31582,31583) AND `effectId`=0;
+INSERT INTO `spell_affect` VALUES
+ (31579,0,0,0,0,0,0,0x0000000000200000,0),
+ (31582,0,0,0,0,0,0,0x0000000000200000,0),
+ (31583,0,0,0,0,0,0,0x0000000000200000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (20237,20238,20239);
+INSERT INTO `spell_affect` VALUES
+ (20237,0,0,0,0,0,0,0x0000000000006000,0),
+ (20238,0,0,0,0,0,0,0x0000000000006000,0),
+ (20239,0,0,0,0,0,0,0x0000000000006000,0);
diff --git a/sql/updates/0.10/5254_mangos_spell_proc_event.sql b/sql/updates/0.10/5254_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..c7d27f41d96
--- /dev/null
+++ b/sql/updates/0.10/5254_mangos_spell_proc_event.sql
@@ -0,0 +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);
diff --git a/sql/updates/0.10/5258_characters_character.sql b/sql/updates/0.10/5258_characters_character.sql
new file mode 100644
index 00000000000..a40b01fd0e6
--- /dev/null
+++ b/sql/updates/0.10/5258_characters_character.sql
@@ -0,0 +1 @@
+ALTER TABLE `character` ADD KEY `idx_name` (`name`); \ No newline at end of file
diff --git a/sql/updates/0.10/5265_mangos_spell_proc_event.sql b/sql/updates/0.10/5265_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..9329b06b7a6
--- /dev/null
+++ b/sql/updates/0.10/5265_mangos_spell_proc_event.sql
@@ -0,0 +1,31 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (39446);
+INSERT INTO `spell_proc_event` VALUES
+(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
+(32863,0,0,0,0,0x0000000000000000,0x00008000,0),
+(36123,0,0,0,0,0x0000000000000000,0x00008000,0),
+(38252,0,0,0,0,0x0000000000000000,0x00008000,0),
+(39367,0,0,0,0,0x0000000000000000,0x00008000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (37381);
+INSERT INTO `spell_proc_event` VALUES
+(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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (28789);
+INSERT INTO `spell_proc_event` VALUES
+(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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (37655,38334);
+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
new file mode 100644
index 00000000000..289da45efc5
--- /dev/null
+++ b/sql/updates/0.10/5269_mangos_uptime.sql
@@ -0,0 +1,2 @@
+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
new file mode 100644
index 00000000000..52f523aeba6
--- /dev/null
+++ b/sql/updates/0.10/5270_mangos_gameobject_scripts.sql
@@ -0,0 +1 @@
+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
new file mode 100644
index 00000000000..699ea9d003c
--- /dev/null
+++ b/sql/updates/0.10/5272_mangos_mangos_string.sql
@@ -0,0 +1,6 @@
+DELETE FROM `mangos_string` WHERE `entry` in (707,708,709,710);
+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);
diff --git a/sql/updates/0.10/5286_characters_character_pet.sql b/sql/updates/0.10/5286_characters_character_pet.sql
new file mode 100644
index 00000000000..37747b31962
--- /dev/null
+++ b/sql/updates/0.10/5286_characters_character_pet.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `character_pet`
+ DROP `nextlvlexp`;
diff --git a/sql/updates/0.10/5292_mangos_spell_proc_event.sql b/sql/updates/0.10/5292_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..d1277c8958f
--- /dev/null
+++ b/sql/updates/0.10/5292_mangos_spell_proc_event.sql
@@ -0,0 +1,8 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (13743,13875);
+INSERT INTO `spell_proc_event` VALUES
+(13743,0,0,0,8,0x0000000000000040,0x00004000,0),
+(13875,0,0,0,8,0x0000000000000040,0x00004000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (16864);
+INSERT INTO `spell_proc_event` VALUES
+(16864,0,0,0,0,0x0000000000000000,0x00000001,2);
diff --git a/sql/updates/0.10/5295_mangos_creature_template.sql b/sql/updates/0.10/5295_mangos_creature_template.sql
new file mode 100644
index 00000000000..016b112e4d3
--- /dev/null
+++ b/sql/updates/0.10/5295_mangos_creature_template.sql
@@ -0,0 +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
diff --git a/sql/updates/0.10/5297_characters.sql b/sql/updates/0.10/5297_characters.sql
new file mode 100644
index 00000000000..a2055b648db
--- /dev/null
+++ b/sql/updates/0.10/5297_characters.sql
@@ -0,0 +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
diff --git a/sql/updates/0.10/5297_mangos.sql b/sql/updates/0.10/5297_mangos.sql
new file mode 100644
index 00000000000..e009a5b13ae
--- /dev/null
+++ b/sql/updates/0.10/5297_mangos.sql
@@ -0,0 +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
diff --git a/sql/updates/0.10/5297_realmd_account.sql b/sql/updates/0.10/5297_realmd_account.sql
new file mode 100644
index 00000000000..771f4dcd7fa
--- /dev/null
+++ b/sql/updates/0.10/5297_realmd_account.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `account`
+ CHANGE COLUMN `I` `sha_pass_hash` VARCHAR(40) NOT NULL default ''; \ No newline at end of file
diff --git a/sql/updates/0.10/5302_mangos_player_levelstats.sql b/sql/updates/0.10/5302_mangos_player_levelstats.sql
new file mode 100644
index 00000000000..55f768f7886
--- /dev/null
+++ b/sql/updates/0.10/5302_mangos_player_levelstats.sql
@@ -0,0 +1,13 @@
+ALTER TABLE player_levelstats
+ ADD COLUMN basehp smallint(5) unsigned NOT NULL AFTER level,
+ ADD COLUMN basemana smallint(5) unsigned NOT NULL AFTER basehp;
+
+UPDATE player_levelstats SET basehp = hp - sta WHERE sta <= 20;
+UPDATE player_levelstats SET basehp = hp - 20 - (sta-20)*10 WHERE sta > 20;
+
+UPDATE player_levelstats SET basemana = mana - inte WHERE mana > 0 and inte <= 20;
+UPDATE player_levelstats SET basemana = mana - 20 - (inte-20)*15 WHERE mana > 0 and inte > 20;
+
+ALTER TABLE player_levelstats
+ DROP COLUMN hp,
+ DROP COLUMN mana;
diff --git a/sql/updates/0.10/5311_mangos_spell_affect.sql b/sql/updates/0.10/5311_mangos_spell_affect.sql
new file mode 100644
index 00000000000..7ef9608196f
--- /dev/null
+++ b/sql/updates/0.10/5311_mangos_spell_affect.sql
@@ -0,0 +1,3 @@
+DELETE FROM spell_affect WHERE entry IN (28746);
+INSERT INTO spell_affect VALUES
+ (28746,1,0,0,0,0,0,0x0000000100000406,0);
diff --git a/sql/updates/0.10/5326_mangos_spell_affect.sql b/sql/updates/0.10/5326_mangos_spell_affect.sql
new file mode 100644
index 00000000000..5f42e540919
--- /dev/null
+++ b/sql/updates/0.10/5326_mangos_spell_affect.sql
@@ -0,0 +1,8 @@
+DELETE FROM spell_affect WHERE entry IN (16858,16859,16860);
+INSERT INTO spell_affect VALUES
+ (16858,0,0,0,0,0,0,0x0000000000000008,0),
+ (16858,1,0,0,0,0,0,0x0000000000800000,0),
+ (16859,0,0,0,0,0,0,0x0000000000000008,0),
+ (16859,1,0,0,0,0,0,0x0000000000800000,0),
+ (16860,0,0,0,0,0,0,0x0000000000000008,0),
+ (16860,1,0,0,0,0,0,0x0000000000800000,0);
diff --git a/sql/updates/0.10/5335_mangos_mangos_string.sql b/sql/updates/0.10/5335_mangos_mangos_string.sql
new file mode 100644
index 00000000000..f3f45926733
--- /dev/null
+++ b/sql/updates/0.10/5335_mangos_mangos_string.sql
@@ -0,0 +1,3 @@
+DELETE FROM mangos_string WHERE entry in (12);
+INSERT INTO mangos_string VALUES
+(12,'Online players: %u (max: %u) Queued players: %u (max: %u)',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/0.10/5343_mangos_spell_proc_event.sql b/sql/updates/0.10/5343_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..21d73c6da49
--- /dev/null
+++ b/sql/updates/0.10/5343_mangos_spell_proc_event.sql
@@ -0,0 +1,7 @@
+DELETE FROM spell_proc_event WHERE entry IN (39958);
+INSERT INTO spell_proc_event VALUES
+(39958,0,0,0,0,0x0000000000000000,0x00000001,0.7);
+
+DELETE FROM spell_proc_event WHERE entry IN (33759);
+INSERT INTO `spell_proc_event` VALUES
+(33759,0,0,0,0,0x0000000000000000,0x00000004,0);
diff --git a/sql/updates/0.10/5347_mangos_spell_affect.sql b/sql/updates/0.10/5347_mangos_spell_affect.sql
new file mode 100644
index 00000000000..8ba845e9df7
--- /dev/null
+++ b/sql/updates/0.10/5347_mangos_spell_affect.sql
@@ -0,0 +1,3 @@
+DELETE FROM spell_affect WHERE entry IN (5420);
+INSERT INTO spell_affect VALUES
+ (5420,2,0,0,0,0,0,0x00000010000000F0,0);
diff --git a/sql/updates/0.10/5350_mangos_spell_affect.sql b/sql/updates/0.10/5350_mangos_spell_affect.sql
new file mode 100644
index 00000000000..e712c312342
--- /dev/null
+++ b/sql/updates/0.10/5350_mangos_spell_affect.sql
@@ -0,0 +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
diff --git a/sql/updates/0.10/5351_mangos_spell_proc_event.sql b/sql/updates/0.10/5351_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..22b96f63e9f
--- /dev/null
+++ b/sql/updates/0.10/5351_mangos_spell_proc_event.sql
@@ -0,0 +1,10 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (14892,15362,15363);
+INSERT INTO `spell_proc_event` VALUES
+(14892,0,0,0,6,0x0000000410001E00,0x10000000,0),
+(15362,0,0,0,6,0x0000000410001E00,0x10000000,0),
+(15363,0,0,0,6,0x0000000410001E00,0x10000000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (33150,33154);
+INSERT INTO `spell_proc_event` VALUES
+(33150,0,0,0,0,0x0000000000000000,0x10010000,0),
+(33154,0,0,0,0,0x0000000000000000,0x10010000,0);
diff --git a/sql/updates/0.10/5363_mangos_creature_template.sql b/sql/updates/0.10/5363_mangos_creature_template.sql
new file mode 100644
index 00000000000..3435bd17b0b
--- /dev/null
+++ b/sql/updates/0.10/5363_mangos_creature_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `creature_template`
+ ADD `scale` float default '0' AFTER `speed`; \ No newline at end of file
diff --git a/sql/updates/0.10/5366_mangos_spell_proc_event.sql b/sql/updates/0.10/5366_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..5993a00231a
--- /dev/null
+++ b/sql/updates/0.10/5366_mangos_spell_proc_event.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (35541,35550,35551,35552,35553);
+INSERT INTO `spell_proc_event` VALUES
+(35541,0,0,0,0,0x0000000000000000,0x00000001,0),
+(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);
diff --git a/sql/updates/0.10/5367_mangos_spell_affect.sql b/sql/updates/0.10/5367_mangos_spell_affect.sql
new file mode 100644
index 00000000000..19c081ca97a
--- /dev/null
+++ b/sql/updates/0.10/5367_mangos_spell_affect.sql
@@ -0,0 +1,3 @@
+DELETE FROM spell_affect WHERE entry IN (32601);
+INSERT INTO spell_affect VALUES
+ (32601,1,0,0,0,0,0,0x0000000020800008,0);
diff --git a/sql/updates/0.10/5370_mangos_spell_affect.sql b/sql/updates/0.10/5370_mangos_spell_affect.sql
new file mode 100644
index 00000000000..2adb3f1adc7
--- /dev/null
+++ b/sql/updates/0.10/5370_mangos_spell_affect.sql
@@ -0,0 +1,87 @@
+DELETE FROM spell_affect WHERE entry IN (14177);
+INSERT INTO spell_affect VALUES
+ (14177,0,0,0,0,0,0,0x000000086012031E,0);
+
+DELETE FROM spell_affect WHERE entry IN (14082,14083);
+INSERT INTO spell_affect VALUES
+ (14082,0,0,0,0,0,0,0x0000000000000500,0),
+ (14083,0,0,0,0,0,0,0x0000000000000500,0);
+
+DELETE FROM spell_affect WHERE entry IN (14076,14094);
+INSERT INTO spell_affect VALUES
+ (14076,0,0,0,0,0,0,0x0000000001000080,0),
+ (14076,1,0,0,0,0,0,0x0000000001000080,0),
+ (14094,0,0,0,0,0,0,0x0000000001000080,0),
+ (14094,1,0,0,0,0,0,0x0000000001000080,0);
+
+DELETE FROM spell_affect WHERE entry IN (37166);
+INSERT INTO spell_affect VALUES
+ (37166,0,0,0,0,0,0,0x0000000000800000,0);
+
+DELETE FROM spell_affect WHERE entry IN (31234,31235,31236,31237,31238);
+INSERT INTO spell_affect VALUES
+ (31234,0,0,0,0,0,0,0x000001002612030F,0),
+ (31234,1,0,0,0,0,0,0x0000000000100100,0),
+ (31235,0,0,0,0,0,0,0x000001002612030F,0),
+ (31235,1,0,0,0,0,0,0x0000000000100100,0),
+ (31236,0,0,0,0,0,0,0x000001002612030F,0),
+ (31236,1,0,0,0,0,0,0x0000000000100100,0),
+ (31237,0,0,0,0,0,0,0x000001002612030F,0),
+ (31237,1,0,0,0,0,0,0x0000000000100100,0),
+ (31238,0,0,0,0,0,0,0x000001002612030F,0),
+ (31238,1,0,0,0,0,0,0x0000000000100100,0);
+
+DELETE FROM spell_affect WHERE entry IN (14128,14132,14135,14136,14137);
+INSERT INTO spell_affect VALUES
+ (14128,0,0,0,0,0,0,0x000000062600000E,0),
+ (14132,0,0,0,0,0,0,0x000000062600000E,0),
+ (14135,0,0,0,0,0,0,0x000000062600000E,0),
+ (14136,0,0,0,0,0,0,0x000000062600000E,0),
+ (14137,0,0,0,0,0,0,0x000000062600000E,0);
+
+DELETE FROM spell_affect WHERE entry IN (14057,14072,14073,14074,14075);
+INSERT INTO spell_affect VALUES
+ (14057,0,0,0,0,0,0,0x0000000600000304,0),
+ (14057,1,0,0,0,0,0,0x0000000000000100,0),
+ (14072,0,0,0,0,0,0,0x0000000600000304,0),
+ (14072,1,0,0,0,0,0,0x0000000000000100,0),
+ (14073,0,0,0,0,0,0,0x0000000600000304,0),
+ (14073,1,0,0,0,0,0,0x0000000000000100,0),
+ (14074,0,0,0,0,0,0,0x0000000600000304,0),
+ (14074,1,0,0,0,0,0,0x0000000000000100,0),
+ (14075,0,0,0,0,0,0,0x0000000600000304,0),
+ (14075,1,0,0,0,0,0,0x0000000000000100,0);
+
+DELETE FROM spell_affect WHERE entry IN (14143,14149,14151);
+INSERT INTO spell_affect VALUES
+ (14143,0,0,0,0,0,0,0x0000000606000206,0),
+ (14149,0,0,0,0,0,0,0x0000000606000206,0),
+ (14151,0,0,0,0,0,0,0x0000000606000206,0);
+
+DELETE FROM spell_affect WHERE entry IN (28815);
+INSERT INTO spell_affect VALUES
+ (28815,0,0,0,0,0,0,0x0000000002000006,0);
+
+DELETE FROM spell_affect WHERE entry IN (36563);
+INSERT INTO spell_affect VALUES
+ (36563,1,0,0,0,0,0,0x0000000000000204,0),
+ (36563,2,0,0,0,0,0,0x0000000000000100,0);
+
+DELETE FROM spell_affect WHERE entry IN (16513,16514,16515,16719,16720);
+INSERT INTO spell_affect VALUES
+ (16513,0,0,0,0,0,0,0x000000080001E000,0),
+ (16513,1,0,0,0,0,0,0x000000000001E000,0),
+ (16513,2,0,0,0,0,0,0x000000000001E000,0),
+ (16514,0,0,0,0,0,0,0x000000080001E000,0),
+ (16514,1,0,0,0,0,0,0x000000000001E000,0),
+ (16514,2,0,0,0,0,0,0x000000000001E000,0),
+ (16515,0,0,0,0,0,0,0x000000080001E000,0),
+ (16515,1,0,0,0,0,0,0x000000000001E000,0),
+ (16515,2,0,0,0,0,0,0x000000000001E000,0),
+ (16719,0,0,0,0,0,0,0x000000080001E000,0),
+ (16719,1,0,0,0,0,0,0x000000000001E000,0),
+ (16719,2,0,0,0,0,0,0x000000000001E000,0),
+ (16720,0,0,0,0,0,0,0x000000080001E000,0),
+ (16720,1,0,0,0,0,0,0x000000000001E000,0),
+ (16720,2,0,0,0,0,0,0x000000000001E000,0);
+
diff --git a/sql/updates/0.10/5374_mangos_spell_affect.sql b/sql/updates/0.10/5374_mangos_spell_affect.sql
new file mode 100644
index 00000000000..77bb74fca5b
--- /dev/null
+++ b/sql/updates/0.10/5374_mangos_spell_affect.sql
@@ -0,0 +1,4 @@
+DELETE FROM spell_affect WHERE entry IN (29888,29889);
+INSERT INTO spell_affect VALUES
+ (29888,0,0,0,0,0,0,0x0000000040000000,0),
+ (29889,0,0,0,0,0,0,0x0000000040000000,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
new file mode 100644
index 00000000000..2d85c46a9f9
--- /dev/null
+++ b/sql/updates/0.10/5378_mangos_spell_proc_event.sql
@@ -0,0 +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);
diff --git a/sql/updates/0.10/5379_mangos_spell_proc_event.sql b/sql/updates/0.10/5379_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..16aa74f8ca6
--- /dev/null
+++ b/sql/updates/0.10/5379_mangos_spell_proc_event.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (34580);
diff --git a/sql/updates/0.10/5402_mangos_spell_proc_event.sql b/sql/updates/0.10/5402_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..eee94f6a3d6
--- /dev/null
+++ b/sql/updates/0.10/5402_mangos_spell_proc_event.sql
@@ -0,0 +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);
+
diff --git a/sql/updates/0.10/5408_characters_mail_items.sql b/sql/updates/0.10/5408_characters_mail_items.sql
new file mode 100644
index 00000000000..cd0867c730e
--- /dev/null
+++ b/sql/updates/0.10/5408_characters_mail_items.sql
@@ -0,0 +1,8 @@
+ALTER TABLE mail_items
+ ADD COLUMN receiver int(11) unsigned NOT NULL default 0 COMMENT 'Character Global Unique Identifier' AFTER item_template;
+
+UPDATE mail_items, mail
+ SET mail_items.receiver = mail.receiver WHERE mail_items.mail_id = mail.id;
+
+DELETE FROM item_instance WHERE guid IN (SELECT item_guid FROM mail_items WHERE mail_items.receiver = 0);
+DELETE FROM mail_items WHERE mail_items.receiver = 0;
diff --git a/sql/updates/0.10/5411_mangos_spell_affect.sql b/sql/updates/0.10/5411_mangos_spell_affect.sql
new file mode 100644
index 00000000000..71409d0ee50
--- /dev/null
+++ b/sql/updates/0.10/5411_mangos_spell_affect.sql
@@ -0,0 +1,5 @@
+DELETE FROM spell_affect WHERE `entry` IN (33167, 33171, 33172);
+INSERT INTO spell_affect VALUES
+ (33167,0,0,0,0,0,0,0x0000008100000000,0),
+ (33171,0,0,0,0,0,0,0x0000008100000000,0),
+ (33172,0,0,0,0,0,0,0x0000008100000000,0);
diff --git a/sql/updates/0.10/5419_mangos_spell_affect.sql b/sql/updates/0.10/5419_mangos_spell_affect.sql
new file mode 100644
index 00000000000..942e4a5f28f
--- /dev/null
+++ b/sql/updates/0.10/5419_mangos_spell_affect.sql
@@ -0,0 +1,8 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (29723,29724,29725);
+INSERT INTO `spell_affect` VALUES
+ (29723,0,0,0,0,0,0,0x0000000800002010,0),
+ (29723,1,0,0,0,0,0,0x0000000800002010,0),
+ (29724,0,0,0,0,0,0,0x0000000800002010,0),
+ (29724,1,0,0,0,0,0,0x0000000800002010,0),
+ (29725,0,0,0,0,0,0,0x0000000800002010,0),
+ (29725,1,0,0,0,0,0,0x0000000800002010,0);
diff --git a/sql/updates/0.10/5420_characters_mail_items.sql b/sql/updates/0.10/5420_characters_mail_items.sql
new file mode 100644
index 00000000000..f4df8f2a30f
--- /dev/null
+++ b/sql/updates/0.10/5420_characters_mail_items.sql
@@ -0,0 +1 @@
+ALTER TABLE `mail_items` ADD KEY `idx_receiver` (`receiver`); \ No newline at end of file
diff --git a/sql/updates/0.10/5422_mangos_spell_proc_event.sql b/sql/updates/0.10/5422_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..8a178935878
--- /dev/null
+++ b/sql/updates/0.10/5422_mangos_spell_proc_event.sql
@@ -0,0 +1,9 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 15600 );
+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
+(33881,0,0,0,0,0x0000000000000000,0x00842000,0),
+(33882,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
new file mode 100644
index 00000000000..214e3b7a389
--- /dev/null
+++ b/sql/updates/0.10/5441_characters_petition_petition_sign.sql
@@ -0,0 +1,5 @@
+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/5443_mangos_item_template.sql b/sql/updates/0.10/5443_mangos_item_template.sql
new file mode 100644
index 00000000000..22502afb2c2
--- /dev/null
+++ b/sql/updates/0.10/5443_mangos_item_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE item_template
+ CHANGE COLUMN RequiredArenaRank CondExtendedCost int(10) unsigned NOT NULL default '0';
diff --git a/sql/updates/0.10/5445_mangos_spell_affect.sql b/sql/updates/0.10/5445_mangos_spell_affect.sql
new file mode 100644
index 00000000000..83bef662b2a
--- /dev/null
+++ b/sql/updates/0.10/5445_mangos_spell_affect.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (17815,17833,17834,17835,17836);
+INSERT INTO `spell_affect` VALUES
+ (17815,0,0,0,0,0,0,0x0000000000000004,0),
+ (17833,0,0,0,0,0,0,0x0000000000000004,0),
+ (17834,0,0,0,0,0,0,0x0000000000000004,0),
+ (17835,0,0,0,0,0,0,0x0000000000000004,0),
+ (17836,0,0,0,0,0,0,0x0000000000000004,0);
diff --git a/sql/updates/0.10/5446_mangos_creature_template.sql b/sql/updates/0.10/5446_mangos_creature_template.sql
new file mode 100644
index 00000000000..1fff19e6411
--- /dev/null
+++ b/sql/updates/0.10/5446_mangos_creature_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `creature_template`
+ ADD COLUMN IconName char(100) default NULL AFTER subname;
diff --git a/sql/updates/0.10/5451_characters_petition_petition_sign.sql b/sql/updates/0.10/5451_characters_petition_petition_sign.sql
new file mode 100644
index 00000000000..f16b07cd0a5
--- /dev/null
+++ b/sql/updates/0.10/5451_characters_petition_petition_sign.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `petition` ENGINE = InnoDB;
+ALTER TABLE `petition_sign` ENGINE = InnoDB;
diff --git a/sql/updates/0.10/5457_realmd_account.sql b/sql/updates/0.10/5457_realmd_account.sql
new file mode 100644
index 00000000000..9841ea54e7c
--- /dev/null
+++ b/sql/updates/0.10/5457_realmd_account.sql
@@ -0,0 +1 @@
+UPDATE account SET username = UPPER(username); \ No newline at end of file
diff --git a/sql/updates/0.10/5460_mangos_spell_proc_event.sql b/sql/updates/0.10/5460_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..2482ab292b0
--- /dev/null
+++ b/sql/updates/0.10/5460_mangos_spell_proc_event.sql
@@ -0,0 +1,11 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 37239 );
+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
+(43737,0,0,0,7,0x0000044000000000,0x00000001,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 43739 );
+INSERT INTO `spell_proc_event` VALUES
+(43739,0,0,0,7,0x0000000000000002,0x00020000,0);
diff --git a/sql/updates/0.10/5462_mangos_spell_affect.sql b/sql/updates/0.10/5462_mangos_spell_affect.sql
new file mode 100644
index 00000000000..a0395be5780
--- /dev/null
+++ b/sql/updates/0.10/5462_mangos_spell_affect.sql
@@ -0,0 +1,144 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (17778,17779,17780,17781,17782);
+INSERT INTO `spell_affect` VALUES
+ (17778,0,0,0,0,0,0,0x000010C0000003E5,0),
+ (17779,0,0,0,0,0,0,0x000010C0000003E5,0),
+ (17780,0,0,0,0,0,0,0x000010C0000003E5,0),
+ (17781,0,0,0,0,0,0,0x000010C0000003E5,0),
+ (17782,0,0,0,0,0,0,0x000010C0000003E5,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (23555);
+INSERT INTO `spell_affect` VALUES
+ (23555,0,0,0,0,0,0,0x000010C0000003E5,0);
+
+
+DELETE FROM `spell_affect` WHERE `entry` IN (18130,18131,18132,18133,18134);
+INSERT INTO `spell_affect` VALUES
+ (18130,0,0,0,0,0,0,0x000010C0000003E5,0),
+ (18131,0,0,0,0,0,0,0x000010C0000003E5,0),
+ (18132,0,0,0,0,0,0,0x000010C0000003E5,0),
+ (18133,0,0,0,0,0,0,0x000010C0000003E5,0),
+ (18134,0,0,0,0,0,0,0x000010C0000003E5,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (18135,18136);
+INSERT INTO `spell_affect` VALUES
+ (18135,0,0,0,0,0,0,0x000010C0000003E5,0),
+ (18136,0,0,0,0,0,0,0x000010C0000003E5,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (17959);
+INSERT INTO `spell_affect` VALUES
+ (17959,0,0,0,0,0,0,0x000010C0000003E5,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (17917,17918);
+INSERT INTO `spell_affect` VALUES
+ (17917,0,0,0,0,0,0,0x000010C0000003A5,0),
+ (17917,1,0,0,0,0,0,0x000010C0000003E5,0),
+ (17918,0,0,0,0,0,0,0x000010C0000003A5,0),
+ (17918,1,0,0,0,0,0,0x000010C0000003E5,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (30060,30061,30062,30063,30064);
+INSERT INTO `spell_affect` VALUES
+ (30060,0,0,0,0,0,0,0x0000001000000402,0),
+ (30060,1,0,0,0,0,0,0x0000001000000402,0),
+ (30060,2,0,0,0,0,0,0x0000871B804CC41A,0),
+ (30061,0,0,0,0,0,0,0x0000001000000402,0),
+ (30061,1,0,0,0,0,0,0x0000001000000402,0),
+ (30061,2,0,0,0,0,0,0x0000871B804CC41A,0),
+ (30062,0,0,0,0,0,0,0x0000001000000402,0),
+ (30062,1,0,0,0,0,0,0x0000001000000402,0),
+ (30062,2,0,0,0,0,0,0x0000871B804CC41A,0),
+ (30063,0,0,0,0,0,0,0x0000001000000402,0),
+ (30063,1,0,0,0,0,0,0x0000001000000402,0),
+ (30063,2,0,0,0,0,0,0x0000871B804CC41A,0),
+ (30064,0,0,0,0,0,0,0x0000001000000402,0),
+ (30064,1,0,0,0,0,0,0x0000001000000402,0),
+ (30064,2,0,0,0,0,0,0x0000871B804CC41A,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (18218,18219);
+INSERT INTO `spell_affect` VALUES
+ (18218,0,0,0,0,0,0,0x000007138048C41A,0),
+ (18219,0,0,0,0,0,0,0x000007138048C41A,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (30085,30086);
+INSERT INTO `spell_affect` VALUES
+ (30085,0,0,0,0,0,0,0x0000071B804CC41A,0),
+ (30085,1,0,0,0,0,0,0x0000000000000400,0),
+ (30085,2,0,0,0,0,0,0x0000000000000002,0),
+ (30086,0,0,0,0,0,0,0x0000071B804CC41A,0),
+ (30086,1,0,0,0,0,0,0x0000000000000400,0),
+ (30086,2,0,0,0,0,0,0x0000000000000002,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (18174,18175,18176,18177,18178);
+INSERT INTO `spell_affect` VALUES
+ (18174,0,0,0,0,0,0,0x0000071B804CC41A,0),
+ (18175,0,0,0,0,0,0,0x0000071B804CC41A,0),
+ (18176,0,0,0,0,0,0,0x0000071B804CC41A,0),
+ (18177,0,0,0,0,0,0,0x0000071B804CC41A,0),
+ (18178,0,0,0,0,0,0,0x0000071B804CC41A,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (30143,30144,30145);
+INSERT INTO `spell_affect` VALUES
+ (30143,0,0,0,0,0,0,0x0000002000000000,0),
+ (30144,0,0,0,0,0,0,0x0000002000000000,0),
+ (30145,0,0,0,0,0,0,0x0000002000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (30319,30320,30321);
+INSERT INTO `spell_affect` VALUES
+ (30319,1,0,0,0,0,0,0x0000400000000000,0),
+ (30320,1,0,0,0,0,0,0x0000400000000000,0),
+ (30321,1,0,0,0,0,0,0x0000400000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (33063);
+INSERT INTO `spell_affect` VALUES
+ (33063,0,0,0,0,0,0,0x0000040000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (30242,30245,30246,30247,30248);
+INSERT INTO `spell_affect` VALUES
+ (30242,0,0,0,0,0,0,0x0000200000000000,0),
+ (30245,0,0,0,0,0,0,0x0000200000000000,0),
+ (30246,0,0,0,0,0,0,0x0000200000000000,0),
+ (30247,0,0,0,0,0,0,0x0000200000000000,0),
+ (30248,0,0,0,0,0,0,0x0000200000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (32477,32483,32484);
+INSERT INTO `spell_affect` VALUES
+ (32477,0,0,0,0,0,0,0x0000020000000000,0),
+ (32483,0,0,0,0,0,0,0x0000020000000000,0),
+ (32484,0,0,0,0,0,0,0x0000020000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (30251,30256);
+INSERT INTO `spell_affect` VALUES
+ (30251,0,0,0,0,0,0,0x000010C000000125,0),
+ (30256,0,0,0,0,0,0,0x000010C000000125,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (17954,17955,17956,17957,17958);
+INSERT INTO `spell_affect` VALUES
+ (17954,0,0,0,0,0,0,0x000000C000001364,0),
+ (17954,1,0,0,0,0,0,0x000000C000001364,0),
+ (17955,0,0,0,0,0,0,0x000000C000001364,0),
+ (17955,1,0,0,0,0,0,0x000000C000001364,0),
+ (17956,0,0,0,0,0,0,0x000000C000001364,0),
+ (17956,1,0,0,0,0,0,0x000000C000001364,0),
+ (17957,0,0,0,0,0,0,0x000000C000001364,0),
+ (17957,1,0,0,0,0,0,0x000000C000001364,0),
+ (17958,0,0,0,0,0,0,0x000000C000001364,0),
+ (17958,1,0,0,0,0,0,0x000000C000001364,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (18213,18372);
+INSERT INTO `spell_affect` VALUES
+ (18213,0,0,0,0,0,0,0x0000000000004000,0),
+ (18213,1,0,0,0,0,0,0x0000871B804CC41A,0),
+ (18372,0,0,0,0,0,0,0x0000000000004000,0),
+ (18372,1,0,0,0,0,0,0x0000871B804CC41A,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (18271,18272,18273,18274,18275);
+INSERT INTO `spell_affect` VALUES
+ (18271,0,0,0,0,0,0,0x000011130008A48B,0),
+ (18271,1,0,0,0,0,0,0x000011130008A48B,0),
+ (18272,0,0,0,0,0,0,0x000011130008A48B,0),
+ (18272,1,0,0,0,0,0,0x000011130008A48B,0),
+ (18273,0,0,0,0,0,0,0x000011130008A48B,0),
+ (18273,1,0,0,0,0,0,0x000011130008A48B,0),
+ (18274,0,0,0,0,0,0,0x000011130008A48B,0),
+ (18274,1,0,0,0,0,0,0x000011130008A48B,0),
+ (18275,0,0,0,0,0,0,0x000011130008A48B,0),
+ (18275,1,0,0,0,0,0,0x000011130008A48B,0);
diff --git a/sql/updates/0.10/5463_mangos_command.sql b/sql/updates/0.10/5463_mangos_command.sql
new file mode 100644
index 00000000000..66ce5617e7a
--- /dev/null
+++ b/sql/updates/0.10/5463_mangos_command.sql
@@ -0,0 +1,2 @@
+DELETE FROM `command` WHERE `name` = 'cshutdown';
+UPDATE `command` SET `help`='Syntax: .shutdown seconds\r\n\r\nShut the server down after given seconds or cancel the shutdown if cancel value is used.' WHERE `name` = 'shutdown';
diff --git a/sql/updates/0.10/5466_mangos_spell_affect.sql b/sql/updates/0.10/5466_mangos_spell_affect.sql
new file mode 100644
index 00000000000..f23e2728909
--- /dev/null
+++ b/sql/updates/0.10/5466_mangos_spell_affect.sql
@@ -0,0 +1,67 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (12295,12676,12677);
+INSERT INTO `spell_affect` VALUES
+ (12295,1,0,0,0,0,0,0x0000000002000000,0),
+ (12295,2,0,0,0,0,0,0x0000040000000000,0),
+ (12676,1,0,0,0,0,0,0x0000000002000000,0),
+ (12676,2,0,0,0,0,0,0x0000040000000000,0),
+ (12677,1,0,0,0,0,0,0x0000000002000000,0),
+ (12677,2,0,0,0,0,0,0x0000040000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (12308,12810,12811);
+INSERT INTO `spell_affect` VALUES
+ (12308,0,0,0,0,0,0,0x0000000000004000,0),
+ (12810,0,0,0,0,0,0,0x0000000000004000,0),
+ (12811,0,0,0,0,0,0,0x0000000000004000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (13981,14066);
+INSERT INTO `spell_affect` VALUES
+ (13981,0,0,0,0,0,0,0x0000000001000000,0),
+ (13981,1,0,0,0,0,0,0x0000000000000800,0),
+ (14066,0,0,0,0,0,0,0x0000000001000000,0),
+ (14066,1,0,0,0,0,0,0x0000000000000800,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (14523,14784,14785,14786,14787);
+INSERT INTO `spell_affect` VALUES
+ (14523,1,0,0,0,0,0,0x000000208030016B,0),
+ (14523,2,0,0,0,0,0,0x000000208030016B,0),
+ (14784,1,0,0,0,0,0,0x000000208030016B,0),
+ (14784,2,0,0,0,0,0,0x000000208030016B,0),
+ (14785,1,0,0,0,0,0,0x000000208030016B,0),
+ (14785,2,0,0,0,0,0,0x000000208030016B,0),
+ (14786,1,0,0,0,0,0,0x000000208030016B,0),
+ (14786,2,0,0,0,0,0,0x000000208030016B,0),
+ (14787,1,0,0,0,0,0,0x000000208030016B,0),
+ (14787,2,0,0,0,0,0,0x000000208030016B,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (29759,29760,29761,29762,29763);
+INSERT INTO `spell_affect` VALUES
+ (29759,1,0,0,0,0,0,0x0000075D6E6ECEEF,0),
+ (29760,1,0,0,0,0,0,0x0000075D6E6ECEEF,0),
+ (29761,1,0,0,0,0,0,0x0000075D6E6ECEEF,0),
+ (29762,1,0,0,0,0,0,0x0000075D6E6ECEEF,0),
+ (29763,1,0,0,0,0,0,0x0000075D6E6ECEEF,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (34466,34467,34468,34469,34470);
+INSERT INTO `spell_affect` VALUES
+ (34466,1,0,0,0,0,0,0x0000001000000000,0),
+ (34467,1,0,0,0,0,0,0x0000001000000000,0),
+ (34468,1,0,0,0,0,0,0x0000001000000000,0),
+ (34469,1,0,0,0,0,0,0x0000001000000000,0),
+ (34470,1,0,0,0,0,0,0x0000001000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (34318,37209);
+INSERT INTO `spell_affect` VALUES
+ (34318,0,0,0,0,0,0,0x0000000000000400,0),
+ (34318,1,0,0,0,0,0,0x0000002000000000,0),
+ (37209,0,0,0,0,0,0,0x0000000000000400,0),
+ (37209,1,0,0,0,0,0,0x0000002000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (44301,44302);
+INSERT INTO `spell_affect` VALUES
+ (44301,0,0,0,0,0,0,0x0000000001000000,0),
+ (44302,0,0,0,0,0,0,0x0000000001000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (37424);
+INSERT INTO `spell_affect` VALUES
+ (37424,0,0,0,0,0,0,0x0000000000008000,0);
+
diff --git a/sql/updates/0.10/5471_mangos_spell_affect.sql b/sql/updates/0.10/5471_mangos_spell_affect.sql
new file mode 100644
index 00000000000..ae3d5275c50
--- /dev/null
+++ b/sql/updates/0.10/5471_mangos_spell_affect.sql
@@ -0,0 +1,70 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (35578,35581);
+INSERT INTO `spell_affect` VALUES
+ (35578,0,0,0,0,0,0,0x0000000028E212F7,0),
+ (35581,0,0,0,0,0,0,0x0000000028E212F7,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (23047);
+INSERT INTO `spell_affect` VALUES
+ (23047,0,0,0,0,0,0,0x0000040000000000,0),
+ (23047,1,0,0,0,0,0,0x0000040000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (23158);
+INSERT INTO `spell_affect` VALUES
+ (23158,0,0,0,0,0,0,0x0000000000000200,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (23561);
+INSERT INTO `spell_affect` VALUES
+ (23561,0,0,0,0,0,0,0x0000000000004000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (23566);
+INSERT INTO `spell_affect` VALUES
+ (23566,0,0,0,0,0,0,0x0000000000001000,0),
+ (23566,1,0,0,0,0,0,0x0000000000002000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (24469);
+INSERT INTO `spell_affect` VALUES
+ (24469,0,0,0,0,0,0,0x0000000001000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (26106);
+INSERT INTO `spell_affect` VALUES
+ (26106,0,0,0,0,0,0,0x0000000010000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (26112);
+INSERT INTO `spell_affect` VALUES
+ (26112,0,0,0,0,0,0,0x0000000000000020,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (44300);
+INSERT INTO `spell_affect` VALUES
+ (44300,0,0,0,0,0,0,0x0000800000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (37763);
+INSERT INTO `spell_affect` VALUES
+ (37763,0,0,0,0,0,0,0x0000800000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (43725);
+INSERT INTO `spell_affect` VALUES
+ (43725,0,0,0,0,0,0,0x0000001000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (43736);
+INSERT INTO `spell_affect` VALUES
+ (43736,0,0,0,0,0,0,0x0000000000000010,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (43752);
+INSERT INTO `spell_affect` VALUES
+ (43752,0,0,0,0,0,0,0x0000000000000100,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (44292);
+INSERT INTO `spell_affect` VALUES
+ (44292,0,0,0,0,0,0,0x0000000000001000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (44295);
+INSERT INTO `spell_affect` VALUES
+ (44295,0,0,0,0,0,0,0x0000000090100000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (44296);
+INSERT INTO `spell_affect` VALUES
+ (44296,0,0,0,0,0,0,0x0000000000000001,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (44299);
+INSERT INTO `spell_affect` VALUES
+ (44299,0,0,0,0,0,0,0x0000000000040000,0);
diff --git a/sql/updates/0.10/5482_mangos_spell_affect.sql b/sql/updates/0.10/5482_mangos_spell_affect.sql
new file mode 100644
index 00000000000..f6a476ad58b
--- /dev/null
+++ b/sql/updates/0.10/5482_mangos_spell_affect.sql
@@ -0,0 +1,5 @@
+ALTER TABLE spell_affect
+ DROP SpellId,
+ DROP SchoolMask,
+ DROP Category,
+ DROP SkillID;
diff --git a/sql/updates/0.10/5491_mangos_player_levelstats.sql b/sql/updates/0.10/5491_mangos_player_levelstats.sql
new file mode 100644
index 00000000000..6cf36e5e286
--- /dev/null
+++ b/sql/updates/0.10/5491_mangos_player_levelstats.sql
@@ -0,0 +1,70 @@
+UPDATE `player_levelstats` SET `basehp` = 20 WHERE `class` = 1 AND `level`=1;
+UPDATE `player_levelstats` SET `basehp` = 29 WHERE `class` = 1 AND `level`=2;
+UPDATE `player_levelstats` SET `basehp` = 38 WHERE `class` = 1 AND `level`=3;
+UPDATE `player_levelstats` SET `basehp` = 47 WHERE `class` = 1 AND `level`=4;
+UPDATE `player_levelstats` SET `basehp` = 56 WHERE `class` = 1 AND `level`=5;
+UPDATE `player_levelstats` SET `basehp` = 65 WHERE `class` = 1 AND `level`=6;
+UPDATE `player_levelstats` SET `basehp` = 74 WHERE `class` = 1 AND `level`=7;
+UPDATE `player_levelstats` SET `basehp` = 83 WHERE `class` = 1 AND `level`=8;
+UPDATE `player_levelstats` SET `basehp` = 92 WHERE `class` = 1 AND `level`=9;
+UPDATE `player_levelstats` SET `basehp` = 101 WHERE `class` = 1 AND `level`=10;
+UPDATE `player_levelstats` SET `basehp` = 100 WHERE `class` = 1 AND `level`=11;
+UPDATE `player_levelstats` SET `basehp` = 109 WHERE `class` = 1 AND `level`=12;
+UPDATE `player_levelstats` SET `basehp` = 118 WHERE `class` = 1 AND `level`=13;
+UPDATE `player_levelstats` SET `basehp` = 128 WHERE `class` = 1 AND `level`=14;
+UPDATE `player_levelstats` SET `basehp` = 139 WHERE `class` = 1 AND `level`=15;
+UPDATE `player_levelstats` SET `basehp` = 151 WHERE `class` = 1 AND `level`=16;
+UPDATE `player_levelstats` SET `basehp` = 154 WHERE `class` = 1 AND `level`=17;
+UPDATE `player_levelstats` SET `basehp` = 168 WHERE `class` = 1 AND `level`=18;
+UPDATE `player_levelstats` SET `basehp` = 183 WHERE `class` = 1 AND `level`=19;
+UPDATE `player_levelstats` SET `basehp` = 199 WHERE `class` = 1 AND `level`=20;
+UPDATE `player_levelstats` SET `basehp` = 206 WHERE `class` = 1 AND `level`=21;
+UPDATE `player_levelstats` SET `basehp` = 224 WHERE `class` = 1 AND `level`=22;
+UPDATE `player_levelstats` SET `basehp` = 243 WHERE `class` = 1 AND `level`=23;
+UPDATE `player_levelstats` SET `basehp` = 253 WHERE `class` = 1 AND `level`=24;
+UPDATE `player_levelstats` SET `basehp` = 274 WHERE `class` = 1 AND `level`=25;
+UPDATE `player_levelstats` SET `basehp` = 296 WHERE `class` = 1 AND `level`=26;
+UPDATE `player_levelstats` SET `basehp` = 309 WHERE `class` = 1 AND `level`=27;
+UPDATE `player_levelstats` SET `basehp` = 333 WHERE `class` = 1 AND `level`=28;
+UPDATE `player_levelstats` SET `basehp` = 348 WHERE `class` = 1 AND `level`=29;
+UPDATE `player_levelstats` SET `basehp` = 374 WHERE `class` = 1 AND `level`=30;
+UPDATE `player_levelstats` SET `basehp` = 401 WHERE `class` = 1 AND `level`=31;
+UPDATE `player_levelstats` SET `basehp` = 419 WHERE `class` = 1 AND `level`=32;
+UPDATE `player_levelstats` SET `basehp` = 448 WHERE `class` = 1 AND `level`=33;
+UPDATE `player_levelstats` SET `basehp` = 468 WHERE `class` = 1 AND `level`=34;
+UPDATE `player_levelstats` SET `basehp` = 499 WHERE `class` = 1 AND `level`=35;
+UPDATE `player_levelstats` SET `basehp` = 521 WHERE `class` = 1 AND `level`=36;
+UPDATE `player_levelstats` SET `basehp` = 545 WHERE `class` = 1 AND `level`=37;
+UPDATE `player_levelstats` SET `basehp` = 581 WHERE `class` = 1 AND `level`=38;
+UPDATE `player_levelstats` SET `basehp` = 609 WHERE `class` = 1 AND `level`=39;
+UPDATE `player_levelstats` SET `basehp` = 649 WHERE `class` = 1 AND `level`=40;
+UPDATE `player_levelstats` SET `basehp` = 681 WHERE `class` = 1 AND `level`=41;
+UPDATE `player_levelstats` SET `basehp` = 715 WHERE `class` = 1 AND `level`=42;
+UPDATE `player_levelstats` SET `basehp` = 761 WHERE `class` = 1 AND `level`=43;
+UPDATE `player_levelstats` SET `basehp` = 799 WHERE `class` = 1 AND `level`=44;
+UPDATE `player_levelstats` SET `basehp` = 839 WHERE `class` = 1 AND `level`=45;
+UPDATE `player_levelstats` SET `basehp` = 881 WHERE `class` = 1 AND `level`=46;
+UPDATE `player_levelstats` SET `basehp` = 935 WHERE `class` = 1 AND `level`=47;
+UPDATE `player_levelstats` SET `basehp` = 981 WHERE `class` = 1 AND `level`=48;
+UPDATE `player_levelstats` SET `basehp` = 1029 WHERE `class` = 1 AND `level`=49;
+UPDATE `player_levelstats` SET `basehp` = 1079 WHERE `class` = 1 AND `level`=50;
+UPDATE `player_levelstats` SET `basehp` = 1131 WHERE `class` = 1 AND `level`=51;
+UPDATE `player_levelstats` SET `basehp` = 1185 WHERE `class` = 1 AND `level`=52;
+UPDATE `player_levelstats` SET `basehp` = 1241 WHERE `class` = 1 AND `level`=53;
+UPDATE `player_levelstats` SET `basehp` = 1299 WHERE `class` = 1 AND `level`=54;
+UPDATE `player_levelstats` SET `basehp` = 1359 WHERE `class` = 1 AND `level`=55;
+UPDATE `player_levelstats` SET `basehp` = 1421 WHERE `class` = 1 AND `level`=56;
+UPDATE `player_levelstats` SET `basehp` = 1485 WHERE `class` = 1 AND `level`=57;
+UPDATE `player_levelstats` SET `basehp` = 1551 WHERE `class` = 1 AND `level`=58;
+UPDATE `player_levelstats` SET `basehp` = 1619 WHERE `class` = 1 AND `level`=59;
+UPDATE `player_levelstats` SET `basehp` = 1689 WHERE `class` = 1 AND `level`=60;
+UPDATE `player_levelstats` SET `basehp` = 1902 WHERE `class` = 1 AND `level`=61;
+UPDATE `player_levelstats` SET `basehp` = 2129 WHERE `class` = 1 AND `level`=62;
+UPDATE `player_levelstats` SET `basehp` = 2357 WHERE `class` = 1 AND `level`=63;
+UPDATE `player_levelstats` SET `basehp` = 2612 WHERE `class` = 1 AND `level`=64;
+UPDATE `player_levelstats` SET `basehp` = 2883 WHERE `class` = 1 AND `level`=65;
+UPDATE `player_levelstats` SET `basehp` = 3169 WHERE `class` = 1 AND `level`=66;
+UPDATE `player_levelstats` SET `basehp` = 3455 WHERE `class` = 1 AND `level`=67;
+UPDATE `player_levelstats` SET `basehp` = 3774 WHERE `class` = 1 AND `level`=68;
+UPDATE `player_levelstats` SET `basehp` = 4109 WHERE `class` = 1 AND `level`=69;
+UPDATE `player_levelstats` SET `basehp` = 4444 WHERE `class` = 1 AND `level`=70;
diff --git a/sql/updates/0.10/5492_mangos_player_levelstats.sql b/sql/updates/0.10/5492_mangos_player_levelstats.sql
new file mode 100644
index 00000000000..7a8220abdf3
--- /dev/null
+++ b/sql/updates/0.10/5492_mangos_player_levelstats.sql
@@ -0,0 +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;
diff --git a/sql/updates/0.10/5498_mangos_spell_affect.sql b/sql/updates/0.10/5498_mangos_spell_affect.sql
new file mode 100644
index 00000000000..08ac34e931d
--- /dev/null
+++ b/sql/updates/0.10/5498_mangos_spell_affect.sql
@@ -0,0 +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
diff --git a/sql/updates/0.10/5505_mangos.sql b/sql/updates/0.10/5505_mangos.sql
new file mode 100644
index 00000000000..3b8bc6f76bd
--- /dev/null
+++ b/sql/updates/0.10/5505_mangos.sql
@@ -0,0 +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;
diff --git a/sql/updates/0.10/5505_mangos_npc_gossip.sql b/sql/updates/0.10/5505_mangos_npc_gossip.sql
new file mode 100644
index 00000000000..778c9ed76f8
--- /dev/null
+++ b/sql/updates/0.10/5505_mangos_npc_gossip.sql
@@ -0,0 +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`;
diff --git a/sql/updates/0.10/5526_mangos_player_levelstats.sql b/sql/updates/0.10/5526_mangos_player_levelstats.sql
new file mode 100644
index 00000000000..4a8c6a78004
--- /dev/null
+++ b/sql/updates/0.10/5526_mangos_player_levelstats.sql
@@ -0,0 +1,70 @@
+UPDATE `player_levelstats` SET `basehp` = 37, `basemana` = 85 WHERE `class` = 11 AND `level`= 1;
+UPDATE `player_levelstats` SET `basehp` = 44, `basemana` = 91 WHERE `class` = 11 AND `level`= 2;
+UPDATE `player_levelstats` SET `basehp` = 51, `basemana` = 98 WHERE `class` = 11 AND `level`= 3;
+UPDATE `player_levelstats` SET `basehp` = 58, `basemana` = 106 WHERE `class` = 11 AND `level`= 4;
+UPDATE `player_levelstats` SET `basehp` = 65, `basemana` = 115 WHERE `class` = 11 AND `level`= 5;
+UPDATE `player_levelstats` SET `basehp` = 72, `basemana` = 125 WHERE `class` = 11 AND `level`= 6;
+UPDATE `player_levelstats` SET `basehp` = 79, `basemana` = 136 WHERE `class` = 11 AND `level`= 7;
+UPDATE `player_levelstats` SET `basehp` = 86, `basemana` = 148 WHERE `class` = 11 AND `level`= 8;
+UPDATE `player_levelstats` SET `basehp` = 93, `basemana` = 161 WHERE `class` = 11 AND `level`= 9;
+UPDATE `player_levelstats` SET `basehp` = 100, `basemana` = 175 WHERE `class` = 11 AND `level`= 10;
+UPDATE `player_levelstats` SET `basehp` = 107, `basemana` = 190 WHERE `class` = 11 AND `level`= 11;
+UPDATE `player_levelstats` SET `basehp` = 114, `basemana` = 206 WHERE `class` = 11 AND `level`= 12;
+UPDATE `player_levelstats` SET `basehp` = 121, `basemana` = 223 WHERE `class` = 11 AND `level`= 13;
+UPDATE `player_levelstats` SET `basehp` = 128, `basemana` = 241 WHERE `class` = 11 AND `level`= 14;
+UPDATE `player_levelstats` SET `basehp` = 135, `basemana` = 260 WHERE `class` = 11 AND `level`= 15;
+UPDATE `player_levelstats` SET `basehp` = 142, `basemana` = 280 WHERE `class` = 11 AND `level`= 16;
+UPDATE `player_levelstats` SET `basehp` = 150, `basemana` = 301 WHERE `class` = 11 AND `level`= 17;
+UPDATE `player_levelstats` SET `basehp` = 159, `basemana` = 323 WHERE `class` = 11 AND `level`= 18;
+UPDATE `player_levelstats` SET `basehp` = 169, `basemana` = 346 WHERE `class` = 11 AND `level`= 19;
+UPDATE `player_levelstats` SET `basehp` = 180, `basemana` = 370 WHERE `class` = 11 AND `level`= 20;
+UPDATE `player_levelstats` SET `basehp` = 192, `basemana` = 395 WHERE `class` = 11 AND `level`= 21;
+UPDATE `player_levelstats` SET `basehp` = 205, `basemana` = 421 WHERE `class` = 11 AND `level`= 22;
+UPDATE `player_levelstats` SET `basehp` = 219, `basemana` = 448 WHERE `class` = 11 AND `level`= 23;
+UPDATE `player_levelstats` SET `basehp` = 234, `basemana` = 476 WHERE `class` = 11 AND `level`= 24;
+UPDATE `player_levelstats` SET `basehp` = 240, `basemana` = 505 WHERE `class` = 11 AND `level`= 25;
+UPDATE `player_levelstats` SET `basehp` = 257, `basemana` = 535 WHERE `class` = 11 AND `level`= 26;
+UPDATE `player_levelstats` SET `basehp` = 275, `basemana` = 566 WHERE `class` = 11 AND `level`= 27;
+UPDATE `player_levelstats` SET `basehp` = 294, `basemana` = 598 WHERE `class` = 11 AND `level`= 28;
+UPDATE `player_levelstats` SET `basehp` = 314, `basemana` = 631 WHERE `class` = 11 AND `level`= 29;
+UPDATE `player_levelstats` SET `basehp` = 335, `basemana` = 665 WHERE `class` = 11 AND `level`= 30;
+UPDATE `player_levelstats` SET `basehp` = 347, `basemana` = 699 WHERE `class` = 11 AND `level`= 31;
+UPDATE `player_levelstats` SET `basehp` = 370, `basemana` = 733 WHERE `class` = 11 AND `level`= 32;
+UPDATE `player_levelstats` SET `basehp` = 394, `basemana` = 767 WHERE `class` = 11 AND `level`= 33;
+UPDATE `player_levelstats` SET `basehp` = 419, `basemana` = 786 WHERE `class` = 11 AND `level`= 34;
+UPDATE `player_levelstats` SET `basehp` = 435, `basemana` = 820 WHERE `class` = 11 AND `level`= 35;
+UPDATE `player_levelstats` SET `basehp` = 462, `basemana` = 854 WHERE `class` = 11 AND `level`= 36;
+UPDATE `player_levelstats` SET `basehp` = 490, `basemana` = 888 WHERE `class` = 11 AND `level`= 37;
+UPDATE `player_levelstats` SET `basehp` = 509, `basemana` = 922 WHERE `class` = 11 AND `level`= 38;
+UPDATE `player_levelstats` SET `basehp` = 539, `basemana` = 941 WHERE `class` = 11 AND `level`= 39;
+UPDATE `player_levelstats` SET `basehp` = 570, `basemana` = 975 WHERE `class` = 11 AND `level`= 40;
+UPDATE `player_levelstats` SET `basehp` = 592, `basemana` = 1009 WHERE `class` = 11 AND `level`= 41;
+UPDATE `player_levelstats` SET `basehp` = 625, `basemana` = 1028 WHERE `class` = 11 AND `level`= 42;
+UPDATE `player_levelstats` SET `basehp` = 649, `basemana` = 1062 WHERE `class` = 11 AND `level`= 43;
+UPDATE `player_levelstats` SET `basehp` = 684, `basemana` = 1096 WHERE `class` = 11 AND `level`= 44;
+UPDATE `player_levelstats` SET `basehp` = 710, `basemana` = 1115 WHERE `class` = 11 AND `level`= 45;
+UPDATE `player_levelstats` SET `basehp` = 747, `basemana` = 1149 WHERE `class` = 11 AND `level`= 46;
+UPDATE `player_levelstats` SET `basehp` = 775, `basemana` = 1183 WHERE `class` = 11 AND `level`= 47;
+UPDATE `player_levelstats` SET `basehp` = 814, `basemana` = 1202 WHERE `class` = 11 AND `level`= 48;
+UPDATE `player_levelstats` SET `basehp` = 844, `basemana` = 1236 WHERE `class` = 11 AND `level`= 49;
+UPDATE `player_levelstats` SET `basehp` = 885, `basemana` = 1255 WHERE `class` = 11 AND `level`= 50;
+UPDATE `player_levelstats` SET `basehp` = 917, `basemana` = 1289 WHERE `class` = 11 AND `level`= 51;
+UPDATE `player_levelstats` SET `basehp` = 960, `basemana` = 1323 WHERE `class` = 11 AND `level`= 52;
+UPDATE `player_levelstats` SET `basehp` = 994, `basemana` = 1342 WHERE `class` = 11 AND `level`= 53;
+UPDATE `player_levelstats` SET `basehp` = 1029, `basemana` = 1376 WHERE `class` = 11 AND `level`= 54;
+UPDATE `player_levelstats` SET `basehp` = 1075, `basemana` = 1395 WHERE `class` = 11 AND `level`= 55;
+UPDATE `player_levelstats` SET `basehp` = 1112, `basemana` = 1414 WHERE `class` = 11 AND `level`= 56;
+UPDATE `player_levelstats` SET `basehp` = 1150, `basemana` = 1448 WHERE `class` = 11 AND `level`= 57;
+UPDATE `player_levelstats` SET `basehp` = 1199, `basemana` = 1467 WHERE `class` = 11 AND `level`= 58;
+UPDATE `player_levelstats` SET `basehp` = 1239, `basemana` = 1501 WHERE `class` = 11 AND `level`= 59;
+UPDATE `player_levelstats` SET `basehp` = 1330, `basemana` = 1520 WHERE `class` = 11 AND `level`= 60;
+UPDATE `player_levelstats` SET `basehp` = 1428, `basemana` = 1664 WHERE `class` = 11 AND `level`= 61;
+UPDATE `player_levelstats` SET `basehp` = 1583, `basemana` = 1808 WHERE `class` = 11 AND `level`= 62;
+UPDATE `player_levelstats` SET `basehp` = 1760, `basemana` = 1951 WHERE `class` = 11 AND `level`= 63;
+UPDATE `player_levelstats` SET `basehp` = 1932, `basemana` = 2095 WHERE `class` = 11 AND `level`= 64;
+UPDATE `player_levelstats` SET `basehp` = 2114, `basemana` = 2239 WHERE `class` = 11 AND `level`= 65;
+UPDATE `player_levelstats` SET `basehp` = 2304, `basemana` = 2383 WHERE `class` = 11 AND `level`= 66;
+UPDATE `player_levelstats` SET `basehp` = 2504, `basemana` = 2527 WHERE `class` = 11 AND `level`= 67;
+UPDATE `player_levelstats` SET `basehp` = 2713, `basemana` = 2670 WHERE `class` = 11 AND `level`= 68;
+UPDATE `player_levelstats` SET `basehp` = 2931, `basemana` = 2814 WHERE `class` = 11 AND `level`= 69;
+UPDATE `player_levelstats` SET `basehp` = 3159, `basemana` = 2958 WHERE `class` = 11 AND `level`= 70;
diff --git a/sql/updates/0.10/5529_mangos_spell_chain.sql b/sql/updates/0.10/5529_mangos_spell_chain.sql
new file mode 100644
index 00000000000..c0acd8815ea
--- /dev/null
+++ b/sql/updates/0.10/5529_mangos_spell_chain.sql
@@ -0,0 +1,30 @@
+DELETE FROM spell_chain WHERE spell_id IN (9787,9788,17039,17040,17041);
+INSERT INTO spell_chain VALUES
+(9787, 9785,2018,5),
+(9788, 9785,2018,5),
+(17039,9787,2018,6),
+(17040,9787,2018,6),
+(17041,9787,2018,6);
+
+DELETE FROM spell_chain WHERE spell_id IN (28672,28675,28677);
+INSERT INTO spell_chain VALUES
+(28672,11611,2259,5),
+(28675,11611,2259,5),
+(28677,11611,2259,5);
+
+DELETE FROM spell_chain WHERE spell_id IN (10656,10658,10660);
+INSERT INTO spell_chain VALUES
+(10656,10662,2108,5),
+(10658,10662,2108,5),
+(10660,10662,2108,5);
+
+DELETE FROM spell_chain WHERE spell_id IN (20219,20222);
+INSERT INTO spell_chain VALUES
+(20219,12656,4036,5),
+(20222,12656,4036,5);
+
+DELETE FROM spell_chain WHERE spell_id IN (26797,26798,26801);
+INSERT INTO spell_chain VALUES
+(26797,12180,3908,5),
+(26798,12180,3908,5),
+(26801,12180,3908,5);
diff --git a/sql/updates/0.10/5530_mangos_spell_learn_spell.sql b/sql/updates/0.10/5530_mangos_spell_learn_spell.sql
new file mode 100644
index 00000000000..0fedce3f45e
--- /dev/null
+++ b/sql/updates/0.10/5530_mangos_spell_learn_spell.sql
@@ -0,0 +1,2 @@
+DELETE FROM spell_learn_spell WHERE entry IN (33943);
+INSERT INTO spell_learn_spell VALUES (33943,34090,0);
diff --git a/sql/updates/0.10/5531_mangos_creature_movement.sql b/sql/updates/0.10/5531_mangos_creature_movement.sql
new file mode 100644
index 00000000000..27c814ab888
--- /dev/null
+++ b/sql/updates/0.10/5531_mangos_creature_movement.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `creature_movement`
+ CHANGE COLUMN `id` `id` int(10) unsigned NOT NULL auto_increment COMMENT 'Creature GUID';
diff --git a/sql/updates/0.10/5534_mangos_player_levelstats.sql b/sql/updates/0.10/5534_mangos_player_levelstats.sql
new file mode 100644
index 00000000000..4401004286b
--- /dev/null
+++ b/sql/updates/0.10/5534_mangos_player_levelstats.sql
@@ -0,0 +1,144 @@
+-- Druid update
+
+UPDATE `player_levelstats` SET `basehp` = 44, `basemana` = 60 WHERE `class` = 11 AND `level`= 1;
+UPDATE `player_levelstats` SET `basehp` = 51, `basemana` = 66 WHERE `class` = 11 AND `level`= 2;
+UPDATE `player_levelstats` SET `basehp` = 58, `basemana` = 73 WHERE `class` = 11 AND `level`= 3;
+UPDATE `player_levelstats` SET `basehp` = 75, `basemana` = 81 WHERE `class` = 11 AND `level`= 4;
+UPDATE `player_levelstats` SET `basehp` = 82, `basemana` = 90 WHERE `class` = 11 AND `level`= 5;
+UPDATE `player_levelstats` SET `basehp` = 89, `basemana` = 100 WHERE `class` = 11 AND `level`= 6;
+UPDATE `player_levelstats` SET `basehp` = 106, `basemana` = 111 WHERE `class` = 11 AND `level`= 7;
+UPDATE `player_levelstats` SET `basehp` = 113, `basemana` = 123 WHERE `class` = 11 AND `level`= 8;
+UPDATE `player_levelstats` SET `basehp` = 120, `basemana` = 136 WHERE `class` = 11 AND `level`= 9;
+UPDATE `player_levelstats` SET `basehp` = 137, `basemana` = 150 WHERE `class` = 11 AND `level`= 10;
+UPDATE `player_levelstats` SET `basehp` = 144, `basemana` = 165 WHERE `class` = 11 AND `level`= 11;
+UPDATE `player_levelstats` SET `basehp` = 151, `basemana` = 182 WHERE `class` = 11 AND `level`= 12;
+UPDATE `player_levelstats` SET `basehp` = 168, `basemana` = 200 WHERE `class` = 11 AND `level`= 13;
+UPDATE `player_levelstats` SET `basehp` = 175, `basemana` = 219 WHERE `class` = 11 AND `level`= 14;
+UPDATE `player_levelstats` SET `basehp` = 182, `basemana` = 239 WHERE `class` = 11 AND `level`= 15;
+UPDATE `player_levelstats` SET `basehp` = 199, `basemana` = 260 WHERE `class` = 11 AND `level`= 16;
+UPDATE `player_levelstats` SET `basehp` = 206, `basemana` = 282 WHERE `class` = 11 AND `level`= 17;
+UPDATE `player_levelstats` SET `basehp` = 214, `basemana` = 305 WHERE `class` = 11 AND `level`= 18;
+UPDATE `player_levelstats` SET `basehp` = 233, `basemana` = 329 WHERE `class` = 11 AND `level`= 19;
+UPDATE `player_levelstats` SET `basehp` = 243, `basemana` = 354 WHERE `class` = 11 AND `level`= 20;
+UPDATE `player_levelstats` SET `basehp` = 254, `basemana` = 380 WHERE `class` = 11 AND `level`= 21;
+UPDATE `player_levelstats` SET `basehp` = 266, `basemana` = 392 WHERE `class` = 11 AND `level`= 22;
+UPDATE `player_levelstats` SET `basehp` = 289, `basemana` = 420 WHERE `class` = 11 AND `level`= 23;
+UPDATE `player_levelstats` SET `basehp` = 303, `basemana` = 449 WHERE `class` = 11 AND `level`= 24;
+UPDATE `player_levelstats` SET `basehp` = 318, `basemana` = 479 WHERE `class` = 11 AND `level`= 25;
+UPDATE `player_levelstats` SET `basehp` = 334, `basemana` = 509 WHERE `class` = 11 AND `level`= 26;
+UPDATE `player_levelstats` SET `basehp` = 361, `basemana` = 524 WHERE `class` = 11 AND `level`= 27;
+UPDATE `player_levelstats` SET `basehp` = 379, `basemana` = 554 WHERE `class` = 11 AND `level`= 28;
+UPDATE `player_levelstats` SET `basehp` = 398, `basemana` = 584 WHERE `class` = 11 AND `level`= 29;
+UPDATE `player_levelstats` SET `basehp` = 418, `basemana` = 614 WHERE `class` = 11 AND `level`= 30;
+UPDATE `player_levelstats` SET `basehp` = 439, `basemana` = 629 WHERE `class` = 11 AND `level`= 31;
+UPDATE `player_levelstats` SET `basehp` = 461, `basemana` = 659 WHERE `class` = 11 AND `level`= 32;
+UPDATE `player_levelstats` SET `basehp` = 494, `basemana` = 689 WHERE `class` = 11 AND `level`= 33;
+UPDATE `player_levelstats` SET `basehp` = 518, `basemana` = 704 WHERE `class` = 11 AND `level`= 34;
+UPDATE `player_levelstats` SET `basehp` = 543, `basemana` = 734 WHERE `class` = 11 AND `level`= 35;
+UPDATE `player_levelstats` SET `basehp` = 569, `basemana` = 749 WHERE `class` = 11 AND `level`= 36;
+UPDATE `player_levelstats` SET `basehp` = 596, `basemana` = 779 WHERE `class` = 11 AND `level`= 37;
+UPDATE `player_levelstats` SET `basehp` = 624, `basemana` = 809 WHERE `class` = 11 AND `level`= 38;
+UPDATE `player_levelstats` SET `basehp` = 653, `basemana` = 824 WHERE `class` = 11 AND `level`= 39;
+UPDATE `player_levelstats` SET `basehp` = 683, `basemana` = 854 WHERE `class` = 11 AND `level`= 40;
+UPDATE `player_levelstats` SET `basehp` = 714, `basemana` = 869 WHERE `class` = 11 AND `level`= 41;
+UPDATE `player_levelstats` SET `basehp` = 746, `basemana` = 899 WHERE `class` = 11 AND `level`= 42;
+UPDATE `player_levelstats` SET `basehp` = 779, `basemana` = 914 WHERE `class` = 11 AND `level`= 43;
+UPDATE `player_levelstats` SET `basehp` = 823, `basemana` = 944 WHERE `class` = 11 AND `level`= 44;
+UPDATE `player_levelstats` SET `basehp` = 858, `basemana` = 959 WHERE `class` = 11 AND `level`= 45;
+UPDATE `player_levelstats` SET `basehp` = 894, `basemana` = 989 WHERE `class` = 11 AND `level`= 46;
+UPDATE `player_levelstats` SET `basehp` = 921, `basemana` = 1004 WHERE `class` = 11 AND `level`= 47;
+UPDATE `player_levelstats` SET `basehp` = 959, `basemana` = 1019 WHERE `class` = 11 AND `level`= 48;
+UPDATE `player_levelstats` SET `basehp` = 998, `basemana` = 1049 WHERE `class` = 11 AND `level`= 49;
+UPDATE `player_levelstats` SET `basehp` = 1038, `basemana` = 1064 WHERE `class` = 11 AND `level`= 50;
+UPDATE `player_levelstats` SET `basehp` = 1079, `basemana` = 1079 WHERE `class` = 11 AND `level`= 51;
+UPDATE `player_levelstats` SET `basehp` = 1121, `basemana` = 1109 WHERE `class` = 11 AND `level`= 52;
+UPDATE `player_levelstats` SET `basehp` = 1164, `basemana` = 1124 WHERE `class` = 11 AND `level`= 53;
+UPDATE `player_levelstats` SET `basehp` = 1208, `basemana` = 1139 WHERE `class` = 11 AND `level`= 54;
+UPDATE `player_levelstats` SET `basehp` = 1253, `basemana` = 1154 WHERE `class` = 11 AND `level`= 55;
+UPDATE `player_levelstats` SET `basehp` = 1299, `basemana` = 1169 WHERE `class` = 11 AND `level`= 56;
+UPDATE `player_levelstats` SET `basehp` = 1346, `basemana` = 1199 WHERE `class` = 11 AND `level`= 57;
+UPDATE `player_levelstats` SET `basehp` = 1384, `basemana` = 1214 WHERE `class` = 11 AND `level`= 58;
+UPDATE `player_levelstats` SET `basehp` = 1433, `basemana` = 1229 WHERE `class` = 11 AND `level`= 59;
+UPDATE `player_levelstats` SET `basehp` = 1483, `basemana` = 1244 WHERE `class` = 11 AND `level`= 60;
+UPDATE `player_levelstats` SET `basehp` = 1657, `basemana` = 1357 WHERE `class` = 11 AND `level`= 61;
+UPDATE `player_levelstats` SET `basehp` = 1840, `basemana` = 1469 WHERE `class` = 11 AND `level`= 62;
+UPDATE `player_levelstats` SET `basehp` = 2020, `basemana` = 1582 WHERE `class` = 11 AND `level`= 63;
+UPDATE `player_levelstats` SET `basehp` = 2222, `basemana` = 1694 WHERE `class` = 11 AND `level`= 64;
+UPDATE `player_levelstats` SET `basehp` = 2433, `basemana` = 1807 WHERE `class` = 11 AND `level`= 65;
+UPDATE `player_levelstats` SET `basehp` = 2640, `basemana` = 1919 WHERE `class` = 11 AND `level`= 66;
+UPDATE `player_levelstats` SET `basehp` = 2872, `basemana` = 2032 WHERE `class` = 11 AND `level`= 67;
+UPDATE `player_levelstats` SET `basehp` = 3114, `basemana` = 2145 WHERE `class` = 11 AND `level`= 68;
+UPDATE `player_levelstats` SET `basehp` = 3351, `basemana` = 2257 WHERE `class` = 11 AND `level`= 69;
+UPDATE `player_levelstats` SET `basehp` = 3614, `basemana` = 2370 WHERE `class` = 11 AND `level`= 70;
+
+-- Shaman update
+UPDATE `player_levelstats` SET `basehp` = 37, `basemana` = 85 WHERE `class` = 7 AND `level`= 1;
+UPDATE `player_levelstats` SET `basehp` = 44, `basemana` = 91 WHERE `class` = 7 AND `level`= 2;
+UPDATE `player_levelstats` SET `basehp` = 51, `basemana` = 98 WHERE `class` = 7 AND `level`= 3;
+UPDATE `player_levelstats` SET `basehp` = 58, `basemana` = 106 WHERE `class` = 7 AND `level`= 4;
+UPDATE `player_levelstats` SET `basehp` = 65, `basemana` = 115 WHERE `class` = 7 AND `level`= 5;
+UPDATE `player_levelstats` SET `basehp` = 72, `basemana` = 125 WHERE `class` = 7 AND `level`= 6;
+UPDATE `player_levelstats` SET `basehp` = 79, `basemana` = 136 WHERE `class` = 7 AND `level`= 7;
+UPDATE `player_levelstats` SET `basehp` = 86, `basemana` = 148 WHERE `class` = 7 AND `level`= 8;
+UPDATE `player_levelstats` SET `basehp` = 93, `basemana` = 161 WHERE `class` = 7 AND `level`= 9;
+UPDATE `player_levelstats` SET `basehp` = 100, `basemana` = 175 WHERE `class` = 7 AND `level`= 10;
+UPDATE `player_levelstats` SET `basehp` = 107, `basemana` = 190 WHERE `class` = 7 AND `level`= 11;
+UPDATE `player_levelstats` SET `basehp` = 114, `basemana` = 206 WHERE `class` = 7 AND `level`= 12;
+UPDATE `player_levelstats` SET `basehp` = 121, `basemana` = 223 WHERE `class` = 7 AND `level`= 13;
+UPDATE `player_levelstats` SET `basehp` = 128, `basemana` = 241 WHERE `class` = 7 AND `level`= 14;
+UPDATE `player_levelstats` SET `basehp` = 135, `basemana` = 260 WHERE `class` = 7 AND `level`= 15;
+UPDATE `player_levelstats` SET `basehp` = 142, `basemana` = 280 WHERE `class` = 7 AND `level`= 16;
+UPDATE `player_levelstats` SET `basehp` = 150, `basemana` = 301 WHERE `class` = 7 AND `level`= 17;
+UPDATE `player_levelstats` SET `basehp` = 159, `basemana` = 323 WHERE `class` = 7 AND `level`= 18;
+UPDATE `player_levelstats` SET `basehp` = 169, `basemana` = 346 WHERE `class` = 7 AND `level`= 19;
+UPDATE `player_levelstats` SET `basehp` = 180, `basemana` = 370 WHERE `class` = 7 AND `level`= 20;
+UPDATE `player_levelstats` SET `basehp` = 192, `basemana` = 395 WHERE `class` = 7 AND `level`= 21;
+UPDATE `player_levelstats` SET `basehp` = 205, `basemana` = 421 WHERE `class` = 7 AND `level`= 22;
+UPDATE `player_levelstats` SET `basehp` = 219, `basemana` = 448 WHERE `class` = 7 AND `level`= 23;
+UPDATE `player_levelstats` SET `basehp` = 234, `basemana` = 476 WHERE `class` = 7 AND `level`= 24;
+UPDATE `player_levelstats` SET `basehp` = 240, `basemana` = 505 WHERE `class` = 7 AND `level`= 25;
+UPDATE `player_levelstats` SET `basehp` = 257, `basemana` = 535 WHERE `class` = 7 AND `level`= 26;
+UPDATE `player_levelstats` SET `basehp` = 275, `basemana` = 566 WHERE `class` = 7 AND `level`= 27;
+UPDATE `player_levelstats` SET `basehp` = 294, `basemana` = 598 WHERE `class` = 7 AND `level`= 28;
+UPDATE `player_levelstats` SET `basehp` = 314, `basemana` = 631 WHERE `class` = 7 AND `level`= 29;
+UPDATE `player_levelstats` SET `basehp` = 335, `basemana` = 665 WHERE `class` = 7 AND `level`= 30;
+UPDATE `player_levelstats` SET `basehp` = 347, `basemana` = 699 WHERE `class` = 7 AND `level`= 31;
+UPDATE `player_levelstats` SET `basehp` = 370, `basemana` = 733 WHERE `class` = 7 AND `level`= 32;
+UPDATE `player_levelstats` SET `basehp` = 394, `basemana` = 767 WHERE `class` = 7 AND `level`= 33;
+UPDATE `player_levelstats` SET `basehp` = 419, `basemana` = 786 WHERE `class` = 7 AND `level`= 34;
+UPDATE `player_levelstats` SET `basehp` = 435, `basemana` = 820 WHERE `class` = 7 AND `level`= 35;
+UPDATE `player_levelstats` SET `basehp` = 462, `basemana` = 854 WHERE `class` = 7 AND `level`= 36;
+UPDATE `player_levelstats` SET `basehp` = 490, `basemana` = 888 WHERE `class` = 7 AND `level`= 37;
+UPDATE `player_levelstats` SET `basehp` = 509, `basemana` = 922 WHERE `class` = 7 AND `level`= 38;
+UPDATE `player_levelstats` SET `basehp` = 539, `basemana` = 941 WHERE `class` = 7 AND `level`= 39;
+UPDATE `player_levelstats` SET `basehp` = 570, `basemana` = 975 WHERE `class` = 7 AND `level`= 40;
+UPDATE `player_levelstats` SET `basehp` = 592, `basemana` = 1009 WHERE `class` = 7 AND `level`= 41;
+UPDATE `player_levelstats` SET `basehp` = 625, `basemana` = 1028 WHERE `class` = 7 AND `level`= 42;
+UPDATE `player_levelstats` SET `basehp` = 649, `basemana` = 1062 WHERE `class` = 7 AND `level`= 43;
+UPDATE `player_levelstats` SET `basehp` = 684, `basemana` = 1096 WHERE `class` = 7 AND `level`= 44;
+UPDATE `player_levelstats` SET `basehp` = 710, `basemana` = 1115 WHERE `class` = 7 AND `level`= 45;
+UPDATE `player_levelstats` SET `basehp` = 747, `basemana` = 1149 WHERE `class` = 7 AND `level`= 46;
+UPDATE `player_levelstats` SET `basehp` = 775, `basemana` = 1183 WHERE `class` = 7 AND `level`= 47;
+UPDATE `player_levelstats` SET `basehp` = 814, `basemana` = 1202 WHERE `class` = 7 AND `level`= 48;
+UPDATE `player_levelstats` SET `basehp` = 844, `basemana` = 1236 WHERE `class` = 7 AND `level`= 49;
+UPDATE `player_levelstats` SET `basehp` = 885, `basemana` = 1255 WHERE `class` = 7 AND `level`= 50;
+UPDATE `player_levelstats` SET `basehp` = 917, `basemana` = 1289 WHERE `class` = 7 AND `level`= 51;
+UPDATE `player_levelstats` SET `basehp` = 960, `basemana` = 1323 WHERE `class` = 7 AND `level`= 52;
+UPDATE `player_levelstats` SET `basehp` = 994, `basemana` = 1342 WHERE `class` = 7 AND `level`= 53;
+UPDATE `player_levelstats` SET `basehp` = 1029, `basemana` = 1376 WHERE `class` = 7 AND `level`= 54;
+UPDATE `player_levelstats` SET `basehp` = 1075, `basemana` = 1395 WHERE `class` = 7 AND `level`= 55;
+UPDATE `player_levelstats` SET `basehp` = 1112, `basemana` = 1414 WHERE `class` = 7 AND `level`= 56;
+UPDATE `player_levelstats` SET `basehp` = 1150, `basemana` = 1448 WHERE `class` = 7 AND `level`= 57;
+UPDATE `player_levelstats` SET `basehp` = 1199, `basemana` = 1467 WHERE `class` = 7 AND `level`= 58;
+UPDATE `player_levelstats` SET `basehp` = 1239, `basemana` = 1501 WHERE `class` = 7 AND `level`= 59;
+UPDATE `player_levelstats` SET `basehp` = 1330, `basemana` = 1520 WHERE `class` = 7 AND `level`= 60;
+UPDATE `player_levelstats` SET `basehp` = 1428, `basemana` = 1664 WHERE `class` = 7 AND `level`= 61;
+UPDATE `player_levelstats` SET `basehp` = 1583, `basemana` = 1808 WHERE `class` = 7 AND `level`= 62;
+UPDATE `player_levelstats` SET `basehp` = 1760, `basemana` = 1951 WHERE `class` = 7 AND `level`= 63;
+UPDATE `player_levelstats` SET `basehp` = 1932, `basemana` = 2095 WHERE `class` = 7 AND `level`= 64;
+UPDATE `player_levelstats` SET `basehp` = 2114, `basemana` = 2239 WHERE `class` = 7 AND `level`= 65;
+UPDATE `player_levelstats` SET `basehp` = 2304, `basemana` = 2383 WHERE `class` = 7 AND `level`= 66;
+UPDATE `player_levelstats` SET `basehp` = 2504, `basemana` = 2527 WHERE `class` = 7 AND `level`= 67;
+UPDATE `player_levelstats` SET `basehp` = 2713, `basemana` = 2670 WHERE `class` = 7 AND `level`= 68;
+UPDATE `player_levelstats` SET `basehp` = 2931, `basemana` = 2814 WHERE `class` = 7 AND `level`= 69;
+UPDATE `player_levelstats` SET `basehp` = 3159, `basemana` = 2958 WHERE `class` = 7 AND `level`= 70;
diff --git a/sql/updates/0.10/5541_mangos_command.sql b/sql/updates/0.10/5541_mangos_command.sql
new file mode 100644
index 00000000000..bf248479b1f
--- /dev/null
+++ b/sql/updates/0.10/5541_mangos_command.sql
@@ -0,0 +1,5 @@
+DELETE FROM `command` WHERE `name` = 'learn all_default';
+
+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/5541_mangos_mangos_string.sql b/sql/updates/0.10/5541_mangos_mangos_string.sql
new file mode 100644
index 00000000000..ee5a1304439
--- /dev/null
+++ b/sql/updates/0.10/5541_mangos_mangos_string.sql
@@ -0,0 +1,3 @@
+DELETE FROM mangos_string WHERE entry in (580);
+INSERT INTO mangos_string VALUES
+(580,'Player %s learned all default spells for race/class and completed quests rewarded spells.',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/0.10/5547_characters_character_ticket.sql b/sql/updates/0.10/5547_characters_character_ticket.sql
new file mode 100644
index 00000000000..3c6cb216035
--- /dev/null
+++ b/sql/updates/0.10/5547_characters_character_ticket.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `character_ticket`
+ ADD `ticket_lastchange` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ;
diff --git a/sql/updates/0.10/5547_mangos_mangos_string.sql b/sql/updates/0.10/5547_mangos_mangos_string.sql
new file mode 100644
index 00000000000..88e2849e424
--- /dev/null
+++ b/sql/updates/0.10/5547_mangos_mangos_string.sql
@@ -0,0 +1,4 @@
+DELETE FROM mangos_string WHERE entry in (290);
+INSERT INTO mangos_string VALUES
+(290,'Ticket of %s (Last updated: %s) (Category: %i):\n%s ',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+
diff --git a/sql/updates/0.10/5554_mangos_locales_creature.sql b/sql/updates/0.10/5554_mangos_locales_creature.sql
new file mode 100644
index 00000000000..f88e0517835
--- /dev/null
+++ b/sql/updates/0.10/5554_mangos_locales_creature.sql
@@ -0,0 +1,2 @@
+ALTER TABLE locales_creature
+ DROP subname_loc8;
diff --git a/sql/updates/0.10/5558_mangos_player_levelstats.sql b/sql/updates/0.10/5558_mangos_player_levelstats.sql
new file mode 100644
index 00000000000..70d231082c8
--- /dev/null
+++ b/sql/updates/0.10/5558_mangos_player_levelstats.sql
@@ -0,0 +1,70 @@
+UPDATE `player_levelstats` SET `basehp` = 52, `basemana` = 73 WHERE `class` = 5 AND `level`= 1;
+UPDATE `player_levelstats` SET `basehp` = 57, `basemana` = 76 WHERE `class` = 5 AND `level`= 2;
+UPDATE `player_levelstats` SET `basehp` = 72, `basemana` = 95 WHERE `class` = 5 AND `level`= 3;
+UPDATE `player_levelstats` SET `basehp` = 77, `basemana` = 114 WHERE `class` = 5 AND `level`= 4;
+UPDATE `player_levelstats` SET `basehp` = 92, `basemana` = 133 WHERE `class` = 5 AND `level`= 5;
+UPDATE `player_levelstats` SET `basehp` = 97, `basemana` = 152 WHERE `class` = 5 AND `level`= 6;
+UPDATE `player_levelstats` SET `basehp` = 112, `basemana` = 171 WHERE `class` = 5 AND `level`= 7;
+UPDATE `player_levelstats` SET `basehp` = 117, `basemana` = 190 WHERE `class` = 5 AND `level`= 8;
+UPDATE `player_levelstats` SET `basehp` = 132, `basemana` = 209 WHERE `class` = 5 AND `level`= 9;
+UPDATE `player_levelstats` SET `basehp` = 137, `basemana` = 212 WHERE `class` = 5 AND `level`= 10;
+UPDATE `player_levelstats` SET `basehp` = 142, `basemana` = 215 WHERE `class` = 5 AND `level`= 11;
+UPDATE `player_levelstats` SET `basehp` = 157, `basemana` = 234 WHERE `class` = 5 AND `level`= 12;
+UPDATE `player_levelstats` SET `basehp` = 172, `basemana` = 254 WHERE `class` = 5 AND `level`= 13;
+UPDATE `player_levelstats` SET `basehp` = 177, `basemana` = 260 WHERE `class` = 5 AND `level`= 14;
+UPDATE `player_levelstats` SET `basehp` = 192, `basemana` = 282 WHERE `class` = 5 AND `level`= 15;
+UPDATE `player_levelstats` SET `basehp` = 197, `basemana` = 305 WHERE `class` = 5 AND `level`= 16;
+UPDATE `player_levelstats` SET `basehp` = 212, `basemana` = 329 WHERE `class` = 5 AND `level`= 17;
+UPDATE `player_levelstats` SET `basehp` = 227, `basemana` = 339 WHERE `class` = 5 AND `level`= 18;
+UPDATE `player_levelstats` SET `basehp` = 232, `basemana` = 365 WHERE `class` = 5 AND `level`= 19;
+UPDATE `player_levelstats` SET `basehp` = 247, `basemana` = 377 WHERE `class` = 5 AND `level`= 20;
+UPDATE `player_levelstats` SET `basehp` = 252, `basemana` = 405 WHERE `class` = 5 AND `level`= 21;
+UPDATE `player_levelstats` SET `basehp` = 268, `basemana` = 434 WHERE `class` = 5 AND `level`= 22;
+UPDATE `player_levelstats` SET `basehp` = 275, `basemana` = 449 WHERE `class` = 5 AND `level`= 23;
+UPDATE `player_levelstats` SET `basehp` = 293, `basemana` = 480 WHERE `class` = 5 AND `level`= 24;
+UPDATE `player_levelstats` SET `basehp` = 302, `basemana` = 497 WHERE `class` = 5 AND `level`= 25;
+UPDATE `player_levelstats` SET `basehp` = 322, `basemana` = 530 WHERE `class` = 5 AND `level`= 26;
+UPDATE `player_levelstats` SET `basehp` = 343, `basemana` = 549 WHERE `class` = 5 AND `level`= 27;
+UPDATE `player_levelstats` SET `basehp` = 355, `basemana` = 584 WHERE `class` = 5 AND `level`= 28;
+UPDATE `player_levelstats` SET `basehp` = 378, `basemana` = 605 WHERE `class` = 5 AND `level`= 29;
+UPDATE `player_levelstats` SET `basehp` = 392, `basemana` = 627 WHERE `class` = 5 AND `level`= 30;
+UPDATE `player_levelstats` SET `basehp` = 417, `basemana` = 665 WHERE `class` = 5 AND `level`= 31;
+UPDATE `player_levelstats` SET `basehp` = 433, `basemana` = 689 WHERE `class` = 5 AND `level`= 32;
+UPDATE `player_levelstats` SET `basehp` = 460, `basemana` = 728 WHERE `class` = 5 AND `level`= 33;
+UPDATE `player_levelstats` SET `basehp` = 478, `basemana` = 752 WHERE `class` = 5 AND `level`= 34;
+UPDATE `player_levelstats` SET `basehp` = 507, `basemana` = 776 WHERE `class` = 5 AND `level`= 35;
+UPDATE `player_levelstats` SET `basehp` = 527, `basemana` = 800 WHERE `class` = 5 AND `level`= 36;
+UPDATE `player_levelstats` SET `basehp` = 548, `basemana` = 839 WHERE `class` = 5 AND `level`= 37;
+UPDATE `player_levelstats` SET `basehp` = 580, `basemana` = 863 WHERE `class` = 5 AND `level`= 38;
+UPDATE `player_levelstats` SET `basehp` = 603, `basemana` = 887 WHERE `class` = 5 AND `level`= 39;
+UPDATE `player_levelstats` SET `basehp` = 637, `basemana` = 911 WHERE `class` = 5 AND `level`= 40;
+UPDATE `player_levelstats` SET `basehp` = 662, `basemana` = 950 WHERE `class` = 5 AND `level`= 41;
+UPDATE `player_levelstats` SET `basehp` = 698, `basemana` = 974 WHERE `class` = 5 AND `level`= 42;
+UPDATE `player_levelstats` SET `basehp` = 725, `basemana` = 998 WHERE `class` = 5 AND `level`= 43;
+UPDATE `player_levelstats` SET `basehp` = 763, `basemana` = 1022 WHERE `class` = 5 AND `level`= 44;
+UPDATE `player_levelstats` SET `basehp` = 792, `basemana` = 1046 WHERE `class` = 5 AND `level`= 45;
+UPDATE `player_levelstats` SET `basehp` = 822, `basemana` = 1070 WHERE `class` = 5 AND `level`= 46;
+UPDATE `player_levelstats` SET `basehp` = 863, `basemana` = 1094 WHERE `class` = 5 AND `level`= 47;
+UPDATE `player_levelstats` SET `basehp` = 895, `basemana` = 1118 WHERE `class` = 5 AND `level`= 48;
+UPDATE `player_levelstats` SET `basehp` = 928, `basemana` = 1142 WHERE `class` = 5 AND `level`= 49;
+UPDATE `player_levelstats` SET `basehp` = 972, `basemana` = 1166 WHERE `class` = 5 AND `level`= 50;
+UPDATE `player_levelstats` SET `basehp` = 1007, `basemana` = 1190 WHERE `class` = 5 AND `level`= 51;
+UPDATE `player_levelstats` SET `basehp` = 1053, `basemana` = 1214 WHERE `class` = 5 AND `level`= 52;
+UPDATE `player_levelstats` SET `basehp` = 1090, `basemana` = 1238 WHERE `class` = 5 AND `level`= 53;
+UPDATE `player_levelstats` SET `basehp` = 1128, `basemana` = 1262 WHERE `class` = 5 AND `level`= 54;
+UPDATE `player_levelstats` SET `basehp` = 1177, `basemana` = 1271 WHERE `class` = 5 AND `level`= 55;
+UPDATE `player_levelstats` SET `basehp` = 1217, `basemana` = 1295 WHERE `class` = 5 AND `level`= 56;
+UPDATE `player_levelstats` SET `basehp` = 1258, `basemana` = 1319 WHERE `class` = 5 AND `level`= 57;
+UPDATE `player_levelstats` SET `basehp` = 1300, `basemana` = 1343 WHERE `class` = 5 AND `level`= 58;
+UPDATE `player_levelstats` SET `basehp` = 1353, `basemana` = 1352 WHERE `class` = 5 AND `level`= 59;
+UPDATE `player_levelstats` SET `basehp` = 1397, `basemana` = 1376 WHERE `class` = 5 AND `level`= 60;
+UPDATE `player_levelstats` SET `basehp` = 1557, `basemana` = 1500 WHERE `class` = 5 AND `level`= 61;
+UPDATE `player_levelstats` SET `basehp` = 1738, `basemana` = 1625 WHERE `class` = 5 AND `level`= 62;
+UPDATE `player_levelstats` SET `basehp` = 1916, `basemana` = 1749 WHERE `class` = 5 AND `level`= 63;
+UPDATE `player_levelstats` SET `basehp` = 2101, `basemana` = 1873 WHERE `class` = 5 AND `level`= 64;
+UPDATE `player_levelstats` SET `basehp` = 2295, `basemana` = 1998 WHERE `class` = 5 AND `level`= 65;
+UPDATE `player_levelstats` SET `basehp` = 2495, `basemana` = 2122 WHERE `class` = 5 AND `level`= 66;
+UPDATE `player_levelstats` SET `basehp` = 2719, `basemana` = 2247 WHERE `class` = 5 AND `level`= 67;
+UPDATE `player_levelstats` SET `basehp` = 2936, `basemana` = 2371 WHERE `class` = 5 AND `level`= 68;
+UPDATE `player_levelstats` SET `basehp` = 3160, `basemana` = 2495 WHERE `class` = 5 AND `level`= 69;
+UPDATE `player_levelstats` SET `basehp` = 3391, `basemana` = 2620 WHERE `class` = 5 AND `level`= 70;
diff --git a/sql/updates/0.10/5570_mangos_spell_elixir.sql b/sql/updates/0.10/5570_mangos_spell_elixir.sql
new file mode 100644
index 00000000000..ce79ef1701c
--- /dev/null
+++ b/sql/updates/0.10/5570_mangos_spell_elixir.sql
@@ -0,0 +1,118 @@
+DROP TABLE IF EXISTS `spell_elixir`;
+CREATE TABLE `spell_elixir` (
+ `entry` int(11) unsigned NOT NULL default '0' COMMENT 'SpellId of potion',
+ `mask` tinyint(1) unsigned NOT NULL default '0' COMMENT 'Mask 0x1 battle 0x2 guardian 0x3 flask 0x7 unstable flasks 0xB shattrath flasks',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell System';
+
+
+/* shattrath */
+INSERT INTO `spell_elixir` VALUES
+(41608,0xB),
+(41609,0xB),
+(41610,0xB),
+(41611,0xB);
+/* 2.4.0
+(46837,0xB),
+(46839,0xB);
+*/
+/* unstable */
+INSERT INTO `spell_elixir` VALUES
+(40567,0x7),
+(40568,0x7),
+(40572,0x7),
+(40573,0x7),
+(40575,0x7),
+(40576,0x7);
+/* Normal Flask */
+INSERT INTO `spell_elixir` VALUES
+(17624,0x3),
+(17626,0x3),
+(17627,0x3),
+(17629,0x3),
+(17628,0x3),
+(28518,0x3),
+(28519,0x3),
+(28520,0x3),
+(28521,0x3),
+(28540,0x3),
+(42735,0x3);
+/* Battle Elixirs */
+INSERT INTO `spell_elixir` VALUES
+( 2367,0x1),
+( 2374,0x1),
+( 3160,0x1),
+( 3164,0x1),
+( 7844,0x1),
+( 8212,0x1),
+(10667,0x1),
+(10669,0x1),
+(11328,0x1),
+(11334,0x1),
+(11390,0x1),
+(11405,0x1),
+(11406,0x1),
+(11474,0x1),
+(16322,0x1),
+(16323,0x1),
+(16329,0x1),
+(17038,0x1),
+(17537,0x1),
+(17538,0x1),
+(17539,0x1),
+(21920,0x1),/**/
+(26276,0x1),
+(28486,0x1),
+(28488,0x1),
+(28490,0x1),
+(28491,0x1),
+(28493,0x1),
+(28497,0x1),
+(28501,0x1),
+(28503,0x1),
+(33720,0x1),
+(33721,0x1),
+(33726,0x1),
+(38954,0x1);
+/* Guardian Elixirs */
+INSERT INTO `spell_elixir` VALUES
+( 673,0x2),
+( 2378,0x2),
+( 2380,0x2),
+( 3166,0x2),
+( 3219,0x2),
+( 3220,0x2),
+( 3222,0x2),
+( 3223,0x2),
+( 3593,0x2),
+(10668,0x2),
+(10692,0x2),
+(10693,0x2),
+(11319,0x2),
+(11348,0x2),
+(11349,0x2),
+(16321,0x2),
+(11364,0x2),
+(11371,0x2),
+(11396,0x2),
+(15231,0x2),
+(15233,0x2),
+(16325,0x2),
+(16326,0x2),
+(16327,0x2),
+(17535,0x2),
+(24361,0x2),
+(24363,0x2),
+(24382,0x2),
+(24383,0x2),
+(24417,0x2),
+(27652,0x2),
+(27653,0x2),
+(28502,0x2),
+(28509,0x2),
+(28514,0x2),
+(29348,0x2),
+(39625,0x2),
+(39626,0x2),
+(39627,0x2),
+(39628,0x2);
diff --git a/sql/updates/0.10/5571_mangos_player_levelstats.sql b/sql/updates/0.10/5571_mangos_player_levelstats.sql
new file mode 100644
index 00000000000..6962e0a1226
--- /dev/null
+++ b/sql/updates/0.10/5571_mangos_player_levelstats.sql
@@ -0,0 +1,70 @@
+UPDATE `player_levelstats` SET `basehp` = 46, `basemana` = 65 WHERE `class` = 3 AND `level`= 1;
+UPDATE `player_levelstats` SET `basehp` = 53, `basemana` = 70 WHERE `class` = 3 AND `level`= 2;
+UPDATE `player_levelstats` SET `basehp` = 60, `basemana` = 76 WHERE `class` = 3 AND `level`= 3;
+UPDATE `player_levelstats` SET `basehp` = 67, `basemana` = 98 WHERE `class` = 3 AND `level`= 4;
+UPDATE `player_levelstats` SET `basehp` = 74, `basemana` = 106 WHERE `class` = 3 AND `level`= 5;
+UPDATE `player_levelstats` SET `basehp` = 81, `basemana` = 130 WHERE `class` = 3 AND `level`= 6;
+UPDATE `player_levelstats` SET `basehp` = 88, `basemana` = 140 WHERE `class` = 3 AND `level`= 7;
+UPDATE `player_levelstats` SET `basehp` = 95, `basemana` = 166 WHERE `class` = 3 AND `level`= 8;
+UPDATE `player_levelstats` SET `basehp` = 102, `basemana` = 193 WHERE `class` = 3 AND `level`= 9;
+UPDATE `player_levelstats` SET `basehp` = 109, `basemana` = 206 WHERE `class` = 3 AND `level`= 10;
+UPDATE `player_levelstats` SET `basehp` = 116, `basemana` = 235 WHERE `class` = 3 AND `level`= 11;
+UPDATE `player_levelstats` SET `basehp` = 123, `basemana` = 250 WHERE `class` = 3 AND `level`= 12;
+UPDATE `player_levelstats` SET `basehp` = 130, `basemana` = 266 WHERE `class` = 3 AND `level`= 13;
+UPDATE `player_levelstats` SET `basehp` = 138, `basemana` = 298 WHERE `class` = 3 AND `level`= 14;
+UPDATE `player_levelstats` SET `basehp` = 147, `basemana` = 316 WHERE `class` = 3 AND `level`= 15;
+UPDATE `player_levelstats` SET `basehp` = 157, `basemana` = 350 WHERE `class` = 3 AND `level`= 16;
+UPDATE `player_levelstats` SET `basehp` = 168, `basemana` = 370 WHERE `class` = 3 AND `level`= 17;
+UPDATE `player_levelstats` SET `basehp` = 180, `basemana` = 391 WHERE `class` = 3 AND `level`= 18;
+UPDATE `player_levelstats` SET `basehp` = 193, `basemana` = 428 WHERE `class` = 3 AND `level`= 19;
+UPDATE `player_levelstats` SET `basehp` = 207, `basemana` = 451 WHERE `class` = 3 AND `level`= 20;
+UPDATE `player_levelstats` SET `basehp` = 222, `basemana` = 475 WHERE `class` = 3 AND `level`= 21;
+UPDATE `player_levelstats` SET `basehp` = 238, `basemana` = 515 WHERE `class` = 3 AND `level`= 22;
+UPDATE `player_levelstats` SET `basehp` = 255, `basemana` = 541 WHERE `class` = 3 AND `level`= 23;
+UPDATE `player_levelstats` SET `basehp` = 273, `basemana` = 568 WHERE `class` = 3 AND `level`= 24;
+UPDATE `player_levelstats` SET `basehp` = 292, `basemana` = 611 WHERE `class` = 3 AND `level`= 25;
+UPDATE `player_levelstats` SET `basehp` = 312, `basemana` = 640 WHERE `class` = 3 AND `level`= 26;
+UPDATE `player_levelstats` SET `basehp` = 333, `basemana` = 670 WHERE `class` = 3 AND `level`= 27;
+UPDATE `player_levelstats` SET `basehp` = 355, `basemana` = 715 WHERE `class` = 3 AND `level`= 28;
+UPDATE `player_levelstats` SET `basehp` = 378, `basemana` = 745 WHERE `class` = 3 AND `level`= 29;
+UPDATE `player_levelstats` SET `basehp` = 402, `basemana` = 775 WHERE `class` = 3 AND `level`= 30;
+UPDATE `player_levelstats` SET `basehp` = 417, `basemana` = 805 WHERE `class` = 3 AND `level`= 31;
+UPDATE `player_levelstats` SET `basehp` = 443, `basemana` = 850 WHERE `class` = 3 AND `level`= 32;
+UPDATE `player_levelstats` SET `basehp` = 470, `basemana` = 880 WHERE `class` = 3 AND `level`= 33;
+UPDATE `player_levelstats` SET `basehp` = 498, `basemana` = 910 WHERE `class` = 3 AND `level`= 34;
+UPDATE `player_levelstats` SET `basehp` = 527, `basemana` = 940 WHERE `class` = 3 AND `level`= 35;
+UPDATE `player_levelstats` SET `basehp` = 547, `basemana` = 970 WHERE `class` = 3 AND `level`= 36;
+UPDATE `player_levelstats` SET `basehp` = 578, `basemana` = 1015 WHERE `class` = 3 AND `level`= 37;
+UPDATE `player_levelstats` SET `basehp` = 610, `basemana` = 1045 WHERE `class` = 3 AND `level`= 38;
+UPDATE `player_levelstats` SET `basehp` = 643, `basemana` = 1075 WHERE `class` = 3 AND `level`= 39;
+UPDATE `player_levelstats` SET `basehp` = 667, `basemana` = 1105 WHERE `class` = 3 AND `level`= 40;
+UPDATE `player_levelstats` SET `basehp` = 702, `basemana` = 1135 WHERE `class` = 3 AND `level`= 41;
+UPDATE `player_levelstats` SET `basehp` = 738, `basemana` = 1180 WHERE `class` = 3 AND `level`= 42;
+UPDATE `player_levelstats` SET `basehp` = 775, `basemana` = 1210 WHERE `class` = 3 AND `level`= 43;
+UPDATE `player_levelstats` SET `basehp` = 803, `basemana` = 1240 WHERE `class` = 3 AND `level`= 44;
+UPDATE `player_levelstats` SET `basehp` = 842, `basemana` = 1270 WHERE `class` = 3 AND `level`= 45;
+UPDATE `player_levelstats` SET `basehp` = 872, `basemana` = 1300 WHERE `class` = 3 AND `level`= 46;
+UPDATE `player_levelstats` SET `basehp` = 913, `basemana` = 1330 WHERE `class` = 3 AND `level`= 47;
+UPDATE `player_levelstats` SET `basehp` = 955, `basemana` = 1360 WHERE `class` = 3 AND `level`= 48;
+UPDATE `player_levelstats` SET `basehp` = 994, `basemana` = 1390 WHERE `class` = 3 AND `level`= 49;
+UPDATE `player_levelstats` SET `basehp` = 1047, `basemana` = 1420 WHERE `class` = 3 AND `level`= 50;
+UPDATE `player_levelstats` SET `basehp` = 1067, `basemana` = 1450 WHERE `class` = 3 AND `level`= 51;
+UPDATE `player_levelstats` SET `basehp` = 1113, `basemana` = 1480 WHERE `class` = 3 AND `level`= 52;
+UPDATE `player_levelstats` SET `basehp` = 1150, `basemana` = 1510 WHERE `class` = 3 AND `level`= 53;
+UPDATE `player_levelstats` SET `basehp` = 1198, `basemana` = 1540 WHERE `class` = 3 AND `level`= 54;
+UPDATE `player_levelstats` SET `basehp` = 1237, `basemana` = 1570 WHERE `class` = 3 AND `level`= 55;
+UPDATE `player_levelstats` SET `basehp` = 1287, `basemana` = 1600 WHERE `class` = 3 AND `level`= 56;
+UPDATE `player_levelstats` SET `basehp` = 1328, `basemana` = 1630 WHERE `class` = 3 AND `level`= 57;
+UPDATE `player_levelstats` SET `basehp` = 1370, `basemana` = 1660 WHERE `class` = 3 AND `level`= 58;
+UPDATE `player_levelstats` SET `basehp` = 1423, `basemana` = 1690 WHERE `class` = 3 AND `level`= 59;
+UPDATE `player_levelstats` SET `basehp` = 1467, `basemana` = 1720 WHERE `class` = 3 AND `level`= 60;
+UPDATE `player_levelstats` SET `basehp` = 1633, `basemana` = 1886 WHERE `class` = 3 AND `level`= 61;
+UPDATE `player_levelstats` SET `basehp` = 1819, `basemana` = 2053 WHERE `class` = 3 AND `level`= 62;
+UPDATE `player_levelstats` SET `basehp` = 2003, `basemana` = 2219 WHERE `class` = 3 AND `level`= 63;
+UPDATE `player_levelstats` SET `basehp` = 2195, `basemana` = 2385 WHERE `class` = 3 AND `level`= 64;
+UPDATE `player_levelstats` SET `basehp` = 2397, `basemana` = 2552 WHERE `class` = 3 AND `level`= 65;
+UPDATE `player_levelstats` SET `basehp` = 2623, `basemana` = 2718 WHERE `class` = 3 AND `level`= 66;
+UPDATE `player_levelstats` SET `basehp` = 2844, `basemana` = 2884 WHERE `class` = 3 AND `level`= 67;
+UPDATE `player_levelstats` SET `basehp` = 3075, `basemana` = 3050 WHERE `class` = 3 AND `level`= 68;
+UPDATE `player_levelstats` SET `basehp` = 3316, `basemana` = 3217 WHERE `class` = 3 AND `level`= 69;
+UPDATE `player_levelstats` SET `basehp` = 3568, `basemana` = 3383 WHERE `class` = 3 AND `level`= 70;
diff --git a/sql/updates/0.10/5574_mangos_mangos_string.sql b/sql/updates/0.10/5574_mangos_mangos_string.sql
new file mode 100644
index 00000000000..1775837cc4d
--- /dev/null
+++ b/sql/updates/0.10/5574_mangos_mangos_string.sql
@@ -0,0 +1,4 @@
+DELETE FROM mangos_string WHERE entry in (468,470);
+INSERT INTO mangos_string VALUES
+(468,'id: %d eff: %d type: %d duration: %d maxduration: %d name: %s caster: %s %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(470,'id: %d eff: %d name: %s caster: %s %u',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/0.10/5574_mangos_spell_learn_spell.sql b/sql/updates/0.10/5574_mangos_spell_learn_spell.sql
new file mode 100644
index 00000000000..a701f24a1c6
--- /dev/null
+++ b/sql/updates/0.10/5574_mangos_spell_learn_spell.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_learn_spell` WHERE `entry` IN (264,266,5011,2018,2108,2259,2366,2550,2567,2575,3273,2842,3908,4036,7411,7620,25229);
diff --git a/sql/updates/0.10/5576_mangos_spell_affect.sql b/sql/updates/0.10/5576_mangos_spell_affect.sql
new file mode 100644
index 00000000000..4fe35128b36
--- /dev/null
+++ b/sql/updates/0.10/5576_mangos_spell_affect.sql
@@ -0,0 +1,10 @@
+DELETE FROM spell_affect WHERE entry = 16089;
+INSERT INTO spell_affect (entry,effectId,SpellFamily,SpellFamilyMask,Charges) VALUES
+(16089,0,0,0x00000004D3300407,0);
+
+DELETE FROM spell_affect WHERE entry = 16166;
+INSERT INTO spell_affect (entry,effectId,SpellFamily,SpellFamilyMask,Charges) VALUES
+(16166,0,0,0x0000000090100003,0),
+(16166,1,0,0x0000000090100003,0);
+
+
diff --git a/sql/updates/0.10/5576_mangos_spell_proc_event.sql b/sql/updates/0.10/5576_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..2a5daf63586
--- /dev/null
+++ b/sql/updates/0.10/5576_mangos_spell_proc_event.sql
@@ -0,0 +1 @@
+UPDATE spell_proc_event SET ppmRate = '10.5' WHERE entry = 30823; \ No newline at end of file
diff --git a/sql/updates/0.10/5585_mangos_gameobject_template.sql b/sql/updates/0.10/5585_mangos_gameobject_template.sql
new file mode 100644
index 00000000000..9a22e2f7e3a
--- /dev/null
+++ b/sql/updates/0.10/5585_mangos_gameobject_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `gameobject_template` ADD COLUMN `castBarCaption` varchar(100) NOT NULL default '' AFTER name;
diff --git a/sql/updates/0.10/5585_mangos_locales_gameobject.sql b/sql/updates/0.10/5585_mangos_locales_gameobject.sql
new file mode 100644
index 00000000000..d0137e81a81
--- /dev/null
+++ b/sql/updates/0.10/5585_mangos_locales_gameobject.sql
@@ -0,0 +1,7 @@
+ALTER TABLE `locales_gameobject` ADD COLUMN `castbarcaption_loc1` varchar(100) NOT NULL default '' AFTER name_loc7;
+ALTER TABLE `locales_gameobject` ADD COLUMN `castbarcaption_loc2` varchar(100) NOT NULL default '' AFTER castbarcaption_loc1;
+ALTER TABLE `locales_gameobject` ADD COLUMN `castbarcaption_loc3` varchar(100) NOT NULL default '' AFTER castbarcaption_loc2;
+ALTER TABLE `locales_gameobject` ADD COLUMN `castbarcaption_loc4` varchar(100) NOT NULL default '' AFTER castbarcaption_loc3;
+ALTER TABLE `locales_gameobject` ADD COLUMN `castbarcaption_loc5` varchar(100) NOT NULL default '' AFTER castbarcaption_loc4;
+ALTER TABLE `locales_gameobject` ADD COLUMN `castbarcaption_loc6` varchar(100) NOT NULL default '' AFTER castbarcaption_loc5;
+ALTER TABLE `locales_gameobject` ADD COLUMN `castbarcaption_loc7` varchar(100) NOT NULL default '' AFTER castbarcaption_loc6; \ No newline at end of file
diff --git a/sql/updates/0.10/5586_mangos_spell_proc_event.sql b/sql/updates/0.10/5586_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..f6be26460bc
--- /dev/null
+++ b/sql/updates/0.10/5586_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry`=28305;
+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
new file mode 100644
index 00000000000..32b6041ef43
--- /dev/null
+++ b/sql/updates/0.10/5589_mangos_spell_proc_event.sql
@@ -0,0 +1,6 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (16952,16954);
+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/5593_mangos_spell_proc_event.sql b/sql/updates/0.10/5593_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..f45979dc2f1
--- /dev/null
+++ b/sql/updates/0.10/5593_mangos_spell_proc_event.sql
@@ -0,0 +1,2 @@
+UPDATE spell_proc_event SET ppmRate = 20 WHERE entry IN (20166,20356,20357,27166);
+UPDATE spell_proc_event SET ppmRate = 20 WHERE entry IN (20165,20347,20348,20349,27160);
diff --git a/sql/updates/0.10/5628_mangos_creature_movement.sql b/sql/updates/0.10/5628_mangos_creature_movement.sql
new file mode 100644
index 00000000000..b4903bb1dd5
--- /dev/null
+++ b/sql/updates/0.10/5628_mangos_creature_movement.sql
@@ -0,0 +1,2 @@
+ALTER TABLE creature_movement
+ DROP aiscript;
diff --git a/sql/updates/0.10/5632_characters.sql b/sql/updates/0.10/5632_characters.sql
new file mode 100644
index 00000000000..9cdd8738ecd
--- /dev/null
+++ b/sql/updates/0.10/5632_characters.sql
@@ -0,0 +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;
diff --git a/sql/updates/0.10/5634_mangos_mangos_string.sql b/sql/updates/0.10/5634_mangos_mangos_string.sql
new file mode 100644
index 00000000000..8542cd081de
--- /dev/null
+++ b/sql/updates/0.10/5634_mangos_mangos_string.sql
@@ -0,0 +1,3 @@
+DELETE FROM mangos_string WHERE entry in (666);
+INSERT INTO mangos_string VALUES
+(666,'After your recent battle in %s our best attempts to award you a Mark of Honor failed. Enclosed you will find the Mark of Honor we were not able to deliver to you at the time. Thanks for fighting in %s!',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/0.10/5636_mangos_loot_template.sql b/sql/updates/0.10/5636_mangos_loot_template.sql
new file mode 100644
index 00000000000..987d33dae6f
--- /dev/null
+++ b/sql/updates/0.10/5636_mangos_loot_template.sql
@@ -0,0 +1,134 @@
+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
+ `ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)),
+ `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`,
+ DROP `mincount`;
+
+
+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
+ `ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)),
+ `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`,
+ DROP `mincount`;
+
+
+ALTER TABLE `fishing_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 `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`),
+ `maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`);
+
+ALTER TABLE `fishing_loot_template`
+ DROP `ChanceOrRef`,
+ DROP `QuestChanceOrGroup`,
+ DROP `mincount`;
+
+
+ALTER TABLE `gameobject_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 `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`),
+ `maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`);
+
+ALTER TABLE `gameobject_loot_template`
+ DROP `ChanceOrRef`,
+ DROP `QuestChanceOrGroup`,
+ DROP `mincount`;
+
+
+ALTER TABLE `item_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 `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`),
+ `maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`);
+
+ALTER TABLE `item_loot_template`
+ DROP `ChanceOrRef`,
+ DROP `QuestChanceOrGroup`,
+ DROP `mincount`;
+
+
+ALTER TABLE `pickpocketing_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 `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`),
+ `maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`);
+
+ALTER TABLE `pickpocketing_loot_template`
+ DROP `ChanceOrRef`,
+ DROP `QuestChanceOrGroup`,
+ DROP `mincount`;
+
+
+ALTER TABLE `prospecting_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 `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`),
+ `maxcount` = if(`ChanceOrRef` < 0, 1, `maxcount`);
+
+ALTER TABLE `prospecting_loot_template`
+ DROP `ChanceOrRef`,
+ DROP `QuestChanceOrGroup`,
+ DROP `mincount`;
+
+
+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
+ `ChanceOrQuestChance` = if(`QuestChanceOrGroup` > 0, -`QuestChanceOrGroup`, if(`ChanceOrRef` < 0, 100, `ChanceOrRef`)),
+ `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`,
+ 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
new file mode 100644
index 00000000000..4cc48723d2b
--- /dev/null
+++ b/sql/updates/0.10/5640_mangos_spell_proc_event.sql
@@ -0,0 +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
diff --git a/sql/updates/0.10/5642_mangos_mangos_string.sql b/sql/updates/0.10/5642_mangos_mangos_string.sql
new file mode 100644
index 00000000000..77c05b720f6
--- /dev/null
+++ b/sql/updates/0.10/5642_mangos_mangos_string.sql
@@ -0,0 +1,3 @@
+DELETE FROM mangos_string WHERE entry in (548);
+INSERT INTO mangos_string VALUES
+(548,'Player%s %s (guid: %u) Account: %s (id: %u) GMLevel: %u Last IP: %s Last login: %s Latency: %ums',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/0.5/1150_character_aura.sql b/sql/updates/0.5/1150_character_aura.sql
new file mode 100644
index 00000000000..c12e074c54d
--- /dev/null
+++ b/sql/updates/0.5/1150_character_aura.sql
@@ -0,0 +1,8 @@
+DROP TABLE IF EXISTS `character_aura`;
+CREATE TABLE `character_aura` (
+ `guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `spell` int(11) unsigned NOT NULL default '0',
+ `effect_index` int(11) unsigned NOT NULL default '0',
+ `remaintime` int(11) NOT NULL default '0',
+ KEY (`guid`,`spell`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
diff --git a/sql/updates/0.5/1155_commands.sql b/sql/updates/0.5/1155_commands.sql
new file mode 100644
index 00000000000..83295c1eae3
--- /dev/null
+++ b/sql/updates/0.5/1155_commands.sql
@@ -0,0 +1 @@
+ALTER TABLE `command` CHANGE `help` `help` LONGTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ;
diff --git a/sql/updates/0.5/1155_npc_option.sql b/sql/updates/0.5/1155_npc_option.sql
new file mode 100644
index 00000000000..58f6ebb8f4b
--- /dev/null
+++ b/sql/updates/0.5/1155_npc_option.sql
@@ -0,0 +1,10 @@
+DROP TABLE IF EXISTS `npc_option`;
+CREATE TABLE `npc_option` (
+`id` int(11) unsigned NOT NULL default '0',
+`gossip_id` int(11) unsigned NOT NULL default '0',
+`npcflag` int(11) unsigned NOT NULL default '0',
+`icon` int(11) unsigned NOT NULL default '0',
+`action` int(11) unsigned NOT NULL default '0',
+`option` text NOT NULL,
+PRIMARY KEY (`ID`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
diff --git a/sql/updates/0.5/1158_character_inventory.sql b/sql/updates/0.5/1158_character_inventory.sql
new file mode 100644
index 00000000000..174a3dd3d09
--- /dev/null
+++ b/sql/updates/0.5/1158_character_inventory.sql
@@ -0,0 +1,4 @@
+ALTER TABLE `character_inventory` ADD `bag` TINYINT( 3 ) DEFAULT '0' NOT NULL AFTER `guid` ;
+
+ALTER TABLE `character_inventory` DROP PRIMARY KEY ,
+ADD INDEX `idx_guid` ( `guid` , `bag` ) ;
diff --git a/sql/updates/0.5/1186_game_weather.sql b/sql/updates/0.5/1186_game_weather.sql
new file mode 100644
index 00000000000..2d634416ed8
--- /dev/null
+++ b/sql/updates/0.5/1186_game_weather.sql
@@ -0,0 +1,17 @@
+DROP TABLE IF EXISTS `game_weather`;
+CREATE TABLE `game_weather` (
+ `zone` int(11) unsigned NOT NULL default '0',
+ `spring_rain_chance` tinyint(3) unsigned NOT NULL default '25',
+ `spring_snow_chance` tinyint(3) unsigned NOT NULL default '25',
+ `spring_storm_chance` tinyint(3) unsigned NOT NULL default '25',
+ `summer_rain_chance` tinyint(3) unsigned NOT NULL default '25',
+ `summer_snow_chance` tinyint(3) unsigned NOT NULL default '25',
+ `summer_storm_chance` tinyint(3) unsigned NOT NULL default '25',
+ `fall_rain_chance` tinyint(3) unsigned NOT NULL default '25',
+ `fall_snow_chance` tinyint(3) unsigned NOT NULL default '25',
+ `fall_storm_chance` tinyint(3) unsigned NOT NULL default '25',
+ `winter_rain_chance` tinyint(3) unsigned NOT NULL default '25',
+ `winter_snow_chance` tinyint(3) unsigned NOT NULL default '25',
+ `winter_storm_chance` tinyint(3) unsigned NOT NULL default '25',
+ PRIMARY KEY (`zone`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Game System'; \ No newline at end of file
diff --git a/sql/updates/0.5/1208_npc_trainer.sql b/sql/updates/0.5/1208_npc_trainer.sql
new file mode 100644
index 00000000000..ac9692ff1d9
--- /dev/null
+++ b/sql/updates/0.5/1208_npc_trainer.sql
@@ -0,0 +1,6 @@
+ALTER TABLE `npc_trainer` CHANGE `guid` `entry` INT( 11 ) NOT NULL DEFAULT '0' ;
+
+ALTER TABLE `npc_trainer`
+ADD `reqskill` INT( 11 ) DEFAULT '0' NOT NULL ,
+ADD `reqskillvalue` INT( 11 ) DEFAULT '0' NOT NULL ;
+
diff --git a/sql/updates/0.5/1250_item_template.sql b/sql/updates/0.5/1250_item_template.sql
new file mode 100644
index 00000000000..f3c848d82c7
--- /dev/null
+++ b/sql/updates/0.5/1250_item_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `item_template` CHANGE `RequiredRaputationRank` `RequiredReputationRank` INT( 30 ) unsigned NOT NULL DEFAULT '0' ;
diff --git a/sql/updates/0.5/1262_areatrigger_tavern.sql b/sql/updates/0.5/1262_areatrigger_tavern.sql
new file mode 100644
index 00000000000..bc50ddff8cc
--- /dev/null
+++ b/sql/updates/0.5/1262_areatrigger_tavern.sql
@@ -0,0 +1,6 @@
+ALTER TABLE `areatrigger_tavern`
+ CHANGE `triggerid` `id` int(11) unsigned NOT NULL default '0' ,
+ CHANGE `Triggername` `name` text ,
+ DROP KEY `acct`,
+ DROP PRIMARY KEY ,
+ ADD PRIMARY KEY (`id`) ;
diff --git a/sql/updates/0.5/1262_game_graveyard.sql b/sql/updates/0.5/1262_game_graveyard.sql
new file mode 100644
index 00000000000..6b832119439
--- /dev/null
+++ b/sql/updates/0.5/1262_game_graveyard.sql
@@ -0,0 +1 @@
+ALTER TABLE `game_graveyard` RENAME TO `areatrigger_graveyard`;
diff --git a/sql/updates/0.5/1282_playercreateinfo.sql b/sql/updates/0.5/1282_playercreateinfo.sql
new file mode 100644
index 00000000000..d32ee218a40
--- /dev/null
+++ b/sql/updates/0.5/1282_playercreateinfo.sql
@@ -0,0 +1,8 @@
+TRUNCATE `playercreateinfo` ;
+
+LOCK TABLES `playercreateinfo` WRITE;
+INSERT INTO `playercreateinfo` VALUES (1,1,1,0,12,-8949,-132,84,49,23,20,22,20,21,40,60,0,1000,0,0,29,5,6,0,0),(2,1,2,0,12,-8949,-132,84,49,22,20,22,20,22,40,68,79,0,0,0,27,4,5,0,0),(3,1,4,0,12,-8949,-132,84,49,21,23,21,20,20,40,55,0,0,0,100,27,10,13,0,0),(4,1,5,0,12,-8949,-132,84,49,20,20,20,22,24,40,61,128,0,0,0,30,4,4,0,0),(5,1,8,0,12,-8949,-132,84,49,20,20,20,23,22,40,61,119,0,0,0,30,4,4,0,0),(6,1,9,0,12,-8949,-132,84,49,20,20,21,22,22,40,53,109,0,0,0,30,4,4,0,0),(7,2,1,1,14,-618,-4251,39,51,26,17,24,17,23,0,80,0,1000,0,0,35,6,6,0,0),(8,2,3,1,14,-618,-4251,39,51,23,20,23,17,24,0,76,80,0,0,0,25,4,5,0,0),(9,2,4,1,14,-618,-4251,39,51,24,20,23,17,23,0,75,0,0,0,100,30,4,4,0,0),(10,2,7,1,14,-618,-4251,39,51,24,17,23,18,25,0,97,71,0,0,0,30,4,4,0,0),(11,2,9,1,14,-618,-4251,39,51,23,17,23,19,25,0,73,109,0,0,0,30,4,4,0,0),(12,3,1,0,1,-6240,331,383,53,25,16,25,19,19,0,90,0,1000,0,0,33,5,6,0,0),(13,3,2,0,1,-6240,331,383,53,24,16,25,19,20,0,88,79,0,0,0,31,5,6,0,0),(14,3,3,0,1,-6240,331,383,53,22,19,24,19,20,0,86,80,0,0,0,24,4,5,0,0),(15,3,4,0,1,-6240,331,383,53,23,19,24,19,19,0,85,0,0,0,100,30,4,4,0,0),(16,3,5,0,1,-6240,331,383,53,22,16,23,21,22,0,91,128,0,0,0,30,4,4,0,0),(17,4,1,1,141,10311,832,1327,55,20,25,21,20,20,0,50,0,1000,0,0,21,4,4,0,0),(18,4,3,1,141,10311,832,1327,55,17,28,20,20,21,0,46,80,0,0,0,26,4,5,0,0),(19,4,4,1,141,10311,832,1327,55,18,28,20,20,20,0,45,0,0,0,100,30,4,4,0,0),(20,4,5,1,141,10311,832,1327,55,17,25,19,22,23,0,51,128,0,0,0,30,4,4,0,0),(21,4,11,1,141,10311,832,1327,55,18,25,19,22,22,0,53,67,0,0,0,30,4,4,0,0),(22,5,1,0,85,1676,1677,122,57,22,18,23,18,25,0,70,0,1000,0,0,27,4,5,0,0),(23,5,4,0,85,1676,1677,122,57,20,21,22,18,25,0,65,0,0,0,100,30,4,4,0,0),(24,5,5,0,85,1676,1677,122,57,19,18,21,20,28,0,71,128,0,0,0,30,4,4,0,0),(25,5,8,0,85,1676,1677,122,57,19,18,21,21,27,0,71,119,0,0,0,30,4,4,0,0),(26,5,9,0,85,1676,1677,122,57,19,18,22,20,27,0,63,109,0,0,0,30,4,4,0,0),(27,6,1,1,215,-2917,-257,53,59,28,15,24,15,22,0,80,0,1000,0,0,39,6,7,0,0),(28,6,3,1,215,-2917,-257,53,59,25,18,23,15,23,0,76,80,0,0,0,16,5,7,0,0),(29,6,7,1,215,-2917,-257,53,59,26,15,23,16,24,0,97,71,0,0,0,30,4,4,0,0),(30,6,11,1,215,-2917,-257,53,59,26,15,22,17,24,0,97,67,0,0,0,30,4,4,0,0),(31,7,1,0,1,-6240,331,383,1563,18,23,21,23,20,0,50,0,1000,0,0,10,3,4,0,0),(32,7,4,0,1,-6340,331,383,1563,16,26,20,23,20,0,45,0,0,0,100,30,4,4,0,0),(33,7,8,0,1,-6340,331,383,1563,15,23,19,26,22,0,51,119,0,0,0,30,4,4,0,0),(34,7,9,0,1,-6340,331,383,1563,15,23,20,25,22,0,43,109,0,0,0,30,4,4,0,0),(35,8,1,1,14,-618,-4251,39,1478,24,22,23,16,21,0,70,0,1000,0,0,29,5,7,0,0),(36,8,3,1,14,-618,-4251,39,1478,21,25,22,16,22,0,66,80,0,0,0,16,5,7,0,0),(37,8,4,1,14,-618,-4251,39,1478,22,25,22,16,21,0,65,0,0,0,100,30,4,4,0,0),(38,8,5,1,14,-618,-4251,39,1478,21,22,21,18,24,0,71,128,0,0,0,30,4,4,0,0),(39,8,7,1,14,-618,-4251,39,1478,22,22,22,17,23,0,87,71,0,0,0,30,4,4,0,0),(40,8,8,1,14,-618,-4251,39,1478,21,22,21,19,23,0,71,119,0,0,0,30,4,4,0,0);
+UNLOCK TABLES;
+
+
+
diff --git a/sql/updates/0.5/1282_playercreateinfo_item.sql b/sql/updates/0.5/1282_playercreateinfo_item.sql
new file mode 100644
index 00000000000..73b2a516a26
--- /dev/null
+++ b/sql/updates/0.5/1282_playercreateinfo_item.sql
@@ -0,0 +1,10 @@
+TRUNCATE `playercreateinfo_item` ;
+
+LOCK TABLES `playercreateinfo_item` WRITE;
+INSERT INTO `playercreateinfo_item` VALUES (1,38,255,3,1),(1,39,255,6,1),(1,40,255,7,1),(1,25,255,15,1),(1,2362,255,16,1),(1,65020,255,23,4),(1,6948,255,24,1),(1,14646,255,25,1),(2,45,255,3,1),(2,44,255,6,1),(2,43,255,7,1),(2,2361,255,15,1),(2,6948,255,23,1),(2,65021,255,24,2),(2,65022,255,25,4),(2,14646,255,26,1),(3,49,255,3,1),(3,48,255,6,1),(3,47,255,7,1),(3,2092,255,15,1),(3,65023,255,17,100),(3,65022,255,23,4),(3,6948,255,24,1),(3,14646,255,25,1),(4,53,255,3,1),(4,6098,255,4,1),(4,52,255,6,1),(4,51,255,7,1),(4,36,255,15,1),(4,65021,255,23,2),(4,65022,255,24,4),(4,6948,255,25,1),(4,14646,255,26,1),(5,6096,255,3,1),(5,56,255,4,1),(5,1395,255,6,1),(5,55,255,7,1),(5,35,255,15,1),(5,65022,255,23,4),(5,65021,255,24,2),(5,6948,255,25,1),(5,14646,255,26,1),(6,6097,255,3,1),(6,57,255,4,1),(6,1396,255,6,1),(6,59,255,7,1),(6,2092,255,15,1),(6,65027,255,23,4),(6,65021,255,24,2),(6,6948,255,25,1),(6,14646,255,26,1),(7,6125,255,3,1),(7,139,255,6,1),(7,140,255,7,1),(7,12282,255,15,1),(7,6948,255,23,1),(7,65020,255,24,4),(7,14649,255,25,1),(8,127,255,3,1),(8,6126,255,6,1),(8,6127,255,7,1),(8,37,255,15,1),(8,2504,255,17,1),(8,65021,255,23,2),(8,65020,255,24,4),(8,6948,255,25,1),(8,14649,255,26,1),(8,2512,255,27,200),(8,2101,255,28,1),(9,2105,255,3,1),(9,120,255,6,1),(9,121,255,7,1),(9,2092,255,15,1),(9,65024,255,17,100),(9,65020,255,23,4),(9,6948,255,24,1),(9,14649,255,25,1),(10,154,255,3,1),(10,153,255,6,1),(10,36,255,15,1),(10,6948,255,23,1),(10,65020,255,24,4),(10,65021,255,25,2),(10,14649,255,26,1),(11,6129,255,4,1),(11,1396,255,6,1),(11,59,255,7,1),(11,2092,255,15,1),(11,6948,255,23,1),(11,65020,255,24,4),(11,65021,255,25,2),(11,14649,255,26,1),(12,38,255,3,1),(12,39,255,6,1),(12,40,255,7,1),(12,12282,255,15,1),(12,6948,255,23,1),(12,65020,255,24,4),(12,14647,255,25,1),(13,45,255,3,1),(13,44,255,6,1),(13,43,255,7,1),(13,2361,255,15,1),(13,65026,255,23,4),(13,65021,255,24,2),(13,6948,255,25,1),(13,14647,255,26,1),(14,148,255,3,1),(14,147,255,6,1),(14,129,255,7,1),(14,37,255,15,1),(14,2508,255,17,1),(14,65021,255,23,2),(14,65020,255,24,4),(14,6948,255,25,1),(14,14647,255,26,1),(14,2516,255,27,200),(14,2102,255,28,1),(15,49,255,3,1),(15,48,255,6,1),(15,47,255,7,1),(15,2092,255,15,1),(15,65024,255,17,100),(15,65026,255,23,4),(15,6948,255,24,1),(15,14647,255,25,1),(16,53,255,3,1),(16,6098,255,4,1),(16,52,255,6,1),(16,51,255,7,1),(16,36,255,15,1),(16,65021,255,23,2),(16,65026,255,24,4),(16,6948,255,25,1),(16,14647,255,26,1),(17,38,255,3,1),(17,39,255,6,1),(17,40,255,7,1),(17,25,255,15,1),(17,2362,255,16,1),(17,65020,255,23,4),(17,6948,255,24,1),(17,14648,255,25,1),(18,148,255,3,1),(18,147,255,6,1),(18,129,255,7,1),(18,2092,255,15,1),(18,2504,255,17,1),(18,65021,255,23,2),(18,65020,255,24,4),(18,6948,255,25,1),(18,14648,255,26,1),(18,2512,255,27,200),(18,2101,255,28,1),(19,49,255,3,1),(19,48,255,6,1),(19,47,255,7,1),(19,2092,255,15,1),(19,65023,255,17,100),(19,65026,255,23,4),(19,6948,255,24,1),(19,14648,255,25,1),(20,53,255,3,1),(20,6119,255,4,1),(20,52,255,6,1),(20,51,255,7,1),(20,36,255,15,1),(20,65022,255,23,4),(20,65021,255,24,2),(20,6948,255,25,1),(20,14648,255,26,1),(21,6123,255,4,1),(21,44,255,6,1),(21,3661,255,15,1),(21,65021,255,23,2),(21,65025,255,24,4),(21,6948,255,25,1),(21,14648,255,26,1),(22,6125,255,3,1),(22,139,255,6,1),(22,140,255,7,1),(22,25,255,15,1),(22,2362,255,16,1),(22,65027,255,23,4),(22,6948,255,24,1),(22,14651,255,25,1),(23,2105,255,3,1),(23,120,255,6,1),(23,121,255,7,1),(23,2092,255,15,1),(23,65023,255,17,100),(23,65027,255,23,4),(23,6948,255,24,1),(23,14651,255,25,1),(24,53,255,3,1),(24,6144,255,4,1),(24,52,255,6,1),(24,51,255,7,1),(24,36,255,15,1),(24,65027,255,23,4),(24,65021,255,24,2),(24,6948,255,25,1),(24,14651,255,26,1),(25,6096,255,3,1),(25,6140,255,4,1),(25,1395,255,6,1),(25,55,255,7,1),(25,35,255,15,1),(25,65027,255,23,4),(25,65021,255,24,2),(25,6948,255,25,1),(25,14651,255,26,1),(26,6129,255,4,1),(26,1396,255,6,1),(26,59,255,7,1),(26,2092,255,15,1),(26,65027,255,23,4),(26,65021,255,24,2),(26,6948,255,25,1),(26,14651,255,26,1),(27,6125,255,3,1),(27,139,255,6,1),(27,2361,255,15,1),(27,6948,255,23,1),(27,65026,255,24,4),(27,14650,255,25,1),(28,127,255,3,1),(28,6126,255,6,1),(28,37,255,15,1),(28,2508,255,17,1),(28,65021,255,23,2),(28,65020,255,24,4),(28,6948,255,25,1),(28,14650,255,26,1),(28,2516,255,27,200),(28,2102,255,28,1),(29,154,255,3,1),(29,153,255,6,1),(29,36,255,15,1),(29,6948,255,23,1),(29,65027,255,24,4),(29,65021,255,25,2),(29,14650,255,26,1),(30,6139,255,4,1),(30,6124,255,6,1),(30,35,255,15,1),(30,65021,255,23,2),(30,65025,255,24,4),(30,6948,255,25,1),(30,14650,255,26,1),(31,38,255,4,1),(31,39,255,6,1),(31,40,255,7,1),(31,25,255,15,1),(31,2362,255,16,1),(31,65020,255,23,4),(31,6948,255,24,1),(31,14647,255,25,1),(32,49,255,3,1),(32,48,255,6,1),(32,47,255,7,1),(32,2092,255,15,1),(32,65023,255,17,100),(32,65020,255,23,4),(32,6948,255,24,1),(32,14647,255,25,1),(33,6096,255,3,1),(33,56,255,4,1),(33,1395,255,6,1),(33,55,255,7,1),(33,35,255,15,1),(33,65025,255,23,4),(33,65021,255,24,2),(33,6948,255,25,1),(33,14647,255,26,1),(34,6097,255,3,1),(34,57,255,4,1),(34,1396,255,6,1),(34,59,255,7,1),(34,2092,255,15,1),(34,65021,255,23,2),(34,65027,255,24,4),(34,6948,255,25,1),(34,14647,255,26,1),(35,6125,255,3,1),(35,139,255,6,1),(35,140,255,7,1),(35,37,255,15,1),(35,2362,255,16,1),(35,65024,255,17,100),(35,65020,255,23,4),(35,6948,255,24,1),(35,14649,255,25,1),(36,127,255,3,1),(36,6126,255,6,1),(36,6127,255,7,1),(36,37,255,15,1),(36,2504,255,17,1),(36,65027,255,23,4),(36,65021,255,24,2),(36,2512,255,27,200),(36,2101,255,28,1),(36,14649,255,26,1),(36,6948,255,25,1),(37,2105,255,3,1),(37,120,255,6,1),(37,121,255,7,1),(37,2092,255,15,1),(37,65024,255,17,100),(37,65020,255,23,4),(37,6948,255,24,1),(37,14649,255,25,1),(38,53,255,3,1),(38,6144,255,4,1),(38,52,255,6,1),(38,36,255,15,1),(38,65026,255,23,4),(38,65021,255,24,2),(38,6948,255,25,1),(38,14649,255,26,1),(39,6134,255,3,1),(39,6135,255,6,1),(39,36,255,15,1),(39,65020,255,23,4),(39,65021,255,24,2),(39,6948,255,25,1),(39,14649,255,26,1),(40,6096,255,3,1),(40,6140,255,4,1),(40,1395,255,6,1),(40,55,255,7,1),(40,35,255,15,1),(40,65020,255,23,4),(40,65021,255,24,2),(40,6948,255,25,1),(40,14649,255,26,1);
+UNLOCK TABLES;
+
+
+
+
+
diff --git a/sql/updates/0.5/1292_loot_template.sql b/sql/updates/0.5/1292_loot_template.sql
new file mode 100644
index 00000000000..97d18078362
--- /dev/null
+++ b/sql/updates/0.5/1292_loot_template.sql
@@ -0,0 +1,6 @@
+ALTER TABLE `loot_template`
+ 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
new file mode 100644
index 00000000000..1a32a785463
--- /dev/null
+++ b/sql/updates/0.5/1332_character_queststatus.sql
@@ -0,0 +1,18 @@
+ALTER TABLE `character_queststatus`
+ CHANGE `playerid` `guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ CHANGE `questid` `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
+ 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 `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',
+ CHANGE `questMobCount4` `mobcount4` int(11) unsigned NOT NULL default '0',
+ CHANGE `questItemCount1` `itemcount1` int(11) unsigned NOT NULL default '0',
+ CHANGE `questItemCount2` `itemcount2` int(11) unsigned NOT NULL default '0',
+ CHANGE `questItemCount3` `itemcount3` int(11) unsigned NOT NULL default '0',
+ CHANGE `questItemCount4` `itemcount4` int(11) unsigned NOT NULL default '0',
+ DROP `id` ,
+ DROP PRIMARY KEY ,
+ ADD PRIMARY KEY (`guid`,`quest`) ;
diff --git a/sql/updates/0.5/1336_item_template.sql b/sql/updates/0.5/1336_item_template.sql
new file mode 100644
index 00000000000..f200674af96
--- /dev/null
+++ b/sql/updates/0.5/1336_item_template.sql
@@ -0,0 +1 @@
+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
new file mode 100644
index 00000000000..4ca9eb0d85e
--- /dev/null
+++ b/sql/updates/0.5/1339_areatrigger_city.sql
@@ -0,0 +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';
diff --git a/sql/updates/0.5/1349_areatrigger_involvedrelation.sql b/sql/updates/0.5/1349_areatrigger_involvedrelation.sql
new file mode 100644
index 00000000000..69d713c1490
--- /dev/null
+++ b/sql/updates/0.5/1349_areatrigger_involvedrelation.sql
@@ -0,0 +1 @@
+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
new file mode 100644
index 00000000000..2290782d22e
--- /dev/null
+++ b/sql/updates/0.5/1349_character_aura.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `character_aura`
+ DROP KEY `guid` ,
+ 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
new file mode 100644
index 00000000000..8e0f1c5a67c
--- /dev/null
+++ b/sql/updates/0.5/1349_character_inventory.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `character_inventory`
+ DROP KEY `idx_guid` ,
+ 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
new file mode 100644
index 00000000000..5f55848955c
--- /dev/null
+++ b/sql/updates/0.5/1349_creature_template.sql
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 00000000000..f440fe36247
--- /dev/null
+++ b/sql/updates/0.5/1349_gameobject_template.sql
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 00000000000..49cc91e7aec
--- /dev/null
+++ b/sql/updates/0.5/1356_item_template.sql
@@ -0,0 +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';
diff --git a/sql/updates/0.5/1411_item_template.sql b/sql/updates/0.5/1411_item_template.sql
new file mode 100644
index 00000000000..eb9399fe082
--- /dev/null
+++ b/sql/updates/0.5/1411_item_template.sql
@@ -0,0 +1 @@
+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
new file mode 100644
index 00000000000..e3f8a9b7c34
--- /dev/null
+++ b/sql/updates/0.5/1447_quest_template.sql
@@ -0,0 +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;
diff --git a/sql/updates/0.5/1465_build_realmd_db.sql b/sql/updates/0.5/1465_build_realmd_db.sql
new file mode 100644
index 00000000000..1b52a8c6fc5
--- /dev/null
+++ b/sql/updates/0.5/1465_build_realmd_db.sql
@@ -0,0 +1,92 @@
+-- MySQL dump 10.10
+--
+-- Host: localhost Database: realmd
+-- ------------------------------------------------------
+-- Server version 5.0.21
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
+/*!40103 SET TIME_ZONE='+00:00' */;
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+
+--
+-- Table structure for table `account`
+--
+
+DROP TABLE IF EXISTS `account`;
+CREATE TABLE `account` (
+ `id` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Identifier',
+ `username` varchar(16) NOT NULL default '',
+ `password` varchar(28) NOT NULL default '',
+ `gmlevel` tinyint(3) unsigned NOT NULL default '0',
+ `sessionkey` longtext,
+ `email` varchar(50) NOT NULL default '',
+ `joindate` timestamp NOT NULL default CURRENT_TIMESTAMP,
+ `banned` tinyint(3) unsigned NOT NULL default '0',
+ `last_ip` varchar(30) NOT NULL default '127.0.0.1',
+ `failed_logins` int(11) unsigned NOT NULL default '0',
+ `locked` tinyint(3) unsigned NOT NULL default '0',
+ `last_login` timestamp NOT NULL default '0000-00-00 00:00:00',
+ `online` tinyint NOT NULL default 0,
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `idx_username` (`username`),
+ KEY `idx_banned` (`banned`),
+ KEY `idx_gmlevel` (`gmlevel`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Account System';
+
+--
+-- Table structure for table `realmcharacters`
+--
+
+DROP TABLE IF EXISTS `realmcharacters`;
+CREATE TABLE `realmcharacters` (
+ `realmid` integer(11) unsigned NOT NULL default '0',
+ `acctid` bigint(20) unsigned NOT NULL,
+ `numchars` tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (`realmid`, `acctid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Realm Character Tracker';
+
+
+--
+-- Table structure for table `ip_banned`
+--
+
+DROP TABLE IF EXISTS `ip_banned`;
+CREATE TABLE `ip_banned` (
+ `ip` varchar(32) NOT NULL default '127.0.0.1',
+ PRIMARY KEY (`ip`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Banned IPs';
+
+--
+-- Dumping data for table `ip_banned`
+--
+
+
+/*!40000 ALTER TABLE `ip_banned` DISABLE KEYS */;
+LOCK TABLES `ip_banned` WRITE;
+UNLOCK TABLES;
+/*!40000 ALTER TABLE `ip_banned` ENABLE KEYS */;
+
+
+--
+-- Table structure for table `realmlist`
+--
+
+DROP TABLE IF EXISTS `realmlist`;
+CREATE TABLE `realmlist` (
+ `id` int(11) unsigned NOT NULL auto_increment,
+ `name` varchar(32) NOT NULL default '',
+ `address` varchar(32) NOT NULL default '127.0.0.1',
+ `icon` tinyint(3) unsigned NOT NULL default '0',
+ `color` tinyint(3) unsigned NOT NULL default '0',
+ `timezone` tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (`id`),
+ UNIQUE KEY `idx_name` (`name`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Realm System';
+
diff --git a/sql/updates/0.5/1465_create_realmd_db.sql b/sql/updates/0.5/1465_create_realmd_db.sql
new file mode 100644
index 00000000000..8411114b208
--- /dev/null
+++ b/sql/updates/0.5/1465_create_realmd_db.sql
@@ -0,0 +1,4 @@
+GRANT USAGE ON * . * TO 'mangos'@'localhost' IDENTIFIED BY 'mangos' WITH MAX_QUERIES_PER_HOUR 0 MAX_CONNECTIONS_PER_HOUR 0 MAX_UPDATES_PER_HOUR 0 ;
+CREATE DATABASE `realmd` ;
+GRANT ALL PRIVILEGES ON `realmd` . * TO 'mangos'@'localhost' WITH GRANT OPTION ;
+
diff --git a/sql/updates/0.5/1465_populate_realmd_db.sql b/sql/updates/0.5/1465_populate_realmd_db.sql
new file mode 100644
index 00000000000..0aa78a7fbb5
--- /dev/null
+++ b/sql/updates/0.5/1465_populate_realmd_db.sql
@@ -0,0 +1,17 @@
+truncate realmd.realmlist;
+insert into realmd.realmlist
+select `id`, `name`, `address`, `icon`, `color`, `timezone` from mangos.realmlist;
+drop table mangos.realmlist;
+
+truncate realmd.account;
+insert into realmd.account
+select *,0 from mangos.account;
+drop table mangos.account;
+
+INSERT INTO RealmCharacters
+SELECT realmlist.id, account.id, 0 from realmlist, account;
+
+truncate realmd.ip_banned;
+insert into realmd.ip_banned
+select * from mangos.ip_banned;
+drop table mangos.ip_banned;
diff --git a/sql/updates/0.5/1475_character_aura.sql b/sql/updates/0.5/1475_character_aura.sql
new file mode 100644
index 00000000000..6a4c49dbefd
--- /dev/null
+++ b/sql/updates/0.5/1475_character_aura.sql
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 00000000000..05839658a80
--- /dev/null
+++ b/sql/updates/0.5/1511_object_involvedrelation.sql
@@ -0,0 +1,7 @@
+ALTER TABLE `object_involvedrelation`
+ RENAME TO `gameobject_involvedrelation`,
+ DROP PRIMARY KEY,
+ DROP `Id`,
+ CHANGE `objectId` `id` int(11) unsigned NOT NULL default '0',
+ CHANGE `questId` `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier' AFTER `id`,
+ ADD PRIMARY KEY (`id`,`quest`);
diff --git a/sql/updates/0.5/1511_object_questrelation.sql b/sql/updates/0.5/1511_object_questrelation.sql
new file mode 100644
index 00000000000..aac0e5679e6
--- /dev/null
+++ b/sql/updates/0.5/1511_object_questrelation.sql
@@ -0,0 +1,7 @@
+ALTER TABLE `object_questrelation`
+ RENAME TO `gameobject_questrelation`,
+ DROP PRIMARY KEY,
+ DROP `Id`,
+ CHANGE `objectId` `id` int(11) unsigned NOT NULL default '0',
+ CHANGE `questId` `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier' AFTER `id`,
+ ADD PRIMARY KEY (`id`,`quest`);
diff --git a/sql/updates/0.5/1526_npc_vendor.sql b/sql/updates/0.5/1526_npc_vendor.sql
new file mode 100644
index 00000000000..36a331b75f6
--- /dev/null
+++ b/sql/updates/0.5/1526_npc_vendor.sql
@@ -0,0 +1,9 @@
+ALTER TABLE `npc_vendor`
+ DROP PRIMARY KEY,
+ DROP KEY `vendor_id` ,
+ DROP `index_id`,
+ CHANGE `entry` `entry` int(11) unsigned NOT NULL default '0',
+ CHANGE `itemguid` `item` int(11) unsigned NOT NULL default '0',
+ CHANGE `amount` `buycount` int(11) unsigned NOT NULL default '1',
+ ADD `maxcount` int(11) unsigned NOT NULL default '0',
+ ADD `incrtime` int(11) unsigned NOT NULL default '0';
diff --git a/sql/updates/0.5/1562_creature_template.sql b/sql/updates/0.5/1562_creature_template.sql
new file mode 100644
index 00000000000..529e027dac2
--- /dev/null
+++ b/sql/updates/0.5/1562_creature_template.sql
@@ -0,0 +1,3 @@
+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
diff --git a/sql/updates/0.5/1576_command.sql b/sql/updates/0.5/1576_command.sql
new file mode 100644
index 00000000000..5c323794634
--- /dev/null
+++ b/sql/updates/0.5/1576_command.sql
@@ -0,0 +1 @@
+INSERT INTO `command` VALUES ('additemset',3,'Syntax: .additemset #itemsetid\r\n\r\nAdd items from itemset of id #itemsetid to your inventory. Will add by one example each item from itemset.');
diff --git a/sql/updates/0.5/1595_area_graveyard.sql b/sql/updates/0.5/1595_area_graveyard.sql
new file mode 100644
index 00000000000..512762f464f
--- /dev/null
+++ b/sql/updates/0.5/1595_area_graveyard.sql
@@ -0,0 +1,11 @@
+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`
+FROM `areatrigger_graveyard` ;
+
+ALTER TABLE `areatrigger_graveyard`
+ DROP `zone`;
+
diff --git a/sql/updates/0.5/1601_game_addons.sql b/sql/updates/0.5/1601_game_addons.sql
new file mode 100644
index 00000000000..c9dbeb251a2
--- /dev/null
+++ b/sql/updates/0.5/1601_game_addons.sql
@@ -0,0 +1,7 @@
+DROP TABLE IF EXISTS `game_addons`;
+CREATE TABLE `game_addons` (
+ `addonname` char(255) NOT NULL default '',
+ `crc` bigint(20) NOT NULL default '0',
+ `enabled` tinyint(4) NOT NULL default '0',
+ PRIMARY KEY (`addonname`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Addons System';
diff --git a/sql/updates/0.5/1615_areatrigger_graveyard.sql b/sql/updates/0.5/1615_areatrigger_graveyard.sql
new file mode 100644
index 00000000000..abe329b9c08
--- /dev/null
+++ b/sql/updates/0.5/1615_areatrigger_graveyard.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `areatrigger_graveyard`
+ CHANGE `id` `id` int(11) unsigned NOT NULL auto_increment COMMENT 'Identifier';
+
diff --git a/sql/updates/0.5/1635_character.sql b/sql/updates/0.5/1635_character.sql
new file mode 100644
index 00000000000..c70fc62d8e4
--- /dev/null
+++ b/sql/updates/0.5/1635_character.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `character` CHANGE `honor` `highest_rank` INT( 11 ) DEFAULT '0' NOT NULL ,
+CHANGE `last_week_honor` `standing` INT( 11 ) DEFAULT '0' NOT NULL ;
+ALTER TABLE `character` ADD `rating` FLOAT( 11 ) DEFAULT '0' NOT NULL AFTER `standing` ; \ No newline at end of file
diff --git a/sql/updates/0.5/1669_character_spell.sql b/sql/updates/0.5/1669_character_spell.sql
new file mode 100644
index 00000000000..0bd65b34b3f
--- /dev/null
+++ b/sql/updates/0.5/1669_character_spell.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `character_spell`
+ ADD `active` int(11) unsigned NOT NULL default '1';
diff --git a/sql/updates/0.5/1676_game_graveyard.sql b/sql/updates/0.5/1676_game_graveyard.sql
new file mode 100644
index 00000000000..c8349688291
--- /dev/null
+++ b/sql/updates/0.5/1676_game_graveyard.sql
@@ -0,0 +1,5 @@
+ALTER TABLE `areatrigger_graveyard`
+ RENAME TO `game_graveyard`;
+
+ALTER TABLE `areatrigger_graveyard_zone`
+ RENAME TO `game_graveyard_zone`;
diff --git a/sql/updates/0.5/1676_game_tele.sql b/sql/updates/0.5/1676_game_tele.sql
new file mode 100644
index 00000000000..73a5d448ae1
--- /dev/null
+++ b/sql/updates/0.5/1676_game_tele.sql
@@ -0,0 +1,10 @@
+CREATE TABLE `game_tele` (
+ `id` int(11) unsigned NOT NULL auto_increment,
+ `position_x` float NOT NULL default '0',
+ `position_y` float NOT NULL default '0',
+ `position_z` float NOT NULL default '0',
+ `orientation` float NOT NULL default '0',
+ `map` int(11) unsigned NOT NULL default '0',
+ `name` varchar(100) NOT NULL default '',
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Tele Command';
diff --git a/sql/updates/0.5/1687_loot_template.sql b/sql/updates/0.5/1687_loot_template.sql
new file mode 100644
index 00000000000..a9f8eb23362
--- /dev/null
+++ b/sql/updates/0.5/1687_loot_template.sql
@@ -0,0 +1,4 @@
+ALTER TABLE `loot_template`
+ ADD `questchance` float NOT NULL default '0';
+
+UPDATE `loot_template` SET `questchance` = 100 WHERE `chance` = 0;
diff --git a/sql/updates/0.5/1704_item_template.sql b/sql/updates/0.5/1704_item_template.sql
new file mode 100644
index 00000000000..96079a6e410
--- /dev/null
+++ b/sql/updates/0.5/1704_item_template.sql
@@ -0,0 +1,9 @@
+ALTER TABLE `item_template` ADD COLUMN `BuyCount` TINYINT(3) UNSIGNED NOT NULL DEFAULT 1 AFTER `Flags`;
+ALTER TABLE `npc_vendor` DROP COLUMN `buycount`;
+
+UPDATE `item_template`
+ SET `BuyCount` = (`BuyPrice` DIV (`SellPrice` * 4)) WHERE `SellPrice` > 0;
+
+UPDATE `item_template`
+ SET `BuyCount` = 1 WHERE `BuyCount` = 0;
+
diff --git a/sql/updates/0.5/1799_quest_template.sql b/sql/updates/0.5/1799_quest_template.sql
new file mode 100644
index 00000000000..05a3ebd7fa6
--- /dev/null
+++ b/sql/updates/0.5/1799_quest_template.sql
@@ -0,0 +1,11 @@
+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',
+ CHANGE `ReqKillMobId2` `ReqKillMobOrGOId2` int(11) NOT NULL default '0',
+ CHANGE `ReqKillMobId3` `ReqKillMobOrGOId3` int(11) NOT NULL default '0',
+ CHANGE `ReqKillMobId4` `ReqKillMobOrGOId4` int(11) NOT NULL default '0',
+ CHANGE `ReqKillMobCount1` `ReqKillMobOrGOCount1` int(11) unsigned NOT NULL default '0',
+ CHANGE `ReqKillMobCount2` `ReqKillMobOrGOCount2` int(11) unsigned NOT NULL default '0',
+ CHANGE `ReqKillMobCount3` `ReqKillMobOrGOCount3` int(11) unsigned NOT NULL default '0',
+ CHANGE `ReqKillMobCount4` `ReqKillMobOrGOCount4` int(11) unsigned NOT NULL default '0';
diff --git a/sql/updates/0.5/1825_game_corpse.sql b/sql/updates/0.5/1825_game_corpse.sql
new file mode 100644
index 00000000000..eabad471e7d
--- /dev/null
+++ b/sql/updates/0.5/1825_game_corpse.sql
@@ -0,0 +1 @@
+ALTER TABLE `game_corpse` DROP INDEX `idx_player`;
diff --git a/sql/updates/0.5/1856_command.sql b/sql/updates/0.5/1856_command.sql
new file mode 100644
index 00000000000..b644a0cfc92
--- /dev/null
+++ b/sql/updates/0.5/1856_command.sql
@@ -0,0 +1,3 @@
+insert into command values('shutdown','3','Syntax: .shutdown seconds');
+insert into command values('cshutdown','3','Syntax: .cshutdown Cancels shuttdown');
+
diff --git a/sql/updates/0.5/1865_command.sql b/sql/updates/0.5/1865_command.sql
new file mode 100644
index 00000000000..baa57731849
--- /dev/null
+++ b/sql/updates/0.5/1865_command.sql
@@ -0,0 +1,2 @@
+insert into command values('reset','3','Usage: .reset stats\r\nResets all stats of the targeted player to their original values at level 1.\r\nPlease unequip all items and debuff all auras from the player before using.');
+
diff --git a/sql/updates/0.5/1880_command.sql b/sql/updates/0.5/1880_command.sql
new file mode 100644
index 00000000000..e28e5748364
--- /dev/null
+++ b/sql/updates/0.5/1880_command.sql
@@ -0,0 +1,3 @@
+insert into command values('maxskill','3','Usage: .maxskill\r\nSets all skills of the targeted player to their maximum values for its current level.');
+UPDATE `command` SET `help` = 'Usage:\r\n.reset stats\r\n Resets all stats of the targeted player to their original values at level 1.\r\n Please unequip all items and debuff all auras from the player before using.\r\n.reset talents\r\n Removes all talents of the targeted player.' WHERE `name` = 'reset';
+
diff --git a/sql/updates/0.5/1883_quest_template.sql b/sql/updates/0.5/1883_quest_template.sql
new file mode 100644
index 00000000000..8c650cb065b
--- /dev/null
+++ b/sql/updates/0.5/1883_quest_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `quest_template`
+ ADD COLUMN `QuestSort` int(11) unsigned NOT NULL default '0' AFTER `ZoneId`;
diff --git a/sql/updates/0.5/1915_loot_template.sql b/sql/updates/0.5/1915_loot_template.sql
new file mode 100644
index 00000000000..d2893b61cb7
--- /dev/null
+++ b/sql/updates/0.5/1915_loot_template.sql
@@ -0,0 +1,30 @@
+CREATE TABLE `creature_loot_template` AS SELECT DISTINCT
+ `loot_template`.`entry` AS `entry`,
+ `loot_template`.`item` AS `item`,
+ `loot_template`.`chance` AS `chance`,
+ `loot_template`.`questchance` AS `questchance`
+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`.`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`,
+ `loot_template`.`item` AS `item`,
+ `loot_template`.`chance` AS `chance`,
+ `loot_template`.`questchance` AS `questchance`
+FROM `loot_template` WHERE `loot_template`.`entry` > 30000 AND `loot_template`.`entry` < 33000;
+
+CREATE TABLE `pickpocketing_loot_template` (
+ `entry` int(11) unsigned NOT NULL default '0',
+ `item` int(11) unsigned NOT NULL default '0',
+ `chance` float NOT NULL default '100',
+ `questchance` float NOT NULL default '0',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+
+DROP TABLE `loot_template`;
diff --git a/sql/updates/0.5/1935_command.sql b/sql/updates/0.5/1935_command.sql
new file mode 100644
index 00000000000..a766fc34c31
--- /dev/null
+++ b/sql/updates/0.5/1935_command.sql
@@ -0,0 +1,2 @@
+INSERT INTO command VALUES('whispers','1','Usage: .whispers on|off\r\nEnable/disable accepting whispers by GM from players. By default use mangosd.conf setting.');
+
diff --git a/sql/updates/0.5/1949_corpse.sql b/sql/updates/0.5/1949_corpse.sql
new file mode 100644
index 00000000000..4e5e37c63d3
--- /dev/null
+++ b/sql/updates/0.5/1949_corpse.sql
@@ -0,0 +1,14 @@
+ALTER TABLE `game_corpse`
+ RENAME TO `corpse`;
+
+CREATE TABLE `corpse_grid` (
+ `guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `position_x` int(11) NOT NULL default '0',
+ `position_y` int(11) NOT NULL default '0',
+ `cell_position_x` int(11) NOT NULL default '0',
+ `cell_position_y` int(11) NOT NULL default '0',
+ `grid` int(11) unsigned NOT NULL default '0' COMMENT 'Grid Identifier',
+ `cell` int(11) unsigned NOT NULL default '0' COMMENT 'Cell Identifier',
+ `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
+ UNIQUE KEY `idx_search` (`grid`,`cell`,`map`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Grid System'; \ No newline at end of file
diff --git a/sql/updates/0.5/1953_playercreateinfo_skill.sql b/sql/updates/0.5/1953_playercreateinfo_skill.sql
new file mode 100644
index 00000000000..88a654ad4de
--- /dev/null
+++ b/sql/updates/0.5/1953_playercreateinfo_skill.sql
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 00000000000..a7da2fc1f9f
--- /dev/null
+++ b/sql/updates/0.5/1953_playercreateinfo_spell.sql
@@ -0,0 +1,3 @@
+ALTER IGNORE TABLE `playercreateinfo_spell`
+ ADD PRIMARY KEY (`createid`,`Spell`);
+
diff --git a/sql/updates/0.5/1956_command.sql b/sql/updates/0.5/1956_command.sql
new file mode 100644
index 00000000000..5320edb5463
--- /dev/null
+++ b/sql/updates/0.5/1956_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM `command` WHERE `name` = 'modify level';
+
+UPDATE `command` SET `help` = 'Syntax: .die\r\n\r\nKill the selected player or creature. If no player or creature selected, it will kill you.' WHERE `name` = 'die';
+
diff --git a/sql/updates/0.5/2017_quest_template.sql b/sql/updates/0.5/2017_quest_template.sql
new file mode 100644
index 00000000000..24bf660eb4f
--- /dev/null
+++ b/sql/updates/0.5/2017_quest_template.sql
@@ -0,0 +1,3 @@
+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/2033_command.sql b/sql/updates/0.5/2033_command.sql
new file mode 100644
index 00000000000..9310abacb3c
--- /dev/null
+++ b/sql/updates/0.5/2033_command.sql
@@ -0,0 +1,2 @@
+UPDATE command SET `help` = 'Syntax: .learn #parameter\r\n\r\nSelected character learn a spell of id #parameter. If GM want to learn all default spells for Game Masters, use the syntax .learn all Character selection in this case ignored.' WHERE `name` = 'learn';
+UPDATE command SET `help` = 'Syntax: .unlearn #startspell #endspell\r\n\r\nUnlearn for selected player the range of spells between id #startspell and #endspell. If no #endspell is provided, just unlearn spell of id #startspell.' WHERE `name` = 'unlearn';
diff --git a/sql/updates/0.5/2041_auctionhouse_bid.sql b/sql/updates/0.5/2041_auctionhouse_bid.sql
new file mode 100644
index 00000000000..98a4a67c3af
--- /dev/null
+++ b/sql/updates/0.5/2041_auctionhouse_bid.sql
@@ -0,0 +1 @@
+DROP TABLE IF EXISTS `auctionhouse_bid`;
diff --git a/sql/updates/0.5/2041_game_spell.sql b/sql/updates/0.5/2041_game_spell.sql
new file mode 100644
index 00000000000..a7033cf7479
--- /dev/null
+++ b/sql/updates/0.5/2041_game_spell.sql
@@ -0,0 +1 @@
+DROP TABLE IF EXISTS `game_spell`;
diff --git a/sql/updates/0.5/2041_game_talent.sql b/sql/updates/0.5/2041_game_talent.sql
new file mode 100644
index 00000000000..de619644ad3
--- /dev/null
+++ b/sql/updates/0.5/2041_game_talent.sql
@@ -0,0 +1 @@
+DROP TABLE IF EXISTS `game_talent`;
diff --git a/sql/updates/0.5/2047_quest_template.sql b/sql/updates/0.5/2047_quest_template.sql
new file mode 100644
index 00000000000..910c4fc5335
--- /dev/null
+++ b/sql/updates/0.5/2047_quest_template.sql
@@ -0,0 +1,5 @@
+UPDATE `quest_template`
+ SET `SpecialFlags` = `SpecialFlags` | `QuestFlags`;
+
+ALTER TABLE `quest_template`
+ DROP `QuestFlags`;
diff --git a/sql/updates/0.5/2054_command.sql b/sql/updates/0.5/2054_command.sql
new file mode 100644
index 00000000000..b99c2822d45
--- /dev/null
+++ b/sql/updates/0.5/2054_command.sql
@@ -0,0 +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
diff --git a/sql/updates/0.5/2058_command.sql b/sql/updates/0.5/2058_command.sql
new file mode 100644
index 00000000000..ff9ec86da4c
--- /dev/null
+++ b/sql/updates/0.5/2058_command.sql
@@ -0,0 +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
diff --git a/sql/updates/0.5/2066_creature_template.sql b/sql/updates/0.5/2066_creature_template.sql
new file mode 100644
index 00000000000..0dd3ba8339e
--- /dev/null
+++ b/sql/updates/0.5/2066_creature_template.sql
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 00000000000..f06edb9b352
--- /dev/null
+++ b/sql/updates/0.5/2069_quest_template.sql
@@ -0,0 +1,3 @@
+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/2079_command.sql b/sql/updates/0.5/2079_command.sql
new file mode 100644
index 00000000000..5b5ad9d4c4c
--- /dev/null
+++ b/sql/updates/0.5/2079_command.sql
@@ -0,0 +1,2 @@
+INSERT INTO command VALUES('gocreature','2','Usage: .gocreature #creature_guid\r\nTeleport your character to creature with guid #creature_guid.');
+INSERT INTO command VALUES('goobject','1','Usage: .goobject #object_guid\r\nTeleport your character to gameobject with guid #object_guid'); \ No newline at end of file
diff --git a/sql/updates/0.5/2099_npc_trainer.sql b/sql/updates/0.5/2099_npc_trainer.sql
new file mode 100644
index 00000000000..29421cb1ff3
--- /dev/null
+++ b/sql/updates/0.5/2099_npc_trainer.sql
@@ -0,0 +1,5 @@
+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',
+ ADD COLUMN `reqlevel` int(11) unsigned default '0';
diff --git a/sql/updates/0.5/2107_command.sql b/sql/updates/0.5/2107_command.sql
new file mode 100644
index 00000000000..32bdf7cd730
--- /dev/null
+++ b/sql/updates/0.5/2107_command.sql
@@ -0,0 +1 @@
+INSERT INTO command VALUES('targetobject','2','Usage: .targetobject [#go_id|#go_name_part]\r\nLocate and show position nearest gameobject. If #go_id or #go_name_part provide then locate and show position of nearest gameobject with gameobject template id #go_id or name included #go_name_part as part.');
diff --git a/sql/updates/0.5/2113_command.sql b/sql/updates/0.5/2113_command.sql
new file mode 100644
index 00000000000..857cd724b46
--- /dev/null
+++ b/sql/updates/0.5/2113_command.sql
@@ -0,0 +1 @@
+INSERT INTO command VALUES('delobject','2','Usage: .delobject #go_guid\r\nDelete gameobject with guid #go_guid.');
diff --git a/sql/updates/0.5/2118_playercreateinfo_spell.sql b/sql/updates/0.5/2118_playercreateinfo_spell.sql
new file mode 100644
index 00000000000..60e389432cc
--- /dev/null
+++ b/sql/updates/0.5/2118_playercreateinfo_spell.sql
@@ -0,0 +1,31 @@
+ALTER TABLE `playercreateinfo_spell` ADD COLUMN `Active` tinyint(3) unsigned NOT NULL default '1';
+INSERT INTO `playercreateinfo_spell` VALUES ('21', '3025', 'Cat Form Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('21', '3122', 'Tree Form Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('21', '5419', 'Travel Form Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('21', '5421', 'Aqua Form Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('21', '1178', 'Bear Form Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('21', '9635', 'Dire Bear Form Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('21', '24905', 'Moonkin Form Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('30', '3025', 'Cat Form Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('30', '3122', 'Tree Form Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('30', '5419', 'Travel Form Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('30', '5421', 'Aqua Form Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('30', '1178', 'Bear Form Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('30', '9635', 'Dire Bear Form Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('30', '24905', 'Moonkin Form Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('1', '7376', 'Defensive Stance Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('1', '7381', 'Berserker Stance Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('7', '7376', 'Defensive Stance Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('7', '7381', 'Berserker Stance Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('12', '7376', 'Defensive Stance Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('12', '7381', 'Berserker Stance Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('17', '7376', 'Defensive Stance Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('17', '7381', 'Berserker Stance Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('22', '7376', 'Defensive Stance Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('22', '7381', 'Berserker Stance Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('27', '7376', 'Defensive Stance Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('27', '7381', 'Berserker Stance Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('31', '7376', 'Defensive Stance Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('31', '7381', 'Berserker Stance Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('35', '7376', 'Defensive Stance Passive', '0');
+INSERT INTO `playercreateinfo_spell` VALUES ('35', '7381', 'Berserker Stance Passive', '0'); \ No newline at end of file
diff --git a/sql/updates/0.5/2119_command.sql b/sql/updates/0.5/2119_command.sql
new file mode 100644
index 00000000000..d9c9747ba2c
--- /dev/null
+++ b/sql/updates/0.5/2119_command.sql
@@ -0,0 +1 @@
+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, .learn all_lang to learn all languages, and .learn all_myclass to learn all spells available for his class (Character selection in these cases ignored).' WHERE `name` = 'learn';
diff --git a/sql/updates/0.5/2130_quest_template.sql b/sql/updates/0.5/2130_quest_template.sql
new file mode 100644
index 00000000000..46ff557cc9d
--- /dev/null
+++ b/sql/updates/0.5/2130_quest_template.sql
@@ -0,0 +1,3 @@
+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/2131_command.sql b/sql/updates/0.5/2131_command.sql
new file mode 100644
index 00000000000..7def5be834d
--- /dev/null
+++ b/sql/updates/0.5/2131_command.sql
@@ -0,0 +1 @@
+UPDATE command SET `help` = 'Syntax: .addmove [#waittime]\r\n\r\nAdd your current location as a waypoint for the selected creature. And optional add wait time.' WHERE `name` = 'addmove';
diff --git a/sql/updates/0.5/2156_character.sql b/sql/updates/0.5/2156_character.sql
new file mode 100644
index 00000000000..ffb5e76a82a
--- /dev/null
+++ b/sql/updates/0.5/2156_character.sql
@@ -0,0 +1,3 @@
+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/2164_command.sql b/sql/updates/0.5/2164_command.sql
new file mode 100644
index 00000000000..d04c38e0fe2
--- /dev/null
+++ b/sql/updates/0.5/2164_command.sql
@@ -0,0 +1 @@
+INSERT INTO command VALUES('searchtele','1','Syntax: .searchtele $substring\r\n\r\nSearch and output all .tele command locations with provide $substring in name.');
diff --git a/sql/updates/0.5/2191_npc_trainer.sql b/sql/updates/0.5/2191_npc_trainer.sql
new file mode 100644
index 00000000000..6e76442d833
--- /dev/null
+++ b/sql/updates/0.5/2191_npc_trainer.sql
@@ -0,0 +1,4 @@
+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
new file mode 100644
index 00000000000..cee1f2beeb7
--- /dev/null
+++ b/sql/updates/0.5/2191_playercreateinfo.sql
@@ -0,0 +1,6 @@
+ALTER TABLE `playercreateinfo`
+ DROP `attackpower`,
+ DROP `mindmg`,
+ DROP `maxdmg`,
+ DROP `ranmindmg`,
+ DROP `ranmaxdmg`;
diff --git a/sql/updates/0.5/2220_command.sql b/sql/updates/0.5/2220_command.sql
new file mode 100644
index 00000000000..d8c3b02442d
--- /dev/null
+++ b/sql/updates/0.5/2220_command.sql
@@ -0,0 +1 @@
+UPDATE command SET `help` = 'Syntax: .addmove #creature_guid [#waittime]\r\n\r\nAdd your current location as a waypoint for creature with guid #creature_guid. And optional add wait time.' WHERE `name` = 'addmove';
diff --git a/sql/updates/0.6/2297_character_stable.sql b/sql/updates/0.6/2297_character_stable.sql
new file mode 100644
index 00000000000..5df6b4d94f5
--- /dev/null
+++ b/sql/updates/0.6/2297_character_stable.sql
@@ -0,0 +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
diff --git a/sql/updates/0.6/2302_player_levelupgains.sql b/sql/updates/0.6/2302_player_levelupgains.sql
new file mode 100644
index 00000000000..cc336a6ea8c
--- /dev/null
+++ b/sql/updates/0.6/2302_player_levelupgains.sql
@@ -0,0 +1,2397 @@
+-- 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,
+ `race` tinyint(3) unsigned NOT NULL,
+ `class` tinyint(3) unsigned NOT NULL,
+ `level` tinyint(3) unsigned NOT NULL,
+ `hp` smallint(5) unsigned NOT NULL,
+ `mana` smallint(5) unsigned NOT NULL,
+ `str` smallint(5) unsigned NOT NULL,
+ `agi` smallint(5) unsigned NOT NULL,
+ `sta` smallint(5) unsigned NOT NULL,
+ `int` smallint(5) unsigned NOT NULL,
+ `spi` smallint(5) unsigned NOT NULL,
+ 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);
+INSERT INTO `player_levelupgains` VALUES (4, 3, 3, 3, 17, 22, 0, 2, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (5, 3, 3, 4, 17, 23, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (6, 3, 3, 5, 17, 24, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (7, 3, 3, 6, 17, 25, 0, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (8, 3, 3, 7, 17, 26, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (9, 3, 3, 8, 17, 27, 0, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (10, 3, 3, 9, 17, 28, 1, 1, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (11, 3, 3, 10, 17, 29, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (12, 3, 3, 11, 17, 30, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (13, 3, 3, 12, 17, 31, 0, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (14, 3, 3, 13, 18, 32, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (15, 3, 3, 14, 19, 33, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (16, 3, 3, 15, 20, 34, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (17, 3, 3, 16, 21, 35, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (18, 3, 3, 17, 22, 36, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (19, 3, 3, 18, 23, 37, 0, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (20, 3, 3, 19, 24, 38, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (21, 3, 3, 20, 25, 39, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (22, 3, 3, 21, 26, 40, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (23, 3, 3, 22, 27, 41, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (24, 3, 3, 23, 28, 42, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (25, 3, 3, 24, 29, 43, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (26, 3, 3, 25, 30, 44, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (27, 3, 3, 26, 31, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (28, 3, 3, 27, 32, 45, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (29, 3, 3, 28, 33, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (30, 3, 3, 29, 34, 45, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (31, 3, 3, 30, 35, 45, 0, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (32, 3, 3, 31, 36, 45, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (33, 3, 3, 32, 37, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (34, 3, 3, 33, 38, 45, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (35, 3, 3, 34, 39, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (36, 3, 3, 35, 40, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (37, 3, 3, 36, 41, 45, 0, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (38, 3, 3, 37, 42, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (39, 3, 3, 38, 43, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (40, 3, 3, 39, 44, 45, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (41, 3, 3, 40, 45, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (42, 3, 3, 41, 46, 45, 0, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (43, 3, 3, 42, 47, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (44, 3, 3, 43, 48, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (45, 3, 3, 44, 49, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (46, 3, 3, 45, 50, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (47, 3, 3, 46, 51, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (48, 3, 3, 47, 52, 45, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (49, 3, 3, 48, 53, 45, 0, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (50, 3, 3, 49, 54, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (51, 3, 3, 50, 55, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (52, 3, 3, 51, 56, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (53, 3, 3, 52, 57, 45, 0, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (54, 3, 3, 53, 58, 45, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (55, 3, 3, 54, 59, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (56, 3, 3, 55, 60, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (57, 3, 3, 56, 61, 45, 1, 3, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (58, 3, 3, 57, 62, 45, 0, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (59, 3, 3, 58, 63, 45, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (60, 3, 3, 59, 64, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (62, 3, 2, 1, 18, 5, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (63, 3, 2, 2, 18, 20, 1, 0, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (64, 3, 2, 3, 18, 21, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (65, 3, 2, 4, 18, 22, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (66, 3, 2, 5, 18, 23, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (67, 3, 2, 6, 18, 24, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (68, 3, 2, 7, 18, 25, 1, 1, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (69, 3, 2, 8, 18, 26, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (70, 3, 2, 9, 18, 27, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (71, 3, 2, 10, 18, 28, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (72, 3, 2, 11, 18, 29, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (73, 3, 2, 12, 18, 30, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (74, 3, 2, 13, 18, 31, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (75, 3, 2, 14, 19, 32, 1, 1, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (76, 3, 2, 15, 20, 33, 2, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (77, 3, 2, 16, 21, 34, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (78, 3, 2, 17, 22, 35, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (79, 3, 2, 18, 23, 36, 1, 0, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (80, 3, 2, 19, 24, 37, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (81, 3, 2, 20, 25, 38, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (82, 3, 2, 21, 26, 39, 2, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (83, 3, 2, 22, 27, 40, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (84, 3, 2, 23, 28, 41, 1, 1, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (85, 3, 2, 24, 29, 42, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (86, 3, 2, 25, 30, 42, 2, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (87, 3, 2, 26, 31, 42, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (88, 3, 2, 27, 32, 42, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (89, 3, 2, 28, 33, 42, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (90, 3, 2, 29, 34, 42, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (91, 3, 2, 30, 35, 42, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (92, 3, 2, 31, 36, 42, 2, 0, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (93, 3, 2, 32, 37, 42, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (94, 3, 2, 33, 38, 42, 2, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (95, 3, 2, 34, 39, 42, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (96, 3, 2, 35, 40, 42, 2, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (97, 3, 2, 36, 41, 42, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (98, 3, 2, 37, 42, 42, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (99, 3, 2, 38, 43, 42, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (100, 3, 2, 39, 44, 42, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (101, 3, 2, 40, 45, 42, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (102, 3, 2, 41, 46, 42, 2, 0, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (103, 3, 2, 42, 47, 42, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (104, 3, 2, 43, 48, 42, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (105, 3, 2, 44, 49, 42, 2, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (106, 3, 2, 45, 50, 42, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (107, 3, 2, 46, 51, 42, 2, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (108, 3, 2, 47, 52, 42, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (109, 3, 2, 48, 53, 42, 1, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (110, 3, 2, 49, 54, 42, 2, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (111, 3, 2, 50, 55, 42, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (112, 3, 2, 51, 56, 42, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (113, 3, 2, 52, 57, 42, 2, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (114, 3, 2, 53, 58, 42, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (115, 3, 2, 54, 59, 42, 2, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (116, 3, 2, 55, 60, 42, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (117, 3, 2, 56, 61, 42, 2, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (118, 3, 2, 57, 62, 42, 2, 1, 2, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (119, 3, 2, 58, 63, 42, 2, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (120, 3, 2, 59, 64, 42, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (122, 3, 5, 1, 15, 24, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (123, 3, 5, 2, 15, 25, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (124, 3, 5, 3, 15, 26, 1, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (125, 3, 5, 4, 15, 27, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (126, 3, 5, 5, 15, 28, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (127, 3, 5, 6, 15, 29, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (128, 3, 5, 7, 15, 30, 0, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (129, 3, 5, 8, 15, 31, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (130, 3, 5, 9, 15, 47, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (131, 3, 5, 10, 15, 18, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (132, 3, 5, 11, 15, 34, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (133, 3, 5, 12, 15, 35, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (134, 3, 5, 13, 15, 36, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (135, 3, 5, 14, 15, 37, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (136, 3, 5, 15, 15, 38, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (137, 3, 5, 16, 15, 54, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (138, 3, 5, 17, 15, 25, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (139, 3, 5, 18, 15, 41, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (140, 3, 5, 19, 15, 42, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (141, 3, 5, 20, 15, 43, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (142, 3, 5, 21, 16, 59, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (143, 3, 5, 22, 17, 30, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (144, 3, 5, 23, 18, 61, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (145, 3, 5, 24, 19, 32, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (146, 3, 5, 25, 20, 63, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (147, 3, 5, 26, 21, 34, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (148, 3, 5, 27, 22, 65, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (149, 3, 5, 28, 23, 36, 1, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (150, 3, 5, 29, 24, 52, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (151, 3, 5, 30, 25, 68, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (152, 3, 5, 31, 26, 39, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (153, 3, 5, 32, 27, 69, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (154, 3, 5, 33, 28, 54, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (155, 3, 5, 34, 29, 39, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (156, 3, 5, 35, 30, 54, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (157, 3, 5, 36, 31, 69, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (158, 3, 5, 37, 32, 54, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (159, 3, 5, 38, 33, 39, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (160, 3, 5, 39, 34, 54, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (161, 3, 5, 40, 35, 69, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (162, 3, 5, 41, 36, 54, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (163, 3, 5, 42, 37, 54, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (164, 3, 5, 43, 38, 54, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (165, 3, 5, 44, 39, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (166, 3, 5, 45, 40, 54, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (167, 3, 5, 46, 41, 54, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (168, 3, 5, 47, 42, 54, 0, 1, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (169, 3, 5, 48, 43, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (170, 3, 5, 49, 44, 54, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (171, 3, 5, 50, 45, 54, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (172, 3, 5, 51, 46, 54, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (173, 3, 5, 52, 47, 54, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (174, 3, 5, 53, 48, 54, 0, 0, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (175, 3, 5, 54, 49, 54, 0, 1, 0, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (176, 3, 5, 55, 50, 54, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (177, 3, 5, 56, 51, 54, 0, 1, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (178, 3, 5, 57, 52, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (179, 3, 5, 58, 53, 54, 1, 1, 0, 3, 3);
+INSERT INTO `player_levelupgains` VALUES (180, 3, 5, 59, 54, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (182, 3, 4, 1, 17, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (183, 3, 4, 2, 17, 0, 0, 1, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (184, 3, 4, 3, 17, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (185, 3, 4, 4, 17, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (186, 3, 4, 5, 17, 0, 0, 1, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (187, 3, 4, 6, 17, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (188, 3, 4, 7, 17, 0, 1, 1, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (189, 3, 4, 8, 17, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (190, 3, 4, 9, 17, 0, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (191, 3, 4, 10, 17, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (192, 3, 4, 11, 17, 0, 1, 1, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (193, 3, 4, 12, 17, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (194, 3, 4, 13, 17, 0, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (195, 3, 4, 14, 17, 0, 1, 2, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (196, 3, 4, 15, 18, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (197, 3, 4, 16, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (198, 3, 4, 17, 20, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (199, 3, 4, 18, 21, 0, 1, 2, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (200, 3, 4, 19, 22, 0, 0, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (201, 3, 4, 20, 23, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (202, 3, 4, 21, 24, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (203, 3, 4, 22, 25, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (204, 3, 4, 23, 26, 0, 1, 1, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (205, 3, 4, 24, 27, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (206, 3, 4, 25, 28, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (207, 3, 4, 26, 29, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (208, 3, 4, 27, 30, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (209, 3, 4, 28, 31, 0, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (210, 3, 4, 29, 32, 0, 1, 2, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (211, 3, 4, 30, 33, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (212, 3, 4, 31, 34, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (213, 3, 4, 32, 35, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (214, 3, 4, 33, 36, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (215, 3, 4, 34, 37, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (216, 3, 4, 35, 38, 0, 2, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (217, 3, 4, 36, 39, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (218, 3, 4, 37, 40, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (219, 3, 4, 38, 41, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (220, 3, 4, 39, 42, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (221, 3, 4, 40, 43, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (222, 3, 4, 41, 44, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (223, 3, 4, 42, 45, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (224, 3, 4, 43, 46, 0, 1, 3, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (225, 3, 4, 44, 47, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (226, 3, 4, 45, 48, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (227, 3, 4, 46, 49, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (228, 3, 4, 47, 50, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (229, 3, 4, 48, 51, 0, 1, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (230, 3, 4, 49, 52, 0, 2, 3, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (231, 3, 4, 50, 53, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (232, 3, 4, 51, 54, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (233, 3, 4, 52, 55, 0, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (234, 3, 4, 53, 56, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (235, 3, 4, 54, 57, 0, 1, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (236, 3, 4, 55, 58, 0, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (237, 3, 4, 56, 59, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (238, 3, 4, 57, 60, 0, 1, 3, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (239, 3, 4, 58, 61, 0, 2, 2, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (240, 3, 4, 59, 62, 0, 1, 3, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (242, 3, 1, 1, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (243, 3, 1, 2, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (244, 3, 1, 3, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (245, 3, 1, 4, 19, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (246, 3, 1, 5, 19, 0, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (247, 3, 1, 6, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (248, 3, 1, 7, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (249, 3, 1, 8, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (250, 3, 1, 9, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (251, 3, 1, 10, 19, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (252, 3, 1, 11, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (253, 3, 1, 12, 19, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (254, 3, 1, 13, 20, 0, 2, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (255, 3, 1, 14, 21, 0, 1, 0, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (256, 3, 1, 15, 22, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (257, 3, 1, 16, 23, 0, 1, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (258, 3, 1, 17, 24, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (259, 3, 1, 18, 25, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (260, 3, 1, 19, 26, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (261, 3, 1, 20, 27, 0, 1, 0, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (262, 3, 1, 21, 28, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (263, 3, 1, 22, 29, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (264, 3, 1, 23, 30, 0, 1, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (265, 3, 1, 24, 31, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (266, 3, 1, 25, 32, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (267, 3, 1, 26, 33, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (268, 3, 1, 27, 34, 0, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (269, 3, 1, 28, 35, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (270, 3, 1, 29, 36, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (271, 3, 1, 30, 37, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (272, 3, 1, 31, 38, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (273, 3, 1, 32, 39, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (274, 3, 1, 33, 40, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (275, 3, 1, 34, 41, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (276, 3, 1, 35, 42, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (277, 3, 1, 36, 44, 0, 1, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (278, 3, 1, 37, 46, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (279, 3, 1, 38, 48, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (280, 3, 1, 39, 50, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (281, 3, 1, 40, 52, 0, 1, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (282, 3, 1, 41, 54, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (283, 3, 1, 42, 56, 0, 2, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (284, 3, 1, 43, 58, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (285, 3, 1, 44, 60, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (286, 3, 1, 45, 62, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (287, 3, 1, 46, 64, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (288, 3, 1, 47, 66, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (289, 3, 1, 48, 68, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (290, 3, 1, 49, 70, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (291, 3, 1, 50, 72, 0, 2, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (292, 3, 1, 51, 74, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (293, 3, 1, 52, 76, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (294, 3, 1, 53, 78, 0, 2, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (295, 3, 1, 54, 80, 0, 3, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (296, 3, 1, 55, 82, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (297, 3, 1, 56, 84, 0, 2, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (298, 3, 1, 57, 86, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (299, 3, 1, 58, 88, 0, 3, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (300, 3, 1, 59, 90, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (302, 7, 8, 1, 15, 25, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (303, 7, 8, 2, 6, 26, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (304, 7, 8, 3, 15, 27, 0, 1, 0, 3, 1);
+INSERT INTO `player_levelupgains` VALUES (305, 7, 8, 4, 15, 58, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (306, 7, 8, 5, 15, 29, 1, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (307, 7, 8, 6, 15, 30, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (308, 7, 8, 7, 15, 16, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (309, 7, 8, 8, 15, 47, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (310, 7, 8, 9, 15, 33, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (311, 7, 8, 10, 15, 34, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (312, 7, 8, 11, 15, 35, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (313, 7, 8, 12, 15, 21, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (314, 7, 8, 13, 15, 37, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (315, 7, 8, 14, 15, 38, 0, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (316, 7, 8, 15, 15, 39, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (317, 7, 8, 16, 15, 25, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (318, 7, 8, 17, 15, 56, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (319, 7, 8, 18, 15, 27, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (320, 7, 8, 19, 15, 88, 0, 1, 0, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (321, 7, 8, 20, 15, 29, 1, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (322, 7, 8, 21, 15, 60, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (323, 7, 8, 22, 15, 31, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (324, 7, 8, 23, 16, 62, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (325, 7, 8, 24, 17, 33, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (326, 7, 8, 25, 18, 64, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (327, 7, 8, 26, 19, 35, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (328, 7, 8, 27, 20, 36, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (329, 7, 8, 28, 21, 66, 0, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (330, 7, 8, 29, 22, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (331, 7, 8, 30, 23, 36, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (332, 7, 8, 31, 24, 66, 0, 0, 1, 3, 1);
+INSERT INTO `player_levelupgains` VALUES (333, 7, 8, 32, 25, 81, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (334, 7, 8, 33, 26, 36, 1, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (335, 7, 8, 34, 27, 51, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (336, 7, 8, 35, 28, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (337, 7, 8, 36, 29, 66, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (338, 7, 8, 37, 30, 36, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (339, 7, 8, 38, 31, 51, 1, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (340, 7, 8, 39, 32, 36, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (341, 7, 8, 40, 33, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (342, 7, 8, 41, 34, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (343, 7, 8, 42, 35, 51, 0, 0, 1, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (344, 7, 8, 43, 36, 81, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (345, 7, 8, 44, 37, 51, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (346, 7, 8, 45, 38, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (347, 7, 8, 46, 39, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (348, 7, 8, 47, 40, 51, 0, 0, 0, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (349, 7, 8, 48, 41, 51, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (350, 7, 8, 49, 42, 36, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (351, 7, 8, 50, 43, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (352, 7, 8, 51, 44, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (353, 7, 8, 52, 45, 81, 0, 1, 1, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (354, 7, 8, 53, 46, 51, 1, 0, 1, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (355, 7, 8, 54, 47, 51, 0, 0, 0, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (356, 7, 8, 55, 48, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (357, 7, 8, 56, 49, 36, 0, 0, 0, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (358, 7, 8, 57, 50, 51, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (359, 7, 8, 58, 51, 51, 0, 1, 0, 3, 3);
+INSERT INTO `player_levelupgains` VALUES (360, 7, 8, 59, 52, 51, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (362, 7, 4, 1, 17, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (363, 7, 4, 2, 17, 0, 0, 1, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (364, 7, 4, 3, 17, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (365, 7, 4, 4, 17, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (366, 7, 4, 5, 17, 0, 0, 1, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (367, 7, 4, 6, 17, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (368, 7, 4, 7, 17, 0, 1, 1, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (369, 7, 4, 8, 17, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (370, 7, 4, 9, 17, 0, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (371, 7, 4, 10, 17, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (372, 7, 4, 11, 17, 0, 1, 1, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (373, 7, 4, 12, 17, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (374, 7, 4, 13, 17, 0, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (375, 7, 4, 14, 17, 0, 1, 2, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (376, 7, 4, 15, 18, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (377, 7, 4, 16, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (378, 7, 4, 17, 20, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (379, 7, 4, 18, 21, 0, 1, 2, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (380, 7, 4, 19, 22, 0, 0, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (381, 7, 4, 20, 23, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (382, 7, 4, 21, 24, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (383, 7, 4, 22, 25, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (384, 7, 4, 23, 26, 0, 1, 1, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (385, 7, 4, 24, 27, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (386, 7, 4, 25, 28, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (387, 7, 4, 26, 29, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (388, 7, 4, 27, 30, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (389, 7, 4, 28, 31, 0, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (390, 7, 4, 29, 32, 0, 1, 2, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (391, 7, 4, 30, 33, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (392, 7, 4, 31, 34, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (393, 7, 4, 32, 35, 0, 1, 2, 1, 2, 0);
+INSERT INTO `player_levelupgains` VALUES (394, 7, 4, 33, 36, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (395, 7, 4, 34, 37, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (396, 7, 4, 35, 38, 0, 2, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (397, 7, 4, 36, 39, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (398, 7, 4, 37, 40, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (399, 7, 4, 38, 41, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (400, 7, 4, 39, 42, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (401, 7, 4, 40, 43, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (402, 7, 4, 41, 44, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (403, 7, 4, 42, 45, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (404, 7, 4, 43, 46, 0, 1, 3, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (405, 7, 4, 44, 47, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (406, 7, 4, 45, 48, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (407, 7, 4, 46, 49, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (408, 7, 4, 47, 50, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (409, 7, 4, 48, 51, 0, 1, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (410, 7, 4, 49, 52, 0, 2, 3, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (411, 7, 4, 50, 53, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (412, 7, 4, 51, 54, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (413, 7, 4, 52, 55, 0, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (414, 7, 4, 53, 56, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (415, 7, 4, 54, 57, 0, 1, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (416, 7, 4, 55, 58, 0, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (417, 7, 4, 56, 59, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (418, 7, 4, 57, 60, 0, 1, 3, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (419, 7, 4, 58, 61, 0, 2, 2, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (420, 7, 4, 59, 62, 0, 1, 3, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (422, 7, 9, 1, 15, 23, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (423, 7, 9, 2, 15, 24, 1, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (424, 7, 9, 3, 15, 25, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (425, 7, 9, 4, 15, 26, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (426, 7, 9, 5, 15, 27, 0, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (427, 7, 9, 6, 15, 58, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (428, 7, 9, 7, 15, 29, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (429, 7, 9, 8, 15, 30, 0, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (430, 7, 9, 9, 15, 31, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (431, 7, 9, 10, 15, 32, 0, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (432, 7, 9, 11, 15, 33, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (433, 7, 9, 12, 15, 34, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (434, 7, 9, 13, 15, 35, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (435, 7, 9, 14, 15, 36, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (436, 7, 9, 15, 15, 22, 1, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (437, 7, 9, 16, 15, 38, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (438, 7, 9, 17, 16, 39, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (439, 7, 9, 18, 17, 40, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (440, 7, 9, 19, 18, 41, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (441, 7, 9, 20, 19, 42, 0, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (442, 7, 9, 21, 20, 43, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (443, 7, 9, 22, 21, 44, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (444, 7, 9, 23, 22, 75, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (445, 7, 9, 24, 23, 46, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (446, 7, 9, 25, 24, 47, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (447, 7, 9, 26, 25, 48, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (448, 7, 9, 27, 26, 49, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (449, 7, 9, 28, 27, 50, 1, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (450, 7, 9, 29, 28, 51, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (451, 7, 9, 30, 19, 36, 0, 0, 0, 1, 3);
+INSERT INTO `player_levelupgains` VALUES (452, 7, 9, 31, 40, 51, 1, 1, 2, 2, 0);
+INSERT INTO `player_levelupgains` VALUES (453, 7, 9, 32, 31, 51, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (454, 7, 9, 33, 32, 51, 1, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (455, 7, 9, 34, 33, 51, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (456, 7, 9, 35, 34, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (457, 7, 9, 36, 35, 81, 0, 1, 1, 3, 0);
+INSERT INTO `player_levelupgains` VALUES (458, 7, 9, 37, 36, 51, 0, 0, 1, 1, 3);
+INSERT INTO `player_levelupgains` VALUES (459, 7, 9, 38, 37, 51, 1, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (460, 7, 9, 39, 38, 51, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (461, 7, 9, 40, 39, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (462, 7, 9, 41, 40, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (463, 7, 9, 42, 41, 51, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (464, 7, 9, 43, 42, 36, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (465, 7, 9, 44, 43, 51, 1, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (466, 7, 9, 45, 44, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (467, 7, 9, 46, 45, 51, 1, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (468, 7, 9, 47, 36, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (469, 7, 9, 48, 47, 81, 1, 1, 1, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (470, 7, 9, 49, 58, 51, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (471, 7, 9, 50, 49, 51, 1, 1, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (472, 7, 9, 51, 30, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (473, 7, 9, 52, 71, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (474, 7, 9, 53, 52, 36, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (475, 7, 9, 54, 43, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (476, 7, 9, 55, 64, 51, 1, 1, 2, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (477, 7, 9, 56, 35, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (478, 7, 9, 57, 76, 51, 1, 1, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (479, 7, 9, 58, 57, 81, 0, 0, 1, 3, 0);
+INSERT INTO `player_levelupgains` VALUES (480, 7, 9, 59, 58, 51, 1, 1, 1, 2, 4);
+INSERT INTO `player_levelupgains` VALUES (482, 7, 1, 1, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (483, 7, 1, 2, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (484, 7, 1, 3, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (485, 7, 1, 4, 19, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (486, 7, 1, 5, 19, 0, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (487, 7, 1, 6, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (488, 7, 1, 7, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (489, 7, 1, 8, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (490, 7, 1, 9, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (491, 7, 1, 10, 19, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (492, 7, 1, 11, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (493, 7, 1, 12, 19, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (494, 7, 1, 13, 20, 0, 2, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (495, 7, 1, 14, 21, 0, 1, 0, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (496, 7, 1, 15, 22, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (497, 7, 1, 16, 23, 0, 1, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (498, 7, 1, 17, 24, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (499, 7, 1, 18, 25, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (500, 7, 1, 19, 26, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (501, 7, 1, 20, 27, 0, 1, 0, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (502, 7, 1, 21, 28, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (503, 7, 1, 22, 29, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (504, 7, 1, 23, 30, 0, 1, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (505, 7, 1, 24, 31, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (506, 7, 1, 25, 32, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (507, 7, 1, 26, 33, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (508, 7, 1, 27, 34, 0, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (509, 7, 1, 28, 35, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (510, 7, 1, 29, 36, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (511, 7, 1, 30, 37, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (512, 7, 1, 31, 38, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (513, 7, 1, 32, 39, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (514, 7, 1, 33, 40, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (515, 7, 1, 34, 41, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (516, 7, 1, 35, 42, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (517, 7, 1, 36, 79, 0, 1, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (518, 7, 1, 37, 11, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (519, 7, 1, 38, 48, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (520, 7, 1, 39, 50, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (521, 7, 1, 40, 52, 0, 1, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (522, 7, 1, 41, 54, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (523, 7, 1, 42, 56, 0, 2, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (524, 7, 1, 43, 58, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (525, 7, 1, 44, 60, 0, 2, 1, 2, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (526, 7, 1, 45, 62, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (527, 7, 1, 46, 64, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (528, 7, 1, 47, 66, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (529, 7, 1, 48, 68, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (530, 7, 1, 49, 70, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (531, 7, 1, 50, 72, 0, 2, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (532, 7, 1, 51, 74, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (533, 7, 1, 52, 76, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (534, 7, 1, 53, 78, 0, 2, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (535, 7, 1, 54, 80, 0, 3, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (536, 7, 1, 55, 82, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (537, 7, 1, 56, 84, 0, 2, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (538, 7, 1, 57, 86, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (539, 7, 1, 58, 88, 0, 3, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (540, 7, 1, 59, 90, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (542, 1, 8, 1, 15, 25, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (543, 1, 8, 2, 15, 26, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (544, 1, 8, 3, 15, 27, 0, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (545, 1, 8, 4, 15, 28, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (546, 1, 8, 5, 15, 29, 1, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (547, 1, 8, 6, 15, 30, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (548, 1, 8, 7, 15, 16, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (549, 1, 8, 8, 15, 47, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (550, 1, 8, 9, 15, 33, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (551, 1, 8, 10, 15, 34, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (552, 1, 8, 11, 15, 35, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (553, 1, 8, 12, 15, 36, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (554, 1, 8, 13, 15, 37, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (555, 1, 8, 14, 15, 38, 0, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (556, 1, 8, 15, 15, 39, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (557, 1, 8, 16, 15, 25, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (558, 1, 8, 17, 15, 56, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (559, 1, 8, 18, 15, 27, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (560, 1, 8, 19, 15, 58, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (561, 1, 8, 20, 15, 29, 1, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (562, 1, 8, 21, 15, 60, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (563, 1, 8, 22, 15, 31, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (564, 1, 8, 23, 16, 62, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (565, 1, 8, 24, 17, 33, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (566, 1, 8, 25, 18, 64, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (567, 1, 8, 26, 19, 50, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (568, 1, 8, 27, 20, 36, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (569, 1, 8, 28, 21, 66, 0, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (570, 1, 8, 29, 22, 51, 0, 0, 0, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (571, 1, 8, 30, 23, 36, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (572, 1, 8, 31, 24, 66, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (573, 1, 8, 32, 25, 51, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (574, 1, 8, 33, 26, 36, 1, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (575, 1, 8, 34, 27, 51, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (576, 1, 8, 35, 28, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (577, 1, 8, 36, 29, 66, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (578, 1, 8, 37, 30, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (579, 1, 8, 38, 31, 51, 1, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (580, 1, 8, 39, 32, 36, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (581, 1, 8, 40, 33, 51, 0, 0, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (582, 1, 8, 41, 34, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (583, 1, 8, 42, 35, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (584, 1, 8, 43, 36, 51, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (585, 1, 8, 44, 37, 51, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (586, 1, 8, 45, 38, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (587, 1, 8, 46, 39, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (588, 1, 8, 47, 40, 66, 0, 0, 0, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (589, 1, 8, 48, 41, 51, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (590, 1, 8, 49, 42, 36, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (591, 1, 8, 50, 43, 51, 0, 0, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (592, 1, 8, 51, 44, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (593, 1, 8, 52, 45, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (594, 1, 8, 53, 46, 51, 1, 0, 1, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (595, 1, 8, 54, 47, 51, 0, 0, 0, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (596, 1, 8, 55, 48, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (597, 1, 8, 56, 49, 51, 0, 0, 0, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (598, 1, 8, 57, 50, 51, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (599, 1, 8, 58, 51, 51, 0, 1, 0, 3, 3);
+INSERT INTO `player_levelupgains` VALUES (600, 1, 8, 59, 52, 51, 0, 0, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (602, 1, 2, 1, 18, 19, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (603, 1, 2, 2, 18, 20, 1, 0, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (604, 1, 2, 3, 18, 21, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (605, 1, 2, 4, 18, 22, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (606, 1, 2, 5, 18, 23, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (607, 1, 2, 6, 18, 24, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (608, 1, 2, 7, 18, 25, 1, 1, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (609, 1, 2, 8, 18, 26, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (610, 1, 2, 9, 18, 27, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (611, 1, 2, 10, 18, 28, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (612, 1, 2, 11, 18, 29, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (613, 1, 2, 12, 18, 30, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (614, 1, 2, 13, 18, 31, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (615, 1, 2, 14, 19, 32, 1, 1, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (616, 1, 2, 15, 20, 33, 2, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (617, 1, 2, 16, 21, 34, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (618, 1, 2, 17, 22, 35, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (619, 1, 2, 18, 23, 36, 1, 0, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (620, 1, 2, 19, 24, 37, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (621, 1, 2, 20, 25, 38, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (622, 1, 2, 21, 26, 39, 2, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (623, 1, 2, 22, 27, 40, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (624, 1, 2, 23, 28, 41, 1, 1, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (625, 1, 2, 24, 29, 42, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (626, 1, 2, 25, 30, 42, 2, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (627, 1, 2, 26, 31, 42, 1, 1, 1, 0, 2);
+INSERT INTO `player_levelupgains` VALUES (628, 1, 2, 27, 32, 42, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (629, 1, 2, 28, 33, 42, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (630, 1, 2, 29, 34, 42, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (631, 1, 2, 30, 35, 42, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (632, 1, 2, 31, 36, 42, 2, 0, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (633, 1, 2, 32, 37, 42, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (634, 1, 2, 33, 38, 42, 2, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (635, 1, 2, 34, 39, 42, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (636, 1, 2, 35, 40, 42, 2, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (637, 1, 2, 36, 41, 42, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (638, 1, 2, 37, 42, 42, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (639, 1, 2, 38, 43, 42, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (640, 1, 2, 39, 44, 42, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (641, 1, 2, 40, 45, 42, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (642, 1, 2, 41, 46, 42, 2, 0, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (643, 1, 2, 42, 47, 42, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (644, 1, 2, 43, 48, 42, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (645, 1, 2, 44, 49, 42, 2, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (646, 1, 2, 45, 50, 42, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (647, 1, 2, 46, 51, 42, 2, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (648, 1, 2, 47, 52, 42, 2, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (649, 1, 2, 48, 53, 42, 1, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (650, 1, 2, 49, 54, 42, 2, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (651, 1, 2, 50, 55, 42, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (652, 1, 2, 51, 56, 42, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (653, 1, 2, 52, 57, 42, 2, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (654, 1, 2, 53, 58, 42, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (655, 1, 2, 54, 59, 42, 2, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (656, 1, 2, 55, 60, 42, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (657, 1, 2, 56, 61, 42, 2, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (658, 1, 2, 57, 62, 42, 2, 1, 2, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (659, 1, 2, 58, 63, 42, 2, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (660, 1, 2, 59, 64, 42, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (662, 1, 5, 1, 15, 24, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (663, 1, 5, 2, 15, 25, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (664, 1, 5, 3, 15, 26, 1, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (665, 1, 5, 4, 15, 27, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (666, 1, 5, 5, 15, 28, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (667, 1, 5, 6, 15, 29, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (668, 1, 5, 7, 15, 30, 0, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (669, 1, 5, 8, 15, 31, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (670, 1, 5, 9, 15, 47, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (671, 1, 5, 10, 15, 18, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (672, 1, 5, 11, 15, 34, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (673, 1, 5, 12, 15, 35, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (674, 1, 5, 13, 15, 36, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (675, 1, 5, 14, 15, 37, 1, 0, 0, 1, 3);
+INSERT INTO `player_levelupgains` VALUES (676, 1, 5, 15, 15, 38, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (677, 1, 5, 16, 15, 54, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (678, 1, 5, 17, 15, 25, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (679, 1, 5, 18, 15, 41, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (680, 1, 5, 19, 15, 42, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (681, 1, 5, 20, 15, 43, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (682, 1, 5, 21, 16, 59, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (683, 1, 5, 22, 17, 30, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (684, 1, 5, 23, 18, 61, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (685, 1, 5, 24, 19, 32, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (686, 1, 5, 25, 20, 63, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (687, 1, 5, 26, 21, 34, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (688, 1, 5, 27, 22, 65, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (689, 1, 5, 28, 23, 36, 1, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (690, 1, 5, 29, 24, 52, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (691, 1, 5, 30, 25, 68, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (692, 1, 5, 31, 26, 39, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (693, 1, 5, 32, 27, 69, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (694, 1, 5, 33, 28, 54, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (695, 1, 5, 34, 29, 39, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (696, 1, 5, 35, 30, 54, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (697, 1, 5, 36, 31, 69, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (698, 1, 5, 37, 32, 54, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (699, 1, 5, 38, 33, 39, 0, 0, 1, 1, 3);
+INSERT INTO `player_levelupgains` VALUES (700, 1, 5, 39, 34, 54, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (701, 1, 5, 40, 35, 69, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (702, 1, 5, 41, 36, 54, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (703, 1, 5, 42, 37, 54, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (704, 1, 5, 43, 38, 54, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (705, 1, 5, 44, 39, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (706, 1, 5, 45, 40, 54, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (707, 1, 5, 46, 41, 54, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (708, 1, 5, 47, 42, 54, 0, 1, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (709, 1, 5, 48, 43, 54, 0, 0, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (710, 1, 5, 49, 44, 54, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (711, 1, 5, 50, 45, 54, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (712, 1, 5, 51, 46, 54, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (713, 1, 5, 52, 47, 54, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (714, 1, 5, 53, 48, 54, 0, 0, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (715, 1, 5, 54, 49, 54, 0, 1, 0, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (716, 1, 5, 55, 50, 54, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (717, 1, 5, 56, 51, 54, 0, 1, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (718, 1, 5, 57, 52, 54, 0, 0, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (719, 1, 5, 58, 53, 54, 1, 1, 0, 3, 3);
+INSERT INTO `player_levelupgains` VALUES (720, 1, 5, 59, 54, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (722, 1, 4, 1, 17, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (723, 1, 4, 2, 17, 0, 0, 1, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (724, 1, 4, 3, 17, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (725, 1, 4, 4, 17, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (726, 1, 4, 5, 17, 0, 0, 1, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (727, 1, 4, 6, 17, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (728, 1, 4, 7, 17, 0, 1, 1, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (729, 1, 4, 8, 17, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (730, 1, 4, 9, 17, 0, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (731, 1, 4, 10, 17, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (732, 1, 4, 11, 17, 0, 1, 1, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (733, 1, 4, 12, 17, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (734, 1, 4, 13, 17, 0, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (735, 1, 4, 14, 17, 0, 1, 2, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (736, 1, 4, 15, 18, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (737, 1, 4, 16, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (738, 1, 4, 17, 20, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (739, 1, 4, 18, 21, 0, 1, 2, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (740, 1, 4, 19, 22, 0, 0, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (741, 1, 4, 20, 23, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (742, 1, 4, 21, 24, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (743, 1, 4, 22, 25, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (744, 1, 4, 23, 26, 0, 1, 1, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (745, 1, 4, 24, 27, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (746, 1, 4, 25, 28, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (747, 1, 4, 26, 29, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (748, 1, 4, 27, 30, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (749, 1, 4, 28, 31, 0, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (750, 1, 4, 29, 32, 0, 1, 2, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (751, 1, 4, 30, 33, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (752, 1, 4, 31, 34, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (753, 1, 4, 32, 35, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (754, 1, 4, 33, 36, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (755, 1, 4, 34, 37, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (756, 1, 4, 35, 38, 0, 2, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (757, 1, 4, 36, 39, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (758, 1, 4, 37, 40, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (759, 1, 4, 38, 41, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (760, 1, 4, 39, 42, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (761, 1, 4, 40, 43, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (762, 1, 4, 41, 44, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (763, 1, 4, 42, 45, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (764, 1, 4, 43, 46, 0, 1, 3, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (765, 1, 4, 44, 47, 0, 2, 2, 1, 0, 2);
+INSERT INTO `player_levelupgains` VALUES (766, 1, 4, 45, 48, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (767, 1, 4, 46, 49, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (768, 1, 4, 47, 50, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (769, 1, 4, 48, 51, 0, 1, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (770, 1, 4, 49, 52, 0, 2, 3, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (771, 1, 4, 50, 53, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (772, 1, 4, 51, 54, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (773, 1, 4, 52, 55, 0, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (774, 1, 4, 53, 56, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (775, 1, 4, 54, 57, 0, 1, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (776, 1, 4, 55, 58, 0, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (777, 1, 4, 56, 59, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (778, 1, 4, 57, 60, 0, 1, 3, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (779, 1, 4, 58, 61, 0, 2, 2, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (780, 1, 4, 59, 62, 0, 1, 3, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (782, 1, 9, 1, 15, 23, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (783, 1, 9, 2, 15, 24, 1, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (784, 1, 9, 3, 15, 25, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (785, 1, 9, 4, 15, 26, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (786, 1, 9, 5, 15, 27, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (787, 1, 9, 6, 15, 28, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (788, 1, 9, 7, 15, 29, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (789, 1, 9, 8, 15, 30, 0, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (790, 1, 9, 9, 15, 31, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (791, 1, 9, 10, 15, 32, 0, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (792, 1, 9, 11, 15, 33, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (793, 1, 9, 12, 15, 34, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (794, 1, 9, 13, 15, 35, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (795, 1, 9, 14, 15, 36, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (796, 1, 9, 15, 15, 37, 1, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (797, 1, 9, 16, 15, 38, 0, 0, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (798, 1, 9, 17, 16, 39, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (799, 1, 9, 18, 17, 40, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (800, 1, 9, 19, 18, 41, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (801, 1, 9, 20, 19, 42, 0, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (802, 1, 9, 21, 20, 43, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (803, 1, 9, 22, 21, 44, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (804, 1, 9, 23, 22, 45, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (805, 1, 9, 24, 23, 46, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (806, 1, 9, 25, 24, 47, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (807, 1, 9, 26, 25, 48, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (808, 1, 9, 27, 26, 49, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (809, 1, 9, 28, 27, 50, 1, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (810, 1, 9, 29, 28, 51, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (811, 1, 9, 30, 29, 51, 0, 0, 1, 1, 3);
+INSERT INTO `player_levelupgains` VALUES (812, 1, 9, 31, 30, 51, 1, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (813, 1, 9, 32, 31, 51, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (814, 1, 9, 33, 32, 51, 1, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (815, 1, 9, 34, 33, 51, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (816, 1, 9, 35, 34, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (817, 1, 9, 36, 35, 51, 0, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (818, 1, 9, 37, 36, 51, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (819, 1, 9, 38, 37, 51, 1, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (820, 1, 9, 39, 38, 51, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (821, 1, 9, 40, 39, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (822, 1, 9, 41, 40, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (823, 1, 9, 42, 31, 51, 1, 1, 0, 1, 4);
+INSERT INTO `player_levelupgains` VALUES (824, 1, 9, 43, 52, 51, 0, 0, 2, 2, 0);
+INSERT INTO `player_levelupgains` VALUES (825, 1, 9, 44, 43, 51, 1, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (826, 1, 9, 45, 34, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (827, 1, 9, 46, 55, 51, 1, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (828, 1, 9, 47, 46, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (829, 1, 9, 48, 47, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (830, 1, 9, 49, 48, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (831, 1, 9, 50, 49, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (832, 1, 9, 51, 50, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (833, 1, 9, 52, 41, 51, 1, 1, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (834, 1, 9, 53, 52, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (835, 1, 9, 54, 63, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (836, 1, 9, 55, 54, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (837, 1, 9, 56, 55, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (838, 1, 9, 57, 56, 51, 1, 1, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (839, 1, 9, 58, 57, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (840, 1, 9, 59, 58, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (842, 1, 1, 1, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (843, 1, 1, 2, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (844, 1, 1, 3, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (845, 1, 1, 4, 19, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (846, 1, 1, 5, 19, 0, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (847, 1, 1, 6, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (848, 1, 1, 7, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (849, 1, 1, 8, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (850, 1, 1, 9, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (851, 1, 1, 10, 19, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (852, 1, 1, 11, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (853, 1, 1, 12, 19, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (854, 1, 1, 13, 20, 0, 2, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (855, 1, 1, 14, 21, 0, 1, 0, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (856, 1, 1, 15, 22, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (857, 1, 1, 16, 23, 0, 1, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (858, 1, 1, 17, 24, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (859, 1, 1, 18, 0, 0, 0, 0, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (860, 1, 1, 19, 51, 0, 3, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (861, 1, 1, 20, 27, 0, 1, 0, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (862, 1, 1, 21, 28, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (863, 1, 1, 22, 29, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (864, 1, 1, 23, 30, 0, 1, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (865, 1, 1, 24, 31, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (866, 1, 1, 25, 32, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (867, 1, 1, 26, 33, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (868, 1, 1, 27, 34, 0, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (869, 1, 1, 28, 35, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (870, 1, 1, 29, 36, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (871, 1, 1, 30, 37, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (872, 1, 1, 31, 38, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (873, 1, 1, 32, 39, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (874, 1, 1, 33, 40, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (875, 1, 1, 34, 41, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (876, 1, 1, 35, 42, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (877, 1, 1, 36, 44, 0, 1, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (878, 1, 1, 37, 46, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (879, 1, 1, 38, 48, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (880, 1, 1, 39, 50, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (881, 1, 1, 40, 52, 0, 1, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (882, 1, 1, 41, 54, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (883, 1, 1, 42, 56, 0, 2, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (884, 1, 1, 43, 58, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (885, 1, 1, 44, 60, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (886, 1, 1, 45, 62, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (887, 1, 1, 46, 64, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (888, 1, 1, 47, 66, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (889, 1, 1, 48, 68, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (890, 1, 1, 49, 70, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (891, 1, 1, 50, 72, 0, 2, 2, 2, 0, 2);
+INSERT INTO `player_levelupgains` VALUES (892, 1, 1, 51, 74, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (893, 1, 1, 52, 76, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (894, 1, 1, 53, 78, 0, 2, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (895, 1, 1, 54, 80, 0, 3, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (896, 1, 1, 55, 82, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (897, 1, 1, 56, 84, 0, 2, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (898, 1, 1, 57, 86, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (899, 1, 1, 58, 88, 0, 3, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (900, 1, 1, 59, 90, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (902, 4, 11, 1, 8, 22, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (903, 4, 11, 2, 17, 23, 0, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (904, 4, 11, 3, 17, 24, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (905, 4, 11, 4, 17, 25, 0, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (906, 4, 11, 5, 17, 26, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (907, 4, 11, 6, 17, 27, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (908, 4, 11, 7, 17, 13, 1, 0, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (909, 4, 11, 8, 17, 29, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (910, 4, 11, 9, 17, 30, 1, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (911, 4, 11, 10, 17, 31, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (912, 4, 11, 11, 17, 32, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (913, 4, 11, 12, 17, 33, 0, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (914, 4, 11, 13, 17, 34, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (915, 4, 11, 14, 17, 50, 1, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (916, 4, 11, 15, 17, 36, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (917, 4, 11, 16, 17, 37, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (918, 4, 11, 17, 18, 38, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (919, 4, 11, 18, 19, 39, 1, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (920, 4, 11, 19, 20, 40, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (921, 4, 11, 20, 21, 41, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (922, 4, 11, 21, 22, 27, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (923, 4, 11, 22, 23, 43, 1, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (924, 4, 11, 23, 24, 59, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (925, 4, 11, 24, 25, 45, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (926, 4, 11, 25, 26, 45, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (927, 4, 11, 26, 27, 30, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (928, 4, 11, 27, 28, 45, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (929, 4, 11, 28, 29, 60, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (930, 4, 11, 29, 30, 45, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (931, 4, 11, 30, 31, 30, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (932, 4, 11, 31, 32, 60, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (933, 4, 11, 32, 33, 45, 1, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (934, 4, 11, 33, 34, 30, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (935, 4, 11, 34, 35, 60, 1, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (936, 4, 11, 35, 36, 30, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (937, 4, 11, 36, 37, 45, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (938, 4, 11, 37, 38, 60, 1, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (939, 4, 11, 38, 39, 30, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (940, 4, 11, 39, 40, 60, 1, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (941, 4, 11, 40, 41, 30, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (942, 4, 11, 41, 42, 60, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (943, 4, 11, 42, 43, 30, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (944, 4, 11, 43, 44, 60, 1, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (945, 4, 11, 44, 45, 30, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (946, 4, 11, 45, 46, 60, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (947, 4, 11, 46, 47, 30, 1, 0, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (948, 4, 11, 47, 48, 45, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (949, 4, 11, 48, 49, 60, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (950, 4, 11, 49, 50, 30, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (951, 4, 11, 50, 51, 45, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (952, 4, 11, 51, 52, 60, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (953, 4, 11, 52, 53, 30, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (954, 4, 11, 53, 54, 45, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (955, 4, 11, 54, 55, 45, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (956, 4, 11, 55, 56, 45, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (957, 4, 11, 56, 57, 45, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (958, 4, 11, 57, 58, 45, 1, 1, 2, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (959, 4, 11, 58, 59, 45, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (960, 4, 11, 59, 60, 45, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (962, 4, 3, 1, 17, 20, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (963, 4, 3, 2, 17, 21, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (964, 4, 3, 3, 17, 22, 0, 2, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (965, 4, 3, 4, 17, 23, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (966, 4, 3, 5, 17, 24, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (967, 4, 3, 6, 17, 25, 0, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (968, 4, 3, 7, 17, 26, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (969, 4, 3, 8, 17, 27, 0, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (970, 4, 3, 9, 17, 28, 1, 1, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (971, 4, 3, 10, 17, 29, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (972, 4, 3, 11, 17, 30, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (973, 4, 3, 12, 17, 31, 0, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (974, 4, 3, 13, 18, 32, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (975, 4, 3, 14, 19, 33, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (976, 4, 3, 15, 20, 34, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (977, 4, 3, 16, 21, 35, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (978, 4, 3, 17, 22, 36, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (979, 4, 3, 18, 23, 37, 0, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (980, 4, 3, 19, 24, 38, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (981, 4, 3, 20, 25, 39, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (982, 4, 3, 21, 26, 40, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (983, 4, 3, 22, 27, 41, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (984, 4, 3, 23, 28, 42, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (985, 4, 3, 24, 29, 43, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (986, 4, 3, 25, 30, 44, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (987, 4, 3, 26, 31, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (988, 4, 3, 27, 32, 45, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (989, 4, 3, 28, 33, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (990, 4, 3, 29, 34, 45, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (991, 4, 3, 30, 35, 45, 0, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (992, 4, 3, 31, 36, 45, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (993, 4, 3, 32, 37, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (994, 4, 3, 33, 38, 45, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (995, 4, 3, 34, 39, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (996, 4, 3, 35, 40, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (997, 4, 3, 36, 41, 45, 0, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (998, 4, 3, 37, 42, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (999, 4, 3, 38, 43, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1000, 4, 3, 39, 44, 45, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1001, 4, 3, 40, 45, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1002, 4, 3, 41, 46, 45, 0, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1003, 4, 3, 42, 47, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1004, 4, 3, 43, 48, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1005, 4, 3, 44, 49, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1006, 4, 3, 45, 50, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1007, 4, 3, 46, 51, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1008, 4, 3, 47, 52, 45, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1009, 4, 3, 48, 53, 45, 0, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1010, 4, 3, 49, 54, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1011, 4, 3, 50, 55, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1012, 4, 3, 51, 56, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1013, 4, 3, 52, 57, 45, 0, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1014, 4, 3, 53, 58, 45, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1015, 4, 3, 54, 59, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1016, 4, 3, 55, 60, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1017, 4, 3, 56, 61, 45, 1, 3, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1018, 4, 3, 57, 62, 45, 0, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1019, 4, 3, 58, 63, 45, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1020, 4, 3, 59, 64, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1022, 4, 5, 1, 15, 24, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1023, 4, 5, 2, 6, 25, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1024, 4, 5, 3, 15, 26, 1, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1025, 4, 5, 4, 15, 27, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1026, 4, 5, 5, 15, 28, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1027, 4, 5, 6, 15, 29, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1028, 4, 5, 7, 15, 30, 0, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1029, 4, 5, 8, 15, 31, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1030, 4, 5, 9, 15, 47, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1031, 4, 5, 10, 15, 18, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1032, 4, 5, 11, 15, 34, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1033, 4, 5, 12, 15, 35, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1034, 4, 5, 13, 15, 36, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1035, 4, 5, 14, 15, 37, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1036, 4, 5, 15, 15, 38, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1037, 4, 5, 16, 15, 54, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1038, 4, 5, 17, 15, 25, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1039, 4, 5, 18, 15, 41, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1040, 4, 5, 19, 15, 42, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1041, 4, 5, 20, 15, 43, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1042, 4, 5, 21, 16, 59, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1043, 4, 5, 22, 17, 30, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1044, 4, 5, 23, 18, 61, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1045, 4, 5, 24, 19, 32, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1046, 4, 5, 25, 20, 63, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1047, 4, 5, 26, 21, 34, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1048, 4, 5, 27, 22, 65, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1049, 4, 5, 28, 23, 36, 1, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1050, 4, 5, 29, 24, 52, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1051, 4, 5, 30, 25, 68, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1052, 4, 5, 31, 26, 39, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1053, 4, 5, 32, 27, 69, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1054, 4, 5, 33, 28, 54, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1055, 4, 5, 34, 29, 39, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1056, 4, 5, 35, 30, 54, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1057, 4, 5, 36, 31, 69, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1058, 4, 5, 37, 32, 54, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1059, 4, 5, 38, 33, 39, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1060, 4, 5, 39, 34, 54, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1061, 4, 5, 40, 35, 69, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1062, 4, 5, 41, 36, 54, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1063, 4, 5, 42, 37, 54, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1064, 4, 5, 43, 38, 54, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1065, 4, 5, 44, 39, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1066, 4, 5, 45, 40, 54, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1067, 4, 5, 46, 41, 54, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1068, 4, 5, 47, 42, 54, 0, 1, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (1069, 4, 5, 48, 43, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1070, 4, 5, 49, 44, 54, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1071, 4, 5, 50, 45, 54, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1072, 4, 5, 51, 46, 54, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1073, 4, 5, 52, 47, 54, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1074, 4, 5, 53, 48, 54, 0, 0, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (1075, 4, 5, 54, 49, 54, 0, 1, 0, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (1076, 4, 5, 55, 50, 54, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1077, 4, 5, 56, 51, 54, 0, 1, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (1078, 4, 5, 57, 52, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1079, 4, 5, 58, 53, 54, 1, 1, 0, 3, 3);
+INSERT INTO `player_levelupgains` VALUES (1080, 4, 5, 59, 54, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1082, 4, 4, 1, 17, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1083, 4, 4, 2, 17, 0, 0, 1, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1084, 4, 4, 3, 17, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1085, 4, 4, 4, 17, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1086, 4, 4, 5, 17, 0, 0, 1, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1087, 4, 4, 6, 17, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1088, 4, 4, 7, 17, 0, 1, 1, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1089, 4, 4, 8, 17, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1090, 4, 4, 9, 17, 0, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1091, 4, 4, 10, 17, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1092, 4, 4, 11, 17, 0, 1, 1, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1093, 4, 4, 12, 17, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1094, 4, 4, 13, 17, 0, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1095, 4, 4, 14, 17, 0, 1, 2, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1096, 4, 4, 15, 18, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1097, 4, 4, 16, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1098, 4, 4, 17, 20, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1099, 4, 4, 18, 21, 0, 1, 2, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1100, 4, 4, 19, 22, 0, 0, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1101, 4, 4, 20, 23, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1102, 4, 4, 21, 24, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1103, 4, 4, 22, 25, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1104, 4, 4, 23, 26, 0, 1, 1, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1105, 4, 4, 24, 27, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1106, 4, 4, 25, 28, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1107, 4, 4, 26, 29, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1108, 4, 4, 27, 30, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1109, 4, 4, 28, 31, 0, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1110, 4, 4, 29, 32, 0, 1, 2, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1111, 4, 4, 30, 33, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1112, 4, 4, 31, 34, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1113, 4, 4, 32, 35, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1114, 4, 4, 33, 36, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1115, 4, 4, 34, 37, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1116, 4, 4, 35, 38, 0, 2, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1117, 4, 4, 36, 39, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1118, 4, 4, 37, 40, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1119, 4, 4, 38, 41, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1120, 4, 4, 39, 42, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1121, 4, 4, 40, 43, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1122, 4, 4, 41, 44, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1123, 4, 4, 42, 45, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1124, 4, 4, 43, 46, 0, 1, 3, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1125, 4, 4, 44, 47, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1126, 4, 4, 45, 48, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1127, 4, 4, 46, 49, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1128, 4, 4, 47, 50, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1129, 4, 4, 48, 51, 0, 1, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1130, 4, 4, 49, 52, 0, 2, 3, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1131, 4, 4, 50, 53, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1132, 4, 4, 51, 54, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1133, 4, 4, 52, 55, 0, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1134, 4, 4, 53, 56, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1135, 4, 4, 54, 57, 0, 1, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1136, 4, 4, 55, 58, 0, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1137, 4, 4, 56, 59, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1138, 4, 4, 57, 60, 0, 1, 3, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1139, 4, 4, 58, 61, 0, 2, 2, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1140, 4, 4, 59, 62, 0, 1, 3, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1142, 4, 1, 1, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1143, 4, 1, 2, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1144, 4, 1, 3, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1145, 4, 1, 4, 19, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1146, 4, 1, 5, 19, 0, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1147, 4, 1, 6, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1148, 4, 1, 7, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1149, 4, 1, 8, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1150, 4, 1, 9, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1151, 4, 1, 10, 19, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1152, 4, 1, 11, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1153, 4, 1, 12, 19, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1154, 4, 1, 13, 20, 0, 2, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1155, 4, 1, 14, 21, 0, 1, 0, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1156, 4, 1, 15, 22, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1157, 4, 1, 16, 23, 0, 1, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1158, 4, 1, 17, 24, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1159, 4, 1, 18, 25, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1160, 4, 1, 19, 26, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1161, 4, 1, 20, 27, 0, 1, 0, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1162, 4, 1, 21, 28, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1163, 4, 1, 22, 29, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1164, 4, 1, 23, 30, 0, 1, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1165, 4, 1, 24, 31, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1166, 4, 1, 25, 32, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1167, 4, 1, 26, 33, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1168, 4, 1, 27, 34, 0, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1169, 4, 1, 28, 35, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1170, 4, 1, 29, 36, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1171, 4, 1, 30, 37, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1172, 4, 1, 31, 38, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1173, 4, 1, 32, 39, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1174, 4, 1, 33, 40, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1175, 4, 1, 34, 41, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1176, 4, 1, 35, 42, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1177, 4, 1, 36, 44, 0, 1, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1178, 4, 1, 37, 46, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1179, 4, 1, 38, 48, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1180, 4, 1, 39, 50, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1181, 4, 1, 40, 52, 0, 1, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1182, 4, 1, 41, 54, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1183, 4, 1, 42, 56, 0, 2, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1184, 4, 1, 43, 58, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1185, 4, 1, 44, 60, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1186, 4, 1, 45, 62, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1187, 4, 1, 46, 64, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1188, 4, 1, 47, 66, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1189, 4, 1, 48, 68, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1190, 4, 1, 49, 70, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1191, 4, 1, 50, 72, 0, 2, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1192, 4, 1, 51, 74, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1193, 4, 1, 52, 76, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1194, 4, 1, 53, 78, 0, 2, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1195, 4, 1, 54, 80, 0, 3, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1196, 4, 1, 55, 82, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1197, 4, 1, 56, 84, 0, 2, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1198, 4, 1, 57, 86, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1199, 4, 1, 58, 88, 0, 3, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1200, 4, 1, 59, 90, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1202, 2, 3, 1, 17, 6, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1203, 2, 3, 2, 17, 21, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1204, 2, 3, 3, 17, 8, 0, 2, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1205, 2, 3, 4, 17, 23, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1206, 2, 3, 5, 17, 10, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1207, 2, 3, 6, 17, 25, 0, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1208, 2, 3, 7, 17, 26, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1209, 2, 3, 8, 17, 27, 0, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1210, 2, 3, 9, 17, 28, 1, 1, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1211, 2, 3, 10, 17, 29, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1212, 2, 3, 11, 17, 30, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1213, 2, 3, 12, 17, 31, 0, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1214, 2, 3, 13, 18, 32, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1215, 2, 3, 14, 19, 33, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1216, 2, 3, 15, 20, 34, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1217, 2, 3, 16, 21, 35, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1218, 2, 3, 17, 22, 36, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1219, 2, 3, 18, 23, 37, 0, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1220, 2, 3, 19, 24, 38, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1221, 2, 3, 20, 25, 39, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1222, 2, 3, 21, 26, 40, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1223, 2, 3, 22, 27, 41, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1224, 2, 3, 23, 28, 42, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1225, 2, 3, 24, 29, 43, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1226, 2, 3, 25, 30, 44, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1227, 2, 3, 26, 31, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1228, 2, 3, 27, 32, 45, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1229, 2, 3, 28, 33, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1230, 2, 3, 29, 34, 45, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1231, 2, 3, 30, 35, 45, 0, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1232, 2, 3, 31, 36, 45, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1233, 2, 3, 32, 37, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1234, 2, 3, 33, 38, 45, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1235, 2, 3, 34, 39, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1236, 2, 3, 35, 40, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1237, 2, 3, 36, 41, 45, 0, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1238, 2, 3, 37, 42, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1239, 2, 3, 38, 43, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1240, 2, 3, 39, 44, 45, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1241, 2, 3, 40, 45, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1242, 2, 3, 41, 46, 45, 0, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1243, 2, 3, 42, 47, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1244, 2, 3, 43, 48, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1245, 2, 3, 44, 49, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1246, 2, 3, 45, 50, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1247, 2, 3, 46, 51, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1248, 2, 3, 47, 52, 45, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1249, 2, 3, 48, 53, 45, 0, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1250, 2, 3, 49, 54, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1251, 2, 3, 50, 55, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1252, 2, 3, 51, 56, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1253, 2, 3, 52, 57, 45, 0, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1254, 2, 3, 53, 58, 45, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1255, 2, 3, 54, 59, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1256, 2, 3, 55, 60, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1257, 2, 3, 56, 61, 45, 1, 3, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1258, 2, 3, 57, 62, 45, 0, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1259, 2, 3, 58, 63, 45, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1260, 2, 3, 59, 64, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1262, 2, 4, 1, 17, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1263, 2, 4, 2, 17, 0, 0, 1, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1264, 2, 4, 3, 17, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1265, 2, 4, 4, 17, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1266, 2, 4, 5, 17, 0, 0, 1, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1267, 2, 4, 6, 17, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1268, 2, 4, 7, 17, 0, 1, 1, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1269, 2, 4, 8, 17, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1270, 2, 4, 9, 17, 0, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1271, 2, 4, 10, 17, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1272, 2, 4, 11, 17, 0, 1, 1, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1273, 2, 4, 12, 17, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1274, 2, 4, 13, 17, 0, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1275, 2, 4, 14, 17, 0, 1, 2, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1276, 2, 4, 15, 18, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1277, 2, 4, 16, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1278, 2, 4, 17, 20, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1279, 2, 4, 18, 0, 0, 0, 0, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1280, 2, 4, 19, 0, 0, 0, 0, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1281, 2, 4, 20, 66, 0, 2, 5, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1282, 2, 4, 21, 24, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1283, 2, 4, 22, 25, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1284, 2, 4, 23, 26, 0, 1, 1, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1285, 2, 4, 24, 27, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1286, 2, 4, 25, 28, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1287, 2, 4, 26, 29, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1288, 2, 4, 27, 30, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1289, 2, 4, 28, 31, 0, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1290, 2, 4, 29, 32, 0, 1, 2, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1291, 2, 4, 30, 33, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1292, 2, 4, 31, 34, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1293, 2, 4, 32, 35, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1294, 2, 4, 33, 36, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1295, 2, 4, 34, 37, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1296, 2, 4, 35, 38, 0, 2, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1297, 2, 4, 36, 39, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1298, 2, 4, 37, 45, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1299, 2, 4, 38, 36, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1300, 2, 4, 39, 42, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1301, 2, 4, 40, 43, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1302, 2, 4, 41, 44, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1303, 2, 4, 42, 45, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1304, 2, 4, 43, 46, 0, 1, 3, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1305, 2, 4, 44, 47, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1306, 2, 4, 45, 48, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1307, 2, 4, 46, 49, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1308, 2, 4, 47, 50, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1309, 2, 4, 48, 51, 0, 1, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1310, 2, 4, 49, 52, 0, 2, 3, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1311, 2, 4, 50, 53, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1312, 2, 4, 51, 54, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1313, 2, 4, 52, 55, 0, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1314, 2, 4, 53, 56, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1315, 2, 4, 54, 57, 0, 1, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1316, 2, 4, 55, 58, 0, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1317, 2, 4, 56, 59, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1318, 2, 4, 57, 60, 0, 1, 3, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1319, 2, 4, 58, 61, 0, 2, 2, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1320, 2, 4, 59, 62, 0, 1, 3, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1322, 2, 7, 1, 17, 7, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1323, 2, 7, 2, 17, 8, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1324, 2, 7, 3, 17, 23, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1325, 2, 7, 4, 17, 24, 1, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1326, 2, 7, 5, 17, 25, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1327, 2, 7, 6, 17, 26, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1328, 2, 7, 7, 17, 27, 0, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1329, 2, 7, 8, 17, 43, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1330, 2, 7, 9, 17, 14, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1331, 2, 7, 10, 17, 30, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1332, 2, 7, 11, 17, 31, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1333, 2, 7, 12, 17, 32, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1334, 2, 7, 13, 17, 33, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1335, 2, 7, 14, 17, 34, 1, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1336, 2, 7, 15, 17, 35, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1337, 2, 7, 16, 18, 36, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1338, 2, 7, 17, 19, 37, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1339, 2, 7, 18, 20, 38, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1340, 2, 7, 19, 21, 39, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1341, 2, 7, 20, 22, 40, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1342, 2, 7, 21, 23, 76, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1343, 2, 7, 22, 24, 7, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1344, 2, 7, 23, 25, 43, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1345, 2, 7, 24, 26, 44, 1, 0, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1346, 2, 7, 25, 27, 89, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1347, 2, 7, 26, 28, 2, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1348, 2, 7, 27, 29, 47, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1349, 2, 7, 28, 30, 48, 1, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1350, 2, 7, 29, 31, 102, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1351, 2, 7, 30, 32, 11, 2, 0, 2, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1352, 2, 7, 31, 33, 108, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1353, 2, 7, 32, 34, 51, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1354, 2, 7, 33, 35, 36, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1355, 2, 7, 34, 36, 51, 1, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1356, 2, 7, 35, 37, 68, 1, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1357, 2, 7, 36, 38, 51, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1358, 2, 7, 37, 39, 52, 1, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1359, 2, 7, 38, 40, 52, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1360, 2, 7, 39, 41, 50, 2, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1361, 2, 7, 40, 42, 32, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1362, 2, 7, 41, 43, 22, 1, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1363, 2, 7, 42, 44, 13, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1364, 2, 7, 43, 45, 51, 2, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1365, 2, 7, 44, 46, 124, 1, 0, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1366, 2, 7, 45, 47, 67, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1367, 2, 7, 46, 48, 52, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1368, 2, 7, 47, 49, 51, 2, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1369, 2, 7, 48, 50, 51, 1, 0, 2, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1370, 2, 7, 49, 51, 36, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1371, 2, 7, 50, 52, 68, 2, 1, 2, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1372, 2, 7, 51, 53, 51, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1373, 2, 7, 52, 54, 51, 2, 0, 2, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1374, 2, 7, 53, 55, 22, 1, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1375, 2, 7, 54, 56, 30, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1376, 2, 7, 55, 57, 51, 2, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1377, 2, 7, 56, 58, 103, 1, 1, 2, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1378, 2, 7, 57, 59, 52, 2, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1379, 2, 7, 58, 60, 51, 1, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1380, 2, 7, 59, 61, 79, 2, 1, 2, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1382, 2, 9, 1, 15, 9, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1383, 2, 9, 2, 15, 24, 1, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1384, 2, 9, 3, 15, 25, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1385, 2, 9, 4, 15, 26, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1386, 2, 9, 5, 15, 27, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1387, 2, 9, 6, 15, 28, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1388, 2, 9, 7, 15, 29, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1389, 2, 9, 8, 15, 30, 0, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1390, 2, 9, 9, 15, 31, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1391, 2, 9, 10, 15, 32, 0, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1392, 2, 9, 11, 15, 33, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1393, 2, 9, 12, 15, 34, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1394, 2, 9, 13, 15, 35, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1395, 2, 9, 14, 15, 36, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1396, 2, 9, 15, 15, 37, 1, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1397, 2, 9, 16, 15, 38, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1398, 2, 9, 17, 16, 39, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1399, 2, 9, 18, 35, 40, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1400, 2, 9, 19, 12, 41, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1401, 2, 9, 20, 32, 42, 0, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1402, 2, 9, 21, 0, 43, 1, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1403, 2, 9, 22, 16, 44, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1404, 2, 9, 23, 22, 45, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1405, 2, 9, 24, 23, 46, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1406, 2, 9, 25, 24, 47, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1407, 2, 9, 26, 25, 48, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1408, 2, 9, 27, 26, 49, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1409, 2, 9, 28, 27, 50, 1, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1410, 2, 9, 29, 28, 51, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1411, 2, 9, 30, 29, 51, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1412, 2, 9, 31, 30, 51, 1, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1413, 2, 9, 32, 21, 51, 0, 0, 0, 1, 3);
+INSERT INTO `player_levelupgains` VALUES (1414, 2, 9, 33, 42, 51, 1, 1, 1, 2, 0);
+INSERT INTO `player_levelupgains` VALUES (1415, 2, 9, 34, 33, 51, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1416, 2, 9, 35, 34, 51, 1, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1417, 2, 9, 36, 35, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1418, 2, 9, 37, 36, 51, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1419, 2, 9, 38, 37, 51, 1, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1420, 2, 9, 39, 38, 51, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1421, 2, 9, 40, 39, 51, 1, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1422, 2, 9, 41, 20, 51, 0, 0, 0, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (1423, 2, 9, 42, 61, 51, 1, 1, 3, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1424, 2, 9, 43, 42, 51, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1425, 2, 9, 44, 43, 51, 1, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1426, 2, 9, 45, 44, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1427, 2, 9, 46, 45, 51, 1, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1428, 2, 9, 47, 46, 51, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1429, 2, 9, 48, 47, 51, 1, 1, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (1430, 2, 9, 49, 48, 51, 0, 0, 2, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1431, 2, 9, 50, 39, 51, 1, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1432, 2, 9, 51, 60, 51, 0, 0, 2, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1433, 2, 9, 52, 51, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1434, 2, 9, 53, 32, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1435, 2, 9, 54, 73, 51, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1436, 2, 9, 55, 54, 51, 1, 1, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (1437, 2, 9, 56, 49, 51, 0, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1438, 2, 9, 57, 52, 51, 1, 1, 2, 2, 4);
+INSERT INTO `player_levelupgains` VALUES (1439, 2, 9, 58, 57, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1440, 2, 9, 59, 68, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1442, 2, 1, 1, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1443, 2, 1, 2, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1444, 2, 1, 3, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1445, 2, 1, 4, 19, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1446, 2, 1, 5, 19, 0, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1447, 2, 1, 6, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1448, 2, 1, 7, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1449, 2, 1, 8, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1450, 2, 1, 9, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1451, 2, 1, 10, 19, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1452, 2, 1, 11, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1453, 2, 1, 12, 19, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1454, 2, 1, 13, 20, 0, 2, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1455, 2, 1, 14, 21, 0, 1, 0, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1456, 2, 1, 15, 22, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1457, 2, 1, 16, 23, 0, 1, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1458, 2, 1, 17, 24, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1459, 2, 1, 18, 25, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1460, 2, 1, 19, 26, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1461, 2, 1, 20, 27, 0, 1, 0, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1462, 2, 1, 21, 28, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1463, 2, 1, 22, 29, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1464, 2, 1, 23, 30, 0, 1, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1465, 2, 1, 24, 31, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1466, 2, 1, 25, 32, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1467, 2, 1, 26, 33, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1468, 2, 1, 27, 34, 0, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1469, 2, 1, 28, 35, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1470, 2, 1, 29, 36, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1471, 2, 1, 30, 37, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1472, 2, 1, 31, 38, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1473, 2, 1, 32, 39, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1474, 2, 1, 33, 40, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1475, 2, 1, 34, 41, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1476, 2, 1, 35, 42, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1477, 2, 1, 36, 44, 0, 1, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1478, 2, 1, 37, 46, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1479, 2, 1, 38, 48, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1480, 2, 1, 39, 50, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1481, 2, 1, 40, 52, 0, 1, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1482, 2, 1, 41, 54, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1483, 2, 1, 42, 56, 0, 2, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1484, 2, 1, 43, 58, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1485, 2, 1, 44, 60, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1486, 2, 1, 45, 62, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1487, 2, 1, 46, 64, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1488, 2, 1, 47, 66, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1489, 2, 1, 48, 68, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1490, 2, 1, 49, 70, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1491, 2, 1, 50, 72, 0, 2, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1492, 2, 1, 51, 74, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1493, 2, 1, 52, 76, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1494, 2, 1, 53, 78, 0, 2, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1495, 2, 1, 54, 80, 0, 3, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1496, 2, 1, 55, 82, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1497, 2, 1, 56, 84, 0, 2, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1498, 2, 1, 57, 86, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1499, 2, 1, 58, 88, 0, 3, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1500, 2, 1, 59, 90, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1502, 6, 11, 1, 19, 8, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1503, 6, 11, 2, 16, 9, 0, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1504, 6, 11, 3, 19, 10, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1505, 6, 11, 4, 18, 25, 0, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1506, 6, 11, 5, 18, 26, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1507, 6, 11, 6, 17, 27, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1508, 6, 11, 7, 18, 13, 1, 0, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1509, 6, 11, 8, 18, 29, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1510, 6, 11, 9, 18, 30, 1, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1511, 6, 11, 10, 18, 31, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1512, 6, 11, 11, 17, 32, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1513, 6, 11, 12, 18, 33, 0, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1514, 6, 11, 13, 18, 34, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1515, 6, 11, 14, 19, 50, 1, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1516, 6, 11, 15, 18, 36, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1517, 6, 11, 16, 18, 37, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1518, 6, 11, 17, 18, 38, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1519, 6, 11, 18, 19, 39, 1, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1520, 6, 11, 19, 23, 40, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1521, 6, 11, 20, 22, 41, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1522, 6, 11, 21, 23, 27, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1523, 6, 11, 22, 24, 43, 1, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1524, 6, 11, 23, 24, 59, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1525, 6, 11, 24, 26, 45, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1526, 6, 11, 25, 29, 45, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1527, 6, 11, 26, 28, 30, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1528, 6, 11, 27, 29, 45, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1529, 6, 11, 28, 29, 60, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1530, 6, 11, 29, 32, 45, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1531, 6, 11, 30, 32, 30, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1532, 6, 11, 31, 34, 60, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1533, 6, 11, 32, 36, 45, 1, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1534, 6, 11, 33, 34, 30, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1535, 6, 11, 34, 37, 60, 1, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1536, 6, 11, 35, 39, 30, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1537, 6, 11, 36, 38, 45, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1538, 6, 11, 37, 41, 60, 1, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1539, 6, 11, 38, 40, 30, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1540, 6, 11, 39, 42, 60, 1, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1541, 6, 11, 40, 44, 30, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1542, 6, 11, 41, 43, 60, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1543, 6, 11, 42, 46, 30, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1544, 6, 11, 43, 46, 60, 1, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1545, 6, 11, 44, 47, 30, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1546, 6, 11, 45, 49, 60, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1547, 6, 11, 46, 49, 30, 1, 0, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1548, 6, 11, 47, 49, 45, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1549, 6, 11, 48, 53, 60, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1550, 6, 11, 49, 52, 30, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1551, 6, 11, 50, 54, 45, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1552, 6, 11, 51, 55, 60, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1553, 6, 11, 52, 55, 30, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1554, 6, 11, 53, 57, 45, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1555, 6, 11, 54, 57, 45, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1556, 6, 11, 55, 59, 45, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1557, 6, 11, 56, 61, 45, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1558, 6, 11, 57, 60, 45, 1, 1, 2, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1559, 6, 11, 58, 63, 45, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1560, 6, 11, 59, 62, 45, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1562, 6, 3, 1, 17, 6, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1563, 6, 3, 2, 18, 21, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1564, 6, 3, 3, 18, 8, 0, 2, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1565, 6, 3, 4, 18, 23, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1566, 6, 3, 5, 17, 10, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1567, 6, 3, 6, 18, 25, 0, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1568, 6, 3, 7, 18, 12, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1569, 6, 3, 8, 19, 27, 0, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1570, 6, 3, 9, 16, 14, 1, 1, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1571, 6, 3, 10, 18, 29, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1572, 6, 3, 11, 18, 30, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1573, 6, 3, 12, 19, 31, 0, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1574, 6, 3, 13, 18, 32, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1575, 6, 3, 14, 21, 33, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1576, 6, 3, 15, 21, 34, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1577, 6, 3, 16, 21, 35, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1578, 6, 3, 17, 24, 36, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1579, 6, 3, 18, 25, 37, 0, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1580, 6, 3, 19, 24, 38, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1581, 6, 3, 20, 27, 39, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1582, 6, 3, 21, 26, 40, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1583, 6, 3, 22, 29, 41, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1584, 6, 3, 23, 29, 42, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1585, 6, 3, 24, 31, 43, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1586, 6, 3, 25, 32, 44, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1587, 6, 3, 26, 31, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1588, 6, 3, 27, 34, 45, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1589, 6, 3, 28, 35, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1590, 6, 3, 29, 36, 45, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1591, 6, 3, 30, 37, 45, 0, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1592, 6, 3, 31, 37, 45, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1593, 6, 3, 32, 39, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1594, 6, 3, 33, 39, 45, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1595, 6, 3, 34, 42, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1596, 6, 3, 35, 42, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1597, 6, 3, 36, 42, 45, 0, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1598, 6, 3, 37, 46, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1599, 6, 3, 38, 44, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1600, 6, 3, 39, 46, 45, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1601, 6, 3, 40, 49, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1602, 6, 3, 41, 47, 45, 0, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1603, 6, 3, 42, 50, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1604, 6, 3, 43, 50, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1605, 6, 3, 44, 51, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1606, 6, 3, 45, 54, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1607, 6, 3, 46, 52, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1608, 6, 3, 47, 55, 45, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1609, 6, 3, 48, 56, 45, 0, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1610, 6, 3, 49, 56, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1611, 6, 3, 50, 58, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1612, 6, 3, 51, 59, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1613, 6, 3, 52, 60, 45, 0, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1614, 6, 3, 53, 61, 45, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1615, 6, 3, 54, 61, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1616, 6, 3, 55, 63, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1617, 6, 3, 56, 65, 45, 1, 3, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1618, 6, 3, 57, 65, 45, 0, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1619, 6, 3, 58, 66, 45, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1620, 6, 3, 59, 68, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1622, 6, 7, 1, 17, 7, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1623, 6, 7, 2, 19, 8, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1624, 6, 7, 3, 16, 23, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1625, 6, 7, 4, 19, 10, 1, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1626, 6, 7, 5, 18, 11, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1627, 6, 7, 6, 18, 26, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1628, 6, 7, 7, 17, 27, 0, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1629, 6, 7, 8, 18, 43, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1630, 6, 7, 9, 18, 14, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1631, 6, 7, 10, 18, 30, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1632, 6, 7, 11, 18, 31, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1633, 6, 7, 12, 17, 32, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1634, 6, 7, 13, 18, 33, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1635, 6, 7, 14, 18, 34, 1, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1636, 6, 7, 15, 19, 35, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1637, 6, 7, 16, 18, 36, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1638, 6, 7, 17, 21, 37, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1639, 6, 7, 18, 21, 38, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1640, 6, 7, 19, 21, 39, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1641, 6, 7, 20, 24, 40, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1642, 6, 7, 21, 23, 41, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1643, 6, 7, 22, 26, 42, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1644, 6, 7, 23, 27, 81, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1645, 6, 7, 24, 26, 6, 1, 0, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1646, 6, 7, 25, 29, 45, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1647, 6, 7, 26, 29, 46, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1648, 6, 7, 27, 31, 47, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1649, 6, 7, 28, 32, 48, 1, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1650, 6, 7, 29, 31, 49, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1651, 6, 7, 30, 34, 119, 2, 0, 2, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1652, 6, 7, 31, 35, 52, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1653, 6, 7, 32, 36, 49, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1654, 6, 7, 33, 35, 40, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1655, 6, 7, 34, 39, 49, 1, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1656, 6, 7, 35, 39, 0, 1, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1657, 6, 7, 36, 40, 119, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1658, 6, 7, 37, 41, 13, 1, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1659, 6, 7, 38, 42, 38, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1660, 6, 7, 39, 43, 103, 2, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1661, 6, 7, 40, 45, 51, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1662, 6, 7, 41, 44, 37, 1, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1663, 6, 7, 42, 45, 51, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1664, 6, 7, 43, 49, 67, 2, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1665, 6, 7, 44, 48, 36, 1, 0, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1666, 6, 7, 45, 50, 67, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1667, 6, 7, 46, 50, 51, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1668, 6, 7, 47, 51, 36, 2, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1669, 6, 7, 48, 53, 67, 1, 0, 2, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1670, 6, 7, 49, 52, 36, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1671, 6, 7, 50, 55, 67, 2, 1, 2, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1672, 6, 7, 51, 57, 52, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1673, 6, 7, 52, 56, 51, 2, 0, 2, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1674, 6, 7, 53, 58, 23, 1, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1675, 6, 7, 54, 59, 29, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1676, 6, 7, 55, 59, 51, 2, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1677, 6, 7, 56, 60, 103, 1, 1, 2, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1678, 6, 7, 57, 62, 51, 2, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1679, 6, 7, 58, 64, 27, 1, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1680, 6, 7, 59, 65, 25, 2, 1, 2, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1682, 6, 1, 1, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1683, 6, 1, 2, 20, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1684, 6, 1, 3, 21, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1685, 6, 1, 4, 19, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1686, 6, 1, 5, 20, 0, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1687, 6, 1, 6, 21, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1688, 6, 1, 7, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1689, 6, 1, 8, 21, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1690, 6, 1, 9, 20, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1691, 6, 1, 10, 19, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1692, 6, 1, 11, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1693, 6, 1, 12, 20, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1694, 6, 1, 13, 22, 0, 2, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1695, 6, 1, 14, 21, 0, 1, 0, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1696, 6, 1, 15, 25, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1697, 6, 1, 16, 24, 0, 1, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1698, 6, 1, 17, 24, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1699, 6, 1, 18, 28, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1700, 6, 1, 19, 25, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1701, 6, 1, 20, 29, 0, 1, 0, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1702, 6, 1, 21, 30, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1703, 6, 1, 22, 30, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1704, 6, 1, 23, 31, 0, 1, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1705, 6, 1, 24, 34, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1706, 6, 1, 25, 32, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1707, 6, 1, 26, 36, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1708, 6, 1, 27, 35, 0, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1709, 6, 1, 28, 37, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1710, 6, 1, 29, 39, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1711, 6, 1, 30, 37, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1712, 6, 1, 31, 41, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1713, 6, 1, 32, 40, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1714, 6, 1, 33, 42, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1715, 6, 1, 34, 44, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1716, 6, 1, 35, 43, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1717, 6, 1, 36, 46, 0, 1, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1718, 6, 1, 37, 50, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1719, 6, 1, 38, 50, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1720, 6, 1, 39, 51, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1721, 6, 1, 40, 56, 0, 1, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1722, 6, 1, 41, 57, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1723, 6, 1, 42, 59, 0, 2, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1724, 6, 1, 43, 60, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1725, 6, 1, 44, 63, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1726, 6, 1, 45, 66, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1727, 6, 1, 46, 67, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1728, 6, 1, 47, 68, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1729, 6, 1, 48, 72, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1730, 6, 1, 49, 74, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1731, 6, 1, 50, 76, 0, 2, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1732, 6, 1, 51, 76, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1733, 6, 1, 52, 80, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1734, 6, 1, 53, 83, 0, 2, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1735, 6, 1, 54, 84, 0, 3, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1736, 6, 1, 55, 86, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1737, 6, 1, 56, 88, 0, 2, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1738, 6, 1, 57, 91, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1739, 6, 1, 58, 92, 0, 3, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1740, 6, 1, 59, 94, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1742, 8, 3, 1, 17, 6, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1743, 8, 3, 2, 17, 21, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1744, 8, 3, 3, 17, 8, 0, 2, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1745, 8, 3, 4, 17, 23, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1746, 8, 3, 5, 17, 10, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1747, 8, 3, 6, 17, 25, 0, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1748, 8, 3, 7, 17, 12, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1749, 8, 3, 8, 17, 27, 0, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1750, 8, 3, 9, 17, 28, 1, 1, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1751, 8, 3, 10, 17, 29, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1752, 8, 3, 11, 17, 30, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1753, 8, 3, 12, 17, 31, 0, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1754, 8, 3, 13, 18, 32, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1755, 8, 3, 14, 19, 33, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1756, 8, 3, 15, 20, 34, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1757, 8, 3, 16, 21, 35, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1758, 8, 3, 17, 22, 36, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1759, 8, 3, 18, 23, 37, 0, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1760, 8, 3, 19, 24, 38, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1761, 8, 3, 20, 25, 39, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1762, 8, 3, 21, 26, 40, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1763, 8, 3, 22, 27, 41, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1764, 8, 3, 23, 28, 42, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1765, 8, 3, 24, 29, 43, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1766, 8, 3, 25, 30, 44, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1767, 8, 3, 26, 31, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1768, 8, 3, 27, 32, 45, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1769, 8, 3, 28, 33, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1770, 8, 3, 29, 34, 45, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1771, 8, 3, 30, 35, 45, 0, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1772, 8, 3, 31, 36, 45, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1773, 8, 3, 32, 37, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1774, 8, 3, 33, 38, 45, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1775, 8, 3, 34, 39, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1776, 8, 3, 35, 40, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1777, 8, 3, 36, 41, 45, 0, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1778, 8, 3, 37, 42, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1779, 8, 3, 38, 43, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1780, 8, 3, 39, 44, 45, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1781, 8, 3, 40, 45, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1782, 8, 3, 41, 46, 45, 0, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1783, 8, 3, 42, 47, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1784, 8, 3, 43, 48, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1785, 8, 3, 44, 49, 45, 0, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1786, 8, 3, 45, 50, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1787, 8, 3, 46, 51, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1788, 8, 3, 47, 52, 45, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1789, 8, 3, 48, 53, 45, 0, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1790, 8, 3, 49, 54, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1791, 8, 3, 50, 55, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1792, 8, 3, 51, 56, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1793, 8, 3, 52, 57, 45, 0, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1794, 8, 3, 53, 58, 45, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1795, 8, 3, 54, 59, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1796, 8, 3, 55, 60, 45, 1, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1797, 8, 3, 56, 61, 45, 1, 3, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1798, 8, 3, 57, 62, 45, 0, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1799, 8, 3, 58, 63, 45, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1800, 8, 3, 59, 64, 45, 1, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1802, 8, 8, 1, 15, 11, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1803, 8, 8, 2, 15, 26, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1804, 8, 8, 3, 15, 27, 0, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1805, 8, 8, 4, 15, 28, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1806, 8, 8, 5, 15, 29, 1, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1807, 8, 8, 6, 15, 30, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1808, 8, 8, 7, 15, 16, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1809, 8, 8, 8, 15, 47, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1810, 8, 8, 9, 15, 33, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1811, 8, 8, 10, 15, 34, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1812, 8, 8, 11, 15, 35, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1813, 8, 8, 12, 15, 36, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1814, 8, 8, 13, 15, 37, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1815, 8, 8, 14, 15, 38, 0, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1816, 8, 8, 15, 15, 39, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1817, 8, 8, 16, 15, 25, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1818, 8, 8, 17, 15, 56, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1819, 8, 8, 18, 15, 27, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1820, 8, 8, 19, 15, 58, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1821, 8, 8, 20, 15, 29, 1, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1822, 8, 8, 21, 15, 60, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1823, 8, 8, 22, 15, 31, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1824, 8, 8, 23, 16, 62, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1825, 8, 8, 24, 17, 33, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1826, 8, 8, 25, 18, 64, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1827, 8, 8, 26, 19, 50, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1828, 8, 8, 27, 20, 36, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1829, 8, 8, 28, 21, 66, 0, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1830, 8, 8, 29, 22, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1831, 8, 8, 30, 23, 36, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1832, 8, 8, 31, 24, 66, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1833, 8, 8, 32, 25, 51, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1834, 8, 8, 33, 26, 36, 1, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1835, 8, 8, 34, 27, 51, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1836, 8, 8, 35, 28, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1837, 8, 8, 36, 29, 66, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1838, 8, 8, 37, 30, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1839, 8, 8, 38, 31, 51, 1, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1840, 8, 8, 39, 32, 36, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1841, 8, 8, 40, 33, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1842, 8, 8, 41, 34, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1843, 8, 8, 42, 35, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1844, 8, 8, 43, 36, 51, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1845, 8, 8, 44, 37, 51, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1846, 8, 8, 45, 38, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1847, 8, 8, 46, 79, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1848, 8, 8, 47, 10, 66, 0, 0, 0, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (1849, 8, 8, 48, 31, 51, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1850, 8, 8, 49, 42, 36, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1851, 8, 8, 50, 43, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1852, 8, 8, 51, 44, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1853, 8, 8, 52, 45, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1854, 8, 8, 53, 46, 51, 1, 0, 1, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (1855, 8, 8, 54, 47, 66, 0, 0, 0, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (1856, 8, 8, 55, 48, 39, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1857, 8, 8, 56, 49, 48, 0, 0, 0, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (1858, 8, 8, 57, 50, 51, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1859, 8, 8, 58, 42, 51, 0, 1, 0, 3, 3);
+INSERT INTO `player_levelupgains` VALUES (1860, 8, 8, 59, 61, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1862, 8, 5, 1, 15, 10, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1863, 8, 5, 2, 15, 11, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1864, 8, 5, 3, 15, 26, 1, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1865, 8, 5, 4, 15, 27, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1866, 8, 5, 5, 15, 28, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1867, 8, 5, 6, 15, 29, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1868, 8, 5, 7, 15, 30, 0, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1869, 8, 5, 8, 15, 31, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1870, 8, 5, 9, 15, 47, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1871, 8, 5, 10, 15, 18, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1872, 8, 5, 11, 15, 34, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1873, 8, 5, 12, 15, 35, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1874, 8, 5, 13, 15, 36, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1875, 8, 5, 14, 15, 37, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1876, 8, 5, 15, 15, 38, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1877, 8, 5, 16, 15, 54, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1878, 8, 5, 17, 15, 25, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1879, 8, 5, 18, 15, 41, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1880, 8, 5, 19, 15, 42, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1881, 8, 5, 20, 15, 43, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1882, 8, 5, 21, 16, 59, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1883, 8, 5, 22, 17, 30, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1884, 8, 5, 23, 18, 61, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1885, 8, 5, 24, 19, 32, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1886, 8, 5, 25, 20, 63, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1887, 8, 5, 26, 21, 34, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1888, 8, 5, 27, 22, 65, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1889, 8, 5, 28, 23, 36, 1, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1890, 8, 5, 29, 24, 52, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1891, 8, 5, 30, 25, 68, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1892, 8, 5, 31, 26, 39, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1893, 8, 5, 32, 27, 69, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1894, 8, 5, 33, 28, 54, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1895, 8, 5, 34, 29, 39, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1896, 8, 5, 35, 30, 54, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1897, 8, 5, 36, 31, 69, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1898, 8, 5, 37, 32, 54, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1899, 8, 5, 38, 33, 39, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1900, 8, 5, 39, 34, 54, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (1901, 8, 5, 40, 35, 69, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1902, 8, 5, 41, 36, 54, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1903, 8, 5, 42, 37, 54, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1904, 8, 5, 43, 38, 54, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1905, 8, 5, 44, 39, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1906, 8, 5, 45, 40, 54, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1907, 8, 5, 46, 41, 54, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1908, 8, 5, 47, 42, 54, 0, 1, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (1909, 8, 5, 48, 93, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1910, 8, 5, 49, 14, 54, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1911, 8, 5, 50, 25, 54, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1912, 8, 5, 51, 46, 54, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1913, 8, 5, 52, 47, 54, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1914, 8, 5, 53, 48, 54, 0, 0, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (1915, 8, 5, 54, 49, 54, 0, 1, 0, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (1916, 8, 5, 55, 50, 54, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1917, 8, 5, 56, 51, 54, 0, 1, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (1918, 8, 5, 57, 52, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1919, 8, 5, 58, 53, 54, 1, 1, 0, 3, 3);
+INSERT INTO `player_levelupgains` VALUES (1920, 8, 5, 59, 54, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (1922, 8, 4, 1, 17, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1923, 8, 4, 2, 17, 0, 0, 1, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1924, 8, 4, 3, 17, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1925, 8, 4, 4, 17, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1926, 8, 4, 5, 17, 0, 0, 1, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1927, 8, 4, 6, 17, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1928, 8, 4, 7, 17, 0, 1, 1, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1929, 8, 4, 8, 17, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1930, 8, 4, 9, 17, 0, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1931, 8, 4, 10, 17, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1932, 8, 4, 11, 17, 0, 1, 1, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1933, 8, 4, 12, 17, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1934, 8, 4, 13, 17, 0, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1935, 8, 4, 14, 17, 0, 1, 2, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1936, 8, 4, 15, 18, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1937, 8, 4, 16, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1938, 8, 4, 17, 20, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1939, 8, 4, 18, 21, 0, 1, 2, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1940, 8, 4, 19, 22, 0, 0, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1941, 8, 4, 20, 23, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1942, 8, 4, 21, 24, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1943, 8, 4, 22, 25, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1944, 8, 4, 23, 26, 0, 1, 1, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1945, 8, 4, 24, 27, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1946, 8, 4, 25, 28, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1947, 8, 4, 26, 29, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1948, 8, 4, 27, 30, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1949, 8, 4, 28, 31, 0, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1950, 8, 4, 29, 32, 0, 1, 2, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1951, 8, 4, 30, 33, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1952, 8, 4, 31, 34, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1953, 8, 4, 32, 35, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1954, 8, 4, 33, 36, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1955, 8, 4, 34, 37, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1956, 8, 4, 35, 38, 0, 2, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1957, 8, 4, 36, 39, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1958, 8, 4, 37, 40, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1959, 8, 4, 38, 41, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1960, 8, 4, 39, 42, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1961, 8, 4, 40, 43, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1962, 8, 4, 41, 44, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1963, 8, 4, 42, 45, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1964, 8, 4, 43, 46, 0, 1, 3, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1965, 8, 4, 44, 47, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1966, 8, 4, 45, 48, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1967, 8, 4, 46, 49, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1968, 8, 4, 47, 50, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1969, 8, 4, 48, 51, 0, 1, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1970, 8, 4, 49, 52, 0, 2, 3, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1971, 8, 4, 50, 53, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1972, 8, 4, 51, 54, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1973, 8, 4, 52, 55, 0, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1974, 8, 4, 53, 56, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1975, 8, 4, 54, 57, 0, 1, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (1976, 8, 4, 55, 58, 0, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1977, 8, 4, 56, 59, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1978, 8, 4, 57, 60, 0, 1, 3, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1979, 8, 4, 58, 61, 0, 2, 2, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1980, 8, 4, 59, 62, 0, 1, 3, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1982, 8, 7, 1, 17, 7, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1983, 8, 7, 2, 17, 8, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1984, 8, 7, 3, 17, 23, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1985, 8, 7, 4, 17, 10, 1, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1986, 8, 7, 5, 17, 25, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1987, 8, 7, 6, 17, 26, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1988, 8, 7, 7, 17, 27, 0, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (1989, 8, 7, 8, 17, 43, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1990, 8, 7, 9, 17, 14, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (1991, 8, 7, 10, 17, 30, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1992, 8, 7, 11, 17, 31, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1993, 8, 7, 12, 17, 32, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1994, 8, 7, 13, 17, 33, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1995, 8, 7, 14, 17, 34, 1, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (1996, 8, 7, 15, 17, 35, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1997, 8, 7, 16, 18, 36, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1998, 8, 7, 17, 19, 37, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (1999, 8, 7, 18, 20, 66, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2000, 8, 7, 19, 21, 11, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2001, 8, 7, 20, 22, 40, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2002, 8, 7, 21, 23, 41, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2003, 8, 7, 22, 24, 42, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2004, 8, 7, 23, 25, 43, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2005, 8, 7, 24, 26, 44, 1, 0, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2006, 8, 7, 25, 27, 88, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2007, 8, 7, 26, 28, 49, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2008, 8, 7, 27, 29, 49, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2009, 8, 7, 28, 30, 0, 1, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2010, 8, 7, 29, 31, 49, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2011, 8, 7, 30, 32, 120, 2, 0, 2, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2012, 8, 7, 31, 33, 51, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2013, 8, 7, 32, 34, 61, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2014, 8, 7, 33, 35, 27, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2015, 8, 7, 34, 36, 51, 1, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2016, 8, 7, 35, 37, 57, 1, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2017, 8, 7, 36, 38, 61, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2018, 8, 7, 37, 39, 52, 1, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2019, 8, 7, 38, 40, 36, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2020, 8, 7, 39, 41, 38, 2, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2021, 8, 7, 40, 42, 28, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2022, 8, 7, 41, 43, 56, 1, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2023, 8, 7, 42, 44, 33, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2024, 8, 7, 43, 45, 30, 2, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2025, 8, 7, 44, 46, 34, 1, 0, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2026, 8, 7, 45, 47, 64, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2027, 8, 7, 46, 48, 144, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2028, 8, 7, 47, 49, 36, 2, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2029, 8, 7, 48, 50, 53, 1, 0, 2, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2030, 8, 7, 49, 51, 50, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2031, 8, 7, 50, 52, 50, 2, 1, 2, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2032, 8, 7, 51, 53, 27, 1, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2033, 8, 7, 52, 54, 31, 2, 0, 2, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2034, 8, 7, 53, 55, 21, 1, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2035, 8, 7, 54, 56, 30, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2036, 8, 7, 55, 57, 33, 2, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2037, 8, 7, 56, 58, 65, 1, 1, 2, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2038, 8, 7, 57, 59, 48, 2, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2039, 8, 7, 58, 60, 49, 1, 1, 2, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2040, 8, 7, 59, 61, 49, 2, 1, 2, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2042, 8, 1, 1, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2043, 8, 1, 2, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2044, 8, 1, 3, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2045, 8, 1, 4, 19, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2046, 8, 1, 5, 19, 0, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2047, 8, 1, 6, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2048, 8, 1, 7, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2049, 8, 1, 8, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2050, 8, 1, 9, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2051, 8, 1, 10, 19, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2052, 8, 1, 11, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2053, 8, 1, 12, 19, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2054, 8, 1, 13, 20, 0, 2, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2055, 8, 1, 14, 21, 0, 1, 0, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2056, 8, 1, 15, 22, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2057, 8, 1, 16, 23, 0, 1, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2058, 8, 1, 17, 24, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2059, 8, 1, 18, 25, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2060, 8, 1, 19, 26, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2061, 8, 1, 20, 27, 0, 1, 0, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2062, 8, 1, 21, 28, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2063, 8, 1, 22, 29, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2064, 8, 1, 23, 30, 0, 1, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2065, 8, 1, 24, 31, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2066, 8, 1, 25, 32, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2067, 8, 1, 26, 33, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2068, 8, 1, 27, 34, 0, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2069, 8, 1, 28, 35, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2070, 8, 1, 29, 36, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2071, 8, 1, 30, 37, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2072, 8, 1, 31, 38, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2073, 8, 1, 32, 39, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2074, 8, 1, 33, 40, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2075, 8, 1, 34, 41, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2076, 8, 1, 35, 42, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2077, 8, 1, 36, 44, 0, 1, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2078, 8, 1, 37, 46, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2079, 8, 1, 38, 48, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2080, 8, 1, 39, 50, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2081, 8, 1, 40, 52, 0, 1, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2082, 8, 1, 41, 59, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2083, 8, 1, 42, 51, 0, 2, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2084, 8, 1, 43, 58, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2085, 8, 1, 44, 110, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2086, 8, 1, 45, 12, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2087, 8, 1, 46, 64, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2088, 8, 1, 47, 66, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2089, 8, 1, 48, 68, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2090, 8, 1, 49, 70, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2091, 8, 1, 50, 72, 0, 2, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2092, 8, 1, 51, 74, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2093, 8, 1, 52, 76, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2094, 8, 1, 53, 78, 0, 2, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2095, 8, 1, 54, 80, 0, 3, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2096, 8, 1, 55, 82, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2097, 8, 1, 56, 84, 0, 2, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2098, 8, 1, 57, 86, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2099, 8, 1, 58, 88, 0, 3, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2100, 8, 1, 59, 90, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2102, 5, 8, 1, 15, 25, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2103, 5, 8, 2, 15, 26, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2104, 5, 8, 3, 15, 27, 0, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2105, 5, 8, 4, 15, 28, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2106, 5, 8, 5, 15, 29, 1, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2107, 5, 8, 6, 15, 30, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2108, 5, 8, 7, 15, 16, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2109, 5, 8, 8, 15, 47, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2110, 5, 8, 9, 15, 33, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2111, 5, 8, 10, 15, 34, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2112, 5, 8, 11, 15, 35, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2113, 5, 8, 12, 15, 36, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2114, 5, 8, 13, 15, 37, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2115, 5, 8, 14, 15, 38, 0, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2116, 5, 8, 15, 15, 39, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2117, 5, 8, 16, 15, 25, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2118, 5, 8, 17, 15, 56, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2119, 5, 8, 18, 15, 27, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2120, 5, 8, 19, 15, 58, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2121, 5, 8, 20, 15, 29, 1, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2122, 5, 8, 21, 15, 60, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2123, 5, 8, 22, 15, 31, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2124, 5, 8, 23, 16, 62, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2125, 5, 8, 24, 17, 33, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2126, 5, 8, 25, 18, 64, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2127, 5, 8, 26, 19, 50, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2128, 5, 8, 27, 20, 36, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2129, 5, 8, 28, 21, 66, 0, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2130, 5, 8, 29, 22, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2131, 5, 8, 30, 23, 36, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2132, 5, 8, 31, 24, 66, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2133, 5, 8, 32, 25, 51, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2134, 5, 8, 33, 26, 36, 1, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2135, 5, 8, 34, 27, 51, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2136, 5, 8, 35, 28, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2137, 5, 8, 36, 29, 66, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2138, 5, 8, 37, 30, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2139, 5, 8, 38, 31, 51, 1, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2140, 5, 8, 39, 32, 36, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2141, 5, 8, 40, 33, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2142, 5, 8, 41, 34, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2143, 5, 8, 42, 35, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2144, 5, 8, 43, 36, 51, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2145, 5, 8, 44, 37, 51, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2146, 5, 8, 45, 38, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2147, 5, 8, 46, 39, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2148, 5, 8, 47, 40, 66, 0, 0, 0, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (2149, 5, 8, 48, 41, 51, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2150, 5, 8, 49, 42, 36, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2151, 5, 8, 50, 43, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2152, 5, 8, 51, 44, 51, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2153, 5, 8, 52, 45, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2154, 5, 8, 53, 46, 51, 1, 0, 1, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (2155, 5, 8, 54, 47, 51, 0, 0, 0, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (2156, 5, 8, 55, 48, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2157, 5, 8, 56, 49, 51, 0, 0, 0, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (2158, 5, 8, 57, 50, 51, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2159, 5, 8, 58, 51, 51, 0, 1, 0, 3, 3);
+INSERT INTO `player_levelupgains` VALUES (2160, 5, 8, 59, 52, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2162, 5, 5, 1, 15, 24, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2163, 5, 5, 2, 15, 25, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2164, 5, 5, 3, 15, 26, 1, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2165, 5, 5, 4, 15, 27, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2166, 5, 5, 5, 15, 28, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2167, 5, 5, 6, 15, 29, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2168, 5, 5, 7, 15, 30, 0, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2169, 5, 5, 8, 15, 31, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2170, 5, 5, 9, 15, 47, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2171, 5, 5, 10, 15, 18, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2172, 5, 5, 11, 15, 34, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2173, 5, 5, 12, 15, 35, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2174, 5, 5, 13, 15, 36, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2175, 5, 5, 14, 15, 37, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2176, 5, 5, 15, 15, 38, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2177, 5, 5, 16, 15, 54, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2178, 5, 5, 17, 15, 25, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2179, 5, 5, 18, 15, 41, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2180, 5, 5, 19, 15, 42, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2181, 5, 5, 20, 15, 43, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2182, 5, 5, 21, 16, 59, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2183, 5, 5, 22, 17, 30, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2184, 5, 5, 23, 18, 61, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2185, 5, 5, 24, 19, 32, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2186, 5, 5, 25, 20, 63, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2187, 5, 5, 26, 21, 34, 0, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2188, 5, 5, 27, 22, 65, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2189, 5, 5, 28, 23, 36, 1, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2190, 5, 5, 29, 24, 52, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2191, 5, 5, 30, 25, 68, 0, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2192, 5, 5, 31, 26, 39, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2193, 5, 5, 32, 27, 69, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2194, 5, 5, 33, 28, 54, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2195, 5, 5, 34, 29, 39, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2196, 5, 5, 35, 30, 54, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2197, 5, 5, 36, 31, 69, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2198, 5, 5, 37, 32, 54, 0, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2199, 5, 5, 38, 33, 39, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2200, 5, 5, 39, 34, 54, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2201, 5, 5, 40, 35, 69, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2202, 5, 5, 41, 36, 54, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2203, 5, 5, 42, 37, 54, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2204, 5, 5, 43, 38, 54, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2205, 5, 5, 44, 39, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2206, 5, 5, 45, 40, 54, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2207, 5, 5, 46, 41, 54, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2208, 5, 5, 47, 42, 54, 0, 1, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (2209, 5, 5, 48, 43, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2210, 5, 5, 49, 44, 54, 1, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2211, 5, 5, 50, 45, 54, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2212, 5, 5, 51, 46, 54, 0, 0, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2213, 5, 5, 52, 47, 54, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2214, 5, 5, 53, 48, 54, 0, 0, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (2215, 5, 5, 54, 49, 54, 0, 1, 0, 3, 2);
+INSERT INTO `player_levelupgains` VALUES (2216, 5, 5, 55, 50, 54, 1, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2217, 5, 5, 56, 51, 54, 0, 1, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (2218, 5, 5, 57, 52, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2219, 5, 5, 58, 53, 54, 1, 1, 0, 3, 3);
+INSERT INTO `player_levelupgains` VALUES (2220, 5, 5, 59, 54, 54, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2222, 5, 4, 1, 17, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2223, 5, 4, 2, 17, 0, 0, 1, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2224, 5, 4, 3, 17, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2225, 5, 4, 4, 17, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2226, 5, 4, 5, 17, 0, 0, 1, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2227, 5, 4, 6, 17, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2228, 5, 4, 7, 17, 0, 1, 1, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2229, 5, 4, 8, 17, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2230, 5, 4, 9, 17, 0, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2231, 5, 4, 10, 17, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2232, 5, 4, 11, 17, 0, 1, 1, 0, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2233, 5, 4, 12, 17, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2234, 5, 4, 13, 17, 0, 0, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2235, 5, 4, 14, 17, 0, 1, 2, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2236, 5, 4, 15, 18, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2237, 5, 4, 16, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2238, 5, 4, 17, 20, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2239, 5, 4, 18, 21, 0, 1, 2, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2240, 5, 4, 19, 22, 0, 0, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2241, 5, 4, 20, 23, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2242, 5, 4, 21, 24, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2243, 5, 4, 22, 25, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2244, 5, 4, 23, 26, 0, 1, 1, 0, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2245, 5, 4, 24, 27, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2246, 5, 4, 25, 28, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2247, 5, 4, 26, 29, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2248, 5, 4, 27, 30, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2249, 5, 4, 28, 31, 0, 0, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2250, 5, 4, 29, 32, 0, 1, 2, 0, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2251, 5, 4, 30, 33, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2252, 5, 4, 31, 34, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2253, 5, 4, 32, 35, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2254, 5, 4, 33, 36, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2255, 5, 4, 34, 37, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2256, 5, 4, 35, 38, 0, 2, 2, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2257, 5, 4, 36, 39, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2258, 5, 4, 37, 40, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2259, 5, 4, 38, 41, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2260, 5, 4, 39, 42, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2261, 5, 4, 40, 43, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2262, 5, 4, 41, 44, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2263, 5, 4, 42, 45, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2264, 5, 4, 43, 46, 0, 1, 3, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2265, 5, 4, 44, 47, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2266, 5, 4, 45, 48, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2267, 5, 4, 46, 49, 0, 1, 2, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2268, 5, 4, 47, 50, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2269, 5, 4, 48, 51, 0, 1, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2270, 5, 4, 49, 52, 0, 2, 3, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2271, 5, 4, 50, 53, 0, 1, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2272, 5, 4, 51, 54, 0, 1, 2, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2273, 5, 4, 52, 55, 0, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2274, 5, 4, 53, 56, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2275, 5, 4, 54, 57, 0, 1, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2276, 5, 4, 55, 58, 0, 1, 3, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2277, 5, 4, 56, 59, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2278, 5, 4, 57, 60, 0, 1, 3, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2279, 5, 4, 58, 61, 0, 2, 2, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2280, 5, 4, 59, 62, 0, 1, 3, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2282, 5, 9, 1, 15, 23, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2283, 5, 9, 2, 15, 24, 1, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2284, 5, 9, 3, 15, 25, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2285, 5, 9, 4, 15, 26, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2286, 5, 9, 5, 15, 27, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2287, 5, 9, 6, 15, 28, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2288, 5, 9, 7, 15, 29, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2289, 5, 9, 8, 15, 30, 0, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2290, 5, 9, 9, 15, 31, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2291, 5, 9, 10, 15, 32, 0, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2292, 5, 9, 11, 15, 33, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2293, 5, 9, 12, 15, 34, 1, 0, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2294, 5, 9, 13, 15, 35, 0, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2295, 5, 9, 14, 15, 36, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2296, 5, 9, 15, 15, 37, 1, 1, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2297, 5, 9, 16, 15, 38, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2298, 5, 9, 17, 16, 39, 0, 0, 0, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2299, 5, 9, 18, 17, 40, 1, 1, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2300, 5, 9, 19, 18, 41, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2301, 5, 9, 20, 19, 42, 0, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2302, 5, 9, 21, 20, 43, 1, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2303, 5, 9, 22, 21, 44, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2304, 5, 9, 23, 22, 45, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2305, 5, 9, 24, 23, 46, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2306, 5, 9, 25, 24, 47, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2307, 5, 9, 26, 25, 48, 1, 0, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2308, 5, 9, 27, 26, 49, 0, 1, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2309, 5, 9, 28, 27, 50, 1, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2310, 5, 9, 29, 28, 51, 0, 1, 0, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2311, 5, 9, 30, 29, 51, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2312, 5, 9, 31, 30, 51, 1, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2313, 5, 9, 32, 31, 51, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2314, 5, 9, 33, 32, 51, 1, 1, 0, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2315, 5, 9, 34, 33, 51, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2316, 5, 9, 35, 24, 51, 1, 1, 0, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (2317, 5, 9, 36, 45, 51, 0, 1, 2, 2, 0);
+INSERT INTO `player_levelupgains` VALUES (2318, 5, 9, 37, 36, 51, 0, 0, 1, 1, 2);
+INSERT INTO `player_levelupgains` VALUES (2319, 5, 9, 38, 37, 51, 1, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2320, 5, 9, 39, 38, 51, 0, 0, 1, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2321, 5, 9, 40, 39, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2322, 5, 9, 41, 30, 51, 0, 0, 0, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (2323, 5, 9, 42, 51, 51, 1, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2324, 5, 9, 43, 42, 51, 0, 0, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2325, 5, 9, 44, 43, 51, 1, 1, 0, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2326, 5, 9, 45, 44, 51, 0, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2327, 5, 9, 46, 45, 51, 1, 0, 1, 1, 3);
+INSERT INTO `player_levelupgains` VALUES (2328, 5, 9, 47, 46, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2329, 5, 9, 48, 47, 51, 1, 1, 1, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2330, 5, 9, 49, 28, 51, 0, 0, 1, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (2331, 5, 9, 50, 59, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2332, 5, 9, 51, 60, 51, 0, 0, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2333, 5, 9, 52, 51, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2334, 5, 9, 53, 42, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2335, 5, 9, 54, 43, 51, 0, 0, 0, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (2336, 5, 9, 55, 74, 51, 1, 1, 2, 2, 1);
+INSERT INTO `player_levelupgains` VALUES (2337, 5, 9, 56, 55, 51, 0, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2338, 5, 9, 57, 46, 51, 1, 1, 0, 2, 3);
+INSERT INTO `player_levelupgains` VALUES (2339, 5, 9, 58, 67, 51, 0, 0, 2, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2340, 5, 9, 59, 58, 51, 1, 1, 1, 2, 2);
+INSERT INTO `player_levelupgains` VALUES (2342, 5, 1, 1, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2343, 5, 1, 2, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2344, 5, 1, 3, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2345, 5, 1, 4, 19, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2346, 5, 1, 5, 19, 0, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2347, 5, 1, 6, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2348, 5, 1, 7, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2349, 5, 1, 8, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2350, 5, 1, 9, 19, 0, 1, 0, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2351, 5, 1, 10, 19, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2352, 5, 1, 11, 19, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2353, 5, 1, 12, 19, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2354, 5, 1, 13, 20, 0, 2, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2355, 5, 1, 14, 21, 0, 1, 0, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2356, 5, 1, 15, 22, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2357, 5, 1, 16, 23, 0, 1, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2358, 5, 1, 17, 24, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2359, 5, 1, 18, 25, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2360, 5, 1, 19, 26, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2361, 5, 1, 20, 27, 0, 1, 0, 2, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2362, 5, 1, 21, 28, 0, 1, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2363, 5, 1, 22, 29, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2364, 5, 1, 23, 30, 0, 1, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2365, 5, 1, 24, 31, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2366, 5, 1, 25, 32, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2367, 5, 1, 26, 33, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2368, 5, 1, 27, 34, 0, 1, 1, 1, 1, 0);
+INSERT INTO `player_levelupgains` VALUES (2369, 5, 1, 28, 35, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2370, 5, 1, 29, 36, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2371, 5, 1, 30, 37, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2372, 5, 1, 31, 38, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2373, 5, 1, 32, 39, 0, 1, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2374, 5, 1, 33, 40, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2375, 5, 1, 34, 41, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2376, 5, 1, 35, 42, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2377, 5, 1, 36, 44, 0, 1, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2378, 5, 1, 37, 46, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2379, 5, 1, 38, 48, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2380, 5, 1, 39, 50, 0, 2, 1, 1, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2381, 5, 1, 40, 52, 0, 1, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2382, 5, 1, 41, 54, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2383, 5, 1, 42, 56, 0, 2, 1, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2384, 5, 1, 43, 58, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2385, 5, 1, 44, 60, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2386, 5, 1, 45, 62, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2387, 5, 1, 46, 64, 0, 2, 2, 1, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2388, 5, 1, 47, 66, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2389, 5, 1, 48, 68, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2390, 5, 1, 49, 70, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2391, 5, 1, 50, 72, 0, 2, 2, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2392, 5, 1, 51, 74, 0, 2, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2393, 5, 1, 52, 76, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2394, 5, 1, 53, 78, 0, 2, 2, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2395, 5, 1, 54, 80, 0, 3, 1, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2396, 5, 1, 55, 82, 0, 2, 1, 2, 0, 1);
+INSERT INTO `player_levelupgains` VALUES (2397, 5, 1, 56, 84, 0, 2, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2398, 5, 1, 57, 86, 0, 2, 1, 2, 1, 1);
+INSERT INTO `player_levelupgains` VALUES (2399, 5, 1, 58, 88, 0, 3, 2, 2, 0, 0);
+INSERT INTO `player_levelupgains` VALUES (2400, 5, 1, 59, 90, 0, 2, 1, 2, 0, 1);
diff --git a/sql/updates/0.6/2308_character_pet.sql b/sql/updates/0.6/2308_character_pet.sql
new file mode 100644
index 00000000000..ceabb5db108
--- /dev/null
+++ b/sql/updates/0.6/2308_character_pet.sql
@@ -0,0 +1,4 @@
+ALTER TABLE `character_pet`
+ DROP `name`,
+ ADD `loyalty` int(11) unsigned NOT NULL default '1',
+ ADD `trainpoint` int(11) unsigned NOT NULL default '0';
diff --git a/sql/updates/0.6/2330_realmlist.sql b/sql/updates/0.6/2330_realmlist.sql
new file mode 100644
index 00000000000..093e9ec726b
--- /dev/null
+++ b/sql/updates/0.6/2330_realmlist.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `realmd`.`realmlist`
+ ADD `port` int(11) NOT NULL default '8085' AFTER `address`;
diff --git a/sql/updates/0.6/2343_areatrigger_template.sql b/sql/updates/0.6/2343_areatrigger_template.sql
new file mode 100644
index 00000000000..7aa606fe4a4
--- /dev/null
+++ b/sql/updates/0.6/2343_areatrigger_template.sql
@@ -0,0 +1,14 @@
+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`
+ CHANGE `name` `name` text AFTER `id`,
+ 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
diff --git a/sql/updates/0.6/2352_quest_template.sql b/sql/updates/0.6/2352_quest_template.sql
new file mode 100644
index 00000000000..a44b92cc012
--- /dev/null
+++ b/sql/updates/0.6/2352_quest_template.sql
@@ -0,0 +1,13 @@
+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',
+ CHANGE `ReqKillMobOrGOId4` `ReqCreatureOrGOId4` int(11) NOT NULL default '0',
+ CHANGE `ReqKillMobOrGOCount1` `ReqCreatureOrGOCount1` int(11) unsigned NOT NULL default '0',
+ CHANGE `ReqKillMobOrGOCount2` `ReqCreatureOrGOCount2` int(11) unsigned NOT NULL default '0',
+ CHANGE `ReqKillMobOrGOCount3` `ReqCreatureOrGOCount3` int(11) unsigned NOT NULL default '0',
+ CHANGE `ReqKillMobOrGOCount4` `ReqCreatureOrGOCount4` int(11) unsigned NOT NULL default '0',
+ ADD COLUMN `ReqSpellCast1` int(11) unsigned NOT NULL default '0' AFTER `ReqCreatureOrGOCount4`,
+ ADD COLUMN `ReqSpellCast2` int(11) unsigned NOT NULL default '0' AFTER `ReqSpellCast1`,
+ ADD COLUMN `ReqSpellCast3` int(11) unsigned NOT NULL default '0' AFTER `ReqSpellCast2`,
+ ADD COLUMN `ReqSpellCast4` int(11) unsigned NOT NULL default '0' AFTER `ReqSpellCast3`;
diff --git a/sql/updates/0.6/2357_playercreateinfo_action.sql b/sql/updates/0.6/2357_playercreateinfo_action.sql
new file mode 100644
index 00000000000..5e0f59e7341
--- /dev/null
+++ b/sql/updates/0.6/2357_playercreateinfo_action.sql
@@ -0,0 +1,13 @@
+ALTER TABLE `playercreateinfo_action`
+ DROP KEY `playercreateinfo_actions_index`,
+ ADD KEY `playercreateinfo_actions_index` (`createid`,`button`);
+
+UPDATE `playercreateinfo_action`
+ SET `type` = `misc`;
+UPDATE `playercreateinfo_action`
+ SET `misc` = '0';
+
+UPDATE `character_action`
+ SET `type` = `misc`;
+UPDATE `character_action`
+ SET `misc` = '0';
diff --git a/sql/updates/0.6/2359_command.sql b/sql/updates/0.6/2359_command.sql
new file mode 100644
index 00000000000..f6705a385ef
--- /dev/null
+++ b/sql/updates/0.6/2359_command.sql
@@ -0,0 +1 @@
+INSERT INTO command VALUES('shutdown','3','Syntax: .shutdown #delay|stop\r\n\r\nShutting down server after #delay seconds or stop shutting down if stop value used.');
diff --git a/sql/updates/0.6/2360_creature_template.sql b/sql/updates/0.6/2360_creature_template.sql
new file mode 100644
index 00000000000..342f4d7cac3
--- /dev/null
+++ b/sql/updates/0.6/2360_creature_template.sql
@@ -0,0 +1,16 @@
+ALTER TABLE `creature_template`
+ ADD COLUMN `MovementType` int(11) unsigned NOT NULL default '0' AFTER `MoveName`;
+
+UPDATE `creature_template`
+ SET `MovementType` = '1' WHERE `MoveName` = 'Random';
+UPDATE `creature_template`
+ SET `MovementType` = '2' WHERE `MoveName` = 'Waypoint';
+
+ALTER TABLE `creature_template`
+ DROP `MoveName`;
+
+ALTER TABLE `creature`
+ ADD COLUMN `MovementType` int(11) unsigned NOT NULL default '0' AFTER `faction`;
+
+UPDATE `creature`, `creature_template`
+ SET `creature`.`MovementType` = `creature_template`.`MovementType` WHERE `creature`.`id` = `creature_template`.`entry`;
diff --git a/sql/updates/0.6/2362_areatrigger_template.sql b/sql/updates/0.6/2362_areatrigger_template.sql
new file mode 100644
index 00000000000..e46de1fdd6a
--- /dev/null
+++ b/sql/updates/0.6/2362_areatrigger_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `areatrigger_template`
+ CHANGE `trigger_postion_x` `trigger_position_x` FLOAT NOT NULL DEFAULT '0';
diff --git a/sql/updates/0.6/2367_command.sql b/sql/updates/0.6/2367_command.sql
new file mode 100644
index 00000000000..dbd325f6fc1
--- /dev/null
+++ b/sql/updates/0.6/2367_command.sql
@@ -0,0 +1,2 @@
+INSERT INTO command VALUES('goxy','3','Syntax: .goxy #x #y [#mapid]\r\n\r\nTeleport player to point with (#x,#y) coordinates at ground(water) level at map #mapid or same map if #mapid not provided.');
+UPDATE command SET `help` = 'Syntax: .taxicheat #flag\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\nUse a #flag of value 1 to add access, use a #flag value of 0 to remove access. Visited taxi nodes sill accessible after removing access.' WHERE `name` = 'taxicheat';
diff --git a/sql/updates/0.6/2369_creature_template.sql b/sql/updates/0.6/2369_creature_template.sql
new file mode 100644
index 00000000000..eea90e12f4f
--- /dev/null
+++ b/sql/updates/0.6/2369_creature_template.sql
@@ -0,0 +1,12 @@
+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`,
+ CHANGE `maxhealth` `maxhealth` int(5) unsigned default '0' AFTER `minhealth`,
+ ADD COLUMN `minmana` int(5) unsigned default '0' AFTER `maxhealth`,
+ CHANGE `maxmana` `maxmana` int(5) unsigned default '0' AFTER `minmana`;
+
+UPDATE `creature_template`
+ SET `maxlevel` = `minlevel` WHERE `maxlevel` < `minlevel`;
+UPDATE `creature_template`
+ SET `minhealth` = `maxhealth`, `minmana` = `maxmana`;
diff --git a/sql/updates/0.6/2370_character_queststatus.sql b/sql/updates/0.6/2370_character_queststatus.sql
new file mode 100644
index 00000000000..df10601cca8
--- /dev/null
+++ b/sql/updates/0.6/2370_character_queststatus.sql
@@ -0,0 +1,4 @@
+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
new file mode 100644
index 00000000000..38a5dbf4276
--- /dev/null
+++ b/sql/updates/0.6/2372_creature_template.sql
@@ -0,0 +1,6 @@
+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`,
+ CHANGE `minmana` `minmana` int(5) unsigned default '0' AFTER `maxhealth`,
+ CHANGE `maxmana` `maxmana` int(5) unsigned default '0' AFTER `minmana`;
diff --git a/sql/updates/0.6/2382_mail_item.sql b/sql/updates/0.6/2382_mail_item.sql
new file mode 100644
index 00000000000..a67d9b2a722
--- /dev/null
+++ b/sql/updates/0.6/2382_mail_item.sql
@@ -0,0 +1 @@
+DROP TABLE IF EXISTS `mail_item`;
diff --git a/sql/updates/0.6/2383_auctionhouse_item.sql b/sql/updates/0.6/2383_auctionhouse_item.sql
new file mode 100644
index 00000000000..8b4e52a4e44
--- /dev/null
+++ b/sql/updates/0.6/2383_auctionhouse_item.sql
@@ -0,0 +1 @@
+DROP TABLE IF EXISTS `auctionhouse_item`;
diff --git a/sql/updates/0.6/2418_quest_template.sql b/sql/updates/0.6/2418_quest_template.sql
new file mode 100644
index 00000000000..618a920ac9a
--- /dev/null
+++ b/sql/updates/0.6/2418_quest_template.sql
@@ -0,0 +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` ,
+ 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` ;
diff --git a/sql/updates/0.6/2421_quest_template.sql b/sql/updates/0.6/2421_quest_template.sql
new file mode 100644
index 00000000000..68966b7fc54
--- /dev/null
+++ b/sql/updates/0.6/2421_quest_template.sql
@@ -0,0 +1,4 @@
+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/2424_gameobject_template.sql b/sql/updates/0.6/2424_gameobject_template.sql
new file mode 100644
index 00000000000..fa117ab1de2
--- /dev/null
+++ b/sql/updates/0.6/2424_gameobject_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `gameobject_template` ADD COLUMN `castsSpell` int(11) NOT NULL default '0' AFTER `ScriptName`; \ No newline at end of file
diff --git a/sql/updates/0.6/2429_taxi.sql b/sql/updates/0.6/2429_taxi.sql
new file mode 100644
index 00000000000..055562ef790
--- /dev/null
+++ b/sql/updates/0.6/2429_taxi.sql
@@ -0,0 +1,3 @@
+DROP TABLE IF EXISTS `taxi_node`;
+DROP TABLE IF EXISTS `taxi_path`;
+DROP TABLE IF EXISTS `taxi_pathnode`;
diff --git a/sql/updates/0.6/2445_command.sql b/sql/updates/0.6/2445_command.sql
new file mode 100644
index 00000000000..799fd26448d
--- /dev/null
+++ b/sql/updates/0.6/2445_command.sql
@@ -0,0 +1 @@
+INSERT INTO command VALUES('pinfo','2','Syntax: .pinfo [$player_name]\r\n\r\nOutput account information for selected player or player find by $player_name.');
diff --git a/sql/updates/0.6/2448_command.sql b/sql/updates/0.6/2448_command.sql
new file mode 100644
index 00000000000..89e491758f8
--- /dev/null
+++ b/sql/updates/0.6/2448_command.sql
@@ -0,0 +1,3 @@
+DELETE FROM command WHERE `name` = 'addgrave';
+UPDATE command SET `help` = 'Syntax: .neargrave [alliance|horde]\r\n\r\nFind nearest graveyard linked to zone (or only nearest from accepts alliance or horde faction ghosts).' WHERE `name` = 'neargrave';
+UPDATE command SET `help` = 'Syntax: .linkgrave #graveyard_id [alliance|horde]\r\n\r\nLink current zone to graveyard for any (or alliance/horde faction ghosts). This let character ghost from zone teleport to graveyard after die if graveyard is nearest from linked to zone and accept ghost of this faction. Add only single graveyard at another map and only if no graveyards linked (or planned linked at same map).' WHERE `name` = 'linkgrave';
diff --git a/sql/updates/0.6/2448_game_graveyard.sql b/sql/updates/0.6/2448_game_graveyard.sql
new file mode 100644
index 00000000000..3a500c2bfbe
--- /dev/null
+++ b/sql/updates/0.6/2448_game_graveyard.sql
@@ -0,0 +1,9 @@
+ALTER TABLE `game_graveyard_zone`
+ ADD COLUMN `faction` int(11) unsigned NOT NULL default '0' AFTER `ghost_zone`;
+
+UPDATE `game_graveyard_zone`,`game_graveyard`
+ SET `game_graveyard_zone`.`faction` = `game_graveyard`.`faction`
+ WHERE `game_graveyard_zone`.`id` = `game_graveyard`.`id`;
+
+
+DROP TABLE IF EXISTS `game_graveyard`;
diff --git a/sql/updates/0.6/2454_command.sql b/sql/updates/0.6/2454_command.sql
new file mode 100644
index 00000000000..e5a7764ed2f
--- /dev/null
+++ b/sql/updates/0.6/2454_command.sql
@@ -0,0 +1 @@
+INSERT INTO command VALUES('visible','1','Syntax: .visible [0||1]\r\n\r\nOutput current visibility state or make GM visible(1) and invisible(0) for other players.');
diff --git a/sql/updates/0.6/2467_quest_template.sql b/sql/updates/0.6/2467_quest_template.sql
new file mode 100644
index 00000000000..ecc129eca2b
--- /dev/null
+++ b/sql/updates/0.6/2467_quest_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `quest_template`
+ ADD `ExclusiveGroup` int(11) unsigned NOT NULL default '0' AFTER `NextQuestId`;
diff --git a/sql/updates/0.6/2468_command.sql b/sql/updates/0.6/2468_command.sql
new file mode 100644
index 00000000000..7c19940adf8
--- /dev/null
+++ b/sql/updates/0.6/2468_command.sql
@@ -0,0 +1,3 @@
+INSERT INTO command VALUES('moveobject','2','Syntax: .moveobject #goguid [#x #y #z]\r\n\r\nMove gameobject #goguid to character coordinates (or to (#x,#y,#z) coordinates if its provide).');
+INSERT INTO command VALUES('turnobject','2','Syntax: .turnobject #goguid \r\n\r\nSet for gameobject #goguid orientation same as current character orientation.');
+
diff --git a/sql/updates/0.6/2469_skinning_loot_template.sql b/sql/updates/0.6/2469_skinning_loot_template.sql
new file mode 100644
index 00000000000..9597c7866dc
--- /dev/null
+++ b/sql/updates/0.6/2469_skinning_loot_template.sql
@@ -0,0 +1,50 @@
+DROP TABLE IF EXISTS `skinning_loot_template`;
+CREATE TABLE `skinning_loot_template` (
+ `entry` int(11) unsigned NOT NULL default '0',
+ `item` int(11) unsigned NOT NULL default '0',
+ `chance` float NOT NULL default '100',
+ `questchance` float NOT NULL default '0',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+
+DROP TABLE IF EXISTS `skinning_loot_template_alternative`;
+CREATE TABLE `skinning_loot_template_alternative` (
+ `item` int(11) unsigned NOT NULL default '0',
+ `item2` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+
+update `creature_template` set `skinloot` =
+case `type`
+ when 2 then 100001 #CREATURE_TYPE_DRAGON
+ when 1 then #CREATURE_TYPE_BEAST
+ case `family`
+ 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,
+ 100008 )))))
+ end
+ else 0
+end;
+
+insert into `skinning_loot_template` values
+ (100001, 8165,100, 0),
+ (100002, 8167,100, 0),
+ (100003, 8170,100, 0),
+ (100004, 4304,100, 0),
+ (100005, 4234,100, 0),
+ (100006, 2319,100, 0),
+ (100007, 2318,100, 0),
+ (100008, 2934,100, 0);
+
+insert into `skinning_loot_template_alternative` values
+ (8170,8171),
+ (4304,8169),
+ (4234,8235),
+ (2319,4232),
+ (2318, 783);
diff --git a/sql/updates/0.6/2479_loot_template.sql b/sql/updates/0.6/2479_loot_template.sql
new file mode 100644
index 00000000000..a02e5f6bda9
--- /dev/null
+++ b/sql/updates/0.6/2479_loot_template.sql
@@ -0,0 +1,15 @@
+ALTER TABLE `creature_loot_template`
+ ADD `maxcount` int(11) unsigned NOT NULL default '1';
+
+ALTER TABLE `fishing_loot_template`
+ ADD `maxcount` int(11) unsigned NOT NULL default '1';
+
+ALTER TABLE `gameobject_loot_template`
+ ADD `maxcount` int(11) unsigned NOT NULL default '1';
+
+ALTER TABLE `pickpocketing_loot_template`
+ ADD `maxcount` int(11) unsigned NOT NULL default '1';
+
+ALTER TABLE `skinning_loot_template`
+ ADD `maxcount` int(11) unsigned NOT NULL default '1';
+
diff --git a/sql/updates/0.6/2494_command.sql b/sql/updates/0.6/2494_command.sql
new file mode 100644
index 00000000000..3476cc8ca10
--- /dev/null
+++ b/sql/updates/0.6/2494_command.sql
@@ -0,0 +1 @@
+INSERT INTO `command` VALUES ('playsound',1,'Syntax: .playsound #soundid\r\n\r\nPlay sound with #soundid.\r\nSound will be play only for you. Other players do not hear this.\r\nWarning: client may have more 5000 sounds...');
diff --git a/sql/updates/0.6/2495_item_loot_template.sql b/sql/updates/0.6/2495_item_loot_template.sql
new file mode 100644
index 00000000000..2c9af1cd7d6
--- /dev/null
+++ b/sql/updates/0.6/2495_item_loot_template.sql
@@ -0,0 +1,8 @@
+CREATE TABLE `item_loot_template` (
+ `entry` int(11) unsigned NOT NULL default '0',
+ `item` int(11) unsigned NOT NULL default '0',
+ `chance` float NOT NULL default '100',
+ `questchance` float NOT NULL default '0',
+ `maxcount` int(11) unsigned NOT NULL default '1',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
diff --git a/sql/updates/0.6/2500_command.sql b/sql/updates/0.6/2500_command.sql
new file mode 100644
index 00000000000..38b3b8af61d
--- /dev/null
+++ b/sql/updates/0.6/2500_command.sql
@@ -0,0 +1 @@
+INSERT INTO `command` VALUES('lookupitem',3,'Syntax: .lookupitem $itemname\r\n\r\nLooks up an item by $itemname, and returns all matches with their Item ID\'s.');
diff --git a/sql/updates/0.6/2513_guild_rank.sql b/sql/updates/0.6/2513_guild_rank.sql
new file mode 100644
index 00000000000..39c0ce7486d
--- /dev/null
+++ b/sql/updates/0.6/2513_guild_rank.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `guild_rank`
+ ADD `rid` int(11) unsigned NOT NULL AFTER `guildid`,
+ ADD PRIMARY KEY (`guildid`,`rid`); \ No newline at end of file
diff --git a/sql/updates/0.6/2516_auctionhouse.sql b/sql/updates/0.6/2516_auctionhouse.sql
new file mode 100644
index 00000000000..fe9e30a912a
--- /dev/null
+++ b/sql/updates/0.6/2516_auctionhouse.sql
@@ -0,0 +1,5 @@
+DELETE FROM `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
new file mode 100644
index 00000000000..249842569d5
--- /dev/null
+++ b/sql/updates/0.6/2517_guild_charters.sql
@@ -0,0 +1,16 @@
+DROP TABLE IF EXISTS `guild_charter`;
+CREATE TABLE `guild_charter` (
+ `ownerguid` int(10) unsigned NOT NULL,
+ `charterguid` int(10) unsigned default '0',
+ `guildname` varchar(255) NOT NULL default '',
+ PRIMARY KEY (`ownerguid`),
+ UNIQUE KEY `index_ownerguid_charterguid` (`ownerguid`,`charterguid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
+
+DROP TABLE IF EXISTS `guild_charter_sign`;
+CREATE TABLE `guild_charter_sign` (
+ `ownerguid` int(10) unsigned NOT NULL,
+ `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
new file mode 100644
index 00000000000..04b84e3ebe4
--- /dev/null
+++ b/sql/updates/0.6/2518_guild.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `guild`
+ ADD `info` TEXT NOT NULL AFTER `BackgroundColor` ;
diff --git a/sql/updates/0.6/2530_loot_template.sql b/sql/updates/0.6/2530_loot_template.sql
new file mode 100644
index 00000000000..5e21bcc2919
--- /dev/null
+++ b/sql/updates/0.6/2530_loot_template.sql
@@ -0,0 +1,6 @@
+ALTER TABLE creature_loot_template ADD COLUMN quest_freeforall int(1) unsigned NOT NULL default '1' AFTER `maxcount`;
+ALTER TABLE gameobject_loot_template ADD COLUMN quest_freeforall int(1) unsigned NOT NULL default '1' AFTER `maxcount`;
+ALTER TABLE fishing_loot_template ADD COLUMN quest_freeforall int(1) unsigned NOT NULL default '1' AFTER `maxcount`;
+ALTER TABLE item_loot_template ADD COLUMN quest_freeforall int(1) unsigned NOT NULL default '1' AFTER `maxcount`;
+ALTER TABLE pickpocketing_loot_template ADD COLUMN quest_freeforall int(1) unsigned NOT NULL default '1' AFTER `maxcount`;
+ALTER TABLE skinning_loot_template ADD COLUMN quest_freeforall int(1) unsigned NOT NULL default '1' AFTER `maxcount`; \ No newline at end of file
diff --git a/sql/updates/0.6/2549_character.sql b/sql/updates/0.6/2549_character.sql
new file mode 100644
index 00000000000..f9acf66e61a
--- /dev/null
+++ b/sql/updates/0.6/2549_character.sql
@@ -0,0 +1 @@
+UPDATE `character` SET `name` = CONCAT(UCASE(SUBSTRING(`name`,1,1)),LCASE(SUBSTRING(`name`,2)));
diff --git a/sql/updates/0.6/2571_quest_template.sql b/sql/updates/0.6/2571_quest_template.sql
new file mode 100644
index 00000000000..afcbec1a017
--- /dev/null
+++ b/sql/updates/0.6/2571_quest_template.sql
@@ -0,0 +1,3 @@
+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/2572_creature_template.sql b/sql/updates/0.6/2572_creature_template.sql
new file mode 100644
index 00000000000..dee36d658ad
--- /dev/null
+++ b/sql/updates/0.6/2572_creature_template.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `creature_template`
+ CHANGE `modelid` `modelid_m` int(11) unsigned default '0',
+ ADD `modelid_f` int(11) unsigned default '0' AFTER `modelid_m`;
diff --git a/sql/updates/0.6/2578_character.sql b/sql/updates/0.6/2578_character.sql
new file mode 100644
index 00000000000..d5501c91e3f
--- /dev/null
+++ b/sql/updates/0.6/2578_character.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `character`
+ ADD `resettalents_cost` int(11) unsigned NOT NULL default '0',
+ ADD `resettalents_time` bigint(20) unsigned NOT NULL default '0';
diff --git a/sql/updates/0.6/2580_character.sql b/sql/updates/0.6/2580_character.sql
new file mode 100644
index 00000000000..23103a40748
--- /dev/null
+++ b/sql/updates/0.6/2580_character.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `character`
+ ADD `instanceid` int(11) unsigned NOT NULL default '0' AFTER `map`;
diff --git a/sql/updates/0.6/2580_insatne.sql b/sql/updates/0.6/2580_insatne.sql
new file mode 100644
index 00000000000..966f04a2a23
--- /dev/null
+++ b/sql/updates/0.6/2580_insatne.sql
@@ -0,0 +1,10 @@
+DROP TABLE IF EXISTS `instance`;
+CREATE TABLE `instance` (
+ `id` int(11) unsigned NOT NULL default '0' COMMENT 'instance id',
+ `mapid` int(11) unsigned NOT NULL default '0' COMMENT 'real mapid',
+ `state` int(11) NOT NULL default '0' COMMENT 'this instance state',
+ `players` int(11) NOT NULL COMMENT 'map creater guid who in this instance',
+ `lefttime` int(11) NOT NULL default '0' COMMENT 'this instance left time',
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
diff --git a/sql/updates/0.6/2584_character.sql b/sql/updates/0.6/2584_character.sql
new file mode 100644
index 00000000000..7b534c44ede
--- /dev/null
+++ b/sql/updates/0.6/2584_character.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `character`
+ DROP `instanceid`;
diff --git a/sql/updates/0.6/2584_instance.sql b/sql/updates/0.6/2584_instance.sql
new file mode 100644
index 00000000000..1625876dd01
--- /dev/null
+++ b/sql/updates/0.6/2584_instance.sql
@@ -0,0 +1 @@
+DROP TABLE IF EXISTS `instance`; \ No newline at end of file
diff --git a/sql/updates/0.6/2597_playercreateinfo_action.sql b/sql/updates/0.6/2597_playercreateinfo_action.sql
new file mode 100644
index 00000000000..7af5626fd79
--- /dev/null
+++ b/sql/updates/0.6/2597_playercreateinfo_action.sql
@@ -0,0 +1,13 @@
+ALTER TABLE `playercreateinfo_action`
+ ADD `race` tinyint(3) unsigned NOT NULL default '0' FIRST,
+ ADD `class` tinyint(3) unsigned NOT NULL default '0' AFTER `race`;
+
+UPDATE `playercreateinfo_action`,`playercreateinfo`
+ SET `playercreateinfo_action`.`race` = `playercreateinfo`.`race`,
+ `playercreateinfo_action`.`class` = `playercreateinfo`.`class`
+ WHERE `playercreateinfo_action`.`createid` = `playercreateinfo`.`createid`;
+
+ALTER TABLE `playercreateinfo_action`
+ DROP KEY `playercreateinfo_actions_index`,
+ DROP `createid`,
+ ADD KEY `playercreateinfo_race_class_index` (`race`,`class`);
diff --git a/sql/updates/0.6/2597_playercreateinfo_item.sql b/sql/updates/0.6/2597_playercreateinfo_item.sql
new file mode 100644
index 00000000000..9530deb8594
--- /dev/null
+++ b/sql/updates/0.6/2597_playercreateinfo_item.sql
@@ -0,0 +1,16 @@
+ALTER TABLE `playercreateinfo_item`
+ ADD `race` tinyint(3) unsigned NOT NULL default '0' FIRST,
+ ADD `class` tinyint(3) unsigned NOT NULL default '0' AFTER `race`;
+
+UPDATE `playercreateinfo_item`,`playercreateinfo`
+ SET `playercreateinfo_item`.`race` = `playercreateinfo`.`race`,
+ `playercreateinfo_item`.`class` = `playercreateinfo`.`class`
+ WHERE `playercreateinfo_item`.`createid` = `playercreateinfo`.`createid`;
+
+ALTER TABLE `playercreateinfo_item`
+ DROP KEY `playercreateinfo_items_index`,
+ DROP `createid`,
+ 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
new file mode 100644
index 00000000000..0368bb593cd
--- /dev/null
+++ b/sql/updates/0.6/2597_playercreateinfo_reputation.sql
@@ -0,0 +1,14 @@
+ALTER TABLE `playercreateinfo_reputation`
+ ADD `race` tinyint(3) unsigned NOT NULL default '0' FIRST,
+ ADD `class` tinyint(3) unsigned NOT NULL default '0' AFTER `race`;
+
+UPDATE `playercreateinfo_reputation`,`playercreateinfo`
+ SET `playercreateinfo_reputation`.`race` = `playercreateinfo`.`race`,
+ `playercreateinfo_reputation`.`class` = `playercreateinfo`.`class`
+ WHERE `playercreateinfo_reputation`.`createid` = `playercreateinfo`.`createid`;
+
+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
new file mode 100644
index 00000000000..7d68bc9eb3a
--- /dev/null
+++ b/sql/updates/0.6/2597_playercreateinfo_skill.sql
@@ -0,0 +1,14 @@
+ALTER TABLE `playercreateinfo_skill`
+ ADD `race` tinyint(3) unsigned NOT NULL default '0' FIRST,
+ ADD `class` tinyint(3) unsigned NOT NULL default '0' AFTER `race`;
+
+UPDATE `playercreateinfo_skill`,`playercreateinfo`
+ SET `playercreateinfo_skill`.`race` = `playercreateinfo`.`race`,
+ `playercreateinfo_skill`.`class` = `playercreateinfo`.`class`
+ WHERE `playercreateinfo_skill`.`createid` = `playercreateinfo`.`createid`;
+
+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
new file mode 100644
index 00000000000..44e20d49f74
--- /dev/null
+++ b/sql/updates/0.6/2597_playercreateinfo_spell.sql
@@ -0,0 +1,14 @@
+ALTER TABLE `playercreateinfo_spell`
+ ADD `race` tinyint(3) unsigned NOT NULL default '0' FIRST,
+ ADD `class` tinyint(3) unsigned NOT NULL default '0' AFTER `race`;
+
+UPDATE `playercreateinfo_spell`,`playercreateinfo`
+ SET `playercreateinfo_spell`.`race` = `playercreateinfo`.`race`,
+ `playercreateinfo_spell`.`class` = `playercreateinfo`.`class`
+ WHERE `playercreateinfo_spell`.`createid` = `playercreateinfo`.`createid`;
+
+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
new file mode 100644
index 00000000000..fd4d81d03ff
--- /dev/null
+++ b/sql/updates/0.6/2598_playercreateinfo.sql
@@ -0,0 +1,6 @@
+ALTER TABLE `playercreateinfo`
+ DROP KEY `playercreateinfo_index`,
+ 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/2605_realmd_account.sql b/sql/updates/0.6/2605_realmd_account.sql
new file mode 100644
index 00000000000..426fc2bb623
--- /dev/null
+++ b/sql/updates/0.6/2605_realmd_account.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `realmd`.`account`
+ ADD `v` longtext AFTER `sessionkey`,
+ ADD `s` longtext AFTER `v`; \ No newline at end of file
diff --git a/sql/updates/0.6/2610_character.sql b/sql/updates/0.6/2610_character.sql
new file mode 100644
index 00000000000..c894767eb28
--- /dev/null
+++ b/sql/updates/0.6/2610_character.sql
@@ -0,0 +1 @@
+UPDATE `character` SET `logout_time` = '0', `rest_bonus` = '0';
diff --git a/sql/updates/0.6/2617_character_spell_cooldown.sql b/sql/updates/0.6/2617_character_spell_cooldown.sql
new file mode 100644
index 00000000000..e41333ac911
--- /dev/null
+++ b/sql/updates/0.6/2617_character_spell_cooldown.sql
@@ -0,0 +1,9 @@
+DROP TABLE IF EXISTS `character_spell_cooldown`;
+CREATE TABLE `character_spell_cooldown` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part',
+ `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
+ `time` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+
diff --git a/sql/updates/0.6/2622_character.sql b/sql/updates/0.6/2622_character.sql
new file mode 100644
index 00000000000..a4660480722
--- /dev/null
+++ b/sql/updates/0.6/2622_character.sql
@@ -0,0 +1,5 @@
+ALTER TABLE `character` ADD COLUMN `trans_x` float NOT NULL default '0';
+ALTER TABLE `character` ADD COLUMN `trans_y` float NOT NULL default '0';
+ALTER TABLE `character` ADD COLUMN `trans_z` float NOT NULL default '0';
+ALTER TABLE `character` ADD COLUMN `trans_o` float NOT NULL default '0';
+ALTER TABLE `character` ADD COLUMN `transguid` bigint(20) unsigned NOT NULL default '0';
diff --git a/sql/updates/0.6/2622_gameobject.sql b/sql/updates/0.6/2622_gameobject.sql
new file mode 100644
index 00000000000..38822afd629
--- /dev/null
+++ b/sql/updates/0.6/2622_gameobject.sql
@@ -0,0 +1 @@
+ALTER TABLE gameobject ADD COLUMN `animprogress` int(11) unsigned NOT NULL default '0';
diff --git a/sql/updates/0.6/2622_transports.sql b/sql/updates/0.6/2622_transports.sql
new file mode 100644
index 00000000000..471c7e2d9b5
--- /dev/null
+++ b/sql/updates/0.6/2622_transports.sql
@@ -0,0 +1,8 @@
+DROP TABLE IF EXISTS `transports`;
+CREATE TABLE `transports` (
+ `entry` int(11) unsigned NOT NULL default '0',
+ `name` text,
+ `period` int(11) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Transports';
+
diff --git a/sql/updates/0.6/2630_command.sql b/sql/updates/0.6/2630_command.sql
new file mode 100644
index 00000000000..c87fb272010
--- /dev/null
+++ b/sql/updates/0.6/2630_command.sql
@@ -0,0 +1 @@
+UPDATE `command` SET `help` = 'Syntax: .revive [$playername]\r\n\r\n Revive specified or selected player. If no player is selected, it will revive you.' WHERE `name` = 'revive';
diff --git a/sql/updates/0.6/2633_character_spell_cooldown.sql b/sql/updates/0.6/2633_character_spell_cooldown.sql
new file mode 100644
index 00000000000..45a4e963208
--- /dev/null
+++ b/sql/updates/0.6/2633_character_spell_cooldown.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `character_spell_cooldown`
+ CHANGE `time` `time` bigint(20) unsigned NOT NULL default '0';
diff --git a/sql/updates/0.6/2637_auctionhouse.sql b/sql/updates/0.6/2637_auctionhouse.sql
new file mode 100644
index 00000000000..01b5c09ea73
--- /dev/null
+++ b/sql/updates/0.6/2637_auctionhouse.sql
@@ -0,0 +1,6 @@
+ALTER TABLE `auctionhouse`
+ ADD `item_template` int(11) unsigned NOT NULL default '0' AFTER `itemguid`;
+
+UPDATE `auctionhouse`,`item_instance`
+ SET `item_template` = SUBSTRING_INDEX(SUBSTRING_INDEX(`data`,' ',4),' ',-1)
+ WHERE `auctionhouse`.`itemguid` = `item_instance`.`guid`;
diff --git a/sql/updates/0.6/2637_mail.sql b/sql/updates/0.6/2637_mail.sql
new file mode 100644
index 00000000000..3727fc1384d
--- /dev/null
+++ b/sql/updates/0.6/2637_mail.sql
@@ -0,0 +1,7 @@
+ALTER TABLE `mail`
+ ADD `item_template` int(11) unsigned NOT NULL default '0' AFTER `item`;
+
+UPDATE `mail`,`item_instance`
+ SET `item_template` = SUBSTRING_INDEX(SUBSTRING_INDEX(`data`,' ',4),' ',-1)
+ WHERE `mail`.`item` = `item_instance`.`guid`;
+
diff --git a/sql/updates/0.6/2641_command.sql b/sql/updates/0.6/2641_command.sql
new file mode 100644
index 00000000000..09cc11e2cd6
--- /dev/null
+++ b/sql/updates/0.6/2641_command.sql
@@ -0,0 +1,2 @@
+INSERT INTO `command` VALUES('lookupmob',3,'Syntax: .lookupmob $namepart\r\n\r\nLooks up a creature by $namepart, and returns all matches with their creature ID\'s.');
+INSERT INTO `command` VALUES('lookupskill',3,'Syntax: .lookupskill $$namepart\r\n\r\nLooks up a skill by $namepart, and returns all matches with their skill ID\'s.');
diff --git a/sql/updates/0.6/2642_loot_template.sql b/sql/updates/0.6/2642_loot_template.sql
new file mode 100644
index 00000000000..74dfb12a97f
--- /dev/null
+++ b/sql/updates/0.6/2642_loot_template.sql
@@ -0,0 +1,34 @@
+ALTER TABLE `creature_loot_template`
+ CHANGE `chance` `ChanceOrRef` float NOT NULL default '100',
+ CHANGE `questchance` `QuestChanceOrGroup` tinyint(3) NOT NULL default '0';
+
+ALTER TABLE `fishing_loot_template`
+ CHANGE `chance` `ChanceOrRef` float NOT NULL default '100',
+ CHANGE `questchance` `QuestChanceOrGroup` tinyint(3) NOT NULL default '0';
+
+ALTER TABLE `gameobject_loot_template`
+ CHANGE `chance` `ChanceOrRef` float NOT NULL default '100',
+ CHANGE `questchance` `QuestChanceOrGroup` tinyint(3) NOT NULL default '0';
+
+ALTER TABLE `item_loot_template`
+ CHANGE `chance` `ChanceOrRef` float NOT NULL default '100',
+ CHANGE `questchance` `QuestChanceOrGroup` tinyint(3) NOT NULL default '0';
+
+ALTER TABLE `pickpocketing_loot_template`
+ CHANGE `chance` `ChanceOrRef` float NOT NULL default '100',
+ CHANGE `questchance` `QuestChanceOrGroup` tinyint(3) NOT NULL default '0';
+
+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`
+ SET `QuestChanceOrGroup` = '-1',`ChanceOrRef` = '80'
+ WHERE `skinning_loot_template`.`item` = `skinning_loot_template_alternative`.`item`;
+
+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`
+ WHERE `skinning_loot_template`.`item` = `skinning_loot_template_alternative`.`item`;
+
+DROP TABLE `skinning_loot_template_alternative`;
diff --git a/sql/updates/0.6/2649_command.sql b/sql/updates/0.6/2649_command.sql
new file mode 100644
index 00000000000..08e2425d039
--- /dev/null
+++ b/sql/updates/0.6/2649_command.sql
@@ -0,0 +1,2 @@
+INSERT INTO `command` VALUES('saveall',1,'Syntax: .saveallr\n\r\nSave all characters in game.');
+
diff --git a/sql/updates/0.6/2660_command.sql b/sql/updates/0.6/2660_command.sql
new file mode 100644
index 00000000000..9a6b1281cf8
--- /dev/null
+++ b/sql/updates/0.6/2660_command.sql
@@ -0,0 +1,5 @@
+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/2663_command.sql b/sql/updates/0.6/2663_command.sql
new file mode 100644
index 00000000000..3458a4ad782
--- /dev/null
+++ b/sql/updates/0.6/2663_command.sql
@@ -0,0 +1,2 @@
+UPDATE command SET help=replace(help,"Usage:","Syntax:") WHERE left(help,6)="Usage:";
+
diff --git a/sql/updates/0.6/2670_command.sql b/sql/updates/0.6/2670_command.sql
new file mode 100644
index 00000000000..a63b725332a
--- /dev/null
+++ b/sql/updates/0.6/2670_command.sql
@@ -0,0 +1,8 @@
+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';
+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
new file mode 100644
index 00000000000..402dc8cb593
--- /dev/null
+++ b/sql/updates/0.6/2674_quest_template.sql
@@ -0,0 +1,11 @@
+alter table quest_template
+add column
+ `OfferRewardEmote` int(11) unsigned NOT NULL default '0';
+
+alter table quest_template
+add column
+ `RequestItemsEmote` int(11) unsigned NOT NULL default '1';
+
+alter table quest_template
+add column
+ `CompleteScript` int(11) unsigned NOT NULL default '0';
diff --git a/sql/updates/0.6/2674_scripts.sql b/sql/updates/0.6/2674_scripts.sql
new file mode 100644
index 00000000000..d5fa11d293e
--- /dev/null
+++ b/sql/updates/0.6/2674_scripts.sql
@@ -0,0 +1,13 @@
+DROP TABLE IF EXISTS `scripts`;
+CREATE TABLE `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 default "",
+ `x` float NOT NULL default '0',
+ `y` float NOT NULL default '0',
+ `z` float NOT NULL default '0',
+ `o` float NOT NULL default '0'
+);
diff --git a/sql/updates/0.6/2680_game_addons.sql b/sql/updates/0.6/2680_game_addons.sql
new file mode 100644
index 00000000000..6a54527644a
--- /dev/null
+++ b/sql/updates/0.6/2680_game_addons.sql
@@ -0,0 +1 @@
+DROP TABLE IF EXISTS `game_addons`;
diff --git a/sql/updates/0.6/2684_gameobject.sql b/sql/updates/0.6/2684_gameobject.sql
new file mode 100644
index 00000000000..e5ce705d550
--- /dev/null
+++ b/sql/updates/0.6/2684_gameobject.sql
@@ -0,0 +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/2684_quest_template.sql b/sql/updates/0.6/2684_quest_template.sql
new file mode 100644
index 00000000000..bf2c1852276
--- /dev/null
+++ b/sql/updates/0.6/2684_quest_template.sql
@@ -0,0 +1,13 @@
+alter table quest_template
+ add column
+ `HaveQuestId` int(11) unsigned NOT NULL default '0';
+
+alter table quest_template
+ change column `IncompleteText` `RequestItemsText` text;
+
+alter table quest_template
+ change column `CompletionText` `OfferRewardText` text;
+
+alter table quest_template
+ add column
+ `Repeatable` int(11) unsigned NOT NULL default '0';
diff --git a/sql/updates/0.6/2688_command.sql b/sql/updates/0.6/2688_command.sql
new file mode 100644
index 00000000000..3f61c87955b
--- /dev/null
+++ b/sql/updates/0.6/2688_command.sql
@@ -0,0 +1,2 @@
+UPDATE `command` SET `help` = 'Syntax: .levelup #numberoflevels\r\n\r\nIncrease/decrease the level of the selected character by #numberoflevels. If #numberoflevels is omitted, the level will be increase by 1. If #numberoflevels is 0, the same level will be restarted. If no character is selected, increase your level. All stats and dependent values recalculated. At level decrease talents can be reset if need. Also at level decrease equipped items with greater level requirement can be lost.' WHERE `name` = 'levelup';
+UPDATE `command` SET `help` = 'Syntax:\r\n.reset level\r\n Reset level to 1 including reset stats and talents. Equipped items with greater level requirement can be lost.\r\n.reset spells\r\n Removes all non-original spells from spellbook.\r\n.reset stats\r\n Resets(recalculate) all stats of the targeted player to their original values at current level.\r\n.reset talents\r\n Removes all talents of the targeted player.' WHERE `name` = 'reset';
diff --git a/sql/updates/0.6/2688_player_levelstats.sql b/sql/updates/0.6/2688_player_levelstats.sql
new file mode 100644
index 00000000000..0e5049686be
--- /dev/null
+++ b/sql/updates/0.6/2688_player_levelstats.sql
@@ -0,0 +1,2422 @@
+-- ----------------------------
+-- Table structure for player_levelstats
+-- ----------------------------
+DROP TABLE IF EXISTS `player_levelstats`;
+CREATE TABLE `player_levelstats` (
+ `race` tinyint(3) unsigned NOT NULL,
+ `class` tinyint(3) unsigned NOT NULL,
+ `level` tinyint(3) unsigned NOT NULL,
+ `hp` smallint(5) unsigned NOT NULL,
+ `mana` smallint(5) unsigned NOT NULL,
+ `str` tinyint(3) unsigned NOT NULL,
+ `agi` tinyint(3) unsigned NOT NULL,
+ `sta` tinyint(3) unsigned NOT NULL,
+ `int` tinyint(3) unsigned NOT NULL,
+ `spi` tinyint(3) unsigned NOT NULL,
+ PRIMARY KEY (`race`,`class`,`level`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores levels stats.';
+
+-- ----------------------------
+-- Records
+-- ----------------------------
+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'),
+('1', '1', '4', '117', '0', '26', '22', '25', '20', '22'),
+('1', '1', '5', '136', '0', '28', '23', '26', '20', '22'),
+('1', '1', '6', '155', '0', '29', '24', '27', '21', '22'),
+('1', '1', '7', '174', '0', '30', '24', '28', '21', '23'),
+('1', '1', '8', '193', '0', '31', '25', '29', '21', '23'),
+('1', '1', '9', '212', '0', '32', '26', '30', '21', '23'),
+('1', '1', '10', '231', '0', '33', '26', '31', '21', '24'),
+('1', '1', '11', '250', '0', '35', '27', '33', '21', '24'),
+('1', '1', '12', '269', '0', '36', '28', '34', '21', '24'),
+('1', '1', '13', '288', '0', '37', '29', '35', '21', '25'),
+('1', '1', '14', '308', '0', '39', '30', '36', '22', '25'),
+('1', '1', '15', '329', '0', '40', '30', '37', '22', '25'),
+('1', '1', '16', '351', '0', '41', '31', '38', '22', '26'),
+('1', '1', '17', '374', '0', '42', '32', '40', '22', '26'),
+('1', '1', '18', '398', '0', '44', '33', '41', '22', '26'),
+('1', '1', '19', '398', '0', '44', '33', '41', '22', '26'),
+('1', '1', '20', '449', '0', '47', '35', '43', '22', '27'),
+('1', '1', '21', '476', '0', '48', '35', '45', '23', '27'),
+('1', '1', '22', '504', '0', '49', '36', '46', '23', '28'),
+('1', '1', '23', '533', '0', '51', '37', '47', '23', '28'),
+('1', '1', '24', '563', '0', '52', '38', '49', '23', '29'),
+('1', '1', '25', '594', '0', '54', '39', '50', '23', '29'),
+('1', '1', '26', '626', '0', '55', '40', '51', '23', '29'),
+('1', '1', '27', '659', '0', '57', '41', '53', '23', '30'),
+('1', '1', '28', '693', '0', '58', '42', '54', '24', '30'),
+('1', '1', '29', '728', '0', '60', '43', '56', '24', '31'),
+('1', '1', '30', '764', '0', '62', '44', '57', '24', '31'),
+('1', '1', '31', '801', '0', '63', '45', '58', '24', '31'),
+('1', '1', '32', '839', '0', '65', '46', '60', '24', '32'),
+('1', '1', '33', '878', '0', '66', '47', '61', '24', '32'),
+('1', '1', '34', '918', '0', '68', '48', '63', '25', '33'),
+('1', '1', '35', '959', '0', '70', '49', '64', '25', '33'),
+('1', '1', '36', '1001', '0', '72', '50', '66', '25', '34'),
+('1', '1', '37', '1045', '0', '73', '51', '68', '25', '34'),
+('1', '1', '38', '1091', '0', '75', '52', '69', '25', '34'),
+('1', '1', '39', '1139', '0', '77', '53', '71', '26', '35'),
+('1', '1', '40', '1189', '0', '79', '54', '72', '26', '35'),
+('1', '1', '41', '1241', '0', '80', '56', '74', '26', '36'),
+('1', '1', '42', '1295', '0', '82', '57', '76', '26', '36'),
+('1', '1', '43', '1351', '0', '84', '58', '77', '26', '37'),
+('1', '1', '44', '1409', '0', '86', '59', '79', '26', '37'),
+('1', '1', '45', '1469', '0', '88', '60', '81', '27', '38'),
+('1', '1', '46', '1531', '0', '90', '61', '83', '27', '38'),
+('1', '1', '47', '1595', '0', '92', '63', '84', '27', '39'),
+('1', '1', '48', '1661', '0', '94', '64', '86', '27', '39'),
+('1', '1', '49', '1729', '0', '96', '65', '88', '28', '40'),
+('1', '1', '50', '1799', '0', '98', '66', '90', '28', '40'),
+('1', '1', '51', '1871', '0', '100', '68', '92', '28', '42'),
+('1', '1', '52', '1945', '0', '102', '69', '94', '28', '42'),
+('1', '1', '53', '2021', '0', '104', '70', '96', '28', '43'),
+('1', '1', '54', '2099', '0', '106', '72', '98', '29', '44'),
+('1', '1', '55', '2179', '0', '109', '73', '100', '29', '44'),
+('1', '1', '56', '2261', '0', '111', '74', '102', '29', '45'),
+('1', '1', '57', '2345', '0', '113', '76', '104', '29', '45'),
+('1', '1', '58', '2431', '0', '115', '77', '106', '30', '46'),
+('1', '1', '59', '2519', '0', '118', '79', '108', '30', '46'),
+('1', '1', '60', '2609', '0', '120', '80', '110', '30', '47'),
+('1', '2', '1', '58', '80', '22', '20', '22', '22', '20'),
+('1', '2', '2', '76', '99', '23', '21', '23', '21', '23'),
+('1', '2', '3', '94', '119', '24', '21', '24', '21', '23'),
+('1', '2', '4', '112', '140', '25', '22', '25', '22', '24'),
+('1', '2', '5', '130', '162', '26', '22', '26', '22', '25'),
+('1', '2', '6', '148', '185', '27', '23', '27', '23', '25'),
+('1', '2', '7', '166', '209', '28', '23', '28', '24', '26'),
+('1', '2', '8', '184', '234', '29', '24', '28', '24', '26'),
+('1', '2', '9', '202', '260', '30', '24', '29', '25', '27'),
+('1', '2', '10', '220', '287', '31', '25', '30', '25', '28'),
+('1', '2', '11', '238', '315', '32', '25', '31', '26', '29'),
+('1', '2', '12', '256', '344', '33', '26', '32', '27', '29'),
+('1', '2', '13', '274', '374', '34', '27', '33', '27', '30'),
+('1', '2', '14', '292', '405', '35', '27', '34', '28', '31'),
+('1', '2', '15', '311', '437', '36', '28', '36', '29', '31'),
+('1', '2', '16', '331', '470', '38', '28', '37', '29', '32'),
+('1', '2', '17', '352', '504', '39', '29', '38', '30', '33'),
+('1', '2', '18', '374', '539', '40', '30', '39', '31', '34'),
+('1', '2', '19', '397', '575', '41', '30', '40', '31', '34'),
+('1', '2', '20', '421', '612', '42', '31', '41', '32', '35'),
+('1', '2', '21', '446', '650', '43', '32', '42', '33', '36'),
+('1', '2', '22', '472', '689', '45', '32', '43', '34', '37'),
+('1', '2', '23', '499', '729', '46', '33', '44', '34', '38'),
+('1', '2', '24', '527', '770', '47', '34', '46', '35', '38'),
+('1', '2', '25', '556', '812', '48', '34', '47', '36', '39'),
+('1', '2', '26', '586', '854', '50', '35', '48', '37', '40'),
+('1', '2', '27', '617', '896', '51', '36', '49', '37', '42'),
+('1', '2', '28', '649', '938', '52', '36', '50', '38', '43'),
+('1', '2', '29', '682', '980', '54', '37', '52', '39', '44'),
+('1', '2', '30', '716', '1022', '55', '38', '53', '40', '44'),
+('1', '2', '31', '751', '1064', '56', '39', '54', '41', '45'),
+('1', '2', '32', '787', '1106', '58', '39', '56', '42', '46'),
+('1', '2', '33', '824', '1148', '59', '40', '57', '42', '47'),
+('1', '2', '34', '862', '1190', '61', '41', '58', '43', '48'),
+('1', '2', '35', '901', '1232', '62', '42', '60', '44', '49'),
+('1', '2', '36', '941', '1274', '64', '43', '61', '45', '50'),
+('1', '2', '37', '982', '1316', '65', '43', '62', '46', '51'),
+('1', '2', '38', '1024', '1358', '67', '44', '64', '47', '52'),
+('1', '2', '39', '1067', '1400', '68', '45', '65', '48', '53'),
+('1', '2', '40', '1111', '1442', '70', '46', '67', '49', '54'),
+('1', '2', '41', '1156', '1484', '71', '47', '68', '50', '55'),
+('1', '2', '42', '1202', '1526', '73', '47', '70', '51', '56'),
+('1', '2', '43', '1249', '1568', '74', '48', '71', '52', '57'),
+('1', '2', '44', '1297', '1610', '76', '49', '73', '52', '58'),
+('1', '2', '45', '1346', '1652', '78', '50', '74', '53', '59'),
+('1', '2', '46', '1396', '1694', '79', '51', '76', '54', '60'),
+('1', '2', '47', '1447', '1736', '81', '52', '77', '56', '61'),
+('1', '2', '48', '1499', '1778', '83', '53', '79', '57', '63'),
+('1', '2', '49', '1552', '1820', '84', '54', '81', '58', '65'),
+('1', '2', '50', '1606', '1862', '86', '55', '82', '59', '66'),
+('1', '2', '51', '1661', '1904', '88', '56', '84', '60', '67'),
+('1', '2', '52', '1717', '1946', '90', '57', '86', '61', '68'),
+('1', '2', '53', '1774', '1988', '92', '58', '87', '62', '69'),
+('1', '2', '54', '1832', '2030', '93', '59', '89', '63', '70'),
+('1', '2', '55', '1891', '2072', '95', '60', '91', '64', '72'),
+('1', '2', '56', '1951', '2114', '97', '61', '93', '65', '73'),
+('1', '2', '57', '2012', '2156', '99', '62', '94', '66', '74'),
+('1', '2', '58', '2074', '2198', '101', '63', '96', '68', '75'),
+('1', '2', '59', '2137', '2240', '103', '64', '98', '69', '77'),
+('1', '2', '60', '2201', '2282', '105', '65', '100', '70', '78'),
+('1', '4', '1', '55', '0', '21', '23', '21', '21', '20'),
+('1', '4', '2', '72', '0', '22', '24', '22', '20', '21'),
+('1', '4', '3', '89', '0', '22', '25', '22', '20', '22'),
+('1', '4', '4', '106', '0', '23', '27', '23', '21', '22'),
+('1', '4', '5', '123', '0', '24', '28', '24', '21', '22'),
+('1', '4', '6', '140', '0', '24', '29', '24', '21', '23'),
+('1', '4', '7', '157', '0', '25', '31', '25', '21', '23'),
+('1', '4', '8', '174', '0', '26', '32', '25', '21', '23'),
+('1', '4', '9', '191', '0', '27', '33', '26', '21', '24'),
+('1', '4', '10', '208', '0', '27', '35', '27', '22', '24'),
+('1', '4', '11', '225', '0', '28', '36', '28', '22', '25'),
+('1', '4', '12', '242', '0', '29', '37', '28', '22', '25'),
+('1', '4', '13', '259', '0', '30', '39', '29', '22', '25'),
+('1', '4', '14', '276', '0', '30', '40', '30', '22', '26'),
+('1', '4', '15', '293', '0', '31', '42', '30', '23', '26'),
+('1', '4', '16', '311', '0', '32', '43', '31', '23', '27'),
+('1', '4', '17', '330', '0', '33', '44', '32', '23', '27'),
+('1', '4', '18', '350', '0', '34', '46', '33', '23', '27'),
+('1', '4', '19', '371', '0', '35', '48', '33', '23', '28'),
+('1', '4', '20', '393', '0', '35', '49', '34', '24', '28'),
+('1', '4', '21', '416', '0', '36', '51', '35', '24', '29'),
+('1', '4', '22', '440', '0', '37', '52', '36', '24', '29'),
+('1', '4', '23', '465', '0', '38', '54', '37', '24', '30'),
+('1', '4', '24', '491', '0', '39', '55', '37', '25', '30'),
+('1', '4', '25', '518', '0', '40', '57', '38', '25', '31'),
+('1', '4', '26', '546', '0', '41', '59', '39', '25', '31'),
+('1', '4', '27', '575', '0', '42', '60', '40', '25', '31'),
+('1', '4', '28', '605', '0', '43', '62', '41', '25', '32'),
+('1', '4', '29', '636', '0', '43', '64', '42', '26', '32'),
+('1', '4', '30', '668', '0', '44', '66', '42', '26', '33'),
+('1', '4', '31', '701', '0', '45', '67', '43', '26', '33'),
+('1', '4', '32', '735', '0', '46', '69', '44', '26', '34'),
+('1', '4', '33', '770', '0', '47', '71', '45', '27', '34'),
+('1', '4', '34', '806', '0', '48', '73', '46', '27', '35'),
+('1', '4', '35', '843', '0', '49', '75', '47', '27', '35'),
+('1', '4', '36', '881', '0', '51', '77', '48', '28', '36'),
+('1', '4', '37', '920', '0', '52', '78', '49', '28', '37'),
+('1', '4', '38', '960', '0', '53', '80', '50', '28', '37'),
+('1', '4', '39', '1001', '0', '54', '82', '51', '28', '38'),
+('1', '4', '40', '1043', '0', '55', '84', '52', '29', '38'),
+('1', '4', '41', '1086', '0', '56', '86', '53', '29', '39'),
+('1', '4', '42', '1130', '0', '57', '88', '54', '29', '39'),
+('1', '4', '43', '1175', '0', '58', '90', '55', '29', '40'),
+('1', '4', '44', '1221', '0', '59', '93', '56', '30', '40'),
+('1', '4', '45', '1268', '0', '61', '95', '57', '30', '42'),
+('1', '4', '46', '1316', '0', '62', '97', '58', '30', '43'),
+('1', '4', '47', '1365', '0', '63', '99', '59', '31', '43'),
+('1', '4', '48', '1415', '0', '64', '101', '60', '31', '44'),
+('1', '4', '49', '1466', '0', '65', '103', '62', '31', '45'),
+('1', '4', '50', '1518', '0', '67', '106', '63', '32', '45'),
+('1', '4', '51', '1571', '0', '68', '108', '64', '32', '46'),
+('1', '4', '52', '1625', '0', '69', '110', '65', '32', '46'),
+('1', '4', '53', '1680', '0', '70', '113', '66', '33', '47'),
+('1', '4', '54', '1736', '0', '72', '115', '67', '33', '48'),
+('1', '4', '55', '1793', '0', '73', '117', '69', '33', '48'),
+('1', '4', '56', '1851', '0', '74', '120', '70', '34', '49'),
+('1', '4', '57', '1910', '0', '76', '122', '71', '34', '50'),
+('1', '4', '58', '1970', '0', '77', '125', '72', '34', '51'),
+('1', '4', '59', '2031', '0', '79', '127', '74', '35', '51'),
+('1', '4', '60', '2093', '0', '80', '130', '75', '35', '52'),
+('1', '5', '1', '52', '160', '20', '20', '20', '24', '22'),
+('1', '5', '2', '67', '184', '20', '20', '20', '23', '25'),
+('1', '5', '3', '82', '209', '20', '20', '21', '24', '26'),
+('1', '5', '4', '97', '235', '21', '21', '21', '25', '28'),
+('1', '5', '5', '112', '262', '21', '21', '21', '27', '29'),
+('1', '5', '6', '127', '290', '21', '21', '22', '28', '30'),
+('1', '5', '7', '142', '319', '21', '21', '22', '29', '31'),
+('1', '5', '8', '157', '349', '21', '22', '22', '30', '32'),
+('1', '5', '9', '172', '380', '21', '22', '23', '31', '34'),
+('1', '5', '10', '187', '427', '22', '22', '23', '33', '35'),
+('1', '5', '11', '202', '445', '22', '22', '24', '34', '36'),
+('1', '5', '12', '217', '479', '22', '23', '24', '35', '38'),
+('1', '5', '13', '232', '514', '22', '23', '24', '36', '39'),
+('1', '5', '14', '247', '550', '22', '23', '25', '38', '40'),
+('1', '5', '15', '262', '587', '23', '23', '25', '39', '43'),
+('1', '5', '16', '277', '625', '23', '24', '26', '40', '44'),
+('1', '5', '17', '292', '679', '23', '24', '26', '42', '45'),
+('1', '5', '18', '307', '704', '23', '24', '26', '43', '47'),
+('1', '5', '19', '322', '745', '23', '25', '27', '44', '48'),
+('1', '5', '20', '337', '787', '24', '25', '27', '46', '50'),
+('1', '5', '21', '352', '830', '24', '25', '28', '47', '51'),
+('1', '5', '22', '368', '889', '24', '25', '28', '49', '53'),
+('1', '5', '23', '385', '919', '24', '26', '29', '50', '54'),
+('1', '5', '24', '403', '980', '25', '26', '29', '52', '56'),
+('1', '5', '25', '422', '1012', '25', '26', '30', '53', '57'),
+('1', '5', '26', '442', '1075', '25', '27', '30', '55', '59'),
+('1', '5', '27', '463', '1109', '25', '27', '30', '56', '61'),
+('1', '5', '28', '485', '1174', '25', '27', '31', '58', '63'),
+('1', '5', '29', '508', '1210', '26', '28', '31', '59', '65'),
+('1', '5', '30', '532', '1262', '26', '28', '32', '61', '67'),
+('1', '5', '31', '557', '1330', '26', '28', '32', '63', '68'),
+('1', '5', '32', '583', '1369', '26', '29', '33', '64', '70'),
+('1', '5', '33', '610', '1438', '27', '29', '33', '66', '72'),
+('1', '5', '34', '638', '1492', '27', '29', '34', '68', '73'),
+('1', '5', '35', '667', '1531', '27', '30', '34', '69', '75'),
+('1', '5', '36', '697', '1585', '28', '30', '35', '71', '77'),
+('1', '5', '37', '728', '1654', '28', '30', '36', '73', '79'),
+('1', '5', '38', '760', '1708', '28', '31', '36', '75', '81'),
+('1', '5', '39', '793', '1747', '28', '31', '37', '76', '84'),
+('1', '5', '40', '827', '1801', '29', '31', '37', '78', '85'),
+('1', '5', '41', '862', '1870', '29', '32', '38', '80', '87'),
+('1', '5', '42', '898', '1924', '29', '32', '38', '82', '89'),
+('1', '5', '43', '935', '1978', '29', '33', '39', '84', '91'),
+('1', '5', '44', '973', '2032', '30', '33', '39', '86', '93'),
+('1', '5', '45', '1012', '2086', '30', '33', '40', '88', '95'),
+('1', '5', '46', '1052', '2140', '30', '34', '41', '90', '97'),
+('1', '5', '47', '1093', '2194', '31', '34', '41', '92', '99'),
+('1', '5', '48', '1135', '2248', '31', '35', '42', '94', '102'),
+('1', '5', '49', '1178', '2302', '31', '35', '43', '96', '105'),
+('1', '5', '50', '1222', '2356', '32', '35', '43', '98', '107'),
+('1', '5', '51', '1267', '2410', '32', '36', '44', '100', '109'),
+('1', '5', '52', '1313', '2464', '32', '36', '44', '102', '111'),
+('1', '5', '53', '1360', '2518', '33', '37', '45', '104', '113'),
+('1', '5', '54', '1408', '2572', '33', '37', '46', '106', '116'),
+('1', '5', '55', '1457', '2626', '33', '38', '46', '109', '118'),
+('1', '5', '56', '1507', '2680', '34', '38', '47', '111', '120'),
+('1', '5', '57', '1558', '2734', '34', '39', '48', '113', '123'),
+('1', '5', '58', '1610', '2788', '34', '39', '49', '115', '126'),
+('1', '5', '59', '1663', '2842', '35', '40', '49', '118', '129'),
+('1', '5', '60', '1717', '2896', '35', '40', '50', '120', '131'),
+('1', '8', '1', '52', '165', '20', '20', '20', '23', '23'),
+('1', '8', '2', '67', '190', '20', '20', '20', '24', '24'),
+('1', '8', '3', '82', '216', '20', '20', '21', '25', '25'),
+('1', '8', '4', '97', '243', '20', '21', '21', '27', '26'),
+('1', '8', '5', '112', '271', '20', '21', '21', '28', '28'),
+('1', '8', '6', '127', '300', '21', '21', '21', '29', '29'),
+('1', '8', '7', '142', '330', '21', '21', '22', '30', '30'),
+('1', '8', '8', '157', '346', '21', '21', '22', '31', '31'),
+('1', '8', '9', '172', '393', '21', '21', '22', '33', '32'),
+('1', '8', '10', '187', '426', '21', '22', '23', '34', '34'),
+('1', '8', '11', '202', '460', '21', '22', '23', '35', '35'),
+('1', '8', '12', '217', '495', '21', '22', '23', '37', '36'),
+('1', '8', '13', '232', '531', '21', '22', '24', '38', '37'),
+('1', '8', '14', '247', '568', '22', '22', '24', '39', '39'),
+('1', '8', '15', '262', '606', '22', '23', '24', '41', '40'),
+('1', '8', '16', '277', '645', '22', '23', '25', '42', '42'),
+('1', '8', '17', '292', '670', '22', '23', '25', '43', '44'),
+('1', '8', '18', '307', '726', '22', '23', '25', '45', '45'),
+('1', '8', '19', '322', '753', '22', '23', '26', '46', '46'),
+('1', '8', '20', '337', '811', '22', '24', '26', '48', '48'),
+('1', '8', '21', '352', '840', '23', '24', '26', '49', '49'),
+('1', '8', '22', '367', '900', '23', '24', '27', '51', '51'),
+('1', '8', '23', '382', '931', '23', '24', '27', '52', '52'),
+('1', '8', '24', '398', '993', '23', '25', '28', '54', '54'),
+('1', '8', '25', '415', '1026', '23', '25', '28', '55', '55'),
+('1', '8', '26', '433', '1090', '23', '25', '28', '57', '57'),
+('1', '8', '27', '452', '1140', '23', '25', '29', '59', '58'),
+('1', '8', '28', '472', '1176', '24', '25', '29', '60', '60'),
+('1', '8', '29', '493', '1242', '24', '26', '30', '62', '61'),
+('1', '8', '30', '515', '1293', '24', '26', '30', '64', '64'),
+('1', '8', '31', '538', '1329', '24', '26', '30', '65', '66'),
+('1', '8', '32', '562', '1395', '24', '26', '31', '67', '67'),
+('1', '8', '33', '587', '1446', '24', '27', '31', '69', '69'),
+('1', '8', '34', '613', '1482', '25', '27', '32', '70', '71'),
+('1', '8', '35', '640', '1533', '25', '27', '32', '72', '72'),
+('1', '8', '36', '668', '1584', '25', '28', '33', '74', '74'),
+('1', '8', '37', '697', '1650', '25', '28', '33', '76', '76'),
+('1', '8', '38', '727', '1701', '25', '28', '33', '78', '78'),
+('1', '8', '39', '758', '1752', '26', '28', '34', '80', '79'),
+('1', '8', '40', '790', '1788', '26', '29', '34', '81', '81'),
+('1', '8', '41', '823', '1839', '26', '29', '35', '83', '84'),
+('1', '8', '42', '857', '1890', '26', '29', '35', '85', '86'),
+('1', '8', '43', '892', '1941', '26', '29', '36', '87', '88'),
+('1', '8', '44', '928', '1992', '26', '30', '36', '89', '90'),
+('1', '8', '45', '965', '2043', '27', '30', '37', '91', '92'),
+('1', '8', '46', '1003', '2094', '27', '30', '37', '93', '94'),
+('1', '8', '47', '1042', '2145', '27', '31', '38', '95', '96'),
+('1', '8', '48', '1082', '2211', '27', '31', '38', '98', '98'),
+('1', '8', '49', '1123', '2262', '28', '31', '39', '100', '100'),
+('1', '8', '50', '1165', '2298', '28', '32', '39', '102', '102'),
+('1', '8', '51', '1208', '2349', '28', '32', '40', '104', '105'),
+('1', '8', '52', '1252', '2400', '28', '32', '40', '106', '107'),
+('1', '8', '53', '1297', '2451', '28', '33', '41', '108', '109'),
+('1', '8', '54', '1343', '2502', '29', '33', '42', '111', '111'),
+('1', '8', '55', '1390', '2553', '29', '33', '42', '113', '114'),
+('1', '8', '56', '1438', '2604', '29', '34', '43', '115', '116'),
+('1', '8', '57', '1487', '2655', '29', '34', '43', '118', '118'),
+('1', '8', '58', '1537', '2706', '30', '34', '44', '120', '120'),
+('1', '8', '59', '1588', '2757', '30', '35', '44', '123', '123'),
+('1', '8', '60', '1640', '2808', '30', '35', '45', '125', '126'),
+('1', '9', '1', '53', '140', '20', '20', '21', '23', '22'),
+('1', '9', '2', '68', '163', '20', '20', '22', '23', '24'),
+('1', '9', '3', '83', '187', '21', '21', '22', '24', '25'),
+('1', '9', '4', '98', '212', '21', '21', '23', '25', '26'),
+('1', '9', '5', '113', '238', '21', '21', '23', '26', '27'),
+('1', '9', '6', '128', '265', '21', '22', '24', '27', '28'),
+('1', '9', '7', '143', '293', '22', '22', '24', '28', '30'),
+('1', '9', '8', '158', '322', '22', '22', '25', '29', '31'),
+('1', '9', '9', '173', '352', '22', '23', '25', '30', '32'),
+('1', '9', '10', '188', '383', '23', '23', '26', '31', '33'),
+('1', '9', '11', '203', '415', '23', '24', '26', '33', '34'),
+('1', '9', '12', '218', '448', '23', '24', '27', '34', '35'),
+('1', '9', '13', '233', '482', '24', '24', '27', '35', '37'),
+('1', '9', '14', '248', '517', '24', '25', '28', '36', '38'),
+('1', '9', '15', '263', '553', '24', '25', '29', '37', '39'),
+('1', '9', '16', '278', '590', '25', '26', '29', '38', '40'),
+('1', '9', '17', '293', '628', '25', '26', '30', '40', '43'),
+('1', '9', '18', '309', '667', '25', '26', '30', '41', '44'),
+('1', '9', '19', '326', '707', '26', '27', '31', '42', '45'),
+('1', '9', '20', '344', '748', '26', '27', '32', '43', '47'),
+('1', '9', '21', '363', '790', '26', '28', '32', '45', '48'),
+('1', '9', '22', '383', '833', '27', '28', '33', '46', '49'),
+('1', '9', '23', '404', '877', '27', '29', '34', '47', '51'),
+('1', '9', '24', '426', '922', '28', '29', '34', '49', '52'),
+('1', '9', '25', '449', '968', '28', '30', '35', '50', '54'),
+('1', '9', '26', '473', '1015', '28', '30', '36', '51', '55'),
+('1', '9', '27', '498', '1063', '29', '30', '36', '53', '56'),
+('1', '9', '28', '524', '1112', '29', '31', '37', '54', '58'),
+('1', '9', '29', '551', '1162', '30', '31', '38', '56', '59'),
+('1', '9', '30', '579', '1213', '30', '32', '38', '57', '61'),
+('1', '9', '31', '608', '1264', '30', '32', '39', '58', '64'),
+('1', '9', '32', '638', '1315', '31', '33', '40', '60', '65'),
+('1', '9', '33', '669', '1366', '31', '33', '41', '61', '67'),
+('1', '9', '34', '701', '1417', '32', '34', '41', '63', '68'),
+('1', '9', '35', '734', '1468', '32', '34', '42', '64', '70'),
+('1', '9', '36', '768', '1519', '33', '35', '43', '66', '72'),
+('1', '9', '37', '803', '1570', '33', '36', '44', '68', '73'),
+('1', '9', '38', '839', '1621', '33', '36', '45', '69', '75'),
+('1', '9', '39', '876', '1672', '34', '37', '45', '71', '77'),
+('1', '9', '40', '914', '1723', '34', '37', '46', '72', '78'),
+('1', '9', '41', '953', '1774', '35', '38', '47', '74', '80'),
+('1', '9', '42', '993', '1825', '35', '38', '48', '76', '82'),
+('1', '9', '43', '1024', '1876', '36', '39', '48', '77', '86'),
+('1', '9', '44', '1076', '1927', '36', '39', '50', '79', '86'),
+('1', '9', '45', '1119', '1978', '37', '40', '50', '81', '88'),
+('1', '9', '46', '1153', '2029', '37', '41', '51', '83', '90'),
+('1', '9', '47', '1208', '2080', '38', '41', '52', '84', '92'),
+('1', '9', '48', '1254', '2131', '38', '42', '53', '86', '94'),
+('1', '9', '49', '1301', '2182', '39', '43', '54', '88', '96'),
+('1', '9', '50', '1349', '2233', '39', '43', '55', '90', '98'),
+('1', '9', '51', '1398', '2284', '40', '44', '56', '92', '100'),
+('1', '9', '52', '1448', '2335', '40', '44', '57', '94', '102'),
+('1', '9', '53', '1489', '2386', '41', '45', '58', '96', '105'),
+('1', '9', '54', '1541', '2437', '42', '46', '59', '98', '107'),
+('1', '9', '55', '1604', '2488', '42', '46', '60', '100', '109'),
+('1', '9', '56', '1658', '2539', '43', '47', '61', '102', '111'),
+('1', '9', '57', '1713', '2590', '43', '48', '62', '104', '113'),
+('1', '9', '58', '1769', '2641', '44', '49', '63', '106', '116'),
+('1', '9', '59', '1826', '2692', '44', '49', '64', '108', '118'),
+('1', '9', '60', '1884', '2743', '45', '50', '65', '110', '120'),
+('2', '1', '1', '80', '0', '26', '17', '24', '23', '17'),
+('2', '1', '2', '99', '0', '27', '18', '25', '17', '23'),
+('2', '1', '3', '118', '0', '28', '18', '26', '17', '24'),
+('2', '1', '4', '137', '0', '29', '19', '27', '17', '24'),
+('2', '1', '5', '156', '0', '31', '20', '28', '17', '24'),
+('2', '1', '6', '175', '0', '32', '21', '29', '18', '24'),
+('2', '1', '7', '194', '0', '33', '21', '30', '18', '25'),
+('2', '1', '8', '213', '0', '34', '22', '31', '18', '25'),
+('2', '1', '9', '232', '0', '35', '23', '32', '18', '25'),
+('2', '1', '10', '251', '0', '36', '23', '33', '18', '26'),
+('2', '1', '11', '270', '0', '38', '24', '35', '18', '26'),
+('2', '1', '12', '289', '0', '39', '25', '36', '18', '26'),
+('2', '1', '13', '308', '0', '40', '26', '37', '18', '27'),
+('2', '1', '14', '328', '0', '42', '27', '38', '19', '27'),
+('2', '1', '15', '349', '0', '43', '27', '39', '19', '27'),
+('2', '1', '16', '371', '0', '44', '28', '40', '19', '28'),
+('2', '1', '17', '394', '0', '45', '29', '42', '19', '28'),
+('2', '1', '18', '418', '0', '47', '30', '43', '19', '28'),
+('2', '1', '19', '443', '0', '48', '31', '44', '19', '29'),
+('2', '1', '20', '469', '0', '50', '32', '45', '19', '29'),
+('2', '1', '21', '496', '0', '51', '32', '47', '20', '29'),
+('2', '1', '22', '524', '0', '52', '33', '48', '20', '30'),
+('2', '1', '23', '553', '0', '54', '34', '49', '20', '30'),
+('2', '1', '24', '583', '0', '55', '35', '51', '20', '31'),
+('2', '1', '25', '614', '0', '57', '36', '52', '20', '31'),
+('2', '1', '26', '646', '0', '58', '37', '53', '20', '31'),
+('2', '1', '27', '679', '0', '60', '38', '55', '20', '32'),
+('2', '1', '28', '713', '0', '61', '39', '56', '21', '32'),
+('2', '1', '29', '748', '0', '63', '40', '58', '21', '33'),
+('2', '1', '30', '784', '0', '65', '41', '59', '21', '33'),
+('2', '1', '31', '821', '0', '66', '42', '60', '21', '33'),
+('2', '1', '32', '859', '0', '68', '43', '62', '21', '34'),
+('2', '1', '33', '898', '0', '69', '44', '63', '21', '34'),
+('2', '1', '34', '938', '0', '71', '45', '65', '22', '35'),
+('2', '1', '35', '979', '0', '73', '46', '66', '22', '35'),
+('2', '1', '36', '1021', '0', '75', '47', '68', '22', '36'),
+('2', '1', '37', '1065', '0', '76', '48', '70', '22', '36'),
+('2', '1', '38', '1111', '0', '78', '49', '71', '22', '36'),
+('2', '1', '39', '1159', '0', '80', '50', '73', '23', '37'),
+('2', '1', '40', '1209', '0', '82', '51', '74', '23', '37'),
+('2', '1', '41', '1261', '0', '83', '53', '76', '23', '38'),
+('2', '1', '42', '1315', '0', '85', '54', '78', '23', '38'),
+('2', '1', '43', '1371', '0', '87', '55', '79', '23', '39'),
+('2', '1', '44', '1429', '0', '89', '56', '81', '23', '39'),
+('2', '1', '45', '1489', '0', '91', '57', '83', '24', '40'),
+('2', '1', '46', '1551', '0', '93', '58', '85', '24', '40'),
+('2', '1', '47', '1615', '0', '95', '60', '86', '24', '41'),
+('2', '1', '48', '1681', '0', '97', '61', '88', '24', '41'),
+('2', '1', '49', '1749', '0', '99', '62', '90', '25', '42'),
+('2', '1', '50', '1819', '0', '101', '63', '92', '25', '42'),
+('2', '1', '51', '1891', '0', '103', '65', '94', '25', '43'),
+('2', '1', '52', '1965', '0', '105', '66', '96', '25', '43'),
+('2', '1', '53', '2041', '0', '107', '67', '98', '25', '44'),
+('2', '1', '54', '2119', '0', '109', '69', '100', '26', '45'),
+('2', '1', '55', '2199', '0', '112', '70', '102', '26', '45'),
+('2', '1', '56', '2281', '0', '114', '71', '104', '26', '46'),
+('2', '1', '57', '2365', '0', '116', '73', '106', '26', '46'),
+('2', '1', '58', '2451', '0', '118', '74', '108', '27', '47'),
+('2', '1', '59', '2539', '0', '121', '76', '110', '27', '47'),
+('2', '1', '60', '2629', '0', '123', '77', '112', '27', '48'),
+('2', '3', '1', '76', '82', '23', '20', '23', '24', '17'),
+('2', '3', '2', '93', '88', '23', '21', '24', '18', '25'),
+('2', '3', '3', '110', '109', '24', '22', '25', '18', '25'),
+('2', '3', '4', '127', '117', '24', '24', '25', '19', '26'),
+('2', '3', '5', '144', '140', '25', '25', '26', '19', '26'),
+('2', '3', '6', '161', '150', '25', '26', '27', '20', '27'),
+('2', '3', '7', '178', '175', '25', '27', '28', '20', '27'),
+('2', '3', '8', '195', '201', '26', '28', '29', '21', '28'),
+('2', '3', '9', '212', '228', '26', '30', '30', '21', '29'),
+('2', '3', '10', '229', '256', '27', '31', '30', '22', '29'),
+('2', '3', '11', '246', '285', '27', '32', '31', '22', '30'),
+('2', '3', '12', '263', '315', '28', '34', '32', '23', '31'),
+('2', '3', '13', '280', '346', '28', '35', '33', '24', '31'),
+('2', '3', '14', '298', '378', '29', '36', '34', '24', '32'),
+('2', '3', '15', '317', '411', '29', '38', '35', '25', '32'),
+('2', '3', '16', '337', '445', '30', '39', '36', '25', '33'),
+('2', '3', '17', '358', '480', '30', '40', '37', '26', '34'),
+('2', '3', '18', '380', '516', '31', '42', '38', '27', '35'),
+('2', '3', '19', '403', '553', '31', '43', '39', '27', '35'),
+('2', '3', '20', '427', '591', '32', '45', '40', '28', '36'),
+('2', '3', '21', '452', '630', '32', '46', '41', '29', '37'),
+('2', '3', '22', '478', '670', '33', '48', '42', '29', '37'),
+('2', '3', '23', '505', '711', '33', '49', '43', '30', '38'),
+('2', '3', '24', '533', '753', '34', '51', '44', '31', '39'),
+('2', '3', '25', '562', '796', '34', '52', '45', '31', '40'),
+('2', '3', '26', '592', '840', '35', '54', '46', '32', '40'),
+('2', '3', '27', '623', '885', '35', '56', '47', '33', '41'),
+('2', '3', '28', '655', '930', '36', '57', '48', '33', '42'),
+('2', '3', '29', '688', '975', '36', '59', '49', '34', '43'),
+('2', '3', '30', '722', '1020', '37', '61', '50', '35', '43'),
+('2', '3', '31', '757', '1065', '37', '62', '52', '36', '44'),
+('2', '3', '32', '793', '1110', '38', '64', '53', '36', '45'),
+('2', '3', '33', '830', '1155', '39', '66', '54', '37', '46'),
+('2', '3', '34', '868', '1200', '39', '67', '55', '38', '47'),
+('2', '3', '35', '907', '1245', '40', '69', '56', '39', '48'),
+('2', '3', '36', '947', '1290', '41', '71', '58', '40', '49'),
+('2', '3', '37', '988', '1335', '41', '73', '59', '40', '49'),
+('2', '3', '38', '1030', '1380', '42', '75', '60', '41', '50'),
+('2', '3', '39', '1073', '1425', '42', '77', '61', '42', '51'),
+('2', '3', '40', '1117', '1470', '43', '78', '63', '43', '52'),
+('2', '3', '41', '1162', '1515', '44', '80', '64', '44', '53'),
+('2', '3', '42', '1208', '1560', '44', '82', '65', '44', '54'),
+('2', '3', '43', '1255', '1605', '45', '84', '66', '45', '55'),
+('2', '3', '44', '1303', '1650', '46', '86', '68', '46', '56'),
+('2', '3', '45', '1352', '1695', '46', '88', '69', '47', '57'),
+('2', '3', '46', '1402', '1740', '47', '90', '71', '48', '58'),
+('2', '3', '47', '1453', '1785', '48', '92', '72', '49', '59'),
+('2', '3', '48', '1505', '1830', '49', '95', '73', '50', '60'),
+('2', '3', '49', '1558', '1875', '49', '97', '75', '51', '61'),
+('2', '3', '50', '1612', '1920', '50', '99', '76', '52', '62'),
+('2', '3', '51', '1667', '1965', '51', '101', '78', '53', '63'),
+('2', '3', '52', '1723', '2010', '52', '103', '79', '54', '64'),
+('2', '3', '53', '1780', '2055', '52', '105', '81', '55', '65'),
+('2', '3', '54', '1838', '2100', '53', '108', '82', '56', '66'),
+('2', '3', '55', '1897', '2145', '54', '110', '84', '57', '67'),
+('2', '3', '56', '1957', '2190', '55', '112', '85', '58', '68'),
+('2', '3', '57', '2018', '2235', '56', '115', '87', '59', '70'),
+('2', '3', '58', '2080', '2280', '56', '117', '89', '60', '71'),
+('2', '3', '59', '2143', '2325', '57', '120', '90', '61', '72'),
+('2', '3', '60', '2207', '2370', '58', '122', '92', '62', '73'),
+('2', '4', '1', '75', '0', '24', '20', '23', '23', '17'),
+('2', '4', '2', '92', '0', '25', '21', '24', '17', '23'),
+('2', '4', '3', '109', '0', '25', '22', '24', '17', '24'),
+('2', '4', '4', '126', '0', '26', '24', '25', '18', '24'),
+('2', '4', '5', '143', '0', '27', '25', '26', '18', '24'),
+('2', '4', '6', '160', '0', '27', '26', '26', '18', '25'),
+('2', '4', '7', '177', '0', '28', '28', '27', '18', '25'),
+('2', '4', '8', '194', '0', '29', '29', '27', '18', '25'),
+('2', '4', '9', '211', '0', '30', '30', '28', '18', '26'),
+('2', '4', '10', '228', '0', '30', '32', '29', '19', '26'),
+('2', '4', '11', '245', '0', '31', '33', '30', '19', '27'),
+('2', '4', '12', '262', '0', '32', '34', '30', '19', '27'),
+('2', '4', '13', '279', '0', '33', '36', '31', '19', '27'),
+('2', '4', '14', '296', '0', '33', '37', '32', '19', '28'),
+('2', '4', '15', '313', '0', '34', '39', '32', '20', '28'),
+('2', '4', '16', '331', '0', '35', '40', '33', '20', '29'),
+('2', '4', '17', '350', '0', '36', '41', '34', '20', '29'),
+('2', '4', '18', '370', '0', '37', '43', '35', '20', '29'),
+('2', '4', '19', '370', '0', '37', '43', '35', '20', '29'),
+('2', '4', '20', '370', '0', '37', '43', '35', '20', '29'),
+('2', '4', '21', '436', '0', '39', '48', '37', '21', '31'),
+('2', '4', '22', '460', '0', '40', '49', '38', '21', '31'),
+('2', '4', '23', '485', '0', '41', '51', '39', '21', '32'),
+('2', '4', '24', '511', '0', '42', '52', '39', '22', '32'),
+('2', '4', '25', '538', '0', '43', '54', '40', '22', '33'),
+('2', '4', '26', '566', '0', '44', '56', '41', '22', '33'),
+('2', '4', '27', '595', '0', '45', '57', '42', '22', '33'),
+('2', '4', '28', '625', '0', '46', '59', '43', '22', '34'),
+('2', '4', '29', '656', '0', '46', '61', '44', '23', '34'),
+('2', '4', '30', '688', '0', '47', '63', '44', '23', '35'),
+('2', '4', '31', '721', '0', '48', '64', '45', '23', '35'),
+('2', '4', '32', '755', '0', '49', '66', '46', '23', '36'),
+('2', '4', '33', '790', '0', '50', '68', '47', '24', '36'),
+('2', '4', '34', '826', '0', '51', '70', '48', '24', '37'),
+('2', '4', '35', '863', '0', '52', '72', '49', '24', '37'),
+('2', '4', '36', '901', '0', '54', '74', '50', '25', '38'),
+('2', '4', '37', '940', '0', '55', '75', '51', '25', '39'),
+('2', '4', '38', '985', '0', '56', '77', '52', '25', '39'),
+('2', '4', '39', '1021', '0', '57', '79', '53', '25', '40'),
+('2', '4', '40', '1063', '0', '58', '81', '54', '26', '40'),
+('2', '4', '41', '1106', '0', '59', '83', '55', '26', '41'),
+('2', '4', '42', '1150', '0', '60', '85', '56', '26', '41'),
+('2', '4', '43', '1195', '0', '61', '87', '57', '26', '42'),
+('2', '4', '44', '1241', '0', '62', '90', '58', '27', '42'),
+('2', '4', '45', '1288', '0', '64', '92', '59', '27', '43'),
+('2', '4', '46', '1336', '0', '65', '94', '60', '27', '44'),
+('2', '4', '47', '1385', '0', '66', '96', '61', '28', '44'),
+('2', '4', '48', '1435', '0', '67', '98', '62', '28', '45'),
+('2', '4', '49', '1486', '0', '68', '100', '64', '28', '46'),
+('2', '4', '50', '1538', '0', '70', '103', '65', '29', '46'),
+('2', '4', '51', '1591', '0', '71', '105', '66', '29', '47'),
+('2', '4', '52', '1645', '0', '72', '107', '67', '29', '47'),
+('2', '4', '53', '1700', '0', '73', '110', '68', '30', '48'),
+('2', '4', '54', '1756', '0', '75', '112', '69', '30', '49'),
+('2', '4', '55', '1813', '0', '76', '114', '71', '30', '49'),
+('2', '4', '56', '1871', '0', '77', '117', '72', '31', '50'),
+('2', '4', '57', '1930', '0', '79', '119', '73', '31', '51'),
+('2', '4', '58', '1990', '0', '80', '122', '74', '31', '52'),
+('2', '4', '59', '2051', '0', '82', '124', '76', '32', '52'),
+('2', '4', '60', '2113', '0', '83', '127', '77', '32', '53'),
+('2', '7', '1', '77', '73', '24', '17', '23', '25', '18'),
+('2', '7', '2', '94', '80', '25', '17', '24', '19', '26'),
+('2', '7', '3', '111', '88', '25', '18', '25', '20', '27'),
+('2', '7', '4', '128', '111', '26', '18', '26', '20', '28'),
+('2', '7', '5', '145', '135', '27', '19', '26', '21', '29'),
+('2', '7', '6', '162', '160', '28', '19', '27', '22', '30'),
+('2', '7', '7', '179', '186', '29', '19', '28', '23', '31'),
+('2', '7', '8', '196', '213', '29', '20', '29', '24', '31'),
+('2', '7', '9', '213', '256', '30', '20', '30', '25', '32'),
+('2', '7', '10', '230', '270', '31', '21', '31', '25', '33'),
+('2', '7', '11', '247', '300', '32', '21', '32', '26', '34'),
+('2', '7', '12', '264', '331', '33', '22', '33', '27', '35'),
+('2', '7', '13', '281', '363', '33', '22', '34', '28', '36'),
+('2', '7', '14', '298', '396', '34', '23', '35', '29', '37'),
+('2', '7', '15', '315', '430', '35', '23', '36', '30', '39'),
+('2', '7', '16', '332', '465', '36', '24', '37', '31', '40'),
+('2', '7', '17', '350', '501', '37', '24', '38', '32', '41'),
+('2', '7', '18', '369', '538', '38', '25', '39', '33', '42'),
+('2', '7', '19', '389', '576', '39', '25', '40', '34', '43'),
+('2', '7', '20', '410', '615', '40', '26', '41', '35', '44'),
+('2', '7', '21', '432', '655', '41', '26', '42', '36', '45'),
+('2', '7', '22', '455', '731', '41', '27', '43', '37', '46'),
+('2', '7', '23', '479', '738', '42', '27', '44', '38', '47'),
+('2', '7', '24', '504', '781', '43', '28', '45', '39', '49'),
+('2', '7', '25', '530', '825', '44', '28', '47', '40', '50'),
+('2', '7', '26', '557', '914', '45', '29', '48', '41', '51'),
+('2', '7', '27', '585', '916', '46', '29', '49', '42', '52'),
+('2', '7', '28', '614', '963', '47', '30', '50', '43', '53'),
+('2', '7', '29', '644', '1011', '48', '30', '51', '44', '55'),
+('2', '7', '30', '675', '1113', '49', '31', '52', '45', '56'),
+('2', '7', '31', '707', '1124', '51', '31', '54', '47', '57'),
+('2', '7', '32', '740', '1232', '52', '32', '55', '48', '59'),
+('2', '7', '33', '774', '1283', '53', '33', '56', '49', '60'),
+('2', '7', '34', '809', '1319', '54', '33', '57', '50', '61'),
+('2', '7', '35', '845', '1370', '55', '34', '59', '51', '63'),
+('2', '7', '36', '882', '1438', '56', '35', '60', '53', '64'),
+('2', '7', '37', '920', '1489', '57', '35', '61', '54', '65'),
+('2', '7', '38', '959', '1541', '58', '36', '63', '55', '67'),
+('2', '7', '39', '999', '1593', '59', '36', '64', '56', '68'),
+('2', '7', '40', '1040', '1643', '61', '37', '65', '58', '70'),
+('2', '7', '41', '1082', '1675', '62', '38', '67', '59', '71'),
+('2', '7', '42', '1125', '1697', '63', '38', '68', '60', '73'),
+('2', '7', '43', '1169', '1710', '64', '39', '70', '61', '74'),
+('2', '7', '44', '1214', '1761', '66', '40', '71', '63', '76'),
+('2', '7', '45', '1260', '1885', '67', '40', '73', '64', '77'),
+('2', '7', '46', '1307', '1952', '68', '41', '74', '66', '79'),
+('2', '7', '47', '1355', '2004', '69', '42', '76', '67', '80'),
+('2', '7', '48', '1404', '2055', '71', '43', '77', '68', '82'),
+('2', '7', '49', '1454', '2106', '72', '43', '79', '70', '84'),
+('2', '7', '50', '1505', '2142', '73', '44', '80', '71', '85'),
+('2', '7', '51', '1557', '2210', '75', '45', '82', '73', '87'),
+('2', '7', '52', '1610', '2261', '76', '46', '83', '74', '89'),
+('2', '7', '53', '1664', '2312', '78', '46', '85', '76', '90'),
+('2', '7', '54', '1719', '2334', '79', '47', '87', '77', '92'),
+('2', '7', '55', '1775', '2364', '80', '48', '88', '79', '94'),
+('2', '7', '56', '1832', '2415', '82', '49', '90', '80', '96'),
+('2', '7', '57', '1890', '2518', '83', '50', '92', '82', '97'),
+('2', '7', '58', '1949', '2570', '85', '50', '93', '84', '99'),
+('2', '7', '59', '2009', '2621', '86', '51', '95', '85', '101'),
+('2', '7', '60', '2070', '2700', '88', '52', '97', '87', '103'),
+('2', '9', '1', '73', '109', '23', '17', '23', '25', '19'),
+('2', '9', '2', '88', '118', '23', '17', '24', '20', '26'),
+('2', '9', '3', '103', '142', '24', '18', '24', '21', '27'),
+('2', '9', '4', '118', '167', '24', '18', '25', '22', '28'),
+('2', '9', '5', '133', '193', '24', '18', '25', '23', '29'),
+('2', '9', '6', '148', '220', '24', '19', '26', '24', '30'),
+('2', '9', '7', '163', '248', '25', '19', '26', '25', '32'),
+('2', '9', '8', '178', '277', '25', '19', '27', '26', '33'),
+('2', '9', '9', '193', '307', '25', '20', '27', '27', '34'),
+('2', '9', '10', '208', '338', '26', '20', '28', '28', '35'),
+('2', '9', '11', '223', '370', '26', '21', '28', '30', '36'),
+('2', '9', '12', '238', '403', '26', '21', '29', '31', '37'),
+('2', '9', '13', '253', '437', '27', '21', '29', '32', '39'),
+('2', '9', '14', '268', '472', '27', '22', '30', '33', '40'),
+('2', '9', '15', '283', '508', '27', '22', '31', '34', '41'),
+('2', '9', '16', '298', '545', '28', '23', '31', '35', '42'),
+('2', '9', '17', '313', '583', '28', '23', '32', '37', '44'),
+('2', '9', '18', '329', '622', '28', '23', '32', '38', '45'),
+('2', '9', '19', '364', '662', '29', '24', '33', '39', '46'),
+('2', '9', '20', '376', '703', '29', '24', '34', '40', '48'),
+('2', '9', '21', '408', '745', '29', '25', '34', '42', '49'),
+('2', '9', '22', '408', '788', '30', '25', '34', '43', '50'),
+('2', '9', '23', '424', '832', '30', '26', '35', '44', '52'),
+('2', '9', '24', '446', '877', '31', '26', '35', '46', '53'),
+('2', '9', '25', '469', '923', '31', '27', '36', '47', '55'),
+('2', '9', '26', '493', '970', '31', '27', '37', '48', '56'),
+('2', '9', '27', '518', '1018', '32', '27', '37', '50', '57'),
+('2', '9', '28', '544', '1067', '32', '28', '38', '51', '59'),
+('2', '9', '29', '571', '1117', '33', '28', '39', '53', '60'),
+('2', '9', '30', '599', '1168', '33', '29', '39', '54', '62'),
+('2', '9', '31', '628', '1219', '33', '29', '40', '55', '64'),
+('2', '9', '32', '658', '1270', '34', '30', '41', '57', '65'),
+('2', '9', '33', '679', '1321', '34', '30', '41', '58', '68'),
+('2', '9', '34', '721', '1372', '35', '31', '42', '60', '68'),
+('2', '9', '35', '754', '1423', '35', '31', '43', '61', '70'),
+('2', '9', '36', '788', '1474', '36', '32', '44', '63', '71'),
+('2', '9', '37', '823', '1525', '36', '33', '45', '65', '73'),
+('2', '9', '38', '859', '1576', '36', '33', '46', '66', '75'),
+('2', '9', '39', '896', '1627', '37', '34', '46', '68', '77'),
+('2', '9', '40', '934', '1678', '37', '34', '47', '69', '78'),
+('2', '9', '41', '973', '1729', '38', '35', '47', '71', '80'),
+('2', '9', '42', '993', '1780', '38', '35', '47', '73', '83'),
+('2', '9', '43', '1054', '1831', '39', '36', '50', '74', '84'),
+('2', '9', '44', '1096', '1882', '39', '36', '51', '76', '85'),
+('2', '9', '45', '1139', '1933', '40', '37', '51', '78', '87'),
+('2', '9', '46', '1183', '1984', '40', '38', '52', '80', '89'),
+('2', '9', '47', '1228', '2035', '41', '38', '53', '81', '91'),
+('2', '9', '48', '1274', '2086', '41', '39', '53', '83', '93'),
+('2', '9', '49', '1321', '2137', '42', '40', '54', '85', '96'),
+('2', '9', '50', '1369', '2188', '42', '40', '56', '87', '97'),
+('2', '9', '51', '1408', '2239', '43', '41', '56', '89', '99'),
+('2', '9', '52', '1468', '2290', '43', '41', '58', '91', '101'),
+('2', '9', '53', '1519', '2341', '44', '42', '59', '93', '103'),
+('2', '9', '54', '1551', '2392', '45', '43', '60', '95', '105'),
+('2', '9', '55', '1624', '2443', '45', '43', '61', '97', '106'),
+('2', '9', '56', '1678', '2494', '46', '44', '62', '99', '109'),
+('2', '9', '57', '1727', '2545', '46', '45', '62', '101', '110'),
+('2', '9', '58', '1779', '2596', '47', '46', '64', '103', '114'),
+('2', '9', '59', '1836', '2647', '47', '46', '65', '105', '116'),
+('2', '9', '60', '1904', '2698', '48', '47', '66', '107', '118'),
+('3', '1', '1', '90', '0', '25', '16', '25', '19', '19'),
+('3', '1', '2', '109', '0', '26', '17', '26', '19', '19'),
+('3', '1', '3', '128', '0', '27', '17', '27', '19', '20'),
+('3', '1', '4', '147', '0', '28', '18', '28', '19', '20'),
+('3', '1', '5', '166', '0', '30', '19', '29', '19', '20'),
+('3', '1', '6', '185', '0', '31', '20', '30', '20', '20'),
+('3', '1', '7', '204', '0', '32', '20', '31', '20', '21'),
+('3', '1', '8', '223', '0', '33', '21', '32', '20', '21'),
+('3', '1', '9', '242', '0', '34', '22', '33', '20', '21'),
+('3', '1', '10', '261', '0', '35', '22', '34', '20', '22'),
+('3', '1', '11', '280', '0', '37', '23', '36', '20', '22'),
+('3', '1', '12', '299', '0', '38', '24', '37', '20', '22'),
+('3', '1', '13', '318', '0', '39', '25', '38', '20', '23'),
+('3', '1', '14', '338', '0', '41', '26', '39', '21', '23'),
+('3', '1', '15', '359', '0', '42', '26', '40', '21', '23'),
+('3', '1', '16', '381', '0', '43', '27', '41', '21', '24'),
+('3', '1', '17', '404', '0', '44', '28', '43', '21', '24'),
+('3', '1', '18', '428', '0', '46', '29', '44', '21', '24'),
+('3', '1', '19', '453', '0', '47', '30', '45', '21', '25'),
+('3', '1', '20', '479', '0', '49', '31', '46', '21', '25'),
+('3', '1', '21', '506', '0', '50', '31', '48', '22', '25'),
+('3', '1', '22', '534', '0', '51', '32', '49', '22', '26'),
+('3', '1', '23', '563', '0', '53', '33', '50', '22', '26'),
+('3', '1', '24', '593', '0', '54', '34', '52', '22', '27'),
+('3', '1', '25', '624', '0', '56', '35', '53', '22', '27'),
+('3', '1', '26', '656', '0', '57', '36', '54', '22', '27'),
+('3', '1', '27', '689', '0', '59', '37', '56', '22', '28'),
+('3', '1', '28', '723', '0', '60', '38', '57', '23', '28'),
+('3', '1', '29', '758', '0', '62', '39', '59', '23', '29'),
+('3', '1', '30', '794', '0', '64', '40', '60', '23', '29'),
+('3', '1', '31', '831', '0', '65', '41', '61', '23', '29'),
+('3', '1', '32', '869', '0', '67', '42', '63', '23', '30'),
+('3', '1', '33', '908', '0', '68', '43', '64', '23', '30'),
+('3', '1', '34', '948', '0', '70', '44', '66', '24', '31'),
+('3', '1', '35', '989', '0', '72', '45', '67', '24', '31'),
+('3', '1', '36', '1031', '0', '74', '46', '69', '24', '32'),
+('3', '1', '37', '1075', '0', '75', '47', '71', '24', '32'),
+('3', '1', '38', '1121', '0', '77', '48', '72', '24', '32'),
+('3', '1', '39', '1169', '0', '79', '49', '74', '25', '33'),
+('3', '1', '40', '1219', '0', '81', '50', '75', '25', '33'),
+('3', '1', '41', '1271', '0', '82', '52', '77', '25', '34'),
+('3', '1', '42', '1325', '0', '84', '53', '79', '25', '34'),
+('3', '1', '43', '1381', '0', '86', '54', '80', '25', '35'),
+('3', '1', '44', '1439', '0', '88', '55', '82', '25', '35'),
+('3', '1', '45', '1499', '0', '90', '56', '84', '26', '36'),
+('3', '1', '46', '1561', '0', '92', '57', '86', '26', '36'),
+('3', '1', '47', '1625', '0', '94', '59', '87', '26', '37'),
+('3', '1', '48', '1691', '0', '96', '60', '89', '26', '37'),
+('3', '1', '49', '1759', '0', '98', '61', '91', '27', '38'),
+('3', '1', '50', '1829', '0', '100', '62', '93', '27', '38'),
+('3', '1', '51', '1901', '0', '102', '64', '95', '27', '39'),
+('3', '1', '52', '1975', '0', '104', '65', '97', '27', '39'),
+('3', '1', '53', '2051', '0', '106', '66', '99', '27', '40'),
+('3', '1', '54', '2129', '0', '108', '68', '101', '28', '41'),
+('3', '1', '55', '2209', '0', '111', '69', '103', '28', '41'),
+('3', '1', '56', '2291', '0', '113', '70', '105', '28', '42'),
+('3', '1', '57', '2375', '0', '115', '72', '107', '28', '42'),
+('3', '1', '58', '2461', '0', '117', '73', '109', '29', '43'),
+('3', '1', '59', '2549', '0', '120', '75', '111', '29', '43'),
+('3', '1', '60', '2639', '0', '122', '76', '113', '29', '44'),
+('3', '2', '1', '88', '79', '24', '16', '25', '20', '19'),
+('3', '2', '2', '106', '84', '25', '17', '26', '20', '21'),
+('3', '2', '3', '124', '104', '26', '17', '27', '20', '21'),
+('3', '2', '4', '142', '125', '27', '18', '28', '21', '22'),
+('3', '2', '5', '160', '147', '28', '18', '29', '21', '23'),
+('3', '2', '6', '178', '170', '29', '19', '30', '22', '23'),
+('3', '2', '7', '196', '194', '30', '19', '31', '23', '24'),
+('3', '2', '8', '214', '219', '31', '20', '31', '23', '24'),
+('3', '2', '9', '232', '245', '32', '20', '32', '24', '25'),
+('3', '2', '10', '250', '272', '33', '21', '33', '24', '26'),
+('3', '2', '11', '268', '300', '34', '21', '34', '25', '27'),
+('3', '2', '12', '286', '329', '35', '22', '35', '26', '27'),
+('3', '2', '13', '304', '359', '36', '23', '36', '26', '28'),
+('3', '2', '14', '322', '390', '37', '23', '37', '27', '29'),
+('3', '2', '15', '341', '422', '38', '24', '39', '28', '29'),
+('3', '2', '16', '361', '455', '40', '24', '40', '28', '30'),
+('3', '2', '17', '382', '489', '41', '25', '41', '29', '31'),
+('3', '2', '18', '404', '524', '42', '26', '42', '30', '32'),
+('3', '2', '19', '427', '560', '43', '26', '43', '30', '32'),
+('3', '2', '20', '451', '597', '44', '27', '44', '31', '33'),
+('3', '2', '21', '476', '635', '45', '28', '45', '32', '34'),
+('3', '2', '22', '502', '674', '47', '28', '46', '33', '35'),
+('3', '2', '23', '529', '714', '48', '29', '47', '33', '36'),
+('3', '2', '24', '557', '755', '49', '30', '49', '34', '36'),
+('3', '2', '25', '586', '797', '50', '30', '50', '35', '37'),
+('3', '2', '26', '616', '839', '52', '31', '51', '36', '38'),
+('3', '2', '27', '647', '881', '53', '32', '52', '36', '39'),
+('3', '2', '28', '679', '923', '54', '32', '53', '37', '40'),
+('3', '2', '29', '712', '965', '56', '33', '55', '38', '41'),
+('3', '2', '30', '746', '1007', '57', '34', '56', '39', '41'),
+('3', '2', '31', '781', '1049', '58', '35', '57', '40', '42'),
+('3', '2', '32', '817', '1091', '60', '35', '59', '41', '43'),
+('3', '2', '33', '854', '1133', '61', '36', '60', '41', '44'),
+('3', '2', '34', '892', '1175', '63', '37', '61', '42', '45'),
+('3', '2', '35', '931', '1217', '64', '38', '63', '43', '46'),
+('3', '2', '36', '971', '1259', '66', '39', '64', '44', '47'),
+('3', '2', '37', '1012', '1301', '67', '39', '65', '45', '48'),
+('3', '2', '38', '1054', '1343', '69', '40', '67', '46', '49'),
+('3', '2', '39', '1097', '1385', '70', '41', '68', '47', '50'),
+('3', '2', '40', '1141', '1427', '72', '42', '70', '48', '51'),
+('3', '2', '41', '1186', '1469', '73', '43', '71', '49', '52'),
+('3', '2', '42', '1232', '1511', '75', '43', '73', '50', '53'),
+('3', '2', '43', '1279', '1553', '76', '44', '74', '51', '54'),
+('3', '2', '44', '1327', '1595', '78', '45', '76', '51', '55'),
+('3', '2', '45', '1376', '1637', '80', '46', '77', '52', '56'),
+('3', '2', '46', '1426', '1679', '81', '47', '79', '53', '57'),
+('3', '2', '47', '1477', '1721', '83', '48', '80', '55', '58'),
+('3', '2', '48', '1529', '1763', '85', '49', '82', '56', '59'),
+('3', '2', '49', '1582', '1805', '86', '50', '84', '57', '61'),
+('3', '2', '50', '1636', '1847', '88', '51', '85', '58', '62'),
+('3', '2', '51', '1691', '1889', '90', '52', '87', '59', '63'),
+('3', '2', '52', '1747', '1931', '92', '53', '89', '60', '64'),
+('3', '2', '53', '1804', '1973', '94', '54', '90', '61', '65'),
+('3', '2', '54', '1862', '2015', '95', '55', '92', '62', '66'),
+('3', '2', '55', '1921', '2057', '97', '56', '94', '63', '68'),
+('3', '2', '56', '1981', '2099', '99', '57', '96', '64', '69'),
+('3', '2', '57', '2042', '2141', '101', '58', '97', '65', '70'),
+('3', '2', '58', '2104', '2183', '103', '59', '99', '67', '71'),
+('3', '2', '59', '2167', '2225', '105', '60', '101', '68', '73'),
+('3', '2', '60', '2231', '2267', '107', '61', '103', '69', '74'),
+('3', '3', '1', '86', '84', '22', '19', '24', '20', '19'),
+('3', '3', '2', '103', '90', '22', '20', '25', '20', '21'),
+('3', '3', '3', '120', '111', '23', '21', '26', '20', '21'),
+('3', '3', '4', '137', '133', '23', '23', '26', '21', '22'),
+('3', '3', '5', '154', '156', '24', '24', '27', '21', '22'),
+('3', '3', '6', '171', '180', '24', '25', '28', '22', '23'),
+('3', '3', '7', '188', '205', '24', '26', '29', '22', '23'),
+('3', '3', '8', '205', '231', '25', '27', '30', '23', '24'),
+('3', '3', '9', '222', '258', '25', '29', '31', '23', '25'),
+('3', '3', '10', '239', '286', '26', '30', '31', '24', '25'),
+('3', '3', '11', '256', '315', '26', '31', '32', '24', '26'),
+('3', '3', '12', '273', '345', '27', '33', '33', '25', '27'),
+('3', '3', '13', '290', '376', '27', '34', '34', '26', '27'),
+('3', '3', '14', '308', '408', '28', '35', '35', '26', '28'),
+('3', '3', '15', '327', '441', '28', '37', '36', '27', '28'),
+('3', '3', '16', '347', '475', '29', '38', '37', '27', '29'),
+('3', '3', '17', '368', '510', '29', '39', '38', '28', '30'),
+('3', '3', '18', '390', '546', '30', '41', '39', '29', '31'),
+('3', '3', '19', '413', '583', '30', '42', '40', '29', '31'),
+('3', '3', '20', '437', '621', '31', '44', '41', '30', '32'),
+('3', '3', '21', '462', '660', '31', '45', '42', '31', '33'),
+('3', '3', '22', '488', '700', '32', '47', '43', '31', '33'),
+('3', '3', '23', '515', '741', '32', '48', '44', '32', '34'),
+('3', '3', '24', '543', '783', '33', '50', '45', '33', '35'),
+('3', '3', '25', '572', '826', '33', '51', '46', '33', '36'),
+('3', '3', '26', '602', '870', '34', '53', '47', '34', '36'),
+('3', '3', '27', '633', '915', '34', '55', '48', '35', '37'),
+('3', '3', '28', '665', '960', '35', '56', '49', '35', '38'),
+('3', '3', '29', '698', '1005', '35', '58', '50', '36', '39'),
+('3', '3', '30', '732', '1050', '36', '60', '51', '37', '39'),
+('3', '3', '31', '767', '1095', '36', '61', '53', '38', '40'),
+('3', '3', '32', '803', '1140', '37', '63', '54', '38', '41'),
+('3', '3', '33', '840', '1185', '38', '65', '55', '39', '42'),
+('3', '3', '34', '878', '1230', '38', '66', '56', '40', '43'),
+('3', '3', '35', '917', '1275', '39', '68', '57', '41', '44'),
+('3', '3', '36', '957', '1320', '40', '70', '59', '42', '45'),
+('3', '3', '37', '998', '1365', '40', '72', '60', '42', '45'),
+('3', '3', '38', '1040', '1410', '41', '74', '61', '43', '46'),
+('3', '3', '39', '1083', '1455', '41', '76', '62', '44', '47'),
+('3', '3', '40', '1127', '1500', '42', '77', '64', '45', '48'),
+('3', '3', '41', '1172', '1545', '43', '79', '65', '46', '49'),
+('3', '3', '42', '1218', '1590', '43', '81', '66', '46', '50'),
+('3', '3', '43', '1265', '1635', '44', '83', '67', '47', '51'),
+('3', '3', '44', '1313', '1680', '45', '85', '69', '48', '52'),
+('3', '3', '45', '1362', '1725', '45', '87', '70', '49', '53'),
+('3', '3', '46', '1412', '1770', '46', '89', '72', '50', '54'),
+('3', '3', '47', '1463', '1815', '47', '91', '73', '51', '55'),
+('3', '3', '48', '1515', '1860', '48', '94', '74', '52', '56'),
+('3', '3', '49', '1568', '1905', '48', '96', '76', '53', '57'),
+('3', '3', '50', '1622', '1950', '49', '98', '77', '54', '58'),
+('3', '3', '51', '1677', '1995', '50', '100', '79', '55', '59'),
+('3', '3', '52', '1733', '2040', '51', '102', '80', '56', '60'),
+('3', '3', '53', '1790', '2085', '51', '104', '82', '57', '61'),
+('3', '3', '54', '1848', '2130', '52', '107', '83', '58', '62'),
+('3', '3', '55', '1907', '2175', '53', '109', '85', '59', '63'),
+('3', '3', '56', '1967', '2220', '54', '111', '86', '60', '64'),
+('3', '3', '57', '2028', '2265', '55', '114', '88', '61', '66'),
+('3', '3', '58', '2090', '2310', '55', '116', '90', '62', '67'),
+('3', '3', '59', '2153', '2355', '56', '119', '91', '63', '68'),
+('3', '3', '60', '2217', '2400', '57', '121', '93', '64', '69'),
+('3', '4', '1', '85', '0', '23', '19', '24', '19', '19'),
+('3', '4', '2', '102', '0', '24', '20', '25', '19', '19'),
+('3', '4', '3', '119', '0', '24', '21', '25', '19', '20'),
+('3', '4', '4', '136', '0', '25', '23', '26', '20', '20'),
+('3', '4', '5', '153', '0', '26', '24', '27', '20', '20'),
+('3', '4', '6', '170', '0', '26', '25', '27', '20', '21'),
+('3', '4', '7', '187', '0', '27', '27', '28', '20', '21'),
+('3', '4', '8', '204', '0', '28', '28', '28', '20', '21'),
+('3', '4', '9', '221', '0', '29', '29', '29', '20', '22'),
+('3', '4', '10', '238', '0', '29', '31', '30', '21', '22'),
+('3', '4', '11', '255', '0', '30', '32', '31', '21', '23'),
+('3', '4', '12', '272', '0', '31', '33', '31', '21', '23'),
+('3', '4', '13', '289', '0', '32', '35', '32', '21', '23'),
+('3', '4', '14', '306', '0', '32', '36', '33', '21', '24'),
+('3', '4', '15', '323', '0', '33', '38', '33', '22', '24'),
+('3', '4', '16', '341', '0', '34', '39', '34', '22', '25'),
+('3', '4', '17', '360', '0', '35', '40', '35', '22', '25'),
+('3', '4', '18', '380', '0', '36', '42', '36', '22', '25'),
+('3', '4', '19', '401', '0', '37', '44', '36', '22', '26'),
+('3', '4', '20', '423', '0', '37', '45', '37', '23', '26'),
+('3', '4', '21', '446', '0', '38', '47', '38', '23', '27'),
+('3', '4', '22', '470', '0', '39', '48', '39', '23', '27'),
+('3', '4', '23', '495', '0', '40', '50', '40', '23', '28'),
+('3', '4', '24', '521', '0', '41', '51', '40', '24', '28'),
+('3', '4', '25', '548', '0', '42', '53', '41', '24', '29'),
+('3', '4', '26', '576', '0', '43', '55', '42', '24', '29'),
+('3', '4', '27', '605', '0', '44', '56', '43', '24', '29'),
+('3', '4', '28', '635', '0', '45', '58', '44', '24', '30'),
+('3', '4', '29', '666', '0', '45', '60', '45', '25', '30'),
+('3', '4', '30', '698', '0', '46', '62', '45', '25', '31'),
+('3', '4', '31', '731', '0', '47', '63', '46', '25', '31'),
+('3', '4', '32', '765', '0', '48', '65', '47', '25', '32'),
+('3', '4', '33', '800', '0', '49', '67', '48', '26', '32'),
+('3', '4', '34', '836', '0', '50', '69', '49', '26', '33'),
+('3', '4', '35', '873', '0', '51', '71', '50', '26', '33'),
+('3', '4', '36', '911', '0', '53', '73', '51', '27', '34'),
+('3', '4', '37', '950', '0', '54', '74', '52', '27', '35'),
+('3', '4', '38', '990', '0', '55', '76', '53', '27', '35'),
+('3', '4', '39', '1031', '0', '56', '78', '54', '27', '36'),
+('3', '4', '40', '1073', '0', '57', '80', '55', '28', '36'),
+('3', '4', '41', '1116', '0', '58', '82', '56', '28', '37'),
+('3', '4', '42', '1160', '0', '59', '84', '57', '28', '37'),
+('3', '4', '43', '1205', '0', '60', '86', '58', '28', '38'),
+('3', '4', '44', '1251', '0', '61', '89', '59', '29', '38'),
+('3', '4', '45', '1298', '0', '63', '91', '60', '29', '39'),
+('3', '4', '46', '1346', '0', '64', '93', '61', '29', '40'),
+('3', '4', '47', '1395', '0', '65', '95', '62', '30', '40'),
+('3', '4', '48', '1445', '0', '66', '97', '63', '30', '41'),
+('3', '4', '49', '1496', '0', '67', '99', '65', '30', '42'),
+('3', '4', '50', '1548', '0', '69', '102', '66', '31', '42'),
+('3', '4', '51', '1601', '0', '70', '104', '67', '31', '43'),
+('3', '4', '52', '1655', '0', '71', '106', '68', '31', '43'),
+('3', '4', '53', '1710', '0', '72', '109', '69', '32', '44'),
+('3', '4', '54', '1766', '0', '74', '111', '70', '32', '45'),
+('3', '4', '55', '1823', '0', '75', '113', '72', '32', '45'),
+('3', '4', '56', '1881', '0', '76', '116', '73', '33', '46'),
+('3', '4', '57', '1940', '0', '78', '118', '74', '33', '47'),
+('3', '4', '58', '2000', '0', '79', '121', '75', '33', '48'),
+('3', '4', '59', '2061', '0', '81', '123', '77', '34', '48'),
+('3', '4', '60', '2123', '0', '82', '126', '78', '34', '49'),
+('3', '5', '1', '82', '145', '22', '16', '23', '22', '21'),
+('3', '5', '2', '97', '169', '22', '16', '23', '22', '23'),
+('3', '5', '3', '112', '194', '22', '16', '24', '23', '24'),
+('3', '5', '4', '127', '220', '23', '17', '24', '24', '26'),
+('3', '5', '5', '142', '247', '23', '17', '24', '26', '27'),
+('3', '5', '6', '157', '275', '23', '17', '25', '27', '28'),
+('3', '5', '7', '172', '304', '23', '17', '25', '28', '29'),
+('3', '5', '8', '187', '334', '23', '18', '25', '29', '30'),
+('3', '5', '9', '202', '365', '23', '18', '26', '30', '32'),
+('3', '5', '10', '217', '412', '24', '18', '26', '32', '33'),
+('3', '5', '11', '232', '430', '24', '18', '27', '33', '34'),
+('3', '5', '12', '247', '464', '24', '19', '27', '34', '36'),
+('3', '5', '13', '262', '499', '24', '19', '27', '35', '37'),
+('3', '5', '14', '277', '535', '24', '19', '28', '37', '38'),
+('3', '5', '15', '292', '572', '25', '19', '28', '38', '40'),
+('3', '5', '16', '307', '610', '25', '20', '29', '39', '41'),
+('3', '5', '17', '322', '664', '25', '20', '29', '41', '42'),
+('3', '5', '18', '337', '689', '25', '20', '29', '42', '44'),
+('3', '5', '19', '352', '730', '25', '21', '30', '43', '45'),
+('3', '5', '20', '367', '772', '26', '21', '30', '45', '47'),
+('3', '5', '21', '382', '815', '26', '21', '31', '46', '48'),
+('3', '5', '22', '398', '874', '26', '21', '31', '48', '50'),
+('3', '5', '23', '415', '904', '26', '22', '32', '49', '51'),
+('3', '5', '24', '433', '965', '27', '22', '32', '51', '53'),
+('3', '5', '25', '452', '997', '27', '22', '33', '52', '54'),
+('3', '5', '26', '472', '1060', '27', '23', '33', '54', '56'),
+('3', '5', '27', '493', '1094', '27', '23', '33', '55', '58'),
+('3', '5', '28', '515', '1159', '27', '23', '34', '57', '59'),
+('3', '5', '29', '538', '1195', '28', '24', '34', '58', '61'),
+('3', '5', '30', '562', '1247', '28', '24', '35', '60', '63'),
+('3', '5', '31', '587', '1315', '28', '24', '35', '62', '64'),
+('3', '5', '32', '613', '1354', '28', '25', '36', '63', '66'),
+('3', '5', '33', '640', '1423', '29', '25', '36', '65', '68'),
+('3', '5', '34', '668', '1477', '29', '25', '37', '67', '69'),
+('3', '5', '35', '697', '1516', '29', '26', '37', '68', '71'),
+('3', '5', '36', '727', '1570', '30', '26', '38', '70', '73'),
+('3', '5', '37', '758', '1639', '30', '26', '39', '72', '75'),
+('3', '5', '38', '790', '1693', '30', '27', '39', '74', '77'),
+('3', '5', '39', '823', '1732', '30', '27', '40', '75', '79'),
+('3', '5', '40', '857', '1786', '31', '27', '40', '77', '80'),
+('3', '5', '41', '892', '1855', '31', '28', '41', '79', '82'),
+('3', '5', '42', '928', '1909', '31', '28', '41', '81', '84'),
+('3', '5', '43', '965', '1963', '31', '29', '42', '83', '86'),
+('3', '5', '44', '1003', '2017', '32', '29', '42', '85', '88'),
+('3', '5', '45', '1042', '2071', '32', '29', '43', '87', '90'),
+('3', '5', '46', '1082', '2125', '32', '30', '44', '89', '92'),
+('3', '5', '47', '1123', '2179', '33', '30', '44', '91', '94'),
+('3', '5', '48', '1165', '2233', '33', '31', '45', '93', '97'),
+('3', '5', '49', '1208', '2287', '33', '31', '46', '95', '99'),
+('3', '5', '50', '1252', '2341', '34', '31', '46', '97', '101'),
+('3', '5', '51', '1297', '2395', '34', '32', '47', '99', '103'),
+('3', '5', '52', '1343', '2449', '34', '32', '47', '101', '105'),
+('3', '5', '53', '1390', '2503', '35', '33', '48', '103', '107'),
+('3', '5', '54', '1438', '2557', '35', '33', '49', '105', '110'),
+('3', '5', '55', '1487', '2611', '35', '34', '49', '108', '112'),
+('3', '5', '56', '1537', '2665', '36', '34', '50', '110', '114'),
+('3', '5', '57', '1588', '2719', '36', '35', '51', '112', '117'),
+('3', '5', '58', '1640', '2773', '36', '35', '52', '114', '119'),
+('3', '5', '59', '1693', '2827', '37', '36', '52', '117', '122'),
+('3', '5', '60', '1747', '2881', '37', '36', '53', '119', '124'),
+('4', '1', '1', '50', '0', '20', '25', '21', '20', '20'),
+('4', '1', '2', '69', '0', '21', '26', '22', '20', '20'),
+('4', '1', '3', '88', '0', '22', '26', '23', '20', '21'),
+('4', '1', '4', '107', '0', '23', '27', '24', '20', '21'),
+('4', '1', '5', '126', '0', '25', '28', '25', '20', '21'),
+('4', '1', '6', '145', '0', '26', '29', '26', '21', '21'),
+('4', '1', '7', '164', '0', '27', '29', '27', '21', '22'),
+('4', '1', '8', '183', '0', '28', '30', '28', '21', '22'),
+('4', '1', '9', '202', '0', '29', '31', '29', '21', '22'),
+('4', '1', '10', '221', '0', '30', '31', '30', '21', '23'),
+('4', '1', '11', '240', '0', '32', '32', '32', '21', '23'),
+('4', '1', '12', '259', '0', '33', '33', '33', '21', '23'),
+('4', '1', '13', '278', '0', '34', '34', '34', '21', '24'),
+('4', '1', '14', '298', '0', '36', '35', '35', '22', '24'),
+('4', '1', '15', '319', '0', '37', '35', '36', '22', '24'),
+('4', '1', '16', '341', '0', '38', '36', '37', '22', '25'),
+('4', '1', '17', '364', '0', '39', '37', '39', '22', '25'),
+('4', '1', '18', '388', '0', '41', '38', '40', '22', '25'),
+('4', '1', '19', '413', '0', '42', '39', '41', '22', '26'),
+('4', '1', '20', '439', '0', '44', '40', '42', '22', '26'),
+('4', '1', '21', '466', '0', '45', '40', '44', '23', '26'),
+('4', '1', '22', '494', '0', '46', '41', '45', '23', '27'),
+('4', '1', '23', '523', '0', '48', '42', '46', '23', '27'),
+('4', '1', '24', '553', '0', '49', '43', '48', '23', '28'),
+('4', '1', '25', '584', '0', '51', '44', '49', '23', '28'),
+('4', '1', '26', '616', '0', '52', '45', '50', '23', '28'),
+('4', '1', '27', '649', '0', '54', '46', '52', '23', '29'),
+('4', '1', '28', '683', '0', '55', '47', '53', '24', '29'),
+('4', '1', '29', '718', '0', '57', '48', '55', '24', '30'),
+('4', '1', '30', '754', '0', '59', '49', '56', '24', '30'),
+('4', '1', '31', '791', '0', '60', '50', '57', '24', '30'),
+('4', '1', '32', '829', '0', '62', '51', '59', '24', '31'),
+('4', '1', '33', '868', '0', '63', '52', '60', '24', '31'),
+('4', '1', '34', '908', '0', '65', '53', '62', '25', '32'),
+('4', '1', '35', '949', '0', '67', '54', '63', '25', '32'),
+('4', '1', '36', '991', '0', '69', '55', '65', '25', '33'),
+('4', '1', '37', '1035', '0', '70', '56', '67', '25', '33'),
+('4', '1', '38', '1081', '0', '72', '57', '68', '25', '33'),
+('4', '1', '39', '1129', '0', '74', '58', '70', '26', '34'),
+('4', '1', '40', '1179', '0', '76', '59', '71', '26', '34'),
+('4', '1', '41', '1231', '0', '77', '61', '73', '26', '35'),
+('4', '1', '42', '1285', '0', '79', '62', '75', '26', '35'),
+('4', '1', '43', '1341', '0', '81', '63', '76', '26', '36'),
+('4', '1', '44', '1399', '0', '83', '64', '78', '26', '36'),
+('4', '1', '45', '1459', '0', '85', '65', '80', '27', '37'),
+('4', '1', '46', '1521', '0', '87', '66', '82', '27', '37'),
+('4', '1', '47', '1585', '0', '89', '68', '83', '27', '38'),
+('4', '1', '48', '1651', '0', '91', '69', '85', '27', '38'),
+('4', '1', '49', '1719', '0', '93', '70', '87', '28', '39'),
+('4', '1', '50', '1789', '0', '95', '71', '89', '28', '39'),
+('4', '1', '51', '1861', '0', '97', '73', '91', '28', '40'),
+('4', '1', '52', '1935', '0', '99', '74', '93', '28', '40'),
+('4', '1', '53', '2011', '0', '101', '75', '95', '28', '41'),
+('4', '1', '54', '2089', '0', '103', '77', '97', '29', '42'),
+('4', '1', '55', '2169', '0', '106', '78', '99', '29', '42'),
+('4', '1', '56', '2251', '0', '108', '79', '101', '29', '43'),
+('4', '1', '57', '2335', '0', '110', '81', '103', '29', '43'),
+('4', '1', '58', '2421', '0', '112', '82', '105', '30', '44'),
+('4', '1', '59', '2509', '0', '115', '84', '107', '30', '44'),
+('4', '1', '60', '2599', '0', '117', '85', '109', '30', '45'),
+('4', '3', '1', '46', '85', '17', '28', '20', '21', '20'),
+('4', '3', '2', '63', '105', '17', '29', '21', '21', '22'),
+('4', '3', '3', '80', '126', '18', '30', '22', '21', '22'),
+('4', '3', '4', '97', '148', '18', '32', '22', '22', '23'),
+('4', '3', '5', '114', '171', '19', '33', '23', '22', '23'),
+('4', '3', '6', '131', '195', '19', '34', '24', '23', '24'),
+('4', '3', '7', '148', '220', '19', '35', '25', '23', '24'),
+('4', '3', '8', '165', '246', '20', '36', '26', '24', '25'),
+('4', '3', '9', '182', '273', '20', '38', '27', '24', '26'),
+('4', '3', '10', '199', '301', '21', '39', '27', '25', '26'),
+('4', '3', '11', '216', '330', '21', '40', '28', '25', '27'),
+('4', '3', '12', '233', '360', '22', '42', '29', '26', '28'),
+('4', '3', '13', '250', '391', '22', '43', '30', '27', '28'),
+('4', '3', '14', '268', '423', '23', '44', '31', '27', '29'),
+('4', '3', '15', '287', '456', '23', '46', '32', '28', '29'),
+('4', '3', '16', '307', '490', '24', '47', '33', '28', '30'),
+('4', '3', '17', '328', '525', '24', '48', '34', '29', '31'),
+('4', '3', '18', '350', '561', '25', '50', '35', '30', '32'),
+('4', '3', '19', '373', '598', '25', '51', '36', '30', '32'),
+('4', '3', '20', '397', '636', '26', '53', '37', '31', '33'),
+('4', '3', '21', '422', '675', '26', '54', '38', '32', '34'),
+('4', '3', '22', '448', '715', '27', '56', '39', '32', '34'),
+('4', '3', '23', '475', '756', '27', '57', '40', '33', '35'),
+('4', '3', '24', '503', '798', '28', '59', '41', '34', '36'),
+('4', '3', '25', '532', '841', '28', '60', '42', '34', '37'),
+('4', '3', '26', '562', '885', '29', '62', '43', '35', '37'),
+('4', '3', '27', '593', '930', '29', '64', '44', '36', '38'),
+('4', '3', '28', '625', '975', '30', '65', '45', '36', '39'),
+('4', '3', '29', '658', '1020', '30', '67', '46', '37', '40'),
+('4', '3', '30', '692', '1065', '31', '69', '47', '38', '40'),
+('4', '3', '31', '727', '1110', '31', '70', '49', '39', '41'),
+('4', '3', '32', '763', '1155', '32', '72', '50', '39', '42'),
+('4', '3', '33', '800', '1200', '33', '74', '51', '40', '43'),
+('4', '3', '34', '838', '1245', '33', '75', '52', '41', '44'),
+('4', '3', '35', '877', '1290', '34', '77', '53', '42', '45'),
+('4', '3', '36', '917', '1335', '35', '79', '55', '43', '46'),
+('4', '3', '37', '958', '1380', '35', '81', '56', '43', '46'),
+('4', '3', '38', '1000', '1425', '36', '83', '57', '44', '47'),
+('4', '3', '39', '1043', '1470', '36', '85', '58', '45', '48'),
+('4', '3', '40', '1087', '1515', '37', '86', '60', '46', '49'),
+('4', '3', '41', '1132', '1560', '38', '88', '61', '47', '50'),
+('4', '3', '42', '1178', '1605', '38', '90', '62', '47', '51'),
+('4', '3', '43', '1225', '1650', '39', '92', '63', '48', '52'),
+('4', '3', '44', '1273', '1695', '40', '94', '65', '49', '53'),
+('4', '3', '45', '1322', '1740', '40', '96', '66', '50', '54'),
+('4', '3', '46', '1372', '1785', '41', '98', '68', '51', '55'),
+('4', '3', '47', '1423', '1830', '42', '100', '69', '52', '56'),
+('4', '3', '48', '1475', '1875', '43', '103', '70', '53', '57'),
+('4', '3', '49', '1528', '1920', '43', '105', '72', '54', '58'),
+('4', '3', '50', '1582', '1965', '44', '107', '73', '55', '59'),
+('4', '3', '51', '1637', '2010', '45', '109', '75', '56', '60'),
+('4', '3', '52', '1693', '2055', '46', '111', '76', '57', '61'),
+('4', '3', '53', '1750', '2100', '46', '113', '78', '58', '62'),
+('4', '3', '54', '1808', '2145', '47', '116', '79', '59', '63'),
+('4', '3', '55', '1867', '2190', '48', '118', '81', '60', '64'),
+('4', '3', '56', '1927', '2235', '49', '120', '82', '61', '65'),
+('4', '3', '57', '1988', '2280', '50', '123', '84', '62', '67'),
+('4', '3', '58', '2050', '2325', '50', '125', '86', '63', '68'),
+('4', '3', '59', '2113', '2370', '51', '128', '87', '64', '69'),
+('4', '3', '60', '2177', '2415', '52', '130', '89', '65', '70'),
+('4', '4', '1', '45', '0', '18', '28', '20', '20', '20'),
+('4', '4', '2', '62', '0', '19', '29', '21', '20', '20'),
+('4', '4', '3', '79', '0', '19', '30', '21', '20', '21'),
+('4', '4', '4', '96', '0', '20', '32', '22', '21', '21'),
+('4', '4', '5', '113', '0', '21', '33', '23', '21', '21'),
+('4', '4', '6', '130', '0', '21', '34', '23', '21', '22'),
+('4', '4', '7', '147', '0', '22', '36', '24', '21', '22'),
+('4', '4', '8', '164', '0', '23', '37', '24', '21', '22'),
+('4', '4', '9', '181', '0', '24', '38', '25', '21', '23'),
+('4', '4', '10', '198', '0', '24', '40', '26', '22', '23'),
+('4', '4', '11', '215', '0', '25', '41', '27', '22', '24'),
+('4', '4', '12', '232', '0', '26', '42', '27', '22', '24'),
+('4', '4', '13', '249', '0', '27', '44', '28', '22', '24'),
+('4', '4', '14', '266', '0', '27', '45', '29', '22', '25'),
+('4', '4', '15', '283', '0', '28', '47', '29', '23', '25'),
+('4', '4', '16', '301', '0', '29', '48', '30', '23', '26'),
+('4', '4', '17', '320', '0', '30', '49', '31', '23', '26'),
+('4', '4', '18', '340', '0', '31', '51', '32', '23', '26'),
+('4', '4', '19', '361', '0', '32', '53', '32', '23', '27'),
+('4', '4', '20', '383', '0', '32', '54', '33', '24', '27'),
+('4', '4', '21', '406', '0', '33', '56', '34', '24', '28'),
+('4', '4', '22', '430', '0', '34', '57', '35', '24', '28'),
+('4', '4', '23', '455', '0', '35', '59', '36', '24', '29'),
+('4', '4', '24', '481', '0', '36', '60', '36', '25', '29'),
+('4', '4', '25', '508', '0', '37', '62', '37', '25', '30'),
+('4', '4', '26', '536', '0', '38', '64', '38', '25', '30'),
+('4', '4', '27', '565', '0', '39', '65', '39', '25', '30'),
+('4', '4', '28', '595', '0', '40', '67', '40', '25', '31'),
+('4', '4', '29', '626', '0', '40', '69', '41', '26', '31'),
+('4', '4', '30', '658', '0', '41', '71', '41', '26', '32'),
+('4', '4', '31', '691', '0', '42', '72', '42', '26', '32'),
+('4', '4', '32', '725', '0', '43', '74', '43', '26', '33'),
+('4', '4', '33', '760', '0', '44', '76', '44', '27', '33'),
+('4', '4', '34', '796', '0', '45', '78', '45', '27', '34'),
+('4', '4', '35', '833', '0', '46', '80', '46', '27', '34'),
+('4', '4', '36', '871', '0', '48', '82', '47', '28', '35'),
+('4', '4', '37', '910', '0', '49', '83', '48', '28', '36'),
+('4', '4', '38', '950', '0', '50', '85', '49', '28', '36'),
+('4', '4', '39', '991', '0', '51', '87', '50', '28', '37'),
+('4', '4', '40', '1033', '0', '52', '89', '51', '29', '37'),
+('4', '4', '41', '1076', '0', '53', '91', '52', '29', '38'),
+('4', '4', '42', '1120', '0', '54', '93', '53', '29', '38'),
+('4', '4', '43', '1165', '0', '55', '95', '54', '29', '39'),
+('4', '4', '44', '1211', '0', '56', '98', '55', '30', '39'),
+('4', '4', '45', '1258', '0', '58', '100', '56', '30', '40'),
+('4', '4', '46', '1306', '0', '59', '102', '57', '30', '41'),
+('4', '4', '47', '1355', '0', '60', '104', '58', '31', '41'),
+('4', '4', '48', '1405', '0', '61', '106', '59', '31', '42'),
+('4', '4', '49', '1456', '0', '62', '108', '61', '31', '43'),
+('4', '4', '50', '1508', '0', '64', '111', '62', '32', '43'),
+('4', '4', '51', '1561', '0', '65', '113', '63', '32', '44'),
+('4', '4', '52', '1615', '0', '66', '115', '64', '32', '44'),
+('4', '4', '53', '1670', '0', '67', '118', '65', '33', '45'),
+('4', '4', '54', '1726', '0', '69', '120', '66', '33', '46'),
+('4', '4', '55', '1783', '0', '70', '122', '68', '33', '46'),
+('4', '4', '56', '1841', '0', '71', '125', '69', '34', '47'),
+('4', '4', '57', '1900', '0', '73', '127', '70', '34', '48'),
+('4', '4', '58', '1960', '0', '74', '130', '71', '34', '49'),
+('4', '4', '59', '2021', '0', '76', '132', '73', '35', '49'),
+('4', '4', '60', '2083', '0', '77', '135', '74', '35', '50'),
+('4', '5', '1', '51', '160', '17', '25', '19', '23', '22'),
+('4', '5', '2', '66', '184', '17', '25', '19', '23', '24'),
+('4', '5', '3', '72', '209', '17', '25', '20', '24', '25'),
+('4', '5', '4', '87', '235', '18', '26', '20', '25', '27'),
+('4', '5', '5', '102', '262', '18', '26', '20', '27', '28'),
+('4', '5', '6', '117', '290', '18', '26', '21', '28', '29'),
+('4', '5', '7', '132', '319', '18', '26', '21', '29', '30'),
+('4', '5', '8', '147', '349', '18', '27', '21', '30', '31'),
+('4', '5', '9', '162', '380', '18', '27', '22', '31', '33'),
+('4', '5', '10', '177', '427', '19', '27', '22', '33', '34'),
+('4', '5', '11', '192', '445', '19', '27', '23', '34', '35'),
+('4', '5', '12', '207', '479', '19', '28', '23', '35', '37'),
+('4', '5', '13', '222', '514', '19', '28', '23', '36', '38'),
+('4', '5', '14', '237', '550', '19', '28', '24', '38', '39'),
+('4', '5', '15', '252', '587', '20', '28', '24', '39', '41'),
+('4', '5', '16', '267', '625', '20', '29', '25', '40', '42'),
+('4', '5', '17', '282', '679', '20', '29', '25', '42', '43'),
+('4', '5', '18', '297', '704', '20', '29', '25', '43', '45'),
+('4', '5', '19', '312', '745', '20', '30', '26', '44', '46'),
+('4', '5', '20', '327', '787', '21', '30', '26', '46', '48'),
+('4', '5', '21', '342', '830', '21', '30', '27', '47', '49'),
+('4', '5', '22', '358', '889', '21', '30', '27', '49', '51'),
+('4', '5', '23', '375', '919', '21', '31', '28', '50', '52'),
+('4', '5', '24', '393', '980', '22', '31', '28', '52', '54'),
+('4', '5', '25', '412', '1012', '22', '31', '29', '53', '55'),
+('4', '5', '26', '432', '1075', '22', '32', '29', '55', '57'),
+('4', '5', '27', '453', '1109', '22', '32', '29', '56', '59'),
+('4', '5', '28', '475', '1174', '22', '32', '30', '58', '60'),
+('4', '5', '29', '498', '1210', '23', '33', '30', '59', '62'),
+('4', '5', '30', '522', '1262', '23', '33', '31', '61', '64'),
+('4', '5', '31', '547', '1330', '23', '33', '31', '63', '65'),
+('4', '5', '32', '573', '1369', '23', '34', '32', '64', '67'),
+('4', '5', '33', '600', '1438', '24', '34', '32', '66', '69'),
+('4', '5', '34', '628', '1492', '24', '34', '33', '68', '70'),
+('4', '5', '35', '657', '1531', '24', '35', '33', '69', '72'),
+('4', '5', '36', '687', '1585', '25', '35', '34', '71', '74'),
+('4', '5', '37', '718', '1654', '25', '35', '35', '73', '76'),
+('4', '5', '38', '750', '1708', '25', '36', '35', '75', '78'),
+('4', '5', '39', '783', '1747', '25', '36', '36', '76', '80'),
+('4', '5', '40', '817', '1801', '26', '36', '36', '78', '81'),
+('4', '5', '41', '852', '1870', '26', '37', '37', '80', '83'),
+('4', '5', '42', '888', '1924', '26', '37', '37', '82', '85'),
+('4', '5', '43', '925', '1978', '26', '38', '38', '84', '87'),
+('4', '5', '44', '963', '2032', '27', '38', '38', '86', '89'),
+('4', '5', '45', '1002', '2086', '27', '38', '39', '88', '91'),
+('4', '5', '46', '1042', '2140', '27', '39', '40', '90', '93'),
+('4', '5', '47', '1083', '2194', '28', '39', '40', '92', '95'),
+('4', '5', '48', '1125', '2248', '28', '40', '41', '94', '98'),
+('4', '5', '49', '1168', '2302', '28', '40', '42', '96', '100'),
+('4', '5', '50', '1212', '2356', '29', '40', '42', '98', '102'),
+('4', '5', '51', '1257', '2410', '29', '41', '43', '100', '104'),
+('4', '5', '52', '1303', '2464', '29', '41', '43', '102', '106'),
+('4', '5', '53', '1350', '2518', '30', '42', '44', '104', '108'),
+('4', '5', '54', '1398', '2572', '30', '42', '45', '106', '111'),
+('4', '5', '55', '1447', '2626', '30', '43', '45', '109', '113'),
+('4', '5', '56', '1497', '2680', '31', '43', '46', '111', '115'),
+('4', '5', '57', '1548', '2734', '31', '44', '47', '113', '118'),
+('4', '5', '58', '1600', '2788', '31', '44', '48', '115', '120'),
+('4', '5', '59', '1653', '2842', '32', '45', '48', '118', '123'),
+('4', '5', '60', '1707', '2896', '32', '45', '49', '120', '125'),
+('4', '11', '1', '53', '100', '18', '25', '19', '22', '22'),
+('4', '11', '2', '61', '122', '19', '25', '20', '23', '23'),
+('4', '11', '3', '78', '145', '19', '26', '20', '24', '24'),
+('4', '11', '4', '95', '169', '20', '26', '21', '25', '25'),
+('4', '11', '5', '112', '194', '20', '27', '21', '26', '26'),
+('4', '11', '6', '129', '220', '21', '27', '22', '27', '27'),
+('4', '11', '7', '146', '247', '21', '28', '23', '28', '28'),
+('4', '11', '8', '163', '260', '22', '28', '23', '28', '29'),
+('4', '11', '9', '180', '289', '22', '29', '24', '29', '30'),
+('4', '11', '10', '197', '319', '23', '29', '24', '30', '31'),
+('4', '11', '11', '214', '350', '23', '30', '25', '31', '33'),
+('4', '11', '12', '231', '382', '24', '30', '26', '32', '34'),
+('4', '11', '13', '248', '415', '24', '31', '26', '33', '35'),
+('4', '11', '14', '265', '449', '25', '31', '27', '34', '36'),
+('4', '11', '15', '282', '499', '26', '32', '28', '36', '37'),
+('4', '11', '16', '299', '535', '26', '32', '28', '37', '38'),
+('4', '11', '17', '316', '572', '27', '33', '29', '38', '40'),
+('4', '11', '18', '334', '610', '27', '34', '30', '39', '41'),
+('4', '11', '19', '353', '649', '28', '34', '30', '40', '42'),
+('4', '11', '20', '373', '689', '29', '35', '31', '41', '43'),
+('4', '11', '21', '394', '730', '29', '35', '32', '42', '45'),
+('4', '11', '22', '416', '757', '30', '36', '33', '43', '46'),
+('4', '11', '23', '439', '800', '31', '37', '33', '44', '47'),
+('4', '11', '24', '463', '859', '31', '37', '34', '46', '49'),
+('4', '11', '25', '488', '904', '32', '38', '35', '47', '50'),
+('4', '11', '26', '514', '949', '33', '38', '36', '48', '51'),
+('4', '11', '27', '541', '979', '33', '39', '36', '49', '53'),
+('4', '11', '28', '569', '1024', '34', '40', '37', '50', '54'),
+('4', '11', '29', '598', '1084', '35', '40', '38', '52', '56'),
+('4', '11', '30', '628', '1129', '35', '41', '39', '53', '57'),
+('4', '11', '31', '659', '1159', '36', '42', '40', '54', '58'),
+('4', '11', '32', '691', '1219', '37', '42', '41', '56', '60'),
+('4', '11', '33', '724', '1264', '38', '43', '41', '57', '61'),
+('4', '11', '34', '758', '1294', '38', '44', '42', '58', '63'),
+('4', '11', '35', '793', '1354', '39', '44', '43', '60', '64'),
+('4', '11', '36', '829', '1384', '40', '45', '44', '61', '66'),
+('4', '11', '37', '866', '1429', '41', '46', '45', '62', '68'),
+('4', '11', '38', '904', '1489', '42', '46', '46', '64', '69'),
+('4', '11', '39', '943', '1519', '42', '47', '47', '65', '71'),
+('4', '11', '40', '983', '1579', '43', '48', '48', '67', '72'),
+('4', '11', '41', '1024', '1609', '44', '49', '49', '68', '74'),
+('4', '11', '42', '1066', '1669', '45', '49', '50', '70', '76'),
+('4', '11', '43', '1109', '1699', '46', '50', '51', '71', '77'),
+('4', '11', '44', '1153', '1759', '47', '51', '51', '73', '79'),
+('4', '11', '45', '1198', '1789', '47', '52', '52', '74', '81'),
+('4', '11', '46', '1244', '1849', '48', '53', '53', '76', '83'),
+('4', '11', '47', '1291', '1879', '49', '53', '55', '77', '84'),
+('4', '11', '48', '1339', '1924', '50', '54', '56', '79', '86'),
+('4', '11', '49', '1388', '1984', '51', '55', '57', '81', '88'),
+('4', '11', '50', '1438', '2014', '52', '56', '58', '82', '90'),
+('4', '11', '51', '1489', '2059', '53', '57', '59', '84', '92'),
+('4', '11', '52', '1541', '2119', '54', '58', '60', '86', '94'),
+('4', '11', '53', '1594', '2149', '55', '59', '61', '87', '96'),
+('4', '11', '54', '1648', '2194', '56', '59', '62', '89', '98'),
+('4', '11', '55', '1703', '2239', '57', '60', '63', '91', '100'),
+('4', '11', '56', '1759', '2284', '58', '61', '64', '93', '102'),
+('4', '11', '57', '1816', '2329', '59', '62', '65', '94', '104'),
+('4', '11', '58', '1874', '2374', '60', '63', '67', '96', '106'),
+('4', '11', '59', '1933', '2419', '61', '64', '68', '98', '108'),
+('4', '11', '60', '1993', '2464', '62', '65', '69', '100', '110'),
+('5', '1', '1', '70', '0', '22', '18', '23', '25', '18'),
+('5', '1', '2', '89', '0', '23', '19', '24', '18', '25'),
+('5', '1', '3', '108', '0', '24', '19', '25', '18', '26'),
+('5', '1', '4', '127', '0', '25', '20', '26', '18', '26'),
+('5', '1', '5', '146', '0', '27', '21', '27', '18', '26'),
+('5', '1', '6', '165', '0', '28', '22', '28', '19', '26'),
+('5', '1', '7', '184', '0', '29', '22', '29', '19', '27'),
+('5', '1', '8', '203', '0', '30', '23', '30', '19', '27'),
+('5', '1', '9', '222', '0', '31', '24', '31', '19', '27'),
+('5', '1', '10', '241', '0', '32', '24', '32', '19', '28'),
+('5', '1', '11', '260', '0', '34', '25', '34', '19', '28'),
+('5', '1', '12', '279', '0', '35', '26', '35', '19', '28'),
+('5', '1', '13', '298', '0', '36', '27', '36', '19', '29'),
+('5', '1', '14', '318', '0', '38', '28', '37', '20', '29'),
+('5', '1', '15', '339', '0', '39', '28', '38', '20', '29'),
+('5', '1', '16', '361', '0', '40', '29', '39', '20', '30'),
+('5', '1', '17', '384', '0', '41', '30', '41', '20', '30'),
+('5', '1', '18', '408', '0', '43', '31', '42', '20', '30'),
+('5', '1', '19', '433', '0', '44', '32', '43', '20', '31'),
+('5', '1', '20', '459', '0', '46', '33', '44', '20', '31'),
+('5', '1', '21', '486', '0', '47', '33', '46', '21', '31'),
+('5', '1', '22', '514', '0', '48', '34', '47', '21', '32'),
+('5', '1', '23', '543', '0', '50', '35', '48', '21', '32'),
+('5', '1', '24', '573', '0', '51', '36', '50', '21', '33'),
+('5', '1', '25', '604', '0', '53', '37', '51', '21', '33'),
+('5', '1', '26', '636', '0', '54', '38', '52', '21', '33'),
+('5', '1', '27', '669', '0', '56', '39', '54', '21', '34'),
+('5', '1', '28', '703', '0', '57', '40', '55', '22', '34'),
+('5', '1', '29', '738', '0', '59', '41', '57', '22', '35'),
+('5', '1', '30', '774', '0', '61', '42', '58', '22', '35'),
+('5', '1', '31', '811', '0', '62', '43', '59', '22', '35'),
+('5', '1', '32', '849', '0', '64', '44', '61', '22', '36'),
+('5', '1', '33', '888', '0', '65', '45', '62', '22', '36'),
+('5', '1', '34', '928', '0', '67', '46', '64', '23', '37'),
+('5', '1', '35', '969', '0', '69', '47', '65', '23', '37'),
+('5', '1', '36', '1011', '0', '71', '48', '67', '23', '38'),
+('5', '1', '37', '1055', '0', '72', '49', '69', '23', '38'),
+('5', '1', '38', '1101', '0', '74', '50', '70', '23', '38'),
+('5', '1', '39', '1149', '0', '76', '51', '72', '24', '39'),
+('5', '1', '40', '1199', '0', '78', '52', '73', '24', '39'),
+('5', '1', '41', '1251', '0', '79', '54', '75', '24', '40'),
+('5', '1', '42', '1305', '0', '81', '55', '77', '24', '40'),
+('5', '1', '43', '1361', '0', '83', '56', '78', '24', '41'),
+('5', '1', '44', '1419', '0', '85', '57', '80', '24', '41'),
+('5', '1', '45', '1479', '0', '87', '58', '82', '25', '42'),
+('5', '1', '46', '1541', '0', '89', '59', '84', '25', '42'),
+('5', '1', '47', '1605', '0', '91', '61', '85', '25', '43'),
+('5', '1', '48', '1671', '0', '93', '62', '87', '25', '43'),
+('5', '1', '49', '1739', '0', '95', '63', '89', '26', '44'),
+('5', '1', '50', '1809', '0', '97', '64', '91', '26', '44'),
+('5', '1', '51', '1881', '0', '99', '66', '93', '26', '45'),
+('5', '1', '52', '1955', '0', '101', '67', '95', '26', '45'),
+('5', '1', '53', '2031', '0', '103', '68', '97', '26', '46'),
+('5', '1', '54', '2109', '0', '105', '70', '99', '27', '47'),
+('5', '1', '55', '2189', '0', '108', '71', '101', '27', '47'),
+('5', '1', '56', '2271', '0', '110', '72', '103', '27', '48'),
+('5', '1', '57', '2355', '0', '112', '74', '105', '27', '48'),
+('5', '1', '58', '2441', '0', '114', '75', '107', '28', '49'),
+('5', '1', '59', '2529', '0', '117', '77', '109', '28', '49'),
+('5', '1', '60', '2619', '0', '119', '78', '111', '28', '50'),
+('5', '4', '1', '65', '0', '20', '21', '22', '25', '18'),
+('5', '4', '2', '82', '0', '21', '22', '23', '18', '25'),
+('5', '4', '3', '99', '0', '21', '23', '23', '18', '26'),
+('5', '4', '4', '116', '0', '22', '25', '24', '19', '26'),
+('5', '4', '5', '133', '0', '23', '26', '25', '19', '26'),
+('5', '4', '6', '150', '0', '23', '27', '25', '19', '27'),
+('5', '4', '7', '167', '0', '24', '29', '26', '19', '27'),
+('5', '4', '8', '184', '0', '25', '30', '26', '19', '27'),
+('5', '4', '9', '201', '0', '26', '31', '27', '19', '28'),
+('5', '4', '10', '218', '0', '26', '33', '28', '20', '28'),
+('5', '4', '11', '235', '0', '27', '34', '29', '20', '29'),
+('5', '4', '12', '252', '0', '28', '35', '29', '20', '29'),
+('5', '4', '13', '269', '0', '29', '37', '30', '20', '29'),
+('5', '4', '14', '286', '0', '29', '38', '31', '20', '30'),
+('5', '4', '15', '303', '0', '30', '40', '31', '21', '30'),
+('5', '4', '16', '321', '0', '31', '41', '32', '21', '31'),
+('5', '4', '17', '340', '0', '32', '42', '33', '21', '31'),
+('5', '4', '18', '360', '0', '33', '44', '34', '21', '31'),
+('5', '4', '19', '381', '0', '34', '46', '34', '21', '32'),
+('5', '4', '20', '403', '0', '34', '47', '35', '22', '32'),
+('5', '4', '21', '426', '0', '35', '49', '36', '22', '33'),
+('5', '4', '22', '450', '0', '36', '50', '37', '22', '33'),
+('5', '4', '23', '475', '0', '37', '52', '38', '22', '34'),
+('5', '4', '24', '501', '0', '38', '53', '38', '23', '34'),
+('5', '4', '25', '528', '0', '39', '55', '39', '23', '35'),
+('5', '4', '26', '556', '0', '40', '57', '40', '23', '35'),
+('5', '4', '27', '585', '0', '41', '58', '41', '23', '35'),
+('5', '4', '28', '615', '0', '42', '60', '42', '23', '36'),
+('5', '4', '29', '646', '0', '42', '62', '43', '24', '36'),
+('5', '4', '30', '678', '0', '43', '64', '43', '24', '37'),
+('5', '4', '31', '711', '0', '44', '65', '44', '24', '37'),
+('5', '4', '32', '745', '0', '45', '67', '45', '24', '38'),
+('5', '4', '33', '780', '0', '46', '69', '46', '25', '38'),
+('5', '4', '34', '816', '0', '47', '71', '47', '25', '39'),
+('5', '4', '35', '853', '0', '48', '73', '48', '25', '39'),
+('5', '4', '36', '891', '0', '50', '75', '49', '26', '40'),
+('5', '4', '37', '930', '0', '51', '76', '50', '26', '41'),
+('5', '4', '38', '970', '0', '52', '78', '51', '26', '41'),
+('5', '4', '39', '1011', '0', '53', '80', '52', '26', '42'),
+('5', '4', '40', '1053', '0', '54', '82', '53', '27', '42'),
+('5', '4', '41', '1096', '0', '55', '84', '54', '27', '43'),
+('5', '4', '42', '1140', '0', '56', '86', '55', '27', '43'),
+('5', '4', '43', '1185', '0', '57', '88', '56', '27', '44'),
+('5', '4', '44', '1231', '0', '58', '91', '57', '28', '44'),
+('5', '4', '45', '1278', '0', '60', '93', '58', '28', '45'),
+('5', '4', '46', '1326', '0', '61', '95', '59', '28', '46'),
+('5', '4', '47', '1375', '0', '62', '97', '60', '29', '46'),
+('5', '4', '48', '1425', '0', '63', '99', '61', '29', '47'),
+('5', '4', '49', '1476', '0', '64', '101', '63', '29', '48'),
+('5', '4', '50', '1528', '0', '66', '104', '64', '30', '48'),
+('5', '4', '51', '1581', '0', '67', '106', '65', '30', '49'),
+('5', '4', '52', '1635', '0', '68', '108', '66', '30', '49'),
+('5', '4', '53', '1690', '0', '69', '111', '67', '31', '50'),
+('5', '4', '54', '1746', '0', '71', '113', '68', '31', '51'),
+('5', '4', '55', '1803', '0', '72', '115', '70', '31', '51'),
+('5', '4', '56', '1861', '0', '73', '118', '71', '32', '52'),
+('5', '4', '57', '1920', '0', '75', '120', '72', '32', '53'),
+('5', '4', '58', '1980', '0', '76', '123', '73', '32', '54'),
+('5', '4', '59', '2041', '0', '78', '125', '75', '33', '54'),
+('5', '4', '60', '2103', '0', '79', '128', '76', '33', '55'),
+('5', '5', '1', '62', '130', '19', '18', '21', '28', '20'),
+('5', '5', '2', '77', '154', '19', '18', '21', '21', '29'),
+('5', '5', '3', '92', '179', '19', '18', '22', '22', '30'),
+('5', '5', '4', '107', '205', '20', '19', '22', '23', '32'),
+('5', '5', '5', '122', '232', '20', '19', '22', '25', '33'),
+('5', '5', '6', '137', '260', '20', '19', '23', '26', '34'),
+('5', '5', '7', '152', '289', '20', '19', '23', '27', '35'),
+('5', '5', '8', '167', '319', '20', '20', '23', '28', '36'),
+('5', '5', '9', '182', '350', '20', '20', '24', '29', '38'),
+('5', '5', '10', '197', '397', '21', '20', '24', '31', '39'),
+('5', '5', '11', '212', '415', '21', '20', '25', '32', '40'),
+('5', '5', '12', '227', '449', '21', '21', '25', '33', '42'),
+('5', '5', '13', '242', '484', '21', '21', '25', '34', '43'),
+('5', '5', '14', '257', '520', '21', '21', '26', '36', '44'),
+('5', '5', '15', '272', '557', '22', '21', '26', '37', '46'),
+('5', '5', '16', '287', '595', '22', '22', '27', '38', '47'),
+('5', '5', '17', '302', '649', '22', '22', '27', '40', '48'),
+('5', '5', '18', '317', '674', '22', '22', '27', '41', '50'),
+('5', '5', '19', '332', '715', '22', '23', '28', '42', '51'),
+('5', '5', '20', '347', '757', '23', '23', '28', '44', '53'),
+('5', '5', '21', '362', '800', '23', '23', '29', '45', '54'),
+('5', '5', '22', '378', '859', '23', '23', '29', '47', '56'),
+('5', '5', '23', '395', '889', '23', '24', '30', '48', '57'),
+('5', '5', '24', '413', '950', '24', '24', '30', '50', '59'),
+('5', '5', '25', '432', '982', '24', '24', '31', '51', '60'),
+('5', '5', '26', '452', '1045', '24', '25', '31', '53', '62'),
+('5', '5', '27', '473', '1079', '24', '25', '31', '54', '64'),
+('5', '5', '28', '495', '1144', '24', '25', '32', '56', '65'),
+('5', '5', '29', '518', '1180', '25', '26', '32', '57', '67'),
+('5', '5', '30', '542', '1232', '25', '26', '33', '59', '69'),
+('5', '5', '31', '567', '1300', '25', '26', '33', '61', '70'),
+('5', '5', '32', '593', '1339', '25', '27', '34', '62', '72'),
+('5', '5', '33', '620', '1408', '26', '27', '34', '64', '74'),
+('5', '5', '34', '648', '1462', '26', '27', '35', '66', '75'),
+('5', '5', '35', '677', '1501', '26', '28', '35', '67', '77'),
+('5', '5', '36', '707', '1555', '27', '28', '36', '69', '79'),
+('5', '5', '37', '738', '1624', '27', '28', '37', '71', '81'),
+('5', '5', '38', '770', '1678', '27', '29', '37', '73', '83'),
+('5', '5', '39', '803', '1717', '27', '29', '38', '74', '85'),
+('5', '5', '40', '837', '1771', '28', '29', '38', '76', '86'),
+('5', '5', '41', '872', '1840', '28', '30', '39', '78', '88'),
+('5', '5', '42', '908', '1894', '28', '30', '39', '80', '90'),
+('5', '5', '43', '945', '1948', '28', '31', '40', '82', '92'),
+('5', '5', '44', '983', '2002', '29', '31', '40', '84', '94'),
+('5', '5', '45', '1022', '2056', '29', '31', '41', '86', '96'),
+('5', '5', '46', '1062', '2110', '29', '32', '42', '88', '98'),
+('5', '5', '47', '1103', '2164', '30', '32', '42', '90', '100'),
+('5', '5', '48', '1145', '2218', '30', '33', '43', '92', '103'),
+('5', '5', '49', '1188', '2272', '30', '33', '44', '94', '105'),
+('5', '5', '50', '1232', '2326', '31', '33', '44', '96', '107'),
+('5', '5', '51', '1277', '2380', '31', '34', '45', '98', '109'),
+('5', '5', '52', '1323', '2434', '31', '34', '45', '100', '111'),
+('5', '5', '53', '1370', '2488', '32', '35', '46', '102', '113'),
+('5', '5', '54', '1418', '2542', '32', '35', '47', '104', '116'),
+('5', '5', '55', '1467', '2596', '32', '36', '47', '107', '118'),
+('5', '5', '56', '1517', '2650', '33', '36', '48', '109', '120'),
+('5', '5', '57', '1568', '2704', '33', '37', '49', '111', '123'),
+('5', '5', '58', '1620', '2758', '33', '37', '50', '113', '125'),
+('5', '5', '59', '1673', '2812', '34', '38', '50', '116', '128'),
+('5', '5', '60', '1727', '2866', '34', '38', '51', '118', '130'),
+('5', '8', '1', '62', '135', '19', '18', '21', '27', '21'),
+('5', '8', '2', '77', '160', '19', '18', '21', '22', '28'),
+('5', '8', '3', '92', '186', '19', '18', '22', '23', '29'),
+('5', '8', '4', '107', '213', '19', '19', '22', '25', '30'),
+('5', '8', '5', '122', '241', '19', '19', '22', '26', '32'),
+('5', '8', '6', '137', '270', '20', '19', '22', '27', '33'),
+('5', '8', '7', '152', '300', '20', '19', '23', '28', '34'),
+('5', '8', '8', '167', '316', '20', '19', '23', '29', '35'),
+('5', '8', '9', '182', '363', '20', '19', '23', '31', '36'),
+('5', '8', '10', '197', '396', '20', '20', '24', '32', '38'),
+('5', '8', '11', '212', '430', '20', '20', '24', '33', '39'),
+('5', '8', '12', '227', '465', '20', '20', '24', '35', '40'),
+('5', '8', '13', '242', '501', '20', '20', '25', '36', '41'),
+('5', '8', '14', '257', '538', '21', '20', '25', '37', '43'),
+('5', '8', '15', '272', '576', '21', '21', '25', '39', '44'),
+('5', '8', '16', '287', '615', '21', '21', '26', '40', '45'),
+('5', '8', '17', '302', '640', '21', '21', '26', '41', '47'),
+('5', '8', '18', '317', '696', '21', '21', '26', '43', '48'),
+('5', '8', '19', '332', '723', '21', '21', '27', '44', '49'),
+('5', '8', '20', '347', '781', '21', '22', '27', '46', '51'),
+('5', '8', '21', '362', '810', '22', '22', '27', '47', '52'),
+('5', '8', '22', '377', '870', '22', '22', '28', '49', '54'),
+('5', '8', '23', '392', '901', '22', '22', '28', '50', '55'),
+('5', '8', '24', '408', '963', '22', '23', '29', '52', '57'),
+('5', '8', '25', '425', '996', '22', '23', '29', '53', '58'),
+('5', '8', '26', '443', '1060', '22', '23', '29', '55', '60'),
+('5', '8', '27', '462', '1110', '22', '23', '30', '57', '61'),
+('5', '8', '28', '482', '1146', '23', '23', '30', '58', '63'),
+('5', '8', '29', '503', '1212', '23', '24', '31', '60', '64'),
+('5', '8', '30', '525', '1263', '23', '24', '31', '62', '66'),
+('5', '8', '31', '548', '1299', '23', '24', '31', '63', '68'),
+('5', '8', '32', '572', '1365', '23', '24', '32', '65', '69'),
+('5', '8', '33', '597', '1416', '23', '25', '32', '67', '71'),
+('5', '8', '34', '623', '1452', '24', '25', '33', '68', '73'),
+('5', '8', '35', '650', '1503', '24', '25', '33', '70', '74'),
+('5', '8', '36', '678', '1554', '24', '26', '34', '72', '76'),
+('5', '8', '37', '707', '1620', '24', '26', '34', '74', '78'),
+('5', '8', '38', '737', '1671', '24', '26', '34', '76', '80'),
+('5', '8', '39', '768', '1722', '25', '26', '35', '78', '81'),
+('5', '8', '40', '800', '1758', '25', '27', '35', '79', '83'),
+('5', '8', '41', '833', '1809', '25', '27', '36', '81', '85'),
+('5', '8', '42', '867', '1860', '25', '27', '36', '83', '87'),
+('5', '8', '43', '902', '1911', '25', '27', '37', '85', '89'),
+('5', '8', '44', '938', '1962', '25', '28', '37', '87', '91'),
+('5', '8', '45', '975', '2013', '26', '28', '38', '89', '93'),
+('5', '8', '46', '1013', '2064', '26', '28', '38', '91', '95'),
+('5', '8', '47', '1052', '2115', '26', '29', '39', '93', '97'),
+('5', '8', '48', '1092', '2181', '26', '29', '39', '96', '99'),
+('5', '8', '49', '1133', '2232', '27', '29', '40', '98', '101'),
+('5', '8', '50', '1175', '2268', '27', '30', '40', '100', '103'),
+('5', '8', '51', '1218', '2319', '27', '30', '41', '102', '105'),
+('5', '8', '52', '1262', '2370', '27', '30', '41', '104', '107'),
+('5', '8', '53', '1307', '2421', '27', '31', '42', '106', '109'),
+('5', '8', '54', '1353', '2472', '28', '31', '43', '109', '111'),
+('5', '8', '55', '1400', '2523', '28', '31', '43', '111', '114'),
+('5', '8', '56', '1448', '2574', '28', '32', '44', '113', '116'),
+('5', '8', '57', '1497', '2625', '28', '32', '44', '116', '118'),
+('5', '8', '58', '1547', '2676', '29', '32', '45', '118', '120'),
+('5', '8', '59', '1598', '2727', '29', '33', '45', '121', '123'),
+('5', '8', '60', '1650', '2778', '29', '33', '46', '123', '125'),
+('5', '9', '1', '63', '110', '19', '18', '22', '27', '20'),
+('5', '9', '2', '78', '133', '19', '18', '23', '21', '28'),
+('5', '9', '3', '93', '157', '20', '19', '23', '22', '29'),
+('5', '9', '4', '108', '182', '20', '19', '24', '23', '30'),
+('5', '9', '5', '123', '208', '20', '19', '24', '24', '31'),
+('5', '9', '6', '138', '235', '20', '20', '25', '25', '32'),
+('5', '9', '7', '153', '263', '21', '20', '25', '26', '34'),
+('5', '9', '8', '168', '292', '21', '20', '26', '27', '35'),
+('5', '9', '9', '183', '322', '21', '21', '26', '28', '36'),
+('5', '9', '10', '198', '353', '22', '21', '27', '29', '37'),
+('5', '9', '11', '213', '385', '22', '22', '27', '31', '38'),
+('5', '9', '12', '228', '418', '22', '22', '28', '32', '39'),
+('5', '9', '13', '243', '452', '23', '22', '28', '33', '41'),
+('5', '9', '14', '258', '487', '23', '23', '29', '34', '42'),
+('5', '9', '15', '273', '523', '23', '23', '30', '35', '43'),
+('5', '9', '16', '288', '560', '24', '24', '30', '36', '44'),
+('5', '9', '17', '303', '598', '24', '24', '31', '38', '46'),
+('5', '9', '18', '319', '637', '24', '24', '31', '39', '47'),
+('5', '9', '19', '336', '677', '25', '25', '32', '40', '48'),
+('5', '9', '20', '354', '718', '25', '25', '33', '41', '50'),
+('5', '9', '21', '373', '760', '25', '26', '33', '43', '51'),
+('5', '9', '22', '393', '803', '26', '26', '34', '44', '52'),
+('5', '9', '23', '414', '847', '26', '27', '35', '45', '54'),
+('5', '9', '24', '436', '892', '27', '27', '35', '47', '55'),
+('5', '9', '25', '459', '938', '27', '28', '36', '48', '57'),
+('5', '9', '26', '483', '985', '27', '28', '37', '49', '58'),
+('5', '9', '27', '508', '1033', '28', '28', '37', '51', '59'),
+('5', '9', '28', '534', '1082', '28', '29', '38', '52', '61'),
+('5', '9', '29', '561', '1132', '29', '29', '39', '54', '62'),
+('5', '9', '30', '589', '1183', '29', '30', '39', '55', '64'),
+('5', '9', '31', '618', '1234', '29', '30', '40', '56', '66'),
+('5', '9', '32', '648', '1285', '30', '31', '41', '58', '67'),
+('5', '9', '33', '679', '1336', '30', '31', '42', '59', '69'),
+('5', '9', '34', '711', '1387', '31', '32', '42', '61', '70'),
+('5', '9', '35', '744', '1438', '31', '32', '43', '62', '72'),
+('5', '9', '36', '768', '1489', '32', '33', '43', '64', '75'),
+('5', '9', '37', '813', '1540', '32', '34', '45', '66', '75'),
+('5', '9', '38', '849', '1591', '32', '34', '46', '67', '77'),
+('5', '9', '39', '886', '1642', '33', '35', '46', '69', '79'),
+('5', '9', '40', '924', '1693', '33', '35', '47', '70', '80'),
+('5', '9', '41', '963', '1744', '34', '36', '48', '72', '82'),
+('5', '9', '42', '993', '1795', '34', '36', '48', '74', '85'),
+('5', '9', '43', '1044', '1846', '35', '37', '50', '75', '86'),
+('5', '9', '44', '1086', '1897', '35', '37', '51', '77', '87'),
+('5', '9', '45', '1129', '1948', '36', '38', '51', '79', '89'),
+('5', '9', '46', '1173', '1999', '36', '39', '52', '81', '90'),
+('5', '9', '47', '1218', '2050', '37', '39', '53', '82', '93'),
+('5', '9', '48', '1264', '2101', '37', '40', '54', '84', '95'),
+('5', '9', '49', '1311', '2152', '38', '41', '55', '86', '96'),
+('5', '9', '50', '1339', '2203', '38', '41', '56', '88', '99'),
+('5', '9', '51', '1398', '2254', '39', '42', '57', '90', '101'),
+('5', '9', '52', '1458', '2305', '39', '42', '58', '92', '103'),
+('5', '9', '53', '1509', '2356', '40', '43', '59', '94', '105'),
+('5', '9', '54', '1551', '2407', '41', '44', '60', '96', '107'),
+('5', '9', '55', '1594', '2458', '41', '44', '60', '98', '110'),
+('5', '9', '56', '1668', '2509', '42', '45', '62', '100', '111'),
+('5', '9', '57', '1723', '2560', '42', '46', '63', '102', '113'),
+('5', '9', '58', '1769', '2611', '43', '47', '63', '104', '116'),
+('5', '9', '59', '1836', '2662', '43', '47', '65', '106', '118'),
+('5', '9', '60', '1894', '2713', '44', '48', '66', '108', '120'),
+('6', '1', '1', '84', '0', '28', '15', '24', '22', '15'),
+('6', '1', '2', '103', '0', '29', '16', '25', '15', '22'),
+('6', '1', '3', '123', '0', '30', '16', '26', '15', '23'),
+('6', '1', '4', '144', '0', '31', '17', '27', '15', '23'),
+('6', '1', '5', '163', '0', '33', '18', '28', '15', '23'),
+('6', '1', '6', '183', '0', '34', '19', '29', '16', '23'),
+('6', '1', '7', '204', '0', '35', '19', '30', '16', '24'),
+('6', '1', '8', '223', '0', '36', '20', '31', '16', '24'),
+('6', '1', '9', '244', '0', '37', '21', '32', '16', '24'),
+('6', '1', '10', '264', '0', '38', '21', '33', '16', '25'),
+('6', '1', '11', '283', '0', '40', '22', '35', '16', '25'),
+('6', '1', '12', '302', '0', '41', '23', '36', '16', '25'),
+('6', '1', '13', '322', '0', '42', '24', '37', '16', '26'),
+('6', '1', '14', '344', '0', '44', '25', '38', '17', '26'),
+('6', '1', '15', '365', '0', '45', '25', '39', '17', '26'),
+('6', '1', '16', '390', '0', '46', '26', '40', '17', '27'),
+('6', '1', '17', '414', '0', '47', '27', '42', '17', '27'),
+('6', '1', '18', '438', '0', '49', '28', '43', '17', '27'),
+('6', '1', '19', '466', '0', '50', '29', '44', '17', '28'),
+('6', '1', '20', '491', '0', '52', '30', '45', '17', '28'),
+('6', '1', '21', '520', '0', '53', '30', '47', '18', '28'),
+('6', '1', '22', '550', '0', '54', '31', '48', '18', '29'),
+('6', '1', '23', '580', '0', '56', '32', '49', '18', '29'),
+('6', '1', '24', '611', '0', '57', '33', '51', '18', '30'),
+('6', '1', '25', '645', '0', '59', '34', '52', '18', '30'),
+('6', '1', '26', '677', '0', '60', '35', '53', '18', '30'),
+('6', '1', '27', '713', '0', '62', '36', '55', '18', '31'),
+('6', '1', '28', '748', '0', '63', '37', '56', '19', '31'),
+('6', '1', '29', '785', '0', '65', '38', '58', '19', '32'),
+('6', '1', '30', '824', '0', '67', '39', '59', '19', '32'),
+('6', '1', '31', '861', '0', '68', '40', '60', '19', '32'),
+('6', '1', '32', '902', '0', '70', '41', '62', '19', '33'),
+('6', '1', '33', '942', '0', '71', '42', '63', '19', '33'),
+('6', '1', '34', '984', '0', '73', '43', '65', '20', '34'),
+('6', '1', '35', '1028', '0', '75', '44', '66', '20', '34'),
+('6', '1', '36', '1071', '0', '77', '45', '68', '20', '35'),
+('6', '1', '37', '1117', '0', '78', '46', '70', '20', '35'),
+('6', '1', '38', '1167', '0', '80', '47', '71', '20', '35'),
+('6', '1', '39', '1217', '0', '82', '48', '73', '21', '36'),
+('6', '1', '40', '1268', '0', '84', '49', '74', '21', '36'),
+('6', '1', '41', '1324', '0', '85', '51', '76', '21', '37'),
+('6', '1', '42', '1381', '0', '87', '52', '78', '21', '37'),
+('6', '1', '43', '1440', '0', '89', '53', '79', '21', '38'),
+('6', '1', '44', '1500', '0', '91', '54', '81', '21', '38'),
+('6', '1', '45', '1563', '0', '93', '55', '83', '22', '39'),
+('6', '1', '46', '1629', '0', '95', '56', '85', '22', '39'),
+('6', '1', '47', '1696', '0', '97', '58', '86', '22', '40'),
+('6', '1', '48', '1764', '0', '99', '59', '88', '22', '40'),
+('6', '1', '49', '1836', '0', '101', '60', '90', '23', '41'),
+('6', '1', '50', '1910', '0', '103', '61', '92', '23', '41'),
+('6', '1', '51', '1986', '0', '105', '63', '94', '23', '42'),
+('6', '1', '52', '2062', '0', '107', '64', '96', '23', '42'),
+('6', '1', '53', '2142', '0', '109', '65', '98', '23', '43'),
+('6', '1', '54', '2225', '0', '111', '67', '100', '24', '44'),
+('6', '1', '55', '2309', '0', '114', '68', '102', '24', '44'),
+('6', '1', '56', '2395', '0', '116', '69', '104', '24', '45'),
+('6', '1', '57', '2483', '0', '118', '71', '106', '24', '45'),
+('6', '1', '58', '2574', '0', '120', '72', '108', '25', '46'),
+('6', '1', '59', '2666', '0', '123', '74', '110', '25', '46'),
+('6', '1', '60', '2760', '0', '125', '75', '112', '25', '47'),
+('6', '3', '1', '80', '80', '25', '18', '23', '23', '15'),
+('6', '3', '2', '97', '86', '25', '19', '24', '16', '24'),
+('6', '3', '3', '115', '107', '26', '20', '25', '16', '24'),
+('6', '3', '4', '133', '115', '26', '22', '25', '17', '25'),
+('6', '3', '5', '151', '138', '27', '23', '26', '17', '25'),
+('6', '3', '6', '168', '148', '27', '24', '27', '18', '26'),
+('6', '3', '7', '186', '173', '27', '25', '28', '18', '26'),
+('6', '3', '8', '204', '185', '28', '26', '29', '19', '27'),
+('6', '3', '9', '223', '212', '28', '28', '30', '19', '28'),
+('6', '3', '10', '239', '226', '29', '29', '30', '20', '28'),
+('6', '3', '11', '257', '255', '29', '30', '31', '20', '29'),
+('6', '3', '12', '275', '285', '30', '32', '32', '21', '30'),
+('6', '3', '13', '294', '316', '30', '33', '33', '22', '30'),
+('6', '3', '14', '312', '348', '31', '34', '34', '22', '31'),
+('6', '3', '15', '333', '381', '31', '36', '35', '23', '31'),
+('6', '3', '16', '354', '415', '32', '37', '36', '23', '32'),
+('6', '3', '17', '375', '450', '32', '38', '37', '24', '33'),
+('6', '3', '18', '399', '486', '33', '40', '38', '25', '34'),
+('6', '3', '19', '424', '523', '33', '41', '39', '25', '34'),
+('6', '3', '20', '448', '561', '34', '43', '40', '26', '35'),
+('6', '3', '21', '475', '600', '34', '44', '41', '27', '36'),
+('6', '3', '22', '501', '640', '35', '46', '42', '27', '36'),
+('6', '3', '23', '530', '681', '35', '47', '43', '28', '37'),
+('6', '3', '24', '559', '723', '36', '49', '44', '29', '38'),
+('6', '3', '25', '590', '766', '36', '50', '45', '29', '39'),
+('6', '3', '26', '622', '810', '37', '52', '46', '30', '39'),
+('6', '3', '27', '653', '855', '37', '54', '47', '31', '40'),
+('6', '3', '28', '687', '900', '38', '55', '48', '31', '41'),
+('6', '3', '29', '722', '945', '38', '57', '49', '32', '42'),
+('6', '3', '30', '758', '990', '39', '59', '50', '33', '42'),
+('6', '3', '31', '795', '1035', '39', '60', '52', '34', '43'),
+('6', '3', '32', '832', '1080', '40', '62', '53', '34', '44'),
+('6', '3', '33', '871', '1125', '41', '64', '54', '35', '45'),
+('6', '3', '34', '910', '1170', '41', '65', '55', '36', '46'),
+('6', '3', '35', '952', '1215', '42', '67', '56', '37', '47'),
+('6', '3', '36', '994', '1260', '43', '69', '58', '38', '48'),
+('6', '3', '37', '1036', '1305', '43', '71', '59', '38', '48'),
+('6', '3', '38', '1082', '1350', '44', '73', '60', '39', '49'),
+('6', '3', '39', '1126', '1395', '44', '75', '61', '40', '50'),
+('6', '3', '40', '1172', '1440', '45', '76', '63', '41', '51'),
+('6', '3', '41', '1221', '1485', '46', '78', '64', '42', '52'),
+('6', '3', '42', '1268', '1530', '46', '80', '65', '42', '53'),
+('6', '3', '43', '1318', '1575', '47', '82', '66', '43', '54'),
+('6', '3', '44', '1368', '1620', '48', '84', '68', '44', '55'),
+('6', '3', '45', '1419', '1665', '48', '86', '69', '45', '56'),
+('6', '3', '46', '1473', '1710', '49', '88', '71', '46', '57'),
+('6', '3', '47', '1525', '1755', '50', '90', '72', '47', '58'),
+('6', '3', '48', '1580', '1800', '51', '93', '73', '48', '59'),
+('6', '3', '49', '1636', '1845', '51', '95', '75', '49', '60'),
+('6', '3', '50', '1692', '1890', '52', '97', '76', '50', '61'),
+('6', '3', '51', '1750', '1935', '53', '99', '78', '51', '62'),
+('6', '3', '52', '1809', '1980', '54', '101', '79', '52', '63'),
+('6', '3', '53', '1869', '2025', '54', '103', '81', '53', '64'),
+('6', '3', '54', '1930', '2070', '55', '106', '82', '54', '65'),
+('6', '3', '55', '1991', '2115', '56', '108', '84', '55', '66'),
+('6', '3', '56', '2054', '2160', '57', '110', '85', '56', '67'),
+('6', '3', '57', '2119', '2205', '58', '113', '87', '57', '69'),
+('6', '3', '58', '2184', '2250', '58', '115', '89', '58', '70'),
+('6', '3', '59', '2250', '2295', '59', '118', '90', '59', '71'),
+('6', '3', '60', '2318', '2340', '60', '120', '92', '60', '72'),
+('6', '7', '1', '81', '71', '26', '15', '23', '24', '16'),
+('6', '7', '2', '98', '78', '27', '15', '24', '17', '25'),
+('6', '7', '3', '117', '86', '27', '16', '25', '18', '26'),
+('6', '7', '4', '133', '109', '28', '16', '26', '18', '27'),
+('6', '7', '5', '152', '119', '29', '17', '26', '19', '28'),
+('6', '7', '6', '170', '130', '30', '17', '27', '20', '29'),
+('6', '7', '7', '188', '156', '31', '17', '28', '21', '30'),
+('6', '7', '8', '205', '183', '31', '18', '29', '22', '30'),
+('6', '7', '9', '223', '226', '32', '18', '30', '23', '31'),
+('6', '7', '10', '241', '240', '33', '19', '31', '23', '32'),
+('6', '7', '11', '259', '270', '34', '19', '32', '24', '33'),
+('6', '7', '12', '277', '301', '35', '20', '33', '25', '34'),
+('6', '7', '13', '294', '333', '35', '20', '34', '26', '35'),
+('6', '7', '14', '312', '366', '36', '21', '35', '27', '36'),
+('6', '7', '15', '330', '400', '37', '21', '36', '28', '38'),
+('6', '7', '16', '349', '435', '38', '22', '37', '29', '39'),
+('6', '7', '17', '367', '471', '39', '22', '38', '30', '40'),
+('6', '7', '18', '388', '508', '40', '23', '39', '31', '41'),
+('6', '7', '19', '409', '546', '41', '23', '40', '32', '42'),
+('6', '7', '20', '430', '585', '42', '24', '41', '33', '43'),
+('6', '7', '21', '454', '625', '43', '24', '42', '34', '44'),
+('6', '7', '22', '477', '666', '43', '25', '43', '35', '45'),
+('6', '7', '23', '503', '708', '44', '25', '44', '36', '46'),
+('6', '7', '24', '530', '789', '45', '26', '45', '37', '48'),
+('6', '7', '25', '556', '795', '46', '26', '47', '38', '49'),
+('6', '7', '26', '585', '840', '47', '27', '48', '39', '50'),
+('6', '7', '27', '614', '886', '48', '27', '49', '40', '51'),
+('6', '7', '28', '645', '933', '49', '28', '50', '41', '52'),
+('6', '7', '29', '677', '981', '50', '28', '51', '42', '54'),
+('6', '7', '30', '708', '1030', '51', '29', '52', '43', '55'),
+('6', '7', '31', '742', '1149', '53', '29', '54', '45', '56'),
+('6', '7', '32', '777', '1201', '54', '30', '55', '46', '58'),
+('6', '7', '33', '813', '1250', '55', '31', '56', '47', '59'),
+('6', '7', '34', '848', '1290', '56', '31', '57', '48', '60'),
+('6', '7', '35', '887', '1339', '57', '32', '59', '49', '62'),
+('6', '7', '36', '926', '1339', '58', '33', '60', '51', '63'),
+('6', '7', '37', '966', '1458', '59', '33', '61', '52', '64'),
+('6', '7', '38', '1007', '1471', '60', '34', '63', '53', '66'),
+('6', '7', '39', '1049', '1509', '61', '34', '64', '54', '67'),
+('6', '7', '40', '1092', '1612', '63', '35', '65', '56', '69'),
+('6', '7', '41', '1137', '1663', '64', '36', '67', '57', '70'),
+('6', '7', '42', '1181', '1700', '65', '36', '68', '58', '72'),
+('6', '7', '43', '1226', '1751', '66', '37', '70', '59', '73'),
+('6', '7', '44', '1275', '1818', '68', '38', '71', '61', '75'),
+('6', '7', '45', '1323', '1854', '69', '38', '73', '62', '76'),
+('6', '7', '46', '1373', '1921', '70', '39', '74', '64', '78'),
+('6', '7', '47', '1423', '1972', '71', '40', '76', '65', '79'),
+('6', '7', '48', '1474', '2008', '73', '41', '77', '66', '81'),
+('6', '7', '49', '1527', '2075', '74', '41', '79', '68', '83'),
+('6', '7', '50', '1579', '2111', '75', '42', '80', '69', '84'),
+('6', '7', '51', '1634', '2178', '77', '43', '82', '71', '86'),
+('6', '7', '52', '1691', '2230', '78', '44', '83', '72', '88'),
+('6', '7', '53', '1747', '2281', '80', '44', '85', '74', '89'),
+('6', '7', '54', '1805', '2304', '81', '45', '87', '75', '91'),
+('6', '7', '55', '1864', '2333', '82', '46', '88', '77', '93'),
+('6', '7', '56', '1923', '2384', '84', '47', '90', '78', '95'),
+('6', '7', '57', '1983', '2487', '85', '48', '92', '80', '96'),
+('6', '7', '58', '2045', '2538', '87', '48', '93', '82', '98'),
+('6', '7', '59', '2109', '2565', '88', '49', '95', '83', '100'),
+('6', '7', '60', '2174', '2590', '90', '50', '97', '85', '102'),
+('6', '11', '1', '78', '67', '26', '15', '22', '24', '17'),
+('6', '11', '2', '97', '75', '27', '15', '23', '18', '25'),
+('6', '11', '3', '113', '84', '27', '16', '23', '19', '26'),
+('6', '11', '4', '132', '94', '28', '16', '24', '20', '27'),
+('6', '11', '5', '150', '119', '28', '17', '24', '21', '28'),
+('6', '11', '6', '168', '145', '29', '17', '25', '22', '29'),
+('6', '11', '7', '185', '172', '29', '18', '26', '23', '30'),
+('6', '11', '8', '203', '185', '30', '18', '26', '23', '31'),
+('6', '11', '9', '221', '214', '30', '19', '27', '24', '32'),
+('6', '11', '10', '239', '244', '31', '19', '27', '25', '33'),
+('6', '11', '11', '257', '275', '31', '20', '28', '26', '35'),
+('6', '11', '12', '274', '307', '32', '20', '29', '27', '36'),
+('6', '11', '13', '292', '340', '32', '21', '29', '28', '37'),
+('6', '11', '14', '310', '374', '33', '21', '30', '29', '38'),
+('6', '11', '15', '329', '424', '34', '22', '31', '31', '39'),
+('6', '11', '16', '347', '460', '34', '22', '31', '32', '40'),
+('6', '11', '17', '365', '497', '35', '23', '32', '33', '42'),
+('6', '11', '18', '383', '535', '35', '24', '33', '34', '43'),
+('6', '11', '19', '402', '574', '36', '24', '33', '35', '44'),
+('6', '11', '20', '425', '614', '37', '25', '34', '36', '45'),
+('6', '11', '21', '447', '655', '37', '25', '35', '37', '47'),
+('6', '11', '22', '470', '682', '38', '26', '36', '38', '48'),
+('6', '11', '23', '494', '725', '39', '27', '36', '39', '49'),
+('6', '11', '24', '518', '784', '39', '27', '37', '41', '51'),
+('6', '11', '25', '544', '829', '40', '28', '38', '42', '52'),
+('6', '11', '26', '573', '874', '41', '28', '39', '43', '53'),
+('6', '11', '27', '601', '904', '41', '29', '39', '44', '55'),
+('6', '11', '28', '630', '949', '42', '30', '40', '45', '56'),
+('6', '11', '29', '659', '1009', '43', '30', '41', '47', '58'),
+('6', '11', '30', '691', '1054', '43', '31', '42', '48', '59'),
+('6', '11', '31', '723', '1084', '44', '32', '43', '49', '60'),
+('6', '11', '32', '757', '1144', '45', '32', '44', '51', '62'),
+('6', '11', '33', '793', '1189', '46', '33', '44', '52', '63'),
+('6', '11', '34', '827', '1219', '46', '34', '45', '53', '65'),
+('6', '11', '35', '864', '1279', '47', '34', '46', '55', '66'),
+('6', '11', '36', '903', '1309', '48', '35', '47', '56', '68'),
+('6', '11', '37', '941', '1354', '49', '36', '48', '57', '70'),
+('6', '11', '38', '982', '1414', '50', '36', '49', '59', '71'),
+('6', '11', '39', '1022', '1444', '50', '37', '50', '60', '73'),
+('6', '11', '40', '1064', '1504', '51', '38', '51', '62', '74'),
+('6', '11', '41', '1108', '1534', '52', '39', '52', '63', '76'),
+('6', '11', '42', '1151', '1594', '53', '39', '53', '65', '78'),
+('6', '11', '43', '1197', '1624', '54', '40', '54', '66', '79'),
+('6', '11', '44', '1243', '1684', '55', '41', '54', '68', '81'),
+('6', '11', '45', '1290', '1714', '55', '42', '55', '69', '83'),
+('6', '11', '46', '1339', '1774', '56', '43', '56', '71', '85'),
+('6', '11', '47', '1388', '1804', '57', '43', '58', '72', '86'),
+('6', '11', '48', '1437', '1849', '58', '44', '59', '74', '88'),
+('6', '11', '49', '1490', '1909', '59', '45', '60', '76', '90'),
+('6', '11', '50', '1542', '1939', '60', '46', '61', '77', '92'),
+('6', '11', '51', '1596', '1984', '61', '47', '62', '79', '94'),
+('6', '11', '52', '1651', '2044', '62', '48', '63', '81', '96'),
+('6', '11', '53', '1706', '2074', '63', '49', '64', '82', '98'),
+('6', '11', '54', '1763', '2119', '64', '49', '65', '84', '100'),
+('6', '11', '55', '1820', '2164', '65', '50', '66', '86', '102'),
+('6', '11', '56', '1879', '2209', '66', '51', '67', '88', '104'),
+('6', '11', '57', '1940', '2254', '67', '52', '68', '89', '106'),
+('6', '11', '58', '2000', '2299', '68', '53', '70', '91', '108'),
+('6', '11', '59', '2063', '2344', '69', '54', '71', '93', '110'),
+('6', '11', '60', '2125', '2389', '70', '55', '72', '95', '112'),
+('7', '1', '1', '50', '0', '18', '23', '21', '20', '24'),
+('7', '1', '2', '69', '0', '19', '24', '22', '24', '20'),
+('7', '1', '3', '88', '0', '20', '24', '23', '24', '21'),
+('7', '1', '4', '107', '0', '21', '25', '24', '24', '21'),
+('7', '1', '5', '126', '0', '23', '26', '25', '24', '21'),
+('7', '1', '6', '145', '0', '24', '27', '26', '25', '21'),
+('7', '1', '7', '164', '0', '25', '27', '27', '25', '22'),
+('7', '1', '8', '183', '0', '26', '28', '28', '25', '22'),
+('7', '1', '9', '202', '0', '27', '29', '29', '25', '22'),
+('7', '1', '10', '221', '0', '28', '29', '30', '25', '23'),
+('7', '1', '11', '240', '0', '30', '30', '32', '25', '23'),
+('7', '1', '12', '259', '0', '31', '31', '33', '25', '23'),
+('7', '1', '13', '278', '0', '32', '32', '34', '25', '24'),
+('7', '1', '14', '298', '0', '34', '33', '35', '26', '24'),
+('7', '1', '15', '319', '0', '35', '33', '36', '26', '24'),
+('7', '1', '16', '341', '0', '36', '34', '37', '26', '25'),
+('7', '1', '17', '364', '0', '37', '35', '39', '26', '25'),
+('7', '1', '18', '388', '0', '39', '36', '40', '26', '25'),
+('7', '1', '19', '413', '0', '40', '37', '41', '26', '26'),
+('7', '1', '20', '439', '0', '42', '38', '42', '26', '26'),
+('7', '1', '21', '466', '0', '43', '38', '44', '27', '26'),
+('7', '1', '22', '494', '0', '44', '39', '45', '27', '27'),
+('7', '1', '23', '523', '0', '46', '40', '46', '27', '27'),
+('7', '1', '24', '553', '0', '47', '41', '48', '27', '28'),
+('7', '1', '25', '584', '0', '49', '42', '49', '27', '28'),
+('7', '1', '26', '616', '0', '50', '43', '50', '27', '28'),
+('7', '1', '27', '649', '0', '52', '44', '52', '27', '29'),
+('7', '1', '28', '683', '0', '53', '45', '53', '28', '29'),
+('7', '1', '29', '718', '0', '55', '46', '55', '28', '30'),
+('7', '1', '30', '754', '0', '57', '47', '56', '28', '30'),
+('7', '1', '31', '791', '0', '58', '48', '57', '28', '30'),
+('7', '1', '32', '829', '0', '60', '49', '59', '28', '31'),
+('7', '1', '33', '868', '0', '61', '50', '60', '28', '31'),
+('7', '1', '34', '908', '0', '63', '51', '62', '29', '32'),
+('7', '1', '35', '949', '0', '65', '52', '63', '29', '32'),
+('7', '1', '36', '991', '0', '67', '53', '65', '29', '33'),
+('7', '1', '37', '1070', '0', '68', '54', '67', '29', '33'),
+('7', '1', '38', '1081', '0', '70', '55', '68', '29', '33'),
+('7', '1', '39', '1129', '0', '72', '56', '70', '30', '34'),
+('7', '1', '40', '1179', '0', '74', '57', '71', '30', '34'),
+('7', '1', '41', '1231', '0', '75', '59', '73', '30', '35'),
+('7', '1', '42', '1285', '0', '77', '60', '75', '30', '35'),
+('7', '1', '43', '1341', '0', '79', '61', '76', '30', '36'),
+('7', '1', '44', '1399', '0', '81', '62', '78', '30', '36'),
+('7', '1', '45', '1459', '0', '83', '63', '80', '32', '37'),
+('7', '1', '46', '1521', '0', '85', '64', '82', '32', '37'),
+('7', '1', '47', '1585', '0', '87', '66', '83', '32', '38'),
+('7', '1', '48', '1651', '0', '89', '67', '85', '32', '38'),
+('7', '1', '49', '1719', '0', '91', '68', '87', '33', '39'),
+('7', '1', '50', '1789', '0', '93', '69', '89', '33', '39'),
+('7', '1', '51', '1861', '0', '95', '71', '91', '33', '40'),
+('7', '1', '52', '1935', '0', '97', '72', '93', '33', '40'),
+('7', '1', '53', '2011', '0', '99', '73', '95', '33', '41'),
+('7', '1', '54', '2089', '0', '101', '75', '97', '34', '42'),
+('7', '1', '55', '2169', '0', '104', '76', '99', '34', '42'),
+('7', '1', '56', '2251', '0', '106', '77', '101', '34', '43'),
+('7', '1', '57', '2335', '0', '108', '79', '103', '34', '43'),
+('7', '1', '58', '2421', '0', '110', '80', '105', '35', '44'),
+('7', '1', '59', '2509', '0', '113', '82', '107', '35', '44'),
+('7', '1', '60', '2599', '0', '115', '83', '109', '35', '45'),
+('7', '4', '1', '45', '0', '16', '26', '20', '20', '24'),
+('7', '4', '2', '62', '0', '17', '27', '21', '24', '20'),
+('7', '4', '3', '79', '0', '17', '28', '21', '24', '21'),
+('7', '4', '4', '96', '0', '18', '30', '22', '25', '21'),
+('7', '4', '5', '113', '0', '19', '31', '23', '25', '21'),
+('7', '4', '6', '130', '0', '19', '32', '23', '25', '22'),
+('7', '4', '7', '147', '0', '20', '34', '24', '25', '22'),
+('7', '4', '8', '164', '0', '21', '35', '24', '25', '22'),
+('7', '4', '9', '181', '0', '22', '36', '25', '25', '23'),
+('7', '4', '10', '198', '0', '22', '38', '26', '26', '23'),
+('7', '4', '11', '215', '0', '23', '39', '27', '26', '24'),
+('7', '4', '12', '232', '0', '24', '40', '27', '26', '24'),
+('7', '4', '13', '249', '0', '25', '42', '28', '26', '24'),
+('7', '4', '14', '266', '0', '25', '43', '29', '26', '25'),
+('7', '4', '15', '283', '0', '26', '45', '29', '27', '25'),
+('7', '4', '16', '301', '0', '27', '46', '30', '27', '26'),
+('7', '4', '17', '320', '0', '28', '47', '31', '27', '26'),
+('7', '4', '18', '340', '0', '29', '49', '32', '27', '26'),
+('7', '4', '19', '361', '0', '30', '51', '32', '27', '27'),
+('7', '4', '20', '383', '0', '30', '52', '33', '28', '27'),
+('7', '4', '21', '406', '0', '31', '54', '34', '28', '28'),
+('7', '4', '22', '430', '0', '32', '55', '35', '28', '28'),
+('7', '4', '23', '455', '0', '33', '57', '36', '28', '29'),
+('7', '4', '24', '481', '0', '34', '58', '36', '29', '29'),
+('7', '4', '25', '508', '0', '35', '60', '37', '29', '30'),
+('7', '4', '26', '536', '0', '36', '62', '38', '29', '30'),
+('7', '4', '27', '565', '0', '37', '63', '39', '29', '30'),
+('7', '4', '28', '595', '0', '38', '65', '40', '29', '31'),
+('7', '4', '29', '626', '0', '38', '67', '41', '30', '31'),
+('7', '4', '30', '658', '0', '39', '69', '41', '30', '32'),
+('7', '4', '31', '691', '0', '40', '70', '42', '30', '32'),
+('7', '4', '32', '725', '0', '41', '72', '43', '30', '33'),
+('7', '4', '33', '760', '0', '42', '74', '44', '32', '33'),
+('7', '4', '34', '796', '0', '43', '76', '45', '32', '34'),
+('7', '4', '35', '833', '0', '44', '78', '46', '32', '34'),
+('7', '4', '36', '871', '0', '46', '80', '47', '33', '35'),
+('7', '4', '37', '910', '0', '47', '81', '48', '33', '36'),
+('7', '4', '38', '950', '0', '48', '83', '49', '33', '36'),
+('7', '4', '39', '991', '0', '49', '85', '50', '33', '37'),
+('7', '4', '40', '1033', '0', '50', '87', '51', '34', '37'),
+('7', '4', '41', '1076', '0', '51', '89', '52', '34', '38'),
+('7', '4', '42', '1120', '0', '52', '91', '53', '34', '38'),
+('7', '4', '43', '1165', '0', '53', '93', '54', '34', '39'),
+('7', '4', '44', '1211', '0', '54', '96', '55', '35', '39'),
+('7', '4', '45', '1258', '0', '56', '98', '56', '35', '40'),
+('7', '4', '46', '1306', '0', '57', '100', '57', '35', '41'),
+('7', '4', '47', '1355', '0', '58', '102', '58', '36', '41'),
+('7', '4', '48', '1405', '0', '59', '104', '59', '36', '42'),
+('7', '4', '49', '1456', '0', '60', '106', '61', '36', '43'),
+('7', '4', '50', '1508', '0', '62', '109', '62', '37', '43'),
+('7', '4', '51', '1561', '0', '63', '111', '63', '37', '44'),
+('7', '4', '52', '1615', '0', '64', '113', '64', '37', '44'),
+('7', '4', '53', '1670', '0', '65', '116', '65', '38', '45'),
+('7', '4', '54', '1726', '0', '67', '118', '66', '38', '46'),
+('7', '4', '55', '1783', '0', '68', '120', '68', '38', '46'),
+('7', '4', '56', '1841', '0', '69', '123', '69', '39', '47'),
+('7', '4', '57', '1900', '0', '71', '125', '70', '39', '48'),
+('7', '4', '58', '1960', '0', '72', '128', '71', '39', '49'),
+('7', '4', '59', '2021', '0', '74', '130', '73', '40', '49'),
+('7', '4', '60', '2083', '0', '75', '133', '74', '40', '50'),
+('7', '8', '1', '51', '255', '15', '23', '19', '22', '27'),
+('7', '8', '2', '66', '280', '15', '23', '19', '28', '23'),
+('7', '8', '3', '72', '306', '15', '23', '20', '29', '24'),
+('7', '8', '4', '87', '333', '15', '24', '20', '32', '25'),
+('7', '8', '5', '102', '391', '15', '24', '20', '33', '27'),
+('7', '8', '6', '117', '420', '16', '24', '20', '34', '28'),
+('7', '8', '7', '132', '450', '16', '24', '21', '35', '29'),
+('7', '8', '8', '147', '466', '16', '24', '21', '36', '30'),
+('7', '8', '9', '162', '513', '16', '24', '21', '38', '31'),
+('7', '8', '10', '177', '546', '16', '25', '22', '39', '33'),
+('7', '8', '11', '192', '580', '16', '25', '22', '40', '34'),
+('7', '8', '12', '207', '615', '16', '25', '22', '42', '35'),
+('7', '8', '13', '222', '636', '16', '25', '23', '43', '36'),
+('7', '8', '14', '237', '673', '17', '25', '23', '44', '38'),
+('7', '8', '15', '252', '711', '17', '26', '23', '46', '39'),
+('7', '8', '16', '267', '750', '17', '26', '24', '47', '40'),
+('7', '8', '17', '282', '775', '17', '26', '24', '48', '42'),
+('7', '8', '18', '297', '831', '17', '26', '24', '50', '43'),
+('7', '8', '19', '312', '858', '17', '26', '25', '51', '44'),
+('7', '8', '20', '327', '946', '17', '27', '25', '54', '46'),
+('7', '8', '21', '342', '975', '18', '27', '25', '55', '47'),
+('7', '8', '22', '357', '1035', '18', '27', '26', '57', '49'),
+('7', '8', '23', '372', '1066', '18', '27', '26', '58', '50'),
+('7', '8', '24', '388', '1128', '18', '28', '27', '60', '52'),
+('7', '8', '25', '405', '1161', '18', '28', '27', '61', '53'),
+('7', '8', '26', '423', '1225', '18', '28', '27', '63', '55'),
+('7', '8', '27', '442', '1260', '18', '28', '28', '65', '56'),
+('7', '8', '28', '462', '1296', '19', '28', '28', '66', '58'),
+('7', '8', '29', '483', '1362', '19', '29', '29', '68', '59'),
+('7', '8', '30', '505', '1413', '19', '29', '29', '70', '61'),
+('7', '8', '31', '528', '1449', '19', '29', '29', '71', '63'),
+('7', '8', '32', '552', '1515', '19', '29', '30', '74', '64'),
+('7', '8', '33', '577', '1596', '19', '30', '30', '76', '66'),
+('7', '8', '34', '603', '1632', '20', '30', '31', '77', '68'),
+('7', '8', '35', '630', '1683', '20', '30', '31', '79', '69'),
+('7', '8', '36', '658', '1734', '20', '31', '32', '81', '71'),
+('7', '8', '37', '687', '1800', '20', '31', '32', '83', '73'),
+('7', '8', '38', '717', '1836', '20', '31', '32', '85', '75'),
+('7', '8', '39', '748', '1887', '21', '31', '33', '87', '76'),
+('7', '8', '40', '780', '1923', '21', '32', '33', '88', '78'),
+('7', '8', '41', '813', '1974', '21', '32', '34', '90', '80'),
+('7', '8', '42', '847', '2025', '21', '32', '34', '92', '82'),
+('7', '8', '43', '882', '2076', '21', '32', '35', '95', '84'),
+('7', '8', '44', '918', '2157', '21', '33', '35', '97', '86'),
+('7', '8', '45', '955', '2208', '22', '33', '36', '99', '88'),
+('7', '8', '46', '993', '2259', '22', '33', '36', '101', '90'),
+('7', '8', '47', '1032', '2310', '22', '34', '37', '103', '92'),
+('7', '8', '48', '1072', '2361', '22', '34', '37', '106', '94'),
+('7', '8', '49', '1113', '2412', '23', '34', '38', '108', '96'),
+('7', '8', '50', '1155', '2448', '23', '35', '38', '110', '98'),
+('7', '8', '51', '1198', '2499', '23', '35', '39', '112', '100'),
+('7', '8', '52', '1242', '2550', '23', '35', '39', '114', '102'),
+('7', '8', '53', '1287', '2631', '23', '36', '40', '117', '104'),
+('7', '8', '54', '1333', '2682', '24', '36', '41', '120', '106'),
+('7', '8', '55', '1380', '2733', '24', '36', '41', '122', '109'),
+('7', '8', '56', '1428', '2784', '24', '37', '42', '124', '111'),
+('7', '8', '57', '1477', '2820', '24', '37', '42', '127', '113'),
+('7', '8', '58', '1527', '2871', '25', '37', '43', '129', '115'),
+('7', '8', '59', '1578', '2922', '25', '38', '43', '132', '118'),
+('7', '8', '60', '1630', '2973', '25', '38', '44', '133', '120'),
+('7', '9', '1', '43', '200', '15', '23', '20', '22', '26'),
+('7', '9', '2', '58', '223', '15', '23', '21', '27', '23'),
+('7', '9', '3', '73', '247', '16', '24', '21', '28', '24'),
+('7', '9', '4', '88', '272', '16', '24', '22', '29', '25'),
+('7', '9', '5', '103', '298', '16', '24', '22', '30', '26'),
+('7', '9', '6', '118', '325', '16', '25', '23', '32', '27'),
+('7', '9', '7', '133', '383', '17', '25', '23', '33', '29'),
+('7', '9', '8', '148', '412', '17', '25', '24', '34', '30'),
+('7', '9', '9', '163', '442', '17', '26', '24', '35', '31'),
+('7', '9', '10', '178', '473', '18', '26', '25', '36', '32'),
+('7', '9', '11', '193', '505', '18', '27', '25', '38', '33'),
+('7', '9', '12', '208', '538', '18', '27', '26', '39', '34'),
+('7', '9', '13', '223', '572', '19', '27', '26', '40', '36'),
+('7', '9', '14', '238', '607', '19', '28', '27', '41', '37'),
+('7', '9', '15', '253', '643', '19', '28', '28', '42', '38'),
+('7', '9', '16', '268', '665', '20', '29', '28', '43', '39'),
+('7', '9', '17', '283', '703', '20', '29', '29', '45', '41'),
+('7', '9', '18', '299', '742', '20', '29', '29', '46', '42'),
+('7', '9', '19', '316', '782', '21', '30', '30', '47', '43'),
+('7', '9', '20', '334', '823', '21', '30', '31', '48', '45'),
+('7', '9', '21', '353', '865', '21', '31', '31', '50', '46'),
+('7', '9', '22', '373', '908', '22', '31', '32', '51', '47'),
+('7', '9', '23', '394', '952', '22', '32', '33', '53', '49'),
+('7', '9', '24', '416', '1027', '23', '32', '33', '55', '50'),
+('7', '9', '25', '439', '1073', '23', '33', '34', '56', '52'),
+('7', '9', '26', '463', '1120', '23', '33', '35', '57', '53'),
+('7', '9', '27', '488', '1168', '24', '33', '35', '59', '54'),
+('7', '9', '28', '514', '1217', '24', '34', '36', '60', '56'),
+('7', '9', '29', '541', '1267', '25', '34', '37', '62', '57'),
+('7', '9', '30', '569', '1318', '25', '35', '37', '63', '59'),
+('7', '9', '31', '588', '1354', '25', '35', '37', '64', '62'),
+('7', '9', '32', '628', '1405', '26', '36', '39', '66', '62'),
+('7', '9', '33', '659', '1456', '26', '36', '40', '67', '64'),
+('7', '9', '34', '691', '1507', '27', '37', '40', '69', '65'),
+('7', '9', '35', '724', '1558', '27', '37', '41', '70', '67'),
+('7', '9', '36', '758', '1609', '28', '38', '42', '72', '69'),
+('7', '9', '37', '793', '1690', '28', '39', '43', '75', '69'),
+('7', '9', '38', '829', '1741', '28', '39', '44', '76', '72'),
+('7', '9', '39', '866', '1792', '29', '40', '44', '78', '74'),
+('7', '9', '40', '904', '1843', '29', '40', '45', '79', '75'),
+('7', '9', '41', '943', '1894', '30', '41', '46', '81', '77'),
+('7', '9', '42', '983', '1945', '30', '41', '47', '83', '79'),
+('7', '9', '43', '1024', '1996', '31', '42', '48', '84', '81'),
+('7', '9', '44', '1066', '2032', '31', '42', '49', '86', '82'),
+('7', '9', '45', '1109', '2083', '32', '43', '49', '88', '84'),
+('7', '9', '46', '1153', '2134', '32', '44', '50', '90', '86'),
+('7', '9', '47', '1198', '2185', '33', '44', '51', '91', '88'),
+('7', '9', '48', '1234', '2236', '33', '45', '52', '93', '90'),
+('7', '9', '49', '1281', '2317', '34', '46', '53', '96', '92'),
+('7', '9', '50', '1339', '2368', '34', '46', '54', '98', '93'),
+('7', '9', '51', '1388', '2419', '35', '47', '55', '100', '96'),
+('7', '9', '52', '1418', '2470', '35', '47', '56', '102', '98'),
+('7', '9', '53', '1489', '2521', '36', '48', '57', '104', '100'),
+('7', '9', '54', '1541', '2557', '37', '49', '58', '106', '102'),
+('7', '9', '55', '1584', '2608', '37', '49', '58', '108', '104'),
+('7', '9', '56', '1648', '2659', '38', '50', '60', '110', '106'),
+('7', '9', '57', '1683', '2710', '38', '51', '61', '112', '108'),
+('7', '9', '58', '1759', '2761', '39', '52', '62', '114', '111'),
+('7', '9', '59', '1816', '2842', '39', '52', '63', '117', '111'),
+('7', '9', '60', '1874', '2893', '40', '53', '64', '119', '115'),
+('8', '1', '1', '70', '0', '24', '22', '23', '21', '16'),
+('8', '1', '2', '89', '0', '25', '23', '24', '16', '21'),
+('8', '1', '3', '108', '0', '26', '23', '25', '16', '22'),
+('8', '1', '4', '127', '0', '27', '24', '26', '16', '22'),
+('8', '1', '5', '146', '0', '29', '25', '27', '16', '22'),
+('8', '1', '6', '165', '0', '30', '26', '28', '17', '22'),
+('8', '1', '7', '184', '0', '31', '26', '29', '17', '23'),
+('8', '1', '8', '203', '0', '32', '27', '30', '17', '23'),
+('8', '1', '9', '222', '0', '33', '28', '31', '17', '23'),
+('8', '1', '10', '241', '0', '34', '28', '32', '17', '24'),
+('8', '1', '11', '260', '0', '36', '29', '34', '17', '24'),
+('8', '1', '12', '279', '0', '37', '30', '35', '17', '24'),
+('8', '1', '13', '298', '0', '38', '31', '36', '17', '25'),
+('8', '1', '14', '318', '0', '40', '32', '37', '18', '25'),
+('8', '1', '15', '339', '0', '41', '32', '38', '18', '25'),
+('8', '1', '16', '361', '0', '42', '33', '39', '18', '26'),
+('8', '1', '17', '384', '0', '43', '34', '41', '18', '26'),
+('8', '1', '18', '408', '0', '45', '35', '42', '18', '26'),
+('8', '1', '19', '433', '0', '46', '36', '43', '18', '27'),
+('8', '1', '20', '459', '0', '48', '37', '44', '18', '27'),
+('8', '1', '21', '486', '0', '49', '37', '46', '19', '27'),
+('8', '1', '22', '514', '0', '50', '38', '47', '19', '28'),
+('8', '1', '23', '543', '0', '52', '39', '48', '19', '28'),
+('8', '1', '24', '573', '0', '53', '40', '50', '19', '29'),
+('8', '1', '25', '604', '0', '55', '41', '51', '19', '29'),
+('8', '1', '26', '636', '0', '56', '42', '52', '19', '29'),
+('8', '1', '27', '669', '0', '58', '43', '54', '19', '30'),
+('8', '1', '28', '703', '0', '59', '44', '55', '20', '30'),
+('8', '1', '29', '738', '0', '61', '45', '57', '20', '31'),
+('8', '1', '30', '774', '0', '63', '46', '58', '20', '31'),
+('8', '1', '31', '811', '0', '64', '47', '59', '20', '31'),
+('8', '1', '32', '849', '0', '66', '48', '61', '20', '32'),
+('8', '1', '33', '888', '0', '67', '49', '62', '20', '32'),
+('8', '1', '34', '928', '0', '69', '50', '64', '21', '33'),
+('8', '1', '35', '969', '0', '71', '51', '65', '21', '33'),
+('8', '1', '36', '1011', '0', '73', '52', '67', '21', '34'),
+('8', '1', '37', '1055', '0', '74', '53', '69', '21', '34'),
+('8', '1', '38', '1101', '0', '76', '54', '70', '21', '34'),
+('8', '1', '39', '1149', '0', '78', '55', '72', '22', '35'),
+('8', '1', '40', '1199', '0', '80', '56', '73', '22', '35'),
+('8', '1', '41', '1251', '0', '81', '58', '75', '22', '36'),
+('8', '1', '42', '1310', '0', '83', '59', '77', '22', '36'),
+('8', '1', '43', '1361', '0', '85', '60', '78', '22', '37'),
+('8', '1', '44', '1419', '0', '87', '61', '80', '22', '37'),
+('8', '1', '45', '1529', '0', '89', '62', '82', '23', '38'),
+('8', '1', '46', '1541', '0', '91', '63', '84', '23', '38'),
+('8', '1', '47', '1605', '0', '93', '65', '85', '23', '39'),
+('8', '1', '48', '1671', '0', '95', '66', '87', '23', '39'),
+('8', '1', '49', '1739', '0', '97', '67', '89', '24', '40'),
+('8', '1', '50', '1809', '0', '99', '68', '91', '24', '40'),
+('8', '1', '51', '1881', '0', '101', '70', '93', '24', '41'),
+('8', '1', '52', '1955', '0', '103', '71', '95', '24', '41'),
+('8', '1', '53', '2031', '0', '105', '72', '97', '24', '42'),
+('8', '1', '54', '2109', '0', '107', '74', '99', '25', '43'),
+('8', '1', '55', '2189', '0', '110', '75', '101', '25', '43'),
+('8', '1', '56', '2271', '0', '112', '76', '103', '25', '44'),
+('8', '1', '57', '2355', '0', '114', '78', '105', '25', '44'),
+('8', '1', '58', '2441', '0', '116', '79', '107', '26', '45'),
+('8', '1', '59', '2529', '0', '119', '81', '109', '26', '45'),
+('8', '1', '60', '2619', '0', '121', '82', '111', '26', '46'),
+('8', '3', '1', '66', '81', '21', '25', '22', '22', '16'),
+('8', '3', '2', '83', '87', '21', '26', '23', '17', '23'),
+('8', '3', '3', '100', '108', '22', '27', '24', '17', '23'),
+('8', '3', '4', '117', '116', '22', '29', '24', '18', '24'),
+('8', '3', '5', '134', '139', '23', '30', '25', '18', '24'),
+('8', '3', '6', '151', '149', '23', '31', '26', '19', '25'),
+('8', '3', '7', '168', '174', '23', '32', '27', '19', '25'),
+('8', '3', '8', '185', '186', '24', '33', '28', '20', '26'),
+('8', '3', '9', '202', '213', '24', '35', '29', '20', '27'),
+('8', '3', '10', '219', '241', '25', '36', '29', '21', '27'),
+('8', '3', '11', '236', '270', '25', '37', '30', '21', '28'),
+('8', '3', '12', '253', '300', '26', '39', '31', '22', '29'),
+('8', '3', '13', '270', '331', '26', '40', '32', '23', '29'),
+('8', '3', '14', '288', '363', '27', '41', '33', '23', '30'),
+('8', '3', '15', '307', '396', '27', '43', '34', '24', '30'),
+('8', '3', '16', '327', '430', '28', '44', '35', '24', '31'),
+('8', '3', '17', '348', '465', '28', '45', '36', '25', '32'),
+('8', '3', '18', '370', '501', '29', '47', '37', '26', '33'),
+('8', '3', '19', '393', '538', '29', '48', '38', '26', '33'),
+('8', '3', '20', '417', '576', '30', '50', '39', '27', '34'),
+('8', '3', '21', '442', '615', '30', '51', '40', '28', '35'),
+('8', '3', '22', '468', '655', '31', '53', '41', '28', '35'),
+('8', '3', '23', '495', '696', '31', '54', '42', '29', '36'),
+('8', '3', '24', '523', '738', '32', '56', '43', '30', '37'),
+('8', '3', '25', '552', '781', '32', '57', '44', '30', '38'),
+('8', '3', '26', '582', '825', '33', '59', '45', '31', '38'),
+('8', '3', '27', '613', '870', '33', '61', '46', '32', '39'),
+('8', '3', '28', '645', '915', '34', '62', '47', '32', '40'),
+('8', '3', '29', '678', '960', '34', '64', '48', '33', '41'),
+('8', '3', '30', '712', '1005', '35', '66', '49', '34', '41'),
+('8', '3', '31', '747', '1050', '35', '67', '51', '35', '42'),
+('8', '3', '32', '783', '1095', '36', '69', '52', '35', '43'),
+('8', '3', '33', '820', '1140', '37', '71', '53', '36', '44'),
+('8', '3', '34', '858', '1185', '37', '72', '54', '37', '45'),
+('8', '3', '35', '897', '1230', '38', '74', '55', '38', '46'),
+('8', '3', '36', '937', '1275', '39', '76', '57', '39', '47'),
+('8', '3', '37', '978', '1320', '39', '78', '58', '39', '47'),
+('8', '3', '38', '1020', '1365', '40', '80', '59', '40', '48'),
+('8', '3', '39', '1063', '1410', '40', '82', '60', '41', '49'),
+('8', '3', '40', '1107', '1455', '41', '83', '62', '42', '50'),
+('8', '3', '41', '1152', '1500', '42', '85', '63', '43', '51'),
+('8', '3', '42', '1198', '1545', '42', '87', '64', '43', '52'),
+('8', '3', '43', '1245', '1590', '43', '89', '65', '44', '53'),
+('8', '3', '44', '1293', '1635', '44', '91', '67', '45', '54'),
+('8', '3', '45', '1342', '1680', '44', '93', '68', '46', '55'),
+('8', '3', '46', '1392', '1725', '45', '95', '70', '47', '56'),
+('8', '3', '47', '1443', '1770', '46', '97', '71', '48', '57'),
+('8', '3', '48', '1495', '1815', '47', '100', '72', '49', '58'),
+('8', '3', '49', '1548', '1860', '47', '102', '74', '50', '59'),
+('8', '3', '50', '1602', '1905', '48', '104', '75', '51', '60'),
+('8', '3', '51', '1657', '1950', '49', '106', '77', '52', '61'),
+('8', '3', '52', '1713', '1995', '50', '108', '78', '53', '62'),
+('8', '3', '53', '1770', '2040', '50', '110', '80', '54', '63'),
+('8', '3', '54', '1828', '2085', '51', '113', '81', '55', '64'),
+('8', '3', '55', '1887', '2130', '52', '115', '83', '56', '65'),
+('8', '3', '56', '1947', '2175', '53', '117', '84', '57', '66'),
+('8', '3', '57', '2008', '2220', '54', '120', '86', '58', '68'),
+('8', '3', '58', '2070', '2265', '54', '122', '88', '59', '69'),
+('8', '3', '59', '2133', '2310', '55', '125', '89', '60', '70'),
+('8', '3', '60', '2197', '2355', '56', '127', '91', '61', '71'),
+('8', '4', '1', '65', '0', '22', '25', '22', '21', '16'),
+('8', '4', '2', '82', '0', '23', '26', '23', '16', '21'),
+('8', '4', '3', '99', '0', '23', '27', '23', '16', '22'),
+('8', '4', '4', '116', '0', '24', '29', '24', '17', '22'),
+('8', '4', '5', '133', '0', '25', '30', '25', '17', '22'),
+('8', '4', '6', '150', '0', '25', '31', '25', '17', '23'),
+('8', '4', '7', '167', '0', '26', '33', '26', '17', '23'),
+('8', '4', '8', '184', '0', '27', '34', '26', '17', '23'),
+('8', '4', '9', '201', '0', '28', '35', '27', '17', '24'),
+('8', '4', '10', '218', '0', '28', '37', '28', '18', '24'),
+('8', '4', '11', '235', '0', '29', '38', '29', '18', '25'),
+('8', '4', '12', '252', '0', '30', '39', '29', '18', '25'),
+('8', '4', '13', '269', '0', '31', '41', '30', '18', '25'),
+('8', '4', '14', '286', '0', '31', '42', '31', '18', '26'),
+('8', '4', '15', '303', '0', '32', '44', '31', '19', '26'),
+('8', '4', '16', '321', '0', '33', '45', '32', '19', '27'),
+('8', '4', '17', '340', '0', '34', '46', '33', '19', '27'),
+('8', '4', '18', '360', '0', '35', '48', '34', '19', '27'),
+('8', '4', '19', '381', '0', '36', '50', '34', '19', '28'),
+('8', '4', '20', '403', '0', '36', '51', '35', '20', '28'),
+('8', '4', '21', '426', '0', '37', '53', '36', '20', '29'),
+('8', '4', '22', '450', '0', '38', '54', '37', '20', '29'),
+('8', '4', '23', '475', '0', '39', '56', '38', '20', '30'),
+('8', '4', '24', '501', '0', '40', '57', '38', '21', '30'),
+('8', '4', '25', '528', '0', '41', '59', '39', '21', '31'),
+('8', '4', '26', '556', '0', '42', '61', '40', '21', '31'),
+('8', '4', '27', '585', '0', '43', '62', '41', '21', '31'),
+('8', '4', '28', '615', '0', '44', '64', '42', '21', '32'),
+('8', '4', '29', '646', '0', '44', '66', '43', '22', '32'),
+('8', '4', '30', '678', '0', '45', '68', '43', '22', '33'),
+('8', '4', '31', '711', '0', '46', '69', '44', '22', '33'),
+('8', '4', '32', '745', '0', '47', '71', '45', '22', '34'),
+('8', '4', '33', '780', '0', '48', '73', '46', '23', '34'),
+('8', '4', '34', '816', '0', '49', '75', '47', '23', '35'),
+('8', '4', '35', '853', '0', '50', '77', '48', '23', '35'),
+('8', '4', '36', '891', '0', '52', '79', '49', '24', '36'),
+('8', '4', '37', '930', '0', '53', '80', '50', '24', '37'),
+('8', '4', '38', '970', '0', '54', '82', '51', '24', '37'),
+('8', '4', '39', '1011', '0', '55', '84', '52', '24', '38'),
+('8', '4', '40', '1053', '0', '56', '86', '53', '25', '38'),
+('8', '4', '41', '1096', '0', '57', '88', '54', '25', '39'),
+('8', '4', '42', '1140', '0', '58', '90', '55', '25', '39'),
+('8', '4', '43', '1185', '0', '59', '92', '56', '25', '40'),
+('8', '4', '44', '1231', '0', '60', '95', '57', '26', '40'),
+('8', '4', '45', '1278', '0', '62', '97', '58', '26', '41'),
+('8', '4', '46', '1326', '0', '63', '99', '59', '26', '42'),
+('8', '4', '47', '1375', '0', '64', '101', '60', '27', '42'),
+('8', '4', '48', '1425', '0', '65', '103', '61', '27', '43'),
+('8', '4', '49', '1476', '0', '66', '105', '63', '27', '44'),
+('8', '4', '50', '1528', '0', '68', '108', '64', '28', '44'),
+('8', '4', '51', '1581', '0', '69', '110', '65', '28', '45'),
+('8', '4', '52', '1635', '0', '70', '112', '66', '28', '45'),
+('8', '4', '53', '1690', '0', '71', '115', '67', '29', '46'),
+('8', '4', '54', '1746', '0', '73', '117', '68', '29', '47'),
+('8', '4', '55', '1803', '0', '74', '119', '70', '29', '47'),
+('8', '4', '56', '1861', '0', '75', '122', '71', '30', '48'),
+('8', '4', '57', '1920', '0', '77', '124', '72', '30', '49'),
+('8', '4', '58', '1980', '0', '78', '127', '73', '30', '50'),
+('8', '4', '59', '2041', '0', '80', '129', '75', '31', '50'),
+('8', '4', '60', '2103', '0', '81', '132', '76', '31', '51'),
+('8', '5', '1', '62', '128', '21', '22', '21', '24', '18'),
+('8', '5', '2', '77', '138', '21', '22', '21', '19', '25'),
+('8', '5', '3', '92', '149', '21', '22', '22', '20', '26'),
+('8', '5', '4', '107', '175', '22', '23', '22', '21', '28'),
+('8', '5', '5', '122', '202', '22', '23', '22', '23', '29'),
+('8', '5', '6', '137', '230', '22', '23', '23', '24', '30'),
+('8', '5', '7', '152', '259', '22', '23', '23', '25', '31'),
+('8', '5', '8', '167', '289', '22', '24', '23', '26', '32'),
+('8', '5', '9', '182', '320', '22', '24', '24', '27', '34'),
+('8', '5', '10', '197', '367', '23', '24', '24', '29', '35'),
+('8', '5', '11', '212', '385', '23', '24', '25', '30', '36'),
+('8', '5', '12', '227', '419', '23', '25', '25', '31', '38'),
+('8', '5', '13', '242', '454', '23', '25', '25', '32', '39'),
+('8', '5', '14', '257', '490', '23', '25', '26', '34', '40'),
+('8', '5', '15', '272', '527', '24', '25', '26', '35', '42'),
+('8', '5', '16', '287', '565', '24', '26', '27', '36', '43'),
+('8', '5', '17', '302', '619', '24', '26', '27', '38', '44'),
+('8', '5', '18', '317', '644', '24', '26', '27', '39', '46'),
+('8', '5', '19', '332', '685', '24', '27', '28', '40', '47'),
+('8', '5', '20', '347', '727', '25', '27', '28', '42', '49'),
+('8', '5', '21', '362', '770', '25', '27', '29', '43', '50'),
+('8', '5', '22', '378', '829', '25', '27', '29', '45', '52'),
+('8', '5', '23', '395', '859', '25', '28', '30', '46', '53'),
+('8', '5', '24', '413', '920', '26', '28', '30', '48', '55'),
+('8', '5', '25', '432', '952', '26', '28', '31', '49', '56'),
+('8', '5', '26', '452', '1015', '26', '29', '31', '51', '58'),
+('8', '5', '27', '473', '1049', '26', '29', '31', '52', '60'),
+('8', '5', '28', '495', '1114', '26', '29', '32', '54', '61'),
+('8', '5', '29', '518', '1150', '27', '30', '32', '55', '63'),
+('8', '5', '30', '542', '1202', '27', '30', '33', '57', '65'),
+('8', '5', '31', '567', '1270', '27', '30', '33', '59', '66'),
+('8', '5', '32', '593', '1309', '27', '31', '34', '60', '68'),
+('8', '5', '33', '620', '1378', '28', '31', '34', '62', '70'),
+('8', '5', '34', '648', '1432', '28', '31', '35', '64', '71'),
+('8', '5', '35', '677', '1471', '28', '32', '35', '65', '73'),
+('8', '5', '36', '707', '1525', '29', '32', '36', '67', '75'),
+('8', '5', '37', '738', '1594', '29', '32', '37', '69', '77'),
+('8', '5', '38', '770', '1648', '29', '33', '37', '71', '79'),
+('8', '5', '39', '803', '1687', '29', '33', '38', '72', '81'),
+('8', '5', '40', '837', '1741', '30', '33', '38', '74', '82'),
+('8', '5', '41', '872', '1810', '30', '34', '39', '76', '84'),
+('8', '5', '42', '908', '1864', '30', '34', '39', '78', '86'),
+('8', '5', '43', '945', '1918', '30', '35', '40', '80', '88'),
+('8', '5', '44', '983', '1972', '31', '35', '40', '82', '90'),
+('8', '5', '45', '1022', '2026', '31', '35', '41', '84', '92'),
+('8', '5', '46', '1062', '2080', '31', '36', '42', '86', '94'),
+('8', '5', '47', '1103', '2134', '32', '36', '42', '88', '96'),
+('8', '5', '48', '1145', '2188', '32', '37', '43', '90', '99'),
+('8', '5', '49', '1238', '2242', '32', '37', '44', '92', '101'),
+('8', '5', '50', '1252', '2296', '33', '37', '44', '94', '103'),
+('8', '5', '51', '1277', '2350', '33', '38', '45', '96', '105'),
+('8', '5', '52', '1323', '2404', '33', '38', '45', '98', '107'),
+('8', '5', '53', '1370', '2458', '34', '39', '46', '100', '109'),
+('8', '5', '54', '1418', '2512', '34', '39', '47', '102', '112'),
+('8', '5', '55', '1467', '2566', '34', '40', '47', '105', '114'),
+('8', '5', '56', '1517', '2620', '35', '40', '48', '107', '116'),
+('8', '5', '57', '1568', '2674', '35', '41', '49', '109', '119'),
+('8', '5', '58', '1620', '2728', '35', '41', '50', '111', '121'),
+('8', '5', '59', '1673', '2782', '36', '42', '50', '114', '124'),
+('8', '5', '60', '1727', '2836', '36', '42', '51', '116', '126'),
+('8', '7', '1', '67', '72', '22', '22', '22', '23', '17'),
+('8', '7', '2', '84', '79', '23', '22', '23', '18', '24'),
+('8', '7', '3', '101', '87', '23', '23', '24', '19', '25'),
+('8', '7', '4', '118', '110', '24', '23', '25', '19', '26'),
+('8', '7', '5', '135', '120', '25', '24', '25', '20', '27'),
+('8', '7', '6', '152', '145', '26', '24', '26', '21', '28'),
+('8', '7', '7', '169', '171', '27', '24', '27', '22', '29'),
+('8', '7', '8', '186', '198', '27', '25', '28', '23', '29'),
+('8', '7', '9', '203', '241', '28', '25', '29', '24', '30'),
+('8', '7', '10', '220', '255', '29', '26', '30', '24', '31'),
+('8', '7', '11', '237', '285', '30', '26', '31', '25', '32'),
+('8', '7', '12', '254', '316', '31', '27', '32', '26', '33'),
+('8', '7', '13', '271', '348', '31', '27', '33', '27', '34'),
+('8', '7', '14', '288', '381', '32', '28', '34', '28', '35'),
+('8', '7', '15', '305', '415', '33', '28', '35', '29', '37'),
+('8', '7', '16', '322', '450', '34', '29', '36', '30', '38'),
+('8', '7', '17', '340', '486', '35', '29', '37', '31', '39'),
+('8', '7', '18', '359', '523', '36', '30', '38', '32', '40'),
+('8', '7', '19', '379', '589', '37', '30', '39', '33', '41'),
+('8', '7', '20', '400', '600', '38', '31', '40', '34', '42'),
+('8', '7', '21', '422', '640', '39', '31', '41', '35', '43'),
+('8', '7', '22', '445', '681', '39', '32', '42', '36', '44'),
+('8', '7', '23', '469', '723', '40', '32', '43', '37', '45'),
+('8', '7', '24', '494', '766', '41', '33', '44', '38', '47'),
+('8', '7', '25', '520', '810', '42', '33', '46', '39', '48'),
+('8', '7', '26', '547', '898', '43', '34', '47', '40', '49'),
+('8', '7', '27', '575', '947', '44', '34', '48', '41', '50'),
+('8', '7', '28', '604', '996', '45', '35', '49', '42', '51'),
+('8', '7', '29', '634', '996', '46', '35', '50', '43', '53'),
+('8', '7', '30', '665', '1045', '47', '36', '51', '44', '54'),
+('8', '7', '31', '697', '1165', '49', '36', '53', '46', '55'),
+('8', '7', '32', '730', '1216', '50', '37', '54', '47', '57'),
+('8', '7', '33', '764', '1277', '51', '38', '55', '48', '58'),
+('8', '7', '34', '799', '1304', '52', '38', '56', '49', '59'),
+('8', '7', '35', '835', '1355', '53', '39', '58', '50', '61'),
+('8', '7', '36', '872', '1412', '54', '40', '59', '52', '62'),
+('8', '7', '37', '910', '1473', '55', '40', '60', '53', '63'),
+('8', '7', '38', '949', '1525', '56', '41', '62', '54', '65'),
+('8', '7', '39', '989', '1561', '57', '41', '63', '55', '66'),
+('8', '7', '40', '1030', '1599', '59', '42', '64', '57', '68'),
+('8', '7', '41', '1072', '1627', '60', '43', '66', '58', '69'),
+('8', '7', '42', '1115', '1683', '61', '43', '67', '59', '71'),
+('8', '7', '43', '1159', '1716', '62', '44', '69', '60', '72'),
+('8', '7', '44', '1204', '1746', '64', '45', '70', '62', '74'),
+('8', '7', '45', '1250', '1780', '65', '45', '72', '63', '75'),
+('8', '7', '46', '1297', '1844', '66', '46', '73', '65', '77'),
+('8', '7', '47', '1345', '1988', '67', '47', '75', '66', '78'),
+('8', '7', '48', '1394', '2024', '69', '48', '76', '67', '80'),
+('8', '7', '49', '1444', '2077', '70', '48', '78', '69', '82'),
+('8', '7', '50', '1495', '2127', '71', '49', '79', '70', '83'),
+('8', '7', '51', '1547', '2177', '73', '50', '81', '72', '85'),
+('8', '7', '52', '1600', '2204', '74', '51', '82', '73', '87'),
+('8', '7', '53', '1654', '2235', '76', '51', '84', '75', '88'),
+('8', '7', '54', '1709', '2256', '77', '52', '86', '76', '90'),
+('8', '7', '55', '1765', '2286', '78', '53', '87', '78', '92'),
+('8', '7', '56', '1822', '2319', '80', '54', '89', '79', '94'),
+('8', '7', '57', '1880', '2384', '81', '55', '91', '81', '95'),
+('8', '7', '58', '1939', '2432', '83', '55', '92', '83', '97'),
+('8', '7', '59', '1999', '2481', '84', '56', '94', '84', '99'),
+('8', '7', '60', '2060', '2530', '86', '57', '96', '86', '101'),
+('8', '8', '1', '62', '119', '21', '22', '21', '23', '19'),
+('8', '8', '2', '77', '130', '21', '22', '21', '20', '24'),
+('8', '8', '3', '92', '156', '21', '22', '22', '21', '25'),
+('8', '8', '4', '107', '183', '21', '23', '22', '23', '26'),
+('8', '8', '5', '122', '211', '21', '23', '22', '24', '28'),
+('8', '8', '6', '137', '240', '22', '23', '22', '25', '29'),
+('8', '8', '7', '152', '270', '22', '23', '23', '26', '30'),
+('8', '8', '8', '167', '286', '22', '23', '23', '27', '31'),
+('8', '8', '9', '182', '333', '22', '23', '23', '29', '32'),
+('8', '8', '10', '197', '366', '22', '24', '24', '30', '34'),
+('8', '8', '11', '212', '400', '22', '24', '24', '31', '35'),
+('8', '8', '12', '227', '435', '22', '24', '24', '33', '36'),
+('8', '8', '13', '242', '471', '22', '24', '25', '34', '37'),
+('8', '8', '14', '257', '508', '23', '24', '25', '35', '39'),
+('8', '8', '15', '272', '546', '23', '25', '25', '37', '40'),
+('8', '8', '16', '287', '585', '23', '25', '26', '38', '41'),
+('8', '8', '17', '302', '610', '23', '25', '26', '39', '43'),
+('8', '8', '18', '317', '666', '23', '25', '26', '41', '44'),
+('8', '8', '19', '332', '693', '23', '25', '27', '42', '45'),
+('8', '8', '20', '347', '751', '23', '26', '27', '44', '47'),
+('8', '8', '21', '362', '780', '24', '26', '27', '45', '48'),
+('8', '8', '22', '377', '840', '24', '26', '28', '47', '50'),
+('8', '8', '23', '392', '871', '24', '26', '28', '48', '51'),
+('8', '8', '24', '408', '933', '24', '27', '29', '50', '53'),
+('8', '8', '25', '425', '966', '24', '27', '29', '51', '54'),
+('8', '8', '26', '443', '1030', '24', '27', '29', '53', '56'),
+('8', '8', '27', '462', '1080', '24', '27', '30', '55', '57'),
+('8', '8', '28', '482', '1116', '25', '27', '30', '56', '59'),
+('8', '8', '29', '503', '1182', '25', '28', '31', '58', '60'),
+('8', '8', '30', '525', '1233', '25', '28', '31', '60', '62'),
+('8', '8', '31', '548', '1269', '25', '28', '31', '61', '64'),
+('8', '8', '32', '572', '1335', '25', '28', '32', '63', '65'),
+('8', '8', '33', '597', '1386', '25', '29', '32', '65', '67'),
+('8', '8', '34', '623', '1422', '26', '29', '33', '66', '69'),
+('8', '8', '35', '650', '1473', '26', '29', '33', '68', '70'),
+('8', '8', '36', '678', '1524', '26', '30', '34', '70', '72'),
+('8', '8', '37', '707', '1590', '26', '30', '34', '72', '74'),
+('8', '8', '38', '737', '1641', '26', '30', '34', '74', '76'),
+('8', '8', '39', '768', '1692', '27', '30', '35', '76', '77'),
+('8', '8', '40', '800', '1728', '27', '31', '35', '77', '79'),
+('8', '8', '41', '833', '1779', '27', '31', '36', '79', '81'),
+('8', '8', '42', '867', '1830', '27', '31', '36', '81', '83'),
+('8', '8', '43', '902', '1881', '27', '31', '37', '83', '85'),
+('8', '8', '44', '938', '1932', '27', '32', '37', '85', '87'),
+('8', '8', '45', '975', '1983', '28', '32', '38', '87', '89'),
+('8', '8', '46', '1013', '2034', '28', '32', '38', '89', '91'),
+('8', '8', '47', '1092', '2085', '28', '33', '39', '91', '93'),
+('8', '8', '48', '1102', '2151', '28', '33', '39', '94', '95'),
+('8', '8', '49', '1133', '2202', '29', '33', '40', '96', '97'),
+('8', '8', '50', '1175', '2238', '29', '34', '40', '98', '99'),
+('8', '8', '51', '1218', '2289', '29', '34', '41', '100', '101'),
+('8', '8', '52', '1262', '2340', '29', '34', '41', '102', '103'),
+('8', '8', '53', '1307', '2391', '29', '35', '42', '104', '105'),
+('8', '8', '54', '1353', '2442', '30', '35', '43', '107', '107'),
+('8', '8', '55', '1400', '2508', '30', '35', '43', '109', '110'),
+('8', '8', '56', '1448', '2547', '30', '36', '44', '111', '112'),
+('8', '8', '57', '1497', '2595', '30', '36', '44', '114', '114'),
+('8', '8', '58', '1547', '2646', '31', '36', '45', '116', '116'),
+('8', '8', '59', '1589', '2697', '31', '37', '45', '119', '119'),
+('8', '8', '60', '1650', '2748', '31', '37', '46', '121', '121');
diff --git a/sql/updates/0.6/2688_playercreateinfo.sql b/sql/updates/0.6/2688_playercreateinfo.sql
new file mode 100644
index 00000000000..766e92b016e
--- /dev/null
+++ b/sql/updates/0.6/2688_playercreateinfo.sql
@@ -0,0 +1,13 @@
+ALTER TABLE `playercreateinfo`
+ DROP `BaseStrength`,
+ DROP `BaseAgility`,
+ DROP `BaseStamina`,
+ DROP `BaseIntellect`,
+ DROP `BaseSpirit`,
+ DROP `BaseArmor`,
+ DROP `BaseHealth`,
+ DROP `BaseMana`,
+ 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
new file mode 100644
index 00000000000..110f43327a0
--- /dev/null
+++ b/sql/updates/0.6/2689_player_levelstats.sql
@@ -0,0 +1,2422 @@
+-- ----------------------------
+-- Table structure for player_levelstats
+-- ----------------------------
+DROP TABLE IF EXISTS `player_levelstats`;
+CREATE TABLE `player_levelstats` (
+ `race` tinyint(3) unsigned NOT NULL,
+ `class` tinyint(3) unsigned NOT NULL,
+ `level` tinyint(3) unsigned NOT NULL,
+ `hp` smallint(5) unsigned NOT NULL,
+ `mana` smallint(5) unsigned NOT NULL,
+ `str` tinyint(3) unsigned NOT NULL,
+ `agi` tinyint(3) unsigned NOT NULL,
+ `sta` tinyint(3) unsigned NOT NULL,
+ `int` tinyint(3) unsigned NOT NULL,
+ `spi` tinyint(3) unsigned NOT NULL,
+ PRIMARY KEY (`race`,`class`,`level`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores levels stats.';
+
+-- ----------------------------
+-- Records
+-- ----------------------------
+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'),
+('1', '1', '4', '117', '0', '26', '22', '25', '20', '22'),
+('1', '1', '5', '136', '0', '28', '23', '26', '20', '22'),
+('1', '1', '6', '155', '0', '29', '24', '27', '21', '22'),
+('1', '1', '7', '174', '0', '30', '24', '28', '21', '23'),
+('1', '1', '8', '193', '0', '31', '25', '29', '21', '23'),
+('1', '1', '9', '212', '0', '32', '26', '30', '21', '23'),
+('1', '1', '10', '231', '0', '33', '26', '31', '21', '24'),
+('1', '1', '11', '250', '0', '35', '27', '33', '21', '24'),
+('1', '1', '12', '269', '0', '36', '28', '34', '21', '24'),
+('1', '1', '13', '288', '0', '37', '29', '35', '21', '25'),
+('1', '1', '14', '308', '0', '39', '30', '36', '22', '25'),
+('1', '1', '15', '329', '0', '40', '30', '37', '22', '25'),
+('1', '1', '16', '351', '0', '41', '31', '38', '22', '26'),
+('1', '1', '17', '374', '0', '42', '32', '40', '22', '26'),
+('1', '1', '18', '398', '0', '44', '33', '41', '22', '26'),
+('1', '1', '19', '398', '0', '44', '33', '41', '22', '26'),
+('1', '1', '20', '449', '0', '47', '35', '43', '22', '27'),
+('1', '1', '21', '476', '0', '48', '35', '45', '23', '27'),
+('1', '1', '22', '504', '0', '49', '36', '46', '23', '28'),
+('1', '1', '23', '533', '0', '51', '37', '47', '23', '28'),
+('1', '1', '24', '563', '0', '52', '38', '49', '23', '29'),
+('1', '1', '25', '594', '0', '54', '39', '50', '23', '29'),
+('1', '1', '26', '626', '0', '55', '40', '51', '23', '29'),
+('1', '1', '27', '659', '0', '57', '41', '53', '23', '30'),
+('1', '1', '28', '693', '0', '58', '42', '54', '24', '30'),
+('1', '1', '29', '728', '0', '60', '43', '56', '24', '31'),
+('1', '1', '30', '764', '0', '62', '44', '57', '24', '31'),
+('1', '1', '31', '801', '0', '63', '45', '58', '24', '31'),
+('1', '1', '32', '839', '0', '65', '46', '60', '24', '32'),
+('1', '1', '33', '878', '0', '66', '47', '61', '24', '32'),
+('1', '1', '34', '918', '0', '68', '48', '63', '25', '33'),
+('1', '1', '35', '959', '0', '70', '49', '64', '25', '33'),
+('1', '1', '36', '1001', '0', '72', '50', '66', '25', '34'),
+('1', '1', '37', '1045', '0', '73', '51', '68', '25', '34'),
+('1', '1', '38', '1091', '0', '75', '52', '69', '25', '34'),
+('1', '1', '39', '1139', '0', '77', '53', '71', '26', '35'),
+('1', '1', '40', '1189', '0', '79', '54', '72', '26', '35'),
+('1', '1', '41', '1241', '0', '80', '56', '74', '26', '36'),
+('1', '1', '42', '1295', '0', '82', '57', '76', '26', '36'),
+('1', '1', '43', '1351', '0', '84', '58', '77', '26', '37'),
+('1', '1', '44', '1409', '0', '86', '59', '79', '26', '37'),
+('1', '1', '45', '1469', '0', '88', '60', '81', '27', '38'),
+('1', '1', '46', '1531', '0', '90', '61', '83', '27', '38'),
+('1', '1', '47', '1595', '0', '92', '63', '84', '27', '39'),
+('1', '1', '48', '1661', '0', '94', '64', '86', '27', '39'),
+('1', '1', '49', '1729', '0', '96', '65', '88', '28', '40'),
+('1', '1', '50', '1799', '0', '98', '66', '90', '28', '40'),
+('1', '1', '51', '1871', '0', '100', '68', '92', '28', '42'),
+('1', '1', '52', '1945', '0', '102', '69', '94', '28', '42'),
+('1', '1', '53', '2021', '0', '104', '70', '96', '28', '43'),
+('1', '1', '54', '2099', '0', '106', '72', '98', '29', '44'),
+('1', '1', '55', '2179', '0', '109', '73', '100', '29', '44'),
+('1', '1', '56', '2261', '0', '111', '74', '102', '29', '45'),
+('1', '1', '57', '2345', '0', '113', '76', '104', '29', '45'),
+('1', '1', '58', '2431', '0', '115', '77', '106', '30', '46'),
+('1', '1', '59', '2519', '0', '118', '79', '108', '30', '46'),
+('1', '1', '60', '2609', '0', '120', '80', '110', '30', '47'),
+('1', '2', '1', '68', '79', '22', '20', '22', '20', '22'),
+('1', '2', '2', '76', '99', '23', '21', '23', '21', '23'),
+('1', '2', '3', '94', '119', '24', '21', '24', '21', '23'),
+('1', '2', '4', '112', '140', '25', '22', '25', '22', '24'),
+('1', '2', '5', '130', '162', '26', '22', '26', '22', '25'),
+('1', '2', '6', '148', '185', '27', '23', '27', '23', '25'),
+('1', '2', '7', '166', '209', '28', '23', '28', '24', '26'),
+('1', '2', '8', '184', '234', '29', '24', '28', '24', '26'),
+('1', '2', '9', '202', '260', '30', '24', '29', '25', '27'),
+('1', '2', '10', '220', '287', '31', '25', '30', '25', '28'),
+('1', '2', '11', '238', '315', '32', '25', '31', '26', '29'),
+('1', '2', '12', '256', '344', '33', '26', '32', '27', '29'),
+('1', '2', '13', '274', '374', '34', '27', '33', '27', '30'),
+('1', '2', '14', '292', '405', '35', '27', '34', '28', '31'),
+('1', '2', '15', '311', '437', '36', '28', '36', '29', '31'),
+('1', '2', '16', '331', '470', '38', '28', '37', '29', '32'),
+('1', '2', '17', '352', '504', '39', '29', '38', '30', '33'),
+('1', '2', '18', '374', '539', '40', '30', '39', '31', '34'),
+('1', '2', '19', '397', '575', '41', '30', '40', '31', '34'),
+('1', '2', '20', '421', '612', '42', '31', '41', '32', '35'),
+('1', '2', '21', '446', '650', '43', '32', '42', '33', '36'),
+('1', '2', '22', '472', '689', '45', '32', '43', '34', '37'),
+('1', '2', '23', '499', '729', '46', '33', '44', '34', '38'),
+('1', '2', '24', '527', '770', '47', '34', '46', '35', '38'),
+('1', '2', '25', '556', '812', '48', '34', '47', '36', '39'),
+('1', '2', '26', '586', '854', '50', '35', '48', '37', '40'),
+('1', '2', '27', '617', '896', '51', '36', '49', '37', '42'),
+('1', '2', '28', '649', '938', '52', '36', '50', '38', '43'),
+('1', '2', '29', '682', '980', '54', '37', '52', '39', '44'),
+('1', '2', '30', '716', '1022', '55', '38', '53', '40', '44'),
+('1', '2', '31', '751', '1064', '56', '39', '54', '41', '45'),
+('1', '2', '32', '787', '1106', '58', '39', '56', '42', '46'),
+('1', '2', '33', '824', '1148', '59', '40', '57', '42', '47'),
+('1', '2', '34', '862', '1190', '61', '41', '58', '43', '48'),
+('1', '2', '35', '901', '1232', '62', '42', '60', '44', '49'),
+('1', '2', '36', '941', '1274', '64', '43', '61', '45', '50'),
+('1', '2', '37', '982', '1316', '65', '43', '62', '46', '51'),
+('1', '2', '38', '1024', '1358', '67', '44', '64', '47', '52'),
+('1', '2', '39', '1067', '1400', '68', '45', '65', '48', '53'),
+('1', '2', '40', '1111', '1442', '70', '46', '67', '49', '54'),
+('1', '2', '41', '1156', '1484', '71', '47', '68', '50', '55'),
+('1', '2', '42', '1202', '1526', '73', '47', '70', '51', '56'),
+('1', '2', '43', '1249', '1568', '74', '48', '71', '52', '57'),
+('1', '2', '44', '1297', '1610', '76', '49', '73', '52', '58'),
+('1', '2', '45', '1346', '1652', '78', '50', '74', '53', '59'),
+('1', '2', '46', '1396', '1694', '79', '51', '76', '54', '60'),
+('1', '2', '47', '1447', '1736', '81', '52', '77', '56', '61'),
+('1', '2', '48', '1499', '1778', '83', '53', '79', '57', '63'),
+('1', '2', '49', '1552', '1820', '84', '54', '81', '58', '65'),
+('1', '2', '50', '1606', '1862', '86', '55', '82', '59', '66'),
+('1', '2', '51', '1661', '1904', '88', '56', '84', '60', '67'),
+('1', '2', '52', '1717', '1946', '90', '57', '86', '61', '68'),
+('1', '2', '53', '1774', '1988', '92', '58', '87', '62', '69'),
+('1', '2', '54', '1832', '2030', '93', '59', '89', '63', '70'),
+('1', '2', '55', '1891', '2072', '95', '60', '91', '64', '72'),
+('1', '2', '56', '1951', '2114', '97', '61', '93', '65', '73'),
+('1', '2', '57', '2012', '2156', '99', '62', '94', '66', '74'),
+('1', '2', '58', '2074', '2198', '101', '63', '96', '68', '75'),
+('1', '2', '59', '2137', '2240', '103', '64', '98', '69', '77'),
+('1', '2', '60', '2201', '2282', '105', '65', '100', '70', '78'),
+('1', '4', '1', '55', '0', '21', '23', '21', '20', '20'),
+('1', '4', '2', '72', '0', '22', '24', '22', '20', '21'),
+('1', '4', '3', '89', '0', '22', '25', '22', '20', '22'),
+('1', '4', '4', '106', '0', '23', '27', '23', '21', '22'),
+('1', '4', '5', '123', '0', '24', '28', '24', '21', '22'),
+('1', '4', '6', '140', '0', '24', '29', '24', '21', '23'),
+('1', '4', '7', '157', '0', '25', '31', '25', '21', '23'),
+('1', '4', '8', '174', '0', '26', '32', '25', '21', '23'),
+('1', '4', '9', '191', '0', '27', '33', '26', '21', '24'),
+('1', '4', '10', '208', '0', '27', '35', '27', '22', '24'),
+('1', '4', '11', '225', '0', '28', '36', '28', '22', '25'),
+('1', '4', '12', '242', '0', '29', '37', '28', '22', '25'),
+('1', '4', '13', '259', '0', '30', '39', '29', '22', '25'),
+('1', '4', '14', '276', '0', '30', '40', '30', '22', '26'),
+('1', '4', '15', '293', '0', '31', '42', '30', '23', '26'),
+('1', '4', '16', '311', '0', '32', '43', '31', '23', '27'),
+('1', '4', '17', '330', '0', '33', '44', '32', '23', '27'),
+('1', '4', '18', '350', '0', '34', '46', '33', '23', '27'),
+('1', '4', '19', '371', '0', '35', '48', '33', '23', '28'),
+('1', '4', '20', '393', '0', '35', '49', '34', '24', '28'),
+('1', '4', '21', '416', '0', '36', '51', '35', '24', '29'),
+('1', '4', '22', '440', '0', '37', '52', '36', '24', '29'),
+('1', '4', '23', '465', '0', '38', '54', '37', '24', '30'),
+('1', '4', '24', '491', '0', '39', '55', '37', '25', '30'),
+('1', '4', '25', '518', '0', '40', '57', '38', '25', '31'),
+('1', '4', '26', '546', '0', '41', '59', '39', '25', '31'),
+('1', '4', '27', '575', '0', '42', '60', '40', '25', '31'),
+('1', '4', '28', '605', '0', '43', '62', '41', '25', '32'),
+('1', '4', '29', '636', '0', '43', '64', '42', '26', '32'),
+('1', '4', '30', '668', '0', '44', '66', '42', '26', '33'),
+('1', '4', '31', '701', '0', '45', '67', '43', '26', '33'),
+('1', '4', '32', '735', '0', '46', '69', '44', '26', '34'),
+('1', '4', '33', '770', '0', '47', '71', '45', '27', '34'),
+('1', '4', '34', '806', '0', '48', '73', '46', '27', '35'),
+('1', '4', '35', '843', '0', '49', '75', '47', '27', '35'),
+('1', '4', '36', '881', '0', '51', '77', '48', '28', '36'),
+('1', '4', '37', '920', '0', '52', '78', '49', '28', '37'),
+('1', '4', '38', '960', '0', '53', '80', '50', '28', '37'),
+('1', '4', '39', '1001', '0', '54', '82', '51', '28', '38'),
+('1', '4', '40', '1043', '0', '55', '84', '52', '29', '38'),
+('1', '4', '41', '1086', '0', '56', '86', '53', '29', '39'),
+('1', '4', '42', '1130', '0', '57', '88', '54', '29', '39'),
+('1', '4', '43', '1175', '0', '58', '90', '55', '29', '40'),
+('1', '4', '44', '1221', '0', '59', '93', '56', '30', '40'),
+('1', '4', '45', '1268', '0', '61', '95', '57', '30', '42'),
+('1', '4', '46', '1316', '0', '62', '97', '58', '30', '43'),
+('1', '4', '47', '1365', '0', '63', '99', '59', '31', '43'),
+('1', '4', '48', '1415', '0', '64', '101', '60', '31', '44'),
+('1', '4', '49', '1466', '0', '65', '103', '62', '31', '45'),
+('1', '4', '50', '1518', '0', '67', '106', '63', '32', '45'),
+('1', '4', '51', '1571', '0', '68', '108', '64', '32', '46'),
+('1', '4', '52', '1625', '0', '69', '110', '65', '32', '46'),
+('1', '4', '53', '1680', '0', '70', '113', '66', '33', '47'),
+('1', '4', '54', '1736', '0', '72', '115', '67', '33', '48'),
+('1', '4', '55', '1793', '0', '73', '117', '69', '33', '48'),
+('1', '4', '56', '1851', '0', '74', '120', '70', '34', '49'),
+('1', '4', '57', '1910', '0', '76', '122', '71', '34', '50'),
+('1', '4', '58', '1970', '0', '77', '125', '72', '34', '51'),
+('1', '4', '59', '2031', '0', '79', '127', '74', '35', '51'),
+('1', '4', '60', '2093', '0', '80', '130', '75', '35', '52'),
+('1', '5', '1', '61', '128', '20', '20', '20', '22', '24'),
+('1', '5', '2', '67', '184', '20', '20', '20', '23', '25'),
+('1', '5', '3', '82', '209', '20', '20', '21', '24', '26'),
+('1', '5', '4', '97', '235', '21', '21', '21', '25', '28'),
+('1', '5', '5', '112', '262', '21', '21', '21', '27', '29'),
+('1', '5', '6', '127', '290', '21', '21', '22', '28', '30'),
+('1', '5', '7', '142', '319', '21', '21', '22', '29', '31'),
+('1', '5', '8', '157', '349', '21', '22', '22', '30', '32'),
+('1', '5', '9', '172', '380', '21', '22', '23', '31', '34'),
+('1', '5', '10', '187', '427', '22', '22', '23', '33', '35'),
+('1', '5', '11', '202', '445', '22', '22', '24', '34', '36'),
+('1', '5', '12', '217', '479', '22', '23', '24', '35', '38'),
+('1', '5', '13', '232', '514', '22', '23', '24', '36', '39'),
+('1', '5', '14', '247', '550', '22', '23', '25', '38', '40'),
+('1', '5', '15', '262', '587', '23', '23', '25', '39', '43'),
+('1', '5', '16', '277', '625', '23', '24', '26', '40', '44'),
+('1', '5', '17', '292', '679', '23', '24', '26', '42', '45'),
+('1', '5', '18', '307', '704', '23', '24', '26', '43', '47'),
+('1', '5', '19', '322', '745', '23', '25', '27', '44', '48'),
+('1', '5', '20', '337', '787', '24', '25', '27', '46', '50'),
+('1', '5', '21', '352', '830', '24', '25', '28', '47', '51'),
+('1', '5', '22', '368', '889', '24', '25', '28', '49', '53'),
+('1', '5', '23', '385', '919', '24', '26', '29', '50', '54'),
+('1', '5', '24', '403', '980', '25', '26', '29', '52', '56'),
+('1', '5', '25', '422', '1012', '25', '26', '30', '53', '57'),
+('1', '5', '26', '442', '1075', '25', '27', '30', '55', '59'),
+('1', '5', '27', '463', '1109', '25', '27', '30', '56', '61'),
+('1', '5', '28', '485', '1174', '25', '27', '31', '58', '63'),
+('1', '5', '29', '508', '1210', '26', '28', '31', '59', '65'),
+('1', '5', '30', '532', '1262', '26', '28', '32', '61', '67'),
+('1', '5', '31', '557', '1330', '26', '28', '32', '63', '68'),
+('1', '5', '32', '583', '1369', '26', '29', '33', '64', '70'),
+('1', '5', '33', '610', '1438', '27', '29', '33', '66', '72'),
+('1', '5', '34', '638', '1492', '27', '29', '34', '68', '73'),
+('1', '5', '35', '667', '1531', '27', '30', '34', '69', '75'),
+('1', '5', '36', '697', '1585', '28', '30', '35', '71', '77'),
+('1', '5', '37', '728', '1654', '28', '30', '36', '73', '79'),
+('1', '5', '38', '760', '1708', '28', '31', '36', '75', '81'),
+('1', '5', '39', '793', '1747', '28', '31', '37', '76', '84'),
+('1', '5', '40', '827', '1801', '29', '31', '37', '78', '85'),
+('1', '5', '41', '862', '1870', '29', '32', '38', '80', '87'),
+('1', '5', '42', '898', '1924', '29', '32', '38', '82', '89'),
+('1', '5', '43', '935', '1978', '29', '33', '39', '84', '91'),
+('1', '5', '44', '973', '2032', '30', '33', '39', '86', '93'),
+('1', '5', '45', '1012', '2086', '30', '33', '40', '88', '95'),
+('1', '5', '46', '1052', '2140', '30', '34', '41', '90', '97'),
+('1', '5', '47', '1093', '2194', '31', '34', '41', '92', '99'),
+('1', '5', '48', '1135', '2248', '31', '35', '42', '94', '102'),
+('1', '5', '49', '1178', '2302', '31', '35', '43', '96', '105'),
+('1', '5', '50', '1222', '2356', '32', '35', '43', '98', '107'),
+('1', '5', '51', '1267', '2410', '32', '36', '44', '100', '109'),
+('1', '5', '52', '1313', '2464', '32', '36', '44', '102', '111'),
+('1', '5', '53', '1360', '2518', '33', '37', '45', '104', '113'),
+('1', '5', '54', '1408', '2572', '33', '37', '46', '106', '116'),
+('1', '5', '55', '1457', '2626', '33', '38', '46', '109', '118'),
+('1', '5', '56', '1507', '2680', '34', '38', '47', '111', '120'),
+('1', '5', '57', '1558', '2734', '34', '39', '48', '113', '123'),
+('1', '5', '58', '1610', '2788', '34', '39', '49', '115', '126'),
+('1', '5', '59', '1663', '2842', '35', '40', '49', '118', '129'),
+('1', '5', '60', '1717', '2896', '35', '40', '50', '120', '131'),
+('1', '8', '1', '61', '119', '20', '20', '20', '23', '22'),
+('1', '8', '2', '67', '190', '20', '20', '20', '24', '24'),
+('1', '8', '3', '82', '216', '20', '20', '21', '25', '25'),
+('1', '8', '4', '97', '243', '20', '21', '21', '27', '26'),
+('1', '8', '5', '112', '271', '20', '21', '21', '28', '28'),
+('1', '8', '6', '127', '300', '21', '21', '21', '29', '29'),
+('1', '8', '7', '142', '330', '21', '21', '22', '30', '30'),
+('1', '8', '8', '157', '346', '21', '21', '22', '31', '31'),
+('1', '8', '9', '172', '393', '21', '21', '22', '33', '32'),
+('1', '8', '10', '187', '426', '21', '22', '23', '34', '34'),
+('1', '8', '11', '202', '460', '21', '22', '23', '35', '35'),
+('1', '8', '12', '217', '495', '21', '22', '23', '37', '36'),
+('1', '8', '13', '232', '531', '21', '22', '24', '38', '37'),
+('1', '8', '14', '247', '568', '22', '22', '24', '39', '39'),
+('1', '8', '15', '262', '606', '22', '23', '24', '41', '40'),
+('1', '8', '16', '277', '645', '22', '23', '25', '42', '42'),
+('1', '8', '17', '292', '670', '22', '23', '25', '43', '44'),
+('1', '8', '18', '307', '726', '22', '23', '25', '45', '45'),
+('1', '8', '19', '322', '753', '22', '23', '26', '46', '46'),
+('1', '8', '20', '337', '811', '22', '24', '26', '48', '48'),
+('1', '8', '21', '352', '840', '23', '24', '26', '49', '49'),
+('1', '8', '22', '367', '900', '23', '24', '27', '51', '51'),
+('1', '8', '23', '382', '931', '23', '24', '27', '52', '52'),
+('1', '8', '24', '398', '993', '23', '25', '28', '54', '54'),
+('1', '8', '25', '415', '1026', '23', '25', '28', '55', '55'),
+('1', '8', '26', '433', '1090', '23', '25', '28', '57', '57'),
+('1', '8', '27', '452', '1140', '23', '25', '29', '59', '58'),
+('1', '8', '28', '472', '1176', '24', '25', '29', '60', '60'),
+('1', '8', '29', '493', '1242', '24', '26', '30', '62', '61'),
+('1', '8', '30', '515', '1293', '24', '26', '30', '64', '64'),
+('1', '8', '31', '538', '1329', '24', '26', '30', '65', '66'),
+('1', '8', '32', '562', '1395', '24', '26', '31', '67', '67'),
+('1', '8', '33', '587', '1446', '24', '27', '31', '69', '69'),
+('1', '8', '34', '613', '1482', '25', '27', '32', '70', '71'),
+('1', '8', '35', '640', '1533', '25', '27', '32', '72', '72'),
+('1', '8', '36', '668', '1584', '25', '28', '33', '74', '74'),
+('1', '8', '37', '697', '1650', '25', '28', '33', '76', '76'),
+('1', '8', '38', '727', '1701', '25', '28', '33', '78', '78'),
+('1', '8', '39', '758', '1752', '26', '28', '34', '80', '79'),
+('1', '8', '40', '790', '1788', '26', '29', '34', '81', '81'),
+('1', '8', '41', '823', '1839', '26', '29', '35', '83', '84'),
+('1', '8', '42', '857', '1890', '26', '29', '35', '85', '86'),
+('1', '8', '43', '892', '1941', '26', '29', '36', '87', '88'),
+('1', '8', '44', '928', '1992', '26', '30', '36', '89', '90'),
+('1', '8', '45', '965', '2043', '27', '30', '37', '91', '92'),
+('1', '8', '46', '1003', '2094', '27', '30', '37', '93', '94'),
+('1', '8', '47', '1042', '2145', '27', '31', '38', '95', '96'),
+('1', '8', '48', '1082', '2211', '27', '31', '38', '98', '98'),
+('1', '8', '49', '1123', '2262', '28', '31', '39', '100', '100'),
+('1', '8', '50', '1165', '2298', '28', '32', '39', '102', '102'),
+('1', '8', '51', '1208', '2349', '28', '32', '40', '104', '105'),
+('1', '8', '52', '1252', '2400', '28', '32', '40', '106', '107'),
+('1', '8', '53', '1297', '2451', '28', '33', '41', '108', '109'),
+('1', '8', '54', '1343', '2502', '29', '33', '42', '111', '111'),
+('1', '8', '55', '1390', '2553', '29', '33', '42', '113', '114'),
+('1', '8', '56', '1438', '2604', '29', '34', '43', '115', '116'),
+('1', '8', '57', '1487', '2655', '29', '34', '43', '118', '118'),
+('1', '8', '58', '1537', '2706', '30', '34', '44', '120', '120'),
+('1', '8', '59', '1588', '2757', '30', '35', '44', '123', '123'),
+('1', '8', '60', '1640', '2808', '30', '35', '45', '125', '126'),
+('1', '9', '1', '53', '109', '20', '20', '21', '22', '22'),
+('1', '9', '2', '68', '163', '20', '20', '22', '23', '24'),
+('1', '9', '3', '83', '187', '21', '21', '22', '24', '25'),
+('1', '9', '4', '98', '212', '21', '21', '23', '25', '26'),
+('1', '9', '5', '113', '238', '21', '21', '23', '26', '27'),
+('1', '9', '6', '128', '265', '21', '22', '24', '27', '28'),
+('1', '9', '7', '143', '293', '22', '22', '24', '28', '30'),
+('1', '9', '8', '158', '322', '22', '22', '25', '29', '31'),
+('1', '9', '9', '173', '352', '22', '23', '25', '30', '32'),
+('1', '9', '10', '188', '383', '23', '23', '26', '31', '33'),
+('1', '9', '11', '203', '415', '23', '24', '26', '33', '34'),
+('1', '9', '12', '218', '448', '23', '24', '27', '34', '35'),
+('1', '9', '13', '233', '482', '24', '24', '27', '35', '37'),
+('1', '9', '14', '248', '517', '24', '25', '28', '36', '38'),
+('1', '9', '15', '263', '553', '24', '25', '29', '37', '39'),
+('1', '9', '16', '278', '590', '25', '26', '29', '38', '40'),
+('1', '9', '17', '293', '628', '25', '26', '30', '40', '43'),
+('1', '9', '18', '309', '667', '25', '26', '30', '41', '44'),
+('1', '9', '19', '326', '707', '26', '27', '31', '42', '45'),
+('1', '9', '20', '344', '748', '26', '27', '32', '43', '47'),
+('1', '9', '21', '363', '790', '26', '28', '32', '45', '48'),
+('1', '9', '22', '383', '833', '27', '28', '33', '46', '49'),
+('1', '9', '23', '404', '877', '27', '29', '34', '47', '51'),
+('1', '9', '24', '426', '922', '28', '29', '34', '49', '52'),
+('1', '9', '25', '449', '968', '28', '30', '35', '50', '54'),
+('1', '9', '26', '473', '1015', '28', '30', '36', '51', '55'),
+('1', '9', '27', '498', '1063', '29', '30', '36', '53', '56'),
+('1', '9', '28', '524', '1112', '29', '31', '37', '54', '58'),
+('1', '9', '29', '551', '1162', '30', '31', '38', '56', '59'),
+('1', '9', '30', '579', '1213', '30', '32', '38', '57', '61'),
+('1', '9', '31', '608', '1264', '30', '32', '39', '58', '64'),
+('1', '9', '32', '638', '1315', '31', '33', '40', '60', '65'),
+('1', '9', '33', '669', '1366', '31', '33', '41', '61', '67'),
+('1', '9', '34', '701', '1417', '32', '34', '41', '63', '68'),
+('1', '9', '35', '734', '1468', '32', '34', '42', '64', '70'),
+('1', '9', '36', '768', '1519', '33', '35', '43', '66', '72'),
+('1', '9', '37', '803', '1570', '33', '36', '44', '68', '73'),
+('1', '9', '38', '839', '1621', '33', '36', '45', '69', '75'),
+('1', '9', '39', '876', '1672', '34', '37', '45', '71', '77'),
+('1', '9', '40', '914', '1723', '34', '37', '46', '72', '78'),
+('1', '9', '41', '953', '1774', '35', '38', '47', '74', '80'),
+('1', '9', '42', '993', '1825', '35', '38', '48', '76', '82'),
+('1', '9', '43', '1024', '1876', '36', '39', '48', '77', '86'),
+('1', '9', '44', '1076', '1927', '36', '39', '50', '79', '86'),
+('1', '9', '45', '1119', '1978', '37', '40', '50', '81', '88'),
+('1', '9', '46', '1153', '2029', '37', '41', '51', '83', '90'),
+('1', '9', '47', '1208', '2080', '38', '41', '52', '84', '92'),
+('1', '9', '48', '1254', '2131', '38', '42', '53', '86', '94'),
+('1', '9', '49', '1301', '2182', '39', '43', '54', '88', '96'),
+('1', '9', '50', '1349', '2233', '39', '43', '55', '90', '98'),
+('1', '9', '51', '1398', '2284', '40', '44', '56', '92', '100'),
+('1', '9', '52', '1448', '2335', '40', '44', '57', '94', '102'),
+('1', '9', '53', '1489', '2386', '41', '45', '58', '96', '105'),
+('1', '9', '54', '1541', '2437', '42', '46', '59', '98', '107'),
+('1', '9', '55', '1604', '2488', '42', '46', '60', '100', '109'),
+('1', '9', '56', '1658', '2539', '43', '47', '61', '102', '111'),
+('1', '9', '57', '1713', '2590', '43', '48', '62', '104', '113'),
+('1', '9', '58', '1769', '2641', '44', '49', '63', '106', '116'),
+('1', '9', '59', '1826', '2692', '44', '49', '64', '108', '118'),
+('1', '9', '60', '1884', '2743', '45', '50', '65', '110', '120'),
+('2', '1', '1', '80', '0', '26', '17', '24', '17', '23'),
+('2', '1', '2', '99', '0', '27', '18', '25', '17', '23'),
+('2', '1', '3', '118', '0', '28', '18', '26', '17', '24'),
+('2', '1', '4', '137', '0', '29', '19', '27', '17', '24'),
+('2', '1', '5', '156', '0', '31', '20', '28', '17', '24'),
+('2', '1', '6', '175', '0', '32', '21', '29', '18', '24'),
+('2', '1', '7', '194', '0', '33', '21', '30', '18', '25'),
+('2', '1', '8', '213', '0', '34', '22', '31', '18', '25'),
+('2', '1', '9', '232', '0', '35', '23', '32', '18', '25'),
+('2', '1', '10', '251', '0', '36', '23', '33', '18', '26'),
+('2', '1', '11', '270', '0', '38', '24', '35', '18', '26'),
+('2', '1', '12', '289', '0', '39', '25', '36', '18', '26'),
+('2', '1', '13', '308', '0', '40', '26', '37', '18', '27'),
+('2', '1', '14', '328', '0', '42', '27', '38', '19', '27'),
+('2', '1', '15', '349', '0', '43', '27', '39', '19', '27'),
+('2', '1', '16', '371', '0', '44', '28', '40', '19', '28'),
+('2', '1', '17', '394', '0', '45', '29', '42', '19', '28'),
+('2', '1', '18', '418', '0', '47', '30', '43', '19', '28'),
+('2', '1', '19', '443', '0', '48', '31', '44', '19', '29'),
+('2', '1', '20', '469', '0', '50', '32', '45', '19', '29'),
+('2', '1', '21', '496', '0', '51', '32', '47', '20', '29'),
+('2', '1', '22', '524', '0', '52', '33', '48', '20', '30'),
+('2', '1', '23', '553', '0', '54', '34', '49', '20', '30'),
+('2', '1', '24', '583', '0', '55', '35', '51', '20', '31'),
+('2', '1', '25', '614', '0', '57', '36', '52', '20', '31'),
+('2', '1', '26', '646', '0', '58', '37', '53', '20', '31'),
+('2', '1', '27', '679', '0', '60', '38', '55', '20', '32'),
+('2', '1', '28', '713', '0', '61', '39', '56', '21', '32'),
+('2', '1', '29', '748', '0', '63', '40', '58', '21', '33'),
+('2', '1', '30', '784', '0', '65', '41', '59', '21', '33'),
+('2', '1', '31', '821', '0', '66', '42', '60', '21', '33'),
+('2', '1', '32', '859', '0', '68', '43', '62', '21', '34'),
+('2', '1', '33', '898', '0', '69', '44', '63', '21', '34'),
+('2', '1', '34', '938', '0', '71', '45', '65', '22', '35'),
+('2', '1', '35', '979', '0', '73', '46', '66', '22', '35'),
+('2', '1', '36', '1021', '0', '75', '47', '68', '22', '36'),
+('2', '1', '37', '1065', '0', '76', '48', '70', '22', '36'),
+('2', '1', '38', '1111', '0', '78', '49', '71', '22', '36'),
+('2', '1', '39', '1159', '0', '80', '50', '73', '23', '37'),
+('2', '1', '40', '1209', '0', '82', '51', '74', '23', '37'),
+('2', '1', '41', '1261', '0', '83', '53', '76', '23', '38'),
+('2', '1', '42', '1315', '0', '85', '54', '78', '23', '38'),
+('2', '1', '43', '1371', '0', '87', '55', '79', '23', '39'),
+('2', '1', '44', '1429', '0', '89', '56', '81', '23', '39'),
+('2', '1', '45', '1489', '0', '91', '57', '83', '24', '40'),
+('2', '1', '46', '1551', '0', '93', '58', '85', '24', '40'),
+('2', '1', '47', '1615', '0', '95', '60', '86', '24', '41'),
+('2', '1', '48', '1681', '0', '97', '61', '88', '24', '41'),
+('2', '1', '49', '1749', '0', '99', '62', '90', '25', '42'),
+('2', '1', '50', '1819', '0', '101', '63', '92', '25', '42'),
+('2', '1', '51', '1891', '0', '103', '65', '94', '25', '43'),
+('2', '1', '52', '1965', '0', '105', '66', '96', '25', '43'),
+('2', '1', '53', '2041', '0', '107', '67', '98', '25', '44'),
+('2', '1', '54', '2119', '0', '109', '69', '100', '26', '45'),
+('2', '1', '55', '2199', '0', '112', '70', '102', '26', '45'),
+('2', '1', '56', '2281', '0', '114', '71', '104', '26', '46'),
+('2', '1', '57', '2365', '0', '116', '73', '106', '26', '46'),
+('2', '1', '58', '2451', '0', '118', '74', '108', '27', '47'),
+('2', '1', '59', '2539', '0', '121', '76', '110', '27', '47'),
+('2', '1', '60', '2629', '0', '123', '77', '112', '27', '48'),
+('2', '3', '1', '76', '80', '23', '20', '23', '17', '24'),
+('2', '3', '2', '93', '88', '23', '21', '24', '18', '25'),
+('2', '3', '3', '110', '109', '24', '22', '25', '18', '25'),
+('2', '3', '4', '127', '117', '24', '24', '25', '19', '26'),
+('2', '3', '5', '144', '140', '25', '25', '26', '19', '26'),
+('2', '3', '6', '161', '150', '25', '26', '27', '20', '27'),
+('2', '3', '7', '178', '175', '25', '27', '28', '20', '27'),
+('2', '3', '8', '195', '201', '26', '28', '29', '21', '28'),
+('2', '3', '9', '212', '228', '26', '30', '30', '21', '29'),
+('2', '3', '10', '229', '256', '27', '31', '30', '22', '29'),
+('2', '3', '11', '246', '285', '27', '32', '31', '22', '30'),
+('2', '3', '12', '263', '315', '28', '34', '32', '23', '31'),
+('2', '3', '13', '280', '346', '28', '35', '33', '24', '31'),
+('2', '3', '14', '298', '378', '29', '36', '34', '24', '32'),
+('2', '3', '15', '317', '411', '29', '38', '35', '25', '32'),
+('2', '3', '16', '337', '445', '30', '39', '36', '25', '33'),
+('2', '3', '17', '358', '480', '30', '40', '37', '26', '34'),
+('2', '3', '18', '380', '516', '31', '42', '38', '27', '35'),
+('2', '3', '19', '403', '553', '31', '43', '39', '27', '35'),
+('2', '3', '20', '427', '591', '32', '45', '40', '28', '36'),
+('2', '3', '21', '452', '630', '32', '46', '41', '29', '37'),
+('2', '3', '22', '478', '670', '33', '48', '42', '29', '37'),
+('2', '3', '23', '505', '711', '33', '49', '43', '30', '38'),
+('2', '3', '24', '533', '753', '34', '51', '44', '31', '39'),
+('2', '3', '25', '562', '796', '34', '52', '45', '31', '40'),
+('2', '3', '26', '592', '840', '35', '54', '46', '32', '40'),
+('2', '3', '27', '623', '885', '35', '56', '47', '33', '41'),
+('2', '3', '28', '655', '930', '36', '57', '48', '33', '42'),
+('2', '3', '29', '688', '975', '36', '59', '49', '34', '43'),
+('2', '3', '30', '722', '1020', '37', '61', '50', '35', '43'),
+('2', '3', '31', '757', '1065', '37', '62', '52', '36', '44'),
+('2', '3', '32', '793', '1110', '38', '64', '53', '36', '45'),
+('2', '3', '33', '830', '1155', '39', '66', '54', '37', '46'),
+('2', '3', '34', '868', '1200', '39', '67', '55', '38', '47'),
+('2', '3', '35', '907', '1245', '40', '69', '56', '39', '48'),
+('2', '3', '36', '947', '1290', '41', '71', '58', '40', '49'),
+('2', '3', '37', '988', '1335', '41', '73', '59', '40', '49'),
+('2', '3', '38', '1030', '1380', '42', '75', '60', '41', '50'),
+('2', '3', '39', '1073', '1425', '42', '77', '61', '42', '51'),
+('2', '3', '40', '1117', '1470', '43', '78', '63', '43', '52'),
+('2', '3', '41', '1162', '1515', '44', '80', '64', '44', '53'),
+('2', '3', '42', '1208', '1560', '44', '82', '65', '44', '54'),
+('2', '3', '43', '1255', '1605', '45', '84', '66', '45', '55'),
+('2', '3', '44', '1303', '1650', '46', '86', '68', '46', '56'),
+('2', '3', '45', '1352', '1695', '46', '88', '69', '47', '57'),
+('2', '3', '46', '1402', '1740', '47', '90', '71', '48', '58'),
+('2', '3', '47', '1453', '1785', '48', '92', '72', '49', '59'),
+('2', '3', '48', '1505', '1830', '49', '95', '73', '50', '60'),
+('2', '3', '49', '1558', '1875', '49', '97', '75', '51', '61'),
+('2', '3', '50', '1612', '1920', '50', '99', '76', '52', '62'),
+('2', '3', '51', '1667', '1965', '51', '101', '78', '53', '63'),
+('2', '3', '52', '1723', '2010', '52', '103', '79', '54', '64'),
+('2', '3', '53', '1780', '2055', '52', '105', '81', '55', '65'),
+('2', '3', '54', '1838', '2100', '53', '108', '82', '56', '66'),
+('2', '3', '55', '1897', '2145', '54', '110', '84', '57', '67'),
+('2', '3', '56', '1957', '2190', '55', '112', '85', '58', '68'),
+('2', '3', '57', '2018', '2235', '56', '115', '87', '59', '70'),
+('2', '3', '58', '2080', '2280', '56', '117', '89', '60', '71'),
+('2', '3', '59', '2143', '2325', '57', '120', '90', '61', '72'),
+('2', '3', '60', '2207', '2370', '58', '122', '92', '62', '73'),
+('2', '4', '1', '75', '0', '24', '20', '23', '17', '23'),
+('2', '4', '2', '92', '0', '25', '21', '24', '17', '23'),
+('2', '4', '3', '109', '0', '25', '22', '24', '17', '24'),
+('2', '4', '4', '126', '0', '26', '24', '25', '18', '24'),
+('2', '4', '5', '143', '0', '27', '25', '26', '18', '24'),
+('2', '4', '6', '160', '0', '27', '26', '26', '18', '25'),
+('2', '4', '7', '177', '0', '28', '28', '27', '18', '25'),
+('2', '4', '8', '194', '0', '29', '29', '27', '18', '25'),
+('2', '4', '9', '211', '0', '30', '30', '28', '18', '26'),
+('2', '4', '10', '228', '0', '30', '32', '29', '19', '26'),
+('2', '4', '11', '245', '0', '31', '33', '30', '19', '27'),
+('2', '4', '12', '262', '0', '32', '34', '30', '19', '27'),
+('2', '4', '13', '279', '0', '33', '36', '31', '19', '27'),
+('2', '4', '14', '296', '0', '33', '37', '32', '19', '28'),
+('2', '4', '15', '313', '0', '34', '39', '32', '20', '28'),
+('2', '4', '16', '331', '0', '35', '40', '33', '20', '29'),
+('2', '4', '17', '350', '0', '36', '41', '34', '20', '29'),
+('2', '4', '18', '370', '0', '37', '43', '35', '20', '29'),
+('2', '4', '19', '370', '0', '37', '43', '35', '20', '29'),
+('2', '4', '20', '370', '0', '37', '43', '35', '20', '29'),
+('2', '4', '21', '436', '0', '39', '48', '37', '21', '31'),
+('2', '4', '22', '460', '0', '40', '49', '38', '21', '31'),
+('2', '4', '23', '485', '0', '41', '51', '39', '21', '32'),
+('2', '4', '24', '511', '0', '42', '52', '39', '22', '32'),
+('2', '4', '25', '538', '0', '43', '54', '40', '22', '33'),
+('2', '4', '26', '566', '0', '44', '56', '41', '22', '33'),
+('2', '4', '27', '595', '0', '45', '57', '42', '22', '33'),
+('2', '4', '28', '625', '0', '46', '59', '43', '22', '34'),
+('2', '4', '29', '656', '0', '46', '61', '44', '23', '34'),
+('2', '4', '30', '688', '0', '47', '63', '44', '23', '35'),
+('2', '4', '31', '721', '0', '48', '64', '45', '23', '35'),
+('2', '4', '32', '755', '0', '49', '66', '46', '23', '36'),
+('2', '4', '33', '790', '0', '50', '68', '47', '24', '36'),
+('2', '4', '34', '826', '0', '51', '70', '48', '24', '37'),
+('2', '4', '35', '863', '0', '52', '72', '49', '24', '37'),
+('2', '4', '36', '901', '0', '54', '74', '50', '25', '38'),
+('2', '4', '37', '940', '0', '55', '75', '51', '25', '39'),
+('2', '4', '38', '985', '0', '56', '77', '52', '25', '39'),
+('2', '4', '39', '1021', '0', '57', '79', '53', '25', '40'),
+('2', '4', '40', '1063', '0', '58', '81', '54', '26', '40'),
+('2', '4', '41', '1106', '0', '59', '83', '55', '26', '41'),
+('2', '4', '42', '1150', '0', '60', '85', '56', '26', '41'),
+('2', '4', '43', '1195', '0', '61', '87', '57', '26', '42'),
+('2', '4', '44', '1241', '0', '62', '90', '58', '27', '42'),
+('2', '4', '45', '1288', '0', '64', '92', '59', '27', '43'),
+('2', '4', '46', '1336', '0', '65', '94', '60', '27', '44'),
+('2', '4', '47', '1385', '0', '66', '96', '61', '28', '44'),
+('2', '4', '48', '1435', '0', '67', '98', '62', '28', '45'),
+('2', '4', '49', '1486', '0', '68', '100', '64', '28', '46'),
+('2', '4', '50', '1538', '0', '70', '103', '65', '29', '46'),
+('2', '4', '51', '1591', '0', '71', '105', '66', '29', '47'),
+('2', '4', '52', '1645', '0', '72', '107', '67', '29', '47'),
+('2', '4', '53', '1700', '0', '73', '110', '68', '30', '48'),
+('2', '4', '54', '1756', '0', '75', '112', '69', '30', '49'),
+('2', '4', '55', '1813', '0', '76', '114', '71', '30', '49'),
+('2', '4', '56', '1871', '0', '77', '117', '72', '31', '50'),
+('2', '4', '57', '1930', '0', '79', '119', '73', '31', '51'),
+('2', '4', '58', '1990', '0', '80', '122', '74', '31', '52'),
+('2', '4', '59', '2051', '0', '82', '124', '76', '32', '52'),
+('2', '4', '60', '2113', '0', '83', '127', '77', '32', '53'),
+('2', '7', '1', '97', '71', '24', '17', '23', '18', '25'),
+('2', '7', '2', '94', '80', '25', '17', '24', '19', '26'),
+('2', '7', '3', '111', '88', '25', '18', '25', '20', '27'),
+('2', '7', '4', '128', '111', '26', '18', '26', '20', '28'),
+('2', '7', '5', '145', '135', '27', '19', '26', '21', '29'),
+('2', '7', '6', '162', '160', '28', '19', '27', '22', '30'),
+('2', '7', '7', '179', '186', '29', '19', '28', '23', '31'),
+('2', '7', '8', '196', '213', '29', '20', '29', '24', '31'),
+('2', '7', '9', '213', '256', '30', '20', '30', '25', '32'),
+('2', '7', '10', '230', '270', '31', '21', '31', '25', '33'),
+('2', '7', '11', '247', '300', '32', '21', '32', '26', '34'),
+('2', '7', '12', '264', '331', '33', '22', '33', '27', '35'),
+('2', '7', '13', '281', '363', '33', '22', '34', '28', '36'),
+('2', '7', '14', '298', '396', '34', '23', '35', '29', '37'),
+('2', '7', '15', '315', '430', '35', '23', '36', '30', '39'),
+('2', '7', '16', '332', '465', '36', '24', '37', '31', '40'),
+('2', '7', '17', '350', '501', '37', '24', '38', '32', '41'),
+('2', '7', '18', '369', '538', '38', '25', '39', '33', '42'),
+('2', '7', '19', '389', '576', '39', '25', '40', '34', '43'),
+('2', '7', '20', '410', '615', '40', '26', '41', '35', '44'),
+('2', '7', '21', '432', '655', '41', '26', '42', '36', '45'),
+('2', '7', '22', '455', '731', '41', '27', '43', '37', '46'),
+('2', '7', '23', '479', '738', '42', '27', '44', '38', '47'),
+('2', '7', '24', '504', '781', '43', '28', '45', '39', '49'),
+('2', '7', '25', '530', '825', '44', '28', '47', '40', '50'),
+('2', '7', '26', '557', '914', '45', '29', '48', '41', '51'),
+('2', '7', '27', '585', '916', '46', '29', '49', '42', '52'),
+('2', '7', '28', '614', '963', '47', '30', '50', '43', '53'),
+('2', '7', '29', '644', '1011', '48', '30', '51', '44', '55'),
+('2', '7', '30', '675', '1113', '49', '31', '52', '45', '56'),
+('2', '7', '31', '707', '1124', '51', '31', '54', '47', '57'),
+('2', '7', '32', '740', '1232', '52', '32', '55', '48', '59'),
+('2', '7', '33', '774', '1283', '53', '33', '56', '49', '60'),
+('2', '7', '34', '809', '1319', '54', '33', '57', '50', '61'),
+('2', '7', '35', '845', '1370', '55', '34', '59', '51', '63'),
+('2', '7', '36', '882', '1438', '56', '35', '60', '53', '64'),
+('2', '7', '37', '920', '1489', '57', '35', '61', '54', '65'),
+('2', '7', '38', '959', '1541', '58', '36', '63', '55', '67'),
+('2', '7', '39', '999', '1593', '59', '36', '64', '56', '68'),
+('2', '7', '40', '1040', '1643', '61', '37', '65', '58', '70'),
+('2', '7', '41', '1082', '1675', '62', '38', '67', '59', '71'),
+('2', '7', '42', '1125', '1697', '63', '38', '68', '60', '73'),
+('2', '7', '43', '1169', '1710', '64', '39', '70', '61', '74'),
+('2', '7', '44', '1214', '1761', '66', '40', '71', '63', '76'),
+('2', '7', '45', '1260', '1885', '67', '40', '73', '64', '77'),
+('2', '7', '46', '1307', '1952', '68', '41', '74', '66', '79'),
+('2', '7', '47', '1355', '2004', '69', '42', '76', '67', '80'),
+('2', '7', '48', '1404', '2055', '71', '43', '77', '68', '82'),
+('2', '7', '49', '1454', '2106', '72', '43', '79', '70', '84'),
+('2', '7', '50', '1505', '2142', '73', '44', '80', '71', '85'),
+('2', '7', '51', '1557', '2210', '75', '45', '82', '73', '87'),
+('2', '7', '52', '1610', '2261', '76', '46', '83', '74', '89'),
+('2', '7', '53', '1664', '2312', '78', '46', '85', '76', '90'),
+('2', '7', '54', '1719', '2334', '79', '47', '87', '77', '92'),
+('2', '7', '55', '1775', '2364', '80', '48', '88', '79', '94'),
+('2', '7', '56', '1832', '2415', '82', '49', '90', '80', '96'),
+('2', '7', '57', '1890', '2518', '83', '50', '92', '82', '97'),
+('2', '7', '58', '1949', '2570', '85', '50', '93', '84', '99'),
+('2', '7', '59', '2009', '2621', '86', '51', '95', '85', '101'),
+('2', '7', '60', '2070', '2700', '88', '52', '97', '87', '103'),
+('2', '9', '1', '73', '109', '23', '17', '23', '19', '25'),
+('2', '9', '2', '88', '118', '23', '17', '24', '20', '26'),
+('2', '9', '3', '103', '142', '24', '18', '24', '21', '27'),
+('2', '9', '4', '118', '167', '24', '18', '25', '22', '28'),
+('2', '9', '5', '133', '193', '24', '18', '25', '23', '29'),
+('2', '9', '6', '148', '220', '24', '19', '26', '24', '30'),
+('2', '9', '7', '163', '248', '25', '19', '26', '25', '32'),
+('2', '9', '8', '178', '277', '25', '19', '27', '26', '33'),
+('2', '9', '9', '193', '307', '25', '20', '27', '27', '34'),
+('2', '9', '10', '208', '338', '26', '20', '28', '28', '35'),
+('2', '9', '11', '223', '370', '26', '21', '28', '30', '36'),
+('2', '9', '12', '238', '403', '26', '21', '29', '31', '37'),
+('2', '9', '13', '253', '437', '27', '21', '29', '32', '39'),
+('2', '9', '14', '268', '472', '27', '22', '30', '33', '40'),
+('2', '9', '15', '283', '508', '27', '22', '31', '34', '41'),
+('2', '9', '16', '298', '545', '28', '23', '31', '35', '42'),
+('2', '9', '17', '313', '583', '28', '23', '32', '37', '44'),
+('2', '9', '18', '329', '622', '28', '23', '32', '38', '45'),
+('2', '9', '19', '364', '662', '29', '24', '33', '39', '46'),
+('2', '9', '20', '376', '703', '29', '24', '34', '40', '48'),
+('2', '9', '21', '408', '745', '29', '25', '34', '42', '49'),
+('2', '9', '22', '408', '788', '30', '25', '34', '43', '50'),
+('2', '9', '23', '424', '832', '30', '26', '35', '44', '52'),
+('2', '9', '24', '446', '877', '31', '26', '35', '46', '53'),
+('2', '9', '25', '469', '923', '31', '27', '36', '47', '55'),
+('2', '9', '26', '493', '970', '31', '27', '37', '48', '56'),
+('2', '9', '27', '518', '1018', '32', '27', '37', '50', '57'),
+('2', '9', '28', '544', '1067', '32', '28', '38', '51', '59'),
+('2', '9', '29', '571', '1117', '33', '28', '39', '53', '60'),
+('2', '9', '30', '599', '1168', '33', '29', '39', '54', '62'),
+('2', '9', '31', '628', '1219', '33', '29', '40', '55', '64'),
+('2', '9', '32', '658', '1270', '34', '30', '41', '57', '65'),
+('2', '9', '33', '679', '1321', '34', '30', '41', '58', '68'),
+('2', '9', '34', '721', '1372', '35', '31', '42', '60', '68'),
+('2', '9', '35', '754', '1423', '35', '31', '43', '61', '70'),
+('2', '9', '36', '788', '1474', '36', '32', '44', '63', '71'),
+('2', '9', '37', '823', '1525', '36', '33', '45', '65', '73'),
+('2', '9', '38', '859', '1576', '36', '33', '46', '66', '75'),
+('2', '9', '39', '896', '1627', '37', '34', '46', '68', '77'),
+('2', '9', '40', '934', '1678', '37', '34', '47', '69', '78'),
+('2', '9', '41', '973', '1729', '38', '35', '47', '71', '80'),
+('2', '9', '42', '993', '1780', '38', '35', '47', '73', '83'),
+('2', '9', '43', '1054', '1831', '39', '36', '50', '74', '84'),
+('2', '9', '44', '1096', '1882', '39', '36', '51', '76', '85'),
+('2', '9', '45', '1139', '1933', '40', '37', '51', '78', '87'),
+('2', '9', '46', '1183', '1984', '40', '38', '52', '80', '89'),
+('2', '9', '47', '1228', '2035', '41', '38', '53', '81', '91'),
+('2', '9', '48', '1274', '2086', '41', '39', '53', '83', '93'),
+('2', '9', '49', '1321', '2137', '42', '40', '54', '85', '96'),
+('2', '9', '50', '1369', '2188', '42', '40', '56', '87', '97'),
+('2', '9', '51', '1408', '2239', '43', '41', '56', '89', '99'),
+('2', '9', '52', '1468', '2290', '43', '41', '58', '91', '101'),
+('2', '9', '53', '1519', '2341', '44', '42', '59', '93', '103'),
+('2', '9', '54', '1551', '2392', '45', '43', '60', '95', '105'),
+('2', '9', '55', '1624', '2443', '45', '43', '61', '97', '106'),
+('2', '9', '56', '1678', '2494', '46', '44', '62', '99', '109'),
+('2', '9', '57', '1727', '2545', '46', '45', '62', '101', '110'),
+('2', '9', '58', '1779', '2596', '47', '46', '64', '103', '114'),
+('2', '9', '59', '1836', '2647', '47', '46', '65', '105', '116'),
+('2', '9', '60', '1904', '2698', '48', '47', '66', '107', '118'),
+('3', '1', '1', '90', '0', '25', '16', '25', '19', '19'),
+('3', '1', '2', '109', '0', '26', '17', '26', '19', '19'),
+('3', '1', '3', '128', '0', '27', '17', '27', '19', '20'),
+('3', '1', '4', '147', '0', '28', '18', '28', '19', '20'),
+('3', '1', '5', '166', '0', '30', '19', '29', '19', '20'),
+('3', '1', '6', '185', '0', '31', '20', '30', '20', '20'),
+('3', '1', '7', '204', '0', '32', '20', '31', '20', '21'),
+('3', '1', '8', '223', '0', '33', '21', '32', '20', '21'),
+('3', '1', '9', '242', '0', '34', '22', '33', '20', '21'),
+('3', '1', '10', '261', '0', '35', '22', '34', '20', '22'),
+('3', '1', '11', '280', '0', '37', '23', '36', '20', '22'),
+('3', '1', '12', '299', '0', '38', '24', '37', '20', '22'),
+('3', '1', '13', '318', '0', '39', '25', '38', '20', '23'),
+('3', '1', '14', '338', '0', '41', '26', '39', '21', '23'),
+('3', '1', '15', '359', '0', '42', '26', '40', '21', '23'),
+('3', '1', '16', '381', '0', '43', '27', '41', '21', '24'),
+('3', '1', '17', '404', '0', '44', '28', '43', '21', '24'),
+('3', '1', '18', '428', '0', '46', '29', '44', '21', '24'),
+('3', '1', '19', '453', '0', '47', '30', '45', '21', '25'),
+('3', '1', '20', '479', '0', '49', '31', '46', '21', '25'),
+('3', '1', '21', '506', '0', '50', '31', '48', '22', '25'),
+('3', '1', '22', '534', '0', '51', '32', '49', '22', '26'),
+('3', '1', '23', '563', '0', '53', '33', '50', '22', '26'),
+('3', '1', '24', '593', '0', '54', '34', '52', '22', '27'),
+('3', '1', '25', '624', '0', '56', '35', '53', '22', '27'),
+('3', '1', '26', '656', '0', '57', '36', '54', '22', '27'),
+('3', '1', '27', '689', '0', '59', '37', '56', '22', '28'),
+('3', '1', '28', '723', '0', '60', '38', '57', '23', '28'),
+('3', '1', '29', '758', '0', '62', '39', '59', '23', '29'),
+('3', '1', '30', '794', '0', '64', '40', '60', '23', '29'),
+('3', '1', '31', '831', '0', '65', '41', '61', '23', '29'),
+('3', '1', '32', '869', '0', '67', '42', '63', '23', '30'),
+('3', '1', '33', '908', '0', '68', '43', '64', '23', '30'),
+('3', '1', '34', '948', '0', '70', '44', '66', '24', '31'),
+('3', '1', '35', '989', '0', '72', '45', '67', '24', '31'),
+('3', '1', '36', '1031', '0', '74', '46', '69', '24', '32'),
+('3', '1', '37', '1075', '0', '75', '47', '71', '24', '32'),
+('3', '1', '38', '1121', '0', '77', '48', '72', '24', '32'),
+('3', '1', '39', '1169', '0', '79', '49', '74', '25', '33'),
+('3', '1', '40', '1219', '0', '81', '50', '75', '25', '33'),
+('3', '1', '41', '1271', '0', '82', '52', '77', '25', '34'),
+('3', '1', '42', '1325', '0', '84', '53', '79', '25', '34'),
+('3', '1', '43', '1381', '0', '86', '54', '80', '25', '35'),
+('3', '1', '44', '1439', '0', '88', '55', '82', '25', '35'),
+('3', '1', '45', '1499', '0', '90', '56', '84', '26', '36'),
+('3', '1', '46', '1561', '0', '92', '57', '86', '26', '36'),
+('3', '1', '47', '1625', '0', '94', '59', '87', '26', '37'),
+('3', '1', '48', '1691', '0', '96', '60', '89', '26', '37'),
+('3', '1', '49', '1759', '0', '98', '61', '91', '27', '38'),
+('3', '1', '50', '1829', '0', '100', '62', '93', '27', '38'),
+('3', '1', '51', '1901', '0', '102', '64', '95', '27', '39'),
+('3', '1', '52', '1975', '0', '104', '65', '97', '27', '39'),
+('3', '1', '53', '2051', '0', '106', '66', '99', '27', '40'),
+('3', '1', '54', '2129', '0', '108', '68', '101', '28', '41'),
+('3', '1', '55', '2209', '0', '111', '69', '103', '28', '41'),
+('3', '1', '56', '2291', '0', '113', '70', '105', '28', '42'),
+('3', '1', '57', '2375', '0', '115', '72', '107', '28', '42'),
+('3', '1', '58', '2461', '0', '117', '73', '109', '29', '43'),
+('3', '1', '59', '2549', '0', '120', '75', '111', '29', '43'),
+('3', '1', '60', '2639', '0', '122', '76', '113', '29', '44'),
+('3', '2', '1', '88', '79', '24', '16', '25', '19', '20'),
+('3', '2', '2', '106', '84', '25', '17', '26', '20', '21'),
+('3', '2', '3', '124', '104', '26', '17', '27', '20', '21'),
+('3', '2', '4', '142', '125', '27', '18', '28', '21', '22'),
+('3', '2', '5', '160', '147', '28', '18', '29', '21', '23'),
+('3', '2', '6', '178', '170', '29', '19', '30', '22', '23'),
+('3', '2', '7', '196', '194', '30', '19', '31', '23', '24'),
+('3', '2', '8', '214', '219', '31', '20', '31', '23', '24'),
+('3', '2', '9', '232', '245', '32', '20', '32', '24', '25'),
+('3', '2', '10', '250', '272', '33', '21', '33', '24', '26'),
+('3', '2', '11', '268', '300', '34', '21', '34', '25', '27'),
+('3', '2', '12', '286', '329', '35', '22', '35', '26', '27'),
+('3', '2', '13', '304', '359', '36', '23', '36', '26', '28'),
+('3', '2', '14', '322', '390', '37', '23', '37', '27', '29'),
+('3', '2', '15', '341', '422', '38', '24', '39', '28', '29'),
+('3', '2', '16', '361', '455', '40', '24', '40', '28', '30'),
+('3', '2', '17', '382', '489', '41', '25', '41', '29', '31'),
+('3', '2', '18', '404', '524', '42', '26', '42', '30', '32'),
+('3', '2', '19', '427', '560', '43', '26', '43', '30', '32'),
+('3', '2', '20', '451', '597', '44', '27', '44', '31', '33'),
+('3', '2', '21', '476', '635', '45', '28', '45', '32', '34'),
+('3', '2', '22', '502', '674', '47', '28', '46', '33', '35'),
+('3', '2', '23', '529', '714', '48', '29', '47', '33', '36'),
+('3', '2', '24', '557', '755', '49', '30', '49', '34', '36'),
+('3', '2', '25', '586', '797', '50', '30', '50', '35', '37'),
+('3', '2', '26', '616', '839', '52', '31', '51', '36', '38'),
+('3', '2', '27', '647', '881', '53', '32', '52', '36', '39'),
+('3', '2', '28', '679', '923', '54', '32', '53', '37', '40'),
+('3', '2', '29', '712', '965', '56', '33', '55', '38', '41'),
+('3', '2', '30', '746', '1007', '57', '34', '56', '39', '41'),
+('3', '2', '31', '781', '1049', '58', '35', '57', '40', '42'),
+('3', '2', '32', '817', '1091', '60', '35', '59', '41', '43'),
+('3', '2', '33', '854', '1133', '61', '36', '60', '41', '44'),
+('3', '2', '34', '892', '1175', '63', '37', '61', '42', '45'),
+('3', '2', '35', '931', '1217', '64', '38', '63', '43', '46'),
+('3', '2', '36', '971', '1259', '66', '39', '64', '44', '47'),
+('3', '2', '37', '1012', '1301', '67', '39', '65', '45', '48'),
+('3', '2', '38', '1054', '1343', '69', '40', '67', '46', '49'),
+('3', '2', '39', '1097', '1385', '70', '41', '68', '47', '50'),
+('3', '2', '40', '1141', '1427', '72', '42', '70', '48', '51'),
+('3', '2', '41', '1186', '1469', '73', '43', '71', '49', '52'),
+('3', '2', '42', '1232', '1511', '75', '43', '73', '50', '53'),
+('3', '2', '43', '1279', '1553', '76', '44', '74', '51', '54'),
+('3', '2', '44', '1327', '1595', '78', '45', '76', '51', '55'),
+('3', '2', '45', '1376', '1637', '80', '46', '77', '52', '56'),
+('3', '2', '46', '1426', '1679', '81', '47', '79', '53', '57'),
+('3', '2', '47', '1477', '1721', '83', '48', '80', '55', '58'),
+('3', '2', '48', '1529', '1763', '85', '49', '82', '56', '59'),
+('3', '2', '49', '1582', '1805', '86', '50', '84', '57', '61'),
+('3', '2', '50', '1636', '1847', '88', '51', '85', '58', '62'),
+('3', '2', '51', '1691', '1889', '90', '52', '87', '59', '63'),
+('3', '2', '52', '1747', '1931', '92', '53', '89', '60', '64'),
+('3', '2', '53', '1804', '1973', '94', '54', '90', '61', '65'),
+('3', '2', '54', '1862', '2015', '95', '55', '92', '62', '66'),
+('3', '2', '55', '1921', '2057', '97', '56', '94', '63', '68'),
+('3', '2', '56', '1981', '2099', '99', '57', '96', '64', '69'),
+('3', '2', '57', '2042', '2141', '101', '58', '97', '65', '70'),
+('3', '2', '58', '2104', '2183', '103', '59', '99', '67', '71'),
+('3', '2', '59', '2167', '2225', '105', '60', '101', '68', '73'),
+('3', '2', '60', '2231', '2267', '107', '61', '103', '69', '74'),
+('3', '3', '1', '86', '80', '22', '19', '24', '19', '20'),
+('3', '3', '2', '103', '90', '22', '20', '25', '20', '21'),
+('3', '3', '3', '120', '111', '23', '21', '26', '20', '21'),
+('3', '3', '4', '137', '133', '23', '23', '26', '21', '22'),
+('3', '3', '5', '154', '156', '24', '24', '27', '21', '22'),
+('3', '3', '6', '171', '180', '24', '25', '28', '22', '23'),
+('3', '3', '7', '188', '205', '24', '26', '29', '22', '23'),
+('3', '3', '8', '205', '231', '25', '27', '30', '23', '24'),
+('3', '3', '9', '222', '258', '25', '29', '31', '23', '25'),
+('3', '3', '10', '239', '286', '26', '30', '31', '24', '25'),
+('3', '3', '11', '256', '315', '26', '31', '32', '24', '26'),
+('3', '3', '12', '273', '345', '27', '33', '33', '25', '27'),
+('3', '3', '13', '290', '376', '27', '34', '34', '26', '27'),
+('3', '3', '14', '308', '408', '28', '35', '35', '26', '28'),
+('3', '3', '15', '327', '441', '28', '37', '36', '27', '28'),
+('3', '3', '16', '347', '475', '29', '38', '37', '27', '29'),
+('3', '3', '17', '368', '510', '29', '39', '38', '28', '30'),
+('3', '3', '18', '390', '546', '30', '41', '39', '29', '31'),
+('3', '3', '19', '413', '583', '30', '42', '40', '29', '31'),
+('3', '3', '20', '437', '621', '31', '44', '41', '30', '32'),
+('3', '3', '21', '462', '660', '31', '45', '42', '31', '33'),
+('3', '3', '22', '488', '700', '32', '47', '43', '31', '33'),
+('3', '3', '23', '515', '741', '32', '48', '44', '32', '34'),
+('3', '3', '24', '543', '783', '33', '50', '45', '33', '35'),
+('3', '3', '25', '572', '826', '33', '51', '46', '33', '36'),
+('3', '3', '26', '602', '870', '34', '53', '47', '34', '36'),
+('3', '3', '27', '633', '915', '34', '55', '48', '35', '37'),
+('3', '3', '28', '665', '960', '35', '56', '49', '35', '38'),
+('3', '3', '29', '698', '1005', '35', '58', '50', '36', '39'),
+('3', '3', '30', '732', '1050', '36', '60', '51', '37', '39'),
+('3', '3', '31', '767', '1095', '36', '61', '53', '38', '40'),
+('3', '3', '32', '803', '1140', '37', '63', '54', '38', '41'),
+('3', '3', '33', '840', '1185', '38', '65', '55', '39', '42'),
+('3', '3', '34', '878', '1230', '38', '66', '56', '40', '43'),
+('3', '3', '35', '917', '1275', '39', '68', '57', '41', '44'),
+('3', '3', '36', '957', '1320', '40', '70', '59', '42', '45'),
+('3', '3', '37', '998', '1365', '40', '72', '60', '42', '45'),
+('3', '3', '38', '1040', '1410', '41', '74', '61', '43', '46'),
+('3', '3', '39', '1083', '1455', '41', '76', '62', '44', '47'),
+('3', '3', '40', '1127', '1500', '42', '77', '64', '45', '48'),
+('3', '3', '41', '1172', '1545', '43', '79', '65', '46', '49'),
+('3', '3', '42', '1218', '1590', '43', '81', '66', '46', '50'),
+('3', '3', '43', '1265', '1635', '44', '83', '67', '47', '51'),
+('3', '3', '44', '1313', '1680', '45', '85', '69', '48', '52'),
+('3', '3', '45', '1362', '1725', '45', '87', '70', '49', '53'),
+('3', '3', '46', '1412', '1770', '46', '89', '72', '50', '54'),
+('3', '3', '47', '1463', '1815', '47', '91', '73', '51', '55'),
+('3', '3', '48', '1515', '1860', '48', '94', '74', '52', '56'),
+('3', '3', '49', '1568', '1905', '48', '96', '76', '53', '57'),
+('3', '3', '50', '1622', '1950', '49', '98', '77', '54', '58'),
+('3', '3', '51', '1677', '1995', '50', '100', '79', '55', '59'),
+('3', '3', '52', '1733', '2040', '51', '102', '80', '56', '60'),
+('3', '3', '53', '1790', '2085', '51', '104', '82', '57', '61'),
+('3', '3', '54', '1848', '2130', '52', '107', '83', '58', '62'),
+('3', '3', '55', '1907', '2175', '53', '109', '85', '59', '63'),
+('3', '3', '56', '1967', '2220', '54', '111', '86', '60', '64'),
+('3', '3', '57', '2028', '2265', '55', '114', '88', '61', '66'),
+('3', '3', '58', '2090', '2310', '55', '116', '90', '62', '67'),
+('3', '3', '59', '2153', '2355', '56', '119', '91', '63', '68'),
+('3', '3', '60', '2217', '2400', '57', '121', '93', '64', '69'),
+('3', '4', '1', '85', '0', '23', '19', '24', '19', '19'),
+('3', '4', '2', '102', '0', '24', '20', '25', '19', '19'),
+('3', '4', '3', '119', '0', '24', '21', '25', '19', '20'),
+('3', '4', '4', '136', '0', '25', '23', '26', '20', '20'),
+('3', '4', '5', '153', '0', '26', '24', '27', '20', '20'),
+('3', '4', '6', '170', '0', '26', '25', '27', '20', '21'),
+('3', '4', '7', '187', '0', '27', '27', '28', '20', '21'),
+('3', '4', '8', '204', '0', '28', '28', '28', '20', '21'),
+('3', '4', '9', '221', '0', '29', '29', '29', '20', '22'),
+('3', '4', '10', '238', '0', '29', '31', '30', '21', '22'),
+('3', '4', '11', '255', '0', '30', '32', '31', '21', '23'),
+('3', '4', '12', '272', '0', '31', '33', '31', '21', '23'),
+('3', '4', '13', '289', '0', '32', '35', '32', '21', '23'),
+('3', '4', '14', '306', '0', '32', '36', '33', '21', '24'),
+('3', '4', '15', '323', '0', '33', '38', '33', '22', '24'),
+('3', '4', '16', '341', '0', '34', '39', '34', '22', '25'),
+('3', '4', '17', '360', '0', '35', '40', '35', '22', '25'),
+('3', '4', '18', '380', '0', '36', '42', '36', '22', '25'),
+('3', '4', '19', '401', '0', '37', '44', '36', '22', '26'),
+('3', '4', '20', '423', '0', '37', '45', '37', '23', '26'),
+('3', '4', '21', '446', '0', '38', '47', '38', '23', '27'),
+('3', '4', '22', '470', '0', '39', '48', '39', '23', '27'),
+('3', '4', '23', '495', '0', '40', '50', '40', '23', '28'),
+('3', '4', '24', '521', '0', '41', '51', '40', '24', '28'),
+('3', '4', '25', '548', '0', '42', '53', '41', '24', '29'),
+('3', '4', '26', '576', '0', '43', '55', '42', '24', '29'),
+('3', '4', '27', '605', '0', '44', '56', '43', '24', '29'),
+('3', '4', '28', '635', '0', '45', '58', '44', '24', '30'),
+('3', '4', '29', '666', '0', '45', '60', '45', '25', '30'),
+('3', '4', '30', '698', '0', '46', '62', '45', '25', '31'),
+('3', '4', '31', '731', '0', '47', '63', '46', '25', '31'),
+('3', '4', '32', '765', '0', '48', '65', '47', '25', '32'),
+('3', '4', '33', '800', '0', '49', '67', '48', '26', '32'),
+('3', '4', '34', '836', '0', '50', '69', '49', '26', '33'),
+('3', '4', '35', '873', '0', '51', '71', '50', '26', '33'),
+('3', '4', '36', '911', '0', '53', '73', '51', '27', '34'),
+('3', '4', '37', '950', '0', '54', '74', '52', '27', '35'),
+('3', '4', '38', '990', '0', '55', '76', '53', '27', '35'),
+('3', '4', '39', '1031', '0', '56', '78', '54', '27', '36'),
+('3', '4', '40', '1073', '0', '57', '80', '55', '28', '36'),
+('3', '4', '41', '1116', '0', '58', '82', '56', '28', '37'),
+('3', '4', '42', '1160', '0', '59', '84', '57', '28', '37'),
+('3', '4', '43', '1205', '0', '60', '86', '58', '28', '38'),
+('3', '4', '44', '1251', '0', '61', '89', '59', '29', '38'),
+('3', '4', '45', '1298', '0', '63', '91', '60', '29', '39'),
+('3', '4', '46', '1346', '0', '64', '93', '61', '29', '40'),
+('3', '4', '47', '1395', '0', '65', '95', '62', '30', '40'),
+('3', '4', '48', '1445', '0', '66', '97', '63', '30', '41'),
+('3', '4', '49', '1496', '0', '67', '99', '65', '30', '42'),
+('3', '4', '50', '1548', '0', '69', '102', '66', '31', '42'),
+('3', '4', '51', '1601', '0', '70', '104', '67', '31', '43'),
+('3', '4', '52', '1655', '0', '71', '106', '68', '31', '43'),
+('3', '4', '53', '1710', '0', '72', '109', '69', '32', '44'),
+('3', '4', '54', '1766', '0', '74', '111', '70', '32', '45'),
+('3', '4', '55', '1823', '0', '75', '113', '72', '32', '45'),
+('3', '4', '56', '1881', '0', '76', '116', '73', '33', '46'),
+('3', '4', '57', '1940', '0', '78', '118', '74', '33', '47'),
+('3', '4', '58', '2000', '0', '79', '121', '75', '33', '48'),
+('3', '4', '59', '2061', '0', '81', '123', '77', '34', '48'),
+('3', '4', '60', '2123', '0', '82', '126', '78', '34', '49'),
+('3', '5', '1', '91', '128', '22', '16', '23', '21', '22'),
+('3', '5', '2', '97', '169', '22', '16', '23', '22', '23'),
+('3', '5', '3', '112', '194', '22', '16', '24', '23', '24'),
+('3', '5', '4', '127', '220', '23', '17', '24', '24', '26'),
+('3', '5', '5', '142', '247', '23', '17', '24', '26', '27'),
+('3', '5', '6', '157', '275', '23', '17', '25', '27', '28'),
+('3', '5', '7', '172', '304', '23', '17', '25', '28', '29'),
+('3', '5', '8', '187', '334', '23', '18', '25', '29', '30'),
+('3', '5', '9', '202', '365', '23', '18', '26', '30', '32'),
+('3', '5', '10', '217', '412', '24', '18', '26', '32', '33'),
+('3', '5', '11', '232', '430', '24', '18', '27', '33', '34'),
+('3', '5', '12', '247', '464', '24', '19', '27', '34', '36'),
+('3', '5', '13', '262', '499', '24', '19', '27', '35', '37'),
+('3', '5', '14', '277', '535', '24', '19', '28', '37', '38'),
+('3', '5', '15', '292', '572', '25', '19', '28', '38', '40'),
+('3', '5', '16', '307', '610', '25', '20', '29', '39', '41'),
+('3', '5', '17', '322', '664', '25', '20', '29', '41', '42'),
+('3', '5', '18', '337', '689', '25', '20', '29', '42', '44'),
+('3', '5', '19', '352', '730', '25', '21', '30', '43', '45'),
+('3', '5', '20', '367', '772', '26', '21', '30', '45', '47'),
+('3', '5', '21', '382', '815', '26', '21', '31', '46', '48'),
+('3', '5', '22', '398', '874', '26', '21', '31', '48', '50'),
+('3', '5', '23', '415', '904', '26', '22', '32', '49', '51'),
+('3', '5', '24', '433', '965', '27', '22', '32', '51', '53'),
+('3', '5', '25', '452', '997', '27', '22', '33', '52', '54'),
+('3', '5', '26', '472', '1060', '27', '23', '33', '54', '56'),
+('3', '5', '27', '493', '1094', '27', '23', '33', '55', '58'),
+('3', '5', '28', '515', '1159', '27', '23', '34', '57', '59'),
+('3', '5', '29', '538', '1195', '28', '24', '34', '58', '61'),
+('3', '5', '30', '562', '1247', '28', '24', '35', '60', '63'),
+('3', '5', '31', '587', '1315', '28', '24', '35', '62', '64'),
+('3', '5', '32', '613', '1354', '28', '25', '36', '63', '66'),
+('3', '5', '33', '640', '1423', '29', '25', '36', '65', '68'),
+('3', '5', '34', '668', '1477', '29', '25', '37', '67', '69'),
+('3', '5', '35', '697', '1516', '29', '26', '37', '68', '71'),
+('3', '5', '36', '727', '1570', '30', '26', '38', '70', '73'),
+('3', '5', '37', '758', '1639', '30', '26', '39', '72', '75'),
+('3', '5', '38', '790', '1693', '30', '27', '39', '74', '77'),
+('3', '5', '39', '823', '1732', '30', '27', '40', '75', '79'),
+('3', '5', '40', '857', '1786', '31', '27', '40', '77', '80'),
+('3', '5', '41', '892', '1855', '31', '28', '41', '79', '82'),
+('3', '5', '42', '928', '1909', '31', '28', '41', '81', '84'),
+('3', '5', '43', '965', '1963', '31', '29', '42', '83', '86'),
+('3', '5', '44', '1003', '2017', '32', '29', '42', '85', '88'),
+('3', '5', '45', '1042', '2071', '32', '29', '43', '87', '90'),
+('3', '5', '46', '1082', '2125', '32', '30', '44', '89', '92'),
+('3', '5', '47', '1123', '2179', '33', '30', '44', '91', '94'),
+('3', '5', '48', '1165', '2233', '33', '31', '45', '93', '97'),
+('3', '5', '49', '1208', '2287', '33', '31', '46', '95', '99'),
+('3', '5', '50', '1252', '2341', '34', '31', '46', '97', '101'),
+('3', '5', '51', '1297', '2395', '34', '32', '47', '99', '103'),
+('3', '5', '52', '1343', '2449', '34', '32', '47', '101', '105'),
+('3', '5', '53', '1390', '2503', '35', '33', '48', '103', '107'),
+('3', '5', '54', '1438', '2557', '35', '33', '49', '105', '110'),
+('3', '5', '55', '1487', '2611', '35', '34', '49', '108', '112'),
+('3', '5', '56', '1537', '2665', '36', '34', '50', '110', '114'),
+('3', '5', '57', '1588', '2719', '36', '35', '51', '112', '117'),
+('3', '5', '58', '1640', '2773', '36', '35', '52', '114', '119'),
+('3', '5', '59', '1693', '2827', '37', '36', '52', '117', '122'),
+('3', '5', '60', '1747', '2881', '37', '36', '53', '119', '124'),
+('4', '1', '1', '50', '0', '20', '25', '21', '20', '20'),
+('4', '1', '2', '69', '0', '21', '26', '22', '20', '20'),
+('4', '1', '3', '88', '0', '22', '26', '23', '20', '21'),
+('4', '1', '4', '107', '0', '23', '27', '24', '20', '21'),
+('4', '1', '5', '126', '0', '25', '28', '25', '20', '21'),
+('4', '1', '6', '145', '0', '26', '29', '26', '21', '21'),
+('4', '1', '7', '164', '0', '27', '29', '27', '21', '22'),
+('4', '1', '8', '183', '0', '28', '30', '28', '21', '22'),
+('4', '1', '9', '202', '0', '29', '31', '29', '21', '22'),
+('4', '1', '10', '221', '0', '30', '31', '30', '21', '23'),
+('4', '1', '11', '240', '0', '32', '32', '32', '21', '23'),
+('4', '1', '12', '259', '0', '33', '33', '33', '21', '23'),
+('4', '1', '13', '278', '0', '34', '34', '34', '21', '24'),
+('4', '1', '14', '298', '0', '36', '35', '35', '22', '24'),
+('4', '1', '15', '319', '0', '37', '35', '36', '22', '24'),
+('4', '1', '16', '341', '0', '38', '36', '37', '22', '25'),
+('4', '1', '17', '364', '0', '39', '37', '39', '22', '25'),
+('4', '1', '18', '388', '0', '41', '38', '40', '22', '25'),
+('4', '1', '19', '413', '0', '42', '39', '41', '22', '26'),
+('4', '1', '20', '439', '0', '44', '40', '42', '22', '26'),
+('4', '1', '21', '466', '0', '45', '40', '44', '23', '26'),
+('4', '1', '22', '494', '0', '46', '41', '45', '23', '27'),
+('4', '1', '23', '523', '0', '48', '42', '46', '23', '27'),
+('4', '1', '24', '553', '0', '49', '43', '48', '23', '28'),
+('4', '1', '25', '584', '0', '51', '44', '49', '23', '28'),
+('4', '1', '26', '616', '0', '52', '45', '50', '23', '28'),
+('4', '1', '27', '649', '0', '54', '46', '52', '23', '29'),
+('4', '1', '28', '683', '0', '55', '47', '53', '24', '29'),
+('4', '1', '29', '718', '0', '57', '48', '55', '24', '30'),
+('4', '1', '30', '754', '0', '59', '49', '56', '24', '30'),
+('4', '1', '31', '791', '0', '60', '50', '57', '24', '30'),
+('4', '1', '32', '829', '0', '62', '51', '59', '24', '31'),
+('4', '1', '33', '868', '0', '63', '52', '60', '24', '31'),
+('4', '1', '34', '908', '0', '65', '53', '62', '25', '32'),
+('4', '1', '35', '949', '0', '67', '54', '63', '25', '32'),
+('4', '1', '36', '991', '0', '69', '55', '65', '25', '33'),
+('4', '1', '37', '1035', '0', '70', '56', '67', '25', '33'),
+('4', '1', '38', '1081', '0', '72', '57', '68', '25', '33'),
+('4', '1', '39', '1129', '0', '74', '58', '70', '26', '34'),
+('4', '1', '40', '1179', '0', '76', '59', '71', '26', '34'),
+('4', '1', '41', '1231', '0', '77', '61', '73', '26', '35'),
+('4', '1', '42', '1285', '0', '79', '62', '75', '26', '35'),
+('4', '1', '43', '1341', '0', '81', '63', '76', '26', '36'),
+('4', '1', '44', '1399', '0', '83', '64', '78', '26', '36'),
+('4', '1', '45', '1459', '0', '85', '65', '80', '27', '37'),
+('4', '1', '46', '1521', '0', '87', '66', '82', '27', '37'),
+('4', '1', '47', '1585', '0', '89', '68', '83', '27', '38'),
+('4', '1', '48', '1651', '0', '91', '69', '85', '27', '38'),
+('4', '1', '49', '1719', '0', '93', '70', '87', '28', '39'),
+('4', '1', '50', '1789', '0', '95', '71', '89', '28', '39'),
+('4', '1', '51', '1861', '0', '97', '73', '91', '28', '40'),
+('4', '1', '52', '1935', '0', '99', '74', '93', '28', '40'),
+('4', '1', '53', '2011', '0', '101', '75', '95', '28', '41'),
+('4', '1', '54', '2089', '0', '103', '77', '97', '29', '42'),
+('4', '1', '55', '2169', '0', '106', '78', '99', '29', '42'),
+('4', '1', '56', '2251', '0', '108', '79', '101', '29', '43'),
+('4', '1', '57', '2335', '0', '110', '81', '103', '29', '43'),
+('4', '1', '58', '2421', '0', '112', '82', '105', '30', '44'),
+('4', '1', '59', '2509', '0', '115', '84', '107', '30', '44'),
+('4', '1', '60', '2599', '0', '117', '85', '109', '30', '45'),
+('4', '3', '1', '46', '80', '17', '28', '20', '20', '21'),
+('4', '3', '2', '63', '105', '17', '29', '21', '21', '22'),
+('4', '3', '3', '80', '126', '18', '30', '22', '21', '22'),
+('4', '3', '4', '97', '148', '18', '32', '22', '22', '23'),
+('4', '3', '5', '114', '171', '19', '33', '23', '22', '23'),
+('4', '3', '6', '131', '195', '19', '34', '24', '23', '24'),
+('4', '3', '7', '148', '220', '19', '35', '25', '23', '24'),
+('4', '3', '8', '165', '246', '20', '36', '26', '24', '25'),
+('4', '3', '9', '182', '273', '20', '38', '27', '24', '26'),
+('4', '3', '10', '199', '301', '21', '39', '27', '25', '26'),
+('4', '3', '11', '216', '330', '21', '40', '28', '25', '27'),
+('4', '3', '12', '233', '360', '22', '42', '29', '26', '28'),
+('4', '3', '13', '250', '391', '22', '43', '30', '27', '28'),
+('4', '3', '14', '268', '423', '23', '44', '31', '27', '29'),
+('4', '3', '15', '287', '456', '23', '46', '32', '28', '29'),
+('4', '3', '16', '307', '490', '24', '47', '33', '28', '30'),
+('4', '3', '17', '328', '525', '24', '48', '34', '29', '31'),
+('4', '3', '18', '350', '561', '25', '50', '35', '30', '32'),
+('4', '3', '19', '373', '598', '25', '51', '36', '30', '32'),
+('4', '3', '20', '397', '636', '26', '53', '37', '31', '33'),
+('4', '3', '21', '422', '675', '26', '54', '38', '32', '34'),
+('4', '3', '22', '448', '715', '27', '56', '39', '32', '34'),
+('4', '3', '23', '475', '756', '27', '57', '40', '33', '35'),
+('4', '3', '24', '503', '798', '28', '59', '41', '34', '36'),
+('4', '3', '25', '532', '841', '28', '60', '42', '34', '37'),
+('4', '3', '26', '562', '885', '29', '62', '43', '35', '37'),
+('4', '3', '27', '593', '930', '29', '64', '44', '36', '38'),
+('4', '3', '28', '625', '975', '30', '65', '45', '36', '39'),
+('4', '3', '29', '658', '1020', '30', '67', '46', '37', '40'),
+('4', '3', '30', '692', '1065', '31', '69', '47', '38', '40'),
+('4', '3', '31', '727', '1110', '31', '70', '49', '39', '41'),
+('4', '3', '32', '763', '1155', '32', '72', '50', '39', '42'),
+('4', '3', '33', '800', '1200', '33', '74', '51', '40', '43'),
+('4', '3', '34', '838', '1245', '33', '75', '52', '41', '44'),
+('4', '3', '35', '877', '1290', '34', '77', '53', '42', '45'),
+('4', '3', '36', '917', '1335', '35', '79', '55', '43', '46'),
+('4', '3', '37', '958', '1380', '35', '81', '56', '43', '46'),
+('4', '3', '38', '1000', '1425', '36', '83', '57', '44', '47'),
+('4', '3', '39', '1043', '1470', '36', '85', '58', '45', '48'),
+('4', '3', '40', '1087', '1515', '37', '86', '60', '46', '49'),
+('4', '3', '41', '1132', '1560', '38', '88', '61', '47', '50'),
+('4', '3', '42', '1178', '1605', '38', '90', '62', '47', '51'),
+('4', '3', '43', '1225', '1650', '39', '92', '63', '48', '52'),
+('4', '3', '44', '1273', '1695', '40', '94', '65', '49', '53'),
+('4', '3', '45', '1322', '1740', '40', '96', '66', '50', '54'),
+('4', '3', '46', '1372', '1785', '41', '98', '68', '51', '55'),
+('4', '3', '47', '1423', '1830', '42', '100', '69', '52', '56'),
+('4', '3', '48', '1475', '1875', '43', '103', '70', '53', '57'),
+('4', '3', '49', '1528', '1920', '43', '105', '72', '54', '58'),
+('4', '3', '50', '1582', '1965', '44', '107', '73', '55', '59'),
+('4', '3', '51', '1637', '2010', '45', '109', '75', '56', '60'),
+('4', '3', '52', '1693', '2055', '46', '111', '76', '57', '61'),
+('4', '3', '53', '1750', '2100', '46', '113', '78', '58', '62'),
+('4', '3', '54', '1808', '2145', '47', '116', '79', '59', '63'),
+('4', '3', '55', '1867', '2190', '48', '118', '81', '60', '64'),
+('4', '3', '56', '1927', '2235', '49', '120', '82', '61', '65'),
+('4', '3', '57', '1988', '2280', '50', '123', '84', '62', '67'),
+('4', '3', '58', '2050', '2325', '50', '125', '86', '63', '68'),
+('4', '3', '59', '2113', '2370', '51', '128', '87', '64', '69'),
+('4', '3', '60', '2177', '2415', '52', '130', '89', '65', '70'),
+('4', '4', '1', '45', '0', '18', '28', '20', '20', '20'),
+('4', '4', '2', '62', '0', '19', '29', '21', '20', '20'),
+('4', '4', '3', '79', '0', '19', '30', '21', '20', '21'),
+('4', '4', '4', '96', '0', '20', '32', '22', '21', '21'),
+('4', '4', '5', '113', '0', '21', '33', '23', '21', '21'),
+('4', '4', '6', '130', '0', '21', '34', '23', '21', '22'),
+('4', '4', '7', '147', '0', '22', '36', '24', '21', '22'),
+('4', '4', '8', '164', '0', '23', '37', '24', '21', '22'),
+('4', '4', '9', '181', '0', '24', '38', '25', '21', '23'),
+('4', '4', '10', '198', '0', '24', '40', '26', '22', '23'),
+('4', '4', '11', '215', '0', '25', '41', '27', '22', '24'),
+('4', '4', '12', '232', '0', '26', '42', '27', '22', '24'),
+('4', '4', '13', '249', '0', '27', '44', '28', '22', '24'),
+('4', '4', '14', '266', '0', '27', '45', '29', '22', '25'),
+('4', '4', '15', '283', '0', '28', '47', '29', '23', '25'),
+('4', '4', '16', '301', '0', '29', '48', '30', '23', '26'),
+('4', '4', '17', '320', '0', '30', '49', '31', '23', '26'),
+('4', '4', '18', '340', '0', '31', '51', '32', '23', '26'),
+('4', '4', '19', '361', '0', '32', '53', '32', '23', '27'),
+('4', '4', '20', '383', '0', '32', '54', '33', '24', '27'),
+('4', '4', '21', '406', '0', '33', '56', '34', '24', '28'),
+('4', '4', '22', '430', '0', '34', '57', '35', '24', '28'),
+('4', '4', '23', '455', '0', '35', '59', '36', '24', '29'),
+('4', '4', '24', '481', '0', '36', '60', '36', '25', '29'),
+('4', '4', '25', '508', '0', '37', '62', '37', '25', '30'),
+('4', '4', '26', '536', '0', '38', '64', '38', '25', '30'),
+('4', '4', '27', '565', '0', '39', '65', '39', '25', '30'),
+('4', '4', '28', '595', '0', '40', '67', '40', '25', '31'),
+('4', '4', '29', '626', '0', '40', '69', '41', '26', '31'),
+('4', '4', '30', '658', '0', '41', '71', '41', '26', '32'),
+('4', '4', '31', '691', '0', '42', '72', '42', '26', '32'),
+('4', '4', '32', '725', '0', '43', '74', '43', '26', '33'),
+('4', '4', '33', '760', '0', '44', '76', '44', '27', '33'),
+('4', '4', '34', '796', '0', '45', '78', '45', '27', '34'),
+('4', '4', '35', '833', '0', '46', '80', '46', '27', '34'),
+('4', '4', '36', '871', '0', '48', '82', '47', '28', '35'),
+('4', '4', '37', '910', '0', '49', '83', '48', '28', '36'),
+('4', '4', '38', '950', '0', '50', '85', '49', '28', '36'),
+('4', '4', '39', '991', '0', '51', '87', '50', '28', '37'),
+('4', '4', '40', '1033', '0', '52', '89', '51', '29', '37'),
+('4', '4', '41', '1076', '0', '53', '91', '52', '29', '38'),
+('4', '4', '42', '1120', '0', '54', '93', '53', '29', '38'),
+('4', '4', '43', '1165', '0', '55', '95', '54', '29', '39'),
+('4', '4', '44', '1211', '0', '56', '98', '55', '30', '39'),
+('4', '4', '45', '1258', '0', '58', '100', '56', '30', '40'),
+('4', '4', '46', '1306', '0', '59', '102', '57', '30', '41'),
+('4', '4', '47', '1355', '0', '60', '104', '58', '31', '41'),
+('4', '4', '48', '1405', '0', '61', '106', '59', '31', '42'),
+('4', '4', '49', '1456', '0', '62', '108', '61', '31', '43'),
+('4', '4', '50', '1508', '0', '64', '111', '62', '32', '43'),
+('4', '4', '51', '1561', '0', '65', '113', '63', '32', '44'),
+('4', '4', '52', '1615', '0', '66', '115', '64', '32', '44'),
+('4', '4', '53', '1670', '0', '67', '118', '65', '33', '45'),
+('4', '4', '54', '1726', '0', '69', '120', '66', '33', '46'),
+('4', '4', '55', '1783', '0', '70', '122', '68', '33', '46'),
+('4', '4', '56', '1841', '0', '71', '125', '69', '34', '47'),
+('4', '4', '57', '1900', '0', '73', '127', '70', '34', '48'),
+('4', '4', '58', '1960', '0', '74', '130', '71', '34', '49'),
+('4', '4', '59', '2021', '0', '76', '132', '73', '35', '49'),
+('4', '4', '60', '2083', '0', '77', '135', '74', '35', '50'),
+('4', '5', '1', '51', '128', '17', '25', '19', '22', '23'),
+('4', '5', '2', '66', '184', '17', '25', '19', '23', '24'),
+('4', '5', '3', '72', '209', '17', '25', '20', '24', '25'),
+('4', '5', '4', '87', '235', '18', '26', '20', '25', '27'),
+('4', '5', '5', '102', '262', '18', '26', '20', '27', '28'),
+('4', '5', '6', '117', '290', '18', '26', '21', '28', '29'),
+('4', '5', '7', '132', '319', '18', '26', '21', '29', '30'),
+('4', '5', '8', '147', '349', '18', '27', '21', '30', '31'),
+('4', '5', '9', '162', '380', '18', '27', '22', '31', '33'),
+('4', '5', '10', '177', '427', '19', '27', '22', '33', '34'),
+('4', '5', '11', '192', '445', '19', '27', '23', '34', '35'),
+('4', '5', '12', '207', '479', '19', '28', '23', '35', '37'),
+('4', '5', '13', '222', '514', '19', '28', '23', '36', '38'),
+('4', '5', '14', '237', '550', '19', '28', '24', '38', '39'),
+('4', '5', '15', '252', '587', '20', '28', '24', '39', '41'),
+('4', '5', '16', '267', '625', '20', '29', '25', '40', '42'),
+('4', '5', '17', '282', '679', '20', '29', '25', '42', '43'),
+('4', '5', '18', '297', '704', '20', '29', '25', '43', '45'),
+('4', '5', '19', '312', '745', '20', '30', '26', '44', '46'),
+('4', '5', '20', '327', '787', '21', '30', '26', '46', '48'),
+('4', '5', '21', '342', '830', '21', '30', '27', '47', '49'),
+('4', '5', '22', '358', '889', '21', '30', '27', '49', '51'),
+('4', '5', '23', '375', '919', '21', '31', '28', '50', '52'),
+('4', '5', '24', '393', '980', '22', '31', '28', '52', '54'),
+('4', '5', '25', '412', '1012', '22', '31', '29', '53', '55'),
+('4', '5', '26', '432', '1075', '22', '32', '29', '55', '57'),
+('4', '5', '27', '453', '1109', '22', '32', '29', '56', '59'),
+('4', '5', '28', '475', '1174', '22', '32', '30', '58', '60'),
+('4', '5', '29', '498', '1210', '23', '33', '30', '59', '62'),
+('4', '5', '30', '522', '1262', '23', '33', '31', '61', '64'),
+('4', '5', '31', '547', '1330', '23', '33', '31', '63', '65'),
+('4', '5', '32', '573', '1369', '23', '34', '32', '64', '67'),
+('4', '5', '33', '600', '1438', '24', '34', '32', '66', '69'),
+('4', '5', '34', '628', '1492', '24', '34', '33', '68', '70'),
+('4', '5', '35', '657', '1531', '24', '35', '33', '69', '72'),
+('4', '5', '36', '687', '1585', '25', '35', '34', '71', '74'),
+('4', '5', '37', '718', '1654', '25', '35', '35', '73', '76'),
+('4', '5', '38', '750', '1708', '25', '36', '35', '75', '78'),
+('4', '5', '39', '783', '1747', '25', '36', '36', '76', '80'),
+('4', '5', '40', '817', '1801', '26', '36', '36', '78', '81'),
+('4', '5', '41', '852', '1870', '26', '37', '37', '80', '83'),
+('4', '5', '42', '888', '1924', '26', '37', '37', '82', '85'),
+('4', '5', '43', '925', '1978', '26', '38', '38', '84', '87'),
+('4', '5', '44', '963', '2032', '27', '38', '38', '86', '89'),
+('4', '5', '45', '1002', '2086', '27', '38', '39', '88', '91'),
+('4', '5', '46', '1042', '2140', '27', '39', '40', '90', '93'),
+('4', '5', '47', '1083', '2194', '28', '39', '40', '92', '95'),
+('4', '5', '48', '1125', '2248', '28', '40', '41', '94', '98'),
+('4', '5', '49', '1168', '2302', '28', '40', '42', '96', '100'),
+('4', '5', '50', '1212', '2356', '29', '40', '42', '98', '102'),
+('4', '5', '51', '1257', '2410', '29', '41', '43', '100', '104'),
+('4', '5', '52', '1303', '2464', '29', '41', '43', '102', '106'),
+('4', '5', '53', '1350', '2518', '30', '42', '44', '104', '108'),
+('4', '5', '54', '1398', '2572', '30', '42', '45', '106', '111'),
+('4', '5', '55', '1447', '2626', '30', '43', '45', '109', '113'),
+('4', '5', '56', '1497', '2680', '31', '43', '46', '111', '115'),
+('4', '5', '57', '1548', '2734', '31', '44', '47', '113', '118'),
+('4', '5', '58', '1600', '2788', '31', '44', '48', '115', '120'),
+('4', '5', '59', '1653', '2842', '32', '45', '48', '118', '123'),
+('4', '5', '60', '1707', '2896', '32', '45', '49', '120', '125'),
+('4', '11', '1', '53', '67', '18', '25', '19', '22', '22'),
+('4', '11', '2', '61', '122', '19', '25', '20', '23', '23'),
+('4', '11', '3', '78', '145', '19', '26', '20', '24', '24'),
+('4', '11', '4', '95', '169', '20', '26', '21', '25', '25'),
+('4', '11', '5', '112', '194', '20', '27', '21', '26', '26'),
+('4', '11', '6', '129', '220', '21', '27', '22', '27', '27'),
+('4', '11', '7', '146', '247', '21', '28', '23', '28', '28'),
+('4', '11', '8', '163', '260', '22', '28', '23', '28', '29'),
+('4', '11', '9', '180', '289', '22', '29', '24', '29', '30'),
+('4', '11', '10', '197', '319', '23', '29', '24', '30', '31'),
+('4', '11', '11', '214', '350', '23', '30', '25', '31', '33'),
+('4', '11', '12', '231', '382', '24', '30', '26', '32', '34'),
+('4', '11', '13', '248', '415', '24', '31', '26', '33', '35'),
+('4', '11', '14', '265', '449', '25', '31', '27', '34', '36'),
+('4', '11', '15', '282', '499', '26', '32', '28', '36', '37'),
+('4', '11', '16', '299', '535', '26', '32', '28', '37', '38'),
+('4', '11', '17', '316', '572', '27', '33', '29', '38', '40'),
+('4', '11', '18', '334', '610', '27', '34', '30', '39', '41'),
+('4', '11', '19', '353', '649', '28', '34', '30', '40', '42'),
+('4', '11', '20', '373', '689', '29', '35', '31', '41', '43'),
+('4', '11', '21', '394', '730', '29', '35', '32', '42', '45'),
+('4', '11', '22', '416', '757', '30', '36', '33', '43', '46'),
+('4', '11', '23', '439', '800', '31', '37', '33', '44', '47'),
+('4', '11', '24', '463', '859', '31', '37', '34', '46', '49'),
+('4', '11', '25', '488', '904', '32', '38', '35', '47', '50'),
+('4', '11', '26', '514', '949', '33', '38', '36', '48', '51'),
+('4', '11', '27', '541', '979', '33', '39', '36', '49', '53'),
+('4', '11', '28', '569', '1024', '34', '40', '37', '50', '54'),
+('4', '11', '29', '598', '1084', '35', '40', '38', '52', '56'),
+('4', '11', '30', '628', '1129', '35', '41', '39', '53', '57'),
+('4', '11', '31', '659', '1159', '36', '42', '40', '54', '58'),
+('4', '11', '32', '691', '1219', '37', '42', '41', '56', '60'),
+('4', '11', '33', '724', '1264', '38', '43', '41', '57', '61'),
+('4', '11', '34', '758', '1294', '38', '44', '42', '58', '63'),
+('4', '11', '35', '793', '1354', '39', '44', '43', '60', '64'),
+('4', '11', '36', '829', '1384', '40', '45', '44', '61', '66'),
+('4', '11', '37', '866', '1429', '41', '46', '45', '62', '68'),
+('4', '11', '38', '904', '1489', '42', '46', '46', '64', '69'),
+('4', '11', '39', '943', '1519', '42', '47', '47', '65', '71'),
+('4', '11', '40', '983', '1579', '43', '48', '48', '67', '72'),
+('4', '11', '41', '1024', '1609', '44', '49', '49', '68', '74'),
+('4', '11', '42', '1066', '1669', '45', '49', '50', '70', '76'),
+('4', '11', '43', '1109', '1699', '46', '50', '51', '71', '77'),
+('4', '11', '44', '1153', '1759', '47', '51', '51', '73', '79'),
+('4', '11', '45', '1198', '1789', '47', '52', '52', '74', '81'),
+('4', '11', '46', '1244', '1849', '48', '53', '53', '76', '83'),
+('4', '11', '47', '1291', '1879', '49', '53', '55', '77', '84'),
+('4', '11', '48', '1339', '1924', '50', '54', '56', '79', '86'),
+('4', '11', '49', '1388', '1984', '51', '55', '57', '81', '88'),
+('4', '11', '50', '1438', '2014', '52', '56', '58', '82', '90'),
+('4', '11', '51', '1489', '2059', '53', '57', '59', '84', '92'),
+('4', '11', '52', '1541', '2119', '54', '58', '60', '86', '94'),
+('4', '11', '53', '1594', '2149', '55', '59', '61', '87', '96'),
+('4', '11', '54', '1648', '2194', '56', '59', '62', '89', '98'),
+('4', '11', '55', '1703', '2239', '57', '60', '63', '91', '100'),
+('4', '11', '56', '1759', '2284', '58', '61', '64', '93', '102'),
+('4', '11', '57', '1816', '2329', '59', '62', '65', '94', '104'),
+('4', '11', '58', '1874', '2374', '60', '63', '67', '96', '106'),
+('4', '11', '59', '1933', '2419', '61', '64', '68', '98', '108'),
+('4', '11', '60', '1993', '2464', '62', '65', '69', '100', '110'),
+('5', '1', '1', '70', '0', '22', '18', '23', '18', '25'),
+('5', '1', '2', '89', '0', '23', '19', '24', '18', '25'),
+('5', '1', '3', '108', '0', '24', '19', '25', '18', '26'),
+('5', '1', '4', '127', '0', '25', '20', '26', '18', '26'),
+('5', '1', '5', '146', '0', '27', '21', '27', '18', '26'),
+('5', '1', '6', '165', '0', '28', '22', '28', '19', '26'),
+('5', '1', '7', '184', '0', '29', '22', '29', '19', '27'),
+('5', '1', '8', '203', '0', '30', '23', '30', '19', '27'),
+('5', '1', '9', '222', '0', '31', '24', '31', '19', '27'),
+('5', '1', '10', '241', '0', '32', '24', '32', '19', '28'),
+('5', '1', '11', '260', '0', '34', '25', '34', '19', '28'),
+('5', '1', '12', '279', '0', '35', '26', '35', '19', '28'),
+('5', '1', '13', '298', '0', '36', '27', '36', '19', '29'),
+('5', '1', '14', '318', '0', '38', '28', '37', '20', '29'),
+('5', '1', '15', '339', '0', '39', '28', '38', '20', '29'),
+('5', '1', '16', '361', '0', '40', '29', '39', '20', '30'),
+('5', '1', '17', '384', '0', '41', '30', '41', '20', '30'),
+('5', '1', '18', '408', '0', '43', '31', '42', '20', '30'),
+('5', '1', '19', '433', '0', '44', '32', '43', '20', '31'),
+('5', '1', '20', '459', '0', '46', '33', '44', '20', '31'),
+('5', '1', '21', '486', '0', '47', '33', '46', '21', '31'),
+('5', '1', '22', '514', '0', '48', '34', '47', '21', '32'),
+('5', '1', '23', '543', '0', '50', '35', '48', '21', '32'),
+('5', '1', '24', '573', '0', '51', '36', '50', '21', '33'),
+('5', '1', '25', '604', '0', '53', '37', '51', '21', '33'),
+('5', '1', '26', '636', '0', '54', '38', '52', '21', '33'),
+('5', '1', '27', '669', '0', '56', '39', '54', '21', '34'),
+('5', '1', '28', '703', '0', '57', '40', '55', '22', '34'),
+('5', '1', '29', '738', '0', '59', '41', '57', '22', '35'),
+('5', '1', '30', '774', '0', '61', '42', '58', '22', '35'),
+('5', '1', '31', '811', '0', '62', '43', '59', '22', '35'),
+('5', '1', '32', '849', '0', '64', '44', '61', '22', '36'),
+('5', '1', '33', '888', '0', '65', '45', '62', '22', '36'),
+('5', '1', '34', '928', '0', '67', '46', '64', '23', '37'),
+('5', '1', '35', '969', '0', '69', '47', '65', '23', '37'),
+('5', '1', '36', '1011', '0', '71', '48', '67', '23', '38'),
+('5', '1', '37', '1055', '0', '72', '49', '69', '23', '38'),
+('5', '1', '38', '1101', '0', '74', '50', '70', '23', '38'),
+('5', '1', '39', '1149', '0', '76', '51', '72', '24', '39'),
+('5', '1', '40', '1199', '0', '78', '52', '73', '24', '39'),
+('5', '1', '41', '1251', '0', '79', '54', '75', '24', '40'),
+('5', '1', '42', '1305', '0', '81', '55', '77', '24', '40'),
+('5', '1', '43', '1361', '0', '83', '56', '78', '24', '41'),
+('5', '1', '44', '1419', '0', '85', '57', '80', '24', '41'),
+('5', '1', '45', '1479', '0', '87', '58', '82', '25', '42'),
+('5', '1', '46', '1541', '0', '89', '59', '84', '25', '42'),
+('5', '1', '47', '1605', '0', '91', '61', '85', '25', '43'),
+('5', '1', '48', '1671', '0', '93', '62', '87', '25', '43'),
+('5', '1', '49', '1739', '0', '95', '63', '89', '26', '44'),
+('5', '1', '50', '1809', '0', '97', '64', '91', '26', '44'),
+('5', '1', '51', '1881', '0', '99', '66', '93', '26', '45'),
+('5', '1', '52', '1955', '0', '101', '67', '95', '26', '45'),
+('5', '1', '53', '2031', '0', '103', '68', '97', '26', '46'),
+('5', '1', '54', '2109', '0', '105', '70', '99', '27', '47'),
+('5', '1', '55', '2189', '0', '108', '71', '101', '27', '47'),
+('5', '1', '56', '2271', '0', '110', '72', '103', '27', '48'),
+('5', '1', '57', '2355', '0', '112', '74', '105', '27', '48'),
+('5', '1', '58', '2441', '0', '114', '75', '107', '28', '49'),
+('5', '1', '59', '2529', '0', '117', '77', '109', '28', '49'),
+('5', '1', '60', '2619', '0', '119', '78', '111', '28', '50'),
+('5', '4', '1', '65', '0', '20', '21', '22', '18', '25'),
+('5', '4', '2', '82', '0', '21', '22', '23', '18', '25'),
+('5', '4', '3', '99', '0', '21', '23', '23', '18', '26'),
+('5', '4', '4', '116', '0', '22', '25', '24', '19', '26'),
+('5', '4', '5', '133', '0', '23', '26', '25', '19', '26'),
+('5', '4', '6', '150', '0', '23', '27', '25', '19', '27'),
+('5', '4', '7', '167', '0', '24', '29', '26', '19', '27'),
+('5', '4', '8', '184', '0', '25', '30', '26', '19', '27'),
+('5', '4', '9', '201', '0', '26', '31', '27', '19', '28'),
+('5', '4', '10', '218', '0', '26', '33', '28', '20', '28'),
+('5', '4', '11', '235', '0', '27', '34', '29', '20', '29'),
+('5', '4', '12', '252', '0', '28', '35', '29', '20', '29'),
+('5', '4', '13', '269', '0', '29', '37', '30', '20', '29'),
+('5', '4', '14', '286', '0', '29', '38', '31', '20', '30'),
+('5', '4', '15', '303', '0', '30', '40', '31', '21', '30'),
+('5', '4', '16', '321', '0', '31', '41', '32', '21', '31'),
+('5', '4', '17', '340', '0', '32', '42', '33', '21', '31'),
+('5', '4', '18', '360', '0', '33', '44', '34', '21', '31'),
+('5', '4', '19', '381', '0', '34', '46', '34', '21', '32'),
+('5', '4', '20', '403', '0', '34', '47', '35', '22', '32'),
+('5', '4', '21', '426', '0', '35', '49', '36', '22', '33'),
+('5', '4', '22', '450', '0', '36', '50', '37', '22', '33'),
+('5', '4', '23', '475', '0', '37', '52', '38', '22', '34'),
+('5', '4', '24', '501', '0', '38', '53', '38', '23', '34'),
+('5', '4', '25', '528', '0', '39', '55', '39', '23', '35'),
+('5', '4', '26', '556', '0', '40', '57', '40', '23', '35'),
+('5', '4', '27', '585', '0', '41', '58', '41', '23', '35'),
+('5', '4', '28', '615', '0', '42', '60', '42', '23', '36'),
+('5', '4', '29', '646', '0', '42', '62', '43', '24', '36'),
+('5', '4', '30', '678', '0', '43', '64', '43', '24', '37'),
+('5', '4', '31', '711', '0', '44', '65', '44', '24', '37'),
+('5', '4', '32', '745', '0', '45', '67', '45', '24', '38'),
+('5', '4', '33', '780', '0', '46', '69', '46', '25', '38'),
+('5', '4', '34', '816', '0', '47', '71', '47', '25', '39'),
+('5', '4', '35', '853', '0', '48', '73', '48', '25', '39'),
+('5', '4', '36', '891', '0', '50', '75', '49', '26', '40'),
+('5', '4', '37', '930', '0', '51', '76', '50', '26', '41'),
+('5', '4', '38', '970', '0', '52', '78', '51', '26', '41'),
+('5', '4', '39', '1011', '0', '53', '80', '52', '26', '42'),
+('5', '4', '40', '1053', '0', '54', '82', '53', '27', '42'),
+('5', '4', '41', '1096', '0', '55', '84', '54', '27', '43'),
+('5', '4', '42', '1140', '0', '56', '86', '55', '27', '43'),
+('5', '4', '43', '1185', '0', '57', '88', '56', '27', '44'),
+('5', '4', '44', '1231', '0', '58', '91', '57', '28', '44'),
+('5', '4', '45', '1278', '0', '60', '93', '58', '28', '45'),
+('5', '4', '46', '1326', '0', '61', '95', '59', '28', '46'),
+('5', '4', '47', '1375', '0', '62', '97', '60', '29', '46'),
+('5', '4', '48', '1425', '0', '63', '99', '61', '29', '47'),
+('5', '4', '49', '1476', '0', '64', '101', '63', '29', '48'),
+('5', '4', '50', '1528', '0', '66', '104', '64', '30', '48'),
+('5', '4', '51', '1581', '0', '67', '106', '65', '30', '49'),
+('5', '4', '52', '1635', '0', '68', '108', '66', '30', '49'),
+('5', '4', '53', '1690', '0', '69', '111', '67', '31', '50'),
+('5', '4', '54', '1746', '0', '71', '113', '68', '31', '51'),
+('5', '4', '55', '1803', '0', '72', '115', '70', '31', '51'),
+('5', '4', '56', '1861', '0', '73', '118', '71', '32', '52'),
+('5', '4', '57', '1920', '0', '75', '120', '72', '32', '53'),
+('5', '4', '58', '1980', '0', '76', '123', '73', '32', '54'),
+('5', '4', '59', '2041', '0', '78', '125', '75', '33', '54'),
+('5', '4', '60', '2103', '0', '79', '128', '76', '33', '55'),
+('5', '5', '1', '71', '128', '19', '18', '21', '20', '28'),
+('5', '5', '2', '77', '154', '19', '18', '21', '21', '29'),
+('5', '5', '3', '92', '179', '19', '18', '22', '22', '30'),
+('5', '5', '4', '107', '205', '20', '19', '22', '23', '32'),
+('5', '5', '5', '122', '232', '20', '19', '22', '25', '33'),
+('5', '5', '6', '137', '260', '20', '19', '23', '26', '34'),
+('5', '5', '7', '152', '289', '20', '19', '23', '27', '35'),
+('5', '5', '8', '167', '319', '20', '20', '23', '28', '36'),
+('5', '5', '9', '182', '350', '20', '20', '24', '29', '38'),
+('5', '5', '10', '197', '397', '21', '20', '24', '31', '39'),
+('5', '5', '11', '212', '415', '21', '20', '25', '32', '40'),
+('5', '5', '12', '227', '449', '21', '21', '25', '33', '42'),
+('5', '5', '13', '242', '484', '21', '21', '25', '34', '43'),
+('5', '5', '14', '257', '520', '21', '21', '26', '36', '44'),
+('5', '5', '15', '272', '557', '22', '21', '26', '37', '46'),
+('5', '5', '16', '287', '595', '22', '22', '27', '38', '47'),
+('5', '5', '17', '302', '649', '22', '22', '27', '40', '48'),
+('5', '5', '18', '317', '674', '22', '22', '27', '41', '50'),
+('5', '5', '19', '332', '715', '22', '23', '28', '42', '51'),
+('5', '5', '20', '347', '757', '23', '23', '28', '44', '53'),
+('5', '5', '21', '362', '800', '23', '23', '29', '45', '54'),
+('5', '5', '22', '378', '859', '23', '23', '29', '47', '56'),
+('5', '5', '23', '395', '889', '23', '24', '30', '48', '57'),
+('5', '5', '24', '413', '950', '24', '24', '30', '50', '59'),
+('5', '5', '25', '432', '982', '24', '24', '31', '51', '60'),
+('5', '5', '26', '452', '1045', '24', '25', '31', '53', '62'),
+('5', '5', '27', '473', '1079', '24', '25', '31', '54', '64'),
+('5', '5', '28', '495', '1144', '24', '25', '32', '56', '65'),
+('5', '5', '29', '518', '1180', '25', '26', '32', '57', '67'),
+('5', '5', '30', '542', '1232', '25', '26', '33', '59', '69'),
+('5', '5', '31', '567', '1300', '25', '26', '33', '61', '70'),
+('5', '5', '32', '593', '1339', '25', '27', '34', '62', '72'),
+('5', '5', '33', '620', '1408', '26', '27', '34', '64', '74'),
+('5', '5', '34', '648', '1462', '26', '27', '35', '66', '75'),
+('5', '5', '35', '677', '1501', '26', '28', '35', '67', '77'),
+('5', '5', '36', '707', '1555', '27', '28', '36', '69', '79'),
+('5', '5', '37', '738', '1624', '27', '28', '37', '71', '81'),
+('5', '5', '38', '770', '1678', '27', '29', '37', '73', '83'),
+('5', '5', '39', '803', '1717', '27', '29', '38', '74', '85'),
+('5', '5', '40', '837', '1771', '28', '29', '38', '76', '86'),
+('5', '5', '41', '872', '1840', '28', '30', '39', '78', '88'),
+('5', '5', '42', '908', '1894', '28', '30', '39', '80', '90'),
+('5', '5', '43', '945', '1948', '28', '31', '40', '82', '92'),
+('5', '5', '44', '983', '2002', '29', '31', '40', '84', '94'),
+('5', '5', '45', '1022', '2056', '29', '31', '41', '86', '96'),
+('5', '5', '46', '1062', '2110', '29', '32', '42', '88', '98'),
+('5', '5', '47', '1103', '2164', '30', '32', '42', '90', '100'),
+('5', '5', '48', '1145', '2218', '30', '33', '43', '92', '103'),
+('5', '5', '49', '1188', '2272', '30', '33', '44', '94', '105'),
+('5', '5', '50', '1232', '2326', '31', '33', '44', '96', '107'),
+('5', '5', '51', '1277', '2380', '31', '34', '45', '98', '109'),
+('5', '5', '52', '1323', '2434', '31', '34', '45', '100', '111'),
+('5', '5', '53', '1370', '2488', '32', '35', '46', '102', '113'),
+('5', '5', '54', '1418', '2542', '32', '35', '47', '104', '116'),
+('5', '5', '55', '1467', '2596', '32', '36', '47', '107', '118'),
+('5', '5', '56', '1517', '2650', '33', '36', '48', '109', '120'),
+('5', '5', '57', '1568', '2704', '33', '37', '49', '111', '123'),
+('5', '5', '58', '1620', '2758', '33', '37', '50', '113', '125'),
+('5', '5', '59', '1673', '2812', '34', '38', '50', '116', '128'),
+('5', '5', '60', '1727', '2866', '34', '38', '51', '118', '130'),
+('5', '8', '1', '62', '135', '19', '18', '21', '27', '21'),
+('5', '8', '2', '77', '160', '19', '18', '21', '22', '28'),
+('5', '8', '3', '92', '186', '19', '18', '22', '23', '29'),
+('5', '8', '4', '107', '213', '19', '19', '22', '25', '30'),
+('5', '8', '5', '122', '241', '19', '19', '22', '26', '32'),
+('5', '8', '6', '137', '270', '20', '19', '22', '27', '33'),
+('5', '8', '7', '152', '300', '20', '19', '23', '28', '34'),
+('5', '8', '8', '167', '316', '20', '19', '23', '29', '35'),
+('5', '8', '9', '182', '363', '20', '19', '23', '31', '36'),
+('5', '8', '10', '197', '396', '20', '20', '24', '32', '38'),
+('5', '8', '11', '212', '430', '20', '20', '24', '33', '39'),
+('5', '8', '12', '227', '465', '20', '20', '24', '35', '40'),
+('5', '8', '13', '242', '501', '20', '20', '25', '36', '41'),
+('5', '8', '14', '257', '538', '21', '20', '25', '37', '43'),
+('5', '8', '15', '272', '576', '21', '21', '25', '39', '44'),
+('5', '8', '16', '287', '615', '21', '21', '26', '40', '45'),
+('5', '8', '17', '302', '640', '21', '21', '26', '41', '47'),
+('5', '8', '18', '317', '696', '21', '21', '26', '43', '48'),
+('5', '8', '19', '332', '723', '21', '21', '27', '44', '49'),
+('5', '8', '20', '347', '781', '21', '22', '27', '46', '51'),
+('5', '8', '21', '362', '810', '22', '22', '27', '47', '52'),
+('5', '8', '22', '377', '870', '22', '22', '28', '49', '54'),
+('5', '8', '23', '392', '901', '22', '22', '28', '50', '55'),
+('5', '8', '24', '408', '963', '22', '23', '29', '52', '57'),
+('5', '8', '25', '425', '996', '22', '23', '29', '53', '58'),
+('5', '8', '26', '443', '1060', '22', '23', '29', '55', '60'),
+('5', '8', '27', '462', '1110', '22', '23', '30', '57', '61'),
+('5', '8', '28', '482', '1146', '23', '23', '30', '58', '63'),
+('5', '8', '29', '503', '1212', '23', '24', '31', '60', '64'),
+('5', '8', '30', '525', '1263', '23', '24', '31', '62', '66'),
+('5', '8', '31', '548', '1299', '23', '24', '31', '63', '68'),
+('5', '8', '32', '572', '1365', '23', '24', '32', '65', '69'),
+('5', '8', '33', '597', '1416', '23', '25', '32', '67', '71'),
+('5', '8', '34', '623', '1452', '24', '25', '33', '68', '73'),
+('5', '8', '35', '650', '1503', '24', '25', '33', '70', '74'),
+('5', '8', '36', '678', '1554', '24', '26', '34', '72', '76'),
+('5', '8', '37', '707', '1620', '24', '26', '34', '74', '78'),
+('5', '8', '38', '737', '1671', '24', '26', '34', '76', '80'),
+('5', '8', '39', '768', '1722', '25', '26', '35', '78', '81'),
+('5', '8', '40', '800', '1758', '25', '27', '35', '79', '83'),
+('5', '8', '41', '833', '1809', '25', '27', '36', '81', '85'),
+('5', '8', '42', '867', '1860', '25', '27', '36', '83', '87'),
+('5', '8', '43', '902', '1911', '25', '27', '37', '85', '89'),
+('5', '8', '44', '938', '1962', '25', '28', '37', '87', '91'),
+('5', '8', '45', '975', '2013', '26', '28', '38', '89', '93'),
+('5', '8', '46', '1013', '2064', '26', '28', '38', '91', '95'),
+('5', '8', '47', '1052', '2115', '26', '29', '39', '93', '97'),
+('5', '8', '48', '1092', '2181', '26', '29', '39', '96', '99'),
+('5', '8', '49', '1133', '2232', '27', '29', '40', '98', '101'),
+('5', '8', '50', '1175', '2268', '27', '30', '40', '100', '103'),
+('5', '8', '51', '1218', '2319', '27', '30', '41', '102', '105'),
+('5', '8', '52', '1262', '2370', '27', '30', '41', '104', '107'),
+('5', '8', '53', '1307', '2421', '27', '31', '42', '106', '109'),
+('5', '8', '54', '1353', '2472', '28', '31', '43', '109', '111'),
+('5', '8', '55', '1400', '2523', '28', '31', '43', '111', '114'),
+('5', '8', '56', '1448', '2574', '28', '32', '44', '113', '116'),
+('5', '8', '57', '1497', '2625', '28', '32', '44', '116', '118'),
+('5', '8', '58', '1547', '2676', '29', '32', '45', '118', '120'),
+('5', '8', '59', '1598', '2727', '29', '33', '45', '121', '123'),
+('5', '8', '60', '1650', '2778', '29', '33', '46', '123', '125'),
+('5', '9', '1', '63', '109', '19', '18', '22', '20', '27'),
+('5', '9', '2', '78', '133', '19', '18', '23', '21', '28'),
+('5', '9', '3', '93', '157', '20', '19', '23', '22', '29'),
+('5', '9', '4', '108', '182', '20', '19', '24', '23', '30'),
+('5', '9', '5', '123', '208', '20', '19', '24', '24', '31'),
+('5', '9', '6', '138', '235', '20', '20', '25', '25', '32'),
+('5', '9', '7', '153', '263', '21', '20', '25', '26', '34'),
+('5', '9', '8', '168', '292', '21', '20', '26', '27', '35'),
+('5', '9', '9', '183', '322', '21', '21', '26', '28', '36'),
+('5', '9', '10', '198', '353', '22', '21', '27', '29', '37'),
+('5', '9', '11', '213', '385', '22', '22', '27', '31', '38'),
+('5', '9', '12', '228', '418', '22', '22', '28', '32', '39'),
+('5', '9', '13', '243', '452', '23', '22', '28', '33', '41'),
+('5', '9', '14', '258', '487', '23', '23', '29', '34', '42'),
+('5', '9', '15', '273', '523', '23', '23', '30', '35', '43'),
+('5', '9', '16', '288', '560', '24', '24', '30', '36', '44'),
+('5', '9', '17', '303', '598', '24', '24', '31', '38', '46'),
+('5', '9', '18', '319', '637', '24', '24', '31', '39', '47'),
+('5', '9', '19', '336', '677', '25', '25', '32', '40', '48'),
+('5', '9', '20', '354', '718', '25', '25', '33', '41', '50'),
+('5', '9', '21', '373', '760', '25', '26', '33', '43', '51'),
+('5', '9', '22', '393', '803', '26', '26', '34', '44', '52'),
+('5', '9', '23', '414', '847', '26', '27', '35', '45', '54'),
+('5', '9', '24', '436', '892', '27', '27', '35', '47', '55'),
+('5', '9', '25', '459', '938', '27', '28', '36', '48', '57'),
+('5', '9', '26', '483', '985', '27', '28', '37', '49', '58'),
+('5', '9', '27', '508', '1033', '28', '28', '37', '51', '59'),
+('5', '9', '28', '534', '1082', '28', '29', '38', '52', '61'),
+('5', '9', '29', '561', '1132', '29', '29', '39', '54', '62'),
+('5', '9', '30', '589', '1183', '29', '30', '39', '55', '64'),
+('5', '9', '31', '618', '1234', '29', '30', '40', '56', '66'),
+('5', '9', '32', '648', '1285', '30', '31', '41', '58', '67'),
+('5', '9', '33', '679', '1336', '30', '31', '42', '59', '69'),
+('5', '9', '34', '711', '1387', '31', '32', '42', '61', '70'),
+('5', '9', '35', '744', '1438', '31', '32', '43', '62', '72'),
+('5', '9', '36', '768', '1489', '32', '33', '43', '64', '75'),
+('5', '9', '37', '813', '1540', '32', '34', '45', '66', '75'),
+('5', '9', '38', '849', '1591', '32', '34', '46', '67', '77'),
+('5', '9', '39', '886', '1642', '33', '35', '46', '69', '79'),
+('5', '9', '40', '924', '1693', '33', '35', '47', '70', '80'),
+('5', '9', '41', '963', '1744', '34', '36', '48', '72', '82'),
+('5', '9', '42', '993', '1795', '34', '36', '48', '74', '85'),
+('5', '9', '43', '1044', '1846', '35', '37', '50', '75', '86'),
+('5', '9', '44', '1086', '1897', '35', '37', '51', '77', '87'),
+('5', '9', '45', '1129', '1948', '36', '38', '51', '79', '89'),
+('5', '9', '46', '1173', '1999', '36', '39', '52', '81', '90'),
+('5', '9', '47', '1218', '2050', '37', '39', '53', '82', '93'),
+('5', '9', '48', '1264', '2101', '37', '40', '54', '84', '95'),
+('5', '9', '49', '1311', '2152', '38', '41', '55', '86', '96'),
+('5', '9', '50', '1339', '2203', '38', '41', '56', '88', '99'),
+('5', '9', '51', '1398', '2254', '39', '42', '57', '90', '101'),
+('5', '9', '52', '1458', '2305', '39', '42', '58', '92', '103'),
+('5', '9', '53', '1509', '2356', '40', '43', '59', '94', '105'),
+('5', '9', '54', '1551', '2407', '41', '44', '60', '96', '107'),
+('5', '9', '55', '1594', '2458', '41', '44', '60', '98', '110'),
+('5', '9', '56', '1668', '2509', '42', '45', '62', '100', '111'),
+('5', '9', '57', '1723', '2560', '42', '46', '63', '102', '113'),
+('5', '9', '58', '1769', '2611', '43', '47', '63', '104', '116'),
+('5', '9', '59', '1836', '2662', '43', '47', '65', '106', '118'),
+('5', '9', '60', '1894', '2713', '44', '48', '66', '108', '120'),
+('6', '1', '1', '80', '0', '28', '15', '24', '15', '22'),
+('6', '1', '2', '103', '0', '29', '16', '25', '15', '22'),
+('6', '1', '3', '123', '0', '30', '16', '26', '15', '23'),
+('6', '1', '4', '144', '0', '31', '17', '27', '15', '23'),
+('6', '1', '5', '163', '0', '33', '18', '28', '15', '23'),
+('6', '1', '6', '183', '0', '34', '19', '29', '16', '23'),
+('6', '1', '7', '204', '0', '35', '19', '30', '16', '24'),
+('6', '1', '8', '223', '0', '36', '20', '31', '16', '24'),
+('6', '1', '9', '244', '0', '37', '21', '32', '16', '24'),
+('6', '1', '10', '264', '0', '38', '21', '33', '16', '25'),
+('6', '1', '11', '283', '0', '40', '22', '35', '16', '25'),
+('6', '1', '12', '302', '0', '41', '23', '36', '16', '25'),
+('6', '1', '13', '322', '0', '42', '24', '37', '16', '26'),
+('6', '1', '14', '344', '0', '44', '25', '38', '17', '26'),
+('6', '1', '15', '365', '0', '45', '25', '39', '17', '26'),
+('6', '1', '16', '390', '0', '46', '26', '40', '17', '27'),
+('6', '1', '17', '414', '0', '47', '27', '42', '17', '27'),
+('6', '1', '18', '438', '0', '49', '28', '43', '17', '27'),
+('6', '1', '19', '466', '0', '50', '29', '44', '17', '28'),
+('6', '1', '20', '491', '0', '52', '30', '45', '17', '28'),
+('6', '1', '21', '520', '0', '53', '30', '47', '18', '28'),
+('6', '1', '22', '550', '0', '54', '31', '48', '18', '29'),
+('6', '1', '23', '580', '0', '56', '32', '49', '18', '29'),
+('6', '1', '24', '611', '0', '57', '33', '51', '18', '30'),
+('6', '1', '25', '645', '0', '59', '34', '52', '18', '30'),
+('6', '1', '26', '677', '0', '60', '35', '53', '18', '30'),
+('6', '1', '27', '713', '0', '62', '36', '55', '18', '31'),
+('6', '1', '28', '748', '0', '63', '37', '56', '19', '31'),
+('6', '1', '29', '785', '0', '65', '38', '58', '19', '32'),
+('6', '1', '30', '824', '0', '67', '39', '59', '19', '32'),
+('6', '1', '31', '861', '0', '68', '40', '60', '19', '32'),
+('6', '1', '32', '902', '0', '70', '41', '62', '19', '33'),
+('6', '1', '33', '942', '0', '71', '42', '63', '19', '33'),
+('6', '1', '34', '984', '0', '73', '43', '65', '20', '34'),
+('6', '1', '35', '1028', '0', '75', '44', '66', '20', '34'),
+('6', '1', '36', '1071', '0', '77', '45', '68', '20', '35'),
+('6', '1', '37', '1117', '0', '78', '46', '70', '20', '35'),
+('6', '1', '38', '1167', '0', '80', '47', '71', '20', '35'),
+('6', '1', '39', '1217', '0', '82', '48', '73', '21', '36'),
+('6', '1', '40', '1268', '0', '84', '49', '74', '21', '36'),
+('6', '1', '41', '1324', '0', '85', '51', '76', '21', '37'),
+('6', '1', '42', '1381', '0', '87', '52', '78', '21', '37'),
+('6', '1', '43', '1440', '0', '89', '53', '79', '21', '38'),
+('6', '1', '44', '1500', '0', '91', '54', '81', '21', '38'),
+('6', '1', '45', '1563', '0', '93', '55', '83', '22', '39'),
+('6', '1', '46', '1629', '0', '95', '56', '85', '22', '39'),
+('6', '1', '47', '1696', '0', '97', '58', '86', '22', '40'),
+('6', '1', '48', '1764', '0', '99', '59', '88', '22', '40'),
+('6', '1', '49', '1836', '0', '101', '60', '90', '23', '41'),
+('6', '1', '50', '1910', '0', '103', '61', '92', '23', '41'),
+('6', '1', '51', '1986', '0', '105', '63', '94', '23', '42'),
+('6', '1', '52', '2062', '0', '107', '64', '96', '23', '42'),
+('6', '1', '53', '2142', '0', '109', '65', '98', '23', '43'),
+('6', '1', '54', '2225', '0', '111', '67', '100', '24', '44'),
+('6', '1', '55', '2309', '0', '114', '68', '102', '24', '44'),
+('6', '1', '56', '2395', '0', '116', '69', '104', '24', '45'),
+('6', '1', '57', '2483', '0', '118', '71', '106', '24', '45'),
+('6', '1', '58', '2574', '0', '120', '72', '108', '25', '46'),
+('6', '1', '59', '2666', '0', '123', '74', '110', '25', '46'),
+('6', '1', '60', '2760', '0', '125', '75', '112', '25', '47'),
+('6', '3', '1', '76', '80', '25', '18', '23', '15', '23'),
+('6', '3', '2', '97', '86', '25', '19', '24', '16', '24'),
+('6', '3', '3', '115', '107', '26', '20', '25', '16', '24'),
+('6', '3', '4', '133', '115', '26', '22', '25', '17', '25'),
+('6', '3', '5', '151', '138', '27', '23', '26', '17', '25'),
+('6', '3', '6', '168', '148', '27', '24', '27', '18', '26'),
+('6', '3', '7', '186', '173', '27', '25', '28', '18', '26'),
+('6', '3', '8', '204', '185', '28', '26', '29', '19', '27'),
+('6', '3', '9', '223', '212', '28', '28', '30', '19', '28'),
+('6', '3', '10', '239', '226', '29', '29', '30', '20', '28'),
+('6', '3', '11', '257', '255', '29', '30', '31', '20', '29'),
+('6', '3', '12', '275', '285', '30', '32', '32', '21', '30'),
+('6', '3', '13', '294', '316', '30', '33', '33', '22', '30'),
+('6', '3', '14', '312', '348', '31', '34', '34', '22', '31'),
+('6', '3', '15', '333', '381', '31', '36', '35', '23', '31'),
+('6', '3', '16', '354', '415', '32', '37', '36', '23', '32'),
+('6', '3', '17', '375', '450', '32', '38', '37', '24', '33'),
+('6', '3', '18', '399', '486', '33', '40', '38', '25', '34'),
+('6', '3', '19', '424', '523', '33', '41', '39', '25', '34'),
+('6', '3', '20', '448', '561', '34', '43', '40', '26', '35'),
+('6', '3', '21', '475', '600', '34', '44', '41', '27', '36'),
+('6', '3', '22', '501', '640', '35', '46', '42', '27', '36'),
+('6', '3', '23', '530', '681', '35', '47', '43', '28', '37'),
+('6', '3', '24', '559', '723', '36', '49', '44', '29', '38'),
+('6', '3', '25', '590', '766', '36', '50', '45', '29', '39'),
+('6', '3', '26', '622', '810', '37', '52', '46', '30', '39'),
+('6', '3', '27', '653', '855', '37', '54', '47', '31', '40'),
+('6', '3', '28', '687', '900', '38', '55', '48', '31', '41'),
+('6', '3', '29', '722', '945', '38', '57', '49', '32', '42'),
+('6', '3', '30', '758', '990', '39', '59', '50', '33', '42'),
+('6', '3', '31', '795', '1035', '39', '60', '52', '34', '43'),
+('6', '3', '32', '832', '1080', '40', '62', '53', '34', '44'),
+('6', '3', '33', '871', '1125', '41', '64', '54', '35', '45'),
+('6', '3', '34', '910', '1170', '41', '65', '55', '36', '46'),
+('6', '3', '35', '952', '1215', '42', '67', '56', '37', '47'),
+('6', '3', '36', '994', '1260', '43', '69', '58', '38', '48'),
+('6', '3', '37', '1036', '1305', '43', '71', '59', '38', '48'),
+('6', '3', '38', '1082', '1350', '44', '73', '60', '39', '49'),
+('6', '3', '39', '1126', '1395', '44', '75', '61', '40', '50'),
+('6', '3', '40', '1172', '1440', '45', '76', '63', '41', '51'),
+('6', '3', '41', '1221', '1485', '46', '78', '64', '42', '52'),
+('6', '3', '42', '1268', '1530', '46', '80', '65', '42', '53'),
+('6', '3', '43', '1318', '1575', '47', '82', '66', '43', '54'),
+('6', '3', '44', '1368', '1620', '48', '84', '68', '44', '55'),
+('6', '3', '45', '1419', '1665', '48', '86', '69', '45', '56'),
+('6', '3', '46', '1473', '1710', '49', '88', '71', '46', '57'),
+('6', '3', '47', '1525', '1755', '50', '90', '72', '47', '58'),
+('6', '3', '48', '1580', '1800', '51', '93', '73', '48', '59'),
+('6', '3', '49', '1636', '1845', '51', '95', '75', '49', '60'),
+('6', '3', '50', '1692', '1890', '52', '97', '76', '50', '61'),
+('6', '3', '51', '1750', '1935', '53', '99', '78', '51', '62'),
+('6', '3', '52', '1809', '1980', '54', '101', '79', '52', '63'),
+('6', '3', '53', '1869', '2025', '54', '103', '81', '53', '64'),
+('6', '3', '54', '1930', '2070', '55', '106', '82', '54', '65'),
+('6', '3', '55', '1991', '2115', '56', '108', '84', '55', '66'),
+('6', '3', '56', '2054', '2160', '57', '110', '85', '56', '67'),
+('6', '3', '57', '2119', '2205', '58', '113', '87', '57', '69'),
+('6', '3', '58', '2184', '2250', '58', '115', '89', '58', '70'),
+('6', '3', '59', '2250', '2295', '59', '118', '90', '59', '71'),
+('6', '3', '60', '2318', '2340', '60', '120', '92', '60', '72'),
+('6', '7', '1', '97', '71', '26', '15', '23', '16', '24'),
+('6', '7', '2', '98', '78', '27', '15', '24', '17', '25'),
+('6', '7', '3', '117', '86', '27', '16', '25', '18', '26'),
+('6', '7', '4', '133', '109', '28', '16', '26', '18', '27'),
+('6', '7', '5', '152', '119', '29', '17', '26', '19', '28'),
+('6', '7', '6', '170', '130', '30', '17', '27', '20', '29'),
+('6', '7', '7', '188', '156', '31', '17', '28', '21', '30'),
+('6', '7', '8', '205', '183', '31', '18', '29', '22', '30'),
+('6', '7', '9', '223', '226', '32', '18', '30', '23', '31'),
+('6', '7', '10', '241', '240', '33', '19', '31', '23', '32'),
+('6', '7', '11', '259', '270', '34', '19', '32', '24', '33'),
+('6', '7', '12', '277', '301', '35', '20', '33', '25', '34'),
+('6', '7', '13', '294', '333', '35', '20', '34', '26', '35'),
+('6', '7', '14', '312', '366', '36', '21', '35', '27', '36'),
+('6', '7', '15', '330', '400', '37', '21', '36', '28', '38'),
+('6', '7', '16', '349', '435', '38', '22', '37', '29', '39'),
+('6', '7', '17', '367', '471', '39', '22', '38', '30', '40'),
+('6', '7', '18', '388', '508', '40', '23', '39', '31', '41'),
+('6', '7', '19', '409', '546', '41', '23', '40', '32', '42'),
+('6', '7', '20', '430', '585', '42', '24', '41', '33', '43'),
+('6', '7', '21', '454', '625', '43', '24', '42', '34', '44'),
+('6', '7', '22', '477', '666', '43', '25', '43', '35', '45'),
+('6', '7', '23', '503', '708', '44', '25', '44', '36', '46'),
+('6', '7', '24', '530', '789', '45', '26', '45', '37', '48'),
+('6', '7', '25', '556', '795', '46', '26', '47', '38', '49'),
+('6', '7', '26', '585', '840', '47', '27', '48', '39', '50'),
+('6', '7', '27', '614', '886', '48', '27', '49', '40', '51'),
+('6', '7', '28', '645', '933', '49', '28', '50', '41', '52'),
+('6', '7', '29', '677', '981', '50', '28', '51', '42', '54'),
+('6', '7', '30', '708', '1030', '51', '29', '52', '43', '55'),
+('6', '7', '31', '742', '1149', '53', '29', '54', '45', '56'),
+('6', '7', '32', '777', '1201', '54', '30', '55', '46', '58'),
+('6', '7', '33', '813', '1250', '55', '31', '56', '47', '59'),
+('6', '7', '34', '848', '1290', '56', '31', '57', '48', '60'),
+('6', '7', '35', '887', '1339', '57', '32', '59', '49', '62'),
+('6', '7', '36', '926', '1339', '58', '33', '60', '51', '63'),
+('6', '7', '37', '966', '1458', '59', '33', '61', '52', '64'),
+('6', '7', '38', '1007', '1471', '60', '34', '63', '53', '66'),
+('6', '7', '39', '1049', '1509', '61', '34', '64', '54', '67'),
+('6', '7', '40', '1092', '1612', '63', '35', '65', '56', '69'),
+('6', '7', '41', '1137', '1663', '64', '36', '67', '57', '70'),
+('6', '7', '42', '1181', '1700', '65', '36', '68', '58', '72'),
+('6', '7', '43', '1226', '1751', '66', '37', '70', '59', '73'),
+('6', '7', '44', '1275', '1818', '68', '38', '71', '61', '75'),
+('6', '7', '45', '1323', '1854', '69', '38', '73', '62', '76'),
+('6', '7', '46', '1373', '1921', '70', '39', '74', '64', '78'),
+('6', '7', '47', '1423', '1972', '71', '40', '76', '65', '79'),
+('6', '7', '48', '1474', '2008', '73', '41', '77', '66', '81'),
+('6', '7', '49', '1527', '2075', '74', '41', '79', '68', '83'),
+('6', '7', '50', '1579', '2111', '75', '42', '80', '69', '84'),
+('6', '7', '51', '1634', '2178', '77', '43', '82', '71', '86'),
+('6', '7', '52', '1691', '2230', '78', '44', '83', '72', '88'),
+('6', '7', '53', '1747', '2281', '80', '44', '85', '74', '89'),
+('6', '7', '54', '1805', '2304', '81', '45', '87', '75', '91'),
+('6', '7', '55', '1864', '2333', '82', '46', '88', '77', '93'),
+('6', '7', '56', '1923', '2384', '84', '47', '90', '78', '95'),
+('6', '7', '57', '1983', '2487', '85', '48', '92', '80', '96'),
+('6', '7', '58', '2045', '2538', '87', '48', '93', '82', '98'),
+('6', '7', '59', '2109', '2565', '88', '49', '95', '83', '100'),
+('6', '7', '60', '2174', '2590', '90', '50', '97', '85', '102'),
+('6', '11', '1', '97', '67', '26', '15', '22', '17', '24'),
+('6', '11', '2', '97', '75', '27', '15', '23', '18', '25'),
+('6', '11', '3', '113', '84', '27', '16', '23', '19', '26'),
+('6', '11', '4', '132', '94', '28', '16', '24', '20', '27'),
+('6', '11', '5', '150', '119', '28', '17', '24', '21', '28'),
+('6', '11', '6', '168', '145', '29', '17', '25', '22', '29'),
+('6', '11', '7', '185', '172', '29', '18', '26', '23', '30'),
+('6', '11', '8', '203', '185', '30', '18', '26', '23', '31'),
+('6', '11', '9', '221', '214', '30', '19', '27', '24', '32'),
+('6', '11', '10', '239', '244', '31', '19', '27', '25', '33'),
+('6', '11', '11', '257', '275', '31', '20', '28', '26', '35'),
+('6', '11', '12', '274', '307', '32', '20', '29', '27', '36'),
+('6', '11', '13', '292', '340', '32', '21', '29', '28', '37'),
+('6', '11', '14', '310', '374', '33', '21', '30', '29', '38'),
+('6', '11', '15', '329', '424', '34', '22', '31', '31', '39'),
+('6', '11', '16', '347', '460', '34', '22', '31', '32', '40'),
+('6', '11', '17', '365', '497', '35', '23', '32', '33', '42'),
+('6', '11', '18', '383', '535', '35', '24', '33', '34', '43'),
+('6', '11', '19', '402', '574', '36', '24', '33', '35', '44'),
+('6', '11', '20', '425', '614', '37', '25', '34', '36', '45'),
+('6', '11', '21', '447', '655', '37', '25', '35', '37', '47'),
+('6', '11', '22', '470', '682', '38', '26', '36', '38', '48'),
+('6', '11', '23', '494', '725', '39', '27', '36', '39', '49'),
+('6', '11', '24', '518', '784', '39', '27', '37', '41', '51'),
+('6', '11', '25', '544', '829', '40', '28', '38', '42', '52'),
+('6', '11', '26', '573', '874', '41', '28', '39', '43', '53'),
+('6', '11', '27', '601', '904', '41', '29', '39', '44', '55'),
+('6', '11', '28', '630', '949', '42', '30', '40', '45', '56'),
+('6', '11', '29', '659', '1009', '43', '30', '41', '47', '58'),
+('6', '11', '30', '691', '1054', '43', '31', '42', '48', '59'),
+('6', '11', '31', '723', '1084', '44', '32', '43', '49', '60'),
+('6', '11', '32', '757', '1144', '45', '32', '44', '51', '62'),
+('6', '11', '33', '793', '1189', '46', '33', '44', '52', '63'),
+('6', '11', '34', '827', '1219', '46', '34', '45', '53', '65'),
+('6', '11', '35', '864', '1279', '47', '34', '46', '55', '66'),
+('6', '11', '36', '903', '1309', '48', '35', '47', '56', '68'),
+('6', '11', '37', '941', '1354', '49', '36', '48', '57', '70'),
+('6', '11', '38', '982', '1414', '50', '36', '49', '59', '71'),
+('6', '11', '39', '1022', '1444', '50', '37', '50', '60', '73'),
+('6', '11', '40', '1064', '1504', '51', '38', '51', '62', '74'),
+('6', '11', '41', '1108', '1534', '52', '39', '52', '63', '76'),
+('6', '11', '42', '1151', '1594', '53', '39', '53', '65', '78'),
+('6', '11', '43', '1197', '1624', '54', '40', '54', '66', '79'),
+('6', '11', '44', '1243', '1684', '55', '41', '54', '68', '81'),
+('6', '11', '45', '1290', '1714', '55', '42', '55', '69', '83'),
+('6', '11', '46', '1339', '1774', '56', '43', '56', '71', '85'),
+('6', '11', '47', '1388', '1804', '57', '43', '58', '72', '86'),
+('6', '11', '48', '1437', '1849', '58', '44', '59', '74', '88'),
+('6', '11', '49', '1490', '1909', '59', '45', '60', '76', '90'),
+('6', '11', '50', '1542', '1939', '60', '46', '61', '77', '92'),
+('6', '11', '51', '1596', '1984', '61', '47', '62', '79', '94'),
+('6', '11', '52', '1651', '2044', '62', '48', '63', '81', '96'),
+('6', '11', '53', '1706', '2074', '63', '49', '64', '82', '98'),
+('6', '11', '54', '1763', '2119', '64', '49', '65', '84', '100'),
+('6', '11', '55', '1820', '2164', '65', '50', '66', '86', '102'),
+('6', '11', '56', '1879', '2209', '66', '51', '67', '88', '104'),
+('6', '11', '57', '1940', '2254', '67', '52', '68', '89', '106'),
+('6', '11', '58', '2000', '2299', '68', '53', '70', '91', '108'),
+('6', '11', '59', '2063', '2344', '69', '54', '71', '93', '110'),
+('6', '11', '60', '2125', '2389', '70', '55', '72', '95', '112'),
+('7', '1', '1', '50', '0', '18', '23', '21', '23', '20'),
+('7', '1', '2', '69', '0', '19', '24', '22', '24', '20'),
+('7', '1', '3', '88', '0', '20', '24', '23', '24', '21'),
+('7', '1', '4', '107', '0', '21', '25', '24', '24', '21'),
+('7', '1', '5', '126', '0', '23', '26', '25', '24', '21'),
+('7', '1', '6', '145', '0', '24', '27', '26', '25', '21'),
+('7', '1', '7', '164', '0', '25', '27', '27', '25', '22'),
+('7', '1', '8', '183', '0', '26', '28', '28', '25', '22'),
+('7', '1', '9', '202', '0', '27', '29', '29', '25', '22'),
+('7', '1', '10', '221', '0', '28', '29', '30', '25', '23'),
+('7', '1', '11', '240', '0', '30', '30', '32', '25', '23'),
+('7', '1', '12', '259', '0', '31', '31', '33', '25', '23'),
+('7', '1', '13', '278', '0', '32', '32', '34', '25', '24'),
+('7', '1', '14', '298', '0', '34', '33', '35', '26', '24'),
+('7', '1', '15', '319', '0', '35', '33', '36', '26', '24'),
+('7', '1', '16', '341', '0', '36', '34', '37', '26', '25'),
+('7', '1', '17', '364', '0', '37', '35', '39', '26', '25'),
+('7', '1', '18', '388', '0', '39', '36', '40', '26', '25'),
+('7', '1', '19', '413', '0', '40', '37', '41', '26', '26'),
+('7', '1', '20', '439', '0', '42', '38', '42', '26', '26'),
+('7', '1', '21', '466', '0', '43', '38', '44', '27', '26'),
+('7', '1', '22', '494', '0', '44', '39', '45', '27', '27'),
+('7', '1', '23', '523', '0', '46', '40', '46', '27', '27'),
+('7', '1', '24', '553', '0', '47', '41', '48', '27', '28'),
+('7', '1', '25', '584', '0', '49', '42', '49', '27', '28'),
+('7', '1', '26', '616', '0', '50', '43', '50', '27', '28'),
+('7', '1', '27', '649', '0', '52', '44', '52', '27', '29'),
+('7', '1', '28', '683', '0', '53', '45', '53', '28', '29'),
+('7', '1', '29', '718', '0', '55', '46', '55', '28', '30'),
+('7', '1', '30', '754', '0', '57', '47', '56', '28', '30'),
+('7', '1', '31', '791', '0', '58', '48', '57', '28', '30'),
+('7', '1', '32', '829', '0', '60', '49', '59', '28', '31'),
+('7', '1', '33', '868', '0', '61', '50', '60', '28', '31'),
+('7', '1', '34', '908', '0', '63', '51', '62', '29', '32'),
+('7', '1', '35', '949', '0', '65', '52', '63', '29', '32'),
+('7', '1', '36', '991', '0', '67', '53', '65', '29', '33'),
+('7', '1', '37', '1070', '0', '68', '54', '67', '29', '33'),
+('7', '1', '38', '1081', '0', '70', '55', '68', '29', '33'),
+('7', '1', '39', '1129', '0', '72', '56', '70', '30', '34'),
+('7', '1', '40', '1179', '0', '74', '57', '71', '30', '34'),
+('7', '1', '41', '1231', '0', '75', '59', '73', '30', '35'),
+('7', '1', '42', '1285', '0', '77', '60', '75', '30', '35'),
+('7', '1', '43', '1341', '0', '79', '61', '76', '30', '36'),
+('7', '1', '44', '1399', '0', '81', '62', '78', '30', '36'),
+('7', '1', '45', '1459', '0', '83', '63', '80', '32', '37'),
+('7', '1', '46', '1521', '0', '85', '64', '82', '32', '37'),
+('7', '1', '47', '1585', '0', '87', '66', '83', '32', '38'),
+('7', '1', '48', '1651', '0', '89', '67', '85', '32', '38'),
+('7', '1', '49', '1719', '0', '91', '68', '87', '33', '39'),
+('7', '1', '50', '1789', '0', '93', '69', '89', '33', '39'),
+('7', '1', '51', '1861', '0', '95', '71', '91', '33', '40'),
+('7', '1', '52', '1935', '0', '97', '72', '93', '33', '40'),
+('7', '1', '53', '2011', '0', '99', '73', '95', '33', '41'),
+('7', '1', '54', '2089', '0', '101', '75', '97', '34', '42'),
+('7', '1', '55', '2169', '0', '104', '76', '99', '34', '42'),
+('7', '1', '56', '2251', '0', '106', '77', '101', '34', '43'),
+('7', '1', '57', '2335', '0', '108', '79', '103', '34', '43'),
+('7', '1', '58', '2421', '0', '110', '80', '105', '35', '44'),
+('7', '1', '59', '2509', '0', '113', '82', '107', '35', '44'),
+('7', '1', '60', '2599', '0', '115', '83', '109', '35', '45'),
+('7', '4', '1', '45', '0', '16', '26', '20', '23', '20'),
+('7', '4', '2', '62', '0', '17', '27', '21', '24', '20'),
+('7', '4', '3', '79', '0', '17', '28', '21', '24', '21'),
+('7', '4', '4', '96', '0', '18', '30', '22', '25', '21'),
+('7', '4', '5', '113', '0', '19', '31', '23', '25', '21'),
+('7', '4', '6', '130', '0', '19', '32', '23', '25', '22'),
+('7', '4', '7', '147', '0', '20', '34', '24', '25', '22'),
+('7', '4', '8', '164', '0', '21', '35', '24', '25', '22'),
+('7', '4', '9', '181', '0', '22', '36', '25', '25', '23'),
+('7', '4', '10', '198', '0', '22', '38', '26', '26', '23'),
+('7', '4', '11', '215', '0', '23', '39', '27', '26', '24'),
+('7', '4', '12', '232', '0', '24', '40', '27', '26', '24'),
+('7', '4', '13', '249', '0', '25', '42', '28', '26', '24'),
+('7', '4', '14', '266', '0', '25', '43', '29', '26', '25'),
+('7', '4', '15', '283', '0', '26', '45', '29', '27', '25'),
+('7', '4', '16', '301', '0', '27', '46', '30', '27', '26'),
+('7', '4', '17', '320', '0', '28', '47', '31', '27', '26'),
+('7', '4', '18', '340', '0', '29', '49', '32', '27', '26'),
+('7', '4', '19', '361', '0', '30', '51', '32', '27', '27'),
+('7', '4', '20', '383', '0', '30', '52', '33', '28', '27'),
+('7', '4', '21', '406', '0', '31', '54', '34', '28', '28'),
+('7', '4', '22', '430', '0', '32', '55', '35', '28', '28'),
+('7', '4', '23', '455', '0', '33', '57', '36', '28', '29'),
+('7', '4', '24', '481', '0', '34', '58', '36', '29', '29'),
+('7', '4', '25', '508', '0', '35', '60', '37', '29', '30'),
+('7', '4', '26', '536', '0', '36', '62', '38', '29', '30'),
+('7', '4', '27', '565', '0', '37', '63', '39', '29', '30'),
+('7', '4', '28', '595', '0', '38', '65', '40', '29', '31'),
+('7', '4', '29', '626', '0', '38', '67', '41', '30', '31'),
+('7', '4', '30', '658', '0', '39', '69', '41', '30', '32'),
+('7', '4', '31', '691', '0', '40', '70', '42', '30', '32'),
+('7', '4', '32', '725', '0', '41', '72', '43', '30', '33'),
+('7', '4', '33', '760', '0', '42', '74', '44', '32', '33'),
+('7', '4', '34', '796', '0', '43', '76', '45', '32', '34'),
+('7', '4', '35', '833', '0', '44', '78', '46', '32', '34'),
+('7', '4', '36', '871', '0', '46', '80', '47', '33', '35'),
+('7', '4', '37', '910', '0', '47', '81', '48', '33', '36'),
+('7', '4', '38', '950', '0', '48', '83', '49', '33', '36'),
+('7', '4', '39', '991', '0', '49', '85', '50', '33', '37'),
+('7', '4', '40', '1033', '0', '50', '87', '51', '34', '37'),
+('7', '4', '41', '1076', '0', '51', '89', '52', '34', '38'),
+('7', '4', '42', '1120', '0', '52', '91', '53', '34', '38'),
+('7', '4', '43', '1165', '0', '53', '93', '54', '34', '39'),
+('7', '4', '44', '1211', '0', '54', '96', '55', '35', '39'),
+('7', '4', '45', '1258', '0', '56', '98', '56', '35', '40'),
+('7', '4', '46', '1306', '0', '57', '100', '57', '35', '41'),
+('7', '4', '47', '1355', '0', '58', '102', '58', '36', '41'),
+('7', '4', '48', '1405', '0', '59', '104', '59', '36', '42'),
+('7', '4', '49', '1456', '0', '60', '106', '61', '36', '43'),
+('7', '4', '50', '1508', '0', '62', '109', '62', '37', '43'),
+('7', '4', '51', '1561', '0', '63', '111', '63', '37', '44'),
+('7', '4', '52', '1615', '0', '64', '113', '64', '37', '44'),
+('7', '4', '53', '1670', '0', '65', '116', '65', '38', '45'),
+('7', '4', '54', '1726', '0', '67', '118', '66', '38', '46'),
+('7', '4', '55', '1783', '0', '68', '120', '68', '38', '46'),
+('7', '4', '56', '1841', '0', '69', '123', '69', '39', '47'),
+('7', '4', '57', '1900', '0', '71', '125', '70', '39', '48'),
+('7', '4', '58', '1960', '0', '72', '128', '71', '39', '49'),
+('7', '4', '59', '2021', '0', '74', '130', '73', '40', '49'),
+('7', '4', '60', '2083', '0', '75', '133', '74', '40', '50'),
+('7', '8', '1', '51', '119', '15', '23', '19', '26', '22'),
+('7', '8', '2', '66', '280', '15', '23', '19', '28', '23'),
+('7', '8', '3', '72', '306', '15', '23', '20', '29', '24'),
+('7', '8', '4', '87', '333', '15', '24', '20', '32', '25'),
+('7', '8', '5', '102', '391', '15', '24', '20', '33', '27'),
+('7', '8', '6', '117', '420', '16', '24', '20', '34', '28'),
+('7', '8', '7', '132', '450', '16', '24', '21', '35', '29'),
+('7', '8', '8', '147', '466', '16', '24', '21', '36', '30'),
+('7', '8', '9', '162', '513', '16', '24', '21', '38', '31'),
+('7', '8', '10', '177', '546', '16', '25', '22', '39', '33'),
+('7', '8', '11', '192', '580', '16', '25', '22', '40', '34'),
+('7', '8', '12', '207', '615', '16', '25', '22', '42', '35'),
+('7', '8', '13', '222', '636', '16', '25', '23', '43', '36'),
+('7', '8', '14', '237', '673', '17', '25', '23', '44', '38'),
+('7', '8', '15', '252', '711', '17', '26', '23', '46', '39'),
+('7', '8', '16', '267', '750', '17', '26', '24', '47', '40'),
+('7', '8', '17', '282', '775', '17', '26', '24', '48', '42'),
+('7', '8', '18', '297', '831', '17', '26', '24', '50', '43'),
+('7', '8', '19', '312', '858', '17', '26', '25', '51', '44'),
+('7', '8', '20', '327', '946', '17', '27', '25', '54', '46'),
+('7', '8', '21', '342', '975', '18', '27', '25', '55', '47'),
+('7', '8', '22', '357', '1035', '18', '27', '26', '57', '49'),
+('7', '8', '23', '372', '1066', '18', '27', '26', '58', '50'),
+('7', '8', '24', '388', '1128', '18', '28', '27', '60', '52'),
+('7', '8', '25', '405', '1161', '18', '28', '27', '61', '53'),
+('7', '8', '26', '423', '1225', '18', '28', '27', '63', '55'),
+('7', '8', '27', '442', '1260', '18', '28', '28', '65', '56'),
+('7', '8', '28', '462', '1296', '19', '28', '28', '66', '58'),
+('7', '8', '29', '483', '1362', '19', '29', '29', '68', '59'),
+('7', '8', '30', '505', '1413', '19', '29', '29', '70', '61'),
+('7', '8', '31', '528', '1449', '19', '29', '29', '71', '63'),
+('7', '8', '32', '552', '1515', '19', '29', '30', '74', '64'),
+('7', '8', '33', '577', '1596', '19', '30', '30', '76', '66'),
+('7', '8', '34', '603', '1632', '20', '30', '31', '77', '68'),
+('7', '8', '35', '630', '1683', '20', '30', '31', '79', '69'),
+('7', '8', '36', '658', '1734', '20', '31', '32', '81', '71'),
+('7', '8', '37', '687', '1800', '20', '31', '32', '83', '73'),
+('7', '8', '38', '717', '1836', '20', '31', '32', '85', '75'),
+('7', '8', '39', '748', '1887', '21', '31', '33', '87', '76'),
+('7', '8', '40', '780', '1923', '21', '32', '33', '88', '78'),
+('7', '8', '41', '813', '1974', '21', '32', '34', '90', '80'),
+('7', '8', '42', '847', '2025', '21', '32', '34', '92', '82'),
+('7', '8', '43', '882', '2076', '21', '32', '35', '95', '84'),
+('7', '8', '44', '918', '2157', '21', '33', '35', '97', '86'),
+('7', '8', '45', '955', '2208', '22', '33', '36', '99', '88'),
+('7', '8', '46', '993', '2259', '22', '33', '36', '101', '90'),
+('7', '8', '47', '1032', '2310', '22', '34', '37', '103', '92'),
+('7', '8', '48', '1072', '2361', '22', '34', '37', '106', '94'),
+('7', '8', '49', '1113', '2412', '23', '34', '38', '108', '96'),
+('7', '8', '50', '1155', '2448', '23', '35', '38', '110', '98'),
+('7', '8', '51', '1198', '2499', '23', '35', '39', '112', '100'),
+('7', '8', '52', '1242', '2550', '23', '35', '39', '114', '102'),
+('7', '8', '53', '1287', '2631', '23', '36', '40', '117', '104'),
+('7', '8', '54', '1333', '2682', '24', '36', '41', '120', '106'),
+('7', '8', '55', '1380', '2733', '24', '36', '41', '122', '109'),
+('7', '8', '56', '1428', '2784', '24', '37', '42', '124', '111'),
+('7', '8', '57', '1477', '2820', '24', '37', '42', '127', '113'),
+('7', '8', '58', '1527', '2871', '25', '37', '43', '129', '115'),
+('7', '8', '59', '1578', '2922', '25', '38', '43', '132', '118'),
+('7', '8', '60', '1630', '2973', '25', '38', '44', '133', '120'),
+('7', '9', '1', '43', '109', '15', '23', '20', '25', '22'),
+('7', '9', '2', '58', '223', '15', '23', '21', '27', '23'),
+('7', '9', '3', '73', '247', '16', '24', '21', '28', '24'),
+('7', '9', '4', '88', '272', '16', '24', '22', '29', '25'),
+('7', '9', '5', '103', '298', '16', '24', '22', '30', '26'),
+('7', '9', '6', '118', '325', '16', '25', '23', '32', '27'),
+('7', '9', '7', '133', '383', '17', '25', '23', '33', '29'),
+('7', '9', '8', '148', '412', '17', '25', '24', '34', '30'),
+('7', '9', '9', '163', '442', '17', '26', '24', '35', '31'),
+('7', '9', '10', '178', '473', '18', '26', '25', '36', '32'),
+('7', '9', '11', '193', '505', '18', '27', '25', '38', '33'),
+('7', '9', '12', '208', '538', '18', '27', '26', '39', '34'),
+('7', '9', '13', '223', '572', '19', '27', '26', '40', '36'),
+('7', '9', '14', '238', '607', '19', '28', '27', '41', '37'),
+('7', '9', '15', '253', '643', '19', '28', '28', '42', '38'),
+('7', '9', '16', '268', '665', '20', '29', '28', '43', '39'),
+('7', '9', '17', '283', '703', '20', '29', '29', '45', '41'),
+('7', '9', '18', '299', '742', '20', '29', '29', '46', '42'),
+('7', '9', '19', '316', '782', '21', '30', '30', '47', '43'),
+('7', '9', '20', '334', '823', '21', '30', '31', '48', '45'),
+('7', '9', '21', '353', '865', '21', '31', '31', '50', '46'),
+('7', '9', '22', '373', '908', '22', '31', '32', '51', '47'),
+('7', '9', '23', '394', '952', '22', '32', '33', '53', '49'),
+('7', '9', '24', '416', '1027', '23', '32', '33', '55', '50'),
+('7', '9', '25', '439', '1073', '23', '33', '34', '56', '52'),
+('7', '9', '26', '463', '1120', '23', '33', '35', '57', '53'),
+('7', '9', '27', '488', '1168', '24', '33', '35', '59', '54'),
+('7', '9', '28', '514', '1217', '24', '34', '36', '60', '56'),
+('7', '9', '29', '541', '1267', '25', '34', '37', '62', '57'),
+('7', '9', '30', '569', '1318', '25', '35', '37', '63', '59'),
+('7', '9', '31', '588', '1354', '25', '35', '37', '64', '62'),
+('7', '9', '32', '628', '1405', '26', '36', '39', '66', '62'),
+('7', '9', '33', '659', '1456', '26', '36', '40', '67', '64'),
+('7', '9', '34', '691', '1507', '27', '37', '40', '69', '65'),
+('7', '9', '35', '724', '1558', '27', '37', '41', '70', '67'),
+('7', '9', '36', '758', '1609', '28', '38', '42', '72', '69'),
+('7', '9', '37', '793', '1690', '28', '39', '43', '75', '69'),
+('7', '9', '38', '829', '1741', '28', '39', '44', '76', '72'),
+('7', '9', '39', '866', '1792', '29', '40', '44', '78', '74'),
+('7', '9', '40', '904', '1843', '29', '40', '45', '79', '75'),
+('7', '9', '41', '943', '1894', '30', '41', '46', '81', '77'),
+('7', '9', '42', '983', '1945', '30', '41', '47', '83', '79'),
+('7', '9', '43', '1024', '1996', '31', '42', '48', '84', '81'),
+('7', '9', '44', '1066', '2032', '31', '42', '49', '86', '82'),
+('7', '9', '45', '1109', '2083', '32', '43', '49', '88', '84'),
+('7', '9', '46', '1153', '2134', '32', '44', '50', '90', '86'),
+('7', '9', '47', '1198', '2185', '33', '44', '51', '91', '88'),
+('7', '9', '48', '1234', '2236', '33', '45', '52', '93', '90'),
+('7', '9', '49', '1281', '2317', '34', '46', '53', '96', '92'),
+('7', '9', '50', '1339', '2368', '34', '46', '54', '98', '93'),
+('7', '9', '51', '1388', '2419', '35', '47', '55', '100', '96'),
+('7', '9', '52', '1418', '2470', '35', '47', '56', '102', '98'),
+('7', '9', '53', '1489', '2521', '36', '48', '57', '104', '100'),
+('7', '9', '54', '1541', '2557', '37', '49', '58', '106', '102'),
+('7', '9', '55', '1584', '2608', '37', '49', '58', '108', '104'),
+('7', '9', '56', '1648', '2659', '38', '50', '60', '110', '106'),
+('7', '9', '57', '1683', '2710', '38', '51', '61', '112', '108'),
+('7', '9', '58', '1759', '2761', '39', '52', '62', '114', '111'),
+('7', '9', '59', '1816', '2842', '39', '52', '63', '117', '111'),
+('7', '9', '60', '1874', '2893', '40', '53', '64', '119', '115'),
+('8', '1', '1', '70', '0', '24', '22', '23', '16', '21'),
+('8', '1', '2', '89', '0', '25', '23', '24', '16', '21'),
+('8', '1', '3', '108', '0', '26', '23', '25', '16', '22'),
+('8', '1', '4', '127', '0', '27', '24', '26', '16', '22'),
+('8', '1', '5', '146', '0', '29', '25', '27', '16', '22'),
+('8', '1', '6', '165', '0', '30', '26', '28', '17', '22'),
+('8', '1', '7', '184', '0', '31', '26', '29', '17', '23'),
+('8', '1', '8', '203', '0', '32', '27', '30', '17', '23'),
+('8', '1', '9', '222', '0', '33', '28', '31', '17', '23'),
+('8', '1', '10', '241', '0', '34', '28', '32', '17', '24'),
+('8', '1', '11', '260', '0', '36', '29', '34', '17', '24'),
+('8', '1', '12', '279', '0', '37', '30', '35', '17', '24'),
+('8', '1', '13', '298', '0', '38', '31', '36', '17', '25'),
+('8', '1', '14', '318', '0', '40', '32', '37', '18', '25'),
+('8', '1', '15', '339', '0', '41', '32', '38', '18', '25'),
+('8', '1', '16', '361', '0', '42', '33', '39', '18', '26'),
+('8', '1', '17', '384', '0', '43', '34', '41', '18', '26'),
+('8', '1', '18', '408', '0', '45', '35', '42', '18', '26'),
+('8', '1', '19', '433', '0', '46', '36', '43', '18', '27'),
+('8', '1', '20', '459', '0', '48', '37', '44', '18', '27'),
+('8', '1', '21', '486', '0', '49', '37', '46', '19', '27'),
+('8', '1', '22', '514', '0', '50', '38', '47', '19', '28'),
+('8', '1', '23', '543', '0', '52', '39', '48', '19', '28'),
+('8', '1', '24', '573', '0', '53', '40', '50', '19', '29'),
+('8', '1', '25', '604', '0', '55', '41', '51', '19', '29'),
+('8', '1', '26', '636', '0', '56', '42', '52', '19', '29'),
+('8', '1', '27', '669', '0', '58', '43', '54', '19', '30'),
+('8', '1', '28', '703', '0', '59', '44', '55', '20', '30'),
+('8', '1', '29', '738', '0', '61', '45', '57', '20', '31'),
+('8', '1', '30', '774', '0', '63', '46', '58', '20', '31'),
+('8', '1', '31', '811', '0', '64', '47', '59', '20', '31'),
+('8', '1', '32', '849', '0', '66', '48', '61', '20', '32'),
+('8', '1', '33', '888', '0', '67', '49', '62', '20', '32'),
+('8', '1', '34', '928', '0', '69', '50', '64', '21', '33'),
+('8', '1', '35', '969', '0', '71', '51', '65', '21', '33'),
+('8', '1', '36', '1011', '0', '73', '52', '67', '21', '34'),
+('8', '1', '37', '1055', '0', '74', '53', '69', '21', '34'),
+('8', '1', '38', '1101', '0', '76', '54', '70', '21', '34'),
+('8', '1', '39', '1149', '0', '78', '55', '72', '22', '35'),
+('8', '1', '40', '1199', '0', '80', '56', '73', '22', '35'),
+('8', '1', '41', '1251', '0', '81', '58', '75', '22', '36'),
+('8', '1', '42', '1310', '0', '83', '59', '77', '22', '36'),
+('8', '1', '43', '1361', '0', '85', '60', '78', '22', '37'),
+('8', '1', '44', '1419', '0', '87', '61', '80', '22', '37'),
+('8', '1', '45', '1529', '0', '89', '62', '82', '23', '38'),
+('8', '1', '46', '1541', '0', '91', '63', '84', '23', '38'),
+('8', '1', '47', '1605', '0', '93', '65', '85', '23', '39'),
+('8', '1', '48', '1671', '0', '95', '66', '87', '23', '39'),
+('8', '1', '49', '1739', '0', '97', '67', '89', '24', '40'),
+('8', '1', '50', '1809', '0', '99', '68', '91', '24', '40'),
+('8', '1', '51', '1881', '0', '101', '70', '93', '24', '41'),
+('8', '1', '52', '1955', '0', '103', '71', '95', '24', '41'),
+('8', '1', '53', '2031', '0', '105', '72', '97', '24', '42'),
+('8', '1', '54', '2109', '0', '107', '74', '99', '25', '43'),
+('8', '1', '55', '2189', '0', '110', '75', '101', '25', '43'),
+('8', '1', '56', '2271', '0', '112', '76', '103', '25', '44'),
+('8', '1', '57', '2355', '0', '114', '78', '105', '25', '44'),
+('8', '1', '58', '2441', '0', '116', '79', '107', '26', '45'),
+('8', '1', '59', '2529', '0', '119', '81', '109', '26', '45'),
+('8', '1', '60', '2619', '0', '121', '82', '111', '26', '46'),
+('8', '3', '1', '66', '80', '21', '25', '22', '16', '22'),
+('8', '3', '2', '83', '87', '21', '26', '23', '17', '23'),
+('8', '3', '3', '100', '108', '22', '27', '24', '17', '23'),
+('8', '3', '4', '117', '116', '22', '29', '24', '18', '24'),
+('8', '3', '5', '134', '139', '23', '30', '25', '18', '24'),
+('8', '3', '6', '151', '149', '23', '31', '26', '19', '25'),
+('8', '3', '7', '168', '174', '23', '32', '27', '19', '25'),
+('8', '3', '8', '185', '186', '24', '33', '28', '20', '26'),
+('8', '3', '9', '202', '213', '24', '35', '29', '20', '27'),
+('8', '3', '10', '219', '241', '25', '36', '29', '21', '27'),
+('8', '3', '11', '236', '270', '25', '37', '30', '21', '28'),
+('8', '3', '12', '253', '300', '26', '39', '31', '22', '29'),
+('8', '3', '13', '270', '331', '26', '40', '32', '23', '29'),
+('8', '3', '14', '288', '363', '27', '41', '33', '23', '30'),
+('8', '3', '15', '307', '396', '27', '43', '34', '24', '30'),
+('8', '3', '16', '327', '430', '28', '44', '35', '24', '31'),
+('8', '3', '17', '348', '465', '28', '45', '36', '25', '32'),
+('8', '3', '18', '370', '501', '29', '47', '37', '26', '33'),
+('8', '3', '19', '393', '538', '29', '48', '38', '26', '33'),
+('8', '3', '20', '417', '576', '30', '50', '39', '27', '34'),
+('8', '3', '21', '442', '615', '30', '51', '40', '28', '35'),
+('8', '3', '22', '468', '655', '31', '53', '41', '28', '35'),
+('8', '3', '23', '495', '696', '31', '54', '42', '29', '36'),
+('8', '3', '24', '523', '738', '32', '56', '43', '30', '37'),
+('8', '3', '25', '552', '781', '32', '57', '44', '30', '38'),
+('8', '3', '26', '582', '825', '33', '59', '45', '31', '38'),
+('8', '3', '27', '613', '870', '33', '61', '46', '32', '39'),
+('8', '3', '28', '645', '915', '34', '62', '47', '32', '40'),
+('8', '3', '29', '678', '960', '34', '64', '48', '33', '41'),
+('8', '3', '30', '712', '1005', '35', '66', '49', '34', '41'),
+('8', '3', '31', '747', '1050', '35', '67', '51', '35', '42'),
+('8', '3', '32', '783', '1095', '36', '69', '52', '35', '43'),
+('8', '3', '33', '820', '1140', '37', '71', '53', '36', '44'),
+('8', '3', '34', '858', '1185', '37', '72', '54', '37', '45'),
+('8', '3', '35', '897', '1230', '38', '74', '55', '38', '46'),
+('8', '3', '36', '937', '1275', '39', '76', '57', '39', '47'),
+('8', '3', '37', '978', '1320', '39', '78', '58', '39', '47'),
+('8', '3', '38', '1020', '1365', '40', '80', '59', '40', '48'),
+('8', '3', '39', '1063', '1410', '40', '82', '60', '41', '49'),
+('8', '3', '40', '1107', '1455', '41', '83', '62', '42', '50'),
+('8', '3', '41', '1152', '1500', '42', '85', '63', '43', '51'),
+('8', '3', '42', '1198', '1545', '42', '87', '64', '43', '52'),
+('8', '3', '43', '1245', '1590', '43', '89', '65', '44', '53'),
+('8', '3', '44', '1293', '1635', '44', '91', '67', '45', '54'),
+('8', '3', '45', '1342', '1680', '44', '93', '68', '46', '55'),
+('8', '3', '46', '1392', '1725', '45', '95', '70', '47', '56'),
+('8', '3', '47', '1443', '1770', '46', '97', '71', '48', '57'),
+('8', '3', '48', '1495', '1815', '47', '100', '72', '49', '58'),
+('8', '3', '49', '1548', '1860', '47', '102', '74', '50', '59'),
+('8', '3', '50', '1602', '1905', '48', '104', '75', '51', '60'),
+('8', '3', '51', '1657', '1950', '49', '106', '77', '52', '61'),
+('8', '3', '52', '1713', '1995', '50', '108', '78', '53', '62'),
+('8', '3', '53', '1770', '2040', '50', '110', '80', '54', '63'),
+('8', '3', '54', '1828', '2085', '51', '113', '81', '55', '64'),
+('8', '3', '55', '1887', '2130', '52', '115', '83', '56', '65'),
+('8', '3', '56', '1947', '2175', '53', '117', '84', '57', '66'),
+('8', '3', '57', '2008', '2220', '54', '120', '86', '58', '68'),
+('8', '3', '58', '2070', '2265', '54', '122', '88', '59', '69'),
+('8', '3', '59', '2133', '2310', '55', '125', '89', '60', '70'),
+('8', '3', '60', '2197', '2355', '56', '127', '91', '61', '71'),
+('8', '4', '1', '65', '0', '22', '25', '22', '16', '21'),
+('8', '4', '2', '82', '0', '23', '26', '23', '16', '21'),
+('8', '4', '3', '99', '0', '23', '27', '23', '16', '22'),
+('8', '4', '4', '116', '0', '24', '29', '24', '17', '22'),
+('8', '4', '5', '133', '0', '25', '30', '25', '17', '22'),
+('8', '4', '6', '150', '0', '25', '31', '25', '17', '23'),
+('8', '4', '7', '167', '0', '26', '33', '26', '17', '23'),
+('8', '4', '8', '184', '0', '27', '34', '26', '17', '23'),
+('8', '4', '9', '201', '0', '28', '35', '27', '17', '24'),
+('8', '4', '10', '218', '0', '28', '37', '28', '18', '24'),
+('8', '4', '11', '235', '0', '29', '38', '29', '18', '25'),
+('8', '4', '12', '252', '0', '30', '39', '29', '18', '25'),
+('8', '4', '13', '269', '0', '31', '41', '30', '18', '25'),
+('8', '4', '14', '286', '0', '31', '42', '31', '18', '26'),
+('8', '4', '15', '303', '0', '32', '44', '31', '19', '26'),
+('8', '4', '16', '321', '0', '33', '45', '32', '19', '27'),
+('8', '4', '17', '340', '0', '34', '46', '33', '19', '27'),
+('8', '4', '18', '360', '0', '35', '48', '34', '19', '27'),
+('8', '4', '19', '381', '0', '36', '50', '34', '19', '28'),
+('8', '4', '20', '403', '0', '36', '51', '35', '20', '28'),
+('8', '4', '21', '426', '0', '37', '53', '36', '20', '29'),
+('8', '4', '22', '450', '0', '38', '54', '37', '20', '29'),
+('8', '4', '23', '475', '0', '39', '56', '38', '20', '30'),
+('8', '4', '24', '501', '0', '40', '57', '38', '21', '30'),
+('8', '4', '25', '528', '0', '41', '59', '39', '21', '31'),
+('8', '4', '26', '556', '0', '42', '61', '40', '21', '31'),
+('8', '4', '27', '585', '0', '43', '62', '41', '21', '31'),
+('8', '4', '28', '615', '0', '44', '64', '42', '21', '32'),
+('8', '4', '29', '646', '0', '44', '66', '43', '22', '32'),
+('8', '4', '30', '678', '0', '45', '68', '43', '22', '33'),
+('8', '4', '31', '711', '0', '46', '69', '44', '22', '33'),
+('8', '4', '32', '745', '0', '47', '71', '45', '22', '34'),
+('8', '4', '33', '780', '0', '48', '73', '46', '23', '34'),
+('8', '4', '34', '816', '0', '49', '75', '47', '23', '35'),
+('8', '4', '35', '853', '0', '50', '77', '48', '23', '35'),
+('8', '4', '36', '891', '0', '52', '79', '49', '24', '36'),
+('8', '4', '37', '930', '0', '53', '80', '50', '24', '37'),
+('8', '4', '38', '970', '0', '54', '82', '51', '24', '37'),
+('8', '4', '39', '1011', '0', '55', '84', '52', '24', '38'),
+('8', '4', '40', '1053', '0', '56', '86', '53', '25', '38'),
+('8', '4', '41', '1096', '0', '57', '88', '54', '25', '39'),
+('8', '4', '42', '1140', '0', '58', '90', '55', '25', '39'),
+('8', '4', '43', '1185', '0', '59', '92', '56', '25', '40'),
+('8', '4', '44', '1231', '0', '60', '95', '57', '26', '40'),
+('8', '4', '45', '1278', '0', '62', '97', '58', '26', '41'),
+('8', '4', '46', '1326', '0', '63', '99', '59', '26', '42'),
+('8', '4', '47', '1375', '0', '64', '101', '60', '27', '42'),
+('8', '4', '48', '1425', '0', '65', '103', '61', '27', '43'),
+('8', '4', '49', '1476', '0', '66', '105', '63', '27', '44'),
+('8', '4', '50', '1528', '0', '68', '108', '64', '28', '44'),
+('8', '4', '51', '1581', '0', '69', '110', '65', '28', '45'),
+('8', '4', '52', '1635', '0', '70', '112', '66', '28', '45'),
+('8', '4', '53', '1690', '0', '71', '115', '67', '29', '46'),
+('8', '4', '54', '1746', '0', '73', '117', '68', '29', '47'),
+('8', '4', '55', '1803', '0', '74', '119', '70', '29', '47'),
+('8', '4', '56', '1861', '0', '75', '122', '71', '30', '48'),
+('8', '4', '57', '1920', '0', '77', '124', '72', '30', '49'),
+('8', '4', '58', '1980', '0', '78', '127', '73', '30', '50'),
+('8', '4', '59', '2041', '0', '80', '129', '75', '31', '50'),
+('8', '4', '60', '2103', '0', '81', '132', '76', '31', '51'),
+('8', '5', '1', '71', '128', '21', '22', '21', '18', '24'),
+('8', '5', '2', '77', '138', '21', '22', '21', '19', '25'),
+('8', '5', '3', '92', '149', '21', '22', '22', '20', '26'),
+('8', '5', '4', '107', '175', '22', '23', '22', '21', '28'),
+('8', '5', '5', '122', '202', '22', '23', '22', '23', '29'),
+('8', '5', '6', '137', '230', '22', '23', '23', '24', '30'),
+('8', '5', '7', '152', '259', '22', '23', '23', '25', '31'),
+('8', '5', '8', '167', '289', '22', '24', '23', '26', '32'),
+('8', '5', '9', '182', '320', '22', '24', '24', '27', '34'),
+('8', '5', '10', '197', '367', '23', '24', '24', '29', '35'),
+('8', '5', '11', '212', '385', '23', '24', '25', '30', '36'),
+('8', '5', '12', '227', '419', '23', '25', '25', '31', '38'),
+('8', '5', '13', '242', '454', '23', '25', '25', '32', '39'),
+('8', '5', '14', '257', '490', '23', '25', '26', '34', '40'),
+('8', '5', '15', '272', '527', '24', '25', '26', '35', '42'),
+('8', '5', '16', '287', '565', '24', '26', '27', '36', '43'),
+('8', '5', '17', '302', '619', '24', '26', '27', '38', '44'),
+('8', '5', '18', '317', '644', '24', '26', '27', '39', '46'),
+('8', '5', '19', '332', '685', '24', '27', '28', '40', '47'),
+('8', '5', '20', '347', '727', '25', '27', '28', '42', '49'),
+('8', '5', '21', '362', '770', '25', '27', '29', '43', '50'),
+('8', '5', '22', '378', '829', '25', '27', '29', '45', '52'),
+('8', '5', '23', '395', '859', '25', '28', '30', '46', '53'),
+('8', '5', '24', '413', '920', '26', '28', '30', '48', '55'),
+('8', '5', '25', '432', '952', '26', '28', '31', '49', '56'),
+('8', '5', '26', '452', '1015', '26', '29', '31', '51', '58'),
+('8', '5', '27', '473', '1049', '26', '29', '31', '52', '60'),
+('8', '5', '28', '495', '1114', '26', '29', '32', '54', '61'),
+('8', '5', '29', '518', '1150', '27', '30', '32', '55', '63'),
+('8', '5', '30', '542', '1202', '27', '30', '33', '57', '65'),
+('8', '5', '31', '567', '1270', '27', '30', '33', '59', '66'),
+('8', '5', '32', '593', '1309', '27', '31', '34', '60', '68'),
+('8', '5', '33', '620', '1378', '28', '31', '34', '62', '70'),
+('8', '5', '34', '648', '1432', '28', '31', '35', '64', '71'),
+('8', '5', '35', '677', '1471', '28', '32', '35', '65', '73'),
+('8', '5', '36', '707', '1525', '29', '32', '36', '67', '75'),
+('8', '5', '37', '738', '1594', '29', '32', '37', '69', '77'),
+('8', '5', '38', '770', '1648', '29', '33', '37', '71', '79'),
+('8', '5', '39', '803', '1687', '29', '33', '38', '72', '81'),
+('8', '5', '40', '837', '1741', '30', '33', '38', '74', '82'),
+('8', '5', '41', '872', '1810', '30', '34', '39', '76', '84'),
+('8', '5', '42', '908', '1864', '30', '34', '39', '78', '86'),
+('8', '5', '43', '945', '1918', '30', '35', '40', '80', '88'),
+('8', '5', '44', '983', '1972', '31', '35', '40', '82', '90'),
+('8', '5', '45', '1022', '2026', '31', '35', '41', '84', '92'),
+('8', '5', '46', '1062', '2080', '31', '36', '42', '86', '94'),
+('8', '5', '47', '1103', '2134', '32', '36', '42', '88', '96'),
+('8', '5', '48', '1145', '2188', '32', '37', '43', '90', '99'),
+('8', '5', '49', '1238', '2242', '32', '37', '44', '92', '101'),
+('8', '5', '50', '1252', '2296', '33', '37', '44', '94', '103'),
+('8', '5', '51', '1277', '2350', '33', '38', '45', '96', '105'),
+('8', '5', '52', '1323', '2404', '33', '38', '45', '98', '107'),
+('8', '5', '53', '1370', '2458', '34', '39', '46', '100', '109'),
+('8', '5', '54', '1418', '2512', '34', '39', '47', '102', '112'),
+('8', '5', '55', '1467', '2566', '34', '40', '47', '105', '114'),
+('8', '5', '56', '1517', '2620', '35', '40', '48', '107', '116'),
+('8', '5', '57', '1568', '2674', '35', '41', '49', '109', '119'),
+('8', '5', '58', '1620', '2728', '35', '41', '50', '111', '121'),
+('8', '5', '59', '1673', '2782', '36', '42', '50', '114', '124'),
+('8', '5', '60', '1727', '2836', '36', '42', '51', '116', '126'),
+('8', '7', '1', '87', '71', '22', '22', '22', '17', '23'),
+('8', '7', '2', '84', '79', '23', '22', '23', '18', '24'),
+('8', '7', '3', '101', '87', '23', '23', '24', '19', '25'),
+('8', '7', '4', '118', '110', '24', '23', '25', '19', '26'),
+('8', '7', '5', '135', '120', '25', '24', '25', '20', '27'),
+('8', '7', '6', '152', '145', '26', '24', '26', '21', '28'),
+('8', '7', '7', '169', '171', '27', '24', '27', '22', '29'),
+('8', '7', '8', '186', '198', '27', '25', '28', '23', '29'),
+('8', '7', '9', '203', '241', '28', '25', '29', '24', '30'),
+('8', '7', '10', '220', '255', '29', '26', '30', '24', '31'),
+('8', '7', '11', '237', '285', '30', '26', '31', '25', '32'),
+('8', '7', '12', '254', '316', '31', '27', '32', '26', '33'),
+('8', '7', '13', '271', '348', '31', '27', '33', '27', '34'),
+('8', '7', '14', '288', '381', '32', '28', '34', '28', '35'),
+('8', '7', '15', '305', '415', '33', '28', '35', '29', '37'),
+('8', '7', '16', '322', '450', '34', '29', '36', '30', '38'),
+('8', '7', '17', '340', '486', '35', '29', '37', '31', '39'),
+('8', '7', '18', '359', '523', '36', '30', '38', '32', '40'),
+('8', '7', '19', '379', '589', '37', '30', '39', '33', '41'),
+('8', '7', '20', '400', '600', '38', '31', '40', '34', '42'),
+('8', '7', '21', '422', '640', '39', '31', '41', '35', '43'),
+('8', '7', '22', '445', '681', '39', '32', '42', '36', '44'),
+('8', '7', '23', '469', '723', '40', '32', '43', '37', '45'),
+('8', '7', '24', '494', '766', '41', '33', '44', '38', '47'),
+('8', '7', '25', '520', '810', '42', '33', '46', '39', '48'),
+('8', '7', '26', '547', '898', '43', '34', '47', '40', '49'),
+('8', '7', '27', '575', '947', '44', '34', '48', '41', '50'),
+('8', '7', '28', '604', '996', '45', '35', '49', '42', '51'),
+('8', '7', '29', '634', '996', '46', '35', '50', '43', '53'),
+('8', '7', '30', '665', '1045', '47', '36', '51', '44', '54'),
+('8', '7', '31', '697', '1165', '49', '36', '53', '46', '55'),
+('8', '7', '32', '730', '1216', '50', '37', '54', '47', '57'),
+('8', '7', '33', '764', '1277', '51', '38', '55', '48', '58'),
+('8', '7', '34', '799', '1304', '52', '38', '56', '49', '59'),
+('8', '7', '35', '835', '1355', '53', '39', '58', '50', '61'),
+('8', '7', '36', '872', '1412', '54', '40', '59', '52', '62'),
+('8', '7', '37', '910', '1473', '55', '40', '60', '53', '63'),
+('8', '7', '38', '949', '1525', '56', '41', '62', '54', '65'),
+('8', '7', '39', '989', '1561', '57', '41', '63', '55', '66'),
+('8', '7', '40', '1030', '1599', '59', '42', '64', '57', '68'),
+('8', '7', '41', '1072', '1627', '60', '43', '66', '58', '69'),
+('8', '7', '42', '1115', '1683', '61', '43', '67', '59', '71'),
+('8', '7', '43', '1159', '1716', '62', '44', '69', '60', '72'),
+('8', '7', '44', '1204', '1746', '64', '45', '70', '62', '74'),
+('8', '7', '45', '1250', '1780', '65', '45', '72', '63', '75'),
+('8', '7', '46', '1297', '1844', '66', '46', '73', '65', '77'),
+('8', '7', '47', '1345', '1988', '67', '47', '75', '66', '78'),
+('8', '7', '48', '1394', '2024', '69', '48', '76', '67', '80'),
+('8', '7', '49', '1444', '2077', '70', '48', '78', '69', '82'),
+('8', '7', '50', '1495', '2127', '71', '49', '79', '70', '83'),
+('8', '7', '51', '1547', '2177', '73', '50', '81', '72', '85'),
+('8', '7', '52', '1600', '2204', '74', '51', '82', '73', '87'),
+('8', '7', '53', '1654', '2235', '76', '51', '84', '75', '88'),
+('8', '7', '54', '1709', '2256', '77', '52', '86', '76', '90'),
+('8', '7', '55', '1765', '2286', '78', '53', '87', '78', '92'),
+('8', '7', '56', '1822', '2319', '80', '54', '89', '79', '94'),
+('8', '7', '57', '1880', '2384', '81', '55', '91', '81', '95'),
+('8', '7', '58', '1939', '2432', '83', '55', '92', '83', '97'),
+('8', '7', '59', '1999', '2481', '84', '56', '94', '84', '99'),
+('8', '7', '60', '2060', '2530', '86', '57', '96', '86', '101'),
+('8', '8', '1', '71', '119', '21', '22', '21', '19', '23'),
+('8', '8', '2', '77', '130', '21', '22', '21', '20', '24'),
+('8', '8', '3', '92', '156', '21', '22', '22', '21', '25'),
+('8', '8', '4', '107', '183', '21', '23', '22', '23', '26'),
+('8', '8', '5', '122', '211', '21', '23', '22', '24', '28'),
+('8', '8', '6', '137', '240', '22', '23', '22', '25', '29'),
+('8', '8', '7', '152', '270', '22', '23', '23', '26', '30'),
+('8', '8', '8', '167', '286', '22', '23', '23', '27', '31'),
+('8', '8', '9', '182', '333', '22', '23', '23', '29', '32'),
+('8', '8', '10', '197', '366', '22', '24', '24', '30', '34'),
+('8', '8', '11', '212', '400', '22', '24', '24', '31', '35'),
+('8', '8', '12', '227', '435', '22', '24', '24', '33', '36'),
+('8', '8', '13', '242', '471', '22', '24', '25', '34', '37'),
+('8', '8', '14', '257', '508', '23', '24', '25', '35', '39'),
+('8', '8', '15', '272', '546', '23', '25', '25', '37', '40'),
+('8', '8', '16', '287', '585', '23', '25', '26', '38', '41'),
+('8', '8', '17', '302', '610', '23', '25', '26', '39', '43'),
+('8', '8', '18', '317', '666', '23', '25', '26', '41', '44'),
+('8', '8', '19', '332', '693', '23', '25', '27', '42', '45'),
+('8', '8', '20', '347', '751', '23', '26', '27', '44', '47'),
+('8', '8', '21', '362', '780', '24', '26', '27', '45', '48'),
+('8', '8', '22', '377', '840', '24', '26', '28', '47', '50'),
+('8', '8', '23', '392', '871', '24', '26', '28', '48', '51'),
+('8', '8', '24', '408', '933', '24', '27', '29', '50', '53'),
+('8', '8', '25', '425', '966', '24', '27', '29', '51', '54'),
+('8', '8', '26', '443', '1030', '24', '27', '29', '53', '56'),
+('8', '8', '27', '462', '1080', '24', '27', '30', '55', '57'),
+('8', '8', '28', '482', '1116', '25', '27', '30', '56', '59'),
+('8', '8', '29', '503', '1182', '25', '28', '31', '58', '60'),
+('8', '8', '30', '525', '1233', '25', '28', '31', '60', '62'),
+('8', '8', '31', '548', '1269', '25', '28', '31', '61', '64'),
+('8', '8', '32', '572', '1335', '25', '28', '32', '63', '65'),
+('8', '8', '33', '597', '1386', '25', '29', '32', '65', '67'),
+('8', '8', '34', '623', '1422', '26', '29', '33', '66', '69'),
+('8', '8', '35', '650', '1473', '26', '29', '33', '68', '70'),
+('8', '8', '36', '678', '1524', '26', '30', '34', '70', '72'),
+('8', '8', '37', '707', '1590', '26', '30', '34', '72', '74'),
+('8', '8', '38', '737', '1641', '26', '30', '34', '74', '76'),
+('8', '8', '39', '768', '1692', '27', '30', '35', '76', '77'),
+('8', '8', '40', '800', '1728', '27', '31', '35', '77', '79'),
+('8', '8', '41', '833', '1779', '27', '31', '36', '79', '81'),
+('8', '8', '42', '867', '1830', '27', '31', '36', '81', '83'),
+('8', '8', '43', '902', '1881', '27', '31', '37', '83', '85'),
+('8', '8', '44', '938', '1932', '27', '32', '37', '85', '87'),
+('8', '8', '45', '975', '1983', '28', '32', '38', '87', '89'),
+('8', '8', '46', '1013', '2034', '28', '32', '38', '89', '91'),
+('8', '8', '47', '1092', '2085', '28', '33', '39', '91', '93'),
+('8', '8', '48', '1102', '2151', '28', '33', '39', '94', '95'),
+('8', '8', '49', '1133', '2202', '29', '33', '40', '96', '97'),
+('8', '8', '50', '1175', '2238', '29', '34', '40', '98', '99'),
+('8', '8', '51', '1218', '2289', '29', '34', '41', '100', '101'),
+('8', '8', '52', '1262', '2340', '29', '34', '41', '102', '103'),
+('8', '8', '53', '1307', '2391', '29', '35', '42', '104', '105'),
+('8', '8', '54', '1353', '2442', '30', '35', '43', '107', '107'),
+('8', '8', '55', '1400', '2508', '30', '35', '43', '109', '110'),
+('8', '8', '56', '1448', '2547', '30', '36', '44', '111', '112'),
+('8', '8', '57', '1497', '2595', '30', '36', '44', '114', '114'),
+('8', '8', '58', '1547', '2646', '31', '36', '45', '116', '116'),
+('8', '8', '59', '1589', '2697', '31', '37', '45', '119', '119'),
+('8', '8', '60', '1650', '2748', '31', '37', '46', '121', '121');
diff --git a/sql/updates/0.6/2691_player_levelupgains.sql b/sql/updates/0.6/2691_player_levelupgains.sql
new file mode 100644
index 00000000000..aef481763f3
--- /dev/null
+++ b/sql/updates/0.6/2691_player_levelupgains.sql
@@ -0,0 +1 @@
+DROP TABLE IF EXISTS `player_levelupgains`;
diff --git a/sql/updates/0.6/2699_character_inventory.sql b/sql/updates/0.6/2699_character_inventory.sql
new file mode 100644
index 00000000000..5abfe595818
--- /dev/null
+++ b/sql/updates/0.6/2699_character_inventory.sql
@@ -0,0 +1,9 @@
+UPDATE character_inventory SET bag = 0 WHERE bag = 255;
+CREATE TABLE character_bags SELECT guid, slot, item FROM character_inventory LEFT JOIN item_template ON character_inventory.item_template = item_template.entry WHERE ContainerSlots > 0 AND bag = 0;
+CREATE INDEX idx_gs ON character_bags (`guid`,`slot`);
+ALTER TABLE character_inventory CHANGE COLUMN `bag` `bag` bigint(20) unsigned NOT NULL default '0';
+UPDATE character_inventory As ci SET bag = (SELECT item FROM character_bags As cb WHERE ci.guid = cb.guid AND cb.slot = ci.bag LIMIT 1) WHERE bag != 0;
+DROP TABLE character_bags;
+ALTER TABLE character_inventory DROP PRIMARY KEY;
+ALTER TABLE character_inventory ADD PRIMARY KEY (`item`);
+CREATE INDEX idx_gb ON character_inventory (`guid`,`bag`); \ No newline at end of file
diff --git a/sql/updates/0.6/2703_command.sql b/sql/updates/0.6/2703_command.sql
new file mode 100644
index 00000000000..ec0f7c1e217
--- /dev/null
+++ b/sql/updates/0.6/2703_command.sql
@@ -0,0 +1,6 @@
+INSERT INTO `command` VALUES('idleshutdown','3','Syntax: .idleshutdown #delay\r\n\r\nShutting down server after #delay seconds if no active connections present (no players).');
+INSERT INTO `command` VALUES('banaccount','3','Syntax: .banaccount $name\r\n\r\nBan account $name (can be view for player using .pinfo command) and kick affected player if he loginned at server.');
+INSERT INTO `command` VALUES('banip','3','Syntax: .banip #ip\r\n\r\nBan loggining to server from computer with provide IP address and kick all affected players with equal last IP.');
+INSERT INTO `command` VALUES('unbanaccount','3','Syntax: .unbanaccount $name\r\n\r\nUnban account $name.');
+INSERT INTO `command` VALUES('unbanip','3','Syntax: .unbanip #ip\r\n\r\nUnban provide IP address.');
+UPDATE `command` SET `help` = 'Syntax: .kick [$charactername]\r\n\r\nKick the given character from the world. If no character name provide then selected player (except self) will be kicked.' WHERE `name` = 'kick';
diff --git a/sql/updates/0.6/2713_quest_template.sql b/sql/updates/0.6/2713_quest_template.sql
new file mode 100644
index 00000000000..116632c8315
--- /dev/null
+++ b/sql/updates/0.6/2713_quest_template.sql
@@ -0,0 +1,6 @@
+alter table quest_template
+ drop column detailsemote;
+alter table quest_template
+ drop column completeemote;
+alter table quest_template
+ drop column incompleteemote; \ No newline at end of file
diff --git a/sql/updates/0.6/2746_command.sql b/sql/updates/0.6/2746_command.sql
new file mode 100644
index 00000000000..6946726f946
--- /dev/null
+++ b/sql/updates/0.6/2746_command.sql
@@ -0,0 +1 @@
+UPDATE `command` SET `help` = 'Syntax: .npcflag #npcflag\r\n\r\nSet the NPC flags of creature template of the selected creature and selected creature to #npcflag. NPC flags will applied to all creatures of selected creature template after server restart or grid unload/load.' WHERE `name` = 'npcflag';
diff --git a/sql/updates/0.6/2746_creature.sql b/sql/updates/0.6/2746_creature.sql
new file mode 100644
index 00000000000..4304f728cba
--- /dev/null
+++ b/sql/updates/0.6/2746_creature.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `creature`
+ DROP `npcflags`,
+ DROP `faction`;
diff --git a/sql/updates/0.6/2754_realmd.sql b/sql/updates/0.6/2754_realmd.sql
new file mode 100644
index 00000000000..b7f6970a8c9
--- /dev/null
+++ b/sql/updates/0.6/2754_realmd.sql
@@ -0,0 +1 @@
+ALTER TABLE account CHANGE COLUMN `email` `email` varchar(255) NOT NULL default '';
diff --git a/sql/updates/0.6/2762_command.sql b/sql/updates/0.6/2762_command.sql
new file mode 100644
index 00000000000..99fe7f64683
--- /dev/null
+++ b/sql/updates/0.6/2762_command.sql
@@ -0,0 +1 @@
+INSERT INTO `command` VALUES('addquest','3','Syntax: .addquest #quest_id\r\n\r\nAdd to character quest log quest #quest_id. Quest started from item can\'t be added by this command but correct .additem call provided in command output.');
diff --git a/sql/updates/0.6/2765_auctionHouse.sql b/sql/updates/0.6/2765_auctionHouse.sql
new file mode 100644
index 00000000000..7b9b56ab03a
--- /dev/null
+++ b/sql/updates/0.6/2765_auctionHouse.sql
@@ -0,0 +1,17 @@
+DROP TABLE IF EXISTS `auctionhouse`;
+CREATE TABLE `auctionhouse` (
+ `id` bigint(20) unsigned NOT NULL default '0',
+ `auctioneerguid` int(32) NOT NULL default '0',
+ `itemguid` int(32) NOT NULL default '0',
+ `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
+ `itemowner` int(32) NOT NULL default '0',
+ `buyoutprice` int(32) NOT NULL default '0',
+ `time` bigint(40) NOT NULL default '0',
+ `buyguid` int(32) NOT NULL default '0',
+ `lastbid` int(32) NOT NULL default '0',
+ `startbid` int(32) NOT NULL default '0',
+ `deposit` int(11) NOT NULL default '0',
+ `location` tinyint(3) unsigned NOT NULL default '3',
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
diff --git a/sql/updates/0.6/2765_mail.sql b/sql/updates/0.6/2765_mail.sql
new file mode 100644
index 00000000000..78e6dbdde22
--- /dev/null
+++ b/sql/updates/0.6/2765_mail.sql
@@ -0,0 +1,17 @@
+DROP TABLE IF EXISTS `mail`;
+CREATE TABLE `mail` (
+ `id` bigint(20) unsigned NOT NULL default '0' COMMENT 'Identifier',
+ `messageType` int(11) unsigned NOT NULL default '0',
+ `sender` bigint(20) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
+ `receiver` bigint(20) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
+ `subject` longtext,
+ `itemPageId` int(11) unsigned NOT NULL default '0',
+ `item_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Mail Item Global Unique Identifier',
+ `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
+ `time` int(11) unsigned NOT NULL default '0',
+ `money` int(11) unsigned NOT NULL default '0',
+ `cod` bigint(11) unsigned NOT NULL default '0',
+ `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
diff --git a/sql/updates/0.6/2778_command.sql b/sql/updates/0.6/2778_command.sql
new file mode 100644
index 00000000000..d70b558d417
--- /dev/null
+++ b/sql/updates/0.6/2778_command.sql
@@ -0,0 +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: .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
new file mode 100644
index 00000000000..b6d97a87d03
--- /dev/null
+++ b/sql/updates/0.6/2787_item_instance.sql
@@ -0,0 +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 ')
+ WHERE SUBSTRING_INDEX(SUBSTRING_INDEX(`data`,' ',3),' ',-1) = 7 AND SUBSTRING_INDEX(SUBSTRING_INDEX(`data`,' ',91),' ',-1) = '';
diff --git a/sql/updates/0.6/2798_command.sql b/sql/updates/0.6/2798_command.sql
new file mode 100644
index 00000000000..03a7c16cd22
--- /dev/null
+++ b/sql/updates/0.6/2798_command.sql
@@ -0,0 +1 @@
+UPDATE `command` SET `help` = 'Syntax: .levelup [$playername] [#numberoflevels]\r\n\r\nIncrease/decrease the level of character with $playername (or the selected if not name provided) by #numberoflevels Or +1 if no #numberoflevels provided). If #numberoflevels is omitted, the level will be increase by 1. If #numberoflevels is 0, the same level will be restarted. If no character is selected and name not provided, increase your level. Command can be used for offline character. All stats and dependent values recalculated. At level decrease talents can be reset if need. Also at level decrease equipped items with greater level requirement can be lost.' WHERE `name` = 'levelup';
diff --git a/sql/updates/0.6/2803_command.sql b/sql/updates/0.6/2803_command.sql
new file mode 100644
index 00000000000..6e36bcc40e7
--- /dev/null
+++ b/sql/updates/0.6/2803_command.sql
@@ -0,0 +1,11 @@
+DELETE FROM `command` WHERE `name` = 'setskill';
+
+INSERT INTO command (name, security, help) VALUES ('setskill', 3,'Syntax: .setskill #skill #level [#max]\r\n\r\nSet a skill of id #skill with a current skill value of #level and a maximum value of #max (or equal current maximum if not provide) for the selected character. If no character is selected, you learn the skill.');
+
+DELETE FROM `command` WHERE `name` = 'learnsk';
+
+INSERT INTO command (name, security, help) VALUES ('learnskill', 3,'Syntax: .learnskill #skillId [#level [#max]]\r\n\r\nLearn a skill of id #skill with a current skill value of #level (or 1 if not provide) and a maximum value of #max (or equal #level or 1 if not provide) for the selected character. If no character is selected, you learn the skill.');
+
+DELETE FROM `command` WHERE `name` = 'unlearnsk';
+
+INSERT INTO command (name, security, help) VALUES ('unlearnskill',3,'Syntax: .unlearnskill #skill\r\n\r\nUnlearn a skill of id #skill for the selected character. If no character is selected, you unlearn the skill.');
diff --git a/sql/updates/0.6/2808_command.sql b/sql/updates/0.6/2808_command.sql
new file mode 100644
index 00000000000..48ea2fa40ab
--- /dev/null
+++ b/sql/updates/0.6/2808_command.sql
@@ -0,0 +1,2 @@
+DELETE FROM `command` WHERE `name` = 'password';
+INSERT INTO command (name, security, help) VALUES ('password', 0,'Syntax: .password $newpassword\r\n\r\nSet for your account $newpassword as new password.');
diff --git a/sql/updates/0.6/2812_character_pet.sql b/sql/updates/0.6/2812_character_pet.sql
new file mode 100644
index 00000000000..1881a731186
--- /dev/null
+++ b/sql/updates/0.6/2812_character_pet.sql
@@ -0,0 +1,2 @@
+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
new file mode 100644
index 00000000000..8131cec00db
--- /dev/null
+++ b/sql/updates/0.6/2812_pet_name_generation.sql
@@ -0,0 +1,211 @@
+DROP TABLE IF EXISTS `pet_name_generation`;
+CREATE TABLE `pet_name_generation` (
+ `id` int(11) NOT NULL auto_increment,
+ `word` tinytext NOT NULL,
+ `entry` int(11) NOT NULL default '0',
+ `half` int(11) NOT NULL default '0',
+ PRIMARY KEY (`id`)
+);
+
+/*!40000 ALTER TABLE `pet_name_generation` DISABLE KEYS */;
+LOCK TABLES `pet_name_generation` WRITE;
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Aba',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Az',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Bel',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Biz',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Cho',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Dag',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Gak',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Gar',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Gho',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Gob',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Gra',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Jak',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Jub',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Kar',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Laz',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Nal',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Nok',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Pag',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Pig',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Pip',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Piz',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Quz',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Rui',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Rul',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Rup',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Tar',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Vol',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Yaz',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Zep',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Zig',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Zil',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Zor',416,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('bis',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('gup',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('ham',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('jub',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('kin',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('kol',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('lop',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('loz',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('mat',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('mir',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('nam',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('nar',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('nik',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('nip',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('pad',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('pep',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('pit',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('qua',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('rai',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('rin',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('rot',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('tai',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('tal',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('tik',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('tip',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('tog',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('tuk',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('uri',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('yal',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('yap',416,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Bar',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Bel',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Char',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Grak\'',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Graz\'',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Grim',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Hath',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Hel',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Hok',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Jhaz',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Jhom',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Kal\'',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Klath',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Krag',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Krak',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Mak',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Mezz',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Orm',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Phan',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Sar',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Tang',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Than',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Thog',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Thok',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Zang',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Zhar\'',1860,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('doc',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('dok',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('garth',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('gore',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('gorg',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('grave',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('gron',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('juk',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('kath',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('kresh',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('krit',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('los',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('mon',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('mos',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('moth',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('nagma',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('nak',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('nar',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('nos',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('nuz',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('phog',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('rath',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('tast',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('taz',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('thak',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('thang',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('thyk',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('vhug',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('zazt',1860,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Ael',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Aez',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Ang',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Ban',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Bet',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Bro',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Bry',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Dir',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Dom',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Drus',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Fier',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Hel',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Kal',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Lyn',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Mir',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Nim',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Sar',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Sel',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Vil',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Zah',1863,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('aith',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('anda',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('antia',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('lissa',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('neri',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('neth',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('nia',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('nva',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('ola',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('ona',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('ora',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('riana',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('riel',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('tai',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('vina',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('wena',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('wyn',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('yla',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('yssa',1863,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Flaa',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Fzuu',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Ghaa',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Gree',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Haa',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Jhaa',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Jhuu',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Khaa',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Khii',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Khuu',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Kree',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Maa',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Nhee',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Phuu',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Pryy',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Sloo',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Sruu',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Traa',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('Zhaa',417,0);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('dhon',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('dhum',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('don',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('dym',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('fun',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('ghon',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('ghun',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('grom',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('grym',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('jhom',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('kun',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('mmon',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('mon',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('nam',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('nem',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('nhym',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('nom',417,1);
+INSERT INTO `pet_name_generation` (`word`, `entry`, `half`) VALUES ('phom',417,1);
+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);
+UNLOCK TABLES;
+/*!40000 ALTER TABLE `pet_name_generation` ENABLE KEYS */;
diff --git a/sql/updates/0.6/2815_character_pet.sql b/sql/updates/0.6/2815_character_pet.sql
new file mode 100644
index 00000000000..db834b55f2a
--- /dev/null
+++ b/sql/updates/0.6/2815_character_pet.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `character_pet`
+ CHANGE COLUMN `name` `name` varchar(100) NULL DEFAULT 'Pet';
diff --git a/sql/updates/0.6/2821_raidgroups.sql b/sql/updates/0.6/2821_raidgroups.sql
new file mode 100644
index 00000000000..0507a17d266
--- /dev/null
+++ b/sql/updates/0.6/2821_raidgroups.sql
@@ -0,0 +1,24 @@
+DROP TABLE IF EXISTS `raidgroup`;
+CREATE TABLE `raidgroup` (
+ `leaderGuid` bigint(20) NOT NULL,
+ `lootMethod` int(11) NOT NULL,
+ `looterGuid` bigint(20) NOT NULL,
+ `icon1` bigint(20) NOT NULL,
+ `icon2` bigint(20) NOT NULL,
+ `icon3` bigint(20) NOT NULL,
+ `icon4` bigint(20) NOT NULL,
+ `icon5` bigint(20) NOT NULL,
+ `icon6` bigint(20) NOT NULL,
+ `icon7` bigint(20) NOT NULL,
+ `icon8` bigint(20) NOT NULL,
+ PRIMARY KEY (`leaderGuid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='RaidGroups';
+
+DROP TABLE IF EXISTS `raidgroup_member`;
+CREATE TABLE `raidgroup_member` (
+ `leaderGuid` bigint(20) NOT NULL,
+ `memberGuid` bigint(20) NOT NULL,
+ `assistant` tinyint(1) NOT NULL,
+ `subgroup` smallint(6) NOT NULL,
+ PRIMARY KEY (`leaderGuid`,`memberGuid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='RaidGroups'; \ No newline at end of file
diff --git a/sql/updates/0.6/2828_character.sql b/sql/updates/0.6/2828_character.sql
new file mode 100644
index 00000000000..434a8d5d35b
--- /dev/null
+++ b/sql/updates/0.6/2828_character.sql
@@ -0,0 +1,27 @@
+ALTER TABLE `auctionhouse` ENGINE = InnoDB;
+ALTER TABLE `character` DROP KEY `idx_name`, ENGINE = InnoDB;
+ALTER TABLE `character_action` ENGINE = InnoDB;
+ALTER TABLE `character_aura` ENGINE = InnoDB;
+ALTER TABLE `character_homebind` ENGINE = InnoDB;
+ALTER TABLE `character_inventory` ENGINE = InnoDB;
+ALTER TABLE `character_kill` ENGINE = InnoDB;
+ALTER TABLE `character_pet` ENGINE = InnoDB;
+ALTER TABLE `character_queststatus` ENGINE = InnoDB;
+ALTER TABLE `character_reputation` ENGINE = InnoDB;
+ALTER TABLE `character_social` ENGINE = InnoDB;
+ALTER TABLE `character_spell` ENGINE = InnoDB;
+ALTER TABLE `character_spell_cooldown` ENGINE = InnoDB;
+ALTER TABLE `character_stable` ENGINE = InnoDB;
+ALTER TABLE `character_ticket` ENGINE = InnoDB;
+ALTER TABLE `character_tutorial` ENGINE = InnoDB;
+ALTER TABLE `corpse` ENGINE = InnoDB;
+ALTER TABLE `guild` ENGINE = InnoDB;
+ALTER TABLE `guild_charter` ENGINE = InnoDB;
+ALTER TABLE `guild_charter_sign` ENGINE = InnoDB;
+ALTER TABLE `guild_member` ENGINE = InnoDB;
+ALTER TABLE `guild_rank` ENGINE = InnoDB;
+ALTER TABLE `item_instance` ENGINE = InnoDB;
+ALTER TABLE `item_page` ENGINE = InnoDB;
+ALTER TABLE `mail` ENGINE = InnoDB;
+ALTER TABLE `raidgroup` ENGINE = InnoDB;
+ALTER TABLE `raidgroup_member` ENGINE = InnoDB;
diff --git a/sql/updates/0.6/2838_corpse_grid.sql b/sql/updates/0.6/2838_corpse_grid.sql
new file mode 100644
index 00000000000..c7dee0d0d73
--- /dev/null
+++ b/sql/updates/0.6/2838_corpse_grid.sql
@@ -0,0 +1 @@
+ALTER TABLE `corpse_grid` ENGINE = MEMORY;
diff --git a/sql/updates/0.6/2838_creature_grid.sql b/sql/updates/0.6/2838_creature_grid.sql
new file mode 100644
index 00000000000..381934e5b70
--- /dev/null
+++ b/sql/updates/0.6/2838_creature_grid.sql
@@ -0,0 +1 @@
+ALTER TABLE `creature_grid` ENGINE = MEMORY;
diff --git a/sql/updates/0.6/2838_gameobject_grid.sql b/sql/updates/0.6/2838_gameobject_grid.sql
new file mode 100644
index 00000000000..099f1e56720
--- /dev/null
+++ b/sql/updates/0.6/2838_gameobject_grid.sql
@@ -0,0 +1 @@
+ALTER TABLE `gameobject_grid` ENGINE = MEMORY;
diff --git a/sql/updates/0.6/2842_character_pet.sql b/sql/updates/0.6/2842_character_pet.sql
new file mode 100644
index 00000000000..f306049007b
--- /dev/null
+++ b/sql/updates/0.6/2842_character_pet.sql
@@ -0,0 +1,10 @@
+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`
+ 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`
+ WHERE `character_pet`.`modelid` = 0 AND `character_pet`.`entry` = `creature_template`.`entry`;
diff --git a/sql/updates/0.6/2843_character_pet.sql b/sql/updates/0.6/2843_character_pet.sql
new file mode 100644
index 00000000000..9202f337f78
--- /dev/null
+++ b/sql/updates/0.6/2843_character_pet.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `character_pet`
+ ADD COLUMN `renamed` tinyint(1) unsigned NOT NULL default '0' after `name`;
diff --git a/sql/updates/0.6/2850_command.sql b/sql/updates/0.6/2850_command.sql
new file mode 100644
index 00000000000..1b6f152ed17
--- /dev/null
+++ b/sql/updates/0.6/2850_command.sql
@@ -0,0 +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: .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
new file mode 100644
index 00000000000..5cc6ff5d01e
--- /dev/null
+++ b/sql/updates/0.6/2869_command.sql
@@ -0,0 +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';
diff --git a/sql/updates/0.6/2875_npc_trainer.sql b/sql/updates/0.6/2875_npc_trainer.sql
new file mode 100644
index 00000000000..ed90471d180
--- /dev/null
+++ b/sql/updates/0.6/2875_npc_trainer.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `npc_trainer`
+ DROP `reqspell`;
diff --git a/sql/updates/0.6/2875_spell_chain.sql b/sql/updates/0.6/2875_spell_chain.sql
new file mode 100644
index 00000000000..0535fd5e4c1
--- /dev/null
+++ b/sql/updates/0.6/2875_spell_chain.sql
@@ -0,0 +1,1359 @@
+-- ----------------------------
+-- Table structure for spell_chain
+-- ----------------------------
+DROP TABLE IF EXISTS `spell_chain`;
+CREATE TABLE `spell_chain` (
+ `spell_id` int(5) NOT NULL default '0',
+ `prev_spell` int(5) NOT NULL default '0',
+ `first_spell` int(5) NOT NULL default '0',
+ `rank` int(2) NOT NULL default '0',
+ PRIMARY KEY (`spell_id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Spell Additinal Data';
+
+-- ----------------------------
+-- Records (Proff. spells)
+-- ----------------------------
+INSERT INTO `spell_chain` VALUES
+('8613', '0', '8613', '1'),
+('8617', '8613', '8613', '2'),
+('8618', '8617', '8613', '3'),
+('10768', '8618', '8613', '4'),
+
+('4036', '0', '4036', '1'),
+('4037', '4036', '4036', '2'),
+('4038', '4037', '4036', '3'),
+('12656', '4038', '4036', '4'),
+
+('2259', '0', '2259', '1'),
+('3101', '2259', '2259', '2'),
+('3464', '3101', '2259', '3'),
+('11611', '3464', '2259', '4'),
+
+('7411', '0', '7411', '1'),
+('7412', '7411', '7411', '2'),
+('7413', '7412', '7411', '3'),
+('13920', '7413', '7411', '4'),
+
+('3908', '0', '3908', '1'),
+('3909', '3908', '3908', '2'),
+('3910', '3909', '3908', '3'),
+('12180', '3910', '3908', '4'),
+
+('2108', '0', '2108', '1'),
+('3104', '2108', '2108', '2'),
+('3811', '3104', '2108', '3'),
+('10662', '3811', '2108', '4'),
+
+('7620', '0', '7620', '1'),
+('7731', '7620', '7620', '2'),
+('7732', '7731', '7620', '3'),
+('18248', '7732', '7620', '4'),
+
+('2575', '0', '2575', '1'),
+('2576', '2575', '2575', '2'),
+('3564', '2576', '2575', '3'),
+('10248', '3564', '2575', '4'),
+
+('3273', '0', '3273', '1'),
+('3274', '3273', '3273', '2'),
+('7924', '3274', '3273', '3'),
+('10846', '7924', '3273', '4'),
+
+('2018', '0', '2018', '1'),
+('3100', '2018', '2018', '2'),
+('3538', '3100', '2018', '3'),
+('9785', '3538', '2018', '4'),
+('9787', '9785', '2018', '5'),
+('9788', '9785', '2018', '5'),
+
+('1804', '0', '1804', '1'),
+('6461', '1804', '1804', '2'),
+('6463', '6461', '1804', '3'),
+
+('2550', '0', '2550', '1'),
+('3102', '2550', '2550', '2'),
+('3413', '3102', '2550', '3'),
+('18260', '3413', '2550', '4'),
+
+('2366', '0', '2366', '1'),
+('2368', '2366', '2366', '2'),
+('3570', '2368', '2366', '3'),
+('11993', '3570', '2366', '4'),
+
+('33388', '0', '33388', '1'),
+('33391', '33388', '33388', '2');
+
+-- ----------------------------
+-- Records (Ranked spells)
+-- ----------------------------
+INSERT INTO `spell_chain` VALUES ('10', '0', '10', '1'),
+('17', '0', '17', '1'),
+('53', '0', '53', '1'),
+('72', '0', '72', '1'),
+('78', '0', '78', '1'),
+('99', '0', '99', '1'),
+('100', '0', '100', '1'),
+('116', '0', '116', '1'),
+('118', '0', '118', '1'),
+('120', '0', '120', '1'),
+('122', '0', '122', '1'),
+('133', '0', '133', '1'),
+('136', '0', '136', '1'),
+('139', '0', '139', '1'),
+('143', '133', '133', '2'),
+('145', '143', '133', '3'),
+('168', '0', '168', '1'),
+('172', '0', '172', '1'),
+('205', '116', '116', '2'),
+('284', '78', '78', '2'),
+('285', '284', '78', '3'),
+('324', '0', '324', '1'),
+('325', '324', '324', '2'),
+('331', '0', '331', '1'),
+('332', '331', '331', '2'),
+('339', '0', '339', '1'),
+('348', '0', '348', '1'),
+('370', '0', '370', '1'),
+('403', '0', '403', '1'),
+('408', '0', '408', '1'),
+('421', '0', '421', '1'),
+('453', '0', '453', '1'),
+('465', '0', '465', '1'),
+('467', '0', '467', '1'),
+('469', '0', '469', '1'),
+('498', '0', '498', '1'),
+('527', '0', '527', '1'),
+('529', '403', '403', '2'),
+('543', '0', '543', '1'),
+('547', '332', '331', '3'),
+('548', '529', '403', '3'),
+('585', '0', '585', '1'),
+('586', '0', '586', '1'),
+('587', '0', '587', '1'),
+('588', '0', '588', '1'),
+('589', '0', '589', '1'),
+('591', '585', '585', '2'),
+('592', '17', '17', '2'),
+('594', '589', '589', '2'),
+('596', '0', '596', '1'),
+('597', '587', '587', '2'),
+('598', '591', '585', '3'),
+('600', '592', '17', '3'),
+('602', '7128', '588', '3'),
+('603', '0', '603', '1'),
+('604', '0', '604', '1'),
+('605', '0', '605', '1'),
+('633', '0', '633', '1'),
+('635', '0', '635', '1'),
+('639', '635', '635', '2'),
+('642', '0', '642', '1'),
+('643', '10290', '465', '3'),
+('647', '639', '635', '3'),
+('686', '0', '686', '1'),
+('687', '0', '687', '1'),
+('688', '0', '688', '1'),
+('689', '0', '689', '1'),
+('693', '0', '693', '1'),
+('694', '0', '694', '1'),
+('695', '686', '686', '2'),
+('696', '687', '687', '2'),
+('699', '689', '689', '2'),
+('702', '0', '702', '1'),
+('703', '0', '703', '1'),
+('704', '0', '704', '1'),
+('705', '695', '686', '3'),
+('706', '0', '706', '1'),
+('707', '348', '348', '2'),
+('709', '699', '689', '3'),
+('710', '0', '710', '1'),
+('724', '0', '724', '1'),
+('740', '0', '740', '1'),
+('755', '0', '755', '1'),
+('769', '780', '779', '3'),
+('770', '0', '770', '1'),
+('772', '0', '772', '1'),
+('774', '0', '774', '1'),
+('778', '770', '770', '2'),
+('779', '0', '779', '1'),
+('780', '779', '779', '2'),
+('781', '0', '781', '1'),
+('782', '467', '467', '2'),
+('837', '205', '116', '3'),
+('845', '0', '845', '1'),
+('853', '0', '853', '1'),
+('865', '122', '122', '2'),
+('879', '0', '879', '1'),
+('905', '325', '324', '3'),
+('913', '547', '331', '4'),
+('915', '548', '403', '4'),
+('930', '421', '421', '2'),
+('939', '913', '331', '5'),
+('943', '915', '403', '5'),
+('945', '905', '324', '4'),
+('959', '939', '331', '6'),
+('970', '594', '589', '3'),
+('974', '0', '974', '1'),
+('976', '0', '976', '1'),
+('980', '0', '980', '1'),
+('984', '598', '585', '4'),
+('988', '527', '527', '2'),
+('990', '597', '587', '3'),
+('992', '970', '589', '4'),
+('996', '596', '596', '2'),
+('1004', '984', '585', '5'),
+('1006', '602', '588', '4'),
+('1008', '0', '1008', '1'),
+('1014', '980', '980', '2'),
+('1020', '642', '642', '2'),
+('1022', '0', '1022', '1'),
+('1026', '647', '635', '4'),
+('1032', '10291', '465', '5'),
+('1042', '1026', '635', '5'),
+('1058', '774', '774', '2'),
+('1062', '339', '339', '2'),
+('1064', '0', '1064', '1'),
+('1075', '782', '467', '3'),
+('1079', '0', '1079', '1'),
+('1082', '0', '1082', '1'),
+('1086', '706', '706', '2'),
+('1088', '705', '686', '4'),
+('1094', '707', '348', '3'),
+('1098', '0', '1098', '1'),
+('1106', '1088', '686', '5'),
+('1108', '702', '702', '2'),
+('1120', '0', '1120', '1'),
+('1126', '0', '1126', '1'),
+('1130', '0', '1130', '1'),
+('1160', '0', '1160', '1'),
+('1243', '0', '1243', '1'),
+('1244', '1243', '1243', '2'),
+('1245', '1244', '1243', '3'),
+('1329', '0', '1329', '1'),
+('1430', '1058', '774', '3'),
+('1449', '0', '1449', '1'),
+('1454', '0', '1454', '1'),
+('1455', '1454', '1454', '2'),
+('1456', '1455', '1454', '3'),
+('1459', '0', '1459', '1'),
+('1460', '1459', '1459', '2'),
+('1461', '1460', '1459', '3'),
+('1463', '0', '1463', '1'),
+('1464', '0', '1464', '1'),
+('1490', '0', '1490', '1'),
+('1495', '0', '1495', '1'),
+('1499', '0', '1499', '1'),
+('1510', '0', '1510', '1'),
+('1513', '0', '1513', '1'),
+('1535', '0', '1535', '1'),
+('1608', '285', '78', '4'),
+('1671', '72', '72', '2'),
+('1672', '1671', '72', '3'),
+('1714', '0', '1714', '1'),
+('1715', '0', '1715', '1'),
+('1735', '99', '99', '2'),
+('1752', '0', '1752', '1'),
+('1757', '1752', '1752', '2'),
+('1758', '1757', '1752', '3'),
+('1759', '1758', '1752', '4'),
+('1760', '1759', '1752', '5'),
+('1766', '0', '1766', '1'),
+('1767', '1766', '1766', '2'),
+('1768', '1767', '1766', '3'),
+('1769', '1768', '1766', '4'),
+('1776', '0', '1776', '1'),
+('1777', '1776', '1776', '2'),
+('1784', '0', '1784', '1'),
+('1785', '1784', '1784', '2'),
+('1786', '1785', '1784', '3'),
+('1787', '1786', '1784', '4'),
+('1822', '0', '1822', '1'),
+('1823', '1822', '1822', '2'),
+('1824', '1823', '1822', '3'),
+('1850', '0', '1850', '1'),
+('1856', '0', '1856', '1'),
+('1857', '1856', '1856', '2'),
+('1943', '0', '1943', '1'),
+('1949', '0', '1949', '1'),
+('1966', '0', '1966', '1'),
+('1978', '0', '1978', '1'),
+('2006', '0', '2006', '1'),
+('2008', '0', '2008', '1'),
+('2010', '2006', '2006', '2'),
+('2048', '25289', '6673', '8'),
+('2050', '0', '2050', '1'),
+('2052', '2050', '2050', '2'),
+('2053', '2052', '2050', '3'),
+('2054', '0', '2054', '1'),
+('2055', '2054', '2054', '2'),
+('2060', '0', '2060', '1'),
+('2061', '0', '2061', '1'),
+('2062', '0', '2062', '1'),
+('2070', '6770', '6770', '2'),
+('2090', '1430', '774', '4'),
+('2091', '2090', '774', '5'),
+('2096', '0', '2096', '1'),
+('2098', '0', '2098', '1'),
+('2120', '0', '2120', '1'),
+('2121', '2120', '2120', '2'),
+('2136', '0', '2136', '1'),
+('2137', '2136', '2136', '2'),
+('2138', '2137', '2136', '3'),
+('2362', '0', '2362', '1'),
+('2589', '53', '53', '2'),
+('2590', '2589', '53', '3'),
+('2591', '2590', '53', '4'),
+('2637', '0', '2637', '1'),
+('2643', '0', '2643', '1'),
+('2651', '0', '2651', '1'),
+('2652', '0', '2652', '1'),
+('2767', '992', '589', '5'),
+('2791', '1245', '1243', '4'),
+('2800', '633', '633', '2'),
+('2812', '0', '2812', '1'),
+('2825', '0', '2825', '1'),
+('2835', '0', '2835', '1'),
+('2837', '2835', '2835', '2'),
+('2860', '930', '421', '3'),
+('2878', '0', '2878', '1'),
+('2894', '0', '2894', '1'),
+('2908', '0', '2908', '1'),
+('2912', '0', '2912', '1'),
+('2941', '1094', '348', '4'),
+('2944', '0', '2944', '1'),
+('2948', '0', '2948', '1'),
+('2973', '0', '2973', '1'),
+('2974', '0', '2974', '1'),
+('2983', '0', '2983', '1'),
+('3029', '1082', '1082', '2'),
+('3034', '0', '3034', '1'),
+('3044', '0', '3044', '1'),
+('3111', '136', '136', '2'),
+('3140', '145', '133', '4'),
+('3420', '0', '3420', '1'),
+('3421', '3420', '3420', '2'),
+('3472', '1042', '635', '6'),
+('3599', '0', '3599', '1'),
+('3627', '2091', '774', '6'),
+('3661', '3111', '136', '3'),
+('3662', '3661', '136', '4'),
+('3698', '755', '755', '2'),
+('3699', '3698', '755', '3'),
+('3700', '3699', '755', '4'),
+('3738', '0', '3738', '1'),
+('3747', '600', '17', '4'),
+('5138', '0', '5138', '1'),
+('5143', '0', '5143', '1'),
+('5144', '5143', '5143', '2'),
+('5145', '5144', '5143', '3'),
+('5159', '1062', '339', '3'),
+('5171', '0', '5171', '1'),
+('5176', '0', '5176', '1'),
+('5177', '5176', '5176', '2'),
+('5178', '5177', '5176', '3'),
+('5179', '5178', '5176', '4'),
+('5180', '5179', '5176', '5'),
+('5185', '0', '5185', '1'),
+('5186', '5185', '5185', '2'),
+('5187', '5186', '5185', '3'),
+('5188', '5187', '5185', '4'),
+('5189', '5188', '5185', '5'),
+('5196', '5159', '339', '4'),
+('5201', '3029', '1082', '3'),
+('5211', '0', '5211', '1'),
+('5215', '0', '5215', '1'),
+('5217', '0', '5217', '1'),
+('5221', '0', '5221', '1'),
+('5232', '1126', '1126', '2'),
+('5234', '6756', '1126', '4'),
+('5242', '6673', '6673', '2'),
+('5277', '0', '5277', '1'),
+('5308', '0', '5308', '1'),
+('5394', '0', '5394', '1'),
+('5484', '0', '5484', '1'),
+('5504', '0', '5504', '1'),
+('5505', '5504', '5504', '2'),
+('5506', '5505', '5504', '3'),
+('5570', '0', '5570', '1'),
+('5573', '498', '498', '2'),
+('5588', '853', '853', '2'),
+('5589', '5588', '853', '3'),
+('5599', '1022', '1022', '2'),
+('5614', '879', '879', '2'),
+('5615', '5614', '879', '3'),
+('5627', '2878', '2878', '2'),
+('5675', '0', '5675', '1'),
+('5676', '0', '5676', '1'),
+('5699', '6202', '6201', '3'),
+('5730', '0', '5730', '1'),
+('5740', '0', '5740', '1'),
+('5763', '0', '5763', '1'),
+('5782', '0', '5782', '1'),
+('5938', '0', '5938', '1'),
+('6041', '943', '403', '6'),
+('6060', '1004', '585', '6'),
+('6063', '2055', '2054', '3'),
+('6064', '6063', '2054', '4'),
+('6065', '3747', '17', '5'),
+('6066', '6065', '17', '6'),
+('6074', '139', '139', '2'),
+('6075', '6074', '139', '3'),
+('6076', '6075', '139', '4'),
+('6077', '6076', '139', '5'),
+('6078', '6077', '139', '6'),
+('6117', '0', '6117', '1'),
+('6127', '5506', '5504', '4'),
+('6129', '990', '587', '4'),
+('6131', '865', '122', '3'),
+('6141', '10', '10', '2'),
+('6143', '0', '6143', '1'),
+('6178', '100', '100', '2'),
+('6190', '1160', '1160', '2'),
+('6192', '5242', '6673', '3'),
+('6201', '0', '6201', '1'),
+('6202', '6201', '6201', '2'),
+('6205', '1108', '702', '3'),
+('6213', '5782', '5782', '2'),
+('6215', '6213', '5782', '3'),
+('6217', '1014', '980', '3'),
+('6219', '5740', '5740', '2'),
+('6222', '172', '172', '2'),
+('6223', '6222', '172', '3'),
+('6226', '5138', '5138', '2'),
+('6229', '0', '6229', '1'),
+('6343', '0', '6343', '1'),
+('6353', '0', '6353', '1'),
+('6363', '3599', '3599', '2'),
+('6364', '6363', '3599', '3'),
+('6365', '6364', '3599', '4'),
+('6366', '0', '6366', '1'),
+('6375', '5394', '5394', '2'),
+('6377', '6375', '5394', '3'),
+('6390', '5730', '5730', '2'),
+('6391', '6390', '5730', '3'),
+('6392', '6391', '5730', '4'),
+('6542', '0', '6542', '1'),
+('6546', '772', '772', '2'),
+('6547', '6546', '772', '3'),
+('6548', '6547', '772', '4'),
+('6552', '0', '6552', '1'),
+('6554', '6552', '6552', '2'),
+('6572', '0', '6572', '1'),
+('6574', '6572', '6572', '2'),
+('6673', '0', '6673', '1'),
+('6756', '5232', '1126', '3'),
+('6760', '2098', '2098', '2'),
+('6761', '6760', '2098', '3'),
+('6762', '6761', '2098', '4'),
+('6768', '1966', '1966', '2'),
+('6770', '0', '6770', '1'),
+('6774', '5171', '5171', '2'),
+('6778', '5189', '5185', '6'),
+('6780', '5180', '5176', '6'),
+('6783', '5215', '5215', '2'),
+('6785', '0', '6785', '1'),
+('6787', '6785', '6785', '2'),
+('6789', '0', '6789', '1'),
+('6793', '5217', '5217', '2'),
+('6798', '5211', '5211', '2'),
+('6800', '5221', '5221', '2'),
+('6807', '0', '6807', '1'),
+('6808', '6807', '6807', '2'),
+('6809', '6808', '6807', '3'),
+('6940', '0', '6940', '1'),
+('7128', '588', '588', '2'),
+('7294', '0', '7294', '1'),
+('7300', '168', '168', '2'),
+('7301', '7300', '168', '3'),
+('7302', '0', '7302', '1'),
+('7320', '7302', '7302', '2'),
+('7322', '837', '116', '4'),
+('7328', '0', '7328', '1'),
+('7369', '845', '845', '2'),
+('7372', '1715', '1715', '2'),
+('7373', '7372', '1715', '3'),
+('7379', '6574', '6572', '3'),
+('7384', '0', '7384', '1'),
+('7386', '0', '7386', '1'),
+('7400', '694', '694', '2'),
+('7402', '7400', '694', '3'),
+('7405', '7386', '7386', '2'),
+('7641', '1106', '686', '6'),
+('7646', '6205', '702', '4'),
+('7648', '6223', '172', '4'),
+('7651', '709', '689', '4'),
+('7658', '704', '704', '2'),
+('7659', '7658', '704', '3'),
+('7887', '7384', '7384', '2'),
+('8004', '0', '8004', '1'),
+('8005', '959', '331', '7'),
+('8008', '8004', '8004', '2'),
+('8010', '8008', '8004', '3'),
+('8012', '370', '370', '2'),
+('8017', '0', '8017', '1'),
+('8018', '8017', '8017', '2'),
+('8019', '8018', '8017', '3'),
+('8024', '0', '8024', '1'),
+('8027', '8024', '8024', '2'),
+('8030', '8027', '8024', '3'),
+('8033', '0', '8033', '1'),
+('8038', '8033', '8033', '2'),
+('8042', '0', '8042', '1'),
+('8044', '8042', '8042', '2'),
+('8045', '8044', '8042', '3'),
+('8046', '8045', '8042', '4'),
+('8050', '0', '8050', '1'),
+('8052', '8050', '8050', '2'),
+('8053', '8052', '8050', '3'),
+('8056', '0', '8056', '1'),
+('8058', '8056', '8056', '2'),
+('8071', '0', '8071', '1'),
+('8075', '0', '8075', '1'),
+('8092', '0', '8092', '1'),
+('8102', '8092', '8092', '2'),
+('8103', '8102', '8092', '3'),
+('8104', '8103', '8092', '4'),
+('8105', '8104', '8092', '5'),
+('8106', '8105', '8092', '6'),
+('8122', '0', '8122', '1'),
+('8124', '8122', '8122', '2'),
+('8129', '0', '8129', '1'),
+('8131', '8129', '8129', '2'),
+('8134', '945', '324', '5'),
+('8154', '8071', '8071', '2'),
+('8155', '8154', '8071', '3'),
+('8160', '8075', '8075', '2'),
+('8161', '8160', '8075', '3'),
+('8181', '0', '8181', '1'),
+('8184', '0', '8184', '1'),
+('8190', '0', '8190', '1'),
+('8192', '453', '453', '2'),
+('8198', '6343', '6343', '2'),
+('8204', '8198', '6343', '3'),
+('8205', '8204', '6343', '4'),
+('8227', '0', '8227', '1'),
+('8232', '0', '8232', '1'),
+('8235', '8232', '8232', '2'),
+('8249', '8227', '8227', '2'),
+('8288', '1120', '1120', '2'),
+('8289', '8288', '1120', '3'),
+('8380', '7405', '7386', '3'),
+('8400', '3140', '133', '5'),
+('8401', '8400', '133', '6'),
+('8402', '8401', '133', '7'),
+('8406', '7322', '116', '5'),
+('8407', '8406', '116', '6'),
+('8408', '8407', '116', '7'),
+('8412', '2138', '2136', '4'),
+('8413', '8412', '2136', '5'),
+('8416', '5145', '5143', '4'),
+('8417', '8416', '5143', '5'),
+('8422', '2121', '2120', '3'),
+('8423', '8422', '2120', '4'),
+('8427', '6141', '10', '3'),
+('8437', '1449', '1449', '2'),
+('8438', '8437', '1449', '3'),
+('8439', '8438', '1449', '4'),
+('8444', '2948', '2948', '2'),
+('8445', '8444', '2948', '3'),
+('8446', '8445', '2948', '4'),
+('8450', '604', '604', '2'),
+('8451', '8450', '604', '3'),
+('8455', '1008', '1008', '2'),
+('8457', '543', '543', '2'),
+('8458', '8457', '543', '3'),
+('8461', '6143', '6143', '2'),
+('8462', '8461', '6143', '3'),
+('8492', '120', '120', '2'),
+('8494', '1463', '1463', '2'),
+('8495', '8494', '1463', '3'),
+('8498', '1535', '1535', '2'),
+('8499', '8498', '1535', '3'),
+('8512', '0', '8512', '1'),
+('8621', '1760', '1752', '6'),
+('8623', '6762', '2098', '5'),
+('8624', '8623', '2098', '6'),
+('8629', '1777', '1776', '3'),
+('8631', '703', '703', '2'),
+('8632', '8631', '703', '3'),
+('8633', '8632', '703', '4'),
+('8637', '6768', '1966', '3'),
+('8639', '1943', '1943', '2'),
+('8640', '8639', '1943', '3'),
+('8643', '408', '408', '2'),
+('8647', '0', '8647', '1'),
+('8649', '8647', '8647', '2'),
+('8650', '8649', '8647', '3'),
+('8676', '0', '8676', '1'),
+('8681', '0', '8681', '1'),
+('8687', '8681', '8681', '2'),
+('8691', '8687', '8681', '3'),
+('8694', '5763', '5763', '2'),
+('8696', '2983', '2983', '2'),
+('8721', '2591', '53', '5'),
+('8724', '8676', '8676', '2'),
+('8725', '8724', '8676', '3'),
+('8820', '1464', '1464', '2'),
+('8835', '0', '8835', '1'),
+('8903', '6778', '5185', '7'),
+('8905', '6780', '5176', '7'),
+('8907', '5234', '1126', '5'),
+('8910', '3627', '774', '7'),
+('8914', '1075', '467', '4'),
+('8918', '740', '740', '2'),
+('8921', '0', '8921', '1'),
+('8924', '8921', '8921', '2'),
+('8925', '8924', '8921', '3'),
+('8926', '8925', '8921', '4'),
+('8927', '8926', '8921', '5'),
+('8928', '8927', '8921', '6'),
+('8929', '8928', '8921', '7'),
+('8936', '0', '8936', '1'),
+('8938', '8936', '8936', '2'),
+('8939', '8938', '8936', '3'),
+('8940', '8939', '8936', '4'),
+('8941', '8940', '8936', '5'),
+('8949', '2912', '2912', '2'),
+('8950', '8949', '2912', '3'),
+('8951', '8950', '2912', '4'),
+('8955', '2908', '2908', '2'),
+('8972', '6809', '6807', '4'),
+('8983', '6798', '5211', '3'),
+('8992', '6800', '5221', '3'),
+('8998', '0', '8998', '1'),
+('9000', '8998', '8998', '2'),
+('9005', '0', '9005', '1'),
+('9035', '0', '9035', '1'),
+('9472', '2061', '2061', '2'),
+('9473', '9472', '2061', '3'),
+('9474', '9473', '2061', '4'),
+('9484', '0', '9484', '1'),
+('9485', '9484', '9484', '2'),
+('9490', '1735', '99', '3'),
+('9492', '1079', '1079', '2'),
+('9493', '9492', '1079', '3'),
+('9578', '586', '586', '2'),
+('9579', '9578', '586', '3'),
+('9592', '9579', '586', '4'),
+('9745', '8972', '6807', '5'),
+('9747', '9490', '99', '4'),
+('9749', '778', '770', '3'),
+('9750', '8941', '8936', '6'),
+('9752', '9493', '1079', '4'),
+('9754', '769', '779', '4'),
+('9756', '8914', '467', '5'),
+('9758', '8903', '5185', '8'),
+('9821', '1850', '1850', '2'),
+('9823', '9005', '9005', '2'),
+('9827', '9823', '9005', '3'),
+('9829', '8992', '5221', '4'),
+('9830', '9829', '5221', '5'),
+('9833', '8929', '8921', '8'),
+('9834', '9833', '8921', '9'),
+('9835', '9834', '8921', '10'),
+('9839', '8910', '774', '8'),
+('9840', '9839', '774', '9'),
+('9841', '9840', '774', '10'),
+('9845', '6793', '5217', '3'),
+('9846', '9845', '5217', '4'),
+('9849', '5201', '1082', '4'),
+('9850', '9849', '1082', '5'),
+('9852', '5196', '339', '5'),
+('9853', '9852', '339', '6'),
+('9856', '9750', '8936', '7'),
+('9857', '9856', '8936', '8'),
+('9858', '9857', '8936', '9'),
+('9862', '8918', '740', '3'),
+('9863', '9862', '740', '4'),
+('9866', '6787', '6785', '3'),
+('9867', '9866', '6785', '4'),
+('9875', '8951', '2912', '5'),
+('9876', '9875', '2912', '6'),
+('9880', '9745', '6807', '6'),
+('9881', '9880', '6807', '7'),
+('9884', '8907', '1126', '6'),
+('9885', '9884', '1126', '7'),
+('9888', '9758', '5185', '9'),
+('9889', '9888', '5185', '10'),
+('9892', '9000', '8998', '3'),
+('9894', '9752', '1079', '5'),
+('9896', '9894', '1079', '6'),
+('9898', '9747', '99', '5'),
+('9901', '8955', '2908', '3'),
+('9904', '1824', '1822', '4'),
+('9907', '9749', '770', '4'),
+('9908', '9754', '779', '5'),
+('9910', '9756', '467', '6'),
+('9912', '8905', '5176', '8'),
+('9913', '6783', '5215', '3'),
+('10138', '6127', '5504', '5'),
+('10139', '10138', '5504', '6'),
+('10140', '10139', '5504', '7'),
+('10144', '6129', '587', '5'),
+('10145', '10144', '587', '6'),
+('10148', '8402', '133', '8'),
+('10149', '10148', '133', '9'),
+('10150', '10149', '133', '10'),
+('10151', '10150', '133', '11'),
+('10156', '1461', '1459', '4'),
+('10157', '10156', '1459', '5'),
+('10159', '8492', '120', '3'),
+('10160', '10159', '120', '4'),
+('10161', '10160', '120', '5'),
+('10169', '8455', '1008', '3'),
+('10170', '10169', '1008', '4'),
+('10173', '8451', '604', '4'),
+('10174', '10173', '604', '5'),
+('10177', '8462', '6143', '4'),
+('10179', '8408', '116', '8'),
+('10180', '10179', '116', '9'),
+('10181', '10180', '116', '10'),
+('10185', '8427', '10', '4'),
+('10186', '10185', '10', '5'),
+('10187', '10186', '10', '6'),
+('10191', '8495', '1463', '4'),
+('10192', '10191', '1463', '5'),
+('10193', '10192', '1463', '6'),
+('10197', '8413', '2136', '6'),
+('10199', '10197', '2136', '7'),
+('10201', '8439', '1449', '5'),
+('10202', '10201', '1449', '6'),
+('10205', '8446', '2948', '5'),
+('10206', '10205', '2948', '6'),
+('10207', '10206', '2948', '7'),
+('10211', '8417', '5143', '6'),
+('10212', '10211', '5143', '7'),
+('10215', '8423', '2120', '5'),
+('10216', '10215', '2120', '6'),
+('10219', '7320', '7302', '3'),
+('10220', '10219', '7302', '4'),
+('10223', '8458', '543', '4'),
+('10225', '10223', '543', '5'),
+('10230', '6131', '122', '4'),
+('10278', '5599', '1022', '3'),
+('10290', '465', '465', '2'),
+('10291', '643', '465', '4'),
+('10292', '1032', '465', '6'),
+('10293', '10292', '465', '7'),
+('10298', '7294', '7294', '2'),
+('10299', '10298', '7294', '3'),
+('10300', '10299', '7294', '4'),
+('10301', '10300', '7294', '5'),
+('10308', '5589', '853', '4'),
+('10310', '2800', '633', '3'),
+('10312', '5615', '879', '4'),
+('10313', '10312', '879', '5'),
+('10314', '10313', '879', '6'),
+('10318', '2812', '2812', '2'),
+('10322', '7328', '7328', '2'),
+('10324', '10322', '7328', '3'),
+('10326', '5627', '2878', '3'),
+('10328', '3472', '635', '7'),
+('10329', '10328', '635', '8'),
+('10391', '6041', '403', '7'),
+('10392', '10391', '403', '8'),
+('10395', '8005', '331', '8'),
+('10396', '10395', '331', '9'),
+('10399', '8019', '8017', '4'),
+('10406', '8155', '8071', '4'),
+('10407', '10406', '8071', '5'),
+('10408', '10407', '8071', '6'),
+('10412', '8046', '8042', '5'),
+('10413', '10412', '8042', '6'),
+('10414', '10413', '8042', '7'),
+('10427', '6392', '5730', '5'),
+('10428', '10427', '5730', '6'),
+('10431', '8134', '324', '6'),
+('10432', '10431', '324', '7'),
+('10437', '6365', '3599', '5'),
+('10438', '10437', '3599', '6'),
+('10442', '8161', '8075', '4'),
+('10447', '8053', '8050', '4'),
+('10448', '10447', '8050', '5'),
+('10456', '8038', '8033', '3'),
+('10462', '6377', '5394', '4'),
+('10463', '10462', '5394', '5'),
+('10466', '8010', '8004', '4'),
+('10467', '10466', '8004', '5'),
+('10468', '10467', '8004', '6'),
+('10472', '8058', '8056', '3'),
+('10473', '10472', '8056', '4'),
+('10478', '8181', '8181', '2'),
+('10479', '10478', '8181', '3'),
+('10486', '8235', '8232', '3'),
+('10495', '5675', '5675', '2'),
+('10496', '10495', '5675', '3'),
+('10497', '10496', '5675', '4'),
+('10526', '8249', '8227', '3'),
+('10537', '8184', '8184', '2'),
+('10538', '10537', '8184', '3'),
+('10585', '8190', '8190', '2'),
+('10586', '10585', '8190', '3'),
+('10587', '10586', '8190', '4'),
+('10595', '0', '10595', '1'),
+('10600', '10595', '10595', '2'),
+('10601', '10600', '10595', '3'),
+('10605', '2860', '421', '4'),
+('10613', '8512', '8512', '2'),
+('10614', '10613', '8512', '3'),
+('10622', '1064', '1064', '2'),
+('10623', '10622', '1064', '3'),
+('10627', '8835', '8835', '2'),
+('10797', '0', '10797', '1'),
+('10874', '8131', '8129', '3'),
+('10875', '10874', '8129', '4'),
+('10876', '10875', '8129', '5'),
+('10880', '2010', '2006', '3'),
+('10881', '10880', '2006', '4'),
+('10888', '8124', '8122', '3'),
+('10890', '10888', '8122', '4'),
+('10892', '2767', '589', '6'),
+('10893', '10892', '589', '7'),
+('10894', '10893', '589', '8'),
+('10898', '6066', '17', '7'),
+('10899', '10898', '17', '8'),
+('10900', '10899', '17', '9'),
+('10901', '10900', '17', '10'),
+('10909', '2096', '2096', '2'),
+('10911', '605', '605', '2'),
+('10912', '10911', '605', '3'),
+('10915', '9474', '2061', '5'),
+('10916', '10915', '2061', '6'),
+('10917', '10916', '2061', '7'),
+('10927', '6078', '139', '7'),
+('10928', '10927', '139', '8'),
+('10929', '10928', '139', '9'),
+('10933', '6060', '585', '7'),
+('10934', '10933', '585', '8'),
+('10937', '2791', '1243', '5'),
+('10938', '10937', '1243', '6'),
+('10941', '9592', '586', '5'),
+('10942', '10941', '586', '6'),
+('10945', '8106', '8092', '7'),
+('10946', '10945', '8092', '8'),
+('10947', '10946', '8092', '9'),
+('10951', '1006', '588', '5'),
+('10952', '10951', '588', '6'),
+('10953', '8192', '453', '3'),
+('10955', '9485', '9484', '3'),
+('10957', '976', '976', '2'),
+('10958', '10957', '976', '3'),
+('10960', '996', '596', '3'),
+('10961', '10960', '596', '4'),
+('10963', '2060', '2060', '2'),
+('10964', '10963', '2060', '3'),
+('10965', '10964', '2060', '4'),
+('11113', '0', '11113', '1'),
+('11197', '8650', '8647', '4'),
+('11198', '11197', '8647', '5'),
+('11267', '8725', '8676', '4'),
+('11268', '11267', '8676', '5'),
+('11269', '11268', '8676', '6'),
+('11273', '8640', '1943', '4'),
+('11274', '11273', '1943', '5'),
+('11275', '11274', '1943', '6'),
+('11279', '8721', '53', '6'),
+('11280', '11279', '53', '7'),
+('11281', '11280', '53', '8'),
+('11285', '8629', '1776', '4'),
+('11286', '11285', '1776', '5'),
+('11289', '8633', '703', '5'),
+('11290', '11289', '703', '6'),
+('11293', '8621', '1752', '7'),
+('11294', '11293', '1752', '8'),
+('11297', '2070', '6770', '3'),
+('11299', '8624', '2098', '7'),
+('11300', '11299', '2098', '8'),
+('11303', '8637', '1966', '4'),
+('11305', '8696', '2983', '3'),
+('11314', '8499', '1535', '4'),
+('11315', '11314', '1535', '5'),
+('11341', '8691', '8681', '4'),
+('11342', '11341', '8681', '5'),
+('11343', '11342', '8681', '6'),
+('11357', '2837', '2835', '3'),
+('11358', '11357', '2835', '4'),
+('11366', '0', '11366', '1'),
+('11400', '8694', '5763', '3'),
+('11426', '0', '11426', '1'),
+('11549', '6192', '6673', '4'),
+('11550', '11549', '6673', '5'),
+('11551', '11550', '6673', '6'),
+('11554', '6190', '1160', '3'),
+('11555', '11554', '1160', '4'),
+('11556', '11555', '1160', '5'),
+('11564', '1608', '78', '5'),
+('11565', '11564', '78', '6'),
+('11566', '11565', '78', '7'),
+('11567', '11566', '78', '8'),
+('11572', '6548', '772', '5'),
+('11573', '11572', '772', '6'),
+('11574', '11573', '772', '7'),
+('11578', '6178', '100', '3'),
+('11580', '8205', '6343', '5'),
+('11581', '11580', '6343', '6'),
+('11584', '7887', '7384', '3'),
+('11585', '11584', '7384', '4'),
+('11596', '8380', '7386', '4'),
+('11597', '11596', '7386', '5'),
+('11600', '7379', '6572', '4'),
+('11601', '11600', '6572', '5'),
+('11604', '8820', '1464', '3'),
+('11605', '11604', '1464', '4'),
+('11608', '7369', '845', '3'),
+('11609', '11608', '845', '4'),
+('11659', '7641', '686', '7'),
+('11660', '11659', '686', '8'),
+('11661', '11660', '686', '9'),
+('11665', '2941', '348', '5'),
+('11667', '11665', '348', '6'),
+('11668', '11667', '348', '7'),
+('11671', '7648', '172', '5'),
+('11672', '11671', '172', '6'),
+('11675', '8289', '1120', '4'),
+('11677', '6219', '5740', '3'),
+('11678', '11677', '5740', '4'),
+('11683', '1949', '1949', '2'),
+('11684', '11683', '1949', '3'),
+('11687', '1456', '1454', '4'),
+('11688', '11687', '1454', '5'),
+('11689', '11688', '1454', '6'),
+('11693', '3700', '755', '5'),
+('11694', '11693', '755', '6'),
+('11695', '11694', '755', '7'),
+('11699', '7651', '689', '5'),
+('11700', '11699', '689', '6'),
+('11703', '6226', '5138', '3'),
+('11704', '11703', '5138', '4'),
+('11707', '7646', '702', '5'),
+('11708', '11707', '702', '6'),
+('11711', '6217', '980', '4'),
+('11712', '11711', '980', '5'),
+('11713', '11712', '980', '6'),
+('11717', '7659', '704', '4'),
+('11719', '1714', '1714', '2'),
+('11721', '1490', '1490', '2'),
+('11722', '11721', '1490', '3'),
+('11725', '1098', '1098', '2'),
+('11726', '11725', '1098', '3'),
+('11729', '5699', '6201', '4'),
+('11730', '11729', '6201', '5'),
+('11733', '1086', '706', '3'),
+('11734', '11733', '706', '4'),
+('11735', '11734', '706', '5'),
+('11739', '6229', '6229', '2'),
+('11740', '11739', '6229', '3'),
+('12294', '0', '12294', '1'),
+('12505', '11366', '11366', '2'),
+('12522', '12505', '11366', '3'),
+('12523', '12522', '11366', '4'),
+('12524', '12523', '11366', '5'),
+('12525', '12524', '11366', '6'),
+('12526', '12525', '11366', '7'),
+('12824', '118', '118', '2'),
+('12825', '12824', '118', '3'),
+('12826', '12825', '118', '4'),
+('13018', '11113', '11113', '2'),
+('13019', '13018', '11113', '3'),
+('13020', '13019', '11113', '4'),
+('13021', '13020', '11113', '5'),
+('13031', '11426', '11426', '2'),
+('13032', '13031', '11426', '3'),
+('13033', '13032', '11426', '4'),
+('13165', '0', '13165', '1'),
+('13220', '0', '13220', '1'),
+('13228', '13220', '13220', '2'),
+('13229', '13228', '13220', '3'),
+('13230', '13229', '13220', '4'),
+('13542', '3662', '136', '5'),
+('13543', '13542', '136', '6'),
+('13544', '13543', '136', '7'),
+('13549', '1978', '1978', '2'),
+('13550', '13549', '1978', '3'),
+('13551', '13550', '1978', '4'),
+('13552', '13551', '1978', '5'),
+('13553', '13552', '1978', '6'),
+('13554', '13553', '1978', '7'),
+('13555', '13554', '1978', '8'),
+('13795', '0', '13795', '1'),
+('13813', '0', '13813', '1'),
+('13896', '0', '13896', '1'),
+('13908', '0', '13908', '1'),
+('14260', '2973', '2973', '2'),
+('14261', '14260', '2973', '3'),
+('14262', '14261', '2973', '4'),
+('14263', '14262', '2973', '5'),
+('14264', '14263', '2973', '6'),
+('14265', '14264', '2973', '7'),
+('14266', '14265', '2973', '8'),
+('14267', '2974', '2974', '2'),
+('14268', '14267', '2974', '3'),
+('14269', '1495', '1495', '2'),
+('14270', '14269', '1495', '3'),
+('14271', '14270', '1495', '4'),
+('14272', '781', '781', '2'),
+('14273', '14272', '781', '3'),
+('14274', '20736', '20736', '2'),
+('14279', '3034', '3034', '2'),
+('14280', '14279', '3034', '3'),
+('14281', '3044', '3044', '2'),
+('14282', '14281', '3044', '3'),
+('14283', '14282', '3044', '4'),
+('14284', '14283', '3044', '5'),
+('14285', '14284', '3044', '6'),
+('14286', '14285', '3044', '7'),
+('14287', '14286', '3044', '8'),
+('14288', '2643', '2643', '2'),
+('14289', '14288', '2643', '3'),
+('14290', '14289', '2643', '4'),
+('14294', '1510', '1510', '2'),
+('14295', '14294', '1510', '3'),
+('14302', '13795', '13795', '2'),
+('14303', '14302', '13795', '3'),
+('14304', '14303', '13795', '4'),
+('14305', '14304', '13795', '5'),
+('14310', '1499', '1499', '2'),
+('14311', '14310', '1499', '3'),
+('14316', '13813', '13813', '2'),
+('14317', '14316', '13813', '3'),
+('14318', '13165', '13165', '2'),
+('14319', '14318', '13165', '3'),
+('14320', '14319', '13165', '4'),
+('14321', '14320', '13165', '5'),
+('14322', '14321', '13165', '6'),
+('14323', '1130', '1130', '2'),
+('14324', '14323', '1130', '3'),
+('14325', '14324', '1130', '4'),
+('14326', '1513', '1513', '2'),
+('14327', '14326', '1513', '3'),
+('14752', '0', '14752', '1'),
+('14818', '14752', '14752', '2'),
+('14819', '14818', '14752', '3'),
+('14914', '0', '14914', '1'),
+('15107', '0', '15107', '1'),
+('15111', '15107', '15107', '2'),
+('15112', '15111', '15107', '3'),
+('15207', '10392', '403', '9'),
+('15208', '15207', '403', '10'),
+('15237', '0', '15237', '1'),
+('15261', '15267', '14914', '8'),
+('15262', '14914', '14914', '2'),
+('15263', '15262', '14914', '3'),
+('15264', '15263', '14914', '4'),
+('15265', '15264', '14914', '5'),
+('15266', '15265', '14914', '6'),
+('15267', '15266', '14914', '7'),
+('15407', '0', '15407', '1'),
+('15430', '15237', '15237', '2'),
+('15431', '15430', '15237', '3'),
+('15629', '14274', '20736', '3'),
+('15630', '15629', '20736', '4'),
+('15631', '15630', '20736', '5'),
+('15632', '15631', '20736', '6'),
+('16314', '10399', '8017', '5'),
+('16315', '16314', '8017', '6'),
+('16316', '16315', '8017', '7'),
+('16339', '8030', '8024', '4'),
+('16341', '16339', '8024', '5'),
+('16342', '16341', '8024', '6'),
+('16355', '10456', '8033', '4'),
+('16356', '16355', '8033', '5'),
+('16362', '10486', '8232', '4'),
+('16387', '10526', '8227', '4'),
+('16511', '0', '16511', '1'),
+('16689', '0', '16689', '1'),
+('16810', '16689', '16689', '2'),
+('16811', '16810', '16689', '3'),
+('16812', '16811', '16689', '4'),
+('16813', '16812', '16689', '5'),
+('16857', '0', '16857', '1'),
+('16914', '0', '16914', '1'),
+('17311', '15407', '15407', '2'),
+('17312', '17311', '15407', '3'),
+('17313', '17312', '15407', '4'),
+('17314', '17313', '15407', '5'),
+('17329', '16813', '16689', '6'),
+('17347', '16511', '16511', '2'),
+('17348', '17347', '16511', '3'),
+('17390', '16857', '16857', '2'),
+('17391', '17390', '16857', '3'),
+('17392', '17391', '16857', '4'),
+('17401', '16914', '16914', '2'),
+('17402', '17401', '16914', '3'),
+('17727', '2362', '2362', '2'),
+('17728', '17727', '2362', '3'),
+('17862', '0', '17862', '1'),
+('17877', '0', '17877', '1'),
+('17919', '5676', '5676', '2'),
+('17920', '17919', '5676', '3'),
+('17921', '17920', '5676', '4'),
+('17922', '17921', '5676', '5'),
+('17923', '17922', '5676', '6'),
+('17924', '6353', '6353', '2'),
+('17925', '6789', '6789', '2'),
+('17926', '17925', '6789', '3'),
+('17928', '5484', '5484', '2'),
+('17937', '17862', '17862', '2'),
+('17951', '6366', '6366', '2'),
+('17952', '17951', '6366', '3'),
+('17953', '17952', '6366', '4'),
+('17962', '0', '17962', '1'),
+('18137', '0', '18137', '1'),
+('18220', '0', '18220', '1'),
+('18265', '0', '18265', '1'),
+('18647', '710', '710', '2'),
+('18657', '2637', '2637', '2'),
+('18658', '18657', '2637', '3'),
+('18807', '17314', '15407', '6'),
+('18809', '12526', '11366', '8'),
+('18867', '17877', '17877', '2'),
+('18868', '18867', '17877', '3'),
+('18869', '18868', '17877', '4'),
+('18870', '18869', '17877', '5'),
+('18871', '18870', '17877', '6'),
+('18879', '18265', '18265', '2'),
+('18880', '18879', '18265', '3'),
+('18881', '18880', '18265', '4'),
+('18930', '17962', '17962', '2'),
+('18931', '18930', '17962', '3'),
+('18932', '18931', '17962', '4'),
+('18937', '18220', '18220', '2'),
+('18938', '18937', '18220', '3'),
+('19236', '13908', '13908', '2'),
+('19238', '19236', '13908', '3'),
+('19240', '19238', '13908', '4'),
+('19241', '19240', '13908', '5'),
+('19242', '19241', '13908', '6'),
+('19243', '19242', '13908', '7'),
+('19261', '2652', '2652', '2'),
+('19262', '19261', '2652', '3'),
+('19264', '19262', '2652', '4'),
+('19265', '19264', '2652', '5'),
+('19266', '19265', '2652', '6'),
+('19271', '13896', '13896', '2'),
+('19273', '19271', '13896', '3'),
+('19274', '19273', '13896', '4'),
+('19275', '19274', '13896', '5'),
+('19276', '2944', '2944', '2'),
+('19277', '19276', '2944', '3'),
+('19278', '19277', '2944', '4'),
+('19279', '19278', '2944', '5'),
+('19280', '19279', '2944', '6'),
+('19281', '9035', '9035', '2'),
+('19282', '19281', '9035', '3'),
+('19283', '19282', '9035', '4'),
+('19284', '19283', '9035', '5'),
+('19285', '19284', '9035', '6'),
+('19289', '2651', '2651', '2'),
+('19291', '19289', '2651', '3'),
+('19292', '19291', '2651', '4'),
+('19293', '19292', '2651', '5'),
+('19296', '10797', '10797', '2'),
+('19299', '19296', '10797', '3'),
+('19302', '19299', '10797', '4'),
+('19303', '19302', '10797', '5'),
+('19304', '19303', '10797', '6'),
+('19305', '19304', '10797', '7'),
+('19306', '0', '19306', '1'),
+('19308', '18137', '18137', '2'),
+('19309', '19308', '18137', '3'),
+('19310', '19309', '18137', '4'),
+('19311', '19310', '18137', '5'),
+('19312', '19311', '18137', '6'),
+('19386', '0', '19386', '1'),
+('19434', '0', '19434', '1'),
+('19506', '0', '19506', '1'),
+('19740', '0', '19740', '1'),
+('19742', '0', '19742', '1'),
+('19750', '0', '19750', '1'),
+('19834', '19740', '19740', '2'),
+('19835', '19834', '19740', '3'),
+('19836', '19835', '19740', '4'),
+('19837', '19836', '19740', '5'),
+('19838', '19837', '19740', '6'),
+('19850', '19742', '19742', '2'),
+('19852', '19850', '19742', '3'),
+('19853', '19852', '19742', '4'),
+('19854', '19853', '19742', '5'),
+('19876', '0', '19876', '1'),
+('19888', '0', '19888', '1'),
+('19891', '0', '19891', '1'),
+('19895', '19876', '19876', '2'),
+('19896', '19895', '19876', '3'),
+('19897', '19888', '19888', '2'),
+('19898', '19897', '19888', '3'),
+('19899', '19891', '19891', '2'),
+('19900', '19899', '19891', '3'),
+('19939', '19750', '19750', '2'),
+('19940', '19939', '19750', '3'),
+('19941', '19940', '19750', '4'),
+('19942', '19941', '19750', '5'),
+('19943', '19942', '19750', '6'),
+('19977', '0', '19977', '1'),
+('19978', '19977', '19977', '2'),
+('19979', '19978', '19977', '3'),
+('20043', '0', '20043', '1'),
+('20116', '26573', '26573', '2'),
+('20162', '21082', '21082', '2'),
+('20164', '0', '20164', '1'),
+('20165', '0', '20165', '1'),
+('20166', '0', '20166', '1'),
+('20190', '20043', '20043', '2'),
+('20243', '0', '20243', '1'),
+('20252', '0', '20252', '1'),
+('20287', '21084', '21084', '2'),
+('20288', '20287', '21084', '3'),
+('20289', '20288', '21084', '4'),
+('20290', '20289', '21084', '5'),
+('20291', '20290', '21084', '6'),
+('20292', '20291', '21084', '7'),
+('20293', '20292', '21084', '8'),
+('20305', '20162', '21082', '3'),
+('20306', '20305', '21082', '4'),
+('20307', '20306', '21082', '5'),
+('20308', '20307', '21082', '6'),
+('20347', '20165', '20165', '2'),
+('20348', '20347', '20165', '3'),
+('20349', '20348', '20165', '4'),
+('20356', '20166', '20166', '2'),
+('20357', '20356', '20166', '3'),
+('20375', '0', '20375', '1'),
+('20473', '0', '20473', '1'),
+('20484', '0', '20484', '1'),
+('20559', '7402', '694', '4'),
+('20560', '20559', '694', '5'),
+('20569', '11609', '845', '5'),
+('20609', '2008', '2008', '2'),
+('20610', '20609', '2008', '3'),
+('20616', '20252', '20252', '2'),
+('20617', '20616', '20252', '3'),
+('20658', '5308', '5308', '2'),
+('20660', '20658', '5308', '3'),
+('20661', '20660', '5308', '4'),
+('20662', '20661', '5308', '5'),
+('20729', '6940', '6940', '2'),
+('20736', '0', '20736', '1'),
+('20739', '20484', '20484', '2'),
+('20742', '20739', '20484', '3'),
+('20747', '20742', '20484', '4'),
+('20748', '20747', '20484', '5'),
+('20752', '693', '693', '2'),
+('20755', '20752', '693', '3'),
+('20756', '20755', '693', '4'),
+('20757', '20756', '693', '5'),
+('20770', '10881', '2006', '5'),
+('20772', '10324', '7328', '4'),
+('20773', '20772', '7328', '5'),
+('20776', '20610', '2008', '4'),
+('20777', '20776', '2008', '5'),
+('20900', '19434', '19434', '2'),
+('20901', '20900', '19434', '3'),
+('20902', '20901', '19434', '4'),
+('20903', '20902', '19434', '5'),
+('20904', '20903', '19434', '6'),
+('20905', '19506', '19506', '2'),
+('20906', '20905', '19506', '3'),
+('20909', '19306', '19306', '2'),
+('20910', '20909', '19306', '3'),
+('20911', '0', '20911', '1'),
+('20912', '20911', '20911', '2'),
+('20913', '20912', '20911', '3'),
+('20914', '20913', '20911', '4'),
+('20915', '20375', '20375', '2'),
+('20918', '20915', '20375', '3'),
+('20919', '20918', '20375', '4'),
+('20920', '20919', '20375', '5'),
+('20922', '20116', '26573', '3'),
+('20923', '20922', '26573', '4'),
+('20924', '20923', '26573', '5'),
+('20925', '0', '20925', '1'),
+('20927', '20925', '20925', '2'),
+('20928', '20927', '20925', '3'),
+('20929', '20473', '20473', '2'),
+('20930', '20929', '20473', '3'),
+('21082', '0', '21082', '1'),
+('21084', '0', '21084', '1'),
+('21551', '12294', '12294', '2'),
+('21552', '21551', '12294', '3'),
+('21553', '21552', '12294', '4'),
+('21562', '0', '21562', '1'),
+('21564', '21562', '21562', '2'),
+('21849', '0', '21849', '1'),
+('21850', '21849', '21849', '2'),
+('22568', '0', '22568', '1'),
+('22782', '6117', '6117', '2'),
+('22783', '22782', '6117', '3'),
+('22827', '22568', '22568', '2'),
+('22828', '22827', '22568', '3'),
+('22829', '22828', '22568', '4'),
+('22842', '0', '22842', '1'),
+('22895', '22842', '22842', '2'),
+('22896', '22895', '22842', '3'),
+('23028', '0', '23028', '1'),
+('23881', '0', '23881', '1'),
+('23892', '23881', '23881', '2'),
+('23893', '23892', '23881', '3'),
+('23894', '23893', '23881', '4'),
+('23922', '0', '23922', '1'),
+('23923', '23922', '23922', '2'),
+('23924', '23923', '23922', '3'),
+('23925', '23924', '23922', '4'),
+('24132', '19386', '19386', '2'),
+('24133', '24132', '19386', '3'),
+('24224', '0', '24224', '1'),
+('24239', '24274', '24275', '3'),
+('24248', '31018', '22568', '6'),
+('24274', '24275', '24275', '2'),
+('24275', '0', '24275', '1'),
+('24398', '0', '24398', '1'),
+('24974', '5570', '5570', '2'),
+('24975', '24974', '5570', '3'),
+('24976', '24975', '5570', '4'),
+('24977', '24976', '5570', '5'),
+('25286', '11567', '78', '9'),
+('25288', '11601', '6572', '6'),
+('25289', '11551', '6673', '7'),
+('25290', '19854', '19742', '6'),
+('25291', '19838', '19740', '7'),
+('25292', '10329', '635', '9'),
+('25294', '14290', '2643', '5'),
+('25295', '13555', '1978', '9'),
+('25296', '14322', '13165', '7'),
+('25297', '9889', '5185', '11'),
+('25298', '9876', '2912', '7'),
+('25299', '9841', '774', '11'),
+('25300', '11281', '53', '9'),
+('25302', '11303', '1966', '5'),
+('25304', '10181', '116', '11'),
+('25306', '10151', '133', '12'),
+('25307', '11661', '686', '10'),
+('25309', '11668', '348', '8'),
+('25311', '11672', '172', '7'),
+('25314', '10965', '2060', '5'),
+('25315', '10929', '139', '10'),
+('25316', '10961', '596', '5'),
+('25345', '10212', '5143', '8'),
+('25347', '11358', '2835', '5'),
+('25357', '10396', '331', '10'),
+('25359', '10627', '8835', '3'),
+('25361', '10442', '8075', '5'),
+('25782', '0', '25782', '1'),
+('25890', '0', '25890', '1'),
+('25894', '0', '25894', '1'),
+('25899', '0', '25899', '1'),
+('25916', '25782', '25782', '2'),
+('25918', '25894', '25894', '2'),
+('26573', '0', '26573', '1'),
+('27681', '0', '27681', '1'),
+('27683', '0', '27683', '1'),
+('27799', '15431', '15237', '4'),
+('27800', '27799', '15237', '5'),
+('27801', '27800', '15237', '6'),
+('27841', '14819', '14752', '4'),
+('27870', '724', '724', '2'),
+('27871', '27870', '724', '3'),
+('28609', '10177', '6143', '5'),
+('28610', '11740', '6229', '4'),
+('28612', '10145', '587', '7'),
+('29228', '10448', '8050', '6'),
+('31016', '11300', '2098', '9'),
+('31018', '22829', '22568', '5');
diff --git a/sql/updates/0.6/2881_spell_chain.sql b/sql/updates/0.6/2881_spell_chain.sql
new file mode 100644
index 00000000000..215708c0ab0
--- /dev/null
+++ b/sql/updates/0.6/2881_spell_chain.sql
@@ -0,0 +1,7 @@
+-- ----------------------------
+-- Records (Proff. spells)
+-- ----------------------------
+INSERT INTO `spell_chain` VALUES
+('10660', '10662', '2108', '5'),
+('10658', '10662', '2108', '5'),
+('10656', '10662', '2108', '5');
diff --git a/sql/updates/0.6/2885_character.sql b/sql/updates/0.6/2885_character.sql
new file mode 100644
index 00000000000..c5e63e73eb9
--- /dev/null
+++ b/sql/updates/0.6/2885_character.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `character`
+ DROP `realm`;
diff --git a/sql/updates/0.6/2912_areatrigger_template.sql b/sql/updates/0.6/2912_areatrigger_template.sql
new file mode 100644
index 00000000000..e28b8638922
--- /dev/null
+++ b/sql/updates/0.6/2912_areatrigger_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `areatrigger_template` ADD `required_level` SMALLINT NOT NULL DEFAULT '0' AFTER `name` ; \ No newline at end of file
diff --git a/sql/updates/0.6/2916_character.sql b/sql/updates/0.6/2916_character.sql
new file mode 100644
index 00000000000..e1b36178bf7
--- /dev/null
+++ b/sql/updates/0.6/2916_character.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `character`
+ ADD `gmstate` tinyint(3) unsigned NOT NULL default '0';
diff --git a/sql/updates/0.6/2938_spell_scripts.sql b/sql/updates/0.6/2938_spell_scripts.sql
new file mode 100644
index 00000000000..d4c376b1c0e
--- /dev/null
+++ b/sql/updates/0.6/2938_spell_scripts.sql
@@ -0,0 +1,13 @@
+DROP TABLE IF EXISTS `spell_scripts`;
+CREATE TABLE `spell_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'
+);
diff --git a/sql/updates/0.6/2940_playercreateinfo_skill.sql b/sql/updates/0.6/2940_playercreateinfo_skill.sql
new file mode 100644
index 00000000000..fc403eede32
--- /dev/null
+++ b/sql/updates/0.6/2940_playercreateinfo_skill.sql
@@ -0,0 +1 @@
+DELETE FROM `playercreateinfo_skill` WHERE `Skill` = 633;
diff --git a/sql/updates/0.6/2958_command.sql b/sql/updates/0.6/2958_command.sql
new file mode 100644
index 00000000000..5ed78bac036
--- /dev/null
+++ b/sql/updates/0.6/2958_command.sql
@@ -0,0 +1,2 @@
+DELETE FROM `command` WHERE `name` = 'lockaccount';
+INSERT INTO command (name, security, help) VALUES ('lockaccount', 0,'Syntax: .lockaccount [on|off]\r\n\r\nAllow login from account only from current used IP or remove this requirement.');
diff --git a/sql/updates/0.6/2958_scripts.sql b/sql/updates/0.6/2958_scripts.sql
new file mode 100644
index 00000000000..c0cf924333b
--- /dev/null
+++ b/sql/updates/0.6/2958_scripts.sql
@@ -0,0 +1,2 @@
+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
new file mode 100644
index 00000000000..2a36c43a93d
--- /dev/null
+++ b/sql/updates/0.6/2958_spell_scripts.sql
@@ -0,0 +1,2 @@
+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
new file mode 100644
index 00000000000..8a4b8fbd464
--- /dev/null
+++ b/sql/updates/0.6/2982_command.sql
@@ -0,0 +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';
diff --git a/sql/updates/0.6/2993_command.sql b/sql/updates/0.6/2993_command.sql
new file mode 100644
index 00000000000..3b184b492c1
--- /dev/null
+++ b/sql/updates/0.6/2993_command.sql
@@ -0,0 +1,20 @@
+delete from command where `name` = 'shuttdown';
+delete from command where `name` = 'cshuttdown';
+delete from command where `name` = 'shutdown';
+delete from command where `name` = 'cshutdown';
+insert into command values('shutdown','3','Syntax: .shutdown seconds');
+insert into command values('cshutdown','3','Syntax: .cshutdown Cancels shuttdown');
+
+UPDATE `command` SET `help` = 'Syntax: .goobject #object_guid\r\nTeleport your character to gameobject with guid #object_guid' WHERE `name` = 'goobject';
+UPDATE `command` SET `help` = 'Syntax: .targetobject [#go_id|#go_name_part]\r\nLocate and show position nearest gameobject. If #go_id or #go_name_part provide then locate and show position of nearest gameobject with gameobject template id #go_id or name included #go_name_part as part.' WHERE `name` = 'targetobject';
+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, .learn all_lang to learn all languages, 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: .taxicheat #flag\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\nUse a #flag of value 1 to add access, use a #flag value of 0 to remove access. Visited taxi nodes sill accessible after removing access.' WHERE `name` = 'taxicheat';
+UPDATE `command` SET `help` = 'Syntax: .visible [0||1]\r\n\r\nOutput current visibility state or make GM visible(1) and invisible(0) for other players.' WHERE `name` = 'visible';
+UPDATE `command` SET `help` = 'Syntax: .moveobject #goguid [#x #y #z]\r\n\r\nMove gameobject #goguid to character coordinates (or to (#x,#y,#z) coordinates if its provide).' WHERE `name` = 'moveobject';
+UPDATE `command` SET `help` = 'Syntax: .playsound #soundid\r\n\r\nPlay sound with #soundid.\r\nSound will be play only for you. Other players do not hear this.\r\nWarning: client may have more 5000 sounds...' WHERE `name` = 'playsound';
+UPDATE `command` SET `help` = 'Syntax:\r\n.reset level\r\n Reset level to 1 including reset stats and talents. Equipped items with greater level requirement can be lost.\r\n.reset spells\r\n Removes all non-original spells from spellbook.\r\n.reset stats\r\n Resets(recalculate) all stats of the targeted player to their original values at current level.\r\n.reset talents\r\n Removes all talents of the targeted player.' WHERE `name` = 'reset';
+UPDATE `command` SET `help` = 'Syntax: .unbanip #ip\r\n\r\nUnban provide IP address.' WHERE `name` = 'unbanip';
+UPDATE `command` SET `help` = 'Syntax: .kick [$charactername]\r\n\r\nKick the given character from the world. If no character name provide then selected player (except self) will be kicked.' WHERE `name` = 'kick';
+UPDATE `command` SET `help` = 'Syntax: .levelup [$playername] [#numberoflevels]\r\n\r\nIncrease/decrease the level of character with $playername (or the selected if not name provided) by #numberoflevels Or +1 if no #numberoflevels provided). If #numberoflevels is omitted, the level will be increase by 1. If #numberoflevels is 0, the same level will be restarted. If no character is selected and name not provided, increase your level. Command can be used for offline character. All stats and dependent values recalculated. At level decrease talents can be reset if need. Also at level decrease equipped items with greater level requirement can be lost.' WHERE `name` = 'levelup';
+UPDATE `command` SET `help` = 'Syntax: .setskill #skill #level [#max]\r\n\r\nSet a skill of id #skill with a current skill value of #level and a maximum value of #max (or equal current maximum if not provide) for the selected character. If no character is selected, you learn the skill.' WHERE `name` = 'setskill';
+UPDATE `command` SET `help` = 'Syntax: .learnskill #skillId [#level [#max]]\r\n\r\nLearn a skill of id #skill with a current skill value of #level (or 1 if not provide) and a maximum value of #max (or equal #level or 1 if not provide) for the selected character. If no character is selected, you learn the skill.' WHERE `name` = 'learnskill';
diff --git a/sql/updates/0.6/3005.sql b/sql/updates/0.6/3005.sql
new file mode 100644
index 00000000000..55ae8f4a86b
--- /dev/null
+++ b/sql/updates/0.6/3005.sql
@@ -0,0 +1,166 @@
+
+ALTER TABLE `auctionhouse` MODIFY COLUMN `id` int(10) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `auctionhouse` MODIFY COLUMN `auctioneerguid` int(11) NOT NULL DEFAULT '0';
+ALTER TABLE `auctionhouse` MODIFY COLUMN `itemguid` int(11) NOT NULL DEFAULT '0';
+ALTER TABLE `auctionhouse` MODIFY COLUMN `buyoutprice` int(11) NOT NULL DEFAULT '0';
+ALTER TABLE `auctionhouse` MODIFY COLUMN `buyguid` int(11) NOT NULL DEFAULT '0';
+ALTER TABLE `auctionhouse` MODIFY COLUMN `lastbid` int(11) NOT NULL DEFAULT '0';
+ALTER TABLE `auctionhouse` MODIFY COLUMN `startbid` int(11) NOT NULL DEFAULT '0';
+
+ALTER TABLE `character` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier';
+ALTER TABLE `character` MODIFY COLUMN `account` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Account Identifier';
+ALTER TABLE `character` MODIFY COLUMN `is_logout_resting` tinyint(3) NOT NULL DEFAULT '0';
+
+ALTER TABLE `character_action` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier';
+ALTER TABLE `character_action` MODIFY COLUMN `button` tinyint(3) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `character_action` MODIFY COLUMN `action` smallint(5) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `character_action` MODIFY COLUMN `type` tinyint(3) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `character_action` MODIFY COLUMN `misc` tinyint(3) unsigned NOT NULL DEFAULT '0';
+
+ALTER TABLE `character_aura` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier';
+
+ALTER TABLE `character_homebind` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier';
+
+ALTER TABLE `character_inventory` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier';
+ALTER TABLE `character_inventory` MODIFY COLUMN `bag` int(11) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `character_inventory` MODIFY COLUMN `item` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Item Global Unique Identifier';
+
+ALTER TABLE `character_kill` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier';
+ALTER TABLE `character_kill` MODIFY COLUMN `type` tinyint(3) unsigned NOT NULL DEFAULT '0';
+
+ALTER TABLE `character_queststatus` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier';
+
+ALTER TABLE `character_reputation` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier';
+
+ALTER TABLE `character_social` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier';
+ALTER TABLE `character_social` MODIFY COLUMN `friend` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier';
+
+ALTER TABLE `character_spell` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier';
+ALTER TABLE `character_spell` MODIFY COLUMN `active` tinyint(3) unsigned NOT NULL DEFAULT '1';
+
+ALTER TABLE `character_ticket` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0';
+
+ALTER TABLE `character_tutorial` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier';
+ALTER TABLE `character_tutorial` MODIFY COLUMN `tut0` int(11) unsigned NOT NULL default '0';
+ALTER TABLE `character_tutorial` MODIFY COLUMN `tut1` int(11) unsigned NOT NULL default '0';
+ALTER TABLE `character_tutorial` MODIFY COLUMN `tut2` int(11) unsigned NOT NULL default '0';
+ALTER TABLE `character_tutorial` MODIFY COLUMN `tut3` int(11) unsigned NOT NULL default '0';
+ALTER TABLE `character_tutorial` MODIFY COLUMN `tut4` int(11) unsigned NOT NULL default '0';
+ALTER TABLE `character_tutorial` MODIFY COLUMN `tut5` int(11) unsigned NOT NULL default '0';
+ALTER TABLE `character_tutorial` MODIFY COLUMN `tut6` int(11) unsigned NOT NULL default '0';
+ALTER TABLE `character_tutorial` MODIFY COLUMN `tut7` int(11) unsigned NOT NULL default '0';
+ALTER TABLE `command` MODIFY COLUMN `name` varchar(50) NOT NULL default '';
+ALTER TABLE `command` MODIFY COLUMN `security` tinyint(3) unsigned NOT NULL DEFAULT '0';
+
+ALTER TABLE `corpse` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier';
+ALTER TABLE `corpse` MODIFY COLUMN `player` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier';
+
+ALTER TABLE `corpse_grid` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier';
+
+ALTER TABLE `creature` MODIFY COLUMN `guid` int(11) unsigned NOT NULL auto_increment COMMENT 'Global Unique Identifier';
+ALTER TABLE `creature` MODIFY COLUMN `state` tinyint(3) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `creature` MODIFY COLUMN `MovementType` tinyint(3) unsigned NOT NULL DEFAULT '0';
+
+
+ALTER TABLE `creature_grid` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier';
+
+ALTER TABLE `creature_loot_template` MODIFY COLUMN `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1';
+ALTER TABLE `creature_loot_template` MODIFY COLUMN `quest_freeforall` tinyint(3) unsigned NOT NULL DEFAULT '1';
+
+ALTER TABLE `creature_template` MODIFY COLUMN `minlevel` tinyint(3) unsigned DEFAULT '1';
+ALTER TABLE `creature_template` MODIFY COLUMN `maxlevel` tinyint(3) unsigned DEFAULT '1';
+ALTER TABLE `creature_template` MODIFY COLUMN `rank` tinyint(3) unsigned DEFAULT '0';
+ALTER TABLE `creature_template` MODIFY COLUMN `trainer_type` tinyint(3) DEFAULT '0';
+ALTER TABLE `creature_template` MODIFY COLUMN `class` tinyint(3) unsigned DEFAULT '0';
+ALTER TABLE `creature_template` MODIFY COLUMN `race` tinyint(3) unsigned DEFAULT '0';
+
+ALTER TABLE `creature_template` MODIFY COLUMN `rangedattackpower` smallint(5) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `creature_template` MODIFY COLUMN `type` tinyint(3) unsigned DEFAULT '0';
+ALTER TABLE `creature_template` MODIFY COLUMN `civilian` tinyint(3) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `creature_template` MODIFY COLUMN `MovementType` tinyint(3) unsigned NOT NULL DEFAULT '0';
+
+ALTER TABLE `fishing_loot_template` MODIFY COLUMN `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1';
+ALTER TABLE `fishing_loot_template` MODIFY COLUMN `quest_freeforall` tinyint(3) unsigned NOT NULL DEFAULT '1';
+
+ALTER TABLE `gameobject` MODIFY COLUMN `guid` int(11) unsigned NOT NULL auto_increment COMMENT 'Global Unique Identifier';
+
+ALTER TABLE `gameobject_grid` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier';
+
+ALTER TABLE `gameobject_loot_template` MODIFY COLUMN `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1';
+ALTER TABLE `gameobject_loot_template` MODIFY COLUMN `quest_freeforall` tinyint(3) unsigned NOT NULL DEFAULT '1';
+
+ALTER TABLE `item_instance` MODIFY COLUMN `guid` int(11) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `item_instance` ADD COLUMN `owner_guid` int(11) unsigned NOT NULL DEFAULT '0' AFTER `guid`;
+
+
+UPDATE `item_instance`
+ SET `owner_guid` = SUBSTRING_INDEX(SUBSTRING_INDEX(`data`,' ',7),' ',-1);
+
+ALTER TABLE `item_loot_template` MODIFY COLUMN `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1';
+ALTER TABLE `item_loot_template` MODIFY COLUMN `quest_freeforall` tinyint(3) unsigned NOT NULL DEFAULT '1';
+
+ALTER TABLE `item_template` MODIFY COLUMN `class` tinyint(3) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `subclass` tinyint(3) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `displayid` int(11) unsigned NOT NULL default '0';
+ALTER TABLE `item_template` MODIFY COLUMN `Quality` tinyint(3) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `InventoryType` tinyint(3) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `AllowableClass` mediumint(9) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `RequiredLevel` tinyint(3) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `maxcount` smallint(5) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stackable` smallint(5) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `ContainerSlots` tinyint(3) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_type1` tinyint(4) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_value1` smallint(6) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_type2` tinyint(4) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_value2` smallint(6) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_type3` tinyint(4) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_value3` smallint(6) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_type4` tinyint(4) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_value4` smallint(6) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_type5` tinyint(4) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_value5` smallint(6) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_type6` tinyint(4) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_value6` smallint(6) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_type7` tinyint(4) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_value7` smallint(6) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_type8` tinyint(4) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_value8` smallint(6) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_type9` tinyint(4) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_value9` smallint(6) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_type10` tinyint(4) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `stat_value10` smallint(6) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `dmg_type1` tinyint(3) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `dmg_type2` tinyint(3) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `dmg_type3` tinyint(3) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `dmg_type4` tinyint(3) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `dmg_type5` tinyint(3) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` MODIFY COLUMN `bonding` tinyint(3) unsigned NOT NULL DEFAULT '0';
+
+
+ALTER TABLE `mail` MODIFY COLUMN `id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Identifier';
+ALTER TABLE `mail` MODIFY COLUMN `messageType` tinyint(3) unsigned NOT NULL DEFAULT '0';
+ALTER TABLE `mail` MODIFY COLUMN `sender` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier';
+ALTER TABLE `mail` MODIFY COLUMN `receiver` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Character Global Unique Identifier';
+ALTER TABLE `mail` MODIFY COLUMN `item_guid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'Mail Item Global Unique Identifier';
+ALTER TABLE `mail` MODIFY COLUMN `cod` int(11) unsigned NOT NULL DEFAULT '0';
+
+DROP TABLE IF EXISTS `npc_spirithealer`;
+DELETE FROM `command` WHERE `name` = 'addspirit';
+DELETE FROM `command` WHERE `name` = 'addsh';
+
+ALTER TABLE `npc_vendor` MODIFY COLUMN `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '0';
+
+ALTER TABLE `pickpocketing_loot_template` MODIFY COLUMN `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1';
+ALTER TABLE `pickpocketing_loot_template` MODIFY COLUMN `quest_freeforall` tinyint(3) unsigned NOT NULL DEFAULT '1';
+
+ALTER TABLE `raidgroup` MODIFY COLUMN `leaderGuid` int(11) NOT NULL;
+ALTER TABLE `raidgroup` MODIFY COLUMN `lootMethod` tinyint(4) NOT NULL;
+ALTER TABLE `raidgroup` MODIFY COLUMN `looterGuid` int(11) NOT NULL;
+
+ALTER TABLE `raidgroup_member` MODIFY COLUMN `leaderGuid` int(11) NOT NULL;
+ALTER TABLE `raidgroup_member` MODIFY COLUMN `memberGuid` int(11) NOT NULL;
+
+ALTER TABLE `skinning_loot_template` MODIFY COLUMN `maxcount` tinyint(3) unsigned NOT NULL DEFAULT '1';
+ALTER TABLE `skinning_loot_template` MODIFY COLUMN `quest_freeforall` tinyint(3) unsigned NOT NULL DEFAULT '1';
+
+ALTER TABLE `spell_chain` MODIFY COLUMN `rank` tinyint(4) NOT NULL DEFAULT '0';
diff --git a/sql/updates/0.6/3010_item_template.sql b/sql/updates/0.6/3010_item_template.sql
new file mode 100644
index 00000000000..9fe8bf949e8
--- /dev/null
+++ b/sql/updates/0.6/3010_item_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `item_template` ADD COLUMN `BagFamily` tinyint(3) unsigned NOT NULL default '0' AFTER `area`;
diff --git a/sql/updates/0.6/3017_auctionhouse.sql b/sql/updates/0.6/3017_auctionhouse.sql
new file mode 100644
index 00000000000..0125fc62212
--- /dev/null
+++ b/sql/updates/0.6/3017_auctionhouse.sql
@@ -0,0 +1,5 @@
+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',
+ MODIFY COLUMN `buyguid` int(11) unsigned NOT NULL default '0';
diff --git a/sql/updates/0.6/3020_command.sql b/sql/updates/0.6/3020_command.sql
new file mode 100644
index 00000000000..5e27a86d4ff
--- /dev/null
+++ b/sql/updates/0.6/3020_command.sql
@@ -0,0 +1,2 @@
+DELETE FROM `command` WHERE `name` = 'cooldown';
+INSERT INTO command (name, security, help) VALUES ('cooldown', 3,'Syntax: .cooldown [#spell_id]\r\n\r\nRemove all (if spell_id not provided) or #spel_id spell cooldown from selected character or you (if no selection).');
diff --git a/sql/updates/0.6/3032_creature.sql b/sql/updates/0.6/3032_creature.sql
new file mode 100644
index 00000000000..7acf3578878
--- /dev/null
+++ b/sql/updates/0.6/3032_creature.sql
@@ -0,0 +1,7 @@
+/*delete redundant column from creature table*/
+ALTER TABLE `creature` ADD COLUMN `spawntimesecs` int(11) unsigned NOT NULL default '120' AFTER `spawntimemin`;
+
+UPDATE creature SET `spawntimesecs`= (spawntimemin + spawntimemax) /2;
+
+ALTER TABLE creature DROP COLUMN spawntimemax;
+ALTER TABLE creature DROP COLUMN spawntimemin; \ No newline at end of file
diff --git a/sql/updates/0.6/3044_gameobject_template.sql b/sql/updates/0.6/3044_gameobject_template.sql
new file mode 100644
index 00000000000..aad97b09d7f
--- /dev/null
+++ b/sql/updates/0.6/3044_gameobject_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `gameobject_template`
+ DROP `castsSpell`;
diff --git a/sql/updates/0.6/3054_command.sql b/sql/updates/0.6/3054_command.sql
new file mode 100644
index 00000000000..347924f6555
--- /dev/null
+++ b/sql/updates/0.6/3054_command.sql
@@ -0,0 +1,5 @@
+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/3059_pet_levelstats.sql b/sql/updates/0.6/3059_pet_levelstats.sql
new file mode 100644
index 00000000000..e69e440cdf0
--- /dev/null
+++ b/sql/updates/0.6/3059_pet_levelstats.sql
@@ -0,0 +1,12 @@
+CREATE TABLE `pet_levelstats` (
+ `creature_entry` int(11) unsigned NOT NULL,
+ `level` tinyint(3) unsigned NOT NULL,
+ `hp` smallint(5) unsigned NOT NULL,
+ `mana` smallint(5) unsigned NOT NULL,
+ `str` smallint(5) unsigned NOT NULL,
+ `agi` smallint(5) unsigned NOT NULL,
+ `sta` smallint(5) unsigned NOT NULL,
+ `int` smallint(5) unsigned NOT NULL,
+ `spi` smallint(5) unsigned NOT NULL,
+ PRIMARY KEY (`creature_entry`,`level`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores pet levels stats.';
diff --git a/sql/updates/0.6/3068_command.sql b/sql/updates/0.6/3068_command.sql
new file mode 100644
index 00000000000..56cbfbd7613
--- /dev/null
+++ b/sql/updates/0.6/3068_command.sql
@@ -0,0 +1,2 @@
+INSERT INTO `command` (`name`,`security`,`help`) VALUES ('spawndist',2,'Syntax: .spawndist #dist\r\n\r\nAdjust spawndistance of selected creature to dist.');
+INSERT INTO `command` (`name`,`security`,`help`) VALUES ('spawntime',2,'Syntax: .spawntime #time \r\n\r\nAdjust spawntime of selected creature to time.'); \ No newline at end of file
diff --git a/sql/updates/0.6/3075_creature.sql b/sql/updates/0.6/3075_creature.sql
new file mode 100644
index 00000000000..74f1dbd35c6
--- /dev/null
+++ b/sql/updates/0.6/3075_creature.sql
@@ -0,0 +1,8 @@
+ALTER TABLE creature DROP COLUMN respawntimer;
+
+DROP TABLE IF EXISTS `creature_respawn`;
+CREATE TABLE `creature_respawn` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `respawntime` bigint(40) NOT NULL default '0',
+ PRIMARY KEY (`guid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Grid Loading System';
diff --git a/sql/updates/0.6/3075_gameobject.sql b/sql/updates/0.6/3075_gameobject.sql
new file mode 100644
index 00000000000..9a576787d0d
--- /dev/null
+++ b/sql/updates/0.6/3075_gameobject.sql
@@ -0,0 +1,12 @@
+ALTER TABLE `gameobject`
+ CHANGE `respawntimer` `spawntimesecs` int(11) unsigned NOT NULL default '0';
+
+UPDATE `gameobject` SET `spawntimesecs` = `spawntimesecs` / 1000;
+
+DROP TABLE IF EXISTS `gameobject_respawn`;
+CREATE TABLE `gameobject_respawn` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `respawntime` bigint(40) NOT NULL default '0',
+ PRIMARY KEY (`guid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Grid Loading System';
+
diff --git a/sql/updates/0.6/3090_command.sql b/sql/updates/0.6/3090_command.sql
new file mode 100644
index 00000000000..29bb8b07a21
--- /dev/null
+++ b/sql/updates/0.6/3090_command.sql
@@ -0,0 +1 @@
+INSERT INTO `command` (`name`,`security`,`help`) VALUES ('respawn',3,'Syntax: .respawn\r\n\r\nRespawn all nearest creatures and GO without waiting respawn time expiration.');
diff --git a/sql/updates/0.6/3090_creature_template.sql b/sql/updates/0.6/3090_creature_template.sql
new file mode 100644
index 00000000000..64bb0e610e2
--- /dev/null
+++ b/sql/updates/0.6/3090_creature_template.sql
@@ -0,0 +1,6 @@
+ALTER TABLE `creature_template`
+ ADD COLUMN `pickpocketloot` int(10) unsigned NOT NULL default '0' AFTER `lootid`;
+
+UPDATE `creature_template`,`pickpocketing_loot_template`
+ SET `creature_template`.`pickpocketloot` = `creature_template`.`lootid`
+ WHERE `creature_template`.`lootid` = `pickpocketing_loot_template`.`entry`;
diff --git a/sql/updates/0.6/3090_loot_template.sql b/sql/updates/0.6/3090_loot_template.sql
new file mode 100644
index 00000000000..ccfc7fa62f6
--- /dev/null
+++ b/sql/updates/0.6/3090_loot_template.sql
@@ -0,0 +1,17 @@
+ALTER TABLE `creature_loot_template`
+ ADD COLUMN `mincount` tinyint(3) unsigned NOT NULL default '1' AFTER `QuestChanceOrGroup`;
+
+ALTER TABLE `fishing_loot_template`
+ ADD COLUMN `mincount` tinyint(3) unsigned NOT NULL default '1' AFTER `QuestChanceOrGroup`;
+
+ALTER TABLE `gameobject_loot_template`
+ ADD COLUMN `mincount` tinyint(3) unsigned NOT NULL default '1' AFTER `QuestChanceOrGroup`;
+
+ALTER TABLE `item_loot_template`
+ ADD COLUMN `mincount` tinyint(3) unsigned NOT NULL default '1' AFTER `QuestChanceOrGroup`;
+
+ALTER TABLE `pickpocketing_loot_template`
+ ADD COLUMN `mincount` tinyint(3) unsigned NOT NULL default '1' AFTER `QuestChanceOrGroup`;
+
+ALTER TABLE `skinning_loot_template`
+ ADD COLUMN `mincount` tinyint(3) unsigned NOT NULL default '1' AFTER `QuestChanceOrGroup`;
diff --git a/sql/updates/0.6/3091_spell_proc_event.sql b/sql/updates/0.6/3091_spell_proc_event.sql
new file mode 100644
index 00000000000..298bab0f3e1
--- /dev/null
+++ b/sql/updates/0.6/3091_spell_proc_event.sql
@@ -0,0 +1,831 @@
+DROP TABLE IF EXISTS `spell_proc_event`;
+
+CREATE TABLE `spell_proc_event` (
+ `entry` smallint(6) NOT NULL default '0',
+ `SchoolMask` tinyint(4) NOT NULL default '0',
+ `Category` smallint(6) NOT NULL default '0',
+ `SkillID` smallint(6) NOT NULL default '0',
+ `SpellFamilyMask` int(11) NOT NULL default '0',
+ `procFlags` int(11) NOT NULL default '0',
+ `ppmRate` float NOT NULL default '0',
+ PRIMARY KEY (`entry`)
+);
+
+INSERT INTO `spell_proc_event` VALUES ('6866', '4', '0', '0', '0', '20564', '0');
+INSERT INTO `spell_proc_event` VALUES ('6870', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('7131', '0', '0', '0', '0', '664232', '0');
+INSERT INTO `spell_proc_event` VALUES ('9452', '0', '0', '0', '0', '20', '3');
+INSERT INTO `spell_proc_event` VALUES ('9799', '0', '0', '0', '0', '262144', '0');
+INSERT INTO `spell_proc_event` VALUES ('11119', '2', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('11120', '2', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('11129', '2', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('11180', '8', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12846', '2', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('12847', '2', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('12848', '2', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('13896', '0', '0', '0', '0', '1048576', '0');
+INSERT INTO `spell_proc_event` VALUES ('14076', '0', '0', '39', '128', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('14094', '0', '0', '39', '128', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('14095', '0', '0', '39', '128', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('15286', '16', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('18073', '2', '0', '0', '96', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('18096', '2', '0', '0', '96', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('19271', '0', '0', '0', '0', '1048576', '0');
+INSERT INTO `spell_proc_event` VALUES ('19273', '0', '0', '0', '0', '1048576', '0');
+INSERT INTO `spell_proc_event` VALUES ('19274', '0', '0', '0', '0', '1048576', '0');
+INSERT INTO `spell_proc_event` VALUES ('19275', '0', '0', '0', '0', '1048576', '0');
+INSERT INTO `spell_proc_event` VALUES ('20183', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('20204', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('20411', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('20412', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('20413', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('20414', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('20911', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('20912', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('20913', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('20914', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('21063', '0', '0', '0', '0', '32768', '0');
+INSERT INTO `spell_proc_event` VALUES ('21893', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('21978', '0', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('22007', '0', '0', '0', '2099233', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('22697', '32', '0', '0', '0', '664232', '0');
+INSERT INTO `spell_proc_event` VALUES ('23551', '4', '0', '0', '192', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('23552', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('23572', '4', '0', '0', '192', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('24596', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25592', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25669', '0', '0', '0', '0', '1', '1');
+INSERT INTO `spell_proc_event` VALUES ('25715', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25727', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25728', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25729', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25730', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25731', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25732', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25733', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25734', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25745', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25751', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25752', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('25757', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('25759', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25760', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25761', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25762', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25767', '0', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('25820', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('25899', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('25906', '0', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('25926', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25937', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('25942', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('25945', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('25988', '0', '0', '0', '0', '4263936', '0');
+INSERT INTO `spell_proc_event` VALUES ('26016', '0', '0', '0', '0', '1', '2');
+INSERT INTO `spell_proc_event` VALUES ('26021', '0', '0', '0', '0', '1', '2');
+INSERT INTO `spell_proc_event` VALUES ('26107', '0', '0', '0', '4063232', '67108864', '0');
+INSERT INTO `spell_proc_event` VALUES ('26119', '0', '0', '0', '-1877999613', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('26128', '0', '0', '0', '0', '33554432', '0');
+INSERT INTO `spell_proc_event` VALUES ('26135', '0', '0', '0', '8388608', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('26169', '0', '0', '0', '0', '134217728', '0');
+INSERT INTO `spell_proc_event` VALUES ('26341', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('26376', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('26463', '0', '0', '0', '0', '1048576', '0');
+INSERT INTO `spell_proc_event` VALUES ('26467', '0', '0', '0', '0', '134217728', '0');
+INSERT INTO `spell_proc_event` VALUES ('26480', '0', '0', '0', '0', '524289', '3');
+INSERT INTO `spell_proc_event` VALUES ('27200', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('27419', '0', '0', '0', '0', '1', '3');
+INSERT INTO `spell_proc_event` VALUES ('27420', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('27498', '0', '0', '0', '0', '1', '3');
+INSERT INTO `spell_proc_event` VALUES ('27521', '0', '0', '0', '0', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('27522', '0', '0', '0', '0', '524289', '0');
+INSERT INTO `spell_proc_event` VALUES ('27539', '0', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('27561', '0', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('27656', '0', '0', '0', '0', '1', '3');
+INSERT INTO `spell_proc_event` VALUES ('27688', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('27774', '0', '0', '0', '0', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('27776', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('27778', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('27780', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('27781', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('27785', '0', '0', '0', '0', '524288', '0');
+INSERT INTO `spell_proc_event` VALUES ('27787', '0', '0', '0', '0', '1', '3');
+INSERT INTO `spell_proc_event` VALUES ('27811', '0', '0', '0', '0', '8396800', '0');
+INSERT INTO `spell_proc_event` VALUES ('27815', '0', '0', '0', '0', '8396800', '0');
+INSERT INTO `spell_proc_event` VALUES ('27816', '0', '0', '0', '0', '8396800', '0');
+INSERT INTO `spell_proc_event` VALUES ('27852', '0', '0', '0', '0', '32768', '0');
+INSERT INTO `spell_proc_event` VALUES ('27857', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('27861', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('27863', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('27864', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('27865', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('27867', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('28130', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('28200', '0', '0', '0', '0', '134217728', '0');
+INSERT INTO `spell_proc_event` VALUES ('28429', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('28458', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('28460', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('28592', '8', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('28593', '8', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('28594', '8', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('28595', '8', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('28719', '4', '0', '0', '32', '268435456', '0');
+INSERT INTO `spell_proc_event` VALUES ('28752', '0', '0', '0', '0', '4194304', '0');
+INSERT INTO `spell_proc_event` VALUES ('28761', '0', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('28764', '0', '0', '0', '0', '1048576', '0');
+INSERT INTO `spell_proc_event` VALUES ('28771', '0', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('28789', '0', '0', '0', '-1073717248', '134217728', '0');
+INSERT INTO `spell_proc_event` VALUES ('28802', '0', '0', '0', '0', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('28809', '1', '0', '56', '4096', '268435456', '0');
+INSERT INTO `spell_proc_event` VALUES ('28812', '0', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('28816', '0', '0', '0', '0', '1', '3');
+INSERT INTO `spell_proc_event` VALUES ('28823', '4', '0', '374', '192', '134217728', '0');
+INSERT INTO `spell_proc_event` VALUES ('28845', '0', '0', '0', '0', '512', '0');
+INSERT INTO `spell_proc_event` VALUES ('28847', '4', '0', '573', '32', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('28849', '4', '0', '374', '128', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('28881', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('29062', '0', '0', '0', '0', '8396800', '0');
+INSERT INTO `spell_proc_event` VALUES ('29064', '0', '0', '0', '0', '8396800', '0');
+INSERT INTO `spell_proc_event` VALUES ('29065', '0', '0', '0', '0', '8396800', '0');
+INSERT INTO `spell_proc_event` VALUES ('29074', '10', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('29075', '10', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('29076', '10', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('29150', '0', '0', '0', '0', '1', '3');
+INSERT INTO `spell_proc_event` VALUES ('29162', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('29179', '0', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('29180', '0', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('29185', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('29194', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('29196', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('29198', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('29220', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('29307', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('29441', '0', '0', '0', '0', '16777216', '0');
+INSERT INTO `spell_proc_event` VALUES ('29444', '0', '0', '0', '0', '16777216', '0');
+INSERT INTO `spell_proc_event` VALUES ('29445', '0', '0', '0', '0', '16777216', '0');
+INSERT INTO `spell_proc_event` VALUES ('29446', '0', '0', '0', '0', '16777216', '0');
+INSERT INTO `spell_proc_event` VALUES ('29447', '0', '0', '0', '0', '16777216', '0');
+INSERT INTO `spell_proc_event` VALUES ('29501', '0', '0', '0', '0', '524288', '3');
+INSERT INTO `spell_proc_event` VALUES ('29526', '0', '0', '0', '0', '0', '0');
+INSERT INTO `spell_proc_event` VALUES ('29624', '0', '0', '0', '0', '524288', '3');
+INSERT INTO `spell_proc_event` VALUES ('29625', '0', '0', '0', '0', '524288', '3');
+INSERT INTO `spell_proc_event` VALUES ('29626', '0', '0', '0', '0', '524288', '3');
+INSERT INTO `spell_proc_event` VALUES ('29632', '0', '0', '0', '0', '524288', '3');
+INSERT INTO `spell_proc_event` VALUES ('29633', '0', '0', '0', '0', '524288', '3');
+INSERT INTO `spell_proc_event` VALUES ('29634', '0', '0', '0', '0', '524288', '3');
+INSERT INTO `spell_proc_event` VALUES ('29635', '0', '0', '0', '0', '524288', '3');
+INSERT INTO `spell_proc_event` VALUES ('29636', '0', '0', '0', '0', '524288', '3');
+INSERT INTO `spell_proc_event` VALUES ('29637', '0', '0', '0', '0', '524288', '3');
+INSERT INTO `spell_proc_event` VALUES ('30079', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('30080', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('30081', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('30160', '0', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('30802', '0', '0', '0', '0', '4096', '0');
+INSERT INTO `spell_proc_event` VALUES ('30808', '0', '0', '0', '0', '4096', '0');
+INSERT INTO `spell_proc_event` VALUES ('30809', '0', '0', '0', '0', '4096', '0');
+INSERT INTO `spell_proc_event` VALUES ('30810', '0', '0', '0', '0', '4096', '0');
+INSERT INTO `spell_proc_event` VALUES ('30811', '0', '0', '0', '0', '4096', '0');
+INSERT INTO `spell_proc_event` VALUES ('31255', '0', '0', '0', '0', '256', '0');
+INSERT INTO `spell_proc_event` VALUES ('31316', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('25020', '0', '0', '0', '0', '1026', '0');
+INSERT INTO `spell_proc_event` VALUES ('25023', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('24949', '0', '0', '0', '0', '32', '0');
+INSERT INTO `spell_proc_event` VALUES ('24658', '0', '0', '0', '0', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('24661', '0', '0', '0', '0', '524289', '0');
+INSERT INTO `spell_proc_event` VALUES ('24574', '0', '0', '0', '0', '1048578', '0');
+INSERT INTO `spell_proc_event` VALUES ('24256', '0', '0', '0', '0', '524289', '0');
+INSERT INTO `spell_proc_event` VALUES ('24051', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('23888', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('23863', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('23867', '0', '0', '0', '0', '129', '0');
+INSERT INTO `spell_proc_event` VALUES ('23885', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('23886', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('23887', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('23771', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('23780', '0', '0', '0', '0', '1048578', '0');
+INSERT INTO `spell_proc_event` VALUES ('23721', '32', '0', '163', '2048', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('23686', '0', '0', '0', '0', '1', '2');
+INSERT INTO `spell_proc_event` VALUES ('23688', '0', '0', '0', '0', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('23689', '0', '0', '0', '0', '1', '4');
+INSERT INTO `spell_proc_event` VALUES ('23695', '0', '0', '26', '2', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('23578', '0', '0', '0', '0', '524288', '2');
+INSERT INTO `spell_proc_event` VALUES ('23581', '0', '0', '0', '0', '1', '2');
+INSERT INTO `spell_proc_event` VALUES ('23548', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('23378', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('23305', '0', '0', '0', '0', '1048578', '0');
+INSERT INTO `spell_proc_event` VALUES ('23340', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('23255', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('23301', '0', '0', '0', '0', '8192', '0');
+INSERT INTO `spell_proc_event` VALUES ('23303', '0', '0', '0', '0', '8192', '0');
+INSERT INTO `spell_proc_event` VALUES ('23306', '0', '0', '0', '0', '1048578', '0');
+INSERT INTO `spell_proc_event` VALUES ('22835', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('22857', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('22716', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('22618', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('22620', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('22648', '0', '0', '0', '0', '4096', '0');
+INSERT INTO `spell_proc_event` VALUES ('22438', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('22413', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('22283', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('22285', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('22286', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('22287', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('22288', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('21969', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('21911', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('21853', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('21882', '0', '0', '0', '0', '4096', '0');
+INSERT INTO `spell_proc_event` VALUES ('21890', '0', '0', '0', '-362127634', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('21788', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('21789', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('21897', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('21838', '0', '0', '0', '0', '32768', '0');
+INSERT INTO `spell_proc_event` VALUES ('21841', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('21645', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('21747', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('21387', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('21329', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('21334', '0', '0', '0', '0', '32768', '0');
+INSERT INTO `spell_proc_event` VALUES ('21185', '0', '0', '0', '0', '4', '0');
+INSERT INTO `spell_proc_event` VALUES ('21061', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('21080', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('21084', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('21053', '0', '0', '0', '0', '4', '0');
+INSERT INTO `spell_proc_event` VALUES ('20915', '0', '0', '0', '0', '1', '7');
+INSERT INTO `spell_proc_event` VALUES ('20918', '0', '0', '0', '0', '1', '7');
+INSERT INTO `spell_proc_event` VALUES ('20919', '0', '0', '0', '0', '1', '7');
+INSERT INTO `spell_proc_event` VALUES ('20920', '0', '0', '0', '0', '1', '7');
+INSERT INTO `spell_proc_event` VALUES ('20925', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('20927', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('20928', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('20884', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20891', '0', '0', '0', '0', '4096', '0');
+INSERT INTO `spell_proc_event` VALUES ('20896', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20847', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('20809', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20705', '0', '0', '0', '0', '8192', '0');
+INSERT INTO `spell_proc_event` VALUES ('20725', '0', '0', '0', '0', '4096', '0');
+INSERT INTO `spell_proc_event` VALUES ('20563', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20545', '0', '0', '0', '0', '1026', '0');
+INSERT INTO `spell_proc_event` VALUES ('20500', '0', '0', '0', '268435456', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('20501', '0', '0', '0', '268435456', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('20423', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20422', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20344', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('20345', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('20347', '0', '0', '0', '0', '1', '5');
+INSERT INTO `spell_proc_event` VALUES ('20348', '0', '0', '0', '0', '1', '5');
+INSERT INTO `spell_proc_event` VALUES ('20346', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('20349', '0', '0', '0', '0', '1', '5');
+INSERT INTO `spell_proc_event` VALUES ('20356', '0', '0', '0', '0', '1', '5');
+INSERT INTO `spell_proc_event` VALUES ('20357', '0', '0', '0', '0', '1', '5');
+INSERT INTO `spell_proc_event` VALUES ('20375', '0', '0', '0', '0', '1', '7');
+INSERT INTO `spell_proc_event` VALUES ('20354', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('20355', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('20419', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20421', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20287', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20288', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20289', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20290', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20291', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20292', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20293', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20210', '0', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('20212', '0', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('20213', '0', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('20214', '0', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('20215', '0', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('20179', '0', '0', '0', '0', '270336', '0');
+INSERT INTO `spell_proc_event` VALUES ('20180', '0', '0', '0', '0', '270336', '0');
+INSERT INTO `spell_proc_event` VALUES ('20181', '0', '0', '0', '0', '270336', '0');
+INSERT INTO `spell_proc_event` VALUES ('20182', '0', '0', '0', '0', '270336', '0');
+INSERT INTO `spell_proc_event` VALUES ('20185', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('20186', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('20230', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('20234', '1', '0', '0', '32768', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('20235', '0', '0', '0', '32768', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('20135', '0', '0', '0', '0', '270336', '0');
+INSERT INTO `spell_proc_event` VALUES ('20136', '0', '0', '0', '0', '270336', '0');
+INSERT INTO `spell_proc_event` VALUES ('20137', '0', '0', '0', '0', '270336', '0');
+INSERT INTO `spell_proc_event` VALUES ('20154', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20163', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('20164', '0', '0', '0', '0', '1', '2');
+INSERT INTO `spell_proc_event` VALUES ('20165', '0', '0', '0', '0', '1', '5');
+INSERT INTO `spell_proc_event` VALUES ('20166', '0', '0', '0', '0', '1', '5');
+INSERT INTO `spell_proc_event` VALUES ('20169', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('20127', '0', '0', '0', '0', '270336', '0');
+INSERT INTO `spell_proc_event` VALUES ('20130', '0', '0', '0', '0', '270336', '0');
+INSERT INTO `spell_proc_event` VALUES ('20049', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('20056', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('20057', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('20058', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('20059', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('20177', '0', '0', '0', '0', '270336', '0');
+INSERT INTO `spell_proc_event` VALUES ('19817', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('19818', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('19640', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('19655', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('19656', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('19660', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('19577', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('19514', '0', '0', '0', '0', '1026', '0');
+INSERT INTO `spell_proc_event` VALUES ('19449', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('19396', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('19407', '32', '0', '0', '512', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('19409', '0', '0', '0', '0', '1048578', '0');
+INSERT INTO `spell_proc_event` VALUES ('19412', '32', '0', '0', '512', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('19413', '32', '0', '0', '512', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('19414', '32', '0', '0', '512', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('19415', '32', '0', '0', '512', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('19478', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('19387', '0', '0', '0', '0', '2097152', '0');
+INSERT INTO `spell_proc_event` VALUES ('19388', '0', '0', '0', '0', '2097152', '0');
+INSERT INTO `spell_proc_event` VALUES ('19389', '0', '0', '0', '0', '2097152', '0');
+INSERT INTO `spell_proc_event` VALUES ('19390', '0', '0', '0', '0', '2097152', '0');
+INSERT INTO `spell_proc_event` VALUES ('19308', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('19309', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('19310', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('19311', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('19312', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('19261', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('19262', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('19264', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('19265', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('19266', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('19194', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('19195', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('19233', '0', '0', '0', '64', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('19234', '0', '0', '0', '64', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('19235', '0', '0', '0', '64', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('19228', '0', '0', '0', '64', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('19232', '0', '0', '0', '64', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('19184', '0', '0', '0', '0', '2097152', '0');
+INSERT INTO `spell_proc_event` VALUES ('18979', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('18983', '0', '0', '0', '0', '4', '0');
+INSERT INTO `spell_proc_event` VALUES ('18943', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('18799', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('18800', '0', '0', '0', '0', '8', '0');
+INSERT INTO `spell_proc_event` VALUES ('18815', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('18816', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('18847', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('18765', '0', '0', '0', '0', '128', '0');
+INSERT INTO `spell_proc_event` VALUES ('18542', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('18186', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('18189', '6', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('18121', '0', '0', '593', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('18122', '0', '0', '593', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('18123', '0', '0', '593', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('18137', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('18146', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('18167', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('18119', '0', '0', '593', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('18120', '0', '0', '593', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('18097', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('18100', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('17793', '16', '0', '593', '1', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('17796', '16', '0', '593', '1', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('17801', '16', '0', '593', '1', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('17802', '16', '0', '593', '1', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('17803', '16', '0', '593', '1', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('17688', '0', '0', '0', '0', '128', '0');
+INSERT INTO `spell_proc_event` VALUES ('17690', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('17670', '0', '0', '0', '0', '8', '0');
+INSERT INTO `spell_proc_event` VALUES ('17495', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('17329', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('17332', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('17350', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('17082', '0', '0', '0', '524288', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('17079', '0', '0', '0', '524288', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('17000', '0', '0', '0', '131072', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('17001', '0', '0', '0', '131072', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('17010', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('16956', '0', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('16957', '0', '0', '0', '0', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('16958', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('16961', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('16962', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('16963', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('16964', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('16982', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('16923', '0', '0', '574', '4', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('16924', '0', '0', '574', '4', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('16925', '0', '0', '574', '4', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('16926', '0', '0', '574', '4', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('16952', '0', '0', '0', '233472', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('16954', '0', '0', '0', '233472', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('16955', '0', '0', '0', '233472', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('16880', '0', '0', '0', '0', '268500992', '0');
+INSERT INTO `spell_proc_event` VALUES ('16850', '0', '0', '574', '4', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('16864', '0', '0', '0', '0', '1', '6');
+INSERT INTO `spell_proc_event` VALUES ('16800', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('16810', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('16811', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('16812', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('16813', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('16792', '0', '0', '0', '0', '8192', '0');
+INSERT INTO `spell_proc_event` VALUES ('16843', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('16689', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('16624', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('16611', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('16615', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('16620', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('16550', '0', '0', '0', '0', '8192', '0');
+INSERT INTO `spell_proc_event` VALUES ('16563', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('16574', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('16575', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('16487', '0', '0', '0', '0', '8658944', '0');
+INSERT INTO `spell_proc_event` VALUES ('16489', '0', '0', '0', '0', '8658944', '0');
+INSERT INTO `spell_proc_event` VALUES ('16492', '0', '0', '0', '0', '8658944', '0');
+INSERT INTO `spell_proc_event` VALUES ('16423', '0', '0', '0', '0', '128', '0');
+INSERT INTO `spell_proc_event` VALUES ('16428', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('16281', '0', '0', '0', '0', '4096', '0');
+INSERT INTO `spell_proc_event` VALUES ('16282', '0', '0', '0', '0', '4096', '0');
+INSERT INTO `spell_proc_event` VALUES ('16283', '0', '0', '0', '0', '4096', '0');
+INSERT INTO `spell_proc_event` VALUES ('16284', '0', '0', '0', '0', '4096', '0');
+INSERT INTO `spell_proc_event` VALUES ('16311', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('16312', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('16313', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('16235', '0', '0', '0', '0', '268435456', '0');
+INSERT INTO `spell_proc_event` VALUES ('16240', '0', '0', '0', '0', '268435456', '0');
+INSERT INTO `spell_proc_event` VALUES ('16241', '0', '0', '0', '0', '268435456', '0');
+INSERT INTO `spell_proc_event` VALUES ('16242', '0', '0', '0', '0', '268435456', '0');
+INSERT INTO `spell_proc_event` VALUES ('16247', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('16256', '0', '0', '0', '0', '4096', '0');
+INSERT INTO `spell_proc_event` VALUES ('16164', '14', '0', '0', '0', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('16176', '0', '0', '0', '0', '268435456', '0');
+INSERT INTO `spell_proc_event` VALUES ('16140', '0', '0', '0', '0', '128', '0');
+INSERT INTO `spell_proc_event` VALUES ('16142', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('16146', '0', '0', '0', '0', '2048', '0');
+INSERT INTO `spell_proc_event` VALUES ('16092', '0', '0', '0', '0', '32', '0');
+INSERT INTO `spell_proc_event` VALUES ('15978', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('15876', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('15852', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('15784', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('15730', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('15733', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('15849', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('15636', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('15641', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('15644', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('15650', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('15567', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('15568', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('15569', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('15573', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('15594', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('15599', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('15600', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('15506', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('15507', '0', '0', '0', '0', '1026', '0');
+INSERT INTO `spell_proc_event` VALUES ('15603', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('15362', '1', '0', '56', '7680', '268435456', '0');
+INSERT INTO `spell_proc_event` VALUES ('15363', '1', '0', '56', '7680', '268435456', '0');
+INSERT INTO `spell_proc_event` VALUES ('15364', '1', '0', '56', '7680', '268435456', '0');
+INSERT INTO `spell_proc_event` VALUES ('15365', '1', '0', '56', '7680', '268435456', '0');
+INSERT INTO `spell_proc_event` VALUES ('15323', '16', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('15324', '16', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('15325', '16', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('15326', '16', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('15335', '0', '0', '0', '0', '4', '0');
+INSERT INTO `spell_proc_event` VALUES ('15336', '0', '0', '0', '0', '4', '0');
+INSERT INTO `spell_proc_event` VALUES ('15337', '0', '0', '0', '0', '4', '0');
+INSERT INTO `spell_proc_event` VALUES ('15338', '0', '0', '0', '0', '4', '0');
+INSERT INTO `spell_proc_event` VALUES ('15346', '0', '0', '0', '0', '1', '6');
+INSERT INTO `spell_proc_event` VALUES ('15268', '16', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('15270', '0', '0', '0', '0', '4', '0');
+INSERT INTO `spell_proc_event` VALUES ('15277', '0', '0', '0', '0', '1', '6');
+INSERT INTO `spell_proc_event` VALUES ('15088', '0', '0', '0', '0', '4096', '0');
+INSERT INTO `spell_proc_event` VALUES ('15097', '0', '0', '0', '0', '8192', '0');
+INSERT INTO `spell_proc_event` VALUES ('14892', '1', '0', '56', '7680', '268435456', '0');
+INSERT INTO `spell_proc_event` VALUES ('14796', '0', '0', '0', '0', '2048', '0');
+INSERT INTO `spell_proc_event` VALUES ('14869', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('14774', '0', '0', '0', '0', '8192', '0');
+INSERT INTO `spell_proc_event` VALUES ('14531', '0', '0', '0', '0', '8192', '0');
+INSERT INTO `spell_proc_event` VALUES ('14186', '0', '0', '0', '1082131720', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('14190', '0', '0', '0', '1082131720', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('14193', '0', '0', '0', '1082131720', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('14194', '0', '0', '0', '1082131720', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('14195', '0', '0', '0', '1082131720', '65536', '0');
+INSERT INTO `spell_proc_event` VALUES ('14144', '0', '0', '0', '0', '4', '0');
+INSERT INTO `spell_proc_event` VALUES ('14148', '0', '0', '0', '0', '4', '0');
+INSERT INTO `spell_proc_event` VALUES ('14150', '0', '0', '0', '0', '4', '0');
+INSERT INTO `spell_proc_event` VALUES ('14152', '0', '0', '0', '0', '4', '0');
+INSERT INTO `spell_proc_event` VALUES ('14154', '0', '0', '0', '0', '4', '0');
+INSERT INTO `spell_proc_event` VALUES ('14156', '0', '0', '0', '4063232', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('14160', '0', '0', '0', '4063232', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('14161', '0', '0', '0', '4063232', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('14178', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('14108', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('14111', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('14133', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('14070', '0', '0', '0', '0', '16', '0');
+INSERT INTO `spell_proc_event` VALUES ('14071', '0', '0', '0', '0', '16', '0');
+INSERT INTO `spell_proc_event` VALUES ('13983', '0', '0', '0', '0', '16', '0');
+INSERT INTO `spell_proc_event` VALUES ('13987', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('13959', '0', '0', '0', '0', '1048578', '0');
+INSERT INTO `spell_proc_event` VALUES ('13960', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13961', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13962', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13963', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13964', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13867', '0', '88', '0', '16', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('13879', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('13886', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13754', '0', '88', '0', '16', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('13767', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13800', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13801', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13802', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13803', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13709', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13716', '0', '0', '0', '0', '1026', '0');
+INSERT INTO `spell_proc_event` VALUES ('13616', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13585', '0', '0', '0', '0', '1026', '0');
+INSERT INTO `spell_proc_event` VALUES ('13483', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('13358', '0', '0', '0', '0', '16', '0');
+INSERT INTO `spell_proc_event` VALUES ('13260', '0', '0', '0', '0', '128', '0');
+INSERT INTO `spell_proc_event` VALUES ('13299', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13320', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('13045', '0', '0', '0', '0', '8658944', '0');
+INSERT INTO `spell_proc_event` VALUES ('13046', '0', '0', '0', '0', '8658944', '0');
+INSERT INTO `spell_proc_event` VALUES ('13047', '0', '0', '0', '0', '8658944', '0');
+INSERT INTO `spell_proc_event` VALUES ('13048', '0', '0', '0', '0', '8658944', '0');
+INSERT INTO `spell_proc_event` VALUES ('13078', '0', '0', '0', '0', '4', '0');
+INSERT INTO `spell_proc_event` VALUES ('13159', '0', '0', '0', '0', '32768', '0');
+INSERT INTO `spell_proc_event` VALUES ('12999', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13000', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13001', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('13002', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12947', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12958', '0', '88', '257', '2048', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12971', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('12972', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('12973', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('12974', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('12849', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('12787', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12799', '0', '65', '257', '1024', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12800', '0', '65', '257', '1024', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12812', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12813', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12814', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12815', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12834', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('12782', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('12724', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('12725', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('12726', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('12727', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('12797', '0', '65', '257', '1024', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12867', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('12701', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12702', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12703', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12704', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12668', '0', '0', '26', '2', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12598', '0', '88', '237', '16384', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12544', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('12546', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12550', '0', '0', '0', '0', '1026', '0');
+INSERT INTO `spell_proc_event` VALUES ('12552', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12556', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('12574', '0', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12575', '0', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12576', '0', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12577', '0', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12529', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('12539', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12357', '2', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12358', '2', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12359', '2', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12360', '2', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12311', '0', '88', '257', '2048', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12317', '0', '0', '0', '0', '8658944', '0');
+INSERT INTO `spell_proc_event` VALUES ('12319', '0', '0', '0', '0', '69632', '0');
+INSERT INTO `spell_proc_event` VALUES ('12322', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12246', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('12254', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12281', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12284', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12289', '0', '0', '26', '2', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('12292', '0', '0', '0', '0', '128', '0');
+INSERT INTO `spell_proc_event` VALUES ('12298', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('12094', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('11984', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12099', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('11919', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('11959', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('11961', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('11964', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('12002', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('12038', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('11830', '0', '0', '0', '0', '128', '0');
+INSERT INTO `spell_proc_event` VALUES ('11838', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('11441', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('11371', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('11255', '0', '0', '237', '16384', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('11213', '0', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('11103', '2', '0', '0', '0', '131072', '0');
+INSERT INTO `spell_proc_event` VALUES ('10868', '0', '0', '0', '0', '2048', '0');
+INSERT INTO `spell_proc_event` VALUES ('10727', '0', '0', '0', '0', '1026', '0');
+INSERT INTO `spell_proc_event` VALUES ('10431', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('10432', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('10400', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('10219', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('10220', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('10092', '0', '0', '0', '0', '128', '0');
+INSERT INTO `spell_proc_event` VALUES ('10095', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('10022', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('9793', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('9778', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('9782', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('9784', '0', '0', '0', '0', '64', '0');
+INSERT INTO `spell_proc_event` VALUES ('9797', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('9801', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('9808', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('9460', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('9463', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('9276', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('9205', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('9233', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('9160', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('9084', '0', '0', '0', '0', '8', '0');
+INSERT INTO `spell_proc_event` VALUES ('8981', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('8852', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('8876', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('8788', '0', '0', '0', '0', '1026', '0');
+INSERT INTO `spell_proc_event` VALUES ('8612', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('8601', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('8397', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('8247', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('8224', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('8134', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('7999', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('7849', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('7806', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('7807', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('7808', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('7721', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('7722', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('7723', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('7724', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('7725', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('7726', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('7711', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('7601', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('7614', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('7615', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('7616', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('7617', '0', '0', '0', '0', '1048578', '0');
+INSERT INTO `spell_proc_event` VALUES ('7618', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('7619', '0', '0', '0', '0', '1048578', '0');
+INSERT INTO `spell_proc_event` VALUES ('7445', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('7446', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('7276', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('7300', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('7301', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('7302', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('7320', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('7486', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('7095', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('7098', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('7102', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('7103', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('7137', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('6909', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('6921', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('6923', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('6947', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('6961', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('6867', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('6871', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('6750', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('6752', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('6645', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('6592', '0', '0', '0', '0', '1138', '0');
+INSERT INTO `spell_proc_event` VALUES ('6593', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('6433', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('6134', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('6135', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('5976', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5977', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5979', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5811', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('5751', '0', '0', '0', '0', '2048', '0');
+INSERT INTO `spell_proc_event` VALUES ('5752', '0', '0', '0', '0', '2049', '0');
+INSERT INTO `spell_proc_event` VALUES ('5753', '0', '0', '0', '0', '2048', '0');
+INSERT INTO `spell_proc_event` VALUES ('5754', '0', '0', '0', '0', '2048', '0');
+INSERT INTO `spell_proc_event` VALUES ('5755', '0', '0', '0', '0', '2048', '0');
+INSERT INTO `spell_proc_event` VALUES ('5756', '0', '0', '0', '0', '2048', '0');
+INSERT INTO `spell_proc_event` VALUES ('5680', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5638', '0', '0', '0', '0', '2048', '0');
+INSERT INTO `spell_proc_event` VALUES ('5639', '0', '0', '0', '0', '2048', '0');
+INSERT INTO `spell_proc_event` VALUES ('5640', '0', '0', '0', '0', '2048', '0');
+INSERT INTO `spell_proc_event` VALUES ('5641', '0', '0', '0', '0', '2048', '0');
+INSERT INTO `spell_proc_event` VALUES ('5642', '0', '0', '0', '0', '2048', '0');
+INSERT INTO `spell_proc_event` VALUES ('5643', '0', '0', '0', '0', '2048', '0');
+INSERT INTO `spell_proc_event` VALUES ('5549', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5550', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5551', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5552', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5553', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5554', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5575', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5580', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5513', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5429', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5430', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5431', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5432', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5433', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5352', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5353', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5354', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5364', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('5368', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('5369', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('5427', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5370', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('5377', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5301', '0', '0', '0', '0', '112', '0');
+INSERT INTO `spell_proc_event` VALUES ('5341', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5342', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5343', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5344', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5345', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5346', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5349', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5350', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5351', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5262', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5202', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5205', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('5104', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('5118', '0', '0', '0', '0', '32768', '0');
+INSERT INTO `spell_proc_event` VALUES ('4932', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('4951', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('4525', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('4495', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4496', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4512', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('4387', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4388', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4389', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4390', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4315', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4317', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4493', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4494', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4279', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4283', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4284', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4241', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4242', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4245', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4144', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('4161', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('4112', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('4113', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('4114', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('4115', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('4133', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('4136', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('4138', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('4140', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('4142', '0', '0', '0', '0', '4', '0');
+INSERT INTO `spell_proc_event` VALUES ('4070', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('4051', '0', '0', '0', '0', '128', '0');
+INSERT INTO `spell_proc_event` VALUES ('3637', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('3582', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('3616', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('3509', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('3512', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('3424', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('3440', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('3436', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('3439', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('3394', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('3417', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('3418', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('3338', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('3284', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('3235', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('114', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('168', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('324', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('325', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('637', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('646', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('648', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('742', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('905', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('945', '0', '0', '0', '0', '1049602', '0');
+INSERT INTO `spell_proc_event` VALUES ('1028', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('1034', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('1048', '0', '0', '0', '0', '2', '0');
+INSERT INTO `spell_proc_event` VALUES ('1707', '5', '99', '0', '0', '16384', '0');
+INSERT INTO `spell_proc_event` VALUES ('2095', '0', '0', '0', '0', '1139', '0');
+INSERT INTO `spell_proc_event` VALUES ('2652', '0', '0', '0', '0', '1', '0');
+INSERT INTO `spell_proc_event` VALUES ('2689', '0', '0', '0', '0', '4', '0');
+INSERT INTO `spell_proc_event` VALUES ('2852', '0', '0', '0', '0', '2', '0');
diff --git a/sql/updates/0.6/3092_quest_template.sql b/sql/updates/0.6/3092_quest_template.sql
new file mode 100644
index 00000000000..fb547e8040e
--- /dev/null
+++ b/sql/updates/0.6/3092_quest_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `quest_template` CHANGE `PrevQuestId` `PrevQuestId` int(11) NOT NULL default '0';
+ALTER TABLE `quest_template` CHANGE `NextQuestId` `NextQuestId` int(11) NOT NULL default '0'; \ No newline at end of file
diff --git a/sql/updates/0.6/3096_spell_proc_event.sql b/sql/updates/0.6/3096_spell_proc_event.sql
new file mode 100644
index 00000000000..3ee8d4f66e7
--- /dev/null
+++ b/sql/updates/0.6/3096_spell_proc_event.sql
@@ -0,0 +1 @@
+UPDATE `spell_proc_event` set `procFlags`=524288 where `entry` in (5638, 5639, 5640, 5641, 5642, 5643, 5751, 5752, 5753, 5754, 5755, 5756);
diff --git a/sql/updates/0.6/3106_command.sql b/sql/updates/0.6/3106_command.sql
new file mode 100644
index 00000000000..1f48ab806ec
--- /dev/null
+++ b/sql/updates/0.6/3106_command.sql
@@ -0,0 +1,5 @@
+UPDATE `command` SET `help` = 'Syntax: .banaccount $name\r\n\r\nBan account $name (can be viewed by players by using the .pinfo command) and kick affected players currently logged in.' WHERE `name` = 'banaccount';
+UPDATE `command` SET `help` = 'Syntax: .banip #ip\r\n\r\nBans logging into the server from computers with the provided IP address, and kicks all affected players.' WHERE `name` = 'banip';
+UPDATE `command` SET `help` = 'Syntax: .unbanaccount $name\r\n\r\nUnban account $name.' WHERE `name` = 'unbanaccount';
+UPDATE `command` SET `help` = 'Syntax: .unbanip #ip\r\n\r\nUnban the provided IP address from the server.' WHERE `name` = 'unbanip';
+UPDATE `command` SET `help` = 'Syntax: .kick [$charactername]\r\n\r\nKick the given character name from the world. If no character name is provided then the selected player (except for yourself) will be kicked.' WHERE `name` = 'kick';
diff --git a/sql/updates/0.6/3107_playercreateinfo_skill.sql b/sql/updates/0.6/3107_playercreateinfo_skill.sql
new file mode 100644
index 00000000000..9d2978ce3f5
--- /dev/null
+++ b/sql/updates/0.6/3107_playercreateinfo_skill.sql
@@ -0,0 +1,6 @@
+ALTER TABLE `playercreateinfo_skill`
+ MODIFY COLUMN `SkillMin` smallint(5) NOT NULL default '0',
+ MODIFY COLUMN `SkillMax` smallint(5) NOT NULL default '0';
+
+UPDATE `playercreateinfo_skill` SET `SkillMin` = '-1' WHERE `SkillMin` = 300;
+UPDATE `playercreateinfo_skill` SET `SkillMax` = '-1' WHERE `SkillMax` = 300;
diff --git a/sql/updates/0.6/3108_quest_template.sql b/sql/updates/0.6/3108_quest_template.sql
new file mode 100644
index 00000000000..1ab760fd668
--- /dev/null
+++ b/sql/updates/0.6/3108_quest_template.sql
@@ -0,0 +1,5 @@
+UPDATE `quest_template` SET `PrevQuestId`=`HaveQuestId` * '-1' WHERE `HaveQuestId`!='0' AND `PrevQuestId`='0';
+ALTER TABLE `quest_template` DROP `HaveQuestId`;
+
+ALTER TABLE `quest_template` ADD COLUMN `NextQuestInChain` int(11) unsigned NOT NULL default '0' AFTER `ExclusiveGroup`;
+UPDATE `quest_template` SET `NextQuestInChain`=`NextQuestId` WHERE `NextQuestId`>'0'; \ No newline at end of file
diff --git a/sql/updates/0.6/3110_quest_template.sql b/sql/updates/0.6/3110_quest_template.sql
new file mode 100644
index 00000000000..c7cc4d7a2f3
--- /dev/null
+++ b/sql/updates/0.6/3110_quest_template.sql
@@ -0,0 +1,98 @@
+update `quest_template` set `RewRepFaction1` =
+case `RewRepFaction1`
+ when 0 then 0
+ when 11 then 72
+ when 12 then 72
+ when 23 then 54
+ when 29 then 76
+ when 55 then 47
+ when 64 then 54
+ when 68 then 68
+ when 69 then 470
+ when 79 then 69
+ when 80 then 69
+ when 83 then 67
+ when 85 then 76
+ when 104 then 81
+ when 105 then 81
+ when 118 then 68
+ when 119 then 87
+ when 120 then 21
+ when 121 then 21
+ when 126 then 530
+ when 132 then 92
+ when 133 then 93
+ when 414 then 576
+ when 471 then 349
+ when 474 then 369
+ when 534 then 469
+ when 635 then 609
+ when 694 then 471
+ when 776 then 910
+ when 794 then 529
+ when 854 then 577
+ when 874 then 589
+ when 994 then 609
+ when 1214 then 729
+ when 1216 then 730
+ when 1514 then 890
+ when 1515 then 889
+ when 1555 then 909
+ when 1574 then 270
+ when 1577 then 509
+ when 1598 then 510
+ when 1601 then 910
+ when 1635 then 169
+
+ else `RewRepFaction1`*'-1'
+end;
+
+update `quest_template` set `RewRepFaction2` =
+case `RewRepFaction2`
+ when 0 then 0
+ when 11 then 72
+ when 12 then 72
+ when 23 then 54
+ when 29 then 76
+ when 55 then 47
+ when 64 then 54
+ when 68 then 68
+ when 69 then 470
+ when 79 then 69
+ when 80 then 69
+ when 83 then 67
+ when 85 then 76
+ when 104 then 81
+ when 105 then 81
+ when 118 then 68
+ when 119 then 87
+ when 120 then 21
+ when 121 then 21
+ when 126 then 530
+ when 132 then 92
+ when 133 then 93
+ when 414 then 576
+ when 471 then 349
+ when 474 then 369
+ when 534 then 469
+ when 635 then 609
+ when 694 then 471
+ when 776 then 910
+ when 794 then 529
+ when 854 then 577
+ when 874 then 589
+ when 994 then 609
+ when 1214 then 729
+ when 1216 then 730
+ when 1514 then 890
+ when 1515 then 889
+ when 1555 then 909
+ when 1574 then 270
+ when 1577 then 509
+ when 1598 then 510
+ when 1601 then 910
+ when 1635 then 169
+
+ else `RewRepFaction2`*'-1'
+end;
+
diff --git a/sql/updates/0.6/3115_quest_template.sql b/sql/updates/0.6/3115_quest_template.sql
new file mode 100644
index 00000000000..13afbd32250
--- /dev/null
+++ b/sql/updates/0.6/3115_quest_template.sql
@@ -0,0 +1,7 @@
+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`,
+ ADD COLUMN `RewRepValue3` int(11) NOT NULL default '0' AFTER `RewRepValue2`,
+ ADD COLUMN `RewRepValue4` int(11) NOT NULL default '0' AFTER `RewRepValue3`,
+ ADD COLUMN `RewRepValue5` int(11) NOT NULL default '0' AFTER `RewRepValue4`;
diff --git a/sql/updates/0.7/3138_character_inventory.sql b/sql/updates/0.7/3138_character_inventory.sql
new file mode 100644
index 00000000000..bd4bbc47d5b
--- /dev/null
+++ b/sql/updates/0.7/3138_character_inventory.sql
@@ -0,0 +1,2 @@
+ALTER TABLE character_inventory
+ ADD UNIQUE KEY `idx_item` (`item`);
diff --git a/sql/updates/0.7/3138_disenchaning_loot_template.sql b/sql/updates/0.7/3138_disenchaning_loot_template.sql
new file mode 100644
index 00000000000..2145e913a32
--- /dev/null
+++ b/sql/updates/0.7/3138_disenchaning_loot_template.sql
@@ -0,0 +1,11 @@
+DROP TABLE IF EXISTS `disenchant_loot_template`;
+CREATE TABLE `disenchant_loot_template` (
+ `entry` int(11) unsigned NOT NULL default '0',
+ `item` int(11) unsigned NOT NULL default '0',
+ `ChanceOrRef` float NOT NULL default '100',
+ `QuestChanceOrGroup` tinyint(3) NOT NULL default '0',
+ `mincount` tinyint(3) unsigned NOT NULL default '1',
+ `maxcount` tinyint(3) unsigned NOT NULL default '1',
+ `quest_freeforall` tinyint(3) unsigned NOT NULL default '1',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
diff --git a/sql/updates/0.7/3138_item_template.sql b/sql/updates/0.7/3138_item_template.sql
new file mode 100644
index 00000000000..a32dc187afe
--- /dev/null
+++ b/sql/updates/0.7/3138_item_template.sql
@@ -0,0 +1,2 @@
+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
new file mode 100644
index 00000000000..0f9737ccf24
--- /dev/null
+++ b/sql/updates/0.7/3141_spell_threat.sql
@@ -0,0 +1,19 @@
+DROP TABLE IF EXISTS `spell_threat`;
+CREATE TABLE `spell_threat` (
+ `entry` int(10) unsigned NOT NULL,
+ `Threat` int(11) NOT NULL,
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
+
+--
+-- Dumping data for table `spell_threat`
+--
+
+/*!40000 ALTER TABLE `spell_threat` DISABLE KEYS */;
+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),
+ (23924,220),(23925,250),(6809,89),(8972,118),(9745,148),(9880,178),(770,108),(778,108),(9749,108),(9907,108),
+ (17735,200),(17750,300),(17751,450),(17752,600),(20736,100),(14274,200),(15629,300),(15630,400),(15631,500),(15632,600);
+/*!40000 ALTER TABLE `spell_threat` ENABLE KEYS */;
diff --git a/sql/updates/0.7/3144_command.sql b/sql/updates/0.7/3144_command.sql
new file mode 100644
index 00000000000..cf333ff6b85
--- /dev/null
+++ b/sql/updates/0.7/3144_command.sql
@@ -0,0 +1,5 @@
+INSERT INTO `command` (`name`,`security`,`help`) VALUES ('.lookupobject',3,'Syntax: .lookupobject $objname\r\n\r\nLooks up an gameobject by $objname, and returns all matches with their Gameobject ID\'s.');
+INSERT INTO `command` (`name`,`security`,`help`) VALUES ('.listcreature',3,'Syntax: .listcreature #creature_id [#max_count]\r\n\r\nOutput creatures with creature id #creature_id found in world. Output creature guids and coordinates sorted by distance from character. Will be output maximum #max_count creatures. If #max_count not provided use 10 as default value.');
+INSERT INTO `command` (`name`,`security`,`help`) VALUES ('.listobject',3,'Syntax: .listobject #gameobject_id [#max_count]\r\n\r\nOutput gameobjects with gameobject id #gameobject_id found in world. Output gameobject guids and coordinates sorted by distance from character. Will be output maximum #max_count gameobject. If #max_count not provided use 10 as default value.');
+INSERT INTO `command` (`name`,`security`,`help`) VALUES ('.listitem',3,'Syntax: .listitem #item_id [#max_count]\r\n\r\nOutput items with item id #item_id found in all character inventories, mails and auctions. Output item guids, item owner guid, owner account and owner name. Will be output maximum #max_count items. If #max_count not provided use 10 as default value.');
+
diff --git a/sql/updates/0.7/3150_command.sql b/sql/updates/0.7/3150_command.sql
new file mode 100644
index 00000000000..991744885d6
--- /dev/null
+++ b/sql/updates/0.7/3150_command.sql
@@ -0,0 +1,3 @@
+DELETE FROM `command` WHERE `name` = 'random';
+DELETE FROM `command` WHERE `name` = 'setmovetype';
+INSERT INTO `command` (`name`,`security`,`help`) VALUES ('setmovetype',2,'Syntax: .setmovetype [#creature_guid] stay/random/way\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 existed waypoints for creature will be removed from database. If creature is dead then movement type will aplied at creature respawm.');
diff --git a/sql/updates/0.7/3162_character_queststatus.sql b/sql/updates/0.7/3162_character_queststatus.sql
new file mode 100644
index 00000000000..6590539de92
--- /dev/null
+++ b/sql/updates/0.7/3162_character_queststatus.sql
@@ -0,0 +1,2 @@
+UPDATE `character_queststatus` SET `rewarded`='1' WHERE `completed_once`='1';
+ALTER TABLE `character_queststatus` DROP `completed_once`; \ No newline at end of file
diff --git a/sql/updates/0.7/3162_command.sql b/sql/updates/0.7/3162_command.sql
new file mode 100644
index 00000000000..052fb1f4cc9
--- /dev/null
+++ b/sql/updates/0.7/3162_command.sql
@@ -0,0 +1 @@
+UPDATE `command` SET `help`='Syntax: .recall\r\n\r\nTeleport you to the place where you have been before using the .tele command.' WHERE `name`='recall'; \ No newline at end of file
diff --git a/sql/updates/0.7/3162_quest_template.sql b/sql/updates/0.7/3162_quest_template.sql
new file mode 100644
index 00000000000..dfc9fc138ed
--- /dev/null
+++ b/sql/updates/0.7/3162_quest_template.sql
@@ -0,0 +1,2 @@
+UPDATE `quest_template` SET `SpecialFlags`=`SpecialFlags`|'32' WHERE `Repeatable`='1';
+ALTER TABLE `quest_template` DROP `Repeatable`; \ No newline at end of file
diff --git a/sql/updates/0.7/3174_command.sql b/sql/updates/0.7/3174_command.sql
new file mode 100644
index 00000000000..c42c9b4874d
--- /dev/null
+++ b/sql/updates/0.7/3174_command.sql
@@ -0,0 +1 @@
+UPDATE `command` SET `help`='Syntax: .recall [$playername]\r\n\r\nTeleport $playername or selected player to the place where he has been before last use of a teleportation command. If no $playername is entered and no player is selected, it will teleport you.' WHERE `name`='recall'; \ No newline at end of file
diff --git a/sql/updates/0.7/3179_quest_template.sql b/sql/updates/0.7/3179_quest_template.sql
new file mode 100644
index 00000000000..9dcc96bcd2e
--- /dev/null
+++ b/sql/updates/0.7/3179_quest_template.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `quest_template` ADD COLUMN `Repeatable` tinyint(1) unsigned NOT NULL default '0';
+
+UPDATE `quest_template` SET `Repeatable`='1' WHERE `SpecialFlags`&'32'='32'; \ No newline at end of file
diff --git a/sql/updates/0.7/3180_spell_proc_event.sql b/sql/updates/0.7/3180_spell_proc_event.sql
new file mode 100644
index 00000000000..2058c104478
--- /dev/null
+++ b/sql/updates/0.7/3180_spell_proc_event.sql
@@ -0,0 +1,2 @@
+delete from `spell_proc_event` where `entry` = 23547;
+insert into `spell_proc_event` values(23547,0,0,0,0,32,0);
diff --git a/sql/updates/0.7/3183_command.sql b/sql/updates/0.7/3183_command.sql
new file mode 100644
index 00000000000..434aac6675d
--- /dev/null
+++ b/sql/updates/0.7/3183_command.sql
@@ -0,0 +1 @@
+INSERT INTO `command` VALUES('lookupitemset',3,'Syntax: .lookupitemset $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.7/3186_command.sql b/sql/updates/0.7/3186_command.sql
new file mode 100644
index 00000000000..c5cc1d798a4
--- /dev/null
+++ b/sql/updates/0.7/3186_command.sql
@@ -0,0 +1 @@
+INSERT INTO `command` VALUES('removequest',3,'Syntax: .removequest #quest_id\r\n\r\nSet quest #quest_id state to not completed and not active (and remove from active quest list) for selected player.');
diff --git a/sql/updates/0.7/3202_character_gifts.sql b/sql/updates/0.7/3202_character_gifts.sql
new file mode 100644
index 00000000000..cdbbf97b020
--- /dev/null
+++ b/sql/updates/0.7/3202_character_gifts.sql
@@ -0,0 +1,10 @@
+DROP TABLE IF EXISTS `character_gifts`;
+
+CREATE TABLE `character_gifts` (
+ `guid` int(20) unsigned NOT NULL default '0',
+ `item_guid` int(11) unsigned NOT NULL default '0',
+ `entry` int(20) unsigned NOT NULL default '0',
+ `flags` int(20) unsigned NOT NULL default '0',
+ KEY `idx_guid` (`guid`),
+ PRIMARY KEY (`item_guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
diff --git a/sql/updates/0.7/3205_character_inventory.sql b/sql/updates/0.7/3205_character_inventory.sql
new file mode 100644
index 00000000000..4672fc447d4
--- /dev/null
+++ b/sql/updates/0.7/3205_character_inventory.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `character_inventory` DROP PRIMARY KEY, DROP KEY `idx_item`;
+
+ALTER TABLE `character_inventory` ADD PRIMARY KEY (`item`);
diff --git a/sql/updates/0.7/3231_quest_template.sql b/sql/updates/0.7/3231_quest_template.sql
new file mode 100644
index 00000000000..5090b0db03e
--- /dev/null
+++ b/sql/updates/0.7/3231_quest_template.sql
@@ -0,0 +1,9 @@
+ALTER TABLE `quest_template` ADD COLUMN `ReqSourceCount1` int(11) unsigned NOT NULL default '0' AFTER `ReqSourceId4`;
+ALTER TABLE `quest_template` ADD COLUMN `ReqSourceCount2` int(11) unsigned NOT NULL default '0' AFTER `ReqSourceCount1`;
+ALTER TABLE `quest_template` ADD COLUMN `ReqSourceCount3` int(11) unsigned NOT NULL default '0' AFTER `ReqSourceCount2`;
+ALTER TABLE `quest_template` ADD COLUMN `ReqSourceCount4` int(11) unsigned NOT NULL default '0' AFTER `ReqSourceCount3`;
+
+UPDATE `quest_template` SET `ReqSourceCount1`='1' WHERE `ReqSourceId1`!='0';
+UPDATE `quest_template` SET `ReqSourceCount2`='1' WHERE `ReqSourceId2`!='0';
+UPDATE `quest_template` SET `ReqSourceCount3`='1' WHERE `ReqSourceId3`!='0';
+UPDATE `quest_template` SET `ReqSourceCount4`='1' WHERE `ReqSourceId4`!='0'; \ No newline at end of file
diff --git a/sql/updates/0.7/3245_item_text.sql b/sql/updates/0.7/3245_item_text.sql
new file mode 100644
index 00000000000..f24390f5fc6
--- /dev/null
+++ b/sql/updates/0.7/3245_item_text.sql
@@ -0,0 +1,6 @@
+DROP TABLE IF EXISTS `item_text`;
+CREATE TABLE `item_text` (
+ `id` int(11) NOT NULL default '0',
+ `text` longtext,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System';
diff --git a/sql/updates/0.7/3245_mail.sql b/sql/updates/0.7/3245_mail.sql
new file mode 100644
index 00000000000..ed73422325b
--- /dev/null
+++ b/sql/updates/0.7/3245_mail.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `mail`
+ CHANGE COLUMN `itemPageId` `itemTextId` int(11) unsigned NOT NULL default '0';
+
diff --git a/sql/updates/0.7/3245_page_text.sql b/sql/updates/0.7/3245_page_text.sql
new file mode 100644
index 00000000000..93045d1e038
--- /dev/null
+++ b/sql/updates/0.7/3245_page_text.sql
@@ -0,0 +1,7 @@
+ALTER TABLE `item_page` RENAME TO `page_text`;
+ALTER TABLE `page_text` ENGINE = MyISAM;
+
+ALTER TABLE `page_text`
+ DROP PRIMARY KEY,
+ CHANGE COLUMN `id` `entry` int(11) NOT NULL default '0',
+ ADD PRIMARY KEY (`entry`);
diff --git a/sql/updates/0.7/3246_character_reputation.sql b/sql/updates/0.7/3246_character_reputation.sql
new file mode 100644
index 00000000000..806e5424bcf
--- /dev/null
+++ b/sql/updates/0.7/3246_character_reputation.sql
@@ -0,0 +1,24 @@
+INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 47 , 20, '0', '1' FROM `character` WHERE `race` = 1 OR `race` = 3 OR `race` = 4 OR `race` = 7;
+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;
+
+INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 54 , 18, '0', '1' FROM `character` WHERE `race` = 1 OR `race` = 3 OR `race` = 4 OR `race` = 7;
+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;
+
+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;
+INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 68 , 17, '0', '1' FROM `character` WHERE `race` = 2 OR `race` = 5 OR `race` = 6 OR `race` = 8;
+
+INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 69 , 21, '0', '1' FROM `character` WHERE `race` = 1 OR `race` = 3 OR `race` = 4 OR `race` = 7;
+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;
+
+INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 72 , 19, '0', '1' FROM `character` WHERE `race` = 1 OR `race` = 3 OR `race` = 4 OR `race` = 7;
+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;
+
+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;
+INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 76 , 14, '0', '1' FROM `character` WHERE `race` = 2 OR `race` = 5 OR `race` = 6 OR `race` = 8;
+
+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;
+INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 81 , 16, '0', '1' FROM `character` WHERE `race` = 2 OR `race` = 5 OR `race` = 6 OR `race` = 8;
+
+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;
+INSERT IGNORE INTO `character_reputation` SELECT `character`.`guid`, 530, 15, '0', '1' FROM `character` WHERE `race` = 2 OR `race` = 5 OR `race` = 6 OR `race` = 8;
+
diff --git a/sql/updates/0.7/3251_commands.sql b/sql/updates/0.7/3251_commands.sql
new file mode 100644
index 00000000000..b5d2f029f0b
--- /dev/null
+++ b/sql/updates/0.7/3251_commands.sql
@@ -0,0 +1,2 @@
+DELETE FROM `command` WHERE `name` = 'password';
+INSERT INTO `command` VALUES ('password',0,'Syntax: .password $old_password $new_password $new_password\r\n\r\nChange your account password.');
diff --git a/sql/updates/0.7/3252.sql b/sql/updates/0.7/3252.sql
new file mode 100644
index 00000000000..09e01de6713
--- /dev/null
+++ b/sql/updates/0.7/3252.sql
@@ -0,0 +1,74 @@
+ALTER TABLE `areatrigger_template` MODIFY COLUMN `required_level` tinyint(3) unsigned NOT NULL default '0';
+ALTER TABLE `item_template` MODIFY COLUMN `DisenchantID` int(11) unsigned NOT NULL default '0';
+
+ALTER TABLE `auctionhouse` MODIFY COLUMN `id` int(11) unsigned NOT NULL default '0';
+
+ALTER TABLE `corpse` MODIFY COLUMN `player` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier';
+
+ALTER TABLE `creature_template`
+ MODIFY COLUMN `rangedattackpower` smallint(5) unsigned NOT NULL default '0',
+ MODIFY COLUMN `type` tinyint(3) unsigned default '0';
+
+ALTER TABLE `disenchant_loot_template` MODIFY COLUMN `entry` int(11) unsigned NOT NULL default '0' COMMENT 'Recommended id selection: item_level*100 + item_quality';
+
+UPDATE `item_template` SET `stat_type1`='0' WHERE `stat_type1`<'0';
+UPDATE `item_template` SET `stat_type2`='0' WHERE `stat_type2`<'0';
+UPDATE `item_template` SET `stat_type3`='0' WHERE `stat_type3`<'0';
+UPDATE `item_template` SET `stat_type4`='0' WHERE `stat_type4`<'0';
+UPDATE `item_template` SET `stat_type5`='0' WHERE `stat_type5`<'0';
+UPDATE `item_template` SET `stat_type6`='0' WHERE `stat_type6`<'0';
+UPDATE `item_template` SET `stat_type7`='0' WHERE `stat_type7`<'0';
+UPDATE `item_template` SET `stat_type8`='0' WHERE `stat_type8`<'0';
+UPDATE `item_template` SET `stat_type9`='0' WHERE `stat_type9`<'0';
+UPDATE `item_template` SET `stat_type10`='0' WHERE `stat_type10`<'0';
+
+ALTER TABLE `item_template`
+ MODIFY COLUMN `AllowableClass` mediumint(9) NOT NULL default '0',
+ MODIFY COLUMN `AllowableRace` mediumint(9) NOT NULL default '0',
+ MODIFY COLUMN `stat_type1` tinyint(4) unsigned NOT NULL default '0',
+ MODIFY COLUMN `stat_value1` smallint(6) NOT NULL default '0',
+ MODIFY COLUMN `stat_type2` tinyint(4) unsigned NOT NULL default '0',
+ MODIFY COLUMN `stat_value2` smallint(6) NOT NULL default '0',
+ MODIFY COLUMN `stat_type3` tinyint(4) unsigned NOT NULL default '0',
+ MODIFY COLUMN `stat_value3` smallint(6) NOT NULL default '0',
+ MODIFY COLUMN `stat_type4` tinyint(4) unsigned NOT NULL default '0',
+ MODIFY COLUMN `stat_value4` smallint(6) NOT NULL default '0',
+ MODIFY COLUMN `stat_type5` tinyint(4) unsigned NOT NULL default '0',
+ MODIFY COLUMN `stat_value5` smallint(6) NOT NULL default '0',
+ MODIFY COLUMN `stat_type6` tinyint(4) unsigned NOT NULL default '0',
+ MODIFY COLUMN `stat_value6` smallint(6) NOT NULL default '0',
+ MODIFY COLUMN `stat_type7` tinyint(4) unsigned NOT NULL default '0',
+ MODIFY COLUMN `stat_value7` smallint(6) NOT NULL default '0',
+ MODIFY COLUMN `stat_type8` tinyint(4) unsigned NOT NULL default '0',
+ MODIFY COLUMN `stat_value8` smallint(6) NOT NULL default '0',
+ MODIFY COLUMN `stat_type9` tinyint(4) unsigned NOT NULL default '0',
+ MODIFY COLUMN `stat_value9` smallint(6) NOT NULL default '0',
+ MODIFY COLUMN `stat_type10` tinyint(4) unsigned NOT NULL default '0',
+ MODIFY COLUMN `stat_value10` smallint(6) NOT NULL default '0',
+ MODIFY COLUMN `dmg_type1` tinyint(3) unsigned NOT NULL default '0',
+ MODIFY COLUMN `dmg_type2` tinyint(3) unsigned NOT NULL default '0',
+ MODIFY COLUMN `dmg_type3` tinyint(3) unsigned NOT NULL default '0',
+ MODIFY COLUMN `dmg_type4` tinyint(3) unsigned NOT NULL default '0',
+ MODIFY COLUMN `dmg_type5` tinyint(3) unsigned NOT NULL default '0',
+ MODIFY COLUMN `Material` int(30) NOT NULL default '0';
+
+ALTER TABLE `pet_name_generation` ENGINE=MyISAM, DEFAULT CHARSET=utf8;
+ALTER TABLE `pet_name_generation` MODIFY COLUMN `word` tinytext NOT NULL;
+
+ALTER TABLE `quest_template`
+ MODIFY COLUMN `ReqSourceId1` int(11) unsigned NOT NULL default '0',
+ MODIFY COLUMN `ReqSourceId2` int(11) unsigned NOT NULL default '0',
+ MODIFY COLUMN `ReqSourceId3` int(11) unsigned NOT NULL default '0',
+ MODIFY COLUMN `ReqSourceId4` int(11) unsigned NOT NULL default '0',
+ MODIFY COLUMN `RewRepFaction1` int(11) unsigned NOT NULL default '0' COMMENT 'faction id from Faction.dbc in this case',
+ MODIFY COLUMN `RewRepFaction2` int(11) unsigned NOT NULL default '0' COMMENT 'faction id from Faction.dbc in this case',
+ MODIFY COLUMN `RewRepFaction3` int(11) unsigned NOT NULL default '0' COMMENT 'faction id from Faction.dbc in this case',
+ MODIFY COLUMN `RewRepFaction4` int(11) unsigned NOT NULL default '0' COMMENT 'faction id from Faction.dbc in this case',
+ MODIFY COLUMN `RewRepFaction5` int(11) unsigned NOT NULL default '0' COMMENT 'faction id from Faction.dbc in this case';
+
+ALTER TABLE `scripts` ENGINE=MyISAM, DEFAULT CHARSET=utf8;
+ALTER TABLE `scripts` MODIFY COLUMN `datatext` text NOT NULL;
+
+ALTER TABLE `spell_proc_event` ENGINE=MyISAM, DEFAULT CHARSET=utf8;
+
+ALTER TABLE `spell_scripts` ENGINE=MyISAM, DEFAULT CHARSET=utf8; \ No newline at end of file
diff --git a/sql/updates/0.7/3296_commands.sql b/sql/updates/0.7/3296_commands.sql
new file mode 100644
index 00000000000..344d99b314f
--- /dev/null
+++ b/sql/updates/0.7/3296_commands.sql
@@ -0,0 +1,4 @@
+DELETE FROM `command` WHERE `name` = 'learnskill';
+DELETE FROM `command` WHERE `name` = 'unlearnskill';
+DELETE FROM `command` WHERE `name` = 'fixunlearn';
+
diff --git a/sql/updates/0.7/3296_playercreateinfo_skill.sql b/sql/updates/0.7/3296_playercreateinfo_skill.sql
new file mode 100644
index 00000000000..788b8924308
--- /dev/null
+++ b/sql/updates/0.7/3296_playercreateinfo_skill.sql
@@ -0,0 +1,32 @@
+DROP TABLE IF EXISTS `playercreateinfo_skill`;
+CREATE TABLE `playercreateinfo_skill` (
+ `race` tinyint(3) unsigned NOT NULL default '0',
+ `class` tinyint(3) unsigned NOT NULL default '0',
+ `Skill` mediumint(8) unsigned NOT NULL default '0',
+ `Note` varchar(255) default NULL,
+ PRIMARY KEY (`race`,`class`,`Skill`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+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'),
+(1,1,26,'Arms'),(2,1,26,'Arms'),(3,1,26,'Arms'),(4,1,26,'Arms'),(5,1,26,'Arms'),(6,1,26,'Arms'),(7,1,26,'Arms'),(8,1,26,'Arms'),
+(1,4,38,'Combat'),(2,4,38,'Combat'),(3,4,38,'Combat'),(4,4,38,'Combat'),(5,4,38,'Combat'),(7,4,38,'Combat'),(8,4,38,'Combat'),
+(2,3,51,'Survival'),(3,3,51,'Survival'),(4,3,51,'Survival'),(6,3,51,'Survival'),(8,3,51,'Survival'),
+(1,5,56,'Holy'),(3,5,56,'Holy'),(4,5,56,'Holy'),(5,5,56,'Holy'),(8,5,56,'Holy'),(1,2,594,'Holy'),(3,2,594,'Holy'),
+(3,1,101,'Dwarven Racial'),(3,2,101,'Dwarven Racial'),(3,3,101,'Dwarven Racial'),(3,4,101,'Dwarven Racial'),(3,5,101,'Dwarven Racial'),
+(6,1,124,'Tauren Racial'),(6,3,124,'Tauren Racial'),(6,7,124,'Tauren Racial'),(6,11,124,'Tauren Racial'),
+(2,1,125,'Orc Racial'),(2,3,125,'Orc Racial'),(2,4,125,'Orc Racial'),(2,7,125,'Orc Racial'),(2,9,125,'Orc Racial'),
+(4,1,126,'Night Elf Racial'),(4,3,126,'Night Elf Racial'),(4,4,126,'Night Elf Racial'),(4,5,126,'Night Elf Racial'),(4,11,126,'Night Elf Racial'),
+(2,3,163,'Marksmanship'),(3,3,163,'Marksmanship'),(4,3,163,'Marksmanship'),(6,3,163,'Marksmanship'),(8,3,163,'Marksmanship'),
+(5,1,220,'Racial - Undead'),(5,4,220,'Racial - Undead'),(5,5,220,'Racial - Undead'),(5,8,220,'Racial - Undead'),(5,9,220,'Racial - Undead'),
+(1,4,253,'Assassination'),(2,4,253,'Assassination'),(3,4,253,'Assassination'),(4,4,253,'Assassination'),(5,4,253,'Assassination'),(7,4,253,'Assassination'),(8,4,253,'Assassination'),
+(1,9,354,'Demonology'),(2,9,354,'Demonology'),(5,9,354,'Demonology'),(7,9,354,'Demonology'),(2,7,374,'Restoration'),
+(6,7,374,'Restoration'),(8,7,374,'Restoration'),(4,11,573,'Restoration'),(6,11,573,'Restoration'),
+(2,7,375,'Elemental Combat'),(6,7,375,'Elemental Combat'),(8,7,375,'Elemental Combat'),
+(4,11,574,'Balance'),(6,11,574,'Balance'),
+(1,9,593,'Destruction'),(2,9,593,'Destruction'),(5,9,593,'Destruction'),(7,9,593,'Destruction'),
+(8,1,733,'Racial - Troll'),(8,3,733,'Racial - Troll'),(8,4,733,'Racial - Troll'),(8,5,733,'Racial - Troll'),(8,7,733,'Racial - Troll'),(8,8,733,'Racial - Troll'),
+(7,1,753,'Racial - Gnome'),(7,4,753,'Racial - Gnome'),(7,8,753,'Racial - Gnome'),(7,9,753,'Racial - Gnome'),
+(1,1,754,'Racial - Human'),(1,2,754,'Racial - Human'),(1,4,754,'Racial - Human'),(1,5,754,'Racial - Human'),(1,8,754,'Racial - Human'),(1,9,754,'Racial - Human');
diff --git a/sql/updates/0.7/3296_spell_learn_skill.sql b/sql/updates/0.7/3296_spell_learn_skill.sql
new file mode 100644
index 00000000000..aafd633db9c
--- /dev/null
+++ b/sql/updates/0.7/3296_spell_learn_skill.sql
@@ -0,0 +1,57 @@
+DROP TABLE IF EXISTS `spell_learn_skill`;
+CREATE TABLE `spell_learn_skill` (
+ `entry` smallint(6) unsigned NOT NULL default '0',
+ `SkillID` smallint(6) NOT NULL default '0',
+ `Value` int(11) default '0',
+ `MaxValue` int(11) default '0',
+ PRIMARY KEY (`entry`),
+ UNIQUE KEY spell_skill(`entry`,`SkillID`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System';
+
+INSERT INTO `spell_learn_skill` VALUES
+/*================== Armor ============*/
+/*Cloth */( 9078,415, 1, 1),
+/*Leather */( 9077,414, 1, 1),
+/*Mail */( 8737,413, 1, 1),
+/*Plate Mail */( 750,293, 1, 1),
+/*Shield */( 9116,433, 1, 1),
+/*================== Melee Weapons ====*/
+/*Axes */( 196, 44, 1, 0),
+/*Two-Handed Axes */( 197,172, 1, 0),
+/*Staves */( 227,136, 1, 0),
+/*Maces */( 198, 54, 1, 0),
+/*Two-Handed Maces */( 199,160, 1, 0),
+/*Swords */( 201, 43, 1, 0),
+/*Two-Handed Swords*/( 202, 55, 1, 0),
+/*Daggers */( 1180,173, 1, 0),
+/*Fist Weapons */(15590,473, 1, 0),
+/*Polearms */( 200,229, 1, 0),
+/*Spears (Polearms)*/( 3386,229, 1, 0),
+/*================== Range Weapons ====*/
+/*Bows */( 264, 45, 1, 0),
+/*Crossbows */( 5011,226, 1, 0),
+/*Guns */( 266, 46, 1, 0),
+/*Thrown */( 2567,176, 1, 0),
+/*Wands */( 5009,228, 1, 0),
+/*================== Others ===========*/
+/*Poisons */( 2842, 40, 1, 0),
+/*Min riding */(33388,762, 75, 75),
+/*Mid riding */(33391,762,150,150),
+/*Pick Lock(Rogue) */( 1804,633, 1, 0),
+/*================== Languages ========*/
+ ( 668, 98, -1, -1),
+ ( 669,109, -1, -1),
+ ( 670,115, -1, -1),
+ ( 671,113, -1, -1),
+ ( 672,111, -1, -1),
+ ( 813,137, -1, -1),
+ ( 814,138, -1, -1),
+ ( 815,139, -1, -1),
+ ( 816,140, -1, -1),
+ ( 817,141, -1, -1),
+ ( 7340,313, -1, -1),
+ ( 7341,315, -1, -1),
+ (17737,673, -1, -1),
+/*================== Generic Skills ===*/
+/*Defense */( 204, 95, 1, 0),
+/*Unarmed */( 203,162, 1, 0);
diff --git a/sql/updates/0.7/3310_spell_learn_spell.sql b/sql/updates/0.7/3310_spell_learn_spell.sql
new file mode 100644
index 00000000000..28bb02e2917
--- /dev/null
+++ b/sql/updates/0.7/3310_spell_learn_spell.sql
@@ -0,0 +1,61 @@
+DROP TABLE IF EXISTS `spell_learn_spell`;
+CREATE TABLE `spell_learn_spell` (
+ `entry` smallint(6) unsigned NOT NULL default '0',
+ `SpellID` smallint(6) unsigned NOT NULL default '0',
+ `IfNoSpell` smallint(6) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`SpellID`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System';
+
+INSERT INTO `spell_learn_spell` VALUES
+/*SKILL_ENGINERING*/
+(4036,3918,0),
+(4036,3919,0),
+(4036,3920,0),
+/*SKILL_TAILORING*/
+(3908,2387,0),
+(3908,2963,0),
+/*SKILL_ENCHANTING*/
+(7411,7418,0),
+(7411,7421,0),
+(7411,13262,0),
+/*SKILL_ALCHEMY*/
+(2259,2329,0),
+(2259,7183,0),
+(2259,2330,0),
+/*SKILL_BLACKSMITHING*/
+(2018,2663,0),
+(2018,12260,0),
+(2018,2660,0),
+(2018,3115,0),
+/*SKILL_LEATHERWORKING*/
+(2108,2152,0),
+(2108,9058,0),
+(2108,9059,0),
+(2108,2149,0),
+(2108,7126,0),
+(2108,2881,0),
+/*SKILL_COOKING*/
+(2550,818,0),
+(2550,2540,0),
+(2550,2538,0),
+(2550,8604,0),
+/*SKILL_FIRST_AID*/
+(3273,3275,0),
+/*SKILL_FISHING*/
+(7620,7738,0),
+/*SKILL_MINING*/
+(2575,2580,0),
+(2575,2656,0),
+(2575,2657,0),
+/*SKILL_HERBALISM*/
+(2366,2383,0),
+/*SKILL_BOWS*/
+(264,2480,75),
+/*SKILL_GUNS*/
+(266,7918,75),
+/*SKILL_CROSSBOWS*/
+(5011,7919,75),
+/*SKILL_THROWN*/
+(2567,2764,0),
+/*SKILL_POISONS*/
+(2842,8681,0);
diff --git a/sql/updates/0.7/3316_playercreateinfo_reputation.sql b/sql/updates/0.7/3316_playercreateinfo_reputation.sql
new file mode 100644
index 00000000000..6ca054e3996
--- /dev/null
+++ b/sql/updates/0.7/3316_playercreateinfo_reputation.sql
@@ -0,0 +1 @@
+DROP TABLE IF EXISTS `playercreateinfo_reputation`;
diff --git a/sql/updates/0.7/3323.sql b/sql/updates/0.7/3323.sql
new file mode 100644
index 00000000000..d0ea3e6c433
--- /dev/null
+++ b/sql/updates/0.7/3323.sql
@@ -0,0 +1,31 @@
+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';
+
+UPDATE `character_pet`
+ SET `slot` = 0 WHERE `current` = 1;
+
+/* slot 3 = for storing warlock and another not stabled pets */
+UPDATE `character_pet`
+ SET `slot` = 3 WHERE `current` = 0;
+
+/* current = (`slot`==0) */
+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`
+ AND `character_pet`.`owner`=`character_stable`.`owner` AND `character_pet`.`id`=`character_stable`.`petnumber`;
+
+ALTER TABLE `character`
+ ADD COLUMN `stable_slots` tinyint(1) unsigned NOT NULL default '0';
+
+UPDATE `character`, (
+ SELECT `character_stable`.`owner` as `owner_slots`, MAX(`character_stable`.`slot`) as `slots` FROM `character_stable` GROUP BY `character_stable`.`owner`
+ ) as `stable_slots`
+ SET `character`.`stable_slots`= `stable_slots`.`slots`
+ WHERE `character`.`guid` = `stable_slots`.`owner_slots`;
+
+
+DROP TABLE IF EXISTS `character_stable`;
diff --git a/sql/updates/0.7/3344_playercreateinfo_spell.sql b/sql/updates/0.7/3344_playercreateinfo_spell.sql
new file mode 100644
index 00000000000..a43a903acea
--- /dev/null
+++ b/sql/updates/0.7/3344_playercreateinfo_spell.sql
@@ -0,0 +1,13 @@
+INSERT INTO `playercreateinfo_spell` VALUES ('1','1','21156','Battle Stance Passive',0);
+INSERT INTO `playercreateinfo_spell` VALUES ('2','1','21156','Battle Stance Passive',0);
+INSERT INTO `playercreateinfo_spell` VALUES ('3','1','21156','Battle Stance Passive',0);
+INSERT INTO `playercreateinfo_spell` VALUES ('4','1','21156','Battle Stance Passive',0);
+INSERT INTO `playercreateinfo_spell` VALUES ('5','1','21156','Battle Stance Passive',0);
+INSERT INTO `playercreateinfo_spell` VALUES ('6','1','21156','Battle Stance Passive',0);
+INSERT INTO `playercreateinfo_spell` VALUES ('7','1','21156','Battle Stance Passive',0);
+INSERT INTO `playercreateinfo_spell` VALUES ('8','1','21156','Battle Stance Passive',0);
+
+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
diff --git a/sql/updates/0.7/3346_command.sql b/sql/updates/0.7/3346_command.sql
new file mode 100644
index 00000000000..39ae5e1825b
--- /dev/null
+++ b/sql/updates/0.7/3346_command.sql
@@ -0,0 +1,4 @@
+UPDATE `command` SET `name`='lookupobject' WHERE `name`='.lookupobject';
+UPDATE `command` SET `name`='listcreature' WHERE `name`='.listcreature';
+UPDATE `command` SET `name`='listobject' WHERE `name`='.listobject';
+UPDATE `command` SET `name`='listitem' WHERE `name`='.listitem';
diff --git a/sql/updates/0.7/3348_playercreateinfo_spell.sql b/sql/updates/0.7/3348_playercreateinfo_spell.sql
new file mode 100644
index 00000000000..d0f5410020f
--- /dev/null
+++ b/sql/updates/0.7/3348_playercreateinfo_spell.sql
@@ -0,0 +1,7 @@
+INSERT INTO `playercreateinfo_spell` VALUES ('4','11','21178','Bear Form (Passive2)',0);
+INSERT INTO `playercreateinfo_spell` VALUES ('6','11','21178','Bear Form (Passive2)',0);
+
+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
diff --git a/sql/updates/0.7/3350_command.sql b/sql/updates/0.7/3350_command.sql
new file mode 100644
index 00000000000..eecf98014c5
--- /dev/null
+++ b/sql/updates/0.7/3350_command.sql
@@ -0,0 +1,7 @@
+DELETE FROM `command` WHERE `name` = 'item';
+DELETE FROM `command` WHERE `name` = 'itemrmv';
+DELETE FROM `command` WHERE `name` = 'addvendoritem';
+DELETE FROM `command` WHERE `name` = 'delvendoritem';
+
+INSERT INTO `command` VALUES('addvendoritem',2,'Syntax: .addvendoritem #itemId <#maxcount><#incrtime>\r\n\r\nAdd item #itemid to item list of selected vendor. Also optionally set max count item in vendor item list and time to item count restoring.');
+INSERT INTO `command` VALUES('delvendoritem',2,'Syntax: .delvendoritem #itemId\r\n\r\nRemove item #itemid from item list of selected vendor.');
diff --git a/sql/updates/0.7/3351_character_pet.sql b/sql/updates/0.7/3351_character_pet.sql
new file mode 100644
index 00000000000..2b7f4e634c2
--- /dev/null
+++ b/sql/updates/0.7/3351_character_pet.sql
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 00000000000..4363e6bb23a
--- /dev/null
+++ b/sql/updates/0.7/3397_creature_template.sql
@@ -0,0 +1,12 @@
+ALTER TABLE `creature_template`
+ ADD COLUMN `InhabitType` tinyint(1) unsigned NOT NULL default '3' AFTER `MovementType`;
+
+/*
+0 - not used
+1 - can walk (or fly above ground)
+2 - can swim (or fly above water)
+3 (= 1 | 2) - can walk and swim (and fly)
+*/
+
+UPDATE `creature_template`
+ SET `InhabitType` = 1 WHERE `family` > 0 AND `family` < 6 OR `family` = 8 OR `family` = 11 OR `family` > 14 AND `family` < 20 OR `family` = 25 OR `family` = 27;
diff --git a/sql/updates/0.7/3400.sql b/sql/updates/0.7/3400.sql
new file mode 100644
index 00000000000..3ef216430ef
--- /dev/null
+++ b/sql/updates/0.7/3400.sql
@@ -0,0 +1,75 @@
+TRUNCATE TABLE `corpse`;
+TRUNCATE TABLE `creature_respawn`;
+TRUNCATE TABLE `gameobject_respawn`;
+
+DROP TABLE IF EXISTS `instance`;
+CREATE TABLE `instance` (
+ `id` int(11) unsigned NOT NULL default '0',
+ `map` int(11) unsigned NOT NULL default '0',
+ `resettime` bigint(40) NOT NULL default '0',
+ PRIMARY KEY (`id`),
+ KEY `map` (`map`),
+ KEY `resettime` (`resettime`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+DROP TABLE IF EXISTS `character_instance`;
+CREATE TABLE `character_instance` (
+ `guid` int(11) unsigned NOT NULL default '0',
+ `map` int(11) unsigned NOT NULL default '0',
+ `instance` bigint(40) NOT NULL default '0',
+ `leader` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`map`),
+ KEY `instance` (`instance`),
+ KEY `leader` (`leader`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+ALTER TABLE `creature_respawn` ADD `instance` int(11) unsigned NOT NULL default '0';
+ALTER TABLE `creature_respawn` DROP PRIMARY KEY;
+ALTER TABLE `creature_respawn` ADD PRIMARY KEY (`guid`, `instance`);
+
+ALTER TABLE `gameobject_respawn` ADD `instance` int(11) unsigned NOT NULL default '0';
+ALTER TABLE `gameobject_respawn` DROP PRIMARY KEY;
+ALTER TABLE `gameobject_respawn` ADD PRIMARY KEY (`guid`, `instance`);
+
+ALTER TABLE `corpse` ADD `instance` int(11) unsigned NOT NULL default '0';
+
+DROP TABLE IF EXISTS `instance_template`;
+CREATE TABLE `instance_template` (
+ `map` int(11) unsigned NOT NULL,
+ `levelMin` int(11) unsigned NOT NULL default '0',
+ `levelMax` int(11) unsigned NOT NULL default '0',
+ `maxPlayers` int(11) unsigned NOT NULL default '0',
+ `reset_delay` int(20) unsigned NOT NULL default '0',
+ `startLocX` float default NULL,
+ `startLocY` float default NULL,
+ `startLocZ` float default NULL,
+ `startLocO` float default NULL,
+ PRIMARY KEY (`map`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+INSERT INTO `instance_template` VALUES (33, 22, 30, 10, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (34, 24, 32, 10, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (36, 15, 20, 10, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (43, 15, 21, 10, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (47, 29, 38, 10, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (48, 24, 32, 10, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (70, 35, 47, 10, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (90, 29, 38, 10, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (109, 45, 55, 10, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (129, 37, 46, 10, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (189, 34, 45, 10, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (209, 44, 54, 10, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (229, 58, 0, 10, 120000, 78.5083, -225.044, 49.839, 5.1);
+INSERT INTO `instance_template` VALUES (230, 52, 0, 5, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (249, 60, 0, 40, 432000, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (289, 57, 0, 5, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (309, 60, 0, 20, 259200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (329, 58, 60, 5, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (349, 46, 55, 10, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (389, 13, 18, 10, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (409, 60, 0, 40, 604800, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (429, 55, 60, 5, 7200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (469, 60, 0, 40, 604800, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (509, 60, 0, 20, 259200, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (531, 60, 0, 40, 604800, NULL, NULL, NULL, NULL);
+INSERT INTO `instance_template` VALUES (533, 60, 0, 40, 604800, NULL, NULL, NULL, NULL);
diff --git a/sql/updates/0.7/3402_creature_onkill_reputation.sql b/sql/updates/0.7/3402_creature_onkill_reputation.sql
new file mode 100644
index 00000000000..0fa7b80cd01
--- /dev/null
+++ b/sql/updates/0.7/3402_creature_onkill_reputation.sql
@@ -0,0 +1,13 @@
+DROP TABLE IF EXISTS `creature_onkill_reputation`;
+CREATE TABLE `creature_onkill_reputation` (
+ `creature_id` int(10) unsigned NOT NULL default '0' COMMENT 'Creature Identifier',
+ `RewOnKillRepFaction1` int(10) default '0',
+ `RewOnKillRepFaction2` int(10) default '0',
+ `MaxStanding1` int(1) default '0',
+ `IsTeamAward1` int(1) default '0',
+ `RewOnKillRepValue1` int(10) default '0',
+ `MaxStanding2` int(1) default '0',
+ `IsTeamAward2` int(1) default '0',
+ `RewOnKillRepValue2` int(10) default '0',
+ PRIMARY KEY (`creature_id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Creature OnKill Reputation gain';
diff --git a/sql/updates/0.7/3410_group.sql b/sql/updates/0.7/3410_group.sql
new file mode 100644
index 00000000000..c217cc965dd
--- /dev/null
+++ b/sql/updates/0.7/3410_group.sql
@@ -0,0 +1,7 @@
+RENAME TABLE `raidgroup` TO `group` ;
+ALTER TABLE `group` COMMENT = 'Groups';
+ALTER TABLE `group` ADD `isRaid` TINYINT( 1 ) NOT NULL;
+UPDATE `group` SET `isRaid` = 1;
+
+RENAME TABLE `raidgroup_member` TO `group_member`;
+ALTER TABLE `group_member` COMMENT = 'Groups';
diff --git a/sql/updates/0.7/3424_command.sql b/sql/updates/0.7/3424_command.sql
new file mode 100644
index 00000000000..8bbab63116a
--- /dev/null
+++ b/sql/updates/0.7/3424_command.sql
@@ -0,0 +1,11 @@
+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 ;
+
+UPDATE `command`
+ SET `help` = 'Syntax: .aura #spellid Add the aura from spell #spellid to the selected Unit.'
+ WHERE `name` = 'aura' LIMIT 1 ;
+
+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/3463_mangos.sql b/sql/updates/0.7/3463_mangos.sql
new file mode 100644
index 00000000000..119650fc78e
--- /dev/null
+++ b/sql/updates/0.7/3463_mangos.sql
@@ -0,0 +1,116 @@
+ALTER TABLE `guild` CHANGE `EmblemStyle` `EmblemStyle` INT( 5 ) NOT NULL DEFAULT '0',
+CHANGE `EmblemColor` `EmblemColor` INT( 5 ) NOT NULL DEFAULT '0',
+CHANGE `BorderStyle` `BorderStyle` INT( 5 ) NOT NULL DEFAULT '0',
+CHANGE `BorderColor` `BorderColor` INT( 5 ) NOT NULL DEFAULT '0',
+CHANGE `BackgroundColor` `BackgroundColor` INT( 5 ) NOT NULL DEFAULT '0';
+
+ALTER TABLE `item_template` ADD `unk_203` INT(10) NOT NULL default '0' AFTER `sheath`;
+ALTER TABLE `item_template` CHANGE `Unknown1` `Map` INT( 10 ) NOT NULL DEFAULT '0';
+ALTER TABLE `item_template` CHANGE `BagFamily` `BagFamily` INT( 10 ) NOT NULL DEFAULT '0' AFTER `Map`;
+ALTER TABLE `item_template` ADD `TotemCategory` INT( 10 ) NOT NULL DEFAULT '0' AFTER `BagFamily`,
+ADD `socketColor_1` INT( 10 ) NOT NULL DEFAULT '0' AFTER `TotemCategory`,
+ADD `socketContent_1` INT( 10 ) NOT NULL DEFAULT '0' AFTER `socketColor_1`,
+ADD `socketColor_2` INT( 10 ) NOT NULL DEFAULT '0' AFTER `socketContent_1`,
+ADD `socketContent_2` INT( 10 ) NOT NULL DEFAULT '0' AFTER `socketColor_2`,
+ADD `socketColor_3` INT( 10 ) NOT NULL DEFAULT '0' AFTER `socketContent_2`,
+ADD `socketContent_3` INT( 10 ) NOT NULL DEFAULT '0' AFTER `socketColor_3`,
+ADD `socketBonus` INT( 10 ) NOT NULL DEFAULT '0' AFTER `socketContent_3`,
+ADD `GemProperties` INT( 10 ) NOT NULL DEFAULT '0' AFTER `socketBonus`,
+ADD `ExtendedCost` INT( 10 ) NOT NULL DEFAULT '0' AFTER `GemProperties`,
+ADD `RequiredDisenchantSkill` INT( 10 ) NOT NULL DEFAULT '-1' AFTER `ExtendedCost`;
+
+UPDATE `item_template` SET `TotemCategory` = '11' WHERE `entry` = '2901';
+UPDATE `item_template` SET `TotemCategory` = '1' WHERE `entry` = '7005';
+UPDATE `item_template` SET `TotemCategory` = '1' WHERE `entry` = '12709';
+UPDATE `item_template` SET `TotemCategory` = '2' WHERE `entry` = '5175';
+UPDATE `item_template` SET `TotemCategory` = '4' WHERE `entry` = '5176';
+UPDATE `item_template` SET `TotemCategory` = '5' WHERE `entry` = '5177';
+UPDATE `item_template` SET `TotemCategory` = '3' WHERE `entry` = '5178';
+
+ALTER TABLE `character_kill` CHANGE `guid` `guid` SMALLINT( 4 ) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Global Unique Identifier' ;
+ALTER TABLE `character_kill` DROP `type` ;
+ALTER TABLE `character` DROP `highest_rank` , DROP `standing` , DROP `rating` ;
+
+insert into `playercreateinfo_spell` values
+(10,2,7355,'Stuck',1),
+(10,3,7355,'Stuck',1),
+(10,4,7355,'Stuck',1),
+(10,5,7355,'Stuck',1),
+(10,8,7355,'Stuck',1),
+(10,9,7355,'Stuck',1),
+(11,1,7355,'Stuck',1),
+(11,2,7355,'Stuck',1),
+(11,3,7355,'Stuck',1),
+(11,5,7355,'Stuck',1),
+(11,7,7355,'Stuck',1),
+(11,8,7355,'Stuck',1);
+
+ALTER TABLE `group` CHANGE `leaderGuid` `leaderGuid` INT( 20 ) NOT NULL ,
+CHANGE `looterGuid` `looterGuid` INT( 20 ) NOT NULL ;
+ALTER TABLE `group_member` CHANGE `leaderGuid` `leaderGuid` INT( 20 ) NOT NULL ,
+CHANGE `memberGuid` `memberGuid` INT( 20 ) NOT NULL ;
+ALTER TABLE `group` ADD `mainTank` INT(20) NOT NULL AFTER `leaderGuid` ,
+ADD `mainAssistant` INT(20) NOT NULL AFTER `mainTank` ;
+
+CREATE TABLE `looking_for_group` (
+ `guid` int(12) unsigned NOT NULL default '0',
+ `slot` smallint(2) unsigned NOT NULL default '0',
+ `entry` int(12) unsigned NOT NULL default '0',
+ `type` smallint(2) unsigned NOT NULL default '0',
+ `lfg_type` smallint(2) unsigned NOT NULL default '0',
+ `comment` text NOT NULL
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+UPDATE `creature_template` SET `npcflag`='33' WHERE `name`='Spirit Healer';
+
+ALTER TABLE `playercreateinfo` DROP `displayID`;
+
+ALTER TABLE `quest_template`
+CHANGE `OfferRewardEmote` `IncompleteEmote` int(11) unsigned NOT NULL default '0',
+CHANGE `RequestItemsEmote` `CompleteEmote` int(11) unsigned NOT NULL default '1';
+ALTER TABLE `quest_template`
+ADD `DetailsEmote1` int(11) NOT NULL default '0' AFTER `PointOpt`,
+ADD `DetailsEmote2` int(11) NOT NULL default '0' AFTER `DetailsEmote1`,
+ADD `DetailsEmote3` int(11) NOT NULL default '0' AFTER `DetailsEmote2`,
+ADD `DetailsEmote4` int(11) NOT NULL default '0' AFTER `DetailsEmote3`,
+ADD `OfferRewardEmote1` int(11) NOT NULL default '0' AFTER `CompleteEmote`,
+ADD `OfferRewardEmote2` int(11) NOT NULL default '0' AFTER `OfferRewardEmote1`,
+ADD `OfferRewardEmote3` int(11) NOT NULL default '0' AFTER `OfferRewardEmote2`,
+ADD `OfferRewardEmote4` int(11) NOT NULL default '0' AFTER `OfferRewardEmote3`;
+
+ALTER TABLE `item_template` ADD `unk0` INT( 10 ) NOT NULL DEFAULT '-1' AFTER `subclass`;
+
+ALTER TABLE `group` ADD `lootThreshold` tinyint(4) NOT NULL AFTER `looterGuid`;
+
+ALTER TABLE `creature_template` CHANGE `equipslot1` `equipslot1` INTEGER NOT NULL DEFAULT '0';
+ALTER TABLE `creature_template` CHANGE `equipslot2` `equipslot2` INTEGER NOT NULL DEFAULT '0';
+ALTER TABLE `creature_template` CHANGE `equipslot3` `equipslot3` INTEGER NOT NULL DEFAULT '0';
+
+CREATE TABLE `arena_team` (
+ `guid` int(10) unsigned NOT NULL default '0',
+ `slot` tinyint(3) unsigned NOT NULL default '0',
+ `name` char(255) NOT NULL,
+ `type` tinyint(3) unsigned NOT NULL default '0',
+ `rank` int(10) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+CREATE TABLE `arena_team_member` (
+ `guid` int(10) unsigned NOT NULL default '0',
+ `teamslot` tinyint(3) unsigned NOT NULL default '0',
+ `teamguid` int(10) unsigned NOT NULL default '0',
+ `rating` int(10) unsigned NOT NULL default '0',
+ `games` int(10) unsigned NOT NULL default '0',
+ `wins` int(10) unsigned NOT NULL default '0',
+ `played` int(10) unsigned NOT NULL default '0'
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+DELETE FROM `gameobject` WHERE `map`='489';
+UPDATE `gameobject_template` SET `flags` = '0', `type` = '26' WHERE `entry` IN (179785, 179786);
+UPDATE `gameobject_template` SET `flags` = '0' WHERE `entry` IN (179830, 179831);
+
+alter table `creature` change `state` `DeathState` tinyint(3) unsigned not null default '0';
+
+alter table `creature_template` drop `mount`;
+
+INSERT INTO `command` ( `name` , `security` , `help` ) VALUES ('modify titles', '1', 'Syntax:\n.modify titles #mask\n.titles #mask\n\nAllows user to use all titles from #mask.\n\n #mask=0 disables the title-choose-field');
+INSERT INTO `command` ( `name` , `security` , `help` ) VALUES ('titles', '1', 'Syntax:\n.modify titles #mask\n.titles #mask\n\nAllows user to use all titles from #mask.\n\n #mask=0 disables the title-choose-field');
diff --git a/sql/updates/0.7/3463_realm.sql b/sql/updates/0.7/3463_realm.sql
new file mode 100644
index 00000000000..b33b92d6737
--- /dev/null
+++ b/sql/updates/0.7/3463_realm.sql
@@ -0,0 +1 @@
+ALTER TABLE `account` ADD `tbc` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0' AFTER `online`;
diff --git a/sql/updates/0.7/3474_creature_addon.sql b/sql/updates/0.7/3474_creature_addon.sql
new file mode 100644
index 00000000000..d03b65a53cc
--- /dev/null
+++ b/sql/updates/0.7/3474_creature_addon.sql
@@ -0,0 +1,17 @@
+DROP TABLE IF EXISTS `creature_addon`;
+CREATE TABLE `creature_addon` (
+ `entry` int(11) NOT NULL default '0',
+ `RefId` int(11) NOT NULL default '0',
+ `mount` int(11) unsigned NOT NULL default '0',
+ `bytes0` int(11) unsigned NOT NULL default '0',
+ `bytes1` int(11) unsigned NOT NULL default '0',
+ `bytes2` int(11) unsigned NOT NULL default '0',
+ `emote` int(11) unsigned NOT NULL default '0',
+ `aura` int(11) unsigned NOT NULL default '0',
+ `auraflags` int(11) unsigned NOT NULL default '0',
+ `auralevels` int(11) unsigned NOT NULL default '0',
+ `auraapplications` int(11) unsigned NOT NULL default '0',
+ `aurastate` int(11) unsigned NOT NULL default '0',
+ UNIQUE KEY `guid` (`Entry`),
+ KEY `emote` (`emote`,`RefId`,`mount`,`aura`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8; \ No newline at end of file
diff --git a/sql/updates/0.7/3501.sql b/sql/updates/0.7/3501.sql
new file mode 100644
index 00000000000..6b88153e0f9
--- /dev/null
+++ b/sql/updates/0.7/3501.sql
@@ -0,0 +1,37 @@
+--
+-- Enhancements to the waypoint system
+--
+-- text1..tex5 -> Mob can say up to five texts (one is choosen)
+-- aiscript -> An AI script can be executed, when the mob reaches a waypoint, see wpAI.h
+-- emote -> a mob can do an emote, eg cutting wood, laughing, etc (make sure you set a waittime, otherwise emote may be omitted)
+-- spell -> mob can cast a spell, when he reaches a waypoint
+-- wpguid -> if the GM wants to see the waypoints, whisps are spawned, which can only be seen by a GM
+-- The GUID of the whisp is stored here
+ALTER TABLE `creature_movement` ADD COLUMN `text1` varchar(255) default NULL AFTER `waittime`,
+ADD COLUMN `text2` varchar(255) default NULL AFTER `text1`,
+ADD COLUMN `text3` varchar(255) default NULL AFTER `text2`,
+ADD COLUMN `text4` varchar(255) default NULL AFTER `text3`,
+ADD COLUMN `text5` varchar(255) default NULL AFTER `text4`,
+ADD COLUMN `aiscript` varchar(255) default NULL AFTER `text5`,
+ADD COLUMN `emote` int(10) unsigned default '0' AFTER `aiscript`,
+ADD COLUMN `spell` int(5) unsigned default '0' AFTER `emote`,
+ADD COLUMN `wpguid` int(11) default '0' AFTER `spell`;
+
+-- The visual waypoint
+DELETE FROM creature_template WHERE entry='1';
+INSERT INTO creature_template
+ (entry, modelid_m, modelid_f, name, subname, minlevel, maxlevel, minhealth, maxhealth, minmana, maxmana, armor, faction, npcflag, speed, rank, mindmg, maxdmg, attackpower, baseattacktime, rangeattacktime, flags, dynamicflags, size, family, bounding_radius, trainer_type, trainer_spell, class, race, minrangedmg, maxrangedmg, rangedattackpower, combat_reach, type, civilian, flag1, equipmodel1, equipmodel2, equipmodel3, equipinfo1, equipinfo2, equipinfo3, equipslot1, equipslot2, equipslot3, lootid, pickpocketloot, skinloot, resistance1, resistance2, resistance3, resistance4, resistance5, resistance6, spell1, spell2, spell3, spell4, mingold, maxgold, AIName, MovementType, ScriptName)
+VALUES
+ (1, 10045, 0, 'Waypoint (Only GM can see it)', 'Visual', 1, 1, 64, 64, 0, 0, 0, 35, 0, '0.91', 0, 14, 15, 100, 2000, 2200, 4096, 0, '0.5', 8, 2, 0, 0, 0, 0, '1.76', '2.42', 100, '2.56', 8, 1, 5242886, 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, '');
+
+-- New commands
+DELETE FROM `command` where `name` = 'wp' and `security` = '2';
+DELETE FROM `command` where `name` = 'wp add' and `security` = '2';
+DELETE FROM `command` where `name` = 'wp modify' and `security` = '2';
+DELETE FROM `command` where `name` = 'wp show' and `security` = '2';
+
+INSERT INTO command (name, security, help) VALUES
+("wp", 2, "Using WP Command:\r\nEach Waypoint Command has it's own description!"),
+("wp add", 2, "Syntax: .wp add [#creature_guid or Select a Creature]"),
+("wp modify", 2, "Syntax: .wp modify [#creature_guid or Select a Creature]\r\nadd - Add a waypoint after the selected visual\r\nimport $filename for selected npc\r\nexport $filename for selected npc\r\nwaittime $time\r\nemote ID\r\nspell ID\r\ntext1| text2| text3| text4| text5 <text>\r\nmodel1 ID\r\nmodel2 ID\r\naiscript $Name\r\nmove(moves wp to player pos)\r\ndel (deletes the wp)\r\n\r\nOnly one parameter per time!"),
+("wp show", 2, "Syntax: .wp show [#creature_guid or Select a Creature]\r\non\r\nfirst\r\nlast\r\noff\r\ninfo\r\n\r\nFor using info you have to do first show on and than select a Visual-Waypoint and do the show info!");
diff --git a/sql/updates/0.7/3503_creature_movement.sql b/sql/updates/0.7/3503_creature_movement.sql
new file mode 100644
index 00000000000..b92a5474691
--- /dev/null
+++ b/sql/updates/0.7/3503_creature_movement.sql
@@ -0,0 +1,7 @@
+--
+-- Enhancements to the waypoint system
+--
+-- Sorry for having forgotten to add this to the svn.
+ALTER TABLE `creature_movement` ADD COLUMN `orientation` float default 0 AFTER `wpguid`;
+ALTER TABLE `creature_movement` ADD COLUMN `model1` int (11) default 0 AFTER `orientation`;
+ALTER TABLE `creature_movement` ADD COLUMN `model2` int (11) default 0 AFTER `model1`;
diff --git a/sql/updates/0.7/3512_character_spell_cooldown.sql b/sql/updates/0.7/3512_character_spell_cooldown.sql
new file mode 100644
index 00000000000..8fc95b3da6a
--- /dev/null
+++ b/sql/updates/0.7/3512_character_spell_cooldown.sql
@@ -0,0 +1 @@
+ALTER TABLE `character_spell_cooldown` ADD COLUMN `item` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier' AFTER `spell`;
diff --git a/sql/updates/0.7/3514_mail.sql b/sql/updates/0.7/3514_mail.sql
new file mode 100644
index 00000000000..f3ebf9744f0
--- /dev/null
+++ b/sql/updates/0.7/3514_mail.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `mail`
+ CHANGE COLUMN `time` `expire_time` bigint(40) NOT NULL default '0',
+ ADD `deliver_time` bigint(40) NOT NULL default '0' AFTER `expire_time`;
diff --git a/sql/updates/0.7/3516_spell_learn_spell.sql b/sql/updates/0.7/3516_spell_learn_spell.sql
new file mode 100644
index 00000000000..872be29cdfb
--- /dev/null
+++ b/sql/updates/0.7/3516_spell_learn_spell.sql
@@ -0,0 +1,4 @@
+insert into `spell_learn_spell`(`entry`,`SpellID`,`IfNoSpell`) values (25229,25255,0);
+insert into `spell_learn_spell`(`entry`,`SpellID`,`IfNoSpell`) values (25229,25493,0);
+insert into `spell_learn_spell`(`entry`,`SpellID`,`IfNoSpell`) values (25229,26925,0);
+insert into `spell_learn_spell`(`entry`,`SpellID`,`IfNoSpell`) values (25229,32259,0);
diff --git a/sql/updates/0.7/3533_command.sql b/sql/updates/0.7/3533_command.sql
new file mode 100644
index 00000000000..321c834e2a6
--- /dev/null
+++ b/sql/updates/0.7/3533_command.sql
@@ -0,0 +1 @@
+UPDATE `command` SET `help` = 'Syntax: .createguild $GuildLeaderName $GuildName\r\n\r\nCreate a guild named $GuildName with the player $GuildLeaderName as leader.' WHERE `name` ='createguild';
diff --git a/sql/updates/0.7/3538_guild_charter_sign.sql b/sql/updates/0.7/3538_guild_charter_sign.sql
new file mode 100644
index 00000000000..ad2c482d3a8
--- /dev/null
+++ b/sql/updates/0.7/3538_guild_charter_sign.sql
@@ -0,0 +1,6 @@
+ALTER TABLE `guild_charter_sign`
+ ADD `player_account` int(11) unsigned NOT NULL default '0' AFTER `playerguid`;
+
+UPDATE `guild_charter_sign`,`character`
+ SET `guild_charter_sign`.`player_account` = `character`.`account`
+ WHERE `guild_charter_sign`.`playerguid` = `character`.`guid`;
diff --git a/sql/updates/0.7/3539_item_template.sql b/sql/updates/0.7/3539_item_template.sql
new file mode 100644
index 00000000000..c2e3c48801d
--- /dev/null
+++ b/sql/updates/0.7/3539_item_template.sql
@@ -0,0 +1,12 @@
+ALTER TABLE `item_template`
+ CHANGE `spellcooldown_1` `spellcooldown_1` int(30) NOT NULL default '-1',
+ CHANGE `spellcategorycooldown_1` `spellcategorycooldown_1` int(30) NOT NULL default '-1',
+ CHANGE `spellcooldown_2` `spellcooldown_2` int(30) NOT NULL default '-1',
+ CHANGE `spellcategorycooldown_2` `spellcategorycooldown_2` int(30) NOT NULL default '-1',
+ CHANGE `spellcooldown_3` `spellcooldown_3` int(30) NOT NULL default '-1',
+ CHANGE `spellcategorycooldown_3` `spellcategorycooldown_3` int(30) NOT NULL default '-1',
+ CHANGE `spellcooldown_4` `spellcooldown_4` int(30) NOT NULL default '-1',
+ CHANGE `spellcategorycooldown_4` `spellcategorycooldown_4` int(30) NOT NULL default '-1',
+ CHANGE `spellcooldown_5` `spellcooldown_5` int(30) NOT NULL default '-1',
+ CHANGE `spellcategorycooldown_5` `spellcategorycooldown_5` int(30) NOT NULL default '-1',
+ CHANGE `unk_203` `unk_203` int(10) NOT NULL default '0' AFTER `Extra`;
diff --git a/sql/updates/0.7/3545_creature_movement.sql b/sql/updates/0.7/3545_creature_movement.sql
new file mode 100644
index 00000000000..93733295f81
--- /dev/null
+++ b/sql/updates/0.7/3545_creature_movement.sql
@@ -0,0 +1,2 @@
+-- tinyint can only hold values up to 255 - too small for a waittime in milliseconds
+ALTER TABLE `creature_movement` CHANGE COLUMN `waittime` `waittime` int(5) unsigned NOT NULL default '0'; \ No newline at end of file
diff --git a/sql/updates/0.7/3547_character_reputation.sql b/sql/updates/0.7/3547_character_reputation.sql
new file mode 100644
index 00000000000..9bdaa860376
--- /dev/null
+++ b/sql/updates/0.7/3547_character_reputation.sql
@@ -0,0 +1,72 @@
+/* alliance */
+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`
+ 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'
+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'
+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'
+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'
+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'
+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'
+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'
+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'
+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'
+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'
+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'
+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'
+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'
+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'
+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'
+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'
+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'
+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'
+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'
+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'
+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
new file mode 100644
index 00000000000..5d674ba26d2
--- /dev/null
+++ b/sql/updates/0.7/3553_creature_onkill_reputation.sql
@@ -0,0 +1,6 @@
+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',
+ CHANGE COLUMN `IsTeamAward2` `IsTeamAward2` tinyint(1) default '0',
+ ADD COLUMN `TeamDependent` tinyint(1) unsigned NOT NULL default '0' AFTER `RewOnKillRepValue2`;
diff --git a/sql/updates/0.7/3562_player_levelstats.sql b/sql/updates/0.7/3562_player_levelstats.sql
new file mode 100644
index 00000000000..473b9b082dd
--- /dev/null
+++ b/sql/updates/0.7/3562_player_levelstats.sql
@@ -0,0 +1,5 @@
+DELETE FROM player_levelstats WHERE race=2 and class=4 and level=19;
+DELETE FROM player_levelstats WHERE race=2 and class=4 and level=20;
+INSERT INTO player_levelstats VALUES
+('2', '4', '19', '391', '0', '38', '44', '35', '20', '30'),
+('2', '4', '20', '414', '0', '38', '46', '36', '20', '30'); \ No newline at end of file
diff --git a/sql/updates/0.7/3605_creature_addon.sql b/sql/updates/0.7/3605_creature_addon.sql
new file mode 100644
index 00000000000..09389ec90db
--- /dev/null
+++ b/sql/updates/0.7/3605_creature_addon.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `creature_addon`
+ CHANGE COLUMN `entry` `guid` int(11) NOT NULL default '0';
diff --git a/sql/updates/0.7/3605_grid.sql b/sql/updates/0.7/3605_grid.sql
new file mode 100644
index 00000000000..0b4bd425f88
--- /dev/null
+++ b/sql/updates/0.7/3605_grid.sql
@@ -0,0 +1,3 @@
+DROP TABLE IF EXISTS `corpse_grid`;
+DROP TABLE IF EXISTS `creature_grid`;
+DROP TABLE IF EXISTS `gameobject_grid`;
diff --git a/sql/updates/0.7/3611_spell_learn_skill.sql b/sql/updates/0.7/3611_spell_learn_skill.sql
new file mode 100644
index 00000000000..fd929a8746a
--- /dev/null
+++ b/sql/updates/0.7/3611_spell_learn_skill.sql
@@ -0,0 +1,5 @@
+-- Add spell_skill for riding 225 and 300 skill
+DELETE FROM `spell_learn_skill` WHERE `entry` IN ('34091', '34090');
+INSERT INTO `spell_learn_skill` VALUES ('34091', '762', '300', '300');
+INSERT INTO `spell_learn_skill` VALUES ('34090', '762', '225', '225');
+
diff --git a/sql/updates/0.7/3616_commands.sql b/sql/updates/0.7/3616_commands.sql
new file mode 100644
index 00000000000..f1c34fa5442
--- /dev/null
+++ b/sql/updates/0.7/3616_commands.sql
@@ -0,0 +1,6 @@
+-- Enhanced .addgo / .gameobject command
+-- Now the user can also specify <LootID> and <SpawnTimeSecs>
+DELETE FROM `command` WHERE `name` = 'addgo';
+DELETE FROM `command` WHERE `name` = 'gameobject';
+insert into `command` values ('gameobject',3,'Syntax: .gameobject #id <lootID> <spawntimeSecs>\r\n\r\nAdd a game object from game object templates to the world at your current location using the #id.\r\nlootID specifies the loot-template to be used and spawntimeSecs sets the spawntime, both are optional.');
+insert into `command` values ('addgo',3,'Syntax: .addgo #id <lootID> <spawntimeSecs>\r\n\r\nAdd a game object from game object templates to the world at your current location using the #id.\r\nlootID specifies the loot-template to be used and spawntimesecs sets the spawntime, both are optional.\r\n\r\nNote: this is a copy of .gameobject.');
diff --git a/sql/updates/0.7/3627_quest_template.sql b/sql/updates/0.7/3627_quest_template.sql
new file mode 100644
index 00000000000..790b680d370
--- /dev/null
+++ b/sql/updates/0.7/3627_quest_template.sql
@@ -0,0 +1,5 @@
+ALTER TABLE `quest_template` ADD COLUMN `ZoneOrSort` int(11) NOT NULL default '0' AFTER `entry` ;
+UPDATE `quest_template` SET `ZoneOrSort` = `ZoneId` WHERE `ZoneId` < 2147483647 ;
+UPDATE `quest_template` SET `ZoneOrSort` = -(4294967295 - `ZoneId` + 1 ) WHERE `ZoneId` >= 2147483647 ;
+UPDATE `quest_template` SET `ZoneOrSort` = -`questsort` WHERE `questsort` > 0 ;
+ALTER TABLE `quest_template` DROP `questsort`, DROP `ZoneId`; \ No newline at end of file
diff --git a/sql/updates/0.7/3631_gameobject_template.sql b/sql/updates/0.7/3631_gameobject_template.sql
new file mode 100644
index 00000000000..66f758d6fdd
--- /dev/null
+++ b/sql/updates/0.7/3631_gameobject_template.sql
@@ -0,0 +1,15 @@
+ALTER TABLE `gameobject_template`
+ADD COLUMN `sound10` int(11) unsigned NOT NULL default '0' AFTER `sound9`,
+ADD COLUMN `sound11` int(11) unsigned NOT NULL default '0' AFTER `sound10`,
+ADD COLUMN `sound12` int(11) unsigned NOT NULL default '0' AFTER `sound11`,
+ADD COLUMN `sound13` int(11) unsigned NOT NULL default '0' AFTER `sound12`,
+ADD COLUMN `sound14` int(11) unsigned NOT NULL default '0' AFTER `sound13`,
+ADD COLUMN `sound15` int(11) unsigned NOT NULL default '0' AFTER `sound14`,
+ADD COLUMN `sound16` int(11) unsigned NOT NULL default '0' AFTER `sound15`,
+ADD COLUMN `sound17` int(11) unsigned NOT NULL default '0' AFTER `sound16`,
+ADD COLUMN `sound18` int(11) unsigned NOT NULL default '0' AFTER `sound17`,
+ADD COLUMN `sound19` int(11) unsigned NOT NULL default '0' AFTER `sound18`,
+ADD COLUMN `sound20` int(11) unsigned NOT NULL default '0' AFTER `sound19`,
+ADD COLUMN `sound21` int(11) unsigned NOT NULL default '0' AFTER `sound20`,
+ADD COLUMN `sound22` int(11) unsigned NOT NULL default '0' AFTER `sound21`,
+ADD COLUMN `sound23` int(11) unsigned NOT NULL default '0' AFTER `sound22`;
diff --git a/sql/updates/0.7/3636_character_spell.sql b/sql/updates/0.7/3636_character_spell.sql
new file mode 100644
index 00000000000..945180b29e1
--- /dev/null
+++ b/sql/updates/0.7/3636_character_spell.sql
@@ -0,0 +1,2 @@
+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
new file mode 100644
index 00000000000..5116fdd2806
--- /dev/null
+++ b/sql/updates/0.7/3636_playercreateinfo_spell.sql
@@ -0,0 +1,2 @@
+UPDATE `playercreateinfo_spell`
+ SET `Spell` = 5420 WHERE `Spell` = 3122;
diff --git a/sql/updates/0.7/3646_spell_chain.sql b/sql/updates/0.7/3646_spell_chain.sql
new file mode 100644
index 00000000000..5dfa78ffec4
--- /dev/null
+++ b/sql/updates/0.7/3646_spell_chain.sql
@@ -0,0 +1,6 @@
+INSERT INTO `spell_chain` VALUES
+(25245, 0, 25245, 1),
+(25246, 25245, 25245, 2),
+(28896, 25246, 25245, 3),
+(28899, 28896, 25245, 4),
+(28901, 28899, 25245, 5);
diff --git a/sql/updates/0.7/3648_command.sql b/sql/updates/0.7/3648_command.sql
new file mode 100644
index 00000000000..08075757403
--- /dev/null
+++ b/sql/updates/0.7/3648_command.sql
@@ -0,0 +1 @@
+INSERT INTO `command` VALUES('sendmail',1,'Syntax: .sendmail #playername #subject #text\r\n\r\nSend a mail to a player. Note: subject may not contain spaces.'); \ No newline at end of file
diff --git a/sql/updates/0.7/3649_spell_chain.sql b/sql/updates/0.7/3649_spell_chain.sql
new file mode 100644
index 00000000000..fbb73a0286a
--- /dev/null
+++ b/sql/updates/0.7/3649_spell_chain.sql
@@ -0,0 +1,8 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (25245,25246,28896,28899,28901);
+
+INSERT INTO `spell_chain` VALUES
+(25229, 0, 25229, 1),
+(25230, 25229, 25229, 2),
+(28894, 25230, 25229, 3),
+(28895, 28894, 25229, 4),
+(28897, 28895, 25229, 5);
diff --git a/sql/updates/0.7/3653_spell.sql b/sql/updates/0.7/3653_spell.sql
new file mode 100644
index 00000000000..87f5a1f4dea
--- /dev/null
+++ b/sql/updates/0.7/3653_spell.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_chain` WHERE `spell_id` = 27170;
+INSERT INTO `spell_chain` VALUES (27170,20920,20375,6);
+DELETE FROM `spell_proc_event` WHERE `entry` = 27170;
+INSERT INTO `spell_proc_event` VALUES (27170, 0, 0, 0, 0, 1, 7);
diff --git a/sql/updates/0.7/3655_quest_template.sql b/sql/updates/0.7/3655_quest_template.sql
new file mode 100644
index 00000000000..8882fca15b2
--- /dev/null
+++ b/sql/updates/0.7/3655_quest_template.sql
@@ -0,0 +1,24 @@
+UPDATE `quest_template` SET `ZoneOrSort` = -61 WHERE `ZoneOrSort` = 0 AND `RequiredClass` = 9;
+UPDATE `quest_template` SET `ZoneOrSort` = -81 WHERE `ZoneOrSort` = 0 AND `RequiredClass` = 1;
+UPDATE `quest_template` SET `ZoneOrSort` = -82 WHERE `ZoneOrSort` = 0 AND `RequiredClass` = 7;
+UPDATE `quest_template` SET `ZoneOrSort` = -141 WHERE `ZoneOrSort` = 0 AND `RequiredClass` = 2;
+UPDATE `quest_template` SET `ZoneOrSort` = -161 WHERE `ZoneOrSort` = 0 AND `RequiredClass` = 8;
+UPDATE `quest_template` SET `ZoneOrSort` = -162 WHERE `ZoneOrSort` = 0 AND `RequiredClass` = 4;
+UPDATE `quest_template` SET `ZoneOrSort` = -261 WHERE `ZoneOrSort` = 0 AND `RequiredClass` = 3;
+UPDATE `quest_template` SET `ZoneOrSort` = -262 WHERE `ZoneOrSort` = 0 AND `RequiredClass` = 5;
+UPDATE `quest_template` SET `ZoneOrSort` = -263 WHERE `ZoneOrSort` = 0 AND `RequiredClass` = 11;
+
+UPDATE `quest_template` SET `ZoneOrSort` = -24 WHERE `ZoneOrSort` = 0 AND `RequiredSkill` = 182;
+UPDATE `quest_template` SET `ZoneOrSort` = -101 WHERE `ZoneOrSort` = 0 AND `RequiredSkill` = 356;
+UPDATE `quest_template` SET `ZoneOrSort` = -121 WHERE `ZoneOrSort` = 0 AND `RequiredSkill` = 164;
+UPDATE `quest_template` SET `ZoneOrSort` = -181 WHERE `ZoneOrSort` = 0 AND `RequiredSkill` = 171;
+UPDATE `quest_template` SET `ZoneOrSort` = -182 WHERE `ZoneOrSort` = 0 AND `RequiredSkill` = 165;
+UPDATE `quest_template` SET `ZoneOrSort` = -201 WHERE `ZoneOrSort` = 0 AND `RequiredSkill` = 202;
+UPDATE `quest_template` SET `ZoneOrSort` = -264 WHERE `ZoneOrSort` = 0 AND `RequiredSkill` = 197;
+UPDATE `quest_template` SET `ZoneOrSort` = -304 WHERE `ZoneOrSort` = 0 AND `RequiredSkill` = 185;
+UPDATE `quest_template` SET `ZoneOrSort` = -324 WHERE `ZoneOrSort` = 0 AND `RequiredSkill` = 129;
+
+ALTER TABLE `quest_template`
+ ADD COLUMN `SuggestedPlayers` int(11) unsigned NOT NULL DEFAULT 0 AFTER `RequiredRepValue`,
+ DROP COLUMN `RequiredClass`,
+ DROP COLUMN `RequiredSkill`;
diff --git a/sql/updates/0.7/3657_command.sql b/sql/updates/0.7/3657_command.sql
new file mode 100644
index 00000000000..10a69f6d25e
--- /dev/null
+++ b/sql/updates/0.7/3657_command.sql
@@ -0,0 +1 @@
+DELETE FROM `command` WHERE `name` = 'NewMail' OR `name` = 'QNM';
diff --git a/sql/updates/0.7/3660_character_kill.sql b/sql/updates/0.7/3660_character_kill.sql
new file mode 100644
index 00000000000..3ec00bde8f5
--- /dev/null
+++ b/sql/updates/0.7/3660_character_kill.sql
@@ -0,0 +1 @@
+ALTER TABLE `character_kill` MODIFY COLUMN `guid` INT(11); \ No newline at end of file
diff --git a/sql/updates/0.7/3700_character.sql b/sql/updates/0.7/3700_character.sql
new file mode 100644
index 00000000000..db01e501e4b
--- /dev/null
+++ b/sql/updates/0.7/3700_character.sql
@@ -0,0 +1 @@
+alter table `character` add column `rename` tinyint (3) UNSIGNED DEFAULT '0' NOT NULL after `stable_slots`;
diff --git a/sql/updates/0.7/3728_spell_proc_event.sql b/sql/updates/0.7/3728_spell_proc_event.sql
new file mode 100644
index 00000000000..789ac7e1fee
--- /dev/null
+++ b/sql/updates/0.7/3728_spell_proc_event.sql
@@ -0,0 +1,3 @@
+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/3730_command.sql b/sql/updates/0.7/3730_command.sql
new file mode 100644
index 00000000000..ac85abaa8ed
--- /dev/null
+++ b/sql/updates/0.7/3730_command.sql
@@ -0,0 +1 @@
+INSERT INTO `command` VALUES('nametele',1,'Syntax: .nametele #playername #location\r\n\r\nTeleport a player to a given location.');
diff --git a/sql/updates/0.7/3732_spell_affect.sql b/sql/updates/0.7/3732_spell_affect.sql
new file mode 100644
index 00000000000..1ce212f5a39
--- /dev/null
+++ b/sql/updates/0.7/3732_spell_affect.sql
@@ -0,0 +1,113 @@
+DROP TABLE IF EXISTS `spell_affect`;
+CREATE TABLE `spell_affect` (
+ `entry` smallint(5) unsigned NOT NULL default '0',
+ `effectId` tinyint(3) unsigned NOT NULL default '0',
+ `SpellId` smallint(5) unsigned NOT NULL default '0',
+ `SchoolMask` tinyint(3) unsigned NOT NULL default '0',
+ `Category` smallint(5) unsigned NOT NULL default '0',
+ `SkillID` smallint(5) unsigned NOT NULL default '0',
+ `SpellFamily` tinyint(3) unsigned NOT NULL default '0',
+ `SpellFamilyMask` int(10) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`effectId`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+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),
+(11124, 0, 0, 0, 0, 8, 0, 0),
+(11151, 0, 0, 0, 0, 6, 0, 0),
+(11160, 0, 0, 0, 0, 6, 0, 0),
+(11175, 1, 0, 0, 0, 0, 0, 1048576),
+(11207, 0, 0, 0, 0, 6, 0, 0),
+(11222, 0, 0, 0, 0, 237, 0, 0),
+(11242, 0, 0, 0, 0, 0, 0, 536872960),
+(11247, 0, 0, 0, 0, 0, 0, 8192),
+(11370, 0, 0, 0, 0, 8, 0, 0),
+(12042, 0, 0, 0, 0, 0, 3, 0),
+(12042, 1, 0, 0, 0, 0, 3, 0),
+(12042, 2, 0, 0, 0, 0, 3, 0),
+(12043, 0, 0, 0, 0, 0, 3, 0),
+(12338, 1, 0, 0, 0, 0, 0, 1),
+(12339, 1, 0, 0, 0, 0, 0, 1),
+(12340, 1, 0, 0, 0, 0, 0, 1),
+(12341, 1, 0, 0, 0, 0, 0, 1),
+(12351, 0, 0, 0, 0, 8, 0, 0),
+(12378, 0, 0, 0, 0, 8, 0, 0),
+(12398, 0, 0, 0, 0, 8, 0, 0),
+(12399, 0, 0, 0, 0, 8, 0, 0),
+(12400, 0, 0, 0, 0, 8, 0, 0),
+(12467, 0, 0, 0, 0, 0, 0, 536872960),
+(12469, 0, 0, 0, 0, 0, 0, 536872960),
+(12473, 1, 0, 0, 0, 0, 0, 32),
+(12497, 0, 0, 0, 0, 0, 0, 1048576),
+(12518, 0, 0, 0, 0, 6, 0, 0),
+(12519, 0, 0, 0, 0, 6, 0, 0),
+(12536, 0, 0, 0, 0, 0, 3, 0),
+(12569, 1, 0, 0, 0, 0, 0, 1048576),
+(12571, 1, 0, 0, 0, 0, 0, 1048576),
+(12672, 0, 0, 0, 0, 6, 0, 0),
+(12839, 0, 0, 0, 0, 237, 0, 0),
+(12840, 0, 0, 0, 0, 237, 0, 0),
+(12841, 0, 0, 0, 0, 237, 0, 0),
+(12842, 0, 0, 0, 0, 237, 0, 0),
+(12952, 0, 0, 0, 0, 6, 0, 0),
+(12953, 0, 0, 0, 0, 6, 0, 0),
+(12954, 0, 0, 0, 0, 6, 0, 0),
+(12957, 0, 0, 0, 0, 6, 0, 0),
+(15047, 0, 0, 0, 0, 6, 0, 0),
+(15052, 0, 0, 0, 0, 6, 0, 0),
+(15053, 0, 0, 0, 0, 6, 0, 0),
+(16757, 0, 0, 0, 0, 0, 0, 160),
+(16758, 0, 0, 0, 0, 0, 0, 160),
+(16763, 1, 0, 0, 0, 0, 0, 32),
+(16765, 1, 0, 0, 0, 0, 0, 32),
+(16766, 1, 0, 0, 0, 0, 0, 32),
+(22008, 0, 0, 0, 0, 0, 3, 0),
+(23025, 0, 0, 0, 0, 0, 0, 65536),
+(28682, 0, 0, 0, 0, 8, 0, 0),
+(28763, 0, 0, 0, 0, 0, 0, 67108864),
+(29438, 0, 0, 20, 0, 0, 0, 0),
+(29439, 0, 0, 20, 0, 0, 0, 0),
+(29440, 0, 0, 20, 0, 0, 0, 0),
+(29976, 0, 0, 0, 0, 0, 3, 0),
+(31569, 0, 0, 0, 0, 0, 0, 65536),
+(31570, 0, 0, 0, 0, 0, 0, 65536),
+(31571, 0, 12536, 0, 0, 0, 0, 0),
+(31572, 0, 12536, 0, 0, 0, 0, 0),
+(31573, 0, 12536, 0, 0, 0, 0, 0),
+(31579, 0, 0, 0, 0, 0, 0, 2048),
+(31579, 1, 0, 0, 0, 0, 0, 2048),
+(31582, 0, 0, 0, 0, 0, 0, 2048),
+(31582, 1, 0, 0, 0, 0, 0, 2048),
+(31583, 0, 0, 0, 0, 0, 0, 2048),
+(31583, 1, 0, 0, 0, 0, 0, 2048),
+(31656, 0, 0, 0, 0, 0, 0, 1),
+(31657, 0, 0, 0, 0, 0, 0, 1),
+(31658, 0, 0, 0, 0, 0, 0, 1),
+(31659, 0, 0, 0, 0, 0, 0, 1),
+(31660, 0, 0, 0, 0, 0, 0, 1),
+(31682, 0, 0, 0, 0, 0, 0, 32),
+(31682, 1, 0, 0, 0, 0, 0, 32),
+(31683, 0, 0, 0, 0, 0, 0, 32),
+(31683, 1, 0, 0, 0, 0, 0, 32),
+(31684, 0, 0, 0, 0, 0, 0, 32),
+(31684, 1, 0, 0, 0, 0, 0, 32),
+(31685, 1, 0, 0, 0, 0, 0, 32),
+(31686, 0, 0, 0, 0, 0, 0, 32),
+(31686, 1, 0, 0, 0, 0, 0, 32),
+(33066, 0, 0, 0, 0, 0, 0, 2),
+(35578, 0, 0, 0, 0, 0, 3, 0),
+(35581, 0, 0, 0, 0, 0, 3, 0),
+(36032, 0, 0, 0, 0, 0, 0, 536870912),
+(36032, 1, 0, 0, 0, 0, 0, 536870912),
+(37423, 0, 0, 0, 0, 0, 0, 4),
+(37438, 0, 0, 0, 0, 0, 0, 33),
+(37439, 0, 12043, 0, 0, 0, 0, 0),
+(37439, 1, 0, 0, 0, 0, 0, 8388608),
+(37439, 2, 11958, 0, 0, 0, 0, 0),
+(37441, 0, 0, 0, 0, 0, 0, 4096),
+(37441, 1, 0, 0, 0, 0, 0, 4096),
+(37447, 0, 0, 0, 30, 0, 0, 0),
+(38396, 0, 0, 0, 0, 0, 0, 67108864),
+(38397, 0, 0, 0, 0, 0, 0, 2081);
diff --git a/sql/updates/0.7/3739_looking_for_group.sql b/sql/updates/0.7/3739_looking_for_group.sql
new file mode 100644
index 00000000000..fc05c1fb529
--- /dev/null
+++ b/sql/updates/0.7/3739_looking_for_group.sql
@@ -0,0 +1 @@
+DROP TABLE IF EXISTS `looking_for_group`;
diff --git a/sql/updates/0.7/3746_spell_proc_event.sql b/sql/updates/0.7/3746_spell_proc_event.sql
new file mode 100644
index 00000000000..3d7a91342ba
--- /dev/null
+++ b/sql/updates/0.7/3746_spell_proc_event.sql
@@ -0,0 +1,2 @@
+INSERT INTO `spell_proc_event` (`entry` ,`SchoolMask` ,`Category` ,`SkillID` ,`SpellFamilyMask` ,`procFlags` ,`ppmRate`)
+VALUES ('27155', '0', '0', '0', '0', '1', '0'); \ No newline at end of file
diff --git a/sql/updates/0.7/3747_command.sql b/sql/updates/0.7/3747_command.sql
new file mode 100644
index 00000000000..730f8080477
--- /dev/null
+++ b/sql/updates/0.7/3747_command.sql
@@ -0,0 +1 @@
+INSERT INTO `command` VALUES('modify mount',1,'Syntax:\r\n.modify mount #id #speed\r\nDisplay selected player as mounted at #id creature and set speed to #speed value.');
diff --git a/sql/updates/0.7/3748_command.sql b/sql/updates/0.7/3748_command.sql
new file mode 100644
index 00000000000..15b722c4cd9
--- /dev/null
+++ b/sql/updates/0.7/3748_command.sql
@@ -0,0 +1,3 @@
+-- Enhanced .gocreature command
+DELETE FROM `command` WHERE `name` = 'gocreature';
+INSERT INTO `command` VALUES('gocreature',2,'Syntax: .gocreature #creature_guid\r\nTeleport your character to creature with guid #creature_guid.\r\n.gocreature #creature_name\r\nTeleport your character to creature with this name.\r\n.gocreature id #creature_id\r\nTeleport your character to a creature that was spawned from the template with this entry.\r\n*If* more than one creature is found, then you are teleported to the first that is found inside the database.');
diff --git a/sql/updates/0.7/3753_battleground_template.sql b/sql/updates/0.7/3753_battleground_template.sql
new file mode 100644
index 00000000000..40c5b2d358b
--- /dev/null
+++ b/sql/updates/0.7/3753_battleground_template.sql
@@ -0,0 +1,24 @@
+-- ----------------------------
+-- Table structure for bg_template
+-- ----------------------------
+DROP TABLE IF EXISTS `battleground_template`;
+CREATE TABLE `battleground_template` (
+ `id` int(11) unsigned NOT NULL,
+ `MaxPlayersPerTeam` int(11) NOT NULL,
+ `MinLvl` int(11) NOT NULL,
+ `MaxLvl` int(11) NOT NULL,
+ `AllianceStartLoc` int(11) unsigned NOT NULL,
+ `AllianceStartO` float NOT NULL,
+ `HordeStartLoc` int(11) unsigned NOT NULL,
+ `HordeStartO` float NOT NULL,
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+-- ----------------------------
+-- Records
+-- ----------------------------
+
+INSERT INTO `battleground_template` VALUES ('1', '0', '0', '0', '611', '2.72532', '610','2.27452');
+INSERT INTO `battleground_template` VALUES ('2', '0', '0', '0', '769', '3.14159', '770','3.14159');
+INSERT INTO `battleground_template` VALUES ('3', '0', '0', '0', '890', '3.40156', '889','0.263892');
+INSERT INTO `battleground_template` VALUES ('7', '0', '0', '0', '1103', '3.40156', '1104','0.263892');
diff --git a/sql/updates/0.7/3763_spell_affect.sql b/sql/updates/0.7/3763_spell_affect.sql
new file mode 100644
index 00000000000..2bc10ee1425
--- /dev/null
+++ b/sql/updates/0.7/3763_spell_affect.sql
@@ -0,0 +1,935 @@
+DROP TABLE IF EXISTS `spell_affect`;
+CREATE TABLE `spell_affect` (
+ `entry` smallint(5) unsigned NOT NULL default '0',
+ `effectId` tinyint(3) unsigned NOT NULL default '0',
+ `SpellId` smallint(5) unsigned NOT NULL default '0',
+ `SchoolMask` tinyint(3) unsigned NOT NULL default '0',
+ `Category` smallint(5) unsigned NOT NULL default '0',
+ `SkillID` smallint(5) unsigned NOT NULL default '0',
+ `SpellFamily` tinyint(3) unsigned NOT NULL default '0',
+ `SpellFamilyMask` int(10) unsigned NOT NULL default '0',
+ `Charges` smallint(5) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`effectId`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+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),
+(11124, 0, 0, 0, 0, 8, 0, 0, 0),
+(11151, 0, 0, 0, 0, 6, 0, 0, 0),
+(11160, 0, 0, 0, 0, 6, 0, 0, 0),
+(11175, 1, 0, 0, 0, 0, 0, 1048576, 0),
+(11207, 0, 0, 0, 0, 6, 0, 0, 0),
+(11222, 0, 0, 0, 0, 237, 0, 0, 0),
+(11242, 0, 0, 0, 0, 0, 0, 536872960, 0),
+(11247, 0, 0, 0, 0, 0, 0, 8192, 0),
+(11370, 0, 0, 0, 0, 8, 0, 0, 0),
+(12042, 0, 0, 0, 0, 0, 3, 0, 0),
+(12042, 1, 0, 0, 0, 0, 3, 0, 0),
+(12042, 2, 0, 0, 0, 0, 3, 0, 0),
+(12043, 0, 0, 0, 0, 0, 3, 0, 0),
+(12285, 0, 0, 0, 0, 0, 0, 1, 0),
+(12286, 0, 0, 0, 0, 0, 0, 32, 0),
+(12287, 1, 0, 0, 0, 0, 0, 128, 0),
+(12288, 0, 0, 0, 0, 0, 0, 8, 0),
+(12288, 1, 0, 0, 0, 0, 0, 8, 0),
+(12301, 0, 0, 0, 0, 0, 0, 256, 0),
+(12318, 0, 469, 0, 0, 0, 0, 65536, 0),
+(12321, 0, 469, 0, 0, 0, 0, 196608, 0),
+(12321, 1, 469, 0, 0, 0, 0, 196608, 0),
+(12330, 0, 0, 0, 0, 0, 0, 2097152, 0),
+(12338, 1, 0, 0, 0, 0, 0, 1, 0),
+(12339, 1, 0, 0, 0, 0, 0, 1, 0),
+(12340, 1, 0, 0, 0, 0, 0, 1, 0),
+(12341, 1, 0, 0, 0, 0, 0, 1, 0),
+(12351, 0, 0, 0, 0, 8, 0, 0, 0),
+(12378, 0, 0, 0, 0, 8, 0, 0, 0),
+(12398, 0, 0, 0, 0, 8, 0, 0, 0),
+(12399, 0, 0, 0, 0, 8, 0, 0, 0),
+(12400, 0, 0, 0, 0, 8, 0, 0, 0),
+(12467, 0, 0, 0, 0, 0, 0, 536872960, 0),
+(12469, 0, 0, 0, 0, 0, 0, 536872960, 0),
+(12473, 1, 0, 0, 0, 0, 0, 32, 0),
+(12497, 0, 0, 0, 0, 0, 0, 1048576, 0),
+(12518, 0, 0, 0, 0, 6, 0, 0, 0),
+(12519, 0, 0, 0, 0, 6, 0, 0, 0),
+(12536, 0, 0, 0, 0, 0, 3, 0, 0),
+(12569, 1, 0, 0, 0, 0, 0, 1048576, 0),
+(12571, 1, 0, 0, 0, 0, 0, 1048576, 0),
+(12658, 0, 0, 0, 0, 0, 0, 32, 0),
+(12659, 0, 0, 0, 0, 0, 0, 32, 0),
+(12665, 1, 0, 0, 0, 0, 0, 128, 0),
+(12666, 1, 0, 0, 0, 0, 0, 128, 0),
+(12672, 0, 0, 0, 0, 6, 0, 0, 0),
+(12697, 0, 0, 0, 0, 0, 0, 1, 0),
+(12707, 0, 0, 0, 0, 0, 0, 8, 0),
+(12707, 1, 0, 0, 0, 0, 0, 8, 0),
+(12818, 0, 0, 0, 0, 0, 0, 256, 0),
+(12835, 0, 469, 0, 0, 0, 0, 196608, 0),
+(12835, 1, 469, 0, 0, 0, 0, 196608, 0),
+(12836, 0, 469, 0, 0, 0, 0, 196608, 0),
+(12836, 1, 469, 0, 0, 0, 0, 196608, 0),
+(12837, 0, 469, 0, 0, 0, 0, 196608, 0),
+(12837, 1, 469, 0, 0, 0, 0, 196608, 0),
+(12838, 0, 469, 0, 0, 0, 0, 196608, 0),
+(12838, 1, 469, 0, 0, 0, 0, 196608, 0),
+(12839, 0, 0, 0, 0, 237, 0, 0, 0),
+(12840, 0, 0, 0, 0, 237, 0, 0, 0),
+(12841, 0, 0, 0, 0, 237, 0, 0, 0),
+(12842, 0, 0, 0, 0, 237, 0, 0, 0),
+(12857, 0, 469, 0, 0, 0, 0, 65536, 0),
+(12858, 0, 469, 0, 0, 0, 0, 65536, 0),
+(12860, 0, 469, 0, 0, 0, 0, 65536, 0),
+(12861, 0, 469, 0, 0, 0, 0, 65536, 0),
+(12862, 0, 0, 0, 0, 0, 0, 2097152, 0),
+(12945, 1, 0, 0, 0, 0, 0, 4096, 0),
+(12952, 0, 0, 0, 0, 6, 0, 0, 0),
+(12953, 0, 0, 0, 0, 6, 0, 0, 0),
+(12954, 0, 0, 0, 0, 6, 0, 0, 0),
+(12957, 0, 0, 0, 0, 6, 0, 0, 0),
+(13742, 0, 0, 0, 0, 0, 0, 96, 0),
+(13743, 0, 0, 0, 0, 0, 0, 64, 0),
+(13872, 0, 0, 0, 0, 0, 0, 96, 0),
+(13875, 0, 0, 0, 0, 0, 0, 64, 0),
+(13975, 0, 0, 0, 0, 0, 0, 4194304, 0),
+(13975, 1, 0, 0, 0, 0, 0, 4194304, 0),
+(13976, 0, 0, 0, 0, 0, 0, 1792, 0),
+(13979, 0, 0, 0, 0, 0, 0, 1792, 0),
+(13980, 0, 0, 0, 0, 0, 0, 1792, 0),
+(13981, 0, 0, 0, 0, 0, 0, 16779264, 0),
+(14057, 0, 0, 0, 0, 0, 0, 772, 0),
+(14062, 0, 0, 0, 0, 0, 0, 4194304, 0),
+(14062, 1, 0, 0, 0, 0, 0, 4194304, 0),
+(14063, 0, 0, 0, 0, 0, 0, 4194304, 0),
+(14063, 1, 0, 0, 0, 0, 0, 4194304, 0),
+(14064, 0, 0, 0, 0, 0, 0, 4194304, 0),
+(14064, 1, 0, 0, 0, 0, 0, 4194304, 0),
+(14065, 0, 0, 0, 0, 0, 0, 4194304, 0),
+(14065, 1, 0, 0, 0, 0, 0, 4194304, 0),
+(14066, 0, 0, 0, 0, 0, 0, 16779264, 0),
+(14067, 0, 0, 0, 0, 0, 0, 16779264, 0),
+(14072, 0, 0, 0, 0, 0, 0, 772, 0),
+(14073, 0, 0, 0, 0, 0, 0, 772, 0),
+(14074, 0, 0, 0, 0, 0, 0, 772, 0),
+(14075, 0, 0, 0, 0, 0, 0, 772, 0),
+(14082, 0, 0, 0, 0, 0, 0, 258, 0),
+(14083, 0, 0, 0, 0, 0, 0, 258, 0),
+(14113, 0, 0, 0, 0, 0, 0, 122880, 0),
+(14114, 0, 0, 0, 0, 0, 0, 122880, 0),
+(14115, 0, 0, 0, 0, 0, 0, 122880, 0),
+(14116, 0, 0, 0, 0, 0, 0, 122880, 0),
+(14117, 0, 0, 0, 0, 0, 0, 122880, 0),
+(14128, 0, 0, 0, 0, 0, 0, 603979790, 0),
+(14132, 0, 0, 0, 0, 0, 0, 603979790, 0),
+(14135, 0, 0, 0, 0, 0, 0, 603979790, 0),
+(14136, 0, 0, 0, 0, 0, 0, 603979790, 0),
+(14137, 0, 0, 0, 0, 0, 0, 603979790, 0),
+(14143, 0, 0, 0, 0, 0, 0, 100663814, 0),
+(14149, 0, 0, 0, 0, 0, 0, 100663814, 0),
+(14162, 0, 0, 0, 0, 0, 0, 131072, 0),
+(14163, 0, 0, 0, 0, 0, 0, 131072, 0),
+(14164, 0, 0, 0, 0, 0, 0, 131072, 0),
+(14168, 0, 0, 0, 0, 0, 0, 524288, 0),
+(14169, 0, 0, 0, 0, 0, 0, 524288, 0),
+(14174, 0, 0, 0, 0, 0, 0, 2097152, 0),
+(14175, 0, 0, 0, 0, 0, 0, 2097152, 0),
+(14176, 0, 0, 0, 0, 0, 0, 2097152, 0),
+(14177, 0, 0, 0, 0, 0, 8, 0, 0),
+(14179, 0, 0, 0, 0, 0, 0, 4063232, 0),
+(14523, 1, 0, 66, 0, 0, 0, 0, 0),
+(14743, 0, 0, 0, 0, 0, 6, 0, 0),
+(14750, 0, 0, 0, 0, 0, 0, 16, 0),
+(14751, 0, 0, 0, 0, 0, 6, 0, 0),
+(14751, 1, 0, 0, 0, 0, 6, 0, 0),
+(14772, 0, 0, 0, 0, 0, 0, 16, 0),
+(14784, 1, 0, 66, 0, 0, 0, 0, 0),
+(14785, 1, 0, 66, 0, 0, 0, 0, 0),
+(14786, 1, 0, 66, 0, 0, 0, 0, 0),
+(14787, 1, 0, 66, 0, 0, 0, 0, 0),
+(14908, 0, 0, 0, 0, 0, 0, 64, 0),
+(14909, 1, 0, 0, 0, 0, 0, 1048704, 0),
+(14911, 0, 33076, 0, 0, 0, 0, 512, 0),
+(15017, 1, 0, 0, 0, 0, 0, 1048704, 0),
+(15018, 0, 33076, 0, 0, 0, 0, 512, 0),
+(15019, 0, 33076, 0, 0, 0, 0, 512, 0),
+(15020, 0, 0, 0, 0, 0, 0, 64, 0),
+(15047, 0, 0, 0, 0, 6, 0, 0, 0),
+(15052, 0, 0, 0, 0, 6, 0, 0, 0),
+(15053, 0, 0, 0, 0, 6, 0, 0, 0),
+(15257, 0, 0, 0, 0, 78, 0, 0, 0),
+(15259, 0, 0, 0, 0, 78, 0, 0, 0),
+(15259, 1, 0, 0, 0, 78, 0, 0, 0),
+(15260, 0, 0, 0, 0, 78, 0, 0, 0),
+(15272, 0, 0, 0, 0, 78, 0, 0, 0),
+(15307, 0, 0, 0, 0, 78, 0, 0, 0),
+(15307, 1, 0, 0, 0, 78, 0, 0, 0),
+(15308, 0, 0, 0, 0, 78, 0, 0, 0),
+(15308, 1, 0, 0, 0, 78, 0, 0, 0),
+(15309, 0, 0, 0, 0, 78, 0, 0, 0),
+(15309, 1, 0, 0, 0, 78, 0, 0, 0),
+(15310, 0, 0, 0, 0, 78, 0, 0, 0),
+(15310, 1, 0, 0, 0, 78, 0, 0, 0),
+(15318, 0, 0, 0, 0, 78, 0, 0, 0),
+(15320, 0, 0, 0, 0, 78, 0, 0, 0),
+(15327, 0, 0, 0, 0, 78, 0, 0, 0),
+(15328, 0, 0, 0, 0, 78, 0, 0, 0),
+(15329, 0, 0, 0, 0, 78, 0, 0, 0),
+(15330, 0, 0, 0, 0, 78, 0, 0, 0),
+(15331, 0, 0, 0, 0, 78, 0, 0, 0),
+(15332, 0, 0, 0, 0, 78, 0, 0, 0),
+(15333, 0, 0, 0, 0, 78, 0, 0, 0),
+(15334, 0, 0, 0, 0, 78, 0, 0, 0),
+(16035, 0, 0, 0, 0, 0, 0, 2416967683, 0),
+(16038, 0, 0, 0, 0, 0, 0, 1073741824, 0),
+(16039, 0, 0, 0, 0, 0, 0, 2416967683, 0),
+(16041, 0, 0, 0, 0, 0, 0, 3, 0),
+(16043, 0, 0, 0, 0, 0, 0, 8, 0),
+(16043, 1, 3600, 0, 0, 0, 0, 0, 0),
+(16086, 0, 0, 0, 0, 0, 0, 134217728, 0),
+(16086, 1, 0, 0, 0, 0, 0, 134217728, 0),
+(16086, 2, 0, 0, 0, 0, 0, 4, 0),
+(16089, 0, 0, 28, 0, 0, 0, 0, 0),
+(16105, 0, 0, 0, 0, 0, 0, 2416967683, 0),
+(16106, 0, 0, 0, 0, 0, 0, 2416967683, 0),
+(16106, 1, 0, 0, 0, 0, 0, 2416967683, 0),
+(16107, 0, 0, 0, 0, 0, 0, 2416967683, 0),
+(16108, 0, 0, 0, 0, 0, 0, 2416967683, 0),
+(16109, 0, 0, 0, 0, 0, 0, 2416967683, 0),
+(16110, 0, 0, 0, 0, 0, 0, 2416967683, 0),
+(16111, 0, 0, 0, 0, 0, 0, 2416967683, 0),
+(16112, 0, 0, 0, 0, 0, 0, 2416967683, 0),
+(16117, 0, 0, 0, 0, 0, 0, 3, 0),
+(16118, 0, 0, 0, 0, 0, 0, 3, 0),
+(16119, 0, 0, 0, 0, 0, 0, 3, 0),
+(16120, 0, 0, 0, 0, 0, 0, 3, 0),
+(16130, 0, 0, 0, 0, 0, 0, 8, 0),
+(16130, 1, 3600, 0, 0, 0, 0, 0, 0),
+(16160, 0, 0, 0, 0, 0, 0, 1073741824, 0),
+(16161, 0, 0, 0, 0, 0, 0, 1073741824, 0),
+(16166, 0, 0, 28, 0, 0, 0, 0, 0),
+(16166, 1, 0, 28, 0, 0, 0, 0, 0),
+(16173, 0, 0, 1, 0, 0, 0, 0, 0),
+(16181, 0, 0, 0, 0, 0, 0, 448, 0),
+(16183, 0, 0, 0, 0, 0, 0, 256, 0),
+(16184, 0, 0, 0, 0, 0, 0, 512, 0),
+(16184, 1, 0, 0, 0, 0, 0, 512, 0),
+(16187, 0, 0, 0, 0, 0, 0, 24576, 0),
+(16187, 1, 0, 0, 0, 0, 0, 24576, 0),
+(16189, 0, 0, 0, 0, 0, 0, 67108864, 0),
+(16205, 0, 0, 0, 0, 0, 0, 24576, 0),
+(16205, 1, 0, 0, 0, 0, 0, 24576, 0),
+(16206, 0, 0, 0, 0, 0, 0, 24576, 0),
+(16206, 1, 0, 0, 0, 0, 0, 24576, 0),
+(16207, 0, 0, 0, 0, 0, 0, 24576, 0),
+(16207, 1, 0, 0, 0, 0, 0, 24576, 0),
+(16208, 0, 0, 0, 0, 0, 0, 24576, 0),
+(16208, 1, 0, 0, 0, 0, 0, 24576, 0),
+(16209, 1, 0, 0, 0, 0, 0, 512, 0),
+(16222, 0, 0, 0, 0, 0, 0, 536870912, 0),
+(16223, 0, 0, 0, 0, 0, 0, 536870912, 0),
+(16224, 0, 0, 0, 0, 0, 0, 536870912, 0),
+(16225, 0, 0, 0, 0, 0, 0, 536870912, 0),
+(16230, 0, 0, 0, 0, 0, 0, 448, 0),
+(16232, 0, 0, 0, 0, 0, 0, 448, 0),
+(16233, 0, 0, 0, 0, 0, 0, 448, 0),
+(16234, 0, 0, 0, 0, 0, 0, 448, 0),
+(16258, 0, 0, 0, 0, 0, 0, 32768, 0),
+(16258, 1, 0, 0, 0, 0, 0, 262144, 0),
+(16259, 0, 0, 0, 0, 0, 0, 65536, 0),
+(16259, 1, 0, 0, 0, 0, 0, 131072, 0),
+(16261, 0, 0, 0, 0, 0, 0, 1024, 0),
+(16266, 0, 0, 0, 0, 0, 0, 4194304, 0),
+(16266, 1, 0, 0, 0, 0, 0, 16777216, 0),
+(16266, 2, 0, 0, 0, 0, 0, 8388608, 0),
+(16290, 0, 0, 0, 0, 0, 0, 1024, 0),
+(16291, 0, 0, 0, 0, 0, 0, 1024, 0),
+(16293, 0, 0, 0, 0, 0, 0, 32768, 0),
+(16293, 1, 0, 0, 0, 0, 0, 262144, 0),
+(16295, 0, 0, 0, 0, 0, 0, 65536, 0),
+(16295, 1, 0, 0, 0, 0, 0, 131072, 0),
+(16493, 0, 0, 0, 0, 0, 4, 0, 0),
+(16494, 0, 0, 0, 0, 0, 4, 0, 0),
+(16513, 0, 0, 0, 0, 0, 0, 122880, 0),
+(16513, 1, 0, 0, 0, 0, 0, 122880, 0),
+(16513, 2, 0, 0, 0, 0, 0, 122880, 0),
+(16514, 0, 0, 0, 0, 0, 0, 122880, 0),
+(16514, 1, 0, 0, 0, 0, 0, 122880, 0),
+(16514, 2, 0, 0, 0, 0, 0, 122880, 0),
+(16515, 0, 0, 0, 0, 0, 0, 122880, 0),
+(16515, 1, 0, 0, 0, 0, 0, 122880, 0),
+(16515, 2, 0, 0, 0, 0, 0, 122880, 0),
+(16544, 2, 0, 0, 0, 0, 0, 4, 0),
+(16719, 0, 0, 0, 0, 0, 0, 122880, 0),
+(16719, 1, 0, 0, 0, 0, 0, 122880, 0),
+(16719, 2, 0, 0, 0, 0, 0, 122880, 0),
+(16720, 0, 0, 0, 0, 0, 0, 122880, 0),
+(16720, 1, 0, 0, 0, 0, 0, 122880, 0),
+(16720, 2, 0, 0, 0, 0, 0, 122880, 0),
+(16757, 0, 0, 0, 0, 0, 0, 160, 0),
+(16758, 0, 0, 0, 0, 0, 0, 160, 0),
+(16763, 1, 0, 0, 0, 0, 0, 32, 0),
+(16765, 1, 0, 0, 0, 0, 0, 32, 0),
+(16766, 1, 0, 0, 0, 0, 0, 32, 0),
+(16814, 0, 0, 0, 0, 0, 0, 5, 0),
+(16815, 0, 0, 0, 0, 0, 0, 5, 0),
+(16816, 0, 0, 0, 0, 0, 0, 5, 0),
+(16817, 0, 0, 0, 0, 0, 0, 5, 0),
+(16818, 0, 0, 0, 0, 0, 0, 5, 0),
+(16819, 0, 0, 0, 0, 574, 0, 1024, 0),
+(16820, 0, 0, 0, 0, 574, 0, 1024, 0),
+(16821, 0, 0, 0, 0, 0, 0, 2, 0),
+(16821, 1, 0, 0, 0, 0, 0, 2, 0),
+(16821, 2, 0, 0, 0, 0, 0, 2, 0),
+(16822, 0, 0, 0, 0, 0, 0, 2, 0),
+(16822, 1, 0, 0, 0, 0, 0, 2, 0),
+(16822, 2, 0, 0, 0, 0, 0, 2, 0),
+(16823, 1, 0, 0, 0, 0, 0, 2, 0),
+(16823, 2, 0, 0, 0, 0, 0, 2, 0),
+(16824, 1, 0, 0, 0, 0, 0, 2, 0),
+(16824, 2, 0, 0, 0, 0, 0, 2, 0),
+(16825, 1, 0, 0, 0, 0, 0, 2, 0),
+(16825, 2, 0, 0, 0, 0, 0, 2, 0),
+(16833, 0, 0, 0, 0, 0, 0, 3791650816, 0),
+(16834, 0, 0, 0, 0, 0, 0, 3791650816, 0),
+(16835, 0, 0, 0, 0, 0, 0, 3791650816, 0),
+(16836, 1, 0, 0, 0, 0, 0, 768, 0),
+(16839, 1, 0, 0, 0, 0, 0, 768, 0),
+(16840, 1, 0, 0, 0, 0, 0, 768, 0),
+(16850, 1, 0, 0, 0, 0, 0, 1, 0),
+(16870, 0, 0, 0, 0, 0, 7, 0, 0),
+(16896, 0, 0, 0, 0, 0, 0, 7, 0),
+(16896, 1, 0, 0, 0, 0, 0, 7, 0),
+(16897, 0, 0, 0, 0, 0, 0, 7, 0),
+(16897, 1, 0, 0, 0, 0, 0, 7, 0),
+(16899, 0, 0, 0, 0, 0, 0, 7, 0),
+(16899, 1, 0, 0, 0, 0, 0, 7, 0),
+(16900, 0, 0, 0, 0, 0, 0, 7, 0),
+(16900, 1, 0, 0, 0, 0, 0, 7, 0),
+(16901, 0, 0, 0, 0, 0, 0, 7, 0),
+(16901, 1, 0, 0, 0, 0, 0, 7, 0),
+(16918, 0, 33786, 0, 0, 0, 0, 512, 0),
+(16919, 0, 33786, 0, 0, 0, 0, 512, 0),
+(16920, 0, 33786, 0, 0, 0, 0, 512, 0),
+(16923, 1, 0, 0, 0, 0, 0, 1, 0),
+(16924, 1, 0, 0, 0, 0, 0, 1, 0),
+(16934, 0, 0, 0, 0, 0, 0, 2048, 0),
+(16934, 1, 0, 0, 0, 0, 0, 4096, 0),
+(16935, 0, 0, 0, 0, 0, 0, 2048, 0),
+(16935, 1, 0, 0, 0, 0, 0, 4096, 0),
+(16936, 0, 0, 0, 0, 0, 0, 2048, 0),
+(16936, 1, 0, 0, 0, 0, 0, 4096, 0),
+(16937, 0, 0, 0, 0, 0, 0, 2048, 0),
+(16937, 1, 0, 0, 0, 0, 0, 4096, 0),
+(16938, 0, 0, 0, 0, 0, 0, 2048, 0),
+(16938, 1, 0, 0, 0, 0, 0, 4096, 0),
+(16966, 0, 0, 0, 0, 0, 0, 32768, 0),
+(16966, 1, 33745, 0, 0, 0, 0, 0, 0),
+(16968, 0, 0, 0, 0, 0, 0, 32768, 0),
+(16968, 1, 33745, 0, 0, 0, 0, 0, 0),
+(16998, 0, 0, 0, 0, 0, 0, 4096, 0),
+(16998, 2, 0, 0, 0, 0, 0, 4096, 0),
+(16999, 0, 0, 0, 0, 0, 0, 4096, 0),
+(16999, 2, 0, 0, 0, 0, 0, 4096, 0),
+(17111, 0, 0, 0, 0, 0, 0, 16, 0),
+(17112, 0, 0, 0, 0, 0, 0, 16, 0),
+(17113, 0, 0, 0, 0, 0, 0, 16, 0),
+(17114, 0, 0, 0, 0, 0, 0, 16, 0),
+(17115, 0, 0, 0, 0, 0, 0, 16, 0),
+(17116, 0, 0, 8, 0, 0, 0, 0, 0),
+(17118, 0, 0, 0, 0, 0, 7, 0, 0),
+(17118, 1, 0, 0, 0, 0, 7, 0, 0),
+(17119, 0, 0, 0, 0, 0, 7, 0, 0),
+(17119, 1, 0, 0, 0, 0, 7, 0, 0),
+(17120, 0, 0, 0, 0, 0, 7, 0, 0),
+(17120, 1, 0, 0, 0, 0, 7, 0, 0),
+(17121, 0, 0, 0, 0, 0, 7, 0, 0),
+(17121, 1, 0, 0, 0, 0, 7, 0, 0),
+(17122, 0, 0, 0, 0, 0, 7, 0, 0),
+(17122, 1, 0, 0, 0, 0, 7, 0, 0),
+(17123, 0, 0, 0, 0, 0, 0, 128, 0),
+(17124, 0, 0, 0, 0, 0, 0, 128, 0),
+(17191, 0, 0, 0, 0, 0, 0, 64, 0),
+(17322, 0, 0, 0, 0, 78, 0, 0, 0),
+(17323, 0, 0, 0, 0, 78, 0, 0, 0),
+(17325, 0, 0, 0, 0, 78, 0, 0, 0),
+(17778, 0, 0, 0, 0, 593, 0, 0, 0),
+(17779, 0, 0, 0, 0, 593, 0, 0, 0),
+(17780, 0, 0, 0, 0, 593, 0, 0, 0),
+(17781, 0, 0, 0, 0, 593, 0, 0, 0),
+(17782, 0, 0, 0, 0, 593, 0, 0, 0),
+(17788, 1, 0, 0, 631, 0, 0, 0, 0),
+(17789, 1, 0, 0, 631, 0, 0, 0, 0),
+(17790, 1, 0, 0, 631, 0, 0, 0, 0),
+(17791, 1, 0, 0, 631, 0, 0, 0, 0),
+(17792, 1, 0, 0, 631, 0, 0, 0, 0),
+(17917, 0, 0, 0, 0, 593, 0, 0, 0),
+(17917, 1, 0, 0, 0, 593, 0, 0, 0),
+(17918, 0, 0, 0, 0, 593, 0, 0, 0),
+(17918, 1, 0, 0, 0, 593, 0, 0, 0),
+(17927, 0, 0, 0, 0, 0, 0, 256, 0),
+(17929, 0, 0, 0, 0, 0, 0, 256, 0),
+(17930, 0, 0, 0, 0, 0, 0, 256, 0),
+(17941, 255, 0, 0, 0, 0, 0, 1, 1),
+(17954, 0, 0, 4, 0, 0, 0, 0, 0),
+(17954, 1, 0, 4, 0, 0, 0, 0, 0),
+(17955, 0, 0, 4, 0, 0, 0, 0, 0),
+(17955, 1, 0, 4, 0, 0, 0, 0, 0),
+(17956, 0, 0, 4, 0, 0, 0, 0, 0),
+(17956, 1, 0, 4, 0, 0, 0, 0, 0),
+(17957, 0, 0, 4, 0, 0, 0, 0, 0),
+(17957, 1, 0, 4, 0, 0, 0, 0, 0),
+(17958, 0, 0, 4, 0, 0, 0, 0, 0),
+(17958, 1, 0, 4, 0, 0, 0, 0, 0),
+(17959, 0, 0, 0, 0, 593, 0, 0, 0),
+(18126, 0, 0, 0, 0, 0, 0, 4096, 0),
+(18127, 0, 0, 0, 0, 0, 0, 4096, 0),
+(18130, 0, 0, 0, 0, 593, 0, 0, 0),
+(18131, 0, 0, 0, 0, 593, 0, 0, 0),
+(18132, 0, 0, 0, 0, 593, 0, 0, 0),
+(18133, 0, 0, 0, 0, 593, 0, 0, 0),
+(18134, 0, 0, 0, 0, 593, 0, 0, 0),
+(18135, 0, 0, 0, 0, 593, 0, 0, 0),
+(18136, 0, 0, 0, 0, 593, 0, 0, 0),
+(18174, 0, 0, 0, 0, 355, 0, 0, 0),
+(18175, 0, 0, 0, 0, 355, 0, 0, 0),
+(18176, 0, 0, 0, 0, 355, 0, 0, 0),
+(18177, 0, 0, 0, 0, 355, 0, 0, 0),
+(18178, 0, 0, 0, 0, 355, 0, 0, 0),
+(18179, 0, 0, 0, 0, 0, 0, 32768, 0),
+(18180, 0, 0, 0, 0, 0, 0, 32768, 0),
+(18213, 0, 0, 0, 0, 0, 0, 16384, 0),
+(18213, 1, 0, 0, 0, 355, 0, 0, 0),
+(18218, 0, 0, 0, 0, 355, 0, 0, 0),
+(18219, 0, 0, 0, 0, 355, 0, 0, 0),
+(18271, 0, 0, 32, 0, 0, 0, 0, 0),
+(18271, 1, 0, 32, 0, 0, 0, 0, 0),
+(18272, 0, 0, 32, 0, 0, 0, 0, 0),
+(18272, 1, 0, 32, 0, 0, 0, 0, 0),
+(18273, 0, 0, 32, 0, 0, 0, 0, 0),
+(18273, 1, 0, 32, 0, 0, 0, 0, 0),
+(18274, 0, 0, 32, 0, 0, 0, 0, 0),
+(18274, 1, 0, 32, 0, 0, 0, 0, 0),
+(18275, 0, 0, 32, 0, 0, 0, 0, 0),
+(18275, 1, 0, 32, 0, 0, 0, 0, 0),
+(18288, 0, 0, 0, 1179, 0, 0, 1024, 0),
+(18288, 1, 18223, 0, 0, 0, 0, 0, 0),
+(18310, 0, 18223, 0, 0, 0, 0, 0, 0),
+(18311, 0, 18223, 0, 0, 0, 0, 0, 0),
+(18312, 0, 18223, 0, 0, 0, 0, 0, 0),
+(18313, 0, 18223, 0, 0, 0, 0, 0, 0),
+(18372, 1, 0, 0, 0, 355, 0, 0, 0),
+(18544, 0, 0, 0, 0, 0, 6, 0, 0),
+(18544, 1, 0, 0, 0, 0, 6, 0, 0),
+(18544, 2, 0, 0, 0, 0, 6, 0, 0),
+(18547, 0, 0, 0, 0, 0, 6, 0, 0),
+(18547, 1, 0, 0, 0, 0, 6, 0, 0),
+(18547, 2, 0, 0, 0, 0, 6, 0, 0),
+(18548, 0, 0, 0, 0, 0, 6, 0, 0),
+(18548, 1, 0, 0, 0, 0, 6, 0, 0),
+(18548, 2, 0, 0, 0, 0, 6, 0, 0),
+(18549, 0, 0, 0, 0, 0, 6, 0, 0),
+(18549, 1, 0, 0, 0, 0, 6, 0, 0),
+(18549, 2, 0, 0, 0, 0, 6, 0, 0),
+(18550, 0, 0, 0, 0, 0, 6, 0, 0),
+(18550, 1, 0, 0, 0, 0, 6, 0, 0),
+(18550, 2, 0, 0, 0, 0, 6, 0, 0),
+(18703, 1, 0, 0, 0, 0, 0, 16777216, 0),
+(18704, 1, 0, 0, 0, 0, 0, 16777216, 0),
+(18731, 0, 0, 0, 0, 0, 0, 268435456, 0),
+(18743, 0, 0, 0, 0, 0, 0, 268435456, 0),
+(18744, 0, 0, 0, 0, 0, 0, 268435456, 0),
+(18748, 0, 0, 0, 0, 0, 0, 134217728, 0),
+(18749, 0, 0, 0, 0, 0, 0, 134217728, 0),
+(18750, 0, 0, 0, 0, 0, 0, 134217728, 0),
+(18767, 1, 0, 0, 0, 0, 0, 131072, 0),
+(18768, 1, 0, 0, 0, 0, 0, 131072, 0),
+(18821, 0, 0, 0, 0, 0, 0, 2048, 0),
+(18821, 1, 0, 0, 0, 0, 0, 2048, 0),
+(18821, 2, 0, 0, 0, 0, 0, 2048, 0),
+(18822, 0, 0, 0, 0, 0, 0, 2048, 0),
+(18822, 1, 0, 0, 0, 0, 0, 2048, 0),
+(18822, 2, 0, 0, 0, 0, 0, 2048, 0),
+(18827, 0, 0, 0, 0, 0, 0, 1024, 0),
+(18829, 0, 0, 0, 0, 0, 0, 1024, 0),
+(19416, 0, 0, 0, 0, 0, 0, 252416, 0),
+(19417, 0, 0, 0, 0, 0, 0, 252416, 0),
+(19418, 0, 0, 0, 0, 0, 0, 252416, 0),
+(19419, 0, 0, 0, 0, 0, 0, 252416, 0),
+(19420, 0, 0, 0, 0, 0, 0, 252416, 0),
+(19461, 0, 0, 0, 0, 0, 0, 12288, 0),
+(19461, 1, 0, 0, 0, 0, 0, 12288, 0),
+(19462, 0, 0, 0, 0, 0, 0, 12288, 0),
+(19462, 1, 0, 0, 0, 0, 0, 12288, 0),
+(19464, 0, 0, 0, 0, 0, 0, 16384, 0),
+(19464, 1, 0, 0, 1175, 0, 0, 0, 0),
+(19464, 2, 0, 0, 0, 0, 0, 252416, 0),
+(19465, 0, 0, 0, 0, 0, 0, 16384, 0),
+(19465, 1, 0, 0, 1175, 0, 0, 0, 0),
+(19465, 2, 0, 0, 0, 0, 0, 252416, 0),
+(19466, 0, 0, 0, 0, 0, 0, 16384, 0),
+(19466, 1, 0, 0, 1175, 0, 0, 0, 0),
+(19466, 2, 0, 0, 0, 0, 0, 252416, 0),
+(19467, 0, 0, 0, 0, 0, 0, 16384, 0),
+(19467, 1, 0, 0, 1175, 0, 0, 0, 0),
+(19467, 2, 0, 0, 0, 0, 0, 252416, 0),
+(19468, 0, 0, 0, 0, 0, 0, 16384, 0),
+(19468, 1, 0, 0, 1175, 0, 0, 0, 0),
+(19468, 2, 0, 0, 0, 0, 0, 252416, 0),
+(19498, 0, 0, 0, 0, 0, 0, 1, 0),
+(19499, 0, 0, 0, 0, 0, 0, 1, 0),
+(19500, 0, 0, 0, 0, 0, 0, 1, 0),
+(19549, 0, 0, 0, 0, 0, 0, 524288, 0),
+(19550, 0, 0, 0, 0, 0, 0, 524288, 0),
+(19551, 0, 0, 0, 0, 0, 0, 524288, 0),
+(19552, 0, 0, 0, 0, 0, 0, 1048576, 0),
+(19552, 1, 6150, 0, 0, 0, 0, 0, 0),
+(19553, 0, 0, 0, 0, 0, 0, 1048576, 0),
+(19553, 1, 6150, 0, 0, 0, 0, 0, 0),
+(19554, 0, 0, 0, 0, 0, 0, 1048576, 0),
+(19554, 1, 6150, 0, 0, 0, 0, 0, 0),
+(19555, 0, 0, 0, 0, 0, 0, 1048576, 0),
+(19555, 1, 6150, 0, 0, 0, 0, 0, 0),
+(19556, 0, 0, 0, 0, 0, 0, 1048576, 0),
+(19556, 1, 6150, 0, 0, 0, 0, 0, 0),
+(19559, 0, 0, 0, 0, 0, 0, 2097152, 0),
+(19560, 0, 0, 0, 0, 0, 0, 2097152, 0),
+(19583, 0, 0, 0, 0, 0, 0, 134217728, 0),
+(19584, 0, 0, 0, 0, 0, 0, 134217728, 0),
+(19585, 0, 0, 0, 0, 0, 0, 134217728, 0),
+(19586, 0, 0, 0, 0, 0, 0, 134217728, 0),
+(19587, 0, 0, 0, 0, 0, 0, 134217728, 0),
+(19590, 0, 0, 0, 0, 0, 0, 536870912, 0),
+(19592, 0, 0, 0, 0, 0, 0, 536870912, 0),
+(19598, 0, 0, 0, 0, 0, 0, 1073741824, 0),
+(19599, 0, 0, 0, 0, 0, 0, 1073741824, 0),
+(19600, 0, 0, 0, 0, 0, 0, 1073741824, 0),
+(19601, 0, 0, 0, 0, 0, 0, 1073741824, 0),
+(19602, 0, 0, 0, 0, 0, 0, 1073741824, 0),
+(19609, 0, 0, 0, 0, 0, 0, 67108864, 0),
+(19610, 0, 0, 0, 0, 0, 0, 67108864, 0),
+(19612, 0, 0, 0, 0, 0, 0, 67108864, 0),
+(20101, 0, 0, 0, 0, 0, 0, 402653184, 0),
+(20102, 0, 0, 0, 0, 0, 0, 402653184, 0),
+(20103, 0, 0, 0, 0, 0, 0, 402653184, 0),
+(20104, 0, 0, 0, 0, 0, 0, 402653184, 0),
+(20105, 0, 0, 0, 0, 0, 0, 402653184, 0),
+(20138, 0, 0, 0, 0, 0, 0, 64, 0),
+(20139, 0, 0, 0, 0, 0, 0, 64, 0),
+(20140, 0, 0, 0, 0, 0, 0, 64, 0),
+(20141, 0, 0, 0, 0, 0, 0, 64, 0),
+(20142, 0, 0, 0, 0, 0, 0, 64, 0),
+(20174, 0, 0, 0, 0, 0, 0, 128, 0),
+(20174, 1, 0, 0, 0, 0, 0, 16, 0),
+(20237, 0, 0, 0, 0, 0, 0, 3221225472, 0),
+(20238, 0, 0, 0, 0, 0, 0, 3221225472, 0),
+(20239, 0, 0, 0, 0, 0, 0, 3221225472, 0),
+(20335, 1, 0, 0, 0, 0, 0, 536870912, 0),
+(20336, 1, 0, 0, 0, 0, 0, 536870912, 0),
+(20337, 1, 0, 0, 0, 0, 0, 536870912, 0),
+(20359, 0, 0, 0, 0, 0, 0, 2147483648, 0),
+(20360, 0, 0, 0, 0, 0, 0, 2147483648, 0),
+(20361, 0, 0, 0, 0, 0, 0, 2147483648, 0),
+(20468, 1, 0, 0, 0, 0, 0, 1, 0),
+(20469, 1, 0, 0, 0, 0, 0, 1, 0),
+(20470, 1, 0, 0, 0, 0, 0, 1, 0),
+(20575, 0, 0, 0, 0, 0, 0, 67108864, 0),
+(20575, 1, 0, 0, 0, 0, 0, 67108864, 0),
+(20576, 0, 0, 0, 0, 0, 0, 33554432, 0),
+(21873, 0, 0, 0, 0, 0, 0, 3791650816, 0),
+(21881, 0, 0, 0, 0, 0, 0, 122880, 0),
+(21887, 0, 0, 0, 0, 0, 4, 0, 0),
+(21942, 1, 0, 0, 0, 0, 0, 134217728, 0),
+(22008, 0, 0, 0, 0, 0, 3, 0, 1),
+(23025, 0, 0, 0, 0, 0, 0, 65536, 0),
+(23300, 0, 0, 0, 0, 0, 0, 536870912, 0),
+(23555, 0, 0, 0, 0, 593, 0, 0, 0),
+(23724, 0, 0, 0, 0, 0, 0, 3791650816, 0),
+(23726, 0, 0, 0, 0, 0, 0, 8192, 0),
+(23726, 1, 0, 0, 0, 0, 0, 65536, 0),
+(24348, 0, 5118, 0, 0, 0, 0, 0, 0),
+(24431, 0, 1680, 0, 0, 0, 0, 0, 0),
+(24499, 0, 0, 0, 0, 0, 0, 1024, 0),
+(24691, 0, 0, 0, 0, 0, 0, 12288, 0),
+(24691, 1, 0, 0, 0, 0, 0, 12288, 0),
+(26109, 0, 469, 0, 0, 0, 0, 983040, 0),
+(26118, 0, 0, 0, 0, 0, 0, 67108864, 0),
+(26118, 1, 0, 0, 0, 0, 0, 67108864, 0),
+(26174, 0, 0, 0, 0, 0, 0, 32, 0),
+(27789, 1, 0, 0, 0, 0, 0, 272630272, 0),
+(27790, 1, 0, 0, 0, 0, 0, 272630272, 0),
+(27828, 0, 0, 0, 0, 0, 6, 0, 0),
+(27846, 0, 0, 0, 0, 0, 0, 32, 0),
+(27850, 0, 0, 0, 0, 0, 0, 64, 0),
+(27851, 0, 0, 0, 0, 0, 0, 4096, 0),
+(28088, 0, 0, 0, 0, 0, 0, 122880, 0),
+(28107, 0, 0, 0, 0, 0, 0, 262144, 0),
+(28539, 0, 0, 0, 0, 0, 0, 4096, 0),
+(28682, 0, 0, 0, 0, 8, 0, 0, 0),
+(28743, 0, 0, 0, 0, 0, 0, 240, 0),
+(28751, 0, 0, 0, 0, 0, 0, 135168, 0),
+(28755, 0, 0, 0, 0, 0, 0, 32, 0),
+(28763, 0, 0, 0, 0, 0, 0, 67108864, 0),
+(28774, 0, 0, 0, 0, 0, 0, 32768, 0),
+(28775, 0, 0, 0, 0, 0, 0, 524288, 0),
+(28787, 0, 4987, 0, 0, 0, 0, 0, 0),
+(28807, 0, 0, 0, 0, 0, 0, 64, 0),
+(28811, 0, 0, 0, 0, 0, 0, 33685510, 0),
+(28818, 0, 0, 0, 0, 0, 0, 1073741824, 0),
+(28821, 0, 0, 0, 0, 0, 0, 1024, 0),
+(28829, 0, 0, 0, 0, 0, 0, 2, 0),
+(28830, 0, 0, 0, 0, 0, 0, 262144, 0),
+(28831, 0, 0, 0, 0, 0, 0, 1, 0),
+(28843, 0, 0, 0, 0, 0, 0, 557056, 0),
+(28844, 0, 0, 0, 0, 0, 0, 1024, 0),
+(28852, 0, 0, 0, 0, 0, 0, 512, 0),
+(28852, 1, 0, 0, 0, 0, 0, 536870912, 0),
+(28999, 0, 0, 0, 0, 0, 0, 3, 0),
+(29000, 0, 0, 0, 0, 0, 0, 3, 0),
+(29005, 0, 0, 0, 0, 0, 0, 2416967683, 0),
+(29063, 0, 0, 0, 0, 0, 11, 0, 0),
+(29079, 0, 0, 0, 0, 0, 0, 4194304, 0),
+(29079, 1, 0, 0, 0, 0, 0, 16777216, 0),
+(29079, 2, 0, 0, 0, 0, 0, 8388608, 0),
+(29080, 0, 0, 0, 0, 0, 0, 4194304, 0),
+(29080, 1, 0, 0, 0, 0, 0, 16777216, 0),
+(29080, 2, 0, 0, 0, 0, 0, 8388608, 0),
+(29171, 0, 0, 0, 0, 0, 0, 16384, 0),
+(29187, 0, 0, 0, 0, 0, 0, 448, 0),
+(29189, 0, 0, 0, 0, 0, 0, 448, 0),
+(29191, 0, 0, 0, 0, 0, 0, 448, 0),
+(29202, 0, 0, 0, 0, 0, 0, 64, 0),
+(29205, 0, 0, 0, 0, 0, 0, 64, 0),
+(29206, 0, 0, 0, 0, 0, 0, 64, 0),
+(29438, 0, 0, 20, 0, 0, 0, 0, 0),
+(29439, 0, 0, 20, 0, 0, 0, 0, 0),
+(29440, 0, 0, 20, 0, 0, 0, 0, 0),
+(29721, 0, 1680, 0, 0, 0, 0, 0, 0),
+(29723, 0, 0, 0, 0, 0, 0, 2147491856, 0),
+(29723, 1, 0, 0, 0, 0, 0, 2147491856, 0),
+(29724, 0, 0, 0, 0, 0, 0, 2147491856, 0),
+(29724, 1, 0, 0, 0, 0, 0, 2147491856, 0),
+(29725, 0, 0, 0, 0, 0, 0, 2147491856, 0),
+(29725, 1, 0, 0, 0, 0, 0, 2147491856, 0),
+(29776, 0, 1680, 0, 0, 0, 0, 0, 0),
+(29787, 0, 0, 0, 0, 0, 4, 0, 0),
+(29790, 0, 0, 0, 0, 0, 4, 0, 0),
+(29792, 0, 0, 0, 0, 0, 4, 0, 0),
+(29836, 0, 0, 0, 0, 0, 0, 32, 0),
+(29859, 0, 0, 0, 0, 0, 0, 32, 0),
+(29860, 0, 0, 0, 0, 0, 0, 32, 0),
+(29861, 0, 0, 0, 0, 0, 0, 32, 0),
+(29862, 0, 0, 0, 0, 0, 0, 32, 0),
+(29976, 0, 0, 0, 0, 0, 3, 0, 0),
+(30049, 0, 0, 0, 0, 0, 0, 524288, 0),
+(30051, 0, 0, 0, 0, 0, 0, 524288, 0),
+(30052, 0, 0, 0, 0, 0, 0, 524288, 0),
+(30054, 0, 0, 0, 634, 0, 0, 0, 0),
+(30057, 0, 0, 0, 634, 0, 0, 0, 0),
+(30060, 0, 27243, 0, 0, 0, 0, 1026, 0),
+(30060, 1, 27243, 0, 0, 0, 0, 1026, 0),
+(30060, 2, 0, 0, 0, 355, 0, 0, 0),
+(30061, 0, 27243, 0, 0, 0, 0, 1026, 0),
+(30061, 1, 27243, 0, 0, 0, 0, 1026, 0),
+(30061, 2, 0, 0, 0, 355, 0, 0, 0),
+(30062, 0, 27243, 0, 0, 0, 0, 1026, 0),
+(30062, 1, 27243, 0, 0, 0, 0, 1026, 0),
+(30062, 2, 0, 0, 0, 355, 0, 0, 0),
+(30063, 0, 27243, 0, 0, 0, 0, 1026, 0),
+(30063, 1, 27243, 0, 0, 0, 0, 1026, 0),
+(30063, 2, 0, 0, 0, 355, 0, 0, 0),
+(30064, 0, 27243, 0, 0, 0, 0, 1026, 0),
+(30064, 1, 27243, 0, 0, 0, 0, 1026, 0),
+(30064, 2, 0, 0, 0, 355, 0, 0, 0),
+(30085, 0, 0, 0, 0, 355, 0, 0, 0),
+(30085, 1, 0, 0, 0, 0, 0, 1024, 0),
+(30085, 2, 0, 0, 0, 0, 0, 2, 0),
+(30086, 0, 0, 0, 0, 355, 0, 0, 0),
+(30086, 1, 0, 0, 0, 0, 0, 1024, 0),
+(30086, 2, 0, 0, 0, 0, 0, 2, 0),
+(30251, 0, 0, 0, 0, 593, 0, 0, 0),
+(30256, 0, 0, 0, 0, 593, 0, 0, 0),
+(30288, 0, 0, 0, 0, 0, 0, 1, 0),
+(30289, 0, 0, 0, 0, 0, 0, 1, 0),
+(30290, 0, 0, 0, 0, 0, 0, 1, 0),
+(30291, 0, 0, 0, 0, 0, 0, 1, 0),
+(30292, 0, 0, 0, 0, 0, 0, 1, 0),
+(30326, 0, 0, 0, 0, 0, 0, 262160, 0),
+(30327, 0, 0, 0, 0, 0, 0, 262160, 0),
+(30328, 0, 0, 0, 0, 0, 0, 262160, 0),
+(30440, 0, 0, 0, 0, 0, 0, 557056, 0),
+(30640, 0, 0, 0, 0, 0, 0, 256, 0),
+(30649, 0, 0, 0, 0, 0, 0, 256, 0),
+(30872, 0, 0, 0, 0, 0, 0, 256, 0),
+(30873, 0, 0, 0, 0, 0, 0, 256, 0),
+(30892, 0, 0, 0, 0, 0, 0, 134217728, 0),
+(30893, 0, 0, 0, 0, 0, 0, 134217728, 0),
+(31226, 0, 0, 0, 0, 0, 0, 122880, 0),
+(31227, 0, 0, 0, 0, 0, 0, 122880, 0),
+(31234, 0, 0, 0, 0, 0, 8, 0, 0),
+(31234, 1, 0, 0, 0, 0, 8, 0, 0),
+(31235, 0, 0, 0, 0, 0, 8, 0, 0),
+(31235, 1, 0, 0, 0, 0, 8, 0, 0),
+(31236, 0, 0, 0, 0, 0, 8, 0, 0),
+(31236, 1, 0, 0, 0, 0, 8, 0, 0),
+(31237, 0, 0, 0, 0, 0, 8, 0, 0),
+(31237, 1, 0, 0, 0, 0, 8, 0, 0),
+(31238, 0, 0, 0, 0, 0, 8, 0, 0),
+(31238, 1, 0, 0, 0, 0, 8, 0, 0),
+(31569, 0, 0, 0, 0, 0, 0, 65536, 0),
+(31570, 0, 0, 0, 0, 0, 0, 65536, 0),
+(31571, 0, 12536, 0, 0, 0, 0, 0, 0),
+(31572, 0, 12536, 0, 0, 0, 0, 0, 0),
+(31573, 0, 12536, 0, 0, 0, 0, 0, 0),
+(31579, 0, 0, 0, 0, 0, 0, 2048, 0),
+(31579, 1, 0, 0, 0, 0, 0, 2048, 0),
+(31582, 0, 0, 0, 0, 0, 0, 2048, 0),
+(31582, 1, 0, 0, 0, 0, 0, 2048, 0),
+(31583, 0, 0, 0, 0, 0, 0, 2048, 0),
+(31583, 1, 0, 0, 0, 0, 0, 2048, 0),
+(31656, 0, 0, 0, 0, 0, 0, 1, 0),
+(31657, 0, 0, 0, 0, 0, 0, 1, 0),
+(31658, 0, 0, 0, 0, 0, 0, 1, 0),
+(31659, 0, 0, 0, 0, 0, 0, 1, 0),
+(31660, 0, 0, 0, 0, 0, 0, 1, 0),
+(31682, 0, 0, 0, 0, 0, 0, 32, 0),
+(31682, 1, 0, 0, 0, 0, 0, 32, 0),
+(31683, 0, 0, 0, 0, 0, 0, 32, 0),
+(31683, 1, 0, 0, 0, 0, 0, 32, 0),
+(31684, 0, 0, 0, 0, 0, 0, 32, 0),
+(31684, 1, 0, 0, 0, 0, 0, 32, 0),
+(31685, 1, 0, 0, 0, 0, 0, 32, 0),
+(31686, 0, 0, 0, 0, 0, 0, 32, 0),
+(31686, 1, 0, 0, 0, 0, 0, 32, 0),
+(31821, 0, 0, 0, 0, 0, 0, 67108864, 0),
+(31825, 0, 4987, 0, 0, 0, 0, 32, 0),
+(31826, 0, 4987, 0, 0, 0, 0, 32, 0),
+(31834, 0, 0, 0, 0, 0, 0, 16384, 0),
+(31844, 1, 0, 0, 0, 0, 10, 0, 0),
+(31845, 1, 0, 0, 0, 0, 10, 0, 0),
+(31848, 0, 0, 0, 0, 0, 0, 4194304, 0),
+(31848, 1, 0, 0, 0, 0, 0, 4194304, 0),
+(31849, 0, 0, 0, 0, 0, 0, 4194304, 0),
+(31849, 1, 0, 0, 0, 0, 0, 4194304, 0),
+(31869, 0, 20218, 0, 0, 0, 0, 0, 0),
+(31870, 0, 20218, 0, 0, 0, 0, 0, 0),
+(31879, 0, 0, 0, 0, 0, 0, 8388608, 0),
+(31880, 0, 0, 0, 0, 0, 0, 8388608, 0),
+(31881, 0, 0, 0, 0, 0, 0, 8388608, 0),
+(31882, 0, 0, 0, 0, 0, 0, 8388608, 0),
+(31883, 0, 0, 0, 0, 0, 0, 8388608, 0),
+(32043, 0, 0, 0, 0, 0, 0, 536870912, 0),
+(32203, 1, 0, 0, 0, 0, 9, 0, 0),
+(32381, 0, 0, 0, 0, 0, 0, 2, 0),
+(32382, 0, 0, 0, 0, 0, 0, 2, 0),
+(32383, 0, 0, 0, 0, 0, 0, 2, 0),
+(32412, 0, 0, 0, 0, 0, 0, 1024, 0),
+(32743, 0, 0, 0, 0, 0, 0, 2048, 0),
+(32973, 0, 0, 0, 0, 0, 0, 2416967680, 0),
+(33018, 0, 17364, 0, 0, 0, 0, 0, 0),
+(33020, 0, 0, 0, 0, 0, 0, 1024, 0),
+(33066, 0, 0, 0, 0, 0, 0, 2, 0),
+(33151, 0, 0, 0, 0, 0, 0, 128, 1),
+(33151, 1, 0, 0, 0, 0, 0, 128, 1),
+(33151, 2, 0, 0, 0, 0, 0, 128, 1),
+(33158, 0, 0, 0, 0, 0, 0, 4096, 0),
+(33158, 1, 0, 0, 0, 0, 0, 2048, 0),
+(33159, 0, 0, 0, 0, 0, 0, 4096, 0),
+(33159, 1, 0, 0, 0, 0, 0, 2048, 0),
+(33160, 0, 0, 0, 0, 0, 0, 4096, 0),
+(33160, 1, 0, 0, 0, 0, 0, 2048, 0),
+(33161, 0, 0, 0, 0, 0, 0, 4096, 0),
+(33161, 1, 0, 0, 0, 0, 0, 2048, 0),
+(33162, 0, 0, 0, 0, 0, 0, 4096, 0),
+(33162, 1, 0, 0, 0, 0, 0, 2048, 0),
+(33174, 0, 0, 0, 0, 0, 0, 32, 0),
+(33174, 1, 0, 0, 0, 0, 0, 32, 0),
+(33182, 0, 0, 0, 0, 0, 0, 32, 0),
+(33182, 1, 0, 0, 0, 0, 0, 32, 0),
+(33213, 0, 0, 0, 0, 0, 0, 8527872, 0),
+(33214, 0, 0, 0, 0, 0, 0, 8527872, 0),
+(33215, 0, 0, 0, 0, 0, 0, 8527872, 0),
+(33216, 0, 0, 0, 0, 0, 0, 8527872, 0),
+(33217, 0, 0, 0, 0, 0, 0, 8527872, 0),
+(33221, 0, 0, 0, 1169, 0, 0, 8192, 0),
+(33222, 0, 0, 0, 1169, 0, 0, 8192, 0),
+(33223, 0, 0, 0, 1169, 0, 0, 8192, 0),
+(33224, 0, 0, 0, 1169, 0, 0, 8192, 0),
+(33225, 0, 0, 0, 1169, 0, 0, 8192, 0),
+(33333, 0, 0, 0, 0, 0, 0, 536870912, 0),
+(33557, 0, 0, 0, 0, 0, 0, 512, 0),
+(33557, 1, 0, 0, 0, 0, 0, 536870912, 0),
+(33565, 0, 0, 0, 0, 0, 0, 4096, 0),
+(33600, 0, 0, 0, 0, 0, 0, 1024, 0),
+(33600, 1, 0, 0, 0, 0, 0, 1024, 0),
+(33601, 0, 0, 0, 0, 0, 0, 1024, 0),
+(33601, 1, 0, 0, 0, 0, 0, 1024, 0),
+(33602, 0, 0, 0, 0, 0, 0, 1024, 0),
+(33602, 1, 0, 0, 0, 0, 0, 1024, 0),
+(33603, 0, 0, 0, 0, 0, 0, 4, 0),
+(33603, 1, 0, 0, 0, 0, 0, 1, 0),
+(33604, 0, 0, 0, 0, 0, 0, 4, 0),
+(33604, 1, 0, 0, 0, 0, 0, 1, 0),
+(33605, 0, 0, 0, 0, 0, 0, 4, 0),
+(33605, 1, 0, 0, 0, 0, 0, 1, 0),
+(33606, 0, 0, 0, 0, 0, 0, 4, 0),
+(33606, 1, 0, 0, 0, 0, 0, 1, 0),
+(33607, 0, 0, 0, 0, 0, 0, 4, 0),
+(33607, 1, 0, 0, 0, 0, 0, 1, 0),
+(33693, 0, 0, 0, 0, 0, 0, 32768, 0),
+(33696, 0, 0, 0, 0, 0, 0, 1, 0),
+(33830, 0, 33786, 0, 0, 0, 0, 0, 0),
+(33830, 1, 33786, 0, 0, 0, 0, 0, 0),
+(33877, 0, 0, 0, 0, 0, 0, 2, 0),
+(33879, 0, 0, 0, 0, 0, 0, 32, 0),
+(33880, 0, 0, 0, 0, 0, 0, 32, 0),
+(33886, 0, 0, 0, 0, 0, 0, 16, 0),
+(33887, 0, 0, 0, 0, 0, 0, 16, 0),
+(33888, 0, 0, 0, 0, 0, 0, 16, 0),
+(33889, 0, 0, 0, 0, 0, 0, 16, 0),
+(33890, 0, 0, 0, 0, 0, 0, 16, 0),
+(34128, 0, 33763, 0, 0, 0, 0, 0, 0),
+(34129, 0, 0, 0, 0, 0, 0, 8192, 0),
+(34129, 1, 0, 0, 0, 0, 0, 8192, 0),
+(34131, 0, 0, 0, 0, 0, 0, 128, 0),
+(34131, 1, 0, 0, 0, 0, 0, 128, 0),
+(34253, 0, 33745, 0, 0, 0, 0, 0, 0),
+(34297, 0, 24932, 0, 0, 0, 0, 0, 0),
+(34300, 0, 24932, 0, 0, 0, 0, 0, 0),
+(34301, 0, 24932, 0, 0, 0, 0, 0, 0),
+(34323, 0, 0, 0, 0, 0, 0, 8388608, 0),
+(34491, 0, 0, 0, 0, 0, 0, 194, 0),
+(34491, 1, 0, 0, 0, 0, 0, 128, 0),
+(34492, 0, 0, 0, 0, 0, 0, 194, 0),
+(34492, 1, 0, 0, 0, 0, 0, 128, 0),
+(34493, 0, 0, 0, 0, 0, 0, 194, 0),
+(34493, 1, 0, 0, 0, 0, 0, 128, 0),
+(34754, 0, 32546, 0, 0, 0, 0, 6144, 0),
+(34936, 0, 0, 0, 0, 0, 0, 1, 0),
+(34948, 1, 0, 0, 0, 0, 0, 32, 0),
+(34949, 1, 0, 0, 0, 0, 0, 32, 0),
+(35098, 0, 0, 0, 0, 0, 0, 133121, 0),
+(35099, 0, 0, 0, 0, 0, 0, 133121, 0),
+(35104, 0, 0, 0, 0, 0, 0, 4096, 0),
+(35104, 1, 0, 0, 0, 0, 0, 8192, 0),
+(35110, 0, 0, 0, 0, 0, 0, 4096, 0),
+(35110, 1, 0, 0, 0, 0, 0, 8192, 0),
+(35111, 0, 0, 0, 0, 0, 0, 4096, 0),
+(35111, 1, 0, 0, 0, 0, 0, 8192, 0),
+(35363, 0, 0, 0, 0, 0, 0, 5, 0),
+(35364, 0, 0, 0, 0, 0, 0, 5, 0),
+(35396, 0, 0, 0, 0, 0, 0, 536870912, 0),
+(35397, 0, 0, 0, 0, 0, 0, 536870912, 0),
+(35578, 0, 0, 0, 0, 0, 3, 0, 0),
+(35581, 0, 0, 0, 0, 0, 3, 0, 0),
+(36032, 0, 0, 0, 0, 0, 0, 536870912, 0),
+(36032, 1, 0, 0, 0, 0, 0, 536870912, 0),
+(36413, 0, 0, 0, 0, 0, 0, 1, 0),
+(36591, 2, 0, 0, 0, 0, 11, 0, 0),
+(37166, 0, 0, 0, 0, 0, 0, 131072, 0),
+(37167, 0, 0, 0, 0, 0, 0, 262144, 0),
+(37171, 0, 0, 0, 0, 0, 0, 4063232, 0),
+(37180, 0, 0, 0, 0, 0, 0, 32, 0),
+(37181, 0, 31789, 0, 0, 0, 0, 0, 0),
+(37182, 0, 0, 0, 0, 0, 0, 0, 0),
+(37183, 0, 20216, 0, 0, 0, 0, 0, 0),
+(37185, 0, 0, 0, 931, 0, 0, 0, 0),
+(37186, 0, 0, 0, 0, 0, 0, 536870912, 0),
+(37188, 0, 0, 0, 0, 0, 0, 64, 0),
+(37189, 0, 0, 0, 0, 0, 0, 16384, 0),
+(37190, 0, 0, 0, 0, 0, 0, 8, 0),
+(37191, 0, 0, 0, 931, 0, 0, 0, 0),
+(37194, 0, 0, 0, 0, 0, 0, 8388608, 0),
+(37207, 0, 0, 0, 0, 0, 0, 2, 0),
+(37210, 0, 0, 0, 0, 0, 0, 16384, 0),
+(37211, 0, 16188, 0, 0, 0, 0, 0, 0),
+(37212, 0, 2895, 0, 0, 0, 0, 0, 0),
+(37223, 0, 0, 0, 0, 0, 0, 65536, 0),
+(37224, 0, 32175, 0, 0, 0, 0, 0, 0),
+(37225, 0, 0, 0, 0, 0, 0, 128, 0),
+(37227, 0, 0, 0, 0, 0, 0, 64, 0),
+(37234, 0, 0, 0, 0, 0, 0, 128, 0),
+(37240, 0, 0, 0, 0, 0, 0, 128, 0),
+(37286, 0, 0, 0, 0, 0, 0, 16, 0),
+(37287, 0, 0, 0, 0, 0, 0, 3791650816, 0),
+(37292, 0, 16188, 0, 0, 0, 0, 0, 0),
+(37297, 0, 29166, 0, 0, 0, 0, 0, 0),
+(37313, 0, 0, 0, 0, 0, 0, 64, 0),
+(37314, 0, 33763, 0, 0, 0, 0, 0, 0),
+(37316, 0, 0, 0, 0, 0, 0, 64, 0),
+(37325, 0, 0, 0, 0, 0, 0, 64, 0),
+(37333, 0, 0, 0, 0, 0, 0, 32768, 0),
+(37333, 1, 33745, 0, 0, 0, 0, 0, 0),
+(37376, 0, 27243, 0, 0, 0, 0, 0, 0),
+(37380, 0, 0, 0, 0, 0, 0, 6, 0),
+(37423, 0, 0, 0, 0, 0, 0, 4, 0),
+(37438, 0, 0, 0, 0, 0, 0, 33, 0),
+(37439, 0, 12043, 0, 0, 0, 0, 0, 0),
+(37439, 1, 0, 0, 0, 0, 0, 8388608, 0),
+(37439, 2, 11958, 0, 0, 0, 0, 0, 0),
+(37441, 0, 0, 0, 0, 0, 0, 4096, 0),
+(37441, 1, 0, 0, 0, 0, 0, 4096, 0),
+(37447, 0, 0, 0, 30, 0, 0, 0, 0),
+(37481, 0, 0, 0, 0, 0, 0, 128, 0),
+(37484, 0, 0, 0, 0, 0, 0, 256, 0),
+(37485, 0, 0, 0, 0, 0, 0, 4096, 0),
+(37505, 0, 34120, 0, 0, 0, 0, 0, 0),
+(37507, 0, 0, 0, 0, 0, 0, 2048, 0),
+(37512, 0, 469, 0, 0, 0, 0, 983040, 0),
+(37513, 0, 0, 0, 0, 0, 0, 1, 0),
+(37517, 0, 0, 0, 0, 0, 4, 0, 0),
+(37518, 0, 1680, 0, 0, 0, 0, 0, 0),
+(37522, 0, 0, 0, 0, 0, 0, 4096, 0),
+(37535, 0, 0, 0, 0, 0, 0, 33554432, 0),
+(37536, 0, 0, 0, 0, 0, 0, 65536, 0),
+(37556, 0, 32546, 0, 0, 0, 0, 0, 0),
+(37564, 0, 0, 0, 0, 0, 0, 512, 0),
+(37565, 0, 0, 0, 0, 0, 0, 4096, 0),
+(37570, 1, 34433, 0, 0, 0, 0, 0, 0),
+(37571, 0, 0, 0, 0, 0, 0, 8388736, 0),
+(37593, 0, 0, 0, 0, 0, 0, 64, 0),
+(37722, 0, 0, 0, 0, 0, 0, 448, 0),
+(37723, 0, 0, 0, 0, 0, 0, 24576, 0),
+(37737, 0, 0, 0, 0, 0, 0, 64, 0),
+(37738, 0, 0, 0, 0, 0, 0, 64, 0),
+(37739, 0, 0, 0, 0, 0, 0, 16384, 0),
+(37740, 0, 0, 0, 0, 0, 0, 1, 0),
+(37742, 0, 0, 0, 931, 0, 0, 0, 0),
+(37760, 0, 0, 0, 0, 0, 0, 1, 0),
+(37762, 0, 17364, 0, 0, 0, 0, 0, 0),
+(37879, 0, 0, 0, 0, 0, 0, 24576, 0),
+(37881, 0, 0, 0, 0, 0, 0, 448, 0),
+(38314, 0, 0, 0, 0, 0, 0, 3791650816, 0),
+(38321, 0, 0, 0, 0, 0, 0, 32, 0),
+(38322, 0, 0, 0, 0, 0, 0, 256, 0),
+(38388, 0, 0, 0, 0, 0, 0, 262144, 0),
+(38389, 0, 0, 0, 0, 0, 0, 6, 0),
+(38390, 0, 34074, 0, 0, 0, 0, 0, 0),
+(38392, 0, 34120, 0, 0, 0, 0, 0, 0),
+(38393, 0, 0, 0, 0, 0, 0, 1, 0),
+(38396, 0, 0, 0, 0, 0, 0, 67108864, 0),
+(38397, 0, 0, 0, 0, 0, 0, 2081, 0),
+(38398, 0, 0, 0, 0, 0, 0, 4194304, 0),
+(38399, 0, 0, 0, 0, 0, 0, 33554432, 0),
+(38408, 0, 469, 0, 0, 0, 0, 0, 0),
+(38410, 0, 0, 0, 0, 0, 0, 512, 0),
+(38411, 0, 0, 0, 0, 0, 0, 4096, 0),
+(38412, 0, 0, 0, 0, 0, 0, 8192, 0),
+(38413, 0, 0, 0, 0, 0, 0, 32768, 0),
+(38414, 0, 0, 0, 0, 0, 0, 2, 0),
+(38415, 0, 0, 0, 0, 0, 0, 4, 0),
+(38416, 0, 0, 0, 0, 0, 0, 8388608, 0),
+(38416, 1, 0, 0, 0, 0, 0, 8388608, 0),
+(38417, 0, 5375, 0, 0, 0, 0, 0, 0),
+(38420, 0, 0, 0, 0, 0, 0, 32, 0),
+(38422, 0, 0, 0, 0, 0, 0, 32, 0),
+(38425, 0, 0, 0, 0, 0, 0, 1073741824, 0),
+(38426, 0, 0, 0, 0, 0, 0, 2147483648, 0),
+(38429, 0, 0, 0, 0, 0, 0, 2416967680, 0),
+(38434, 0, 0, 0, 0, 0, 0, 1048832, 0),
+(38435, 0, 0, 0, 0, 0, 0, 1048704, 0),
+(38436, 0, 0, 0, 0, 0, 0, 1048577, 0),
+(38466, 0, 16188, 0, 0, 0, 0, 0, 0),
+(38499, 0, 16188, 0, 0, 0, 0, 0, 0),
+(38501, 0, 0, 0, 0, 0, 0, 1048704, 0),
+(38522, 0, 0, 0, 0, 0, 0, 1073741824, 0);
diff --git a/sql/updates/0.7/3766_spell_proc_event.sql b/sql/updates/0.7/3766_spell_proc_event.sql
new file mode 100644
index 00000000000..b045b7af485
--- /dev/null
+++ b/sql/updates/0.7/3766_spell_proc_event.sql
@@ -0,0 +1,4 @@
+REPLACE INTO `spell_proc_event` VALUES (15286, 16, 0, 0, 0, 32768, 0);
+REPLACE INTO `spell_proc_event` VALUES (34914, 16, 0, 0, 0, 32768, 0);
+REPLACE INTO `spell_proc_event` VALUES (34916, 16, 0, 0, 0, 32768, 0);
+REPLACE INTO `spell_proc_event` VALUES (34917, 16, 0, 0, 0, 32768, 0); \ No newline at end of file
diff --git a/sql/updates/0.7/3771_creature_template.sql b/sql/updates/0.7/3771_creature_template.sql
new file mode 100644
index 00000000000..4240c80f562
--- /dev/null
+++ b/sql/updates/0.7/3771_creature_template.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `npcflag` = (`npcflag` | 0x10000) & ~0x40 WHERE `npcflag` & 0x40 = 0x40 AND `name` NOT LIKE '%spirit guide%';
diff --git a/sql/updates/0.7/3773.sql b/sql/updates/0.7/3773.sql
new file mode 100644
index 00000000000..6aa0b34b037
--- /dev/null
+++ b/sql/updates/0.7/3773.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `corpse` ADD INDEX (`instance`);
+ALTER TABLE `creature_respawn` ADD INDEX (`instance`);
+ALTER TABLE `gameobject_respawn` ADD INDEX (`instance`);
diff --git a/sql/updates/0.7/3774_playercreateinfo_spell.sql b/sql/updates/0.7/3774_playercreateinfo_spell.sql
new file mode 100644
index 00000000000..aa658850fee
--- /dev/null
+++ b/sql/updates/0.7/3774_playercreateinfo_spell.sql
@@ -0,0 +1,7 @@
+INSERT INTO `playercreateinfo_spell` VALUES ('4','11','33948','Flight Form (Passive)',0);
+INSERT INTO `playercreateinfo_spell` VALUES ('6','11','33948','Flight Form (Passive)',0);
+
+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
diff --git a/sql/updates/0.7/3782_command.sql b/sql/updates/0.7/3782_command.sql
new file mode 100644
index 00000000000..afacab3e7f4
--- /dev/null
+++ b/sql/updates/0.7/3782_command.sql
@@ -0,0 +1 @@
+UPDATE `command` SET help='Syntax:\r\n.reset level [Playername]\r\n Reset level to 1 including reset stats and talents. Equipped items with greater level requirement can be lost.\r\n.reset spells [Playername]\r\n Removes all non-original spells from spellbook.\r\n.reset stats [Playername]\r\n Resets(recalculate) all stats of the targeted player to their original values at current level.\r\n.reset talents [Playername]\r\n Removes all talents of the targeted player.' WHERE name='reset';
diff --git a/sql/updates/0.7/3784_command.sql b/sql/updates/0.7/3784_command.sql
new file mode 100644
index 00000000000..840071d6c0f
--- /dev/null
+++ b/sql/updates/0.7/3784_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM `command` WHERE `name` = 'notify';
+INSERT INTO `command` VALUES('notify',1,'Syntax: .notify $MessageToBroadcast\r\n\r\nSend a global message to all players online in screen.');
+UPDATE `command` SET help='Syntax: .announce $MessageToBroadcast\r\n\r\nSend a global message to all players online in chat log.' WHERE name='announce';
+
diff --git a/sql/updates/0.7/3787_spell_proc_event.sql b/sql/updates/0.7/3787_spell_proc_event.sql
new file mode 100644
index 00000000000..4ab28992390
--- /dev/null
+++ b/sql/updates/0.7/3787_spell_proc_event.sql
@@ -0,0 +1,8 @@
+REPLACE INTO `spell_proc_event` VALUES (1120, 0, 0, 0, 0, 4, 0);
+REPLACE INTO `spell_proc_event` VALUES (8288, 0, 0, 0, 0, 4, 0);
+REPLACE INTO `spell_proc_event` VALUES (8289, 0, 0, 0, 0, 4, 0);
+REPLACE INTO `spell_proc_event` VALUES (11675, 0, 0, 0, 0, 4, 0);
+REPLACE INTO `spell_proc_event` VALUES (27217, 0, 0, 0, 0, 4, 0);
+REPLACE INTO `spell_proc_event` VALUES (24932, 0, 0, 0, 0, 4096, 0);
+REPLACE INTO `spell_proc_event` VALUES (31641, 0, 0, 0, 0, 524290, 0);
+REPLACE INTO `spell_proc_event` VALUES (31642, 0, 0, 0, 0, 524290, 0);
diff --git a/sql/updates/0.7/3801_banAccount.sql b/sql/updates/0.7/3801_banAccount.sql
new file mode 100644
index 00000000000..5ae903542fa
--- /dev/null
+++ b/sql/updates/0.7/3801_banAccount.sql
@@ -0,0 +1,33 @@
+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`
+ DROP KEY `idx_banned`,
+ DROP COLUMN `banned`;
+
+--
+-- Table structure for table `account_banned`
+--
+
+DROP TABLE IF EXISTS `realmd`.`account_banned`;
+CREATE TABLE `realmd`.`account_banned` (
+ `id` int(11) NOT NULL COMMENT 'Account id' default '0',
+ `bandate` bigint(40) NOT NULL default '0',
+ `unbandate` bigint(40) NOT NULL default '0',
+ `bannedby` VARCHAR(50) NOT NULL,
+ `banreason` VARCHAR(255) NOT NULL,
+ `active` TINYINT NOT NULL DEFAULT 1,
+ PRIMARY KEY (`id`,`bandate`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Ban List';
+
+--
+-- Dumping data for table `account_banned`
+--
+
+LOCK TABLES `realmd`.`account_banned` WRITE;
+/*!40000 ALTER TABLE `realmd`.`account_banned` DISABLE KEYS */;
+/*!40000 ALTER TABLE `realmd`.`account_banned` ENABLE KEYS */;
+UNLOCK TABLES;
diff --git a/sql/updates/0.7/3801_command.sql b/sql/updates/0.7/3801_command.sql
new file mode 100644
index 00000000000..0cf5fefb29c
--- /dev/null
+++ b/sql/updates/0.7/3801_command.sql
@@ -0,0 +1,6 @@
+DELETE FROM `command` WHERE name in ('banaccount', 'banip', 'unbanaccount', 'unbanip');
+
+INSERT INTO `command` VALUES ('ban','3','Syntax is: ban <account|ip|character> $NameOrIp $bantime $reason\r\nBan account or IP and kick player.\r\n$bantime: negative value leads to permban, otherwise use a timestring like "4d20h3s".');
+INSERT INTO `command` VALUES ('unban','3','Syntax is: unban <account|ip|character> $NameOrIp\r\nUnban account or IP.');
+INSERT INTO `command` VALUES ('baninfo','3','Syntax is: baninfo <account|ip|character>\r\nWatch full information about a specific ban.');
+INSERT INTO `command` VALUES ('banlist','3','Syntax is: banlist <account|ip|character> $NameOrIp\r\nsearches the banlist for a pattern.'); \ No newline at end of file
diff --git a/sql/updates/0.7/3802_arena_teams.sql b/sql/updates/0.7/3802_arena_teams.sql
new file mode 100644
index 00000000000..def91e339e2
--- /dev/null
+++ b/sql/updates/0.7/3802_arena_teams.sql
@@ -0,0 +1,44 @@
+/*Table structure for table `arena_team` */
+
+DROP TABLE IF EXISTS `arena_team`;
+
+CREATE TABLE `arena_team` (
+ `arenateamid` int(10) unsigned NOT NULL default '0',
+ `name` char(255) NOT NULL,
+ `captainguid` int(10) unsigned NOT NULL default '0',
+ `type` tinyint(3) unsigned NOT NULL default '0',
+ `EmblemStyle` int(10) unsigned NOT NULL default '0',
+ `EmblemColor` int(10) unsigned NOT NULL default '0',
+ `BorderStyle` int(10) unsigned NOT NULL default '0',
+ `BorderColor` int(10) unsigned NOT NULL default '0',
+ `BackgroundColor` int(10) unsigned NOT NULL default '0',
+ PRIMARY KEY (`arenateamid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+/*Table structure for table `arena_team_member` */
+
+DROP TABLE IF EXISTS `arena_team_member`;
+
+CREATE TABLE `arena_team_member` (
+ `arenateamid` int(10) unsigned NOT NULL default '0',
+ `guid` int(10) unsigned NOT NULL default '0',
+ `played_week` int(10) unsigned NOT NULL default '0',
+ `wons_week` int(10) unsigned NOT NULL default '0',
+ `played_season` int(10) unsigned NOT NULL default '0',
+ `wons_season` int(10) unsigned NOT NULL default '0'
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+/*Table structure for table `arena_team_stats` */
+
+DROP TABLE IF EXISTS `arena_team_stats`;
+
+CREATE TABLE `arena_team_stats` (
+ `arenateamid` int(10) unsigned NOT NULL default '0',
+ `rating` int(10) unsigned NOT NULL default '0',
+ `games` int(10) unsigned NOT NULL default '0',
+ `wins` int(10) unsigned NOT NULL default '0',
+ `played` int(10) unsigned NOT NULL default '0',
+ `wins2` int(10) unsigned NOT NULL default '0',
+ `rank` int(10) unsigned NOT NULL default '0',
+ PRIMARY KEY (`arenateamid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
diff --git a/sql/updates/0.7/3802_petitions.sql b/sql/updates/0.7/3802_petitions.sql
new file mode 100644
index 00000000000..7b4e9b8f25a
--- /dev/null
+++ b/sql/updates/0.7/3802_petitions.sql
@@ -0,0 +1,6 @@
+RENAME TABLE `guild_charter` TO `petition`;
+RENAME TABLE `guild_charter_sign` TO `petition_sign`;
+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
new file mode 100644
index 00000000000..93347648dc5
--- /dev/null
+++ b/sql/updates/0.7/3805_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( '27155','27160','27166');
+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
new file mode 100644
index 00000000000..5763635faa3
--- /dev/null
+++ b/sql/updates/0.7/3806_petitions.sql
@@ -0,0 +1,8 @@
+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`
+ DROP PRIMARY KEY,
+ CHANGE COLUMN `charterguid` `petitionguid` int(10) unsigned default '0',
+ ADD PRIMARY KEY (`petitionguid`,`playerguid`);
diff --git a/sql/updates/0.7/3833_quest_template.sql b/sql/updates/0.7/3833_quest_template.sql
new file mode 100644
index 00000000000..4d373c853bf
--- /dev/null
+++ b/sql/updates/0.7/3833_quest_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `quest_template` CHANGE COLUMN `RewXP` `RewXpOrMoney` int(11) unsigned not null default '0'; \ No newline at end of file
diff --git a/sql/updates/0.7/3845_account.sql b/sql/updates/0.7/3845_account.sql
new file mode 100644
index 00000000000..c014746eee4
--- /dev/null
+++ b/sql/updates/0.7/3845_account.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `realmd`.`account`
+ ADD COLUMN `mutetime` bigint(40) unsigned NOT NULL default '0' AFTER `tbc`;
diff --git a/sql/updates/0.7/3845_command.sql b/sql/updates/0.7/3845_command.sql
new file mode 100644
index 00000000000..0eb5d32c7b7
--- /dev/null
+++ b/sql/updates/0.7/3845_command.sql
@@ -0,0 +1,3 @@
+INSERT INTO `command` VALUES('mute',1,'Syntax: .mute $playerName $timeInMinutes\r\n\r\nDisible chat messaging for any character from account of character $playerName at $timeInMinutes minutes.');
+INSERT INTO `command` VALUES('unmute',1,'Syntax: .unmute $playerName\r\n\r\nRestore chat messaging for any character from account of character $playerName.');
+
diff --git a/sql/updates/0.7/3859_spell_affect.sql b/sql/updates/0.7/3859_spell_affect.sql
new file mode 100644
index 00000000000..6b510b82fb1
--- /dev/null
+++ b/sql/updates/0.7/3859_spell_affect.sql
@@ -0,0 +1,79 @@
+ALTER TABLE `spell_affect` CHANGE `SpellFamilyMask` `SpellFamilyMask` BIGINT( 20 ) UNSIGNED NOT NULL DEFAULT '0';
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 549755813888 WHERE `SpellId` = 469;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 469;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 17179869184 WHERE `SpellId` = 1680;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 1680;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 1099511627776 WHERE `SpellId` = 2895;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 2895;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 4294967296 WHERE `SpellId` = 3600;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 3600;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 2199023255552 WHERE `SpellId` = 6150;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 6150;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 549755813888 WHERE `SpellId` = 11958;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 11958;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 137438953472 WHERE `SpellId` = 12043;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 12043;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 8589934592 WHERE `SpellId` = 12536;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 12536;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 549755813888 WHERE `SpellId` = 16188;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 16188;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 68719476736 WHERE `SpellId` = 17364;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 17364;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 4194304 WHERE `SpellId` = 18223;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 18223;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 1099511627776 WHERE `SpellId` = 20216;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 20216;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 137438953472 WHERE `SpellId` = 20218;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 20218;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 8796093022208 WHERE `SpellId` = 24932;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 24932;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 68719476736 WHERE `SpellId` = 27243;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 27243;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 17592186044416 WHERE `SpellId` = 29166;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 29166;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 17179869184 WHERE `SpellId` = 31789;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 31789;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 68719476736 WHERE `SpellId` = 32175;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 32175;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 17179869184 WHERE `SpellId` = 32546;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 32546;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 137438953472 WHERE `SpellId` = 33076;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 33076;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 1099511627776 WHERE `SpellId` = 33745;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 33745;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 68719476736 WHERE `SpellId` = 33763;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 33763;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 137438953472 WHERE `SpellId` = 33786;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 33786;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 1125899906842624 WHERE `SpellId` = 34074;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 34074;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 4294967296 WHERE `SpellId` = 34120;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 34120;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` + 1099511627776 WHERE `SpellId` = 34433;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 34433;
diff --git a/sql/updates/0.7/3860_creature_template.sql b/sql/updates/0.7/3860_creature_template.sql
new file mode 100644
index 00000000000..d30c075f722
--- /dev/null
+++ b/sql/updates/0.7/3860_creature_template.sql
@@ -0,0 +1,2 @@
+UPDATE `creature_template` SET `npcflag`=`npcflag`|1 WHERE `npcflag`&1024 and `npcflag`&512;
+UPDATE `creature_template` SET `npcflag`=`npcflag`& ~1024 WHERE `npcflag`&1024 and (`npcflag`&512)=0; \ No newline at end of file
diff --git a/sql/updates/0.7/3862_prospecting_loot_template.sql b/sql/updates/0.7/3862_prospecting_loot_template.sql
new file mode 100644
index 00000000000..9d9fd925168
--- /dev/null
+++ b/sql/updates/0.7/3862_prospecting_loot_template.sql
@@ -0,0 +1,11 @@
+DROP TABLE IF EXISTS `prospecting_loot_template`;
+CREATE TABLE `prospecting_loot_template` (
+ `entry` int(11) unsigned NOT NULL default '0',
+ `item` int(11) unsigned NOT NULL default '0',
+ `ChanceOrRef` float NOT NULL default '100',
+ `QuestChanceOrGroup` tinyint(3) NOT NULL default '0',
+ `mincount` tinyint(3) unsigned NOT NULL default '1',
+ `maxcount` tinyint(3) unsigned NOT NULL default '1',
+ `quest_freeforall` tinyint(3) unsigned NOT NULL default '1',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
diff --git a/sql/updates/0.7/3874_spell_scripts.sql b/sql/updates/0.7/3874_spell_scripts.sql
new file mode 100644
index 00000000000..085a6848ae2
--- /dev/null
+++ b/sql/updates/0.7/3874_spell_scripts.sql
@@ -0,0 +1 @@
+INSERT INTO `spell_scripts` VALUES ('25650', '0', '6', '530', '0', '', '-589.9764', '4078.306', '143.258', '4.483047'); \ No newline at end of file
diff --git a/sql/updates/0.7/3875_item_template.sql b/sql/updates/0.7/3875_item_template.sql
new file mode 100644
index 00000000000..1d57fc43f43
--- /dev/null
+++ b/sql/updates/0.7/3875_item_template.sql
@@ -0,0 +1,3 @@
+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/3876_character_ticket.sql b/sql/updates/0.7/3876_character_ticket.sql
new file mode 100644
index 00000000000..9fa78a1fc95
--- /dev/null
+++ b/sql/updates/0.7/3876_character_ticket.sql
@@ -0,0 +1 @@
+ALTER TABLE `character_ticket` CHANGE `ticket_text` `ticket_text` text;
diff --git a/sql/updates/0.7/3884_quest_scripts.sql b/sql/updates/0.7/3884_quest_scripts.sql
new file mode 100644
index 00000000000..d563dd56975
--- /dev/null
+++ b/sql/updates/0.7/3884_quest_scripts.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `quest_template` ADD `StartScript` int(11) unsigned NOT NULL default '0' AFTER `OfferRewardEmote4`;
+ALTER TABLE `scripts` ADD `StartOrFinish` int(11) 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
new file mode 100644
index 00000000000..4811d811442
--- /dev/null
+++ b/sql/updates/0.7/3891_quest_scripts.sql
@@ -0,0 +1,38 @@
+DROP TABLE IF EXISTS `quest_end_scripts`;
+CREATE TABLE `quest_end_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 `quest_start_scripts`;
+CREATE TABLE `quest_start_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;
+
+
+INSERT INTO `quest_end_scripts`
+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`
+FROM `scripts` WHERE `StartOrFinish` = 1;
+
+DROP TABLE IF EXISTS `scripts`;
diff --git a/sql/updates/0.7/3906_areatrigger_template.sql b/sql/updates/0.7/3906_areatrigger_template.sql
new file mode 100644
index 00000000000..2a20b349dcf
--- /dev/null
+++ b/sql/updates/0.7/3906_areatrigger_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `areatrigger_template`
+ ADD COLUMN `required_item` int(11) unsigned NOT NULL default '0' AFTER `required_level`;
diff --git a/sql/updates/0.7/3929_spell_affect.sql b/sql/updates/0.7/3929_spell_affect.sql
new file mode 100644
index 00000000000..4b5f9b40c6f
--- /dev/null
+++ b/sql/updates/0.7/3929_spell_affect.sql
@@ -0,0 +1,38 @@
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` | 549755813888 WHERE `Category` = 631;
+UPDATE `spell_affect` SET `Category` = 0 WHERE `Category` = 631;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` | 549755813888 WHERE `Category` = 1175;
+UPDATE `spell_affect` SET `Category` = 0 WHERE `Category` = 1175;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` | 8589934592 WHERE `Category` = 1169;
+UPDATE `spell_affect` SET `Category` = 0 WHERE `Category` = 1169;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` | 8589934592 WHERE `Category` = 1179;
+UPDATE `spell_affect` SET `Category` = 0 WHERE `Category` = 1179;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` | 34359738368 WHERE `Category` = 634;
+UPDATE `spell_affect` SET `Category` = 0 WHERE `Category` = 634;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` | 274877906944 WHERE `Category` = 931;
+UPDATE `spell_affect` SET `Category` = 0 WHERE `Category` = 931;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` | 1099511627776 WHERE `Category` = 30;
+UPDATE `spell_affect` SET `Category` = 0 WHERE `Category` = 30;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` | 8589934592 WHERE `SpellId` = 5375;
+UPDATE `spell_affect` SET `SpellId` = '0' WHERE `SpellId` = 5375;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` | 68719476736 WHERE (entry=29836 OR entry=29859 OR entry=29860 OR entry=29861 OR entry=29862);
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` | 25769803776 WHERE (entry=14057 OR entry=14128 OR entry=14132 OR entry=14135 OR entry=14136 OR entry=14137 OR entry=14143 OR entry=14149 OR entry=38389);
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = `SpellFamilyMask` | 34359738368 WHERE (entry=14057 OR entry=14128 OR entry=14132 OR entry=14135 OR entry=14136 OR entry=14137 OR entry=14143 OR entry=14149 OR entry=38389);
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = '549764202496' WHERE `entry` =34323 AND `effectId` =0 LIMIT 1;
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = 38658768896 WHERE (entry=14179 OR entry=37171);
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = 4406678954000 WHERE (entry=15257 OR entry=15331 OR entry=15332 OR entry=15333 OR entry=15334);
+UPDATE `spell_affect` SET `SkillID` = 0 WHERE (entry=15257 OR entry=15331 OR entry=15332 OR entry=15333 OR entry=15334);
+
+UPDATE `spell_affect` SET `SpellFamilyMask` = 0 WHERE (entry=29836 OR entry=29859); \ No newline at end of file
diff --git a/sql/updates/0.7/3932_item_enchantment_template.sql b/sql/updates/0.7/3932_item_enchantment_template.sql
new file mode 100644
index 00000000000..22970e2d4ba
--- /dev/null
+++ b/sql/updates/0.7/3932_item_enchantment_template.sql
@@ -0,0 +1,7 @@
+DROP TABLE IF EXISTS `item_enchantment_template`;
+CREATE TABLE `item_enchantment_template` (
+ `entry` int(11) unsigned NOT NULL DEFAULT '0',
+ `ench` int(10) unsigned NOT NULL DEFAULT '0',
+ `chance` float unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`entry`,`ench`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item Random Enchantment System';
diff --git a/sql/updates/0.7/3932_item_template.sql b/sql/updates/0.7/3932_item_template.sql
new file mode 100644
index 00000000000..a2ea7b81bad
--- /dev/null
+++ b/sql/updates/0.7/3932_item_template.sql
@@ -0,0 +1,3 @@
+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/3939_realmd_account.sql b/sql/updates/0.7/3939_realmd_account.sql
new file mode 100644
index 00000000000..f39240afa42
--- /dev/null
+++ b/sql/updates/0.7/3939_realmd_account.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `realmd`.`account` CHANGE `password` `I` VARCHAR( 40 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'authentification hash';
+UPDATE `realmd`.`account` SET `I`=SHA1(CONCAT(UPPER(`username`),':',UPPER(`I`)));
diff --git a/sql/updates/0.7/3948_realmd_account.sql b/sql/updates/0.7/3948_realmd_account.sql
new file mode 100644
index 00000000000..2af4b4d0568
--- /dev/null
+++ b/sql/updates/0.7/3948_realmd_account.sql
@@ -0,0 +1 @@
+ALTER TABLE `realmd`.`account` CHANGE `username` `username` VARCHAR( 32 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL;
diff --git a/sql/updates/0.7/3951_exploration_basexp.sql b/sql/updates/0.7/3951_exploration_basexp.sql
new file mode 100644
index 00000000000..0b063249bd8
--- /dev/null
+++ b/sql/updates/0.7/3951_exploration_basexp.sql
@@ -0,0 +1,8 @@
+DROP TABLE IF EXISTS `exploration_basexp`;
+CREATE TABLE `exploration_basexp` (
+ `level` tinyint(2) NOT NULL default '0',
+ `basexp` int(11) NOT NULL default '0',
+ PRIMARY KEY (`level`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Exploration System';
+
+INSERT INTO `exploration_basexp` VALUES (0,0),(1,5),(2,15),(3,25),(4,35),(5,45),(6,55),(7,65),(8,70),(9,80),(10,85),(11,90),(12,90),(13,90),(14,100),(15,105),(16,115),(17,125),(18,135),(19,145),(20,155),(21,165),(22,175),(23,185),(24,195),(25,200),(26,210),(27,220),(28,230),(29,240),(30,245),(31,250),(32,255),(33,265),(34,270),(35,275),(36,280),(37,285),(38,285),(39,300),(40,315),(41,330),(42,345),(43,360),(44,375),(45,390),(46,405),(47,420),(48,440),(49,455),(50,470),(51,490),(52,510),(53,530),(54,540),(55,560),(56,580),(57,600),(58,620),(59,640),(60,660),(61,970),(62,1000),(63,1050),(64,1080),(65,1100),(66,1130),(67,1160),(68,1200),(69,1230),(70,1300); \ No newline at end of file
diff --git a/sql/updates/0.7/3961_uptime.sql b/sql/updates/0.7/3961_uptime.sql
new file mode 100644
index 00000000000..aa04d1b6ba5
--- /dev/null
+++ b/sql/updates/0.7/3961_uptime.sql
@@ -0,0 +1,7 @@
+DROP TABLE IF EXISTS `uptime`;
+CREATE TABLE `uptime` (
+ `starttime` bigint(11) unsigned NOT NULL default '0',
+ `startstring` varchar(64) NOT NULL default '',
+ `uptime` bigint(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`starttime`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Uptime system';
diff --git a/sql/updates/0.7/3964_command.sql b/sql/updates/0.7/3964_command.sql
new file mode 100644
index 00000000000..bf4f73ef022
--- /dev/null
+++ b/sql/updates/0.7/3964_command.sql
@@ -0,0 +1 @@
+INSERT INTO `command` VALUES ('movecreature',2,'Syntax: .movecreature [#creature_guid]\r\n\r\nMove the targeted creature spawn point to your coordinates.');
diff --git a/sql/updates/0.7/4010_spell_proc_event.sql b/sql/updates/0.7/4010_spell_proc_event.sql
new file mode 100644
index 00000000000..d289b3bf85d
--- /dev/null
+++ b/sql/updates/0.7/4010_spell_proc_event.sql
@@ -0,0 +1,10 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( '31830','31829','31828');
+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
+('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
new file mode 100644
index 00000000000..6ec8225ddff
--- /dev/null
+++ b/sql/updates/0.7/4012_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 9799, 25988 );
+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
new file mode 100644
index 00000000000..2485ad24125
--- /dev/null
+++ b/sql/updates/0.7/4018_spell_proc_event.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 20210, 20212, 20213, 20214, 20215 );
+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),
+(20214,0,0,0,0,268435456,0),
+(20215,0,0,0,0,268435456,0);
diff --git a/sql/updates/0.7/4019_spell_chain.sql b/sql/updates/0.7/4019_spell_chain.sql
new file mode 100644
index 00000000000..c12ef4c6ae2
--- /dev/null
+++ b/sql/updates/0.7/4019_spell_chain.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (33776,31785);
+
+INSERT INTO `spell_chain` VALUES
+(31785, 0, 31785, 1),
+(33776, 31785, 31785, 2);
diff --git a/sql/updates/0.7/4019_spell_proc_event.sql b/sql/updates/0.7/4019_spell_proc_event.sql
new file mode 100644
index 00000000000..b462a1c9fe6
--- /dev/null
+++ b/sql/updates/0.7/4019_spell_proc_event.sql
@@ -0,0 +1,9 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 17106, 17107, 17108 );
+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
+(34303,0,0,0,0,128,0);
diff --git a/sql/updates/0.7/4020_spell_chain.sql b/sql/updates/0.7/4020_spell_chain.sql
new file mode 100644
index 00000000000..a9732bae48d
--- /dev/null
+++ b/sql/updates/0.7/4020_spell_chain.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (33736);
+
+INSERT INTO `spell_chain` VALUES
+(33736,24398,24398,2); \ No newline at end of file
diff --git a/sql/updates/0.7/4020_spell_proc_event.sql b/sql/updates/0.7/4020_spell_proc_event.sql
new file mode 100644
index 00000000000..ce3239adcb2
--- /dev/null
+++ b/sql/updates/0.7/4020_spell_proc_event.sql
@@ -0,0 +1,21 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 34082 );
+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
+(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
+(324,0,0,0,0,1049602,0),
+(325,0,0,0,0,1049602,0),
+(905,0,0,0,0,1049602,0),
+(945,0,0,0,0,1049602,0),
+(8134,0,0,0,0,1049602,0),
+(10431,0,0,0,0,1049602,0),
+(10432,0,0,0,0,1049602,0),
+
+(25469,0,0,0,0,1049602,0),
+(25472,0,0,0,0,1049602,0);
diff --git a/sql/updates/0.7/4021_spell_chain.sql b/sql/updates/0.7/4021_spell_chain.sql
new file mode 100644
index 00000000000..91c887a318d
--- /dev/null
+++ b/sql/updates/0.7/4021_spell_chain.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (25251, 30335);
+
+INSERT INTO `spell_chain` VALUES
+(25251,23894,23881,5),
+(30335,25251,23881,6);
diff --git a/sql/updates/0.7/4021_spell_proc_event.sql b/sql/updates/0.7/4021_spell_proc_event.sql
new file mode 100644
index 00000000000..c12c054b70b
--- /dev/null
+++ b/sql/updates/0.7/4021_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 25252, 30339 );
+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
new file mode 100644
index 00000000000..a56d1b9ab17
--- /dev/null
+++ b/sql/updates/0.7/4023_spell_proc_event.sql
@@ -0,0 +1,11 @@
+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`
+ 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
+(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
new file mode 100644
index 00000000000..f4e4c3243d8
--- /dev/null
+++ b/sql/updates/0.7/4026_spell_proc_event.sql
@@ -0,0 +1,8 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 20177, 20179, 20181, 20180, 20182, 20178 );
+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
diff --git a/sql/updates/0.7/4028_spell_chain.sql b/sql/updates/0.7/4028_spell_chain.sql
new file mode 100644
index 00000000000..508bcb2aab7
--- /dev/null
+++ b/sql/updates/0.7/4028_spell_chain.sql
@@ -0,0 +1,18 @@
+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);
+
+DELETE FROM `spell_chain` WHERE `spell_id` IN (34950, 34594);
+INSERT INTO `spell_chain` VALUES
+(34950,0,34950,1),
+(34594,34950,34950,2);
+
+DELETE FROM `spell_chain` WHERE `spell_id` IN (34506, 34507, 34508, 34838, 34839);
+INSERT INTO `spell_chain` VALUES
+(34506,0,34506,1),
+(34507,34506,34506,2),
+(34508,34507,34506,3),
+(34838,34508,34506,4),
+(34839,34838,34506,5); \ No newline at end of file
diff --git a/sql/updates/0.7/4028_spell_proc_event.sql b/sql/updates/0.7/4028_spell_proc_event.sql
new file mode 100644
index 00000000000..daa9c491f77
--- /dev/null
+++ b/sql/updates/0.7/4028_spell_proc_event.sql
@@ -0,0 +1,35 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 15600 );
+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
+(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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 37443 );
+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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 34950, 34954 );
+INSERT INTO `spell_proc_event` VALUES
+(34950,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);
diff --git a/sql/updates/0.7/4031_spell_chain.sql b/sql/updates/0.7/4031_spell_chain.sql
new file mode 100644
index 00000000000..14a4cf23e81
--- /dev/null
+++ b/sql/updates/0.7/4031_spell_chain.sql
@@ -0,0 +1,10 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (34594, 34954);
+INSERT INTO `spell_chain` VALUES
+(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);
+
diff --git a/sql/updates/0.7/4031_spell_proc_event.sql b/sql/updates/0.7/4031_spell_proc_event.sql
new file mode 100644
index 00000000000..10e470e0679
--- /dev/null
+++ b/sql/updates/0.7/4031_spell_proc_event.sql
@@ -0,0 +1,45 @@
+ALTER TABLE `spell_proc_event`
+ ADD COLUMN `SpellFamilyName` smallint(6) unsigned NOT NULL default '0' AFTER `SkillID`,
+ ADD COLUMN `SpellFamilyMaskNew` bigint(11) unsigned NOT NULL default '0' AFTER `SpellFamilyMask`;
+
+UPDATE `spell_proc_event`
+ SET `SpellFamilyMaskNew` = `SpellFamilyMask` WHERE `SpellFamilyMask` > 0;
+
+UPDATE `spell_proc_event`
+ SET `SpellFamilyMaskNew` = 4294967295 + `SpellFamilyMask` + 1 WHERE `SpellFamilyMask` < 0;
+
+ALTER TABLE `spell_proc_event`
+ DROP COLUMN `SpellFamilyMask`,
+ CHANGE COLUMN `SpellFamilyMaskNew` `SpellFamilyMask` bigint(40) unsigned NOT NULL default '0';
+
+
+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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 33648 );
+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);
+
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 28789 );
+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
+(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
+(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
new file mode 100644
index 00000000000..b88a406bd14
--- /dev/null
+++ b/sql/updates/0.7/4035_spell_proc_event.sql
@@ -0,0 +1,10 @@
+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
+(33191,0,0,0,6,4398054932480,16384,0),
+(33192,0,0,0,6,4398054932480,16384,0),
+(33193,0,0,0,6,4398054932480,16384,0),
+(33194,0,0,0,6,4398054932480,16384,0),
+(33195,0,0,0,6,4398054932480,16384,0);
+
diff --git a/sql/updates/0.7/4036_spell_proc_event.sql b/sql/updates/0.7/4036_spell_proc_event.sql
new file mode 100644
index 00000000000..b48b8811240
--- /dev/null
+++ b/sql/updates/0.7/4036_spell_proc_event.sql
@@ -0,0 +1 @@
+UPDATE spell_proc_event SET procflags=65536 where entry=16164; \ No newline at end of file
diff --git a/sql/updates/0.7/4037_spell_proc_event.sql b/sql/updates/0.7/4037_spell_proc_event.sql
new file mode 100644
index 00000000000..c977f74bc2a
--- /dev/null
+++ b/sql/updates/0.7/4037_spell_proc_event.sql
@@ -0,0 +1,8 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 32385, 32387, 32392, 32393, 32394 );
+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),
+(32393,0,0,0,6,73014445058,16384,0),
+(32394,0,0,0,6,73014445058,16384,0);
+
diff --git a/sql/updates/0.7/4096_pet.sql b/sql/updates/0.7/4096_pet.sql
new file mode 100644
index 00000000000..6bf6536cef5
--- /dev/null
+++ b/sql/updates/0.7/4096_pet.sql
@@ -0,0 +1,290 @@
+DROP TABLE IF EXISTS `character_pet`;
+CREATE TABLE `character_pet` (
+ `id` int(11) unsigned NOT NULL default '0',
+ `entry` int(11) unsigned NOT NULL default '0',
+ `owner` int(11) unsigned NOT NULL default '0',
+ `modelid` int(11) unsigned default '0',
+ `level` int(11) unsigned NOT NULL default '1',
+ `exp` int(11) unsigned NOT NULL default '0',
+ `nextlvlexp` int(11) unsigned NOT NULL default '100',
+ `Reactstate` tinyint(1) unsigned NOT NULL default '0',
+ `Commandstate` tinyint(1) unsigned NOT NULL default '1',
+ `loyaltypoints` int(11) NOT NULL default '0',
+ `loyalty` int(11) unsigned NOT NULL default '0',
+ `trainpoint` int(11) NOT NULL default '0',
+ `name` varchar(100) default 'Pet',
+ `renamed` tinyint(1) unsigned NOT NULL default '0',
+ `slot` int(11) unsigned NOT NULL default '0',
+ `curhealth` int(11) unsigned NOT NULL default '1',
+ `curmana` int(11) unsigned NOT NULL default '0',
+ `curhappiness` int(11) unsigned NOT NULL default '0',
+ `savetime` bigint(20) unsigned NOT NULL default '0',
+ `resettalents_cost` int(11) unsigned NOT NULL default '0',
+ `resettalents_time` bigint(20) unsigned NOT NULL default '0',
+ `ABData` longtext,
+ `TeachSpelldata` longtext,
+ PRIMARY KEY (`id`),
+ KEY `owner` (`owner`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
+
+DROP TABLE IF EXISTS `pet_spell`;
+CREATE TABLE `pet_spell` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
+ `slot` int(11) unsigned NOT NULL default '0',
+ `active` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
+
+DROP TABLE IF EXISTS `pet_spell_cooldown`;
+CREATE TABLE `pet_spell_cooldown` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part',
+ `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
+ `time` bigint(20) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+DROP TABLE IF EXISTS `pet_aura`;
+CREATE TABLE `pet_aura` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `spell` int(11) unsigned NOT NULL default '0',
+ `effect_index` int(11) unsigned NOT NULL default '0',
+ `remaintime` int(11) NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`,`effect_index`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
+
+-- ----------------------------
+-- Table structure for petcreateinfo_spell
+-- ----------------------------
+DROP TABLE IF EXISTS `petcreateinfo_spell`;
+CREATE TABLE `petcreateinfo_spell` (
+ `entry` int(11) unsigned NOT NULL DEFAULT '0',
+ `Spell1` int(11) unsigned NOT NULL DEFAULT '0',
+ `Spell2` int(11) unsigned NOT NULL DEFAULT '0',
+ `Spell3` int(11) unsigned NOT NULL DEFAULT '0',
+ `Spell4` int(11) unsigned NOT NULL DEFAULT '0',
+ `FamilyPassive` int(11) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet Create Spells';
+
+ALTER TABLE `pet_levelstats` ADD `armor` int(10) unsigned NOT NULL default '0' AFTER `mana`;
+
+INSERT INTO `spell_chain` VALUES ('17253', '0', '17253', '1');
+INSERT INTO `spell_chain` VALUES ('17255', '17253', '17253', '2');
+INSERT INTO `spell_chain` VALUES ('17256', '17255', '17253', '3');
+INSERT INTO `spell_chain` VALUES ('17257', '17256', '17253', '4');
+INSERT INTO `spell_chain` VALUES ('17258', '17257', '17253', '5');
+INSERT INTO `spell_chain` VALUES ('17259', '17258', '17253', '6');
+INSERT INTO `spell_chain` VALUES ('17260', '17259', '17253', '7');
+INSERT INTO `spell_chain` VALUES ('17261', '17260', '17253', '8');
+INSERT INTO `spell_chain` VALUES ('27050', '17261', '17253', '9');
+INSERT INTO `spell_chain` VALUES ('16827', '0', '16827', '1');
+INSERT INTO `spell_chain` VALUES ('16828', '16827', '16827', '2');
+INSERT INTO `spell_chain` VALUES ('16829', '16828', '16827', '3');
+INSERT INTO `spell_chain` VALUES ('16830', '16829', '16827', '4');
+INSERT INTO `spell_chain` VALUES ('16831', '16830', '16827', '5');
+INSERT INTO `spell_chain` VALUES ('16832', '16831', '16827', '6');
+INSERT INTO `spell_chain` VALUES ('3010', '16832', '16827', '7');
+INSERT INTO `spell_chain` VALUES ('3009', '3010', '16827', '8');
+INSERT INTO `spell_chain` VALUES ('27049', '3009', '16827', '9');
+INSERT INTO `spell_chain` VALUES ('1742', '0', '1742', '1');
+INSERT INTO `spell_chain` VALUES ('1753', '1742', '1742', '2');
+INSERT INTO `spell_chain` VALUES ('1754', '1753', '1742', '3');
+INSERT INTO `spell_chain` VALUES ('1755', '1754', '1742', '4');
+INSERT INTO `spell_chain` VALUES ('1756', '1755', '1742', '5');
+INSERT INTO `spell_chain` VALUES ('16697', '1756', '1742', '6');
+INSERT INTO `spell_chain` VALUES ('27048', '16697', '1742', '7');
+INSERT INTO `spell_chain` VALUES ('23099', '0', '23099', '1');
+INSERT INTO `spell_chain` VALUES ('23109', '23099', '23099', '2');
+INSERT INTO `spell_chain` VALUES ('23110', '23109', '23099', '3');
+INSERT INTO `spell_chain` VALUES ('23145', '0', '23145', '1');
+INSERT INTO `spell_chain` VALUES ('23147', '23145', '23145', '2');
+INSERT INTO `spell_chain` VALUES ('23148', '23147', '23145', '3');
+INSERT INTO `spell_chain` VALUES ('2649', '0', '2649', '1');
+INSERT INTO `spell_chain` VALUES ('14916', '2649', '2649', '2');
+INSERT INTO `spell_chain` VALUES ('14917', '14916', '2649', '3');
+INSERT INTO `spell_chain` VALUES ('14918', '14917', '2649', '4');
+INSERT INTO `spell_chain` VALUES ('14919', '14918', '2649', '5');
+INSERT INTO `spell_chain` VALUES ('14920', '14919', '2649', '6');
+INSERT INTO `spell_chain` VALUES ('14921', '14920', '2649', '7');
+INSERT INTO `spell_chain` VALUES ('27047', '14921', '2649', '8');
+INSERT INTO `spell_chain` VALUES ('7371', '0', '7371', '1');
+INSERT INTO `spell_chain` VALUES ('26177', '7371', '7371', '2');
+INSERT INTO `spell_chain` VALUES ('26178', '26177', '7371', '3');
+INSERT INTO `spell_chain` VALUES ('26179', '26178', '7371', '4');
+INSERT INTO `spell_chain` VALUES ('26201', '26179', '7371', '5');
+INSERT INTO `spell_chain` VALUES ('27685', '26201', '7371', '6');
+INSERT INTO `spell_chain` VALUES ('24604', '0', '24604', '1');
+INSERT INTO `spell_chain` VALUES ('24605', '24604', '24604', '2');
+INSERT INTO `spell_chain` VALUES ('24603', '24605', '24604', '3');
+INSERT INTO `spell_chain` VALUES ('24597', '24603', '24604', '4');
+INSERT INTO `spell_chain` VALUES ('24844', '0', '24844', '1');
+INSERT INTO `spell_chain` VALUES ('25008', '24844', '24844', '2');
+INSERT INTO `spell_chain` VALUES ('25009', '25008', '24844', '3');
+INSERT INTO `spell_chain` VALUES ('25010', '25009', '24844', '4');
+INSERT INTO `spell_chain` VALUES ('25011', '25010', '24844', '5');
+INSERT INTO `spell_chain` VALUES ('25012', '25011', '24844', '6');
+INSERT INTO `spell_chain` VALUES ('24450', '0', '24450', '1');
+INSERT INTO `spell_chain` VALUES ('24452', '24450', '24450', '2');
+INSERT INTO `spell_chain` VALUES ('24453', '24452', '24450', '3');
+INSERT INTO `spell_chain` VALUES ('24640', '0', '24640', '1');
+INSERT INTO `spell_chain` VALUES ('24583', '24640', '24640', '2');
+INSERT INTO `spell_chain` VALUES ('24586', '24583', '24640', '3');
+INSERT INTO `spell_chain` VALUES ('24587', '24586', '24640', '4');
+INSERT INTO `spell_chain` VALUES ('27060', '24587', '24640', '5');
+INSERT INTO `spell_chain` VALUES ('24423', '0', '24423', '1');
+INSERT INTO `spell_chain` VALUES ('24577', '24423', '24423', '2');
+INSERT INTO `spell_chain` VALUES ('24578', '24577', '24423', '3');
+INSERT INTO `spell_chain` VALUES ('24579', '24578', '24423', '4');
+INSERT INTO `spell_chain` VALUES ('27051', '24579', '24423', '5');
+INSERT INTO `spell_chain` VALUES ('26064', '0', '26064', '1');
+INSERT INTO `spell_chain` VALUES ('26090', '0', '26090', '1');
+INSERT INTO `spell_chain` VALUES ('26187', '26090', '26090', '2');
+INSERT INTO `spell_chain` VALUES ('26188', '26187', '26090', '3');
+INSERT INTO `spell_chain` VALUES ('27063', '26188', '26090', '4');
+INSERT INTO `spell_chain` VALUES ('34889', '0', '34889', '1');
+INSERT INTO `spell_chain` VALUES ('35323', '34889', '34889', '2');
+INSERT INTO `spell_chain` VALUES ('35290', '0', '35290', '1');
+INSERT INTO `spell_chain` VALUES ('35291', '35290', '35290', '2');
+INSERT INTO `spell_chain` VALUES ('35292', '35291', '35290', '3');
+INSERT INTO `spell_chain` VALUES ('35293', '35292', '35290', '4');
+INSERT INTO `spell_chain` VALUES ('35294', '35293', '35290', '5');
+INSERT INTO `spell_chain` VALUES ('35295', '35294', '35290', '6');
+INSERT INTO `spell_chain` VALUES ('35296', '35295', '35290', '7');
+INSERT INTO `spell_chain` VALUES ('35297', '35296', '35290', '8');
+INSERT INTO `spell_chain` VALUES ('35298', '35297', '35290', '9');
+INSERT INTO `spell_chain` VALUES ('35387', '0', '35387', '1');
+INSERT INTO `spell_chain` VALUES ('35389', '35387', '35387', '2');
+INSERT INTO `spell_chain` VALUES ('35392', '35389', '35387', '3');
+INSERT INTO `spell_chain` VALUES ('35346', '0', '35346', '1');
+INSERT INTO `spell_chain` VALUES ('25076', '0', '25076', '1');
+INSERT INTO `spell_chain` VALUES ('35694', '0', '35694', '1');
+INSERT INTO `spell_chain` VALUES ('35698', '35694', '35694', '2');
+INSERT INTO `spell_chain` VALUES ('4187', '0', '4187', '1');
+INSERT INTO `spell_chain` VALUES ('4188', '4187', '4187', '2');
+INSERT INTO `spell_chain` VALUES ('4189', '4188', '4187', '3');
+INSERT INTO `spell_chain` VALUES ('4190', '4189', '4187', '4');
+INSERT INTO `spell_chain` VALUES ('4191', '4190', '4187', '5');
+INSERT INTO `spell_chain` VALUES ('4192', '4191', '4187', '6');
+INSERT INTO `spell_chain` VALUES ('4193', '4192', '4187', '7');
+INSERT INTO `spell_chain` VALUES ('4194', '4193', '4187', '8');
+INSERT INTO `spell_chain` VALUES ('5041', '4194', '4187', '9');
+INSERT INTO `spell_chain` VALUES ('5042', '5041', '4187', '10');
+INSERT INTO `spell_chain` VALUES ('27062', '5042', '4187', '11');
+INSERT INTO `spell_chain` VALUES ('24545', '0', '24545', '1');
+INSERT INTO `spell_chain` VALUES ('24549', '24545', '24545', '2');
+INSERT INTO `spell_chain` VALUES ('24550', '24549', '24545', '3');
+INSERT INTO `spell_chain` VALUES ('24551', '24550', '24545', '4');
+INSERT INTO `spell_chain` VALUES ('24552', '24551', '24545', '5');
+INSERT INTO `spell_chain` VALUES ('24553', '24552', '24545', '6');
+INSERT INTO `spell_chain` VALUES ('24554', '24553', '24545', '7');
+INSERT INTO `spell_chain` VALUES ('24555', '24554', '24545', '8');
+INSERT INTO `spell_chain` VALUES ('24629', '24555', '24545', '9');
+INSERT INTO `spell_chain` VALUES ('24630', '24629', '24545', '10');
+INSERT INTO `spell_chain` VALUES ('27061', '24630', '24545', '11');
+INSERT INTO `spell_chain` VALUES ('24493', '0', '24493', '1');
+INSERT INTO `spell_chain` VALUES ('24497', '24493', '24493', '2');
+INSERT INTO `spell_chain` VALUES ('24500', '24497', '24493', '3');
+INSERT INTO `spell_chain` VALUES ('24501', '24500', '24493', '4');
+INSERT INTO `spell_chain` VALUES ('27052', '24501', '24493', '5');
+INSERT INTO `spell_chain` VALUES ('23992', '0', '23992', '1');
+INSERT INTO `spell_chain` VALUES ('24439', '23992', '23992', '2');
+INSERT INTO `spell_chain` VALUES ('24444', '24439', '23992', '3');
+INSERT INTO `spell_chain` VALUES ('24445', '24444', '23992', '4');
+INSERT INTO `spell_chain` VALUES ('27053', '24445', '23992', '5');
+INSERT INTO `spell_chain` VALUES ('24446', '0', '24446', '1');
+INSERT INTO `spell_chain` VALUES ('24447', '24446', '24446', '2');
+INSERT INTO `spell_chain` VALUES ('24448', '24447', '24446', '3');
+INSERT INTO `spell_chain` VALUES ('24449', '24448', '24446', '4');
+INSERT INTO `spell_chain` VALUES ('27054', '24449', '24446', '5');
+INSERT INTO `spell_chain` VALUES ('24492', '0', '24492', '1');
+INSERT INTO `spell_chain` VALUES ('24502', '24492', '24492', '2');
+INSERT INTO `spell_chain` VALUES ('24503', '24502', '24492', '3');
+INSERT INTO `spell_chain` VALUES ('24504', '24503', '24492', '4');
+INSERT INTO `spell_chain` VALUES ('27055', '24504', '24492', '5');
+INSERT INTO `spell_chain` VALUES ('24488', '0', '24488', '1');
+INSERT INTO `spell_chain` VALUES ('24505', '24488', '24488', '2');
+INSERT INTO `spell_chain` VALUES ('24506', '24505', '24488', '3');
+INSERT INTO `spell_chain` VALUES ('24507', '24506', '24488', '4');
+INSERT INTO `spell_chain` VALUES ('27056', '24507', '24488', '5');
+INSERT INTO `spell_chain` VALUES ('6307', '0', '6307', '1');
+INSERT INTO `spell_chain` VALUES ('7804', '6307', '6307', '2');
+INSERT INTO `spell_chain` VALUES ('7805', '7804', '6307', '3');
+INSERT INTO `spell_chain` VALUES ('11766', '7805', '6307', '4');
+INSERT INTO `spell_chain` VALUES ('11767', '11766', '6307', '5');
+INSERT INTO `spell_chain` VALUES ('27268', '11767', '6307', '6');
+INSERT INTO `spell_chain` VALUES ('2947', '0', '2947', '1');
+INSERT INTO `spell_chain` VALUES ('8316', '2947', '2947', '2');
+INSERT INTO `spell_chain` VALUES ('8317', '8316', '2947', '3');
+INSERT INTO `spell_chain` VALUES ('11770', '8317', '2947', '4');
+INSERT INTO `spell_chain` VALUES ('11771', '11770', '2947', '5');
+INSERT INTO `spell_chain` VALUES ('27269', '11771', '2947', '6');
+INSERT INTO `spell_chain` VALUES ('3110', '0', '3110', '1');
+INSERT INTO `spell_chain` VALUES ('7799', '3110', '3110', '2');
+INSERT INTO `spell_chain` VALUES ('7800', '7799', '3110', '3');
+INSERT INTO `spell_chain` VALUES ('7801', '7800', '3110', '4');
+INSERT INTO `spell_chain` VALUES ('7802', '7801', '3110', '5');
+INSERT INTO `spell_chain` VALUES ('11762', '7802', '3110', '6');
+INSERT INTO `spell_chain` VALUES ('11763', '11762', '3110', '7');
+INSERT INTO `spell_chain` VALUES ('27267', '11763', '3110', '8');
+INSERT INTO `spell_chain` VALUES ('17767', '0', '17767', '1');
+INSERT INTO `spell_chain` VALUES ('17850', '17767', '17767', '2');
+INSERT INTO `spell_chain` VALUES ('17851', '17850', '17767', '3');
+INSERT INTO `spell_chain` VALUES ('17852', '17851', '17767', '4');
+INSERT INTO `spell_chain` VALUES ('17853', '17852', '17767', '5');
+INSERT INTO `spell_chain` VALUES ('17854', '17853', '17767', '6');
+INSERT INTO `spell_chain` VALUES ('27272', '17854', '17767', '7');
+INSERT INTO `spell_chain` VALUES ('7812', '0', '7812', '1');
+INSERT INTO `spell_chain` VALUES ('19438', '7812', '7812', '2');
+INSERT INTO `spell_chain` VALUES ('19440', '19438', '7812', '3');
+INSERT INTO `spell_chain` VALUES ('19441', '19440', '7812', '4');
+INSERT INTO `spell_chain` VALUES ('19442', '19441', '7812', '5');
+INSERT INTO `spell_chain` VALUES ('19443', '19442', '7812', '6');
+INSERT INTO `spell_chain` VALUES ('27273', '19443', '7812', '7');
+INSERT INTO `spell_chain` VALUES ('17735', '0', '17735', '1');
+INSERT INTO `spell_chain` VALUES ('17750', '17735', '17735', '2');
+INSERT INTO `spell_chain` VALUES ('17751', '17750', '17735', '3');
+INSERT INTO `spell_chain` VALUES ('17752', '17751', '17735', '4');
+INSERT INTO `spell_chain` VALUES ('27271', '17752', '17735', '5');
+INSERT INTO `spell_chain` VALUES ('33701', '27271', '17735', '6');
+INSERT INTO `spell_chain` VALUES ('3716', '0', '3716', '1');
+INSERT INTO `spell_chain` VALUES ('7809', '3716', '3716', '2');
+INSERT INTO `spell_chain` VALUES ('7810', '7809', '3716', '3');
+INSERT INTO `spell_chain` VALUES ('7811', '7810', '3716', '4');
+INSERT INTO `spell_chain` VALUES ('11774', '7811', '3716', '5');
+INSERT INTO `spell_chain` VALUES ('11775', '11774', '3716', '6');
+INSERT INTO `spell_chain` VALUES ('27270', '11775', '3716', '7');
+INSERT INTO `spell_chain` VALUES ('7814', '0', '7814', '1');
+INSERT INTO `spell_chain` VALUES ('7815', '7814', '7814', '2');
+INSERT INTO `spell_chain` VALUES ('7816', '7815', '7814', '3');
+INSERT INTO `spell_chain` VALUES ('11778', '7816', '7814', '4');
+INSERT INTO `spell_chain` VALUES ('11779', '11778', '7814', '5');
+INSERT INTO `spell_chain` VALUES ('11780', '11779', '7814', '6');
+INSERT INTO `spell_chain` VALUES ('27274', '11780', '7814', '7');
+INSERT INTO `spell_chain` VALUES ('6360', '0', '6360', '1');
+INSERT INTO `spell_chain` VALUES ('7813', '6360', '6360', '2');
+INSERT INTO `spell_chain` VALUES ('11784', '7813', '6360', '3');
+INSERT INTO `spell_chain` VALUES ('11785', '11784', '6360', '4');
+INSERT INTO `spell_chain` VALUES ('27275', '11785', '6360', '5');
+INSERT INTO `spell_chain` VALUES ('19505', '0', '19505', '1');
+INSERT INTO `spell_chain` VALUES ('19731', '19505', '19505', '2');
+INSERT INTO `spell_chain` VALUES ('19734', '19731', '19505', '3');
+INSERT INTO `spell_chain` VALUES ('19736', '19734', '19505', '4');
+INSERT INTO `spell_chain` VALUES ('27276', '19736', '19505', '5');
+INSERT INTO `spell_chain` VALUES ('27277', '27276', '19505', '6');
+INSERT INTO `spell_chain` VALUES ('19244', '0', '19244', '1');
+INSERT INTO `spell_chain` VALUES ('19647', '19244', '19244', '2');
+INSERT INTO `spell_chain` VALUES ('19478', '0', '19478', '1');
+INSERT INTO `spell_chain` VALUES ('19655', '19478', '19478', '2');
+INSERT INTO `spell_chain` VALUES ('19656', '19655', '19478', '3');
+INSERT INTO `spell_chain` VALUES ('19660', '19656', '19478', '4');
+INSERT INTO `spell_chain` VALUES ('27280', '19660', '19478', '5');
+INSERT INTO `spell_chain` VALUES ('33698', '0', '33698', '1');
+INSERT INTO `spell_chain` VALUES ('33699', '33698', '33698', '2');
+INSERT INTO `spell_chain` VALUES ('33700', '33699', '33698', '3');
+INSERT INTO `spell_chain` VALUES ('30213', '0', '30213', '1');
+INSERT INTO `spell_chain` VALUES ('30219', '30213', '30213', '2');
+INSERT INTO `spell_chain` VALUES ('30223', '30219', '30213', '3');
+INSERT INTO `spell_chain` VALUES ('30151', '0', '30151', '1');
+INSERT INTO `spell_chain` VALUES ('30194', '30151', '30151', '2');
+INSERT INTO `spell_chain` VALUES ('30198', '30194', '30151', '3');
diff --git a/sql/updates/0.8/4058.sql b/sql/updates/0.8/4058.sql
new file mode 100644
index 00000000000..e73798a03f5
--- /dev/null
+++ b/sql/updates/0.8/4058.sql
@@ -0,0 +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`;
+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
diff --git a/sql/updates/0.8/4059_spell_learn_skill.sql b/sql/updates/0.8/4059_spell_learn_skill.sql
new file mode 100644
index 00000000000..55b5b893628
--- /dev/null
+++ b/sql/updates/0.8/4059_spell_learn_skill.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_learn_skill` WHERE `entry` IN ( 3386 );
diff --git a/sql/updates/0.8/4059_spell_learn_spell.sql b/sql/updates/0.8/4059_spell_learn_spell.sql
new file mode 100644
index 00000000000..b89ef4b1568
--- /dev/null
+++ b/sql/updates/0.8/4059_spell_learn_spell.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_learn_spell` WHERE `SpellID` IN ( 2480, 7918, 7919 );
diff --git a/sql/updates/0.8/4076_character_spell.sql b/sql/updates/0.8/4076_character_spell.sql
new file mode 100644
index 00000000000..eb11e0291e8
--- /dev/null
+++ b/sql/updates/0.8/4076_character_spell.sql
@@ -0,0 +1,6 @@
+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
diff --git a/sql/updates/0.8/4076_playercreateinfo_spell.sql b/sql/updates/0.8/4076_playercreateinfo_spell.sql
new file mode 100644
index 00000000000..168a7b580fd
--- /dev/null
+++ b/sql/updates/0.8/4076_playercreateinfo_spell.sql
@@ -0,0 +1,2016 @@
+DROP TABLE IF EXISTS `playercreateinfo_spell`;
+CREATE TABLE `playercreateinfo_spell` (
+ `race` tinyint(3) unsigned NOT NULL default '0',
+ `class` tinyint(3) unsigned NOT NULL default '0',
+ `Spell` bigint(20) unsigned NOT NULL default '0',
+ `Note` varchar(255) default NULL,
+ `Active` tinyint(3) unsigned NOT NULL default '1',
+ PRIMARY KEY (`race`,`class`,`Spell`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+INSERT INTO `playercreateinfo_spell` VALUES
+(1,1,78,'Heroic Strike',1),
+(1,1,81,'Dodge',1),
+(1,1,107,'Block',1),
+(1,1,196,'One-Handed Axes',1),
+(1,1,198,'One-Handed Maces',1),
+(1,1,201,'One-Handed Swords',1),
+(1,1,203,'Unarmed',1),
+(1,1,204,'Defense',1),
+(1,1,522,'SPELLDEFENSE(DND)',1),
+(1,1,668,'Language Common',1),
+(1,1,2382,'Generic',1),
+(1,1,2457,'Battle Stance',1),
+(1,1,2479,'Honorless Target',1),
+(1,1,3050,'Detect',1),
+(1,1,3365,'Opening',1),
+(1,1,5301,'Defensive State(DND)',1),
+(1,1,6233,'Closing',1),
+(1,1,6246,'Closing',1),
+(1,1,6247,'Opening',1),
+(1,1,6477,'Opening',1),
+(1,1,6478,'Opening',1),
+(1,1,6603,'Attack',1),
+(1,1,7266,'Duel',1),
+(1,1,7267,'Grovel',1),
+(1,1,7355,'Stuck',1),
+(1,1,7376,'Defensive Stance Passive',0),
+(1,1,7381,'Berserker Stance Passive',0),
+(1,1,8386,'Attacking',1),
+(1,1,8737,'Mail',1),
+(1,1,9077,'Leather',1),
+(1,1,9078,'Cloth',1),
+(1,1,9116,'Shield',1),
+(1,1,9125,'Generic',1),
+(1,1,20597,'Sword Specialization',1),
+(1,1,20598,'The Human Spirit',1),
+(1,1,20599,'Diplomacy',1),
+(1,1,20600,'Perception',1),
+(1,1,20864,'Mace Specialization',1),
+(1,1,21156,'Battle Stance Passive',0),
+(1,1,21651,'Opening',1),
+(1,1,21652,'Closing',1),
+(1,1,22027,'Remove Insignia',1),
+(1,1,22810,'Opening - No Text',1),
+(1,1,32215,'Victorious State',1),
+(1,2,81,'Dodge',1),
+(1,2,107,'Block',1),
+(1,2,198,'One-Handed Maces',1),
+(1,2,199,'Two-Handed Maces',1),
+(1,2,203,'Unarmed',1),
+(1,2,204,'Defense',1),
+(1,2,522,'SPELLDEFENSE(DND)',1),
+(1,2,635,'Holy Light',1),
+(1,2,668,'Language Common',1),
+(1,2,2382,'Generic',1),
+(1,2,2479,'Honorless Target',1),
+(1,2,3050,'Detect',1),
+(1,2,3365,'Opening',1),
+(1,2,6233,'Closing',1),
+(1,2,6246,'Closing',1),
+(1,2,6247,'Opening',1),
+(1,2,6477,'Opening',1),
+(1,2,6478,'Opening',1),
+(1,2,6603,'Attack',1),
+(1,2,7266,'Duel',1),
+(1,2,7267,'Grovel',1),
+(1,2,7355,'Stuck',1),
+(1,2,8386,'Attacking',1),
+(1,2,8737,'Mail',1),
+(1,2,9077,'Leather',1),
+(1,2,9078,'Cloth',1),
+(1,2,9116,'Shield',1),
+(1,2,9125,'Generic',1),
+(1,2,20154,'Seal of Righteousness',1),
+(1,2,20597,'Sword Specialization',1),
+(1,2,20598,'The Human Spirit',1),
+(1,2,20599,'Diplomacy',1),
+(1,2,20600,'Perception',1),
+(1,2,20864,'Mace Specialization',1),
+(1,2,21651,'Opening',1),
+(1,2,21652,'Closing',1),
+(1,2,22027,'Remove Insignia',1),
+(1,2,22810,'Opening - No Text',1),
+(1,2,27762,'Libram',1),
+(1,4,81,'Dodge',1),
+(1,4,203,'Unarmed',1),
+(1,4,204,'Defense',1),
+(1,4,522,'SPELLDEFENSE(DND)',1),
+(1,4,668,'Language Common',1),
+(1,4,1180,'Daggers',1),
+(1,4,1752,'Sinister Strike',1),
+(1,4,2098,'Eviscerate',1),
+(1,4,2382,'Generic',1),
+(1,4,2479,'Honorless Target',1),
+(1,4,2567,'Thrown',1),
+(1,4,2764,'Throw',1),
+(1,4,3050,'Detect',1),
+(1,4,3365,'Opening',1),
+(1,4,6233,'Closing',1),
+(1,4,6246,'Closing',1),
+(1,4,6247,'Opening',1),
+(1,4,6477,'Opening',1),
+(1,4,6478,'Opening',1),
+(1,4,6603,'Attack',1),
+(1,4,7266,'Duel',1),
+(1,4,7267,'Grovel',1),
+(1,4,7355,'Stuck',1),
+(1,4,8386,'Attacking',1),
+(1,4,9077,'Leather',1),
+(1,4,9078,'Cloth',1),
+(1,4,9125,'Generic',1),
+(1,4,16092,'Defensive State(DND)',1),
+(1,4,20597,'Sword Specialization',1),
+(1,4,20598,'The Human Spirit',1),
+(1,4,20599,'Diplomacy',1),
+(1,4,20600,'Perception',1),
+(1,4,20864,'Mace Specialization',1),
+(1,4,21184,'Rogue Passive(DND)',1),
+(1,4,21651,'Opening',1),
+(1,4,21652,'Closing',1),
+(1,4,22027,'Remove Insignia',1),
+(1,4,22810,'Opening - No Text',1),
+(1,5,81,'Dodge',1),
+(1,5,198,'One-Handed Maces',1),
+(1,5,203,'Unarmed',1),
+(1,5,204,'Defense',1),
+(1,5,522,'SPELLDEFENSE(DND)',1),
+(1,5,585,'Smite',1),
+(1,5,668,'Language Common',1),
+(1,5,2050,'Lesser Heal',1),
+(1,5,2382,'Generic',1),
+(1,5,2479,'Honorless Target',1),
+(1,5,3050,'Detect',1),
+(1,5,3365,'Opening',1),
+(1,5,5009,'Wands',1),
+(1,5,5019,'Shoot',1),
+(1,5,6233,'Closing',1),
+(1,5,6246,'Closing',1),
+(1,5,6247,'Opening',1),
+(1,5,6477,'Opening',1),
+(1,5,6478,'Opening',1),
+(1,5,6603,'Attack',1),
+(1,5,7266,'Duel',1),
+(1,5,7267,'Grovel',1),
+(1,5,7355,'Stuck',1),
+(1,5,8386,'Attacking',1),
+(1,5,9078,'Cloth',1),
+(1,5,9125,'Generic',1),
+(1,5,20597,'Sword Specialization',1),
+(1,5,20598,'The Human Spirit',1),
+(1,5,20599,'Diplomacy',1),
+(1,5,20600,'Perception',1),
+(1,5,20864,'Mace Specialization',1),
+(1,5,21651,'Opening',1),
+(1,5,21652,'Closing',1),
+(1,5,22027,'Remove Insignia',1),
+(1,5,22810,'Opening - No Text',1),
+(1,8,81,'Dodge',1),
+(1,8,133,'Fireball',1),
+(1,8,168,'Frost Armor',1),
+(1,8,203,'Unarmed',1),
+(1,8,204,'Defense',1),
+(1,8,227,'Staves',1),
+(1,8,522,'SPELLDEFENSE(DND)',1),
+(1,8,668,'Language Common',1),
+(1,8,2382,'Generic',1),
+(1,8,2479,'Honorless Target',1),
+(1,8,3050,'Detect',1),
+(1,8,3365,'Opening',1),
+(1,8,5009,'Wands',1),
+(1,8,5019,'Shoot',1),
+(1,8,6233,'Closing',1),
+(1,8,6246,'Closing',1),
+(1,8,6247,'Opening',1),
+(1,8,6477,'Opening',1),
+(1,8,6478,'Opening',1),
+(1,8,6603,'Attack',1),
+(1,8,7266,'Duel',1),
+(1,8,7267,'Grovel',1),
+(1,8,7355,'Stuck',1),
+(1,8,8386,'Attacking',1),
+(1,8,9078,'Cloth',1),
+(1,8,9125,'Generic',1),
+(1,8,20597,'Sword Specialization',1),
+(1,8,20598,'The Human Spirit',1),
+(1,8,20599,'Diplomacy',1),
+(1,8,20600,'Perception',1),
+(1,8,20864,'Mace Specialization',1),
+(1,8,21651,'Opening',1),
+(1,8,21652,'Closing',1),
+(1,8,22027,'Remove Insignia',1),
+(1,8,22810,'Opening - No Text',1),
+(1,9,81,'Dodge',1),
+(1,9,203,'Unarmed',1),
+(1,9,204,'Defense',1),
+(1,9,522,'SPELLDEFENSE(DND)',1),
+(1,9,668,'Language Common',1),
+(1,9,686,'Shadow Bolt',1),
+(1,9,687,'Demon Skin',1),
+(1,9,1180,'Daggers',1),
+(1,9,2382,'Generic',1),
+(1,9,2479,'Honorless Target',1),
+(1,9,3050,'Detect',1),
+(1,9,3365,'Opening',1),
+(1,9,5009,'Wands',1),
+(1,9,5019,'Shoot',1),
+(1,9,6233,'Closing',1),
+(1,9,6246,'Closing',1),
+(1,9,6247,'Opening',1),
+(1,9,6477,'Opening',1),
+(1,9,6478,'Opening',1),
+(1,9,6603,'Attack',1),
+(1,9,7266,'Duel',1),
+(1,9,7267,'Grovel',1),
+(1,9,7355,'Stuck',1),
+(1,9,8386,'Attacking',1),
+(1,9,9078,'Cloth',1),
+(1,9,9125,'Generic',1),
+(1,9,20597,'Sword Specialization',1),
+(1,9,20598,'The Human Spirit',1),
+(1,9,20599,'Diplomacy',1),
+(1,9,20600,'Perception',1),
+(1,9,20864,'Mace Specialization',1),
+(1,9,21651,'Opening',1),
+(1,9,21652,'Closing',1),
+(1,9,22027,'Remove Insignia',1),
+(1,9,22810,'Opening - No Text',1),
+(2,1,78,'Heroic Strike',1),
+(2,1,81,'Dodge',1),
+(2,1,107,'Block',1),
+(2,1,196,'One-Handed Axes',1),
+(2,1,197,'Two-Handed Axes',1),
+(2,1,201,'One-Handed Swords',1),
+(2,1,203,'Unarmed',1),
+(2,1,204,'Defense',1),
+(2,1,522,'SPELLDEFENSE(DND)',1),
+(2,1,669,'Language Orcish',1),
+(2,1,2382,'Generic',1),
+(2,1,2457,'Battle Stance',1),
+(2,1,2479,'Honorless Target',1),
+(2,1,3050,'Detect',1),
+(2,1,3365,'Opening',1),
+(2,1,5301,'Defensive State(DND)',1),
+(2,1,6233,'Closing',1),
+(2,1,6246,'Closing',1),
+(2,1,6247,'Opening',1),
+(2,1,6477,'Opening',1),
+(2,1,6478,'Opening',1),
+(2,1,6603,'Attack',1),
+(2,1,7266,'Duel',1),
+(2,1,7267,'Grovel',1),
+(2,1,7355,'Stuck',1),
+(2,1,7376,'Defensive Stance Passive',0),
+(2,1,7381,'Berserker Stance Passive',0),
+(2,1,8386,'Attacking',1),
+(2,1,8737,'Mail',1),
+(2,1,9077,'Leather',1),
+(2,1,9078,'Cloth',1),
+(2,1,9116,'Shield',1),
+(2,1,9125,'Generic',1),
+(2,1,20572,'Blood Fury',1),
+(2,1,20573,'Hardiness',1),
+(2,1,20574,'Axe Specialization',1),
+(2,1,21156,'Battle Stance Passive',0),
+(2,1,21563,'Command',1),
+(2,1,21651,'Opening',1),
+(2,1,21652,'Closing',1),
+(2,1,22027,'Remove Insignia',1),
+(2,1,22810,'Opening - No Text',1),
+(2,1,32215,'Victorious State',1),
+(2,3,75,'Auto Shot',1),
+(2,3,81,'Dodge',1),
+(2,3,196,'One-Handed Axes',1),
+(2,3,203,'Unarmed',1),
+(2,3,204,'Defense',1),
+(2,3,264,'Bows',1),
+(2,3,522,'SPELLDEFENSE(DND)',1),
+(2,3,669,'Language Orcish',1),
+(2,3,2382,'Generic',1),
+(2,3,2479,'Honorless Target',1),
+(2,3,2973,'Raptor Strike',1),
+(2,3,3050,'Detect',1),
+(2,3,3365,'Opening',1),
+(2,3,6233,'Closing',1),
+(2,3,6246,'Closing',1),
+(2,3,6247,'Opening',1),
+(2,3,6477,'Opening',1),
+(2,3,6478,'Opening',1),
+(2,3,6603,'Attack',1),
+(2,3,7266,'Duel',1),
+(2,3,7267,'Grovel',1),
+(2,3,7355,'Stuck',1),
+(2,3,8386,'Attacking',1),
+(2,3,9077,'Leather',1),
+(2,3,9078,'Cloth',1),
+(2,3,9125,'Generic',1),
+(2,3,13358,'Defensive State(DND)',1),
+(2,3,20572,'Blood Fury',1),
+(2,3,20573,'Hardiness',1),
+(2,3,20574,'Axe Specialization',1),
+(2,3,20576,'Command',1),
+(2,3,21651,'Opening',1),
+(2,3,21652,'Closing',1),
+(2,3,22027,'Remove Insignia',1),
+(2,3,22810,'Opening - No Text',1),
+(2,3,24949,'Defensive State 2(DND)',1),
+(2,3,34082,'Advantaged State(DND)',1),
+(2,4,81,'Dodge',1),
+(2,4,203,'Unarmed',1),
+(2,4,204,'Defense',1),
+(2,4,522,'SPELLDEFENSE(DND)',1),
+(2,4,669,'Language Orcish',1),
+(2,4,1180,'Daggers',1),
+(2,4,1752,'Sinister Strike',1),
+(2,4,2098,'Eviscerate',1),
+(2,4,2382,'Generic',1),
+(2,4,2479,'Honorless Target',1),
+(2,4,2567,'Thrown',1),
+(2,4,2764,'Throw',1),
+(2,4,3050,'Detect',1),
+(2,4,3365,'Opening',1),
+(2,4,6233,'Closing',1),
+(2,4,6246,'Closing',1),
+(2,4,6247,'Opening',1),
+(2,4,6477,'Opening',1),
+(2,4,6478,'Opening',1),
+(2,4,6603,'Attack',1),
+(2,4,7266,'Duel',1),
+(2,4,7267,'Grovel',1),
+(2,4,7355,'Stuck',1),
+(2,4,8386,'Attacking',1),
+(2,4,9077,'Leather',1),
+(2,4,9078,'Cloth',1),
+(2,4,9125,'Generic',1),
+(2,4,16092,'Defensive State(DND)',1),
+(2,4,20572,'Blood Fury',1),
+(2,4,20573,'Hardiness',1),
+(2,4,20574,'Axe Specialization',1),
+(2,4,21184,'Rogue Passive(DND)',1),
+(2,4,21563,'Command',1),
+(2,4,21651,'Opening',1),
+(2,4,21652,'Closing',1),
+(2,4,22027,'Remove Insignia',1),
+(2,4,22810,'Opening - No Text',1),
+(2,7,81,'Dodge',1),
+(2,7,107,'Block',1),
+(2,7,198,'One-Handed Maces',1),
+(2,7,203,'Unarmed',1),
+(2,7,204,'Defense',1),
+(2,7,227,'Staves',1),
+(2,7,331,'Healing Wave',1),
+(2,7,403,'Lightning Bolt',1),
+(2,7,522,'SPELLDEFENSE(DND)',1),
+(2,7,669,'Language Orcish',1),
+(2,7,2382,'Generic',1),
+(2,7,2479,'Honorless Target',1),
+(2,7,3050,'Detect',1),
+(2,7,3365,'Opening',1),
+(2,7,6233,'Closing',1),
+(2,7,6246,'Closing',1),
+(2,7,6247,'Opening',1),
+(2,7,6477,'Opening',1),
+(2,7,6478,'Opening',1),
+(2,7,6603,'Attack',1),
+(2,7,7266,'Duel',1),
+(2,7,7267,'Grovel',1),
+(2,7,7355,'Stuck',1),
+(2,7,8386,'Attacking',1),
+(2,7,9077,'Leather',1),
+(2,7,9078,'Cloth',1),
+(2,7,9116,'Shield',1),
+(2,7,9125,'Generic',1),
+(2,7,20573,'Hardiness',1),
+(2,7,20574,'Axe Specialization',1),
+(2,7,21563,'Command',1),
+(2,7,21651,'Opening',1),
+(2,7,21652,'Closing',1),
+(2,7,22027,'Remove Insignia',1),
+(2,7,22810,'Opening - No Text',1),
+(2,7,27763,'Totem',1),
+(2,7,33697,'Blood Fury',1),
+(2,9,81,'Dodge',1),
+(2,9,203,'Unarmed',1),
+(2,9,204,'Defense',1),
+(2,9,522,'SPELLDEFENSE(DND)',1),
+(2,9,669,'Language Orcish',1),
+(2,9,686,'Shadow Bolt',1),
+(2,9,687,'Demon Skin',1),
+(2,9,1180,'Daggers',1),
+(2,9,2382,'Generic',1),
+(2,9,2479,'Honorless Target',1),
+(2,9,3050,'Detect',1),
+(2,9,3365,'Opening',1),
+(2,9,5009,'Wands',1),
+(2,9,5019,'Shoot',1),
+(2,9,6233,'Closing',1),
+(2,9,6246,'Closing',1),
+(2,9,6247,'Opening',1),
+(2,9,6477,'Opening',1),
+(2,9,6478,'Opening',1),
+(2,9,6603,'Attack',1),
+(2,9,7266,'Duel',1),
+(2,9,7267,'Grovel',1),
+(2,9,7355,'Stuck',1),
+(2,9,8386,'Attacking',1),
+(2,9,9078,'Cloth',1),
+(2,9,9125,'Generic',1),
+(2,9,20573,'Hardiness',1),
+(2,9,20574,'Axe Specialization',1),
+(2,9,20575,'Command',1),
+(2,9,21651,'Opening',1),
+(2,9,21652,'Closing',1),
+(2,9,22027,'Remove Insignia',1),
+(2,9,22810,'Opening - No Text',1),
+(2,9,33702,'Blood Fury',1),
+(3,1,78,'Heroic Strike',1),
+(3,1,81,'Dodge',1),
+(3,1,107,'Block',1),
+(3,1,196,'One-Handed Axes',1),
+(3,1,197,'Two-Handed Axes',1),
+(3,1,198,'One-Handed Maces',1),
+(3,1,203,'Unarmed',1),
+(3,1,204,'Defense',1),
+(3,1,522,'SPELLDEFENSE(DND)',1),
+(3,1,668,'Language Common',1),
+(3,1,672,'Language Dwarven',1),
+(3,1,2382,'Generic',1),
+(3,1,2457,'Battle Stance',1),
+(3,1,2479,'Honorless Target',1),
+(3,1,2481,'Find Treasure',1),
+(3,1,3050,'Detect',1),
+(3,1,3365,'Opening',1),
+(3,1,5301,'Defensive State(DND)',1),
+(3,1,6233,'Closing',1),
+(3,1,6246,'Closing',1),
+(3,1,6247,'Opening',1),
+(3,1,6477,'Opening',1),
+(3,1,6478,'Opening',1),
+(3,1,6603,'Attack',1),
+(3,1,7266,'Duel',1),
+(3,1,7267,'Grovel',1),
+(3,1,7355,'Stuck',1),
+(3,1,7376,'Defensive Stance Passive',0),
+(3,1,7381,'Berserker Stance Passive',0),
+(3,1,8386,'Attacking',1),
+(3,1,8737,'Mail',1),
+(3,1,9077,'Leather',1),
+(3,1,9078,'Cloth',1),
+(3,1,9116,'Shield',1),
+(3,1,9125,'Generic',1),
+(3,1,20594,'Stoneform',1),
+(3,1,20595,'Gun Specialization',1),
+(3,1,20596,'Frost Resistance',1),
+(3,1,21156,'Battle Stance Passive',0),
+(3,1,21651,'Opening',1),
+(3,1,21652,'Closing',1),
+(3,1,22027,'Remove Insignia',1),
+(3,1,22810,'Opening - No Text',1),
+(3,1,32215,'Victorious State',1),
+(3,2,81,'Dodge',1),
+(3,2,107,'Block',1),
+(3,2,198,'One-Handed Maces',1),
+(3,2,199,'Two-Handed Maces',1),
+(3,2,203,'Unarmed',1),
+(3,2,204,'Defense',1),
+(3,2,522,'SPELLDEFENSE(DND)',1),
+(3,2,635,'Holy Light',1),
+(3,2,668,'Language Common',1),
+(3,2,672,'Language Dwarven',1),
+(3,2,2382,'Generic',1),
+(3,2,2479,'Honorless Target',1),
+(3,2,2481,'Find Treasure',1),
+(3,2,3050,'Detect',1),
+(3,2,3365,'Opening',1),
+(3,2,6233,'Closing',1),
+(3,2,6246,'Closing',1),
+(3,2,6247,'Opening',1),
+(3,2,6477,'Opening',1),
+(3,2,6478,'Opening',1),
+(3,2,6603,'Attack',1),
+(3,2,7266,'Duel',1),
+(3,2,7267,'Grovel',1),
+(3,2,7355,'Stuck',1),
+(3,2,8386,'Attacking',1),
+(3,2,8737,'Mail',1),
+(3,2,9077,'Leather',1),
+(3,2,9078,'Cloth',1),
+(3,2,9116,'Shield',1),
+(3,2,9125,'Generic',1),
+(3,2,20154,'Seal of Righteousness',1),
+(3,2,20594,'Stoneform',1),
+(3,2,20595,'Gun Specialization',1),
+(3,2,20596,'Frost Resistance',1),
+(3,2,21651,'Opening',1),
+(3,2,21652,'Closing',1),
+(3,2,22027,'Remove Insignia',1),
+(3,2,22810,'Opening - No Text',1),
+(3,2,27762,'Libram',1),
+(3,3,75,'Auto Shot',1),
+(3,3,81,'Dodge',1),
+(3,3,196,'One-Handed Axes',1),
+(3,3,203,'Unarmed',1),
+(3,3,204,'Defense',1),
+(3,3,266,'Guns',1),
+(3,3,522,'SPELLDEFENSE(DND)',1),
+(3,3,668,'Language Common',1),
+(3,3,672,'Language Dwarven',1),
+(3,3,2382,'Generic',1),
+(3,3,2479,'Honorless Target',1),
+(3,3,2481,'Find Treasure',1),
+(3,3,2973,'Raptor Strike',1),
+(3,3,3050,'Detect',1),
+(3,3,3365,'Opening',1),
+(3,3,6233,'Closing',1),
+(3,3,6246,'Closing',1),
+(3,3,6247,'Opening',1),
+(3,3,6477,'Opening',1),
+(3,3,6478,'Opening',1),
+(3,3,6603,'Attack',1),
+(3,3,7266,'Duel',1),
+(3,3,7267,'Grovel',1),
+(3,3,7355,'Stuck',1),
+(3,3,8386,'Attacking',1),
+(3,3,9077,'Leather',1),
+(3,3,9078,'Cloth',1),
+(3,3,9125,'Generic',1),
+(3,3,13358,'Defensive State(DND)',1),
+(3,3,20594,'Stoneform',1),
+(3,3,20595,'Gun Specialization',1),
+(3,3,20596,'Frost Resistance',1),
+(3,3,21651,'Opening',1),
+(3,3,21652,'Closing',1),
+(3,3,22027,'Remove Insignia',1),
+(3,3,22810,'Opening - No Text',1),
+(3,3,24949,'Defensive State 2(DND)',1),
+(3,3,34082,'Advantaged State(DND)',1),
+(3,4,81,'Dodge',1),
+(3,4,203,'Unarmed',1),
+(3,4,204,'Defense',1),
+(3,4,522,'SPELLDEFENSE(DND)',1),
+(3,4,668,'Language Common',1),
+(3,4,672,'Language Dwarven',1),
+(3,4,1180,'Daggers',1),
+(3,4,1752,'Sinister Strike',1),
+(3,4,2098,'Eviscerate',1),
+(3,4,2382,'Generic',1),
+(3,4,2479,'Honorless Target',1),
+(3,4,2481,'Find Treasure',1),
+(3,4,2567,'Thrown',1),
+(3,4,2764,'Throw',1),
+(3,4,3050,'Detect',1),
+(3,4,3365,'Opening',1),
+(3,4,6233,'Closing',1),
+(3,4,6246,'Closing',1),
+(3,4,6247,'Opening',1),
+(3,4,6477,'Opening',1),
+(3,4,6478,'Opening',1),
+(3,4,6603,'Attack',1),
+(3,4,7266,'Duel',1),
+(3,4,7267,'Grovel',1),
+(3,4,7355,'Stuck',1),
+(3,4,8386,'Attacking',1),
+(3,4,9077,'Leather',1),
+(3,4,9078,'Cloth',1),
+(3,4,9125,'Generic',1),
+(3,4,16092,'Defensive State(DND)',1),
+(3,4,20594,'Stoneform',1),
+(3,4,20595,'Gun Specialization',1),
+(3,4,20596,'Frost Resistance',1),
+(3,4,21184,'Rogue Passive(DND)',1),
+(3,4,21651,'Opening',1),
+(3,4,21652,'Closing',1),
+(3,4,22027,'Remove Insignia',1),
+(3,4,22810,'Opening - No Text',1),
+(3,5,81,'Dodge',1),
+(3,5,198,'One-Handed Maces',1),
+(3,5,203,'Unarmed',1),
+(3,5,204,'Defense',1),
+(3,5,522,'SPELLDEFENSE(DND)',1),
+(3,5,585,'Smite',1),
+(3,5,668,'Language Common',1),
+(3,5,672,'Language Dwarven',1),
+(3,5,2050,'Lesser Heal',1),
+(3,5,2382,'Generic',1),
+(3,5,2479,'Honorless Target',1),
+(3,5,2481,'Find Treasure',1),
+(3,5,3050,'Detect',1),
+(3,5,3365,'Opening',1),
+(3,5,5009,'Wands',1),
+(3,5,5019,'Shoot',1),
+(3,5,6233,'Closing',1),
+(3,5,6246,'Closing',1),
+(3,5,6247,'Opening',1),
+(3,5,6477,'Opening',1),
+(3,5,6478,'Opening',1),
+(3,5,6603,'Attack',1),
+(3,5,7266,'Duel',1),
+(3,5,7267,'Grovel',1),
+(3,5,7355,'Stuck',1),
+(3,5,8386,'Attacking',1),
+(3,5,9078,'Cloth',1),
+(3,5,9125,'Generic',1),
+(3,5,20594,'Stoneform',1),
+(3,5,20595,'Gun Specialization',1),
+(3,5,20596,'Frost Resistance',1),
+(3,5,21651,'Opening',1),
+(3,5,21652,'Closing',1),
+(3,5,22027,'Remove Insignia',1),
+(3,5,22810,'Opening - No Text',1),
+(4,1,78,'Heroic Strike',1),
+(4,1,81,'Dodge',1),
+(4,1,107,'Block',1),
+(4,1,198,'One-Handed Maces',1),
+(4,1,201,'One-Handed Swords',1),
+(4,1,203,'Unarmed',1),
+(4,1,204,'Defense',1),
+(4,1,522,'SPELLDEFENSE(DND)',1),
+(4,1,668,'Language Common',1),
+(4,1,671,'Language Darnassian',1),
+(4,1,1180,'Daggers',1),
+(4,1,2382,'Generic',1),
+(4,1,2457,'Battle Stance',1),
+(4,1,2479,'Honorless Target',1),
+(4,1,3050,'Detect',1),
+(4,1,3365,'Opening',1),
+(4,1,5301,'Defensive State(DND)',1),
+(4,1,6233,'Closing',1),
+(4,1,6246,'Closing',1),
+(4,1,6247,'Opening',1),
+(4,1,6477,'Opening',1),
+(4,1,6478,'Opening',1),
+(4,1,6603,'Attack',1),
+(4,1,7266,'Duel',1),
+(4,1,7267,'Grovel',1),
+(4,1,7355,'Stuck',1),
+(4,1,7376,'Defensive Stance Passive',0),
+(4,1,7381,'Berserker Stance Passive',0),
+(4,1,8386,'Attacking',1),
+(4,1,8737,'Mail',1),
+(4,1,9077,'Leather',1),
+(4,1,9078,'Cloth',1),
+(4,1,9116,'Shield',1),
+(4,1,9125,'Generic',1),
+(4,1,20580,'Shadowmeld',1),
+(4,1,20582,'Quickness',1),
+(4,1,20583,'Nature Resistance',1),
+(4,1,20585,'Wisp Spirit',1),
+(4,1,21009,'Shadowmeld Passive',1),
+(4,1,21156,'Battle Stance Passive',0),
+(4,1,21651,'Opening',1),
+(4,1,21652,'Closing',1),
+(4,1,22027,'Remove Insignia',1),
+(4,1,22810,'Opening - No Text',1),
+(4,1,32215,'Victorious State',1),
+(4,3,75,'Auto Shot',1),
+(4,3,81,'Dodge',1),
+(4,3,203,'Unarmed',1),
+(4,3,204,'Defense',1),
+(4,3,264,'Bows',1),
+(4,3,522,'SPELLDEFENSE(DND)',1),
+(4,3,668,'Language Common',1),
+(4,3,671,'Language Darnassian',1),
+(4,3,1180,'Daggers',1),
+(4,3,2382,'Generic',1),
+(4,3,2479,'Honorless Target',1),
+(4,3,2973,'Raptor Strike',1),
+(4,3,3050,'Detect',1),
+(4,3,3365,'Opening',1),
+(4,3,6233,'Closing',1),
+(4,3,6246,'Closing',1),
+(4,3,6247,'Opening',1),
+(4,3,6477,'Opening',1),
+(4,3,6478,'Opening',1),
+(4,3,6603,'Attack',1),
+(4,3,7266,'Duel',1),
+(4,3,7267,'Grovel',1),
+(4,3,7355,'Stuck',1),
+(4,3,8386,'Attacking',1),
+(4,3,9077,'Leather',1),
+(4,3,9078,'Cloth',1),
+(4,3,9125,'Generic',1),
+(4,3,13358,'Defensive State(DND)',1),
+(4,3,20580,'Shadowmeld',1),
+(4,3,20582,'Quickness',1),
+(4,3,20583,'Nature Resistance',1),
+(4,3,20585,'Wisp Spirit',1),
+(4,3,21009,'Shadowmeld Passive',1),
+(4,3,21651,'Opening',1),
+(4,3,21652,'Closing',1),
+(4,3,22027,'Remove Insignia',1),
+(4,3,22810,'Opening - No Text',1),
+(4,3,24949,'Defensive State 2(DND)',1),
+(4,3,34082,'Advantaged State(DND)',1),
+(4,4,81,'Dodge',1),
+(4,4,203,'Unarmed',1),
+(4,4,204,'Defense',1),
+(4,4,522,'SPELLDEFENSE(DND)',1),
+(4,4,668,'Language Common',1),
+(4,4,671,'Language Darnassian',1),
+(4,4,1180,'Daggers',1),
+(4,4,1752,'Sinister Strike',1),
+(4,4,2098,'Eviscerate',1),
+(4,4,2382,'Generic',1),
+(4,4,2479,'Honorless Target',1),
+(4,4,2567,'Thrown',1),
+(4,4,2764,'Throw',1),
+(4,4,3050,'Detect',1),
+(4,4,3365,'Opening',1),
+(4,4,6233,'Closing',1),
+(4,4,6246,'Closing',1),
+(4,4,6247,'Opening',1),
+(4,4,6477,'Opening',1),
+(4,4,6478,'Opening',1),
+(4,4,6603,'Attack',1),
+(4,4,7266,'Duel',1),
+(4,4,7267,'Grovel',1),
+(4,4,7355,'Stuck',1),
+(4,4,8386,'Attacking',1),
+(4,4,9077,'Leather',1),
+(4,4,9078,'Cloth',1),
+(4,4,9125,'Generic',1),
+(4,4,16092,'Defensive State(DND)',1),
+(4,4,20580,'Shadowmeld',1),
+(4,4,20582,'Quickness',1),
+(4,4,20583,'Nature Resistance',1),
+(4,4,20585,'Wisp Spirit',1),
+(4,4,21009,'Shadowmeld Passive',1),
+(4,4,21184,'Rogue Passive(DND)',1),
+(4,4,21651,'Opening',1),
+(4,4,21652,'Closing',1),
+(4,4,22027,'Remove Insignia',1),
+(4,4,22810,'Opening - No Text',1),
+(4,5,81,'Dodge',1),
+(4,5,198,'One-Handed Maces',1),
+(4,5,203,'Unarmed',1),
+(4,5,204,'Defense',1),
+(4,5,522,'SPELLDEFENSE(DND)',1),
+(4,5,585,'Smite',1),
+(4,5,668,'Language Common',1),
+(4,5,671,'Language Darnassian',1),
+(4,5,2050,'Lesser Heal',1),
+(4,5,2382,'Generic',1),
+(4,5,2479,'Honorless Target',1),
+(4,5,3050,'Detect',1),
+(4,5,3365,'Opening',1),
+(4,5,5009,'Wands',1),
+(4,5,5019,'Shoot',1),
+(4,5,6233,'Closing',1),
+(4,5,6246,'Closing',1),
+(4,5,6247,'Opening',1),
+(4,5,6477,'Opening',1),
+(4,5,6478,'Opening',1),
+(4,5,6603,'Attack',1),
+(4,5,7266,'Duel',1),
+(4,5,7267,'Grovel',1),
+(4,5,7355,'Stuck',1),
+(4,5,8386,'Attacking',1),
+(4,5,9078,'Cloth',1),
+(4,5,9125,'Generic',1),
+(4,5,20580,'Shadowmeld',1),
+(4,5,20582,'Quickness',1),
+(4,5,20583,'Nature Resistance',1),
+(4,5,20585,'Wisp Spirit',1),
+(4,5,21009,'Shadowmeld Passive',1),
+(4,5,21651,'Opening',1),
+(4,5,21652,'Closing',1),
+(4,5,22027,'Remove Insignia',1),
+(4,5,22810,'Opening - No Text',1),
+(4,11,81,'Dodge',1),
+(4,11,203,'Unarmed',1),
+(4,11,204,'Defense',1),
+(4,11,227,'Staves',1),
+(4,11,522,'SPELLDEFENSE(DND)',1),
+(4,11,668,'Language Common',1),
+(4,11,671,'Language Darnassian',1),
+(4,11,1178,'Bear Form(Passive)',0),
+(4,11,1180,'Daggers',1),
+(4,11,2382,'Generic',1),
+(4,11,2479,'Honorless Target',1),
+(4,11,3025,'Cat Form(Passive)',0),
+(4,11,3050,'Detect',1),
+(4,11,3365,'Opening',1),
+(4,11,5176,'Wrath',1),
+(4,11,5185,'Healing Touch',1),
+(4,11,5419,'Travel Form(Passive)',0),
+(4,11,5420,'Tree of Life',0),
+(4,11,5421,'Aquatic Form(Passive)',0),
+(4,11,6233,'Closing',1),
+(4,11,6246,'Closing',1),
+(4,11,6247,'Opening',1),
+(4,11,6477,'Opening',1),
+(4,11,6478,'Opening',1),
+(4,11,6603,'Attack',1),
+(4,11,7266,'Duel',1),
+(4,11,7267,'Grovel',1),
+(4,11,7355,'Stuck',1),
+(4,11,8386,'Attacking',1),
+(4,11,9077,'Leather',1),
+(4,11,9078,'Cloth',1),
+(4,11,9125,'Generic',1),
+(4,11,9635,'Dire Bear Form(Passive)',0),
+(4,11,20580,'Shadowmeld',1),
+(4,11,20582,'Quickness',1),
+(4,11,20583,'Nature Resistance',1),
+(4,11,20585,'Wisp Spirit',1),
+(4,11,21009,'Shadowmeld Passive',1),
+(4,11,21178,'Bear Form(Passive2)',0),
+(4,11,21651,'Opening',1),
+(4,11,21652,'Closing',1),
+(4,11,22027,'Remove Insignia',1),
+(4,11,22810,'Opening - No Text',1),
+(4,11,24905,'Moonkin Form(Passive)',0),
+(4,11,27764,'Fetish',1),
+(4,11,33948,'Flight Form(Passive)',0),
+(4,11,34123,'Tree of Life(Passive)',0),
+(4,11,40121,'Swift Flight Form(Passive)',0),
+(5,1,78,'Heroic Strike',1),
+(5,1,81,'Dodge',1),
+(5,1,107,'Block',1),
+(5,1,201,'One-Handed Swords',1),
+(5,1,202,'Two-Handed Swords',1),
+(5,1,203,'Unarmed',1),
+(5,1,204,'Defense',1),
+(5,1,522,'SPELLDEFENSE(DND)',1),
+(5,1,669,'Language Orcish',1),
+(5,1,1180,'Daggers',1),
+(5,1,2382,'Generic',1),
+(5,1,2457,'Battle Stance',1),
+(5,1,2479,'Honorless Target',1),
+(5,1,3050,'Detect',1),
+(5,1,3365,'Opening',1),
+(5,1,5227,'Underwater Breathing',1),
+(5,1,5301,'Defensive State(DND)',1),
+(5,1,6233,'Closing',1),
+(5,1,6246,'Closing',1),
+(5,1,6247,'Opening',1),
+(5,1,6477,'Opening',1),
+(5,1,6478,'Opening',1),
+(5,1,6603,'Attack',1),
+(5,1,7266,'Duel',1),
+(5,1,7267,'Grovel',1),
+(5,1,7355,'Stuck',1),
+(5,1,7376,'Defensive Stance Passive',0),
+(5,1,7381,'Berserker Stance Passive',0),
+(5,1,7744,'Will of the Forsaken',1),
+(5,1,8386,'Attacking',1),
+(5,1,8737,'Mail',1),
+(5,1,9077,'Leather',1),
+(5,1,9078,'Cloth',1),
+(5,1,9116,'Shield',1),
+(5,1,9125,'Generic',1),
+(5,1,17737,'Language Gutterspeak',1),
+(5,1,20577,'Cannibalize',1),
+(5,1,20579,'Shadow Resistance',1),
+(5,1,21156,'Battle Stance Passive',0),
+(5,1,21651,'Opening',1),
+(5,1,21652,'Closing',1),
+(5,1,22027,'Remove Insignia',1),
+(5,1,22810,'Opening - No Text',1),
+(5,1,32215,'Victorious State',1),
+(5,4,81,'Dodge',1),
+(5,4,203,'Unarmed',1),
+(5,4,204,'Defense',1),
+(5,4,522,'SPELLDEFENSE(DND)',1),
+(5,4,669,'Language Orcish',1),
+(5,4,1180,'Daggers',1),
+(5,4,1752,'Sinister Strike',1),
+(5,4,2098,'Eviscerate',1),
+(5,4,2382,'Generic',1),
+(5,4,2479,'Honorless Target',1),
+(5,4,2567,'Thrown',1),
+(5,4,2764,'Throw',1),
+(5,4,3050,'Detect',1),
+(5,4,3365,'Opening',1),
+(5,4,5227,'Underwater Breathing',1),
+(5,4,6233,'Closing',1),
+(5,4,6246,'Closing',1),
+(5,4,6247,'Opening',1),
+(5,4,6477,'Opening',1),
+(5,4,6478,'Opening',1),
+(5,4,6603,'Attack',1),
+(5,4,7266,'Duel',1),
+(5,4,7267,'Grovel',1),
+(5,4,7355,'Stuck',1),
+(5,4,7744,'Will of the Forsaken',1),
+(5,4,8386,'Attacking',1),
+(5,4,9077,'Leather',1),
+(5,4,9078,'Cloth',1),
+(5,4,9125,'Generic',1),
+(5,4,16092,'Defensive State(DND)',1),
+(5,4,17737,'Language Gutterspeak',1),
+(5,4,20577,'Cannibalize',1),
+(5,4,20579,'Shadow Resistance',1),
+(5,4,21184,'Rogue Passive(DND)',1),
+(5,4,21651,'Opening',1),
+(5,4,21652,'Closing',1),
+(5,4,22027,'Remove Insignia',1),
+(5,4,22810,'Opening - No Text',1),
+(5,5,81,'Dodge',1),
+(5,5,198,'One-Handed Maces',1),
+(5,5,203,'Unarmed',1),
+(5,5,204,'Defense',1),
+(5,5,522,'SPELLDEFENSE(DND)',1),
+(5,5,585,'Smite',1),
+(5,5,669,'Language Orcish',1),
+(5,5,2050,'Lesser Heal',1),
+(5,5,2382,'Generic',1),
+(5,5,2479,'Honorless Target',1),
+(5,5,3050,'Detect',1),
+(5,5,3365,'Opening',1),
+(5,5,5009,'Wands',1),
+(5,5,5019,'Shoot',1),
+(5,5,5227,'Underwater Breathing',1),
+(5,5,6233,'Closing',1),
+(5,5,6246,'Closing',1),
+(5,5,6247,'Opening',1),
+(5,5,6477,'Opening',1),
+(5,5,6478,'Opening',1),
+(5,5,6603,'Attack',1),
+(5,5,7266,'Duel',1),
+(5,5,7267,'Grovel',1),
+(5,5,7355,'Stuck',1),
+(5,5,7744,'Will of the Forsaken',1),
+(5,5,8386,'Attacking',1),
+(5,5,9078,'Cloth',1),
+(5,5,9125,'Generic',1),
+(5,5,17737,'Language Gutterspeak',1),
+(5,5,20577,'Cannibalize',1),
+(5,5,20579,'Shadow Resistance',1),
+(5,5,21651,'Opening',1),
+(5,5,21652,'Closing',1),
+(5,5,22027,'Remove Insignia',1),
+(5,5,22810,'Opening - No Text',1),
+(5,8,81,'Dodge',1),
+(5,8,133,'Fireball',1),
+(5,8,168,'Frost Armor',1),
+(5,8,203,'Unarmed',1),
+(5,8,204,'Defense',1),
+(5,8,227,'Staves',1),
+(5,8,522,'SPELLDEFENSE(DND)',1),
+(5,8,669,'Language Orcish',1),
+(5,8,2382,'Generic',1),
+(5,8,2479,'Honorless Target',1),
+(5,8,3050,'Detect',1),
+(5,8,3365,'Opening',1),
+(5,8,5009,'Wands',1),
+(5,8,5019,'Shoot',1),
+(5,8,5227,'Underwater Breathing',1),
+(5,8,6233,'Closing',1),
+(5,8,6246,'Closing',1),
+(5,8,6247,'Opening',1),
+(5,8,6477,'Opening',1),
+(5,8,6478,'Opening',1),
+(5,8,6603,'Attack',1),
+(5,8,7266,'Duel',1),
+(5,8,7267,'Grovel',1),
+(5,8,7355,'Stuck',1),
+(5,8,7744,'Will of the Forsaken',1),
+(5,8,8386,'Attacking',1),
+(5,8,9078,'Cloth',1),
+(5,8,9125,'Generic',1),
+(5,8,17737,'Language Gutterspeak',1),
+(5,8,20577,'Cannibalize',1),
+(5,8,20579,'Shadow Resistance',1),
+(5,8,21651,'Opening',1),
+(5,8,21652,'Closing',1),
+(5,8,22027,'Remove Insignia',1),
+(5,8,22810,'Opening - No Text',1),
+(5,9,81,'Dodge',1),
+(5,9,203,'Unarmed',1),
+(5,9,204,'Defense',1),
+(5,9,522,'SPELLDEFENSE(DND)',1),
+(5,9,669,'Language Orcish',1),
+(5,9,686,'Shadow Bolt',1),
+(5,9,687,'Demon Skin',1),
+(5,9,1180,'Daggers',1),
+(5,9,2382,'Generic',1),
+(5,9,2479,'Honorless Target',1),
+(5,9,3050,'Detect',1),
+(5,9,3365,'Opening',1),
+(5,9,5009,'Wands',1),
+(5,9,5019,'Shoot',1),
+(5,9,5227,'Underwater Breathing',1),
+(5,9,6233,'Closing',1),
+(5,9,6246,'Closing',1),
+(5,9,6247,'Opening',1),
+(5,9,6477,'Opening',1),
+(5,9,6478,'Opening',1),
+(5,9,6603,'Attack',1),
+(5,9,7266,'Duel',1),
+(5,9,7267,'Grovel',1),
+(5,9,7355,'Stuck',1),
+(5,9,7744,'Will of the Forsaken',1),
+(5,9,8386,'Attacking',1),
+(5,9,9078,'Cloth',1),
+(5,9,9125,'Generic',1),
+(5,9,17737,'Language Gutterspeak',1),
+(5,9,20577,'Cannibalize',1),
+(5,9,20579,'Shadow Resistance',1),
+(5,9,21651,'Opening',1),
+(5,9,21652,'Closing',1),
+(5,9,22027,'Remove Insignia',1),
+(5,9,22810,'Opening - No Text',1),
+(6,1,78,'Heroic Strike',1),
+(6,1,81,'Dodge',1),
+(6,1,107,'Block',1),
+(6,1,196,'One-Handed Axes',1),
+(6,1,198,'One-Handed Maces',1),
+(6,1,199,'Two-Handed Maces',1),
+(6,1,203,'Unarmed',1),
+(6,1,204,'Defense',1),
+(6,1,522,'SPELLDEFENSE(DND)',1),
+(6,1,669,'Language Orcish',1),
+(6,1,670,'Language Taurahe',1),
+(6,1,2382,'Generic',1),
+(6,1,2457,'Battle Stance',1),
+(6,1,2479,'Honorless Target',1),
+(6,1,3050,'Detect',1),
+(6,1,3365,'Opening',1),
+(6,1,5301,'Defensive State(DND)',1),
+(6,1,6233,'Closing',1),
+(6,1,6246,'Closing',1),
+(6,1,6247,'Opening',1),
+(6,1,6477,'Opening',1),
+(6,1,6478,'Opening',1),
+(6,1,6603,'Attack',1),
+(6,1,7266,'Duel',1),
+(6,1,7267,'Grovel',1),
+(6,1,7355,'Stuck',1),
+(6,1,7376,'Defensive Stance Passive',0),
+(6,1,7381,'Berserker Stance Passive',0),
+(6,1,8386,'Attacking',1),
+(6,1,8737,'Mail',1),
+(6,1,9077,'Leather',1),
+(6,1,9078,'Cloth',1),
+(6,1,9116,'Shield',1),
+(6,1,9125,'Generic',1),
+(6,1,20549,'War Stomp',1),
+(6,1,20550,'Endurance',1),
+(6,1,20551,'Nature Resistance',1),
+(6,1,20552,'Cultivation',1),
+(6,1,21156,'Battle Stance Passive',0),
+(6,1,21651,'Opening',1),
+(6,1,21652,'Closing',1),
+(6,1,22027,'Remove Insignia',1),
+(6,1,22810,'Opening - No Text',1),
+(6,1,32215,'Victorious State',1),
+(6,3,75,'Auto Shot',1),
+(6,3,81,'Dodge',1),
+(6,3,196,'One-Handed Axes',1),
+(6,3,203,'Unarmed',1),
+(6,3,204,'Defense',1),
+(6,3,266,'Guns',1),
+(6,3,522,'SPELLDEFENSE(DND)',1),
+(6,3,669,'Language Orcish',1),
+(6,3,670,'Language Taurahe',1),
+(6,3,2382,'Generic',1),
+(6,3,2479,'Honorless Target',1),
+(6,3,2973,'Raptor Strike',1),
+(6,3,3050,'Detect',1),
+(6,3,3365,'Opening',1),
+(6,3,6233,'Closing',1),
+(6,3,6246,'Closing',1),
+(6,3,6247,'Opening',1),
+(6,3,6477,'Opening',1),
+(6,3,6478,'Opening',1),
+(6,3,6603,'Attack',1),
+(6,3,7266,'Duel',1),
+(6,3,7267,'Grovel',1),
+(6,3,7355,'Stuck',1),
+(6,3,8386,'Attacking',1),
+(6,3,9077,'Leather',1),
+(6,3,9078,'Cloth',1),
+(6,3,9125,'Generic',1),
+(6,3,13358,'Defensive State(DND)',1),
+(6,3,20549,'War Stomp',1),
+(6,3,20550,'Endurance',1),
+(6,3,20551,'Nature Resistance',1),
+(6,3,20552,'Cultivation',1),
+(6,3,21651,'Opening',1),
+(6,3,21652,'Closing',1),
+(6,3,22027,'Remove Insignia',1),
+(6,3,22810,'Opening - No Text',1),
+(6,3,24949,'Defensive State 2(DND)',1),
+(6,3,34082,'Advantaged State(DND)',1),
+(6,7,81,'Dodge',1),
+(6,7,107,'Block',1),
+(6,7,198,'One-Handed Maces',1),
+(6,7,203,'Unarmed',1),
+(6,7,204,'Defense',1),
+(6,7,227,'Staves',1),
+(6,7,331,'Healing Wave',1),
+(6,7,403,'Lightning Bolt',1),
+(6,7,522,'SPELLDEFENSE(DND)',1),
+(6,7,669,'Language Orcish',1),
+(6,7,670,'Language Taurahe',1),
+(6,7,2382,'Generic',1),
+(6,7,2479,'Honorless Target',1),
+(6,7,3050,'Detect',1),
+(6,7,3365,'Opening',1),
+(6,7,6233,'Closing',1),
+(6,7,6246,'Closing',1),
+(6,7,6247,'Opening',1),
+(6,7,6477,'Opening',1),
+(6,7,6478,'Opening',1),
+(6,7,6603,'Attack',1),
+(6,7,7266,'Duel',1),
+(6,7,7267,'Grovel',1),
+(6,7,7355,'Stuck',1),
+(6,7,8386,'Attacking',1),
+(6,7,9077,'Leather',1),
+(6,7,9078,'Cloth',1),
+(6,7,9116,'Shield',1),
+(6,7,9125,'Generic',1),
+(6,7,20549,'War Stomp',1),
+(6,7,20550,'Endurance',1),
+(6,7,20551,'Nature Resistance',1),
+(6,7,20552,'Cultivation',1),
+(6,7,21651,'Opening',1),
+(6,7,21652,'Closing',1),
+(6,7,22027,'Remove Insignia',1),
+(6,7,22810,'Opening - No Text',1),
+(6,7,27763,'Totem',1),
+(6,11,81,'Dodge',1),
+(6,11,198,'One-Handed Maces',1),
+(6,11,203,'Unarmed',1),
+(6,11,204,'Defense',1),
+(6,11,227,'Staves',1),
+(6,11,522,'SPELLDEFENSE(DND)',1),
+(6,11,669,'Language Orcish',1),
+(6,11,670,'Language Taurahe',1),
+(6,11,1178,'Bear Form(Passive)',0),
+(6,11,2382,'Generic',1),
+(6,11,2479,'Honorless Target',1),
+(6,11,3025,'Cat Form(Passive)',0),
+(6,11,3050,'Detect',1),
+(6,11,3365,'Opening',1),
+(6,11,5176,'Wrath',1),
+(6,11,5185,'Healing Touch',1),
+(6,11,5419,'Travel Form(Passive)',0),
+(6,11,5420,'Tree of Life',0),
+(6,11,5421,'Aquatic Form(Passive)',0),
+(6,11,6233,'Closing',1),
+(6,11,6246,'Closing',1),
+(6,11,6247,'Opening',1),
+(6,11,6477,'Opening',1),
+(6,11,6478,'Opening',1),
+(6,11,6603,'Attack',1),
+(6,11,7266,'Duel',1),
+(6,11,7267,'Grovel',1),
+(6,11,7355,'Stuck',1),
+(6,11,8386,'Attacking',1),
+(6,11,9077,'Leather',1),
+(6,11,9078,'Cloth',1),
+(6,11,9125,'Generic',1),
+(6,11,9635,'Dire Bear Form(Passive)',0),
+(6,11,20549,'War Stomp',1),
+(6,11,20550,'Endurance',1),
+(6,11,20551,'Nature Resistance',1),
+(6,11,20552,'Cultivation',1),
+(6,11,21178,'Bear Form(Passive2)',0),
+(6,11,21651,'Opening',1),
+(6,11,21652,'Closing',1),
+(6,11,22027,'Remove Insignia',1),
+(6,11,22810,'Opening - No Text',1),
+(6,11,24905,'Moonkin Form(Passive)',0),
+(6,11,27764,'Fetish',1),
+(6,11,33948,'Flight Form(Passive)',0),
+(6,11,34123,'Tree of Life(Passive)',0),
+(6,11,40121,'Swift Flight Form(Passive)',0),
+(7,1,78,'Heroic Strike',1),
+(7,1,81,'Dodge',1),
+(7,1,107,'Block',1),
+(7,1,198,'One-Handed Maces',1),
+(7,1,201,'One-Handed Swords',1),
+(7,1,203,'Unarmed',1),
+(7,1,204,'Defense',1),
+(7,1,522,'SPELLDEFENSE(DND)',1),
+(7,1,668,'Language Common',1),
+(7,1,1180,'Daggers',1),
+(7,1,2382,'Generic',1),
+(7,1,2457,'Battle Stance',1),
+(7,1,2479,'Honorless Target',1),
+(7,1,3050,'Detect',1),
+(7,1,3365,'Opening',1),
+(7,1,5301,'Defensive State(DND)',1),
+(7,1,6233,'Closing',1),
+(7,1,6246,'Closing',1),
+(7,1,6247,'Opening',1),
+(7,1,6477,'Opening',1),
+(7,1,6478,'Opening',1),
+(7,1,6603,'Attack',1),
+(7,1,7266,'Duel',1),
+(7,1,7267,'Grovel',1),
+(7,1,7340,'Language Gnomish',1),
+(7,1,7355,'Stuck',1),
+(7,1,7376,'Defensive Stance Passive',0),
+(7,1,7381,'Berserker Stance Passive',0),
+(7,1,8386,'Attacking',1),
+(7,1,8737,'Mail',1),
+(7,1,9077,'Leather',1),
+(7,1,9078,'Cloth',1),
+(7,1,9116,'Shield',1),
+(7,1,9125,'Generic',1),
+(7,1,20589,'Escape Artist',1),
+(7,1,20591,'Expansive Mind',1),
+(7,1,20592,'Arcane Resistance',1),
+(7,1,20593,'Engineering Specialization',1),
+(7,1,21156,'Battle Stance Passive',0),
+(7,1,21651,'Opening',1),
+(7,1,21652,'Closing',1),
+(7,1,22027,'Remove Insignia',1),
+(7,1,22810,'Opening - No Text',1),
+(7,1,32215,'Victorious State',1),
+(7,4,81,'Dodge',1),
+(7,4,203,'Unarmed',1),
+(7,4,204,'Defense',1),
+(7,4,522,'SPELLDEFENSE(DND)',1),
+(7,4,668,'Language Common',1),
+(7,4,1180,'Daggers',1),
+(7,4,1752,'Sinister Strike',1),
+(7,4,2098,'Eviscerate',1),
+(7,4,2382,'Generic',1),
+(7,4,2479,'Honorless Target',1),
+(7,4,2567,'Thrown',1),
+(7,4,2764,'Throw',1),
+(7,4,3050,'Detect',1),
+(7,4,3365,'Opening',1),
+(7,4,6233,'Closing',1),
+(7,4,6246,'Closing',1),
+(7,4,6247,'Opening',1),
+(7,4,6477,'Opening',1),
+(7,4,6478,'Opening',1),
+(7,4,6603,'Attack',1),
+(7,4,7266,'Duel',1),
+(7,4,7267,'Grovel',1),
+(7,4,7340,'Language Gnomish',1),
+(7,4,7355,'Stuck',1),
+(7,4,8386,'Attacking',1),
+(7,4,9077,'Leather',1),
+(7,4,9078,'Cloth',1),
+(7,4,9125,'Generic',1),
+(7,4,16092,'Defensive State(DND)',1),
+(7,4,20589,'Escape Artist',1),
+(7,4,20591,'Expansive Mind',1),
+(7,4,20592,'Arcane Resistance',1),
+(7,4,20593,'Engineering Specialization',1),
+(7,4,21184,'Rogue Passive(DND)',1),
+(7,4,21651,'Opening',1),
+(7,4,21652,'Closing',1),
+(7,4,22027,'Remove Insignia',1),
+(7,4,22810,'Opening - No Text',1),
+(7,8,81,'Dodge',1),
+(7,8,133,'Fireball',1),
+(7,8,168,'Frost Armor',1),
+(7,8,203,'Unarmed',1),
+(7,8,204,'Defense',1),
+(7,8,227,'Staves',1),
+(7,8,522,'SPELLDEFENSE(DND)',1),
+(7,8,668,'Language Common',1),
+(7,8,2382,'Generic',1),
+(7,8,2479,'Honorless Target',1),
+(7,8,3050,'Detect',1),
+(7,8,3365,'Opening',1),
+(7,8,5009,'Wands',1),
+(7,8,5019,'Shoot',1),
+(7,8,6233,'Closing',1),
+(7,8,6246,'Closing',1),
+(7,8,6247,'Opening',1),
+(7,8,6477,'Opening',1),
+(7,8,6478,'Opening',1),
+(7,8,6603,'Attack',1),
+(7,8,7266,'Duel',1),
+(7,8,7267,'Grovel',1),
+(7,8,7340,'Language Gnomish',1),
+(7,8,7355,'Stuck',1),
+(7,8,8386,'Attacking',1),
+(7,8,9078,'Cloth',1),
+(7,8,9125,'Generic',1),
+(7,8,20589,'Escape Artist',1),
+(7,8,20591,'Expansive Mind',1),
+(7,8,20592,'Arcane Resistance',1),
+(7,8,20593,'Engineering Specialization',1),
+(7,8,21651,'Opening',1),
+(7,8,21652,'Closing',1),
+(7,8,22027,'Remove Insignia',1),
+(7,8,22810,'Opening - No Text',1),
+(7,9,81,'Dodge',1),
+(7,9,203,'Unarmed',1),
+(7,9,204,'Defense',1),
+(7,9,522,'SPELLDEFENSE(DND)',1),
+(7,9,668,'Language Common',1),
+(7,9,686,'Shadow Bolt',1),
+(7,9,687,'Demon Skin',1),
+(7,9,1180,'Daggers',1),
+(7,9,2382,'Generic',1),
+(7,9,2479,'Honorless Target',1),
+(7,9,3050,'Detect',1),
+(7,9,3365,'Opening',1),
+(7,9,5009,'Wands',1),
+(7,9,5019,'Shoot',1),
+(7,9,6233,'Closing',1),
+(7,9,6246,'Closing',1),
+(7,9,6247,'Opening',1),
+(7,9,6477,'Opening',1),
+(7,9,6478,'Opening',1),
+(7,9,6603,'Attack',1),
+(7,9,7266,'Duel',1),
+(7,9,7267,'Grovel',1),
+(7,9,7340,'Language Gnomish',1),
+(7,9,7355,'Stuck',1),
+(7,9,8386,'Attacking',1),
+(7,9,9078,'Cloth',1),
+(7,9,9125,'Generic',1),
+(7,9,20589,'Escape Artist',1),
+(7,9,20591,'Expansive Mind',1),
+(7,9,20592,'Arcane Resistance',1),
+(7,9,20593,'Engineering Specialization',1),
+(7,9,21651,'Opening',1),
+(7,9,21652,'Closing',1),
+(7,9,22027,'Remove Insignia',1),
+(7,9,22810,'Opening - No Text',1),
+(8,1,78,'Heroic Strike',1),
+(8,1,81,'Dodge',1),
+(8,1,107,'Block',1),
+(8,1,196,'One-Handed Axes',1),
+(8,1,203,'Unarmed',1),
+(8,1,204,'Defense',1),
+(8,1,522,'SPELLDEFENSE(DND)',1),
+(8,1,669,'Language Orcish',1),
+(8,1,1180,'Daggers',1),
+(8,1,2382,'Generic',1),
+(8,1,2457,'Battle Stance',1),
+(8,1,2479,'Honorless Target',1),
+(8,1,2567,'Thrown',1),
+(8,1,2764,'Throw',1),
+(8,1,3050,'Detect',1),
+(8,1,3365,'Opening',1),
+(8,1,5301,'Defensive State(DND)',1),
+(8,1,6233,'Closing',1),
+(8,1,6246,'Closing',1),
+(8,1,6247,'Opening',1),
+(8,1,6477,'Opening',1),
+(8,1,6478,'Opening',1),
+(8,1,6603,'Attack',1),
+(8,1,7266,'Duel',1),
+(8,1,7267,'Grovel',1),
+(8,1,7341,'Language Troll',1),
+(8,1,7355,'Stuck',1),
+(8,1,7376,'Defensive Stance Passive',0),
+(8,1,7381,'Berserker Stance Passive',0),
+(8,1,8386,'Attacking',1),
+(8,1,8737,'Mail',1),
+(8,1,9077,'Leather',1),
+(8,1,9078,'Cloth',1),
+(8,1,9116,'Shield',1),
+(8,1,9125,'Generic',1),
+(8,1,20555,'Regeneration',1),
+(8,1,20557,'Beast Slaying',1),
+(8,1,20558,'Throwing Specialization',1),
+(8,1,21156,'Battle Stance Passive',0),
+(8,1,21651,'Opening',1),
+(8,1,21652,'Closing',1),
+(8,1,22027,'Remove Insignia',1),
+(8,1,22810,'Opening - No Text',1),
+(8,1,26290,'Bow Specialization',1),
+(8,1,26296,'Berserking',1),
+(8,1,32215,'Victorious State',1),
+(8,3,75,'Auto Shot',1),
+(8,3,81,'Dodge',1),
+(8,3,196,'One-Handed Axes',1),
+(8,3,203,'Unarmed',1),
+(8,3,204,'Defense',1),
+(8,3,264,'Bows',1),
+(8,3,522,'SPELLDEFENSE(DND)',1),
+(8,3,669,'Language Orcish',1),
+(8,3,2382,'Generic',1),
+(8,3,2479,'Honorless Target',1),
+(8,3,2973,'Raptor Strike',1),
+(8,3,3050,'Detect',1),
+(8,3,3365,'Opening',1),
+(8,3,6233,'Closing',1),
+(8,3,6246,'Closing',1),
+(8,3,6247,'Opening',1),
+(8,3,6477,'Opening',1),
+(8,3,6478,'Opening',1),
+(8,3,6603,'Attack',1),
+(8,3,7266,'Duel',1),
+(8,3,7267,'Grovel',1),
+(8,3,7341,'Language Troll',1),
+(8,3,7355,'Stuck',1),
+(8,3,8386,'Attacking',1),
+(8,3,9077,'Leather',1),
+(8,3,9078,'Cloth',1),
+(8,3,9125,'Generic',1),
+(8,3,13358,'Defensive State(DND)',1),
+(8,3,20554,'Berserking',1),
+(8,3,20555,'Regeneration',1),
+(8,3,20557,'Beast Slaying',1),
+(8,3,20558,'Throwing Specialization',1),
+(8,3,21651,'Opening',1),
+(8,3,21652,'Closing',1),
+(8,3,22027,'Remove Insignia',1),
+(8,3,22810,'Opening - No Text',1),
+(8,3,24949,'Defensive State 2(DND)',1),
+(8,3,26290,'Bow Specialization',1),
+(8,3,34082,'Advantaged State(DND)',1),
+(8,4,81,'Dodge',1),
+(8,4,203,'Unarmed',1),
+(8,4,204,'Defense',1),
+(8,4,522,'SPELLDEFENSE(DND)',1),
+(8,4,669,'Language Orcish',1),
+(8,4,1180,'Daggers',1),
+(8,4,1752,'Sinister Strike',1),
+(8,4,2098,'Eviscerate',1),
+(8,4,2382,'Generic',1),
+(8,4,2479,'Honorless Target',1),
+(8,4,2567,'Thrown',1),
+(8,4,2764,'Throw',1),
+(8,4,3050,'Detect',1),
+(8,4,3365,'Opening',1),
+(8,4,6233,'Closing',1),
+(8,4,6246,'Closing',1),
+(8,4,6247,'Opening',1),
+(8,4,6477,'Opening',1),
+(8,4,6478,'Opening',1),
+(8,4,6603,'Attack',1),
+(8,4,7266,'Duel',1),
+(8,4,7267,'Grovel',1),
+(8,4,7341,'Language Troll',1),
+(8,4,7355,'Stuck',1),
+(8,4,8386,'Attacking',1),
+(8,4,9077,'Leather',1),
+(8,4,9078,'Cloth',1),
+(8,4,9125,'Generic',1),
+(8,4,16092,'Defensive State(DND)',1),
+(8,4,20555,'Regeneration',1),
+(8,4,20557,'Beast Slaying',1),
+(8,4,20558,'Throwing Specialization',1),
+(8,4,21184,'Rogue Passive(DND)',1),
+(8,4,21651,'Opening',1),
+(8,4,21652,'Closing',1),
+(8,4,22027,'Remove Insignia',1),
+(8,4,22810,'Opening - No Text',1),
+(8,4,26290,'Bow Specialization',1),
+(8,4,26297,'Berserking',1),
+(8,5,81,'Dodge',1),
+(8,5,198,'One-Handed Maces',1),
+(8,5,203,'Unarmed',1),
+(8,5,204,'Defense',1),
+(8,5,522,'SPELLDEFENSE(DND)',1),
+(8,5,585,'Smite',1),
+(8,5,669,'Language Orcish',1),
+(8,5,2050,'Lesser Heal',1),
+(8,5,2382,'Generic',1),
+(8,5,2479,'Honorless Target',1),
+(8,5,3050,'Detect',1),
+(8,5,3365,'Opening',1),
+(8,5,5009,'Wands',1),
+(8,5,5019,'Shoot',1),
+(8,5,6233,'Closing',1),
+(8,5,6246,'Closing',1),
+(8,5,6247,'Opening',1),
+(8,5,6477,'Opening',1),
+(8,5,6478,'Opening',1),
+(8,5,6603,'Attack',1),
+(8,5,7266,'Duel',1),
+(8,5,7267,'Grovel',1),
+(8,5,7341,'Language Troll',1),
+(8,5,7355,'Stuck',1),
+(8,5,8386,'Attacking',1),
+(8,5,9078,'Cloth',1),
+(8,5,9125,'Generic',1),
+(8,5,20554,'Berserking',1),
+(8,5,20555,'Regeneration',1),
+(8,5,20557,'Beast Slaying',1),
+(8,5,20558,'Throwing Specialization',1),
+(8,5,21651,'Opening',1),
+(8,5,21652,'Closing',1),
+(8,5,22027,'Remove Insignia',1),
+(8,5,22810,'Opening - No Text',1),
+(8,5,26290,'Bow Specialization',1),
+(8,7,81,'Dodge',1),
+(8,7,107,'Block',1),
+(8,7,198,'One-Handed Maces',1),
+(8,7,203,'Unarmed',1),
+(8,7,204,'Defense',1),
+(8,7,227,'Staves',1),
+(8,7,331,'Healing Wave',1),
+(8,7,403,'Lightning Bolt',1),
+(8,7,522,'SPELLDEFENSE(DND)',1),
+(8,7,669,'Language Orcish',1),
+(8,7,2382,'Generic',1),
+(8,7,2479,'Honorless Target',1),
+(8,7,3050,'Detect',1),
+(8,7,3365,'Opening',1),
+(8,7,6233,'Closing',1),
+(8,7,6246,'Closing',1),
+(8,7,6247,'Opening',1),
+(8,7,6477,'Opening',1),
+(8,7,6478,'Opening',1),
+(8,7,6603,'Attack',1),
+(8,7,7266,'Duel',1),
+(8,7,7267,'Grovel',1),
+(8,7,7341,'Language Troll',1),
+(8,7,7355,'Stuck',1),
+(8,7,8386,'Attacking',1),
+(8,7,9077,'Leather',1),
+(8,7,9078,'Cloth',1),
+(8,7,9116,'Shield',1),
+(8,7,9125,'Generic',1),
+(8,7,20554,'Berserking',1),
+(8,7,20555,'Regeneration',1),
+(8,7,20557,'Beast Slaying',1),
+(8,7,20558,'Throwing Specialization',1),
+(8,7,21651,'Opening',1),
+(8,7,21652,'Closing',1),
+(8,7,22027,'Remove Insignia',1),
+(8,7,22810,'Opening - No Text',1),
+(8,7,26290,'Bow Specialization',1),
+(8,7,27763,'Totem',1),
+(8,8,81,'Dodge',1),
+(8,8,133,'Fireball',1),
+(8,8,168,'Frost Armor',1),
+(8,8,203,'Unarmed',1),
+(8,8,204,'Defense',1),
+(8,8,227,'Staves',1),
+(8,8,522,'SPELLDEFENSE(DND)',1),
+(8,8,669,'Language Orcish',1),
+(8,8,2382,'Generic',1),
+(8,8,2479,'Honorless Target',1),
+(8,8,3050,'Detect',1),
+(8,8,3365,'Opening',1),
+(8,8,5009,'Wands',1),
+(8,8,5019,'Shoot',1),
+(8,8,6233,'Closing',1),
+(8,8,6246,'Closing',1),
+(8,8,6247,'Opening',1),
+(8,8,6477,'Opening',1),
+(8,8,6478,'Opening',1),
+(8,8,6603,'Attack',1),
+(8,8,7266,'Duel',1),
+(8,8,7267,'Grovel',1),
+(8,8,7341,'Language Troll',1),
+(8,8,7355,'Stuck',1),
+(8,8,8386,'Attacking',1),
+(8,8,9078,'Cloth',1),
+(8,8,9125,'Generic',1),
+(8,8,20554,'Berserking',1),
+(8,8,20555,'Regeneration',1),
+(8,8,20557,'Beast Slaying',1),
+(8,8,20558,'Throwing Specialization',1),
+(8,8,21651,'Opening',1),
+(8,8,21652,'Closing',1),
+(8,8,22027,'Remove Insignia',1),
+(8,8,22810,'Opening - No Text',1),
+(8,8,26290,'Bow Specialization',1),
+(10,2,81,'Dodge',1),
+(10,2,107,'Block',1),
+(10,2,201,'One-Handed Swords',1),
+(10,2,202,'Two-Handed Swords',1),
+(10,2,203,'Unarmed',1),
+(10,2,204,'Defense',1),
+(10,2,522,'SPELLDEFENSE(DND)',1),
+(10,2,635,'Holy Light',1),
+(10,2,669,'Language Orcish',1),
+(10,2,813,'Language Thalassian',1),
+(10,2,822,'Magic Resistance',1),
+(10,2,2382,'Generic',1),
+(10,2,2479,'Honorless Target',1),
+(10,2,3050,'Detect',1),
+(10,2,3365,'Opening',1),
+(10,2,6233,'Closing',1),
+(10,2,6246,'Closing',1),
+(10,2,6247,'Opening',1),
+(10,2,6477,'Opening',1),
+(10,2,6478,'Opening',1),
+(10,2,6603,'Attack',1),
+(10,2,7266,'Duel',1),
+(10,2,7267,'Grovel',1),
+(10,2,7355,'Stuck',1),
+(10,2,8386,'Attacking',1),
+(10,2,8737,'Mail',1),
+(10,2,9077,'Leather',1),
+(10,2,9078,'Cloth',1),
+(10,2,9116,'Shield',1),
+(10,2,9125,'Generic',1),
+(10,2,20154,'Seal of Righteousness',1),
+(10,2,21651,'Opening',1),
+(10,2,21652,'Closing',1),
+(10,2,22027,'Remove Insignia',1),
+(10,2,22810,'Opening - No Text',1),
+(10,2,27762,'Libram',1),
+(10,2,28730,'Arcane Torrent',1),
+(10,2,28734,'Mana Tap',1),
+(10,2,28877,'Arcane Affinity',1),
+(10,3,75,'Auto Shot',1),
+(10,3,81,'Dodge',1),
+(10,3,203,'Unarmed',1),
+(10,3,204,'Defense',1),
+(10,3,264,'Bows',1),
+(10,3,522,'SPELLDEFENSE(DND)',1),
+(10,3,669,'Language Orcish',1),
+(10,3,813,'Language Thalassian',1),
+(10,3,822,'Magic Resistance',1),
+(10,3,1180,'Daggers',1),
+(10,3,2382,'Generic',1),
+(10,3,2479,'Honorless Target',1),
+(10,3,2973,'Raptor Strike',1),
+(10,3,3050,'Detect',1),
+(10,3,3365,'Opening',1),
+(10,3,6233,'Closing',1),
+(10,3,6246,'Closing',1),
+(10,3,6247,'Opening',1),
+(10,3,6477,'Opening',1),
+(10,3,6478,'Opening',1),
+(10,3,6603,'Attack',1),
+(10,3,7266,'Duel',1),
+(10,3,7267,'Grovel',1),
+(10,3,7355,'Stuck',1),
+(10,3,8386,'Attacking',1),
+(10,3,9077,'Leather',1),
+(10,3,9078,'Cloth',1),
+(10,3,9125,'Generic',1),
+(10,3,13358,'Defensive State(DND)',1),
+(10,3,21651,'Opening',1),
+(10,3,21652,'Closing',1),
+(10,3,22027,'Remove Insignia',1),
+(10,3,22810,'Opening - No Text',1),
+(10,3,24949,'Defensive State 2(DND)',1),
+(10,3,28730,'Arcane Torrent',1),
+(10,3,28734,'Mana Tap',1),
+(10,3,28877,'Arcane Affinity',1),
+(10,3,34082,'Advantaged State(DND)',1),
+(10,4,81,'Dodge',1),
+(10,4,203,'Unarmed',1),
+(10,4,204,'Defense',1),
+(10,4,522,'SPELLDEFENSE(DND)',1),
+(10,4,669,'Language Orcish',1),
+(10,4,813,'Language Thalassian',1),
+(10,4,822,'Magic Resistance',1),
+(10,4,1180,'Daggers',1),
+(10,4,1752,'Sinister Strike',1),
+(10,4,2098,'Eviscerate',1),
+(10,4,2382,'Generic',1),
+(10,4,2479,'Honorless Target',1),
+(10,4,2567,'Thrown',1),
+(10,4,2764,'Throw',1),
+(10,4,3050,'Detect',1),
+(10,4,3365,'Opening',1),
+(10,4,6233,'Closing',1),
+(10,4,6246,'Closing',1),
+(10,4,6247,'Opening',1),
+(10,4,6477,'Opening',1),
+(10,4,6478,'Opening',1),
+(10,4,6603,'Attack',1),
+(10,4,7266,'Duel',1),
+(10,4,7267,'Grovel',1),
+(10,4,7355,'Stuck',1),
+(10,4,8386,'Attacking',1),
+(10,4,9077,'Leather',1),
+(10,4,9078,'Cloth',1),
+(10,4,9125,'Generic',1),
+(10,4,16092,'Defensive State(DND)',1),
+(10,4,21184,'Rogue Passive(DND)',1),
+(10,4,21651,'Opening',1),
+(10,4,21652,'Closing',1),
+(10,4,22027,'Remove Insignia',1),
+(10,4,22810,'Opening - No Text',1),
+(10,4,25046,'Arcane Torrent',1),
+(10,4,28734,'Mana Tap',1),
+(10,4,28877,'Arcane Affinity',1),
+(10,5,81,'Dodge',1),
+(10,5,198,'One-Handed Maces',1),
+(10,5,203,'Unarmed',1),
+(10,5,204,'Defense',1),
+(10,5,522,'SPELLDEFENSE(DND)',1),
+(10,5,585,'Smite',1),
+(10,5,669,'Language Orcish',1),
+(10,5,813,'Language Thalassian',1),
+(10,5,822,'Magic Resistance',1),
+(10,5,2050,'Lesser Heal',1),
+(10,5,2382,'Generic',1),
+(10,5,2479,'Honorless Target',1),
+(10,5,3050,'Detect',1),
+(10,5,3365,'Opening',1),
+(10,5,5009,'Wands',1),
+(10,5,5019,'Shoot',1),
+(10,5,6233,'Closing',1),
+(10,5,6246,'Closing',1),
+(10,5,6247,'Opening',1),
+(10,5,6477,'Opening',1),
+(10,5,6478,'Opening',1),
+(10,5,6603,'Attack',1),
+(10,5,7266,'Duel',1),
+(10,5,7267,'Grovel',1),
+(10,5,7355,'Stuck',1),
+(10,5,8386,'Attacking',1),
+(10,5,9078,'Cloth',1),
+(10,5,9125,'Generic',1),
+(10,5,21651,'Opening',1),
+(10,5,21652,'Closing',1),
+(10,5,22027,'Remove Insignia',1),
+(10,5,22810,'Opening - No Text',1),
+(10,5,28730,'Arcane Torrent',1),
+(10,5,28734,'Mana Tap',1),
+(10,5,28877,'Arcane Affinity',1),
+(10,8,81,'Dodge',1),
+(10,8,133,'Fireball',1),
+(10,8,168,'Frost Armor',1),
+(10,8,203,'Unarmed',1),
+(10,8,204,'Defense',1),
+(10,8,227,'Staves',1),
+(10,8,522,'SPELLDEFENSE(DND)',1),
+(10,8,669,'Language Orcish',1),
+(10,8,813,'Language Thalassian',1),
+(10,8,822,'Magic Resistance',1),
+(10,8,2382,'Generic',1),
+(10,8,2479,'Honorless Target',1),
+(10,8,3050,'Detect',1),
+(10,8,3365,'Opening',1),
+(10,8,5009,'Wands',1),
+(10,8,5019,'Shoot',1),
+(10,8,6233,'Closing',1),
+(10,8,6246,'Closing',1),
+(10,8,6247,'Opening',1),
+(10,8,6477,'Opening',1),
+(10,8,6478,'Opening',1),
+(10,8,6603,'Attack',1),
+(10,8,7266,'Duel',1),
+(10,8,7267,'Grovel',1),
+(10,8,7355,'Stuck',1),
+(10,8,8386,'Attacking',1),
+(10,8,9078,'Cloth',1),
+(10,8,9125,'Generic',1),
+(10,8,21651,'Opening',1),
+(10,8,21652,'Closing',1),
+(10,8,22027,'Remove Insignia',1),
+(10,8,22810,'Opening - No Text',1),
+(10,8,28730,'Arcane Torrent',1),
+(10,8,28734,'Mana Tap',1),
+(10,8,28877,'Arcane Affinity',1),
+(10,9,81,'Dodge',1),
+(10,9,203,'Unarmed',1),
+(10,9,204,'Defense',1),
+(10,9,522,'SPELLDEFENSE(DND)',1),
+(10,9,669,'Language Orcish',1),
+(10,9,686,'Shadow Bolt',1),
+(10,9,687,'Demon Skin',1),
+(10,9,813,'Language Thalassian',1),
+(10,9,822,'Magic Resistance',1),
+(10,9,1180,'Daggers',1),
+(10,9,2382,'Generic',1),
+(10,9,2479,'Honorless Target',1),
+(10,9,3050,'Detect',1),
+(10,9,3365,'Opening',1),
+(10,9,5009,'Wands',1),
+(10,9,5019,'Shoot',1),
+(10,9,6233,'Closing',1),
+(10,9,6246,'Closing',1),
+(10,9,6247,'Opening',1),
+(10,9,6477,'Opening',1),
+(10,9,6478,'Opening',1),
+(10,9,6603,'Attack',1),
+(10,9,7266,'Duel',1),
+(10,9,7267,'Grovel',1),
+(10,9,7355,'Stuck',1),
+(10,9,8386,'Attacking',1),
+(10,9,9078,'Cloth',1),
+(10,9,9125,'Generic',1),
+(10,9,21651,'Opening',1),
+(10,9,21652,'Closing',1),
+(10,9,22027,'Remove Insignia',1),
+(10,9,22810,'Opening - No Text',1),
+(10,9,28730,'Arcane Torrent',1),
+(10,9,28734,'Mana Tap',1),
+(10,9,28877,'Arcane Affinity',1),
+(11,1,78,'Heroic Strike',1),
+(11,1,81,'Dodge',1),
+(11,1,107,'Block',1),
+(11,1,198,'One-Handed Maces',1),
+(11,1,201,'One-Handed Swords',1),
+(11,1,202,'Two-Handed Swords',1),
+(11,1,203,'Unarmed',1),
+(11,1,204,'Defense',1),
+(11,1,522,'SPELLDEFENSE(DND)',1),
+(11,1,668,'Language Common',1),
+(11,1,2382,'Generic',1),
+(11,1,2457,'Battle Stance',1),
+(11,1,2479,'Honorless Target',1),
+(11,1,3050,'Detect',1),
+(11,1,3365,'Opening',1),
+(11,1,5301,'Defensive State(DND)',1),
+(11,1,6233,'Closing',1),
+(11,1,6246,'Closing',1),
+(11,1,6247,'Opening',1),
+(11,1,6477,'Opening',1),
+(11,1,6478,'Opening',1),
+(11,1,6562,'Heroic Presence',1),
+(11,1,6603,'Attack',1),
+(11,1,7266,'Duel',1),
+(11,1,7267,'Grovel',1),
+(11,1,7355,'Stuck',1),
+(11,1,7376,'Defensive Stance Passive',0),
+(11,1,7381,'Berserker Stance Passive',0),
+(11,1,8386,'Attacking',1),
+(11,1,8737,'Mail',1),
+(11,1,9077,'Leather',1),
+(11,1,9078,'Cloth',1),
+(11,1,9116,'Shield',1),
+(11,1,9125,'Generic',1),
+(11,1,20579,'Shadow Resistance',1),
+(11,1,21156,'Battle Stance Passive',0),
+(11,1,21651,'Opening',1),
+(11,1,21652,'Closing',1),
+(11,1,22027,'Remove Insignia',1),
+(11,1,22810,'Opening - No Text',1),
+(11,1,28875,'Gemcutting',1),
+(11,1,28880,'Gift of the Naaru',1),
+(11,1,29932,'Language Draenei',1),
+(11,1,32215,'Victorious State',1),
+(11,2,81,'Dodge',1),
+(11,2,107,'Block',1),
+(11,2,198,'One-Handed Maces',1),
+(11,2,199,'Two-Handed Maces',1),
+(11,2,203,'Unarmed',1),
+(11,2,204,'Defense',1),
+(11,2,522,'SPELLDEFENSE(DND)',1),
+(11,2,635,'Holy Light',1),
+(11,2,668,'Language Common',1),
+(11,2,2382,'Generic',1),
+(11,2,2479,'Honorless Target',1),
+(11,2,3050,'Detect',1),
+(11,2,3365,'Opening',1),
+(11,2,6233,'Closing',1),
+(11,2,6246,'Closing',1),
+(11,2,6247,'Opening',1),
+(11,2,6477,'Opening',1),
+(11,2,6478,'Opening',1),
+(11,2,6562,'Heroic Presence',1),
+(11,2,6603,'Attack',1),
+(11,2,7266,'Duel',1),
+(11,2,7267,'Grovel',1),
+(11,2,7355,'Stuck',1),
+(11,2,8386,'Attacking',1),
+(11,2,8737,'Mail',1),
+(11,2,9077,'Leather',1),
+(11,2,9078,'Cloth',1),
+(11,2,9116,'Shield',1),
+(11,2,9125,'Generic',1),
+(11,2,20154,'Seal of Righteousness',1),
+(11,2,20579,'Shadow Resistance',1),
+(11,2,21651,'Opening',1),
+(11,2,21652,'Closing',1),
+(11,2,22027,'Remove Insignia',1),
+(11,2,22810,'Opening - No Text',1),
+(11,2,27762,'Libram',1),
+(11,2,28875,'Gemcutting',1),
+(11,2,28880,'Gift of the Naaru',1),
+(11,2,29932,'Language Draenei',1),
+(11,3,75,'Auto Shot',1),
+(11,3,81,'Dodge',1),
+(11,3,201,'One-Handed Swords',1),
+(11,3,203,'Unarmed',1),
+(11,3,204,'Defense',1),
+(11,3,522,'SPELLDEFENSE(DND)',1),
+(11,3,668,'Language Common',1),
+(11,3,2382,'Generic',1),
+(11,3,2479,'Honorless Target',1),
+(11,3,2973,'Raptor Strike',1),
+(11,3,3050,'Detect',1),
+(11,3,3365,'Opening',1),
+(11,3,5011,'Crossbows',1),
+(11,3,6233,'Closing',1),
+(11,3,6246,'Closing',1),
+(11,3,6247,'Opening',1),
+(11,3,6477,'Opening',1),
+(11,3,6478,'Opening',1),
+(11,3,6562,'Heroic Presence',1),
+(11,3,6603,'Attack',1),
+(11,3,7266,'Duel',1),
+(11,3,7267,'Grovel',1),
+(11,3,7355,'Stuck',1),
+(11,3,8386,'Attacking',1),
+(11,3,9077,'Leather',1),
+(11,3,9078,'Cloth',1),
+(11,3,9125,'Generic',1),
+(11,3,13358,'Defensive State(DND)',1),
+(11,3,20579,'Shadow Resistance',1),
+(11,3,21651,'Opening',1),
+(11,3,21652,'Closing',1),
+(11,3,22027,'Remove Insignia',1),
+(11,3,22810,'Opening - No Text',1),
+(11,3,24949,'Defensive State 2(DND)',1),
+(11,3,28875,'Gemcutting',1),
+(11,3,28880,'Gift of the Naaru',1),
+(11,3,29932,'Language Draenei',1),
+(11,3,34082,'Advantaged State(DND)',1),
+(11,5,81,'Dodge',1),
+(11,5,198,'One-Handed Maces',1),
+(11,5,203,'Unarmed',1),
+(11,5,204,'Defense',1),
+(11,5,522,'SPELLDEFENSE(DND)',1),
+(11,5,585,'Smite',1),
+(11,5,668,'Language Common',1),
+(11,5,2050,'Lesser Heal',1),
+(11,5,2382,'Generic',1),
+(11,5,2479,'Honorless Target',1),
+(11,5,3050,'Detect',1),
+(11,5,3365,'Opening',1),
+(11,5,5009,'Wands',1),
+(11,5,5019,'Shoot',1),
+(11,5,6233,'Closing',1),
+(11,5,6246,'Closing',1),
+(11,5,6247,'Opening',1),
+(11,5,6477,'Opening',1),
+(11,5,6478,'Opening',1),
+(11,5,6603,'Attack',1),
+(11,5,7266,'Duel',1),
+(11,5,7267,'Grovel',1),
+(11,5,7355,'Stuck',1),
+(11,5,8386,'Attacking',1),
+(11,5,9078,'Cloth',1),
+(11,5,9125,'Generic',1),
+(11,5,20579,'Shadow Resistance',1),
+(11,5,21651,'Opening',1),
+(11,5,21652,'Closing',1),
+(11,5,22027,'Remove Insignia',1),
+(11,5,22810,'Opening - No Text',1),
+(11,5,28875,'Gemcutting',1),
+(11,5,28878,'Inspiring Presence',1),
+(11,5,28880,'Gift of the Naaru',1),
+(11,5,29932,'Language Draenei',1),
+(11,7,81,'Dodge',1),
+(11,7,107,'Block',1),
+(11,7,198,'One-Handed Maces',1),
+(11,7,203,'Unarmed',1),
+(11,7,204,'Defense',1),
+(11,7,227,'Staves',1),
+(11,7,331,'Healing Wave',1),
+(11,7,403,'Lightning Bolt',1),
+(11,7,522,'SPELLDEFENSE(DND)',1),
+(11,7,668,'Language Common',1),
+(11,7,2382,'Generic',1),
+(11,7,2479,'Honorless Target',1),
+(11,7,3050,'Detect',1),
+(11,7,3365,'Opening',1),
+(11,7,6233,'Closing',1),
+(11,7,6246,'Closing',1),
+(11,7,6247,'Opening',1),
+(11,7,6477,'Opening',1),
+(11,7,6478,'Opening',1),
+(11,7,6603,'Attack',1),
+(11,7,7266,'Duel',1),
+(11,7,7267,'Grovel',1),
+(11,7,7355,'Stuck',1),
+(11,7,8386,'Attacking',1),
+(11,7,9077,'Leather',1),
+(11,7,9078,'Cloth',1),
+(11,7,9116,'Shield',1),
+(11,7,9125,'Generic',1),
+(11,7,20579,'Shadow Resistance',1),
+(11,7,21651,'Opening',1),
+(11,7,21652,'Closing',1),
+(11,7,22027,'Remove Insignia',1),
+(11,7,22810,'Opening - No Text',1),
+(11,7,27763,'Totem',1),
+(11,7,28875,'Gemcutting',1),
+(11,7,28878,'Inspiring Presence',1),
+(11,7,28880,'Gift of the Naaru',1),
+(11,7,29932,'Language Draenei',1),
+(11,8,81,'Dodge',1),
+(11,8,133,'Fireball',1),
+(11,8,168,'Frost Armor',1),
+(11,8,203,'Unarmed',1),
+(11,8,204,'Defense',1),
+(11,8,227,'Staves',1),
+(11,8,522,'SPELLDEFENSE(DND)',1),
+(11,8,668,'Language Common',1),
+(11,8,2382,'Generic',1),
+(11,8,2479,'Honorless Target',1),
+(11,8,3050,'Detect',1),
+(11,8,3365,'Opening',1),
+(11,8,5009,'Wands',1),
+(11,8,5019,'Shoot',1),
+(11,8,6233,'Closing',1),
+(11,8,6246,'Closing',1),
+(11,8,6247,'Opening',1),
+(11,8,6477,'Opening',1),
+(11,8,6478,'Opening',1),
+(11,8,6603,'Attack',1),
+(11,8,7266,'Duel',1),
+(11,8,7267,'Grovel',1),
+(11,8,7355,'Stuck',1),
+(11,8,8386,'Attacking',1),
+(11,8,9078,'Cloth',1),
+(11,8,9125,'Generic',1),
+(11,8,20579,'Shadow Resistance',1),
+(11,8,21651,'Opening',1),
+(11,8,21652,'Closing',1),
+(11,8,22027,'Remove Insignia',1),
+(11,8,22810,'Opening - No Text',1),
+(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
diff --git a/sql/updates/0.8/4081_command.sql b/sql/updates/0.8/4081_command.sql
new file mode 100644
index 00000000000..b266bf32605
--- /dev/null
+++ b/sql/updates/0.8/4081_command.sql
@@ -0,0 +1,8 @@
+DELETE FROM `command` WHERE `name`='learn';
+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.'),
+('learn all_gm',2,'Syntax: .learn all_gm\r\n\r\nLearn all default spells for Game Masters.'),
+('learn all_lang',1,'Syntax: .learn all_lang\r\n\r\nLearn all languages'),
+('learn all_myclass',3,'Syntax: .learn all_myclass\r\n\r\nLearn all spells available for his class.');
diff --git a/sql/updates/0.8/4096_pet.sql b/sql/updates/0.8/4096_pet.sql
new file mode 100644
index 00000000000..6bf6536cef5
--- /dev/null
+++ b/sql/updates/0.8/4096_pet.sql
@@ -0,0 +1,290 @@
+DROP TABLE IF EXISTS `character_pet`;
+CREATE TABLE `character_pet` (
+ `id` int(11) unsigned NOT NULL default '0',
+ `entry` int(11) unsigned NOT NULL default '0',
+ `owner` int(11) unsigned NOT NULL default '0',
+ `modelid` int(11) unsigned default '0',
+ `level` int(11) unsigned NOT NULL default '1',
+ `exp` int(11) unsigned NOT NULL default '0',
+ `nextlvlexp` int(11) unsigned NOT NULL default '100',
+ `Reactstate` tinyint(1) unsigned NOT NULL default '0',
+ `Commandstate` tinyint(1) unsigned NOT NULL default '1',
+ `loyaltypoints` int(11) NOT NULL default '0',
+ `loyalty` int(11) unsigned NOT NULL default '0',
+ `trainpoint` int(11) NOT NULL default '0',
+ `name` varchar(100) default 'Pet',
+ `renamed` tinyint(1) unsigned NOT NULL default '0',
+ `slot` int(11) unsigned NOT NULL default '0',
+ `curhealth` int(11) unsigned NOT NULL default '1',
+ `curmana` int(11) unsigned NOT NULL default '0',
+ `curhappiness` int(11) unsigned NOT NULL default '0',
+ `savetime` bigint(20) unsigned NOT NULL default '0',
+ `resettalents_cost` int(11) unsigned NOT NULL default '0',
+ `resettalents_time` bigint(20) unsigned NOT NULL default '0',
+ `ABData` longtext,
+ `TeachSpelldata` longtext,
+ PRIMARY KEY (`id`),
+ KEY `owner` (`owner`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
+
+DROP TABLE IF EXISTS `pet_spell`;
+CREATE TABLE `pet_spell` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
+ `slot` int(11) unsigned NOT NULL default '0',
+ `active` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
+
+DROP TABLE IF EXISTS `pet_spell_cooldown`;
+CREATE TABLE `pet_spell_cooldown` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part',
+ `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
+ `time` bigint(20) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+DROP TABLE IF EXISTS `pet_aura`;
+CREATE TABLE `pet_aura` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `spell` int(11) unsigned NOT NULL default '0',
+ `effect_index` int(11) unsigned NOT NULL default '0',
+ `remaintime` int(11) NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`,`effect_index`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
+
+-- ----------------------------
+-- Table structure for petcreateinfo_spell
+-- ----------------------------
+DROP TABLE IF EXISTS `petcreateinfo_spell`;
+CREATE TABLE `petcreateinfo_spell` (
+ `entry` int(11) unsigned NOT NULL DEFAULT '0',
+ `Spell1` int(11) unsigned NOT NULL DEFAULT '0',
+ `Spell2` int(11) unsigned NOT NULL DEFAULT '0',
+ `Spell3` int(11) unsigned NOT NULL DEFAULT '0',
+ `Spell4` int(11) unsigned NOT NULL DEFAULT '0',
+ `FamilyPassive` int(11) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet Create Spells';
+
+ALTER TABLE `pet_levelstats` ADD `armor` int(10) unsigned NOT NULL default '0' AFTER `mana`;
+
+INSERT INTO `spell_chain` VALUES ('17253', '0', '17253', '1');
+INSERT INTO `spell_chain` VALUES ('17255', '17253', '17253', '2');
+INSERT INTO `spell_chain` VALUES ('17256', '17255', '17253', '3');
+INSERT INTO `spell_chain` VALUES ('17257', '17256', '17253', '4');
+INSERT INTO `spell_chain` VALUES ('17258', '17257', '17253', '5');
+INSERT INTO `spell_chain` VALUES ('17259', '17258', '17253', '6');
+INSERT INTO `spell_chain` VALUES ('17260', '17259', '17253', '7');
+INSERT INTO `spell_chain` VALUES ('17261', '17260', '17253', '8');
+INSERT INTO `spell_chain` VALUES ('27050', '17261', '17253', '9');
+INSERT INTO `spell_chain` VALUES ('16827', '0', '16827', '1');
+INSERT INTO `spell_chain` VALUES ('16828', '16827', '16827', '2');
+INSERT INTO `spell_chain` VALUES ('16829', '16828', '16827', '3');
+INSERT INTO `spell_chain` VALUES ('16830', '16829', '16827', '4');
+INSERT INTO `spell_chain` VALUES ('16831', '16830', '16827', '5');
+INSERT INTO `spell_chain` VALUES ('16832', '16831', '16827', '6');
+INSERT INTO `spell_chain` VALUES ('3010', '16832', '16827', '7');
+INSERT INTO `spell_chain` VALUES ('3009', '3010', '16827', '8');
+INSERT INTO `spell_chain` VALUES ('27049', '3009', '16827', '9');
+INSERT INTO `spell_chain` VALUES ('1742', '0', '1742', '1');
+INSERT INTO `spell_chain` VALUES ('1753', '1742', '1742', '2');
+INSERT INTO `spell_chain` VALUES ('1754', '1753', '1742', '3');
+INSERT INTO `spell_chain` VALUES ('1755', '1754', '1742', '4');
+INSERT INTO `spell_chain` VALUES ('1756', '1755', '1742', '5');
+INSERT INTO `spell_chain` VALUES ('16697', '1756', '1742', '6');
+INSERT INTO `spell_chain` VALUES ('27048', '16697', '1742', '7');
+INSERT INTO `spell_chain` VALUES ('23099', '0', '23099', '1');
+INSERT INTO `spell_chain` VALUES ('23109', '23099', '23099', '2');
+INSERT INTO `spell_chain` VALUES ('23110', '23109', '23099', '3');
+INSERT INTO `spell_chain` VALUES ('23145', '0', '23145', '1');
+INSERT INTO `spell_chain` VALUES ('23147', '23145', '23145', '2');
+INSERT INTO `spell_chain` VALUES ('23148', '23147', '23145', '3');
+INSERT INTO `spell_chain` VALUES ('2649', '0', '2649', '1');
+INSERT INTO `spell_chain` VALUES ('14916', '2649', '2649', '2');
+INSERT INTO `spell_chain` VALUES ('14917', '14916', '2649', '3');
+INSERT INTO `spell_chain` VALUES ('14918', '14917', '2649', '4');
+INSERT INTO `spell_chain` VALUES ('14919', '14918', '2649', '5');
+INSERT INTO `spell_chain` VALUES ('14920', '14919', '2649', '6');
+INSERT INTO `spell_chain` VALUES ('14921', '14920', '2649', '7');
+INSERT INTO `spell_chain` VALUES ('27047', '14921', '2649', '8');
+INSERT INTO `spell_chain` VALUES ('7371', '0', '7371', '1');
+INSERT INTO `spell_chain` VALUES ('26177', '7371', '7371', '2');
+INSERT INTO `spell_chain` VALUES ('26178', '26177', '7371', '3');
+INSERT INTO `spell_chain` VALUES ('26179', '26178', '7371', '4');
+INSERT INTO `spell_chain` VALUES ('26201', '26179', '7371', '5');
+INSERT INTO `spell_chain` VALUES ('27685', '26201', '7371', '6');
+INSERT INTO `spell_chain` VALUES ('24604', '0', '24604', '1');
+INSERT INTO `spell_chain` VALUES ('24605', '24604', '24604', '2');
+INSERT INTO `spell_chain` VALUES ('24603', '24605', '24604', '3');
+INSERT INTO `spell_chain` VALUES ('24597', '24603', '24604', '4');
+INSERT INTO `spell_chain` VALUES ('24844', '0', '24844', '1');
+INSERT INTO `spell_chain` VALUES ('25008', '24844', '24844', '2');
+INSERT INTO `spell_chain` VALUES ('25009', '25008', '24844', '3');
+INSERT INTO `spell_chain` VALUES ('25010', '25009', '24844', '4');
+INSERT INTO `spell_chain` VALUES ('25011', '25010', '24844', '5');
+INSERT INTO `spell_chain` VALUES ('25012', '25011', '24844', '6');
+INSERT INTO `spell_chain` VALUES ('24450', '0', '24450', '1');
+INSERT INTO `spell_chain` VALUES ('24452', '24450', '24450', '2');
+INSERT INTO `spell_chain` VALUES ('24453', '24452', '24450', '3');
+INSERT INTO `spell_chain` VALUES ('24640', '0', '24640', '1');
+INSERT INTO `spell_chain` VALUES ('24583', '24640', '24640', '2');
+INSERT INTO `spell_chain` VALUES ('24586', '24583', '24640', '3');
+INSERT INTO `spell_chain` VALUES ('24587', '24586', '24640', '4');
+INSERT INTO `spell_chain` VALUES ('27060', '24587', '24640', '5');
+INSERT INTO `spell_chain` VALUES ('24423', '0', '24423', '1');
+INSERT INTO `spell_chain` VALUES ('24577', '24423', '24423', '2');
+INSERT INTO `spell_chain` VALUES ('24578', '24577', '24423', '3');
+INSERT INTO `spell_chain` VALUES ('24579', '24578', '24423', '4');
+INSERT INTO `spell_chain` VALUES ('27051', '24579', '24423', '5');
+INSERT INTO `spell_chain` VALUES ('26064', '0', '26064', '1');
+INSERT INTO `spell_chain` VALUES ('26090', '0', '26090', '1');
+INSERT INTO `spell_chain` VALUES ('26187', '26090', '26090', '2');
+INSERT INTO `spell_chain` VALUES ('26188', '26187', '26090', '3');
+INSERT INTO `spell_chain` VALUES ('27063', '26188', '26090', '4');
+INSERT INTO `spell_chain` VALUES ('34889', '0', '34889', '1');
+INSERT INTO `spell_chain` VALUES ('35323', '34889', '34889', '2');
+INSERT INTO `spell_chain` VALUES ('35290', '0', '35290', '1');
+INSERT INTO `spell_chain` VALUES ('35291', '35290', '35290', '2');
+INSERT INTO `spell_chain` VALUES ('35292', '35291', '35290', '3');
+INSERT INTO `spell_chain` VALUES ('35293', '35292', '35290', '4');
+INSERT INTO `spell_chain` VALUES ('35294', '35293', '35290', '5');
+INSERT INTO `spell_chain` VALUES ('35295', '35294', '35290', '6');
+INSERT INTO `spell_chain` VALUES ('35296', '35295', '35290', '7');
+INSERT INTO `spell_chain` VALUES ('35297', '35296', '35290', '8');
+INSERT INTO `spell_chain` VALUES ('35298', '35297', '35290', '9');
+INSERT INTO `spell_chain` VALUES ('35387', '0', '35387', '1');
+INSERT INTO `spell_chain` VALUES ('35389', '35387', '35387', '2');
+INSERT INTO `spell_chain` VALUES ('35392', '35389', '35387', '3');
+INSERT INTO `spell_chain` VALUES ('35346', '0', '35346', '1');
+INSERT INTO `spell_chain` VALUES ('25076', '0', '25076', '1');
+INSERT INTO `spell_chain` VALUES ('35694', '0', '35694', '1');
+INSERT INTO `spell_chain` VALUES ('35698', '35694', '35694', '2');
+INSERT INTO `spell_chain` VALUES ('4187', '0', '4187', '1');
+INSERT INTO `spell_chain` VALUES ('4188', '4187', '4187', '2');
+INSERT INTO `spell_chain` VALUES ('4189', '4188', '4187', '3');
+INSERT INTO `spell_chain` VALUES ('4190', '4189', '4187', '4');
+INSERT INTO `spell_chain` VALUES ('4191', '4190', '4187', '5');
+INSERT INTO `spell_chain` VALUES ('4192', '4191', '4187', '6');
+INSERT INTO `spell_chain` VALUES ('4193', '4192', '4187', '7');
+INSERT INTO `spell_chain` VALUES ('4194', '4193', '4187', '8');
+INSERT INTO `spell_chain` VALUES ('5041', '4194', '4187', '9');
+INSERT INTO `spell_chain` VALUES ('5042', '5041', '4187', '10');
+INSERT INTO `spell_chain` VALUES ('27062', '5042', '4187', '11');
+INSERT INTO `spell_chain` VALUES ('24545', '0', '24545', '1');
+INSERT INTO `spell_chain` VALUES ('24549', '24545', '24545', '2');
+INSERT INTO `spell_chain` VALUES ('24550', '24549', '24545', '3');
+INSERT INTO `spell_chain` VALUES ('24551', '24550', '24545', '4');
+INSERT INTO `spell_chain` VALUES ('24552', '24551', '24545', '5');
+INSERT INTO `spell_chain` VALUES ('24553', '24552', '24545', '6');
+INSERT INTO `spell_chain` VALUES ('24554', '24553', '24545', '7');
+INSERT INTO `spell_chain` VALUES ('24555', '24554', '24545', '8');
+INSERT INTO `spell_chain` VALUES ('24629', '24555', '24545', '9');
+INSERT INTO `spell_chain` VALUES ('24630', '24629', '24545', '10');
+INSERT INTO `spell_chain` VALUES ('27061', '24630', '24545', '11');
+INSERT INTO `spell_chain` VALUES ('24493', '0', '24493', '1');
+INSERT INTO `spell_chain` VALUES ('24497', '24493', '24493', '2');
+INSERT INTO `spell_chain` VALUES ('24500', '24497', '24493', '3');
+INSERT INTO `spell_chain` VALUES ('24501', '24500', '24493', '4');
+INSERT INTO `spell_chain` VALUES ('27052', '24501', '24493', '5');
+INSERT INTO `spell_chain` VALUES ('23992', '0', '23992', '1');
+INSERT INTO `spell_chain` VALUES ('24439', '23992', '23992', '2');
+INSERT INTO `spell_chain` VALUES ('24444', '24439', '23992', '3');
+INSERT INTO `spell_chain` VALUES ('24445', '24444', '23992', '4');
+INSERT INTO `spell_chain` VALUES ('27053', '24445', '23992', '5');
+INSERT INTO `spell_chain` VALUES ('24446', '0', '24446', '1');
+INSERT INTO `spell_chain` VALUES ('24447', '24446', '24446', '2');
+INSERT INTO `spell_chain` VALUES ('24448', '24447', '24446', '3');
+INSERT INTO `spell_chain` VALUES ('24449', '24448', '24446', '4');
+INSERT INTO `spell_chain` VALUES ('27054', '24449', '24446', '5');
+INSERT INTO `spell_chain` VALUES ('24492', '0', '24492', '1');
+INSERT INTO `spell_chain` VALUES ('24502', '24492', '24492', '2');
+INSERT INTO `spell_chain` VALUES ('24503', '24502', '24492', '3');
+INSERT INTO `spell_chain` VALUES ('24504', '24503', '24492', '4');
+INSERT INTO `spell_chain` VALUES ('27055', '24504', '24492', '5');
+INSERT INTO `spell_chain` VALUES ('24488', '0', '24488', '1');
+INSERT INTO `spell_chain` VALUES ('24505', '24488', '24488', '2');
+INSERT INTO `spell_chain` VALUES ('24506', '24505', '24488', '3');
+INSERT INTO `spell_chain` VALUES ('24507', '24506', '24488', '4');
+INSERT INTO `spell_chain` VALUES ('27056', '24507', '24488', '5');
+INSERT INTO `spell_chain` VALUES ('6307', '0', '6307', '1');
+INSERT INTO `spell_chain` VALUES ('7804', '6307', '6307', '2');
+INSERT INTO `spell_chain` VALUES ('7805', '7804', '6307', '3');
+INSERT INTO `spell_chain` VALUES ('11766', '7805', '6307', '4');
+INSERT INTO `spell_chain` VALUES ('11767', '11766', '6307', '5');
+INSERT INTO `spell_chain` VALUES ('27268', '11767', '6307', '6');
+INSERT INTO `spell_chain` VALUES ('2947', '0', '2947', '1');
+INSERT INTO `spell_chain` VALUES ('8316', '2947', '2947', '2');
+INSERT INTO `spell_chain` VALUES ('8317', '8316', '2947', '3');
+INSERT INTO `spell_chain` VALUES ('11770', '8317', '2947', '4');
+INSERT INTO `spell_chain` VALUES ('11771', '11770', '2947', '5');
+INSERT INTO `spell_chain` VALUES ('27269', '11771', '2947', '6');
+INSERT INTO `spell_chain` VALUES ('3110', '0', '3110', '1');
+INSERT INTO `spell_chain` VALUES ('7799', '3110', '3110', '2');
+INSERT INTO `spell_chain` VALUES ('7800', '7799', '3110', '3');
+INSERT INTO `spell_chain` VALUES ('7801', '7800', '3110', '4');
+INSERT INTO `spell_chain` VALUES ('7802', '7801', '3110', '5');
+INSERT INTO `spell_chain` VALUES ('11762', '7802', '3110', '6');
+INSERT INTO `spell_chain` VALUES ('11763', '11762', '3110', '7');
+INSERT INTO `spell_chain` VALUES ('27267', '11763', '3110', '8');
+INSERT INTO `spell_chain` VALUES ('17767', '0', '17767', '1');
+INSERT INTO `spell_chain` VALUES ('17850', '17767', '17767', '2');
+INSERT INTO `spell_chain` VALUES ('17851', '17850', '17767', '3');
+INSERT INTO `spell_chain` VALUES ('17852', '17851', '17767', '4');
+INSERT INTO `spell_chain` VALUES ('17853', '17852', '17767', '5');
+INSERT INTO `spell_chain` VALUES ('17854', '17853', '17767', '6');
+INSERT INTO `spell_chain` VALUES ('27272', '17854', '17767', '7');
+INSERT INTO `spell_chain` VALUES ('7812', '0', '7812', '1');
+INSERT INTO `spell_chain` VALUES ('19438', '7812', '7812', '2');
+INSERT INTO `spell_chain` VALUES ('19440', '19438', '7812', '3');
+INSERT INTO `spell_chain` VALUES ('19441', '19440', '7812', '4');
+INSERT INTO `spell_chain` VALUES ('19442', '19441', '7812', '5');
+INSERT INTO `spell_chain` VALUES ('19443', '19442', '7812', '6');
+INSERT INTO `spell_chain` VALUES ('27273', '19443', '7812', '7');
+INSERT INTO `spell_chain` VALUES ('17735', '0', '17735', '1');
+INSERT INTO `spell_chain` VALUES ('17750', '17735', '17735', '2');
+INSERT INTO `spell_chain` VALUES ('17751', '17750', '17735', '3');
+INSERT INTO `spell_chain` VALUES ('17752', '17751', '17735', '4');
+INSERT INTO `spell_chain` VALUES ('27271', '17752', '17735', '5');
+INSERT INTO `spell_chain` VALUES ('33701', '27271', '17735', '6');
+INSERT INTO `spell_chain` VALUES ('3716', '0', '3716', '1');
+INSERT INTO `spell_chain` VALUES ('7809', '3716', '3716', '2');
+INSERT INTO `spell_chain` VALUES ('7810', '7809', '3716', '3');
+INSERT INTO `spell_chain` VALUES ('7811', '7810', '3716', '4');
+INSERT INTO `spell_chain` VALUES ('11774', '7811', '3716', '5');
+INSERT INTO `spell_chain` VALUES ('11775', '11774', '3716', '6');
+INSERT INTO `spell_chain` VALUES ('27270', '11775', '3716', '7');
+INSERT INTO `spell_chain` VALUES ('7814', '0', '7814', '1');
+INSERT INTO `spell_chain` VALUES ('7815', '7814', '7814', '2');
+INSERT INTO `spell_chain` VALUES ('7816', '7815', '7814', '3');
+INSERT INTO `spell_chain` VALUES ('11778', '7816', '7814', '4');
+INSERT INTO `spell_chain` VALUES ('11779', '11778', '7814', '5');
+INSERT INTO `spell_chain` VALUES ('11780', '11779', '7814', '6');
+INSERT INTO `spell_chain` VALUES ('27274', '11780', '7814', '7');
+INSERT INTO `spell_chain` VALUES ('6360', '0', '6360', '1');
+INSERT INTO `spell_chain` VALUES ('7813', '6360', '6360', '2');
+INSERT INTO `spell_chain` VALUES ('11784', '7813', '6360', '3');
+INSERT INTO `spell_chain` VALUES ('11785', '11784', '6360', '4');
+INSERT INTO `spell_chain` VALUES ('27275', '11785', '6360', '5');
+INSERT INTO `spell_chain` VALUES ('19505', '0', '19505', '1');
+INSERT INTO `spell_chain` VALUES ('19731', '19505', '19505', '2');
+INSERT INTO `spell_chain` VALUES ('19734', '19731', '19505', '3');
+INSERT INTO `spell_chain` VALUES ('19736', '19734', '19505', '4');
+INSERT INTO `spell_chain` VALUES ('27276', '19736', '19505', '5');
+INSERT INTO `spell_chain` VALUES ('27277', '27276', '19505', '6');
+INSERT INTO `spell_chain` VALUES ('19244', '0', '19244', '1');
+INSERT INTO `spell_chain` VALUES ('19647', '19244', '19244', '2');
+INSERT INTO `spell_chain` VALUES ('19478', '0', '19478', '1');
+INSERT INTO `spell_chain` VALUES ('19655', '19478', '19478', '2');
+INSERT INTO `spell_chain` VALUES ('19656', '19655', '19478', '3');
+INSERT INTO `spell_chain` VALUES ('19660', '19656', '19478', '4');
+INSERT INTO `spell_chain` VALUES ('27280', '19660', '19478', '5');
+INSERT INTO `spell_chain` VALUES ('33698', '0', '33698', '1');
+INSERT INTO `spell_chain` VALUES ('33699', '33698', '33698', '2');
+INSERT INTO `spell_chain` VALUES ('33700', '33699', '33698', '3');
+INSERT INTO `spell_chain` VALUES ('30213', '0', '30213', '1');
+INSERT INTO `spell_chain` VALUES ('30219', '30213', '30213', '2');
+INSERT INTO `spell_chain` VALUES ('30223', '30219', '30213', '3');
+INSERT INTO `spell_chain` VALUES ('30151', '0', '30151', '1');
+INSERT INTO `spell_chain` VALUES ('30194', '30151', '30151', '2');
+INSERT INTO `spell_chain` VALUES ('30198', '30194', '30151', '3');
diff --git a/sql/updates/0.8/4116_creature_template.sql b/sql/updates/0.8/4116_creature_template.sql
new file mode 100644
index 00000000000..dfd710f8525
--- /dev/null
+++ b/sql/updates/0.8/4116_creature_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `creature_template`
+ADD COLUMN `RacialLeader` tinyint(1) unsigned NOT NULL default '0' AFTER `InhabitType`;
diff --git a/sql/updates/0.8/4133_command.sql b/sql/updates/0.8/4133_command.sql
new file mode 100644
index 00000000000..b50d320ac69
--- /dev/null
+++ b/sql/updates/0.8/4133_command.sql
@@ -0,0 +1,6 @@
+DELETE FROM `command` WHERE `name` = 'reload';
+DELETE FROM `command` WHERE `name` = 'reload all';
+DELETE FROM `command` WHERE `name` = 'reload all_spell';
+INSERT INTO `command` VALUES('reload',3,'Syntax: .reload table_name\r\n\r\nReload table `table_name` if reload support added for this table and this table can be _safe_ reloaded.');
+INSERT INTO `command` VALUES('reload all',3,'Syntax: .reload all\r\n\r\nReload all tables with reload support added and that can be _safe_ reloaded.');
+INSERT INTO `command` VALUES('reload all_spell',3,'Syntax: .reload all\r\n\r\nReload all `spell_*` tables with reload support added and that can be _safe_ reloaded.');
diff --git a/sql/updates/0.8/4133_spell_chain.sql b/sql/updates/0.8/4133_spell_chain.sql
new file mode 100644
index 00000000000..ff5d35f0b3a
--- /dev/null
+++ b/sql/updates/0.8/4133_spell_chain.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (5487,9634,33943,40120);
+
+INSERT INTO `spell_chain` VALUES
+(5487,0,5487,1),
+(9634,5487,5487,2),
+(33943,0,33943,1),
+(40120,33943,33943,2);
diff --git a/sql/updates/0.8/4134_command.sql b/sql/updates/0.8/4134_command.sql
new file mode 100644
index 00000000000..e34ad40fddf
--- /dev/null
+++ b/sql/updates/0.8/4134_command.sql
@@ -0,0 +1,6 @@
+DELETE FROM `command` WHERE `name` = 'reload all_area';
+DELETE FROM `command` WHERE `name` = 'reload all_loot';
+DELETE FROM `command` WHERE `name` = 'reload all_quest';
+INSERT INTO `command` VALUES('reload all_area',3,'Syntax: .reload all_area\r\n\r\nReload all `areatrigger_*` tables if reload support added for this table and this table can be _safe_ reloaded.');
+INSERT INTO `command` VALUES('reload all_loot',3,'Syntax: .reload all_loot\r\n\r\nReload all `*_loot_template` tables. This can be slow operation with lags for server run.');
+INSERT INTO `command` VALUES('reload all_quest',3,'Syntax: .reload all_quest\r\n\r\nReload all quest related tables if reload support added for this table and this table can be _safe_ reloaded.');
diff --git a/sql/updates/0.8/4139_spell_proc_event.sql b/sql/updates/0.8/4139_spell_proc_event.sql
new file mode 100644
index 00000000000..fd83802c01e
--- /dev/null
+++ b/sql/updates/0.8/4139_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 11255, 12598 );
+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/4140_command.sql b/sql/updates/0.8/4140_command.sql
new file mode 100644
index 00000000000..f70bb2ce1a8
--- /dev/null
+++ b/sql/updates/0.8/4140_command.sql
@@ -0,0 +1,4 @@
+INSERT INTO `command` ( `name` , `security` , `help` )
+VALUES (
+'tele', '1', 'Syntax: .tele $location\n\nTeleport the gm to the provided location. You can look up these locations using .lookuptele'
+); \ No newline at end of file
diff --git a/sql/updates/0.8/4145_character_reputation.sql b/sql/updates/0.8/4145_character_reputation.sql
new file mode 100644
index 00000000000..b9849f11474
--- /dev/null
+++ b/sql/updates/0.8/4145_character_reputation.sql
@@ -0,0 +1 @@
+ALTER TABLE `character_reputation` DROP `reputation`; \ No newline at end of file
diff --git a/sql/updates/0.8/4154_spell_proc_event.sql b/sql/updates/0.8/4154_spell_proc_event.sql
new file mode 100644
index 00000000000..dbb1e1e04ca
--- /dev/null
+++ b/sql/updates/0.8/4154_spell_proc_event.sql
@@ -0,0 +1,23 @@
+/* for reference
+DROP TABLE IF EXISTS `spell_proc_event`;
+CREATE TABLE `spell_proc_event` (
+ `entry` smallint(6) unsigned NOT NULL default '0',
+ `SchoolMask` tinyint(4) NOT NULL default '0',
+ `Category` smallint(6) NOT NULL default '0',
+ `SkillID` smallint(6) NOT NULL default '0',
+ `SpellFamilyName` smallint(6) unsigned NOT NULL default '0',
+ `SpellFamilyMask` bigint(40) unsigned NOT NULL default '0',
+ `procFlags` int(11) unsigned NOT NULL default '0',
+ `ppmRate` float NOT NULL default '0',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+*/
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 30675, 30678, 30679, 30680, 30681 );
+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),
+(30680,0,0,0,11,3,16384,0),
+(30681,0,0,0,11,3,16384,0);
+
diff --git a/sql/updates/0.8/4176_character.sql b/sql/updates/0.8/4176_character.sql
new file mode 100644
index 00000000000..5a7b106b2c1
--- /dev/null
+++ b/sql/updates/0.8/4176_character.sql
@@ -0,0 +1 @@
+ALTER TABLE `character` ADD `zone` INT(11) UNSIGNED NOT NULL DEFAULT '0';
diff --git a/sql/updates/0.8/4176_command.sql b/sql/updates/0.8/4176_command.sql
new file mode 100644
index 00000000000..8e88e84c7e3
--- /dev/null
+++ b/sql/updates/0.8/4176_command.sql
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 00000000000..75033a11ccb
--- /dev/null
+++ b/sql/updates/0.8/4187_command.sql
@@ -0,0 +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
+('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
new file mode 100644
index 00000000000..af8b8d37338
--- /dev/null
+++ b/sql/updates/0.8/4204_command.sql
@@ -0,0 +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
diff --git a/sql/updates/0.8/4205_creature_template.sql b/sql/updates/0.8/4205_creature_template.sql
new file mode 100644
index 00000000000..84a65b400cf
--- /dev/null
+++ b/sql/updates/0.8/4205_creature_template.sql
@@ -0,0 +1,4 @@
+update creature_template set attackpower = round((maxdmg + mindmg) / 4 * 7);
+update creature_template set mindmg = round(mindmg - attackpower / 7);
+update creature_template set maxdmg = round(maxdmg - attackpower / 7);
+update creature_template set mindmg = 1 where mindmg < 1; \ No newline at end of file
diff --git a/sql/updates/0.8/4224_character_aura.sql b/sql/updates/0.8/4224_character_aura.sql
new file mode 100644
index 00000000000..3daac525668
--- /dev/null
+++ b/sql/updates/0.8/4224_character_aura.sql
@@ -0,0 +1,6 @@
+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
diff --git a/sql/updates/0.8/4224_pet_aura.sql b/sql/updates/0.8/4224_pet_aura.sql
new file mode 100644
index 00000000000..f185a65ce43
--- /dev/null
+++ b/sql/updates/0.8/4224_pet_aura.sql
@@ -0,0 +1,6 @@
+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
diff --git a/sql/updates/0.8/4235_spell_proc_event.sql b/sql/updates/0.8/4235_spell_proc_event.sql
new file mode 100644
index 00000000000..f87f40b9b2d
--- /dev/null
+++ b/sql/updates/0.8/4235_spell_proc_event.sql
@@ -0,0 +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');
+
+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
diff --git a/sql/updates/0.8/4239_spell_chain.sql b/sql/updates/0.8/4239_spell_chain.sql
new file mode 100644
index 00000000000..287a1de6f47
--- /dev/null
+++ b/sql/updates/0.8/4239_spell_chain.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (25477);
+
+INSERT INTO `spell_chain` VALUES
+(25477,19312,18137,7);
diff --git a/sql/updates/0.8/4239_spell_proc_event.sql b/sql/updates/0.8/4239_spell_proc_event.sql
new file mode 100644
index 00000000000..1e4852c335a
--- /dev/null
+++ b/sql/updates/0.8/4239_spell_proc_event.sql
@@ -0,0 +1,9 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (18137,19308,19309,19310,19311,19312,25477);
+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),
+(19310,0,0,0,0,0,1049602,0),
+(19311,0,0,0,0,0,1049602,0),
+(19312,0,0,0,0,0,1049602,0),
+(25477,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
new file mode 100644
index 00000000000..5e00ec3d3e3
--- /dev/null
+++ b/sql/updates/0.8/4242_spell_proc_event.sql
@@ -0,0 +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
+(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
+(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
+(34500, 0, 0, 0, 0, 0, 4194304, 0),
+(34502, 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
+(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
+(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
+(34935, 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
new file mode 100644
index 00000000000..61c0ff8e615
--- /dev/null
+++ b/sql/updates/0.8/4243_spell_affect.sql
@@ -0,0 +1,19 @@
+/*
+DROP TABLE IF EXISTS `spell_affect`;
+CREATE TABLE `spell_affect` (
+ `entry` smallint(5) unsigned NOT NULL default '0',
+ `effectId` tinyint(3) unsigned NOT NULL default '0',
+ `SpellId` smallint(5) unsigned NOT NULL default '0',
+ `SchoolMask` tinyint(3) unsigned NOT NULL default '0',
+ `Category` smallint(5) unsigned NOT NULL default '0',
+ `SkillID` smallint(5) unsigned NOT NULL default '0',
+ `SpellFamily` tinyint(3) unsigned NOT NULL default '0',
+ `SpellFamilyMask` bigint(20) unsigned NOT NULL default '0',
+ `Charges` smallint(5) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`effectId`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+*/
+
+DELETE FROM `spell_affect` WHERE `entry` IN (34936);
+INSERT INTO `spell_affect` VALUES
+(34936,0,0,0,0,0,0,274877906945,1);
diff --git a/sql/updates/0.8/4248_spell_chain.sql b/sql/updates/0.8/4248_spell_chain.sql
new file mode 100644
index 00000000000..718126f95ad
--- /dev/null
+++ b/sql/updates/0.8/4248_spell_chain.sql
@@ -0,0 +1,13 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (33878,33986,33987);
+
+INSERT INTO `spell_chain` VALUES
+(33878,0,33878,1),
+(33986,33878,33878,2),
+(33987,33986,33878,3);
+
+DELETE FROM `spell_chain` WHERE `spell_id` IN (33876,33982,33983);
+
+INSERT INTO `spell_chain` VALUES
+(33876,0,33876,1),
+(33982,33876,33876,2),
+(33983,33982,33876,3);
diff --git a/sql/updates/0.8/4248_spell_proc_event.sql b/sql/updates/0.8/4248_spell_proc_event.sql
new file mode 100644
index 00000000000..e8252cd265e
--- /dev/null
+++ b/sql/updates/0.8/4248_spell_proc_event.sql
@@ -0,0 +1,70 @@
+/* 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
+(11103,4,0,0,0,0,131072,0),
+(11119,4,0,0,0,0,65536,0),
+(11120,4,0,0,0,0,65536,0),
+(11129,4,0,0,0,0,131072,0),
+(11180,16,0,0,0,0,131072,0),
+(11255,64,0,0,3,0,16384,0),
+(12357,4,0,0,0,0,131072,0),
+(12358,4,0,0,0,0,131072,0),
+(12359,4,0,0,0,0,131072,0),
+(12360,4,0,0,0,0,131072,0),
+(12598,64,0,0,3,0,16384,0),
+(12846,4,0,0,0,0,65536,0),
+(12847,4,0,0,0,0,65536,0),
+(12848,4,0,0,0,0,65536,0),
+(14892,2,0,56,0,7680,268435456,0),
+(15268,32,0,0,0,0,131072,0),
+(15286,32,0,0,0,0,32768,0),
+(15323,32,0,0,0,0,131072,0),
+(15324,32,0,0,0,0,131072,0),
+(15325,32,0,0,0,0,131072,0),
+(15326,32,0,0,0,0,131072,0),
+(15362,2,0,56,0,7680,268435456,0),
+(15363,2,0,56,0,7680,268435456,0),
+(16164,28,0,0,0,0,65536,0),
+(17793,32,0,593,0,1,65536,0),
+(17796,32,0,593,0,1,65536,0),
+(17801,32,0,593,0,1,65536,0),
+(17802,32,0,593,0,1,65536,0),
+(17803,32,0,593,0,1,65536,0),
+(18073,4,0,0,0,96,131072,0),
+(18096,4,0,0,0,96,131072,0),
+(19407,64,0,0,0,512,131072,0),
+(19412,64,0,0,0,512,131072,0),
+(19413,64,0,0,0,512,131072,0),
+(19414,64,0,0,0,512,131072,0),
+(19415,64,0,0,0,512,131072,0),
+(20234,2,0,0,0,32768,131072,0),
+(20235,2,0,0,0,32768,131072,0),
+(23551,8,0,0,0,192,16384,0),
+(23572,8,0,0,0,192,16384,0),
+(23721,64,0,163,0,2048,131072,0),
+(28592,16,0,0,0,0,131072,0),
+(28593,16,0,0,0,0,131072,0),
+(28594,16,0,0,0,0,131072,0),
+(28595,16,0,0,0,0,131072,0),
+(28719,8,0,0,0,32,268435456,0),
+(28809,2,0,56,0,4096,268435456,0),
+(28823,8,0,374,0,192,134217728,0),
+(28847,8,0,573,0,32,16384,0),
+(28849,8,0,374,0,128,16384,0),
+(29074,20,0,0,0,0,65536,0),
+(29075,20,0,0,0,0,65536,0),
+(29076,20,0,0,0,0,65536,0),
+(34914,32,0,0,0,0,32768,0),
+(34916,32,0,0,0,0,32768,0),
+(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
+(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
+(37377,32,0,0,0,0,16384,0),
+(39437,4,0,0,0,0,16384,0);
diff --git a/sql/updates/0.8/4252_spell_threat.sql b/sql/updates/0.8/4252_spell_threat.sql
new file mode 100644
index 00000000000..293388810a9
--- /dev/null
+++ b/sql/updates/0.8/4252_spell_threat.sql
@@ -0,0 +1,4 @@
+INSERT INTO spell_threat VALUES
+(20243,101),
+(30016,101),
+(30022,101); \ No newline at end of file
diff --git a/sql/updates/0.8/4255_spell_chain.sql b/sql/updates/0.8/4255_spell_chain.sql
new file mode 100644
index 00000000000..13604da3b53
--- /dev/null
+++ b/sql/updates/0.8/4255_spell_chain.sql
@@ -0,0 +1,6 @@
+/* dependent from 14752 */
+DELETE FROM `spell_chain` WHERE `spell_id` IN (27681,32999);
+
+INSERT INTO `spell_chain` VALUES
+(27681,14752,14752,2),
+(32999,27681,14752,3);
diff --git a/sql/updates/0.8/4258_command.sql b/sql/updates/0.8/4258_command.sql
new file mode 100644
index 00000000000..0936503c3fd
--- /dev/null
+++ b/sql/updates/0.8/4258_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM `command` WHERE `name` = 'grouptele';
+
+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_chain.sql b/sql/updates/0.8/4259_spell_chain.sql
new file mode 100644
index 00000000000..763396693b1
--- /dev/null
+++ b/sql/updates/0.8/4259_spell_chain.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (27168);
+INSERT INTO `spell_chain` VALUES
+(27168,20914,20911,5);
+
+DELETE FROM `spell_chain` WHERE `spell_id` IN (27169);
+INSERT INTO `spell_chain` VALUES
+(27169,25899,25899,2);
diff --git a/sql/updates/0.8/4259_spell_proc_event.sql b/sql/updates/0.8/4259_spell_proc_event.sql
new file mode 100644
index 00000000000..c5191b472b0
--- /dev/null
+++ b/sql/updates/0.8/4259_spell_proc_event.sql
@@ -0,0 +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
+(30299,36,0,0,0,0,1048576,0),
+(30301,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);
+
+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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (33150,33154);
+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);
diff --git a/sql/updates/0.8/4262_spell_proc_event.sql b/sql/updates/0.8/4262_spell_proc_event.sql
new file mode 100644
index 00000000000..d67fefa7c3b
--- /dev/null
+++ b/sql/updates/0.8/4262_spell_proc_event.sql
@@ -0,0 +1,20 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 33191, 33192, 33193, 33194, 33195 );
+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),
+(33194,0,0,0,6,4398054932480,131072,0),
+(33195,0,0,0,6,4398054932480,131072,0);
+
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 32385, 32387, 32392, 32393, 32394, 33191, 33192, 33193, 33194, 33195 );
+INSERT INTO `spell_proc_event` VALUES
+(32385,0,0,0,5,73014445058,131072,0),
+(32387,0,0,0,5,73014445058,131072,0),
+(32392,0,0,0,5,73014445058,131072,0),
+(32393,0,0,0,5,73014445058,131072,0),
+(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);
diff --git a/sql/updates/0.8/4266_spell_proc_event.sql b/sql/updates/0.8/4266_spell_proc_event.sql
new file mode 100644
index 00000000000..d53c9168bea
--- /dev/null
+++ b/sql/updates/0.8/4266_spell_proc_event.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 20210, 20212, 20213, 20214, 20215 );
+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),
+(20214,0,0,0,10,3223322624,268435456,0),
+(20215,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
new file mode 100644
index 00000000000..b702353e5f9
--- /dev/null
+++ b/sql/updates/0.8/4267_command.sql
@@ -0,0 +1,6 @@
+DELETE FROM `command` WHERE `name` = 'namego';
+DELETE FROM `command` WHERE `name` = 'groupgo';
+
+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
new file mode 100644
index 00000000000..87d38c81a46
--- /dev/null
+++ b/sql/updates/0.8/4270_spell_proc_event.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 33191, 33192, 33193, 33194, 33195 );
+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),
+(33194,0,0,0,6,4398054932480,131072,0),
+(33195,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
new file mode 100644
index 00000000000..1e57bfd0246
--- /dev/null
+++ b/sql/updates/0.8/4272_spell_proc_event.sql
@@ -0,0 +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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 40475 );
+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);
diff --git a/sql/updates/0.8/4274_character_pet.sql b/sql/updates/0.8/4274_character_pet.sql
new file mode 100644
index 00000000000..bae4114fb1e
--- /dev/null
+++ b/sql/updates/0.8/4274_character_pet.sql
@@ -0,0 +1,9 @@
+ALTER TABLE `character_pet` ADD `CreatedBySpell` int(11) unsigned NOT NULL default '0' AFTER `modelid`;
+ALTER TABLE `character_pet` ADD `PetType` tinyint(3) unsigned NOT NULL default '0' AFTER `CreatedBySpell`;
+UPDATE `character_pet` SET `PetType` = 1, `CreatedBySpell` = 1515 WHERE (`entry` <> 416 AND `entry` <> 417 AND `entry` <> 1860 AND `entry` <> 1863 AND `entry` <> 17252 AND `entry` <> 510);
+UPDATE `character_pet` SET `CreatedBySpell` = 688 WHERE (`entry` = 416);
+UPDATE `character_pet` SET `CreatedBySpell` = 691 WHERE (`entry` = 417);
+UPDATE `character_pet` SET `CreatedBySpell` = 697 WHERE (`entry` = 1860);
+UPDATE `character_pet` SET `CreatedBySpell` = 712 WHERE (`entry` = 1863);
+UPDATE `character_pet` SET `CreatedBySpell` = 30146 WHERE (`entry` = 17252);
+UPDATE `character_pet` SET `CreatedBySpell` = 31687 WHERE (`entry` = 510); \ No newline at end of file
diff --git a/sql/updates/0.8/4275_game_event.sql b/sql/updates/0.8/4275_game_event.sql
new file mode 100644
index 00000000000..5bf5a6f05f0
--- /dev/null
+++ b/sql/updates/0.8/4275_game_event.sql
@@ -0,0 +1,21 @@
+CREATE TABLE `game_event_gameobject` (
+ `guid` int(10) unsigned NOT NULL,
+ `event` mediumint(9) NOT NULL DEFAULT '0' COMMENT 'Put negatives values to remove during event',
+ PRIMARY KEY (`guid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+CREATE TABLE `game_event_creature` (
+ `guid` int(10) unsigned NOT NULL,
+ `event` mediumint(9) NOT NULL DEFAULT '0' COMMENT 'Put negatives values to remove during event',
+ PRIMARY KEY (`guid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+CREATE TABLE `game_event` (
+ `entry` mediumint(8) unsigned NOT NULL COMMENT 'Entry of the game event',
+ `start` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Absolute start date, the event will never start before',
+ `end` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT 'Absolute end date, the event will never start afler',
+ `occurence` bigint(20) unsigned NOT NULL DEFAULT '86400' COMMENT 'Delay in hours between occurences of the event',
+ `length` bigint(20) unsigned NOT NULL DEFAULT '43200' COMMENT 'Length in hours of the event',
+ `description` varchar(255) DEFAULT NULL COMMENT 'Description of the event displayed in console',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
diff --git a/sql/updates/0.8/4288_spell_proc_event.sql b/sql/updates/0.8/4288_spell_proc_event.sql
new file mode 100644
index 00000000000..0e3e6f89064
--- /dev/null
+++ b/sql/updates/0.8/4288_spell_proc_event.sql
@@ -0,0 +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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 38347 );
+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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 33012 );
+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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 31794 );
+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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 34586 );
+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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 37657 );
+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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 37525 );
+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
new file mode 100644
index 00000000000..bbf6f413c0a
--- /dev/null
+++ b/sql/updates/0.8/4294_spell_proc_event.sql
@@ -0,0 +1,23 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 11255, 12598 );
+INSERT INTO `spell_proc_event` VALUES
+(11255,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
+(17793,0,0,593,5,1,65536,0),
+(17796,0,0,593,5,1,65536,0),
+(17801,0,0,593,5,1,65536,0),
+(17802,0,0,593,5,1,65536,0),
+(17803,0,0,593,5,1,65536,0);
+
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 18094, 18095 );
+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);
diff --git a/sql/updates/0.8/4296_spell_proc_event.sql b/sql/updates/0.8/4296_spell_proc_event.sql
new file mode 100644
index 00000000000..902a3f3ca10
--- /dev/null
+++ b/sql/updates/0.8/4296_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN ( 12958, 12311 );
+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
new file mode 100644
index 00000000000..6239feca4fe
--- /dev/null
+++ b/sql/updates/0.8/4317_spell_affect.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (31670,31672);
+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
new file mode 100644
index 00000000000..0018a669d6c
--- /dev/null
+++ b/sql/updates/0.8/4320_spell_affect.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (31670,31672);
+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_chain.sql b/sql/updates/0.8/4331_spell_chain.sql
new file mode 100644
index 00000000000..4542e6411eb
--- /dev/null
+++ b/sql/updates/0.8/4331_spell_chain.sql
@@ -0,0 +1,6 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (974,32593,32594);
+INSERT INTO `spell_chain` VALUES
+(974,0,974,1),
+(32593,974,974,2),
+(32594,32593,974,3);
+
diff --git a/sql/updates/0.8/4331_spell_proc_event.sql b/sql/updates/0.8/4331_spell_proc_event.sql
new file mode 100644
index 00000000000..cc91ec0c139
--- /dev/null
+++ b/sql/updates/0.8/4331_spell_proc_event.sql
@@ -0,0 +1,15 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (974,32593,32594);
+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
+(2652, 0,0,0,0,0,0x2,0),
+(19261,0,0,0,0,0,0x2,0),
+(19262,0,0,0,0,0,0x2,0),
+(19264,0,0,0,0,0,0x2,0),
+(19265,0,0,0,0,0,0x2,0),
+(19266,0,0,0,0,0,0x2,0),
+(25461,0,0,0,0,0,0x2,0);
diff --git a/sql/updates/0.8/4341_game_event.sql b/sql/updates/0.8/4341_game_event.sql
new file mode 100644
index 00000000000..f0fcd34d6ad
--- /dev/null
+++ b/sql/updates/0.8/4341_game_event.sql
@@ -0,0 +1,4 @@
+ALTER TABLE `game_event` CHANGE `occurence` `occurence` bigint(20) unsigned NOT NULL default '5184000' COMMENT 'Delay in minutes between occurences of the event';
+ALTER TABLE `game_event` CHANGE `length` `length` bigint(20) unsigned NOT NULL default '2592000' COMMENT 'Length in minutes of the event';
+UPDATE `game_event` SET `occurence` = `occurence` * 60;
+UPDATE `game_event` SET `length` = `length` * 60; \ No newline at end of file
diff --git a/sql/updates/0.8/4356_command.sql b/sql/updates/0.8/4356_command.sql
new file mode 100644
index 00000000000..57c6a0b4750
--- /dev/null
+++ b/sql/updates/0.8/4356_command.sql
@@ -0,0 +1 @@
+DELETE FROM `command` WHERE `name` = 'AddSpawn';
diff --git a/sql/updates/0.8/4369_battleground_template.sql b/sql/updates/0.8/4369_battleground_template.sql
new file mode 100644
index 00000000000..4271a0ede2c
--- /dev/null
+++ b/sql/updates/0.8/4369_battleground_template.sql
@@ -0,0 +1,2 @@
+DELETE FROM `battleground_template` WHERE `id`='4';
+INSERT INTO `battleground_template` VALUES ('4', '2', '10', '70', '929', '0', '936', '3.14159');
diff --git a/sql/updates/0.8/4376_battleground_template.sql b/sql/updates/0.8/4376_battleground_template.sql
new file mode 100644
index 00000000000..46738725ace
--- /dev/null
+++ b/sql/updates/0.8/4376_battleground_template.sql
@@ -0,0 +1,3 @@
+DELETE FROM `battleground_template` WHERE `id` IN ('5', '6');
+INSERT INTO `battleground_template` VALUES ('5', '2', '10', '70', '939', '0', '940', '3.14159');
+INSERT INTO `battleground_template` VALUES ('6', '2', '10', '70', '0', '0', '0', '0');
diff --git a/sql/updates/0.8/4392_battleground_template.sql b/sql/updates/0.8/4392_battleground_template.sql
new file mode 100644
index 00000000000..7187f1cd226
--- /dev/null
+++ b/sql/updates/0.8/4392_battleground_template.sql
@@ -0,0 +1,2 @@
+DELETE FROM `battleground_template` WHERE `id`='8';
+INSERT INTO `battleground_template` VALUES ('8', '2', '10', '70', '1258', '0', '1259', '3.14159');
diff --git a/sql/updates/0.8/4395_spell_chain.sql b/sql/updates/0.8/4395_spell_chain.sql
new file mode 100644
index 00000000000..fb5b7285581
--- /dev/null
+++ b/sql/updates/0.8/4395_spell_chain.sql
@@ -0,0 +1,20 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (27149);
+INSERT INTO `spell_chain` VALUES
+(27149,10293,465,8);
+
+DELETE FROM `spell_chain` WHERE `spell_id` IN (27150);
+INSERT INTO `spell_chain` VALUES
+(27150,10301,7294,6);
+
+DELETE FROM `spell_chain` WHERE `spell_id` IN (27151);
+INSERT INTO `spell_chain` VALUES
+(27151,19896,19876,4);
+
+DELETE FROM `spell_chain` WHERE `spell_id` IN (27152);
+INSERT INTO `spell_chain` VALUES
+(27152,19898,19888,4);
+
+DELETE FROM `spell_chain` WHERE `spell_id` IN (27153);
+INSERT INTO `spell_chain` VALUES
+(27153,19900,19891,4);
+
diff --git a/sql/updates/0.8/4397_command.sql b/sql/updates/0.8/4397_command.sql
new file mode 100644
index 00000000000..ad554c52767
--- /dev/null
+++ b/sql/updates/0.8/4397_command.sql
@@ -0,0 +1,15 @@
+delete from command where name in('whisper2', 'nyi', 'prog', 'run','go', 'object', 'gmon', 'gmoff', 'worldport');
+
+update command set name='playemote' where name='emote';
+update command set name='setmodel' where name='displayid';
+update command set name='listgm' where name='gmlist';
+
+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
+('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.'),
+('gm', 1, 'Syntax: .gm on/off\r\n\r\nEnable or Disable GM MODE');
diff --git a/sql/updates/0.8/4401_spell_chain.sql b/sql/updates/0.8/4401_spell_chain.sql
new file mode 100644
index 00000000000..c67c5b50d27
--- /dev/null
+++ b/sql/updates/0.8/4401_spell_chain.sql
@@ -0,0 +1,11 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (30283,30413,30414);
+INSERT INTO `spell_chain` VALUES
+(30283,0,30283,1),
+(30413,30283,30283,2),
+(30414,30413,30283,3);
+
+DELETE FROM `spell_chain` WHERE `spell_id` IN (30108,30404,30405);
+INSERT INTO `spell_chain` VALUES
+(30108,0,30108,1),
+(30404,30108,30108,2),
+(30405,30404,30108,3);
diff --git a/sql/updates/0.8/4403_reserved_name.sql b/sql/updates/0.8/4403_reserved_name.sql
new file mode 100644
index 00000000000..a72e9aace27
--- /dev/null
+++ b/sql/updates/0.8/4403_reserved_name.sql
@@ -0,0 +1,5 @@
+DROP TABLE IF EXISTS `reserved_name`;
+CREATE TABLE `reserved_name` (
+ `name` VARCHAR(12) NOT NULL DEFAULT '',
+ PRIMARY KEY (`name`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player Reserved Names'; \ No newline at end of file
diff --git a/sql/updates/0.8/4407_character.sql b/sql/updates/0.8/4407_character.sql
new file mode 100644
index 00000000000..394740883e9
--- /dev/null
+++ b/sql/updates/0.8/4407_character.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `character` ADD COLUMN `pending_honor` float NOT NULL default '0';
+ALTER TABLE `character` ADD COLUMN `last_honor_date` int(11) unsigned NOT NULL default '0';
+ALTER TABLE `character` ADD COLUMN `last_kill_date` int(11) unsigned NOT NULL default '0'; \ No newline at end of file
diff --git a/sql/updates/0.8/4407_character_kill.sql b/sql/updates/0.8/4407_character_kill.sql
new file mode 100644
index 00000000000..b477a8f4a8f
--- /dev/null
+++ b/sql/updates/0.8/4407_character_kill.sql
@@ -0,0 +1,7 @@
+DROP TABLE IF EXISTS `character_kill`;
+CREATE TABLE `character_kill` (
+ `guid` int(11) NOT NULL default '0',
+ `victim_guid` int(11) NOT NULL default '0',
+ `count` tinyint(3) NOT NULL default '0',
+ PRIMARY KEY (`guid`,`victim_guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Kills Yesterday'; \ No newline at end of file
diff --git a/sql/updates/0.8/4407_command.sql b/sql/updates/0.8/4407_command.sql
new file mode 100644
index 00000000000..4bf2dfa18cd
--- /dev/null
+++ b/sql/updates/0.8/4407_command.sql
@@ -0,0 +1,11 @@
+delete from command where name in('honor', 'honor add', 'honor addkill', 'honor flushkills','honor update', 'modify 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
+('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
diff --git a/sql/updates/0.8/4414_spell_chain.sql b/sql/updates/0.8/4414_spell_chain.sql
new file mode 100644
index 00000000000..75ab4be0df9
--- /dev/null
+++ b/sql/updates/0.8/4414_spell_chain.sql
@@ -0,0 +1,312 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (
+25202,25203,25208,25210,25212,25213,25217,25218,25221,25222,25225,25231,25233,25234,25235,25236,25241,
+25242,25248,25258,25264,25266,25269,25272,25275,25308,25312,25331,25363,25364,25367,25368,25372,25375,
+25379,25380,25384,25387,25389,25391,25396,25420,25422,25423,25429,25431,25433,25435,25437,25439,25441,
+25442,25446,25448,25449,25450,25454,25457,25464,25467,25470,25479,25485,25489,25500,25505,25508,25509,
+25525,25528,25533,25546,25547,25552,25557,25560,25563,25567,25570,25574,25577,25585,25587,25596,26839,
+26861,26862,26863,26864,26865,26866,26867,26884,26889,26892,26969,26978,26979,26980,26981,26982,26983,
+26984,26985,26986,26987,26988,26989,26990,26992,26993,26994,26995,26996,26997,26998,26999,27001,27002,
+27003,27005,27006,27008,27009,27011,27012,27013,27014,27015,27016,27018,27019,27020,27021,27022,27023,
+27025,27044,27045,27046,27065,27066,27067,27068,27070,27071,27072,27073,27074,27075,27078,27079,27080,
+27082,27085,27086,27087,27088,27090,27124,27125,27126,27128,27130,27131,27132,27133,27134,27135,27136,
+27137,27138,27139,27140,27141,27142,27143,27144,27145,27147,27148,27154,27155,27158,27166,27173,27174,
+27180,27209,27210,27211,27212,27213,27215,27216,27217,27218,27219,27220,27221,27222,27223,27224,27226,
+27228,27229,27230,27238,27250,27259,27260,27263,27264,27265,27266,27282,27283,27441,27448,28172,28176,
+28189,28275,29704,29707,29722,30016,30022,30324,30330,30356,30357,30459,30545,30546,30908,30909,30910,
+30911,30912,31661,31785,31935,32231,32379,32645,32684,32699,32700,32796,32996,33041,33042,33043,33072,
+33405,33717,33776,33933,33938,33944,33946,34411,34412,34413,34861,34863,34864,34865,34866,34914,34916,
+34917,36916,37420,38692,38697,38699,38704,38764,38768
+);
+
+INSERT INTO `spell_chain` VALUES
+-- Druid
+(26978,25297,5185,12),
+(26979,26978,5185,13),
+(26980,9858,8936,10),
+(26981,25299,774,12),
+(26982,26981,774,13),
+(26983,9863,740,5),
+(26984,9912,5176,9),
+(26985,26984,5176,10),
+(26986,25298,2912,8),
+(26987,9835,8921,11),
+(26988,26987,8921,12),
+(26989,9853,339,7),
+(26990,9885,1126,8),
+(26992,9910,467,7),
+(26993,9907,770,5),
+(26994,20748,20484,6),
+(26995,9901,2908,4),
+(26996,9881,6807,8),
+(26997,9908,779,6),
+(26998,9898,99,6),
+(26999,22896,22842,4),
+(27001,9830,5221,6),
+(27002,27001,5221,7),
+(27003,9904,1822,5),
+(27005,9867,6785,5),
+(27006,9827,9005,4),
+(27008,9896,1079,7),
+(27009,17329,16689,7),
+(27011,17392,16857,5),
+(27012,17402,16914,4),
+(27013,24977,5570,6),
+-- Hunter
+(27014,14266,2973,9),
+(27015,14273,781,4),
+(27016,25295,1978,10),
+(27018,14280,3034,4),
+(27019,14287,3044,9),
+(27020,15632,20736,7),
+(27021,25294,2643,6),
+(27022,14295,1510,4),
+(27023,14305,13795,6),
+(27025,14317,13813,4),
+(27044,25296,13165,8),
+(27045,20190,20043,3),
+(27046,13544,136,8),
+(27065,20904,19434,7),
+(27066,20906,19506,4),
+(27067,20910,19306,4),
+(27068,24133,19386,4),
+(36916,14271,1495,5),
+-- Mage
+(27070,25306,133,13),
+(27071,25304,116,12),
+(27072,27071,116,13),
+(27073,10207,2948,8),
+(27074,27073,2948,9),
+(27075,25345,5143,9),
+(27078,10199,2136,8),
+(27079,27078,2136,9),
+(27080,10202,1449,7),
+(27082,27080,1449,8),
+(27085,10187,10,7),
+(27086,10216,2120,7),
+(27087,10161,120,6),
+(27088,10230,122,5),
+(27090,37420,5504,9),
+(27124,10220,7302,5),
+(27125,22783,6117,4),
+(27126,10157,1459,6),
+(27128,10225,543,6),
+(27130,10170,1008,5),
+(27131,10193,1463,7),
+(27132,18809,11366,9),
+(27133,13021,11113,6),
+(27134,13033,11426,5),
+(31661,0,31661,1),
+(32796,28609,6143,6),
+(33041,31661,31661,2),
+(33042,33041,31661,3),
+(33043,33042,31661,4),
+(33405,27134,11426,6),
+(33717,28612,587,8),
+(33933,27133,11113,7),
+(33938,27132,11366,10),
+(33944,10174,604,6),
+(33946,27130,1008,6),
+(37420,10140,5504,8),
+(38692,27070,133,14),
+(38697,27072,116,14),
+(38699,27075,5143,10),
+(38704,38699,5143,11),
+-- Paladin
+(27135,25292,635,10),
+(27136,27135,635,11),
+(27137,19943,19750,7),
+(27138,10314,879,7),
+(27139,10318,2812,3),
+(27140,25291,19740,8),
+(27141,25916,25782,3),
+(27142,25290,19742,7),
+(27143,25918,25894,3),
+(27144,19979,19977,4),
+(27145,25890,25890,2),
+(27147,20729,6940,3),
+(27148,27147,6940,4),
+(27154,10310,633,4),
+(27155,20293,21084,9),
+(27158,20308,21082,7),
+(27166,20357,20166,4),
+(27173,20924,26573,6),
+(27174,20930,20473,4),
+(27180,24239,24275,4),
+(31785,0,31785,1),
+(31935,0,31935,1),
+(32699,31935,31935,2),
+(32700,32699,31935,3),
+(33072,27174,20473,5),
+(33776,31785,31785,2),
+-- Priest
+(25210,25314,2060,6),
+(25213,25210,2060,7),
+(25217,10901,17,11),
+(25218,25217,17,12),
+(25221,25315,139,11),
+(25222,25221,139,12),
+(25233,10917,2061,8),
+(25235,25233,2061,9),
+(25308,25316,596,6),
+(25312,27841,14752,5),
+(25331,27801,15237,7),
+(25363,10934,585,9),
+(25364,25363,585,10),
+(25367,10894,589,9),
+(25368,25367,589,10),
+(25372,10947,8092,10),
+(25375,25372,8092,11),
+(25379,10876,8129,6),
+(25380,25379,8129,7),
+(25384,15261,14914,9),
+(25387,18807,15407,7),
+(25389,10938,1243,7),
+(25429,10942,586,7),
+(25431,10952,588,7),
+(25433,10958,976,4),
+(25435,20770,2006,6),
+(25437,19243,13908,8),
+(25441,19275,13896,6),
+(25446,19305,10797,8),
+(25450,19293,2651,6),
+(25467,19280,2944,7),
+(25470,19285,9035,7),
+(25596,10953,453,4),
+(28275,27871,724,4),
+(32379,0,32379,1),
+(32996,32379,32379,2),
+(34861,0,34861,1),
+(34863,34861,34861,2),
+(34864,34863,34861,3),
+(34865,34864,34861,4),
+(34866,34865,34861,5),
+(34914,0,34914,1),
+(34916,34914,34914,2),
+(34917,34916,34914,3),
+-- Rogue
+(26839,11290,703,7),
+(26861,11294,1752,9),
+(26862,26861,1752,10),
+(26863,25300,53,10),
+(26864,17348,16511,4),
+(26865,31016,2098,10),
+(26866,11198,8647,6),
+(26867,11275,1943,7),
+(26884,26839,703,8),
+(26889,1857,1856,3),
+(26892,11343,8681,7),
+(26969,25347,2835,6),
+(27282,26969,2835,7),
+(27283,13230,13220,5),
+(27441,11269,8676,7),
+(27448,25302,1966,6),
+(32645,0,32645,1),
+(32684,32645,32645,2),
+(34411,1329,1329,2),
+(34412,34411,1329,3),
+(34413,34412,1329,4),
+(38764,11286,1776,6),
+(38768,1769,1766,5),
+-- shaman
+(25391,25357,331,11),
+(25396,25391,331,12),
+(25420,10468,8004,7),
+(25422,10623,1064,4),
+(25423,25422,1064,5),
+(25439,10605,421,5),
+(25442,25439,421,6),
+(25448,15208,403,11),
+(25449,25448,403,12),
+(25454,10414,8042,8),
+(25457,29228,8050,7),
+(25464,10473,8056,5),
+(25479,16316,8017,8),
+(25485,25479,8017,9),
+(25489,16342,8024,7),
+(25500,16356,8033,6),
+(25505,16362,8232,5),
+(25508,10408,8071,7),
+(25509,25508,8071,8),
+(25525,10428,5730,7),
+(25528,25361,8075,6),
+(25533,10438,3599,7),
+(25546,11315,1535,6),
+(25547,25546,1535,7),
+(25552,10587,8190,5),
+(25557,16387,8227,5),
+(25560,10479,8181,4),
+(25563,10538,8184,4),
+(25567,10463,5394,6),
+(25570,10497,5675,5),
+(25574,10601,10595,4),
+(25577,15112,15107,4),
+(25585,10614,8512,4),
+(25587,25585,8512,5),
+-- warlock
+(27209,25307,686,11),
+(27210,17923,5676,7),
+(27211,17924,6353,3),
+(27212,11678,5740,5),
+(27213,11684,1949,4),
+(27215,25309,348,9),
+(27216,25311,172,8),
+(27217,11675,1120,5),
+(27218,11713,980,7),
+(27219,11700,689,7),
+(27220,27219,689,8),
+(27221,11704,5138,5),
+(27222,11689,1454,7),
+(27223,17926,6789,4),
+(27224,11708,702,7),
+(27226,11717,704,5),
+(27228,11722,1490,4),
+(27229,17937,17862,3),
+(27230,11730,6201,6),
+(27238,20757,693,6),
+(27250,17953,6366,5),
+(27259,11695,755,8),
+(27260,11735,706,6),
+(27263,18871,17877,7),
+(27264,18881,18265,5),
+(27265,18938,18220,4),
+(27266,18932,17962,5),
+(28172,17728,2362,4),
+(28176,0,28176,1),
+(28189,28176,28176,2),
+(29722,0,29722,1),
+(30459,27210,5676,8),
+(30545,27211,6353,4),
+(30546,27263,17877,8),
+(30908,27221,5138,6),
+(30909,27224,702,8),
+(30910,603,603,2),
+(30911,27264,18265,6),
+(30912,27266,17962,6),
+(32231,29722,29722,2),
+-- warrior
+(25202,11556,1160,6),
+(25203,25202,1160,7),
+(25208,11574,772,8),
+(25212,7373,1715,4),
+(25225,11597,7386,6),
+(25231,20569,845,6),
+(25234,20662,5308,6),
+(25236,25234,5308,7),
+(25241,11605,1464,5),
+(25242,25241,1464,6),
+(25248,21553,12294,5),
+(25258,23925,23922,5),
+(25264,11581,6343,7),
+(25266,20560,694,6),
+(25269,25288,6572,7),
+(25272,20617,20252,4),
+(25275,25272,20252,5),
+(29704,1672,72,4),
+(29707,25286,78,10),
+(30016,20243,20243,2),
+(30022,30016,20243,3),
+(30324,29707,78,11),
+(30330,25248,12294,6),
+(30356,25258,23922,6),
+(30357,25269,6572,8);
+
diff --git a/sql/updates/0.8/4414_spell_proc_event.sql b/sql/updates/0.8/4414_spell_proc_event.sql
new file mode 100644
index 00000000000..3109b44c999
--- /dev/null
+++ b/sql/updates/0.8/4414_spell_proc_event.sql
@@ -0,0 +1,8 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (25441,27009,27124,27280,31896);
+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),
+(27280,0,0,0,0,0,2,0),
+(31896,0,0,0,0,0,1,2);
+
diff --git a/sql/updates/0.8/4417_quest_template.sql b/sql/updates/0.8/4417_quest_template.sql
new file mode 100644
index 00000000000..88a6d08200a
--- /dev/null
+++ b/sql/updates/0.8/4417_quest_template.sql
@@ -0,0 +1,4 @@
+ALTER TABLE `quest_template` CHANGE `RequiredRepFaction` `RequiredMinRepFaction` int(10) unsigned NOT NULL default '0';
+ALTER TABLE `quest_template` CHANGE `RequiredRepValue` `RequiredMinRepValue` int(10) NOT NULL default '0';
+ALTER TABLE `quest_template` ADD `RequiredMaxRepFaction` int(10) unsigned NOT NULL default '0' AFTER `RequiredMinRepValue` ;
+ALTER TABLE `quest_template` ADD `RequiredMaxRepValue` int(10) NOT NULL default '0' AFTER `RequiredMaxRepFaction` ;
diff --git a/sql/updates/0.8/4420_spell_proc_event.sql b/sql/updates/0.8/4420_spell_proc_event.sql
new file mode 100644
index 00000000000..c1ce08ceb69
--- /dev/null
+++ b/sql/updates/0.8/4420_spell_proc_event.sql
@@ -0,0 +1,10 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (35100,35102,35103);
+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
+(33511,0,0,0,0,0,131072,0);
diff --git a/sql/updates/0.8/4422_command.sql b/sql/updates/0.8/4422_command.sql
new file mode 100644
index 00000000000..b2c71c17ca8
--- /dev/null
+++ b/sql/updates/0.8/4422_command.sql
@@ -0,0 +1 @@
+INSERT INTO `command` (`name`, `security`, `help`) VALUES ('npcwhisper', '1', 'Syntax: .npcwhisper #playerguid #text\r\nMake the selected npc whisper #text to #playerguid.');
diff --git a/sql/updates/0.8/4425_character.sql b/sql/updates/0.8/4425_character.sql
new file mode 100644
index 00000000000..515ab151b5c
--- /dev/null
+++ b/sql/updates/0.8/4425_character.sql
@@ -0,0 +1,7 @@
+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
diff --git a/sql/updates/0.8/4425_command.sql b/sql/updates/0.8/4425_command.sql
new file mode 100644
index 00000000000..b4f61ccddda
--- /dev/null
+++ b/sql/updates/0.8/4425_command.sql
@@ -0,0 +1,10 @@
+delete from command where name in('goxyz','resetall','reset','reset honor','reset level','reset spells','reset stats','reset talents');
+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.'),
+('reset level',3,'Syntax:\r\n.reset level [Playername]\r\n Reset level to 1 including reset stats and talents. Equipped items with greater level requirement can be lost.'),
+('reset spells',3,'Syntax:\r\n.reset spells [Playername]\r\n Removes all non-original spells from spellbook. Playername can be name of offline character.\r\n.'),
+('reset stats',3,'Syntax:\r\n.reset stats [Playername]\r\n Resets(recalculate) all stats of the targeted player to their original values at current level.'),
+('reset talents',3,'Syntax:\r\n.reset talents [Playername]\r\n Removes all talents of the targeted player. Playername can be name of offline character.');
+
diff --git a/sql/updates/0.8/4426_creature_template.sql b/sql/updates/0.8/4426_creature_template.sql
new file mode 100644
index 00000000000..b50b5ef6867
--- /dev/null
+++ b/sql/updates/0.8/4426_creature_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `creature_template` ADD COLUMN dmgschool tinyint(1) not NULL default 0 after maxdmg;
diff --git a/sql/updates/0.8/4430_spell_proc_event.sql b/sql/updates/0.8/4430_spell_proc_event.sql
new file mode 100644
index 00000000000..368feb1b7b7
--- /dev/null
+++ b/sql/updates/0.8/4430_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (2565);
+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
new file mode 100644
index 00000000000..efb28784fb2
--- /dev/null
+++ b/sql/updates/0.8/4432_item_template.sql
@@ -0,0 +1,6 @@
+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`,
+ ADD COLUMN `spellppmRate_4` float NOT NULL default '0' AFTER `spellcharges_4`,
+ ADD COLUMN `spellppmRate_5` float NOT NULL default '0' AFTER `spellcharges_5`;
diff --git a/sql/updates/0.8/4432_spell_chain.sql b/sql/updates/0.8/4432_spell_chain.sql
new file mode 100644
index 00000000000..25b7875a808
--- /dev/null
+++ b/sql/updates/0.8/4432_spell_chain.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (29801,30030,30033);
+
+INSERT INTO `spell_chain` VALUES
+(29801,0,29801,1),
+(30030,29801,29801,2),
+(30033,30030,29801,3);
+
diff --git a/sql/updates/0.8/4432_spell_proc_event.sql b/sql/updates/0.8/4432_spell_proc_event.sql
new file mode 100644
index 00000000000..d84e417cfcc
--- /dev/null
+++ b/sql/updates/0.8/4432_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (29801,30030,30033);
+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
new file mode 100644
index 00000000000..7d6d1f25b3b
--- /dev/null
+++ b/sql/updates/0.8/4434_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (29801,30030,30033);
+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
new file mode 100644
index 00000000000..65dabddc4d9
--- /dev/null
+++ b/sql/updates/0.8/4437_character_aura.sql
@@ -0,0 +1,6 @@
+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
diff --git a/sql/updates/0.8/4437_pet_aura.sql b/sql/updates/0.8/4437_pet_aura.sql
new file mode 100644
index 00000000000..885adc90266
--- /dev/null
+++ b/sql/updates/0.8/4437_pet_aura.sql
@@ -0,0 +1,6 @@
+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`
+ 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
new file mode 100644
index 00000000000..00dde4fc8f9
--- /dev/null
+++ b/sql/updates/0.8/4439_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (30293,30295,30296);
+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/4446_creature_template.sql b/sql/updates/0.8/4446_creature_template.sql
new file mode 100644
index 00000000000..ac35882e79e
--- /dev/null
+++ b/sql/updates/0.8/4446_creature_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `creature_template` DROP COLUMN `size`;
diff --git a/sql/updates/0.8/4464_instance.sql b/sql/updates/0.8/4464_instance.sql
new file mode 100644
index 00000000000..6d2add41205
--- /dev/null
+++ b/sql/updates/0.8/4464_instance.sql
@@ -0,0 +1 @@
+ALTER TABLE `instance` ADD `data` LONGTEXT; \ No newline at end of file
diff --git a/sql/updates/0.8/4464_instance_template.sql b/sql/updates/0.8/4464_instance_template.sql
new file mode 100644
index 00000000000..5b5f370b0df
--- /dev/null
+++ b/sql/updates/0.8/4464_instance_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `instance_template` ADD `script` varchar(255) NOT NULL default ''; \ No newline at end of file
diff --git a/sql/updates/0.8/4470_command.sql b/sql/updates/0.8/4470_command.sql
new file mode 100644
index 00000000000..bbd104b7363
--- /dev/null
+++ b/sql/updates/0.8/4470_command.sql
@@ -0,0 +1,4 @@
+delete from command where name in('movegens');
+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
new file mode 100644
index 00000000000..74fec20b906
--- /dev/null
+++ b/sql/updates/0.8/4480_spell_affect.sql
@@ -0,0 +1,9 @@
+-- Improved Fire Totems 1-2 Rangs
+DELETE FROM `spell_affect` WHERE `entry` IN (16544,16086);
+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),
+(16086,0,0,0,0,0,0,32,0),
+(16086,1,0,0,0,0,0,32,0),
+(16086,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
new file mode 100644
index 00000000000..cd1535c8e3c
--- /dev/null
+++ b/sql/updates/0.8/4481_spell_affect.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (16544,16086) AND `effectId`=2;
+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
new file mode 100644
index 00000000000..bd7c02fb555
--- /dev/null
+++ b/sql/updates/0.8/4482_playercreateinfo.sql
@@ -0,0 +1,11 @@
+UPDATE playercreateinfo_spell SET Spell = '21084' WHERE Spell = '20154';
+UPDATE playercreateinfo_action SET action = '21084' WHERE action = '20154';
+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`
+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
new file mode 100644
index 00000000000..bf1371d1546
--- /dev/null
+++ b/sql/updates/0.8/4482_spell_proc_event.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (12284,12701,12702,12703,12704);
+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),
+(12703,0,0,0,0,0,1,1.33008),
+(12704,0,0,0,0,0,1,1.66260);
diff --git a/sql/updates/0.8/4488_db_version.sql b/sql/updates/0.8/4488_db_version.sql
new file mode 100644
index 00000000000..704942e97ee
--- /dev/null
+++ b/sql/updates/0.8/4488_db_version.sql
@@ -0,0 +1,6 @@
+DROP TABLE IF EXISTS `db_version`;
+CREATE TABLE `db_version` (
+ `version` varchar(120)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
+
+INSERT INTO `db_version` VALUES ( 'unknown world database.' );
diff --git a/sql/updates/0.8/4491_spell_affect.sql b/sql/updates/0.8/4491_spell_affect.sql
new file mode 100644
index 00000000000..a6d530930bf
--- /dev/null
+++ b/sql/updates/0.8/4491_spell_affect.sql
@@ -0,0 +1,9 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (28176, 28189);
+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
+(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/4496_spell_script_target.sql b/sql/updates/0.8/4496_spell_script_target.sql
new file mode 100644
index 00000000000..a759ac01169
--- /dev/null
+++ b/sql/updates/0.8/4496_spell_script_target.sql
@@ -0,0 +1,6 @@
+DROP TABLE IF EXISTS `spell_script_target`;
+CREATE TABLE `spell_script_target` (
+ `entry` int(6) unsigned NOT NULL,
+ `type` int(8) unsigned default '0',
+ `targetEntry` int(11) default '0'
+) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Spell System';
diff --git a/sql/updates/0.8/4498_spell_proc_event.sql b/sql/updates/0.8/4498_spell_proc_event.sql
new file mode 100644
index 00000000000..fa3fbada1e4
--- /dev/null
+++ b/sql/updates/0.8/4498_spell_proc_event.sql
@@ -0,0 +1,8 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (40971);
+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
+(38427,0,0,0,0,0,1,0),
+(40407,0,0,0,0,0,1026,6); \ No newline at end of file
diff --git a/sql/updates/0.8/4499_spell_script_target.sql b/sql/updates/0.8/4499_spell_script_target.sql
new file mode 100644
index 00000000000..35926d83da9
--- /dev/null
+++ b/sql/updates/0.8/4499_spell_script_target.sql
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 00000000000..e8e9cc73312
--- /dev/null
+++ b/sql/updates/0.8/4501.sql
@@ -0,0 +1,112 @@
+-- Add definitly a very usefull index to this creature table
+-- If this sql file fails because the index already exists, comment the following line
+ALTER TABLE `creature` ADD INDEX `index_id` (id);
+
+-- Add suport to creature table for equipment and model overwritting
+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`;
+
+-- Creation of creature_model_info table
+DROP TABLE IF EXISTS `creature_model_info`;
+CREATE TABLE `creature_model_info` (
+ `modelid` int(11) unsigned NOT NULL default '0',
+ `bounding_radius` float NOT NULL default '0',
+ `combat_reach` float NOT NULL default '0',
+ `gender` tinyint(2) unsigned NOT NULL default '2',
+ `modelid_other_gender` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`modelid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Creature System (Model related info)';
+
+-- Correct possible db problems
+UPDATE `creature_template` SET `bounding_radius`=0 WHERE `bounding_radius` IS NULL;
+UPDATE `creature_template` SET `combat_reach`=0 WHERE `combat_reach` IS NULL;
+UPDATE `creature_template` SET `modelid_m`=0 WHERE `modelid_m` IS NULL;
+UPDATE `creature_template` SET `modelid_f`=0 WHERE `modelid_f` IS NULL;
+
+-- All models defined in creature_template are used to build the table
+INSERT IGNORE INTO `creature_model_info` (`modelid`) SELECT DISTINCT `modelid_m` FROM `creature_template`;
+INSERT IGNORE INTO `creature_model_info` (`modelid`) SELECT DISTINCT `modelid_f` FROM `creature_template`;
+
+-- Copy the data from creature_template to creature_model_info
+UPDATE `creature_model_info`,`creature_template` SET
+ `creature_model_info`.`bounding_radius`=`creature_template`.`bounding_radius`,
+ `creature_model_info`.`combat_reach`=`creature_template`.`combat_reach`,
+ `creature_model_info`.`modelid_other_gender`=`creature_template`.`modelid_f`
+ WHERE `creature_model_info`.`modelid`=`creature_template`.`modelid_m`;
+
+UPDATE `creature_model_info`,`creature_template` SET
+ `creature_model_info`.`bounding_radius`=`creature_template`.`bounding_radius`,
+ `creature_model_info`.`combat_reach`=`creature_template`.`combat_reach`,
+ `creature_model_info`.`modelid_other_gender`=`creature_template`.`modelid_m`
+ WHERE `creature_model_info`.`modelid`=`creature_template`.`modelid_f`;
+
+-- Some changes in fields of creature_template
+ALTER TABLE `creature_template`
+ CHANGE `modelid_m` `modelid_A` int(11) unsigned NOT NULL default '0',
+ CHANGE `modelid_f` `modelid_H` int(11) unsigned NOT NULL default '0',
+ ADD COLUMN `faction_H` int(4) unsigned NOT NULL default '0' AFTER `faction`,
+ ADD COLUMN `equipment_id` int(11) unsigned NOT NULL default '0' AFTER `RacialLeader`,
+ ADD COLUMN `RegenHealth` tinyint(1) unsigned NOT NULL default '1' AFTER `RacialLeader`,
+ DROP COLUMN `bounding_radius`,
+ DROP COLUMN `combat_reach`,
+ -- This index is temporary and enable the population of creature_equip_template to be fast
+ ADD INDEX `idx_tmp` (`equipmodel1`,`equipmodel2`,`equipmodel3`,`equipinfo1`,`equipinfo2`,`equipinfo3`,`equipslot1`,`equipslot2`,`equipslot3`);
+
+ALTER TABLE `creature_template`
+ CHANGE `faction` `faction_A` int(4) unsigned NOT NULL default '0';
+
+-- Create table creature_equip_template with temporary auto-increment key
+DROP TABLE IF EXISTS `creature_equip_template`;
+CREATE TABLE `creature_equip_template` (
+ `entry` int(11) unsigned NOT NULL auto_increment COMMENT 'Unique entry',
+ `equipmodel1` int(11) unsigned NOT NULL default '0',
+ `equipmodel2` int(11) unsigned NOT NULL default '0',
+ `equipmodel3` int(11) unsigned NOT NULL default '0',
+ `equipinfo1` int(11) unsigned NOT NULL default '0',
+ `equipinfo2` int(11) unsigned NOT NULL default '0',
+ `equipinfo3` int(11) unsigned NOT NULL default '0',
+ `equipslot1` int(11) NOT NULL default '0',
+ `equipslot2` int(11) NOT NULL default '0',
+ `equipslot3` int(11) NOT NULL default '0',
+ PRIMARY KEY (`entry`)
+) 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`)
+ (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
+UPDATE `creature_template`,`creature_equip_template` SET
+ `creature_template`.`equipment_id`=`creature_equip_template`.`entry`
+ WHERE `creature_template`.`equipmodel1`=`creature_equip_template`.`equipmodel1` AND
+ `creature_template`.`equipmodel2`=`creature_equip_template`.`equipmodel2` AND
+ `creature_template`.`equipmodel3`=`creature_equip_template`.`equipmodel3` AND
+ `creature_template`.`equipinfo1`=`creature_equip_template`.`equipinfo1` AND
+ `creature_template`.`equipinfo2`=`creature_equip_template`.`equipinfo2` AND
+ `creature_template`.`equipinfo3`=`creature_equip_template`.`equipinfo3` AND
+ `creature_template`.`equipslot1`=`creature_equip_template`.`equipslot1` AND
+ `creature_template`.`equipslot2`=`creature_equip_template`.`equipslot2` AND
+ `creature_template`.`equipslot3`=`creature_equip_template`.`equipslot3`;
+
+-- Remove all equipment fields from creature_template, this will remove the temporary index
+ALTER TABLE `creature_template`
+ DROP COLUMN `equipmodel1`,
+ DROP COLUMN `equipmodel2`,
+ DROP COLUMN `equipmodel3`,
+ DROP COLUMN `equipinfo1`,
+ DROP COLUMN `equipinfo2`,
+ DROP COLUMN `equipinfo3`,
+ DROP COLUMN `equipslot1`,
+ DROP COLUMN `equipslot2`,
+ DROP COLUMN `equipslot3`;
+
+-- Make all modelid and faction fields filled
+UPDATE `creature_template` SET `modelid_A`=`modelid_H` WHERE `modelid_A`=0 AND `modelid_H`<>0;
+UPDATE `creature_template` SET `modelid_H`=`modelid_A` WHERE `modelid_H`=0 AND `modelid_A`<>0;
+UPDATE `creature_template` SET `faction_A`=`faction_H` WHERE `faction_A`=0 AND `faction_H`<>0;
+UPDATE `creature_template` SET `faction_H`=`faction_A` WHERE `faction_H`=0 AND `faction_A`<>0;
+
+-- Finaly remove the no more necessary auto-increment from creature_equip_template
+ALTER TABLE `creature_equip_template`
+ CHANGE `entry` `entry` int(11) unsigned NOT NULL default '0' COMMENT 'Unique entry';
diff --git a/sql/updates/0.8/4503_spell_chain.sql b/sql/updates/0.8/4503_spell_chain.sql
new file mode 100644
index 00000000000..8dd5cb49100
--- /dev/null
+++ b/sql/updates/0.8/4503_spell_chain.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (31895);
+
+INSERT INTO `spell_chain` VALUES
+(31895,20164,20164,2);
diff --git a/sql/updates/0.8/4503_spell_proc_event.sql b/sql/updates/0.8/4503_spell_proc_event.sql
new file mode 100644
index 00000000000..bdd37b94541
--- /dev/null
+++ b/sql/updates/0.8/4503_spell_proc_event.sql
@@ -0,0 +1,49 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (5728,6397,6398,6399,10425,10426,25513);
+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),
+(6399,0,0,0,0,0,1049602,0),
+(10425,0,0,0,0,0,1049602,0),
+(10426,0,0,0,0,0,1049602,0),
+(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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (37705);
+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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (40444);
+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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (33297);
+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
+(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);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (33510);
+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);
diff --git a/sql/updates/0.8/4504_spell_affect.sql b/sql/updates/0.8/4504_spell_affect.sql
new file mode 100644
index 00000000000..a9eeb98c86b
--- /dev/null
+++ b/sql/updates/0.8/4504_spell_affect.sql
@@ -0,0 +1,24 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (20216) AND `effectId`=0;
+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
+(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
+(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
+(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),
+(20331,0,0,0,0,0,0,134218752,0),
+(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
+(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
new file mode 100644
index 00000000000..d329b5b5cde
--- /dev/null
+++ b/sql/updates/0.8/4504_spell_proc_event.sql
@@ -0,0 +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);
diff --git a/sql/updates/0.8/4506_spell_learn_spell.sql b/sql/updates/0.8/4506_spell_learn_spell.sql
new file mode 100644
index 00000000000..96c0c7226ba
--- /dev/null
+++ b/sql/updates/0.8/4506_spell_learn_spell.sql
@@ -0,0 +1,6 @@
+INSERT IGNORE INTO `spell_learn_spell` VALUES
+(71,355,0),
+(71,7386,0),
+(264,3018,0),
+(266,3018,0),
+(5011,3018,0);
diff --git a/sql/updates/0.8/4507_quest_template.sql b/sql/updates/0.8/4507_quest_template.sql
new file mode 100644
index 00000000000..2a39ae65bde
--- /dev/null
+++ b/sql/updates/0.8/4507_quest_template.sql
@@ -0,0 +1,2 @@
+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
new file mode 100644
index 00000000000..5d676b9b1ec
--- /dev/null
+++ b/sql/updates/0.8/4510_spell_proc_event.sql
@@ -0,0 +1,13 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (32837);
+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
+(588,0,0,0,0,0,1026,0),
+(602,0,0,0,0,0,1026,0),
+(1006,0,0,0,0,0,1026,0),
+(7128,0,0,0,0,0,1026,0),
+(10951,0,0,0,0,0,1026,0),
+(10952,0,0,0,0,0,1026,0),
+(25431,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
new file mode 100644
index 00000000000..2e3569ce833
--- /dev/null
+++ b/sql/updates/0.8/4513_spell_proc_event.sql
@@ -0,0 +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
diff --git a/sql/updates/0.8/4517_spell_affect.sql b/sql/updates/0.8/4517_spell_affect.sql
new file mode 100644
index 00000000000..4f4ea253c22
--- /dev/null
+++ b/sql/updates/0.8/4517_spell_affect.sql
@@ -0,0 +1,6 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (41021,41026);
+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),
+(41026,1,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
new file mode 100644
index 00000000000..013a117d186
--- /dev/null
+++ b/sql/updates/0.8/4524_spell_proc_event.sql
@@ -0,0 +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);
diff --git a/sql/updates/0.8/4537_player_levelstats.sql b/sql/updates/0.8/4537_player_levelstats.sql
new file mode 100644
index 00000000000..cf5030dd598
--- /dev/null
+++ b/sql/updates/0.8/4537_player_levelstats.sql
@@ -0,0 +1,3668 @@
+--
+-- Table structure for table `player_levelstats`
+--
+
+DROP TABLE IF EXISTS `player_levelstats`;
+CREATE TABLE `player_levelstats` (
+ `race` tinyint(3) unsigned NOT NULL,
+ `class` tinyint(3) unsigned NOT NULL,
+ `level` tinyint(3) unsigned NOT NULL,
+ `hp` smallint(5) unsigned NOT NULL,
+ `mana` smallint(5) unsigned NOT NULL,
+ `str` tinyint(3) unsigned NOT NULL,
+ `agi` tinyint(3) unsigned NOT NULL,
+ `sta` tinyint(3) unsigned NOT NULL,
+ `int` tinyint(3) unsigned NOT NULL,
+ `spi` tinyint(3) unsigned NOT NULL,
+ PRIMARY KEY (`race`,`class`,`level`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores levels stats.';
+
+--
+-- Dumping data for table `player_levelstats`
+--
+
+LOCK TABLES `player_levelstats` WRITE;
+/*!40000 ALTER TABLE `player_levelstats` DISABLE KEYS */;
+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),
+(1,1,4,117,0,27,22,26,20,21),
+(1,1,5,136,0,28,23,27,20,21),
+(1,1,6,155,0,30,24,28,20,21),
+(1,1,7,174,0,31,25,29,21,22),
+(1,1,8,193,0,32,26,30,21,22),
+(1,1,9,212,0,34,26,32,21,22),
+(1,1,10,231,0,35,27,33,21,23),
+(1,1,11,250,0,36,28,34,21,23),
+(1,1,12,269,0,38,29,35,21,23),
+(1,1,13,288,0,39,30,37,21,24),
+(1,1,14,308,0,41,31,38,21,24),
+(1,1,15,329,0,42,32,39,21,24),
+(1,1,16,351,0,44,33,41,21,25),
+(1,1,17,374,0,45,34,42,22,25),
+(1,1,18,398,0,47,34,43,22,25),
+(1,1,19,423,0,48,35,45,22,26),
+(1,1,20,449,0,50,36,46,22,26),
+(1,1,21,476,0,51,37,48,22,26),
+(1,1,22,504,0,53,38,49,22,27),
+(1,1,23,533,0,54,39,51,22,27),
+(1,1,24,563,0,56,40,52,23,28),
+(1,1,25,594,0,58,41,53,23,28),
+(1,1,26,626,0,59,42,55,23,28),
+(1,1,27,659,0,61,43,56,23,29),
+(1,1,28,693,0,63,44,58,23,29),
+(1,1,29,728,0,64,45,59,23,30),
+(1,1,30,764,0,66,46,61,24,30),
+(1,1,31,801,0,68,47,62,24,30),
+(1,1,32,839,0,69,48,64,24,31),
+(1,1,33,878,0,71,50,66,24,31),
+(1,1,34,918,0,73,51,67,24,32),
+(1,1,35,959,0,74,52,69,24,32),
+(1,1,36,1001,0,76,53,70,25,33),
+(1,1,37,1045,0,78,54,72,25,33),
+(1,1,38,1091,0,80,55,74,25,34),
+(1,1,39,1139,0,82,56,75,25,34),
+(1,1,40,1189,0,83,57,77,25,35),
+(1,1,41,1241,0,85,58,79,26,35),
+(1,1,42,1295,0,87,60,80,26,35),
+(1,1,43,1351,0,89,61,82,26,36),
+(1,1,44,1409,0,91,62,84,26,36),
+(1,1,45,1469,0,93,63,85,26,37),
+(1,1,46,1531,0,95,64,87,27,37),
+(1,1,47,1595,0,97,66,89,27,38),
+(1,1,48,1661,0,99,67,91,27,38),
+(1,1,49,1729,0,101,68,93,27,39),
+(1,1,50,1799,0,103,69,94,28,40),
+(1,1,51,1871,0,105,71,96,28,40),
+(1,1,52,1945,0,107,72,98,28,41),
+(1,1,53,2021,0,109,73,100,28,41),
+(1,1,54,2099,0,111,74,102,29,42),
+(1,1,55,2179,0,113,76,103,29,42),
+(1,1,56,2261,0,115,77,105,29,43),
+(1,1,57,2345,0,117,78,107,29,43),
+(1,1,58,2431,0,119,79,109,30,44),
+(1,1,59,2519,0,121,81,111,30,44),
+(1,1,60,2609,0,123,82,113,30,45),
+(1,1,61,2842,0,125,83,115,30,46),
+(1,1,62,3089,0,127,85,117,31,46),
+(1,1,63,3350,0,129,86,119,31,47),
+(1,1,64,3625,0,132,88,121,31,47),
+(1,1,65,3915,0,134,89,123,32,48),
+(1,1,66,4220,0,136,90,125,32,49),
+(1,1,67,4540,0,138,92,127,32,49),
+(1,1,68,4876,0,140,93,129,32,50),
+(1,1,69,5228,0,143,95,131,33,50),
+(1,1,70,5596,0,145,96,133,33,51),
+(1,2,1,58,80,22,20,22,20,21),
+(1,2,2,76,99,23,21,23,21,22),
+(1,2,3,94,119,24,21,24,21,22),
+(1,2,4,112,140,25,22,25,22,23),
+(1,2,5,130,162,26,22,26,23,24),
+(1,2,6,148,185,28,23,27,23,25),
+(1,2,7,166,209,29,24,28,24,25),
+(1,2,8,184,234,30,24,29,25,26),
+(1,2,9,202,260,31,25,30,25,27),
+(1,2,10,220,287,32,25,32,26,27),
+(1,2,11,238,315,33,26,33,27,28),
+(1,2,12,256,344,35,27,34,27,29),
+(1,2,13,274,374,36,27,35,28,30),
+(1,2,14,292,405,37,28,36,29,31),
+(1,2,15,311,437,38,29,37,30,31),
+(1,2,16,331,470,40,29,38,30,32),
+(1,2,17,352,504,41,30,40,31,33),
+(1,2,18,374,539,42,31,41,32,34),
+(1,2,19,397,575,43,31,42,33,35),
+(1,2,20,421,612,45,32,43,33,35),
+(1,2,21,446,650,46,33,45,34,36),
+(1,2,22,472,689,47,33,46,35,37),
+(1,2,23,499,729,49,34,47,36,38),
+(1,2,24,527,770,50,35,48,37,39),
+(1,2,25,556,812,51,36,50,37,40),
+(1,2,26,586,854,53,36,51,38,41),
+(1,2,27,617,896,54,37,52,39,42),
+(1,2,28,649,938,56,38,54,40,43),
+(1,2,29,682,980,57,39,55,41,43),
+(1,2,30,716,1022,58,39,56,42,44),
+(1,2,31,751,1064,60,40,58,43,45),
+(1,2,32,787,1106,61,41,59,43,46),
+(1,2,33,824,1148,63,42,60,44,47),
+(1,2,34,862,1190,64,43,62,45,48),
+(1,2,35,901,1232,66,44,63,46,49),
+(1,2,36,941,1274,67,44,65,47,50),
+(1,2,37,982,1316,69,45,66,48,51),
+(1,2,38,1024,1358,70,46,67,49,52),
+(1,2,39,1067,1400,72,47,69,50,53),
+(1,2,40,1111,1442,73,48,70,51,54),
+(1,2,41,1156,1484,75,49,72,52,55),
+(1,2,42,1202,1526,77,49,73,53,56),
+(1,2,43,1249,1568,78,50,75,54,57),
+(1,2,44,1297,1610,80,51,76,55,58),
+(1,2,45,1346,1652,81,52,78,56,59),
+(1,2,46,1396,1694,83,53,79,57,61),
+(1,2,47,1447,1736,85,54,81,58,62),
+(1,2,48,1499,1778,86,55,83,59,63),
+(1,2,49,1552,1820,88,56,84,60,64),
+(1,2,50,1606,1862,90,57,86,61,65),
+(1,2,51,1661,1904,91,58,87,62,66),
+(1,2,52,1717,1946,93,59,89,63,67),
+(1,2,53,1774,1988,95,60,91,64,68),
+(1,2,54,1832,2030,97,61,92,65,69),
+(1,2,55,1891,2072,98,61,94,66,71),
+(1,2,56,1951,2114,100,62,95,67,72),
+(1,2,57,2012,2156,102,63,97,68,73),
+(1,2,58,2074,2198,104,64,99,69,74),
+(1,2,59,2137,2240,105,65,101,70,75),
+(1,2,60,2201,2282,107,66,102,71,77),
+(1,2,61,2381,2441,109,67,104,73,78),
+(1,2,62,2569,2600,111,69,106,74,79),
+(1,2,63,2765,2774,113,70,107,75,80),
+(1,2,64,2970,2933,115,71,109,76,81),
+(1,2,65,3184,3092,116,72,111,77,83),
+(1,2,66,3407,3266,118,73,113,78,84),
+(1,2,67,3640,3425,120,74,115,79,85),
+(1,2,68,3883,3584,122,75,116,81,86),
+(1,2,69,4136,3758,124,76,118,82,88),
+(1,2,70,4399,3917,126,77,120,83,89),
+(1,4,1,55,0,21,23,21,20,20),
+(1,4,2,72,0,22,24,22,20,20),
+(1,4,3,89,0,23,26,22,20,21),
+(1,4,4,106,0,23,27,23,20,21),
+(1,4,5,123,0,24,29,24,21,21),
+(1,4,6,140,0,25,30,25,21,22),
+(1,4,7,157,0,26,32,25,21,22),
+(1,4,8,174,0,26,33,26,21,23),
+(1,4,9,191,0,27,35,27,21,23),
+(1,4,10,208,0,28,36,27,21,23),
+(1,4,11,225,0,29,38,28,22,24),
+(1,4,12,242,0,30,39,29,22,24),
+(1,4,13,259,0,31,41,30,22,25),
+(1,4,14,276,0,31,43,31,22,25),
+(1,4,15,293,0,32,44,31,22,25),
+(1,4,16,311,0,33,46,32,23,26),
+(1,4,17,330,0,34,48,33,23,26),
+(1,4,18,350,0,35,49,34,23,27),
+(1,4,19,371,0,36,51,35,23,27),
+(1,4,20,393,0,37,53,35,23,28),
+(1,4,21,416,0,38,54,36,24,28),
+(1,4,22,440,0,39,56,37,24,29),
+(1,4,23,465,0,40,58,38,24,29),
+(1,4,24,491,0,41,60,39,24,30),
+(1,4,25,518,0,42,61,40,25,30),
+(1,4,26,546,0,43,63,41,25,31),
+(1,4,27,575,0,44,65,42,25,31),
+(1,4,28,605,0,45,67,43,25,32),
+(1,4,29,636,0,46,69,43,25,32),
+(1,4,30,668,0,47,71,44,26,33),
+(1,4,31,701,0,48,72,45,26,33),
+(1,4,32,735,0,49,74,46,26,34),
+(1,4,33,770,0,50,76,47,27,34),
+(1,4,34,806,0,51,78,48,27,35),
+(1,4,35,843,0,52,80,49,27,35),
+(1,4,36,881,0,53,82,50,27,36),
+(1,4,37,920,0,54,84,51,28,36),
+(1,4,38,960,0,55,86,52,28,37),
+(1,4,39,1001,0,56,88,53,28,38),
+(1,4,40,1043,0,57,90,54,28,38),
+(1,4,41,1086,0,58,92,55,29,39),
+(1,4,42,1130,0,60,94,56,29,39),
+(1,4,43,1175,0,61,96,57,29,40),
+(1,4,44,1221,0,62,98,58,30,40),
+(1,4,45,1268,0,63,100,59,30,41),
+(1,4,46,1316,0,64,103,61,30,42),
+(1,4,47,1365,0,65,105,62,31,42),
+(1,4,48,1415,0,66,107,63,31,43),
+(1,4,49,1466,0,68,109,64,31,44),
+(1,4,50,1518,0,69,111,65,32,44),
+(1,4,51,1571,0,70,113,66,32,45),
+(1,4,52,1625,0,71,116,67,32,45),
+(1,4,53,1680,0,73,118,68,33,46),
+(1,4,54,1736,0,74,120,69,33,47),
+(1,4,55,1793,0,75,122,71,33,47),
+(1,4,56,1851,0,76,125,72,34,48),
+(1,4,57,1910,0,78,127,73,34,49),
+(1,4,58,1970,0,79,129,74,34,49),
+(1,4,59,2031,0,80,131,75,35,50),
+(1,4,60,2093,0,81,134,77,35,51),
+(1,4,61,2282,0,83,136,78,35,51),
+(1,4,62,2480,0,84,138,79,36,52),
+(1,4,63,2687,0,85,141,80,36,53),
+(1,4,64,2903,0,87,143,81,37,54),
+(1,4,65,3129,0,88,146,83,37,54),
+(1,4,66,3365,0,89,148,84,37,55),
+(1,4,67,3611,0,91,151,85,38,56),
+(1,4,68,3868,0,92,153,86,38,57),
+(1,4,69,4136,0,94,156,88,39,57),
+(1,4,70,4415,0,95,158,89,39,58),
+(1,5,1,52,160,20,20,20,22,23),
+(1,5,2,67,184,20,20,20,23,24),
+(1,5,3,82,209,20,20,21,25,26),
+(1,5,4,97,235,20,21,21,26,27),
+(1,5,5,112,262,21,21,21,27,28),
+(1,5,6,127,290,21,21,22,29,30),
+(1,5,7,142,319,21,21,22,30,31),
+(1,5,8,157,349,21,22,23,31,33),
+(1,5,9,172,380,21,22,23,33,34),
+(1,5,10,187,412,21,22,23,34,36),
+(1,5,11,202,445,22,22,24,36,37),
+(1,5,12,217,479,22,23,24,37,39),
+(1,5,13,232,514,22,23,25,38,40),
+(1,5,14,247,550,22,23,25,40,42),
+(1,5,15,262,587,22,23,25,41,43),
+(1,5,16,277,625,23,24,26,43,45),
+(1,5,17,292,664,23,24,26,44,46),
+(1,5,18,307,704,23,24,27,46,48),
+(1,5,19,322,745,23,24,27,47,49),
+(1,5,20,337,787,23,25,28,49,51),
+(1,5,21,352,830,24,25,28,51,53),
+(1,5,22,368,874,24,25,29,52,54),
+(1,5,23,385,919,24,26,29,54,56),
+(1,5,24,403,965,24,26,30,55,58),
+(1,5,25,422,1012,25,26,30,57,59),
+(1,5,26,442,1060,25,27,31,59,61),
+(1,5,27,463,1109,25,27,31,60,63),
+(1,5,28,485,1159,25,27,32,62,65),
+(1,5,29,508,1210,25,28,32,64,66),
+(1,5,30,532,1262,26,28,33,65,68),
+(1,5,31,557,1315,26,28,33,67,70),
+(1,5,32,583,1369,26,29,34,69,72),
+(1,5,33,610,1423,27,29,34,70,73),
+(1,5,34,638,1477,27,29,35,72,75),
+(1,5,35,667,1531,27,30,35,74,77),
+(1,5,36,697,1585,27,30,36,76,79),
+(1,5,37,728,1639,28,30,36,78,81),
+(1,5,38,760,1693,28,31,37,79,83),
+(1,5,39,793,1747,28,31,38,81,85),
+(1,5,40,827,1801,28,31,38,83,87),
+(1,5,41,862,1855,29,32,39,85,88),
+(1,5,42,898,1909,29,32,39,87,90),
+(1,5,43,935,1963,29,33,40,89,92),
+(1,5,44,973,2017,30,33,40,91,94),
+(1,5,45,1012,2071,30,33,41,92,96),
+(1,5,46,1052,2125,30,34,42,94,98),
+(1,5,47,1093,2179,31,34,42,96,100),
+(1,5,48,1135,2233,31,35,43,98,102),
+(1,5,49,1178,2287,31,35,44,100,104),
+(1,5,50,1222,2341,32,36,44,102,106),
+(1,5,51,1267,2395,32,36,45,104,109),
+(1,5,52,1313,2449,32,36,45,106,111),
+(1,5,53,1360,2503,33,37,46,108,113),
+(1,5,54,1408,2557,33,37,47,110,115),
+(1,5,55,1457,2611,33,38,47,112,117),
+(1,5,56,1507,2665,34,38,48,114,119),
+(1,5,57,1558,2719,34,39,49,117,121),
+(1,5,58,1610,2773,34,39,49,119,124),
+(1,5,59,1663,2827,35,40,50,121,126),
+(1,5,60,1717,2881,35,40,51,123,128),
+(1,5,61,1887,3050,35,41,51,125,130),
+(1,5,62,2065,3204,36,41,52,127,132),
+(1,5,63,2251,3373,36,41,53,129,135),
+(1,5,64,2445,3527,37,42,54,132,137),
+(1,5,65,2647,3696,37,42,54,134,139),
+(1,5,66,2858,3850,37,43,55,136,142),
+(1,5,67,3078,4019,38,43,56,138,144),
+(1,5,68,3307,4173,38,44,57,140,146),
+(1,5,69,3545,4342,39,44,57,143,149),
+(1,5,70,3792,4511,39,45,58,145,151),
+(1,8,1,52,165,20,20,20,23,22),
+(1,8,2,67,190,20,20,20,24,23),
+(1,8,3,82,216,20,20,21,26,25),
+(1,8,4,97,243,20,20,21,27,26),
+(1,8,5,112,271,20,21,21,28,27),
+(1,8,6,127,300,20,21,21,30,29),
+(1,8,7,142,330,21,21,22,31,30),
+(1,8,8,157,361,21,21,22,33,31),
+(1,8,9,172,393,21,21,22,34,33),
+(1,8,10,187,426,21,21,23,36,34),
+(1,8,11,202,460,21,22,23,37,36),
+(1,8,12,217,495,21,22,23,39,37),
+(1,8,13,232,531,21,22,24,40,38),
+(1,8,14,247,568,21,22,24,42,40),
+(1,8,15,262,606,21,22,24,43,41),
+(1,8,16,277,645,21,23,25,45,43),
+(1,8,17,292,685,22,23,25,46,44),
+(1,8,18,307,726,22,23,25,48,46),
+(1,8,19,322,768,22,23,26,49,47),
+(1,8,20,337,811,22,23,26,51,49),
+(1,8,21,352,855,22,24,26,53,51),
+(1,8,22,367,900,22,24,27,54,52),
+(1,8,23,382,946,22,24,27,56,54),
+(1,8,24,398,993,23,24,28,58,55),
+(1,8,25,415,1041,23,25,28,59,57),
+(1,8,26,433,1090,23,25,28,61,59),
+(1,8,27,452,1140,23,25,29,63,60),
+(1,8,28,472,1191,23,25,29,65,62),
+(1,8,29,493,1242,23,25,30,66,64),
+(1,8,30,515,1293,24,26,30,68,65),
+(1,8,31,538,1344,24,26,30,70,67),
+(1,8,32,562,1395,24,26,31,72,69),
+(1,8,33,587,1446,24,27,31,73,70),
+(1,8,34,613,1497,24,27,32,75,72),
+(1,8,35,640,1548,24,27,32,77,74),
+(1,8,36,668,1599,25,27,33,79,76),
+(1,8,37,697,1650,25,28,33,81,78),
+(1,8,38,727,1701,25,28,34,83,79),
+(1,8,39,758,1752,25,28,34,85,81),
+(1,8,40,790,1803,25,28,35,87,83),
+(1,8,41,823,1854,26,29,35,88,85),
+(1,8,42,857,1905,26,29,35,90,87),
+(1,8,43,892,1956,26,29,36,92,89),
+(1,8,44,928,2007,26,30,36,94,91),
+(1,8,45,965,2058,26,30,37,96,92),
+(1,8,46,1003,2109,27,30,37,98,94),
+(1,8,47,1042,2160,27,31,38,100,96),
+(1,8,48,1082,2211,27,31,38,102,98),
+(1,8,49,1123,2262,27,31,39,104,100),
+(1,8,50,1165,2313,28,32,40,106,102),
+(1,8,51,1208,2364,28,32,40,109,104),
+(1,8,52,1252,2415,28,32,41,111,106),
+(1,8,53,1297,2466,28,33,41,113,108),
+(1,8,54,1343,2517,29,33,42,115,110),
+(1,8,55,1390,2568,29,33,42,117,112),
+(1,8,56,1438,2619,29,34,43,119,114),
+(1,8,57,1487,2670,29,34,43,121,117),
+(1,8,58,1537,2721,30,34,44,124,119),
+(1,8,59,1588,2772,30,35,44,126,121),
+(1,8,60,1640,2823,30,35,45,128,123),
+(1,8,61,1806,2956,30,35,46,130,125),
+(1,8,62,1981,3104,31,36,46,132,127),
+(1,8,63,2165,3237,31,36,47,135,129),
+(1,8,64,2358,3385,31,37,47,137,132),
+(1,8,65,2560,3518,32,37,48,139,134),
+(1,8,66,2772,3666,32,37,49,142,136),
+(1,8,67,2994,3799,32,38,49,144,138),
+(1,8,68,3226,3947,32,38,50,146,140),
+(1,8,69,3469,4080,33,39,50,149,143),
+(1,8,70,3723,4228,33,39,51,151,145),
+(1,9,1,53,140,20,20,21,22,22),
+(1,9,2,68,163,20,20,22,23,23),
+(1,9,3,83,187,21,21,22,24,24),
+(1,9,4,98,212,21,21,23,26,25),
+(1,9,5,113,238,21,21,23,27,27),
+(1,9,6,128,265,21,22,24,28,28),
+(1,9,7,143,293,22,22,24,29,29),
+(1,9,8,158,322,22,23,25,30,30),
+(1,9,9,173,352,22,23,26,32,31),
+(1,9,10,188,383,23,23,26,33,33),
+(1,9,11,203,415,23,24,27,34,34),
+(1,9,12,218,448,23,24,27,35,35),
+(1,9,13,233,482,24,25,28,37,36),
+(1,9,14,248,517,24,25,29,38,38),
+(1,9,15,263,553,24,25,29,39,39),
+(1,9,16,278,590,25,26,30,41,40),
+(1,9,17,293,628,25,26,31,42,42),
+(1,9,18,309,667,25,27,31,43,43),
+(1,9,19,326,707,26,27,32,45,44),
+(1,9,20,344,748,26,28,33,46,46),
+(1,9,21,363,790,26,28,33,48,47),
+(1,9,22,383,833,27,29,34,49,49),
+(1,9,23,404,877,27,29,35,51,50),
+(1,9,24,426,922,28,30,35,52,51),
+(1,9,25,449,968,28,30,36,53,53),
+(1,9,26,473,1015,28,31,37,55,54),
+(1,9,27,498,1063,29,31,37,56,56),
+(1,9,28,524,1112,29,32,38,58,57),
+(1,9,29,551,1162,30,32,39,59,59),
+(1,9,30,579,1213,30,33,40,61,60),
+(1,9,31,608,1264,30,33,40,62,62),
+(1,9,32,638,1315,31,34,41,64,63),
+(1,9,33,669,1366,31,34,42,66,65),
+(1,9,34,701,1417,32,35,43,67,66),
+(1,9,35,734,1468,32,35,44,69,68),
+(1,9,36,768,1519,33,36,44,70,69),
+(1,9,37,803,1570,33,36,45,72,71),
+(1,9,38,839,1621,34,37,46,74,73),
+(1,9,39,876,1672,34,38,47,75,74),
+(1,9,40,914,1723,35,38,48,77,76),
+(1,9,41,953,1774,35,39,48,79,78),
+(1,9,42,993,1825,35,39,49,80,79),
+(1,9,43,1034,1876,36,40,50,82,81),
+(1,9,44,1076,1927,36,40,51,84,83),
+(1,9,45,1119,1978,37,41,52,85,84),
+(1,9,46,1163,2029,37,42,53,87,86),
+(1,9,47,1208,2080,38,42,54,89,88),
+(1,9,48,1254,2131,38,43,55,91,89),
+(1,9,49,1301,2182,39,44,55,93,91),
+(1,9,50,1349,2233,40,44,56,94,93),
+(1,9,51,1398,2284,40,45,57,96,95),
+(1,9,52,1448,2335,41,45,58,98,97),
+(1,9,53,1499,2386,41,46,59,100,98),
+(1,9,54,1551,2437,42,47,60,102,100),
+(1,9,55,1604,2488,42,47,61,103,102),
+(1,9,56,1658,2539,43,48,62,105,104),
+(1,9,57,1713,2590,43,49,63,107,106),
+(1,9,58,1769,2641,44,49,64,109,108),
+(1,9,59,1826,2692,44,50,65,111,109),
+(1,9,60,1884,2743,45,51,66,113,111),
+(1,9,61,2060,2897,46,51,67,115,113),
+(1,9,62,2245,3051,46,52,68,117,115),
+(1,9,63,2439,3220,47,53,69,119,117),
+(1,9,64,2642,3374,47,54,70,121,119),
+(1,9,65,2854,3528,48,54,71,123,121),
+(1,9,66,3076,3697,49,55,72,125,123),
+(1,9,67,3308,3851,49,56,73,127,125),
+(1,9,68,3551,4005,50,57,74,129,127),
+(1,9,69,3805,4174,50,57,75,131,129),
+(1,9,70,4070,4328,51,58,76,133,131),
+(2,1,1,80,0,26,17,24,17,23),
+(2,1,2,99,0,27,18,25,17,23),
+(2,1,3,118,0,29,19,26,17,24),
+(2,1,4,137,0,30,19,27,17,24),
+(2,1,5,156,0,31,20,29,17,24),
+(2,1,6,175,0,32,21,30,17,24),
+(2,1,7,194,0,34,22,31,18,25),
+(2,1,8,213,0,35,23,32,18,25),
+(2,1,9,232,0,37,24,34,18,25),
+(2,1,10,251,0,38,24,35,18,26),
+(2,1,11,270,0,39,25,36,18,26),
+(2,1,12,289,0,41,26,37,18,26),
+(2,1,13,308,0,42,27,39,18,27),
+(2,1,14,328,0,44,28,40,18,27),
+(2,1,15,349,0,45,29,41,18,27),
+(2,1,16,371,0,47,30,43,19,28),
+(2,1,17,394,0,48,31,44,19,28),
+(2,1,18,418,0,50,32,45,19,28),
+(2,1,19,443,0,51,33,47,19,29),
+(2,1,20,469,0,53,34,48,19,29),
+(2,1,21,496,0,54,34,50,19,29),
+(2,1,22,524,0,56,35,51,19,30),
+(2,1,23,553,0,57,36,52,20,30),
+(2,1,24,583,0,59,37,54,20,30),
+(2,1,25,614,0,60,38,55,20,31),
+(2,1,26,646,0,62,39,57,20,31),
+(2,1,27,679,0,64,40,58,20,32),
+(2,1,28,713,0,65,41,60,20,32),
+(2,1,29,748,0,67,43,61,21,32),
+(2,1,30,784,0,69,44,63,21,33),
+(2,1,31,821,0,70,45,64,21,33),
+(2,1,32,859,0,72,46,66,21,34),
+(2,1,33,898,0,74,47,67,21,34),
+(2,1,34,938,0,76,48,69,21,35),
+(2,1,35,979,0,77,49,71,22,35),
+(2,1,36,1021,0,79,50,72,22,36),
+(2,1,37,1065,0,81,51,74,22,36),
+(2,1,38,1111,0,83,52,76,22,36),
+(2,1,39,1159,0,84,53,77,22,37),
+(2,1,40,1209,0,86,55,79,23,37),
+(2,1,41,1261,0,88,56,81,23,38),
+(2,1,42,1315,0,90,57,82,23,38),
+(2,1,43,1371,0,92,58,84,23,39),
+(2,1,44,1429,0,94,59,86,23,39),
+(2,1,45,1489,0,96,60,87,24,40),
+(2,1,46,1551,0,98,62,89,24,40),
+(2,1,47,1615,0,100,63,91,24,41),
+(2,1,48,1681,0,101,64,93,24,41),
+(2,1,49,1749,0,103,65,94,25,42),
+(2,1,50,1819,0,105,66,96,25,42),
+(2,1,51,1891,0,107,68,98,25,43),
+(2,1,52,1965,0,109,69,100,25,43),
+(2,1,53,2041,0,111,70,102,25,44),
+(2,1,54,2119,0,113,71,104,26,45),
+(2,1,55,2199,0,115,73,105,26,45),
+(2,1,56,2281,0,118,74,107,26,46),
+(2,1,57,2365,0,120,75,109,26,46),
+(2,1,58,2451,0,122,77,111,27,47),
+(2,1,59,2539,0,124,78,113,27,47),
+(2,1,60,2629,0,126,79,115,27,48),
+(2,1,61,2862,0,128,81,117,27,48),
+(2,1,62,3109,0,130,82,119,28,49),
+(2,1,63,3370,0,132,83,121,28,50),
+(2,1,64,3645,0,135,85,123,28,50),
+(2,1,65,3935,0,137,86,125,29,51),
+(2,1,66,4240,0,139,87,127,29,52),
+(2,1,67,4560,0,141,89,129,29,52),
+(2,1,68,4896,0,143,90,131,29,53),
+(2,1,69,5248,0,146,92,133,30,53),
+(2,1,70,5616,0,148,93,135,30,54),
+(2,3,1,76,82,23,20,23,17,24),
+(2,3,2,93,102,23,21,24,18,25),
+(2,3,3,110,123,24,23,25,18,25),
+(2,3,4,127,145,24,24,26,19,26),
+(2,3,5,144,168,25,25,27,19,26),
+(2,3,6,161,192,25,27,28,20,27),
+(2,3,7,178,217,26,28,28,21,28),
+(2,3,8,195,243,26,30,29,21,28),
+(2,3,9,212,270,26,31,30,22,29),
+(2,3,10,229,298,27,33,31,22,30),
+(2,3,11,246,327,27,34,32,23,30),
+(2,3,12,263,357,28,36,33,24,31),
+(2,3,13,280,388,28,37,34,24,32),
+(2,3,14,298,420,29,39,35,25,33),
+(2,3,15,317,453,29,40,36,26,33),
+(2,3,16,337,487,30,42,37,26,34),
+(2,3,17,358,522,30,43,39,27,35),
+(2,3,18,380,558,31,45,40,28,35),
+(2,3,19,403,595,31,47,41,28,36),
+(2,3,20,427,633,32,48,42,29,37),
+(2,3,21,452,672,32,50,43,30,38),
+(2,3,22,478,712,33,51,44,31,39),
+(2,3,23,505,753,34,53,45,31,39),
+(2,3,24,533,795,34,55,46,32,40),
+(2,3,25,562,838,35,57,47,33,41),
+(2,3,26,592,882,35,58,48,34,42),
+(2,3,27,623,927,36,60,50,34,43),
+(2,3,28,655,972,36,62,51,35,43),
+(2,3,29,688,1017,37,63,52,36,44),
+(2,3,30,722,1062,38,65,53,37,45),
+(2,3,31,757,1107,38,67,54,37,46),
+(2,3,32,793,1152,39,69,56,38,47),
+(2,3,33,830,1197,39,71,57,39,48),
+(2,3,34,868,1242,40,72,58,40,49),
+(2,3,35,907,1287,41,74,59,41,49),
+(2,3,36,947,1332,41,76,61,42,50),
+(2,3,37,988,1377,42,78,62,42,51),
+(2,3,38,1030,1422,43,80,63,43,52),
+(2,3,39,1073,1467,43,82,64,44,53),
+(2,3,40,1117,1512,44,84,66,45,54),
+(2,3,41,1162,1557,45,86,67,46,55),
+(2,3,42,1208,1602,45,88,68,47,56),
+(2,3,43,1255,1647,46,90,70,47,57),
+(2,3,44,1303,1692,47,91,71,48,58),
+(2,3,45,1352,1737,47,93,72,49,59),
+(2,3,46,1402,1782,48,95,74,50,60),
+(2,3,47,1453,1827,49,98,75,51,61),
+(2,3,48,1505,1872,50,100,77,52,62),
+(2,3,49,1558,1917,50,102,78,53,63),
+(2,3,50,1612,1962,51,104,79,54,64),
+(2,3,51,1667,2007,52,106,81,55,65),
+(2,3,52,1723,2052,52,108,82,56,66),
+(2,3,53,1780,2097,53,110,84,57,67),
+(2,3,54,1838,2142,54,112,85,58,68),
+(2,3,55,1897,2187,55,114,87,59,69),
+(2,3,56,1957,2232,55,116,88,60,70),
+(2,3,57,2018,2277,56,118,90,61,71),
+(2,3,58,2080,2322,57,121,91,62,72),
+(2,3,59,2143,2367,58,123,93,63,73),
+(2,3,60,2207,2412,59,125,94,64,74),
+(2,3,61,2393,2593,59,127,96,65,76),
+(2,3,62,2588,2774,60,130,97,66,77),
+(2,3,63,2792,2955,61,132,99,67,78),
+(2,3,64,3005,3136,62,134,100,68,79),
+(2,3,65,3227,3332,63,136,102,69,80),
+(2,3,66,3459,3513,64,139,104,70,81),
+(2,3,67,3701,3694,64,141,105,71,82),
+(2,3,68,3953,3875,65,143,107,72,84),
+(2,3,69,4215,4056,66,146,108,73,85),
+(2,3,70,4488,4252,67,148,110,74,86),
+(2,4,1,75,0,24,20,23,17,23),
+(2,4,2,92,0,25,21,24,17,23),
+(2,4,3,109,0,25,23,24,17,24),
+(2,4,4,126,0,26,24,25,17,24),
+(2,4,5,143,0,27,26,26,18,24),
+(2,4,6,160,0,28,27,26,18,25),
+(2,4,7,177,0,29,29,27,18,25),
+(2,4,8,194,0,29,30,28,18,26),
+(2,4,9,211,0,30,32,29,18,26),
+(2,4,10,228,0,31,33,29,19,26),
+(2,4,11,245,0,32,35,30,19,27),
+(2,4,12,262,0,33,37,31,19,27),
+(2,4,13,279,0,34,38,32,19,28),
+(2,4,14,296,0,34,40,32,19,28),
+(2,4,15,313,0,35,41,33,19,28),
+(2,4,16,331,0,36,43,34,20,29),
+(2,4,17,350,0,37,45,35,20,29),
+(2,4,18,370,0,38,46,36,20,30),
+(2,4,19,391,0,39,48,37,20,30),
+(2,4,20,413,0,40,50,37,21,31),
+(2,4,21,436,0,41,52,38,21,31),
+(2,4,22,460,0,42,53,39,21,31),
+(2,4,23,485,0,43,55,40,21,32),
+(2,4,24,511,0,43,57,41,21,32),
+(2,4,25,538,0,44,59,42,22,33),
+(2,4,26,566,0,45,60,43,22,33),
+(2,4,27,595,0,46,62,44,22,34),
+(2,4,28,625,0,47,64,44,22,34),
+(2,4,29,656,0,48,66,45,23,35),
+(2,4,30,688,0,49,68,46,23,35),
+(2,4,31,721,0,50,70,47,23,36),
+(2,4,32,755,0,51,72,48,23,36),
+(2,4,33,790,0,53,73,49,24,37),
+(2,4,34,826,0,54,75,50,24,38),
+(2,4,35,863,0,55,77,51,24,38),
+(2,4,36,901,0,56,79,52,24,39),
+(2,4,37,940,0,57,81,53,25,39),
+(2,4,38,980,0,58,83,54,25,40),
+(2,4,39,1021,0,59,85,55,25,40),
+(2,4,40,1063,0,60,87,56,26,41),
+(2,4,41,1106,0,61,89,57,26,41),
+(2,4,42,1150,0,62,91,58,26,42),
+(2,4,43,1195,0,63,93,59,27,43),
+(2,4,44,1241,0,65,95,60,27,43),
+(2,4,45,1288,0,66,98,61,27,44),
+(2,4,46,1336,0,67,100,62,27,44),
+(2,4,47,1385,0,68,102,64,28,45),
+(2,4,48,1435,0,69,104,65,28,46),
+(2,4,49,1486,0,71,106,66,28,46),
+(2,4,50,1538,0,72,108,67,29,47),
+(2,4,51,1591,0,73,110,68,29,48),
+(2,4,52,1645,0,74,113,69,29,48),
+(2,4,53,1700,0,75,115,70,30,49),
+(2,4,54,1756,0,77,117,71,30,50),
+(2,4,55,1813,0,78,119,73,30,50),
+(2,4,56,1871,0,79,122,74,31,51),
+(2,4,57,1930,0,80,124,75,31,52),
+(2,4,58,1990,0,82,126,76,31,52),
+(2,4,59,2051,0,83,129,77,32,53),
+(2,4,60,2113,0,84,131,78,32,54),
+(2,4,61,2302,0,86,133,80,33,54),
+(2,4,62,2500,0,87,136,81,33,55),
+(2,4,63,2707,0,88,138,82,33,56),
+(2,4,64,2923,0,90,140,83,34,57),
+(2,4,65,3149,0,91,143,85,34,57),
+(2,4,66,3385,0,92,145,86,34,58),
+(2,4,67,3631,0,94,148,87,35,59),
+(2,4,68,3888,0,95,150,88,35,59),
+(2,4,69,4156,0,97,153,90,36,60),
+(2,4,70,4435,0,98,155,91,36,61),
+(2,7,1,77,73,24,17,23,18,25),
+(2,7,2,94,94,25,17,24,19,26),
+(2,7,3,111,116,26,18,25,20,27),
+(2,7,4,128,139,26,18,26,21,28),
+(2,7,5,145,163,27,19,27,22,29),
+(2,7,6,162,188,28,19,28,23,30),
+(2,7,7,179,214,29,20,29,24,31),
+(2,7,8,196,241,30,20,30,25,32),
+(2,7,9,213,269,31,21,31,26,33),
+(2,7,10,230,298,32,21,32,27,34),
+(2,7,11,247,328,33,22,33,28,36),
+(2,7,12,264,359,34,22,34,29,37),
+(2,7,13,281,391,34,23,35,30,38),
+(2,7,14,298,424,35,23,36,31,39),
+(2,7,15,315,458,36,24,37,32,40),
+(2,7,16,332,493,37,24,39,33,41),
+(2,7,17,350,529,38,25,40,34,43),
+(2,7,18,369,566,39,25,41,35,44),
+(2,7,19,389,604,40,26,42,36,45),
+(2,7,20,410,643,41,26,43,37,46),
+(2,7,21,432,683,42,27,44,38,47),
+(2,7,22,455,724,43,27,45,39,49),
+(2,7,23,479,766,44,28,47,40,50),
+(2,7,24,504,809,45,28,48,41,51),
+(2,7,25,530,853,47,29,49,43,52),
+(2,7,26,557,898,48,30,50,44,54),
+(2,7,27,585,944,49,30,52,45,55),
+(2,7,28,614,991,50,31,53,46,56),
+(2,7,29,644,1039,51,31,54,47,58),
+(2,7,30,675,1088,52,32,55,48,59),
+(2,7,31,707,1138,53,33,57,50,60),
+(2,7,32,740,1189,54,33,58,51,62),
+(2,7,33,774,1240,55,34,59,52,63),
+(2,7,34,809,1291,57,34,61,53,65),
+(2,7,35,845,1342,58,35,62,55,66),
+(2,7,36,882,1393,59,36,63,56,67),
+(2,7,37,920,1444,60,36,65,57,69),
+(2,7,38,959,1495,61,37,66,58,70),
+(2,7,39,999,1546,62,38,67,60,72),
+(2,7,40,1040,1597,64,38,69,61,73),
+(2,7,41,1082,1648,65,39,70,62,75),
+(2,7,42,1125,1699,66,40,72,64,76),
+(2,7,43,1169,1750,67,40,73,65,78),
+(2,7,44,1214,1801,69,41,74,66,79),
+(2,7,45,1260,1852,70,42,76,68,81),
+(2,7,46,1307,1903,71,42,77,69,82),
+(2,7,47,1355,1954,72,43,79,70,84),
+(2,7,48,1404,2005,74,44,80,72,85),
+(2,7,49,1454,2056,75,45,82,73,87),
+(2,7,50,1505,2107,76,45,83,75,89),
+(2,7,51,1557,2158,78,46,85,76,90),
+(2,7,52,1610,2209,79,47,86,77,92),
+(2,7,53,1664,2260,80,47,88,79,93),
+(2,7,54,1719,2311,82,48,90,80,95),
+(2,7,55,1775,2362,83,49,91,82,97),
+(2,7,56,1832,2413,85,50,93,83,98),
+(2,7,57,1890,2464,86,50,94,85,100),
+(2,7,58,1949,2515,87,51,96,86,102),
+(2,7,59,2009,2566,89,52,97,88,103),
+(2,7,60,2070,2617,90,53,99,89,105),
+(2,7,61,2238,2776,92,54,101,91,107),
+(2,7,62,2414,2935,93,54,102,92,109),
+(2,7,63,2598,3109,95,55,104,94,110),
+(2,7,64,2790,3268,96,56,106,95,112),
+(2,7,65,2991,3427,97,57,107,97,114),
+(2,7,66,3201,3601,99,58,109,99,116),
+(2,7,67,3421,3760,100,58,111,100,118),
+(2,7,68,3651,3919,102,59,113,102,119),
+(2,7,69,3891,4093,103,60,114,103,121),
+(2,7,70,4141,4252,105,61,116,105,123),
+(2,9,1,73,109,23,17,23,19,25),
+(2,9,2,88,132,23,17,24,20,26),
+(2,9,3,103,156,24,18,24,21,27),
+(2,9,4,118,181,24,18,25,23,28),
+(2,9,5,133,207,24,18,25,24,30),
+(2,9,6,148,234,24,19,26,25,31),
+(2,9,7,163,262,25,19,26,26,32),
+(2,9,8,178,291,25,20,27,27,33),
+(2,9,9,193,321,25,20,27,29,34),
+(2,9,10,208,352,26,20,28,30,36),
+(2,9,11,223,384,26,21,29,31,37),
+(2,9,12,238,417,26,21,29,33,38),
+(2,9,13,253,451,27,22,30,34,39),
+(2,9,14,268,486,27,22,31,35,41),
+(2,9,15,283,522,27,23,31,37,42),
+(2,9,16,298,559,28,23,32,38,43),
+(2,9,17,313,597,28,23,32,39,45),
+(2,9,18,329,636,28,24,33,41,46),
+(2,9,19,346,676,29,24,34,42,47),
+(2,9,20,364,717,29,25,34,43,49),
+(2,9,21,383,759,29,25,35,45,50),
+(2,9,22,403,802,30,26,36,46,51),
+(2,9,23,424,846,30,26,37,48,53),
+(2,9,24,446,891,30,27,37,49,54),
+(2,9,25,469,937,31,27,38,51,56),
+(2,9,26,493,984,31,28,39,52,57),
+(2,9,27,518,1032,32,28,39,54,59),
+(2,9,28,544,1081,32,29,40,55,60),
+(2,9,29,571,1131,32,29,41,57,62),
+(2,9,30,599,1182,33,30,42,58,63),
+(2,9,31,628,1233,33,30,42,60,65),
+(2,9,32,658,1284,34,31,43,61,66),
+(2,9,33,689,1335,34,31,44,63,68),
+(2,9,34,721,1386,35,32,45,64,69),
+(2,9,35,754,1437,35,32,45,66,71),
+(2,9,36,788,1488,36,33,46,68,72),
+(2,9,37,823,1539,36,34,47,69,74),
+(2,9,38,859,1590,36,34,48,71,76),
+(2,9,39,896,1641,37,35,49,72,77),
+(2,9,40,934,1692,37,35,50,74,79),
+(2,9,41,973,1743,38,36,50,76,80),
+(2,9,42,1013,1794,38,36,51,77,82),
+(2,9,43,1054,1845,39,37,52,79,84),
+(2,9,44,1096,1896,39,38,53,81,85),
+(2,9,45,1139,1947,40,38,54,83,87),
+(2,9,46,1183,1998,40,39,55,84,89),
+(2,9,47,1228,2049,41,39,56,86,91),
+(2,9,48,1274,2100,41,40,56,88,92),
+(2,9,49,1321,2151,42,41,57,90,94),
+(2,9,50,1369,2202,42,41,58,91,96),
+(2,9,51,1418,2253,43,42,59,93,98),
+(2,9,52,1468,2304,43,43,60,95,99),
+(2,9,53,1519,2355,44,43,61,97,101),
+(2,9,54,1571,2406,45,44,62,99,103),
+(2,9,55,1624,2457,45,45,63,101,105),
+(2,9,56,1678,2508,46,45,64,102,107),
+(2,9,57,1733,2559,46,46,65,104,109),
+(2,9,58,1789,2610,47,47,66,106,110),
+(2,9,59,1846,2661,47,47,67,108,112),
+(2,9,60,1904,2712,48,48,68,110,114),
+(2,9,61,2080,2866,48,49,69,112,116),
+(2,9,62,2265,3020,49,49,70,114,118),
+(2,9,63,2459,3189,50,50,71,116,120),
+(2,9,64,2662,3343,50,51,72,118,122),
+(2,9,65,2874,3497,51,51,73,120,124),
+(2,9,66,3096,3666,52,52,74,122,126),
+(2,9,67,3328,3820,52,53,75,124,128),
+(2,9,68,3571,3974,53,54,76,126,130),
+(2,9,69,3825,4143,53,54,77,128,132),
+(2,9,70,4090,4297,54,55,78,130,134),
+(3,1,1,90,0,25,16,25,19,19),
+(3,1,2,109,0,26,17,26,19,19),
+(3,1,3,128,0,28,18,27,19,20),
+(3,1,4,147,0,29,18,28,19,20),
+(3,1,5,166,0,30,19,30,19,20),
+(3,1,6,185,0,31,20,31,19,20),
+(3,1,7,204,0,33,21,32,20,21),
+(3,1,8,223,0,34,22,33,20,21),
+(3,1,9,242,0,36,23,35,20,21),
+(3,1,10,261,0,37,23,36,20,22),
+(3,1,11,280,0,38,24,37,20,22),
+(3,1,12,299,0,40,25,38,20,22),
+(3,1,13,318,0,41,26,40,20,23),
+(3,1,14,338,0,43,27,41,20,23),
+(3,1,15,359,0,44,28,42,20,23),
+(3,1,16,381,0,46,29,44,21,24),
+(3,1,17,404,0,47,30,45,21,24),
+(3,1,18,428,0,49,31,46,21,24),
+(3,1,19,453,0,50,32,48,21,25),
+(3,1,20,479,0,52,33,49,21,25),
+(3,1,21,506,0,53,34,51,21,26),
+(3,1,22,534,0,55,34,52,21,26),
+(3,1,23,563,0,56,35,53,21,26),
+(3,1,24,593,0,58,36,55,22,27),
+(3,1,25,624,0,59,37,56,22,27),
+(3,1,26,656,0,61,38,58,22,27),
+(3,1,27,689,0,63,39,59,22,28),
+(3,1,28,723,0,64,41,61,22,28),
+(3,1,29,758,0,66,42,62,22,29),
+(3,1,30,794,0,68,43,64,23,29),
+(3,1,31,831,0,69,44,65,23,30),
+(3,1,32,869,0,71,45,67,23,30),
+(3,1,33,908,0,73,46,68,23,30),
+(3,1,34,948,0,75,47,70,23,31),
+(3,1,35,989,0,76,48,72,24,31),
+(3,1,36,1031,0,78,49,73,24,32),
+(3,1,37,1075,0,80,50,75,24,32),
+(3,1,38,1121,0,82,51,76,24,33),
+(3,1,39,1169,0,84,52,78,24,33),
+(3,1,40,1219,0,85,54,80,24,34),
+(3,1,41,1271,0,87,55,81,25,34),
+(3,1,42,1325,0,89,56,83,25,35),
+(3,1,43,1381,0,91,57,85,25,35),
+(3,1,44,1439,0,93,58,87,25,36),
+(3,1,45,1499,0,95,59,88,26,36),
+(3,1,46,1561,0,97,61,90,26,37),
+(3,1,47,1625,0,99,62,92,26,37),
+(3,1,48,1691,0,101,63,94,26,38),
+(3,1,49,1759,0,102,64,95,26,38),
+(3,1,50,1829,0,104,65,97,27,39),
+(3,1,51,1901,0,106,67,99,27,39),
+(3,1,52,1975,0,108,68,101,27,40),
+(3,1,53,2051,0,110,69,103,27,40),
+(3,1,54,2129,0,112,70,104,28,41),
+(3,1,55,2209,0,115,72,106,28,41),
+(3,1,56,2291,0,117,73,108,28,42),
+(3,1,57,2375,0,119,74,110,28,42),
+(3,1,58,2461,0,121,76,112,29,43),
+(3,1,59,2549,0,123,77,114,29,43),
+(3,1,60,2639,0,125,78,116,29,44),
+(3,1,61,2872,0,127,80,118,29,45),
+(3,1,62,3119,0,129,81,120,30,45),
+(3,1,63,3380,0,131,82,122,30,46),
+(3,1,64,3655,0,134,84,124,30,46),
+(3,1,65,3945,0,136,85,126,31,47),
+(3,1,66,4250,0,138,86,128,31,48),
+(3,1,67,4570,0,140,88,130,31,48),
+(3,1,68,4906,0,142,89,132,31,49),
+(3,1,69,5258,0,145,91,134,32,49),
+(3,1,70,5626,0,147,92,136,32,50),
+(3,2,1,88,79,24,16,25,19,20),
+(3,2,2,106,98,25,17,26,20,21),
+(3,2,3,124,118,26,17,27,20,21),
+(3,2,4,142,139,27,18,28,21,22),
+(3,2,5,160,161,28,18,29,22,23),
+(3,2,6,178,184,29,19,30,22,24),
+(3,2,7,196,208,31,20,31,23,24),
+(3,2,8,214,233,32,20,32,24,25),
+(3,2,9,232,259,33,21,33,24,26),
+(3,2,10,250,286,34,21,34,25,26),
+(3,2,11,268,314,35,22,36,26,27),
+(3,2,12,286,343,36,23,37,26,28),
+(3,2,13,304,373,38,23,38,27,29),
+(3,2,14,322,404,39,24,39,28,30),
+(3,2,15,341,436,40,25,40,29,30),
+(3,2,16,361,469,41,25,41,29,31),
+(3,2,17,382,503,43,26,43,30,32),
+(3,2,18,404,538,44,27,44,31,33),
+(3,2,19,427,574,45,28,45,32,34),
+(3,2,20,451,611,47,28,46,32,35),
+(3,2,21,476,649,48,29,47,33,35),
+(3,2,22,502,688,49,30,49,34,36),
+(3,2,23,529,728,51,30,50,35,37),
+(3,2,24,557,769,52,31,51,36,38),
+(3,2,25,586,811,53,32,52,36,39),
+(3,2,26,616,853,55,33,54,37,40),
+(3,2,27,647,895,56,33,55,38,41),
+(3,2,28,679,937,57,34,56,39,42),
+(3,2,29,712,979,59,35,58,40,43),
+(3,2,30,746,1021,60,36,59,41,43),
+(3,2,31,781,1063,62,37,60,42,44),
+(3,2,32,817,1105,63,37,62,42,45),
+(3,2,33,854,1147,65,38,63,43,46),
+(3,2,34,892,1189,66,39,65,44,47),
+(3,2,35,931,1231,68,40,66,45,48),
+(3,2,36,971,1273,69,41,67,46,49),
+(3,2,37,1012,1315,71,41,69,47,50),
+(3,2,38,1054,1357,72,42,70,48,51),
+(3,2,39,1097,1399,74,43,72,49,52),
+(3,2,40,1141,1441,75,44,73,50,53),
+(3,2,41,1186,1483,77,45,75,51,54),
+(3,2,42,1232,1525,78,46,76,52,55),
+(3,2,43,1279,1567,80,47,78,53,56),
+(3,2,44,1327,1609,82,47,79,54,57),
+(3,2,45,1376,1651,83,48,81,55,59),
+(3,2,46,1426,1693,85,49,82,56,60),
+(3,2,47,1477,1735,87,50,84,57,61),
+(3,2,48,1529,1777,88,51,85,58,62),
+(3,2,49,1582,1819,90,52,87,59,63),
+(3,2,50,1636,1861,92,53,89,60,64),
+(3,2,51,1691,1903,93,54,90,61,65),
+(3,2,52,1747,1945,95,55,92,62,66),
+(3,2,53,1804,1987,97,56,93,63,67),
+(3,2,54,1862,2029,98,57,95,64,69),
+(3,2,55,1921,2071,100,58,97,65,70),
+(3,2,56,1981,2113,102,59,98,66,71),
+(3,2,57,2042,2155,104,60,100,67,72),
+(3,2,58,2104,2197,106,61,102,68,73),
+(3,2,59,2167,2239,107,62,103,69,74),
+(3,2,60,2231,2281,109,63,105,70,76),
+(3,2,61,2411,2440,111,64,107,72,77),
+(3,2,62,2599,2599,113,65,109,73,78),
+(3,2,63,2795,2773,115,66,110,74,79),
+(3,2,64,3000,2932,117,67,112,75,80),
+(3,2,65,3214,3091,118,68,114,76,82),
+(3,2,66,3437,3265,120,69,116,77,83),
+(3,2,67,3670,3424,122,70,118,78,84),
+(3,2,68,3913,3583,124,71,119,80,85),
+(3,2,69,4166,3757,126,72,121,81,87),
+(3,2,70,4429,3916,128,73,123,82,88),
+(3,3,1,86,84,22,19,24,19,20),
+(3,3,2,103,104,22,20,25,20,21),
+(3,3,3,120,125,23,22,26,20,21),
+(3,3,4,137,147,23,23,27,21,22),
+(3,3,5,154,170,24,25,28,21,23),
+(3,3,6,171,194,24,26,29,22,23),
+(3,3,7,188,219,25,27,29,23,24),
+(3,3,8,205,245,25,29,30,23,25),
+(3,3,9,222,272,25,30,31,24,25),
+(3,3,10,239,300,26,32,32,24,26),
+(3,3,11,256,329,26,33,33,25,27),
+(3,3,12,273,359,27,35,34,26,27),
+(3,3,13,290,390,27,36,35,26,28),
+(3,3,14,308,422,28,38,36,27,29),
+(3,3,15,327,455,28,39,37,28,29),
+(3,3,16,347,489,29,41,38,28,30),
+(3,3,17,368,524,29,42,39,29,31),
+(3,3,18,390,560,30,44,41,30,32),
+(3,3,19,413,597,30,46,42,30,32),
+(3,3,20,437,635,31,47,43,31,33),
+(3,3,21,462,674,32,49,44,32,34),
+(3,3,22,488,714,32,51,45,33,35),
+(3,3,23,515,755,33,52,46,33,36),
+(3,3,24,543,797,33,54,47,34,36),
+(3,3,25,572,840,34,56,48,35,37),
+(3,3,26,602,884,34,57,49,35,38),
+(3,3,27,633,929,35,59,51,36,39),
+(3,3,28,665,974,35,61,52,37,40),
+(3,3,29,698,1019,36,63,53,38,40),
+(3,3,30,732,1064,37,64,54,39,41),
+(3,3,31,767,1109,37,66,55,39,42),
+(3,3,32,803,1154,38,68,57,40,43),
+(3,3,33,840,1199,38,70,58,41,44),
+(3,3,34,878,1244,39,71,59,42,45),
+(3,3,35,917,1289,40,73,60,43,46),
+(3,3,36,957,1334,40,75,62,43,47),
+(3,3,37,998,1379,41,77,63,44,47),
+(3,3,38,1040,1424,42,79,64,45,48),
+(3,3,39,1083,1469,42,81,65,46,49),
+(3,3,40,1127,1514,43,83,67,47,50),
+(3,3,41,1172,1559,44,85,68,48,51),
+(3,3,42,1218,1604,44,87,69,49,52),
+(3,3,43,1265,1649,45,89,71,49,53),
+(3,3,44,1313,1694,46,91,72,50,54),
+(3,3,45,1362,1739,46,93,73,51,55),
+(3,3,46,1412,1784,47,95,75,52,56),
+(3,3,47,1463,1829,48,97,76,53,57),
+(3,3,48,1515,1874,49,99,78,54,58),
+(3,3,49,1568,1919,49,101,79,55,59),
+(3,3,50,1622,1964,50,103,80,56,60),
+(3,3,51,1677,2009,51,105,82,57,61),
+(3,3,52,1733,2054,51,107,83,58,62),
+(3,3,53,1790,2099,52,109,85,59,63),
+(3,3,54,1848,2144,53,111,86,60,64),
+(3,3,55,1907,2189,54,113,88,61,65),
+(3,3,56,1967,2234,55,115,89,62,66),
+(3,3,57,2028,2279,55,118,91,62,67),
+(3,3,58,2090,2324,56,120,92,63,68),
+(3,3,59,2153,2369,57,122,94,64,70),
+(3,3,60,2217,2414,58,124,95,65,71),
+(3,3,61,2403,2595,58,126,97,67,72),
+(3,3,62,2598,2776,59,129,98,68,73),
+(3,3,63,2802,2957,60,131,100,69,74),
+(3,3,64,3015,3138,61,133,101,70,75),
+(3,3,65,3237,3334,62,135,103,71,76),
+(3,3,66,3469,3515,63,138,105,72,77),
+(3,3,67,3711,3696,63,140,106,73,78),
+(3,3,68,3963,3877,64,142,108,74,80),
+(3,3,69,4225,4058,65,145,109,75,81),
+(3,3,70,4498,4254,66,147,111,76,82),
+(3,4,1,85,0,23,19,24,19,19),
+(3,4,2,102,0,24,20,25,19,19),
+(3,4,3,119,0,24,22,25,19,20),
+(3,4,4,136,0,25,23,26,19,20),
+(3,4,5,153,0,26,25,27,20,20),
+(3,4,6,170,0,27,26,27,20,21),
+(3,4,7,187,0,28,28,28,20,21),
+(3,4,8,204,0,28,29,29,20,22),
+(3,4,9,221,0,29,31,30,20,22),
+(3,4,10,238,0,30,32,30,20,22),
+(3,4,11,255,0,31,34,31,21,23),
+(3,4,12,272,0,32,36,32,21,23),
+(3,4,13,289,0,33,37,33,21,24),
+(3,4,14,306,0,33,39,33,21,24),
+(3,4,15,323,0,34,40,34,21,25),
+(3,4,16,341,0,35,42,35,22,25),
+(3,4,17,360,0,36,44,36,22,25),
+(3,4,18,380,0,37,45,37,22,26),
+(3,4,19,401,0,38,47,38,22,26),
+(3,4,20,423,0,39,49,38,22,27),
+(3,4,21,446,0,40,51,39,23,27),
+(3,4,22,470,0,41,52,40,23,28),
+(3,4,23,495,0,42,54,41,23,28),
+(3,4,24,521,0,43,56,42,23,29),
+(3,4,25,548,0,44,58,43,24,29),
+(3,4,26,576,0,44,59,44,24,30),
+(3,4,27,605,0,45,61,44,24,30),
+(3,4,28,635,0,46,63,45,24,31),
+(3,4,29,666,0,47,65,46,25,31),
+(3,4,30,698,0,48,67,47,25,32),
+(3,4,31,731,0,49,69,48,25,32),
+(3,4,32,765,0,51,71,49,25,33),
+(3,4,33,800,0,52,72,50,26,33),
+(3,4,34,836,0,53,74,51,26,34),
+(3,4,35,873,0,54,76,52,26,34),
+(3,4,36,911,0,55,78,53,26,35),
+(3,4,37,950,0,56,80,54,27,35),
+(3,4,38,990,0,57,82,55,27,36),
+(3,4,39,1031,0,58,84,56,27,37),
+(3,4,40,1073,0,59,86,57,28,37),
+(3,4,41,1116,0,60,88,58,28,38),
+(3,4,42,1160,0,61,90,59,28,38),
+(3,4,43,1205,0,63,92,60,28,39),
+(3,4,44,1251,0,64,95,61,29,39),
+(3,4,45,1298,0,65,97,62,29,40),
+(3,4,46,1346,0,66,99,63,29,41),
+(3,4,47,1395,0,67,101,64,30,41),
+(3,4,48,1445,0,68,103,66,30,42),
+(3,4,49,1496,0,70,105,67,30,43),
+(3,4,50,1548,0,71,107,68,31,43),
+(3,4,51,1601,0,72,110,69,31,44),
+(3,4,52,1655,0,73,112,70,31,44),
+(3,4,53,1710,0,74,114,71,32,45),
+(3,4,54,1766,0,76,116,72,32,46),
+(3,4,55,1823,0,77,118,73,32,46),
+(3,4,56,1881,0,78,121,75,33,47),
+(3,4,57,1940,0,80,123,76,33,48),
+(3,4,58,2000,0,81,125,77,33,48),
+(3,4,59,2061,0,82,128,78,34,49),
+(3,4,60,2123,0,83,130,79,34,50),
+(3,4,61,2312,0,85,132,81,34,51),
+(3,4,62,2510,0,86,135,82,35,51),
+(3,4,63,2717,0,87,137,83,35,52),
+(3,4,64,2933,0,89,139,84,36,53),
+(3,4,65,3159,0,90,142,86,36,53),
+(3,4,66,3395,0,91,144,87,36,54),
+(3,4,67,3641,0,93,147,88,37,55),
+(3,4,68,3898,0,94,149,89,37,56),
+(3,4,69,4166,0,96,152,91,38,56),
+(3,4,70,4445,0,97,154,92,38,57),
+(3,5,1,82,145,22,16,23,21,22),
+(3,5,2,97,169,22,16,23,22,23),
+(3,5,3,112,194,22,16,24,24,25),
+(3,5,4,127,220,22,17,24,25,26),
+(3,5,5,142,247,23,17,24,26,27),
+(3,5,6,157,275,23,17,25,28,29),
+(3,5,7,172,304,23,17,25,29,30),
+(3,5,8,187,334,23,18,26,30,32),
+(3,5,9,202,365,23,18,26,32,33),
+(3,5,10,217,397,23,18,26,33,35),
+(3,5,11,232,430,24,18,27,35,36),
+(3,5,12,247,464,24,19,27,36,38),
+(3,5,13,262,499,24,19,28,37,39),
+(3,5,14,277,535,24,19,28,39,41),
+(3,5,15,292,572,24,19,28,40,42),
+(3,5,16,307,610,24,20,29,42,44),
+(3,5,17,322,649,25,20,29,43,45),
+(3,5,18,337,689,25,20,30,45,47),
+(3,5,19,352,730,25,21,30,46,49),
+(3,5,20,367,772,25,21,31,48,50),
+(3,5,21,382,815,25,21,31,50,52),
+(3,5,22,398,859,26,22,31,51,53),
+(3,5,23,415,904,26,22,32,53,55),
+(3,5,24,433,950,26,22,32,54,57),
+(3,5,25,452,997,26,22,33,56,58),
+(3,5,26,472,1045,27,23,33,58,60),
+(3,5,27,493,1094,27,23,34,59,62),
+(3,5,28,515,1144,27,23,34,61,64),
+(3,5,29,538,1195,27,24,35,63,65),
+(3,5,30,562,1247,28,24,35,64,67),
+(3,5,31,587,1300,28,24,36,66,69),
+(3,5,32,613,1354,28,25,36,68,71),
+(3,5,33,640,1408,28,25,37,70,72),
+(3,5,34,668,1462,29,26,38,71,74),
+(3,5,35,697,1516,29,26,38,73,76),
+(3,5,36,727,1570,29,26,39,75,78),
+(3,5,37,758,1624,29,27,39,77,80),
+(3,5,38,790,1678,30,27,40,78,82),
+(3,5,39,823,1732,30,27,40,80,84),
+(3,5,40,857,1786,30,28,41,82,86),
+(3,5,41,892,1840,31,28,41,84,88),
+(3,5,42,928,1894,31,29,42,86,89),
+(3,5,43,965,1948,31,29,43,88,91),
+(3,5,44,1003,2002,32,29,43,90,93),
+(3,5,45,1042,2056,32,30,44,92,95),
+(3,5,46,1082,2110,32,30,44,93,97),
+(3,5,47,1123,2164,32,30,45,95,99),
+(3,5,48,1165,2218,33,31,46,97,101),
+(3,5,49,1208,2272,33,31,46,99,103),
+(3,5,50,1252,2326,33,32,47,101,106),
+(3,5,51,1297,2380,34,32,48,103,108),
+(3,5,52,1343,2434,34,33,48,105,110),
+(3,5,53,1390,2488,35,33,49,107,112),
+(3,5,54,1438,2542,35,33,50,109,114),
+(3,5,55,1487,2596,35,34,50,111,116),
+(3,5,56,1537,2650,36,34,51,113,118),
+(3,5,57,1588,2704,36,35,52,116,120),
+(3,5,58,1640,2758,36,35,52,118,123),
+(3,5,59,1693,2812,37,36,53,120,125),
+(3,5,60,1747,2866,37,36,54,122,127),
+(3,5,61,1917,3035,37,37,54,124,129),
+(3,5,62,2095,3189,38,37,55,126,131),
+(3,5,63,2281,3358,38,38,56,128,134),
+(3,5,64,2475,3512,39,38,57,131,136),
+(3,5,65,2677,3681,39,39,57,133,138),
+(3,5,66,2888,3835,39,39,58,135,141),
+(3,5,67,3108,4004,40,40,59,137,143),
+(3,5,68,3337,4158,40,40,59,139,145),
+(3,5,69,3575,4327,41,40,60,142,148),
+(3,5,70,3822,4496,41,41,61,144,150),
+(4,1,1,50,0,20,25,21,20,20),
+(4,1,2,69,0,21,26,22,20,20),
+(4,1,3,88,0,23,27,23,20,21),
+(4,1,4,107,0,24,27,25,20,21),
+(4,1,5,126,0,25,28,26,20,21),
+(4,1,6,145,0,27,29,27,20,21),
+(4,1,7,164,0,28,30,28,21,22),
+(4,1,8,183,0,29,31,29,21,22),
+(4,1,9,202,0,31,31,31,21,22),
+(4,1,10,221,0,32,32,32,21,23),
+(4,1,11,240,0,33,33,33,21,23),
+(4,1,12,259,0,35,34,34,21,23),
+(4,1,13,278,0,36,35,36,21,24),
+(4,1,14,298,0,38,36,37,21,24),
+(4,1,15,319,0,39,37,38,21,24),
+(4,1,16,341,0,41,37,40,21,25),
+(4,1,17,364,0,42,38,41,22,25),
+(4,1,18,388,0,44,39,43,22,25),
+(4,1,19,413,0,45,40,44,22,26),
+(4,1,20,439,0,47,41,45,22,26),
+(4,1,21,466,0,48,42,47,22,26),
+(4,1,22,494,0,50,43,48,22,27),
+(4,1,23,523,0,52,44,50,22,27),
+(4,1,24,553,0,53,45,51,23,28),
+(4,1,25,584,0,55,46,52,23,28),
+(4,1,26,616,0,56,47,54,23,28),
+(4,1,27,649,0,58,48,55,23,29),
+(4,1,28,683,0,60,49,57,23,29),
+(4,1,29,718,0,61,50,58,23,30),
+(4,1,30,754,0,63,51,60,24,30),
+(4,1,31,791,0,65,52,62,24,30),
+(4,1,32,829,0,66,53,63,24,31),
+(4,1,33,868,0,68,54,65,24,31),
+(4,1,34,908,0,70,55,66,24,32),
+(4,1,35,949,0,72,56,68,24,32),
+(4,1,36,991,0,73,58,69,25,33),
+(4,1,37,1035,0,75,59,71,25,33),
+(4,1,38,1081,0,77,60,73,25,34),
+(4,1,39,1129,0,79,61,74,25,34),
+(4,1,40,1179,0,81,62,76,25,35),
+(4,1,41,1231,0,82,63,78,26,35),
+(4,1,42,1285,0,84,64,79,26,35),
+(4,1,43,1341,0,86,66,81,26,36),
+(4,1,44,1399,0,88,67,83,26,36),
+(4,1,45,1459,0,90,68,85,26,37),
+(4,1,46,1521,0,92,69,86,27,37),
+(4,1,47,1585,0,94,70,88,27,38),
+(4,1,48,1651,0,96,72,90,27,38),
+(4,1,49,1719,0,98,73,92,27,39),
+(4,1,50,1789,0,100,74,93,28,40),
+(4,1,51,1861,0,102,75,95,28,40),
+(4,1,52,1935,0,104,77,97,28,41),
+(4,1,53,2011,0,106,78,99,28,41),
+(4,1,54,2089,0,108,79,101,29,42),
+(4,1,55,2169,0,110,80,103,29,42),
+(4,1,56,2251,0,112,82,104,29,43),
+(4,1,57,2335,0,114,83,106,29,43),
+(4,1,58,2421,0,116,84,108,30,44),
+(4,1,59,2509,0,118,86,110,30,44),
+(4,1,60,2599,0,120,87,112,30,45),
+(4,1,61,2832,0,122,88,114,30,46),
+(4,1,62,3079,0,124,90,116,31,46),
+(4,1,63,3340,0,127,91,118,31,47),
+(4,1,64,3615,0,129,92,120,31,47),
+(4,1,65,3905,0,131,94,122,32,48),
+(4,1,66,4210,0,133,95,124,32,49),
+(4,1,67,4530,0,135,97,126,32,49),
+(4,1,68,4866,0,138,98,128,32,50),
+(4,1,69,5218,0,140,100,130,33,50),
+(4,1,70,5586,0,142,101,132,33,51),
+(4,3,1,46,85,17,28,20,20,21),
+(4,3,2,63,105,17,29,21,21,22),
+(4,3,3,80,126,18,31,22,21,22),
+(4,3,4,97,148,18,32,23,22,23),
+(4,3,5,114,171,19,33,24,22,24),
+(4,3,6,131,195,19,35,25,23,24),
+(4,3,7,148,220,20,36,26,24,25),
+(4,3,8,165,246,20,38,27,24,25),
+(4,3,9,182,273,21,39,27,25,26),
+(4,3,10,199,301,21,40,28,25,27),
+(4,3,11,216,330,22,42,29,26,28),
+(4,3,12,233,360,22,43,30,27,28),
+(4,3,13,250,391,23,45,31,27,29),
+(4,3,14,268,423,23,46,32,28,30),
+(4,3,15,287,456,24,48,34,29,30),
+(4,3,16,307,490,24,50,35,29,31),
+(4,3,17,328,525,25,51,36,30,32),
+(4,3,18,350,561,25,53,37,31,33),
+(4,3,19,373,598,26,54,38,31,33),
+(4,3,20,397,636,26,56,39,32,34),
+(4,3,21,422,675,27,57,40,33,35),
+(4,3,22,448,715,27,59,41,33,36),
+(4,3,23,475,756,28,61,42,34,36),
+(4,3,24,503,798,28,62,43,35,37),
+(4,3,25,532,841,29,64,44,36,38),
+(4,3,26,562,885,30,66,46,36,39),
+(4,3,27,593,930,30,68,47,37,40),
+(4,3,28,625,975,31,69,48,38,41),
+(4,3,29,658,1020,31,71,49,39,41),
+(4,3,30,692,1065,32,73,50,39,42),
+(4,3,31,727,1110,33,75,52,40,43),
+(4,3,32,763,1155,33,76,53,41,44),
+(4,3,33,800,1200,34,78,54,42,45),
+(4,3,34,838,1245,34,80,55,43,46),
+(4,3,35,877,1290,35,82,57,44,47),
+(4,3,36,917,1335,36,84,58,44,48),
+(4,3,37,958,1380,36,86,59,45,48),
+(4,3,38,1000,1425,37,87,60,46,49),
+(4,3,39,1043,1470,38,89,62,47,50),
+(4,3,40,1087,1515,38,91,63,48,51),
+(4,3,41,1132,1560,39,93,64,49,52),
+(4,3,42,1178,1605,40,95,66,49,53),
+(4,3,43,1225,1650,40,97,67,50,54),
+(4,3,44,1273,1695,41,99,68,51,55),
+(4,3,45,1322,1740,42,101,70,52,56),
+(4,3,46,1372,1785,42,103,71,53,57),
+(4,3,47,1423,1830,43,105,72,54,58),
+(4,3,48,1475,1875,44,107,74,55,59),
+(4,3,49,1528,1920,45,109,75,56,60),
+(4,3,50,1582,1965,45,111,77,57,61),
+(4,3,51,1637,2010,46,113,78,58,62),
+(4,3,52,1693,2055,47,115,79,59,63),
+(4,3,53,1750,2100,47,118,81,60,64),
+(4,3,54,1808,2145,48,120,82,61,65),
+(4,3,55,1867,2190,49,122,84,61,66),
+(4,3,56,1927,2235,50,124,85,62,67),
+(4,3,57,1988,2280,50,126,87,63,68),
+(4,3,58,2050,2325,51,128,88,64,69),
+(4,3,59,2113,2370,52,131,90,65,70),
+(4,3,60,2177,2415,53,133,91,66,72),
+(4,3,61,2363,2596,54,135,93,67,73),
+(4,3,62,2558,2777,54,137,94,69,74),
+(4,3,63,2762,2958,55,140,96,70,75),
+(4,3,64,2975,3139,56,142,97,71,76),
+(4,3,65,3197,3335,57,144,99,72,77),
+(4,3,66,3429,3516,58,147,101,73,78),
+(4,3,67,3671,3697,58,149,102,74,79),
+(4,3,68,3923,3878,59,151,104,75,81),
+(4,3,69,4185,4059,60,154,105,76,82),
+(4,3,70,4458,4255,61,156,107,77,83),
+(4,4,1,45,0,18,28,20,20,20),
+(4,4,2,62,0,19,29,21,20,20),
+(4,4,3,79,0,20,31,21,20,21),
+(4,4,4,96,0,20,32,22,20,21),
+(4,4,5,113,0,21,34,23,21,21),
+(4,4,6,130,0,22,35,24,21,22),
+(4,4,7,147,0,23,37,24,21,22),
+(4,4,8,164,0,24,38,25,21,23),
+(4,4,9,181,0,24,40,26,21,23),
+(4,4,10,198,0,25,41,26,21,23),
+(4,4,11,215,0,26,43,27,22,24),
+(4,4,12,232,0,27,44,28,22,24),
+(4,4,13,249,0,28,46,29,22,25),
+(4,4,14,266,0,29,48,30,22,25),
+(4,4,15,283,0,29,49,30,22,25),
+(4,4,16,301,0,30,51,31,23,26),
+(4,4,17,320,0,31,52,32,23,26),
+(4,4,18,340,0,32,54,33,23,27),
+(4,4,19,361,0,33,56,34,23,27),
+(4,4,20,383,0,34,57,35,23,28),
+(4,4,21,406,0,35,59,35,24,28),
+(4,4,22,430,0,36,61,36,24,29),
+(4,4,23,455,0,37,63,37,24,29),
+(4,4,24,481,0,38,64,38,24,30),
+(4,4,25,508,0,39,66,39,25,30),
+(4,4,26,536,0,40,68,40,25,31),
+(4,4,27,565,0,41,70,41,25,31),
+(4,4,28,595,0,42,72,42,25,32),
+(4,4,29,626,0,43,73,43,25,32),
+(4,4,30,658,0,44,75,43,26,33),
+(4,4,31,691,0,45,77,44,26,33),
+(4,4,32,725,0,46,79,45,26,34),
+(4,4,33,760,0,47,81,46,27,34),
+(4,4,34,796,0,48,83,47,27,35),
+(4,4,35,833,0,49,85,48,27,35),
+(4,4,36,871,0,50,87,49,27,36),
+(4,4,37,910,0,51,89,50,28,36),
+(4,4,38,950,0,52,91,51,28,37),
+(4,4,39,991,0,53,93,52,28,38),
+(4,4,40,1033,0,54,95,53,28,38),
+(4,4,41,1076,0,56,97,54,29,39),
+(4,4,42,1120,0,57,99,55,29,39),
+(4,4,43,1165,0,58,101,56,29,40),
+(4,4,44,1211,0,59,103,57,30,40),
+(4,4,45,1258,0,60,105,59,30,41),
+(4,4,46,1306,0,61,107,60,30,42),
+(4,4,47,1355,0,62,109,61,31,42),
+(4,4,48,1405,0,64,112,62,31,43),
+(4,4,49,1456,0,65,114,63,31,44),
+(4,4,50,1508,0,66,116,64,32,44),
+(4,4,51,1561,0,67,118,65,32,45),
+(4,4,52,1615,0,68,120,66,32,45),
+(4,4,53,1670,0,70,123,67,33,46),
+(4,4,54,1726,0,71,125,69,33,47),
+(4,4,55,1783,0,72,127,70,33,47),
+(4,4,56,1841,0,73,129,71,34,48),
+(4,4,57,1900,0,75,132,72,34,49),
+(4,4,58,1960,0,76,134,73,34,49),
+(4,4,59,2021,0,77,136,74,35,50),
+(4,4,60,2083,0,79,139,76,35,51),
+(4,4,61,2272,0,80,141,77,35,51),
+(4,4,62,2470,0,81,143,78,36,52),
+(4,4,63,2677,0,82,146,79,36,53),
+(4,4,64,2893,0,84,148,80,37,54),
+(4,4,65,3119,0,85,151,82,37,54),
+(4,4,66,3355,0,87,153,83,37,55),
+(4,4,67,3601,0,88,156,84,38,56),
+(4,4,68,3858,0,89,158,85,38,57),
+(4,4,69,4126,0,91,160,87,39,57),
+(4,4,70,4405,0,92,163,88,39,58),
+(4,5,1,51,160,17,25,19,22,23),
+(4,5,2,66,184,17,25,19,23,24),
+(4,5,3,81,209,17,25,20,25,26),
+(4,5,4,96,235,17,26,20,26,27),
+(4,5,5,111,262,18,26,20,27,28),
+(4,5,6,126,290,18,26,21,29,30),
+(4,5,7,141,319,18,26,21,30,31),
+(4,5,8,156,349,18,26,22,31,33),
+(4,5,9,171,380,18,27,22,33,34),
+(4,5,10,186,412,19,27,22,34,36),
+(4,5,11,201,445,19,27,23,36,37),
+(4,5,12,216,479,19,27,23,37,39),
+(4,5,13,231,514,19,28,24,38,40),
+(4,5,14,246,550,19,28,24,40,42),
+(4,5,15,261,587,19,28,25,41,43),
+(4,5,16,276,625,20,28,25,43,45),
+(4,5,17,291,664,20,29,25,44,46),
+(4,5,18,306,704,20,29,26,46,48),
+(4,5,19,321,745,20,29,26,47,49),
+(4,5,20,336,787,21,30,27,49,51),
+(4,5,21,351,830,21,30,27,51,53),
+(4,5,22,367,874,21,30,28,52,54),
+(4,5,23,384,919,21,30,28,54,56),
+(4,5,24,402,965,21,31,29,55,58),
+(4,5,25,421,1012,22,31,29,57,59),
+(4,5,26,441,1060,22,31,30,59,61),
+(4,5,27,462,1109,22,32,30,60,63),
+(4,5,28,484,1159,22,32,31,62,65),
+(4,5,29,507,1210,23,32,31,64,66),
+(4,5,30,531,1262,23,33,32,65,68),
+(4,5,31,556,1315,23,33,32,67,70),
+(4,5,32,582,1369,23,33,33,69,72),
+(4,5,33,609,1423,24,34,33,70,73),
+(4,5,34,637,1477,24,34,34,72,75),
+(4,5,35,666,1531,24,34,34,74,77),
+(4,5,36,696,1585,24,35,35,76,79),
+(4,5,37,727,1639,25,35,35,78,81),
+(4,5,38,759,1693,25,35,36,79,83),
+(4,5,39,792,1747,25,36,37,81,85),
+(4,5,40,826,1801,26,36,37,83,87),
+(4,5,41,861,1855,26,37,38,85,88),
+(4,5,42,897,1909,26,37,38,87,90),
+(4,5,43,934,1963,27,37,39,89,92),
+(4,5,44,972,2017,27,38,39,91,94),
+(4,5,45,1011,2071,27,38,40,92,96),
+(4,5,46,1051,2125,27,39,41,94,98),
+(4,5,47,1092,2179,28,39,41,96,100),
+(4,5,48,1134,2233,28,39,42,98,102),
+(4,5,49,1177,2287,28,40,43,100,104),
+(4,5,50,1221,2341,29,40,43,102,106),
+(4,5,51,1266,2395,29,41,44,104,109),
+(4,5,52,1312,2449,29,41,44,106,111),
+(4,5,53,1359,2503,30,42,45,108,113),
+(4,5,54,1407,2557,30,42,46,110,115),
+(4,5,55,1456,2611,30,43,46,112,117),
+(4,5,56,1506,2665,31,43,47,114,119),
+(4,5,57,1557,2719,31,43,48,117,121),
+(4,5,58,1609,2773,31,44,48,119,124),
+(4,5,59,1662,2827,32,44,49,121,126),
+(4,5,60,1716,2881,32,45,50,123,128),
+(4,5,61,1886,3050,33,45,51,125,130),
+(4,5,62,2064,3204,33,46,51,127,132),
+(4,5,63,2250,3373,33,46,52,129,135),
+(4,5,64,2444,3527,34,47,53,132,137),
+(4,5,65,2646,3696,34,47,53,134,139),
+(4,5,66,2857,3850,34,48,54,136,142),
+(4,5,67,3077,4019,35,48,55,138,144),
+(4,5,68,3306,4173,35,49,56,140,146),
+(4,5,69,3544,4342,36,49,56,143,149),
+(4,5,70,3791,4511,36,50,57,145,151),
+(4,11,1,53,100,18,25,19,22,22),
+(4,11,2,70,122,19,25,20,23,23),
+(4,11,3,87,145,19,26,20,24,24),
+(4,11,4,104,169,20,26,21,25,26),
+(4,11,5,121,194,20,27,22,26,27),
+(4,11,6,138,220,21,27,22,27,28),
+(4,11,7,155,247,21,28,23,28,29),
+(4,11,8,172,275,22,28,24,29,30),
+(4,11,9,189,304,23,29,24,30,32),
+(4,11,10,206,334,23,29,25,32,33),
+(4,11,11,223,365,24,30,26,33,34),
+(4,11,12,240,397,24,31,26,34,35),
+(4,11,13,257,430,25,31,27,35,37),
+(4,11,14,274,464,26,32,28,36,38),
+(4,11,15,291,499,26,32,29,37,39),
+(4,11,16,308,535,27,33,29,38,41),
+(4,11,17,325,572,28,33,30,40,42),
+(4,11,18,343,610,28,34,31,41,43),
+(4,11,19,362,649,29,35,32,42,45),
+(4,11,20,382,689,30,35,32,43,46),
+(4,11,21,403,730,30,36,33,45,48),
+(4,11,22,425,772,31,36,34,46,49),
+(4,11,23,448,815,32,37,35,47,51),
+(4,11,24,472,859,32,38,36,48,52),
+(4,11,25,497,904,33,38,36,50,53),
+(4,11,26,523,949,34,39,37,51,55),
+(4,11,27,550,994,35,40,38,52,56),
+(4,11,28,578,1039,35,40,39,54,58),
+(4,11,29,607,1084,36,41,40,55,59),
+(4,11,30,637,1129,37,42,41,56,61),
+(4,11,31,668,1174,38,42,42,58,62),
+(4,11,32,700,1219,38,43,42,59,64),
+(4,11,33,733,1264,39,44,43,60,66),
+(4,11,34,767,1309,40,44,44,62,67),
+(4,11,35,802,1354,41,45,45,63,69),
+(4,11,36,838,1399,42,46,46,65,70),
+(4,11,37,875,1444,42,47,47,66,72),
+(4,11,38,913,1489,43,47,48,67,74),
+(4,11,39,952,1534,44,48,49,69,75),
+(4,11,40,992,1579,45,49,50,70,77),
+(4,11,41,1033,1624,46,50,51,72,79),
+(4,11,42,1075,1669,46,50,52,73,80),
+(4,11,43,1118,1714,47,51,53,75,82),
+(4,11,44,1162,1759,48,52,54,76,84),
+(4,11,45,1207,1804,49,53,55,78,85),
+(4,11,46,1253,1849,50,54,56,79,87),
+(4,11,47,1300,1894,51,54,57,81,89),
+(4,11,48,1348,1939,52,55,58,83,91),
+(4,11,49,1397,1984,53,56,59,84,93),
+(4,11,50,1447,2029,53,57,60,86,94),
+(4,11,51,1498,2074,54,58,61,87,96),
+(4,11,52,1550,2119,55,59,62,89,98),
+(4,11,53,1603,2164,56,59,63,91,100),
+(4,11,54,1657,2209,57,60,64,92,102),
+(4,11,55,1712,2254,58,61,65,94,103),
+(4,11,56,1768,2299,59,62,66,95,105),
+(4,11,57,1825,2344,60,63,67,97,107),
+(4,11,58,1883,2389,61,64,68,99,109),
+(4,11,59,1942,2434,62,65,69,101,111),
+(4,11,60,2002,2479,63,66,70,102,113),
+(4,11,61,2177,2607,64,66,72,104,115),
+(4,11,62,2363,2750,65,67,73,106,117),
+(4,11,63,2560,2893,66,68,74,107,119),
+(4,11,64,2768,3036,67,69,75,109,121),
+(4,11,65,2987,3179,68,70,76,111,123),
+(4,11,66,3217,3322,69,71,77,113,125),
+(4,11,67,3459,3465,70,72,78,115,127),
+(4,11,68,3713,3608,71,73,80,116,129),
+(4,11,69,3979,3751,72,74,81,118,131),
+(4,11,70,4257,3894,73,75,82,120,133),
+(5,1,1,70,0,22,18,23,18,25),
+(5,1,2,89,0,23,19,24,18,25),
+(5,1,3,108,0,25,20,25,18,26),
+(5,1,4,127,0,26,20,26,18,26),
+(5,1,5,146,0,27,21,28,18,26),
+(5,1,6,165,0,29,22,29,18,26),
+(5,1,7,184,0,30,23,30,19,27),
+(5,1,8,203,0,31,24,31,19,27),
+(5,1,9,222,0,33,25,33,19,27),
+(5,1,10,241,0,34,25,34,19,28),
+(5,1,11,260,0,35,26,35,19,28),
+(5,1,12,279,0,37,27,36,19,28),
+(5,1,13,298,0,38,28,38,19,28),
+(5,1,14,318,0,40,29,39,19,29),
+(5,1,15,339,0,41,30,40,19,29),
+(5,1,16,361,0,43,31,42,20,29),
+(5,1,17,384,0,44,32,43,20,30),
+(5,1,18,408,0,46,33,44,20,30),
+(5,1,19,433,0,47,34,46,20,31),
+(5,1,20,459,0,49,34,47,20,31),
+(5,1,21,486,0,50,35,49,20,31),
+(5,1,22,514,0,52,36,50,20,32),
+(5,1,23,543,0,53,37,51,21,32),
+(5,1,24,573,0,55,38,53,21,32),
+(5,1,25,604,0,57,39,54,21,33),
+(5,1,26,636,0,58,40,56,21,33),
+(5,1,27,669,0,60,41,57,21,34),
+(5,1,28,703,0,62,42,59,21,34),
+(5,1,29,738,0,63,43,60,21,34),
+(5,1,30,774,0,65,44,62,22,35),
+(5,1,31,811,0,67,46,63,22,35),
+(5,1,32,849,0,68,47,65,22,36),
+(5,1,33,888,0,70,48,67,22,36),
+(5,1,34,928,0,72,49,68,22,36),
+(5,1,35,969,0,74,50,70,23,37),
+(5,1,36,1011,0,75,51,71,23,37),
+(5,1,37,1055,0,77,52,73,23,38),
+(5,1,38,1101,0,79,53,75,23,38),
+(5,1,39,1149,0,81,54,76,23,39),
+(5,1,40,1199,0,83,55,78,24,39),
+(5,1,41,1251,0,84,57,80,24,40),
+(5,1,42,1305,0,86,58,81,24,40),
+(5,1,43,1361,0,88,59,83,24,41),
+(5,1,44,1419,0,90,60,85,24,41),
+(5,1,45,1479,0,92,61,86,25,42),
+(5,1,46,1541,0,94,62,88,25,42),
+(5,1,47,1605,0,96,64,90,25,43),
+(5,1,48,1671,0,98,65,92,25,43),
+(5,1,49,1739,0,100,66,93,25,44),
+(5,1,50,1809,0,102,67,95,26,44),
+(5,1,51,1881,0,104,69,97,26,45),
+(5,1,52,1955,0,106,70,99,26,45),
+(5,1,53,2031,0,108,71,101,26,46),
+(5,1,54,2109,0,110,72,103,27,46),
+(5,1,55,2189,0,112,74,104,27,47),
+(5,1,56,2271,0,114,75,106,27,48),
+(5,1,57,2355,0,116,76,108,27,48),
+(5,1,58,2441,0,118,78,110,28,49),
+(5,1,59,2529,0,120,79,112,28,49),
+(5,1,60,2619,0,122,80,114,28,50),
+(5,1,61,2852,0,124,82,116,28,50),
+(5,1,62,3099,0,126,83,118,29,51),
+(5,1,63,3360,0,128,84,120,29,52),
+(5,1,64,3635,0,131,86,122,29,52),
+(5,1,65,3925,0,133,87,124,30,53),
+(5,1,66,4230,0,135,88,126,30,53),
+(5,1,67,4550,0,137,90,128,30,54),
+(5,1,68,4886,0,139,91,130,30,55),
+(5,1,69,5238,0,142,93,132,31,55),
+(5,1,70,5606,0,144,94,134,31,56),
+(5,4,1,65,0,20,21,22,18,25),
+(5,4,2,82,0,21,22,23,18,25),
+(5,4,3,99,0,22,24,23,18,26),
+(5,4,4,116,0,22,25,24,18,26),
+(5,4,5,133,0,23,27,25,19,26),
+(5,4,6,150,0,24,28,25,19,27),
+(5,4,7,167,0,25,30,26,19,27),
+(5,4,8,184,0,25,31,27,19,27),
+(5,4,9,201,0,26,33,28,19,28),
+(5,4,10,218,0,27,34,28,19,28),
+(5,4,11,235,0,28,36,29,20,29),
+(5,4,12,252,0,29,38,30,20,29),
+(5,4,13,269,0,30,39,31,20,29),
+(5,4,14,286,0,31,41,32,20,30),
+(5,4,15,303,0,31,42,32,20,30),
+(5,4,16,321,0,32,44,33,21,31),
+(5,4,17,340,0,33,46,34,21,31),
+(5,4,18,360,0,34,47,35,21,32),
+(5,4,19,381,0,35,49,36,21,32),
+(5,4,20,403,0,36,51,36,21,32),
+(5,4,21,426,0,37,52,37,22,33),
+(5,4,22,450,0,38,54,38,22,33),
+(5,4,23,475,0,39,56,39,22,34),
+(5,4,24,501,0,40,58,40,22,34),
+(5,4,25,528,0,41,60,41,23,35),
+(5,4,26,556,0,42,61,42,23,35),
+(5,4,27,585,0,43,63,43,23,36),
+(5,4,28,615,0,44,65,44,23,36),
+(5,4,29,646,0,45,67,44,24,37),
+(5,4,30,678,0,46,69,45,24,37),
+(5,4,31,711,0,47,71,46,24,38),
+(5,4,32,745,0,48,72,47,24,38),
+(5,4,33,780,0,49,74,48,25,39),
+(5,4,34,816,0,50,76,49,25,39),
+(5,4,35,853,0,51,78,50,25,40),
+(5,4,36,891,0,52,80,51,25,41),
+(5,4,37,930,0,53,82,52,26,41),
+(5,4,38,970,0,54,84,53,26,42),
+(5,4,39,1011,0,55,86,54,26,42),
+(5,4,40,1053,0,56,88,55,27,43),
+(5,4,41,1096,0,57,90,56,27,43),
+(5,4,42,1140,0,59,92,57,27,44),
+(5,4,43,1185,0,60,94,58,27,45),
+(5,4,44,1231,0,61,96,59,28,45),
+(5,4,45,1278,0,62,99,60,28,46),
+(5,4,46,1326,0,63,101,61,28,46),
+(5,4,47,1375,0,64,103,63,29,47),
+(5,4,48,1425,0,66,105,64,29,48),
+(5,4,49,1476,0,67,107,65,29,48),
+(5,4,50,1528,0,68,109,66,30,49),
+(5,4,51,1581,0,69,111,67,30,50),
+(5,4,52,1635,0,70,114,68,30,50),
+(5,4,53,1690,0,72,116,69,31,51),
+(5,4,54,1746,0,73,118,70,31,52),
+(5,4,55,1803,0,74,120,72,31,52),
+(5,4,56,1861,0,75,123,73,32,53),
+(5,4,57,1920,0,77,125,74,32,54),
+(5,4,58,1980,0,78,127,75,32,54),
+(5,4,59,2041,0,79,130,76,33,55),
+(5,4,60,2103,0,81,132,77,33,56),
+(5,4,61,2292,0,82,134,79,34,56),
+(5,4,62,2490,0,83,137,80,34,57),
+(5,4,63,2697,0,84,139,81,34,58),
+(5,4,64,2913,0,86,141,82,35,59),
+(5,4,65,3139,0,87,144,84,35,59),
+(5,4,66,3375,0,88,146,85,35,60),
+(5,4,67,3621,0,90,149,86,36,61),
+(5,4,68,3878,0,91,151,87,36,61),
+(5,4,69,4146,0,93,154,89,37,62),
+(5,4,70,4425,0,94,156,90,37,63),
+(5,5,1,62,130,19,18,21,20,28),
+(5,5,2,77,154,19,18,21,21,29),
+(5,5,3,92,179,19,18,22,23,31),
+(5,5,4,107,205,19,19,22,24,32),
+(5,5,5,122,232,20,19,22,25,33),
+(5,5,6,137,260,20,19,23,27,35),
+(5,5,7,152,289,20,19,23,28,36),
+(5,5,8,167,319,20,20,24,29,38),
+(5,5,9,182,350,20,20,24,31,39),
+(5,5,10,197,382,20,20,24,32,40),
+(5,5,11,212,415,21,20,25,34,42),
+(5,5,12,227,449,21,21,25,35,43),
+(5,5,13,242,484,21,21,26,37,45),
+(5,5,14,257,520,21,21,26,38,46),
+(5,5,15,272,557,21,21,26,39,48),
+(5,5,16,287,595,22,22,27,41,50),
+(5,5,17,302,634,22,22,27,42,51),
+(5,5,18,317,674,22,22,28,44,53),
+(5,5,19,332,715,22,23,28,46,54),
+(5,5,20,347,757,22,23,29,47,56),
+(5,5,21,362,800,23,23,29,49,57),
+(5,5,22,378,844,23,23,30,50,59),
+(5,5,23,395,889,23,24,30,52,61),
+(5,5,24,413,935,23,24,31,53,62),
+(5,5,25,432,982,24,24,31,55,64),
+(5,5,26,452,1030,24,25,32,57,66),
+(5,5,27,473,1079,24,25,32,58,68),
+(5,5,28,495,1129,24,25,33,60,69),
+(5,5,29,518,1180,25,26,33,62,71),
+(5,5,30,542,1232,25,26,34,63,73),
+(5,5,31,567,1285,25,26,34,65,75),
+(5,5,32,593,1339,25,27,35,67,76),
+(5,5,33,620,1393,26,27,35,69,78),
+(5,5,34,648,1447,26,27,36,70,80),
+(5,5,35,677,1501,26,28,36,72,82),
+(5,5,36,707,1555,26,28,37,74,84),
+(5,5,37,738,1609,27,28,37,76,86),
+(5,5,38,770,1663,27,29,38,77,87),
+(5,5,39,803,1717,27,29,38,79,89),
+(5,5,40,837,1771,28,30,39,81,91),
+(5,5,41,872,1825,28,30,40,83,93),
+(5,5,42,908,1879,28,30,40,85,95),
+(5,5,43,945,1933,28,31,41,87,97),
+(5,5,44,983,1987,29,31,41,89,99),
+(5,5,45,1022,2041,29,32,42,91,101),
+(5,5,46,1062,2095,29,32,43,92,103),
+(5,5,47,1103,2149,30,32,43,94,105),
+(5,5,48,1145,2203,30,33,44,96,107),
+(5,5,49,1188,2257,30,33,44,98,109),
+(5,5,50,1232,2311,31,34,45,100,111),
+(5,5,51,1277,2365,31,34,46,102,113),
+(5,5,52,1323,2419,31,35,46,104,115),
+(5,5,53,1370,2473,32,35,47,106,118),
+(5,5,54,1418,2527,32,35,48,108,120),
+(5,5,55,1467,2581,32,36,48,110,122),
+(5,5,56,1517,2635,33,36,49,113,124),
+(5,5,57,1568,2689,33,37,50,115,126),
+(5,5,58,1620,2743,33,37,50,117,128),
+(5,5,59,1673,2797,34,38,51,119,131),
+(5,5,60,1727,2851,34,38,52,121,133),
+(5,5,61,1897,3020,34,39,52,123,135),
+(5,5,62,2075,3174,35,39,53,125,137),
+(5,5,63,2261,3343,35,40,54,127,140),
+(5,5,64,2455,3497,36,40,55,130,142),
+(5,5,65,2657,3666,36,41,55,132,144),
+(5,5,66,2868,3820,36,41,56,134,147),
+(5,5,67,3088,3989,37,41,57,136,149),
+(5,5,68,3317,4143,37,42,58,138,151),
+(5,5,69,3555,4312,38,42,58,141,154),
+(5,5,70,3802,4481,38,43,59,143,156),
+(5,8,1,62,135,19,18,21,21,27),
+(5,8,2,77,160,19,18,21,22,28),
+(5,8,3,92,186,19,18,22,24,30),
+(5,8,4,107,213,19,18,22,25,31),
+(5,8,5,122,241,19,19,22,26,32),
+(5,8,6,137,270,19,19,22,28,34),
+(5,8,7,152,300,20,19,23,29,35),
+(5,8,8,167,331,20,19,23,31,36),
+(5,8,9,182,363,20,19,23,32,38),
+(5,8,10,197,396,20,19,24,34,39),
+(5,8,11,212,430,20,20,24,35,40),
+(5,8,12,227,465,20,20,24,37,42),
+(5,8,13,242,501,20,20,25,38,43),
+(5,8,14,257,538,20,20,25,40,45),
+(5,8,15,272,576,20,20,25,41,46),
+(5,8,16,287,615,21,21,26,43,48),
+(5,8,17,302,655,21,21,26,44,49),
+(5,8,18,317,696,21,21,26,46,51),
+(5,8,19,332,738,21,21,27,48,52),
+(5,8,20,347,781,21,21,27,49,54),
+(5,8,21,362,825,21,22,27,51,55),
+(5,8,22,377,870,21,22,28,52,57),
+(5,8,23,392,916,21,22,28,54,58),
+(5,8,24,408,963,22,22,29,56,60),
+(5,8,25,425,1011,22,23,29,57,62),
+(5,8,26,443,1060,22,23,29,59,63),
+(5,8,27,462,1110,22,23,30,61,65),
+(5,8,28,482,1161,22,23,30,63,67),
+(5,8,29,503,1212,22,24,31,64,68),
+(5,8,30,525,1263,23,24,31,66,70),
+(5,8,31,548,1314,23,24,31,68,72),
+(5,8,32,572,1365,23,24,32,70,73),
+(5,8,33,597,1416,23,25,32,72,75),
+(5,8,34,623,1467,23,25,33,73,77),
+(5,8,35,650,1518,24,25,33,75,79),
+(5,8,36,678,1569,24,25,34,77,80),
+(5,8,37,707,1620,24,26,34,79,82),
+(5,8,38,737,1671,24,26,35,81,84),
+(5,8,39,768,1722,24,26,35,83,86),
+(5,8,40,800,1773,24,27,35,85,88),
+(5,8,41,833,1824,25,27,36,87,90),
+(5,8,42,867,1875,25,27,36,89,91),
+(5,8,43,902,1926,25,27,37,90,93),
+(5,8,44,938,1977,25,28,37,92,95),
+(5,8,45,975,2028,26,28,38,94,97),
+(5,8,46,1013,2079,26,28,38,96,99),
+(5,8,47,1052,2130,26,29,39,98,101),
+(5,8,48,1092,2181,26,29,39,100,103),
+(5,8,49,1133,2232,26,29,40,103,105),
+(5,8,50,1175,2283,27,30,40,105,107),
+(5,8,51,1218,2334,27,30,41,107,109),
+(5,8,52,1262,2385,27,30,42,109,111),
+(5,8,53,1307,2436,27,31,42,111,113),
+(5,8,54,1353,2487,28,31,43,113,115),
+(5,8,55,1400,2538,28,31,43,115,117),
+(5,8,56,1448,2589,28,32,44,117,119),
+(5,8,57,1497,2640,28,32,44,119,121),
+(5,8,58,1547,2691,29,32,45,122,123),
+(5,8,59,1598,2742,29,33,45,124,126),
+(5,8,60,1650,2793,29,33,46,126,128),
+(5,8,61,1816,2926,29,34,47,128,130),
+(5,8,62,1991,3074,30,34,47,131,132),
+(5,8,63,2175,3207,30,34,48,133,134),
+(5,8,64,2368,3355,30,35,48,135,136),
+(5,8,65,2570,3488,31,35,49,137,139),
+(5,8,66,2782,3636,31,35,50,140,141),
+(5,8,67,3004,3769,31,36,50,142,143),
+(5,8,68,3236,3917,31,36,51,144,145),
+(5,8,69,3479,4050,32,37,51,147,148),
+(5,8,70,3733,4198,32,37,52,149,150),
+(5,9,1,63,110,19,18,22,20,27),
+(5,9,2,78,133,19,18,23,21,28),
+(5,9,3,93,157,20,19,23,22,29),
+(5,9,4,108,182,20,19,24,24,30),
+(5,9,5,123,208,20,19,24,25,32),
+(5,9,6,138,235,20,20,25,26,33),
+(5,9,7,153,263,21,20,25,27,34),
+(5,9,8,168,292,21,21,26,28,35),
+(5,9,9,183,322,21,21,26,30,36),
+(5,9,10,198,353,22,21,27,31,38),
+(5,9,11,213,385,22,22,28,32,39),
+(5,9,12,228,418,22,22,28,34,40),
+(5,9,13,243,452,23,23,29,35,41),
+(5,9,14,258,487,23,23,30,36,43),
+(5,9,15,273,523,23,24,30,37,44),
+(5,9,16,288,560,24,24,31,39,45),
+(5,9,17,303,598,24,24,31,40,47),
+(5,9,18,319,637,24,25,32,42,48),
+(5,9,19,336,677,25,25,33,43,49),
+(5,9,20,354,718,25,26,33,44,51),
+(5,9,21,373,760,26,26,34,46,52),
+(5,9,22,393,803,26,27,35,47,53),
+(5,9,23,414,847,26,27,36,49,55),
+(5,9,24,436,892,27,28,36,50,56),
+(5,9,25,459,938,27,28,37,52,58),
+(5,9,26,483,985,27,29,38,53,59),
+(5,9,27,508,1033,28,29,38,55,60),
+(5,9,28,534,1082,28,30,39,56,62),
+(5,9,29,561,1132,29,30,40,58,63),
+(5,9,30,589,1183,29,31,41,59,65),
+(5,9,31,618,1234,30,31,41,61,66),
+(5,9,32,648,1285,30,32,42,62,68),
+(5,9,33,679,1336,30,32,43,64,69),
+(5,9,34,711,1387,31,33,44,65,71),
+(5,9,35,744,1438,31,33,45,67,73),
+(5,9,36,778,1489,32,34,45,69,74),
+(5,9,37,813,1540,32,34,46,70,76),
+(5,9,38,849,1591,33,35,47,72,77),
+(5,9,39,886,1642,33,36,48,73,79),
+(5,9,40,924,1693,34,36,49,75,81),
+(5,9,41,963,1744,34,37,49,77,82),
+(5,9,42,1003,1795,35,37,50,78,84),
+(5,9,43,1044,1846,35,38,51,80,86),
+(5,9,44,1086,1897,36,39,52,82,87),
+(5,9,45,1129,1948,36,39,53,84,89),
+(5,9,46,1173,1999,37,40,54,85,91),
+(5,9,47,1218,2050,37,40,55,87,92),
+(5,9,48,1264,2101,38,41,55,89,94),
+(5,9,49,1311,2152,38,42,56,91,96),
+(5,9,50,1359,2203,39,42,57,92,98),
+(5,9,51,1408,2254,39,43,58,94,100),
+(5,9,52,1458,2305,40,44,59,96,101),
+(5,9,53,1509,2356,40,44,60,98,103),
+(5,9,54,1561,2407,41,45,61,100,105),
+(5,9,55,1614,2458,41,45,62,102,107),
+(5,9,56,1668,2509,42,46,63,103,109),
+(5,9,57,1723,2560,42,47,64,105,111),
+(5,9,58,1779,2611,43,47,65,107,112),
+(5,9,59,1836,2662,43,48,66,109,114),
+(5,9,60,1894,2713,44,49,67,111,116),
+(5,9,61,2070,2867,45,50,68,113,118),
+(5,9,62,2255,3021,45,50,69,115,120),
+(5,9,63,2449,3190,46,51,70,117,122),
+(5,9,64,2652,3344,46,52,71,119,124),
+(5,9,65,2864,3498,47,52,72,121,126),
+(5,9,66,3086,3667,48,53,73,123,128),
+(5,9,67,3318,3821,48,54,74,125,130),
+(5,9,68,3561,3975,49,55,75,127,132),
+(5,9,69,3815,4144,49,55,76,129,134),
+(5,9,70,4080,4298,50,56,77,131,136),
+(6,1,1,80,0,28,15,24,15,22),
+(6,1,2,99,0,29,16,25,15,22),
+(6,1,3,118,0,31,17,26,15,23),
+(6,1,4,137,0,32,17,27,15,23),
+(6,1,5,156,0,33,18,29,15,23),
+(6,1,6,175,0,34,19,30,15,23),
+(6,1,7,194,0,36,20,31,16,24),
+(6,1,8,213,0,37,21,32,16,24),
+(6,1,9,232,0,38,22,34,16,24),
+(6,1,10,251,0,40,22,35,16,25),
+(6,1,11,270,0,41,23,36,16,25),
+(6,1,12,289,0,43,24,37,16,25),
+(6,1,13,308,0,44,25,39,16,26),
+(6,1,14,328,0,46,26,40,16,26),
+(6,1,15,349,0,47,27,41,17,26),
+(6,1,16,371,0,48,28,43,17,27),
+(6,1,17,394,0,50,29,44,17,27),
+(6,1,18,418,0,51,30,45,17,27),
+(6,1,19,443,0,53,31,47,17,28),
+(6,1,20,469,0,54,32,48,17,28),
+(6,1,21,496,0,56,33,50,17,28),
+(6,1,22,524,0,58,34,51,18,29),
+(6,1,23,553,0,59,35,52,18,29),
+(6,1,24,583,0,61,36,54,18,30),
+(6,1,25,614,0,62,37,55,18,30),
+(6,1,26,646,0,64,38,57,18,30),
+(6,1,27,679,0,66,39,58,18,31),
+(6,1,28,713,0,67,40,60,18,31),
+(6,1,29,748,0,69,41,61,19,32),
+(6,1,30,784,0,71,42,63,19,32),
+(6,1,31,821,0,72,43,64,19,32),
+(6,1,32,859,0,74,44,66,19,33),
+(6,1,33,898,0,76,45,67,19,33),
+(6,1,34,938,0,77,46,69,20,34),
+(6,1,35,979,0,79,47,71,20,34),
+(6,1,36,1021,0,81,48,72,20,35),
+(6,1,37,1065,0,83,49,74,20,35),
+(6,1,38,1111,0,85,50,76,20,35),
+(6,1,39,1159,0,86,51,77,21,36),
+(6,1,40,1209,0,88,53,79,21,36),
+(6,1,41,1261,0,90,54,81,21,37),
+(6,1,42,1315,0,92,55,82,21,37),
+(6,1,43,1371,0,94,56,84,21,38),
+(6,1,44,1429,0,96,57,86,22,38),
+(6,1,45,1489,0,98,58,87,22,39),
+(6,1,46,1551,0,99,60,89,22,39),
+(6,1,47,1615,0,101,61,91,22,40),
+(6,1,48,1681,0,103,62,93,22,40),
+(6,1,49,1749,0,105,63,94,23,41),
+(6,1,50,1819,0,107,65,96,23,41),
+(6,1,51,1891,0,109,66,98,23,42),
+(6,1,52,1965,0,111,67,100,23,42),
+(6,1,53,2041,0,113,68,102,24,43),
+(6,1,54,2119,0,115,70,104,24,44),
+(6,1,55,2199,0,117,71,105,24,44),
+(6,1,56,2281,0,119,72,107,24,45),
+(6,1,57,2365,0,122,73,109,25,45),
+(6,1,58,2451,0,124,75,111,25,46),
+(6,1,59,2539,0,126,76,113,25,46),
+(6,1,60,2629,0,128,77,115,25,47),
+(6,1,61,2862,0,130,79,117,26,48),
+(6,1,62,3109,0,132,80,119,26,48),
+(6,1,63,3370,0,134,81,121,26,49),
+(6,1,64,3645,0,137,83,123,26,49),
+(6,1,65,3935,0,139,84,125,27,50),
+(6,1,66,4240,0,141,85,127,27,51),
+(6,1,67,4560,0,143,87,129,27,51),
+(6,1,68,4896,0,145,88,131,27,52),
+(6,1,69,5248,0,148,90,133,28,52),
+(6,1,70,5616,0,150,91,135,28,53),
+(6,3,1,76,80,25,18,23,15,23),
+(6,3,2,93,100,25,19,24,16,24),
+(6,3,3,110,121,26,21,25,16,24),
+(6,3,4,127,143,26,22,26,17,25),
+(6,3,5,144,166,27,24,27,17,25),
+(6,3,6,161,190,27,25,28,18,26),
+(6,3,7,178,215,28,26,28,19,27),
+(6,3,8,195,241,28,28,29,19,27),
+(6,3,9,212,268,28,29,30,20,28),
+(6,3,10,229,296,29,31,31,20,29),
+(6,3,11,246,325,29,32,32,21,29),
+(6,3,12,263,355,30,34,33,22,30),
+(6,3,13,280,386,30,35,34,22,31),
+(6,3,14,298,418,31,37,35,23,32),
+(6,3,15,317,451,31,38,36,24,32),
+(6,3,16,337,485,32,40,37,24,33),
+(6,3,17,358,520,32,41,39,25,34),
+(6,3,18,380,556,33,43,40,26,35),
+(6,3,19,403,593,33,45,41,27,35),
+(6,3,20,427,631,34,46,42,27,36),
+(6,3,21,452,670,34,48,43,28,37),
+(6,3,22,478,710,35,50,44,29,38),
+(6,3,23,505,751,35,51,45,29,38),
+(6,3,24,533,793,36,53,46,30,39),
+(6,3,25,562,836,37,55,47,31,40),
+(6,3,26,592,880,37,56,48,32,41),
+(6,3,27,623,925,38,58,50,32,42),
+(6,3,28,655,970,38,60,51,33,42),
+(6,3,29,688,1015,39,62,52,34,43),
+(6,3,30,722,1060,39,63,53,35,44),
+(6,3,31,757,1105,40,65,54,36,45),
+(6,3,32,793,1150,41,67,56,36,46),
+(6,3,33,830,1195,41,69,57,37,47),
+(6,3,34,868,1240,42,71,58,38,48),
+(6,3,35,907,1285,43,72,59,39,48),
+(6,3,36,947,1330,43,74,61,40,49),
+(6,3,37,988,1375,44,76,62,40,50),
+(6,3,38,1030,1420,45,78,63,41,51),
+(6,3,39,1073,1465,45,80,64,42,52),
+(6,3,40,1117,1510,46,82,66,43,53),
+(6,3,41,1162,1555,47,84,67,44,54),
+(6,3,42,1208,1600,47,86,68,45,55),
+(6,3,43,1255,1645,48,88,70,46,56),
+(6,3,44,1303,1690,49,90,71,46,57),
+(6,3,45,1352,1735,49,92,72,47,58),
+(6,3,46,1402,1780,50,94,74,48,59),
+(6,3,47,1453,1825,51,96,75,49,60),
+(6,3,48,1505,1870,51,98,77,50,61),
+(6,3,49,1558,1915,52,100,78,51,62),
+(6,3,50,1612,1960,53,102,79,52,63),
+(6,3,51,1667,2005,54,104,81,53,64),
+(6,3,52,1723,2050,54,106,82,54,65),
+(6,3,53,1780,2095,55,108,84,55,66),
+(6,3,54,1838,2140,56,110,85,56,67),
+(6,3,55,1897,2185,57,112,87,57,68),
+(6,3,56,1957,2230,57,114,88,58,69),
+(6,3,57,2018,2275,58,117,90,59,70),
+(6,3,58,2080,2320,59,119,91,60,71),
+(6,3,59,2143,2365,60,121,93,61,72),
+(6,3,60,2207,2410,61,123,94,62,74),
+(6,3,61,2393,2591,61,125,96,63,75),
+(6,3,62,2588,2772,62,128,97,64,76),
+(6,3,63,2792,2953,63,130,99,65,77),
+(6,3,64,3005,3134,64,132,100,66,78),
+(6,3,65,3227,3330,65,134,102,67,79),
+(6,3,66,3459,3511,66,137,104,68,80),
+(6,3,67,3701,3692,66,139,105,69,81),
+(6,3,68,3953,3873,67,141,107,70,83),
+(6,3,69,4215,4054,68,144,108,71,84),
+(6,3,70,4488,4250,69,146,110,72,85),
+(6,7,1,77,71,26,15,23,16,24),
+(6,7,2,94,92,27,15,24,17,25),
+(6,7,3,111,114,28,16,25,18,26),
+(6,7,4,128,137,28,16,26,19,27),
+(6,7,5,145,161,29,17,27,20,28),
+(6,7,6,162,186,30,17,28,21,29),
+(6,7,7,179,212,31,18,29,22,30),
+(6,7,8,196,239,32,18,30,23,31),
+(6,7,9,213,267,33,19,31,24,32),
+(6,7,10,230,296,34,19,32,25,33),
+(6,7,11,247,326,35,20,33,26,35),
+(6,7,12,264,357,35,20,34,27,36),
+(6,7,13,281,389,36,21,35,28,37),
+(6,7,14,298,422,37,21,36,29,38),
+(6,7,15,315,456,38,22,37,30,39),
+(6,7,16,332,491,39,22,39,31,40),
+(6,7,17,350,527,40,23,40,32,42),
+(6,7,18,369,564,41,23,41,33,43),
+(6,7,19,389,602,42,24,42,34,44),
+(6,7,20,410,641,43,24,43,35,45),
+(6,7,21,432,681,44,25,44,36,46),
+(6,7,22,455,722,45,25,45,37,48),
+(6,7,23,479,764,46,26,47,38,49),
+(6,7,24,504,807,47,27,48,40,50),
+(6,7,25,530,851,48,27,49,41,51),
+(6,7,26,557,896,49,28,50,42,53),
+(6,7,27,585,942,51,28,52,43,54),
+(6,7,28,614,989,52,29,53,44,55),
+(6,7,29,644,1037,53,29,54,45,57),
+(6,7,30,675,1086,54,30,55,47,58),
+(6,7,31,707,1136,55,31,57,48,59),
+(6,7,32,740,1187,56,31,58,49,61),
+(6,7,33,774,1238,57,32,59,50,62),
+(6,7,34,809,1289,58,33,61,51,64),
+(6,7,35,845,1340,60,33,62,53,65),
+(6,7,36,882,1391,61,34,63,54,66),
+(6,7,37,920,1442,62,34,65,55,68),
+(6,7,38,959,1493,63,35,66,57,69),
+(6,7,39,999,1544,64,36,67,58,71),
+(6,7,40,1040,1595,66,36,69,59,72),
+(6,7,41,1082,1646,67,37,70,60,74),
+(6,7,42,1125,1697,68,38,72,62,75),
+(6,7,43,1169,1748,69,38,73,63,77),
+(6,7,44,1214,1799,70,39,74,64,78),
+(6,7,45,1260,1850,72,40,76,66,80),
+(6,7,46,1307,1901,73,41,77,67,81),
+(6,7,47,1355,1952,74,41,79,69,83),
+(6,7,48,1404,2003,76,42,80,70,84),
+(6,7,49,1454,2054,77,43,82,71,86),
+(6,7,50,1505,2105,78,43,83,73,88),
+(6,7,51,1557,2156,80,44,85,74,89),
+(6,7,52,1610,2207,81,45,86,76,91),
+(6,7,53,1664,2258,82,46,88,77,92),
+(6,7,54,1719,2309,84,46,90,78,94),
+(6,7,55,1775,2360,85,47,91,80,96),
+(6,7,56,1832,2411,86,48,93,81,97),
+(6,7,57,1890,2462,88,49,94,83,99),
+(6,7,58,1949,2513,89,49,96,84,101),
+(6,7,59,2009,2564,91,50,97,86,102),
+(6,7,60,2070,2615,92,51,99,87,104),
+(6,7,61,2238,2774,94,52,101,89,106),
+(6,7,62,2414,2933,95,52,102,90,108),
+(6,7,63,2598,3107,96,53,104,92,109),
+(6,7,64,2790,3266,98,54,106,93,111),
+(6,7,65,2991,3425,99,55,107,95,113),
+(6,7,66,3201,3599,101,56,109,97,115),
+(6,7,67,3421,3758,102,57,111,98,117),
+(6,7,68,3651,3917,104,57,113,100,118),
+(6,7,69,3891,4091,105,58,114,101,120),
+(6,7,70,4141,4250,107,59,116,103,122),
+(6,11,1,74,67,26,15,22,17,24),
+(6,11,2,91,89,27,16,23,18,25),
+(6,11,3,108,112,27,16,23,19,26),
+(6,11,4,125,136,28,17,24,20,27),
+(6,11,5,142,161,28,17,25,21,29),
+(6,11,6,159,187,29,18,25,22,30),
+(6,11,7,176,214,29,18,26,23,31),
+(6,11,8,193,242,30,19,27,24,32),
+(6,11,9,210,271,30,19,27,26,34),
+(6,11,10,227,301,31,20,28,27,35),
+(6,11,11,244,332,32,20,29,28,36),
+(6,11,12,261,364,32,21,29,29,37),
+(6,11,13,278,397,33,21,30,30,39),
+(6,11,14,295,431,33,22,31,31,40),
+(6,11,15,312,466,34,23,32,32,41),
+(6,11,16,329,502,35,23,32,34,43),
+(6,11,17,346,539,35,24,33,35,44),
+(6,11,18,364,577,36,24,34,36,45),
+(6,11,19,383,616,37,25,35,37,47),
+(6,11,20,403,656,37,26,35,39,48),
+(6,11,21,424,697,38,26,36,40,50),
+(6,11,22,446,739,39,27,37,41,51),
+(6,11,23,469,782,39,28,38,42,52),
+(6,11,24,493,826,40,28,39,44,54),
+(6,11,25,518,871,41,29,39,45,55),
+(6,11,26,544,916,41,30,40,46,57),
+(6,11,27,571,961,42,30,41,47,58),
+(6,11,28,599,1006,43,31,42,49,60),
+(6,11,29,628,1051,44,32,43,50,61),
+(6,11,30,658,1096,44,32,44,52,63),
+(6,11,31,689,1141,45,33,44,53,64),
+(6,11,32,721,1186,46,34,45,54,66),
+(6,11,33,754,1231,47,34,46,56,67),
+(6,11,34,788,1276,47,35,47,57,69),
+(6,11,35,823,1321,48,36,48,58,71),
+(6,11,36,859,1366,49,36,49,60,72),
+(6,11,37,896,1411,50,37,50,61,74),
+(6,11,38,934,1456,51,38,51,63,76),
+(6,11,39,973,1501,52,39,52,64,77),
+(6,11,40,1013,1546,52,39,53,66,79),
+(6,11,41,1054,1591,53,40,54,67,81),
+(6,11,42,1096,1636,54,41,55,69,82),
+(6,11,43,1139,1681,55,42,56,70,84),
+(6,11,44,1183,1726,56,43,57,72,86),
+(6,11,45,1228,1771,57,43,57,73,87),
+(6,11,46,1274,1816,57,44,58,75,89),
+(6,11,47,1321,1861,58,45,60,76,91),
+(6,11,48,1369,1906,59,46,61,78,93),
+(6,11,49,1418,1951,60,47,62,79,94),
+(6,11,50,1468,1996,61,47,63,81,96),
+(6,11,51,1519,2041,62,48,64,83,98),
+(6,11,52,1571,2086,63,49,65,84,100),
+(6,11,53,1624,2131,64,50,66,86,102),
+(6,11,54,1678,2176,65,51,67,87,104),
+(6,11,55,1733,2221,66,51,68,89,105),
+(6,11,56,1789,2266,67,52,69,91,107),
+(6,11,57,1846,2311,68,53,70,92,109),
+(6,11,58,1904,2356,69,54,71,94,111),
+(6,11,59,1963,2401,70,55,72,96,113),
+(6,11,60,2023,2446,71,56,73,97,115),
+(6,11,61,2198,2574,72,57,74,99,117),
+(6,11,62,2384,2717,73,58,76,101,119),
+(6,11,63,2581,2860,74,59,77,103,121),
+(6,11,64,2789,3003,75,59,78,104,123),
+(6,11,65,3008,3146,76,60,79,106,125),
+(6,11,66,3238,3289,77,61,80,108,127),
+(6,11,67,3480,3432,78,62,81,110,129),
+(6,11,68,3734,3575,79,63,83,111,131),
+(6,11,69,4000,3718,80,64,84,113,133),
+(6,11,70,4278,3861,81,65,85,115,135),
+(7,1,1,50,0,18,23,21,24,20),
+(7,1,2,69,0,19,24,22,24,20),
+(7,1,3,88,0,21,25,23,24,21),
+(7,1,4,107,0,22,25,25,24,21),
+(7,1,5,126,0,23,26,26,24,21),
+(7,1,6,145,0,25,27,27,24,21),
+(7,1,7,164,0,26,28,28,24,22),
+(7,1,8,183,0,27,29,29,25,22),
+(7,1,9,202,0,29,29,31,25,22),
+(7,1,10,221,0,30,30,32,25,23),
+(7,1,11,240,0,32,31,33,25,23),
+(7,1,12,259,0,33,32,34,25,23),
+(7,1,13,278,0,34,33,36,25,24),
+(7,1,14,298,0,36,34,37,25,24),
+(7,1,15,319,0,37,35,38,25,24),
+(7,1,16,341,0,39,36,40,25,25),
+(7,1,17,364,0,40,36,41,25,25),
+(7,1,18,388,0,42,37,43,26,25),
+(7,1,19,413,0,43,38,44,26,26),
+(7,1,20,439,0,45,39,45,26,26),
+(7,1,21,466,0,47,40,47,26,26),
+(7,1,22,494,0,48,41,48,26,27),
+(7,1,23,523,0,50,42,50,26,27),
+(7,1,24,553,0,51,43,51,26,28),
+(7,1,25,584,0,53,44,52,27,28),
+(7,1,26,616,0,55,45,54,27,28),
+(7,1,27,649,0,56,46,55,27,29),
+(7,1,28,683,0,58,47,57,27,29),
+(7,1,29,718,0,59,48,58,27,30),
+(7,1,30,754,0,61,49,60,27,30),
+(7,1,31,791,0,63,50,62,27,30),
+(7,1,32,829,0,65,51,63,28,31),
+(7,1,33,868,0,66,52,65,28,31),
+(7,1,34,908,0,68,53,66,28,32),
+(7,1,35,949,0,70,55,68,28,32),
+(7,1,36,991,0,72,56,69,28,33),
+(7,1,37,1035,0,73,57,71,29,33),
+(7,1,38,1081,0,75,58,73,29,34),
+(7,1,39,1129,0,77,59,74,29,34),
+(7,1,40,1179,0,79,60,76,29,35),
+(7,1,41,1231,0,81,61,78,29,35),
+(7,1,42,1285,0,82,62,79,30,35),
+(7,1,43,1341,0,84,64,81,30,36),
+(7,1,44,1399,0,86,65,83,30,36),
+(7,1,45,1459,0,88,66,85,30,37),
+(7,1,46,1521,0,90,67,86,30,37),
+(7,1,47,1585,0,92,68,88,31,38),
+(7,1,48,1651,0,94,70,90,31,38),
+(7,1,49,1719,0,96,71,92,31,39),
+(7,1,50,1789,0,98,72,93,31,40),
+(7,1,51,1861,0,100,73,95,32,40),
+(7,1,52,1935,0,102,75,97,32,41),
+(7,1,53,2011,0,104,76,99,32,41),
+(7,1,54,2089,0,106,77,101,32,42),
+(7,1,55,2169,0,108,78,103,33,42),
+(7,1,56,2251,0,110,80,104,33,43),
+(7,1,57,2335,0,112,81,106,33,43),
+(7,1,58,2421,0,114,82,108,33,44),
+(7,1,59,2509,0,116,84,110,34,44),
+(7,1,60,2599,0,118,85,112,34,45),
+(7,1,61,2832,0,120,86,114,34,46),
+(7,1,62,3079,0,122,88,116,35,46),
+(7,1,63,3340,0,125,89,118,35,47),
+(7,1,64,3615,0,127,91,120,35,47),
+(7,1,65,3905,0,129,92,122,35,48),
+(7,1,66,4210,0,131,93,124,36,49),
+(7,1,67,4530,0,133,95,126,36,49),
+(7,1,68,4866,0,136,96,128,36,50),
+(7,1,69,5218,0,138,98,130,37,50),
+(7,1,70,5586,0,140,99,132,37,51),
+(7,4,1,45,0,16,26,20,24,20),
+(7,4,2,62,0,17,27,21,24,20),
+(7,4,3,79,0,18,29,21,24,21),
+(7,4,4,96,0,18,30,22,24,21),
+(7,4,5,113,0,19,32,23,25,21),
+(7,4,6,130,0,20,33,24,25,22),
+(7,4,7,147,0,21,35,24,25,22),
+(7,4,8,164,0,22,36,25,25,23),
+(7,4,9,181,0,22,38,26,25,23),
+(7,4,10,198,0,23,39,26,25,23),
+(7,4,11,215,0,24,41,27,25,24),
+(7,4,12,232,0,25,42,28,26,24),
+(7,4,13,249,0,26,44,29,26,25),
+(7,4,14,266,0,27,46,30,26,25),
+(7,4,15,283,0,28,47,30,26,25),
+(7,4,16,301,0,28,49,31,26,26),
+(7,4,17,320,0,29,50,32,27,26),
+(7,4,18,340,0,30,52,33,27,27),
+(7,4,19,361,0,31,54,34,27,27),
+(7,4,20,383,0,32,56,35,27,28),
+(7,4,21,406,0,33,57,35,27,28),
+(7,4,22,430,0,34,59,36,28,29),
+(7,4,23,455,0,35,61,37,28,29),
+(7,4,24,481,0,36,62,38,28,30),
+(7,4,25,508,0,37,64,39,28,30),
+(7,4,26,536,0,38,66,40,29,31),
+(7,4,27,565,0,39,68,41,29,31),
+(7,4,28,595,0,40,70,42,29,32),
+(7,4,29,626,0,41,72,43,29,32),
+(7,4,30,658,0,42,73,43,29,33),
+(7,4,31,691,0,43,75,44,30,33),
+(7,4,32,725,0,44,77,45,30,34),
+(7,4,33,760,0,45,79,46,30,34),
+(7,4,34,796,0,46,81,47,31,35),
+(7,4,35,833,0,47,83,48,31,35),
+(7,4,36,871,0,48,85,49,31,36),
+(7,4,37,910,0,49,87,50,31,36),
+(7,4,38,950,0,50,89,51,32,37),
+(7,4,39,991,0,51,91,52,32,38),
+(7,4,40,1033,0,53,93,53,32,38),
+(7,4,41,1076,0,54,95,54,33,39),
+(7,4,42,1120,0,55,97,55,33,39),
+(7,4,43,1165,0,56,99,56,33,40),
+(7,4,44,1211,0,57,101,57,33,40),
+(7,4,45,1258,0,58,103,59,34,41),
+(7,4,46,1306,0,59,105,60,34,42),
+(7,4,47,1355,0,61,107,61,34,42),
+(7,4,48,1405,0,62,110,62,35,43),
+(7,4,49,1456,0,63,112,63,35,44),
+(7,4,50,1508,0,64,114,64,35,44),
+(7,4,51,1561,0,65,116,65,36,45),
+(7,4,52,1615,0,67,118,66,36,45),
+(7,4,53,1670,0,68,121,67,36,46),
+(7,4,54,1726,0,69,123,69,37,47),
+(7,4,55,1783,0,70,125,70,37,47),
+(7,4,56,1841,0,72,127,71,37,48),
+(7,4,57,1900,0,73,130,72,38,49),
+(7,4,58,1960,0,74,132,73,38,49),
+(7,4,59,2021,0,75,134,74,39,50),
+(7,4,60,2083,0,77,137,76,39,51),
+(7,4,61,2272,0,78,139,77,39,51),
+(7,4,62,2470,0,79,141,78,40,52),
+(7,4,63,2677,0,81,144,79,40,53),
+(7,4,64,2893,0,82,146,80,41,54),
+(7,4,65,3119,0,83,149,82,41,54),
+(7,4,66,3355,0,85,151,83,41,55),
+(7,4,67,3601,0,86,154,84,42,56),
+(7,4,68,3858,0,87,156,85,42,57),
+(7,4,69,4126,0,89,158,87,43,57),
+(7,4,70,4405,0,90,161,88,43,58),
+(7,8,1,51,225,15,23,19,27,22),
+(7,8,2,66,250,15,23,19,28,23),
+(7,8,3,81,276,15,23,20,30,25),
+(7,8,4,96,303,15,23,20,31,26),
+(7,8,5,111,331,15,24,20,32,27),
+(7,8,6,126,360,15,24,20,34,29),
+(7,8,7,141,390,16,24,21,35,30),
+(7,8,8,156,421,16,24,21,37,31),
+(7,8,9,171,453,16,24,21,38,33),
+(7,8,10,186,486,16,24,22,40,34),
+(7,8,11,201,520,16,25,22,41,36),
+(7,8,12,216,555,16,25,22,42,37),
+(7,8,13,231,591,16,25,23,44,38),
+(7,8,14,246,628,16,25,23,45,40),
+(7,8,15,261,666,17,25,23,47,41),
+(7,8,16,276,705,17,25,24,49,43),
+(7,8,17,291,745,17,26,24,50,44),
+(7,8,18,306,786,17,26,24,52,46),
+(7,8,19,321,828,17,26,25,53,47),
+(7,8,20,336,871,17,26,25,55,49),
+(7,8,21,351,915,17,26,26,57,51),
+(7,8,22,366,960,18,27,26,58,52),
+(7,8,23,381,1006,18,27,26,60,54),
+(7,8,24,397,1053,18,27,27,61,55),
+(7,8,25,414,1101,18,27,27,63,57),
+(7,8,26,432,1150,18,28,27,65,59),
+(7,8,27,451,1200,18,28,28,67,60),
+(7,8,28,471,1251,18,28,28,68,62),
+(7,8,29,492,1302,19,28,29,70,64),
+(7,8,30,514,1353,19,29,29,72,65),
+(7,8,31,537,1404,19,29,30,74,67),
+(7,8,32,561,1455,19,29,30,75,69),
+(7,8,33,586,1506,19,29,30,77,70),
+(7,8,34,612,1557,20,30,31,79,72),
+(7,8,35,639,1608,20,30,31,81,74),
+(7,8,36,667,1659,20,30,32,83,76),
+(7,8,37,696,1710,20,30,32,85,78),
+(7,8,38,726,1761,20,31,33,86,79),
+(7,8,39,757,1812,21,31,33,88,81),
+(7,8,40,789,1863,21,31,34,90,83),
+(7,8,41,822,1914,21,32,34,92,85),
+(7,8,42,856,1965,21,32,35,94,87),
+(7,8,43,891,2016,21,32,35,96,89),
+(7,8,44,927,2067,22,32,36,98,91),
+(7,8,45,964,2118,22,33,36,100,92),
+(7,8,46,1002,2169,22,33,37,102,94),
+(7,8,47,1041,2220,22,33,37,104,96),
+(7,8,48,1081,2271,22,34,38,106,98),
+(7,8,49,1122,2322,23,34,38,108,100),
+(7,8,50,1164,2373,23,34,39,110,102),
+(7,8,51,1207,2424,23,35,39,112,104),
+(7,8,52,1251,2475,23,35,40,114,106),
+(7,8,53,1296,2526,24,35,40,117,108),
+(7,8,54,1342,2577,24,36,41,119,110),
+(7,8,55,1389,2628,24,36,41,121,112),
+(7,8,56,1437,2679,24,37,42,123,114),
+(7,8,57,1486,2730,25,37,42,125,117),
+(7,8,58,1536,2781,25,37,43,127,119),
+(7,8,59,1587,2832,25,38,43,130,121),
+(7,8,60,1639,2883,25,38,44,132,123),
+(7,8,61,1805,3016,26,38,45,134,125),
+(7,8,62,1980,3164,26,39,45,136,127),
+(7,8,63,2164,3297,26,39,46,139,129),
+(7,8,64,2357,3445,26,40,46,141,132),
+(7,8,65,2559,3578,27,40,47,143,134),
+(7,8,66,2771,3726,27,40,48,146,136),
+(7,8,67,2993,3859,27,41,48,148,138),
+(7,8,68,3225,4007,27,41,49,150,140),
+(7,8,69,3468,4140,28,42,49,153,143),
+(7,8,70,3722,4288,28,42,50,155,145),
+(7,9,1,43,200,15,23,20,26,22),
+(7,9,2,58,223,15,23,21,27,23),
+(7,9,3,73,247,16,24,21,28,24),
+(7,9,4,88,272,16,24,22,29,25),
+(7,9,5,103,298,16,24,22,31,27),
+(7,9,6,118,325,17,25,23,32,28),
+(7,9,7,133,353,17,25,23,33,29),
+(7,9,8,148,382,17,26,24,34,30),
+(7,9,9,163,412,17,26,25,36,31),
+(7,9,10,178,443,18,26,25,37,33),
+(7,9,11,193,475,18,27,26,38,34),
+(7,9,12,208,508,18,27,26,39,35),
+(7,9,13,223,542,19,28,27,41,36),
+(7,9,14,238,577,19,28,28,42,38),
+(7,9,15,253,613,20,28,28,43,39),
+(7,9,16,268,650,20,29,29,45,40),
+(7,9,17,283,688,20,29,30,46,42),
+(7,9,18,299,727,21,30,30,47,43),
+(7,9,19,316,767,21,30,31,49,44),
+(7,9,20,334,808,21,31,32,50,46),
+(7,9,21,353,850,22,31,32,51,47),
+(7,9,22,373,893,22,31,33,53,49),
+(7,9,23,394,937,23,32,34,54,50),
+(7,9,24,416,982,23,32,34,56,51),
+(7,9,25,439,1028,23,33,35,57,53),
+(7,9,26,463,1075,24,33,36,59,54),
+(7,9,27,488,1123,24,34,37,60,56),
+(7,9,28,514,1172,25,34,37,62,57),
+(7,9,29,541,1222,25,35,38,63,59),
+(7,9,30,569,1273,25,35,39,65,60),
+(7,9,31,598,1324,26,36,40,66,62),
+(7,9,32,628,1375,26,36,40,68,63),
+(7,9,33,659,1426,27,37,41,69,65),
+(7,9,34,691,1477,27,38,42,71,66),
+(7,9,35,724,1528,28,38,43,73,68),
+(7,9,36,758,1579,28,39,43,74,69),
+(7,9,37,793,1630,28,39,44,76,71),
+(7,9,38,829,1681,29,40,45,77,73),
+(7,9,39,866,1732,29,40,46,79,74),
+(7,9,40,904,1783,30,41,47,81,76),
+(7,9,41,943,1834,30,41,48,82,78),
+(7,9,42,983,1885,31,42,48,84,79),
+(7,9,43,1024,1936,31,43,49,86,81),
+(7,9,44,1066,1987,32,43,50,88,83),
+(7,9,45,1109,2038,32,44,51,89,84),
+(7,9,46,1153,2089,33,44,52,91,86),
+(7,9,47,1198,2140,33,45,53,93,88),
+(7,9,48,1244,2191,34,46,54,95,89),
+(7,9,49,1291,2242,34,46,54,96,91),
+(7,9,50,1339,2293,35,47,55,98,93),
+(7,9,51,1388,2344,35,48,56,100,95),
+(7,9,52,1438,2395,36,48,57,102,97),
+(7,9,53,1489,2446,36,49,58,104,98),
+(7,9,54,1541,2497,37,50,59,105,100),
+(7,9,55,1594,2548,37,50,60,107,102),
+(7,9,56,1648,2599,38,51,61,109,104),
+(7,9,57,1703,2650,38,52,62,111,106),
+(7,9,58,1759,2701,39,52,63,113,108),
+(7,9,59,1816,2752,40,53,64,115,109),
+(7,9,60,1874,2803,40,54,65,117,111),
+(7,9,61,2050,2957,41,54,66,119,113),
+(7,9,62,2235,3111,41,55,67,121,115),
+(7,9,63,2429,3280,42,56,68,123,117),
+(7,9,64,2632,3434,42,57,69,125,119),
+(7,9,65,2844,3588,43,57,70,127,121),
+(7,9,66,3066,3757,44,58,71,129,123),
+(7,9,67,3298,3911,44,59,72,131,125),
+(7,9,68,3541,4065,45,59,73,133,127),
+(7,9,69,3795,4234,45,60,74,135,129),
+(7,9,70,4060,4388,46,61,75,137,131),
+(8,1,1,70,0,24,22,23,16,21),
+(8,1,2,89,0,25,23,24,16,21),
+(8,1,3,108,0,27,24,25,16,22),
+(8,1,4,127,0,28,24,26,16,22),
+(8,1,5,146,0,29,25,28,16,22),
+(8,1,6,165,0,31,26,29,16,22),
+(8,1,7,184,0,32,27,30,17,23),
+(8,1,8,203,0,33,28,31,17,23),
+(8,1,9,222,0,35,28,33,17,23),
+(8,1,10,241,0,36,29,34,17,24),
+(8,1,11,260,0,37,30,35,17,24),
+(8,1,12,279,0,39,31,36,17,24),
+(8,1,13,298,0,40,32,38,17,25),
+(8,1,14,318,0,42,33,39,17,25),
+(8,1,15,339,0,43,34,40,18,25),
+(8,1,16,361,0,45,35,42,18,26),
+(8,1,17,384,0,46,35,43,18,26),
+(8,1,18,408,0,48,36,44,18,26),
+(8,1,19,433,0,49,37,46,18,27),
+(8,1,20,459,0,51,38,47,18,27),
+(8,1,21,486,0,52,39,49,18,27),
+(8,1,22,514,0,54,40,50,18,28),
+(8,1,23,543,0,55,41,51,19,28),
+(8,1,24,573,0,57,42,53,19,29),
+(8,1,25,604,0,59,43,54,19,29),
+(8,1,26,636,0,60,44,56,19,29),
+(8,1,27,669,0,62,45,57,19,30),
+(8,1,28,703,0,63,46,59,19,30),
+(8,1,29,738,0,65,47,60,20,31),
+(8,1,30,774,0,67,48,62,20,31),
+(8,1,31,811,0,69,49,63,20,31),
+(8,1,32,849,0,70,50,65,20,32),
+(8,1,33,888,0,72,51,67,20,32),
+(8,1,34,928,0,74,53,68,20,33),
+(8,1,35,969,0,75,54,70,21,33),
+(8,1,36,1011,0,77,55,71,21,34),
+(8,1,37,1055,0,79,56,73,21,34),
+(8,1,38,1101,0,81,57,75,21,35),
+(8,1,39,1149,0,83,58,76,21,35),
+(8,1,40,1199,0,84,59,78,22,35),
+(8,1,41,1251,0,86,60,80,22,36),
+(8,1,42,1305,0,88,62,81,22,36),
+(8,1,43,1361,0,90,63,83,22,37),
+(8,1,44,1419,0,92,64,85,22,37),
+(8,1,45,1479,0,94,65,86,23,38),
+(8,1,46,1541,0,96,66,88,23,38),
+(8,1,47,1605,0,98,67,90,23,39),
+(8,1,48,1671,0,100,69,92,23,39),
+(8,1,49,1739,0,102,70,93,24,40),
+(8,1,50,1809,0,103,71,95,24,40),
+(8,1,51,1881,0,105,72,97,24,41),
+(8,1,52,1955,0,107,74,99,24,42),
+(8,1,53,2031,0,109,75,101,25,42),
+(8,1,54,2109,0,112,76,103,25,43),
+(8,1,55,2189,0,114,78,104,25,43),
+(8,1,56,2271,0,116,79,106,25,44),
+(8,1,57,2355,0,118,80,108,25,44),
+(8,1,58,2441,0,120,81,110,26,45),
+(8,1,59,2529,0,122,83,112,26,45),
+(8,1,60,2619,0,124,84,114,26,46),
+(8,1,61,2852,0,126,85,116,27,47),
+(8,1,62,3099,0,128,87,118,27,47),
+(8,1,63,3360,0,130,88,120,27,48),
+(8,1,64,3635,0,133,90,122,27,48),
+(8,1,65,3925,0,135,91,124,28,49),
+(8,1,66,4230,0,137,92,126,28,50),
+(8,1,67,4550,0,139,94,128,28,50),
+(8,1,68,4886,0,141,95,130,28,51),
+(8,1,69,5238,0,144,97,132,29,51),
+(8,1,70,5606,0,146,98,134,29,52),
+(8,3,1,66,81,21,25,22,16,22),
+(8,3,2,83,101,21,26,23,17,23),
+(8,3,3,100,122,22,28,24,17,23),
+(8,3,4,117,144,22,29,25,18,24),
+(8,3,5,134,167,23,30,26,18,25),
+(8,3,6,151,191,23,32,27,19,25),
+(8,3,7,168,216,24,33,28,20,26),
+(8,3,8,185,242,24,35,28,20,26),
+(8,3,9,202,269,25,36,29,21,27),
+(8,3,10,219,297,25,38,30,21,28),
+(8,3,11,236,326,25,39,31,22,29),
+(8,3,12,253,356,26,41,32,23,29),
+(8,3,13,270,387,26,42,33,23,30),
+(8,3,14,288,419,27,44,34,24,31),
+(8,3,15,307,452,27,45,35,25,31),
+(8,3,16,327,486,28,47,36,25,32),
+(8,3,17,348,521,28,48,38,26,33),
+(8,3,18,370,557,29,50,39,27,34),
+(8,3,19,393,594,29,51,40,28,34),
+(8,3,20,417,632,30,53,41,28,35),
+(8,3,21,442,671,31,55,42,29,36),
+(8,3,22,468,711,31,56,43,30,37),
+(8,3,23,495,752,32,58,44,30,37),
+(8,3,24,523,794,32,60,45,31,38),
+(8,3,25,552,837,33,61,46,32,39),
+(8,3,26,582,881,33,63,48,33,40),
+(8,3,27,613,926,34,65,49,33,41),
+(8,3,28,645,971,35,66,50,34,41),
+(8,3,29,678,1016,35,68,51,35,42),
+(8,3,30,712,1061,36,70,52,36,43),
+(8,3,31,747,1106,36,72,53,37,44),
+(8,3,32,783,1151,37,73,55,37,45),
+(8,3,33,820,1196,38,75,56,38,46),
+(8,3,34,858,1241,38,77,57,39,47),
+(8,3,35,897,1286,39,79,58,40,48),
+(8,3,36,937,1331,39,81,60,41,48),
+(8,3,37,978,1376,40,83,61,41,49),
+(8,3,38,1020,1421,41,85,62,42,50),
+(8,3,39,1063,1466,41,86,63,43,51),
+(8,3,40,1107,1511,42,88,65,44,52),
+(8,3,41,1152,1556,43,90,66,45,53),
+(8,3,42,1198,1601,43,92,67,46,54),
+(8,3,43,1245,1646,44,94,69,47,55),
+(8,3,44,1293,1691,45,96,70,47,56),
+(8,3,45,1342,1736,45,98,71,48,57),
+(8,3,46,1392,1781,46,100,73,49,58),
+(8,3,47,1443,1826,47,102,74,50,59),
+(8,3,48,1495,1871,48,104,76,51,60),
+(8,3,49,1548,1916,48,106,77,52,61),
+(8,3,50,1602,1961,49,108,78,53,62),
+(8,3,51,1657,2006,50,110,80,54,63),
+(8,3,52,1713,2051,51,113,81,55,64),
+(8,3,53,1770,2096,51,115,83,56,65),
+(8,3,54,1828,2141,52,117,84,57,66),
+(8,3,55,1887,2186,53,119,86,58,67),
+(8,3,56,1947,2231,54,121,87,59,68),
+(8,3,57,2008,2276,54,123,89,60,69),
+(8,3,58,2070,2321,55,126,90,61,70),
+(8,3,59,2133,2366,56,128,92,62,71),
+(8,3,60,2197,2411,57,130,93,63,73),
+(8,3,61,2383,2592,58,132,95,64,74),
+(8,3,62,2578,2773,58,134,96,65,75),
+(8,3,63,2782,2954,59,137,98,66,76),
+(8,3,64,2995,3135,60,139,99,67,77),
+(8,3,65,3217,3331,61,141,101,68,78),
+(8,3,66,3449,3512,62,144,103,69,79),
+(8,3,67,3691,3693,62,146,104,70,80),
+(8,3,68,3943,3874,63,148,106,71,82),
+(8,3,69,4205,4055,64,151,107,72,83),
+(8,3,70,4478,4251,65,153,109,73,84),
+(8,4,1,65,0,22,25,22,16,21),
+(8,4,2,82,0,23,26,23,16,21),
+(8,4,3,99,0,24,28,23,16,22),
+(8,4,4,116,0,24,29,24,16,22),
+(8,4,5,133,0,25,31,25,17,22),
+(8,4,6,150,0,26,32,25,17,23),
+(8,4,7,167,0,27,34,26,17,23),
+(8,4,8,184,0,27,35,27,17,24),
+(8,4,9,201,0,28,37,28,17,24),
+(8,4,10,218,0,29,38,28,18,24),
+(8,4,11,235,0,30,40,29,18,25),
+(8,4,12,252,0,31,41,30,18,25),
+(8,4,13,269,0,32,43,31,18,26),
+(8,4,14,286,0,32,45,32,18,26),
+(8,4,15,303,0,33,46,32,19,26),
+(8,4,16,321,0,34,48,33,19,27),
+(8,4,17,340,0,35,50,34,19,27),
+(8,4,18,360,0,36,51,35,19,28),
+(8,4,19,381,0,37,53,36,19,28),
+(8,4,20,403,0,38,55,36,20,29),
+(8,4,21,426,0,39,56,37,20,29),
+(8,4,22,450,0,40,58,38,20,30),
+(8,4,23,475,0,41,60,39,20,30),
+(8,4,24,501,0,42,62,40,20,31),
+(8,4,25,528,0,43,63,41,21,31),
+(8,4,26,556,0,44,65,42,21,32),
+(8,4,27,585,0,45,67,43,21,32),
+(8,4,28,615,0,46,69,44,21,33),
+(8,4,29,646,0,47,71,44,22,33),
+(8,4,30,678,0,48,72,45,22,34),
+(8,4,31,711,0,49,74,46,22,34),
+(8,4,32,745,0,50,76,47,22,35),
+(8,4,33,780,0,51,78,48,23,35),
+(8,4,34,816,0,52,80,49,23,36),
+(8,4,35,853,0,53,82,50,23,36),
+(8,4,36,891,0,54,84,51,24,37),
+(8,4,37,930,0,55,86,52,24,37),
+(8,4,38,970,0,56,88,53,24,38),
+(8,4,39,1011,0,57,90,54,24,38),
+(8,4,40,1053,0,58,92,55,25,39),
+(8,4,41,1096,0,59,94,56,25,40),
+(8,4,42,1140,0,60,96,57,25,40),
+(8,4,43,1185,0,62,98,58,26,41),
+(8,4,44,1231,0,63,100,59,26,41),
+(8,4,45,1278,0,64,102,60,26,42),
+(8,4,46,1326,0,65,104,61,27,43),
+(8,4,47,1375,0,66,107,63,27,43),
+(8,4,48,1425,0,67,109,64,27,44),
+(8,4,49,1476,0,69,111,65,27,44),
+(8,4,50,1528,0,70,113,66,28,45),
+(8,4,51,1581,0,71,115,67,28,46),
+(8,4,52,1635,0,72,117,68,28,46),
+(8,4,53,1690,0,74,120,69,29,47),
+(8,4,54,1746,0,75,122,70,29,48),
+(8,4,55,1803,0,76,124,72,29,48),
+(8,4,56,1861,0,77,126,73,30,49),
+(8,4,57,1920,0,79,129,74,30,50),
+(8,4,58,1980,0,80,131,75,30,50),
+(8,4,59,2041,0,81,133,76,31,51),
+(8,4,60,2103,0,82,136,77,31,52),
+(8,4,61,2292,0,84,138,79,32,52),
+(8,4,62,2490,0,85,140,80,32,53),
+(8,4,63,2697,0,86,143,81,32,54),
+(8,4,64,2913,0,88,145,82,33,55),
+(8,4,65,3139,0,89,148,84,33,55),
+(8,4,66,3375,0,90,150,85,33,56),
+(8,4,67,3621,0,92,153,86,34,57),
+(8,4,68,3878,0,93,155,87,34,58),
+(8,4,69,4146,0,95,157,89,35,58),
+(8,4,70,4425,0,96,160,90,35,59),
+(8,5,1,62,128,21,22,21,18,24),
+(8,5,2,77,152,21,22,21,19,25),
+(8,5,3,92,177,21,22,22,21,27),
+(8,5,4,107,203,21,23,22,22,28),
+(8,5,5,122,230,22,23,22,23,29),
+(8,5,6,137,258,22,23,23,25,31),
+(8,5,7,152,287,22,23,23,26,32),
+(8,5,8,167,317,22,24,24,27,34),
+(8,5,9,182,348,22,24,24,29,35),
+(8,5,10,197,380,22,24,24,30,37),
+(8,5,11,212,413,23,24,25,32,38),
+(8,5,12,227,447,23,24,25,33,40),
+(8,5,13,242,482,23,25,26,35,41),
+(8,5,14,257,518,23,25,26,36,43),
+(8,5,15,272,555,23,25,26,38,44),
+(8,5,16,287,593,24,26,27,39,46),
+(8,5,17,302,632,24,26,27,41,47),
+(8,5,18,317,672,24,26,28,42,49),
+(8,5,19,332,713,24,26,28,44,50),
+(8,5,20,347,755,24,27,29,45,52),
+(8,5,21,362,798,25,27,29,47,54),
+(8,5,22,378,842,25,27,30,48,55),
+(8,5,23,395,887,25,28,30,50,57),
+(8,5,24,413,933,25,28,31,52,59),
+(8,5,25,432,980,25,28,31,53,60),
+(8,5,26,452,1028,26,28,32,55,62),
+(8,5,27,473,1077,26,29,32,56,64),
+(8,5,28,495,1127,26,29,33,58,65),
+(8,5,29,518,1178,26,29,33,60,67),
+(8,5,30,542,1230,27,30,34,62,69),
+(8,5,31,567,1283,27,30,34,63,71),
+(8,5,32,593,1337,27,30,35,65,73),
+(8,5,33,620,1391,27,31,35,67,74),
+(8,5,34,648,1445,28,31,36,68,76),
+(8,5,35,677,1499,28,32,36,70,78),
+(8,5,36,707,1553,28,32,37,72,80),
+(8,5,37,738,1607,29,32,37,74,82),
+(8,5,38,770,1661,29,33,38,76,84),
+(8,5,39,803,1715,29,33,38,77,86),
+(8,5,40,837,1769,29,33,39,79,87),
+(8,5,41,872,1823,30,34,40,81,89),
+(8,5,42,908,1877,30,34,40,83,91),
+(8,5,43,945,1931,30,35,41,85,93),
+(8,5,44,983,1985,31,35,41,87,95),
+(8,5,45,1022,2039,31,35,42,89,97),
+(8,5,46,1062,2093,31,36,43,91,99),
+(8,5,47,1103,2147,32,36,43,93,101),
+(8,5,48,1145,2201,32,37,44,94,103),
+(8,5,49,1188,2255,32,37,44,96,105),
+(8,5,50,1232,2309,33,37,45,98,107),
+(8,5,51,1277,2363,33,38,46,100,110),
+(8,5,52,1323,2417,33,38,46,102,112),
+(8,5,53,1370,2471,34,39,47,104,114),
+(8,5,54,1418,2525,34,39,48,106,116),
+(8,5,55,1467,2579,34,40,48,109,118),
+(8,5,56,1517,2633,35,40,49,111,120),
+(8,5,57,1568,2687,35,41,50,113,122),
+(8,5,58,1620,2741,35,41,50,115,125),
+(8,5,59,1673,2795,36,42,51,117,127),
+(8,5,60,1727,2849,36,42,52,119,129),
+(8,5,61,1897,3018,36,42,52,121,131),
+(8,5,62,2075,3172,37,43,53,123,133),
+(8,5,63,2261,3341,37,43,54,125,136),
+(8,5,64,2455,3495,38,44,55,128,138),
+(8,5,65,2657,3664,38,44,55,130,140),
+(8,5,66,2868,3818,38,45,56,132,143),
+(8,5,67,3088,3987,39,45,57,134,145),
+(8,5,68,3317,4141,39,46,58,136,147),
+(8,5,69,3555,4310,40,46,58,139,150),
+(8,5,70,3802,4479,40,47,59,141,152),
+(8,7,1,67,72,22,22,22,17,23),
+(8,7,2,84,93,23,22,23,18,24),
+(8,7,3,101,115,24,23,24,19,25),
+(8,7,4,118,138,25,23,25,20,26),
+(8,7,5,135,162,25,24,26,21,27),
+(8,7,6,152,187,26,24,27,22,28),
+(8,7,7,169,213,27,25,28,23,29),
+(8,7,8,186,240,28,25,29,24,30),
+(8,7,9,203,268,29,25,30,25,31),
+(8,7,10,220,297,30,26,31,26,33),
+(8,7,11,237,327,31,26,32,27,34),
+(8,7,12,254,358,32,27,33,28,35),
+(8,7,13,271,390,33,27,34,29,36),
+(8,7,14,288,423,34,28,35,30,37),
+(8,7,15,305,457,34,28,36,31,38),
+(8,7,16,322,492,35,29,38,32,39),
+(8,7,17,340,528,36,29,39,33,41),
+(8,7,18,359,565,37,30,40,34,42),
+(8,7,19,379,603,38,30,41,35,43),
+(8,7,20,400,642,39,31,42,36,44),
+(8,7,21,422,682,40,32,43,37,45),
+(8,7,22,445,723,41,32,45,38,47),
+(8,7,23,469,765,43,33,46,39,48),
+(8,7,24,494,808,44,33,47,40,49),
+(8,7,25,520,852,45,34,48,42,51),
+(8,7,26,547,897,46,34,49,43,52),
+(8,7,27,575,943,47,35,51,44,53),
+(8,7,28,604,990,48,35,52,45,54),
+(8,7,29,634,1038,49,36,53,46,56),
+(8,7,30,665,1087,50,37,54,48,57),
+(8,7,31,697,1137,51,37,56,49,59),
+(8,7,32,730,1188,52,38,57,50,60),
+(8,7,33,764,1239,53,38,58,51,61),
+(8,7,34,799,1290,55,39,60,52,63),
+(8,7,35,835,1341,56,40,61,54,64),
+(8,7,36,872,1392,57,40,62,55,66),
+(8,7,37,910,1443,58,41,64,56,67),
+(8,7,38,949,1494,59,42,65,57,68),
+(8,7,39,989,1545,61,42,66,59,70),
+(8,7,40,1030,1596,62,43,68,60,71),
+(8,7,41,1072,1647,63,44,69,61,73),
+(8,7,42,1115,1698,64,44,71,63,74),
+(8,7,43,1159,1749,65,45,72,64,76),
+(8,7,44,1204,1800,67,46,74,65,77),
+(8,7,45,1250,1851,68,46,75,67,79),
+(8,7,46,1297,1902,69,47,76,68,80),
+(8,7,47,1345,1953,71,48,78,69,82),
+(8,7,48,1394,2004,72,49,79,71,83),
+(8,7,49,1444,2055,73,49,81,72,85),
+(8,7,50,1495,2106,74,50,82,74,87),
+(8,7,51,1547,2157,76,51,84,75,88),
+(8,7,52,1600,2208,77,51,85,77,90),
+(8,7,53,1654,2259,78,52,87,78,92),
+(8,7,54,1709,2310,80,53,89,79,93),
+(8,7,55,1765,2361,81,54,90,81,95),
+(8,7,56,1822,2412,83,55,92,82,96),
+(8,7,57,1880,2463,84,55,93,84,98),
+(8,7,58,1939,2514,85,56,95,85,100),
+(8,7,59,1999,2565,87,57,97,87,102),
+(8,7,60,2060,2616,88,58,98,88,103),
+(8,7,61,2228,2775,90,58,100,90,105),
+(8,7,62,2404,2934,91,59,101,91,107),
+(8,7,63,2588,3108,93,60,103,93,108),
+(8,7,64,2780,3267,94,61,105,94,110),
+(8,7,65,2981,3426,95,62,106,96,112),
+(8,7,66,3191,3600,97,63,108,98,114),
+(8,7,67,3411,3759,98,63,110,99,116),
+(8,7,68,3641,3918,100,64,112,101,117),
+(8,7,69,3881,4092,101,65,113,102,119),
+(8,7,70,4131,4251,103,66,115,104,121),
+(8,8,1,62,119,21,22,21,19,23),
+(8,8,2,77,144,21,22,21,20,24),
+(8,8,3,92,170,21,22,22,22,26),
+(8,8,4,107,197,21,22,22,23,27),
+(8,8,5,122,225,21,23,22,25,28),
+(8,8,6,137,254,21,23,22,26,30),
+(8,8,7,152,284,21,23,23,27,31),
+(8,8,8,167,315,22,23,23,29,32),
+(8,8,9,182,347,22,23,23,30,34),
+(8,8,10,197,380,22,23,24,32,35),
+(8,8,11,212,414,22,24,24,33,37),
+(8,8,12,227,449,22,24,24,35,38),
+(8,8,13,242,485,22,24,25,36,39),
+(8,8,14,257,522,22,24,25,38,41),
+(8,8,15,272,560,22,24,25,39,42),
+(8,8,16,287,599,22,24,26,41,44),
+(8,8,17,302,639,23,25,26,42,45),
+(8,8,18,317,680,23,25,26,44,47),
+(8,8,19,332,722,23,25,27,46,48),
+(8,8,20,347,765,23,25,27,47,50),
+(8,8,21,362,809,23,25,27,49,51),
+(8,8,22,377,854,23,26,28,51,53),
+(8,8,23,392,900,23,26,28,52,55),
+(8,8,24,408,947,24,26,29,54,56),
+(8,8,25,425,995,24,26,29,56,58),
+(8,8,26,443,1044,24,27,29,57,60),
+(8,8,27,462,1094,24,27,30,59,61),
+(8,8,28,482,1145,24,27,30,61,63),
+(8,8,29,503,1196,24,27,31,63,65),
+(8,8,30,525,1247,24,28,31,64,66),
+(8,8,31,548,1298,25,28,31,66,68),
+(8,8,32,572,1349,25,28,32,68,70),
+(8,8,33,597,1400,25,28,32,70,71),
+(8,8,34,623,1451,25,29,33,71,73),
+(8,8,35,650,1502,25,29,33,73,75),
+(8,8,36,678,1553,26,29,34,75,77),
+(8,8,37,707,1604,26,29,34,77,79),
+(8,8,38,737,1655,26,30,35,79,80),
+(8,8,39,768,1706,26,30,35,81,82),
+(8,8,40,800,1757,26,30,35,83,84),
+(8,8,41,833,1808,27,31,36,85,86),
+(8,8,42,867,1859,27,31,36,87,88),
+(8,8,43,902,1910,27,31,37,89,90),
+(8,8,44,938,1961,27,32,37,91,91),
+(8,8,45,975,2012,27,32,38,93,93),
+(8,8,46,1013,2063,28,32,38,95,95),
+(8,8,47,1052,2114,28,32,39,97,97),
+(8,8,48,1092,2165,28,33,39,99,99),
+(8,8,49,1133,2216,28,33,40,101,101),
+(8,8,50,1175,2267,29,33,40,103,103),
+(8,8,51,1218,2318,29,34,41,105,105),
+(8,8,52,1262,2369,29,34,42,107,107),
+(8,8,53,1307,2420,29,35,42,109,109),
+(8,8,54,1353,2471,30,35,43,111,111),
+(8,8,55,1400,2522,30,35,43,113,113),
+(8,8,56,1448,2573,30,36,44,115,115),
+(8,8,57,1497,2624,30,36,44,118,118),
+(8,8,58,1547,2675,31,36,45,120,120),
+(8,8,59,1598,2726,31,37,45,122,122),
+(8,8,60,1650,2777,31,37,46,124,124),
+(8,8,61,1816,2910,31,37,47,126,126),
+(8,8,62,1991,3058,32,38,47,129,128),
+(8,8,63,2175,3191,32,38,48,131,130),
+(8,8,64,2368,3339,32,39,48,133,133),
+(8,8,65,2570,3472,33,39,49,135,135),
+(8,8,66,2782,3620,33,39,50,138,137),
+(8,8,67,3004,3753,33,40,50,140,139),
+(8,8,68,3236,3901,33,40,51,142,141),
+(8,8,69,3479,4034,34,41,51,145,144),
+(8,8,70,3733,4182,34,41,52,147,146),
+(10,2,1,38,140,19,22,21,24,20),
+(10,2,2,56,159,20,23,22,25,21),
+(10,2,3,74,179,21,23,23,25,21),
+(10,2,4,92,200,22,24,24,26,22),
+(10,2,5,110,222,23,24,25,27,23),
+(10,2,6,128,245,25,25,26,27,24),
+(10,2,7,146,269,26,25,27,28,24),
+(10,2,8,164,294,27,26,28,29,25),
+(10,2,9,182,320,28,27,29,29,26),
+(10,2,10,200,347,29,27,31,30,26),
+(10,2,11,218,375,30,28,32,31,27),
+(10,2,12,236,404,32,29,33,31,28),
+(10,2,13,254,434,33,29,34,32,29),
+(10,2,14,272,465,34,30,35,33,30),
+(10,2,15,291,497,35,31,36,33,30),
+(10,2,16,311,530,37,31,37,34,31),
+(10,2,17,332,564,38,32,39,35,32),
+(10,2,18,354,599,39,33,40,36,33),
+(10,2,19,377,635,40,33,41,36,34),
+(10,2,20,401,672,42,34,42,37,35),
+(10,2,21,426,710,43,35,44,38,35),
+(10,2,22,452,749,44,35,45,39,36),
+(10,2,23,479,789,46,36,46,40,37),
+(10,2,24,507,830,47,37,47,40,38),
+(10,2,25,536,872,49,38,49,41,39),
+(10,2,26,566,914,50,38,50,42,40),
+(10,2,27,597,956,51,39,51,43,41),
+(10,2,28,629,998,53,40,53,44,42),
+(10,2,29,662,1040,54,41,54,45,43),
+(10,2,30,696,1082,56,41,55,45,43),
+(10,2,31,731,1124,57,42,57,46,44),
+(10,2,32,767,1166,58,43,58,47,45),
+(10,2,33,804,1208,60,44,59,48,46),
+(10,2,34,842,1250,61,45,61,49,47),
+(10,2,35,881,1292,63,45,62,50,48),
+(10,2,36,921,1334,64,46,64,51,49),
+(10,2,37,962,1376,66,47,65,52,50),
+(10,2,38,1004,1418,67,48,67,53,51),
+(10,2,39,1047,1460,69,49,68,54,52),
+(10,2,40,1091,1502,71,50,69,55,53),
+(10,2,41,1136,1544,72,50,71,55,54),
+(10,2,42,1182,1586,74,51,72,56,55),
+(10,2,43,1229,1628,75,52,74,57,56),
+(10,2,44,1277,1670,77,53,75,58,57),
+(10,2,45,1326,1712,79,54,77,59,59),
+(10,2,46,1376,1754,80,55,78,60,60),
+(10,2,47,1427,1796,82,56,80,61,61),
+(10,2,48,1479,1838,83,57,82,62,62),
+(10,2,49,1532,1880,85,58,83,63,63),
+(10,2,50,1586,1922,87,59,85,64,64),
+(10,2,51,1641,1964,89,60,86,66,65),
+(10,2,52,1697,2006,90,61,88,67,66),
+(10,2,53,1754,2048,92,61,90,68,67),
+(10,2,54,1812,2090,94,62,91,69,69),
+(10,2,55,1871,2132,95,63,93,70,70),
+(10,2,56,1931,2174,97,64,95,71,71),
+(10,2,57,1992,2216,99,65,96,72,72),
+(10,2,58,2054,2258,101,66,98,73,73),
+(10,2,59,2117,2300,102,67,100,74,74),
+(10,2,60,2181,2342,104,68,101,75,76),
+(10,2,61,2361,2501,106,69,103,76,77),
+(10,2,62,2549,2660,108,70,105,78,78),
+(10,2,63,2745,2834,110,72,106,79,79),
+(10,2,64,2950,2993,112,73,108,80,80),
+(10,2,65,3164,3152,113,74,110,81,82),
+(10,2,66,3387,3326,115,75,112,82,83),
+(10,2,67,3620,3485,117,76,114,83,84),
+(10,2,68,3863,3644,119,77,115,85,85),
+(10,2,69,4116,3818,121,78,117,86,87),
+(10,2,70,4379,3977,123,79,119,87,88),
+(10,3,1,45,145,17,25,20,24,20),
+(10,3,2,62,165,17,26,21,25,21),
+(10,3,3,79,186,18,28,22,25,21),
+(10,3,4,96,208,18,29,23,26,22),
+(10,3,5,113,231,19,30,24,26,23),
+(10,3,6,130,255,19,32,25,27,23),
+(10,3,7,147,280,20,33,26,27,24),
+(10,3,8,164,306,20,35,27,28,25),
+(10,3,9,181,333,21,36,27,29,25),
+(10,3,10,198,361,21,38,28,29,26),
+(10,3,11,215,390,22,39,29,30,27),
+(10,3,12,232,420,22,41,30,31,27),
+(10,3,13,249,451,23,42,31,31,28),
+(10,3,14,267,483,23,44,32,32,29),
+(10,3,15,286,516,24,45,34,32,29),
+(10,3,16,306,550,24,47,35,33,30),
+(10,3,17,327,585,25,48,36,34,31),
+(10,3,18,349,621,25,50,37,34,32),
+(10,3,19,372,658,26,51,38,35,32),
+(10,3,20,396,696,26,53,39,36,33),
+(10,3,21,421,735,27,55,40,37,34),
+(10,3,22,447,775,27,56,41,37,35),
+(10,3,23,474,816,28,58,42,38,36),
+(10,3,24,502,858,28,60,43,39,36),
+(10,3,25,531,901,29,61,44,39,37),
+(10,3,26,561,945,30,63,46,40,38),
+(10,3,27,592,990,30,65,47,41,39),
+(10,3,28,624,1035,31,66,48,42,40),
+(10,3,29,657,1080,31,68,49,42,40),
+(10,3,30,691,1125,32,70,50,43,41),
+(10,3,31,726,1170,33,72,52,44,42),
+(10,3,32,762,1215,33,73,53,45,43),
+(10,3,33,799,1260,34,75,54,46,44),
+(10,3,34,837,1305,34,77,55,46,45),
+(10,3,35,876,1350,35,79,57,47,46),
+(10,3,36,916,1395,36,81,58,48,47),
+(10,3,37,957,1440,36,83,59,49,47),
+(10,3,38,999,1485,37,85,60,50,48),
+(10,3,39,1042,1530,38,86,62,51,49),
+(10,3,40,1086,1575,38,88,63,51,50),
+(10,3,41,1131,1620,39,90,64,52,51),
+(10,3,42,1177,1665,40,92,66,53,52),
+(10,3,43,1224,1710,40,94,67,54,53),
+(10,3,44,1272,1755,41,96,68,55,54),
+(10,3,45,1321,1800,42,98,70,56,55),
+(10,3,46,1371,1845,42,100,71,57,56),
+(10,3,47,1422,1890,43,102,72,58,57),
+(10,3,48,1474,1935,44,104,74,59,58),
+(10,3,49,1527,1980,45,106,75,60,59),
+(10,3,50,1581,2025,45,108,77,61,60),
+(10,3,51,1636,2070,46,110,78,61,61),
+(10,3,52,1692,2115,47,113,79,62,62),
+(10,3,53,1749,2160,47,115,81,63,63),
+(10,3,54,1807,2205,48,117,82,64,64),
+(10,3,55,1866,2250,49,119,84,65,65),
+(10,3,56,1926,2295,50,121,85,66,66),
+(10,3,57,1987,2340,50,123,87,67,67),
+(10,3,58,2049,2385,51,126,88,68,68),
+(10,3,59,2112,2430,52,128,90,69,70),
+(10,3,60,2176,2475,53,130,91,70,71),
+(10,3,61,2362,2656,54,132,93,71,72),
+(10,3,62,2557,2837,54,134,94,72,73),
+(10,3,63,2761,3018,55,137,96,73,74),
+(10,3,64,2974,3199,56,139,97,75,75),
+(10,3,65,3196,3395,57,141,99,76,76),
+(10,3,66,3428,3576,58,144,101,77,77),
+(10,3,67,3670,3757,58,146,102,78,78),
+(10,3,68,3922,3938,59,148,104,79,80),
+(10,3,69,4184,4119,60,151,105,80,81),
+(10,3,70,4457,4315,61,153,107,81,82),
+(10,4,1,45,0,18,25,20,24,19),
+(10,4,2,62,0,19,26,21,24,19),
+(10,4,3,79,0,20,28,21,24,20),
+(10,4,4,96,0,20,29,22,24,20),
+(10,4,5,113,0,21,31,23,25,20),
+(10,4,6,130,0,22,32,24,25,21),
+(10,4,7,147,0,23,34,24,25,21),
+(10,4,8,164,0,24,35,25,25,22),
+(10,4,9,181,0,24,37,26,25,22),
+(10,4,10,198,0,25,38,26,25,22),
+(10,4,11,215,0,26,40,27,25,23),
+(10,4,12,232,0,27,41,28,26,23),
+(10,4,13,249,0,28,43,29,26,24),
+(10,4,14,266,0,29,45,30,26,24),
+(10,4,15,283,0,29,46,30,26,25),
+(10,4,16,301,0,30,48,31,26,25),
+(10,4,17,320,0,31,50,32,27,25),
+(10,4,18,340,0,32,51,33,27,26),
+(10,4,19,361,0,33,53,34,27,26),
+(10,4,20,383,0,34,55,35,27,27),
+(10,4,21,406,0,35,56,35,27,27),
+(10,4,22,430,0,36,58,36,28,28),
+(10,4,23,455,0,37,60,37,28,28),
+(10,4,24,481,0,38,62,38,28,29),
+(10,4,25,508,0,39,63,39,28,29),
+(10,4,26,536,0,40,65,40,29,30),
+(10,4,27,565,0,41,67,41,29,30),
+(10,4,28,595,0,42,69,42,29,31),
+(10,4,29,626,0,43,71,43,29,31),
+(10,4,30,658,0,44,72,43,29,32),
+(10,4,31,691,0,45,74,44,30,32),
+(10,4,32,725,0,46,76,45,30,33),
+(10,4,33,760,0,47,78,46,30,33),
+(10,4,34,796,0,48,80,47,31,34),
+(10,4,35,833,0,49,82,48,31,34),
+(10,4,36,871,0,50,84,49,31,35),
+(10,4,37,910,0,51,86,50,31,35),
+(10,4,38,950,0,52,88,51,32,36),
+(10,4,39,991,0,53,90,52,32,37),
+(10,4,40,1033,0,54,92,53,32,37),
+(10,4,41,1076,0,56,94,54,33,38),
+(10,4,42,1120,0,57,96,55,33,38),
+(10,4,43,1165,0,58,98,56,33,39),
+(10,4,44,1211,0,59,100,57,33,39),
+(10,4,45,1258,0,60,102,59,34,40),
+(10,4,46,1306,0,61,104,60,34,41),
+(10,4,47,1355,0,62,107,61,34,41),
+(10,4,48,1405,0,64,109,62,35,42),
+(10,4,49,1456,0,65,111,63,35,43),
+(10,4,50,1508,0,66,113,64,35,43),
+(10,4,51,1561,0,67,115,65,36,44),
+(10,4,52,1615,0,68,117,66,36,44),
+(10,4,53,1670,0,70,120,67,36,45),
+(10,4,54,1726,0,71,122,69,37,46),
+(10,4,55,1783,0,72,124,70,37,46),
+(10,4,56,1841,0,73,126,71,37,47),
+(10,4,57,1900,0,75,129,72,38,48),
+(10,4,58,1960,0,76,131,73,38,48),
+(10,4,59,2021,0,77,133,74,39,49),
+(10,4,60,2083,0,79,136,76,39,50),
+(10,4,61,2272,0,80,138,77,39,51),
+(10,4,62,2470,0,81,140,78,40,51),
+(10,4,63,2677,0,82,143,79,40,52),
+(10,4,64,2893,0,84,145,80,41,53),
+(10,4,65,3119,0,85,148,82,41,53),
+(10,4,66,3355,0,87,150,83,41,54),
+(10,4,67,3601,0,88,153,84,42,55),
+(10,4,68,3858,0,89,155,85,42,56),
+(10,4,69,4126,0,91,157,87,43,56),
+(10,4,70,4405,0,92,160,88,43,57),
+(10,5,1,55,220,17,22,19,26,22),
+(10,5,2,70,244,17,22,19,27,23),
+(10,5,3,85,269,17,22,20,29,25),
+(10,5,4,100,295,17,23,20,30,26),
+(10,5,5,115,322,18,23,20,31,27),
+(10,5,6,130,350,18,23,21,33,29),
+(10,5,7,145,379,18,23,21,34,30),
+(10,5,8,160,409,18,24,22,35,32),
+(10,5,9,175,440,18,24,22,37,33),
+(10,5,10,190,472,19,24,22,38,35),
+(10,5,11,205,505,19,24,23,39,36),
+(10,5,12,220,539,19,24,23,41,38),
+(10,5,13,235,574,19,25,24,42,39),
+(10,5,14,250,610,19,25,24,44,41),
+(10,5,15,265,647,19,25,25,45,42),
+(10,5,16,280,685,20,26,25,47,44),
+(10,5,17,295,724,20,26,25,48,45),
+(10,5,18,310,764,20,26,26,50,47),
+(10,5,19,325,805,20,26,26,51,49),
+(10,5,20,340,847,21,27,27,53,50),
+(10,5,21,355,890,21,27,27,54,52),
+(10,5,22,371,934,21,27,28,56,53),
+(10,5,23,388,979,21,28,28,58,55),
+(10,5,24,406,1025,21,28,29,59,57),
+(10,5,25,425,1072,22,28,29,61,58),
+(10,5,26,445,1120,22,28,30,62,60),
+(10,5,27,466,1169,22,29,30,64,62),
+(10,5,28,488,1219,22,29,31,66,64),
+(10,5,29,511,1270,23,29,31,67,65),
+(10,5,30,535,1322,23,30,32,69,67),
+(10,5,31,560,1375,23,30,32,71,69),
+(10,5,32,586,1429,23,30,33,72,71),
+(10,5,33,613,1483,24,31,33,74,72),
+(10,5,34,641,1537,24,31,34,76,74),
+(10,5,35,670,1591,24,32,34,78,76),
+(10,5,36,700,1645,24,32,35,80,78),
+(10,5,37,731,1699,25,32,35,81,80),
+(10,5,38,763,1753,25,33,36,83,82),
+(10,5,39,796,1807,25,33,37,85,84),
+(10,5,40,830,1861,26,33,37,87,86),
+(10,5,41,865,1915,26,34,38,89,88),
+(10,5,42,901,1969,26,34,38,91,89),
+(10,5,43,938,2023,27,35,39,92,91),
+(10,5,44,976,2077,27,35,39,94,93),
+(10,5,45,1015,2131,27,35,40,96,95),
+(10,5,46,1055,2185,27,36,41,98,97),
+(10,5,47,1096,2239,28,36,41,100,99),
+(10,5,48,1138,2293,28,37,42,102,101),
+(10,5,49,1181,2347,28,37,43,104,103),
+(10,5,50,1225,2401,29,37,43,106,106),
+(10,5,51,1270,2455,29,38,44,108,108),
+(10,5,52,1316,2509,29,38,44,110,110),
+(10,5,53,1363,2563,30,39,45,112,112),
+(10,5,54,1411,2617,30,39,46,114,114),
+(10,5,55,1460,2671,30,40,46,116,116),
+(10,5,56,1510,2725,31,40,47,118,118),
+(10,5,57,1561,2779,31,41,48,120,120),
+(10,5,58,1613,2833,31,41,48,123,123),
+(10,5,59,1666,2887,32,42,49,125,125),
+(10,5,60,1720,2941,32,42,50,127,127),
+(10,5,61,1890,3110,33,42,51,129,129),
+(10,5,62,2068,3264,33,43,51,131,131),
+(10,5,63,2254,3433,33,43,52,133,134),
+(10,5,64,2448,3587,34,44,53,135,136),
+(10,5,65,2650,3756,34,44,53,138,138),
+(10,5,66,2861,3910,34,45,54,140,141),
+(10,5,67,3081,4079,35,45,55,142,143),
+(10,5,68,3310,4233,35,46,56,144,145),
+(10,5,69,3548,4402,36,46,56,147,148),
+(10,5,70,3795,4571,36,47,57,149,150),
+(10,8,1,55,225,17,22,19,27,21),
+(10,8,2,70,250,17,22,19,28,22),
+(10,8,3,85,276,17,22,20,30,24),
+(10,8,4,100,303,17,22,20,31,25),
+(10,8,5,115,331,17,23,20,32,26),
+(10,8,6,130,360,17,23,20,34,28),
+(10,8,7,145,390,18,23,21,35,29),
+(10,8,8,160,421,18,23,21,37,30),
+(10,8,9,175,453,18,23,21,38,32),
+(10,8,10,190,486,18,23,22,40,33),
+(10,8,11,205,520,18,24,22,41,35),
+(10,8,12,220,555,18,24,22,42,36),
+(10,8,13,235,591,18,24,23,44,37),
+(10,8,14,250,628,18,24,23,45,39),
+(10,8,15,265,666,18,24,23,47,40),
+(10,8,16,280,705,19,24,24,49,42),
+(10,8,17,295,745,19,25,24,50,43),
+(10,8,18,310,786,19,25,24,52,45),
+(10,8,19,325,828,19,25,25,53,46),
+(10,8,20,340,871,19,25,25,55,48),
+(10,8,21,355,915,19,25,26,57,50),
+(10,8,22,370,960,19,26,26,58,51),
+(10,8,23,385,1006,20,26,26,60,53),
+(10,8,24,401,1053,20,26,27,61,54),
+(10,8,25,418,1101,20,26,27,63,56),
+(10,8,26,436,1150,20,27,27,65,58),
+(10,8,27,455,1200,20,27,28,67,59),
+(10,8,28,475,1251,20,27,28,68,61),
+(10,8,29,496,1302,21,27,29,70,63),
+(10,8,30,518,1353,21,28,29,72,64),
+(10,8,31,541,1404,21,28,30,74,66),
+(10,8,32,565,1455,21,28,30,75,68),
+(10,8,33,590,1506,21,28,30,77,70),
+(10,8,34,616,1557,21,29,31,79,71),
+(10,8,35,643,1608,22,29,31,81,73),
+(10,8,36,671,1659,22,29,32,83,75),
+(10,8,37,700,1710,22,29,32,85,77),
+(10,8,38,730,1761,22,30,33,86,78),
+(10,8,39,761,1812,22,30,33,88,80),
+(10,8,40,793,1863,23,30,34,90,82),
+(10,8,41,826,1914,23,31,34,92,84),
+(10,8,42,860,1965,23,31,35,94,86),
+(10,8,43,895,2016,23,31,35,96,88),
+(10,8,44,931,2067,23,32,36,98,90),
+(10,8,45,968,2118,24,32,36,100,92),
+(10,8,46,1006,2169,24,32,37,102,93),
+(10,8,47,1045,2220,24,32,37,104,95),
+(10,8,48,1085,2271,24,33,38,106,97),
+(10,8,49,1126,2322,25,33,38,108,99),
+(10,8,50,1168,2373,25,33,39,110,101),
+(10,8,51,1211,2424,25,34,39,112,103),
+(10,8,52,1255,2475,25,34,40,114,105),
+(10,8,53,1300,2526,25,35,40,117,107),
+(10,8,54,1346,2577,26,35,41,119,109),
+(10,8,55,1393,2628,26,35,41,121,111),
+(10,8,56,1441,2679,26,36,42,123,113),
+(10,8,57,1490,2730,26,36,42,125,116),
+(10,8,58,1540,2781,27,36,43,127,118),
+(10,8,59,1591,2832,27,37,43,130,120),
+(10,8,60,1643,2883,27,37,44,132,122),
+(10,8,61,1809,3016,27,37,45,134,124),
+(10,8,62,1984,3164,28,38,45,136,126),
+(10,8,63,2168,3297,28,38,46,139,128),
+(10,8,64,2361,3445,28,39,46,141,131),
+(10,8,65,2563,3578,29,39,47,143,133),
+(10,8,66,2775,3726,29,39,48,146,135),
+(10,8,67,2997,3859,29,40,48,148,137),
+(10,8,68,3229,4007,29,40,49,150,139),
+(10,8,69,3472,4140,30,41,49,153,142),
+(10,8,70,3726,4288,30,41,50,155,144),
+(10,9,1,42,197,17,22,20,26,21),
+(10,9,2,57,220,17,22,21,27,22),
+(10,9,3,72,244,18,23,21,28,23),
+(10,9,4,87,269,18,23,22,29,24),
+(10,9,5,102,295,18,23,22,31,26),
+(10,9,6,117,322,18,24,23,32,27),
+(10,9,7,132,350,19,24,23,33,28),
+(10,9,8,147,379,19,25,24,34,29),
+(10,9,9,162,409,19,25,25,36,30),
+(10,9,10,177,440,20,25,25,37,32),
+(10,9,11,192,472,20,26,26,38,33),
+(10,9,12,207,505,20,26,26,39,34),
+(10,9,13,222,539,21,27,27,41,36),
+(10,9,14,237,574,21,27,28,42,37),
+(10,9,15,252,610,21,27,28,43,38),
+(10,9,16,267,647,22,28,29,45,39),
+(10,9,17,282,685,22,28,30,46,41),
+(10,9,18,298,724,23,29,30,47,42),
+(10,9,19,315,764,23,29,31,49,43),
+(10,9,20,333,805,23,30,32,50,45),
+(10,9,21,352,847,24,30,32,51,46),
+(10,9,22,372,890,24,31,33,53,48),
+(10,9,23,393,934,24,31,34,54,49),
+(10,9,24,415,979,25,31,34,56,50),
+(10,9,25,438,1025,25,32,35,57,52),
+(10,9,26,462,1072,26,32,36,59,53),
+(10,9,27,487,1120,26,33,37,60,55),
+(10,9,28,513,1169,26,33,37,62,56),
+(10,9,29,540,1219,27,34,38,63,58),
+(10,9,30,568,1270,27,34,39,65,59),
+(10,9,31,597,1321,28,35,40,66,61),
+(10,9,32,627,1372,28,36,40,68,62),
+(10,9,33,658,1423,29,36,41,69,64),
+(10,9,34,690,1474,29,37,42,71,65),
+(10,9,35,723,1525,29,37,43,73,67),
+(10,9,36,757,1576,30,38,43,74,69),
+(10,9,37,792,1627,30,38,44,76,70),
+(10,9,38,828,1678,31,39,45,77,72),
+(10,9,39,865,1729,31,39,46,79,73),
+(10,9,40,903,1780,32,40,47,81,75),
+(10,9,41,942,1831,32,41,48,82,77),
+(10,9,42,982,1882,33,41,48,84,78),
+(10,9,43,1023,1933,33,42,49,86,80),
+(10,9,44,1065,1984,34,42,50,88,82),
+(10,9,45,1108,2035,34,43,51,89,83),
+(10,9,46,1152,2086,35,44,52,91,85),
+(10,9,47,1197,2137,35,44,53,93,87),
+(10,9,48,1243,2188,36,45,54,95,89),
+(10,9,49,1290,2239,36,45,54,96,90),
+(10,9,50,1338,2290,37,46,55,98,92),
+(10,9,51,1387,2341,37,47,56,100,94),
+(10,9,52,1437,2392,38,47,57,102,96),
+(10,9,53,1488,2443,38,48,58,104,97),
+(10,9,54,1540,2494,39,49,59,105,99),
+(10,9,55,1593,2545,39,49,60,107,101),
+(10,9,56,1647,2596,40,50,61,109,103),
+(10,9,57,1702,2647,40,51,62,111,105),
+(10,9,58,1758,2698,41,51,63,113,107),
+(10,9,59,1815,2749,42,52,64,115,108),
+(10,9,60,1873,2800,42,53,65,117,110),
+(10,9,61,2049,2954,43,53,66,119,112),
+(10,9,62,2234,3108,43,54,67,121,114),
+(10,9,63,2428,3277,44,55,68,123,116),
+(10,9,64,2631,3431,44,56,69,125,118),
+(10,9,65,2843,3585,45,56,70,127,120),
+(10,9,66,3065,3754,46,57,71,129,122),
+(10,9,67,3297,3908,46,58,72,131,124),
+(10,9,68,3540,4062,47,58,73,133,126),
+(10,9,69,3794,4231,47,59,74,135,128),
+(10,9,70,4059,4385,48,60,75,137,130),
+(11,1,1,50,0,24,17,21,21,22),
+(11,1,2,69,0,25,18,22,21,22),
+(11,1,3,88,0,27,19,23,21,23),
+(11,1,4,107,0,28,19,25,21,23),
+(11,1,5,126,0,29,20,26,21,23),
+(11,1,6,145,0,31,21,27,21,23),
+(11,1,7,164,0,32,22,28,21,24),
+(11,1,8,183,0,33,23,29,22,24),
+(11,1,9,202,0,35,24,31,22,24),
+(11,1,10,221,0,36,24,32,22,25),
+(11,1,11,240,0,37,25,33,22,25),
+(11,1,12,259,0,39,26,34,22,25),
+(11,1,13,278,0,40,27,36,22,26),
+(11,1,14,298,0,42,28,37,22,26),
+(11,1,15,319,0,43,29,38,22,26),
+(11,1,16,341,0,45,30,40,22,27),
+(11,1,17,364,0,46,31,41,23,27),
+(11,1,18,388,0,48,32,43,23,27),
+(11,1,19,413,0,49,33,44,23,28),
+(11,1,20,439,0,51,34,45,23,28),
+(11,1,21,466,0,52,34,47,23,28),
+(11,1,22,494,0,54,35,48,23,29),
+(11,1,23,523,0,55,36,50,23,29),
+(11,1,24,553,0,57,37,51,24,30),
+(11,1,25,584,0,59,38,52,24,30),
+(11,1,26,616,0,60,39,54,24,30),
+(11,1,27,649,0,62,40,55,24,31),
+(11,1,28,683,0,63,41,57,24,31),
+(11,1,29,718,0,65,43,58,24,32),
+(11,1,30,754,0,67,44,60,24,32),
+(11,1,31,791,0,69,45,62,25,32),
+(11,1,32,829,0,70,46,63,25,33),
+(11,1,33,868,0,72,47,65,25,33),
+(11,1,34,908,0,74,48,66,25,34),
+(11,1,35,949,0,75,49,68,25,34),
+(11,1,36,991,0,77,50,69,26,35),
+(11,1,37,1035,0,79,51,71,26,35),
+(11,1,38,1081,0,81,52,73,26,35),
+(11,1,39,1129,0,83,53,74,26,36),
+(11,1,40,1179,0,84,55,76,26,36),
+(11,1,41,1231,0,86,56,78,27,37),
+(11,1,42,1285,0,88,57,79,27,37),
+(11,1,43,1341,0,90,58,81,27,38),
+(11,1,44,1399,0,92,59,83,27,38),
+(11,1,45,1459,0,94,60,85,27,39),
+(11,1,46,1521,0,96,62,86,28,39),
+(11,1,47,1585,0,98,63,88,28,40),
+(11,1,48,1651,0,100,64,90,28,40),
+(11,1,49,1719,0,102,65,92,28,41),
+(11,1,50,1789,0,103,66,93,29,41),
+(11,1,51,1861,0,105,68,95,29,42),
+(11,1,52,1935,0,107,69,97,29,42),
+(11,1,53,2011,0,109,70,99,29,43),
+(11,1,54,2089,0,112,71,101,30,44),
+(11,1,55,2169,0,114,73,103,30,44),
+(11,1,56,2251,0,116,74,104,30,45),
+(11,1,57,2335,0,118,75,106,30,45),
+(11,1,58,2421,0,120,77,108,31,46),
+(11,1,59,2509,0,122,78,110,31,46),
+(11,1,60,2599,0,124,79,112,31,47),
+(11,1,61,2832,0,126,81,114,31,48),
+(11,1,62,3079,0,128,82,116,32,48),
+(11,1,63,3340,0,130,83,118,32,49),
+(11,1,64,3615,0,133,85,120,32,49),
+(11,1,65,3905,0,135,86,122,33,50),
+(11,1,66,4210,0,137,87,124,33,51),
+(11,1,67,4530,0,139,89,126,33,51),
+(11,1,68,4866,0,141,90,128,33,52),
+(11,1,69,5218,0,144,92,130,34,52),
+(11,1,70,5586,0,146,93,132,34,53),
+(11,2,1,48,95,23,17,21,21,23),
+(11,2,2,66,114,24,18,22,22,24),
+(11,2,3,84,134,25,18,23,22,24),
+(11,2,4,102,155,26,19,24,23,25),
+(11,2,5,120,177,27,19,25,24,26),
+(11,2,6,138,200,29,20,26,24,26),
+(11,2,7,156,224,30,21,27,25,27),
+(11,2,8,174,249,31,21,28,26,28),
+(11,2,9,192,275,32,22,29,26,29),
+(11,2,10,210,302,33,22,31,27,29),
+(11,2,11,228,330,34,23,32,28,30),
+(11,2,12,246,359,36,24,33,28,31),
+(11,2,13,264,389,37,24,34,29,32),
+(11,2,14,282,420,38,25,35,30,32),
+(11,2,15,301,452,39,26,36,31,33),
+(11,2,16,321,485,40,26,37,31,34),
+(11,2,17,342,519,42,27,39,32,35),
+(11,2,18,364,554,43,28,40,33,36),
+(11,2,19,387,590,44,28,41,34,37),
+(11,2,20,411,627,46,29,42,34,37),
+(11,2,21,436,665,47,30,44,35,38),
+(11,2,22,462,704,48,31,45,36,39),
+(11,2,23,489,744,50,31,46,37,40),
+(11,2,24,517,785,51,32,47,38,41),
+(11,2,25,546,827,52,33,49,38,42),
+(11,2,26,576,869,54,34,50,39,43),
+(11,2,27,607,911,55,34,51,40,44),
+(11,2,28,639,953,56,35,53,41,44),
+(11,2,29,672,995,58,36,54,42,45),
+(11,2,30,706,1037,59,37,55,43,46),
+(11,2,31,741,1079,61,37,57,43,47),
+(11,2,32,777,1121,62,38,58,44,48),
+(11,2,33,814,1163,64,39,59,45,49),
+(11,2,34,852,1205,65,40,61,46,50),
+(11,2,35,891,1247,67,41,62,47,51),
+(11,2,36,931,1289,68,42,64,48,52),
+(11,2,37,972,1331,70,42,65,49,53),
+(11,2,38,1014,1373,71,43,67,50,54),
+(11,2,39,1057,1415,73,44,68,51,55),
+(11,2,40,1101,1457,74,45,69,52,56),
+(11,2,41,1146,1499,76,46,71,53,57),
+(11,2,42,1192,1541,78,47,72,54,58),
+(11,2,43,1239,1583,79,47,74,55,59),
+(11,2,44,1287,1625,81,48,75,56,60),
+(11,2,45,1336,1667,82,49,77,57,61),
+(11,2,46,1386,1709,84,50,78,58,62),
+(11,2,47,1437,1751,86,51,80,59,64),
+(11,2,48,1489,1793,87,52,82,60,65),
+(11,2,49,1542,1835,89,53,83,61,66),
+(11,2,50,1596,1877,91,54,85,62,67),
+(11,2,51,1651,1919,92,55,86,63,68),
+(11,2,52,1707,1961,94,56,88,64,69),
+(11,2,53,1764,2003,96,57,90,65,70),
+(11,2,54,1822,2045,97,58,91,66,71),
+(11,2,55,1881,2087,99,59,93,67,73),
+(11,2,56,1941,2129,101,60,95,68,74),
+(11,2,57,2002,2171,103,61,96,69,75),
+(11,2,58,2064,2213,105,62,98,70,76),
+(11,2,59,2127,2255,106,63,100,71,77),
+(11,2,60,2191,2297,108,64,101,72,78),
+(11,2,61,2371,2456,110,65,103,74,80),
+(11,2,62,2559,2615,112,66,105,75,81),
+(11,2,63,2755,2789,114,67,106,76,82),
+(11,2,64,2960,2948,116,68,108,77,83),
+(11,2,65,3174,3107,117,69,110,78,85),
+(11,2,66,3397,3281,119,70,112,79,86),
+(11,2,67,3630,3440,121,71,114,80,87),
+(11,2,68,3873,3599,123,72,115,82,88),
+(11,2,69,4126,3773,125,73,117,83,90),
+(11,2,70,4389,3932,127,74,119,84,91),
+(11,3,1,46,100,21,20,20,21,23),
+(11,3,2,63,120,21,21,21,22,24),
+(11,3,3,80,141,22,23,22,22,24),
+(11,3,4,97,163,22,24,23,23,25),
+(11,3,5,114,186,23,25,24,23,25),
+(11,3,6,131,210,23,27,25,24,26),
+(11,3,7,148,235,24,28,26,24,27),
+(11,3,8,165,261,24,30,27,25,27),
+(11,3,9,182,288,25,31,27,26,28),
+(11,3,10,199,316,25,33,28,26,29),
+(11,3,11,216,345,25,34,29,27,29),
+(11,3,12,233,375,26,36,30,28,30),
+(11,3,13,250,406,26,37,31,28,31),
+(11,3,14,268,438,27,39,32,29,32),
+(11,3,15,287,471,27,40,34,30,32),
+(11,3,16,307,505,28,42,35,30,33),
+(11,3,17,328,540,28,43,36,31,34),
+(11,3,18,350,576,29,45,37,32,35),
+(11,3,19,373,613,29,47,38,32,35),
+(11,3,20,397,651,30,48,39,33,36),
+(11,3,21,422,690,31,50,40,34,37),
+(11,3,22,448,730,31,51,41,34,38),
+(11,3,23,475,771,32,53,42,35,38),
+(11,3,24,503,813,32,55,43,36,39),
+(11,3,25,532,856,33,57,44,37,40),
+(11,3,26,562,900,33,58,46,37,41),
+(11,3,27,593,945,34,60,47,38,42),
+(11,3,28,625,990,35,62,48,39,42),
+(11,3,29,658,1035,35,63,49,40,43),
+(11,3,30,692,1080,36,65,50,40,44),
+(11,3,31,727,1125,36,67,52,41,45),
+(11,3,32,763,1170,37,69,53,42,46),
+(11,3,33,800,1215,38,71,54,43,47),
+(11,3,34,838,1260,38,72,55,44,48),
+(11,3,35,877,1305,39,74,57,44,48),
+(11,3,36,917,1350,39,76,58,45,49),
+(11,3,37,958,1395,40,78,59,46,50),
+(11,3,38,1000,1440,41,80,60,47,51),
+(11,3,39,1043,1485,41,82,62,48,52),
+(11,3,40,1087,1530,42,84,63,49,53),
+(11,3,41,1132,1575,43,86,64,50,54),
+(11,3,42,1178,1620,43,88,66,50,55),
+(11,3,43,1225,1665,44,90,67,51,56),
+(11,3,44,1273,1710,45,91,68,52,57),
+(11,3,45,1322,1755,45,93,70,53,58),
+(11,3,46,1372,1800,46,95,71,54,59),
+(11,3,47,1423,1845,47,98,72,55,60),
+(11,3,48,1475,1890,48,100,74,56,61),
+(11,3,49,1528,1935,48,102,75,57,62),
+(11,3,50,1582,1980,49,104,77,58,63),
+(11,3,51,1637,2025,50,106,78,59,64),
+(11,3,52,1693,2070,51,108,79,60,65),
+(11,3,53,1750,2115,51,110,81,61,66),
+(11,3,54,1808,2160,52,112,82,61,67),
+(11,3,55,1867,2205,53,114,84,62,68),
+(11,3,56,1927,2250,54,116,85,63,69),
+(11,3,57,1988,2295,54,118,87,64,70),
+(11,3,58,2050,2340,55,121,88,65,71),
+(11,3,59,2113,2385,56,123,90,66,72),
+(11,3,60,2177,2430,57,125,91,67,74),
+(11,3,61,2363,2611,58,127,93,68,75),
+(11,3,62,2558,2792,58,130,94,69,76),
+(11,3,63,2762,2973,59,132,96,71,77),
+(11,3,64,2975,3154,60,134,97,72,78),
+(11,3,65,3197,3350,61,136,99,73,79),
+(11,3,66,3429,3531,62,139,101,74,80),
+(11,3,67,3671,3712,62,141,102,75,81),
+(11,3,68,3923,3893,63,143,104,76,83),
+(11,3,69,4185,4074,64,146,105,77,84),
+(11,3,70,4458,4270,65,148,107,78,85),
+(11,5,1,51,175,21,17,19,23,25),
+(11,5,2,66,199,21,17,19,24,26),
+(11,5,3,81,224,21,17,20,26,28),
+(11,5,4,96,250,21,18,20,27,29),
+(11,5,5,111,277,22,18,20,28,30),
+(11,5,6,126,305,22,18,21,30,32),
+(11,5,7,141,334,22,18,21,31,33),
+(11,5,8,156,364,22,19,22,32,35),
+(11,5,9,171,395,22,19,22,34,36),
+(11,5,10,186,427,22,19,22,35,38),
+(11,5,11,201,460,23,19,23,37,39),
+(11,5,12,216,494,23,20,23,38,41),
+(11,5,13,231,529,23,20,24,39,42),
+(11,5,14,246,565,23,20,24,41,44),
+(11,5,15,261,602,23,20,25,42,45),
+(11,5,16,276,640,24,21,25,44,47),
+(11,5,17,291,679,24,21,25,45,48),
+(11,5,18,306,719,24,21,26,47,50),
+(11,5,19,321,760,24,22,26,48,51),
+(11,5,20,336,802,24,22,27,50,53),
+(11,5,21,351,845,25,22,27,51,55),
+(11,5,22,367,889,25,22,28,53,56),
+(11,5,23,384,934,25,23,28,55,58),
+(11,5,24,402,980,25,23,29,56,60),
+(11,5,25,421,1027,25,23,29,58,61),
+(11,5,26,441,1075,26,24,30,60,63),
+(11,5,27,462,1124,26,24,30,61,65),
+(11,5,28,484,1174,26,24,31,63,66),
+(11,5,29,507,1225,26,25,31,65,68),
+(11,5,30,531,1277,27,25,32,66,70),
+(11,5,31,556,1330,27,25,32,68,72),
+(11,5,32,582,1384,27,26,33,70,73),
+(11,5,33,609,1438,27,26,33,71,75),
+(11,5,34,637,1492,28,26,34,73,77),
+(11,5,35,666,1546,28,27,34,75,79),
+(11,5,36,696,1600,28,27,35,77,81),
+(11,5,37,727,1654,29,28,35,79,83),
+(11,5,38,759,1708,29,28,36,80,85),
+(11,5,39,792,1762,29,28,37,82,86),
+(11,5,40,826,1816,29,29,37,84,88),
+(11,5,41,861,1870,30,29,38,86,90),
+(11,5,42,897,1924,30,29,38,88,92),
+(11,5,43,934,1978,30,30,39,90,94),
+(11,5,44,972,2032,31,30,39,91,96),
+(11,5,45,1011,2086,31,31,40,93,98),
+(11,5,46,1051,2140,31,31,41,95,100),
+(11,5,47,1092,2194,32,31,41,97,102),
+(11,5,48,1134,2248,32,32,42,99,104),
+(11,5,49,1177,2302,32,32,43,101,106),
+(11,5,50,1221,2356,33,33,43,103,108),
+(11,5,51,1266,2410,33,33,44,105,110),
+(11,5,52,1312,2464,33,34,44,107,113),
+(11,5,53,1359,2518,34,34,45,109,115),
+(11,5,54,1407,2572,34,34,46,111,117),
+(11,5,55,1456,2626,34,35,46,113,119),
+(11,5,56,1506,2680,35,35,47,115,121),
+(11,5,57,1557,2734,35,36,48,118,123),
+(11,5,58,1609,2788,35,36,48,120,126),
+(11,5,59,1662,2842,36,37,49,122,128),
+(11,5,60,1716,2896,36,37,50,124,130),
+(11,5,61,1886,3065,36,38,51,126,132),
+(11,5,62,2064,3219,37,38,51,128,134),
+(11,5,63,2250,3388,37,39,52,130,137),
+(11,5,64,2444,3542,38,39,53,133,139),
+(11,5,65,2646,3711,38,40,53,135,141),
+(11,5,66,2857,3865,38,40,54,137,144),
+(11,5,67,3077,4034,39,40,55,139,146),
+(11,5,68,3306,4188,39,41,56,141,148),
+(11,5,69,3544,4357,40,41,56,144,151),
+(11,5,70,3791,4526,40,42,57,146,153),
+(11,7,1,47,105,22,17,20,22,24),
+(11,7,2,64,126,23,17,21,23,25),
+(11,7,3,81,148,24,18,22,24,26),
+(11,7,4,98,171,25,18,23,25,27),
+(11,7,5,115,195,25,19,24,26,28),
+(11,7,6,132,220,26,19,25,27,29),
+(11,7,7,149,246,27,20,26,28,30),
+(11,7,8,166,273,28,20,27,28,31),
+(11,7,9,183,301,29,21,28,29,32),
+(11,7,10,200,330,30,21,29,30,33),
+(11,7,11,217,360,31,22,30,31,35),
+(11,7,12,234,391,32,22,31,32,36),
+(11,7,13,251,423,33,23,32,33,37),
+(11,7,14,268,456,34,23,33,34,38),
+(11,7,15,285,490,34,24,35,35,39),
+(11,7,16,302,525,35,24,36,36,40),
+(11,7,17,320,561,36,25,37,38,42),
+(11,7,18,339,598,37,25,38,39,43),
+(11,7,19,359,636,38,26,39,40,44),
+(11,7,20,380,675,39,26,40,41,45),
+(11,7,21,402,715,40,27,41,42,46),
+(11,7,22,425,756,41,27,43,43,48),
+(11,7,23,449,798,43,28,44,44,49),
+(11,7,24,474,841,44,28,45,45,50),
+(11,7,25,500,885,45,29,46,46,51),
+(11,7,26,527,930,46,30,47,48,53),
+(11,7,27,555,976,47,30,49,49,54),
+(11,7,28,584,1023,48,31,50,50,55),
+(11,7,29,614,1071,49,31,51,51,57),
+(11,7,30,645,1120,50,32,53,52,58),
+(11,7,31,677,1170,51,33,54,53,59),
+(11,7,32,710,1221,52,33,55,55,61),
+(11,7,33,744,1272,53,34,56,56,62),
+(11,7,34,779,1323,55,34,58,57,64),
+(11,7,35,815,1374,56,35,59,58,65),
+(11,7,36,852,1425,57,36,60,60,66),
+(11,7,37,890,1476,58,36,62,61,68),
+(11,7,38,929,1527,59,37,63,62,69),
+(11,7,39,969,1578,61,38,65,63,71),
+(11,7,40,1010,1629,62,38,66,65,72),
+(11,7,41,1052,1680,63,39,67,66,74),
+(11,7,42,1095,1731,64,40,69,67,75),
+(11,7,43,1139,1782,65,40,70,69,77),
+(11,7,44,1184,1833,67,41,72,70,78),
+(11,7,45,1230,1884,68,42,73,71,80),
+(11,7,46,1277,1935,69,42,75,73,81),
+(11,7,47,1325,1986,71,43,76,74,83),
+(11,7,48,1374,2037,72,44,78,76,84),
+(11,7,49,1424,2088,73,45,79,77,86),
+(11,7,50,1475,2139,74,45,81,78,88),
+(11,7,51,1527,2190,76,46,82,80,89),
+(11,7,52,1580,2241,77,47,84,81,91),
+(11,7,53,1634,2292,78,47,85,83,92),
+(11,7,54,1689,2343,80,48,87,84,94),
+(11,7,55,1745,2394,81,49,88,86,96),
+(11,7,56,1802,2445,83,50,90,87,97),
+(11,7,57,1860,2496,84,50,91,89,99),
+(11,7,58,1919,2547,85,51,93,90,101),
+(11,7,59,1979,2598,87,52,95,92,102),
+(11,7,60,2040,2649,88,53,96,93,104),
+(11,7,61,2208,2808,90,54,98,95,106),
+(11,7,62,2384,2967,91,54,99,96,108),
+(11,7,63,2568,3141,93,55,101,98,109),
+(11,7,64,2760,3300,94,56,103,99,111),
+(11,7,65,2961,3459,95,57,104,101,113),
+(11,7,66,3171,3633,97,58,106,103,115),
+(11,7,67,3391,3792,98,58,108,104,117),
+(11,7,68,3621,3951,100,59,110,106,118),
+(11,7,69,3861,4125,101,60,111,107,120),
+(11,7,70,4111,4284,103,61,113,109,122),
+(11,8,1,51,180,21,17,19,24,24),
+(11,8,2,66,205,21,17,19,25,25),
+(11,8,3,81,231,21,17,20,27,27),
+(11,8,4,96,258,21,17,20,28,28),
+(11,8,5,111,286,21,18,20,29,29),
+(11,8,6,126,315,21,18,20,31,31),
+(11,8,7,141,345,21,18,21,32,32),
+(11,8,8,156,376,22,18,21,34,33),
+(11,8,9,171,408,22,18,21,35,35),
+(11,8,10,186,441,22,19,22,37,36),
+(11,8,11,201,475,22,19,22,38,37),
+(11,8,12,216,510,22,19,22,40,39),
+(11,8,13,231,546,22,19,23,41,40),
+(11,8,14,246,583,22,19,23,43,42),
+(11,8,15,261,621,22,19,23,44,43),
+(11,8,16,276,660,22,20,24,46,45),
+(11,8,17,291,700,23,20,24,47,46),
+(11,8,18,306,741,23,20,24,49,48),
+(11,8,19,321,783,23,20,25,50,49),
+(11,8,20,336,826,23,21,25,52,51),
+(11,8,21,351,870,23,21,26,54,52),
+(11,8,22,366,915,23,21,26,55,54),
+(11,8,23,381,961,23,21,26,57,56),
+(11,8,24,397,1008,24,21,27,59,57),
+(11,8,25,414,1056,24,22,27,60,59),
+(11,8,26,432,1105,24,22,27,62,60),
+(11,8,27,451,1155,24,22,28,64,62),
+(11,8,28,471,1206,24,22,28,65,64),
+(11,8,29,492,1257,24,23,29,67,65),
+(11,8,30,514,1308,24,23,29,69,67),
+(11,8,31,537,1359,25,23,30,71,69),
+(11,8,32,561,1410,25,23,30,73,71),
+(11,8,33,586,1461,25,24,30,74,72),
+(11,8,34,612,1512,25,24,31,76,74),
+(11,8,35,639,1563,25,24,31,78,76),
+(11,8,36,667,1614,26,24,32,80,78),
+(11,8,37,696,1665,26,25,32,82,79),
+(11,8,38,726,1716,26,25,33,84,81),
+(11,8,39,757,1767,26,25,33,86,83),
+(11,8,40,789,1818,26,26,34,87,85),
+(11,8,41,822,1869,27,26,34,89,87),
+(11,8,42,856,1920,27,26,35,91,89),
+(11,8,43,891,1971,27,27,35,93,91),
+(11,8,44,927,2022,27,27,36,95,92),
+(11,8,45,964,2073,27,27,36,97,94),
+(11,8,46,1002,2124,28,27,37,99,96),
+(11,8,47,1041,2175,28,28,37,101,98),
+(11,8,48,1081,2226,28,28,38,103,100),
+(11,8,49,1122,2277,28,28,38,105,102),
+(11,8,50,1164,2328,29,29,39,107,104),
+(11,8,51,1207,2379,29,29,39,110,106),
+(11,8,52,1251,2430,29,29,40,112,108),
+(11,8,53,1296,2481,29,30,40,114,110),
+(11,8,54,1342,2532,30,30,41,116,112),
+(11,8,55,1389,2583,30,30,41,118,114),
+(11,8,56,1437,2634,30,31,42,120,116),
+(11,8,57,1486,2685,30,31,42,122,118),
+(11,8,58,1536,2736,31,31,43,125,121),
+(11,8,59,1587,2787,31,32,43,127,123),
+(11,8,60,1639,2838,31,32,44,129,125),
+(11,8,61,1805,2971,31,33,45,131,127),
+(11,8,62,1980,3119,32,33,45,133,129),
+(11,8,63,2164,3252,32,33,46,136,131),
+(11,8,64,2357,3400,32,34,46,138,134),
+(11,8,65,2559,3533,33,34,47,140,136),
+(11,8,66,2771,3681,33,34,48,143,138),
+(11,8,67,2993,3814,33,35,48,145,140),
+(11,8,68,3225,3962,33,35,49,147,142),
+(11,8,69,3468,4095,34,36,49,150,145),
+(11,8,70,3722,4243,34,36,50,152,147);
+/*!40000 ALTER TABLE `player_levelstats` ENABLE KEYS */;
+UNLOCK TABLES;
diff --git a/sql/updates/0.8/4540_battleground_template.sql b/sql/updates/0.8/4540_battleground_template.sql
new file mode 100644
index 00000000000..4397f4d35bc
--- /dev/null
+++ b/sql/updates/0.8/4540_battleground_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `battleground_template` ADD `MinPlayersPerTeam` int(11) unsigned NOT NULL default '0' AFTER `id`; \ No newline at end of file
diff --git a/sql/updates/0.8/4544_creature_addon.sql b/sql/updates/0.8/4544_creature_addon.sql
new file mode 100644
index 00000000000..182b9362c98
--- /dev/null
+++ b/sql/updates/0.8/4544_creature_addon.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `creature_addon`
+ DROP COLUMN `RefId`;
diff --git a/sql/updates/0.8/4544_creature_template_addon.sql b/sql/updates/0.8/4544_creature_template_addon.sql
new file mode 100644
index 00000000000..685a40434cc
--- /dev/null
+++ b/sql/updates/0.8/4544_creature_template_addon.sql
@@ -0,0 +1,17 @@
+DROP TABLE IF EXISTS `creature_template_addon`;
+CREATE TABLE `creature_template_addon` (
+ `entry` int(11) NOT NULL default '0',
+ `mount` int(11) unsigned NOT NULL default '0',
+ `bytes0` int(11) unsigned NOT NULL default '0',
+ `bytes1` int(11) unsigned NOT NULL default '0',
+ `bytes2` int(11) unsigned NOT NULL default '0',
+ `emote` int(11) unsigned NOT NULL default '0',
+ `aura` int(11) unsigned NOT NULL default '0',
+ `auraflags` int(11) unsigned NOT NULL default '0',
+ `auralevels` int(11) unsigned NOT NULL default '0',
+ `auraapplications` int(11) unsigned NOT NULL default '0',
+ `aurastate` int(11) unsigned NOT NULL default '0',
+ UNIQUE KEY `entry` (`entry`),
+ KEY `emote` (`emote`,`mount`,`aura`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
diff --git a/sql/updates/0.8/4547_spell_affect.sql b/sql/updates/0.8/4547_spell_affect.sql
new file mode 100644
index 00000000000..5d4b921464a
--- /dev/null
+++ b/sql/updates/0.8/4547_spell_affect.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (23565, 31821);
+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
new file mode 100644
index 00000000000..2acc33ca5fc
--- /dev/null
+++ b/sql/updates/0.8/4547_spell_proc_event.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (20127,20130,20135,20136,20137);
+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),
+(20136,0,0,0,0,0,1026,0),
+(20137,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
new file mode 100644
index 00000000000..02f6f434240
--- /dev/null
+++ b/sql/updates/0.8/4551_item_template.sql
@@ -0,0 +1,2 @@
+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
new file mode 100644
index 00000000000..09a9477cecf
--- /dev/null
+++ b/sql/updates/0.8/4556_realmlist.sql
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 00000000000..d9683a4feeb
--- /dev/null
+++ b/sql/updates/0.8/4561_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM command WHERE name IN ('plimit');
+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/4571_button_scripts.sql b/sql/updates/0.8/4571_button_scripts.sql
new file mode 100644
index 00000000000..034bb8d0a57
--- /dev/null
+++ b/sql/updates/0.8/4571_button_scripts.sql
@@ -0,0 +1,17 @@
+--
+-- Table structure for table `button_scripts`
+--
+
+DROP TABLE IF EXISTS `button_scripts`;
+CREATE TABLE `button_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.8/4577_gameobject.sql b/sql/updates/0.8/4577_gameobject.sql
new file mode 100644
index 00000000000..61b6a9f794d
--- /dev/null
+++ b/sql/updates/0.8/4577_gameobject.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `gameobject`
+ CHANGE COLUMN `spawntimesecs` `spawntimesecs` int(11) NOT NULL default '0';
diff --git a/sql/updates/0.8/4579.sql b/sql/updates/0.8/4579.sql
new file mode 100644
index 00000000000..49b9ba70f1e
--- /dev/null
+++ b/sql/updates/0.8/4579.sql
@@ -0,0 +1,274 @@
+DROP TABLE IF EXISTS `locales_creature`;
+CREATE TABLE `locales_creature` (
+ `entry` int(11) unsigned NOT NULL default '0',
+ `name_loc1` varchar(100) NOT NULL default '',
+ `name_loc2` varchar(100) NOT NULL default '',
+ `name_loc3` varchar(100) NOT NULL default '',
+ `name_loc4` varchar(100) NOT NULL default '',
+ `name_loc5` varchar(100) NOT NULL default '',
+ `name_loc6` varchar(100) NOT NULL default '',
+ `name_loc7` varchar(100) NOT NULL default '',
+ `subname_loc1` varchar(100) default NULL,
+ `subname_loc2` varchar(100) default NULL,
+ `subname_loc3` varchar(100) default NULL,
+ `subname_loc4` varchar(100) default NULL,
+ `subname_loc5` varchar(100) default NULL,
+ `subname_loc6` varchar(100) default NULL,
+ `subname_loc7` varchar(100) default NULL,
+ `subname_loc8` varchar(100) default NULL,
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+DROP TABLE IF EXISTS `locales_gameobject`;
+CREATE TABLE `locales_gameobject` (
+ `entry` int(11) unsigned NOT NULL default '0',
+ `name_loc1` varchar(100) NOT NULL default '',
+ `name_loc2` varchar(100) NOT NULL default '',
+ `name_loc3` varchar(100) NOT NULL default '',
+ `name_loc4` varchar(100) NOT NULL default '',
+ `name_loc5` varchar(100) NOT NULL default '',
+ `name_loc6` varchar(100) NOT NULL default '',
+ `name_loc7` varchar(100) NOT NULL default '',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+DROP TABLE IF EXISTS `locales_item`;
+CREATE TABLE `locales_item` (
+ `entry` int(11) unsigned NOT NULL default '0',
+ `name_loc1` varchar(100) NOT NULL default '',
+ `name_loc2` varchar(100) NOT NULL default '',
+ `name_loc3` varchar(100) NOT NULL default '',
+ `name_loc4` varchar(100) NOT NULL default '',
+ `name_loc5` varchar(100) NOT NULL default '',
+ `name_loc6` varchar(100) NOT NULL default '',
+ `name_loc7` varchar(100) NOT NULL default '',
+ `description_loc1` varchar(255) default NULL,
+ `description_loc2` varchar(255) default NULL,
+ `description_loc3` varchar(255) default NULL,
+ `description_loc4` varchar(255) default NULL,
+ `description_loc5` varchar(255) default NULL,
+ `description_loc6` varchar(255) default NULL,
+ `description_loc7` varchar(255) default NULL,
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+DROP TABLE IF EXISTS `locales_quest`;
+CREATE TABLE `locales_quest` (
+ `entry` int(11) unsigned NOT NULL default '0',
+ `Title_loc1` text,
+ `Title_loc2` text,
+ `Title_loc3` text,
+ `Title_loc4` text,
+ `Title_loc5` text,
+ `Title_loc6` text,
+ `Title_loc7` text,
+ `Details_loc1` text,
+ `Details_loc2` text,
+ `Details_loc3` text,
+ `Details_loc4` text,
+ `Details_loc5` text,
+ `Details_loc6` text,
+ `Details_loc7` text,
+ `Objectives_loc1` text,
+ `Objectives_loc2` text,
+ `Objectives_loc3` text,
+ `Objectives_loc4` text,
+ `Objectives_loc5` text,
+ `Objectives_loc6` text,
+ `Objectives_loc7` text,
+ `OfferRewardText_loc1` text,
+ `OfferRewardText_loc2` text,
+ `OfferRewardText_loc3` text,
+ `OfferRewardText_loc4` text,
+ `OfferRewardText_loc5` text,
+ `OfferRewardText_loc6` text,
+ `OfferRewardText_loc7` text,
+ `RequestItemsText_loc1` text,
+ `RequestItemsText_loc2` text,
+ `RequestItemsText_loc3` text,
+ `RequestItemsText_loc4` text,
+ `RequestItemsText_loc5` text,
+ `RequestItemsText_loc6` text,
+ `RequestItemsText_loc7` text,
+ `EndText_loc1` text,
+ `EndText_loc2` text,
+ `EndText_loc3` text,
+ `EndText_loc4` text,
+ `EndText_loc5` text,
+ `EndText_loc6` text,
+ `EndText_loc7` text,
+ `ObjectiveText1_loc1` text,
+ `ObjectiveText1_loc2` text,
+ `ObjectiveText1_loc3` text,
+ `ObjectiveText1_loc4` text,
+ `ObjectiveText1_loc5` text,
+ `ObjectiveText1_loc6` text,
+ `ObjectiveText1_loc7` text,
+ `ObjectiveText2_loc1` text,
+ `ObjectiveText2_loc2` text,
+ `ObjectiveText2_loc3` text,
+ `ObjectiveText2_loc4` text,
+ `ObjectiveText2_loc5` text,
+ `ObjectiveText2_loc6` text,
+ `ObjectiveText2_loc7` text,
+ `ObjectiveText3_loc1` text,
+ `ObjectiveText3_loc2` text,
+ `ObjectiveText3_loc3` text,
+ `ObjectiveText3_loc4` text,
+ `ObjectiveText3_loc5` text,
+ `ObjectiveText3_loc6` text,
+ `ObjectiveText3_loc7` text,
+ `ObjectiveText4_loc1` text,
+ `ObjectiveText4_loc2` text,
+ `ObjectiveText4_loc3` text,
+ `ObjectiveText4_loc4` text,
+ `ObjectiveText4_loc5` text,
+ `ObjectiveText4_loc6` text,
+ `ObjectiveText4_loc7` text,
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+DROP TABLE IF EXISTS `locales_npc_text`;
+CREATE TABLE `locales_npc_text` (
+ `entry` int(11) unsigned NOT NULL default '0',
+ `Text0_0_loc1` longtext,
+ `Text0_0_loc2` longtext,
+ `Text0_0_loc3` longtext,
+ `Text0_0_loc4` longtext,
+ `Text0_0_loc5` longtext,
+ `Text0_0_loc6` longtext,
+ `Text0_0_loc7` longtext,
+ `Text0_1_loc1` longtext,
+ `Text0_1_loc2` longtext,
+ `Text0_1_loc3` longtext,
+ `Text0_1_loc4` longtext,
+ `Text0_1_loc5` longtext,
+ `Text0_1_loc6` longtext,
+ `Text0_1_loc7` longtext,
+ `Text1_0_loc1` longtext,
+ `Text1_0_loc2` longtext,
+ `Text1_0_loc3` longtext,
+ `Text1_0_loc4` longtext,
+ `Text1_0_loc5` longtext,
+ `Text1_0_loc6` longtext,
+ `Text1_0_loc7` longtext,
+ `Text1_1_loc1` longtext,
+ `Text1_1_loc2` longtext,
+ `Text1_1_loc3` longtext,
+ `Text1_1_loc4` longtext,
+ `Text1_1_loc5` longtext,
+ `Text1_1_loc6` longtext,
+ `Text1_1_loc7` longtext,
+ `Text2_0_loc1` longtext,
+ `Text2_0_loc2` longtext,
+ `Text2_0_loc3` longtext,
+ `Text2_0_loc4` longtext,
+ `Text2_0_loc5` longtext,
+ `Text2_0_loc6` longtext,
+ `Text2_0_loc7` longtext,
+ `Text2_1_loc1` longtext,
+ `Text2_1_loc2` longtext,
+ `Text2_1_loc3` longtext,
+ `Text2_1_loc4` longtext,
+ `Text2_1_loc5` longtext,
+ `Text2_1_loc6` longtext,
+ `Text2_1_loc7` longtext,
+ `Text3_0_loc1` longtext,
+ `Text3_0_loc2` longtext,
+ `Text3_0_loc3` longtext,
+ `Text3_0_loc4` longtext,
+ `Text3_0_loc5` longtext,
+ `Text3_0_loc6` longtext,
+ `Text3_0_loc7` longtext,
+ `Text3_1_loc1` longtext,
+ `Text3_1_loc2` longtext,
+ `Text3_1_loc3` longtext,
+ `Text3_1_loc4` longtext,
+ `Text3_1_loc5` longtext,
+ `Text3_1_loc6` longtext,
+ `Text3_1_loc7` longtext,
+ `Text4_0_loc1` longtext,
+ `Text4_0_loc2` longtext,
+ `Text4_0_loc3` longtext,
+ `Text4_0_loc4` longtext,
+ `Text4_0_loc5` longtext,
+ `Text4_0_loc6` longtext,
+ `Text4_0_loc7` longtext,
+ `Text4_1_loc1` longtext,
+ `Text4_1_loc2` longtext,
+ `Text4_1_loc3` longtext,
+ `Text4_1_loc4` longtext,
+ `Text4_1_loc5` longtext,
+ `Text4_1_loc6` longtext,
+ `Text4_1_loc7` longtext,
+ `Text5_0_loc1` longtext,
+ `Text5_0_loc2` longtext,
+ `Text5_0_loc3` longtext,
+ `Text5_0_loc4` longtext,
+ `Text5_0_loc5` longtext,
+ `Text5_0_loc6` longtext,
+ `Text5_0_loc7` longtext,
+ `Text5_1_loc1` longtext,
+ `Text5_1_loc2` longtext,
+ `Text5_1_loc3` longtext,
+ `Text5_1_loc4` longtext,
+ `Text5_1_loc5` longtext,
+ `Text5_1_loc6` longtext,
+ `Text5_1_loc7` longtext,
+ `Text6_0_loc1` longtext,
+ `Text6_0_loc2` longtext,
+ `Text6_0_loc3` longtext,
+ `Text6_0_loc4` longtext,
+ `Text6_0_loc5` longtext,
+ `Text6_0_loc6` longtext,
+ `Text6_0_loc7` longtext,
+ `Text6_1_loc1` longtext,
+ `Text6_1_loc2` longtext,
+ `Text6_1_loc3` longtext,
+ `Text6_1_loc4` longtext,
+ `Text6_1_loc5` longtext,
+ `Text6_1_loc6` longtext,
+ `Text6_1_loc7` longtext,
+ `Text7_0_loc1` longtext,
+ `Text7_0_loc2` longtext,
+ `Text7_0_loc3` longtext,
+ `Text7_0_loc4` longtext,
+ `Text7_0_loc5` longtext,
+ `Text7_0_loc6` longtext,
+ `Text7_0_loc7` longtext,
+ `Text7_1_loc1` longtext,
+ `Text7_1_loc2` longtext,
+ `Text7_1_loc3` longtext,
+ `Text7_1_loc4` longtext,
+ `Text7_1_loc5` longtext,
+ `Text7_1_loc6` longtext,
+ `Text7_1_loc7` longtext,
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+DROP TABLE IF EXISTS `locales_page_text`;
+CREATE TABLE `locales_page_text` (
+ `entry` int(11) unsigned NOT NULL default '0',
+ `Text_loc1` longtext,
+ `Text_loc2` longtext,
+ `Text_loc3` longtext,
+ `Text_loc4` longtext,
+ `Text_loc5` longtext,
+ `Text_loc6` longtext,
+ `Text_loc7` longtext,
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+DROP TABLE IF EXISTS `realmd`.`localization`;
+CREATE TABLE `realmd`.`localization` (
+ `locale` tinyint(3) unsigned NOT NULL default '0',
+ `string` char(2) NOT NULL DEFAULT '',
+ PRIMARY KEY (`locale`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+INSERT INTO `realmd`.`localization` VALUES
+ (0,'en'),
+ (2,'fr'),
+ (3,'de');
+
+ALTER TABLE `realmd`.`account` ADD COLUMN `locale` tinyint(3) unsigned NOT NULL DEFAULT '0' AFTER `mutetime`;
diff --git a/sql/updates/0.8/4582_spell_affect.sql b/sql/updates/0.8/4582_spell_affect.sql
new file mode 100644
index 00000000000..1caa6788a5a
--- /dev/null
+++ b/sql/updates/0.8/4582_spell_affect.sql
@@ -0,0 +1,9 @@
+-- Cleanup
+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
+(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
new file mode 100644
index 00000000000..5fa8cf13d09
--- /dev/null
+++ b/sql/updates/0.8/4584_character_inventory.sql
@@ -0,0 +1,2 @@
+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
new file mode 100644
index 00000000000..a9e3bbbf22b
--- /dev/null
+++ b/sql/updates/0.8/4585_item_instance.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `item_instance`
+ ADD KEY `idx_owner_guid` ( `owner_guid`);
diff --git a/sql/updates/0.8/4587_character_quest_daily.sql b/sql/updates/0.8/4587_character_quest_daily.sql
new file mode 100644
index 00000000000..e9e9b72662c
--- /dev/null
+++ b/sql/updates/0.8/4587_character_quest_daily.sql
@@ -0,0 +1,9 @@
+DROP TABLE IF EXISTS `character_queststatus_daily`;
+CREATE TABLE `character_queststatus_daily` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
+ `time` bigint(20) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`quest`),
+ KEY `idx_guid` (`guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
diff --git a/sql/updates/0.8/4588_command.sql b/sql/updates/0.8/4588_command.sql
new file mode 100644
index 00000000000..4b26fcb1022
--- /dev/null
+++ b/sql/updates/0.8/4588_command.sql
@@ -0,0 +1 @@
+DELETE FROM command WHERE name IN ('gameobject');
diff --git a/sql/updates/0.8/4592_command.sql b/sql/updates/0.8/4592_command.sql
new file mode 100644
index 00000000000..5a1bcd88889
--- /dev/null
+++ b/sql/updates/0.8/4592_command.sql
@@ -0,0 +1 @@
+UPDATE `command` set `help` = 'Syntax: .plimit [#num|-1|-2|-3|reset|player|moderator|gamemaster|administrator]\r\n\r\nWithout 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 `reset` sets player limit to the one in the config file' WHERE `name` = 'plimit';
diff --git a/sql/updates/0.8/4592_realmlist.sql b/sql/updates/0.8/4592_realmlist.sql
new file mode 100644
index 00000000000..dbd8e89bf33
--- /dev/null
+++ b/sql/updates/0.8/4592_realmlist.sql
@@ -0,0 +1,2 @@
+ALTER TABLE realmd.realmlist
+ ADD COLUMN `allowedSecurityLevel` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `timezone`;
diff --git a/sql/updates/0.8/4594_item_template.sql b/sql/updates/0.8/4594_item_template.sql
new file mode 100644
index 00000000000..f9b8e3df790
--- /dev/null
+++ b/sql/updates/0.8/4594_item_template.sql
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 00000000000..50eac0de3b8
--- /dev/null
+++ b/sql/updates/0.8/4595_command.sql
@@ -0,0 +1,5 @@
+DELETE FROM command WHERE name IN ('cast','castback');
+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
new file mode 100644
index 00000000000..ba9274597f0
--- /dev/null
+++ b/sql/updates/0.8/4595_spell_affect.sql
@@ -0,0 +1,105 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (21873,38314);
+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
+(16870,0,0,0,0,0,0,0x001007F100E3FEFF,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (16947,16948,16949);
+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
+(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),
+(24943,1,0,0,0,0,0,0x00000010000000F0,0),
+(24944,0,0,0,0,0,0,0x00000010000000F0,0),
+(24944,1,0,0,0,0,0,0x00000010000000F0,0),
+(24945,0,0,0,0,0,0,0x00000010000000F0,0),
+(24945,1,0,0,0,0,0,0x00000010000000F0,0),
+(24946,0,0,0,0,0,0,0x00000010000000F0,0),
+(24946,1,0,0,0,0,0,0x00000010000000F0,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (37721);
+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
+(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
+(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
+(37292,0,0,0,0,0,0,0x0008000000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (39926);
+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
+(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
+(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
+(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
+(23724,0,0,0,0,0,0,0x0000E000E2000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (16833,16834,16835);
+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
+(16886,0,0,0,0,0,0,0x0000000001000265,1);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (16819,16820);
+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
+(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
+(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
+(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),
+(17119,1,0,0,0,0,0,0x0004103000340750,0),
+(17120,0,0,0,0,0,0,0x001005D000E193F7,0),
+(17120,1,0,0,0,0,0,0x0004103000340750,0),
+(17121,0,0,0,0,0,0,0x001005D000E193F7,0),
+(17121,1,0,0,0,0,0,0x0004103000340750,0),
+(17122,0,0,0,0,0,0,0x001005D000E193F7,0),
+(17122,1,0,0,0,0,0,0x0004103000340750,0);
diff --git a/sql/updates/0.8/4597_realmlist.sql b/sql/updates/0.8/4597_realmlist.sql
new file mode 100644
index 00000000000..6cab83dfe1a
--- /dev/null
+++ b/sql/updates/0.8/4597_realmlist.sql
@@ -0,0 +1,2 @@
+ALTER TABLE realmd.realmlist
+ ADD COLUMN `population` float(0) UNSIGNED NOT NULL DEFAULT 0.0 AFTER `allowedSecurityLevel`;
diff --git a/sql/updates/0.8/4599_command.sql b/sql/updates/0.8/4599_command.sql
new file mode 100644
index 00000000000..50eac0de3b8
--- /dev/null
+++ b/sql/updates/0.8/4599_command.sql
@@ -0,0 +1,5 @@
+DELETE FROM command WHERE name IN ('cast','castback');
+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
new file mode 100644
index 00000000000..4d3c72283c6
--- /dev/null
+++ b/sql/updates/0.8/4603_spell_affect.sql
@@ -0,0 +1,83 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (34453,34454);
+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
+(24348,0,0,0,0,0,0,0x0000000000200000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (34462,34464,34465);
+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
+(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
+(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),
+(19419,0,0,0,0,0,0,0x000010810007DA00,0),
+(19420,0,0,0,0,0,0,0x000010810007DA00,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (34455,34459,34460);
+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),
+(34459,1,0,0,0,0,0,0x0000004000000000,0),
+(34460,0,0,0,0,0,0,0x0000002000000000,0),
+(34460,1,0,0,0,0,0,0x0000004000000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (35029,35030);
+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
+(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
+(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),
+(19465,0,0,0,0,0,0,0x0000010000004000,0),
+(19465,1,0,0,0,0,0,0x0000008000000000,0),
+(19465,2,0,0,0,0,0,0x000011800000C000,0),
+(19466,0,0,0,0,0,0,0x0000010000004000,0),
+(19466,1,0,0,0,0,0,0x0000008000000000,0),
+(19466,2,0,0,0,0,0,0x000011800000C000,0),
+(19467,0,0,0,0,0,0,0x0000010000004000,0),
+(19467,1,0,0,0,0,0,0x0000008000000000,0),
+(19467,2,0,0,0,0,0,0x000011800000C000,0),
+(19468,0,0,0,0,0,0,0x0000010000004000,0),
+(19468,1,0,0,0,0,0,0x0000008000000000,0),
+(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
+(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),
+(19489,0,0,0,0,0,0,0x0000000000000001,0),
+(19490,0,0,0,0,0,0,0x0000000000000001,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (32203,41660);
+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
+(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
new file mode 100644
index 00000000000..5f1bf1a1f49
--- /dev/null
+++ b/sql/updates/0.8/4605_creature_addon.sql
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 00000000000..d49df079399
--- /dev/null
+++ b/sql/updates/0.8/4605_creature_template_addon.sql
@@ -0,0 +1,3 @@
+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
new file mode 100644
index 00000000000..1dcff5e11b0
--- /dev/null
+++ b/sql/updates/0.8/4608_game_graveyard_zone.sql
@@ -0,0 +1,25 @@
+ALTER TABLE `game_graveyard_zone`
+ DROP COLUMN `ghost_map`;
+
+UPDATE `game_graveyard_zone` as G1,`game_graveyard_zone` as G2
+ SET G1.`faction` = 0
+ WHERE G1.`id`=G2.`id` AND G1.`ghost_zone`=G2.`ghost_zone` AND G1.`faction`=67 AND (G2.`faction`=469 OR G2.`faction`=0);
+
+UPDATE `game_graveyard_zone` as G1,`game_graveyard_zone` as G2
+ SET G1.`faction` = 0
+ WHERE G1.`id`=G2.`id` AND G1.`ghost_zone`=G2.`ghost_zone` AND G1.`faction`=469 AND (G2.`faction`=67 OR G2.`faction`=0);
+
+DELETE FROM `game_graveyard_zone` WHERE `ghost_zone`= 0;
+
+DROP TABLE IF EXISTS `game_graveyard_zone_new`;
+CREATE TABLE `game_graveyard_zone_new` (
+ `id` int(11) unsigned NOT NULL default '0',
+ `ghost_zone` int(11) unsigned NOT NULL default '0',
+ `faction` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`id`,`ghost_zone`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Trigger System';
+
+INSERT IGNORE INTO `game_graveyard_zone_new` SELECT `id`,`ghost_zone`,`faction` FROM `game_graveyard_zone`;
+
+DROP TABLE `game_graveyard_zone`;
+RENAME TABLE `game_graveyard_zone_new` TO `game_graveyard_zone`;
diff --git a/sql/updates/0.8/4615_creature_template.sql b/sql/updates/0.8/4615_creature_template.sql
new file mode 100644
index 00000000000..6b1ebaa41fd
--- /dev/null
+++ b/sql/updates/0.8/4615_creature_template.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `creature_template`
+ ADD COLUMN `modelid_A2` INTEGER UNSIGNED NOT NULL DEFAULT 0 AFTER `modelid_A`,
+ ADD COLUMN `modelid_H2` INTEGER UNSIGNED NOT NULL DEFAULT 0 AFTER `modelid_H`;
diff --git a/sql/updates/0.8/4627_game_event_model_equip.sql b/sql/updates/0.8/4627_game_event_model_equip.sql
new file mode 100644
index 00000000000..53ceda5495d
--- /dev/null
+++ b/sql/updates/0.8/4627_game_event_model_equip.sql
@@ -0,0 +1,8 @@
+DROP TABLE IF EXISTS `game_event_model_equip`;
+CREATE TABLE `game_event_model_equip` (
+ `guid` int(11) unsigned NOT NULL DEFAULT '0',
+ `modelid` int(11) unsigned NOT NULL DEFAULT '0',
+ `equipment_id` int(11) unsigned NOT NULL DEFAULT '0',
+ `event` mediumint(9) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`guid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
diff --git a/sql/updates/0.9/4615_creature_template.sql b/sql/updates/0.9/4615_creature_template.sql
new file mode 100644
index 00000000000..6b1ebaa41fd
--- /dev/null
+++ b/sql/updates/0.9/4615_creature_template.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `creature_template`
+ ADD COLUMN `modelid_A2` INTEGER UNSIGNED NOT NULL DEFAULT 0 AFTER `modelid_A`,
+ ADD COLUMN `modelid_H2` INTEGER UNSIGNED NOT NULL DEFAULT 0 AFTER `modelid_H`;
diff --git a/sql/updates/0.9/4627_game_event_model_equip.sql b/sql/updates/0.9/4627_game_event_model_equip.sql
new file mode 100644
index 00000000000..53ceda5495d
--- /dev/null
+++ b/sql/updates/0.9/4627_game_event_model_equip.sql
@@ -0,0 +1,8 @@
+DROP TABLE IF EXISTS `game_event_model_equip`;
+CREATE TABLE `game_event_model_equip` (
+ `guid` int(11) unsigned NOT NULL DEFAULT '0',
+ `modelid` int(11) unsigned NOT NULL DEFAULT '0',
+ `equipment_id` int(11) unsigned NOT NULL DEFAULT '0',
+ `event` mediumint(9) unsigned NOT NULL DEFAULT '0',
+ PRIMARY KEY (`guid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
diff --git a/sql/updates/0.9/4628.sql b/sql/updates/0.9/4628.sql
new file mode 100644
index 00000000000..a6a19aa8fa5
--- /dev/null
+++ b/sql/updates/0.9/4628.sql
@@ -0,0 +1,76 @@
+ALTER TABLE `character`
+ MODIFY COLUMN `logout_time` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `is_logout_resting` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0;
+
+ALTER TABLE `character_kill`
+ MODIFY COLUMN `guid` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `victim_guid` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `count` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0;
+
+ALTER TABLE `character_ticket`
+ MODIFY COLUMN `ticket_id` int(11) UNSIGNED NOT NULL DEFAULT NULL AUTO_INCREMENT;
+
+ALTER TABLE `guild_member`
+ MODIFY COLUMN `guid` int(11) UNSIGNED NOT NULL DEFAULT 0, ROW_FORMAT = FIXED;
+
+ALTER TABLE `group`
+ MODIFY COLUMN `leaderGuid` int(11) UNSIGNED NOT NULL,
+ MODIFY COLUMN `mainTank` int(11) UNSIGNED NOT NULL,
+ MODIFY COLUMN `mainAssistant` int(11) UNSIGNED NOT NULL,
+ MODIFY COLUMN `lootMethod` TINYINT(4) UNSIGNED NOT NULL,
+ MODIFY COLUMN `looterGuid` int(11) UNSIGNED NOT NULL,
+ MODIFY COLUMN `lootThreshold` TINYINT(4) UNSIGNED NOT NULL,
+ MODIFY COLUMN `icon1` int(11) UNSIGNED NOT NULL,
+ MODIFY COLUMN `icon2` int(11) UNSIGNED NOT NULL,
+ MODIFY COLUMN `icon3` int(11) UNSIGNED NOT NULL,
+ MODIFY COLUMN `icon4` int(11) UNSIGNED NOT NULL,
+ MODIFY COLUMN `icon5` int(11) UNSIGNED NOT NULL,
+ MODIFY COLUMN `icon6` int(11) UNSIGNED NOT NULL,
+ MODIFY COLUMN `icon7` int(11) unsigned NOT NULL,
+ MODIFY COLUMN `icon8` int(11) unsigned NOT NULL,
+ MODIFY COLUMN `isRaid` tinyint(1) unsigned NOT NULL;
+
+ALTER TABLE `group_member`
+ MODIFY COLUMN `leaderGuid` int(11) UNSIGNED NOT NULL,
+ MODIFY COLUMN `memberGuid` int(11) UNSIGNED NOT NULL,
+ MODIFY COLUMN `assistant` TINYINT(1) UNSIGNED NOT NULL,
+ MODIFY COLUMN `subgroup` SMALLINT(6) UNSIGNED NOT NULL, ROW_FORMAT = FIXED;
+
+ALTER TABLE `item_text`
+ MODIFY COLUMN `id` int(11) UNSIGNED NOT NULL DEFAULT 0, ROW_FORMAT = FIXED;
+
+ALTER TABLE `npc_gossip`
+ MODIFY COLUMN `id` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `npc_guid` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `gossip_type` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `textid` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `option_count` int(11) UNSIGNED DEFAULT NULL;
+
+ALTER TABLE `npc_text`
+ MODIFY COLUMN `ID` int(11) UNSIGNED NOT NULL DEFAULT 0;
+
+ALTER TABLE `npc_trainer`
+ MODIFY COLUMN `entry` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `spell` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `spellcost` int(11) UNSIGNED DEFAULT 0;
+
+ALTER TABLE `page_text`
+ MODIFY COLUMN `entry` int(11) UNSIGNED NOT NULL DEFAULT 0;
+
+ALTER TABLE `pet_name_generation`
+ MODIFY COLUMN `id` int(11) UNSIGNED NOT NULL DEFAULT NULL AUTO_INCREMENT,
+ MODIFY COLUMN `entry` int(11) UNSIGNED NOT NULL DEFAULT 0;
+
+ALTER TABLE `quest_template`
+ MODIFY COLUMN `SuggestedPlayers` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `DetailsEmote1` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `DetailsEmote2` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `DetailsEmote3` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `DetailsEmote4` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `IncompleteEmote` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `CompleteEmote` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `OfferRewardEmote1` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `OfferRewardEmote2` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `OfferRewardEmote3` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `OfferRewardEmote4` int(11) UNSIGNED NOT NULL DEFAULT 0,
+ MODIFY COLUMN `CompleteScript` int(11) UNSIGNED NOT NULL DEFAULT 0;
diff --git a/sql/updates/0.9/4632_areatrigger_teleport.sql b/sql/updates/0.9/4632_areatrigger_teleport.sql
new file mode 100644
index 00000000000..ef7a345f7c3
--- /dev/null
+++ b/sql/updates/0.9/4632_areatrigger_teleport.sql
@@ -0,0 +1,12 @@
+ALTER TABLE `areatrigger_template`
+ DROP COLUMN `trigger_map`,
+ DROP COLUMN `trigger_position_x`,
+ DROP COLUMN `trigger_position_y`,
+ DROP COLUMN `trigger_position_z`;
+
+
+DELETE FROM `areatrigger_template`
+ 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
new file mode 100644
index 00000000000..055fadba14d
--- /dev/null
+++ b/sql/updates/0.9/4633_spell_teleport.sql
@@ -0,0 +1,17 @@
+
+DROP TABLE IF EXISTS `spell_teleport`;
+CREATE TABLE `spell_teleport` (
+ `id` int(11) unsigned NOT NULL default '0' COMMENT 'Identifier',
+ `target_map` int(11) unsigned NOT NULL default '0',
+ `target_position_x` float NOT NULL default '0',
+ `target_position_y` float NOT NULL default '0',
+ `target_position_z` float NOT NULL default '0',
+ `target_orientation` float NOT NULL default '0',
+ 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`
+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
new file mode 100644
index 00000000000..01c7ecefbcf
--- /dev/null
+++ b/sql/updates/0.9/4640_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM command WHERE name IN ('gotrigger');
+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/4656_game_event_creature_quest.sql b/sql/updates/0.9/4656_game_event_creature_quest.sql
new file mode 100644
index 00000000000..9fcb04915e4
--- /dev/null
+++ b/sql/updates/0.9/4656_game_event_creature_quest.sql
@@ -0,0 +1,7 @@
+DROP TABLE IF EXISTS `game_event_creature_quest`;
+CREATE TABLE `game_event_creature_quest` (
+ `id` int(11) unsigned NOT NULL default '0',
+ `quest` int(11) unsigned NOT NULL default '0',
+ `event` mediumint(9) unsigned NOT NULL default '0',
+ PRIMARY KEY (`id`,`quest`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
diff --git a/sql/updates/0.9/4657_quest_template.sql b/sql/updates/0.9/4657_quest_template.sql
new file mode 100644
index 00000000000..4f61a8846b5
--- /dev/null
+++ b/sql/updates/0.9/4657_quest_template.sql
@@ -0,0 +1,5 @@
+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
diff --git a/sql/updates/0.9/4664.sql b/sql/updates/0.9/4664.sql
new file mode 100644
index 00000000000..ee3a3a8eaa7
--- /dev/null
+++ b/sql/updates/0.9/4664.sql
@@ -0,0 +1,982 @@
+CREATE DATABASE `characters` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
+GRANT ALL PRIVILEGES ON `characters` . * TO 'mangos'@'localhost' WITH GRANT OPTION;
+
+DROP TABLE IF EXISTS `characters`.`arena_team`;
+CREATE TABLE `characters`.`arena_team` (
+ `arenateamid` int(10) unsigned NOT NULL default '0',
+ `name` char(255) NOT NULL,
+ `captainguid` int(10) unsigned NOT NULL default '0',
+ `type` tinyint(3) unsigned NOT NULL default '0',
+ `EmblemStyle` int(10) unsigned NOT NULL default '0',
+ `EmblemColor` int(10) unsigned NOT NULL default '0',
+ `BorderStyle` int(10) unsigned NOT NULL default '0',
+ `BorderColor` int(10) unsigned NOT NULL default '0',
+ `BackgroundColor` int(10) unsigned NOT NULL default '0',
+ PRIMARY KEY (`arenateamid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `arena_team`
+--
+
+/*!40000 ALTER TABLE `arena_team` DISABLE KEYS */;
+/*!40000 ALTER TABLE `arena_team` ENABLE KEYS */;
+
+
+--
+-- Definition of table `arena_team_member`
+--
+
+DROP TABLE IF EXISTS `characters`.`arena_team_member`;
+CREATE TABLE `characters`.`arena_team_member` (
+ `arenateamid` int(10) unsigned NOT NULL default '0',
+ `guid` int(10) unsigned NOT NULL default '0',
+ `played_week` int(10) unsigned NOT NULL default '0',
+ `wons_week` int(10) unsigned NOT NULL default '0',
+ `played_season` int(10) unsigned NOT NULL default '0',
+ `wons_season` int(10) unsigned NOT NULL default '0'
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `arena_team_member`
+--
+
+/*!40000 ALTER TABLE `arena_team_member` DISABLE KEYS */;
+/*!40000 ALTER TABLE `arena_team_member` ENABLE KEYS */;
+
+
+--
+-- Definition of table `arena_team_stats`
+--
+
+DROP TABLE IF EXISTS `characters`.`arena_team_stats`;
+CREATE TABLE `characters`.`arena_team_stats` (
+ `arenateamid` int(10) unsigned NOT NULL default '0',
+ `rating` int(10) unsigned NOT NULL default '0',
+ `games` int(10) unsigned NOT NULL default '0',
+ `wins` int(10) unsigned NOT NULL default '0',
+ `played` int(10) unsigned NOT NULL default '0',
+ `wins2` int(10) unsigned NOT NULL default '0',
+ `rank` int(10) unsigned NOT NULL default '0',
+ PRIMARY KEY (`arenateamid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `arena_team_stats`
+--
+
+/*!40000 ALTER TABLE `arena_team_stats` DISABLE KEYS */;
+/*!40000 ALTER TABLE `arena_team_stats` ENABLE KEYS */;
+
+
+--
+-- Definition of table `auctionhouse`
+--
+
+DROP TABLE IF EXISTS `characters`.`auctionhouse`;
+CREATE TABLE `characters`.`auctionhouse` (
+ `id` int(11) unsigned NOT NULL default '0',
+ `auctioneerguid` int(11) unsigned NOT NULL default '0',
+ `itemguid` int(11) unsigned NOT NULL default '0',
+ `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
+ `itemowner` int(11) unsigned NOT NULL default '0',
+ `buyoutprice` int(11) NOT NULL default '0',
+ `time` bigint(40) NOT NULL default '0',
+ `buyguid` int(11) unsigned NOT NULL default '0',
+ `lastbid` int(11) NOT NULL default '0',
+ `startbid` int(11) NOT NULL default '0',
+ `deposit` int(11) NOT NULL default '0',
+ `location` tinyint(3) unsigned NOT NULL default '3',
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `auctionhouse`
+--
+
+/*!40000 ALTER TABLE `auctionhouse` DISABLE KEYS */;
+/*!40000 ALTER TABLE `auctionhouse` ENABLE KEYS */;
+
+
+--
+-- Definition of table `bugreport`
+--
+
+DROP TABLE IF EXISTS `characters`.`bugreport`;
+CREATE TABLE `characters`.`bugreport` (
+ `id` int(11) NOT NULL auto_increment COMMENT 'Identifier',
+ `type` varchar(255) NOT NULL default '',
+ `content` varchar(255) NOT NULL default '',
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Debug System';
+
+--
+-- Dumping data for table `bugreport`
+--
+
+/*!40000 ALTER TABLE `bugreport` DISABLE KEYS */;
+/*!40000 ALTER TABLE `bugreport` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character`
+--
+
+DROP TABLE IF EXISTS `characters`.`character`;
+CREATE TABLE `characters`.`character` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `account` int(11) unsigned NOT NULL default '0' COMMENT 'Account Identifier',
+ `data` longtext,
+ `name` varchar(12) NOT NULL default '',
+ `race` tinyint(3) unsigned NOT NULL default '0',
+ `class` tinyint(3) unsigned NOT NULL default '0',
+ `position_x` float NOT NULL default '0',
+ `position_y` float NOT NULL default '0',
+ `position_z` float NOT NULL default '0',
+ `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
+ `orientation` float NOT NULL default '0',
+ `taximask` longtext,
+ `online` tinyint(3) unsigned NOT NULL default '0',
+ `cinematic` tinyint(3) unsigned NOT NULL default '0',
+ `totaltime` int(11) unsigned NOT NULL default '0',
+ `leveltime` int(11) unsigned NOT NULL default '0',
+ `logout_time` int(11) unsigned NOT NULL default '0',
+ `is_logout_resting` tinyint(3) unsigned NOT NULL default '0',
+ `rest_bonus` float NOT NULL default '0',
+ `resettalents_cost` int(11) unsigned NOT NULL default '0',
+ `resettalents_time` bigint(20) unsigned NOT NULL default '0',
+ `trans_x` float NOT NULL default '0',
+ `trans_y` float NOT NULL default '0',
+ `trans_z` float NOT NULL default '0',
+ `trans_o` float NOT NULL default '0',
+ `transguid` bigint(20) unsigned NOT NULL default '0',
+ `gmstate` tinyint(3) unsigned NOT NULL default '0',
+ `stable_slots` tinyint(1) unsigned NOT NULL default '0',
+ `at_login` int(11) unsigned NOT NULL default '0',
+ `zone` int(11) unsigned NOT NULL default '0',
+ `last_honor_date` int(11) unsigned NOT NULL default '0',
+ `pending_honor` float NOT NULL default '0',
+ `pending_kills` int(11) NOT NULL default '0',
+ `last_kill_date` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`),
+ KEY `idx_account` (`account`),
+ KEY `idx_online` (`online`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character`
+--
+
+/*!40000 ALTER TABLE `character` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character_action`
+--
+
+DROP TABLE IF EXISTS `characters`.`character_action`;
+CREATE TABLE `characters`.`character_action` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `button` tinyint(3) unsigned NOT NULL default '0',
+ `action` smallint(5) unsigned NOT NULL default '0',
+ `type` tinyint(3) unsigned NOT NULL default '0',
+ `misc` tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`button`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_action`
+--
+
+/*!40000 ALTER TABLE `character_action` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_action` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character_aura`
+--
+
+DROP TABLE IF EXISTS `characters`.`character_aura`;
+CREATE TABLE `characters`.`character_aura` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier',
+ `spell` int(11) unsigned NOT NULL default '0',
+ `effect_index` int(11) unsigned NOT NULL default '0',
+ `amount` int(11) NOT NULL default '0',
+ `maxduration` int(11) NOT NULL default '0',
+ `remaintime` int(11) NOT NULL default '0',
+ `remaincharges` int(11) NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`,`effect_index`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_aura`
+--
+
+/*!40000 ALTER TABLE `character_aura` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_aura` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character_gifts`
+--
+
+DROP TABLE IF EXISTS `characters`.`character_gifts`;
+CREATE TABLE `characters`.`character_gifts` (
+ `guid` int(20) unsigned NOT NULL default '0',
+ `item_guid` int(11) unsigned NOT NULL default '0',
+ `entry` int(20) unsigned NOT NULL default '0',
+ `flags` int(20) unsigned NOT NULL default '0',
+ PRIMARY KEY (`item_guid`),
+ KEY `idx_guid` (`guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `character_gifts`
+--
+
+/*!40000 ALTER TABLE `character_gifts` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_gifts` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character_homebind`
+--
+
+DROP TABLE IF EXISTS `characters`.`character_homebind`;
+CREATE TABLE `characters`.`character_homebind` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
+ `zone` int(11) unsigned NOT NULL default '0' COMMENT 'Zone Identifier',
+ `position_x` float NOT NULL default '0',
+ `position_y` float NOT NULL default '0',
+ `position_z` float NOT NULL default '0',
+ PRIMARY KEY (`guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_homebind`
+--
+
+/*!40000 ALTER TABLE `character_homebind` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_homebind` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character_instance`
+--
+
+DROP TABLE IF EXISTS `characters`.`character_instance`;
+CREATE TABLE `characters`.`character_instance` (
+ `guid` int(11) unsigned NOT NULL default '0',
+ `map` int(11) unsigned NOT NULL default '0',
+ `instance` bigint(40) NOT NULL default '0',
+ `leader` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`map`),
+ KEY `instance` (`instance`),
+ KEY `leader` (`leader`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `character_instance`
+--
+
+/*!40000 ALTER TABLE `character_instance` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_instance` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character_inventory`
+--
+
+DROP TABLE IF EXISTS `characters`.`character_inventory`;
+CREATE TABLE `characters`.`character_inventory` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `bag` int(11) unsigned NOT NULL default '0',
+ `slot` tinyint(3) unsigned NOT NULL default '0',
+ `item` int(11) unsigned NOT NULL default '0' COMMENT 'Item Global Unique Identifier',
+ `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
+ PRIMARY KEY (`item`),
+ KEY `idx_guid` (`guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_inventory`
+--
+
+/*!40000 ALTER TABLE `character_inventory` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_inventory` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character_kill`
+--
+
+DROP TABLE IF EXISTS `characters`.`character_kill`;
+CREATE TABLE `characters`.`character_kill` (
+ `guid` int(11) unsigned NOT NULL default '0',
+ `victim_guid` int(11) unsigned NOT NULL default '0',
+ `count` tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`victim_guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Kills Yesterday';
+
+--
+-- Dumping data for table `character_kill`
+--
+
+/*!40000 ALTER TABLE `character_kill` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_kill` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character_pet`
+--
+
+DROP TABLE IF EXISTS `characters`.`character_pet`;
+CREATE TABLE `characters`.`character_pet` (
+ `id` int(11) unsigned NOT NULL default '0',
+ `entry` int(11) unsigned NOT NULL default '0',
+ `owner` int(11) unsigned NOT NULL default '0',
+ `modelid` int(11) unsigned default '0',
+ `CreatedBySpell` int(11) unsigned NOT NULL default '0',
+ `PetType` tinyint(3) unsigned NOT NULL default '0',
+ `level` int(11) unsigned NOT NULL default '1',
+ `exp` int(11) unsigned NOT NULL default '0',
+ `nextlvlexp` int(11) unsigned NOT NULL default '100',
+ `Reactstate` tinyint(1) unsigned NOT NULL default '0',
+ `Commandstate` tinyint(1) unsigned NOT NULL default '1',
+ `loyaltypoints` int(11) NOT NULL default '0',
+ `loyalty` int(11) unsigned NOT NULL default '0',
+ `trainpoint` int(11) NOT NULL default '0',
+ `name` varchar(100) default 'Pet',
+ `renamed` tinyint(1) unsigned NOT NULL default '0',
+ `slot` int(11) unsigned NOT NULL default '0',
+ `curhealth` int(11) unsigned NOT NULL default '1',
+ `curmana` int(11) unsigned NOT NULL default '0',
+ `curhappiness` int(11) unsigned NOT NULL default '0',
+ `savetime` bigint(20) unsigned NOT NULL default '0',
+ `resettalents_cost` int(11) unsigned NOT NULL default '0',
+ `resettalents_time` bigint(20) unsigned NOT NULL default '0',
+ `ABData` longtext,
+ `TeachSpelldata` longtext,
+ PRIMARY KEY (`id`),
+ KEY `owner` (`owner`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
+
+--
+-- Dumping data for table `character_pet`
+--
+
+/*!40000 ALTER TABLE `character_pet` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_pet` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character_queststatus`
+--
+
+DROP TABLE IF EXISTS `characters`.`character_queststatus`;
+CREATE TABLE `characters`.`character_queststatus` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
+ `status` int(11) unsigned NOT NULL default '0',
+ `rewarded` tinyint(1) unsigned NOT NULL default '0',
+ `explored` tinyint(1) unsigned NOT NULL default '0',
+ `timer` bigint(20) unsigned NOT NULL default '0',
+ `mobcount1` int(11) unsigned NOT NULL default '0',
+ `mobcount2` int(11) unsigned NOT NULL default '0',
+ `mobcount3` int(11) unsigned NOT NULL default '0',
+ `mobcount4` int(11) unsigned NOT NULL default '0',
+ `itemcount1` int(11) unsigned NOT NULL default '0',
+ `itemcount2` int(11) unsigned NOT NULL default '0',
+ `itemcount3` int(11) unsigned NOT NULL default '0',
+ `itemcount4` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`quest`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_queststatus`
+--
+
+/*!40000 ALTER TABLE `character_queststatus` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_queststatus` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character_queststatus_daily`
+--
+
+DROP TABLE IF EXISTS `characters`.`character_queststatus_daily`;
+CREATE TABLE `characters`.`character_queststatus_daily` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `quest` int(11) unsigned NOT NULL default '0' COMMENT 'Quest Identifier',
+ `time` bigint(20) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`quest`),
+ KEY `idx_guid` (`guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_queststatus_daily`
+--
+
+/*!40000 ALTER TABLE `character_queststatus_daily` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_queststatus_daily` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character_reputation`
+--
+
+DROP TABLE IF EXISTS `characters`.`character_reputation`;
+CREATE TABLE `characters`.`character_reputation` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `faction` int(11) unsigned NOT NULL default '0',
+ `standing` int(11) NOT NULL default '0',
+ `flags` int(11) NOT NULL default '0',
+ PRIMARY KEY (`guid`,`faction`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_reputation`
+--
+
+/*!40000 ALTER TABLE `character_reputation` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_reputation` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character_social`
+--
+
+DROP TABLE IF EXISTS `characters`.`character_social`;
+CREATE TABLE `characters`.`character_social` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `name` varchar(21) NOT NULL default '',
+ `friend` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
+ `flags` varchar(21) NOT NULL default '',
+ PRIMARY KEY (`guid`,`friend`,`flags`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_social`
+--
+
+/*!40000 ALTER TABLE `character_social` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_social` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character_spell`
+--
+
+DROP TABLE IF EXISTS `characters`.`character_spell`;
+CREATE TABLE `characters`.`character_spell` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
+ `slot` int(11) unsigned NOT NULL default '0',
+ `active` tinyint(3) unsigned NOT NULL default '1',
+ PRIMARY KEY (`guid`,`spell`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_spell`
+--
+
+/*!40000 ALTER TABLE `character_spell` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_spell` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character_spell_cooldown`
+--
+
+DROP TABLE IF EXISTS `characters`.`character_spell_cooldown`;
+CREATE TABLE `characters`.`character_spell_cooldown` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part',
+ `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
+ `item` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
+ `time` bigint(20) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `character_spell_cooldown`
+--
+
+/*!40000 ALTER TABLE `character_spell_cooldown` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_spell_cooldown` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character_ticket`
+--
+
+DROP TABLE IF EXISTS `characters`.`character_ticket`;
+CREATE TABLE `characters`.`character_ticket` (
+ `ticket_id` int(11) unsigned NOT NULL auto_increment,
+ `guid` int(11) unsigned NOT NULL default '0',
+ `ticket_text` text,
+ `ticket_category` int(1) NOT NULL default '0',
+ PRIMARY KEY (`ticket_id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_ticket`
+--
+
+/*!40000 ALTER TABLE `character_ticket` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_ticket` ENABLE KEYS */;
+
+
+--
+-- Definition of table `character_tutorial`
+--
+
+DROP TABLE IF EXISTS `characters`.`character_tutorial`;
+CREATE TABLE `characters`.`character_tutorial` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `tut0` int(11) unsigned NOT NULL default '0',
+ `tut1` int(11) unsigned NOT NULL default '0',
+ `tut2` int(11) unsigned NOT NULL default '0',
+ `tut3` int(11) unsigned NOT NULL default '0',
+ `tut4` int(11) unsigned NOT NULL default '0',
+ `tut5` int(11) unsigned NOT NULL default '0',
+ `tut6` int(11) unsigned NOT NULL default '0',
+ `tut7` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
+
+--
+-- Dumping data for table `character_tutorial`
+--
+
+/*!40000 ALTER TABLE `character_tutorial` DISABLE KEYS */;
+/*!40000 ALTER TABLE `character_tutorial` ENABLE KEYS */;
+
+
+--
+-- Definition of table `corpse`
+--
+
+DROP TABLE IF EXISTS `characters`.`corpse`;
+CREATE TABLE `characters`.`corpse` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `player` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
+ `position_x` float NOT NULL default '0',
+ `position_y` float NOT NULL default '0',
+ `position_z` float NOT NULL default '0',
+ `orientation` float NOT NULL default '0',
+ `zone` int(11) unsigned NOT NULL default '38' COMMENT 'Zone Identifier',
+ `map` int(11) unsigned NOT NULL default '0' COMMENT 'Map Identifier',
+ `data` longtext,
+ `time` timestamp NOT NULL default '0000-00-00 00:00:00',
+ `bones_flag` tinyint(3) NOT NULL default '0',
+ `instance` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`),
+ KEY `idx_bones_flag` (`bones_flag`),
+ KEY `instance` (`instance`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Death System';
+
+--
+-- Dumping data for table `corpse`
+--
+
+/*!40000 ALTER TABLE `corpse` DISABLE KEYS */;
+/*!40000 ALTER TABLE `corpse` ENABLE KEYS */;
+
+
+--
+-- Definition of table `group`
+--
+
+DROP TABLE IF EXISTS `characters`.`group`;
+CREATE TABLE `characters`.`group` (
+ `leaderGuid` int(11) unsigned NOT NULL,
+ `mainTank` int(11) unsigned NOT NULL,
+ `mainAssistant` int(11) unsigned NOT NULL,
+ `lootMethod` tinyint(4) unsigned NOT NULL,
+ `looterGuid` int(11) unsigned NOT NULL,
+ `lootThreshold` tinyint(4) unsigned NOT NULL,
+ `icon1` int(11) unsigned NOT NULL,
+ `icon2` int(11) unsigned NOT NULL,
+ `icon3` int(11) unsigned NOT NULL,
+ `icon4` int(11) unsigned NOT NULL,
+ `icon5` int(11) unsigned NOT NULL,
+ `icon6` int(11) unsigned NOT NULL,
+ `icon7` int(11) unsigned NOT NULL,
+ `icon8` int(11) unsigned NOT NULL,
+ `isRaid` tinyint(1) unsigned NOT NULL,
+ PRIMARY KEY (`leaderGuid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Groups';
+
+--
+-- Dumping data for table `group`
+--
+
+/*!40000 ALTER TABLE `group` DISABLE KEYS */;
+/*!40000 ALTER TABLE `group` ENABLE KEYS */;
+
+
+--
+-- Definition of table `group_member`
+--
+
+DROP TABLE IF EXISTS `characters`.`group_member`;
+CREATE TABLE `characters`.`group_member` (
+ `leaderGuid` int(11) unsigned NOT NULL,
+ `memberGuid` int(11) unsigned NOT NULL,
+ `assistant` tinyint(1) unsigned NOT NULL,
+ `subgroup` smallint(6) unsigned NOT NULL,
+ PRIMARY KEY (`leaderGuid`,`memberGuid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Groups';
+
+--
+-- Dumping data for table `group_member`
+--
+
+/*!40000 ALTER TABLE `group_member` DISABLE KEYS */;
+/*!40000 ALTER TABLE `group_member` ENABLE KEYS */;
+
+
+--
+-- Definition of table `guild`
+--
+
+DROP TABLE IF EXISTS `characters`.`guild`;
+CREATE TABLE `characters`.`guild` (
+ `guildid` int(6) unsigned NOT NULL default '0',
+ `name` varchar(255) NOT NULL default '',
+ `leaderguid` int(6) unsigned NOT NULL default '0',
+ `EmblemStyle` int(5) NOT NULL default '0',
+ `EmblemColor` int(5) NOT NULL default '0',
+ `BorderStyle` int(5) NOT NULL default '0',
+ `BorderColor` int(5) NOT NULL default '0',
+ `BackgroundColor` int(5) NOT NULL default '0',
+ `info` text NOT NULL,
+ `MOTD` varchar(255) NOT NULL default '',
+ `createdate` datetime default NULL,
+ PRIMARY KEY (`guildid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
+
+--
+-- Dumping data for table `guild`
+--
+
+/*!40000 ALTER TABLE `guild` DISABLE KEYS */;
+/*!40000 ALTER TABLE `guild` ENABLE KEYS */;
+
+
+--
+-- Definition of table `guild_member`
+--
+
+DROP TABLE IF EXISTS `characters`.`guild_member`;
+CREATE TABLE `characters`.`guild_member` (
+ `guildid` int(6) unsigned NOT NULL default '0',
+ `guid` int(11) unsigned NOT NULL default '0',
+ `rank` tinyint(2) unsigned NOT NULL default '0',
+ `Pnote` varchar(255) NOT NULL default '',
+ `OFFnote` varchar(255) NOT NULL default ''
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Guild System';
+
+--
+-- Dumping data for table `guild_member`
+--
+
+/*!40000 ALTER TABLE `guild_member` DISABLE KEYS */;
+/*!40000 ALTER TABLE `guild_member` ENABLE KEYS */;
+
+
+--
+-- Definition of table `guild_rank`
+--
+
+DROP TABLE IF EXISTS `characters`.`guild_rank`;
+CREATE TABLE `characters`.`guild_rank` (
+ `guildid` int(6) unsigned NOT NULL default '0',
+ `rid` int(11) unsigned NOT NULL,
+ `rname` varchar(255) NOT NULL default '',
+ `rights` int(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guildid`,`rid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
+
+--
+-- Dumping data for table `guild_rank`
+--
+
+/*!40000 ALTER TABLE `guild_rank` DISABLE KEYS */;
+/*!40000 ALTER TABLE `guild_rank` ENABLE KEYS */;
+
+
+--
+-- Definition of table `instance`
+--
+
+DROP TABLE IF EXISTS `characters`.`instance`;
+CREATE TABLE `characters`.`instance` (
+ `id` int(11) unsigned NOT NULL default '0',
+ `map` int(11) unsigned NOT NULL default '0',
+ `resettime` bigint(40) NOT NULL default '0',
+ `data` longtext,
+ PRIMARY KEY (`id`),
+ KEY `map` (`map`),
+ KEY `resettime` (`resettime`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `instance`
+--
+
+/*!40000 ALTER TABLE `instance` DISABLE KEYS */;
+/*!40000 ALTER TABLE `instance` ENABLE KEYS */;
+
+
+--
+-- Definition of table `item_instance`
+--
+
+DROP TABLE IF EXISTS `characters`.`item_instance`;
+CREATE TABLE `characters`.`item_instance` (
+ `guid` int(11) unsigned NOT NULL default '0',
+ `owner_guid` int(11) unsigned NOT NULL default '0',
+ `data` longtext,
+ PRIMARY KEY (`guid`),
+ KEY `idx_owner_guid` (`owner_guid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Item System';
+
+--
+-- Dumping data for table `item_instance`
+--
+
+/*!40000 ALTER TABLE `item_instance` DISABLE KEYS */;
+/*!40000 ALTER TABLE `item_instance` ENABLE KEYS */;
+
+
+--
+-- Definition of table `item_text`
+--
+
+DROP TABLE IF EXISTS `characters`.`item_text`;
+CREATE TABLE `characters`.`item_text` (
+ `id` int(11) unsigned NOT NULL default '0',
+ `text` longtext,
+ PRIMARY KEY (`id`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Item System';
+
+--
+-- Dumping data for table `item_text`
+--
+
+/*!40000 ALTER TABLE `item_text` DISABLE KEYS */;
+/*!40000 ALTER TABLE `item_text` ENABLE KEYS */;
+
+
+--
+-- Definition of table `mail`
+--
+
+DROP TABLE IF EXISTS `characters`.`mail`;
+CREATE TABLE `characters`.`mail` (
+ `id` int(11) unsigned NOT NULL default '0' COMMENT 'Identifier',
+ `messageType` tinyint(3) unsigned NOT NULL default '0',
+ `sender` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
+ `receiver` int(11) unsigned NOT NULL default '0' COMMENT 'Character Global Unique Identifier',
+ `subject` longtext,
+ `itemTextId` int(11) unsigned NOT NULL default '0',
+ `item_guid` int(11) unsigned NOT NULL default '0' COMMENT 'Mail Item Global Unique Identifier',
+ `item_template` int(11) unsigned NOT NULL default '0' COMMENT 'Item Identifier',
+ `expire_time` bigint(40) NOT NULL default '0',
+ `deliver_time` bigint(40) NOT NULL default '0',
+ `money` int(11) unsigned NOT NULL default '0',
+ `cod` int(11) unsigned NOT NULL default '0',
+ `checked` tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (`id`),
+ KEY `idx_receiver` (`receiver`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Mail System';
+
+--
+-- Dumping data for table `mail`
+--
+
+/*!40000 ALTER TABLE `mail` DISABLE KEYS */;
+/*!40000 ALTER TABLE `mail` ENABLE KEYS */;
+
+
+--
+-- Definition of table `pet_aura`
+--
+
+DROP TABLE IF EXISTS `characters`.`pet_aura`;
+CREATE TABLE `characters`.`pet_aura` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `caster_guid` bigint(20) unsigned NOT NULL default '0' COMMENT 'Full Global Unique Identifier',
+ `spell` int(11) unsigned NOT NULL default '0',
+ `effect_index` int(11) unsigned NOT NULL default '0',
+ `amount` int(11) NOT NULL default '0',
+ `maxduration` int(11) NOT NULL default '0',
+ `remaintime` int(11) NOT NULL default '0',
+ `remaincharges` int(11) NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`,`effect_index`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
+
+--
+-- Dumping data for table `pet_aura`
+--
+
+/*!40000 ALTER TABLE `pet_aura` DISABLE KEYS */;
+/*!40000 ALTER TABLE `pet_aura` ENABLE KEYS */;
+
+
+--
+-- Definition of table `pet_spell`
+--
+
+DROP TABLE IF EXISTS `characters`.`pet_spell`;
+CREATE TABLE `characters`.`pet_spell` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
+ `slot` int(11) unsigned NOT NULL default '0',
+ `active` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Pet System';
+
+--
+-- Dumping data for table `pet_spell`
+--
+
+/*!40000 ALTER TABLE `pet_spell` DISABLE KEYS */;
+/*!40000 ALTER TABLE `pet_spell` ENABLE KEYS */;
+
+
+--
+-- Definition of table `pet_spell_cooldown`
+--
+
+DROP TABLE IF EXISTS `characters`.`pet_spell_cooldown`;
+CREATE TABLE `characters`.`pet_spell_cooldown` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier, Low part',
+ `spell` int(11) unsigned NOT NULL default '0' COMMENT 'Spell Identifier',
+ `time` bigint(20) unsigned NOT NULL default '0',
+ PRIMARY KEY (`guid`,`spell`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+--
+-- Dumping data for table `pet_spell_cooldown`
+--
+
+/*!40000 ALTER TABLE `pet_spell_cooldown` DISABLE KEYS */;
+/*!40000 ALTER TABLE `pet_spell_cooldown` ENABLE KEYS */;
+
+
+--
+-- Definition of table `petition`
+--
+
+DROP TABLE IF EXISTS `characters`.`petition`;
+CREATE TABLE `characters`.`petition` (
+ `ownerguid` int(10) unsigned NOT NULL,
+ `petitionguid` int(10) unsigned default '0',
+ `name` varchar(255) NOT NULL default '',
+ `type` int(10) unsigned NOT NULL default '0',
+ PRIMARY KEY (`ownerguid`),
+ UNIQUE KEY `index_ownerguid_petitionguid` (`ownerguid`,`petitionguid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
+
+--
+-- Dumping data for table `petition`
+--
+
+/*!40000 ALTER TABLE `petition` DISABLE KEYS */;
+/*!40000 ALTER TABLE `petition` ENABLE KEYS */;
+
+
+--
+-- Definition of table `petition_sign`
+--
+
+DROP TABLE IF EXISTS `characters`.`petition_sign`;
+CREATE TABLE `characters`.`petition_sign` (
+ `ownerguid` int(10) unsigned NOT NULL,
+ `petitionguid` int(11) unsigned NOT NULL default '0',
+ `playerguid` int(11) unsigned NOT NULL default '0',
+ `player_account` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`petitionguid`,`playerguid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Guild System';
+
+
+INSERT INTO `characters`.`arena_team` SELECT * FROM `arena_team`;
+INSERT INTO `characters`.`arena_team_member` SELECT * FROM `arena_team_member`;
+INSERT INTO `characters`.`arena_team_stats` SELECT * FROM `arena_team_stats`;
+INSERT INTO `characters`.`auctionhouse` SELECT * FROM `auctionhouse`;
+INSERT INTO `characters`.`bugreport` SELECT * FROM `bugreport`;
+INSERT INTO `characters`.`character` SELECT * FROM `character`;
+INSERT INTO `characters`.`character_action` SELECT * FROM `character_action`;
+INSERT INTO `characters`.`character_aura` SELECT * FROM `character_aura`;
+INSERT INTO `characters`.`character_gifts` SELECT * FROM `character_gifts`;
+INSERT INTO `characters`.`character_homebind` SELECT * FROM `character_homebind`;
+INSERT INTO `characters`.`character_instance` SELECT * FROM `character_instance`;
+INSERT INTO `characters`.`character_inventory` SELECT * FROM `character_inventory`;
+INSERT INTO `characters`.`character_kill` SELECT * FROM `character_kill`;
+INSERT INTO `characters`.`character_pet` SELECT * FROM `character_pet`;
+INSERT INTO `characters`.`character_queststatus` SELECT * FROM `character_queststatus`;
+INSERT INTO `characters`.`character_queststatus_daily` SELECT * FROM `character_queststatus_daily`;
+INSERT INTO `characters`.`character_reputation` SELECT * FROM `character_reputation`;
+INSERT INTO `characters`.`character_social` SELECT * FROM `character_social`;
+INSERT INTO `characters`.`character_spell` SELECT * FROM `character_spell`;
+INSERT INTO `characters`.`character_spell_cooldown` SELECT * FROM `character_spell_cooldown`;
+INSERT INTO `characters`.`character_ticket` SELECT * FROM `character_ticket`;
+INSERT INTO `characters`.`character_tutorial` SELECT * FROM `character_tutorial`;
+INSERT INTO `characters`.`corpse` SELECT * FROM `corpse`;
+INSERT INTO `characters`.`group` SELECT * FROM `group`;
+INSERT INTO `characters`.`group_member` SELECT * FROM `group_member`;
+INSERT INTO `characters`.`guild` SELECT * FROM `guild`;
+INSERT INTO `characters`.`guild_member` SELECT * FROM `guild_member`;
+INSERT INTO `characters`.`guild_rank` SELECT * FROM `guild_rank`;
+INSERT INTO `characters`.`instance` SELECT * FROM `instance`;
+INSERT INTO `characters`.`item_instance` SELECT * FROM `item_instance`;
+INSERT INTO `characters`.`item_text` SELECT * FROM `item_text`;
+INSERT INTO `characters`.`mail` SELECT * FROM `mail`;
+INSERT INTO `characters`.`pet_aura` SELECT * FROM `pet_aura`;
+INSERT INTO `characters`.`pet_spell` SELECT * FROM `pet_spell`;
+INSERT INTO `characters`.`pet_spell_cooldown` SELECT * FROM `pet_spell_cooldown`;
+INSERT INTO `characters`.`petition` SELECT * FROM `petition`;
+INSERT INTO `characters`.`petition_sign` SELECT * FROM `petition_sign`;
+
+DROP TABLE `arena_team`;
+DROP TABLE `arena_team_member`;
+DROP TABLE `arena_team_stats`;
+DROP TABLE `auctionhouse`;
+DROP TABLE `bugreport`;
+DROP TABLE `character`;
+DROP TABLE `character_action`;
+DROP TABLE `character_aura`;
+DROP TABLE `character_gifts`;
+DROP TABLE `character_homebind`;
+DROP TABLE `character_instance`;
+DROP TABLE `character_inventory`;
+DROP TABLE `character_kill`;
+DROP TABLE `character_pet`;
+DROP TABLE `character_queststatus`;
+DROP TABLE `character_queststatus_daily`;
+DROP TABLE `character_reputation`;
+DROP TABLE `character_social`;
+DROP TABLE `character_spell`;
+DROP TABLE `character_spell_cooldown`;
+DROP TABLE `character_ticket`;
+DROP TABLE `character_tutorial`;
+DROP TABLE `corpse`;
+DROP TABLE `group`;
+DROP TABLE `group_member`;
+DROP TABLE `guild`;
+DROP TABLE `guild_member`;
+DROP TABLE `guild_rank`;
+DROP TABLE `instance`;
+DROP TABLE `item_instance`;
+DROP TABLE `item_text`;
+DROP TABLE `mail`;
+DROP TABLE `pet_aura`;
+DROP TABLE `pet_spell`;
+DROP TABLE `pet_spell_cooldown`;
+DROP TABLE `petition`;
+DROP TABLE `petition_sign`; \ No newline at end of file
diff --git a/sql/updates/0.9/4667_characters_character.sql b/sql/updates/0.9/4667_characters_character.sql
new file mode 100644
index 00000000000..0b547019777
--- /dev/null
+++ b/sql/updates/0.9/4667_characters_character.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `character`
+ DROP COLUMN `pending_kills`; \ No newline at end of file
diff --git a/sql/updates/0.9/4674_mangos_skill_discovery_template.sql b/sql/updates/0.9/4674_mangos_skill_discovery_template.sql
new file mode 100644
index 00000000000..7358a3a2d32
--- /dev/null
+++ b/sql/updates/0.9/4674_mangos_skill_discovery_template.sql
@@ -0,0 +1,8 @@
+DROP TABLE IF EXISTS `skill_discovery_template`;
+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
diff --git a/sql/updates/0.9/4679_mangos_spell_proc_event.sql b/sql/updates/0.9/4679_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..d268b87e3e2
--- /dev/null
+++ b/sql/updates/0.9/4679_mangos_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (34774, 34586);
+INSERT INTO `spell_proc_event` VALUES
+(34586,0,0,0,0,0,524289,1.5),
+(34774,0,0,0,0,0,524289,1.5);
diff --git a/sql/updates/0.9/4687_mangos_loot_template.sql b/sql/updates/0.9/4687_mangos_loot_template.sql
new file mode 100644
index 00000000000..f2be66d26a6
--- /dev/null
+++ b/sql/updates/0.9/4687_mangos_loot_template.sql
@@ -0,0 +1,86 @@
+--
+-- Table changes for `creature_loot_template`
+--
+ALTER TABLE `creature_loot_template` CHANGE COLUMN `quest_freeforall` `QuestFFAorLootCondition` TINYINT(3) NOT NULL DEFAULT 1,
+ADD COLUMN `condition_value1` int(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `QuestFFAorLootCondition`,
+ADD COLUMN `condition_value2` int(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `condition_value1`;
+
+ALTER TABLE `creature_loot_template` DROP PRIMARY KEY,
+ADD PRIMARY KEY(`entry`, `item`, `condition_value1`);
+
+
+--
+-- Table changes for `disenchant_loot_template`
+--
+ALTER TABLE `disenchant_loot_template` CHANGE COLUMN `quest_freeforall` `QuestFFAorLootCondition` TINYINT(3) NOT NULL DEFAULT 1,
+ADD COLUMN `condition_value1` int(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `QuestFFAorLootCondition`,
+ADD COLUMN `condition_value2` int(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `condition_value1`;
+
+ALTER TABLE `disenchant_loot_template` DROP PRIMARY KEY,
+ADD PRIMARY KEY(`entry`, `item`, `condition_value1`);
+
+
+--
+-- Table changes for `fishing_loot_template`
+--
+ALTER TABLE `fishing_loot_template` CHANGE COLUMN `quest_freeforall` `QuestFFAorLootCondition` TINYINT(3) NOT NULL DEFAULT 1,
+ADD COLUMN `condition_value1` int(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `QuestFFAorLootCondition`,
+ADD COLUMN `condition_value2` int(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `condition_value1`;
+
+ALTER TABLE `fishing_loot_template` DROP PRIMARY KEY,
+ADD PRIMARY KEY(`entry`, `item`, `condition_value1`);
+
+
+--
+-- Table changes for `gameobject_loot_template`
+--
+ALTER TABLE `gameobject_loot_template` CHANGE COLUMN `quest_freeforall` `QuestFFAorLootCondition` TINYINT(3) NOT NULL DEFAULT 1,
+ADD COLUMN `condition_value1` int(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `QuestFFAorLootCondition`,
+ADD COLUMN `condition_value2` int(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `condition_value1`;
+
+ALTER TABLE `gameobject_loot_template` DROP PRIMARY KEY,
+ADD PRIMARY KEY(`entry`, `item`, `condition_value1`);
+
+
+--
+-- Table changes for `item_loot_template`
+--
+ALTER TABLE `item_loot_template` CHANGE COLUMN `quest_freeforall` `QuestFFAorLootCondition` TINYINT(3) NOT NULL DEFAULT 1,
+ADD COLUMN `condition_value1` int(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `QuestFFAorLootCondition`,
+ADD COLUMN `condition_value2` int(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `condition_value1`;
+
+ALTER TABLE `item_loot_template` DROP PRIMARY KEY,
+ADD PRIMARY KEY(`entry`, `item`, `condition_value1`);
+
+
+--
+-- Table changes for `pickpocketing_loot_template`
+--
+ALTER TABLE `pickpocketing_loot_template` CHANGE COLUMN `quest_freeforall` `QuestFFAorLootCondition` TINYINT(3) NOT NULL DEFAULT 1,
+ADD COLUMN `condition_value1` int(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `QuestFFAorLootCondition`,
+ADD COLUMN `condition_value2` int(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `condition_value1`;
+
+ALTER TABLE `pickpocketing_loot_template` DROP PRIMARY KEY,
+ADD PRIMARY KEY(`entry`, `item`, `condition_value1`);
+
+
+--
+-- Table changes for `skinning_loot_template`
+--
+ALTER TABLE `skinning_loot_template` CHANGE COLUMN `quest_freeforall` `QuestFFAorLootCondition` TINYINT(3) NOT NULL DEFAULT 1,
+ADD COLUMN `condition_value1` int(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `QuestFFAorLootCondition`,
+ADD COLUMN `condition_value2` int(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `condition_value1`;
+
+ALTER TABLE `skinning_loot_template` DROP PRIMARY KEY,
+ADD PRIMARY KEY(`entry`, `item`, `condition_value1`);
+
+
+--
+-- Table changes for `prospecting_loot_template`
+--
+ALTER TABLE `prospecting_loot_template` CHANGE COLUMN `quest_freeforall` `QuestFFAorLootCondition` TINYINT(3) NOT NULL DEFAULT 1,
+ADD COLUMN `condition_value1` int(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `QuestFFAorLootCondition`,
+ADD COLUMN `condition_value2` int(11) UNSIGNED NOT NULL DEFAULT '0' AFTER `condition_value1`;
+
+ALTER TABLE `prospecting_loot_template` DROP PRIMARY KEY,
+ADD PRIMARY KEY(`entry`, `item`, `condition_value1`); \ No newline at end of file
diff --git a/sql/updates/0.9/4689_mangos_loot_template.sql b/sql/updates/0.9/4689_mangos_loot_template.sql
new file mode 100644
index 00000000000..1f17de6388b
--- /dev/null
+++ b/sql/updates/0.9/4689_mangos_loot_template.sql
@@ -0,0 +1,23 @@
+ALTER TABLE `creature_loot_template` DROP PRIMARY KEY,
+ADD PRIMARY KEY(`entry`, `item`);
+
+ALTER TABLE `disenchant_loot_template` DROP PRIMARY KEY,
+ADD PRIMARY KEY(`entry`, `item`);
+
+ALTER TABLE `fishing_loot_template` DROP PRIMARY KEY,
+ADD PRIMARY KEY(`entry`, `item`);
+
+ALTER TABLE `gameobject_loot_template` DROP PRIMARY KEY,
+ADD PRIMARY KEY(`entry`, `item`);
+
+ALTER TABLE `item_loot_template` DROP PRIMARY KEY,
+ADD PRIMARY KEY(`entry`, `item`);
+
+ALTER TABLE `pickpocketing_loot_template` DROP PRIMARY KEY,
+ADD PRIMARY KEY(`entry`, `item`);
+
+ALTER TABLE `skinning_loot_template` DROP PRIMARY KEY,
+ADD PRIMARY KEY(`entry`, `item`);
+
+ALTER TABLE `prospecting_loot_template` DROP PRIMARY KEY,
+ADD PRIMARY KEY(`entry`, `item`);
diff --git a/sql/updates/0.9/4695_mangos_loot_template.sql b/sql/updates/0.9/4695_mangos_loot_template.sql
new file mode 100644
index 00000000000..d395dd3f1c5
--- /dev/null
+++ b/sql/updates/0.9/4695_mangos_loot_template.sql
@@ -0,0 +1,39 @@
+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`
+ ADD COLUMN `lootcondition` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `freeforall`;
+
+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`
+ ADD COLUMN `lootcondition` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `freeforall`;
+
+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`
+ ADD COLUMN `lootcondition` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `freeforall`;
+
+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`
+ ADD COLUMN `lootcondition` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `freeforall`;
+
+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`
+ ADD COLUMN `lootcondition` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `freeforall`;
+
+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`
+ ADD COLUMN `lootcondition` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `freeforall`;
+
+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`
+ ADD COLUMN `lootcondition` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0 AFTER `freeforall`;
+
+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`
+ 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
new file mode 100644
index 00000000000..9506494373b
--- /dev/null
+++ b/sql/updates/0.9/4704_mangos_battlemaster_entry.sql
@@ -0,0 +1,11 @@
+--
+-- Definition of table `battlemaster_entry`
+--
+
+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/4714_mangos_spell_threat.sql b/sql/updates/0.9/4714_mangos_spell_threat.sql
new file mode 100644
index 00000000000..d5610262813
--- /dev/null
+++ b/sql/updates/0.9/4714_mangos_spell_threat.sql
@@ -0,0 +1,45 @@
+/*Heroic Strike*/
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('29707', '196');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('30324', '220');
+/*Maul*/
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('26996', '176');
+/*Shield Slam*/
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('25258', '286');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('30356', '323');
+/*Revenge*/
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('25269', '400');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('30357', '483');
+/*Shield Bash*/
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('29704', '230');
+/*Sunder Armor*/
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('25225', '300');
+/*Cleave*/
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('20569', '100');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('25231', '130');
+/*Lacerate*/
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('33745', '285');
+/*Faerie Fire*/
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('26993', '127');
+/*Faerie Fire(feral)*/
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('16857', '108');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('17390', '108');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('17391', '108');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('17392', '108');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('27011', '127');
+/*Thunder Clap: multiplier = 1.75*/
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('6343', '17');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('8198', '40');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('8204', '64');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('8205', '96');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('11580', '143');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('11581', '180');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('25264', '215');
+/*Mangle (Bear): multiplier = 1.5*/
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('33878', '129');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('33986', '180');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('33987', '232');
+/*Holy Shield: multiplier = 0.35*/
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('20925', '20');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('20927', '30');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('20928', '40');
+INSERT INTO `spell_threat` (`entry`, `Threat`) VALUES ('27179', '54');
diff --git a/sql/updates/0.9/4718_mangos_uptime.sql b/sql/updates/0.9/4718_mangos_uptime.sql
new file mode 100644
index 00000000000..9cc6bb1bd48
--- /dev/null
+++ b/sql/updates/0.9/4718_mangos_uptime.sql
@@ -0,0 +1 @@
+ALTER TABLE `uptime` ENGINE=MyISAM;
diff --git a/sql/updates/0.9/4737_mangos_command.sql b/sql/updates/0.9/4737_mangos_command.sql
new file mode 100644
index 00000000000..204430ae409
--- /dev/null
+++ b/sql/updates/0.9/4737_mangos_command.sql
@@ -0,0 +1,15 @@
+
+
+DELETE FROM command WHERE name IN ('lookupitem','lookupitemset','lookupcreature','lookupobject','lookupquest','lookupskill','lookupspell','lookuptele');
+
+
+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.'),
+ ('lookup object',3,'Syntax: .lookup object $objname\r\n\r\nLooks up an gameobject by $objname, and returns all matches with their Gameobject ID\'s.'),
+ ('lookup quest',3,'Syntax: .lookup quest $namepart\r\n\r\nLooks up a quest by $namepart, and returns all matches with their quest ID\'s.'),
+ ('lookup skill',3,'Syntax: .lookup skill $$namepart\r\n\r\nLooks up a skill by $namepart, and returns all matches with their skill ID\'s.'),
+ ('lookup spell',3,'Syntax: .lookup spell $namepart\r\n\r\nLooks up a spell by $namepart, and returns all matches with their spell ID\'s.'),
+ ('lookup tele',1,'Syntax: .lookup tele $substring\r\n\r\nSearch and output all .tele command locations with provide $substring in name.');
+
diff --git a/sql/updates/0.9/4764_characters_auctionhouse.sql b/sql/updates/0.9/4764_characters_auctionhouse.sql
new file mode 100644
index 00000000000..d481deb9ac5
--- /dev/null
+++ b/sql/updates/0.9/4764_characters_auctionhouse.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `auctionhouse`
+ ADD UNIQUE KEY `item_guid` (`itemguid`);
diff --git a/sql/updates/0.9/4772_mangos_item_template.sql b/sql/updates/0.9/4772_mangos_item_template.sql
new file mode 100644
index 00000000000..73a81d12bb2
--- /dev/null
+++ b/sql/updates/0.9/4772_mangos_item_template.sql
@@ -0,0 +1 @@
+UPDATE `item_template` SET `subclass` = '0' where `class` = '0'; \ No newline at end of file
diff --git a/sql/updates/0.9/4781_mangos_gameobject_loot_template.sql b/sql/updates/0.9/4781_mangos_gameobject_loot_template.sql
new file mode 100644
index 00000000000..c7b39204a4b
--- /dev/null
+++ b/sql/updates/0.9/4781_mangos_gameobject_loot_template.sql
@@ -0,0 +1,50 @@
+-- Addgo command change
+DELETE FROM `command` WHERE `name`='addgo';
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+ ('addgo',2,'Syntax: .addgo #id <spawntimeSecs>\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
+DROP TABLE IF EXISTS `goloot`;
+CREATE TABLE `goloot` (
+ `entry` int(11) unsigned NOT NULL default '0',
+ `loot` int(11) unsigned NOT NULL default '0',
+ `sound1` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`),
+ INDEX `idx_loot` (`loot`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Go Loot Errors';
+
+-- Filling table
+INSERT IGNORE INTO `goloot` (`entry`,`loot`,`sound1`) SELECT `entry`,`entry`,`sound1` FROM `gameobject_template` WHERE `type` IN (3,25); -- AND `sound1`!=0;
+UPDATE `goloot` a,`gameobject` b SET a.`loot`=b.`loot` WHERE a.`entry`=b.`id` AND b.`loot`!=0;
+
+-- Second temp table
+DROP TABLE IF EXISTS `goloot2`;
+CREATE TABLE `goloot2` (
+ `sound1` int(11) unsigned NOT NULL default '0',
+ `loot` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`sound1`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Temp Table';
+
+-- Put data into
+INSERT INTO `goloot2` (`sound1`,`loot`) SELECT DISTINCT `sound1`,MIN(`loot`) FROM `goloot` WHERE `loot`!=0 AND `sound1`!=0 AND `loot` IN (SELECT DISTINCT `entry` FROM `gameobject_loot_template`) GROUP BY `sound1`;
+
+-- Now update gameobject_loot_template with new ids
+UPDATE IGNORE `gameobject_loot_template` a,`goloot2` b SET a.`entry`=b.`sound1`+1000000 WHERE a.`entry`=b.`loot`;
+
+-- Now remove remaining loots not binded (conflits in several update or just garbage)
+DELETE FROM `gameobject_loot_template` WHERE `entry` NOT IN (SELECT DISTINCT `sound1`+1000000 FROM `goloot2` UNION SELECT DISTINCT `loot` FROM `goloot` WHERE `sound1`=0);
+UPDATE `gameobject_loot_template` SET `entry`=`entry`-1000000 WHERE `entry`>1000000;
+
+-- Cleanup but let bad sound1 entries for later correction
+DELETE FROM `goloot` WHERE `sound1`!=0;
+DELETE FROM `goloot` WHERE `loot` NOT IN (SELECT DISTINCT `entry` FROM `gameobject_loot_template`);
+
+-- Inverse comments in following 3 lines to see generated errors on conversion for gameobjects type 3 with sound1=0
+-- DROP TABLE IF EXISTS `gameobject_loot_errors`;
+-- RENAME TABLE `goloot` TO `gameobject_loot_errors`;
+DROP TABLE IF EXISTS `goloot`;
+
+-- Remove second temp table
+DROP TABLE IF EXISTS `goloot2`;
+-- Remove now not usefull loot column
+ALTER TABLE `gameobject` DROP COLUMN `loot`;
diff --git a/sql/updates/0.9/4788_mangos_gameobject_template.sql b/sql/updates/0.9/4788_mangos_gameobject_template.sql
new file mode 100644
index 00000000000..851cfcf804d
--- /dev/null
+++ b/sql/updates/0.9/4788_mangos_gameobject_template.sql
@@ -0,0 +1,25 @@
+ALTER TABLE `gameobject_template`
+ CHANGE COLUMN `sound0` `data0` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound1` `data1` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound2` `data2` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound3` `data3` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound4` `data4` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound5` `data5` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound6` `data6` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound7` `data7` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound8` `data8` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound9` `data9` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound10` `data10` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound11` `data11` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound12` `data12` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound13` `data13` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound14` `data14` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound15` `data15` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound16` `data16` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound17` `data17` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound18` `data18` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound19` `data19` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound20` `data20` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound21` `data21` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound22` `data22` int(11) unsigned NOT NULL default '0',
+ CHANGE COLUMN `sound23` `data23` int(11) unsigned NOT NULL default '0';
diff --git a/sql/updates/0.9/4793_mangos_spell_affect.sql b/sql/updates/0.9/4793_mangos_spell_affect.sql
new file mode 100644
index 00000000000..f59f9108840
--- /dev/null
+++ b/sql/updates/0.9/4793_mangos_spell_affect.sql
@@ -0,0 +1,109 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (37441);
+INSERT INTO `spell_affect` VALUES
+(37441,0,0,0,0,0,0,0x0000000020000000,0),
+(37441,1,0,0,0,0,0,0x0000000020000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (33421,33713,33714);
+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
+(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),
+(12841,0,0,0,0,0,0,0x0000000020001800,0),
+(12842,0,0,0,0,0,0,0x0000000020001800,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (11242,12467,12469);
+INSERT INTO `spell_affect` VALUES
+(11242,0,0,0,0,0,0,0x0000000020001000,0),
+(12467,0,0,0,0,0,0,0x0000000020001000,0),
+(12469,0,0,0,0,0,0,0x0000000020001000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (12042);
+INSERT INTO `spell_affect` VALUES
+(12042,0,0,0,0,0,0,0x0000000020E01AF7,0),
+(12042,1,0,0,0,0,0,0x0000000020E01AF7,0),
+(12042,2,0,0,0,0,0,0x0000000020E01AF7,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (11083,12351);
+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
+(12536,0,0,0,0,0,0,0x0000000020C01AF7,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (28682);
+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
+(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
+(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
+(31685,0,0,0,0,0,0,0x0000000000000020,0),
+(31685,1,0,0,0,0,0,0x0000000000000020,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (11124,12378,12398,12399,12400);
+INSERT INTO `spell_affect` VALUES
+(11124,0,0,0,0,0,0,0x0000000008C20017,0),
+(12378,0,0,0,0,0,0,0x0000000008C20017,0),
+(12398,0,0,0,0,0,0,0x0000000008C20017,0),
+(12399,0,0,0,0,0,0,0x0000000008C20017,0),
+(12400,0,0,0,0,0,0,0x0000000008C20017,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (11160,12518,12519);
+INSERT INTO `spell_affect` VALUES
+(11160,0,0,0,0,0,0,0x00000001020003E0,0),
+(12518,0,0,0,0,0,0,0x00000001020003E0,0),
+(12519,0,0,0,0,0,0,0x00000001020003E0,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (11207,12672,15047,15052,15053);
+INSERT INTO `spell_affect` VALUES
+(11207,0,0,0,0,0,0,0x00000000000002E0,0),
+(12672,0,0,0,0,0,0,0x00000000000002E0,0),
+(15047,0,0,0,0,0,0,0x00000000000002E0,0),
+(15052,0,0,0,0,0,0,0x00000000000002E0,0),
+(15053,0,0,0,0,0,0,0x00000000000002E0,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (24429);
+INSERT INTO `spell_affect` VALUES
+(24429,0,0,0,0,0,0,0x0000000000004000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (22008);
+INSERT INTO `spell_affect` VALUES
+(22008,0,0,0,0,0,0,0x0000000021400035,1);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (11151,12952,12953,12954,12957);
+INSERT INTO `spell_affect` VALUES
+(11151,0,0,0,0,0,0,0x00000000000002E0,0),
+(12952,0,0,0,0,0,0,0x00000000000002E0,0),
+(12953,0,0,0,0,0,0,0x00000000000002E0,0),
+(12954,0,0,0,0,0,0,0x00000000000002E0,0),
+(12957,0,0,0,0,0,0,0x00000000000002E0,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (12043,29976);
+INSERT INTO `spell_affect` VALUES
+(12043,0,0,0,0,0,0,0x0000000021400035,0),
+(29976,0,0,0,0,0,0,0x0000000021400035,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (35578,35581);
+INSERT INTO `spell_affect` VALUES
+(35578,0,0,0,0,0,0,0x0000000028C21AF7,0),
+(35581,0,0,0,0,0,0,0x0000000028C21AF7,0);
+
diff --git a/sql/updates/0.9/4799_mangos_creature_addon.sql b/sql/updates/0.9/4799_mangos_creature_addon.sql
new file mode 100644
index 00000000000..7a5971b7f0b
--- /dev/null
+++ b/sql/updates/0.9/4799_mangos_creature_addon.sql
@@ -0,0 +1,37 @@
+-- create fields
+ALTER TABLE `creature_addon`
+ ADD COLUMN `auras` text DEFAULT NULL AFTER `emote`;
+ALTER TABLE `creature_template_addon`
+ ADD COLUMN `auras` text DEFAULT NULL AFTER `emote`;
+
+-- move data
+UPDATE `creature_template_addon` SET `auras`=CONCAT(`aura`," 0") WHERE `aura`!=0;
+
+-- create missing records
+INSERT IGNORE INTO `creature_addon` (`guid`) SELECT `guid` FROM `creature` WHERE `auras` IS NOT NULL AND TRIM(`auras`)!="";
+-- move data
+UPDATE `creature_addon`,`creature` SET `creature_addon`.`auras`=`creature`.`auras` WHERE `creature_addon`.`guid`=`creature`.`guid` AND `creature`.`auras` IS NOT NULL AND TRIM(`creature`.`auras`)!="";
+
+-- prepare fields
+UPDATE `creature_addon` SET `auras`="" WHERE `auras` IS NULL AND `aura`!=0;
+UPDATE `creature_addon` SET `auras`=CONCAT(`auras`," ") WHERE `auras`!="" AND `aura`!=0;
+-- move data
+UPDATE `creature_addon` SET `auras`=CONCAT(`auras`,`aura`," 0") WHERE `aura`!=0;
+
+-- Cleanup
+ALTER TABLE `creature_addon`
+ DROP COLUMN `aura`,
+ DROP COLUMN `auraflags`,
+ DROP COLUMN `auralevels`,
+ DROP COLUMN `auraapplications`,
+ DROP COLUMN `aurastate`;
+
+ALTER TABLE `creature_template_addon`
+ DROP COLUMN `aura`,
+ DROP COLUMN `auraflags`,
+ DROP COLUMN `auralevels`,
+ DROP COLUMN `auraapplications`,
+ DROP COLUMN `aurastate`;
+
+ALTER TABLE `creature`
+ DROP COLUMN `auras`;
diff --git a/sql/updates/0.9/4815_mangos_quest_template.sql b/sql/updates/0.9/4815_mangos_quest_template.sql
new file mode 100644
index 00000000000..29d3a970487
--- /dev/null
+++ b/sql/updates/0.9/4815_mangos_quest_template.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `quest_template`
+ CHANGE COLUMN `SpecialFlags` `QuestFlags` int(11) unsigned NOT NULL default '0';
+UPDATE `quest_template` SET `QuestFlags`=`QuestFlags`&4096;
diff --git a/sql/updates/0.9/4829_mangos_command.sql b/sql/updates/0.9/4829_mangos_command.sql
new file mode 100644
index 00000000000..1a20bcd87c8
--- /dev/null
+++ b/sql/updates/0.9/4829_mangos_command.sql
@@ -0,0 +1,5 @@
+DELETE FROM command WHERE name IN ('gozonexy','lookup area');
+
+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/0.9/4842_mangos_quest_template.sql b/sql/updates/0.9/4842_mangos_quest_template.sql
new file mode 100644
index 00000000000..ce05a62c1fc
--- /dev/null
+++ b/sql/updates/0.9/4842_mangos_quest_template.sql
@@ -0,0 +1,4 @@
+ALTER TABLE `quest_template` ADD COLUMN `SpecialFlags` tinyint(1) unsigned NOT NULL default '0' AFTER `QuestFlags`;
+ALTER TABLE `quest_template` CHANGE COLUMN `QuestFlags` `QuestFlags` smallint(5) unsigned NOT NULL default '0';
+UPDATE `quest_template` SET `SpecialFlags`=1 WHERE `Repeatable`=1;
+ALTER TABLE `quest_template` DROP COLUMN `Repeatable`;
diff --git a/sql/updates/5651_characters_character_social.sql b/sql/updates/5651_characters_character_social.sql
new file mode 100644
index 00000000000..a31270cd353
--- /dev/null
+++ b/sql/updates/5651_characters_character_social.sql
@@ -0,0 +1,5 @@
+alter table `character_social`
+change `guid` `guid` int(11) unsigned NOT NULL DEFAULT '0' comment 'Character Global Unique Identifier' first,
+change `friend` `friend` int(11) unsigned NOT NULL DEFAULT '0' comment 'Friend Global Unique Identifier' after `guid`,
+change `flags` `flags` tinyint(1) unsigned NOT NULL DEFAULT '0' comment 'Friend flags' after `friend`,
+change `name` `note` varchar(21) NOT NULL DEFAULT '' collate utf8_general_ci comment 'Friend Note' after `flags`;
diff --git a/sql/updates/5651_characters_characters.sql b/sql/updates/5651_characters_characters.sql
new file mode 100644
index 00000000000..e3f5e7cb370
--- /dev/null
+++ b/sql/updates/5651_characters_characters.sql
@@ -0,0 +1,19 @@
+UPDATE characters
+SET data = CONCAT(
+ SUBSTRING_INDEX(data,' ',225+1),
+ ' 1 0 ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',315+1),' ',225-315),
+ ' 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_INDEX(SUBSTRING_INDEX(data,' ',621+1),' ',315-621),
+ ' 0 ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',822+1),' ',621-822),
+ ' 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_INDEX(SUBSTRING_INDEX(data,' ',1319+1),' ',822-1319),
+ ' 0 ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',1351+1),' ',1319-1351),
+ ' 0 ',
+ SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',1447+1),' ',1351-1447),
+ ' 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ',
+ SUBSTRING_INDEX(data,' ',-1449+1447+1)
+)
+WHERE SUBSTRING_INDEX(data,' ',1448)=data;
diff --git a/sql/updates/5651_characters_guild_bank_tab.sql b/sql/updates/5651_characters_guild_bank_tab.sql
new file mode 100644
index 00000000000..88e5717e90e
--- /dev/null
+++ b/sql/updates/5651_characters_guild_bank_tab.sql
@@ -0,0 +1 @@
+alter table guild_bank_tab add column TabText varchar(100) NOT NULL default '' COLLATE utf8_general_ci after TabIcon;
diff --git a/sql/updates/5651_mangos_creature_template.sql b/sql/updates/5651_mangos_creature_template.sql
new file mode 100644
index 00000000000..1e59274daf1
--- /dev/null
+++ b/sql/updates/5651_mangos_creature_template.sql
@@ -0,0 +1,2 @@
+update creature_template set speed=1 where speed=0;
+alter table `creature_template` change `speed` `speed` float DEFAULT '1' NULL;
diff --git a/sql/updates/5655_mangos_spell_affect.sql b/sql/updates/5655_mangos_spell_affect.sql
new file mode 100644
index 00000000000..c9b4bd6ae3a
--- /dev/null
+++ b/sql/updates/5655_mangos_spell_affect.sql
@@ -0,0 +1,39 @@
+-- (46090) Brutal Idol of Steadfastness ()
+DELETE FROM `spell_affect` WHERE `entry` IN (46090);
+INSERT INTO `spell_affect` VALUES (46090, 0, 0, 0x0000000000000002, 0);
+
+-- (46100) Brutal Idol of Tenacity ()
+DELETE FROM `spell_affect` WHERE `entry` IN (46100);
+INSERT INTO `spell_affect` VALUES (46100, 0, 0, 0x0000001000000000, 0);
+
+-- (46088) Brutall Idol of Resolve ()
+DELETE FROM `spell_affect` WHERE `entry` IN (46088);
+INSERT INTO `spell_affect` VALUES (46088, 0, 0, 0x0000044000000000, 0);
+
+-- (46091) Brutal Libram of Fortitude ()
+DELETE FROM `spell_affect` WHERE `entry` IN (46091);
+INSERT INTO `spell_affect` VALUES (46091, 0, 0, 0x0000000000800000, 0);
+
+-- (46095) Brutal Libram of Vengeance ()
+DELETE FROM `spell_affect` WHERE `entry` IN (46095);
+INSERT INTO `spell_affect` VALUES (46095, 0, 0, 0x0000004000000000, 0);
+
+-- (46851) Holy Shock Bonus ()
+DELETE FROM `spell_affect` WHERE `entry` IN (46851);
+INSERT INTO `spell_affect` VALUES (46851, 0, 0, 0x0001000000000000, 0);
+
+-- (46096) Brutal Totem of Indomitability ()
+DELETE FROM `spell_affect` WHERE `entry` IN (46096);
+INSERT INTO `spell_affect` VALUES (46096, 0, 0, 0x0000001000000000, 0);
+
+-- (46097) Brutal Totem of Survival ()
+DELETE FROM `spell_affect` WHERE `entry` IN (46097);
+INSERT INTO `spell_affect` VALUES (46097, 0, 0, 0x0000000090100000, 0);
+
+-- By triggers
+DELETE FROM `spell_affect` WHERE `entry` IN (31569);
+DELETE FROM `spell_affect` WHERE `entry` IN (31570);
+-- By dummy
+DELETE FROM `spell_affect` WHERE `entry` IN (28830);
+DELETE FROM `spell_affect` WHERE `entry` IN (33695);
+DELETE FROM `spell_affect` WHERE `entry` IN (37182); \ No newline at end of file
diff --git a/sql/updates/5655_mangos_spell_chain.sql b/sql/updates/5655_mangos_spell_chain.sql
new file mode 100644
index 00000000000..dfce10236aa
--- /dev/null
+++ b/sql/updates/5655_mangos_spell_chain.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_chain` WHERE `spell_id` IN (6461,6463,19289,19291,19292,19293,25450); \ No newline at end of file
diff --git a/sql/updates/5655_mangos_spell_proc_event.sql b/sql/updates/5655_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..daac6ec5f1e
--- /dev/null
+++ b/sql/updates/5655_mangos_spell_proc_event.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (1328,2689,4387,4388,4389,4390,4494,4495,4496,5341,5342,5343,5344,5345,5346,5349,5350,5351,5352,5353,5354,5429,5430,5431,5432,5433,5513,5549,5550,5551,5552,5553,5554,5638,5639,5640,5641,5642,5643,5751,5752,5753,5754,5755,5756,5976,5977,5979,13483); \ No newline at end of file
diff --git a/sql/updates/5659_mangos_loot_template.sql b/sql/updates/5659_mangos_loot_template.sql
new file mode 100644
index 00000000000..a52e182ea4b
--- /dev/null
+++ b/sql/updates/5659_mangos_loot_template.sql
@@ -0,0 +1,23 @@
+ALTER TABLE `creature_loot_template`
+ CHANGE `group` groupid tinyint unsigned NOT NULL default '0';
+
+ALTER TABLE `disenchant_loot_template`
+ CHANGE `group` groupid tinyint unsigned NOT NULL default '0';
+
+ALTER TABLE `fishing_loot_template`
+ CHANGE `group` groupid tinyint unsigned NOT NULL default '0';
+
+ALTER TABLE `gameobject_loot_template`
+ CHANGE `group` groupid tinyint unsigned NOT NULL default '0';
+
+ALTER TABLE `item_loot_template`
+ CHANGE `group` groupid tinyint unsigned NOT NULL default '0';
+
+ALTER TABLE `pickpocketing_loot_template`
+ CHANGE `group` groupid tinyint unsigned NOT NULL default '0';
+
+ALTER TABLE `prospecting_loot_template`
+ CHANGE `group` groupid tinyint unsigned NOT NULL default '0';
+
+ALTER TABLE `skinning_loot_template`
+ CHANGE `group` groupid tinyint unsigned NOT NULL default '0';
diff --git a/sql/updates/5660_mangos_spell_elixir.sql b/sql/updates/5660_mangos_spell_elixir.sql
new file mode 100644
index 00000000000..aaa433a643f
--- /dev/null
+++ b/sql/updates/5660_mangos_spell_elixir.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_elixir` WHERE `entry` IN (46837,46839);
+INSERT INTO `spell_elixir` VALUES
+(46837,0xB),
+(46839,0xB);
diff --git a/sql/updates/5664_mangos.sql b/sql/updates/5664_mangos.sql
new file mode 100644
index 00000000000..3f49b913a8c
--- /dev/null
+++ b/sql/updates/5664_mangos.sql
@@ -0,0 +1,6 @@
+ALTER TABLE npc_vendor
+ ADD ExtendedCost mediumint(8) unsigned NOT NULL default '0';
+UPDATE npc_vendor,item_template SET npc_vendor.ExtendedCost = item_template.ExtendedCost WHERE npc_vendor.item = item_template.entry;
+ALTER TABLE item_template
+ DROP ExtendedCost,
+ DROP CondExtendedCost; \ No newline at end of file
diff --git a/sql/updates/5665_mangos_creature_template.sql b/sql/updates/5665_mangos_creature_template.sql
new file mode 100644
index 00000000000..4a6fe057d08
--- /dev/null
+++ b/sql/updates/5665_mangos_creature_template.sql
@@ -0,0 +1 @@
+UPDATE `creature_template` SET `scale` ='1'; \ No newline at end of file
diff --git a/sql/updates/5679_mangos_creature_template.sql b/sql/updates/5679_mangos_creature_template.sql
new file mode 100644
index 00000000000..7e2a3f3417b
--- /dev/null
+++ b/sql/updates/5679_mangos_creature_template.sql
@@ -0,0 +1,9 @@
+ALTER TABLE creature_template
+ CHANGE resistance1 resistance1 smallint(5) NOT NULL default '0',
+ CHANGE resistance2 resistance2 smallint(5) NOT NULL default '0',
+ CHANGE resistance3 resistance3 smallint(5) NOT NULL default '0',
+ CHANGE resistance4 resistance4 smallint(5) NOT NULL default '0',
+ CHANGE resistance5 resistance5 smallint(5) NOT NULL default '0',
+ CHANGE resistance6 resistance6 smallint(5) NOT NULL default '0';
+
+
diff --git a/sql/updates/5680_mangos_spell_proc_event.sql b/sql/updates/5680_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..33f9c7cbda9
--- /dev/null
+++ b/sql/updates/5680_mangos_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM spell_proc_event WHERE entry IN (37306,37311,32767);
+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/5698_mangos_item_template.sql b/sql/updates/5698_mangos_item_template.sql
new file mode 100644
index 00000000000..41cbe8b670e
--- /dev/null
+++ b/sql/updates/5698_mangos_item_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE item_template
+ CHANGE COLUMN stackable stackable smallint(5) unsigned NOT NULL default '1';
diff --git a/sql/updates/5708_mangos_player_levelstats.sql b/sql/updates/5708_mangos_player_levelstats.sql
new file mode 100644
index 00000000000..a216ffca476
--- /dev/null
+++ b/sql/updates/5708_mangos_player_levelstats.sql
@@ -0,0 +1,70 @@
+UPDATE `player_levelstats` SET `basehp` = 23, `basemana` = 90 WHERE `class` = 9 AND `level`=1;
+UPDATE `player_levelstats` SET `basehp` = 28, `basemana` = 98 WHERE `class` = 9 AND `level`=2;
+UPDATE `player_levelstats` SET `basehp` = 43, `basemana` = 107 WHERE `class` = 9 AND `level`=3;
+UPDATE `player_levelstats` SET `basehp` = 48, `basemana` = 102 WHERE `class` = 9 AND `level`=4;
+UPDATE `player_levelstats` SET `basehp` = 63, `basemana` = 113 WHERE `class` = 9 AND `level`=5;
+UPDATE `player_levelstats` SET `basehp` = 68, `basemana` = 126 WHERE `class` = 9 AND `level`=6;
+UPDATE `player_levelstats` SET `basehp` = 83, `basemana` = 144 WHERE `class` = 9 AND `level`=7;
+UPDATE `player_levelstats` SET `basehp` = 88, `basemana` = 162 WHERE `class` = 9 AND `level`=8;
+UPDATE `player_levelstats` SET `basehp` = 93, `basemana` = 180 WHERE `class` = 9 AND `level`=9;
+UPDATE `player_levelstats` SET `basehp` = 108, `basemana` = 198 WHERE `class` = 9 AND `level`=10;
+UPDATE `player_levelstats` SET `basehp` = 123, `basemana` = 200 WHERE `class` = 9 AND `level`=11;
+UPDATE `player_levelstats` SET `basehp` = 128, `basemana` = 218 WHERE `class` = 9 AND `level`=12;
+UPDATE `player_levelstats` SET `basehp` = 143, `basemana` = 237 WHERE `class` = 9 AND `level`=13;
+UPDATE `player_levelstats` SET `basehp` = 148, `basemana` = 257 WHERE `class` = 9 AND `level`=14;
+UPDATE `player_levelstats` SET `basehp` = 153, `basemana` = 278 WHERE `class` = 9 AND `level`=15;
+UPDATE `player_levelstats` SET `basehp` = 168, `basemana` = 300 WHERE `class` = 9 AND `level`=16;
+UPDATE `player_levelstats` SET `basehp` = 173, `basemana` = 308 WHERE `class` = 9 AND `level`=17;
+UPDATE `player_levelstats` SET `basehp` = 189, `basemana` = 332 WHERE `class` = 9 AND `level`=18;
+UPDATE `player_levelstats` SET `basehp` = 196, `basemana` = 357 WHERE `class` = 9 AND `level`=19;
+UPDATE `player_levelstats` SET `basehp` = 204, `basemana` = 383 WHERE `class` = 9 AND `level`=20;
+UPDATE `player_levelstats` SET `basehp` = 223, `basemana` = 395 WHERE `class` = 9 AND `level`=21;
+UPDATE `player_levelstats` SET `basehp` = 233, `basemana` = 423 WHERE `class` = 9 AND `level`=22;
+UPDATE `player_levelstats` SET `basehp` = 244, `basemana` = 452 WHERE `class` = 9 AND `level`=23;
+UPDATE `player_levelstats` SET `basehp` = 266, `basemana` = 467 WHERE `class` = 9 AND `level`=24;
+UPDATE `player_levelstats` SET `basehp` = 279, `basemana` = 498 WHERE `class` = 9 AND `level`=25;
+UPDATE `player_levelstats` SET `basehp` = 293, `basemana` = 530 WHERE `class` = 9 AND `level`=26;
+UPDATE `player_levelstats` SET `basehp` = 318, `basemana` = 548 WHERE `class` = 9 AND `level`=27;
+UPDATE `player_levelstats` SET `basehp` = 334, `basemana` = 582 WHERE `class` = 9 AND `level`=28;
+UPDATE `player_levelstats` SET `basehp` = 351, `basemana` = 602 WHERE `class` = 9 AND `level`=29;
+UPDATE `player_levelstats` SET `basehp` = 379, `basemana` = 638 WHERE `class` = 9 AND `level`=30;
+UPDATE `player_levelstats` SET `basehp` = 398, `basemana` = 674 WHERE `class` = 9 AND `level`=31;
+UPDATE `player_levelstats` SET `basehp` = 418, `basemana` = 695 WHERE `class` = 9 AND `level`=32;
+UPDATE `player_levelstats` SET `basehp` = 439, `basemana` = 731 WHERE `class` = 9 AND `level`=33;
+UPDATE `player_levelstats` SET `basehp` = 471, `basemana` = 752 WHERE `class` = 9 AND `level`=34;
+UPDATE `player_levelstats` SET `basehp` = 494, `basemana` = 788 WHERE `class` = 9 AND `level`=35;
+UPDATE `player_levelstats` SET `basehp` = 518, `basemana` = 809 WHERE `class` = 9 AND `level`=36;
+UPDATE `player_levelstats` SET `basehp` = 543, `basemana` = 830 WHERE `class` = 9 AND `level`=37;
+UPDATE `player_levelstats` SET `basehp` = 569, `basemana` = 866 WHERE `class` = 9 AND `level`=38;
+UPDATE `player_levelstats` SET `basehp` = 606, `basemana` = 887 WHERE `class` = 9 AND `level`=39;
+UPDATE `player_levelstats` SET `basehp` = 634, `basemana` = 923 WHERE `class` = 9 AND `level`=40;
+UPDATE `player_levelstats` SET `basehp` = 663, `basemana` = 944 WHERE `class` = 9 AND `level`=41;
+UPDATE `player_levelstats` SET `basehp` = 693, `basemana` = 965 WHERE `class` = 9 AND `level`=42;
+UPDATE `player_levelstats` SET `basehp` = 724, `basemana` = 1001 WHERE `class` = 9 AND `level`=43;
+UPDATE `player_levelstats` SET `basehp` = 756, `basemana` = 1022 WHERE `class` = 9 AND `level`=44;
+UPDATE `player_levelstats` SET `basehp` = 799, `basemana` = 1043 WHERE `class` = 9 AND `level`=45;
+UPDATE `player_levelstats` SET `basehp` = 832, `basemana` = 1064 WHERE `class` = 9 AND `level`=46;
+UPDATE `player_levelstats` SET `basehp` = 868, `basemana` = 1100 WHERE `class` = 9 AND `level`=47;
+UPDATE `player_levelstats` SET `basehp` = 904, `basemana` = 1121 WHERE `class` = 9 AND `level`=48;
+UPDATE `player_levelstats` SET `basehp` = 941, `basemana` = 1142 WHERE `class` = 9 AND `level`=49;
+UPDATE `player_levelstats` SET `basehp` = 979, `basemana` = 1163 WHERE `class` = 9 AND `level`=50;
+UPDATE `player_levelstats` SET `basehp` = 1018, `basemana` = 1184 WHERE `class` = 9 AND `level`=51;
+UPDATE `player_levelstats` SET `basehp` = 1058, `basemana` = 1205 WHERE `class` = 9 AND `level`=52;
+UPDATE `player_levelstats` SET `basehp` = 1099, `basemana` = 1226 WHERE `class` = 9 AND `level`=53;
+UPDATE `player_levelstats` SET `basehp` = 1141, `basemana` = 1247 WHERE `class` = 9 AND `level`=54;
+UPDATE `player_levelstats` SET `basehp` = 1184, `basemana` = 1268 WHERE `class` = 9 AND `level`=55;
+UPDATE `player_levelstats` SET `basehp` = 1228, `basemana` = 1289 WHERE `class` = 9 AND `level`=56;
+UPDATE `player_levelstats` SET `basehp` = 1273, `basemana` = 1310 WHERE `class` = 9 AND `level`=57;
+UPDATE `player_levelstats` SET `basehp` = 1319, `basemana` = 1331 WHERE `class` = 9 AND `level`=58;
+UPDATE `player_levelstats` SET `basehp` = 1366, `basemana` = 1352 WHERE `class` = 9 AND `level`=59;
+UPDATE `player_levelstats` SET `basehp` = 1414, `basemana` = 1373 WHERE `class` = 9 AND `level`=60;
+UPDATE `player_levelstats` SET `basehp` = 1580, `basemana` = 1497 WHERE `class` = 9 AND `level`=61;
+UPDATE `player_levelstats` SET `basehp` = 1755, `basemana` = 1621 WHERE `class` = 9 AND `level`=62;
+UPDATE `player_levelstats` SET `basehp` = 1939, `basemana` = 1745 WHERE `class` = 9 AND `level`=63;
+UPDATE `player_levelstats` SET `basehp` = 2133, `basemana` = 1870 WHERE `class` = 9 AND `level`=64;
+UPDATE `player_levelstats` SET `basehp` = 2323, `basemana` = 1994 WHERE `class` = 9 AND `level`=65;
+UPDATE `player_levelstats` SET `basehp` = 2535, `basemana` = 2118 WHERE `class` = 9 AND `level`=66;
+UPDATE `player_levelstats` SET `basehp` = 2758, `basemana` = 2242 WHERE `class` = 9 AND `level`=67;
+UPDATE `player_levelstats` SET `basehp` = 2991, `basemana` = 2366 WHERE `class` = 9 AND `level`=68;
+UPDATE `player_levelstats` SET `basehp` = 3235, `basemana` = 2490 WHERE `class` = 9 AND `level`=69;
+UPDATE `player_levelstats` SET `basehp` = 3490, `basemana` = 2615 WHERE `class` = 9 AND `level`=70;
diff --git a/sql/updates/5711_characters_character_kill.sql b/sql/updates/5711_characters_character_kill.sql
new file mode 100644
index 00000000000..0935ac421bc
--- /dev/null
+++ b/sql/updates/5711_characters_character_kill.sql
@@ -0,0 +1 @@
+DROP TABLE IF EXISTS `character_kill`; \ No newline at end of file
diff --git a/sql/updates/5711_mangos_command.sql b/sql/updates/5711_mangos_command.sql
new file mode 100644
index 00000000000..3310c22c3e1
--- /dev/null
+++ b/sql/updates/5711_mangos_command.sql
@@ -0,0 +1,5 @@
+DELETE FROM `command` WHERE `name` = "honor flushkills";
+
+DELETE FROM `command` WHERE `name` = "honor";
+INSERT INTO `command` 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, update"); \ No newline at end of file
diff --git a/sql/updates/5714_mangos_command.sql b/sql/updates/5714_mangos_command.sql
new file mode 100644
index 00000000000..2c6aba79eb9
--- /dev/null
+++ b/sql/updates/5714_mangos_command.sql
@@ -0,0 +1,3 @@
+DELETE FROM `command` WHERE `name` = "nearobjects";
+INSERT INTO `command` VALUES
+('nearobjects',3,'Syntax: .nearobjects [#distance]\r\n\r\nOutput gameobjects at distance #distance from player. Output gameobject guids and coordinates sorted by distance from character. If #distance not provided use 10 as default value.');
diff --git a/sql/updates/5714_mangos_mangos_string.sql b/sql/updates/5714_mangos_mangos_string.sql
new file mode 100644
index 00000000000..47ad4e3acd7
--- /dev/null
+++ b/sql/updates/5714_mangos_mangos_string.sql
@@ -0,0 +1,4 @@
+DELETE FROM mangos_string WHERE entry in (524,581);
+INSERT INTO mangos_string VALUES
+(524,'Selected object:\n|cffffffff|Hitemset:%d|h[%s]|h|r\nGUID: %u ID: %u\nX: %f Y: %f Z: %f MapId: %u\nOrientation: %f',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(581,'Found near gameobjects (distance %f): %u ',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/5718_mangos_command.sql b/sql/updates/5718_mangos_command.sql
new file mode 100644
index 00000000000..b2c0ae16e62
--- /dev/null
+++ b/sql/updates/5718_mangos_command.sql
@@ -0,0 +1,8 @@
+DELETE FROM `command` WHERE `name` = 'modify rep';
+DELETE FROM `command` WHERE `name` = 'modify arena';
+DELETE FROM `command` WHERE `name` = 'lookup faction';
+
+INSERT INTO `command` VALUES
+('modify rep',2,'Syntax: .modify rep #repId (#repvalue | $rankname [#delta])\r\nSets the selected player\s reputation with faction #repId to #repvalue or to $reprank.\r\nIf the reputation rank name is provided, the resulting reputation will be the lowest reputation for that rank plus the delta amount, if specified.\r\nYou can use \'.pinfo rep\' to list all known reputation ids, or use \'.lookup faction $name\' to locate a specific faction id.'),
+('modify arena',3,'Syntax: .modify arena #value\r\nSets the arena points to the #value (0-999999).'),
+('lookup faction','3','Syntax: .lookup faction $name\r\nAttempts to find the ID of the faction with the provided $name.');
diff --git a/sql/updates/5718_mangos_creature_template.sql b/sql/updates/5718_mangos_creature_template.sql
new file mode 100644
index 00000000000..55eb1f40009
--- /dev/null
+++ b/sql/updates/5718_mangos_creature_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `creature_template` CHANGE COLUMN `scale` `scale` float NOT NULL default '1';
diff --git a/sql/updates/5718_mangos_mangos_string.sql b/sql/updates/5718_mangos_mangos_string.sql
new file mode 100644
index 00000000000..e371c3984bc
--- /dev/null
+++ b/sql/updates/5718_mangos_mangos_string.sql
@@ -0,0 +1,26 @@
+DELETE FROM `mangos_string` WHERE `entry` IN (305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327);
+
+INSERT INTO `mangos_string` VALUES
+(305, 'Faction %s (%u) reputation of %s was set to %5d!',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(306, 'The arena points of %s was set to %u!',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(307, 'No faction found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(308, 'Faction %i unknown!',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(309, 'Invalid parameter %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(310, 'delta must be between 0 and %d (inclusive)',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(311, '%d - |cffffffff|Hfaction:%d|h[%s]|h|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(312, ' [visible]',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(313, ' [at war]',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(314, ' [own team]',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(315, ' [unknown]',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(316, ' [invisible]',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(317, ' [inactive]',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(318, 'Hated',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(319, 'Hostile',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(320, 'Unfriendly',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(321, 'Neutral',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(322, 'Friendly',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(323, 'Honored',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(324, 'Revered',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(325, 'Exalted',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(326, 'Faction %s (%u) can\'not have reputation.',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(327, ' [no reputation]',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/5720_mangos_command.sql b/sql/updates/5720_mangos_command.sql
new file mode 100644
index 00000000000..cbc153deb60
--- /dev/null
+++ b/sql/updates/5720_mangos_command.sql
@@ -0,0 +1,3 @@
+DELETE FROM `command` WHERE `name` = 'addvendoritem';
+INSERT INTO `command` VALUES
+('addvendoritem',2,'Syntax: .addvendoritem #itemId <#maxcount><#incrtime><#extendedcost>r\n\r\nAdd item #itemid to item list of selected vendor. Also optionally set max count item in vendor item list and time to item count restoring and items ExtendedCost.');
diff --git a/sql/updates/5720_mangos_mangos_string.sql b/sql/updates/5720_mangos_mangos_string.sql
new file mode 100644
index 00000000000..4092ffe4acf
--- /dev/null
+++ b/sql/updates/5720_mangos_mangos_string.sql
@@ -0,0 +1,3 @@
+DELETE FROM mangos_string WHERE entry in (206);
+INSERT INTO mangos_string VALUES
+(206,'Item \'%i\' \'%s\' added to list with maxcount \'%i\' and incrtime \'%i\' and extendedcost \'%i\'',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/5721_mangos_spell_affect.sql b/sql/updates/5721_mangos_spell_affect.sql
new file mode 100644
index 00000000000..2fdd57d717c
--- /dev/null
+++ b/sql/updates/5721_mangos_spell_affect.sql
@@ -0,0 +1,24 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (16188);
+INSERT INTO `spell_affect` VALUES
+ (16188,0,0,0x00000000000009C3,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (43743);
+INSERT INTO `spell_affect` VALUES
+ (43743,1,0,0x0000000000000400,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (13733,13865,13866);
+INSERT INTO `spell_affect` VALUES
+ (13733,0,0,0x0000000000000004,0),
+ (13733,1,0,0x0000000400000000,0),
+ (13865,0,0,0x0000000000000004,0),
+ (13865,1,0,0x0000000400000000,0),
+ (13866,0,0,0x0000000000000004,0),
+ (13866,1,0,0x0000000400000000,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (46834);
+INSERT INTO `spell_affect` VALUES
+ (46834,0,0,0x0000000000000040,0);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (46833);
+INSERT INTO `spell_affect` VALUES
+ (46833,0,0,0x0000000000000004,0);
diff --git a/sql/updates/5733_mangos_creature.sql b/sql/updates/5733_mangos_creature.sql
new file mode 100644
index 00000000000..e9947232fdc
--- /dev/null
+++ b/sql/updates/5733_mangos_creature.sql
@@ -0,0 +1,5 @@
+ALTER TABLE `creature`
+ DROP `spawn_position_x`,
+ DROP `spawn_position_y`,
+ DROP `spawn_position_z`,
+ DROP `spawn_orientation`;
diff --git a/sql/updates/5739_mangos_creature.sql b/sql/updates/5739_mangos_creature.sql
new file mode 100644
index 00000000000..b48c80cc078
--- /dev/null
+++ b/sql/updates/5739_mangos_creature.sql
@@ -0,0 +1 @@
+ALTER TABLE `creature` ADD COLUMN `spawnMask` tinyint(3) unsigned NOT NULL default '1' AFTER `map`; \ No newline at end of file
diff --git a/sql/updates/5739_mangos_gameobject.sql b/sql/updates/5739_mangos_gameobject.sql
new file mode 100644
index 00000000000..e566cbcd623
--- /dev/null
+++ b/sql/updates/5739_mangos_gameobject.sql
@@ -0,0 +1 @@
+ALTER TABLE `gameobject` ADD COLUMN `spawnMask` tinyint(3) unsigned NOT NULL default '1' AFTER `map`; \ No newline at end of file
diff --git a/sql/updates/5746_mangos_quest_template.sql b/sql/updates/5746_mangos_quest_template.sql
new file mode 100644
index 00000000000..d62acfd9e73
--- /dev/null
+++ b/sql/updates/5746_mangos_quest_template.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `quest_template` ADD COLUMN `CharTitleId` tinyint(3) unsigned NOT NULL default '0' AFTER `SpecialFlags`;
+ALTER TABLE `quest_template` ADD COLUMN `RewSpellCast` mediumint(8) unsigned NOT NULL default '0' AFTER `RewSpell`;
+
diff --git a/sql/updates/5753_mangos_areatrigger_teleport.sql b/sql/updates/5753_mangos_areatrigger_teleport.sql
new file mode 100644
index 00000000000..336077fb2fc
--- /dev/null
+++ b/sql/updates/5753_mangos_areatrigger_teleport.sql
@@ -0,0 +1,6 @@
+ALTER TABLE `areatrigger_teleport`
+ ADD COLUMN `required_item2` mediumint(8) unsigned NOT NULL default '0' AFTER `required_item`,
+ ADD COLUMN `heroic_key` mediumint(8) unsigned NOT NULL default '0' AFTER `required_item2`,
+ ADD COLUMN `heroic_key2` mediumint(8) unsigned NOT NULL default '0' AFTER `heroic_key`,
+ ADD COLUMN `required_quest_done` int(11) unsigned NOT NULL default '0' AFTER `heroic_key2`,
+ ADD COLUMN `required_failed_text` text AFTER `required_quest_done`; \ No newline at end of file
diff --git a/sql/updates/5758_mangos_creature_addon.sql b/sql/updates/5758_mangos_creature_addon.sql
new file mode 100644
index 00000000000..01887760009
--- /dev/null
+++ b/sql/updates/5758_mangos_creature_addon.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `creature_addon` ADD `moveflags` int(10) unsigned NOT NULL default '0' AFTER `emote`;
+ALTER TABLE `creature_template_addon` ADD `moveflags` int(10) unsigned NOT NULL default '0' AFTER `emote`; \ No newline at end of file
diff --git a/sql/updates/5759_mangos_command.sql b/sql/updates/5759_mangos_command.sql
new file mode 100644
index 00000000000..14aa7c58cac
--- /dev/null
+++ b/sql/updates/5759_mangos_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM `command` WHERE `name` IN ('gograveyard','drunk');
+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.');
diff --git a/sql/updates/5764_characters_characters.sql b/sql/updates/5764_characters_characters.sql
new file mode 100644
index 00000000000..bc9ce105746
--- /dev/null
+++ b/sql/updates/5764_characters_characters.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `characters`
+ DROP `pending_honor`;
diff --git a/sql/updates/5764_mangos_command.sql b/sql/updates/5764_mangos_command.sql
new file mode 100644
index 00000000000..d2086179014
--- /dev/null
+++ b/sql/updates/5764_mangos_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM `command` WHERE `name` IN ('modify arena','modify honor');
+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/5771_mangos_spell_learn_spell.sql b/sql/updates/5771_mangos_spell_learn_spell.sql
new file mode 100644
index 00000000000..813c71f14a1
--- /dev/null
+++ b/sql/updates/5771_mangos_spell_learn_spell.sql
@@ -0,0 +1,9 @@
+ALTER TABLE spell_learn_spell
+ DROP IfNoSpell;
+
+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);
diff --git a/sql/updates/5772_mangos_command.sql b/sql/updates/5772_mangos_command.sql
new file mode 100644
index 00000000000..7e4c01b29a0
--- /dev/null
+++ b/sql/updates/5772_mangos_command.sql
@@ -0,0 +1,118 @@
+DELETE FROM `command` WHERE `name` = 'addgo';
+DELETE FROM `command` WHERE `name` = 'addquest';
+DELETE FROM `command` WHERE `name` = 'addspw';
+DELETE FROM `command` WHERE `name` = 'addtele';
+DELETE FROM `command` WHERE `name` = 'addvendoritem';
+DELETE FROM `command` WHERE `name` = 'addweapon';
+DELETE FROM `command` WHERE `name` = 'allowmove';
+DELETE FROM `command` WHERE `name` = 'anim';
+DELETE FROM `command` WHERE `name` = 'money';
+DELETE FROM `command` WHERE `name` = 'morph';
+DELETE FROM `command` WHERE `name` = 'movecreature';
+DELETE FROM `command` WHERE `name` = 'moveobject';
+DELETE FROM `command` WHERE `name` = 'name';
+DELETE FROM `command` WHERE `name` = 'nametele';
+DELETE FROM `command` WHERE `name` = 'nearobjects';
+DELETE FROM `command` WHERE `name` = 'npcflag';
+DELETE FROM `command` WHERE `name` = 'npcinfo';
+DELETE FROM `command` WHERE `name` = 'npcinfoset';
+DELETE FROM `command` WHERE `name` = 'npcwhisper';
+DELETE FROM `command` WHERE `name` = 'castback';
+DELETE FROM `command` WHERE `name` = 'casttarget';
+DELETE FROM `command` WHERE `name` = 'changelevel';
+DELETE FROM `command` WHERE `name` = 'delete';
+DELETE FROM `command` WHERE `name` = 'delobject';
+DELETE FROM `command` WHERE `name` = 'deltele';
+DELETE FROM `command` WHERE `name` = 'delvendoritem';
+DELETE FROM `command` WHERE `name` = 'drunk';
+DELETE FROM `command` WHERE `name` = 'factionid';
+DELETE FROM `command` WHERE `name` = 'getvalue';
+DELETE FROM `command` WHERE `name` = 'gocreature';
+DELETE FROM `command` WHERE `name` = 'gograveyard';
+DELETE FROM `command` WHERE `name` = 'gogrid';
+DELETE FROM `command` WHERE `name` = 'goobject';
+DELETE FROM `command` WHERE `name` = 'gotrigger';
+DELETE FROM `command` WHERE `name` = 'goxy';
+DELETE FROM `command` WHERE `name` = 'goxyz';
+DELETE FROM `command` WHERE `name` = 'gozonexy';
+DELETE FROM `command` WHERE `name` = 'grouptele';
+DELETE FROM `command` WHERE `name` = 'listcreature';
+DELETE FROM `command` WHERE `name` = 'listgm';
+DELETE FROM `command` WHERE `name` = 'listitem';
+DELETE FROM `command` WHERE `name` = 'listobject';
+DELETE FROM `command` WHERE `name` = 'playemote';
+DELETE FROM `command` WHERE `name` = 'playsound';
+DELETE FROM `command` WHERE `name` = 'removequest';
+DELETE FROM `command` WHERE `name` = 'resetall';
+DELETE FROM `command` WHERE `name` = 'setmodel';
+DELETE FROM `command` WHERE `name` = 'setmovetype';
+DELETE FROM `command` WHERE `name` = 'setvalue';
+DELETE FROM `command` WHERE `name` = 'spawndist';
+DELETE FROM `command` WHERE `name` = 'spawntime';
+DELETE FROM `command` WHERE `name` = 'speed';
+DELETE FROM `command` WHERE `name` = 'standstate';
+DELETE FROM `command` WHERE `name` = 'subname';
+DELETE FROM `command` WHERE `name` = 'targetobject';
+DELETE FROM `command` WHERE `name` = 'textemote';
+DELETE FROM `command` WHERE `name` = 'titles';
+DELETE FROM `command` WHERE `name` = 'turnobject';
+DELETE FROM `command` WHERE `name` = 'update';
+DELETE FROM `command` WHERE `name` = 'visible';
+
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('cast back',3,'Syntax: .cast back #spellid\r\n Selected target will cast #spellid to your character.'),
+('cast target',3,'Syntax: .cast target #spellid\r\n Selected target will cast #spellid to his victim.'),
+('debug anim',2,'Syntax: .debug anim #emoteid\r\n\r\nPlay emote #emoteid for your character.'),
+('debug getvalue',3,'Syntax: .debug getvalue #field #isInt\r\n\r\nGet the field #field of the selected creature. If no creature is selected, get the content of your field.\r\n\r\nUse a #isInt of value 1 if the expected field content is an integer.'),
+('debug playsound',1,'Syntax: .debug playsound #soundid\r\n\r\nPlay sound with #soundid.\r\nSound will be play only for you. Other players do not hear this.\r\nWarning: client may have more 5000 sounds...'),
+('debug setvalue',3,'Syntax: .debug setvalue #field #value #isInt\r\n\r\nSet the field #field of the selected creature with value #value. If no creature is selected, set the content of your field.\r\n\r\nUse a #isInt of value 1 if #value is an integer.'),
+('debug standstate',2,'Syntax: .debug standstate #emoteid\r\n\r\nChange the emote of your character while standing to #emoteid.'),
+('debug update',3,'Syntax: .debug update #field #value\r\n\r\nUpdate the field #field of the selected character or creature with value #value.\r\n\r\nIf no #value is provided, display the content of field #field.'),
+('gm list',0,'Syntax: .gm list\r\n\r\nDisplay a list of available Game Masters.'),
+('gm visible',1,'Syntax: .gm visible on/off\r\n\r\nOutput current visibility state or make GM visible(on) and invisible(off) for other players.'),
+('go creature',2,'Syntax: .go creature #creature_guid\r\nTeleport your character to creature with guid #creature_guid.\r\n.gocreature #creature_name\r\nTeleport your character to creature with this name.\r\n.gocreature id #creature_id\r\nTeleport your character to a creature that was spawned from the template with this entry.\r\n*If* more than one creature is found, then you are teleported to the first that is found inside the database.'),
+('go graveyard',2,'Syntax: .go graveyard #graveyardId\r\n Teleport to graveyard with the graveyardId specified.'),
+('go grid',1,'Syntax: .go grid #gridX #gridY [#mapId]\r\n\r\nTeleport the gm to center of grid with provided indexes at map #mapId (or current map if it not provided).'),
+('go object',1,'Syntax: .go object #object_guid\r\nTeleport your character to gameobject with guid #object_guid'),
+('go trigger',2,'Syntax: .go trigger #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.'),
+('go xy',1,'Syntax: .go xy #x #y [#mapid]\r\n\r\nTeleport player to point with (#x,#y) coordinates at ground(water) level at map #mapid or same map if #mapid not provided.'),
+('go xyz',1,'Syntax: .go xyz #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.'),
+('go zonexy',1,'Syntax: .go zonexy #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'),
+('gobject add',2,'Syntax: .gobject add #id <spawntimeSecs>\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.'),
+('gobject delete',2,'Syntax: .gobject delete #go_guid\r\nDelete gameobject with guid #go_guid.'),
+('gobject move',2,'Syntax: .gobject move #goguid [#x #y #z]\r\n\r\nMove gameobject #goguid to character coordinates (or to (#x,#y,#z) coordinates if its provide).'),
+('gobject near ',3,'Syntax: .gobject near [#distance]\r\n\r\nOutput gameobjects at distance #distance from player. Output gameobject guids and coordinates sorted by distance from character. If #distance not provided use 10 as default value.'),
+('gobject turn',2,'Syntax: .gobject turn #goguid \r\n\r\nSet for gameobject #goguid orientation same as current character orientation.'),
+('list creature',3,'Syntax: .list creature #creature_id [#max_count]\r\n\r\nOutput creatures with creature id #creature_id found in world. Output creature guids and coordinates sorted by distance from character. Will be output maximum #max_count creatures. If #max_count not provided use 10 as default value.'),
+('list item',3,'Syntax: .list item #item_id [#max_count]\r\n\r\nOutput items with item id #item_id found in all character inventories, mails and auctions. Output item guids, item owner guid, owner account and owner name. Will be output maximum #max_count items. If #max_count not provided use 10 as default value.'),
+('list object',3,'Syntax: .list object #gameobject_id [#max_count]\r\n\r\nOutput gameobjects with gameobject id #gameobject_id found in world. Output gameobject guids and coordinates sorted by distance from character. Will be output maximum #max_count gameobject. If #max_count not provided use 10 as default value.'),
+('modify drunk',1,'Syntax: .modify drunk #value\r\n Set drunk level to #value (0..100). Value 0 remove drunk state, 100 is max drunked state.'),
+('modify morph',2,'Syntax: .modify morph #displayid\r\n\r\nChange your current model id to #displayid.'),
+('npc add',2,'Syntax: .npc add #creatureid\r\n\r\nSpawn a creature by the given template id of #creatureid.'),
+('npc additem',2,'Syntax: .npc additem #itemId <#maxcount><#incrtime><#extendedcost>r\r\n\r\nAdd item #itemid to item list of selected vendor. Also optionally set max count item in vendor item list and time to item count restoring and items ExtendedCost.'),
+('npc addweapon',3,'Not yet implemented.'),
+('npc allowmove',3,'Syntax: .npc allowmove\r\n\r\nEnable or disable movement for the selected creature.'),
+('npc changelevel',2,'Syntax: .npc changelevel #level\r\n\r\nChange the level of the selected creature to #level.\r\n\r\n#level may range from 1 to 63.'),
+('npc delete',2,'Syntax: .npc delete\r\n\r\nDelete the selected creature from the world.'),
+('npc delitem',2,'Syntax: .npc delitem #itemId\r\n\r\nRemove item #itemid from item list of selected vendor.'),
+('npc factionid',2,'Syntax: .npc factionid #factionid\r\n\r\nSet the faction of the selected creature to #factionid.'),
+('npc flag',2,'Syntax: .npc flag #npcflag\r\n\r\nSet the NPC flags of creature template of the selected creature and selected creature to #npcflag. NPC flags will applied to all creatures of selected creature template after server restart or grid unload/load.'),
+('npc info',3,'Syntax: .npc info\r\n\r\nDisplay a list of details for the selected creature.\r\n\r\nThe list includes:\r\n- GUID, Faction, NPC flags, Entry ID, Model ID,\r\n- Level,\r\n- Health (current/maximum),\r\n\r\n- Field flags, dynamic flags, faction template, \r\n- Position information,\r\n- and the creature type, e.g. if the creature is a vendor.'),
+('npc move',2,'Syntax: .npc move [#creature_guid]\r\n\r\nMove the targeted creature spawn point to your coordinates.'),
+('npc name',2,'Syntax: .npc name $name\r\n\r\nChange the name of the selected creature or character to $name.\r\n\r\nCommand disabled.'),
+('npc playemote',3,'Syntax: .npc playemote #emoteid\r\n\r\nMake the selected creature emote with an emote of id #emoteid.'),
+('npc setmodel',2,'Syntax: .npc setmodel #displayid\r\n\r\nChange the model id of the selected creature to #displayid.'),
+('npc setmovetype',2,'Syntax: .npc 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.'),
+('npc spawndist',2,'Syntax: .npc spawndist #dist\r\n\r\nAdjust spawndistance of selected creature to dist.'),
+('npc spawntime',2,'Syntax: .npc spawntime #time \r\n\r\nAdjust spawntime of selected creature to time.'),
+('npc subname',2,'Syntax: .npc subname $Name\r\n\r\nChange the subname of the selected creature or player to $Name.\r\n\r\nCommand disabled.'),
+('npc textemote',3,'Syntax: .npc textemote #emoteid\r\n\r\nMake the selected creature to do textemote with an emote of id #emoteid.'),
+('npc whisper',1,'Syntax: .npc whisper #playerguid #text\r\nMake the selected npc whisper #text to #playerguid.'),
+('quest add',3,'Syntax: .quest add #quest_id\r\n\r\nAdd to character quest log quest #quest_id. Quest started from item can\'t be added by this command but correct .additem call provided in command output.'),
+('quest remove',3,'Syntax: .quest remove #quest_id\r\n\r\nSet quest #quest_id state to not completed and not active (and remove from active quest list) for selected player.'),
+('reset all',3,'Syntax: .reset all spells\r\n\r\nSyntax: .reset all talents\r\n\r\nRequest reset spells or talents at next login each existed character.'),
+('targetobject',2,'Syntax: .gobject target[#go_id|#go_name_part]\r\n\r\nLocate and show position nearest gameobject. If #go_id or #go_name_part provide then locate and show position of nearest gameobject with gameobject template id #go_id or name included #go_name_part as part.'),
+('tele add',3,'Syntax: .tele add $name\r\n\r\nAdd current your position to .tele command target locations list with name $name.'),
+('tele del',3,'Syntax: .tele del $name\r\n\r\nRemove location with name $name for .tele command locations list.'),
+('tele group',1,'Syntax: .tele group#location\r\n\r\nTeleport a selected player and his group members to a given location.'),
+('tele name',1,'Syntax: .tele name #playername #location\r\n\r\nTeleport a player to a given location.'); \ No newline at end of file
diff --git a/sql/updates/5773_mangos_spell_affect.sql b/sql/updates/5773_mangos_spell_affect.sql
new file mode 100644
index 00000000000..954202438a3
--- /dev/null
+++ b/sql/updates/5773_mangos_spell_affect.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (20216);
+INSERT INTO `spell_affect` VALUES
+ (20216,0,0,0x0001000000006000,0);
diff --git a/sql/updates/5773_mangos_spell_learn_spell.sql b/sql/updates/5773_mangos_spell_learn_spell.sql
new file mode 100644
index 00000000000..507b1da95ad
--- /dev/null
+++ b/sql/updates/5773_mangos_spell_learn_spell.sql
@@ -0,0 +1,6 @@
+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
diff --git a/sql/updates/5774_mangos_command.sql b/sql/updates/5774_mangos_command.sql
new file mode 100644
index 00000000000..c9f09b5efa0
--- /dev/null
+++ b/sql/updates/5774_mangos_command.sql
@@ -0,0 +1,5 @@
+DELETE FROM `command` WHERE `name` = 'targetobject';
+DELETE FROM `command` WHERE `name` = 'gobject target';
+
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('gobject target',2,'Syntax: .gobject target [#go_id|#go_name_part]\r\n\r\nLocate and show position nearest gameobject. If #go_id or #go_name_part provide then locate and show position of nearest gameobject with gameobject template id #go_id or name included #go_name_part as part.');
diff --git a/sql/updates/5774_mangos_mangos_string.sql b/sql/updates/5774_mangos_mangos_string.sql
new file mode 100644
index 00000000000..e5573f04bbe
--- /dev/null
+++ b/sql/updates/5774_mangos_mangos_string.sql
@@ -0,0 +1,4 @@
+DELETE FROM `mangos_string` WHERE `entry` IN (582);
+
+INSERT INTO `mangos_string` VALUES
+(582, 'SpawnTime: Full:%s Remain:%s',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/5777_mangos_command.sql b/sql/updates/5777_mangos_command.sql
new file mode 100644
index 00000000000..15b817f54ee
--- /dev/null
+++ b/sql/updates/5777_mangos_command.sql
@@ -0,0 +1 @@
+DELETE FROM `command` WHERE `name` IN ('honor','modify');
diff --git a/sql/updates/5778_mangos_spell_affect.sql b/sql/updates/5778_mangos_spell_affect.sql
new file mode 100644
index 00000000000..a4919d46b60
--- /dev/null
+++ b/sql/updates/5778_mangos_spell_affect.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `spell_affect`
+ DROP `SpellFamily`,
+ DROP `Charges`;
diff --git a/sql/updates/5779_mangos_quest_template.sql b/sql/updates/5779_mangos_quest_template.sql
new file mode 100644
index 00000000000..e3353d5ee7d
--- /dev/null
+++ b/sql/updates/5779_mangos_quest_template.sql
@@ -0,0 +1,21 @@
+ALTER TABLE `quest_template` ADD COLUMN `ClassOrSkill` smallint(6) NOT NULL default '0' AFTER `ZoneOrSort`;
+
+UPDATE `quest_template` SET `ClassOrSkill`=182 WHERE `ZoneOrSort`=-24;
+UPDATE `quest_template` SET `ClassOrSkill`=356 WHERE `ZoneOrSort`=-101;
+UPDATE `quest_template` SET `ClassOrSkill`=164 WHERE `ZoneOrSort`=-121;
+UPDATE `quest_template` SET `ClassOrSkill`=171 WHERE `ZoneOrSort`=-181;
+UPDATE `quest_template` SET `ClassOrSkill`=165 WHERE `ZoneOrSort`=-182;
+UPDATE `quest_template` SET `ClassOrSkill`=202 WHERE `ZoneOrSort`=-201;
+UPDATE `quest_template` SET `ClassOrSkill`=197 WHERE `ZoneOrSort`=-264;
+UPDATE `quest_template` SET `ClassOrSkill`=185 WHERE `ZoneOrSort`=-304;
+UPDATE `quest_template` SET `ClassOrSkill`=129 WHERE `ZoneOrSort`=-324;
+
+UPDATE `quest_template` SET `ClassOrSkill`=-9 WHERE `ZoneOrSort`=-61;
+UPDATE `quest_template` SET `ClassOrSkill`=-1 WHERE `ZoneOrSort`=-81;
+UPDATE `quest_template` SET `ClassOrSkill`=-7 WHERE `ZoneOrSort`=-82;
+UPDATE `quest_template` SET `ClassOrSkill`=-2 WHERE `ZoneOrSort`=-141;
+UPDATE `quest_template` SET `ClassOrSkill`=-8 WHERE `ZoneOrSort`=-161;
+UPDATE `quest_template` SET `ClassOrSkill`=-4 WHERE `ZoneOrSort`=-162;
+UPDATE `quest_template` SET `ClassOrSkill`=-3 WHERE `ZoneOrSort`=-261;
+UPDATE `quest_template` SET `ClassOrSkill`=-5 WHERE `ZoneOrSort`=-262;
+UPDATE `quest_template` SET `ClassOrSkill`=-11 WHERE `ZoneOrSort`=-263;
diff --git a/sql/updates/5784_mangos_player_levelstats.sql b/sql/updates/5784_mangos_player_levelstats.sql
new file mode 100644
index 00000000000..a107537d2f0
--- /dev/null
+++ b/sql/updates/5784_mangos_player_levelstats.sql
@@ -0,0 +1,70 @@
+UPDATE `player_levelstats` SET `basehp` = 32, `basemana` = 100 WHERE `class` = 8 AND `level`=1;
+UPDATE `player_levelstats` SET `basehp` = 47, `basemana` = 110 WHERE `class` = 8 AND `level`=2;
+UPDATE `player_levelstats` SET `basehp` = 52, `basemana` = 106 WHERE `class` = 8 AND `level`=3;
+UPDATE `player_levelstats` SET `basehp` = 67, `basemana` = 118 WHERE `class` = 8 AND `level`=4;
+UPDATE `player_levelstats` SET `basehp` = 82, `basemana` = 131 WHERE `class` = 8 AND `level`=5;
+UPDATE `player_levelstats` SET `basehp` = 97, `basemana` = 130 WHERE `class` = 8 AND `level`=6;
+UPDATE `player_levelstats` SET `basehp` = 102, `basemana` = 145 WHERE `class` = 8 AND `level`=7;
+UPDATE `player_levelstats` SET `basehp` = 117, `basemana` = 146 WHERE `class` = 8 AND `level`=8;
+UPDATE `player_levelstats` SET `basehp` = 132, `basemana` = 163 WHERE `class` = 8 AND `level`=9;
+UPDATE `player_levelstats` SET `basehp` = 137, `basemana` = 196 WHERE `class` = 8 AND `level`=10;
+UPDATE `player_levelstats` SET `basehp` = 152, `basemana` = 215 WHERE `class` = 8 AND `level`=11;
+UPDATE `player_levelstats` SET `basehp` = 167, `basemana` = 220 WHERE `class` = 8 AND `level`=12;
+UPDATE `player_levelstats` SET `basehp` = 172, `basemana` = 241 WHERE `class` = 8 AND `level`=13;
+UPDATE `player_levelstats` SET `basehp` = 187, `basemana` = 263 WHERE `class` = 8 AND `level`=14;
+UPDATE `player_levelstats` SET `basehp` = 202, `basemana` = 271 WHERE `class` = 8 AND `level`=15;
+UPDATE `player_levelstats` SET `basehp` = 207, `basemana` = 295 WHERE `class` = 8 AND `level`=16;
+UPDATE `player_levelstats` SET `basehp` = 222, `basemana` = 305 WHERE `class` = 8 AND `level`=17;
+UPDATE `player_levelstats` SET `basehp` = 237, `basemana` = 331 WHERE `class` = 8 AND `level`=18;
+UPDATE `player_levelstats` SET `basehp` = 242, `basemana` = 343 WHERE `class` = 8 AND `level`=19;
+UPDATE `player_levelstats` SET `basehp` = 257, `basemana` = 371 WHERE `class` = 8 AND `level`=20;
+UPDATE `player_levelstats` SET `basehp` = 272, `basemana` = 385 WHERE `class` = 8 AND `level`=21;
+UPDATE `player_levelstats` SET `basehp` = 277, `basemana` = 415 WHERE `class` = 8 AND `level`=22;
+UPDATE `player_levelstats` SET `basehp` = 292, `basemana` = 431 WHERE `class` = 8 AND `level`=23;
+UPDATE `player_levelstats` SET `basehp` = 298, `basemana` = 463 WHERE `class` = 8 AND `level`=24;
+UPDATE `player_levelstats` SET `basehp` = 315, `basemana` = 481 WHERE `class` = 8 AND `level`=25;
+UPDATE `player_levelstats` SET `basehp` = 333, `basemana` = 515 WHERE `class` = 8 AND `level`=26;
+UPDATE `player_levelstats` SET `basehp` = 342, `basemana` = 535 WHERE `class` = 8 AND `level`=27;
+UPDATE `player_levelstats` SET `basehp` = 362, `basemana` = 556 WHERE `class` = 8 AND `level`=28;
+UPDATE `player_levelstats` SET `basehp` = 373, `basemana` = 592 WHERE `class` = 8 AND `level`=29;
+UPDATE `player_levelstats` SET `basehp` = 395, `basemana` = 613 WHERE `class` = 8 AND `level`=30;
+UPDATE `player_levelstats` SET `basehp` = 418, `basemana` = 634 WHERE `class` = 8 AND `level`=31;
+UPDATE `player_levelstats` SET `basehp` = 432, `basemana` = 670 WHERE `class` = 8 AND `level`=32;
+UPDATE `player_levelstats` SET `basehp` = 457, `basemana` = 691 WHERE `class` = 8 AND `level`=33;
+UPDATE `player_levelstats` SET `basehp` = 473, `basemana` = 712 WHERE `class` = 8 AND `level`=34;
+UPDATE `player_levelstats` SET `basehp` = 500, `basemana` = 733 WHERE `class` = 8 AND `level`=35;
+UPDATE `player_levelstats` SET `basehp` = 518, `basemana` = 754 WHERE `class` = 8 AND `level`=36;
+UPDATE `player_levelstats` SET `basehp` = 547, `basemana` = 790 WHERE `class` = 8 AND `level`=37;
+UPDATE `player_levelstats` SET `basehp` = 577, `basemana` = 811 WHERE `class` = 8 AND `level`=38;
+UPDATE `player_levelstats` SET `basehp` = 598, `basemana` = 832 WHERE `class` = 8 AND `level`=39;
+UPDATE `player_levelstats` SET `basehp` = 630, `basemana` = 853 WHERE `class` = 8 AND `level`=40;
+UPDATE `player_levelstats` SET `basehp` = 653, `basemana` = 874 WHERE `class` = 8 AND `level`=41;
+UPDATE `player_levelstats` SET `basehp` = 687, `basemana` = 895 WHERE `class` = 8 AND `level`=42;
+UPDATE `player_levelstats` SET `basehp` = 712, `basemana` = 916 WHERE `class` = 8 AND `level`=43;
+UPDATE `player_levelstats` SET `basehp` = 748, `basemana` = 937 WHERE `class` = 8 AND `level`=44;
+UPDATE `player_levelstats` SET `basehp` = 775, `basemana` = 958 WHERE `class` = 8 AND `level`=45;
+UPDATE `player_levelstats` SET `basehp` = 813, `basemana` = 979 WHERE `class` = 8 AND `level`=46;
+UPDATE `player_levelstats` SET `basehp` = 842, `basemana` =1000 WHERE `class` = 8 AND `level`=47;
+UPDATE `player_levelstats` SET `basehp` = 882, `basemana` =1021 WHERE `class` = 8 AND `level`=48;
+UPDATE `player_levelstats` SET `basehp` = 913, `basemana` =1042 WHERE `class` = 8 AND `level`=49;
+UPDATE `player_levelstats` SET `basehp` = 955, `basemana` =1048 WHERE `class` = 8 AND `level`=50;
+UPDATE `player_levelstats` SET `basehp` = 988, `basemana` =1069 WHERE `class` = 8 AND `level`=51;
+UPDATE `player_levelstats` SET `basehp` =1032, `basemana` =1090 WHERE `class` = 8 AND `level`=52;
+UPDATE `player_levelstats` SET `basehp` =1067, `basemana` =1111 WHERE `class` = 8 AND `level`=53;
+UPDATE `player_levelstats` SET `basehp` =1103, `basemana` =1117 WHERE `class` = 8 AND `level`=54;
+UPDATE `player_levelstats` SET `basehp` =1150, `basemana` =1138 WHERE `class` = 8 AND `level`=55;
+UPDATE `player_levelstats` SET `basehp` =1188, `basemana` =1159 WHERE `class` = 8 AND `level`=56;
+UPDATE `player_levelstats` SET `basehp` =1237, `basemana` =1165 WHERE `class` = 8 AND `level`=57;
+UPDATE `player_levelstats` SET `basehp` =1277, `basemana` =1186 WHERE `class` = 8 AND `level`=58;
+UPDATE `player_levelstats` SET `basehp` =1328, `basemana` =1192 WHERE `class` = 8 AND `level`=59;
+UPDATE `player_levelstats` SET `basehp` =1370, `basemana` =1213 WHERE `class` = 8 AND `level`=60;
+UPDATE `player_levelstats` SET `basehp` =1526, `basemana` =1316 WHERE `class` = 8 AND `level`=61;
+UPDATE `player_levelstats` SET `basehp` =1702, `basemana` =1419 WHERE `class` = 8 AND `level`=62;
+UPDATE `player_levelstats` SET `basehp` =1875, `basemana` =1521 WHERE `class` = 8 AND `level`=63;
+UPDATE `player_levelstats` SET `basehp` =2070, `basemana` =1624 WHERE `class` = 8 AND `level`=64;
+UPDATE `player_levelstats` SET `basehp` =2261, `basemana` =1727 WHERE `class` = 8 AND `level`=65;
+UPDATE `player_levelstats` SET `basehp` =2461, `basemana` =1830 WHERE `class` = 8 AND `level`=66;
+UPDATE `player_levelstats` SET `basehp` =2686, `basemana` =1932 WHERE `class` = 8 AND `level`=67;
+UPDATE `player_levelstats` SET `basehp` =2906, `basemana` =2035 WHERE `class` = 8 AND `level`=68;
+UPDATE `player_levelstats` SET `basehp` =3136, `basemana` =2138 WHERE `class` = 8 AND `level`=69;
+UPDATE `player_levelstats` SET `basehp` =3393, `basemana` =2241 WHERE `class` = 8 AND `level`=70;
diff --git a/sql/updates/5787_mangos_player_levelstats.sql b/sql/updates/5787_mangos_player_levelstats.sql
new file mode 100644
index 00000000000..15935dd99b0
--- /dev/null
+++ b/sql/updates/5787_mangos_player_levelstats.sql
@@ -0,0 +1,70 @@
+UPDATE `player_levelstats` SET `basehp` = 25 WHERE `class` = 4 AND `level`=1;
+UPDATE `player_levelstats` SET `basehp` = 32 WHERE `class` = 4 AND `level`=2;
+UPDATE `player_levelstats` SET `basehp` = 49 WHERE `class` = 4 AND `level`=3;
+UPDATE `player_levelstats` SET `basehp` = 56 WHERE `class` = 4 AND `level`=4;
+UPDATE `player_levelstats` SET `basehp` = 63 WHERE `class` = 4 AND `level`=5;
+UPDATE `player_levelstats` SET `basehp` = 70 WHERE `class` = 4 AND `level`=6;
+UPDATE `player_levelstats` SET `basehp` = 87 WHERE `class` = 4 AND `level`=7;
+UPDATE `player_levelstats` SET `basehp` = 94 WHERE `class` = 4 AND `level`=8;
+UPDATE `player_levelstats` SET `basehp` = 101 WHERE `class` = 4 AND `level`=9;
+UPDATE `player_levelstats` SET `basehp` = 118 WHERE `class` = 4 AND `level`=10;
+UPDATE `player_levelstats` SET `basehp` = 125 WHERE `class` = 4 AND `level`=11;
+UPDATE `player_levelstats` SET `basehp` = 142 WHERE `class` = 4 AND `level`=12;
+UPDATE `player_levelstats` SET `basehp` = 149 WHERE `class` = 4 AND `level`=13;
+UPDATE `player_levelstats` SET `basehp` = 156 WHERE `class` = 4 AND `level`=14;
+UPDATE `player_levelstats` SET `basehp` = 173 WHERE `class` = 4 AND `level`=15;
+UPDATE `player_levelstats` SET `basehp` = 181 WHERE `class` = 4 AND `level`=16;
+UPDATE `player_levelstats` SET `basehp` = 190 WHERE `class` = 4 AND `level`=17;
+UPDATE `player_levelstats` SET `basehp` = 200 WHERE `class` = 4 AND `level`=18;
+UPDATE `player_levelstats` SET `basehp` = 221 WHERE `class` = 4 AND `level`=19;
+UPDATE `player_levelstats` SET `basehp` = 233 WHERE `class` = 4 AND `level`=20;
+UPDATE `player_levelstats` SET `basehp` = 246 WHERE `class` = 4 AND `level`=21;
+UPDATE `player_levelstats` SET `basehp` = 260 WHERE `class` = 4 AND `level`=22;
+UPDATE `player_levelstats` SET `basehp` = 275 WHERE `class` = 4 AND `level`=23;
+UPDATE `player_levelstats` SET `basehp` = 301 WHERE `class` = 4 AND `level`=24;
+UPDATE `player_levelstats` SET `basehp` = 318 WHERE `class` = 4 AND `level`=25;
+UPDATE `player_levelstats` SET `basehp` = 336 WHERE `class` = 4 AND `level`=26;
+UPDATE `player_levelstats` SET `basehp` = 355 WHERE `class` = 4 AND `level`=27;
+UPDATE `player_levelstats` SET `basehp` = 375 WHERE `class` = 4 AND `level`=28;
+UPDATE `player_levelstats` SET `basehp` = 396 WHERE `class` = 4 AND `level`=29;
+UPDATE `player_levelstats` SET `basehp` = 428 WHERE `class` = 4 AND `level`=30;
+UPDATE `player_levelstats` SET `basehp` = 451 WHERE `class` = 4 AND `level`=31;
+UPDATE `player_levelstats` SET `basehp` = 475 WHERE `class` = 4 AND `level`=32;
+UPDATE `player_levelstats` SET `basehp` = 500 WHERE `class` = 4 AND `level`=33;
+UPDATE `player_levelstats` SET `basehp` = 526 WHERE `class` = 4 AND `level`=34;
+UPDATE `player_levelstats` SET `basehp` = 553 WHERE `class` = 4 AND `level`=35;
+UPDATE `player_levelstats` SET `basehp` = 581 WHERE `class` = 4 AND `level`=36;
+UPDATE `player_levelstats` SET `basehp` = 610 WHERE `class` = 4 AND `level`=37;
+UPDATE `player_levelstats` SET `basehp` = 640 WHERE `class` = 4 AND `level`=38;
+UPDATE `player_levelstats` SET `basehp` = 671 WHERE `class` = 4 AND `level`=39;
+UPDATE `player_levelstats` SET `basehp` = 703 WHERE `class` = 4 AND `level`=40;
+UPDATE `player_levelstats` SET `basehp` = 736 WHERE `class` = 4 AND `level`=41;
+UPDATE `player_levelstats` SET `basehp` = 770 WHERE `class` = 4 AND `level`=42;
+UPDATE `player_levelstats` SET `basehp` = 805 WHERE `class` = 4 AND `level`=43;
+UPDATE `player_levelstats` SET `basehp` = 841 WHERE `class` = 4 AND `level`=44;
+UPDATE `player_levelstats` SET `basehp` = 878 WHERE `class` = 4 AND `level`=45;
+UPDATE `player_levelstats` SET `basehp` = 916 WHERE `class` = 4 AND `level`=46;
+UPDATE `player_levelstats` SET `basehp` = 955 WHERE `class` = 4 AND `level`=47;
+UPDATE `player_levelstats` SET `basehp` = 995 WHERE `class` = 4 AND `level`=48;
+UPDATE `player_levelstats` SET `basehp` =1026 WHERE `class` = 4 AND `level`=49;
+UPDATE `player_levelstats` SET `basehp` =1068 WHERE `class` = 4 AND `level`=50;
+UPDATE `player_levelstats` SET `basehp` =1111 WHERE `class` = 4 AND `level`=51;
+UPDATE `player_levelstats` SET `basehp` =1155 WHERE `class` = 4 AND `level`=52;
+UPDATE `player_levelstats` SET `basehp` =1200 WHERE `class` = 4 AND `level`=53;
+UPDATE `player_levelstats` SET `basehp` =1246 WHERE `class` = 4 AND `level`=54;
+UPDATE `player_levelstats` SET `basehp` =1283 WHERE `class` = 4 AND `level`=55;
+UPDATE `player_levelstats` SET `basehp` =1331 WHERE `class` = 4 AND `level`=56;
+UPDATE `player_levelstats` SET `basehp` =1380 WHERE `class` = 4 AND `level`=57;
+UPDATE `player_levelstats` SET `basehp` =1430 WHERE `class` = 4 AND `level`=58;
+UPDATE `player_levelstats` SET `basehp` =1471 WHERE `class` = 4 AND `level`=59;
+UPDATE `player_levelstats` SET `basehp` =1523 WHERE `class` = 4 AND `level`=60;
+UPDATE `player_levelstats` SET `basehp` =1702 WHERE `class` = 4 AND `level`=61;
+UPDATE `player_levelstats` SET `basehp` =1879 WHERE `class` = 4 AND `level`=62;
+UPDATE `player_levelstats` SET `basehp` =2077 WHERE `class` = 4 AND `level`=63;
+UPDATE `player_levelstats` SET `basehp` =2285 WHERE `class` = 4 AND `level`=64;
+UPDATE `player_levelstats` SET `basehp` =2489 WHERE `class` = 4 AND `level`=65;
+UPDATE `player_levelstats` SET `basehp` =2717 WHERE `class` = 4 AND `level`=66;
+UPDATE `player_levelstats` SET `basehp` =2941 WHERE `class` = 4 AND `level`=67;
+UPDATE `player_levelstats` SET `basehp` =3190 WHERE `class` = 4 AND `level`=68;
+UPDATE `player_levelstats` SET `basehp` =3450 WHERE `class` = 4 AND `level`=69;
+UPDATE `player_levelstats` SET `basehp` =3704 WHERE `class` = 4 AND `level`=70;
diff --git a/sql/updates/5790_mangos_player_classlevelstats.sql b/sql/updates/5790_mangos_player_classlevelstats.sql
new file mode 100644
index 00000000000..42714761dd7
--- /dev/null
+++ b/sql/updates/5790_mangos_player_classlevelstats.sql
@@ -0,0 +1,640 @@
+DROP TABLE IF EXISTS `player_classlevelstats`;
+CREATE TABLE `player_classlevelstats` (
+ `class` tinyint(3) unsigned NOT NULL,
+ `level` tinyint(3) unsigned NOT NULL,
+ `basehp` smallint(5) unsigned NOT NULL,
+ `basemana` smallint(5) unsigned NOT NULL,
+ PRIMARY KEY (`class`,`level`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 PACK_KEYS=0 COMMENT='Stores levels stats.';
+
+INSERT INTO `player_classlevelstats` VALUES
+(1,1,20,0),
+(1,2,29,0),
+(1,3,38,0),
+(1,4,47,0),
+(1,5,56,0),
+(1,6,65,0),
+(1,7,74,0),
+(1,8,83,0),
+(1,9,92,0),
+(1,10,101,0),
+(1,11,100,0),
+(1,12,109,0),
+(1,13,118,0),
+(1,14,128,0),
+(1,15,139,0),
+(1,16,151,0),
+(1,17,154,0),
+(1,18,168,0),
+(1,19,183,0),
+(1,20,199,0),
+(1,21,206,0),
+(1,22,224,0),
+(1,23,243,0),
+(1,24,253,0),
+(1,25,274,0),
+(1,26,296,0),
+(1,27,309,0),
+(1,28,333,0),
+(1,29,348,0),
+(1,30,374,0),
+(1,31,401,0),
+(1,32,419,0),
+(1,33,448,0),
+(1,34,468,0),
+(1,35,499,0),
+(1,36,521,0),
+(1,37,545,0),
+(1,38,581,0),
+(1,39,609,0),
+(1,40,649,0),
+(1,41,681,0),
+(1,42,715,0),
+(1,43,761,0),
+(1,44,799,0),
+(1,45,839,0),
+(1,46,881,0),
+(1,47,935,0),
+(1,48,981,0),
+(1,49,1029,0),
+(1,50,1079,0),
+(1,51,1131,0),
+(1,52,1185,0),
+(1,53,1241,0),
+(1,54,1299,0),
+(1,55,1359,0),
+(1,56,1421,0),
+(1,57,1485,0),
+(1,58,1551,0),
+(1,59,1619,0),
+(1,60,1689,0),
+(1,61,1902,0),
+(1,62,2129,0),
+(1,63,2357,0),
+(1,64,2612,0),
+(1,65,2883,0),
+(1,66,3169,0),
+(1,67,3455,0),
+(1,68,3774,0),
+(1,69,4109,0),
+(1,70,4444,0),
+(2,1,28,60),
+(2,2,36,78),
+(2,3,44,98),
+(2,4,52,104),
+(2,5,60,111),
+(2,6,68,134),
+(2,7,76,143),
+(2,8,84,153),
+(2,9,92,179),
+(2,10,100,192),
+(2,11,108,205),
+(2,12,116,219),
+(2,13,124,249),
+(2,14,132,265),
+(2,15,131,282),
+(2,16,141,315),
+(2,17,152,334),
+(2,18,164,354),
+(2,19,177,390),
+(2,20,191,412),
+(2,21,206,435),
+(2,22,222,459),
+(2,23,239,499),
+(2,24,247,525),
+(2,25,266,552),
+(2,26,286,579),
+(2,27,307,621),
+(2,28,329,648),
+(2,29,342,675),
+(2,30,366,702),
+(2,31,391,729),
+(2,32,407,756),
+(2,33,434,798),
+(2,34,462,825),
+(2,35,481,852),
+(2,36,511,879),
+(2,37,542,906),
+(2,38,564,933),
+(2,39,597,960),
+(2,40,621,987),
+(2,41,656,1014),
+(2,42,682,1041),
+(2,43,719,1068),
+(2,44,747,1110),
+(2,45,786,1137),
+(2,46,816,1164),
+(2,47,857,1176),
+(2,48,889,1203),
+(2,49,922,1230),
+(2,50,966,1257),
+(2,51,1001,1284),
+(2,52,1037,1311),
+(2,53,1084,1338),
+(2,54,1122,1365),
+(2,55,1161,1392),
+(2,56,1201,1419),
+(2,57,1252,1446),
+(2,58,1294,1458),
+(2,59,1337,1485),
+(2,60,1381,1512),
+(2,61,1540,1656),
+(2,62,1708,1800),
+(2,63,1884,1944),
+(2,64,2068,2088),
+(2,65,2262,2232),
+(2,66,2466,2377),
+(2,67,2679,2521),
+(2,68,2901,2665),
+(2,69,3134,2809),
+(2,70,3377,2953),
+(3,1,46,65),
+(3,2,53,70),
+(3,3,60,76),
+(3,4,67,98),
+(3,5,74,106),
+(3,6,81,130),
+(3,7,88,140),
+(3,8,95,166),
+(3,9,102,193),
+(3,10,109,206),
+(3,11,116,235),
+(3,12,123,250),
+(3,13,130,266),
+(3,14,138,298),
+(3,15,147,316),
+(3,16,157,350),
+(3,17,168,370),
+(3,18,180,391),
+(3,19,193,428),
+(3,20,207,451),
+(3,21,222,475),
+(3,22,238,515),
+(3,23,255,541),
+(3,24,273,568),
+(3,25,292,611),
+(3,26,312,640),
+(3,27,333,670),
+(3,28,355,715),
+(3,29,378,745),
+(3,30,402,775),
+(3,31,417,805),
+(3,32,443,850),
+(3,33,470,880),
+(3,34,498,910),
+(3,35,527,940),
+(3,36,547,970),
+(3,37,578,1015),
+(3,38,610,1045),
+(3,39,643,1075),
+(3,40,667,1105),
+(3,41,702,1135),
+(3,42,738,1180),
+(3,43,775,1210),
+(3,44,803,1240),
+(3,45,842,1270),
+(3,46,872,1300),
+(3,47,913,1330),
+(3,48,955,1360),
+(3,49,994,1390),
+(3,50,1047,1420),
+(3,51,1067,1450),
+(3,52,1113,1480),
+(3,53,1150,1510),
+(3,54,1198,1540),
+(3,55,1237,1570),
+(3,56,1287,1600),
+(3,57,1328,1630),
+(3,58,1370,1660),
+(3,59,1423,1690),
+(3,60,1467,1720),
+(3,61,1633,1886),
+(3,62,1819,2053),
+(3,63,2003,2219),
+(3,64,2195,2385),
+(3,65,2397,2552),
+(3,66,2623,2718),
+(3,67,2844,2884),
+(3,68,3075,3050),
+(3,69,3316,3217),
+(3,70,3568,3383),
+(4,1,25,0),
+(4,2,32,0),
+(4,3,49,0),
+(4,4,56,0),
+(4,5,63,0),
+(4,6,70,0),
+(4,7,87,0),
+(4,8,94,0),
+(4,9,101,0),
+(4,10,118,0),
+(4,11,125,0),
+(4,12,142,0),
+(4,13,149,0),
+(4,14,156,0),
+(4,15,173,0),
+(4,16,181,0),
+(4,17,190,0),
+(4,18,200,0),
+(4,19,221,0),
+(4,20,233,0),
+(4,21,246,0),
+(4,22,260,0),
+(4,23,275,0),
+(4,24,301,0),
+(4,25,318,0),
+(4,26,336,0),
+(4,27,355,0),
+(4,28,375,0),
+(4,29,396,0),
+(4,30,428,0),
+(4,31,451,0),
+(4,32,475,0),
+(4,33,500,0),
+(4,34,526,0),
+(4,35,553,0),
+(4,36,581,0),
+(4,37,610,0),
+(4,38,640,0),
+(4,39,671,0),
+(4,40,703,0),
+(4,41,736,0),
+(4,42,770,0),
+(4,43,805,0),
+(4,44,841,0),
+(4,45,878,0),
+(4,46,916,0),
+(4,47,955,0),
+(4,48,995,0),
+(4,49,1026,0),
+(4,50,1068,0),
+(4,51,1111,0),
+(4,52,1155,0),
+(4,53,1200,0),
+(4,54,1246,0),
+(4,55,1283,0),
+(4,56,1331,0),
+(4,57,1380,0),
+(4,58,1430,0),
+(4,59,1471,0),
+(4,60,1523,0),
+(4,61,1702,0),
+(4,62,1879,0),
+(4,63,2077,0),
+(4,64,2285,0),
+(4,65,2489,0),
+(4,66,2717,0),
+(4,67,2941,0),
+(4,68,3190,0),
+(4,69,3450,0),
+(4,70,3704,0),
+(5,1,52,73),
+(5,2,57,76),
+(5,3,72,95),
+(5,4,77,114),
+(5,5,92,133),
+(5,6,97,152),
+(5,7,112,171),
+(5,8,117,190),
+(5,9,132,209),
+(5,10,137,212),
+(5,11,142,215),
+(5,12,157,234),
+(5,13,172,254),
+(5,14,177,260),
+(5,15,192,282),
+(5,16,197,305),
+(5,17,212,329),
+(5,18,227,339),
+(5,19,232,365),
+(5,20,247,377),
+(5,21,252,405),
+(5,22,268,434),
+(5,23,275,449),
+(5,24,293,480),
+(5,25,302,497),
+(5,26,322,530),
+(5,27,343,549),
+(5,28,355,584),
+(5,29,378,605),
+(5,30,392,627),
+(5,31,417,665),
+(5,32,433,689),
+(5,33,460,728),
+(5,34,478,752),
+(5,35,507,776),
+(5,36,527,800),
+(5,37,548,839),
+(5,38,580,863),
+(5,39,603,887),
+(5,40,637,911),
+(5,41,662,950),
+(5,42,698,974),
+(5,43,725,998),
+(5,44,763,1022),
+(5,45,792,1046),
+(5,46,822,1070),
+(5,47,863,1094),
+(5,48,895,1118),
+(5,49,928,1142),
+(5,50,972,1166),
+(5,51,1007,1190),
+(5,52,1053,1214),
+(5,53,1090,1238),
+(5,54,1128,1262),
+(5,55,1177,1271),
+(5,56,1217,1295),
+(5,57,1258,1319),
+(5,58,1300,1343),
+(5,59,1353,1352),
+(5,60,1397,1376),
+(5,61,1557,1500),
+(5,62,1738,1625),
+(5,63,1916,1749),
+(5,64,2101,1873),
+(5,65,2295,1998),
+(5,66,2495,2122),
+(5,67,2719,2247),
+(5,68,2936,2371),
+(5,69,3160,2495),
+(5,70,3391,2620),
+(7,1,37,85),
+(7,2,44,91),
+(7,3,51,98),
+(7,4,58,106),
+(7,5,65,115),
+(7,6,72,125),
+(7,7,79,136),
+(7,8,86,148),
+(7,9,93,161),
+(7,10,100,175),
+(7,11,107,190),
+(7,12,114,206),
+(7,13,121,223),
+(7,14,128,241),
+(7,15,135,260),
+(7,16,142,280),
+(7,17,150,301),
+(7,18,159,323),
+(7,19,169,346),
+(7,20,180,370),
+(7,21,192,395),
+(7,22,205,421),
+(7,23,219,448),
+(7,24,234,476),
+(7,25,240,505),
+(7,26,257,535),
+(7,27,275,566),
+(7,28,294,598),
+(7,29,314,631),
+(7,30,335,665),
+(7,31,347,699),
+(7,32,370,733),
+(7,33,394,767),
+(7,34,419,786),
+(7,35,435,820),
+(7,36,462,854),
+(7,37,490,888),
+(7,38,509,922),
+(7,39,539,941),
+(7,40,570,975),
+(7,41,592,1009),
+(7,42,625,1028),
+(7,43,649,1062),
+(7,44,684,1096),
+(7,45,710,1115),
+(7,46,747,1149),
+(7,47,775,1183),
+(7,48,814,1202),
+(7,49,844,1236),
+(7,50,885,1255),
+(7,51,917,1289),
+(7,52,960,1323),
+(7,53,994,1342),
+(7,54,1029,1376),
+(7,55,1075,1395),
+(7,56,1112,1414),
+(7,57,1150,1448),
+(7,58,1199,1467),
+(7,59,1239,1501),
+(7,60,1330,1520),
+(7,61,1428,1664),
+(7,62,1583,1808),
+(7,63,1760,1951),
+(7,64,1932,2095),
+(7,65,2114,2239),
+(7,66,2304,2383),
+(7,67,2504,2527),
+(7,68,2713,2670),
+(7,69,2931,2814),
+(7,70,3159,2958),
+(8,1,32,100),
+(8,2,47,110),
+(8,3,52,106),
+(8,4,67,118),
+(8,5,82,131),
+(8,6,97,130),
+(8,7,102,145),
+(8,8,117,146),
+(8,9,132,163),
+(8,10,137,196),
+(8,11,152,215),
+(8,12,167,220),
+(8,13,172,241),
+(8,14,187,263),
+(8,15,202,271),
+(8,16,207,295),
+(8,17,222,305),
+(8,18,237,331),
+(8,19,242,343),
+(8,20,257,371),
+(8,21,272,385),
+(8,22,277,415),
+(8,23,292,431),
+(8,24,298,463),
+(8,25,315,481),
+(8,26,333,515),
+(8,27,342,535),
+(8,28,362,556),
+(8,29,373,592),
+(8,30,395,613),
+(8,31,418,634),
+(8,32,432,670),
+(8,33,457,691),
+(8,34,473,712),
+(8,35,500,733),
+(8,36,518,754),
+(8,37,547,790),
+(8,38,577,811),
+(8,39,598,832),
+(8,40,630,853),
+(8,41,653,874),
+(8,42,687,895),
+(8,43,712,916),
+(8,44,748,937),
+(8,45,775,958),
+(8,46,813,979),
+(8,47,842,1000),
+(8,48,882,1021),
+(8,49,913,1042),
+(8,50,955,1048),
+(8,51,988,1069),
+(8,52,1032,1090),
+(8,53,1067,1111),
+(8,54,1103,1117),
+(8,55,1150,1138),
+(8,56,1188,1159),
+(8,57,1237,1165),
+(8,58,1277,1186),
+(8,59,1328,1192),
+(8,60,1370,1213),
+(8,61,1526,1316),
+(8,62,1702,1419),
+(8,63,1875,1521),
+(8,64,2070,1624),
+(8,65,2261,1727),
+(8,66,2461,1830),
+(8,67,2686,1932),
+(8,68,2906,2035),
+(8,69,3136,2138),
+(8,70,3393,2241),
+(9,1,23,90),
+(9,2,28,98),
+(9,3,43,107),
+(9,4,48,102),
+(9,5,63,113),
+(9,6,68,126),
+(9,7,83,144),
+(9,8,88,162),
+(9,9,93,180),
+(9,10,108,198),
+(9,11,123,200),
+(9,12,128,218),
+(9,13,143,237),
+(9,14,148,257),
+(9,15,153,278),
+(9,16,168,300),
+(9,17,173,308),
+(9,18,189,332),
+(9,19,196,357),
+(9,20,204,383),
+(9,21,223,395),
+(9,22,233,423),
+(9,23,244,452),
+(9,24,266,467),
+(9,25,279,498),
+(9,26,293,530),
+(9,27,318,548),
+(9,28,334,582),
+(9,29,351,602),
+(9,30,379,638),
+(9,31,398,674),
+(9,32,418,695),
+(9,33,439,731),
+(9,34,471,752),
+(9,35,494,788),
+(9,36,518,809),
+(9,37,543,830),
+(9,38,569,866),
+(9,39,606,887),
+(9,40,634,923),
+(9,41,663,944),
+(9,42,693,965),
+(9,43,724,1001),
+(9,44,756,1022),
+(9,45,799,1043),
+(9,46,832,1064),
+(9,47,868,1100),
+(9,48,904,1121),
+(9,49,941,1142),
+(9,50,979,1163),
+(9,51,1018,1184),
+(9,52,1058,1205),
+(9,53,1099,1226),
+(9,54,1141,1247),
+(9,55,1184,1268),
+(9,56,1228,1289),
+(9,57,1273,1310),
+(9,58,1319,1331),
+(9,59,1366,1352),
+(9,60,1414,1373),
+(9,61,1580,1497),
+(9,62,1755,1621),
+(9,63,1939,1745),
+(9,64,2133,1870),
+(9,65,2323,1994),
+(9,66,2535,2118),
+(9,67,2758,2242),
+(9,68,2991,2366),
+(9,69,3235,2490),
+(9,70,3490,2615),
+(11,1,44,60),
+(11,2,51,66),
+(11,3,58,73),
+(11,4,75,81),
+(11,5,82,90),
+(11,6,89,100),
+(11,7,106,111),
+(11,8,113,123),
+(11,9,120,136),
+(11,10,137,150),
+(11,11,144,165),
+(11,12,151,182),
+(11,13,168,200),
+(11,14,175,219),
+(11,15,182,239),
+(11,16,199,260),
+(11,17,206,282),
+(11,18,214,305),
+(11,19,233,329),
+(11,20,243,354),
+(11,21,254,380),
+(11,22,266,392),
+(11,23,289,420),
+(11,24,303,449),
+(11,25,318,479),
+(11,26,334,509),
+(11,27,361,524),
+(11,28,379,554),
+(11,29,398,584),
+(11,30,418,614),
+(11,31,439,629),
+(11,32,461,659),
+(11,33,494,689),
+(11,34,518,704),
+(11,35,543,734),
+(11,36,569,749),
+(11,37,596,779),
+(11,38,624,809),
+(11,39,653,824),
+(11,40,683,854),
+(11,41,714,869),
+(11,42,746,899),
+(11,43,779,914),
+(11,44,823,944),
+(11,45,858,959),
+(11,46,894,989),
+(11,47,921,1004),
+(11,48,959,1019),
+(11,49,998,1049),
+(11,50,1038,1064),
+(11,51,1079,1079),
+(11,52,1121,1109),
+(11,53,1164,1124),
+(11,54,1208,1139),
+(11,55,1253,1154),
+(11,56,1299,1169),
+(11,57,1346,1199),
+(11,58,1384,1214),
+(11,59,1433,1229),
+(11,60,1483,1244),
+(11,61,1657,1357),
+(11,62,1840,1469),
+(11,63,2020,1582),
+(11,64,2222,1694),
+(11,65,2433,1807),
+(11,66,2640,1919),
+(11,67,2872,2032),
+(11,68,3114,2145),
+(11,69,3351,2257),
+(11,70,3614,2370);
diff --git a/sql/updates/5790_mangos_player_levelstats.sql b/sql/updates/5790_mangos_player_levelstats.sql
new file mode 100644
index 00000000000..fa6454892cd
--- /dev/null
+++ b/sql/updates/5790_mangos_player_levelstats.sql
@@ -0,0 +1,3 @@
+ALTER TABLE `player_levelstats`
+ DROP `basehp`,
+ DROP `basemana`;
diff --git a/sql/updates/5799_mangos_spell_proc_event.sql b/sql/updates/5799_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..d2047e24276
--- /dev/null
+++ b/sql/updates/5799_mangos_spell_proc_event.sql
@@ -0,0 +1,6 @@
+DELETE FROM spell_proc_event WHERE entry IN (45481,45482,45483,45484);
+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),
+(45484,0,0,0,0,0x0000000000000000,0x08000000,0);
diff --git a/sql/updates/5813_mangos_mangos_string.sql b/sql/updates/5813_mangos_mangos_string.sql
new file mode 100644
index 00000000000..946db393e1c
--- /dev/null
+++ b/sql/updates/5813_mangos_mangos_string.sql
@@ -0,0 +1,27 @@
+INSERT INTO `mangos_string` VALUES ('614', 'The Alliance flag has been respawned!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('615', 'The Horde flag has been respawned!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('636', 'The battle begins in 1 minute.', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('637', 'The battle begins in 30 seconds.', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('638', 'The battle has begun!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('667', 'The Alliance has taken control of the Mage Tower!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('668', 'The Horde has taken control of the Mage Tower!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('669', 'The Alliance has taken control of the Draenei Ruins!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('670', 'The Horde has taken control of the Draenei Ruins!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('671', 'The Alliance has taken control of the Blood Elf Tower!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('672', 'The Horde has taken control of the Blood Elf Tower!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('673', 'The Alliance has taken control of the Fel Reaver Ruins!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('674', 'The Horde has taken control of the Fel Reaver Ruins!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('675', 'The Alliance has lost control of the Mage Tower!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('676', 'The Horde has lost control of the Mage Tower!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('677', 'The Alliance has lost control of the Draenei Ruins!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('678', 'The Horde has lost control of the Draenei Ruins!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('679', 'The Alliance has lost control of the Blood Elf Tower!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('680', 'The Horde has lost control of the Blood Elf Tower!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('681', 'The Alliance has lost control of the Fel Reaver Ruins!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('682', 'The Horde has lost control of the Fel Reaver Ruins!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('683', '$N has taken the flag!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('684', 'The Alliance has captured the flag!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('685', 'The Horde has captured the flag!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('686', 'The Flag has been dropped!', null, null, null, null, null, null, null);
+INSERT INTO `mangos_string` VALUES ('687', 'The flag has been reset', null, null, null, null, null, null, null);
+
diff --git a/sql/updates/5827_mangos_spell_affect.sql b/sql/updates/5827_mangos_spell_affect.sql
new file mode 100644
index 00000000000..2477ec1c937
--- /dev/null
+++ b/sql/updates/5827_mangos_spell_affect.sql
@@ -0,0 +1,5 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (32043,35396,35397);
+INSERT INTO `spell_affect` VALUES
+(32043,1,0x000004000A000000),
+(35396,1,0x000004000A000000),
+(35397,1,0x000004000A000000);
diff --git a/sql/updates/5827_mangos_spell_chain.sql b/sql/updates/5827_mangos_spell_chain.sql
new file mode 100644
index 00000000000..271d692c13a
--- /dev/null
+++ b/sql/updates/5827_mangos_spell_chain.sql
@@ -0,0 +1,8 @@
+-- wrong entry
+DELETE FROM `spell_chain` WHERE `spell_id` IN (5159);
+
+
+DELETE FROM `spell_chain` WHERE `spell_id` IN (5195,5196);
+INSERT INTO `spell_chain` (`spell_id`, `prev_spell`, `first_spell`, `rank`) VALUES
+(5195,1062,339,3),
+(5196,5195,339,4);
diff --git a/sql/updates/5827_mangos_spell_learn_spell.sql b/sql/updates/5827_mangos_spell_learn_spell.sql
new file mode 100644
index 00000000000..59cb8608acd
--- /dev/null
+++ b/sql/updates/5827_mangos_spell_learn_spell.sql
@@ -0,0 +1,5 @@
+DELETE FROM spell_learn_spell WHERE entry IN (33872,33873);
+
+INSERT INTO spell_learn_spell (entry,spellID) VALUES
+(33872,47179),
+(33873,47180);
diff --git a/sql/updates/5827_mangos_spell_proc_event.sql b/sql/updates/5827_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..6f8701d159b
--- /dev/null
+++ b/sql/updates/5827_mangos_spell_proc_event.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_proc_event` WHERE `entry` = '33522';
+INSERT INTO `spell_proc_event` VALUES
+(33522,0,0,0,0,0x0000000000000000,0x00020000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` = '33648';
+INSERT INTO `spell_proc_event` VALUES
+(33648,0,0,0,0,0x0000000000000000,0x00401000,0);
diff --git a/sql/updates/5831_mangos_skill_fishing_base_level.sql b/sql/updates/5831_mangos_skill_fishing_base_level.sql
new file mode 100644
index 00000000000..15665120422
--- /dev/null
+++ b/sql/updates/5831_mangos_skill_fishing_base_level.sql
@@ -0,0 +1,6 @@
+DROP TABLE IF EXISTS `skill_fishing_base_level`;
+CREATE TABLE `skill_fishing_base_level` (
+ `entry` mediumint(8) unsigned NOT NULL default '0' COMMENT 'Area identifier',
+ `skill` smallint(6) NOT NULL default '0' COMMENT 'Base skill level requirement',
+ PRIMARY KEY (`entry`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Fishing system';
diff --git a/sql/updates/5842_mangos_spell_affect.sql b/sql/updates/5842_mangos_spell_affect.sql
new file mode 100644
index 00000000000..d3e77cf1269
--- /dev/null
+++ b/sql/updates/5842_mangos_spell_affect.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_affect` WHERE `entry` = 19245;
+INSERT INTO `spell_affect` VALUES
+(19245,0,0x0000000000000018),
+(19245,1,0x0000200000000004);
diff --git a/sql/updates/5845_mangos_spell_proc_event.sql b/sql/updates/5845_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..72ba36c1a1f
--- /dev/null
+++ b/sql/updates/5845_mangos_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (20164,31895);
+INSERT INTO `spell_proc_event` VALUES
+(20164,0,0,0,0,0x0000000000000000,0x00000001,5),
+(31895,0,0,0,0,0x0000000000000000,0x00000001,5);
diff --git a/sql/updates/5847_mangos_command.sql b/sql/updates/5847_mangos_command.sql
new file mode 100644
index 00000000000..473385d9838
--- /dev/null
+++ b/sql/updates/5847_mangos_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM `command` WHERE `name` = 'damage';
+
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('damage',3,'Syntax: .damage $damage_amount [$school [$spellid]]\r\n\r\nApply $damage to target. If not $school and $spellid provided then this flat clean melee damage without any modifiers. If $school provided then damage modified by armor reduction (if school physical), and target absorbing modifiers and result applied as melee damage to target. If spell provided then damage modified and applied as spell damage. $spellid can be shift-link.');
diff --git a/sql/updates/5857_mangos_spell_proc_event.sql b/sql/updates/5857_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..b6af5986817
--- /dev/null
+++ b/sql/updates/5857_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (32748);
+INSERT INTO `spell_proc_event` VALUES
+(32748,0,0,0,8,0x0000000100000000,0x00008000,0);
diff --git a/sql/updates/5861_mangos_command.sql b/sql/updates/5861_mangos_command.sql
new file mode 100644
index 00000000000..e6250d98dc2
--- /dev/null
+++ b/sql/updates/5861_mangos_command.sql
@@ -0,0 +1,10 @@
+DELETE FROM `command` WHERE `name` = 'wp import';
+DELETE FROM `command` WHERE `name` = 'wp export';
+
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('wp import',3,'Syntax: .wp import $filename');
+
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('wp export',3,'Syntax: .wp export [#creature_guid or Select a Creature] $filename');
+
+UPDATE `command` SET `help` = 'Syntax: .wp modify [#creature_guid or Select a Creature]\r\nadd - Add a waypoint after the selected visual\r\nwaittime $time\r\nemote ID\r\nspell ID\r\ntext1| text2| text3| text4| text5 <text>\r\nmodel1 ID\r\nmodel2 ID\r\nmove(moves wp to player pos)\r\ndel (deletes the wp)\r\n\r\nOnly one parameter per time!' WHERE `name` = 'wp modify'; \ No newline at end of file
diff --git a/sql/updates/5865_mangos_command.sql b/sql/updates/5865_mangos_command.sql
new file mode 100644
index 00000000000..d9004433a22
--- /dev/null
+++ b/sql/updates/5865_mangos_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM `command` WHERE `name` = 'cast self';
+
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('cast self',3,'Syntax: .cast self #spellid\r\nCast #spellid by target at target itself.');
diff --git a/sql/updates/5867_mangos_spell_affect.sql b/sql/updates/5867_mangos_spell_affect.sql
new file mode 100644
index 00000000000..f801715d935
--- /dev/null
+++ b/sql/updates/5867_mangos_spell_affect.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (12472);
+INSERT INTO `spell_affect` VALUES
+ (12472, 1, 0x00000000E44008A5);
diff --git a/sql/updates/5875_mangos_quest_template.sql b/sql/updates/5875_mangos_quest_template.sql
new file mode 100644
index 00000000000..c10964130ed
--- /dev/null
+++ b/sql/updates/5875_mangos_quest_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `quest_template` CHANGE `ClassOrSkill` `SkillOrClass` smallint(6) NOT NULL default '0';
diff --git a/sql/updates/5880_mangos_mangos_string.sql b/sql/updates/5880_mangos_mangos_string.sql
new file mode 100644
index 00000000000..74d5d92ac97
--- /dev/null
+++ b/sql/updates/5880_mangos_mangos_string.sql
@@ -0,0 +1,3 @@
+DELETE FROM mangos_string WHERE entry in (297);
+INSERT INTO `mangos_string` VALUES
+(297,'Spawn distance changed to: %f',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/5882_mangos_spell_affect.sql b/sql/updates/5882_mangos_spell_affect.sql
new file mode 100644
index 00000000000..e86c85016f3
--- /dev/null
+++ b/sql/updates/5882_mangos_spell_affect.sql
@@ -0,0 +1,29 @@
+-- (17954) Emberstorm (Rank 1)
+DELETE FROM `spell_affect` WHERE `entry` IN (17954);
+INSERT INTO `spell_affect` VALUES (17954, 0, 0x000000C000001364);
+INSERT INTO `spell_affect` VALUES (17954, 1, 0x000000C000001364);
+INSERT INTO `spell_affect` VALUES (17954, 2, 0x0000004000000000);
+
+-- (17955) Emberstorm (Rank 2)
+DELETE FROM `spell_affect` WHERE `entry` IN (17955);
+INSERT INTO `spell_affect` VALUES (17955, 0, 0x000000C000001364);
+INSERT INTO `spell_affect` VALUES (17955, 1, 0x000000C000001364);
+INSERT INTO `spell_affect` VALUES (17955, 2, 0x0000004000000000);
+
+-- (17956) Emberstorm (Rank 3)
+DELETE FROM `spell_affect` WHERE `entry` IN (17956);
+INSERT INTO `spell_affect` VALUES (17956, 0, 0x000000C000001364);
+INSERT INTO `spell_affect` VALUES (17956, 1, 0x000000C000001364);
+INSERT INTO `spell_affect` VALUES (17956, 2, 0x0000004000000000);
+
+-- (17957) Emberstorm (Rank 4)
+DELETE FROM `spell_affect` WHERE `entry` IN (17957);
+INSERT INTO `spell_affect` VALUES (17957, 0, 0x000000C000001364);
+INSERT INTO `spell_affect` VALUES (17957, 1, 0x000000C000001364);
+INSERT INTO `spell_affect` VALUES (17957, 2, 0x0000004000000000);
+
+-- (17958) Emberstorm (Rank 5)
+DELETE FROM `spell_affect` WHERE `entry` IN (17958);
+INSERT INTO `spell_affect` VALUES (17958, 0, 0x000000C000001364);
+INSERT INTO `spell_affect` VALUES (17958, 1, 0x000000C000001364);
+INSERT INTO `spell_affect` VALUES (17958, 2, 0x0000004000000000);
diff --git a/sql/updates/5890_mangos_quest_template.sql b/sql/updates/5890_mangos_quest_template.sql
new file mode 100644
index 00000000000..1cd69648820
--- /dev/null
+++ b/sql/updates/5890_mangos_quest_template.sql
@@ -0,0 +1 @@
+UPDATE `quest_template` SET `SkillOrClass`=0 WHERE `ZoneOrSort` IN (-61,-81,-82,-141,-161,-162,-261,-262,-263);
diff --git a/sql/updates/5896_mangos_spell_proc_event.sql b/sql/updates/5896_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..641ea3470bc
--- /dev/null
+++ b/sql/updates/5896_mangos_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM spell_proc_event WHERE entry IN (45054,45354);
+INSERT INTO spell_proc_event VALUES
+(45054,0,0,0,0,0x0000000000000000,0x00020000,0),
+(45354,0,0,0,0,0x0000000000000000,0x00000001,0);
diff --git a/sql/updates/5923_mangos_spell_affect.sql b/sql/updates/5923_mangos_spell_affect.sql
new file mode 100644
index 00000000000..836e1bad7ba
--- /dev/null
+++ b/sql/updates/5923_mangos_spell_affect.sql
@@ -0,0 +1 @@
+DELETE FROM `spell_affect` WHERE `entry` IN (41660);
diff --git a/sql/updates/5940_mangos_spell_affect.sql b/sql/updates/5940_mangos_spell_affect.sql
new file mode 100644
index 00000000000..51f5c029a3f
--- /dev/null
+++ b/sql/updates/5940_mangos_spell_affect.sql
@@ -0,0 +1,3 @@
+-- (14177) Cold Blood ()
+DELETE FROM `spell_affect` WHERE `entry` IN (14177);
+INSERT INTO `spell_affect` VALUES (14177, 0, 0x0000000C6012031E); \ No newline at end of file
diff --git a/sql/updates/5946_mangos_spell_affect.sql b/sql/updates/5946_mangos_spell_affect.sql
new file mode 100644
index 00000000000..2f4fc5b7ad9
--- /dev/null
+++ b/sql/updates/5946_mangos_spell_affect.sql
@@ -0,0 +1,19 @@
+-- (20216) Divine Favor ()
+DELETE FROM `spell_affect` WHERE `entry` IN (20216);
+INSERT INTO `spell_affect` VALUES (20216, 0, 0x00010000C0200000);
+
+-- (37879) Blessing of Lower City ()
+DELETE FROM `spell_affect` WHERE `entry` IN (37879);
+INSERT INTO `spell_affect` VALUES (37879, 0, 0x00000000C0000000);
+
+-- (20237) Healing Light (Rank 1)
+DELETE FROM `spell_affect` WHERE `entry` IN (20237);
+INSERT INTO `spell_affect` VALUES (20237, 0, 0x00000000C0000000);
+
+-- (20238) Healing Light (Rank 2)
+DELETE FROM `spell_affect` WHERE `entry` IN (20238);
+INSERT INTO `spell_affect` VALUES (20238, 0, 0x00000000C0000000);
+
+-- (20239) Healing Light (Rank 3)
+DELETE FROM `spell_affect` WHERE `entry` IN (20239);
+INSERT INTO `spell_affect` VALUES (20239, 0, 0x00000000C0000000);
diff --git a/sql/updates/5955_characters_guild_eventlog.sql b/sql/updates/5955_characters_guild_eventlog.sql
new file mode 100644
index 00000000000..ea7a9892a9e
--- /dev/null
+++ b/sql/updates/5955_characters_guild_eventlog.sql
@@ -0,0 +1,10 @@
+DROP TABLE IF EXISTS `guild_eventlog`;
+CREATE TABLE `guild_eventlog` (
+ `guildid` int(11) NOT NULL COMMENT 'Guild Identificator',
+ `LogGuid` int(11) NOT NULL COMMENT 'Log entry identificator',
+ `EventType` tinyint(1) NOT NULL COMMENT 'Event type',
+ `PlayerGuid1` int(11) NOT NULL COMMENT 'Player 1',
+ `PlayerGuid2` int(11) NOT NULL COMMENT 'Player 2',
+ `NewRank` tinyint(2) NOT NULL COMMENT 'New rank(in case promotion/demotion)',
+ `TimeStamp` bigint(20) NOT NULL COMMENT 'Event UNIX time'
+) ENGINE = InnoDB DEFAULT CHARSET = latin1 COMMENT 'Guild Eventlog';
diff --git a/sql/updates/5965_mangos_mangos_string.sql b/sql/updates/5965_mangos_mangos_string.sql
new file mode 100644
index 00000000000..f162006eb9a
--- /dev/null
+++ b/sql/updates/5965_mangos_mangos_string.sql
@@ -0,0 +1,4 @@
+DELETE FROM mangos_string WHERE entry in (468,470);
+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/5973_mangos_spell_proc_event.sql b/sql/updates/5973_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..5dc5601fc84
--- /dev/null
+++ b/sql/updates/5973_mangos_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (44835);
+INSERT INTO `spell_proc_event` VALUES
+(44835,0,0,0,7,0x0000008000000000,0x00008000,0);
+
diff --git a/sql/updates/5977_characters_pet.sql b/sql/updates/5977_characters_pet.sql
new file mode 100644
index 00000000000..f4454ca856f
--- /dev/null
+++ b/sql/updates/5977_characters_pet.sql
@@ -0,0 +1,3 @@
+DELETE FROM pet_aura WHERE guid NOT IN (SELECT id FROM character_pet);
+DELETE FROM pet_spell WHERE guid NOT IN (SELECT id FROM character_pet);
+DELETE FROM pet_spell_cooldown WHERE guid NOT IN (SELECT id FROM character_pet);
diff --git a/sql/updates/5982_mangos.sql b/sql/updates/5982_mangos.sql
new file mode 100644
index 00000000000..bea6150819d
--- /dev/null
+++ b/sql/updates/5982_mangos.sql
@@ -0,0 +1,2 @@
+DROP TABLE playercreateinfo_skill;
+DROP TABLE spell_learn_skill; \ No newline at end of file
diff --git a/sql/updates/5986_mangos_spell_proc_event.sql b/sql/updates/5986_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..b544a1e1b50
--- /dev/null
+++ b/sql/updates/5986_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (46832);
+INSERT INTO `spell_proc_event` VALUES
+(46832,0,0,0,7,0x0000000000000001,0x00004000,0);
diff --git a/sql/updates/5999_mangos_spell_proc_event.sql b/sql/updates/5999_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..704af8c50f9
--- /dev/null
+++ b/sql/updates/5999_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (37528);
+INSERT INTO `spell_proc_event` VALUES
+(37528,0,0,0,4,0x0000000000000004,0x00000001,0);
diff --git a/sql/updates/6016_mangos_spell_proc_event.sql b/sql/updates/6016_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..5099da8ed16
--- /dev/null
+++ b/sql/updates/6016_mangos_spell_proc_event.sql
@@ -0,0 +1,12 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (37173);
+INSERT INTO `spell_proc_event` VALUES
+(37173,0,0,0,8,0x000001062cbc0598,0x000a0001,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (30881,30883,30884,30885,30886);
+INSERT INTO `spell_proc_event` VALUES
+(30881,0,0,0,0,0x0000000000000000,0x00008000,0),
+(30883,0,0,0,0,0x0000000000000000,0x00008000,0),
+(30884,0,0,0,0,0x0000000000000000,0x00008000,0),
+(30885,0,0,0,0,0x0000000000000000,0x00008000,0),
+(30886,0,0,0,0,0x0000000000000000,0x00008000,0);
+
diff --git a/sql/updates/6017_mangos_spell_proc_event.sql b/sql/updates/6017_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..a9c55a14b9d
--- /dev/null
+++ b/sql/updates/6017_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (37170);
+INSERT INTO `spell_proc_event` VALUES
+(37170,0,0,0,0,0x0000000000000000,0x00000001,1);
diff --git a/sql/updates/6022_mangos_spell_proc_event.sql b/sql/updates/6022_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..2525a13c9de
--- /dev/null
+++ b/sql/updates/6022_mangos_spell_proc_event.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (12322,12999,13000,13001,13002);
+INSERT INTO `spell_proc_event` VALUES
+(12322,0,0,0,0,0x0000000000000000,0x00000001,2),
+(12999,0,0,0,0,0x0000000000000000,0x00000001,4),
+(13000,0,0,0,0,0x0000000000000000,0x00000001,6),
+(13001,0,0,0,0,0x0000000000000000,0x00000001,8),
+(13002,0,0,0,0,0x0000000000000000,0x00000001,10);
diff --git a/sql/updates/6023_mangos_mangos_string.sql b/sql/updates/6023_mangos_mangos_string.sql
new file mode 100644
index 00000000000..c93d5ee988b
--- /dev/null
+++ b/sql/updates/6023_mangos_mangos_string.sql
@@ -0,0 +1,6 @@
+DELETE FROM `mangos_string` WHERE `entry` IN (314,315,316);
+
+INSERT INTO `mangos_string` VALUES
+(314, ' [peace forced]',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(315, ' [hidden]',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(316, ' [invisible forced]',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/6027_mangos_spell_affect.sql b/sql/updates/6027_mangos_spell_affect.sql
new file mode 100644
index 00000000000..877ca72150e
--- /dev/null
+++ b/sql/updates/6027_mangos_spell_affect.sql
@@ -0,0 +1,12 @@
+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);
+
+DELETE FROM `spell_affect` WHERE `entry` IN (12945,16544,18372) AND `effectId` = 0;
+
+DELETE FROM `spell_affect` WHERE `entry` IN (14075,14074,14073,14072,14057,16544,23566) AND `effectId` = 1;
+
+INSERT INTO `spell_affect` VALUES
+(14143,0,0x0000000004000206),
+(14149,0,0x0000000004000206);
+ \ No newline at end of file
diff --git a/sql/updates/6032_mangos_petcreateinfo_spell.sql b/sql/updates/6032_mangos_petcreateinfo_spell.sql
new file mode 100644
index 00000000000..e7a8a67a4fa
--- /dev/null
+++ b/sql/updates/6032_mangos_petcreateinfo_spell.sql
@@ -0,0 +1 @@
+ALTER TABLE `petcreateinfo_spell` DROP `FamilyPassive`; \ No newline at end of file
diff --git a/sql/updates/6037_mangos_spell_affect.sql b/sql/updates/6037_mangos_spell_affect.sql
new file mode 100644
index 00000000000..152824a2e95
--- /dev/null
+++ b/sql/updates/6037_mangos_spell_affect.sql
@@ -0,0 +1,7 @@
+-- (38398) Reduced Cleave Cost ()
+DELETE FROM `spell_affect` WHERE `entry` IN (38398);
+INSERT INTO `spell_affect` VALUES (38398, 0, 0x0000000020000000);
+
+-- (40389) Crow Discount ()
+DELETE FROM `spell_affect` WHERE `entry` IN (40389);
+INSERT INTO `spell_affect` VALUES (40389, 0, 0x0000800000000000); \ No newline at end of file
diff --git a/sql/updates/6038_mangos_creature_template.sql b/sql/updates/6038_mangos_creature_template.sql
new file mode 100644
index 00000000000..c672796b1e0
--- /dev/null
+++ b/sql/updates/6038_mangos_creature_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `creature_template`
+ ADD COLUMN `PetSpellDataId` mediumint(8) unsigned NOT NULL default '0' AFTER `spell4`; \ No newline at end of file
diff --git a/sql/updates/6047_characters_character_social.sql b/sql/updates/6047_characters_character_social.sql
new file mode 100644
index 00000000000..c5ed55d942c
--- /dev/null
+++ b/sql/updates/6047_characters_character_social.sql
@@ -0,0 +1,2 @@
+ALTER TABLE character_social
+ CHANGE COLUMN `note` `note` varchar(48) NOT NULL DEFAULT '' COMMENT 'Friend Note';
diff --git a/sql/updates/6047_characters_guild_bank_tab.sql b/sql/updates/6047_characters_guild_bank_tab.sql
new file mode 100644
index 00000000000..d27efd2b375
--- /dev/null
+++ b/sql/updates/6047_characters_guild_bank_tab.sql
@@ -0,0 +1,2 @@
+ALTER TABLE guild_bank_tab
+ CHANGE COLUMN `TabText` `TabText` varchar(500) NOT NULL DEFAULT ''; \ No newline at end of file
diff --git a/sql/updates/6049_mangos_spell_proc_event.sql b/sql/updates/6049_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..86547acc1af
--- /dev/null
+++ b/sql/updates/6049_mangos_spell_proc_event.sql
@@ -0,0 +1,4 @@
+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
diff --git a/sql/updates/6052_mangos_loot_template.sql b/sql/updates/6052_mangos_loot_template.sql
new file mode 100644
index 00000000000..3ecb7d1feec
--- /dev/null
+++ b/sql/updates/6052_mangos_loot_template.sql
@@ -0,0 +1,23 @@
+ALTER TABLE `creature_loot_template`
+ DROP freeforall;
+
+ALTER TABLE `disenchant_loot_template`
+ DROP freeforall;
+
+ALTER TABLE `fishing_loot_template`
+ DROP freeforall;
+
+ALTER TABLE `gameobject_loot_template`
+ DROP freeforall;
+
+ALTER TABLE `item_loot_template`
+ DROP freeforall;
+
+ALTER TABLE `pickpocketing_loot_template`
+ DROP freeforall;
+
+ALTER TABLE `prospecting_loot_template`
+ DROP freeforall;
+
+ALTER TABLE `skinning_loot_template`
+ DROP freeforall;
diff --git a/sql/updates/6058_mangos_spell_learn_spell.sql b/sql/updates/6058_mangos_spell_learn_spell.sql
new file mode 100644
index 00000000000..33f3066da0f
--- /dev/null
+++ b/sql/updates/6058_mangos_spell_learn_spell.sql
@@ -0,0 +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
diff --git a/sql/updates/6061_characters_mail.sql b/sql/updates/6061_characters_mail.sql
new file mode 100644
index 00000000000..8e9b0122419
--- /dev/null
+++ b/sql/updates/6061_characters_mail.sql
@@ -0,0 +1,2 @@
+ALTER TABLE mail
+ ADD COLUMN `mailTemplateId` mediumint(8) unsigned NOT NULL default '0' AFTER `stationery`;
diff --git a/sql/updates/6061_mangos_quest_mail_loot_template.sql b/sql/updates/6061_mangos_quest_mail_loot_template.sql
new file mode 100644
index 00000000000..e399bd23258
--- /dev/null
+++ b/sql/updates/6061_mangos_quest_mail_loot_template.sql
@@ -0,0 +1,13 @@
+DROP TABLE IF EXISTS `quest_mail_loot_template`;
+CREATE TABLE `quest_mail_loot_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `item` mediumint(8) unsigned NOT NULL default '0',
+ `ChanceOrQuestChance` float NOT NULL default '100',
+ `groupid` tinyint(3) unsigned NOT NULL default '0',
+ `mincountOrRef` mediumint(9) NOT NULL default '1',
+ `maxcount` tinyint(3) unsigned NOT NULL default '1',
+ `lootcondition` tinyint(3) unsigned NOT NULL default '0',
+ `condition_value1` mediumint(8) unsigned NOT NULL default '0',
+ `condition_value2` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
diff --git a/sql/updates/6061_mangos_quest_template.sql b/sql/updates/6061_mangos_quest_template.sql
new file mode 100644
index 00000000000..5e803338256
--- /dev/null
+++ b/sql/updates/6061_mangos_quest_template.sql
@@ -0,0 +1,3 @@
+ALTER TABLE quest_template
+ ADD COLUMN `RewMailTemplateId` mediumint(8) unsigned NOT NULL default '0' AFTER `RewSpellCast`,
+ ADD COLUMN `RewMailDelaySecs` int(11) unsigned NOT NULL default '0' AFTER `RewMailTemplateId`;
diff --git a/sql/updates/6062_mangos_spell_proc_event.sql b/sql/updates/6062_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..e1ce9c86ae2
--- /dev/null
+++ b/sql/updates/6062_mangos_spell_proc_event.sql
@@ -0,0 +1,19 @@
+DELETE FROM spell_proc_event WHERE entry = 13743 OR entry = 13875;
+DELETE FROM spell_proc_event WHERE entry = 14076 OR entry = 14094;
+
+UPDATE spell_proc_event SET Category = 0, SkillId = 0 WHERE entry = 12797 OR entry = 12799 OR entry = 12800;
+UPDATE spell_proc_event SET Category = 0 WHERE entry = 13754 OR entry = 13867;
+UPDATE spell_proc_event SET Category = 0 WHERE entry = 40458;
+
+UPDATE spell_proc_event SET SkillId = 0 WHERE entry = 16850 OR entry = 16923 OR entry = 16924;
+UPDATE spell_proc_event SET SkillId = 0 WHERE entry = 17793 OR entry = 17796 OR entry = 17801 OR entry = 17802 OR entry = 17803;
+UPDATE spell_proc_event SET SkillId = 0, SchoolMask = 0 WHERE entry = 23721;
+UPDATE spell_proc_event SET SkillId = 0, SchoolMask = 0 WHERE entry = 28809;
+UPDATE spell_proc_event SET SkillId = 0, SchoolMask = 0 WHERE entry = 28823;
+UPDATE spell_proc_event SET SkillId = 0 WHERE entry = 23695;
+
+UPDATE spell_proc_event SET SchoolMask = 0, SpellFamilyMask = 0x8000000060 WHERE entry = 18073 OR entry = 18096;
+UPDATE spell_proc_event SET SchoolMask = 0 WHERE entry = 19407 OR entry = 19412 OR entry = 19413 OR entry = 19414 OR entry = 19415;
+UPDATE spell_proc_event SET SchoolMask = 0 WHERE entry = 20234 OR entry = 20235;
+UPDATE spell_proc_event SET SchoolMask = 0 WHERE entry = 23551 OR entry = 23572;
+UPDATE spell_proc_event SET SchoolMask = 0 WHERE entry = 38394; \ No newline at end of file
diff --git a/sql/updates/6078_mangos_spell_proc_event.sql b/sql/updates/6078_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..19de716a443
--- /dev/null
+++ b/sql/updates/6078_mangos_spell_proc_event.sql
@@ -0,0 +1,7 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (20210,20212,20213,20214,20215);
+INSERT INTO `spell_proc_event` VALUES
+(20210,0,0,0,10,0x00010000C0000000,0x10000000,0),
+(20212,0,0,0,10,0x00010000C0000000,0x10000000,0),
+(20213,0,0,0,10,0x00010000C0000000,0x10000000,0),
+(20214,0,0,0,10,0x00010000C0000000,0x10000000,0),
+(20215,0,0,0,10,0x00010000C0000000,0x10000000,0);
diff --git a/sql/updates/6090_mangos_command.sql b/sql/updates/6090_mangos_command.sql
new file mode 100644
index 00000000000..34e2985b214
--- /dev/null
+++ b/sql/updates/6090_mangos_command.sql
@@ -0,0 +1,8 @@
+DELETE FROM `command` WHERE `name` IN ('lookup event','event','event activelist','event start','event stop');
+
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('lookup event',2,'Syntax: .lookup event $name\r\nAttempts to find the ID of the event with the provided $name.'),
+('event',2,'Syntax: .event #event_id\r\nShow details about event with #event_id.'),
+('event activelist',2,'Syntax: .event activelist\r\nShow list of currently active events.'),
+('event start',2,'Syntax: .event start #event_id\r\nStart event #event_id. Set start time for event to current moment (change not saved in DB).'),
+('event stop',2,'Syntax: .event stop #event_id\r\nStop event #event_id. Set start time for event to time in past that make current moment is event stop time (change not saved in DB).');
diff --git a/sql/updates/6090_mangos_mangos_string.sql b/sql/updates/6090_mangos_mangos_string.sql
new file mode 100644
index 00000000000..e9a91151da3
--- /dev/null
+++ b/sql/updates/6090_mangos_mangos_string.sql
@@ -0,0 +1,9 @@
+DELETE FROM `mangos_string` WHERE `entry` IN (583,584,585,586,587,588);
+
+INSERT INTO `mangos_string` VALUES
+(583,'%d - |cffffffff|Hgameevent:%d|h[%s]|h|r%s',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(584,'No event found!',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(585,'Event not exist!',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(586,'Event %u: %s%s\nStart: %s End: %s Occurence: %s Length: %s\nNext state change: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(587,'Event %u already active!',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(588,'Event %u not active!',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/6151_mangos_spell_proc_event.sql b/sql/updates/6151_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..6f005b654f7
--- /dev/null
+++ b/sql/updates/6151_mangos_spell_proc_event.sql
@@ -0,0 +1,14 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (45444,46364);
+INSERT INTO `spell_proc_event` VALUES
+(45444,0,0,0,0,0x0000000000000000,0x00100402,0),
+(46364,0,0,0,0,0x0000000000000000,0x00100402,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (34827);
+INSERT INTO `spell_proc_event` VALUES
+(34827,0,0,0,0,0x0000000000000000,0x00100402,0);
+
+-- Creature's Earth Shield proc on melee attacks
+DELETE FROM `spell_proc_event` WHERE `entry` IN (32734);
+INSERT INTO `spell_proc_event` VALUES
+(32734,0,0,0,0,0x0000000000000000,0x00000002,0);
+
diff --git a/sql/updates/6164_mangos_command.sql b/sql/updates/6164_mangos_command.sql
new file mode 100644
index 00000000000..a55ddd89b03
--- /dev/null
+++ b/sql/updates/6164_mangos_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM `command` WHERE `name` IN ('gm fly');
+
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('gm fly',3,'Syntax: .gm fly on/off\r\nEnable/disable gm fly mode.');
diff --git a/sql/updates/6171_mangos_spell_affect.sql b/sql/updates/6171_mangos_spell_affect.sql
new file mode 100644
index 00000000000..62cb9c4d385
--- /dev/null
+++ b/sql/updates/6171_mangos_spell_affect.sql
@@ -0,0 +1,56 @@
+DELETE FROM spell_affect WHERE (entry = 16757 OR entry = 16758) AND effectId = 1;
+INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
+VALUES (
+16757, 1, 0x240
+), (
+16758, 1, 0x240
+);
+DELETE FROM spell_affect WHERE (entry = 17904 OR (entry >= 17912 AND entry <= 17916)) AND effectId = 0;
+INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
+VALUES (
+17904, 0, 0
+), (
+17912, 0, 0
+), (
+17913, 0, 0
+), (
+17914, 0, 0
+), (
+17915, 0, 0
+), (
+17916, 0, 0
+);
+DELETE FROM spell_affect WHERE entry = 21899 AND effectId = 0;
+INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
+VALUES (
+21899, 0, 0x100
+);
+DELETE FROM spell_affect WHERE entry = 24542 AND effectId = 1;
+INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
+VALUES (
+24542, 1, 0xF0
+);
+DELETE FROM spell_affect WHERE entry = 24546 AND effectId = 1;
+INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
+VALUES (
+24546, 1, 0x400041E00
+);
+DELETE FROM spell_affect WHERE (entry = 29187 OR entry = 29189 OR entry = 29191) AND effectId = 1;
+INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
+VALUES (
+29187, 1, 0x4103000340750
+), (
+29189, 1, 0x4103000340750
+), (
+29191, 1, 0x4103000340750
+);
+DELETE FROM spell_affect WHERE entry = 39805 AND effectId = 1;
+INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
+VALUES (
+39805, 1, 0x3
+);
+DELETE FROM spell_affect WHERE entry = 44293 AND effectId = 0;
+INSERT INTO spell_affect ( `entry` , `effectId` , `SpellFamilyMask` )
+VALUES (
+44293, 0, 0x200
+); \ No newline at end of file
diff --git a/sql/updates/6179_mangos_mangos_string.sql b/sql/updates/6179_mangos_mangos_string.sql
new file mode 100644
index 00000000000..1cb1ea7c0a9
--- /dev/null
+++ b/sql/updates/6179_mangos_mangos_string.sql
@@ -0,0 +1,6 @@
+DELETE FROM `mangos_string` WHERE `entry` IN (589,590,591);
+
+INSERT INTO `mangos_string` VALUES
+(589,' Point movement to (X:%f Y:%f Z:%f)',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(590,' Fear movement',NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(591,' Distract movement',NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/6193_mangos_spell_proc_event.sql b/sql/updates/6193_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..98df85ab6b6
--- /dev/null
+++ b/sql/updates/6193_mangos_spell_proc_event.sql
@@ -0,0 +1,12 @@
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (39442,39438,39440,39444);
+INSERT INTO `spell_proc_event` VALUES
+(39442,0,0,0,0,0x0000000000000000,0x00020001,0),
+(39438,0,0,0,0,0x0000000000000000,0x00080001,0),
+(39440,0,0,0,0,0x0000000000000000,0x00020000,0),
+(39444,0,0,0,0,0x0000000000000000,0x00100002,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` IN (36111,39443);
+INSERT INTO `spell_proc_event` VALUES
+(36111,0,0,0,0,0x0000000000000000,0x00000001,0),
+(39443,0,0,0,0,0x0000000000000000,0x00401000,0);
diff --git a/sql/updates/6199_mangos_spell_proc_event.sql b/sql/updates/6199_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..d4526446be7
--- /dev/null
+++ b/sql/updates/6199_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (32748);
+INSERT INTO `spell_proc_event` VALUES
+(32748,0,0,0,8,0x0000000100000000,0x00080000,0);
diff --git a/sql/updates/6210_mangos_spell_proc_event.sql b/sql/updates/6210_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..0ca6f9bd3f6
--- /dev/null
+++ b/sql/updates/6210_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (38299);
+INSERT INTO `spell_proc_event` VALUES
+(38299,0,0,0,0,0x0000000000000000,0x08000000,0);
diff --git a/sql/updates/6213_mangos_spell_target_position.sql b/sql/updates/6213_mangos_spell_target_position.sql
new file mode 100644
index 00000000000..c175e4170bb
--- /dev/null
+++ b/sql/updates/6213_mangos_spell_target_position.sql
@@ -0,0 +1 @@
+RENAME TABLE `spell_teleport` TO `spell_target_position`;
diff --git a/sql/updates/6219_mangos_spell_proc_event.sql b/sql/updates/6219_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..d8fd9740df9
--- /dev/null
+++ b/sql/updates/6219_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (44835);
+INSERT INTO `spell_proc_event` VALUES
+(44835,0,0,0,7,0x0000008000000000,0x00000001,0);
diff --git a/sql/updates/6246_mangos_spell_proc_event.sql b/sql/updates/6246_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..8dc2c5cecd3
--- /dev/null
+++ b/sql/updates/6246_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (38290);
+INSERT INTO `spell_proc_event` VALUES
+(38290,0,0,0,0,0x0000000000000000,0x00080000,3);
diff --git a/sql/updates/6251_mangos_spell_proc_event.sql b/sql/updates/6251_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..81d54f921e9
--- /dev/null
+++ b/sql/updates/6251_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` = 37336;
+INSERT INTO `spell_proc_event` VALUES
+(37336,0,0,0,0,0x0000000000000000,0x00084001,0);
diff --git a/sql/updates/6255_mangos_spell_proc_event.sql b/sql/updates/6255_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..184bf953a2d
--- /dev/null
+++ b/sql/updates/6255_mangos_spell_proc_event.sql
@@ -0,0 +1,15 @@
+DELETE FROM `spell_proc_event` WHERE `entry` = 40442;
+INSERT INTO `spell_proc_event` VALUES
+(40442,0,0,0,7,0x0000044000000014,0x00004001,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` = 40470;
+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
+(40485,0,0,0,9,0x0000000100000000,0x00080000,0);
+
+DELETE FROM `spell_proc_event` WHERE `entry` = 40478;
+INSERT INTO `spell_proc_event` VALUES
+(40478,0,0,0,5,0x0000000000000002,0x00020000,0);
diff --git a/sql/updates/6265_mangos_pet_name_generation.sql b/sql/updates/6265_mangos_pet_name_generation.sql
new file mode 100644
index 00000000000..45045d2912e
--- /dev/null
+++ b/sql/updates/6265_mangos_pet_name_generation.sql
@@ -0,0 +1,270 @@
+DROP TABLE IF EXISTS `pet_name_generation`;
+CREATE TABLE `pet_name_generation` (
+ `id` mediumint(8) unsigned NOT NULL auto_increment,
+ `word` tinytext NOT NULL,
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `half` tinyint(4) NOT NULL default '0',
+ PRIMARY KEY (`id`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8;
+
+INSERT INTO `pet_name_generation` (`word`,`entry`,`half`) VALUES
+('Aba',416,0),
+('Az',416,0),
+('Bel',416,0),
+('Biz',416,0),
+('Cho',416,0),
+('Dag',416,0),
+('Gak',416,0),
+('Gar',416,0),
+('Gel',416,0),
+('Gho',416,0),
+('Gob',416,0),
+('Gra',416,0),
+('Jak',416,0),
+('Jub',416,0),
+('Kar',416,0),
+('Kup',416,0),
+('Laz',416,0),
+('Nal',416,0),
+('Nok',416,0),
+('Pag',416,0),
+('Pig',416,0),
+('Pip',416,0),
+('Piz',416,0),
+('Quz',416,0),
+('Rui',416,0),
+('Rul',416,0),
+('Rup',416,0),
+('Tar',416,0),
+('Vol',416,0),
+('Yaz',416,0),
+('Zep',416,0),
+('Zig',416,0),
+('Zil',416,0),
+('Zor',416,0),
+('bis',416,1),
+('fip',416,1),
+('gup',416,1),
+('ham',416,1),
+('jub',416,1),
+('kin',416,1),
+('kol',416,1),
+('lop',416,1),
+('loz',416,1),
+('mat',416,1),
+('mir',416,1),
+('nam',416,1),
+('nar',416,1),
+('nik',416,1),
+('nip',416,1),
+('pad',416,1),
+('pep',416,1),
+('pit',416,1),
+('qua',416,1),
+('rai',416,1),
+('rin',416,1),
+('rot',416,1),
+('tai',416,1),
+('tal',416,1),
+('tik',416,1),
+('tip',416,1),
+('tog',416,1),
+('tuk',416,1),
+('uri',416,1),
+('yal',416,1),
+('yap',416,1),
+('Bhee',417,0),
+('Bruu',417,0),
+('Czaa',417,0),
+('Droo',417,0),
+('Flaa',417,0),
+('Fzuu',417,0),
+('Ghaa',417,0),
+('Gree',417,0),
+('Gzaa',417,0),
+('Haa',417,0),
+('Haad',417,0),
+('Haag',417,0),
+('Haap',417,0),
+('Jhaa',417,0),
+('Jhuu',417,0),
+('Khaa',417,0),
+('Khii',417,0),
+('Khuu',417,0),
+('Kree',417,0),
+('Luu',417,0),
+('Maa',417,0),
+('Nhee',417,0),
+('Phuu',417,0),
+('Pryy',417,0),
+('Rhuu',417,0),
+('Shaa',417,0),
+('Sloo',417,0),
+('Sruu',417,0),
+('Thoo',417,0),
+('Traa',417,0),
+('Wraa',417,0),
+('Zhaa',417,0),
+('dhon',417,1),
+('dhum',417,1),
+('dhun',417,1),
+('dom',417,1),
+('don',417,1),
+('drom',417,1),
+('dym',417,1),
+('fenn',417,1),
+('fum',417,1),
+('fun',417,1),
+('ghon',417,1),
+('ghun',417,1),
+('grom',417,1),
+('grym',417,1),
+('hom',417,1),
+('hon',417,1),
+('hun',417,1),
+('jhom',417,1),
+('kun',417,1),
+('lum',417,1),
+('mmon',417,1),
+('mon',417,1),
+('myn',417,1),
+('nam',417,1),
+('nem',417,1),
+('nhym',417,1),
+('nom',417,1),
+('num',417,1),
+('phom',417,1),
+('roon',417,1),
+('rym',417,1),
+('shon',417,1),
+('thun',417,1),
+('tom',417,1),
+('zhem',417,1),
+('zhum',417,1),
+('zun',417,1),
+('Bar',1860,0),
+('Bel',1860,0),
+('Char',1860,0),
+('Grak\'',1860,0),
+('Graz\'',1860,0),
+('Grim',1860,0),
+('Hath',1860,0),
+('Hel',1860,0),
+('Hok',1860,0),
+('Huk',1860,0),
+('Jhaz',1860,0),
+('Jhom',1860,0),
+('Juk\'',1860,0),
+('Kal\'',1860,0),
+('Klath',1860,0),
+('Kon',1860,0),
+('Krag',1860,0),
+('Krak',1860,0),
+('Mak',1860,0),
+('Mezz',1860,0),
+('Orm',1860,0),
+('Phan',1860,0),
+('Sar',1860,0),
+('Tang',1860,0),
+('Than',1860,0),
+('Thog',1860,0),
+('Thok',1860,0),
+('Thul',1860,0),
+('Zag\'',1860,0),
+('Zang',1860,0),
+('Zhar\'',1860,0),
+('kath',1860,1),
+('doc',1860,1),
+('dok',1860,1),
+('gak',1860,1),
+('garth',1860,1),
+('gore',1860,1),
+('gorg',1860,1),
+('grave',1860,1),
+('gron',1860,1),
+('juk',1860,1),
+('krast',1860,1),
+('kresh',1860,1),
+('krit',1860,1),
+('los',1860,1),
+('mon',1860,1),
+('mos',1860,1),
+('moth',1860,1),
+('nagma',1860,1),
+('nak',1860,1),
+('nar',1860,1),
+('nos',1860,1),
+('nuz',1860,1),
+('phog',1860,1),
+('rath',1860,1),
+('tast',1860,1),
+('taz',1860,1),
+('thak',1860,1),
+('thang',1860,1),
+('thyk',1860,1),
+('vhug',1860,1),
+('zazt',1860,1),
+('Ael',1863,0),
+('Aez',1863,0),
+('Ang',1863,0),
+('Ban',1863,0),
+('Bet',1863,0),
+('Bro',1863,0),
+('Bry',1863,0),
+('Cat',1863,0),
+('Dir',1863,0),
+('Dis',1863,0),
+('Dom',1863,0),
+('Drus',1863,0),
+('Fie',1863,0),
+('Fier',1863,0),
+('Gly',1863,0),
+('Hel',1863,0),
+('Hes',1863,0),
+('Kal',1863,0),
+('Lyn',1863,0),
+('Mir',1863,0),
+('Nim',1863,0),
+('Sar',1863,0),
+('Sel',1863,0),
+('Vil',1863,0),
+('Zah',1863,0),
+('aith',1863,1),
+('anda',1863,1),
+('antia',1863,1),
+('evere',1863,1),
+('lia',1863,1),
+('lissa',1863,1),
+('neri',1863,1),
+('neth',1863,1),
+('nia',1863,1),
+('nlissa',1863,1),
+('nora',1863,1),
+('nva',1863,1),
+('nys',1863,1),
+('ola',1863,1),
+('ona',1863,1),
+('ora',1863,1),
+('rah',1863,1),
+('riana',1863,1),
+('riel',1863,1),
+('rona',1863,1),
+('tai',1863,1),
+('tevere',1863,1),
+('thea',1863,1),
+('vina',1863,1),
+('wena',1863,1),
+('wyn',1863,1),
+('xia',1863,1),
+('yla',1863,1),
+('yssa',1863,1),
+('Flaa',17252,0),
+('Haa',17252,0),
+('Jhuu',17252,0),
+('Shaa',17252,0),
+('Thoo',17252,0),
+('dhun',17252,1),
+('ghun',17252,1),
+('roon',17252,1),
+('thun',17252,1),
+('tom',17252,1);
diff --git a/sql/updates/6270_mangos_spell_proc_event.sql b/sql/updates/6270_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..a92da067bda
--- /dev/null
+++ b/sql/updates/6270_mangos_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM `spell_proc_event` WHERE `entry` in (31569,31570);
+INSERT INTO `spell_proc_event` VALUES
+(31569,0,0,0,3,0x0000000000010000,0x00004000,0),
+(31570,0,0,0,3,0x0000000000010000,0x00004000,0);
diff --git a/sql/updates/6291_characters_character_pet.sql b/sql/updates/6291_characters_character_pet.sql
new file mode 100644
index 00000000000..f6506595312
--- /dev/null
+++ b/sql/updates/6291_characters_character_pet.sql
@@ -0,0 +1 @@
+ALTER TABLE `character_pet` DROP COLUMN `Commandstate`; \ No newline at end of file
diff --git a/sql/updates/6297_characters_characters.sql b/sql/updates/6297_characters_characters.sql
new file mode 100644
index 00000000000..0072d8345fc
--- /dev/null
+++ b/sql/updates/6297_characters_characters.sql
@@ -0,0 +1,4 @@
+ALTER TABLE characters
+ CHANGE `logout_time` `logout_time` bigint(20) unsigned NOT NULL default '0',
+ DROP `last_honor_date`,
+ DROP `last_kill_date`;
diff --git a/sql/updates/6298_characters_characters.sql b/sql/updates/6298_characters_characters.sql
new file mode 100644
index 00000000000..55485470a03
--- /dev/null
+++ b/sql/updates/6298_characters_characters.sql
@@ -0,0 +1,2 @@
+ALTER TABLE characters
+ ADD COLUMN death_expire_time bigint(20) unsigned NOT NULL default '0' AFTER zone;
diff --git a/sql/updates/6298_characters_corpse.sql b/sql/updates/6298_characters_corpse.sql
new file mode 100644
index 00000000000..0cb34d26be3
--- /dev/null
+++ b/sql/updates/6298_characters_corpse.sql
@@ -0,0 +1,9 @@
+ALTER TABLE corpse
+ CHANGE time time_old timestamp NOT NULL default '0000-00-00 00:00:00',
+ ADD COLUMN time bigint(20) unsigned NOT NULL default '0' AFTER data;
+
+UPDATE corpse
+ SET time = UNIX_TIMESTAMP(time_old);
+
+ALTER TABLE corpse
+ DROP time_old;
diff --git a/sql/updates/6304_mangos_spell_proc_event.sql b/sql/updates/6304_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..02a8e57cd1f
--- /dev/null
+++ b/sql/updates/6304_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM `spell_proc_event` WHERE `entry` = 45059;
+INSERT INTO `spell_proc_event` VALUES
+(45059,0,0,0,0,0x0000000000000000,0x08000000,0);
diff --git a/sql/updates/6308_mangos_command.sql b/sql/updates/6308_mangos_command.sql
new file mode 100644
index 00000000000..9fb1fb423ba
--- /dev/null
+++ b/sql/updates/6308_mangos_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM `command` WHERE `name` IN ('combatstop');
+
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('combatstop',2,'Syntax: .combatstop\r\nStop combat for selected character. If selected non-player then command applied to self.');
diff --git a/sql/updates/6313_mangos_spell_proc_event.sql b/sql/updates/6313_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..164075c2298
--- /dev/null
+++ b/sql/updates/6313_mangos_spell_proc_event.sql
@@ -0,0 +1,12 @@
+DELETE FROM spell_proc_event WHERE entry IN (37982, 37617, 37213, 37237, 37228);
+INSERT INTO spell_proc_event VALUES
+-- Earthstun (Brutal Earthstorm-Diamond)
+(37982,0,0,0,0,0x0000000000000000,0x00000001,0),
+-- Desolation Battlegear 4 pieces
+(37617,0,0,0,0,0x0000000000000000,0x00000001,0),
+-- Shaman Nuker T4 3 pieces
+(37213,0,0,0,11,0x0000000090100007,0x00010000,0),
+-- Shaman Nuker T5 4 pieces
+(37237,0,0,0,11,0x0000000000000001,0x00010000,0),
+-- Shaman Nuker T5 2 pieces
+(37228,0,0,0,11,0x0000000090100007,0x00020000,0);
diff --git a/sql/updates/6314_mangos_command.sql b/sql/updates/6314_mangos_command.sql
new file mode 100644
index 00000000000..c76561ba7ee
--- /dev/null
+++ b/sql/updates/6314_mangos_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM `command` WHERE `name` IN ('combatstop');
+
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('combatstop',2,'Syntax: .combatstop [$playername]\r\nStop combat for selected character. If selected non-player then command applied to self. If $playername provided then attempt applied to online player $playername.');
diff --git a/sql/updates/6324_mangos_creature_template.sql b/sql/updates/6324_mangos_creature_template.sql
new file mode 100644
index 00000000000..84a053e0278
--- /dev/null
+++ b/sql/updates/6324_mangos_creature_template.sql
@@ -0,0 +1 @@
+ALTER TABLE `creature_template` ADD COLUMN `flags_extra` int(10) unsigned NOT NULL default '0' after `mechanic_immune_mask`; \ No newline at end of file
diff --git a/sql/updates/6325_mangos_creature_template.sql b/sql/updates/6325_mangos_creature_template.sql
new file mode 100644
index 00000000000..9b47f8b9236
--- /dev/null
+++ b/sql/updates/6325_mangos_creature_template.sql
@@ -0,0 +1,5 @@
+UPDATE creature_template
+ SET flags_extra = flags_extra | 2 WHERE civilian <> 0;
+
+ALTER TABLE `creature_template`
+ DROP civilian;
diff --git a/sql/updates/6326_characters_corpse.sql b/sql/updates/6326_characters_corpse.sql
new file mode 100644
index 00000000000..0ff3d368e76
--- /dev/null
+++ b/sql/updates/6326_characters_corpse.sql
@@ -0,0 +1,8 @@
+ALTER TABLE corpse
+ ADD COLUMN corpse_type tinyint(3) unsigned NOT NULL default '0' AFTER bones_flag;
+
+UPDATE corpse
+ SET corpse_type = 1 WHERE bones_flag = 0;
+
+ALTER TABLE corpse
+ DROP bones_flag;
diff --git a/sql/updates/6334_mangos_spell_affect.sql b/sql/updates/6334_mangos_spell_affect.sql
new file mode 100644
index 00000000000..215a04d5cd2
--- /dev/null
+++ b/sql/updates/6334_mangos_spell_affect.sql
@@ -0,0 +1,8 @@
+DELETE FROM spell_affect WHERE entry = 34491 AND effectId = 0 LIMIT 1;
+DELETE FROM spell_affect WHERE entry = 34492 AND effectId = 0 LIMIT 1;
+DELETE FROM spell_affect WHERE entry = 34493 AND effectId = 0 LIMIT 1;
+
+INSERT INTO spell_affect ( entry , effectId , SpellFamilyMask ) VALUES
+(34491, 0, 0x4000000000C2),
+(34492, 0, 0x4000000000C2),
+(34493, 0, 0x4000000000C2); \ No newline at end of file
diff --git a/sql/updates/6335_characters_corpse.sql b/sql/updates/6335_characters_corpse.sql
new file mode 100644
index 00000000000..ae1c6abfeec
--- /dev/null
+++ b/sql/updates/6335_characters_corpse.sql
@@ -0,0 +1,5 @@
+ALTER TABLE corpse
+ ADD KEY idx_type (corpse_type);
+
+UPDATE corpse
+ SET corpse_type = 1 WHERE corpse_type = 2;
diff --git a/sql/updates/6351_mangos_spell_proc_event.sql b/sql/updates/6351_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..37e3c84b014
--- /dev/null
+++ b/sql/updates/6351_mangos_spell_proc_event.sql
@@ -0,0 +1,19 @@
+DELETE FROM spell_proc_event WHERE entry IN (17364);
+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
+(17794,0,0,0,0,0x0000000000000000,0x00008000,0),
+(17797,0,0,0,0,0x0000000000000000,0x00008000,0),
+(17798,0,0,0,0,0x0000000000000000,0x00008000,0),
+(17799,0,0,0,0,0x0000000000000000,0x00008000,0),
+(17800,0,0,0,0,0x0000000000000000,0x00008000,0);
+
+DELETE FROM spell_proc_event WHERE entry IN (43823);
+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
+(36576,0,0,0,0,0x0000000000000000,0x00008000,0);
diff --git a/sql/updates/6360_characters_characters.sql b/sql/updates/6360_characters_characters.sql
new file mode 100644
index 00000000000..405682074eb
--- /dev/null
+++ b/sql/updates/6360_characters_characters.sql
@@ -0,0 +1,6 @@
+UPDATE characters SET data = REPLACE(data,' ',' ');
+UPDATE characters SET data = CONCAT(TRIM(data),' ');
+
+UPDATE characters
+SET data=CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',1396),' ',-1396),' ','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_INDEX(SUBSTRING_INDEX(data,' ',1529),' ',-133))
+WHERE SUBSTRING_INDEX(data,' ',1528) = data AND SUBSTRING_INDEX(data,' ',1527) <> data;
diff --git a/sql/updates/6360_characters_corpse.sql b/sql/updates/6360_characters_corpse.sql
new file mode 100644
index 00000000000..d841522a10e
--- /dev/null
+++ b/sql/updates/6360_characters_corpse.sql
@@ -0,0 +1,6 @@
+UPDATE corpse SET data = REPLACE(data,' ',' ');
+UPDATE corpse SET data = CONCAT(TRIM(data),' ');
+
+UPDATE corpse
+SET data=CONCAT(SUBSTRING_INDEX(SUBSTRING_INDEX(`data`,' ',8),' ',-8),' ','0 0',' ',SUBSTRING_INDEX(SUBSTRING_INDEX(data,' ',39),' ',-31))
+WHERE SUBSTRING_INDEX(data,' ',38) = data AND SUBSTRING_INDEX(data,' ',37) <> data;
diff --git a/sql/updates/6362_characters.sql b/sql/updates/6362_characters.sql
new file mode 100644
index 00000000000..761a6ce4c65
--- /dev/null
+++ b/sql/updates/6362_characters.sql
@@ -0,0 +1,34 @@
+TRUNCATE `character_instance`;
+TRUNCATE `instance`;
+
+ALTER TABLE `character_instance`
+ DROP KEY `leader`,
+ DROP PRIMARY KEY,
+ ADD PRIMARY KEY `guid` (`guid`,`instance`),
+ DROP COLUMN `map`,
+ DROP COLUMN `leader`,
+ MODIFY COLUMN `instance` int(11) unsigned NOT NULL default '0',
+ ADD COLUMN `permanent` tinyint(1) unsigned NOT NULL default '0';
+
+ALTER TABLE `instance`
+ ADD COLUMN `difficulty` tinyint(1) unsigned NOT NULL default '0' AFTER `resettime`;
+
+CREATE TABLE `group_instance` (
+ `leaderGuid` int(11) unsigned NOT NULL default '0',
+ `instance` int(11) unsigned NOT NULL default '0',
+ `permanent` tinyint(1) unsigned NOT NULL default '0',
+ PRIMARY KEY (`leaderGuid`,`instance`),
+ KEY `instance` (`instance`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+CREATE TABLE `instance_reset` (
+ `mapid` int(11) unsigned NOT NULL default '0',
+ `resettime` bigint(40) NOT NULL default '0',
+ PRIMARY KEY (`mapid`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8;
+
+ALTER TABLE `groups`
+ ADD COLUMN `difficulty` tinyint(3) unsigned NOT NULL default '0' AFTER `isRaid`;
+
+ALTER TABLE `characters`
+ ADD COLUMN `dungeon_difficulty` tinyint(1) unsigned NOT NULL DEFAULT '0' AFTER `map`; \ No newline at end of file
diff --git a/sql/updates/6362_mangos_instance_template.sql b/sql/updates/6362_mangos_instance_template.sql
new file mode 100644
index 00000000000..f8f4f3c46bb
--- /dev/null
+++ b/sql/updates/6362_mangos_instance_template.sql
@@ -0,0 +1 @@
+UPDATE `instance_template` SET `reset_delay` = 0; \ No newline at end of file
diff --git a/sql/updates/6367_mangos_spell_proc_event.sql b/sql/updates/6367_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..f853306343a
--- /dev/null
+++ b/sql/updates/6367_mangos_spell_proc_event.sql
@@ -0,0 +1 @@
+DELETE FROM spell_proc_event WHERE entry IN (33280,35092,35093,35094);
diff --git a/sql/updates/6369_mangos_spell_affect.sql b/sql/updates/6369_mangos_spell_affect.sql
new file mode 100644
index 00000000000..0d51c00d120
--- /dev/null
+++ b/sql/updates/6369_mangos_spell_affect.sql
@@ -0,0 +1 @@
+DELETE FROM spell_affect WHERE entry = 16824;
diff --git a/sql/updates/6370_mangos_spell_affect.sql b/sql/updates/6370_mangos_spell_affect.sql
new file mode 100644
index 00000000000..460c6141814
--- /dev/null
+++ b/sql/updates/6370_mangos_spell_affect.sql
@@ -0,0 +1,4 @@
+DELETE FROM spell_affect WHERE entry = 8875 AND effectId = 1 LIMIT 1;
+
+INSERT INTO spell_affect ( entry , effectId , SpellFamilyMask ) VALUES
+(8875, 1, 0x40000000000);
diff --git a/sql/updates/6381_mangos_command.sql b/sql/updates/6381_mangos_command.sql
new file mode 100644
index 00000000000..13414b6c33b
--- /dev/null
+++ b/sql/updates/6381_mangos_command.sql
@@ -0,0 +1,4 @@
+DELETE FROM `command` WHERE `name` IN ('quest complete');
+
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('quest complete',3,'Syntax: .quest complete #questid\r\nMark all quest objectives as completed for target character active quest. After this target character can go and get quest reward.');
diff --git a/sql/updates/6387_characters_character_ticket.sql b/sql/updates/6387_characters_character_ticket.sql
new file mode 100644
index 00000000000..72466ee7a53
--- /dev/null
+++ b/sql/updates/6387_characters_character_ticket.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `character_ticket`
+ DROP `ticket_category`;
diff --git a/sql/updates/6387_mangos_mangos_string.sql b/sql/updates/6387_mangos_mangos_string.sql
new file mode 100644
index 00000000000..9216cb92240
--- /dev/null
+++ b/sql/updates/6387_mangos_mangos_string.sql
@@ -0,0 +1,3 @@
+DELETE FROM mangos_string WHERE entry = 290;
+INSERT INTO mangos_string VALUES (290, 'Ticket of %s (Last updated: %s):\n%s', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+
diff --git a/sql/updates/6397_mangos_creature_template.sql b/sql/updates/6397_mangos_creature_template.sql
new file mode 100644
index 00000000000..7bd062f2184
--- /dev/null
+++ b/sql/updates/6397_mangos_creature_template.sql
@@ -0,0 +1 @@
+UPDATE creature_template SET flags_extra = flags_extra | 1 WHERE rank = 3; \ No newline at end of file
diff --git a/sql/updates/6398_mangos_creature_template.sql b/sql/updates/6398_mangos_creature_template.sql
new file mode 100644
index 00000000000..0a1b41cc23b
--- /dev/null
+++ b/sql/updates/6398_mangos_creature_template.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `creature_template`
+ ADD COLUMN `heroic_entry` mediumint(8) unsigned NOT NULL default '0' AFTER entry;
diff --git a/sql/updates/6412_characters_declinedname.sql b/sql/updates/6412_characters_declinedname.sql
new file mode 100644
index 00000000000..50bf21f452d
--- /dev/null
+++ b/sql/updates/6412_characters_declinedname.sql
@@ -0,0 +1,24 @@
+DROP TABLE IF EXISTS `character_declinedname`;
+CREATE TABLE `character_declinedname` (
+ `guid` int(11) unsigned NOT NULL default '0' COMMENT 'Global Unique Identifier',
+ `genitive` varchar(12) NOT NULL default '',
+ `dative` varchar(12) NOT NULL default '',
+ `accusative` varchar(12) NOT NULL default '',
+ `instrumental` varchar(12) NOT NULL default '',
+ `prepositional` varchar(12) NOT NULL default '',
+ PRIMARY KEY (`guid`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+
+DROP TABLE IF EXISTS `character_pet_declinedname`;
+CREATE TABLE `character_pet_declinedname` (
+ `id` int(11) unsigned NOT NULL default '0',
+ `owner` int(11) unsigned NOT NULL default '0',
+ `genitive` varchar(12) NOT NULL default '',
+ `dative` varchar(12) NOT NULL default '',
+ `accusative` varchar(12) NOT NULL default '',
+ `instrumental` varchar(12) NOT NULL default '',
+ `prepositional` varchar(12) NOT NULL default '',
+ PRIMARY KEY (`id`),
+ KEY owner_key (`owner`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
+
diff --git a/sql/updates/6426_mangos_locales.sql b/sql/updates/6426_mangos_locales.sql
new file mode 100644
index 00000000000..0424eaa8e28
--- /dev/null
+++ b/sql/updates/6426_mangos_locales.sql
@@ -0,0 +1,87 @@
+
+ALTER TABLE locales_creature
+ ADD COLUMN name_loc8 varchar(100) NOT NULL default '' AFTER name_loc7,
+ ADD COLUMN subname_loc8 varchar(100) default NULL AFTER subname_loc7;
+
+UPDATE locales_creature SET name_loc8 = name_loc7, subname_loc8 = subname_loc7;
+
+ALTER TABLE locales_gameobject
+ ADD COLUMN name_loc8 varchar(100) NOT NULL default '' AFTER name_loc7,
+ ADD COLUMN castbarcaption_loc8 varchar(100) NOT NULL default '' AFTER castbarcaption_loc7;
+
+UPDATE locales_gameobject SET name_loc8 = name_loc7, castbarcaption_loc8 = castbarcaption_loc7;
+
+ALTER TABLE locales_item
+ ADD COLUMN name_loc8 varchar(100) NOT NULL default '' AFTER name_loc7,
+ ADD COLUMN description_loc8 varchar(255) default NULL AFTER description_loc7;
+
+UPDATE locales_item SET name_loc8 = name_loc7, description_loc8 = description_loc7;
+
+ALTER TABLE locales_page_text
+ ADD COLUMN Text_loc8 longtext AFTER Text_loc7;
+
+UPDATE locales_page_text SET Text_loc8 = Text_loc7;
+
+ALTER TABLE locales_quest
+ ADD COLUMN Title_loc8 text AFTER Title_loc7,
+ ADD COLUMN Details_loc8 text AFTER Details_loc7,
+ ADD COLUMN Objectives_loc8 text AFTER Objectives_loc7,
+ ADD COLUMN OfferRewardText_loc8 text AFTER OfferRewardText_loc7,
+ ADD COLUMN RequestItemsText_loc8 text AFTER RequestItemsText_loc7,
+ ADD COLUMN EndText_loc8 text AFTER EndText_loc7,
+ ADD COLUMN ObjectiveText1_loc8 text AFTER ObjectiveText1_loc7,
+ ADD COLUMN ObjectiveText2_loc8 text AFTER ObjectiveText2_loc7,
+ ADD COLUMN ObjectiveText3_loc8 text AFTER ObjectiveText3_loc7,
+ ADD COLUMN ObjectiveText4_loc8 text AFTER ObjectiveText4_loc7;
+
+UPDATE locales_quest SET Title_loc8 = Title_loc7,
+ Details_loc8 = Details_loc7,
+ Objectives_loc8 = Objectives_loc7,
+ OfferRewardText_loc8 = OfferRewardText_loc7,
+ RequestItemsText_loc8 = RequestItemsText_loc7,
+ EndText_loc8 = EndText_loc7,
+ ObjectiveText1_loc8 = ObjectiveText1_loc7,
+ ObjectiveText2_loc8 = ObjectiveText2_loc7,
+ ObjectiveText3_loc8 = ObjectiveText3_loc7,
+ ObjectiveText4_loc8 = ObjectiveText4_loc7;
+
+ALTER TABLE locales_npc_text
+ ADD COLUMN Text0_0_loc8 longtext AFTER Text0_0_loc7,
+ ADD COLUMN Text0_1_loc8 longtext AFTER Text0_1_loc7,
+ ADD COLUMN Text1_0_loc8 longtext AFTER Text1_0_loc7,
+ ADD COLUMN Text1_1_loc8 longtext AFTER Text1_1_loc7,
+ ADD COLUMN Text2_0_loc8 longtext AFTER Text2_0_loc7,
+ ADD COLUMN Text2_1_loc8 longtext AFTER Text2_1_loc7,
+ ADD COLUMN Text3_0_loc8 longtext AFTER Text3_0_loc7,
+ ADD COLUMN Text3_1_loc8 longtext AFTER Text3_1_loc7,
+ ADD COLUMN Text4_0_loc8 longtext AFTER Text4_0_loc7,
+ ADD COLUMN Text4_1_loc8 longtext AFTER Text4_1_loc7,
+ ADD COLUMN Text5_0_loc8 longtext AFTER Text5_0_loc7,
+ ADD COLUMN Text5_1_loc8 longtext AFTER Text5_1_loc7,
+ ADD COLUMN Text6_0_loc8 longtext AFTER Text6_0_loc7,
+ ADD COLUMN Text6_1_loc8 longtext AFTER Text6_1_loc7,
+ ADD COLUMN Text7_0_loc8 longtext AFTER Text7_0_loc7,
+ ADD COLUMN Text7_1_loc8 longtext AFTER Text7_1_loc7;
+
+UPDATE locales_npc_text SET Text0_0_loc8 = Text0_0_loc7,
+ Text0_1_loc8 = Text0_1_loc7,
+ Text1_0_loc8 = Text1_0_loc7,
+ Text1_1_loc8 = Text1_1_loc7,
+ Text2_0_loc8 = Text2_0_loc7,
+ Text2_1_loc8 = Text2_1_loc7,
+ Text3_0_loc8 = Text3_0_loc7,
+ Text3_1_loc8 = Text3_1_loc7,
+ Text4_0_loc8 = Text4_0_loc7,
+ Text4_1_loc8 = Text4_1_loc7,
+ Text5_0_loc8 = Text5_0_loc7,
+ Text5_1_loc8 = Text5_1_loc7,
+ Text6_0_loc8 = Text6_0_loc7,
+ Text6_1_loc8 = Text6_1_loc7,
+ Text7_0_loc8 = Text7_0_loc7,
+ Text7_1_loc8 = Text7_1_loc7;
+
+ALTER TABLE mangos_string
+ ADD COLUMN content_loc8 text AFTER content_loc7;
+
+UPDATE mangos_string SET content_loc8 = content_loc7;
+
diff --git a/sql/updates/6426_realmd_localization.sql b/sql/updates/6426_realmd_localization.sql
new file mode 100644
index 00000000000..40cd288b87d
--- /dev/null
+++ b/sql/updates/6426_realmd_localization.sql
@@ -0,0 +1 @@
+DROP TABLE localization;
diff --git a/sql/updates/6431_mangos_mangos_string.sql b/sql/updates/6431_mangos_mangos_string.sql
new file mode 100644
index 00000000000..27d3e2b26a8
--- /dev/null
+++ b/sql/updates/6431_mangos_mangos_string.sql
@@ -0,0 +1,5 @@
+DELETE FROM mangos_string WHERE entry IN (518,521);
+INSERT INTO mangos_string VALUES
+(518,'%d - |cffffffff|Hitemset:%d|h[%s %s]|h|r ',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(521,'%d - |cffffffff|Hskill:%d|h[%s %s]|h|r %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+
diff --git a/sql/updates/6439_mangos_command.sql b/sql/updates/6439_mangos_command.sql
new file mode 100644
index 00000000000..3e0587e9aed
--- /dev/null
+++ b/sql/updates/6439_mangos_command.sql
@@ -0,0 +1,7 @@
+DELETE FROM `command` WHERE `name` IN ('cast','cast back','cast self','cast target');
+
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('cast',3,'Syntax: .cast #spellid [triggered]\r\n Cast #spellid to selected target. If no target selected cast to self. If \'trigered\' or part provided then spell casted with triggered flag.'),
+('cast back',3,'Syntax: .cast back #spellid [triggered]\r\n Selected target will cast #spellid to your character. If \'trigered\' or part provided then spell casted with triggered flag.'),
+('cast self',3,'Syntax: .cast self #spellid [triggered]\r\nCast #spellid by target at target itself. If \'trigered\' or part provided then spell casted with triggered flag.'),
+('cast target',3,'Syntax: .cast target #spellid [triggered]\r\n Selected target will cast #spellid to his victim. If \'trigered\' or part provided then spell casted with triggered flag.');
diff --git a/sql/updates/6456_mangos_command.sql b/sql/updates/6456_mangos_command.sql
new file mode 100644
index 00000000000..da496969c59
--- /dev/null
+++ b/sql/updates/6456_mangos_command.sql
@@ -0,0 +1,7 @@
+DELETE FROM `command` WHERE `name` IN ('instance unbind','instance listbinds','instance stats','instance savedata');
+
+INSERT INTO `command` (`name`,`security`,`help`) VALUES
+('instance unbind',3,'Syntax: .instance unbind all\r\n All of the selected player\'s binds will be cleared.'),
+('instance listbinds',3,'Syntax: .instance listbinds\r\n Lists the binds of the selected player.'),
+('instance stats',3,'Syntax: .instance stats\r\n Shows statistics about instances.'),
+('instance savedata',3,'Syntax: .instance savedata\r\n Save the InstanceData for the current player\'s map to the DB.');
diff --git a/sql/updates/6472_realmd_account.sql b/sql/updates/6472_realmd_account.sql
new file mode 100644
index 00000000000..67ef4ce0164
--- /dev/null
+++ b/sql/updates/6472_realmd_account.sql
@@ -0,0 +1,2 @@
+ALTER TABLE account
+ CHARSET=utf8 COLLATE=utf8_general_ci;
diff --git a/sql/updates/6492_mangos_spell_chain.sql b/sql/updates/6492_mangos_spell_chain.sql
new file mode 100644
index 00000000000..840aa7cdb7a
--- /dev/null
+++ b/sql/updates/6492_mangos_spell_chain.sql
@@ -0,0 +1,36 @@
+ALTER TABLE spell_chain
+ ADD COLUMN req_spell mediumint(9) NOT NULL default '0';
+
+DELETE FROM `spell_chain` WHERE `spell_id` IN (20217,25898,25890,27145,25782,25916,27141,1038,25895,25899,27169,25894,25918,27143,16689,16810,16811,16812,16813,17329,27009);
+INSERT INTO `spell_chain` (spell_id,prev_spell,first_spell,rank,req_spell) VALUES
+/* Greater Blessing of Kings */
+(20217,0,20217,1,0),
+(25898,0,25898,1,20217),
+/* Greater Blessing of Light */
+(25890,0,25890,1,19979),
+(27145,25890,25890,2,27144),
+/* Greater Blessing of Might */
+(25782,0,25782,1,19838),
+(25916,25782,25782,2,25291),
+(27141,25916,25782,3,27140),
+/* Greater Blessing of Salvation */
+(1038,0,1038,1,0),
+(25895,0,25895,1,1038),
+/* Greater Blessing of Sanctuary */
+(25899,0,25899,1,20914),
+(27169,25899,25899,2,27168),
+/* Greater Blessing of Wisdom */
+(25894,0,25894,1,19854),
+(25918,25894,25894,2,25290),
+(27143,25918,25894,3,27142),
+/* Nature's Grasp */
+(16689,0,16689,1,339),
+(16810,16689,16689,2,1062),
+(16811,16810,16689,3,5195),
+(16812,16811,16689,4,5196),
+(16813,16812,16689,5,9852),
+(17329,16813,16689,6,9853),
+(27009,17329,16689,7,26989);
+
+
+
diff --git a/sql/updates/6496_mangos_spell_pet_auras.sql b/sql/updates/6496_mangos_spell_pet_auras.sql
new file mode 100644
index 00000000000..152730a5a70
--- /dev/null
+++ b/sql/updates/6496_mangos_spell_pet_auras.sql
@@ -0,0 +1,56 @@
+--
+-- Table structure for table `spell_pet_auras`
+--
+
+DROP TABLE IF EXISTS `spell_pet_auras`;
+CREATE TABLE `spell_pet_auras` (
+ `spell` mediumint(8) unsigned NOT NULL COMMENT 'dummy spell id',
+ `pet` mediumint(8) unsigned NOT NULL default '0' COMMENT 'pet id; 0 = all',
+ `aura` mediumint(8) unsigned NOT NULL COMMENT 'pet aura id',
+ PRIMARY KEY (`spell`,`pet`)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1;
+
+--
+-- Dumping data for table `spell_pet_auras`
+--
+
+LOCK TABLES `spell_pet_auras` WRITE;
+/*!40000 ALTER TABLE `spell_pet_auras` DISABLE KEYS */;
+INSERT INTO `spell_pet_auras` VALUES
+(19028, 0, 25228),
+(19578, 0, 19579),
+(20895, 0, 24529),
+(28757, 0, 28758),
+(35029, 0, 35060),
+(35030, 0, 35061),
+(35691, 0, 35696),
+(35692, 0, 35696),
+(35693, 0, 35696),
+(23785, 416, 23759),
+(23822, 416, 23826),
+(23823, 416, 23827),
+(23824, 416, 23828),
+(23825, 416, 23829),
+(23785, 417, 23762),
+(23822, 417, 23837),
+(23823, 417, 23838),
+(23824, 417, 23839),
+(23825, 417, 23840),
+(23785, 1860, 23760),
+(23822, 1860, 23841),
+(23823, 1860, 23842),
+(23824, 1860, 23843),
+(23825, 1860, 23844),
+(23785, 1863, 23761),
+(23822, 1863, 23833),
+(23823, 1863, 23834),
+(23824, 1863, 23835),
+(23825, 1863, 23836),
+(23785, 17252, 35702),
+(23822, 17252, 35703),
+(23823, 17252, 35704),
+(23824, 17252, 35705),
+(23825, 17252, 35706);
+
+/*!40000 ALTER TABLE `spell_pet_auras` ENABLE KEYS */;
+UNLOCK TABLES; \ No newline at end of file
diff --git a/sql/updates/6506_mangos_spell_proc_event.sql b/sql/updates/6506_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..363274d51f0
--- /dev/null
+++ b/sql/updates/6506_mangos_spell_proc_event.sql
@@ -0,0 +1,7 @@
+DELETE FROM spell_proc_event WHERE entry IN (34138,42370,43728,46098);
+
+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),
+(46098,0,0,0,11,0x0000000000000080,0x08000000,0);
diff --git a/sql/updates/6509_mangos_command.sql b/sql/updates/6509_mangos_command.sql
new file mode 100644
index 00000000000..408b98e7628
--- /dev/null
+++ b/sql/updates/6509_mangos_command.sql
@@ -0,0 +1,3 @@
+DELETE IGNORE FROM `command` WHERE `name` = 'learn all_recipes';
+INSERT IGNORE INTO `command` (`name`,`security`,`help`) VALUES
+('learn all_recipes',2,'Syntax: .learn all_recipes [$profession]\r\rLearns all recipes of specified profession and sets skill level to max.\rExample: .learn all_recipes enchanting');
diff --git a/sql/updates/6509_mangos_mangos_string.sql b/sql/updates/6509_mangos_mangos_string.sql
new file mode 100644
index 00000000000..5c6590e3aa5
--- /dev/null
+++ b/sql/updates/6509_mangos_mangos_string.sql
@@ -0,0 +1,4 @@
+DELETE FROM mangos_string WHERE entry IN (592);
+INSERT INTO mangos_string VALUES
+(592,'You have learned all spells in craft: %s',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+
diff --git a/sql/updates/6513_mangos_command.sql b/sql/updates/6513_mangos_command.sql
new file mode 100644
index 00000000000..a9b9d566a84
--- /dev/null
+++ b/sql/updates/6513_mangos_command.sql
@@ -0,0 +1,3 @@
+DELETE IGNORE FROM `command` WHERE `name` = 'cast dist';
+INSERT IGNORE INTO `command` (`name`,`security`,`help`) VALUES
+('cast dist',3,'Syntax: .cast dist #spellid [#dist [triggered]]\r\n You will cast spell to pint at distance #dist. If \'trigered\' or part provided then spell casted with triggered flag. Not all spells can be casted as area spells.');
diff --git a/sql/updates/6515_mangos_spell_proc_event.sql b/sql/updates/6515_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..1609e37d462
--- /dev/null
+++ b/sql/updates/6515_mangos_spell_proc_event.sql
@@ -0,0 +1,4 @@
+DELETE FROM spell_proc_event WHERE entry IN(45355,45040);
+INSERT INTO spell_proc_event VALUES
+(45040,0,0,0,0,0x0000000000000000,0x00080001,0),
+(45355,0,0,0,0,0x0000000000000000,0x00080001,0);
diff --git a/sql/updates/6521_mangos_spell_proc_event.sql b/sql/updates/6521_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..97231e76bd5
--- /dev/null
+++ b/sql/updates/6521_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM spell_proc_event WHERE entry IN(41260);
+INSERT INTO `spell_proc_event` VALUES
+(41260,0,0,0,0,0x0000000000000000,0x00000004,0);
diff --git a/sql/updates/6523_mangos_spell_proc_event.sql b/sql/updates/6523_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..f9d93bbd94b
--- /dev/null
+++ b/sql/updates/6523_mangos_spell_proc_event.sql
@@ -0,0 +1,10 @@
+DELETE FROM `spell_proc_event` WHERE `entry` IN (11185,12487,12488,19572,19573,28716,28744);
+INSERT INTO `spell_proc_event` (`entry`, `SchoolMask`, `Category`, `SkillID`, `SpellFamilyName`, `SpellFamilyMask`, `procFlags`, `ppmRate`)
+ VALUES
+ (11185, 0, 0, 0, 3, 0x0000000000000080, 0x00020000, 0),
+ (12487, 0, 0, 0, 3, 0x0000000000000080, 0x00020000, 0),
+ (12488, 0, 0, 0, 3, 0x0000000000000080, 0x00020000, 0),
+ (19572, 0, 0, 0, 9, 0x0000000000800000, 0x08000000, 0),
+ (19573, 0, 0, 0, 9, 0x0000000000800000, 0x08000000, 0),
+ (28716, 0, 0, 0, 7, 0x0000000000000010, 0x08000000, 0),
+ (28744, 0, 0, 0, 7, 0x0000000000000040, 0x08000000, 0);
diff --git a/sql/updates/6528_mangos_spell_affect.sql b/sql/updates/6528_mangos_spell_affect.sql
new file mode 100644
index 00000000000..5ff9a8182ff
--- /dev/null
+++ b/sql/updates/6528_mangos_spell_affect.sql
@@ -0,0 +1,3 @@
+DELETE FROM spell_affect WHERE entry IN (43743);
+INSERT INTO spell_affect VALUES
+(43743,1,0x0000000008000400);
diff --git a/sql/updates/6528_mangos_spell_proc_event.sql b/sql/updates/6528_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..ff266cad2d6
--- /dev/null
+++ b/sql/updates/6528_mangos_spell_proc_event.sql
@@ -0,0 +1,85 @@
+ALTER TABLE spell_proc_event
+ ADD COLUMN cooldown int(10) unsigned NOT NULL default '0';
+
+DELETE FROM spell_proc_event WHERE entry IN (324,325,905,945,974,8134,10431,10432,16620,18137,
+19308,19309,19310,19311,19312,21185,23552,24398,24932,25469,25472,25477,29441,29444,29445,29446,
+29447,30881,30883,30884,30885,30886,32593,32594,32734,32837,33736,33746,33757,33759,34355,34935,
+34938,34939,34827,35077,35080,35083,35086,37173,37189,37197,37227,37655,38334,39027,39958,40899,
+41260,41262,42135,42136,43737,45054,45057,45354,45481,45482,45483,45484,46569);
+
+INSERT INTO spell_proc_event (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate, cooldown) VALUES
+(324,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(325,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(905,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(945,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(974,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(8134,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(10431,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(10432,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(16620,0,0,0,0,0x0000000000000000,0x00100402,0,30),
+(18137,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(19308,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(19309,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(19310,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(19311,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(19312,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(21185,0,0,0,0,0x0000000000000000,0x00000004,0,10),
+(23552,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(24398,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(24932,0,0,0,0,0x0000000000000000,0x00001000,0,6),
+(25469,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(25472,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(25477,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(29441,0,0,0,0,0x0000000000000000,0x01000000,0,1),
+(29444,0,0,0,0,0x0000000000000000,0x01000000,0,1),
+(29445,0,0,0,0,0x0000000000000000,0x01000000,0,1),
+(29446,0,0,0,0,0x0000000000000000,0x01000000,0,1),
+(29447,0,0,0,0,0x0000000000000000,0x01000000,0,1),
+(30881,0,0,0,0,0x0000000000000000,0x00008000,0,5),
+(30883,0,0,0,0,0x0000000000000000,0x00008000,0,5),
+(30884,0,0,0,0,0x0000000000000000,0x00008000,0,5),
+(30885,0,0,0,0,0x0000000000000000,0x00008000,0,5),
+(30886,0,0,0,0,0x0000000000000000,0x00008000,0,5),
+(32593,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(32594,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(32734,0,0,0,0,0x0000000000000000,0x00000002,0,3),
+(32837,0,0,0,0,0x0000000000000000,0x00004000,0,45),
+(33736,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(33746,0,0,0,0,0x0000000000000000,0x00000004,0,10),
+(33757,0,0,0,0,0x0000000000000000,0x00000001,0,3),
+(33759,0,0,0,0,0x0000000000000000,0x00000004,0,10),
+(34355,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(34935,0,0,0,0,0x0000000000000000,0x00000002,0,8),
+(34938,0,0,0,0,0x0000000000000000,0x00000002,0,8),
+(34939,0,0,0,0,0x0000000000000000,0x00000002,0,8),
+(34827,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(35077,0,0,0,0,0x0000000000000000,0x00008000,0,60),
+(35080,0,0,0,0,0x0000000000000000,0x00000001,0,60),
+(35083,0,0,0,0,0x0000000000000000,0x00020000,0,60),
+(35086,0,0,0,0,0x0000000000000000,0x08020000,0,60),
+(37173,0,0,0,8,0x000001062CBC0598,0x000A0001,0,30),
+(37189,0,0,0,10,0x0000000000006000,0x10000000,0,60),
+(37197,0,0,0,0,0x0000000000000000,0x00004000,0,45),
+(37227,0,0,0,11,0x00000000000001C0,0x10000000,0,60),
+(37655,0,0,0,0,0x0000000000000000,0x00004000,0,60),
+(38334,0,0,0,0,0x0000000000000000,0x00004000,0,60),
+(39027,0,0,0,0,0x0000000000000000,0x00100402,0,3),
+(39958,0,0,0,0,0x0000000000000000,0x00000001,0.7,40),
+(40899,0,0,0,0,0x0000000000000000,0x00000001,0,3),
+(41260,0,0,0,0,0x0000000000000000,0x00000004,0,10),
+(41262,0,0,0,0,0x0000000000000000,0x00000004,0,10),
+(42135,0,0,0,7,0x0000044000000000,0x00100402,0,90),
+(42136,0,0,0,7,0x0000044000000000,0x00100402,0,90),
+(43737,0,0,0,7,0x0000044000000000,0x00000001,0,10),
+(45054,0,0,0,0,0x0000000000000000,0x00020000,0,15),
+(45057,0,0,0,0,0x0000000000000000,0x00000002,0,30),
+(45354,0,0,0,0,0x0000000000000000,0x00000001,0,45),
+(45481,0,0,0,0,0x0000000000000000,0x08020000,0,45),
+(45482,0,0,0,0,0x0000000000000000,0x00080001,0,45),
+(45483,0,0,0,0,0x0000000000000000,0x00080001,0,45),
+(45484,0,0,0,0,0x0000000000000000,0x08000000,0,45),
+(46569,0,0,0,0,0x0000000000000000,0x00004000,0,45);
+
+DELETE FROM spell_proc_event WHERE entry IN (43741);
+INSERT INTO spell_proc_event (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate, cooldown) VALUES
+(43741,0,0,0,10,0x0000000080000000,0x00004000,0,0);
diff --git a/sql/updates/6538_mangos_spell_proc_event.sql b/sql/updates/6538_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..f757fd77fac
--- /dev/null
+++ b/sql/updates/6538_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM spell_proc_event WHERE entry IN(34774);
+INSERT INTO `spell_proc_event` VALUES
+(34774,0,0,0,0,0x0000000000000000,0x00080001,1.5,20);
diff --git a/sql/updates/6540_mangos_spell_proc_event.sql b/sql/updates/6540_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..cd9784cf938
--- /dev/null
+++ b/sql/updates/6540_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM spell_proc_event WHERE entry IN(38319);
+INSERT INTO `spell_proc_event` VALUES
+(38319,0,0,0,0,0x0000000000000000,0x00004000,0,0);
diff --git a/sql/updates/6544_mangos_spell_proc_event.sql b/sql/updates/6544_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..835ae6dc39c
--- /dev/null
+++ b/sql/updates/6544_mangos_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM spell_proc_event WHERE entry IN (13983, 14070, 14071);
+INSERT INTO `spell_proc_event` VALUES
+(13983,0,0,0,0,0x0000000000000000,0x01000010,0,0),
+(14070,0,0,0,0,0x0000000000000000,0x01000010,0,0),
+(14071,0,0,0,0,0x0000000000000000,0x01000010,0,0);
diff --git a/sql/updates/6545_mangos_command.sql b/sql/updates/6545_mangos_command.sql
new file mode 100644
index 00000000000..a6681fd230f
--- /dev/null
+++ b/sql/updates/6545_mangos_command.sql
@@ -0,0 +1,7 @@
+DELETE FROM `command` WHERE name IN ('idleshutdown','info','shutdown','server info','server shutdown','server restart','server idleshutdown','server idlerestart');
+INSERT INTO `command` VALUES
+('server info',0,'Syntax: .server info\r\n\r\nDisplay server version and the number of connected players.'),
+('server shutdown',3,'Syntax: .server shutdown seconds\r\n\r\nShut the server down after given seconds and show "Off server in X" or cancel the restart/shutdown if cancel value is used.'),
+('server restart',3,'Syntax: .server restart seconds\r\n\r\nRestart the server after given seconds and show "Restart server in X" or cancel the restart/shutdown if cancel value is used.'),
+('server idleshutdown',3,'Syntax: .server idleshutdown #delay|cancel\r\n\r\nShut the server down after #delay seconds if no active connections are present (no players) or cancel the restart/shutdown if cancel value is used.'),
+('server idlerestart',3,'Syntax: .server idlerestart #delay|cancel\r\n\r\nRestart the server after #delay seconds if no active connections are present (no players) or cancel the restart/shutdown if cancel value is used.');
diff --git a/sql/updates/6557_mangos_command.sql b/sql/updates/6557_mangos_command.sql
new file mode 100644
index 00000000000..6881466792c
--- /dev/null
+++ b/sql/updates/6557_mangos_command.sql
@@ -0,0 +1,3 @@
+DELETE FROM command WHERE name = 'npc delete';
+INSERT INTO `command` VALUES
+('npc delete',2,'Syntax: .npc delete [#guid]\r\n\r\nDelete creature with guid #guid (or the selected if no guid is provided)');
diff --git a/sql/updates/6574_mangos_spell_proc_event.sql b/sql/updates/6574_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..7a09512f7b8
--- /dev/null
+++ b/sql/updates/6574_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM spell_proc_event WHERE entry IN (41989);
+INSERT INTO `spell_proc_event` VALUES
+(41989,0,0,0,0,0x0000000000000000,0x00000001,3,0);
diff --git a/sql/updates/6585_mangos_command.sql b/sql/updates/6585_mangos_command.sql
new file mode 100644
index 00000000000..123d102ba3b
--- /dev/null
+++ b/sql/updates/6585_mangos_command.sql
@@ -0,0 +1,3 @@
+DELETE FROM command WHERE name = 'reload config';
+INSERT INTO `command` VALUES
+('reload config',3,'Syntax: .reload config\r\n\r\nReload config settings (by default stored in mangosd.conf). Not all settings can be change at reload: some new setting values will be ignored until restart, some values will applied with delay or only to new objects/maps, some values will explicitly rejected to change at reload.');
diff --git a/sql/updates/6588_mangos_spell_proc_event.sql b/sql/updates/6588_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..083a3524c71
--- /dev/null
+++ b/sql/updates/6588_mangos_spell_proc_event.sql
@@ -0,0 +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
+(41434,0,0,0,0,0x0000000000000000,0x00000001,2,45);
diff --git a/sql/updates/6596_characters_arena_team.sql b/sql/updates/6596_characters_arena_team.sql
new file mode 100644
index 00000000000..0e8afd58926
--- /dev/null
+++ b/sql/updates/6596_characters_arena_team.sql
@@ -0,0 +1,10 @@
+ALTER TABLE arena_team CHANGE EmblemStyle _BackgroundColor int(10) unsigned NOT NULL default '0';
+ALTER TABLE arena_team CHANGE EmblemColor _EmblemStyle int(10) unsigned NOT NULL default '0';
+ALTER TABLE arena_team CHANGE BorderStyle _EmblemColor int(10) unsigned NOT NULL default '0';
+ALTER TABLE arena_team CHANGE BorderColor _BorderStyle int(10) unsigned NOT NULL default '0';
+ALTER TABLE arena_team CHANGE BackgroundColor _BorderColor int(10) unsigned NOT NULL default '0';
+ALTER TABLE arena_team CHANGE _BackgroundColor BackgroundColor int(10) unsigned NOT NULL default '0';
+ALTER TABLE arena_team CHANGE _EmblemStyle EmblemStyle int(10) unsigned NOT NULL default '0';
+ALTER TABLE arena_team CHANGE _EmblemColor EmblemColor int(10) unsigned NOT NULL default '0';
+ALTER TABLE arena_team CHANGE _BorderStyle BorderStyle int(10) unsigned NOT NULL default '0';
+ALTER TABLE arena_team CHANGE _BorderColor BorderColor int(10) unsigned NOT NULL default '0'; \ No newline at end of file
diff --git a/sql/updates/6598_character_spell.sql b/sql/updates/6598_character_spell.sql
new file mode 100644
index 00000000000..bd5f6fdce84
--- /dev/null
+++ b/sql/updates/6598_character_spell.sql
@@ -0,0 +1,2 @@
+ALTER TABLE `character_spell`
+ ADD COLUMN `disabled` tinyint(3) unsigned NOT NULL default '0';
diff --git a/sql/updates/6609_mangos_mangos_string.sql b/sql/updates/6609_mangos_mangos_string.sql
new file mode 100644
index 00000000000..be7814d96da
--- /dev/null
+++ b/sql/updates/6609_mangos_mangos_string.sql
@@ -0,0 +1,3 @@
+DELETE FROM mangos_string WHERE entry = 170;
+INSERT INTO mangos_string VALUES
+(170,'You try to hear sound %u but it doesn\'t exist.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/6613_mangos_mangos_string.sql b/sql/updates/6613_mangos_mangos_string.sql
new file mode 100644
index 00000000000..4b1635f4974
--- /dev/null
+++ b/sql/updates/6613_mangos_mangos_string.sql
@@ -0,0 +1,11 @@
+DELETE FROM `mangos_string` WHERE entry = 636;
+INSERT INTO `mangos_string` VALUES
+(636,'The Battle for Eye of the Storm begins in 1 minute.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+
+DELETE FROM `mangos_string` WHERE entry = 637;
+INSERT INTO `mangos_string` VALUES
+(637,'The Battle for Eye of the Storm begins in 30 seconds.',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
+
+DELETE FROM `mangos_string` WHERE entry = 638;
+INSERT INTO `mangos_string` VALUES
+(638,'The Battle for Eye of the Storm has begun!',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/6627_mangos_creature_movement.sql b/sql/updates/6627_mangos_creature_movement.sql
new file mode 100644
index 00000000000..05aa78e1240
--- /dev/null
+++ b/sql/updates/6627_mangos_creature_movement.sql
@@ -0,0 +1 @@
+ALTER TABLE creature_movement MODIFY COLUMN id int(10) unsigned NOT NULL COMMENT 'Creature GUID'; \ No newline at end of file
diff --git a/sql/updates/6640_mangos_reference_loot_template.sql b/sql/updates/6640_mangos_reference_loot_template.sql
new file mode 100644
index 00000000000..612af99309b
--- /dev/null
+++ b/sql/updates/6640_mangos_reference_loot_template.sql
@@ -0,0 +1,27 @@
+--
+-- Table structure for table `reference_loot_template`
+--
+
+DROP TABLE IF EXISTS `reference_loot_template`;
+CREATE TABLE `reference_loot_template` (
+ `entry` mediumint(8) unsigned NOT NULL default '0',
+ `item` mediumint(8) unsigned NOT NULL default '0',
+ `ChanceOrQuestChance` float NOT NULL default '100',
+ `groupid` tinyint(3) unsigned NOT NULL default '0',
+ `mincountOrRef` mediumint(9) NOT NULL default '1',
+ `maxcount` tinyint(3) unsigned NOT NULL default '1',
+ `lootcondition` tinyint(3) unsigned NOT NULL default '0',
+ `condition_value1` mediumint(8) unsigned NOT NULL default '0',
+ `condition_value2` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY (`entry`,`item`)
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Loot System';
+
+--
+-- Dumping data for table `reference_loot_template`
+--
+
+LOCK TABLES `reference_loot_template` WRITE;
+/*!40000 ALTER TABLE `reference_loot_template` DISABLE KEYS */;
+/*!40000 ALTER TABLE `reference_loot_template` ENABLE KEYS */;
+UNLOCK TABLES;
+
diff --git a/sql/updates/6642_characters_declinedname.sql b/sql/updates/6642_characters_declinedname.sql
new file mode 100644
index 00000000000..a81690de274
--- /dev/null
+++ b/sql/updates/6642_characters_declinedname.sql
@@ -0,0 +1,6 @@
+ALTER TABLE character_declinedname
+ MODIFY COLUMN genitive varchar(15) NOT NULL default '',
+ MODIFY COLUMN dative varchar(15) NOT NULL default '',
+ MODIFY COLUMN accusative varchar(15) NOT NULL default '',
+ MODIFY COLUMN instrumental varchar(15) NOT NULL default '',
+ MODIFY COLUMN prepositional varchar(15) NOT NULL default '';
diff --git a/sql/updates/6668_mangos_spell_proc_event.sql b/sql/updates/6668_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..f6ebc5edb9d
--- /dev/null
+++ b/sql/updates/6668_mangos_spell_proc_event.sql
@@ -0,0 +1,5 @@
+DELETE FROM spell_proc_event WHERE entry IN (42135,42136);
+
+INSERT INTO spell_proc_event (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate, cooldown) VALUES
+(42135,0,0,0,0,0x0000000000000000,0x00100402,0,90),
+(42136,0,0,0,0,0x0000000000000000,0x00100402,0,90);
diff --git a/sql/updates/6673_mangos_areatrigger_scripts.sql b/sql/updates/6673_mangos_areatrigger_scripts.sql
new file mode 100644
index 00000000000..91d3cc6d9b5
--- /dev/null
+++ b/sql/updates/6673_mangos_areatrigger_scripts.sql
@@ -0,0 +1,7 @@
+DROP TABLE IF EXISTS `areatrigger_scripts`;
+CREATE TABLE `areatrigger_scripts` (
+ `entry` MEDIUMINT( 8 ) NOT NULL ,
+ `ScriptName` CHAR( 64 ) NOT NULL ,
+ PRIMARY KEY ( `entry` )
+) ENGINE = MYISAM DEFAULT CHARSET=utf8;
+
diff --git a/sql/updates/6676_mangos_spell_proc_event.sql b/sql/updates/6676_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..2a81a9f3b20
--- /dev/null
+++ b/sql/updates/6676_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM spell_proc_event where entry = 37447;
+INSERT INTO spell_proc_event (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate, cooldown) VALUES
+(37447,0,0,0,3,0x0000010000000000,0x00004000,0,0);
diff --git a/sql/updates/6681_mangos_mangos_string.sql b/sql/updates/6681_mangos_mangos_string.sql
new file mode 100644
index 00000000000..1c66abd53ae
--- /dev/null
+++ b/sql/updates/6681_mangos_mangos_string.sql
@@ -0,0 +1,5 @@
+DELETE FROM `mangos_string` WHERE entry IN (3,711,712);
+INSERT INTO `mangos_string` VALUES
+(3,'|cffff0000[System Message]: %s|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(711,'Queue status for %s (Lvl: %u to %u)\nQueued alliances: %u (Need at least %u more)\nQueued hordes: %u (Need at least %u more)',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL),
+(712,'|cffff0000[BG Queue Announcer]:|r %s -- [%u-%u] A: %u (Need: %u), H: %u (Needs %u)|r',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
diff --git a/sql/updates/6691_mangos_spell_proc_event.sql b/sql/updates/6691_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..cbd57317b80
--- /dev/null
+++ b/sql/updates/6691_mangos_spell_proc_event.sql
@@ -0,0 +1,3 @@
+DELETE FROM spell_proc_event where entry = 37247;
+INSERT INTO spell_proc_event (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate, cooldown) VALUES
+(37247,8,0,0,0,0x0000000000000000,0x00004000,0,45);
diff --git a/sql/updates/6693_mangos_spell_affect.sql b/sql/updates/6693_mangos_spell_affect.sql
new file mode 100644
index 00000000000..ea0fb9e96c9
--- /dev/null
+++ b/sql/updates/6693_mangos_spell_affect.sql
@@ -0,0 +1,3 @@
+DELETE FROM spell_affect WHERE entry = '12606';
+INSERT INTO spell_affect (entry, effectId, SpellFamilyMask) VALUES
+(12606,0,0x0000000000002000);
diff --git a/sql/updates/6693_mangos_spell_proc_event.sql b/sql/updates/6693_mangos_spell_proc_event.sql
new file mode 100644
index 00000000000..fa4df63d537
--- /dev/null
+++ b/sql/updates/6693_mangos_spell_proc_event.sql
@@ -0,0 +1,11 @@
+DELETE FROM spell_proc_event where entry = 44604;
+INSERT INTO spell_proc_event (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate, cooldown) VALUES
+(44604,0,0,0,0,0x0000000000000000,0x00004000,0,0);
+
+DELETE FROM spell_proc_event where entry = 44599;
+INSERT INTO spell_proc_event (entry, SchoolMask, Category, SkillID, SpellFamilyName, SpellFamilyMask, procFlags, ppmRate, cooldown) VALUES
+(44599,0,0,0,0,0x0000000000000000,0x00000001,0,5);
+
+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);
diff --git a/sql/updates/6698_characters_character_tutorial.sql b/sql/updates/6698_characters_character_tutorial.sql
new file mode 100644
index 00000000000..78b6913fa48
--- /dev/null
+++ b/sql/updates/6698_characters_character_tutorial.sql
@@ -0,0 +1,15 @@
+DROP TABLE IF EXISTS `character_tutorial`;
+CREATE TABLE `character_tutorial` (
+ `account` bigint(20) unsigned NOT NULL auto_increment COMMENT 'Account Identifier',
+ `realmid` int(11) unsigned NOT NULL default '0' COMMENT 'Realm Identifier',
+ `tut0` int(11) unsigned NOT NULL default '0',
+ `tut1` int(11) unsigned NOT NULL default '0',
+ `tut2` int(11) unsigned NOT NULL default '0',
+ `tut3` int(11) unsigned NOT NULL default '0',
+ `tut4` int(11) unsigned NOT NULL default '0',
+ `tut5` int(11) unsigned NOT NULL default '0',
+ `tut6` int(11) unsigned NOT NULL default '0',
+ `tut7` int(11) unsigned NOT NULL default '0',
+ PRIMARY KEY (`account`,`realmid`),
+ KEY acc_key (`account`)
+) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
diff --git a/sql/updates/Makefile.am b/sql/updates/Makefile.am
new file mode 100644
index 00000000000..9559df48558
--- /dev/null
+++ b/sql/updates/Makefile.am
@@ -0,0 +1,384 @@
+# Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+## Process this file with automake to produce Makefile.in
+
+## Sub-directories to parse
+
+## Change installation location
+# datadir = mangos/sql/updates
+pkgdatadir = $(datadir)/mangos/sql/updates
+
+## Files to be installed
+# Install basic SQL files to datadir
+pkgdata_DATA = \
+ 5651_characters_guild_bank_tab.sql \
+ 5651_characters_characters.sql \
+ 5651_characters_character_social.sql \
+ 5651_mangos_creature_template.sql \
+ 5655_mangos_spell_affect.sql \
+ 5655_mangos_spell_chain.sql \
+ 5655_mangos_spell_proc_event.sql \
+ 5659_mangos_loot_template.sql \
+ 5660_mangos_spell_elixir.sql \
+ 5664_mangos.sql \
+ 5665_mangos_creature_template.sql \
+ 5679_mangos_creature_template.sql \
+ 5680_mangos_spell_proc_event.sql \
+ 5698_mangos_item_template.sql \
+ 5708_mangos_player_levelstats.sql \
+ 5711_characters_character_kill.sql \
+ 5711_mangos_command.sql \
+ 5714_mangos_command.sql \
+ 5714_mangos_mangos_string.sql \
+ 5718_mangos_command.sql \
+ 5718_mangos_creature_template.sql \
+ 5718_mangos_mangos_string.sql \
+ 5720_mangos_command.sql \
+ 5720_mangos_mangos_string.sql \
+ 5721_mangos_spell_affect.sql \
+ 5733_mangos_creature.sql \
+ 5739_mangos_creature.sql \
+ 5739_mangos_gameobject.sql \
+ 5746_mangos_quest_template.sql \
+ 5753_mangos_areatrigger_teleport.sql \
+ 5758_mangos_creature_addon.sql \
+ 5759_mangos_command.sql \
+ 5764_characters_characters.sql \
+ 5764_mangos_command.sql \
+ 5771_mangos_spell_learn_spell.sql \
+ 5772_mangos_command.sql \
+ 5773_mangos_spell_affect.sql \
+ 5773_mangos_spell_learn_spell.sql \
+ 5774_mangos_command.sql \
+ 5774_mangos_mangos_string.sql \
+ 5777_mangos_command.sql \
+ 5778_mangos_spell_affect.sql \
+ 5779_mangos_quest_template.sql \
+ 5784_mangos_player_levelstats.sql \
+ 5787_mangos_player_levelstats.sql \
+ 5790_mangos_player_classlevelstats.sql \
+ 5790_mangos_player_levelstats.sql \
+ 5799_mangos_spell_proc_event.sql \
+ 5813_mangos_mangos_string.sql \
+ 5827_mangos_spell_affect.sql \
+ 5827_mangos_spell_chain.sql \
+ 5827_mangos_spell_learn_spell.sql \
+ 5827_mangos_spell_proc_event.sql \
+ 5831_mangos_skill_fishing_base_level.sql \
+ 5842_mangos_spell_affect.sql \
+ 5845_mangos_spell_proc_event.sql \
+ 5847_mangos_command.sql \
+ 5857_mangos_spell_proc_event.sql \
+ 5861_mangos_command.sql \
+ 5865_mangos_command.sql \
+ 5867_mangos_spell_affect.sql \
+ 5875_mangos_quest_template.sql \
+ 5880_mangos_mangos_string.sql \
+ 5882_mangos_spell_affect.sql \
+ 5896_mangos_spell_proc_event.sql \
+ 5923_mangos_spell_affect.sql \
+ 5940_mangos_spell_affect.sql \
+ 5946_mangos_spell_affect.sql \
+ 5955_characters_guild_eventlog.sql \
+ 5965_mangos_mangos_string.sql \
+ 5973_mangos_spell_proc_event.sql \
+ 5977_characters_pet.sql \
+ 5982_mangos.sql \
+ 5986_mangos_spell_proc_event.sql \
+ 5999_mangos_spell_proc_event.sql \
+ 6016_mangos_spell_proc_event.sql \
+ 6017_mangos_spell_proc_event.sql \
+ 6022_mangos_spell_proc_event.sql \
+ 6023_mangos_mangos_string.sql \
+ 6027_mangos_spell_affect.sql \
+ 6032_mangos_petcreateinfo_spell.sql \
+ 6037_mangos_spell_affect.sql \
+ 6038_mangos_creature_template.sql \
+ 6047_characters_character_social.sql \
+ 6047_characters_guild_bank_tab.sql \
+ 6049_mangos_spell_proc_event.sql \
+ 6052_mangos_loot_template.sql \
+ 6058_mangos_spell_learn_spell.sql \
+ 6061_characters_mail.sql \
+ 6061_mangos_quest_mail_loot_template.sql \
+ 6061_mangos_quest_template.sql \
+ 6062_mangos_spell_proc_event.sql \
+ 6078_mangos_spell_proc_event.sql \
+ 6090_mangos_command.sql \
+ 6090_mangos_mangos_string.sql \
+ 6151_mangos_spell_proc_event.sql \
+ 6164_mangos_command.sql \
+ 6171_mangos_spell_affect.sql \
+ 6179_mangos_mangos_string.sql \
+ 6193_mangos_spell_proc_event.sql \
+ 6199_mangos_spell_proc_event.sql \
+ 6210_mangos_spell_proc_event.sql \
+ 6213_mangos_spell_target_position.sql \
+ 6219_mangos_spell_proc_event.sql \
+ 6246_mangos_spell_proc_event.sql \
+ 6251_mangos_spell_proc_event.sql \
+ 6255_mangos_spell_proc_event.sql \
+ 6265_mangos_pet_name_generation.sql \
+ 6270_mangos_spell_proc_event.sql \
+ 6291_characters_character_pet.sql \
+ 6297_characters_characters.sql \
+ 6298_characters_characters.sql \
+ 6298_characters_corpse.sql \
+ 6304_mangos_spell_proc_event.sql \
+ 6308_mangos_command.sql \
+ 6313_mangos_spell_proc_event.sql \
+ 6314_mangos_command.sql \
+ 6324_mangos_creature_template.sql \
+ 6325_mangos_creature_template.sql \
+ 6326_characters_corpse.sql \
+ 6334_mangos_spell_affect.sql \
+ 6335_characters_corpse.sql \
+ 6351_mangos_spell_proc_event.sql \
+ 6360_characters_corpse.sql \
+ 6360_characters_characters.sql \
+ 6362_characters.sql \
+ 6362_mangos_instance_template.sql \
+ 6367_mangos_spell_proc_event.sql \
+ 6369_mangos_spell_affect.sql \
+ 6370_mangos_spell_affect.sql \
+ 6381_mangos_command.sql \
+ 6387_characters_character_ticket.sql \
+ 6387_mangos_mangos_string.sql \
+ 6397_mangos_creature_template.sql \
+ 6398_mangos_creature_template.sql \
+ 6412_characters_declinedname.sql \
+ 6426_mangos_locales.sql \
+ 6426_realmd_localization.sql \
+ 6431_mangos_mangos_string.sql \
+ 6439_mangos_command.sql \
+ 6456_mangos_command.sql \
+ 6472_realmd_account.sql \
+ 6492_mangos_spell_chain.sql \
+ 6496_mangos_spell_pet_auras.sql \
+ 6506_mangos_spell_proc_event.sql \
+ 6509_mangos_command.sql \
+ 6509_mangos_mangos_string.sql \
+ 6513_mangos_command.sql \
+ 6515_mangos_spell_proc_event.sql \
+ 6521_mangos_spell_proc_event.sql \
+ 6523_mangos_spell_proc_event.sql \
+ 6528_mangos_spell_affect.sql \
+ 6528_mangos_spell_proc_event.sql \
+ 6538_mangos_spell_proc_event.sql \
+ 6540_mangos_spell_proc_event.sql \
+ 6544_mangos_spell_proc_event.sql \
+ 6545_mangos_command.sql \
+ 6557_mangos_command.sql \
+ 6574_mangos_spell_proc_event.sql \
+ 6585_mangos_command.sql \
+ 6588_mangos_spell_proc_event.sql \
+ 6596_characters_arena_team.sql \
+ 6598_character_spell.sql \
+ 6609_mangos_mangos_string.sql \
+ 6613_mangos_mangos_string.sql \
+ 6627_mangos_creature_movement.sql \
+ 6640_mangos_reference_loot_template.sql \
+ 6642_characters_declinedname.sql \
+ 6668_mangos_spell_proc_event.sql \
+ 6676_mangos_spell_proc_event.sql \
+ 6681_mangos_mangos_string.sql \
+ 6691_mangos_spell_proc_event.sql \
+ 6693_mangos_spell_affect.sql \
+ 6693_mangos_spell_proc_event.sql \
+ 6698_characters_character_tutorial.sql \
+ README
+
+## Additional files to include when running 'make dist'
+# SQL update files, to upgrade database schema from older revisions
+EXTRA_DIST = \
+ 5651_characters_guild_bank_tab.sql \
+ 5651_characters_characters.sql \
+ 5651_characters_character_social.sql \
+ 5651_mangos_creature_template.sql \
+ 5655_mangos_spell_affect.sql \
+ 5655_mangos_spell_chain.sql \
+ 5655_mangos_spell_proc_event.sql \
+ 5659_mangos_loot_template.sql \
+ 5660_mangos_spell_elixir.sql \
+ 5664_mangos.sql \
+ 5665_mangos_creature_template.sql \
+ 5679_mangos_creature_template.sql \
+ 5680_mangos_spell_proc_event.sql \
+ 5698_mangos_item_template.sql \
+ 5708_mangos_player_levelstats.sql \
+ 5711_characters_character_kill.sql \
+ 5711_mangos_command.sql \
+ 5714_mangos_command.sql \
+ 5714_mangos_mangos_string.sql \
+ 5718_mangos_command.sql \
+ 5718_mangos_creature_template.sql \
+ 5718_mangos_mangos_string.sql \
+ 5720_mangos_command.sql \
+ 5720_mangos_mangos_string.sql \
+ 5721_mangos_spell_affect.sql \
+ 5733_mangos_creature.sql \
+ 5739_mangos_creature.sql \
+ 5739_mangos_gameobject.sql \
+ 5746_mangos_quest_template.sql \
+ 5753_mangos_areatrigger_teleport.sql \
+ 5758_mangos_creature_addon.sql \
+ 5759_mangos_command.sql \
+ 5764_characters_characters.sql \
+ 5764_mangos_command.sql \
+ 5771_mangos_spell_learn_spell.sql \
+ 5772_mangos_command.sql \
+ 5773_mangos_spell_affect.sql \
+ 5773_mangos_spell_learn_spell.sql \
+ 5774_mangos_command.sql \
+ 5774_mangos_mangos_string.sql \
+ 5777_mangos_command.sql \
+ 5778_mangos_spell_affect.sql \
+ 5779_mangos_quest_template.sql \
+ 5784_mangos_player_levelstats.sql \
+ 5787_mangos_player_levelstats.sql \
+ 5790_mangos_player_classlevelstats.sql \
+ 5790_mangos_player_levelstats.sql \
+ 5799_mangos_spell_proc_event.sql \
+ 5813_mangos_mangos_string.sql \
+ 5827_mangos_spell_affect.sql \
+ 5827_mangos_spell_chain.sql \
+ 5827_mangos_spell_learn_spell.sql \
+ 5827_mangos_spell_proc_event.sql \
+ 5831_mangos_skill_fishing_base_level.sql \
+ 5842_mangos_spell_affect.sql \
+ 5845_mangos_spell_proc_event.sql \
+ 5847_mangos_command.sql \
+ 5857_mangos_spell_proc_event.sql \
+ 5861_mangos_command.sql \
+ 5865_mangos_command.sql \
+ 5867_mangos_spell_affect.sql \
+ 5875_mangos_quest_template.sql \
+ 5880_mangos_mangos_string.sql \
+ 5882_mangos_spell_affect.sql \
+ 5896_mangos_spell_proc_event.sql \
+ 5923_mangos_spell_affect.sql \
+ 5940_mangos_spell_affect.sql \
+ 5946_mangos_spell_affect.sql \
+ 5955_characters_guild_eventlog.sql \
+ 5965_mangos_mangos_string.sql \
+ 5973_mangos_spell_proc_event.sql \
+ 5977_characters_pet.sql \
+ 5982_mangos.sql \
+ 5986_mangos_spell_proc_event.sql \
+ 5999_mangos_spell_proc_event.sql \
+ 6016_mangos_spell_proc_event.sql \
+ 6017_mangos_spell_proc_event.sql \
+ 6022_mangos_spell_proc_event.sql \
+ 6023_mangos_mangos_string.sql \
+ 6027_mangos_spell_affect.sql \
+ 6032_mangos_petcreateinfo_spell.sql \
+ 6037_mangos_spell_affect.sql \
+ 6038_mangos_creature_template.sql \
+ 6047_characters_character_social.sql \
+ 6047_characters_guild_bank_tab.sql \
+ 6049_mangos_spell_proc_event.sql \
+ 6052_mangos_loot_template.sql \
+ 6058_mangos_spell_learn_spell.sql \
+ 6061_characters_mail.sql \
+ 6061_mangos_quest_mail_loot_template.sql \
+ 6061_mangos_quest_template.sql \
+ 6062_mangos_spell_proc_event.sql \
+ 6078_mangos_spell_proc_event.sql \
+ 6090_mangos_command.sql \
+ 6090_mangos_mangos_string.sql \
+ 6151_mangos_spell_proc_event.sql \
+ 6164_mangos_command.sql \
+ 6171_mangos_spell_affect.sql \
+ 6179_mangos_mangos_string.sql \
+ 6193_mangos_spell_proc_event.sql \
+ 6199_mangos_spell_proc_event.sql \
+ 6210_mangos_spell_proc_event.sql \
+ 6213_mangos_spell_target_position.sql \
+ 6219_mangos_spell_proc_event.sql \
+ 6246_mangos_spell_proc_event.sql \
+ 6251_mangos_spell_proc_event.sql \
+ 6255_mangos_spell_proc_event.sql \
+ 6265_mangos_pet_name_generation.sql \
+ 6270_mangos_spell_proc_event.sql \
+ 6291_characters_character_pet.sql \
+ 6297_characters_characters.sql \
+ 6298_characters_characters.sql \
+ 6298_characters_corpse.sql \
+ 6304_mangos_spell_proc_event.sql \
+ 6308_mangos_command.sql \
+ 6313_mangos_spell_proc_event.sql \
+ 6314_mangos_command.sql \
+ 6324_mangos_creature_template.sql \
+ 6325_mangos_creature_template.sql \
+ 6326_characters_corpse.sql \
+ 6334_mangos_spell_affect.sql \
+ 6335_characters_corpse.sql \
+ 6351_mangos_spell_proc_event.sql \
+ 6360_characters_corpse.sql \
+ 6360_characters_characters.sql \
+ 6362_characters.sql \
+ 6362_mangos_instance_template.sql \
+ 6367_mangos_spell_proc_event.sql \
+ 6369_mangos_spell_affect.sql \
+ 6370_mangos_spell_affect.sql \
+ 6381_mangos_command.sql \
+ 6387_characters_character_ticket.sql \
+ 6387_mangos_mangos_string.sql \
+ 6397_mangos_creature_template.sql \
+ 6398_mangos_creature_template.sql \
+ 6412_characters_declinedname.sql \
+ 6426_mangos_locales.sql \
+ 6426_realmd_localization.sql \
+ 6431_mangos_mangos_string.sql \
+ 6439_mangos_command.sql \
+ 6456_mangos_command.sql \
+ 6472_realmd_account.sql \
+ 6492_mangos_spell_chain.sql \
+ 6496_mangos_spell_pet_auras.sql \
+ 6506_mangos_spell_proc_event.sql \
+ 6509_mangos_command.sql \
+ 6509_mangos_mangos_string.sql \
+ 6513_mangos_command.sql \
+ 6515_mangos_spell_proc_event.sql \
+ 6521_mangos_spell_proc_event.sql \
+ 6523_mangos_spell_proc_event.sql \
+ 6528_mangos_spell_affect.sql \
+ 6528_mangos_spell_proc_event.sql \
+ 6538_mangos_spell_proc_event.sql \
+ 6540_mangos_spell_proc_event.sql \
+ 6544_mangos_spell_proc_event.sql \
+ 6545_mangos_command.sql \
+ 6557_mangos_command.sql \
+ 6574_mangos_spell_proc_event.sql \
+ 6585_mangos_command.sql \
+ 6588_mangos_spell_proc_event.sql \
+ 6596_characters_arena_team.sql \
+ 6598_character_spell.sql \
+ 6609_mangos_mangos_string.sql \
+ 6613_mangos_mangos_string.sql \
+ 6627_mangos_creature_movement.sql \
+ 6640_mangos_reference_loot_template.sql \
+ 6642_characters_declinedname.sql \
+ 6668_mangos_spell_proc_event.sql \
+ 6673_mangos_areatrigger_scripts.sql \
+ 6676_mangos_spell_proc_event.sql \
+ 6681_mangos_mangos_string.sql \
+ 6691_mangos_spell_proc_event.sql \
+ 6693_mangos_spell_affect.sql \
+ 6693_mangos_spell_proc_event.sql \
+ 6698_characters_character_tutorial.sql \
+ README
diff --git a/sql/updates/README b/sql/updates/README
new file mode 100644
index 00000000000..c3a5858b4b4
--- /dev/null
+++ b/sql/updates/README
@@ -0,0 +1,33 @@
+= MaNGOS -- README =
+
+Copyright (c) 2005-2008 MaNGOS <http://www.mangosproject.org/>
+
+See the COPYING file for copying conditions.
+
+== Database Updates ==
+This folder contains SQL files which will apply required updates to your MySQL
+database, whenever the MaNGOS database structure has been changed or extended.
+
+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 revision 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:
+
+ 1123_characters_character_spell.sql
+ | | |
+ | | |
+ | | The table character_spell
+ | | will need an update.
+ | |
+ | Name of affected DB (default recommended name)
+ | Can be: characters, mangos, realmd
+ |
+ MaNGOS revision older 1123 will need this update.
+ After appling this update DB compatiable with revision 1122
+ will be compatibale with revision 1123.
+ Revision 1123 and any revision after 1123, e.g. 1124 or 1137,
+ already includes this update in the default database
+ file mangos.sql.