From 8e679df0e12d12a4227ad86a0fd9e5a0f8d83896 Mon Sep 17 00:00:00 2001 From: Karrz1 <127596890+Karrz1@users.noreply.github.com> Date: Wed, 18 Nov 2026 21:11:41 +0000 Subject: [PATCH] 0.1.38: bots and core since 0.1.37.6 (Naxxramas: Patchwerk, Grobbulus, Gothik, Maexxna, Sapphiron; raid healers and tanks; bug fixes) --- NOTICE.md | 14 +- sql/base/auth_database.sql | 4 +- .../auth/2026_11_17_01_auth_command_bug.sql | 4 + ...6_hotfixes_forever_live_pushes_70959_b.sql | 1817 ++++++++ ...2026_11_16_56_world_ahbot_market_price.sql | 10 + ...1_16_57_world_ahbot_market_prices_data.sql | 4144 +++++++++++++++++ ...orld_forever_live_sniff_ironforge_1116.sql | 30 + ..._world_forever_live_sniff_zephras_1116.sql | 19 + ...26_11_16_96_world_forever_questie_1116.sql | 7 + ...16_97_world_forever_everlake_data_1116.sql | 105 + .../world/2026_11_17_01_world_command_bug.sql | 4 + ..._classic_ulag_and_ancient_leaf_summons.sql | 65 + ..._17_03_world_command_aura_self_several.sql | 5 + ...04_world_classic_ansekhwa_teaches_guns.sql | 7 + ...rld_classic_morridune_and_library_book.sql | 23 + ...orld_classic_tauren_size_counted_twice.sql | 438 ++ ...d_forever_mountaineer_ylva_lies_fallen.sql | 9 + ...8_world_forever_odd_child_on_the_floor.sql | 4 + ...l_threshfin_out_from_under_the_walkway.sql | 8 + ..._zephras_camp_players_features_removed.sql | 9 + ..._clearcasting_used_up_by_cat_abilities.sql | 8 + ...en_adventurers_not_spawned_in_the_webs.sql | 8 + ...3_world_forever_riverglades_graveyards.sql | 27 + ...ic_retribution_aura_thorns_spell_power.sql | 22 + ...forever_riverglades_graveyards_one_set.sql | 17 + ...s_logging_camp_graveyard_on_the_ground.sql | 5 + ...lassic_missile_barrage_missiles_faster.sql | 16 + ...ssic_shield_specialization_blocks_only.sql | 11 + ..._world_classic_scourge_invasion_events.sql | 26 + ..._world_classic_scourge_invasion_spawns.sql | 2833 +++++++++++ ...world_classic_scourge_invasion_scripts.sql | 71 + ..._50_world_forever_rite_of_vision_water.sql | 9 + ..._world_forever_ruru_taming_beast_names.sql | 14 + ...1_world_forever_paladin_trainer_levels.sql | 12 + ...6_world_forever_eg_link_live_data_1117.sql | 105 + ...17_97_world_forever_everlake_data_1117.sql | 141 + ...world_classic_counterattack_script_ids.sql | 29 + ...6_world_forever_eg_link_live_data_1118.sql | 20 + ...26_11_18_97_world_forever_questie_1118.sql | 20 + sql/playerbot_v2/0041_bot_text_fixes.sql | 11 + sql/playerbot_v2/0042_bot_text_meta_lines.sql | 14 + sql/playerbot_v2/README.md | 2 + .../Collision/Management/VMapManager.cpp | 21 + src/common/Collision/Management/VMapManager.h | 6 + src/common/Collision/Maps/MapTree.cpp | 33 + src/common/Collision/Maps/MapTree.h | 4 + src/common/Collision/Models/GameObjectModel.h | 3 + src/common/Configuration/Config.cpp | 14 +- .../Addon/ForeverBots/ForeverBots.lua | 10 + .../Addon/ForeverBots/Locale_ruRU.lua | 1 + src/modules/PlayerbotV2/Api/BotItemScorer.cpp | 21 +- src/modules/PlayerbotV2/Api/BotItemScorer.h | 7 + .../PlayerbotV2/Api/PlayerbotMovement.cpp | 22 +- .../PlayerbotV2/Api/PlayerbotMovement.h | 6 + src/modules/PlayerbotV2/Bot/BotAI.cpp | 11 +- .../PlayerbotV2/Bot/BotCommandParser.cpp | 10 + .../PlayerbotV2/Bot/BotCommandParser.h | 4 + .../PlayerbotV2/Bot/BotSnapshotBuilder.cpp | 41 +- .../PlayerbotV2/Bot/BotSnapshotView.cpp | 6 + .../PlayerbotV2/Bot/ClassicHealCover.h | 30 + .../PlayerbotV2/Bot/ClassicHealScope.h | 48 + src/modules/PlayerbotV2/Bot/ClassicUpkeep.cpp | 3 +- src/modules/PlayerbotV2/Bot/ClassicUpkeep.h | 5 + src/modules/PlayerbotV2/Bot/Dungeon/MarkCc.h | 4 +- .../Bot/Dungeon/PveGroupCoordinator.cpp | 78 +- .../PlayerbotV2/Bot/Gear/BotGearGenerator.cpp | 41 +- .../PlayerbotV2/Bot/Gear/BotGearGenerator.h | 11 + src/modules/PlayerbotV2/Bot/GroupFight.h | 19 +- .../PlayerbotV2/Bot/Raid/RaidBrain.cpp | 195 +- .../PlayerbotV2/Bot/Raid/RaidBrainInternal.h | 6 +- .../PlayerbotV2/Bot/Raid/RaidCombat.cpp | 62 +- .../Bot/Raid/RaidEncounterData_NAXX.cpp | 26 +- .../PlayerbotV2/Bot/Raid/RaidEncounters.h | 6 + .../PlayerbotV2/Bot/Raid/RaidHealSlots.h | 25 + .../Bot/Raid/RaidMechanics_AQ40.cpp | 2 +- .../Bot/Raid/RaidMechanics_Naxx.cpp | 557 ++- .../PlayerbotV2/Bot/Raid/RaidMechanics_ZG.cpp | 22 +- src/modules/PlayerbotV2/Bot/Raid/RaidOrder.h | 9 +- .../Bot/States/Rules/AmbientRules.cpp | 164 + .../Bot/States/Rules/ClassicUpkeepRules.cpp | 19 +- .../PlayerbotV2/Bot/States/State_Idle.cpp | 83 +- .../PlayerbotV2/Bot/States/State_InCombat.cpp | 52 +- .../PlayerbotV2/Bot/States/State_InGroup.cpp | 9 + .../PlayerbotV2/Bot/ThreatDiscipline.h | 22 +- src/modules/PlayerbotV2/Bot/World/GrindSpot.h | 27 + .../PlayerbotV2/Bot/World/ZonePicker.cpp | 5 + .../PlayerbotV2/Bot/World/ZonePicker.h | 3 + .../PlayerbotV2/Combat/Apl/ApClassicHeal.h | 42 +- .../PlayerbotV2/Combat/Apl/ApCrowdControl.h | 9 +- .../Combat/Apl/Apl_Classic_Druid.cpp | 15 +- .../Combat/Apl/Apl_Classic_Hunter.cpp | 26 + .../Combat/Apl/Apl_Classic_Paladin.cpp | 67 + .../Combat/Apl/Apl_Classic_Priest.cpp | 34 +- .../PlayerbotV2/Commands/cs_playerbot_v2.cpp | 854 +++- .../PlayerbotV2/Diagnostics/ScenarioDefs.h | 36 +- .../Diagnostics/ScenarioRunner.cpp | 109 +- .../PlayerbotV2/Fleet/BotComposition.cpp | 1 + .../Fleet/BotPopulationManager.cpp | 3 +- .../PlayerbotV2/Fleet/WorldBotSpawner.cpp | 27 +- .../PlayerbotV2/Fleet/WorldBotSpawner.h | 7 + src/modules/PlayerbotV2/Group/GroupSnapshot.h | 2 + .../Group/GroupSnapshotBuilder.cpp | 14 + src/modules/PlayerbotV2/PlayerbotV2.cpp | 64 +- src/modules/PlayerbotV2/PlayerbotV2.h | 2 + .../PlayerbotV2/PlayerbotV2Scripts.cpp | 16 + src/modules/PlayerbotV2/Util/ConfigReader.cpp | 1 + src/modules/PlayerbotV2/Util/ConfigReader.h | 3 + .../PlayerbotV2/conf/playerbot.conf.dist | 23 +- .../conf/zz-0-playerbot-defaults.conf | 1 + .../Database/Implementation/WorldDatabase.cpp | 3 + .../Database/Implementation/WorldDatabase.h | 2 + src/server/game/Accounts/RBAC.h | 1 + .../AuctionHouseBot/AuctionHouseBotBuyer.cpp | 3 + .../AuctionHouseBotBuyerPolicy.cpp | 63 + .../AuctionHouseBotBuyerPolicy.h | 4 + .../AuctionHouseBot/AuctionHouseBotSeller.cpp | 13 +- .../AuctionHouseBotVanilla.cpp | 63 + .../AuctionHouseBot/AuctionHouseBotVanilla.h | 14 +- .../Entities/Creature/TemporarySummon.cpp | 19 + .../game/Entities/GameObject/GameObject.cpp | 1 + .../game/Entities/Item/ItemTemplate.cpp | 5 +- src/server/game/Entities/Player/Player.cpp | 10 + src/server/game/Entities/Unit/Unit.cpp | 14 +- src/server/game/Handlers/GroupHandler.cpp | 1 + src/server/game/Handlers/HotfixHandler.cpp | 12 + src/server/game/Maps/Map.cpp | 49 + src/server/game/Maps/Map.h | 4 + src/server/game/Movement/MotionMaster.cpp | 84 +- src/server/game/Movement/PathGenerator.cpp | 227 +- src/server/game/Movement/PathGenerator.h | 26 + src/server/game/Movement/dtQueryFilterTC.cpp | 10 + src/server/game/Movement/dtQueryFilterTC.h | 8 + src/server/game/Scripting/ScriptMgr.cpp | 10 + src/server/game/Scripting/ScriptMgr.h | 5 + src/server/game/Spells/Spell.cpp | 16 +- src/server/game/Spells/SpellEffects.cpp | 3 + src/server/scripts/Commands/cs_misc.cpp | 90 +- src/server/scripts/Commands/cs_mmaps.cpp | 147 + .../Custom/Classic/classic_script_loader.cpp | 2 + .../Custom/Classic/classic_script_text.cpp | 9 + .../Custom/Classic/classic_script_text.h | 3 + .../Classic/world/classic_spell_scripts.cpp | 14 +- .../classic_world_event_scourge_invasion.cpp | 2202 +++++++++ .../talents/classic_talents_mage_shaman.cpp | 42 +- .../classic_talents_priest_paladin.cpp | 5 + src/server/scripts/Spells/spell_druid.cpp | 21 +- src/server/scripts/World/npcs_special.cpp | 25 +- src/server/worldserver/worldserver.conf.dist | 56 + tests/common/Config.cpp | 58 + tests/game/AuctionBotMarketPrice.cpp | 106 + tests/game/ClassicGrindSpot.cpp | 28 + tests/game/ClassicGroupFight.cpp | 31 +- tests/game/ClassicHealCover.cpp | 16 + tests/game/ClassicHealScope.cpp | 40 + tests/game/ClassicRaidHealSlots.cpp | 21 + tests/game/ClassicScenarioMonitor.cpp | 7 +- tools/python/scenario_pass_table.py | 130 + tools/quest_health/README.md | 31 + tools/quest_health/quest_health.py | 279 ++ tools/quest_health/smoke_test.py | 175 + 160 files changed, 17171 insertions(+), 293 deletions(-) create mode 100644 sql/custom/auth/2026_11_17_01_auth_command_bug.sql create mode 100644 sql/custom/hotfixes/2026_11_17_76_hotfixes_forever_live_pushes_70959_b.sql create mode 100644 sql/custom/world/2026_11_16_56_world_ahbot_market_price.sql create mode 100644 sql/custom/world/2026_11_16_57_world_ahbot_market_prices_data.sql create mode 100644 sql/custom/world/2026_11_16_58_world_forever_live_sniff_ironforge_1116.sql create mode 100644 sql/custom/world/2026_11_16_78_world_forever_live_sniff_zephras_1116.sql create mode 100644 sql/custom/world/2026_11_16_96_world_forever_questie_1116.sql create mode 100644 sql/custom/world/2026_11_16_97_world_forever_everlake_data_1116.sql create mode 100644 sql/custom/world/2026_11_17_01_world_command_bug.sql create mode 100644 sql/custom/world/2026_11_17_02_world_classic_ulag_and_ancient_leaf_summons.sql create mode 100644 sql/custom/world/2026_11_17_03_world_command_aura_self_several.sql create mode 100644 sql/custom/world/2026_11_17_04_world_classic_ansekhwa_teaches_guns.sql create mode 100644 sql/custom/world/2026_11_17_05_world_classic_morridune_and_library_book.sql create mode 100644 sql/custom/world/2026_11_17_06_world_classic_tauren_size_counted_twice.sql create mode 100644 sql/custom/world/2026_11_17_07_world_forever_mountaineer_ylva_lies_fallen.sql create mode 100644 sql/custom/world/2026_11_17_08_world_forever_odd_child_on_the_floor.sql create mode 100644 sql/custom/world/2026_11_17_09_world_classic_deep_pool_threshfin_out_from_under_the_walkway.sql create mode 100644 sql/custom/world/2026_11_17_10_world_forever_zephras_camp_players_features_removed.sql create mode 100644 sql/custom/world/2026_11_17_11_world_classic_clearcasting_used_up_by_cat_abilities.sql create mode 100644 sql/custom/world/2026_11_17_12_world_forever_freed_forsaken_adventurers_not_spawned_in_the_webs.sql create mode 100644 sql/custom/world/2026_11_17_13_world_forever_riverglades_graveyards.sql create mode 100644 sql/custom/world/2026_11_17_14_world_classic_retribution_aura_thorns_spell_power.sql create mode 100644 sql/custom/world/2026_11_17_15_world_forever_riverglades_graveyards_one_set.sql create mode 100644 sql/custom/world/2026_11_17_16_world_forever_turners_logging_camp_graveyard_on_the_ground.sql create mode 100644 sql/custom/world/2026_11_17_17_world_classic_missile_barrage_missiles_faster.sql create mode 100644 sql/custom/world/2026_11_17_18_world_classic_shield_specialization_blocks_only.sql create mode 100644 sql/custom/world/2026_11_17_40_world_classic_scourge_invasion_events.sql create mode 100644 sql/custom/world/2026_11_17_41_world_classic_scourge_invasion_spawns.sql create mode 100644 sql/custom/world/2026_11_17_42_world_classic_scourge_invasion_scripts.sql create mode 100644 sql/custom/world/2026_11_17_50_world_forever_rite_of_vision_water.sql create mode 100644 sql/custom/world/2026_11_17_51_world_forever_ruru_taming_beast_names.sql create mode 100644 sql/custom/world/2026_11_17_81_world_forever_paladin_trainer_levels.sql create mode 100644 sql/custom/world/2026_11_17_96_world_forever_eg_link_live_data_1117.sql create mode 100644 sql/custom/world/2026_11_17_97_world_forever_everlake_data_1117.sql create mode 100644 sql/custom/world/2026_11_18_17_world_classic_counterattack_script_ids.sql create mode 100644 sql/custom/world/2026_11_18_96_world_forever_eg_link_live_data_1118.sql create mode 100644 sql/custom/world/2026_11_18_97_world_forever_questie_1118.sql create mode 100644 sql/playerbot_v2/0041_bot_text_fixes.sql create mode 100644 sql/playerbot_v2/0042_bot_text_meta_lines.sql create mode 100644 src/server/scripts/Custom/Classic/world/classic_world_event_scourge_invasion.cpp create mode 100644 tests/game/AuctionBotMarketPrice.cpp create mode 100644 tools/python/scenario_pass_table.py create mode 100644 tools/quest_health/README.md create mode 100644 tools/quest_health/quest_health.py create mode 100644 tools/quest_health/smoke_test.py diff --git a/NOTICE.md b/NOTICE.md index 1007959d07..1d8c400b5e 100644 --- a/NOTICE.md +++ b/NOTICE.md @@ -41,10 +41,11 @@ redistributing. Source files of the module do not carry per-file headers; this n [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Changed: only the records we lacked or had different were picked and converted to our database tables. - Live WoW Forever quest data (quest order, givers and turn-ins) in `sql/custom/world/2026_11_12_15_*.sql`, `2026_11_13_86_*.sql`, - `2026_11_13_87_*.sql` and `2026_11_14_97_*.sql`: from [Questie](https://github.com/Questie/QuestieDB) (Questie team, GPL-3.0), its Forever corrections and + `2026_11_13_87_*.sql`, `2026_11_14_97_*.sql`, `2026_11_16_96_*.sql` and `2026_11_18_97_*.sql`: from [Questie](https://github.com/Questie/QuestieDB) (Questie team, GPL-3.0), its Forever corrections and play traces. Changed: converted to our database tables, only where ours lacked it. - Live WoW Forever world data (quest records, object templates, vendor items, trainer levels) in - `sql/custom/world/2026_11_12_14_*.sql`, `2026_11_13_88_*.sql`, `2026_11_13_90_*.sql`, `2026_11_14_96_*.sql` and `2026_11_15_96_*.sql`: Data from + `sql/custom/world/2026_11_12_14_*.sql`, `2026_11_13_88_*.sql`, `2026_11_13_90_*.sql`, `2026_11_14_96_*.sql`, `2026_11_15_96_*.sql`, `2026_11_17_81_*.sql`, + `2026_11_17_96_*.sql` and `2026_11_18_96_*.sql`: Data from [Efficient Games](https://efficient.games) (https://github.com/JIVESCORP/eg-link-output-wowf), licensed under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Changed: only the records we lacked or had different were picked and converted to our database tables. @@ -52,7 +53,8 @@ redistributing. Source files of the module do not carry per-file headers; this n database (www.wowhead.com/forever), French pages, collected and shared by Ashendris (Mizuka). Changed: compared with our world and only the fields we lacked or that differ from live were written. - Quest givers, drops and vendor items in `sql/custom/world/2026_11_13_91_world_forever_everlake_data.sql` and - `2026_11_15_97_world_forever_everlake_data_1115.sql`: from Everlake's world data + `2026_11_15_97_world_forever_everlake_data_1115.sql`, `2026_11_16_97_world_forever_everlake_data_1116.sql` and + `2026_11_17_97_world_forever_everlake_data_1117.sql`: from Everlake's world data ([buildthehomelab/wow-everlake-world-data](https://github.com/buildthehomelab/wow-everlake-world-data), GPL-3.0), which in turn credits EG Link (CC BY 4.0), Polestar forever-db, QuestieDB, ForeverDB.net (GPL-3.0), NorgannonDB by zmarotrix (GPL-3.0), Icy Veins' WoW Forever database (db.icy-veins.com/wow-forever) and Wowhead's WoW Forever database (www.wowhead.com/forever). Changed: compared with our world and only rows we lacked were written as ours. @@ -61,8 +63,14 @@ redistributing. Source files of the module do not carry per-file headers; this n pet's wild attack speed through the client's Faster / Slower Attack passives (`ClassicPetAttackSpeed.h`). - From the Everlake core (https://github.com/buildthehomelab/wow-trinitycore-everlake, GPL, a fork of this core), written as our own code: ranged weapons and wands take the ranged stat budget column (`GetRandomPropertyPoints`, ItemEnchantmentMgr.cpp). +- From the Everlake core (https://github.com/buildthehomelab/wow-trinitycore-everlake, GPL-2.0, a fork of this core), taken as + given: a TACT key we don't hold is answered "not public" (`HotfixHandler.cpp`, Everlake 973f193b), and worldserver.conf.d files + keep their keys with no `[section]` header or with several (`ConfigMgr::LoadAdditionalFile` and its test, Everlake db11c6d9 and + 03481268). - Weapon chance-on-hit rates in `sql/custom/world/2026_11_06_41_world_classic_weapon_proc_every_hit.sql` and `2026_11_16_80_world_forever_item_proc_ppm_measured.sql`: from [wowsims/forever](https://github.com/wowsims/forever) (`tools/database/overrides/weapon_procs.go`), MIT licence, copyright the wowsims contributors. Only the rates were taken. - Forever Combat Nameplates (`src/modules/PlayerbotV2/Addon/ForeverCombatNameplates` and the combat nameplate filter in `Player.cpp`, `ChatHandler.cpp`, `WorldSession.cpp` and `ViewerDependentValues.h`): by SIN, GPL-2.0 (COPYING in the add-on folder). +- The Hallow's End link for the Southshore Stink Bomb Counter in `sql/custom/world/2026_11_16_97_*.sql` was checked against + [cmangos classic-db](https://github.com/cmangos/classic-db) (GPL-2.0). diff --git a/sql/base/auth_database.sql b/sql/base/auth_database.sql index 2f57058e35..2fe8137258 100644 --- a/sql/base/auth_database.sql +++ b/sql/base/auth_database.sql @@ -2480,6 +2480,7 @@ INSERT INTO `rbac_linked_permissions` VALUES (195,49), (195,199), (195,1000), +(195,1001), (196,10), (196,202), (196,203), @@ -3791,7 +3792,8 @@ INSERT INTO `rbac_permissions` VALUES (883,'Command: quest objective complete'), (884,'Command: bg start'), (885,'Command: bg stop'), -(1000,'Command: time'); +(1000,'Command: time'), +(1001,'Command: bug'); /*!40000 ALTER TABLE `rbac_permissions` ENABLE KEYS */; UNLOCK TABLES; diff --git a/sql/custom/auth/2026_11_17_01_auth_command_bug.sql b/sql/custom/auth/2026_11_17_01_auth_command_bug.sql new file mode 100644 index 0000000000..f1ba17fd49 --- /dev/null +++ b/sql/custom/auth/2026_11_17_01_auth_command_bug.sql @@ -0,0 +1,4 @@ +-- .bug (cs_misc.cpp): every player may send a bug report that carries their spot, target and quest log. +-- 1001 = Command: bug (RBAC_PERM_COMMAND_BUG), 195 = Role: Player. Safe to run again. +INSERT IGNORE INTO `rbac_permissions` (`id`, `name`) VALUES (1001, 'Command: bug'); +INSERT IGNORE INTO `rbac_linked_permissions` (`id`, `linkedId`) VALUES (195, 1001); diff --git a/sql/custom/hotfixes/2026_11_17_76_hotfixes_forever_live_pushes_70959_b.sql b/sql/custom/hotfixes/2026_11_17_76_hotfixes_forever_live_pushes_70959_b.sql new file mode 100644 index 0000000000..9f120dd538 --- /dev/null +++ b/sql/custom/hotfixes/2026_11_17_76_hotfixes_forever_live_pushes_70959_b.sql @@ -0,0 +1,1817 @@ +-- WoW Forever: the 70959 public hotfix file as Blizzard rewrote it overnight (2026-11-18 09:00Z): new pushes 114164-114196 and +-- the records it added to or moved into pushes 114103-114163 after 2026_11_17_75 was made (curves and curve points, lights, +-- Dalaran, Winterspring, Darkwhisper Gorge and Warsong Gulch areas, content tuning, Bronze Mace 2848, Plans: Orcish War Leggings 7994, 7 quests, +-- spell 1332188, creature records live hides). Only records new or changed since 2026_11_17_75, only tables our server loads; +-- client-only records left out. Every record decodes byte-exact with our current layouts. Made with +-- tools/full_forever/live_hotfix_sql.py. hotfix_data ids 2101000-2101999. Safe to run again. + +DELETE FROM `area_table` WHERE `ID` IN (279,618,2256,3320,3321,16005); +INSERT INTO `area_table` (`ID`,`ZoneName`,`AreaName`,`ContinentID`,`ParentAreaID`,`AreaBit`,`SoundProviderPref`,`SoundProviderPrefUnderwater`,`AmbienceID`,`UwAmbience`,`ZoneMusic`,`UwZoneMusic`,`ExplorationLevel`,`IntroSound`,`UwIntroSound`,`FactionGroupMask`,`AmbientMultiplier`,`MountFlags`,`PvpCombatWorldStateID`,`WildBattlePetLevelMin`,`WildBattlePetLevelMax`,`WindSettingsID`,`ContentTuningID`,`Flags1`,`Flags2`,`LiquidTypeID1`,`LiquidTypeID2`,`LiquidTypeID3`,`LiquidTypeID4`,`VerifiedBuild`) VALUES +(279,'Dalaran','Dalaran',0,36,23,86,11,3410,2172,3171,0,30,1685,0,2,0,1,-1,0,0,0,0,0,0,0,0,0,0,70959), +(618,'Winterspring','Winterspring',1,0,621,0,11,42,2172,8,0,0,0,0,0,0,1,-1,0,0,0,0,65,0,0,0,0,0,70959), +(2256,'DarkwhisperGorge','Darkwhisper Gorge',1,618,842,0,0,3212,2172,205,0,60,0,0,0,0,1,-1,0,0,136,0,1073741888,0,0,0,0,0,70959), +(3320,'WarsongLumberMill','Warsong Lumber Mill',489,3277,1039,0,0,0,2172,0,0,0,0,0,0,0,1,-1,0,0,0,0,1073741824,0,0,0,0,0,70959), +(3321,'SilverwingHold','Silverwing Hold',489,3277,1040,0,0,0,2172,0,0,0,0,0,0,0,1,-1,0,0,0,0,1073741824,0,0,0,0,0,70959), +(16005,'DarkwhisperGorgeInstance','Darkwhisper Gorge',1,618,0,0,0,3212,2172,205,0,60,0,0,0,0,0,-1,0,0,136,0,1073741888,128,0,0,0,0,70959); +DELETE FROM `content_tuning` WHERE `ID` IN (7565,7566); +INSERT INTO `content_tuning` (`ID`,`Flags`,`ExpansionID`,`HealthItemLevelCurveID`,`DamageItemLevelCurveID`,`HealthPrimaryStatCurveID`,`DamagePrimaryStatCurveID`,`PrimaryStatScalingModPlayerDataElementCharacterID`,`PrimaryStatScalingModPlayerDataElementCharacterMultiplier`,`MinLevel`,`MaxLevel`,`MinLevelType`,`MaxLevelType`,`TargetLevelDelta`,`TargetLevelMaxDelta`,`TargetLevelMin`,`TargetLevelMax`,`MinItemLevel`,`QuestXpMultiplier`,`VerifiedBuild`) VALUES +(7565,0,0,0,0,0,0,0,0,58,60,0,0,0,0,0,0,0,1,70959), +(7566,256,0,0,0,0,0,0,0,53,53,0,0,0,0,0,0,0,1,70959); +DELETE FROM `content_tuning_x_expected` WHERE `ID` IN (3652,3653); +INSERT INTO `content_tuning_x_expected` (`ID`,`ExpectedStatModID`,`MinMythicPlusSeasonID`,`MaxMythicPlusSeasonID`,`ContentTuningID`,`VerifiedBuild`) VALUES +(3652,489,0,0,7566,70959), +(3653,535,0,0,7566,70959); +DELETE FROM `curve` WHERE `ID` IN (128521,128522,128523,128524,128525,128526,128527,128528,128529,128530,128531,128532,128533,128534,128535,128536,128537,128538,128539,128540,128541,128542,128543,128544,128545,128546,128547,128548,128549,128550,128551,128552,128553,128554,128555,128556,128557,128558,128559,128560,128561,128562,128563,128564,128565,128566,128567,128568,128569,128570,128571,128572,128573,128574,128575,128576,128577,128578,128579,128580,128581,128582,128583,128584,128585,128586,128587,128588,128589,128590,128591,128592,128593,128594,128595,128596,128597,128598,128599,128600,128601,128602,128603,128604,128605,128606,128607,128608,128609,128610,128611,128612,128613,128614,128615,128616,128617,128618,128619,128620,128621,128622,128623,128624,128625,128626,128627,128628,128629,128630,128631,128632,128633,128634,128635,128636,128637,128638,128639,128640,128641,128642,128643,128644,128645,128646,128647,128648,128649,128650,128651,128652,128653,128654,128655,128656,128657,128658,128659,128660,128661,128662,128663,128664,128665,128666,128667,128668,128669,128670,128671,128672,128673,128674,128675,128676,128677,128678,128679,128680,128681,128682,128683,128684,128685,128686,128687,128688,128689,128690,128691,128692,128693,128694,128695,128696,128697,128698,128699,128700,128701,128702,128703,128704,128705,128706,128707,128708,128709,128710,128711,128712,128713,128714,128715,128716,128717,128718,128719,128720,128721,128722,128723,128724,128725,128726,128727,128728,128729,128730,128731,128732,128733,128734,128735,128736,128737,128738,128739,128740,128741,128742,128743,128744,128745,128746,128747,128748,128749,128750,128751,128752,128753,128754,128755,128756,128757,128758,128759,128760,128761,128762,128763,128764,128765,128766,128767,128768,128769,128770,128771,128772); +INSERT INTO `curve` (`ID`,`Type`,`Flags`,`VerifiedBuild`) VALUES +(128521,0,1,70959), +(128522,0,1,70959), +(128523,0,1,70959), +(128524,0,1,70959), +(128525,0,1,70959), +(128526,0,1,70959), +(128527,0,1,70959), +(128528,0,1,70959), +(128529,0,1,70959), +(128530,0,1,70959), +(128531,0,1,70959), +(128532,0,1,70959), +(128533,0,1,70959), +(128534,0,1,70959), +(128535,0,1,70959), +(128536,0,1,70959), +(128537,0,1,70959), +(128538,0,1,70959), +(128539,0,1,70959), +(128540,0,1,70959), +(128541,0,1,70959), +(128542,0,1,70959), +(128543,0,1,70959), +(128544,0,1,70959), +(128545,0,1,70959), +(128546,0,1,70959), +(128547,0,1,70959), +(128548,0,1,70959), +(128549,0,1,70959), +(128550,0,1,70959), +(128551,0,1,70959), +(128552,0,1,70959), +(128553,0,1,70959), +(128554,0,1,70959), +(128555,0,1,70959), +(128556,0,1,70959), +(128557,0,1,70959), +(128558,0,1,70959), +(128559,0,1,70959), +(128560,0,1,70959), +(128561,0,1,70959), +(128562,0,1,70959), +(128563,0,1,70959), +(128564,0,1,70959), +(128565,0,1,70959), +(128566,0,1,70959), +(128567,0,1,70959), +(128568,0,1,70959), +(128569,0,1,70959), +(128570,0,1,70959), +(128571,0,1,70959), +(128572,0,1,70959), +(128573,0,1,70959), +(128574,0,1,70959), +(128575,0,1,70959), +(128576,0,1,70959), +(128577,0,1,70959), +(128578,0,1,70959), +(128579,0,1,70959), +(128580,0,1,70959), +(128581,0,1,70959), +(128582,0,1,70959), +(128583,0,1,70959), +(128584,0,1,70959), +(128585,0,1,70959), +(128586,0,1,70959), +(128587,0,1,70959), +(128588,0,1,70959), +(128589,0,1,70959), +(128590,0,1,70959), +(128591,0,1,70959), +(128592,0,1,70959), +(128593,0,1,70959), +(128594,0,1,70959), +(128595,0,1,70959), +(128596,0,1,70959), +(128597,0,1,70959), +(128598,0,1,70959), +(128599,0,1,70959), +(128600,0,1,70959), +(128601,0,1,70959), +(128602,0,1,70959), +(128603,0,1,70959), +(128604,0,1,70959), +(128605,0,1,70959), +(128606,0,1,70959), +(128607,0,1,70959), +(128608,0,1,70959), +(128609,0,1,70959), +(128610,0,1,70959), +(128611,0,1,70959), +(128612,0,1,70959), +(128613,0,1,70959), +(128614,0,1,70959), +(128615,0,1,70959), +(128616,0,1,70959), +(128617,0,1,70959), +(128618,0,1,70959), +(128619,0,1,70959), +(128620,0,1,70959), +(128621,0,1,70959), +(128622,0,1,70959), +(128623,0,1,70959), +(128624,0,1,70959), +(128625,0,1,70959), +(128626,0,1,70959), +(128627,0,1,70959), +(128628,0,1,70959), +(128629,0,1,70959), +(128630,0,1,70959), +(128631,0,1,70959), +(128632,0,1,70959), +(128633,0,1,70959), +(128634,0,1,70959), +(128635,0,1,70959), +(128636,0,1,70959), +(128637,0,1,70959), +(128638,0,1,70959), +(128639,0,1,70959), +(128640,0,1,70959), +(128641,0,1,70959), +(128642,0,1,70959), +(128643,0,1,70959), +(128644,0,1,70959), +(128645,0,1,70959), +(128646,0,1,70959), +(128647,0,1,70959), +(128648,0,1,70959), +(128649,0,1,70959), +(128650,0,1,70959), +(128651,0,1,70959), +(128652,0,1,70959), +(128653,0,1,70959), +(128654,0,1,70959), +(128655,0,1,70959), +(128656,0,1,70959), +(128657,0,1,70959), +(128658,0,1,70959), +(128659,0,1,70959), +(128660,0,1,70959), +(128661,0,1,70959), +(128662,0,1,70959), +(128663,0,1,70959), +(128664,0,1,70959), +(128665,0,1,70959), +(128666,0,1,70959), +(128667,0,1,70959), +(128668,0,1,70959), +(128669,0,1,70959), +(128670,0,1,70959), +(128671,0,1,70959), +(128672,0,1,70959), +(128673,0,1,70959), +(128674,0,1,70959), +(128675,0,1,70959), +(128676,0,1,70959), +(128677,0,1,70959), +(128678,0,1,70959), +(128679,0,1,70959), +(128680,0,1,70959), +(128681,0,1,70959), +(128682,0,1,70959), +(128683,0,1,70959), +(128684,0,1,70959), +(128685,0,1,70959), +(128686,0,1,70959), +(128687,0,1,70959), +(128688,0,1,70959), +(128689,0,1,70959), +(128690,0,1,70959), +(128691,0,1,70959), +(128692,0,1,70959), +(128693,0,1,70959), +(128694,0,1,70959), +(128695,0,1,70959), +(128696,0,1,70959), +(128697,0,1,70959), +(128698,0,1,70959), +(128699,0,1,70959), +(128700,0,1,70959), +(128701,0,1,70959), +(128702,0,1,70959), +(128703,0,1,70959), +(128704,0,1,70959), +(128705,0,1,70959), +(128706,0,1,70959), +(128707,0,1,70959), +(128708,0,1,70959), +(128709,0,1,70959), +(128710,0,1,70959), +(128711,0,1,70959), +(128712,0,1,70959), +(128713,0,1,70959), +(128714,0,1,70959), +(128715,0,1,70959), +(128716,0,1,70959), +(128717,0,1,70959), +(128718,0,1,70959), +(128719,0,1,70959), +(128720,0,1,70959), +(128721,0,1,70959), +(128722,0,1,70959), +(128723,0,1,70959), +(128724,0,1,70959), +(128725,0,1,70959), +(128726,0,1,70959), +(128727,0,1,70959), +(128728,0,1,70959), +(128729,0,1,70959), +(128730,0,1,70959), +(128731,0,1,70959), +(128732,0,1,70959), +(128733,0,1,70959), +(128734,0,1,70959), +(128735,0,1,70959), +(128736,0,1,70959), +(128737,0,1,70959), +(128738,0,1,70959), +(128739,0,1,70959), +(128740,0,1,70959), +(128741,0,1,70959), +(128742,0,1,70959), +(128743,0,1,70959), +(128744,0,1,70959), +(128745,0,1,70959), +(128746,0,1,70959), +(128747,0,1,70959), +(128748,0,1,70959), +(128749,0,1,70959), +(128750,0,1,70959), +(128751,0,1,70959), +(128752,0,1,70959), +(128753,0,1,70959), +(128754,0,1,70959), +(128755,0,1,70959), +(128756,0,1,70959), +(128757,0,1,70959), +(128758,0,1,70959), +(128759,0,1,70959), +(128760,0,1,70959), +(128761,0,1,70959), +(128762,0,1,70959), +(128763,0,1,70959), +(128764,0,1,70959), +(128765,0,1,70959), +(128766,0,1,70959), +(128767,0,1,70959), +(128768,0,1,70959), +(128769,0,1,70959), +(128770,0,1,70959), +(128771,0,1,70959), +(128772,0,1,70959); +DELETE FROM `curve_point` WHERE `ID` IN (373184,373185,373186,373187,373188,373189,373190,373191,373192,373193,373194,373195,373196,373197,373198,373199,373200,373201,373202,373203,373204,373205,373206,373207,373208,373209,373210,373211,373212,373213,373214,373215,373216,373217,373218,373219,373220,373221,373222,373223,373224,373225,373226,373227,373228,373229,373230,373231,373232,373233,373234,373235,373236,373237,373238,373239,373240,373241,373242,373243,373244,373245,373246,373247,373248,373249,373250,373251,373252,373253,373254,373255,373256,373257,373258,373259,373260,373261,373262,373263,373264,373265,373266,373267,373268,373269,373270,373271,373272,373273,373274,373275,373276,373277,373278,373279,373280,373281,373282,373283,373284,373285,373286,373287,373288,373289,373290,373291,373292,373293,373294,373295,373296,373297,373298,373299,373300,373301,373302,373303,373304,373305,373306,373307,373308,373309,373310,373311,373312,373313,373314,373315,373316,373317,373318,373319,373320,373321,373322,373323,373324,373325,373326,373327,373328,373329,373330,373331,373332,373333,373334,373335,373336,373337,373338,373339,373340,373341,373342,373343,373344,373345,373346,373347,373348,373349,373350,373351,373352,373353,373354,373355,373356,373357,373358,373359,373360,373361,373362,373363,373364,373365,373366,373367,373368,373369,373370,373371,373372,373373,373374,373375,373376,373377,373378,373379,373380,373381,373382,373383,373384,373385,373386,373387,373388,373389,373390,373391,373392,373393,373394,373395,373396,373397,373398,373399,373400,373401,373402,373403,373404,373405,373406,373407,373408,373409,373410,373411,373412,373413,373414,373415,373416,373417,373418,373419,373420,373421,373422,373423,373424,373425,373426,373427,373428,373429,373430,373431,373432,373433,373434,373435,373436,373437,373438,373439,373440,373441,373442,373443,373444,373445,373446,373447,373448,373449,373450,373451,373452,373453,373454,373455,373456,373457,373458,373459,373460,373461,373462,373463,373464,373465,373466,373467,373468,373469,373470,373471,373472,373473,373474,373475,373476,373477,373478,373479,373480,373481,373482,373483,373484,373485,373486,373487,373488,373489,373490,373491,373492,373493,373494,373495,373496,373497,373498,373499,373500,373501,373502,373503,373504,373505,373506,373507,373508,373509,373510,373511,373512,373513,373514,373515,373516,373517,373518,373519,373520,373521,373522,373523,373524,373525,373526,373527,373528,373529,373530,373531,373532,373533,373534,373535,373536,373537,373538,373539,373540,373541,373542,373543,373544,373545,373546,373547,373548,373549,373550,373551,373552,373553,373554,373555,373556,373557,373558,373559,373560,373561,373562,373563,373564,373565,373566,373567,373568,373569,373570,373571,373572,373573,373574,373575,373576,373577,373578,373579,373580,373581,373582,373583,373584,373585,373586,373587,373588,373589,373590,373591,373592,373593,373594,373595,373596,373597,373598,373599,373600,373601,373602,373603,373604,373605,373606,373607,373608,373609,373610,373611,373612,373613,373614,373615,373616,373617,373618,373619,373620,373621,373622,373623,373624,373625,373626,373627,373628,373629,373630,373631,373632,373633,373634,373635,373636,373637,373638,373639,373640,373641,373642,373643,373644,373645,373646,373647,373648,373649,373650,373651,373652,373653,373654,373655,373656,373657,373658,373659,373660,373661,373662,373663,373664,373665,373666,373667,373668,373669,373670,373671,373672,373673,373674,373675,373676,373677,373678,373679,373680,373681,373682,373683,373684,373685,373686,373687); +INSERT INTO `curve_point` (`ID`,`PosX`,`PosY`,`PreSLSquishPosX`,`PreSLSquishPosY`,`CurveID`,`OrderIndex`,`VerifiedBuild`) VALUES +(373184,0,0,0,0,128521,0,70959), +(373185,1,1,0,0,128521,1,70959), +(373186,0,0,0,0,128522,0,70959), +(373187,1,1,0,0,128522,1,70959), +(373188,0,0,0,0,128523,0,70959), +(373189,1,1,0,0,128523,1,70959), +(373190,0,0,0,0,128524,0,70959), +(373191,1,1,0,0,128524,1,70959), +(373192,0,0,0,0,128525,0,70959), +(373193,1,1,0,0,128525,1,70959), +(373194,0,0,0,0,128526,0,70959), +(373195,1,1,0,0,128526,1,70959), +(373196,0,0,0,0,128527,0,70959), +(373197,1,1,0,0,128527,1,70959), +(373198,0,0,0,0,128528,0,70959), +(373199,1,1,0,0,128528,1,70959), +(373200,0,0,0,0,128529,0,70959), +(373201,1,1,0,0,128529,1,70959), +(373202,0,0,0,0,128530,0,70959), +(373203,1,1,0,0,128530,1,70959), +(373204,0,0,0,0,128531,0,70959), +(373205,1,1,0,0,128531,1,70959), +(373206,0,0,0,0,128532,0,70959), +(373207,1,1,0,0,128532,1,70959), +(373208,0,0,0,0,128533,0,70959), +(373209,1,1,0,0,128533,1,70959), +(373210,0,0,0,0,128534,0,70959), +(373211,1,1,0,0,128534,1,70959), +(373212,0,0,0,0,128535,0,70959), +(373213,1,1,0,0,128535,1,70959), +(373214,0,0,0,0,128536,0,70959), +(373215,1,1,0,0,128536,1,70959), +(373216,0,0,0,0,128537,0,70959), +(373217,1,1,0,0,128537,1,70959), +(373218,0,0,0,0,128538,0,70959), +(373219,1,1,0,0,128538,1,70959), +(373220,0,0,0,0,128539,0,70959), +(373221,1,1,0,0,128539,1,70959), +(373222,0,0,0,0,128540,0,70959), +(373223,1,1,0,0,128540,1,70959), +(373224,0,0,0,0,128541,0,70959), +(373225,1,1,0,0,128541,1,70959), +(373226,0,0,0,0,128542,0,70959), +(373227,1,1,0,0,128542,1,70959), +(373228,0,0,0,0,128543,0,70959), +(373229,1,1,0,0,128543,1,70959), +(373230,0,0,0,0,128544,0,70959), +(373231,1,1,0,0,128544,1,70959), +(373232,0,0,0,0,128545,0,70959), +(373233,1,1,0,0,128545,1,70959), +(373234,0,0,0,0,128546,0,70959), +(373235,1,1,0,0,128546,1,70959), +(373236,0,0,0,0,128547,0,70959), +(373237,1,1,0,0,128547,1,70959), +(373238,0,0,0,0,128548,0,70959), +(373239,1,1,0,0,128548,1,70959), +(373240,0,0,0,0,128549,0,70959), +(373241,1,1,0,0,128549,1,70959), +(373242,0,0,0,0,128550,0,70959), +(373243,1,1,0,0,128550,1,70959), +(373244,0,0,0,0,128551,0,70959), +(373245,1,1,0,0,128551,1,70959), +(373246,0,0,0,0,128552,0,70959), +(373247,1,1,0,0,128552,1,70959), +(373248,0,0,0,0,128553,0,70959), +(373249,1,1,0,0,128553,1,70959), +(373250,0,0,0,0,128554,0,70959), +(373251,1,1,0,0,128554,1,70959), +(373252,0,0,0,0,128555,0,70959), +(373253,1,1,0,0,128555,1,70959), +(373254,0,0,0,0,128556,0,70959), +(373255,1,1,0,0,128556,1,70959), +(373256,0,0,0,0,128557,0,70959), +(373257,1,1,0,0,128557,1,70959), +(373258,0,0,0,0,128558,0,70959), +(373259,1,1,0,0,128558,1,70959), +(373260,0,0,0,0,128559,0,70959), +(373261,1,1,0,0,128559,1,70959), +(373262,0,0,0,0,128560,0,70959), +(373263,1,1,0,0,128560,1,70959), +(373264,0,0,0,0,128561,0,70959), +(373265,1,1,0,0,128561,1,70959), +(373266,0,0,0,0,128562,0,70959), +(373267,1,1,0,0,128562,1,70959), +(373268,0,0,0,0,128563,0,70959), +(373269,1,1,0,0,128563,1,70959), +(373270,0,0,0,0,128564,0,70959), +(373271,1,1,0,0,128564,1,70959), +(373272,0,0,0,0,128565,0,70959), +(373273,1,1,0,0,128565,1,70959), +(373274,0,0,0,0,128566,0,70959), +(373275,1,1,0,0,128566,1,70959), +(373276,0,0,0,0,128567,0,70959), +(373277,1,1,0,0,128567,1,70959), +(373278,0,0,0,0,128568,0,70959), +(373279,1,1,0,0,128568,1,70959), +(373280,0,0,0,0,128569,0,70959), +(373281,1,1,0,0,128569,1,70959), +(373282,0,0,0,0,128570,0,70959), +(373283,1,1,0,0,128570,1,70959), +(373284,0,0,0,0,128571,0,70959), +(373285,1,1,0,0,128571,1,70959), +(373286,0,0,0,0,128572,0,70959), +(373287,1,1,0,0,128572,1,70959), +(373288,0,0,0,0,128573,0,70959), +(373289,1,1,0,0,128573,1,70959), +(373290,0,0,0,0,128574,0,70959), +(373291,1,1,0,0,128574,1,70959), +(373292,0,0,0,0,128575,0,70959), +(373293,1,1,0,0,128575,1,70959), +(373294,0,0,0,0,128576,0,70959), +(373295,1,1,0,0,128576,1,70959), +(373296,0,0,0,0,128577,0,70959), +(373297,1,1,0,0,128577,1,70959), +(373298,0,0,0,0,128578,0,70959), +(373299,1,1,0,0,128578,1,70959), +(373300,0,0,0,0,128579,0,70959), +(373301,1,1,0,0,128579,1,70959), +(373302,0,0,0,0,128580,0,70959), +(373303,1,1,0,0,128580,1,70959), +(373304,0,0,0,0,128581,0,70959), +(373305,1,1,0,0,128581,1,70959), +(373306,0,0,0,0,128582,0,70959), +(373307,1,1,0,0,128582,1,70959), +(373308,0,0,0,0,128583,0,70959), +(373309,1,1,0,0,128583,1,70959), +(373310,0,0,0,0,128584,0,70959), +(373311,1,1,0,0,128584,1,70959), +(373312,0,0,0,0,128585,0,70959), +(373313,1,1,0,0,128585,1,70959), +(373314,0,0,0,0,128586,0,70959), +(373315,1,1,0,0,128586,1,70959), +(373316,0,0,0,0,128587,0,70959), +(373317,1,1,0,0,128587,1,70959), +(373318,0,0,0,0,128588,0,70959), +(373319,1,1,0,0,128588,1,70959), +(373320,0,0,0,0,128589,0,70959), +(373321,1,1,0,0,128589,1,70959), +(373322,0,0,0,0,128590,0,70959), +(373323,1,1,0,0,128590,1,70959), +(373324,0,0,0,0,128591,0,70959), +(373325,1,1,0,0,128591,1,70959), +(373326,0,0,0,0,128592,0,70959), +(373327,1,1,0,0,128592,1,70959), +(373328,0,0,0,0,128593,0,70959), +(373329,1,1,0,0,128593,1,70959), +(373330,0,0,0,0,128594,0,70959), +(373331,1,1,0,0,128594,1,70959), +(373332,0,0,0,0,128595,0,70959), +(373333,1,1,0,0,128595,1,70959), +(373334,0,0,0,0,128596,0,70959), +(373335,1,1,0,0,128596,1,70959), +(373336,0,0,0,0,128597,0,70959), +(373337,1,1,0,0,128597,1,70959), +(373338,0,0,0,0,128598,0,70959), +(373339,1,1,0,0,128598,1,70959), +(373340,0,0,0,0,128599,0,70959), +(373341,1,1,0,0,128599,1,70959), +(373342,0,0,0,0,128600,0,70959), +(373343,1,1,0,0,128600,1,70959), +(373344,0,0,0,0,128601,0,70959), +(373345,1,1,0,0,128601,1,70959), +(373346,0,0,0,0,128602,0,70959), +(373347,1,1,0,0,128602,1,70959), +(373348,0,0,0,0,128603,0,70959), +(373349,1,1,0,0,128603,1,70959), +(373350,0,0,0,0,128604,0,70959), +(373351,1,1,0,0,128604,1,70959), +(373352,0,0,0,0,128605,0,70959), +(373353,1,1,0,0,128605,1,70959), +(373354,0,0,0,0,128606,0,70959), +(373355,1,1,0,0,128606,1,70959), +(373356,0,0,0,0,128607,0,70959), +(373357,1,1,0,0,128607,1,70959), +(373358,0,0,0,0,128608,0,70959), +(373359,1,1,0,0,128608,1,70959), +(373360,0,0,0,0,128609,0,70959), +(373361,1,1,0,0,128609,1,70959), +(373362,0,0,0,0,128610,0,70959), +(373363,1,1,0,0,128610,1,70959), +(373364,0,0,0,0,128611,0,70959), +(373365,1,1,0,0,128611,1,70959), +(373366,0,0,0,0,128612,0,70959), +(373367,1,1,0,0,128612,1,70959), +(373368,0,0,0,0,128613,0,70959), +(373369,1,1,0,0,128613,1,70959), +(373370,0,0,0,0,128614,0,70959), +(373371,1,1,0,0,128614,1,70959), +(373372,0,0,0,0,128615,0,70959), +(373373,1,1,0,0,128615,1,70959), +(373374,0,0,0,0,128616,0,70959), +(373375,1,1,0,0,128616,1,70959), +(373376,0,0,0,0,128617,0,70959), +(373377,1,1,0,0,128617,1,70959), +(373378,0,0,0,0,128618,0,70959), +(373379,1,1,0,0,128618,1,70959), +(373380,0,0,0,0,128619,0,70959), +(373381,1,1,0,0,128619,1,70959), +(373382,0,0,0,0,128620,0,70959), +(373383,1,1,0,0,128620,1,70959), +(373384,0,0,0,0,128621,0,70959), +(373385,1,1,0,0,128621,1,70959), +(373386,0,0,0,0,128622,0,70959), +(373387,1,1,0,0,128622,1,70959), +(373388,0,0,0,0,128623,0,70959), +(373389,1,1,0,0,128623,1,70959), +(373390,0,0,0,0,128624,0,70959), +(373391,1,1,0,0,128624,1,70959), +(373392,0,0,0,0,128625,0,70959), +(373393,1,1,0,0,128625,1,70959), +(373394,0,0,0,0,128626,0,70959), +(373395,1,1,0,0,128626,1,70959), +(373396,0,0,0,0,128627,0,70959), +(373397,1,1,0,0,128627,1,70959), +(373398,0,0,0,0,128628,0,70959), +(373399,1,1,0,0,128628,1,70959), +(373400,0,0,0,0,128629,0,70959), +(373401,1,1,0,0,128629,1,70959), +(373402,0,0,0,0,128630,0,70959), +(373403,1,1,0,0,128630,1,70959), +(373404,0,0,0,0,128631,0,70959), +(373405,1,1,0,0,128631,1,70959), +(373406,0,0,0,0,128632,0,70959), +(373407,1,1,0,0,128632,1,70959), +(373408,0,0,0,0,128633,0,70959), +(373409,1,1,0,0,128633,1,70959), +(373410,0,0,0,0,128634,0,70959), +(373411,1,1,0,0,128634,1,70959), +(373412,0,0,0,0,128635,0,70959), +(373413,1,1,0,0,128635,1,70959), +(373414,0,0,0,0,128636,0,70959), +(373415,1,1,0,0,128636,1,70959), +(373416,0,0,0,0,128637,0,70959), +(373417,1,1,0,0,128637,1,70959), +(373418,0,0,0,0,128638,0,70959), +(373419,1,1,0,0,128638,1,70959), +(373420,0,0,0,0,128639,0,70959), +(373421,1,1,0,0,128639,1,70959), +(373422,0,0,0,0,128640,0,70959), +(373423,1,1,0,0,128640,1,70959), +(373424,0,0,0,0,128641,0,70959), +(373425,1,1,0,0,128641,1,70959), +(373426,0,0,0,0,128642,0,70959), +(373427,1,1,0,0,128642,1,70959), +(373428,0,0,0,0,128643,0,70959), +(373429,1,1,0,0,128643,1,70959), +(373430,0,0,0,0,128644,0,70959), +(373431,1,1,0,0,128644,1,70959), +(373432,0,0,0,0,128645,0,70959), +(373433,1,1,0,0,128645,1,70959), +(373434,0,0,0,0,128646,0,70959), +(373435,1,1,0,0,128646,1,70959), +(373436,0,0,0,0,128647,0,70959), +(373437,1,1,0,0,128647,1,70959), +(373438,0,0,0,0,128648,0,70959), +(373439,1,1,0,0,128648,1,70959), +(373440,0,0,0,0,128649,0,70959), +(373441,1,1,0,0,128649,1,70959), +(373442,0,0,0,0,128650,0,70959), +(373443,1,1,0,0,128650,1,70959), +(373444,0,0,0,0,128651,0,70959), +(373445,1,1,0,0,128651,1,70959), +(373446,0,0,0,0,128652,0,70959), +(373447,1,1,0,0,128652,1,70959), +(373448,0,0,0,0,128653,0,70959), +(373449,1,1,0,0,128653,1,70959), +(373450,0,0,0,0,128654,0,70959), +(373451,1,1,0,0,128654,1,70959), +(373452,0,0,0,0,128655,0,70959), +(373453,1,1,0,0,128655,1,70959), +(373454,0,0,0,0,128656,0,70959), +(373455,1,1,0,0,128656,1,70959), +(373456,0,0,0,0,128657,0,70959), +(373457,1,1,0,0,128657,1,70959), +(373458,0,0,0,0,128658,0,70959), +(373459,1,1,0,0,128658,1,70959), +(373460,0,0,0,0,128659,0,70959), +(373461,1,1,0,0,128659,1,70959), +(373462,0,0,0,0,128660,0,70959), +(373463,1,1,0,0,128660,1,70959), +(373464,0,0,0,0,128661,0,70959), +(373465,1,1,0,0,128661,1,70959), +(373466,0,0,0,0,128662,0,70959), +(373467,1,1,0,0,128662,1,70959), +(373468,0,0,0,0,128663,0,70959), +(373469,1,1,0,0,128663,1,70959), +(373470,0,0,0,0,128664,0,70959), +(373471,1,1,0,0,128664,1,70959), +(373472,0,0,0,0,128665,0,70959), +(373473,1,1,0,0,128665,1,70959), +(373474,0,0,0,0,128666,0,70959), +(373475,1,1,0,0,128666,1,70959), +(373476,0,0,0,0,128667,0,70959), +(373477,1,1,0,0,128667,1,70959), +(373478,0,0,0,0,128668,0,70959), +(373479,1,1,0,0,128668,1,70959), +(373480,0,0,0,0,128669,0,70959), +(373481,1,1,0,0,128669,1,70959), +(373482,0,0,0,0,128670,0,70959), +(373483,1,1,0,0,128670,1,70959), +(373484,0,0,0,0,128671,0,70959), +(373485,1,1,0,0,128671,1,70959), +(373486,0,0,0,0,128672,0,70959), +(373487,1,1,0,0,128672,1,70959), +(373488,0,0,0,0,128673,0,70959), +(373489,1,1,0,0,128673,1,70959), +(373490,0,0,0,0,128674,0,70959), +(373491,1,1,0,0,128674,1,70959), +(373492,0,0,0,0,128675,0,70959), +(373493,1,1,0,0,128675,1,70959), +(373494,0,0,0,0,128676,0,70959), +(373495,1,1,0,0,128676,1,70959), +(373496,0,0,0,0,128677,0,70959), +(373497,1,1,0,0,128677,1,70959), +(373498,0,0,0,0,128678,0,70959), +(373499,1,1,0,0,128678,1,70959), +(373500,0,0,0,0,128679,0,70959), +(373501,1,1,0,0,128679,1,70959), +(373502,0,0,0,0,128680,0,70959), +(373503,1,1,0,0,128680,1,70959), +(373504,0,0,0,0,128681,0,70959), +(373505,1,1,0,0,128681,1,70959), +(373506,0,0,0,0,128682,0,70959), +(373507,1,1,0,0,128682,1,70959), +(373508,0,0,0,0,128683,0,70959), +(373509,1,1,0,0,128683,1,70959), +(373510,0,0,0,0,128684,0,70959), +(373511,1,1,0,0,128684,1,70959), +(373512,0,0,0,0,128685,0,70959), +(373513,1,1,0,0,128685,1,70959), +(373514,0,0,0,0,128686,0,70959), +(373515,1,1,0,0,128686,1,70959), +(373516,0,0,0,0,128687,0,70959), +(373517,1,1,0,0,128687,1,70959), +(373518,0,0,0,0,128688,0,70959), +(373519,1,1,0,0,128688,1,70959), +(373520,0,0,0,0,128689,0,70959), +(373521,1,1,0,0,128689,1,70959), +(373522,0,0,0,0,128690,0,70959), +(373523,1,1,0,0,128690,1,70959), +(373524,0,0,0,0,128691,0,70959), +(373525,1,1,0,0,128691,1,70959), +(373526,0,0,0,0,128692,0,70959), +(373527,1,1,0,0,128692,1,70959), +(373528,0,0,0,0,128693,0,70959), +(373529,1,1,0,0,128693,1,70959), +(373530,0,0,0,0,128694,0,70959), +(373531,1,1,0,0,128694,1,70959), +(373532,0,0,0,0,128695,0,70959), +(373533,1,1,0,0,128695,1,70959), +(373534,0,0,0,0,128696,0,70959), +(373535,1,1,0,0,128696,1,70959), +(373536,0,0,0,0,128697,0,70959), +(373537,1,1,0,0,128697,1,70959), +(373538,0,0,0,0,128698,0,70959), +(373539,1,1,0,0,128698,1,70959), +(373540,0,0,0,0,128699,0,70959), +(373541,1,1,0,0,128699,1,70959), +(373542,0,0,0,0,128700,0,70959), +(373543,1,1,0,0,128700,1,70959), +(373544,0,0,0,0,128701,0,70959), +(373545,1,1,0,0,128701,1,70959), +(373546,0,0,0,0,128702,0,70959), +(373547,1,1,0,0,128702,1,70959), +(373548,0,0,0,0,128703,0,70959), +(373549,1,1,0,0,128703,1,70959), +(373550,0,0,0,0,128704,0,70959), +(373551,1,1,0,0,128704,1,70959), +(373552,0,0,0,0,128705,0,70959), +(373553,1,1,0,0,128705,1,70959), +(373554,0,0,0,0,128706,0,70959), +(373555,1,1,0,0,128706,1,70959), +(373556,0,0,0,0,128707,0,70959), +(373557,1,1,0,0,128707,1,70959), +(373558,0,0,0,0,128708,0,70959), +(373559,1,1,0,0,128708,1,70959), +(373560,0,0,0,0,128709,0,70959), +(373561,1,1,0,0,128709,1,70959), +(373562,0,0,0,0,128710,0,70959), +(373563,1,1,0,0,128710,1,70959), +(373564,0,0,0,0,128711,0,70959), +(373565,1,1,0,0,128711,1,70959), +(373566,0,0,0,0,128712,0,70959), +(373567,1,1,0,0,128712,1,70959), +(373568,0,0,0,0,128713,0,70959), +(373569,1,1,0,0,128713,1,70959), +(373570,0,0,0,0,128714,0,70959), +(373571,1,1,0,0,128714,1,70959), +(373572,0,0,0,0,128715,0,70959), +(373573,1,1,0,0,128715,1,70959), +(373574,0,0,0,0,128716,0,70959), +(373575,1,1,0,0,128716,1,70959), +(373576,0,0,0,0,128717,0,70959), +(373577,1,1,0,0,128717,1,70959), +(373578,0,0,0,0,128718,0,70959), +(373579,1,1,0,0,128718,1,70959), +(373580,0,0,0,0,128719,0,70959), +(373581,1,1,0,0,128719,1,70959), +(373582,0,0,0,0,128720,0,70959), +(373583,1,1,0,0,128720,1,70959), +(373584,0,0,0,0,128721,0,70959), +(373585,1,1,0,0,128721,1,70959), +(373586,0,0,0,0,128722,0,70959), +(373587,1,1,0,0,128722,1,70959), +(373588,0,0,0,0,128723,0,70959), +(373589,1,1,0,0,128723,1,70959), +(373590,0,0,0,0,128724,0,70959), +(373591,1,1,0,0,128724,1,70959), +(373592,0,0,0,0,128725,0,70959), +(373593,1,1,0,0,128725,1,70959), +(373594,0,0,0,0,128726,0,70959), +(373595,1,1,0,0,128726,1,70959), +(373596,0,0,0,0,128727,0,70959), +(373597,1,1,0,0,128727,1,70959), +(373598,0,0,0,0,128728,0,70959), +(373599,1,1,0,0,128728,1,70959), +(373600,0,0,0,0,128729,0,70959), +(373601,1,1,0,0,128729,1,70959), +(373602,0,0,0,0,128730,0,70959), +(373603,1,1,0,0,128730,1,70959), +(373604,0,0,0,0,128731,0,70959), +(373605,1,1,0,0,128731,1,70959), +(373606,0,0,0,0,128732,0,70959), +(373607,1,1,0,0,128732,1,70959), +(373608,0,0,0,0,128733,0,70959), +(373609,1,1,0,0,128733,1,70959), +(373610,0,0,0,0,128734,0,70959), +(373611,1,1,0,0,128734,1,70959), +(373612,0,0,0,0,128735,0,70959), +(373613,1,1,0,0,128735,1,70959), +(373614,0,0,0,0,128736,0,70959), +(373615,1,1,0,0,128736,1,70959), +(373616,0,0,0,0,128737,0,70959), +(373617,1,1,0,0,128737,1,70959), +(373618,0,0,0,0,128738,0,70959), +(373619,1,1,0,0,128738,1,70959), +(373620,0,0,0,0,128739,0,70959), +(373621,1,1,0,0,128739,1,70959), +(373622,0,0,0,0,128740,0,70959), +(373623,1,1,0,0,128740,1,70959), +(373624,0,0,0,0,128741,0,70959), +(373625,1,1,0,0,128741,1,70959), +(373626,0,0,0,0,128742,0,70959), +(373627,1,1,0,0,128742,1,70959), +(373628,0,0,0,0,128743,0,70959), +(373629,1,1,0,0,128743,1,70959), +(373630,0,0,0,0,128744,0,70959), +(373631,1,1,0,0,128744,1,70959), +(373632,0,0,0,0,128745,0,70959), +(373633,1,1,0,0,128745,1,70959), +(373634,0,0,0,0,128746,0,70959), +(373635,1,1,0,0,128746,1,70959), +(373636,0,0,0,0,128747,0,70959), +(373637,1,1,0,0,128747,1,70959), +(373638,0,0,0,0,128748,0,70959), +(373639,1,1,0,0,128748,1,70959), +(373640,0,0,0,0,128749,0,70959), +(373641,1,1,0,0,128749,1,70959), +(373642,0,0,0,0,128750,0,70959), +(373643,1,1,0,0,128750,1,70959), +(373644,0,0,0,0,128751,0,70959), +(373645,1,1,0,0,128751,1,70959), +(373646,0,0,0,0,128752,0,70959), +(373647,1,1,0,0,128752,1,70959), +(373648,0,0,0,0,128753,0,70959), +(373649,1,1,0,0,128753,1,70959), +(373650,0,0,0,0,128754,0,70959), +(373651,1,1,0,0,128754,1,70959), +(373652,0,0,0,0,128755,0,70959), +(373653,1,1,0,0,128755,1,70959), +(373654,0,0,0,0,128756,0,70959), +(373655,1,1,0,0,128756,1,70959), +(373656,0,0,0,0,128757,0,70959), +(373657,1,1,0,0,128757,1,70959), +(373658,0,0,0,0,128758,0,70959), +(373659,1,1,0,0,128758,1,70959), +(373660,0,0,0,0,128759,0,70959), +(373661,1,1,0,0,128759,1,70959), +(373662,0,0,0,0,128760,0,70959), +(373663,1,1,0,0,128760,1,70959), +(373664,0,0,0,0,128761,0,70959), +(373665,1,1,0,0,128761,1,70959), +(373666,0,0,0,0,128762,0,70959), +(373667,1,1,0,0,128762,1,70959), +(373668,0,0,0,0,128763,0,70959), +(373669,1,1,0,0,128763,1,70959), +(373670,0,0,0,0,128764,0,70959), +(373671,1,1,0,0,128764,1,70959), +(373672,0,0,0,0,128765,0,70959), +(373673,1,1,0,0,128765,1,70959), +(373674,0,0,0,0,128766,0,70959), +(373675,1,1,0,0,128766,1,70959), +(373676,0,0,0,0,128767,0,70959), +(373677,1,1,0,0,128767,1,70959), +(373678,0,0,0,0,128768,0,70959), +(373679,1,1,0,0,128768,1,70959), +(373680,0,0,0,0,128769,0,70959), +(373681,1,1,0,0,128769,1,70959), +(373682,0,0,0,0,128770,0,70959), +(373683,1,1,0,0,128770,1,70959), +(373684,0,0,0,0,128771,0,70959), +(373685,1,1,0,0,128771,1,70959), +(373686,0,0,0,0,128772,0,70959), +(373687,1,1,0,0,128772,1,70959); +DELETE FROM `expected_stat_mod` WHERE `ID` IN (535); +INSERT INTO `expected_stat_mod` (`ID`,`CreatureHealthMod`,`PlayerHealthMod`,`CreatureAutoAttackDPSMod`,`CreatureArmorMod`,`PlayerManaMod`,`PlayerPrimaryStatMod`,`PlayerSecondaryStatMod`,`ArmorConstantMod`,`CreatureSpellDamageMod`,`VerifiedBuild`) VALUES +(535,1.5,1,1.5,1,1,1,1,1,1.5,70959); +DELETE FROM `item` WHERE `ID` IN (2848,7994); +INSERT INTO `item` (`ID`,`ClassID`,`SubclassID`,`Material`,`InventoryType`,`SheatheType`,`ItemPetFoodID`,`SoundOverrideSubclassID`,`IconFileDataID`,`ItemGroupSoundsID`,`ContentTuningID`,`ModifiedCraftingReagentItemID`,`Unknown1200`,`CraftingQualityID`,`ItemSquishEraID`,`RecraftReagentCountPercentage`,`OrderSource`,`VerifiedBuild`) VALUES +(2848,2,4,2,13,3,0,-1,133483,8,0,0,0,0,0,0,0,70959), +(7994,9,4,0,0,0,0,-1,134942,20,0,0,0,0,0,0,0,70959); +DELETE FROM `item_search_name` WHERE `ID` IN (2848); +INSERT INTO `item_search_name` (`ID`,`Display`,`OverallQualityID`,`ExpansionID`,`MinFactionID`,`MinReputation`,`AllowableClass`,`RequiredLevel`,`RequiredSkill`,`RequiredSkillRank`,`RequiredAbility`,`ItemLevel`,`Flags1`,`Flags2`,`Flags3`,`Flags4`,`Flags5`,`AllowableRace1`,`AllowableRace2`,`VerifiedBuild`) VALUES +(2848,'Bronze Mace',2,0,0,0,-1,17,0,0,0,22,0,24580,0,0,0,-1,-1,70959); +DELETE FROM `item_sparse` WHERE `ID` IN (2848,7994); +INSERT INTO `item_sparse` (`ID`,`Description`,`Display3`,`Display2`,`Display1`,`Display`,`ExpansionID`,`DmgVariance`,`LimitCategory`,`DurationInInventory`,`QualityModifier`,`BagFamily`,`StartQuestID`,`LanguageID`,`ItemRange`,`StatPercentageOfSocket1`,`StatPercentageOfSocket2`,`StatPercentageOfSocket3`,`StatPercentageOfSocket4`,`StatPercentageOfSocket5`,`StatPercentageOfSocket6`,`StatPercentageOfSocket7`,`StatPercentageOfSocket8`,`StatPercentageOfSocket9`,`StatPercentageOfSocket10`,`StatPercentEditor1`,`StatPercentEditor2`,`StatPercentEditor3`,`StatPercentEditor4`,`StatPercentEditor5`,`StatPercentEditor6`,`StatPercentEditor7`,`StatPercentEditor8`,`StatPercentEditor9`,`StatPercentEditor10`,`StatModifierBonusStat1`,`StatModifierBonusStat2`,`StatModifierBonusStat3`,`StatModifierBonusStat4`,`StatModifierBonusStat5`,`StatModifierBonusStat6`,`StatModifierBonusStat7`,`StatModifierBonusStat8`,`StatModifierBonusStat9`,`StatModifierBonusStat10`,`Stackable`,`MaxCount`,`MinReputation`,`RequiredAbility`,`AllowableRace1`,`AllowableRace2`,`SellPrice`,`BuyPrice`,`VendorStackCount`,`PriceVariance`,`PriceRandomValue`,`Flags1`,`Flags2`,`Flags3`,`Flags4`,`Flags5`,`FactionRelated`,`ModifiedCraftingReagentItemID`,`ContentTuningID`,`PlayerLevelToItemLevelCurveID`,`ItemLevelOffsetCurveID`,`ItemLevelOffsetItemLevel`,`ItemSquishEraID`,`ItemNameDescriptionID`,`RequiredTransmogHoliday`,`RequiredHoliday`,`GemProperties`,`SocketMatchEnchantmentId`,`TotemCategoryID`,`InstanceBound`,`ZoneBound1`,`ZoneBound2`,`ItemSet`,`LockID`,`PageID`,`ItemDelay`,`MinFactionID`,`RequiredSkillRank`,`RequiredSkill`,`ItemLevel`,`AllowableClass`,`ArtifactID`,`SpellWeight`,`SpellWeightCategory`,`SocketType1`,`SocketType2`,`SocketType3`,`SheatheType`,`Material`,`PageMaterialID`,`Bonding`,`DamageDamageType`,`ContainerSlots`,`RequiredPVPMedal`,`RequiredPVPRank`,`RequiredLevel`,`InventoryType`,`OverallQualityID`,`AmmunitionType`,`VerifiedBuild`) VALUES +(2848,'','','','','Bronze Mace',0,0.6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10000,0,0,0,0,0,0,0,0,0,7,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,0,0,0,-1,-1,898,3592,1,1,1,0,24580,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2600,0,0,0,22,-1,0,0,0,0,0,0,3,2,0,2,0,0,0,0,17,13,2,0,70959), +(7994,'Teaches you how to make Orcish War Leggings.','','','','Plans: Orcish War Leggings',0,0,0,0,0,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,-1,-1,-1,-1,-1,-1,-1,-1,1,0,0,0,-1,-1,100,500,1,1,1,64,24580,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,205,164,46,-1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,2,0,70959); +DELETE FROM `light` WHERE `ID` IN (259,260,261,264,303,304,16848); +INSERT INTO `light` (`ID`,`GameCoordsX`,`GameCoordsY`,`GameCoordsZ`,`GameFalloffStart`,`GameFalloffEnd`,`ContinentID`,`LightParamsID1`,`LightParamsID2`,`LightParamsID3`,`LightParamsID4`,`LightParamsID5`,`LightParamsID6`,`LightParamsID7`,`LightParamsID8`,`VerifiedBuild`) VALUES +(259,7222.906,-4154.872,490.0556,1236.25,1378.472,1,7674,7690,7688,7689,7572,7688,7928,7929,70959), +(260,6369.628,-3174.761,575.2778,711.1111,940.8611,1,7674,7690,7688,7689,7572,7688,7928,7929,70959), +(261,5738.433,-4794.067,728.1111,623.5833,765.8055,1,7674,7690,7688,7689,7572,7688,7928,7929,70959), +(264,7862.1,-4112.261,532.6667,448.5556,579.8333,1,7674,7690,7688,7689,7572,7688,7928,7929,70959), +(303,5708.822,-4870.289,805.9722,30.83333,84.47222,1,7687,7690,7688,424,7572,7688,7928,7929,70959), +(304,5603.6,-4994.539,855.5833,98.47222,153.1667,1,7687,7690,7688,424,7572,7688,7928,7929,70959), +(16848,275.0879,313.5699,-5.937737e-05,453.0695,624.0785,0,7554,7306,7554,7306,7570,7930,7904,0,70959); +DELETE FROM `player_condition` WHERE `ID` IN (169022,169029); +INSERT INTO `player_condition` (`ID`,`FailureDescription`,`MinLevel`,`MaxLevel`,`ClassMask`,`SkillLogic`,`LanguageID`,`MinLanguage`,`MaxLanguage`,`MaxFactionID`,`MaxReputation`,`ReputationLogic`,`CurrentPvpFaction`,`PvpMedal`,`PrevQuestLogic`,`CurrQuestLogic`,`CurrentCompletedQuestLogic`,`SpellLogic`,`ItemLogic`,`ItemFlags`,`AuraSpellLogic`,`WorldStateExpressionID`,`WeatherID`,`PartyStatus`,`LifetimeMaxPVPRank`,`AchievementLogic`,`Gender`,`NativeGender`,`AreaLogic`,`LfgLogic`,`CurrencyLogic`,`QuestKillID`,`QuestKillLogic`,`MinExpansionLevel`,`MaxExpansionLevel`,`MinAvgItemLevel`,`MaxAvgItemLevel`,`MinAvgEquippedItemLevel`,`MaxAvgEquippedItemLevel`,`PhaseUseFlags`,`PhaseID`,`PhaseGroupID`,`Flags`,`ChrSpecializationIndex`,`ChrSpecializationRole`,`ModifierTreeID`,`PowerType`,`PowerTypeComp`,`PowerTypeValue`,`MovementFlags`,`WeaponSubclassMask`,`MaxGuildLevel`,`MinGuildLevel`,`MaxExpansionTier`,`MinExpansionTier`,`MinPVPRank`,`MaxPVPRank`,`ContentTuningID`,`CovenantID`,`TraitNodeEntryLogic`,`SkillID1`,`SkillID2`,`SkillID3`,`SkillID4`,`MinSkill1`,`MinSkill2`,`MinSkill3`,`MinSkill4`,`MaxSkill1`,`MaxSkill2`,`MaxSkill3`,`MaxSkill4`,`MinFactionID1`,`MinFactionID2`,`MinFactionID3`,`MinReputation1`,`MinReputation2`,`MinReputation3`,`PrevQuestID1`,`PrevQuestID2`,`PrevQuestID3`,`PrevQuestID4`,`CurrQuestID1`,`CurrQuestID2`,`CurrQuestID3`,`CurrQuestID4`,`CurrentCompletedQuestID1`,`CurrentCompletedQuestID2`,`CurrentCompletedQuestID3`,`CurrentCompletedQuestID4`,`SpellID1`,`SpellID2`,`SpellID3`,`SpellID4`,`ItemID1`,`ItemID2`,`ItemID3`,`ItemID4`,`ItemCount1`,`ItemCount2`,`ItemCount3`,`ItemCount4`,`Explored1`,`Explored2`,`Time1`,`Time2`,`AuraSpellID1`,`AuraSpellID2`,`AuraSpellID3`,`AuraSpellID4`,`AuraStacks1`,`AuraStacks2`,`AuraStacks3`,`AuraStacks4`,`Achievement1`,`Achievement2`,`Achievement3`,`Achievement4`,`AreaID1`,`AreaID2`,`AreaID3`,`AreaID4`,`LfgStatus1`,`LfgStatus2`,`LfgStatus3`,`LfgStatus4`,`LfgCompare1`,`LfgCompare2`,`LfgCompare3`,`LfgCompare4`,`LfgValue1`,`LfgValue2`,`LfgValue3`,`LfgValue4`,`CurrencyID1`,`CurrencyID2`,`CurrencyID3`,`CurrencyID4`,`CurrencyCount1`,`CurrencyCount2`,`CurrencyCount3`,`CurrencyCount4`,`QuestKillMonster1`,`QuestKillMonster2`,`QuestKillMonster3`,`QuestKillMonster4`,`QuestKillMonster5`,`QuestKillMonster6`,`RaceMask1`,`RaceMask2`,`TraitNodeEntryID1`,`TraitNodeEntryID2`,`TraitNodeEntryID3`,`TraitNodeEntryID4`,`TraitNodeEntryMinRank1`,`TraitNodeEntryMinRank2`,`TraitNodeEntryMinRank3`,`TraitNodeEntryMinRank4`,`TraitNodeEntryMaxRank1`,`TraitNodeEntryMaxRank2`,`TraitNodeEntryMaxRank3`,`TraitNodeEntryMaxRank4`,`VerifiedBuild`) VALUES +(169022,'',0,0,0,0,0,0,0,0,0,0,0,0,0,0,65536,0,0,0,0,0,0,0,0,0,-1,-1,0,0,0,0,0,-1,-1,0,0,0,0,0,0,0,1,-1,-1,0,-1,0,0,0,0,0,0,-1,-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,95975,0,0,0,95975,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2383,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,70959), +(169029,'',0,0,0,0,0,0,0,0,0,0,0,0,0,0,65536,0,0,0,0,0,0,0,0,0,-1,-1,0,0,0,0,0,-1,-1,0,0,0,0,0,0,0,1,-1,-1,0,-1,0,0,0,0,0,0,-1,-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,95183,0,0,0,95183,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2580,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,70959); +DELETE FROM `quest_v2` WHERE `ID` IN (2756,7141,7142,8271,8272); +INSERT INTO `quest_v2` (`ID`,`UniqueBitFlag`,`UiQuestDetailsTheme`,`VerifiedBuild`) VALUES +(2756,1636,0,70959), +(7141,2748,0,70959), +(7142,2749,0,70959), +(8271,3024,0,70959), +(8272,3025,0,70959); +DELETE FROM `spell_effect` WHERE `ID` IN (1373229); +INSERT INTO `spell_effect` (`ID`,`EffectAura`,`DifficultyID`,`EffectIndex`,`Effect`,`EffectAmplitude`,`EffectAttributes`,`EffectAuraPeriod`,`EffectBonusCoefficient`,`EffectChainAmplitude`,`EffectChainTargets`,`EffectItemType`,`EffectMechanic`,`EffectPointsPerResource`,`EffectPosFacing`,`EffectRealPointsPerLevel`,`EffectTriggerSpell`,`BonusCoefficientFromAP`,`PvpMultiplier`,`Coefficient`,`Variance`,`ResourceCoefficient`,`GroupSizeBasePointsCoefficient`,`EffectBasePoints`,`ScalingClass`,`TargetNodeGraph`,`EffectMiscValue1`,`EffectMiscValue2`,`EffectRadiusIndex1`,`EffectRadiusIndex2`,`EffectSpellClassMask1`,`EffectSpellClassMask2`,`EffectSpellClassMask3`,`EffectSpellClassMask4`,`ImplicitTarget1`,`ImplicitTarget2`,`SpellID`,`VerifiedBuild`) VALUES +(1373229,336,0,0,6,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1332188,70959); +DELETE FROM `spell_interrupts` WHERE `ID` IN (253220); +INSERT INTO `spell_interrupts` (`ID`,`DifficultyID`,`InterruptFlags`,`AuraInterruptFlags1`,`AuraInterruptFlags2`,`ChannelInterruptFlags1`,`ChannelInterruptFlags2`,`SpellID`,`VerifiedBuild`) VALUES +(253220,0,0,4718592,1024,0,0,1332188,70959); +DELETE FROM `spell_misc` WHERE `ID` IN (324857,324858,328566,877177); +INSERT INTO `spell_misc` (`ID`,`Attributes1`,`Attributes2`,`Attributes3`,`Attributes4`,`Attributes5`,`Attributes6`,`Attributes7`,`Attributes8`,`Attributes9`,`Attributes10`,`Attributes11`,`Attributes12`,`Attributes13`,`Attributes14`,`Attributes15`,`Attributes16`,`Attributes17`,`DifficultyID`,`CastingTimeIndex`,`DurationIndex`,`PvPDurationIndex`,`RangeIndex`,`SchoolMask`,`Speed`,`LaunchDelay`,`MinDuration`,`SpellIconFileDataID`,`ActiveIconFileDataID`,`ContentTuningID`,`ShowFutureSpellPlayerConditionID`,`SpellVisualScript`,`ActiveSpellVisualScript`,`SpellID`,`VerifiedBuild`) VALUES +(324857,65552,0,0,0,0,0,0,0,0,0,0,0,0,65536,0,8192,0,0,1,0,0,1,1,0,0,0,135351,0,0,0,0,0,17039,70959), +(324858,65552,0,0,0,0,0,0,0,0,0,0,0,0,65536,0,8192,0,0,1,0,0,1,1,0,0,0,133060,0,0,0,0,0,17040,70959), +(328566,65552,0,0,0,0,0,0,0,0,0,0,0,0,65536,0,8192,0,0,1,0,0,1,1,0,0,0,132396,0,0,0,0,0,17041,70959), +(877177,696254848,1056,273170437,269681152,8388736,393224,4608,0,0,0,0,0,0,0,0,0,0,0,1,21,0,1,1,0,0,0,136243,0,0,0,0,0,1332188,70959); +DELETE FROM `spell_name` WHERE `ID` IN (1332188); +INSERT INTO `spell_name` (`ID`,`Name`,`VerifiedBuild`) VALUES +(1332188,'Disable ALL Mounts',70959); +DELETE FROM `world_effect` WHERE `ID` IN (36038,36039); +INSERT INTO `world_effect` (`ID`,`QuestFeedbackEffectID`,`WhenToDisplay`,`TargetType`,`TargetAsset`,`PlayerConditionID`,`CombatConditionID`,`VerifiedBuild`) VALUES +(36038,1319,1,2,0,169022,0,70959), +(36039,1319,1,2,0,169029,0,70959); +DELETE FROM `hotfix_blob` WHERE `locale`='enUS' AND (`TableHash`,`RecordId`) IN ((3776013982,1332188)); +INSERT INTO `hotfix_blob` (`TableHash`,`RecordId`,`locale`,`Blob`,`VerifiedBuild`) VALUES +(3776013982,1332188,'enUS',0x000000,70959); +DELETE FROM `hotfix_data` WHERE `Id` BETWEEN 2101000 AND 2101999; +DELETE FROM `hotfix_data` WHERE (`TableHash`,`RecordId`) IN ((1918102339,279),(1918102339,618),(1918102339,2256),(1918102339,3320),(1918102339,3321),(1918102339,16005),(1548466975,46635),(1225579890,4189),(3571931810,46391),(3174446591,7565),(3174446591,7566),(3797052681,3652),(3797052681,3653),(3386291891,3356),(3386291891,7792),(3386291891,9096),(3386291891,10083),(3386291891,10161),(3386291891,10258),(3386291891,10264),(3386291891,10318),(3386291891,10366),(3386291891,10371),(3386291891,10372),(3386291891,10442),(3386291891,10447),(3386291891,10683),(3386291891,10814),(3386291891,16048),(3386291891,16073),(3386291891,255851),(3386291891,255901),(3386291891,256807),(3386291891,258617),(3386291891,259269),(3386291891,260628),(3386291891,261898),(3386291891,262689),(3386291891,262696),(3386291891,266862),(3386291891,270532),(3386943305,9096),(3386943305,9816),(3386943305,9817),(3386943305,9818),(3386943305,9819),(3386943305,10083),(3386943305,10161),(3386943305,10258),(3386943305,10264),(3386943305,10316),(3386943305,10317),(3386943305,10318),(3386943305,10319),(3386943305,10339),(3386943305,10363),(3386943305,10366),(3386943305,10371),(3386943305,10372),(3386943305,10429),(3386943305,10430),(3386943305,10442),(3386943305,10447),(3386943305,10509),(3386943305,10683),(3386943305,10742),(3386943305,10814),(3386943305,16042),(3386943305,16048),(3386943305,16073),(3386943305,238999),(3386943305,239004),(3386943305,239005),(3386943305,239007),(3386943305,239008),(3386943305,239009),(3386943305,239010),(3386943305,239011),(3386943305,239012),(3386943305,239013),(3386943305,239014),(3386943305,239015),(3386943305,239016),(3386943305,239019),(3386943305,239020),(3386943305,239022),(3386943305,239039),(3386943305,239041),(3386943305,239045),(3386943305,239051),(3386943305,239060),(3386943305,239062),(3386943305,239064),(3386943305,239065),(3386943305,239066),(3386943305,239071),(3386943305,239460),(3386943305,239646),(3386943305,239647),(3386943305,239865),(3386943305,338888),(3386943305,338938),(3386943305,339324),(3386943305,339867),(3386943305,340991),(3386943305,341430),(3386943305,341719),(3386943305,342449),(3386943305,345156),(3386943305,345991),(3386943305,345998),(3386943305,346650),(3386943305,350477),(3386943305,352515),(3386943305,354222),(3584353082,167639),(3584353082,238560),(3584353082,241218),(3584353082,241872),(3584353082,241873),(3584353082,248374),(3584353082,252487),(3584353082,252598),(3584353082,253920),(3584353082,253921),(3584353082,253931),(3584353082,254351),(3584353082,254352),(3584353082,254688),(3584353082,254689),(3584353082,254693),(3584353082,254694),(3584353082,254696),(1272569722,128521),(1272569722,128522),(1272569722,128523),(1272569722,128524),(1272569722,128525),(1272569722,128526),(1272569722,128527),(1272569722,128528),(1272569722,128529),(1272569722,128530),(1272569722,128531),(1272569722,128532),(1272569722,128533),(1272569722,128534),(1272569722,128535),(1272569722,128536),(1272569722,128537),(1272569722,128538),(1272569722,128539),(1272569722,128540),(1272569722,128541),(1272569722,128542),(1272569722,128543),(1272569722,128544),(1272569722,128545),(1272569722,128546),(1272569722,128547),(1272569722,128548),(1272569722,128549),(1272569722,128550),(1272569722,128551),(1272569722,128552),(1272569722,128553),(1272569722,128554),(1272569722,128555),(1272569722,128556),(1272569722,128557),(1272569722,128558),(1272569722,128559),(1272569722,128560),(1272569722,128561),(1272569722,128562),(1272569722,128563),(1272569722,128564),(1272569722,128565),(1272569722,128566),(1272569722,128567),(1272569722,128568),(1272569722,128569),(1272569722,128570),(1272569722,128571),(1272569722,128572),(1272569722,128573),(1272569722,128574),(1272569722,128575),(1272569722,128576),(1272569722,128577),(1272569722,128578),(1272569722,128579),(1272569722,128580),(1272569722,128581),(1272569722,128582),(1272569722,128583),(1272569722,128584),(1272569722,128585),(1272569722,128586),(1272569722,128587),(1272569722,128588),(1272569722,128589),(1272569722,128590),(1272569722,128591),(1272569722,128592),(1272569722,128593),(1272569722,128594),(1272569722,128595),(1272569722,128596),(1272569722,128597),(1272569722,128598),(1272569722,128599),(1272569722,128600),(1272569722,128601),(1272569722,128602),(1272569722,128603),(1272569722,128604),(1272569722,128605),(1272569722,128606),(1272569722,128607),(1272569722,128608),(1272569722,128609),(1272569722,128610),(1272569722,128611),(1272569722,128612),(1272569722,128613),(1272569722,128614),(1272569722,128615),(1272569722,128616),(1272569722,128617),(1272569722,128618),(1272569722,128619),(1272569722,128620),(1272569722,128621),(1272569722,128622),(1272569722,128623),(1272569722,128624),(1272569722,128625),(1272569722,128626),(1272569722,128627),(1272569722,128628),(1272569722,128629),(1272569722,128630),(1272569722,128631),(1272569722,128632),(1272569722,128633),(1272569722,128634),(1272569722,128635),(1272569722,128636),(1272569722,128637),(1272569722,128638),(1272569722,128639),(1272569722,128640),(1272569722,128641),(1272569722,128642),(1272569722,128643),(1272569722,128644),(1272569722,128645),(1272569722,128646),(1272569722,128647),(1272569722,128648),(1272569722,128649),(1272569722,128650),(1272569722,128651),(1272569722,128652),(1272569722,128653),(1272569722,128654),(1272569722,128655),(1272569722,128656),(1272569722,128657),(1272569722,128658),(1272569722,128659),(1272569722,128660),(1272569722,128661),(1272569722,128662),(1272569722,128663),(1272569722,128664),(1272569722,128665),(1272569722,128666),(1272569722,128667),(1272569722,128668),(1272569722,128669),(1272569722,128670),(1272569722,128671),(1272569722,128672),(1272569722,128673),(1272569722,128674),(1272569722,128675),(1272569722,128676),(1272569722,128677),(1272569722,128678),(1272569722,128679),(1272569722,128680),(1272569722,128681),(1272569722,128682),(1272569722,128683),(1272569722,128684),(1272569722,128685),(1272569722,128686),(1272569722,128687),(1272569722,128688),(1272569722,128689),(1272569722,128690),(1272569722,128691),(1272569722,128692),(1272569722,128693),(1272569722,128694),(1272569722,128695),(1272569722,128696),(1272569722,128697),(1272569722,128698),(1272569722,128699),(1272569722,128700),(1272569722,128701),(1272569722,128702),(1272569722,128703),(1272569722,128704),(1272569722,128705),(1272569722,128706),(1272569722,128707),(1272569722,128708),(1272569722,128709),(1272569722,128710),(1272569722,128711),(1272569722,128712),(1272569722,128713),(1272569722,128714),(1272569722,128715),(1272569722,128716),(1272569722,128717),(1272569722,128718),(1272569722,128719),(1272569722,128720),(1272569722,128721),(1272569722,128722),(1272569722,128723),(1272569722,128724),(1272569722,128725),(1272569722,128726),(1272569722,128727),(1272569722,128728),(1272569722,128729),(1272569722,128730),(1272569722,128731),(1272569722,128732),(1272569722,128733),(1272569722,128734),(1272569722,128735),(1272569722,128736),(1272569722,128737),(1272569722,128738),(1272569722,128739),(1272569722,128740),(1272569722,128741),(1272569722,128742),(1272569722,128743),(1272569722,128744),(1272569722,128745),(1272569722,128746),(1272569722,128747),(1272569722,128748),(1272569722,128749),(1272569722,128750),(1272569722,128751),(1272569722,128752),(1272569722,128753),(1272569722,128754),(1272569722,128755),(1272569722,128756),(1272569722,128757),(1272569722,128758),(1272569722,128759),(1272569722,128760),(1272569722,128761),(1272569722,128762),(1272569722,128763),(1272569722,128764),(1272569722,128765),(1272569722,128766),(1272569722,128767),(1272569722,128768),(1272569722,128769),(1272569722,128770),(1272569722,128771),(1272569722,128772),(1880017466,373184),(1880017466,373185),(1880017466,373186),(1880017466,373187),(1880017466,373188),(1880017466,373189),(1880017466,373190),(1880017466,373191),(1880017466,373192),(1880017466,373193),(1880017466,373194),(1880017466,373195),(1880017466,373196),(1880017466,373197),(1880017466,373198),(1880017466,373199),(1880017466,373200),(1880017466,373201),(1880017466,373202),(1880017466,373203),(1880017466,373204),(1880017466,373205),(1880017466,373206),(1880017466,373207),(1880017466,373208),(1880017466,373209),(1880017466,373210),(1880017466,373211),(1880017466,373212),(1880017466,373213),(1880017466,373214),(1880017466,373215),(1880017466,373216),(1880017466,373217),(1880017466,373218),(1880017466,373219),(1880017466,373220),(1880017466,373221),(1880017466,373222),(1880017466,373223),(1880017466,373224),(1880017466,373225),(1880017466,373226),(1880017466,373227),(1880017466,373228),(1880017466,373229),(1880017466,373230),(1880017466,373231),(1880017466,373232),(1880017466,373233),(1880017466,373234),(1880017466,373235),(1880017466,373236),(1880017466,373237),(1880017466,373238),(1880017466,373239),(1880017466,373240),(1880017466,373241),(1880017466,373242),(1880017466,373243),(1880017466,373244),(1880017466,373245),(1880017466,373246),(1880017466,373247),(1880017466,373248),(1880017466,373249),(1880017466,373250),(1880017466,373251),(1880017466,373252),(1880017466,373253),(1880017466,373254),(1880017466,373255),(1880017466,373256),(1880017466,373257),(1880017466,373258),(1880017466,373259),(1880017466,373260),(1880017466,373261),(1880017466,373262),(1880017466,373263),(1880017466,373264),(1880017466,373265),(1880017466,373266),(1880017466,373267),(1880017466,373268),(1880017466,373269),(1880017466,373270),(1880017466,373271),(1880017466,373272),(1880017466,373273),(1880017466,373274),(1880017466,373275),(1880017466,373276),(1880017466,373277),(1880017466,373278),(1880017466,373279),(1880017466,373280),(1880017466,373281),(1880017466,373282),(1880017466,373283),(1880017466,373284),(1880017466,373285),(1880017466,373286),(1880017466,373287),(1880017466,373288),(1880017466,373289),(1880017466,373290),(1880017466,373291),(1880017466,373292),(1880017466,373293),(1880017466,373294),(1880017466,373295),(1880017466,373296),(1880017466,373297),(1880017466,373298),(1880017466,373299),(1880017466,373300),(1880017466,373301),(1880017466,373302),(1880017466,373303),(1880017466,373304),(1880017466,373305),(1880017466,373306),(1880017466,373307),(1880017466,373308),(1880017466,373309),(1880017466,373310),(1880017466,373311),(1880017466,373312),(1880017466,373313),(1880017466,373314),(1880017466,373315),(1880017466,373316),(1880017466,373317),(1880017466,373318),(1880017466,373319),(1880017466,373320),(1880017466,373321),(1880017466,373322),(1880017466,373323),(1880017466,373324),(1880017466,373325),(1880017466,373326),(1880017466,373327),(1880017466,373328),(1880017466,373329),(1880017466,373330),(1880017466,373331),(1880017466,373332),(1880017466,373333),(1880017466,373334),(1880017466,373335),(1880017466,373336),(1880017466,373337),(1880017466,373338),(1880017466,373339),(1880017466,373340),(1880017466,373341),(1880017466,373342),(1880017466,373343),(1880017466,373344),(1880017466,373345),(1880017466,373346),(1880017466,373347),(1880017466,373348),(1880017466,373349),(1880017466,373350),(1880017466,373351),(1880017466,373352),(1880017466,373353),(1880017466,373354),(1880017466,373355),(1880017466,373356),(1880017466,373357),(1880017466,373358),(1880017466,373359),(1880017466,373360),(1880017466,373361),(1880017466,373362),(1880017466,373363),(1880017466,373364),(1880017466,373365),(1880017466,373366),(1880017466,373367),(1880017466,373368),(1880017466,373369),(1880017466,373370),(1880017466,373371),(1880017466,373372),(1880017466,373373),(1880017466,373374),(1880017466,373375),(1880017466,373376),(1880017466,373377),(1880017466,373378),(1880017466,373379),(1880017466,373380),(1880017466,373381),(1880017466,373382),(1880017466,373383),(1880017466,373384),(1880017466,373385),(1880017466,373386),(1880017466,373387),(1880017466,373388),(1880017466,373389),(1880017466,373390),(1880017466,373391),(1880017466,373392),(1880017466,373393),(1880017466,373394),(1880017466,373395),(1880017466,373396),(1880017466,373397),(1880017466,373398),(1880017466,373399),(1880017466,373400),(1880017466,373401),(1880017466,373402),(1880017466,373403),(1880017466,373404),(1880017466,373405),(1880017466,373406),(1880017466,373407),(1880017466,373408),(1880017466,373409),(1880017466,373410),(1880017466,373411),(1880017466,373412),(1880017466,373413),(1880017466,373414),(1880017466,373415),(1880017466,373416),(1880017466,373417),(1880017466,373418),(1880017466,373419),(1880017466,373420),(1880017466,373421),(1880017466,373422),(1880017466,373423),(1880017466,373424),(1880017466,373425),(1880017466,373426),(1880017466,373427),(1880017466,373428),(1880017466,373429),(1880017466,373430),(1880017466,373431),(1880017466,373432),(1880017466,373433),(1880017466,373434),(1880017466,373435),(1880017466,373436),(1880017466,373437),(1880017466,373438),(1880017466,373439),(1880017466,373440),(1880017466,373441),(1880017466,373442),(1880017466,373443),(1880017466,373444),(1880017466,373445),(1880017466,373446),(1880017466,373447),(1880017466,373448),(1880017466,373449),(1880017466,373450),(1880017466,373451),(1880017466,373452),(1880017466,373453),(1880017466,373454),(1880017466,373455),(1880017466,373456),(1880017466,373457),(1880017466,373458),(1880017466,373459),(1880017466,373460),(1880017466,373461),(1880017466,373462),(1880017466,373463),(1880017466,373464),(1880017466,373465),(1880017466,373466),(1880017466,373467),(1880017466,373468),(1880017466,373469),(1880017466,373470),(1880017466,373471),(1880017466,373472),(1880017466,373473),(1880017466,373474),(1880017466,373475),(1880017466,373476),(1880017466,373477),(1880017466,373478),(1880017466,373479),(1880017466,373480),(1880017466,373481),(1880017466,373482),(1880017466,373483),(1880017466,373484),(1880017466,373485),(1880017466,373486),(1880017466,373487),(1880017466,373488),(1880017466,373489),(1880017466,373490),(1880017466,373491),(1880017466,373492),(1880017466,373493),(1880017466,373494),(1880017466,373495),(1880017466,373496),(1880017466,373497),(1880017466,373498),(1880017466,373499),(1880017466,373500),(1880017466,373501),(1880017466,373502),(1880017466,373503),(1880017466,373504),(1880017466,373505),(1880017466,373506),(1880017466,373507),(1880017466,373508),(1880017466,373509),(1880017466,373510),(1880017466,373511),(1880017466,373512),(1880017466,373513),(1880017466,373514),(1880017466,373515),(1880017466,373516),(1880017466,373517),(1880017466,373518),(1880017466,373519),(1880017466,373520),(1880017466,373521),(1880017466,373522),(1880017466,373523),(1880017466,373524),(1880017466,373525),(1880017466,373526),(1880017466,373527),(1880017466,373528),(1880017466,373529),(1880017466,373530),(1880017466,373531),(1880017466,373532),(1880017466,373533),(1880017466,373534),(1880017466,373535),(1880017466,373536),(1880017466,373537),(1880017466,373538),(1880017466,373539),(1880017466,373540),(1880017466,373541),(1880017466,373542),(1880017466,373543),(1880017466,373544),(1880017466,373545),(1880017466,373546),(1880017466,373547),(1880017466,373548),(1880017466,373549),(1880017466,373550),(1880017466,373551),(1880017466,373552),(1880017466,373553),(1880017466,373554),(1880017466,373555),(1880017466,373556),(1880017466,373557),(1880017466,373558),(1880017466,373559),(1880017466,373560),(1880017466,373561),(1880017466,373562),(1880017466,373563),(1880017466,373564),(1880017466,373565),(1880017466,373566),(1880017466,373567),(1880017466,373568),(1880017466,373569),(1880017466,373570),(1880017466,373571),(1880017466,373572),(1880017466,373573),(1880017466,373574),(1880017466,373575),(1880017466,373576),(1880017466,373577),(1880017466,373578),(1880017466,373579),(1880017466,373580),(1880017466,373581),(1880017466,373582),(1880017466,373583),(1880017466,373584),(1880017466,373585),(1880017466,373586),(1880017466,373587),(1880017466,373588),(1880017466,373589),(1880017466,373590),(1880017466,373591),(1880017466,373592),(1880017466,373593),(1880017466,373594),(1880017466,373595),(1880017466,373596),(1880017466,373597),(1880017466,373598),(1880017466,373599),(1880017466,373600),(1880017466,373601),(1880017466,373602),(1880017466,373603),(1880017466,373604),(1880017466,373605),(1880017466,373606),(1880017466,373607),(1880017466,373608),(1880017466,373609),(1880017466,373610),(1880017466,373611),(1880017466,373612),(1880017466,373613),(1880017466,373614),(1880017466,373615),(1880017466,373616),(1880017466,373617),(1880017466,373618),(1880017466,373619),(1880017466,373620),(1880017466,373621),(1880017466,373622),(1880017466,373623),(1880017466,373624),(1880017466,373625),(1880017466,373626),(1880017466,373627),(1880017466,373628),(1880017466,373629),(1880017466,373630),(1880017466,373631),(1880017466,373632),(1880017466,373633),(1880017466,373634),(1880017466,373635),(1880017466,373636),(1880017466,373637),(1880017466,373638),(1880017466,373639),(1880017466,373640),(1880017466,373641),(1880017466,373642),(1880017466,373643),(1880017466,373644),(1880017466,373645),(1880017466,373646),(1880017466,373647),(1880017466,373648),(1880017466,373649),(1880017466,373650),(1880017466,373651),(1880017466,373652),(1880017466,373653),(1880017466,373654),(1880017466,373655),(1880017466,373656),(1880017466,373657),(1880017466,373658),(1880017466,373659),(1880017466,373660),(1880017466,373661),(1880017466,373662),(1880017466,373663),(1880017466,373664),(1880017466,373665),(1880017466,373666),(1880017466,373667),(1880017466,373668),(1880017466,373669),(1880017466,373670),(1880017466,373671),(1880017466,373672),(1880017466,373673),(1880017466,373674),(1880017466,373675),(1880017466,373676),(1880017466,373677),(1880017466,373678),(1880017466,373679),(1880017466,373680),(1880017466,373681),(1880017466,373682),(1880017466,373683),(1880017466,373684),(1880017466,373685),(1880017466,373686),(1880017466,373687),(671633915,535),(331613093,648994),(331613093,649094),(1344507586,2848),(1344507586,7994),(428746933,2848),(428746933,7994),(2442913102,2848),(2442913102,7994),(1556783290,259),(1556783290,260),(1556783290,261),(1556783290,264),(1556783290,303),(1556783290,304),(1556783290,16848),(3465080266,2848),(3465080266,7994),(3108775943,168993),(3108775943,169008),(3108775943,169022),(3108775943,169029),(2921112328,42598),(2921112328,543497),(2921112328,593105),(2202435563,137930),(2202435563,137931),(2202435563,137932),(2202435563,137933),(2202435563,137934),(2202435563,137935),(2202435563,137936),(2202435563,137937),(2202435563,137938),(2202435563,137939),(2202435563,137940),(2202435563,137941),(2202435563,137942),(2202435563,137943),(2202435563,137944),(2202435563,137945),(2202435563,137946),(2202435563,137947),(2202435563,137948),(2202435563,137949),(2202435563,137950),(2202435563,137951),(2202435563,137952),(2202435563,1205412),(2202435563,1205413),(2202435563,1346867),(986198281,2756),(986198281,7141),(986198281,7142),(986198281,8271),(986198281,8272),(986198281,91903),(986198281,91908),(261693969,2756),(261693969,7141),(261693969,7142),(261693969,8271),(261693969,8272),(261693969,91903),(261693969,91908),(3776013982,1332188),(4030871717,1373229),(1720692227,253220),(3322146344,324857),(3322146344,324858),(3322146344,328566),(3322146344,877177),(1187407512,1332188),(1163127287,4738),(1163127287,5178),(1163127287,132738),(1163127287,136557),(312611497,30052),(312611497,30053),(312611497,30260),(312611497,30261),(3037505077,7994),(1417785224,2848),(1417785224,7994),(3664936999,36038),(3664936999,36039)); +INSERT INTO `hotfix_data` (`Id`,`UniqueId`,`TableHash`,`RecordId`,`Status`,`VerifiedBuild`) VALUES +(2101000,1397821000,1918102339,279,1,70959), +(2101001,1397821001,1918102339,618,1,70959), +(2101002,1397821002,1918102339,2256,1,70959), +(2101003,1397821003,1918102339,3320,1,70959), +(2101004,1397821004,1918102339,3321,1,70959), +(2101005,1397821005,1918102339,16005,1,70959), +(2101006,1397821006,1548466975,46635,3,70959), +(2101007,1397821007,1225579890,4189,3,70959), +(2101008,1397821008,3571931810,46391,3,70959), +(2101009,1397821009,3174446591,7565,1,70959), +(2101010,1397821010,3174446591,7566,1,70959), +(2101011,1397821011,3797052681,3652,1,70959), +(2101012,1397821012,3797052681,3653,1,70959), +(2101013,1397821013,3386291891,3356,3,70959), +(2101014,1397821014,3386291891,7792,3,70959), +(2101015,1397821015,3386291891,9096,3,70959), +(2101016,1397821016,3386291891,10083,3,70959), +(2101017,1397821017,3386291891,10161,3,70959), +(2101018,1397821018,3386291891,10258,3,70959), +(2101019,1397821019,3386291891,10264,3,70959), +(2101020,1397821020,3386291891,10318,3,70959), +(2101021,1397821021,3386291891,10366,3,70959), +(2101022,1397821022,3386291891,10371,3,70959), +(2101023,1397821023,3386291891,10372,3,70959), +(2101024,1397821024,3386291891,10442,3,70959), +(2101025,1397821025,3386291891,10447,3,70959), +(2101026,1397821026,3386291891,10683,3,70959), +(2101027,1397821027,3386291891,10814,3,70959), +(2101028,1397821028,3386291891,16048,3,70959), +(2101029,1397821029,3386291891,16073,3,70959), +(2101030,1397821030,3386291891,255851,3,70959), +(2101031,1397821031,3386291891,255901,3,70959), +(2101032,1397821032,3386291891,256807,3,70959), +(2101033,1397821033,3386291891,258617,3,70959), +(2101034,1397821034,3386291891,259269,3,70959), +(2101035,1397821035,3386291891,260628,3,70959), +(2101036,1397821036,3386291891,261898,3,70959), +(2101037,1397821037,3386291891,262689,3,70959), +(2101038,1397821038,3386291891,262696,3,70959), +(2101039,1397821039,3386291891,266862,3,70959), +(2101040,1397821040,3386291891,270532,3,70959), +(2101041,1397821041,3386943305,9096,3,70959), +(2101042,1397821042,3386943305,9816,3,70959), +(2101043,1397821043,3386943305,9817,3,70959), +(2101044,1397821044,3386943305,9818,3,70959), +(2101045,1397821045,3386943305,9819,3,70959), +(2101046,1397821046,3386943305,10083,3,70959), +(2101047,1397821047,3386943305,10161,3,70959), +(2101048,1397821048,3386943305,10258,3,70959), +(2101049,1397821049,3386943305,10264,3,70959), +(2101050,1397821050,3386943305,10316,3,70959), +(2101051,1397821051,3386943305,10317,3,70959), +(2101052,1397821052,3386943305,10318,3,70959), +(2101053,1397821053,3386943305,10319,3,70959), +(2101054,1397821054,3386943305,10339,3,70959), +(2101055,1397821055,3386943305,10363,3,70959), +(2101056,1397821056,3386943305,10366,3,70959), +(2101057,1397821057,3386943305,10371,3,70959), +(2101058,1397821058,3386943305,10372,3,70959), +(2101059,1397821059,3386943305,10429,3,70959), +(2101060,1397821060,3386943305,10430,3,70959), +(2101061,1397821061,3386943305,10442,3,70959), +(2101062,1397821062,3386943305,10447,3,70959), +(2101063,1397821063,3386943305,10509,3,70959), +(2101064,1397821064,3386943305,10683,3,70959), +(2101065,1397821065,3386943305,10742,3,70959), +(2101066,1397821066,3386943305,10814,3,70959), +(2101067,1397821067,3386943305,16042,3,70959), +(2101068,1397821068,3386943305,16048,3,70959), +(2101069,1397821069,3386943305,16073,3,70959), +(2101070,1397821070,3386943305,238999,3,70959), +(2101071,1397821071,3386943305,239004,3,70959), +(2101072,1397821072,3386943305,239005,3,70959), +(2101073,1397821073,3386943305,239007,3,70959), +(2101074,1397821074,3386943305,239008,3,70959), +(2101075,1397821075,3386943305,239009,3,70959), +(2101076,1397821076,3386943305,239010,3,70959), +(2101077,1397821077,3386943305,239011,3,70959), +(2101078,1397821078,3386943305,239012,3,70959), +(2101079,1397821079,3386943305,239013,3,70959), +(2101080,1397821080,3386943305,239014,3,70959), +(2101081,1397821081,3386943305,239015,3,70959), +(2101082,1397821082,3386943305,239016,3,70959), +(2101083,1397821083,3386943305,239019,3,70959), +(2101084,1397821084,3386943305,239020,3,70959), +(2101085,1397821085,3386943305,239022,3,70959), +(2101086,1397821086,3386943305,239039,3,70959), +(2101087,1397821087,3386943305,239041,3,70959), +(2101088,1397821088,3386943305,239045,3,70959), +(2101089,1397821089,3386943305,239051,3,70959), +(2101090,1397821090,3386943305,239060,3,70959), +(2101091,1397821091,3386943305,239062,3,70959), +(2101092,1397821092,3386943305,239064,3,70959), +(2101093,1397821093,3386943305,239065,3,70959), +(2101094,1397821094,3386943305,239066,3,70959), +(2101095,1397821095,3386943305,239071,3,70959), +(2101096,1397821096,3386943305,239460,3,70959), +(2101097,1397821097,3386943305,239646,3,70959), +(2101098,1397821098,3386943305,239647,3,70959), +(2101099,1397821099,3386943305,239865,3,70959), +(2101100,1397821100,3386943305,338888,3,70959), +(2101101,1397821101,3386943305,338938,3,70959), +(2101102,1397821102,3386943305,339324,3,70959), +(2101103,1397821103,3386943305,339867,3,70959), +(2101104,1397821104,3386943305,340991,3,70959), +(2101105,1397821105,3386943305,341430,3,70959), +(2101106,1397821106,3386943305,341719,3,70959), +(2101107,1397821107,3386943305,342449,3,70959), +(2101108,1397821108,3386943305,345156,3,70959), +(2101109,1397821109,3386943305,345991,3,70959), +(2101110,1397821110,3386943305,345998,3,70959), +(2101111,1397821111,3386943305,346650,3,70959), +(2101112,1397821112,3386943305,350477,3,70959), +(2101113,1397821113,3386943305,352515,3,70959), +(2101114,1397821114,3386943305,354222,3,70959), +(2101115,1397821115,3584353082,167639,2,70959), +(2101116,1397821116,3584353082,238560,2,70959), +(2101117,1397821117,3584353082,241218,2,70959), +(2101118,1397821118,3584353082,241872,2,70959), +(2101119,1397821119,3584353082,241873,2,70959), +(2101120,1397821120,3584353082,248374,2,70959), +(2101121,1397821121,3584353082,252487,2,70959), +(2101122,1397821122,3584353082,252598,2,70959), +(2101123,1397821123,3584353082,253920,2,70959), +(2101124,1397821124,3584353082,253921,2,70959), +(2101125,1397821125,3584353082,253931,2,70959), +(2101126,1397821126,3584353082,254351,2,70959), +(2101127,1397821127,3584353082,254352,2,70959), +(2101128,1397821128,3584353082,254688,2,70959), +(2101129,1397821129,3584353082,254689,2,70959), +(2101130,1397821130,3584353082,254693,2,70959), +(2101131,1397821131,3584353082,254694,2,70959), +(2101132,1397821132,3584353082,254696,2,70959), +(2101133,1397821133,1272569722,128521,1,70959), +(2101134,1397821134,1272569722,128522,1,70959), +(2101135,1397821135,1272569722,128523,1,70959), +(2101136,1397821136,1272569722,128524,1,70959), +(2101137,1397821137,1272569722,128525,1,70959), +(2101138,1397821138,1272569722,128526,1,70959), +(2101139,1397821139,1272569722,128527,1,70959), +(2101140,1397821140,1272569722,128528,1,70959), +(2101141,1397821141,1272569722,128529,1,70959), +(2101142,1397821142,1272569722,128530,1,70959), +(2101143,1397821143,1272569722,128531,1,70959), +(2101144,1397821144,1272569722,128532,1,70959), +(2101145,1397821145,1272569722,128533,1,70959), +(2101146,1397821146,1272569722,128534,1,70959), +(2101147,1397821147,1272569722,128535,1,70959), +(2101148,1397821148,1272569722,128536,1,70959), +(2101149,1397821149,1272569722,128537,1,70959), +(2101150,1397821150,1272569722,128538,1,70959), +(2101151,1397821151,1272569722,128539,1,70959), +(2101152,1397821152,1272569722,128540,1,70959), +(2101153,1397821153,1272569722,128541,1,70959), +(2101154,1397821154,1272569722,128542,1,70959), +(2101155,1397821155,1272569722,128543,1,70959), +(2101156,1397821156,1272569722,128544,1,70959), +(2101157,1397821157,1272569722,128545,1,70959), +(2101158,1397821158,1272569722,128546,1,70959), +(2101159,1397821159,1272569722,128547,1,70959), +(2101160,1397821160,1272569722,128548,1,70959), +(2101161,1397821161,1272569722,128549,1,70959), +(2101162,1397821162,1272569722,128550,1,70959), +(2101163,1397821163,1272569722,128551,1,70959), +(2101164,1397821164,1272569722,128552,1,70959), +(2101165,1397821165,1272569722,128553,1,70959), +(2101166,1397821166,1272569722,128554,1,70959), +(2101167,1397821167,1272569722,128555,1,70959), +(2101168,1397821168,1272569722,128556,1,70959), +(2101169,1397821169,1272569722,128557,1,70959), +(2101170,1397821170,1272569722,128558,1,70959), +(2101171,1397821171,1272569722,128559,1,70959), +(2101172,1397821172,1272569722,128560,1,70959), +(2101173,1397821173,1272569722,128561,1,70959), +(2101174,1397821174,1272569722,128562,1,70959), +(2101175,1397821175,1272569722,128563,1,70959), +(2101176,1397821176,1272569722,128564,1,70959), +(2101177,1397821177,1272569722,128565,1,70959), +(2101178,1397821178,1272569722,128566,1,70959), +(2101179,1397821179,1272569722,128567,1,70959), +(2101180,1397821180,1272569722,128568,1,70959), +(2101181,1397821181,1272569722,128569,1,70959), +(2101182,1397821182,1272569722,128570,1,70959), +(2101183,1397821183,1272569722,128571,1,70959), +(2101184,1397821184,1272569722,128572,1,70959), +(2101185,1397821185,1272569722,128573,1,70959), +(2101186,1397821186,1272569722,128574,1,70959), +(2101187,1397821187,1272569722,128575,1,70959), +(2101188,1397821188,1272569722,128576,1,70959), +(2101189,1397821189,1272569722,128577,1,70959), +(2101190,1397821190,1272569722,128578,1,70959), +(2101191,1397821191,1272569722,128579,1,70959), +(2101192,1397821192,1272569722,128580,1,70959), +(2101193,1397821193,1272569722,128581,1,70959), +(2101194,1397821194,1272569722,128582,1,70959), +(2101195,1397821195,1272569722,128583,1,70959), +(2101196,1397821196,1272569722,128584,1,70959), +(2101197,1397821197,1272569722,128585,1,70959), +(2101198,1397821198,1272569722,128586,1,70959), +(2101199,1397821199,1272569722,128587,1,70959), +(2101200,1397821200,1272569722,128588,1,70959), +(2101201,1397821201,1272569722,128589,1,70959), +(2101202,1397821202,1272569722,128590,1,70959), +(2101203,1397821203,1272569722,128591,1,70959), +(2101204,1397821204,1272569722,128592,1,70959), +(2101205,1397821205,1272569722,128593,1,70959), +(2101206,1397821206,1272569722,128594,1,70959), +(2101207,1397821207,1272569722,128595,1,70959), +(2101208,1397821208,1272569722,128596,1,70959), +(2101209,1397821209,1272569722,128597,1,70959), +(2101210,1397821210,1272569722,128598,1,70959), +(2101211,1397821211,1272569722,128599,1,70959), +(2101212,1397821212,1272569722,128600,1,70959), +(2101213,1397821213,1272569722,128601,1,70959), +(2101214,1397821214,1272569722,128602,1,70959), +(2101215,1397821215,1272569722,128603,1,70959), +(2101216,1397821216,1272569722,128604,1,70959), +(2101217,1397821217,1272569722,128605,1,70959), +(2101218,1397821218,1272569722,128606,1,70959), +(2101219,1397821219,1272569722,128607,1,70959), +(2101220,1397821220,1272569722,128608,1,70959), +(2101221,1397821221,1272569722,128609,1,70959), +(2101222,1397821222,1272569722,128610,1,70959), +(2101223,1397821223,1272569722,128611,1,70959), +(2101224,1397821224,1272569722,128612,1,70959), +(2101225,1397821225,1272569722,128613,1,70959), +(2101226,1397821226,1272569722,128614,1,70959), +(2101227,1397821227,1272569722,128615,1,70959), +(2101228,1397821228,1272569722,128616,1,70959), +(2101229,1397821229,1272569722,128617,1,70959), +(2101230,1397821230,1272569722,128618,1,70959), +(2101231,1397821231,1272569722,128619,1,70959), +(2101232,1397821232,1272569722,128620,1,70959), +(2101233,1397821233,1272569722,128621,1,70959), +(2101234,1397821234,1272569722,128622,1,70959), +(2101235,1397821235,1272569722,128623,1,70959), +(2101236,1397821236,1272569722,128624,1,70959), +(2101237,1397821237,1272569722,128625,1,70959), +(2101238,1397821238,1272569722,128626,1,70959), +(2101239,1397821239,1272569722,128627,1,70959), +(2101240,1397821240,1272569722,128628,1,70959), +(2101241,1397821241,1272569722,128629,1,70959), +(2101242,1397821242,1272569722,128630,1,70959), +(2101243,1397821243,1272569722,128631,1,70959), +(2101244,1397821244,1272569722,128632,1,70959), +(2101245,1397821245,1272569722,128633,1,70959), +(2101246,1397821246,1272569722,128634,1,70959), +(2101247,1397821247,1272569722,128635,1,70959), +(2101248,1397821248,1272569722,128636,1,70959), +(2101249,1397821249,1272569722,128637,1,70959), +(2101250,1397821250,1272569722,128638,1,70959), +(2101251,1397821251,1272569722,128639,1,70959), +(2101252,1397821252,1272569722,128640,1,70959), +(2101253,1397821253,1272569722,128641,1,70959), +(2101254,1397821254,1272569722,128642,1,70959), +(2101255,1397821255,1272569722,128643,1,70959), +(2101256,1397821256,1272569722,128644,1,70959), +(2101257,1397821257,1272569722,128645,1,70959), +(2101258,1397821258,1272569722,128646,1,70959), +(2101259,1397821259,1272569722,128647,1,70959), +(2101260,1397821260,1272569722,128648,1,70959), +(2101261,1397821261,1272569722,128649,1,70959), +(2101262,1397821262,1272569722,128650,1,70959), +(2101263,1397821263,1272569722,128651,1,70959), +(2101264,1397821264,1272569722,128652,1,70959), +(2101265,1397821265,1272569722,128653,1,70959), +(2101266,1397821266,1272569722,128654,1,70959), +(2101267,1397821267,1272569722,128655,1,70959), +(2101268,1397821268,1272569722,128656,1,70959), +(2101269,1397821269,1272569722,128657,1,70959), +(2101270,1397821270,1272569722,128658,1,70959), +(2101271,1397821271,1272569722,128659,1,70959), +(2101272,1397821272,1272569722,128660,1,70959), +(2101273,1397821273,1272569722,128661,1,70959), +(2101274,1397821274,1272569722,128662,1,70959), +(2101275,1397821275,1272569722,128663,1,70959), +(2101276,1397821276,1272569722,128664,1,70959), +(2101277,1397821277,1272569722,128665,1,70959), +(2101278,1397821278,1272569722,128666,1,70959), +(2101279,1397821279,1272569722,128667,1,70959), +(2101280,1397821280,1272569722,128668,1,70959), +(2101281,1397821281,1272569722,128669,1,70959), +(2101282,1397821282,1272569722,128670,1,70959), +(2101283,1397821283,1272569722,128671,1,70959), +(2101284,1397821284,1272569722,128672,1,70959), +(2101285,1397821285,1272569722,128673,1,70959), +(2101286,1397821286,1272569722,128674,1,70959), +(2101287,1397821287,1272569722,128675,1,70959), +(2101288,1397821288,1272569722,128676,1,70959), +(2101289,1397821289,1272569722,128677,1,70959), +(2101290,1397821290,1272569722,128678,1,70959), +(2101291,1397821291,1272569722,128679,1,70959), +(2101292,1397821292,1272569722,128680,1,70959), +(2101293,1397821293,1272569722,128681,1,70959), +(2101294,1397821294,1272569722,128682,1,70959), +(2101295,1397821295,1272569722,128683,1,70959), +(2101296,1397821296,1272569722,128684,1,70959), +(2101297,1397821297,1272569722,128685,1,70959), +(2101298,1397821298,1272569722,128686,1,70959), +(2101299,1397821299,1272569722,128687,1,70959), +(2101300,1397821300,1272569722,128688,1,70959), +(2101301,1397821301,1272569722,128689,1,70959), +(2101302,1397821302,1272569722,128690,1,70959), +(2101303,1397821303,1272569722,128691,1,70959), +(2101304,1397821304,1272569722,128692,1,70959), +(2101305,1397821305,1272569722,128693,1,70959), +(2101306,1397821306,1272569722,128694,1,70959), +(2101307,1397821307,1272569722,128695,1,70959), +(2101308,1397821308,1272569722,128696,1,70959), +(2101309,1397821309,1272569722,128697,1,70959), +(2101310,1397821310,1272569722,128698,1,70959), +(2101311,1397821311,1272569722,128699,1,70959), +(2101312,1397821312,1272569722,128700,1,70959), +(2101313,1397821313,1272569722,128701,1,70959), +(2101314,1397821314,1272569722,128702,1,70959), +(2101315,1397821315,1272569722,128703,1,70959), +(2101316,1397821316,1272569722,128704,1,70959), +(2101317,1397821317,1272569722,128705,1,70959), +(2101318,1397821318,1272569722,128706,1,70959), +(2101319,1397821319,1272569722,128707,1,70959), +(2101320,1397821320,1272569722,128708,1,70959), +(2101321,1397821321,1272569722,128709,1,70959), +(2101322,1397821322,1272569722,128710,1,70959), +(2101323,1397821323,1272569722,128711,1,70959), +(2101324,1397821324,1272569722,128712,1,70959), +(2101325,1397821325,1272569722,128713,1,70959), +(2101326,1397821326,1272569722,128714,1,70959), +(2101327,1397821327,1272569722,128715,1,70959), +(2101328,1397821328,1272569722,128716,1,70959), +(2101329,1397821329,1272569722,128717,1,70959), +(2101330,1397821330,1272569722,128718,1,70959), +(2101331,1397821331,1272569722,128719,1,70959), +(2101332,1397821332,1272569722,128720,1,70959), +(2101333,1397821333,1272569722,128721,1,70959), +(2101334,1397821334,1272569722,128722,1,70959), +(2101335,1397821335,1272569722,128723,1,70959), +(2101336,1397821336,1272569722,128724,1,70959), +(2101337,1397821337,1272569722,128725,1,70959), +(2101338,1397821338,1272569722,128726,1,70959), +(2101339,1397821339,1272569722,128727,1,70959), +(2101340,1397821340,1272569722,128728,1,70959), +(2101341,1397821341,1272569722,128729,1,70959), +(2101342,1397821342,1272569722,128730,1,70959), +(2101343,1397821343,1272569722,128731,1,70959), +(2101344,1397821344,1272569722,128732,1,70959), +(2101345,1397821345,1272569722,128733,1,70959), +(2101346,1397821346,1272569722,128734,1,70959), +(2101347,1397821347,1272569722,128735,1,70959), +(2101348,1397821348,1272569722,128736,1,70959), +(2101349,1397821349,1272569722,128737,1,70959), +(2101350,1397821350,1272569722,128738,1,70959), +(2101351,1397821351,1272569722,128739,1,70959), +(2101352,1397821352,1272569722,128740,1,70959), +(2101353,1397821353,1272569722,128741,1,70959), +(2101354,1397821354,1272569722,128742,1,70959), +(2101355,1397821355,1272569722,128743,1,70959), +(2101356,1397821356,1272569722,128744,1,70959), +(2101357,1397821357,1272569722,128745,1,70959), +(2101358,1397821358,1272569722,128746,1,70959), +(2101359,1397821359,1272569722,128747,1,70959), +(2101360,1397821360,1272569722,128748,1,70959), +(2101361,1397821361,1272569722,128749,1,70959), +(2101362,1397821362,1272569722,128750,1,70959), +(2101363,1397821363,1272569722,128751,1,70959), +(2101364,1397821364,1272569722,128752,1,70959), +(2101365,1397821365,1272569722,128753,1,70959), +(2101366,1397821366,1272569722,128754,1,70959), +(2101367,1397821367,1272569722,128755,1,70959), +(2101368,1397821368,1272569722,128756,1,70959), +(2101369,1397821369,1272569722,128757,1,70959), +(2101370,1397821370,1272569722,128758,1,70959), +(2101371,1397821371,1272569722,128759,1,70959), +(2101372,1397821372,1272569722,128760,1,70959), +(2101373,1397821373,1272569722,128761,1,70959), +(2101374,1397821374,1272569722,128762,1,70959), +(2101375,1397821375,1272569722,128763,1,70959), +(2101376,1397821376,1272569722,128764,1,70959), +(2101377,1397821377,1272569722,128765,1,70959), +(2101378,1397821378,1272569722,128766,1,70959), +(2101379,1397821379,1272569722,128767,1,70959), +(2101380,1397821380,1272569722,128768,1,70959), +(2101381,1397821381,1272569722,128769,1,70959), +(2101382,1397821382,1272569722,128770,1,70959), +(2101383,1397821383,1272569722,128771,1,70959), +(2101384,1397821384,1272569722,128772,1,70959), +(2101385,1397821385,1880017466,373184,1,70959), +(2101386,1397821386,1880017466,373185,1,70959), +(2101387,1397821387,1880017466,373186,1,70959), +(2101388,1397821388,1880017466,373187,1,70959), +(2101389,1397821389,1880017466,373188,1,70959), +(2101390,1397821390,1880017466,373189,1,70959), +(2101391,1397821391,1880017466,373190,1,70959), +(2101392,1397821392,1880017466,373191,1,70959), +(2101393,1397821393,1880017466,373192,1,70959), +(2101394,1397821394,1880017466,373193,1,70959), +(2101395,1397821395,1880017466,373194,1,70959), +(2101396,1397821396,1880017466,373195,1,70959), +(2101397,1397821397,1880017466,373196,1,70959), +(2101398,1397821398,1880017466,373197,1,70959), +(2101399,1397821399,1880017466,373198,1,70959), +(2101400,1397821400,1880017466,373199,1,70959), +(2101401,1397821401,1880017466,373200,1,70959), +(2101402,1397821402,1880017466,373201,1,70959), +(2101403,1397821403,1880017466,373202,1,70959), +(2101404,1397821404,1880017466,373203,1,70959), +(2101405,1397821405,1880017466,373204,1,70959), +(2101406,1397821406,1880017466,373205,1,70959), +(2101407,1397821407,1880017466,373206,1,70959), +(2101408,1397821408,1880017466,373207,1,70959), +(2101409,1397821409,1880017466,373208,1,70959), +(2101410,1397821410,1880017466,373209,1,70959), +(2101411,1397821411,1880017466,373210,1,70959), +(2101412,1397821412,1880017466,373211,1,70959), +(2101413,1397821413,1880017466,373212,1,70959), +(2101414,1397821414,1880017466,373213,1,70959), +(2101415,1397821415,1880017466,373214,1,70959), +(2101416,1397821416,1880017466,373215,1,70959), +(2101417,1397821417,1880017466,373216,1,70959), +(2101418,1397821418,1880017466,373217,1,70959), +(2101419,1397821419,1880017466,373218,1,70959), +(2101420,1397821420,1880017466,373219,1,70959), +(2101421,1397821421,1880017466,373220,1,70959), +(2101422,1397821422,1880017466,373221,1,70959), +(2101423,1397821423,1880017466,373222,1,70959), +(2101424,1397821424,1880017466,373223,1,70959), +(2101425,1397821425,1880017466,373224,1,70959), +(2101426,1397821426,1880017466,373225,1,70959), +(2101427,1397821427,1880017466,373226,1,70959), +(2101428,1397821428,1880017466,373227,1,70959), +(2101429,1397821429,1880017466,373228,1,70959), +(2101430,1397821430,1880017466,373229,1,70959), +(2101431,1397821431,1880017466,373230,1,70959), +(2101432,1397821432,1880017466,373231,1,70959), +(2101433,1397821433,1880017466,373232,1,70959), +(2101434,1397821434,1880017466,373233,1,70959), +(2101435,1397821435,1880017466,373234,1,70959), +(2101436,1397821436,1880017466,373235,1,70959), +(2101437,1397821437,1880017466,373236,1,70959), +(2101438,1397821438,1880017466,373237,1,70959), +(2101439,1397821439,1880017466,373238,1,70959), +(2101440,1397821440,1880017466,373239,1,70959), +(2101441,1397821441,1880017466,373240,1,70959), +(2101442,1397821442,1880017466,373241,1,70959), +(2101443,1397821443,1880017466,373242,1,70959), +(2101444,1397821444,1880017466,373243,1,70959), +(2101445,1397821445,1880017466,373244,1,70959), +(2101446,1397821446,1880017466,373245,1,70959), +(2101447,1397821447,1880017466,373246,1,70959), +(2101448,1397821448,1880017466,373247,1,70959), +(2101449,1397821449,1880017466,373248,1,70959), +(2101450,1397821450,1880017466,373249,1,70959), +(2101451,1397821451,1880017466,373250,1,70959), +(2101452,1397821452,1880017466,373251,1,70959), +(2101453,1397821453,1880017466,373252,1,70959), +(2101454,1397821454,1880017466,373253,1,70959), +(2101455,1397821455,1880017466,373254,1,70959), +(2101456,1397821456,1880017466,373255,1,70959), +(2101457,1397821457,1880017466,373256,1,70959), +(2101458,1397821458,1880017466,373257,1,70959), +(2101459,1397821459,1880017466,373258,1,70959), +(2101460,1397821460,1880017466,373259,1,70959), +(2101461,1397821461,1880017466,373260,1,70959), +(2101462,1397821462,1880017466,373261,1,70959), +(2101463,1397821463,1880017466,373262,1,70959), +(2101464,1397821464,1880017466,373263,1,70959), +(2101465,1397821465,1880017466,373264,1,70959), +(2101466,1397821466,1880017466,373265,1,70959), +(2101467,1397821467,1880017466,373266,1,70959), +(2101468,1397821468,1880017466,373267,1,70959), +(2101469,1397821469,1880017466,373268,1,70959), +(2101470,1397821470,1880017466,373269,1,70959), +(2101471,1397821471,1880017466,373270,1,70959), +(2101472,1397821472,1880017466,373271,1,70959), +(2101473,1397821473,1880017466,373272,1,70959), +(2101474,1397821474,1880017466,373273,1,70959), +(2101475,1397821475,1880017466,373274,1,70959), +(2101476,1397821476,1880017466,373275,1,70959), +(2101477,1397821477,1880017466,373276,1,70959), +(2101478,1397821478,1880017466,373277,1,70959), +(2101479,1397821479,1880017466,373278,1,70959), +(2101480,1397821480,1880017466,373279,1,70959), +(2101481,1397821481,1880017466,373280,1,70959), +(2101482,1397821482,1880017466,373281,1,70959), +(2101483,1397821483,1880017466,373282,1,70959), +(2101484,1397821484,1880017466,373283,1,70959), +(2101485,1397821485,1880017466,373284,1,70959), +(2101486,1397821486,1880017466,373285,1,70959), +(2101487,1397821487,1880017466,373286,1,70959), +(2101488,1397821488,1880017466,373287,1,70959), +(2101489,1397821489,1880017466,373288,1,70959), +(2101490,1397821490,1880017466,373289,1,70959), +(2101491,1397821491,1880017466,373290,1,70959), +(2101492,1397821492,1880017466,373291,1,70959), +(2101493,1397821493,1880017466,373292,1,70959), +(2101494,1397821494,1880017466,373293,1,70959), +(2101495,1397821495,1880017466,373294,1,70959), +(2101496,1397821496,1880017466,373295,1,70959), +(2101497,1397821497,1880017466,373296,1,70959), +(2101498,1397821498,1880017466,373297,1,70959), +(2101499,1397821499,1880017466,373298,1,70959), +(2101500,1397821500,1880017466,373299,1,70959), +(2101501,1397821501,1880017466,373300,1,70959), +(2101502,1397821502,1880017466,373301,1,70959), +(2101503,1397821503,1880017466,373302,1,70959), +(2101504,1397821504,1880017466,373303,1,70959), +(2101505,1397821505,1880017466,373304,1,70959), +(2101506,1397821506,1880017466,373305,1,70959), +(2101507,1397821507,1880017466,373306,1,70959), +(2101508,1397821508,1880017466,373307,1,70959), +(2101509,1397821509,1880017466,373308,1,70959), +(2101510,1397821510,1880017466,373309,1,70959), +(2101511,1397821511,1880017466,373310,1,70959), +(2101512,1397821512,1880017466,373311,1,70959), +(2101513,1397821513,1880017466,373312,1,70959), +(2101514,1397821514,1880017466,373313,1,70959), +(2101515,1397821515,1880017466,373314,1,70959), +(2101516,1397821516,1880017466,373315,1,70959), +(2101517,1397821517,1880017466,373316,1,70959), +(2101518,1397821518,1880017466,373317,1,70959), +(2101519,1397821519,1880017466,373318,1,70959), +(2101520,1397821520,1880017466,373319,1,70959), +(2101521,1397821521,1880017466,373320,1,70959), +(2101522,1397821522,1880017466,373321,1,70959), +(2101523,1397821523,1880017466,373322,1,70959), +(2101524,1397821524,1880017466,373323,1,70959), +(2101525,1397821525,1880017466,373324,1,70959), +(2101526,1397821526,1880017466,373325,1,70959), +(2101527,1397821527,1880017466,373326,1,70959), +(2101528,1397821528,1880017466,373327,1,70959), +(2101529,1397821529,1880017466,373328,1,70959), +(2101530,1397821530,1880017466,373329,1,70959), +(2101531,1397821531,1880017466,373330,1,70959), +(2101532,1397821532,1880017466,373331,1,70959), +(2101533,1397821533,1880017466,373332,1,70959), +(2101534,1397821534,1880017466,373333,1,70959), +(2101535,1397821535,1880017466,373334,1,70959), +(2101536,1397821536,1880017466,373335,1,70959), +(2101537,1397821537,1880017466,373336,1,70959), +(2101538,1397821538,1880017466,373337,1,70959), +(2101539,1397821539,1880017466,373338,1,70959), +(2101540,1397821540,1880017466,373339,1,70959), +(2101541,1397821541,1880017466,373340,1,70959), +(2101542,1397821542,1880017466,373341,1,70959), +(2101543,1397821543,1880017466,373342,1,70959), +(2101544,1397821544,1880017466,373343,1,70959), +(2101545,1397821545,1880017466,373344,1,70959), +(2101546,1397821546,1880017466,373345,1,70959), +(2101547,1397821547,1880017466,373346,1,70959), +(2101548,1397821548,1880017466,373347,1,70959), +(2101549,1397821549,1880017466,373348,1,70959), +(2101550,1397821550,1880017466,373349,1,70959), +(2101551,1397821551,1880017466,373350,1,70959), +(2101552,1397821552,1880017466,373351,1,70959), +(2101553,1397821553,1880017466,373352,1,70959), +(2101554,1397821554,1880017466,373353,1,70959), +(2101555,1397821555,1880017466,373354,1,70959), +(2101556,1397821556,1880017466,373355,1,70959), +(2101557,1397821557,1880017466,373356,1,70959), +(2101558,1397821558,1880017466,373357,1,70959), +(2101559,1397821559,1880017466,373358,1,70959), +(2101560,1397821560,1880017466,373359,1,70959), +(2101561,1397821561,1880017466,373360,1,70959), +(2101562,1397821562,1880017466,373361,1,70959), +(2101563,1397821563,1880017466,373362,1,70959), +(2101564,1397821564,1880017466,373363,1,70959), +(2101565,1397821565,1880017466,373364,1,70959), +(2101566,1397821566,1880017466,373365,1,70959), +(2101567,1397821567,1880017466,373366,1,70959), +(2101568,1397821568,1880017466,373367,1,70959), +(2101569,1397821569,1880017466,373368,1,70959), +(2101570,1397821570,1880017466,373369,1,70959), +(2101571,1397821571,1880017466,373370,1,70959), +(2101572,1397821572,1880017466,373371,1,70959), +(2101573,1397821573,1880017466,373372,1,70959), +(2101574,1397821574,1880017466,373373,1,70959), +(2101575,1397821575,1880017466,373374,1,70959), +(2101576,1397821576,1880017466,373375,1,70959), +(2101577,1397821577,1880017466,373376,1,70959), +(2101578,1397821578,1880017466,373377,1,70959), +(2101579,1397821579,1880017466,373378,1,70959), +(2101580,1397821580,1880017466,373379,1,70959), +(2101581,1397821581,1880017466,373380,1,70959), +(2101582,1397821582,1880017466,373381,1,70959), +(2101583,1397821583,1880017466,373382,1,70959), +(2101584,1397821584,1880017466,373383,1,70959), +(2101585,1397821585,1880017466,373384,1,70959), +(2101586,1397821586,1880017466,373385,1,70959), +(2101587,1397821587,1880017466,373386,1,70959), +(2101588,1397821588,1880017466,373387,1,70959), +(2101589,1397821589,1880017466,373388,1,70959), +(2101590,1397821590,1880017466,373389,1,70959), +(2101591,1397821591,1880017466,373390,1,70959), +(2101592,1397821592,1880017466,373391,1,70959), +(2101593,1397821593,1880017466,373392,1,70959), +(2101594,1397821594,1880017466,373393,1,70959), +(2101595,1397821595,1880017466,373394,1,70959), +(2101596,1397821596,1880017466,373395,1,70959), +(2101597,1397821597,1880017466,373396,1,70959), +(2101598,1397821598,1880017466,373397,1,70959), +(2101599,1397821599,1880017466,373398,1,70959), +(2101600,1397821600,1880017466,373399,1,70959), +(2101601,1397821601,1880017466,373400,1,70959), +(2101602,1397821602,1880017466,373401,1,70959), +(2101603,1397821603,1880017466,373402,1,70959), +(2101604,1397821604,1880017466,373403,1,70959), +(2101605,1397821605,1880017466,373404,1,70959), +(2101606,1397821606,1880017466,373405,1,70959), +(2101607,1397821607,1880017466,373406,1,70959), +(2101608,1397821608,1880017466,373407,1,70959), +(2101609,1397821609,1880017466,373408,1,70959), +(2101610,1397821610,1880017466,373409,1,70959), +(2101611,1397821611,1880017466,373410,1,70959), +(2101612,1397821612,1880017466,373411,1,70959), +(2101613,1397821613,1880017466,373412,1,70959), +(2101614,1397821614,1880017466,373413,1,70959), +(2101615,1397821615,1880017466,373414,1,70959), +(2101616,1397821616,1880017466,373415,1,70959), +(2101617,1397821617,1880017466,373416,1,70959), +(2101618,1397821618,1880017466,373417,1,70959), +(2101619,1397821619,1880017466,373418,1,70959), +(2101620,1397821620,1880017466,373419,1,70959), +(2101621,1397821621,1880017466,373420,1,70959), +(2101622,1397821622,1880017466,373421,1,70959), +(2101623,1397821623,1880017466,373422,1,70959), +(2101624,1397821624,1880017466,373423,1,70959), +(2101625,1397821625,1880017466,373424,1,70959), +(2101626,1397821626,1880017466,373425,1,70959), +(2101627,1397821627,1880017466,373426,1,70959), +(2101628,1397821628,1880017466,373427,1,70959), +(2101629,1397821629,1880017466,373428,1,70959), +(2101630,1397821630,1880017466,373429,1,70959), +(2101631,1397821631,1880017466,373430,1,70959), +(2101632,1397821632,1880017466,373431,1,70959), +(2101633,1397821633,1880017466,373432,1,70959), +(2101634,1397821634,1880017466,373433,1,70959), +(2101635,1397821635,1880017466,373434,1,70959), +(2101636,1397821636,1880017466,373435,1,70959), +(2101637,1397821637,1880017466,373436,1,70959), +(2101638,1397821638,1880017466,373437,1,70959), +(2101639,1397821639,1880017466,373438,1,70959), +(2101640,1397821640,1880017466,373439,1,70959), +(2101641,1397821641,1880017466,373440,1,70959), +(2101642,1397821642,1880017466,373441,1,70959), +(2101643,1397821643,1880017466,373442,1,70959), +(2101644,1397821644,1880017466,373443,1,70959), +(2101645,1397821645,1880017466,373444,1,70959), +(2101646,1397821646,1880017466,373445,1,70959), +(2101647,1397821647,1880017466,373446,1,70959), +(2101648,1397821648,1880017466,373447,1,70959), +(2101649,1397821649,1880017466,373448,1,70959), +(2101650,1397821650,1880017466,373449,1,70959), +(2101651,1397821651,1880017466,373450,1,70959), +(2101652,1397821652,1880017466,373451,1,70959), +(2101653,1397821653,1880017466,373452,1,70959), +(2101654,1397821654,1880017466,373453,1,70959), +(2101655,1397821655,1880017466,373454,1,70959), +(2101656,1397821656,1880017466,373455,1,70959), +(2101657,1397821657,1880017466,373456,1,70959), +(2101658,1397821658,1880017466,373457,1,70959), +(2101659,1397821659,1880017466,373458,1,70959), +(2101660,1397821660,1880017466,373459,1,70959), +(2101661,1397821661,1880017466,373460,1,70959), +(2101662,1397821662,1880017466,373461,1,70959), +(2101663,1397821663,1880017466,373462,1,70959), +(2101664,1397821664,1880017466,373463,1,70959), +(2101665,1397821665,1880017466,373464,1,70959), +(2101666,1397821666,1880017466,373465,1,70959), +(2101667,1397821667,1880017466,373466,1,70959), +(2101668,1397821668,1880017466,373467,1,70959), +(2101669,1397821669,1880017466,373468,1,70959), +(2101670,1397821670,1880017466,373469,1,70959), +(2101671,1397821671,1880017466,373470,1,70959), +(2101672,1397821672,1880017466,373471,1,70959), +(2101673,1397821673,1880017466,373472,1,70959), +(2101674,1397821674,1880017466,373473,1,70959), +(2101675,1397821675,1880017466,373474,1,70959), +(2101676,1397821676,1880017466,373475,1,70959), +(2101677,1397821677,1880017466,373476,1,70959), +(2101678,1397821678,1880017466,373477,1,70959), +(2101679,1397821679,1880017466,373478,1,70959), +(2101680,1397821680,1880017466,373479,1,70959), +(2101681,1397821681,1880017466,373480,1,70959), +(2101682,1397821682,1880017466,373481,1,70959), +(2101683,1397821683,1880017466,373482,1,70959), +(2101684,1397821684,1880017466,373483,1,70959), +(2101685,1397821685,1880017466,373484,1,70959), +(2101686,1397821686,1880017466,373485,1,70959), +(2101687,1397821687,1880017466,373486,1,70959), +(2101688,1397821688,1880017466,373487,1,70959), +(2101689,1397821689,1880017466,373488,1,70959), +(2101690,1397821690,1880017466,373489,1,70959), +(2101691,1397821691,1880017466,373490,1,70959), +(2101692,1397821692,1880017466,373491,1,70959), +(2101693,1397821693,1880017466,373492,1,70959), +(2101694,1397821694,1880017466,373493,1,70959), +(2101695,1397821695,1880017466,373494,1,70959), +(2101696,1397821696,1880017466,373495,1,70959), +(2101697,1397821697,1880017466,373496,1,70959), +(2101698,1397821698,1880017466,373497,1,70959), +(2101699,1397821699,1880017466,373498,1,70959), +(2101700,1397821700,1880017466,373499,1,70959), +(2101701,1397821701,1880017466,373500,1,70959), +(2101702,1397821702,1880017466,373501,1,70959), +(2101703,1397821703,1880017466,373502,1,70959), +(2101704,1397821704,1880017466,373503,1,70959), +(2101705,1397821705,1880017466,373504,1,70959), +(2101706,1397821706,1880017466,373505,1,70959), +(2101707,1397821707,1880017466,373506,1,70959), +(2101708,1397821708,1880017466,373507,1,70959), +(2101709,1397821709,1880017466,373508,1,70959), +(2101710,1397821710,1880017466,373509,1,70959), +(2101711,1397821711,1880017466,373510,1,70959), +(2101712,1397821712,1880017466,373511,1,70959), +(2101713,1397821713,1880017466,373512,1,70959), +(2101714,1397821714,1880017466,373513,1,70959), +(2101715,1397821715,1880017466,373514,1,70959), +(2101716,1397821716,1880017466,373515,1,70959), +(2101717,1397821717,1880017466,373516,1,70959), +(2101718,1397821718,1880017466,373517,1,70959), +(2101719,1397821719,1880017466,373518,1,70959), +(2101720,1397821720,1880017466,373519,1,70959), +(2101721,1397821721,1880017466,373520,1,70959), +(2101722,1397821722,1880017466,373521,1,70959), +(2101723,1397821723,1880017466,373522,1,70959), +(2101724,1397821724,1880017466,373523,1,70959), +(2101725,1397821725,1880017466,373524,1,70959), +(2101726,1397821726,1880017466,373525,1,70959), +(2101727,1397821727,1880017466,373526,1,70959), +(2101728,1397821728,1880017466,373527,1,70959), +(2101729,1397821729,1880017466,373528,1,70959), +(2101730,1397821730,1880017466,373529,1,70959), +(2101731,1397821731,1880017466,373530,1,70959), +(2101732,1397821732,1880017466,373531,1,70959), +(2101733,1397821733,1880017466,373532,1,70959), +(2101734,1397821734,1880017466,373533,1,70959), +(2101735,1397821735,1880017466,373534,1,70959), +(2101736,1397821736,1880017466,373535,1,70959), +(2101737,1397821737,1880017466,373536,1,70959), +(2101738,1397821738,1880017466,373537,1,70959), +(2101739,1397821739,1880017466,373538,1,70959), +(2101740,1397821740,1880017466,373539,1,70959), +(2101741,1397821741,1880017466,373540,1,70959), +(2101742,1397821742,1880017466,373541,1,70959), +(2101743,1397821743,1880017466,373542,1,70959), +(2101744,1397821744,1880017466,373543,1,70959), +(2101745,1397821745,1880017466,373544,1,70959), +(2101746,1397821746,1880017466,373545,1,70959), +(2101747,1397821747,1880017466,373546,1,70959), +(2101748,1397821748,1880017466,373547,1,70959), +(2101749,1397821749,1880017466,373548,1,70959), +(2101750,1397821750,1880017466,373549,1,70959), +(2101751,1397821751,1880017466,373550,1,70959), +(2101752,1397821752,1880017466,373551,1,70959), +(2101753,1397821753,1880017466,373552,1,70959), +(2101754,1397821754,1880017466,373553,1,70959), +(2101755,1397821755,1880017466,373554,1,70959), +(2101756,1397821756,1880017466,373555,1,70959), +(2101757,1397821757,1880017466,373556,1,70959), +(2101758,1397821758,1880017466,373557,1,70959), +(2101759,1397821759,1880017466,373558,1,70959), +(2101760,1397821760,1880017466,373559,1,70959), +(2101761,1397821761,1880017466,373560,1,70959), +(2101762,1397821762,1880017466,373561,1,70959), +(2101763,1397821763,1880017466,373562,1,70959), +(2101764,1397821764,1880017466,373563,1,70959), +(2101765,1397821765,1880017466,373564,1,70959), +(2101766,1397821766,1880017466,373565,1,70959), +(2101767,1397821767,1880017466,373566,1,70959), +(2101768,1397821768,1880017466,373567,1,70959), +(2101769,1397821769,1880017466,373568,1,70959), +(2101770,1397821770,1880017466,373569,1,70959), +(2101771,1397821771,1880017466,373570,1,70959), +(2101772,1397821772,1880017466,373571,1,70959), +(2101773,1397821773,1880017466,373572,1,70959), +(2101774,1397821774,1880017466,373573,1,70959), +(2101775,1397821775,1880017466,373574,1,70959), +(2101776,1397821776,1880017466,373575,1,70959), +(2101777,1397821777,1880017466,373576,1,70959), +(2101778,1397821778,1880017466,373577,1,70959), +(2101779,1397821779,1880017466,373578,1,70959), +(2101780,1397821780,1880017466,373579,1,70959), +(2101781,1397821781,1880017466,373580,1,70959), +(2101782,1397821782,1880017466,373581,1,70959), +(2101783,1397821783,1880017466,373582,1,70959), +(2101784,1397821784,1880017466,373583,1,70959), +(2101785,1397821785,1880017466,373584,1,70959), +(2101786,1397821786,1880017466,373585,1,70959), +(2101787,1397821787,1880017466,373586,1,70959), +(2101788,1397821788,1880017466,373587,1,70959), +(2101789,1397821789,1880017466,373588,1,70959), +(2101790,1397821790,1880017466,373589,1,70959), +(2101791,1397821791,1880017466,373590,1,70959), +(2101792,1397821792,1880017466,373591,1,70959), +(2101793,1397821793,1880017466,373592,1,70959), +(2101794,1397821794,1880017466,373593,1,70959), +(2101795,1397821795,1880017466,373594,1,70959), +(2101796,1397821796,1880017466,373595,1,70959), +(2101797,1397821797,1880017466,373596,1,70959), +(2101798,1397821798,1880017466,373597,1,70959), +(2101799,1397821799,1880017466,373598,1,70959), +(2101800,1397821800,1880017466,373599,1,70959), +(2101801,1397821801,1880017466,373600,1,70959), +(2101802,1397821802,1880017466,373601,1,70959), +(2101803,1397821803,1880017466,373602,1,70959), +(2101804,1397821804,1880017466,373603,1,70959), +(2101805,1397821805,1880017466,373604,1,70959), +(2101806,1397821806,1880017466,373605,1,70959), +(2101807,1397821807,1880017466,373606,1,70959), +(2101808,1397821808,1880017466,373607,1,70959), +(2101809,1397821809,1880017466,373608,1,70959), +(2101810,1397821810,1880017466,373609,1,70959), +(2101811,1397821811,1880017466,373610,1,70959), +(2101812,1397821812,1880017466,373611,1,70959), +(2101813,1397821813,1880017466,373612,1,70959), +(2101814,1397821814,1880017466,373613,1,70959), +(2101815,1397821815,1880017466,373614,1,70959), +(2101816,1397821816,1880017466,373615,1,70959), +(2101817,1397821817,1880017466,373616,1,70959), +(2101818,1397821818,1880017466,373617,1,70959), +(2101819,1397821819,1880017466,373618,1,70959), +(2101820,1397821820,1880017466,373619,1,70959), +(2101821,1397821821,1880017466,373620,1,70959), +(2101822,1397821822,1880017466,373621,1,70959), +(2101823,1397821823,1880017466,373622,1,70959), +(2101824,1397821824,1880017466,373623,1,70959), +(2101825,1397821825,1880017466,373624,1,70959), +(2101826,1397821826,1880017466,373625,1,70959), +(2101827,1397821827,1880017466,373626,1,70959), +(2101828,1397821828,1880017466,373627,1,70959), +(2101829,1397821829,1880017466,373628,1,70959), +(2101830,1397821830,1880017466,373629,1,70959), +(2101831,1397821831,1880017466,373630,1,70959), +(2101832,1397821832,1880017466,373631,1,70959), +(2101833,1397821833,1880017466,373632,1,70959), +(2101834,1397821834,1880017466,373633,1,70959), +(2101835,1397821835,1880017466,373634,1,70959), +(2101836,1397821836,1880017466,373635,1,70959), +(2101837,1397821837,1880017466,373636,1,70959), +(2101838,1397821838,1880017466,373637,1,70959), +(2101839,1397821839,1880017466,373638,1,70959), +(2101840,1397821840,1880017466,373639,1,70959), +(2101841,1397821841,1880017466,373640,1,70959), +(2101842,1397821842,1880017466,373641,1,70959), +(2101843,1397821843,1880017466,373642,1,70959), +(2101844,1397821844,1880017466,373643,1,70959), +(2101845,1397821845,1880017466,373644,1,70959), +(2101846,1397821846,1880017466,373645,1,70959), +(2101847,1397821847,1880017466,373646,1,70959), +(2101848,1397821848,1880017466,373647,1,70959), +(2101849,1397821849,1880017466,373648,1,70959), +(2101850,1397821850,1880017466,373649,1,70959), +(2101851,1397821851,1880017466,373650,1,70959), +(2101852,1397821852,1880017466,373651,1,70959), +(2101853,1397821853,1880017466,373652,1,70959), +(2101854,1397821854,1880017466,373653,1,70959), +(2101855,1397821855,1880017466,373654,1,70959), +(2101856,1397821856,1880017466,373655,1,70959), +(2101857,1397821857,1880017466,373656,1,70959), +(2101858,1397821858,1880017466,373657,1,70959), +(2101859,1397821859,1880017466,373658,1,70959), +(2101860,1397821860,1880017466,373659,1,70959), +(2101861,1397821861,1880017466,373660,1,70959), +(2101862,1397821862,1880017466,373661,1,70959), +(2101863,1397821863,1880017466,373662,1,70959), +(2101864,1397821864,1880017466,373663,1,70959), +(2101865,1397821865,1880017466,373664,1,70959), +(2101866,1397821866,1880017466,373665,1,70959), +(2101867,1397821867,1880017466,373666,1,70959), +(2101868,1397821868,1880017466,373667,1,70959), +(2101869,1397821869,1880017466,373668,1,70959), +(2101870,1397821870,1880017466,373669,1,70959), +(2101871,1397821871,1880017466,373670,1,70959), +(2101872,1397821872,1880017466,373671,1,70959), +(2101873,1397821873,1880017466,373672,1,70959), +(2101874,1397821874,1880017466,373673,1,70959), +(2101875,1397821875,1880017466,373674,1,70959), +(2101876,1397821876,1880017466,373675,1,70959), +(2101877,1397821877,1880017466,373676,1,70959), +(2101878,1397821878,1880017466,373677,1,70959), +(2101879,1397821879,1880017466,373678,1,70959), +(2101880,1397821880,1880017466,373679,1,70959), +(2101881,1397821881,1880017466,373680,1,70959), +(2101882,1397821882,1880017466,373681,1,70959), +(2101883,1397821883,1880017466,373682,1,70959), +(2101884,1397821884,1880017466,373683,1,70959), +(2101885,1397821885,1880017466,373684,1,70959), +(2101886,1397821886,1880017466,373685,1,70959), +(2101887,1397821887,1880017466,373686,1,70959), +(2101888,1397821888,1880017466,373687,1,70959), +(2101889,1397821889,671633915,535,1,70959), +(2101890,1397821890,331613093,648994,3,70959), +(2101891,1397821891,331613093,649094,3,70959), +(2101892,1397821892,1344507586,2848,1,70959), +(2101893,1397821893,1344507586,7994,1,70959), +(2101894,1397821894,428746933,2848,1,70959), +(2101895,1397821895,428746933,7994,3,70959), +(2101896,1397821896,2442913102,2848,1,70959), +(2101897,1397821897,2442913102,7994,1,70959), +(2101898,1397821898,1556783290,259,1,70959), +(2101899,1397821899,1556783290,260,1,70959), +(2101900,1397821900,1556783290,261,1,70959), +(2101901,1397821901,1556783290,264,1,70959), +(2101902,1397821902,1556783290,303,1,70959), +(2101903,1397821903,1556783290,304,1,70959), +(2101904,1397821904,1556783290,16848,1,70959), +(2101905,1397821905,3465080266,2848,3,70959), +(2101906,1397821906,3465080266,7994,3,70959), +(2101907,1397821907,3108775943,168993,3,70959), +(2101908,1397821908,3108775943,169008,3,70959), +(2101909,1397821909,3108775943,169022,1,70959), +(2101910,1397821910,3108775943,169029,1,70959), +(2101911,1397821911,2921112328,42598,3,70959), +(2101912,1397821912,2921112328,543497,3,70959), +(2101913,1397821913,2921112328,593105,3,70959), +(2101914,1397821914,2202435563,137930,3,70959), +(2101915,1397821915,2202435563,137931,3,70959), +(2101916,1397821916,2202435563,137932,3,70959), +(2101917,1397821917,2202435563,137933,3,70959), +(2101918,1397821918,2202435563,137934,3,70959), +(2101919,1397821919,2202435563,137935,3,70959), +(2101920,1397821920,2202435563,137936,3,70959), +(2101921,1397821921,2202435563,137937,3,70959), +(2101922,1397821922,2202435563,137938,3,70959), +(2101923,1397821923,2202435563,137939,3,70959), +(2101924,1397821924,2202435563,137940,3,70959), +(2101925,1397821925,2202435563,137941,3,70959), +(2101926,1397821926,2202435563,137942,3,70959), +(2101927,1397821927,2202435563,137943,3,70959), +(2101928,1397821928,2202435563,137944,3,70959), +(2101929,1397821929,2202435563,137945,3,70959), +(2101930,1397821930,2202435563,137946,2,70959), +(2101931,1397821931,2202435563,137947,2,70959), +(2101932,1397821932,2202435563,137948,2,70959), +(2101933,1397821933,2202435563,137949,2,70959), +(2101934,1397821934,2202435563,137950,2,70959), +(2101935,1397821935,2202435563,137951,2,70959), +(2101936,1397821936,2202435563,137952,2,70959), +(2101937,1397821937,2202435563,1205412,2,70959), +(2101938,1397821938,2202435563,1205413,2,70959), +(2101939,1397821939,2202435563,1346867,3,70959), +(2101940,1397821940,986198281,2756,1,70959), +(2101941,1397821941,986198281,7141,1,70959), +(2101942,1397821942,986198281,7142,1,70959), +(2101943,1397821943,986198281,8271,1,70959), +(2101944,1397821944,986198281,8272,1,70959), +(2101945,1397821945,986198281,91903,3,70959), +(2101946,1397821946,986198281,91908,3,70959), +(2101947,1397821947,261693969,2756,3,70959), +(2101948,1397821948,261693969,7141,3,70959), +(2101949,1397821949,261693969,7142,3,70959), +(2101950,1397821950,261693969,8271,3,70959), +(2101951,1397821951,261693969,8272,3,70959), +(2101952,1397821952,261693969,91903,3,70959), +(2101953,1397821953,261693969,91908,3,70959), +(2101954,1397821954,3776013982,1332188,1,70959), +(2101955,1397821955,4030871717,1373229,1,70959), +(2101956,1397821956,1720692227,253220,1,70959), +(2101957,1397821957,3322146344,324857,1,70959), +(2101958,1397821958,3322146344,324858,1,70959), +(2101959,1397821959,3322146344,328566,1,70959), +(2101960,1397821960,3322146344,877177,1,70959), +(2101961,1397821961,1187407512,1332188,1,70959), +(2101962,1397821962,1163127287,4738,3,70959), +(2101963,1397821963,1163127287,5178,3,70959), +(2101964,1397821964,1163127287,132738,3,70959), +(2101965,1397821965,1163127287,136557,3,70959), +(2101966,1397821966,312611497,30052,3,70959), +(2101967,1397821967,312611497,30053,3,70959), +(2101968,1397821968,312611497,30260,3,70959), +(2101969,1397821969,312611497,30261,3,70959), +(2101970,1397821970,3037505077,7994,3,70959), +(2101971,1397821971,1417785224,2848,3,70959), +(2101972,1397821972,1417785224,7994,3,70959), +(2101973,1397821973,3664936999,36038,1,70959), +(2101974,1397821974,3664936999,36039,1,70959); diff --git a/sql/custom/world/2026_11_16_56_world_ahbot_market_price.sql b/sql/custom/world/2026_11_16_56_world_ahbot_market_price.sql new file mode 100644 index 0000000000..8db03c165d --- /dev/null +++ b/sql/custom/world/2026_11_16_56_world_ahbot_market_price.sql @@ -0,0 +1,10 @@ +-- Auction house bot: per-unit market prices (AuctionHouseBot.Vanilla.MarketPrices). Empty by default; the bot falls back to +-- AuctionHouseBot.Vanilla.ValueCurve or the vendor price for items without a row. Safe to run again. + +CREATE TABLE IF NOT EXISTS `auctionhousebot_market_price` ( + `ItemID` int unsigned NOT NULL, + `UnitPrice` bigint unsigned NOT NULL DEFAULT '0' COMMENT 'copper per unit', + `Quantity` int unsigned NOT NULL DEFAULT '0' COMMENT 'units seen on offer', + `Samples` smallint unsigned NOT NULL DEFAULT '0' COMMENT 'price samples behind UnitPrice', + PRIMARY KEY (`ItemID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Auction house bot market prices'; diff --git a/sql/custom/world/2026_11_16_57_world_ahbot_market_prices_data.sql b/sql/custom/world/2026_11_16_57_world_ahbot_market_prices_data.sql new file mode 100644 index 0000000000..3e0c750e8c --- /dev/null +++ b/sql/custom/world/2026_11_16_57_world_ahbot_market_prices_data.sql @@ -0,0 +1,4144 @@ +-- Auction house bot market prices: lowest buyout per unit for 4139 items, the median of the lowest buyouts seen in auction house +-- browse scans of 15 and 16 November 2026 (27 pages). Used with AuctionHouseBot.Vanilla.MarketPrices = 1. Safe to run again. + +DELETE FROM `auctionhousebot_market_price` WHERE `ItemID` IN (25,35,36,37,53,117,118,148,159,414,422,537,555,556,647,723,724,727,728,729,730,731,732,733,753,754,755,756,765,766,767,768,769,770,771,774,776,777,778,779,781,783,785,787,789,790,791,792,798,799,804,805,809,810,811,812,814,816,818,820,821,826,827,828,838,845,849,851,852,854,856,857,858,863,864,865,866,868,869,870,871,873,878,880,885,886,887,890,893,899,911,920,922,927,928,929,933,934,935,936,937,943,944,954,955,961,1015,1017,1074,1080,1081,1082,1168,1175,1177,1178,1179,1180,1181,1195,1196,1197,1205,1206,1207,1210,1211,1212,1213,1214,1218,1219,1220,1251,1263,1265,1274,1287,1288,1296,1299,1300,1318,1326,1357,1364,1366,1367,1369,1370,1374,1376,1377,1378,1380,1387,1389,1394,1399,1401,1405,1406,1411,1412,1413,1414,1415,1416,1417,1418,1419,1420,1421,1422,1423,1425,1427,1429,1430,1431,1433,1440,1443,1445,1446,1448,1454,1455,1457,1458,1459,1460,1461,1464,1465,1468,1469,1470,1473,1475,1476,1477,1478,1481,1482,1483,1484,1485,1493,1495,1497,1498,1499,1501,1502,1503,1504,1505,1506,1507,1509,1510,1511,1512,1513,1514,1515,1516,1520,1521,1522,1523,1529,1560,1602,1604,1607,1608,1613,1625,1630,1639,1640,1645,1664,1679,1680,1685,1686,1687,1688,1696,1697,1701,1702,1703,1705,1706,1707,1708,1710,1711,1712,1720,1721,1722,1725,1726,1727,1730,1731,1732,1733,1734,1735,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1750,1751,1752,1753,1754,1755,1756,1757,1758,1759,1760,1764,1766,1767,1768,1769,1770,1772,1774,1775,1776,1777,1778,1780,1782,1783,1784,1785,1786,1787,1788,1789,1790,1791,1792,1793,1794,1795,1796,1797,1798,1799,1800,1801,1802,1803,1804,1805,1806,1807,1809,1810,1811,1812,1813,1814,1815,1816,1817,1818,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1839,1840,1844,1846,1913,1917,1925,1926,1927,1928,1930,1933,1935,1936,1938,1944,1945,1951,1958,1959,1975,1976,1982,1986,1990,1991,1994,1998,2011,2013,2014,2015,2018,2020,2026,2027,2028,2046,2054,2055,2057,2058,2065,2066,2067,2069,2070,2072,2073,2075,2077,2078,2079,2080,2084,2085,2088,2091,2092,2098,2099,2100,2101,2102,2112,2124,2132,2134,2138,2139,2140,2163,2164,2175,2194,2203,2204,2205,2207,2209,2210,2211,2212,2213,2214,2215,2216,2217,2219,2220,2226,2227,2232,2236,2243,2244,2245,2246,2251,2256,2257,2258,2260,2265,2266,2267,2268,2271,2281,2282,2287,2289,2290,2291,2295,2299,2300,2302,2303,2304,2307,2308,2309,2310,2311,2312,2313,2314,2315,2316,2318,2319,2320,2321,2324,2325,2327,2361,2379,2392,2395,2397,2406,2407,2408,2409,2447,2449,2450,2452,2453,2454,2455,2456,2457,2458,2459,2479,2480,2488,2489,2492,2494,2495,2504,2506,2507,2509,2510,2512,2515,2516,2519,2549,2553,2555,2567,2568,2569,2570,2572,2575,2576,2577,2578,2579,2580,2581,2582,2584,2587,2589,2590,2591,2592,2593,2594,2595,2596,2598,2601,2604,2605,2608,2632,2633,2635,2642,2643,2644,2645,2646,2648,2649,2650,2651,2652,2653,2654,2656,2657,2672,2673,2674,2675,2677,2678,2679,2680,2681,2682,2683,2684,2685,2686,2687,2692,2697,2698,2699,2700,2701,2723,2725,2728,2730,2732,2734,2735,2738,2740,2742,2744,2745,2748,2749,2750,2751,2763,2764,2765,2766,2770,2771,2772,2773,2774,2775,2776,2777,2778,2780,2781,2782,2783,2785,2786,2787,2799,2807,2815,2819,2821,2822,2823,2824,2825,2835,2836,2838,2840,2841,2842,2844,2845,2847,2848,2849,2850,2851,2852,2853,2854,2857,2862,2863,2865,2866,2868,2871,2877,2878,2880,2881,2882,2883,2886,2888,2889,2892,2893,2894,2898,2901,2912,2915,2924,2928,2930,2934,2940,2946,2947,2957,2958,2959,2960,2961,2962,2963,2964,2966,2967,2968,2969,2970,2971,2972,2973,2974,2975,2976,2977,2978,2979,2980,2981,2982,2983,2984,2985,2986,2987,2988,2991,2992,2996,2997,3000,3010,3012,3013,3019,3021,3023,3026,3030,3033,3036,3037,3039,3040,3041,3042,3058,3065,3066,3087,3107,3111,3131,3167,3169,3170,3171,3172,3173,3174,3175,3176,3177,3179,3180,3181,3182,3184,3185,3186,3187,3188,3189,3190,3192,3193,3194,3195,3196,3197,3198,3199,3200,3201,3203,3205,3206,3207,3208,3210,3211,3213,3214,3220,3223,3227,3233,3239,3240,3241,3279,3280,3281,3284,3285,3287,3289,3290,3291,3292,3299,3300,3301,3303,3304,3305,3309,3310,3311,3312,3334,3336,3340,3355,3356,3357,3358,3363,3365,3369,3370,3371,3372,3373,3374,3375,3376,3377,3378,3379,3380,3381,3382,3383,3384,3385,3387,3388,3389,3390,3391,3393,3395,3396,3399,3401,3402,3403,3404,3413,3414,3415,3417,3419,3421,3428,3430,3464,3465,3466,3469,3470,3472,3473,3474,3478,3480,3486,3487,3488,3489,3490,3491,3492,3530,3531,3563,3571,3575,3576,3577,3598,3602,3603,3608,3609,3610,3611,3612,3641,3642,3643,3644,3645,3647,3649,3651,3652,3653,3654,3661,3662,3663,3664,3665,3666,3667,3669,3670,3671,3674,3676,3678,3679,3680,3681,3682,3683,3685,3702,3703,3712,3713,3722,3723,3724,3725,3726,3727,3728,3729,3730,3731,3736,3737,3740,3745,3770,3771,3775,3778,3779,3780,3781,3782,3783,3784,3785,3786,3787,3792,3793,3794,3796,3802,3804,3808,3818,3819,3820,3821,3823,3824,3825,3826,3827,3828,3829,3830,3831,3832,3848,3850,3851,3852,3853,3855,3856,3857,3858,3859,3860,3864,3866,3867,3868,3869,3870,3871,3872,3873,3874,3875,3882,3899,3902,3914,3927,3928,3931,3973,4017,4018,4019,4020,4021,4022,4023,4024,4025,4026,4056,4087,4088,4089,4090,4091,4092,4093,4096,4097,4098,4099,4100,4101,4102,4231,4232,4233,4234,4235,4236,4237,4238,4239,4240,4241,4242,4243,4245,4246,4249,4250,4265,4278,4289,4291,4292,4293,4294,4296,4297,4298,4299,4300,4301,4304,4305,4306,4307,4308,4309,4310,4312,4314,4330,4332,4334,4337,4338,4339,4340,4341,4342,4343,4344,4345,4346,4347,4348,4349,4350,4351,4352,4353,4354,4355,4356,4357,4358,4359,4360,4361,4362,4363,4364,4365,4366,4367,4368,4369,4370,4371,4374,4375,4376,4377,4378,4379,4380,4382,4383,4384,4386,4387,4388,4389,4390,4391,4392,4394,4395,4398,4399,4400,4401,4402,4403,4404,4405,4406,4407,4408,4409,4410,4411,4412,4413,4414,4415,4416,4417,4419,4421,4422,4424,4425,4426,4428,4439,4446,4449,4454,4457,4459,4460,4461,4470,4471,4474,4479,4480,4481,4496,4497,4498,4500,4536,4537,4538,4539,4540,4541,4542,4544,4552,4553,4554,4555,4556,4557,4558,4560,4561,4562,4563,4564,4565,4566,4567,4568,4569,4570,4571,4575,4576,4577,4580,4581,4582,4583,4584,4585,4586,4587,4588,4589,4590,4591,4592,4593,4594,4595,4596,4599,4600,4601,4602,4603,4604,4605,4606,4607,4608,4611,4623,4624,4625,4639,4655,4656,4659,4660,4662,4663,4665,4666,4669,4671,4672,4674,4675,4676,4677,4678,4680,4683,4684,4686,4687,4689,4690,4692,4693,4694,4695,4696,4697,4698,4699,4701,4706,4708,4710,4757,4765,4766,4775,4776,4777,4778,4779,4780,4784,4787,4791,4813,4814,4817,4818,4824,4825,4826,4852,4860,4865,4873,4874,4877,4949,5020,5042,5048,5051,5052,5057,5066,5069,5071,5075,5082,5083,5095,5109,5113,5114,5115,5116,5117,5118,5119,5120,5121,5122,5123,5124,5125,5128,5133,5134,5135,5136,5137,5140,5165,5173,5182,5205,5206,5207,5211,5212,5213,5214,5215,5216,5237,5256,5267,5269,5329,5342,5367,5368,5369,5371,5373,5374,5375,5376,5377,5379,5423,5427,5428,5429,5430,5431,5432,5435,5439,5441,5446,5447,5448,5451,5465,5466,5467,5468,5469,5470,5471,5472,5476,5477,5480,5482,5483,5484,5485,5486,5487,5488,5498,5500,5503,5504,5506,5507,5516,5525,5526,5527,5528,5529,5530,5540,5541,5542,5543,5565,5566,5567,5568,5569,5571,5572,5573,5574,5575,5576,5578,5601,5602,5631,5633,5634,5635,5636,5637,5640,5642,5643,5740,5741,5744,5749,5752,5756,5762,5763,5764,5765,5771,5772,5773,5774,5775,5784,5785,5791,5826,5829,5833,5839,5871,5956,5957,5972,5974,5996,5997,6037,6038,6039,6041,6042,6043,6044,6045,6046,6048,6049,6050,6051,6052,6096,6148,6149,6150,6202,6203,6205,6206,6211,6214,6217,6219,6238,6239,6240,6241,6242,6256,6260,6261,6266,6267,6268,6269,6270,6271,6272,6274,6275,6289,6290,6291,6292,6293,6294,6295,6296,6297,6298,6299,6300,6301,6302,6303,6304,6305,6306,6308,6309,6310,6311,6316,6317,6325,6326,6327,6328,6329,6330,6331,6336,6337,6338,6342,6344,6346,6347,6348,6349,6350,6358,6359,6360,6361,6362,6363,6364,6365,6367,6368,6369,6370,6371,6372,6373,6375,6377,6378,6379,6380,6381,6382,6390,6391,6438,6439,6444,6445,6450,6451,6452,6453,6454,6456,6457,6458,6466,6470,6471,6474,6475,6476,6506,6507,6508,6509,6510,6511,6512,6513,6514,6515,6517,6518,6519,6520,6521,6522,6527,6528,6529,6530,6531,6532,6533,6536,6537,6538,6539,6540,6541,6542,6543,6545,6546,6547,6548,6549,6550,6551,6552,6553,6554,6555,6556,6557,6558,6559,6560,6561,6562,6563,6564,6565,6566,6570,6574,6575,6576,6577,6579,6581,6585,6586,6622,6651,6657,6660,6661,6662,6663,6672,6709,6710,6712,6714,6716,6735,6786,6787,6796,6807,6811,6826,6887,6888,6889,6890,6892,6947,6949,6950,6986,7005,7026,7067,7068,7069,7070,7071,7072,7073,7074,7075,7076,7077,7078,7079,7080,7081,7082,7084,7085,7086,7090,7091,7092,7094,7096,7097,7098,7100,7101,7108,7109,7166,7191,7192,7276,7277,7278,7279,7280,7281,7282,7283,7285,7286,7287,7288,7289,7290,7307,7348,7350,7351,7360,7361,7363,7364,7371,7372,7392,7428,7449,7450,7452,7453,7676,7729,7730,7736,7740,7741,7752,7753,7757,7758,7761,7786,7909,7910,7911,7912,7941,7942,7943,7944,7945,7946,7947,7954,7955,7956,7957,7958,7959,7960,7961,7964,7965,7966,7967,7969,7971,7972,7974,7975,7976,7978,7989,7990,7991,7992,7993,8006,8028,8067,8068,8069,8146,8150,8151,8152,8153,8154,8165,8167,8168,8169,8170,8171,8172,8173,8177,8178,8179,8180,8181,8182,8183,8184,8186,8188,8190,8194,8196,8199,8217,8218,8223,8225,8226,8244,8283,8284,8287,8288,8289,8290,8292,8294,8296,8299,8300,8301,8302,8304,8306,8308,8310,8312,8343,8364,8365,8368,8384,8386,8387,8388,8389,8390,8391,8392,8393,8394,8395,8396,8397,8398,8399,8400,8401,8402,8430,8483,8485,8486,8487,8488,8489,8490,8491,8492,8494,8495,8496,8497,8498,8499,8500,8501,8544,8545,8746,8766,8827,8831,8836,8838,8839,8845,8846,8923,8924,8925,8926,8927,8932,8948,8949,8950,8951,8952,8953,8956,8957,8959,8984,9036,9060,9061,9088,9144,9154,9155,9172,9179,9187,9197,9206,9210,9224,9233,9242,9251,9252,9253,9254,9259,9260,9261,9262,9264,9293,9294,9295,9296,9297,9298,9301,9303,9304,9308,9312,9313,9327,9332,9334,9335,9336,9355,9356,9357,9358,9359,9360,9361,9367,9381,9383,9384,9385,9386,9391,9392,9423,9424,9426,9427,9451,9465,9482,9485,9486,9487,9488,9490,9511,9718,9719,9742,9743,9744,9745,9746,9747,9748,9749,9750,9751,9752,9753,9754,9755,9756,9757,9758,9759,9760,9761,9762,9763,9764,9765,9766,9768,9770,9771,9775,9776,9777,9779,9780,9783,9784,9785,9786,9787,9788,9789,9790,9792,9793,9801,9805,9811,9812,9814,10045,10046,10047,10050,10051,10100,10101,10102,10104,10105,10112,10113,10118,10123,10136,10137,10138,10140,10144,10145,10146,10147,10148,10150,10153,10154,10155,10156,10159,10163,10164,10169,10178,10181,10182,10210,10211,10212,10213,10214,10216,10217,10219,10221,10222,10223,10224,10225,10226,10228,10230,10232,10233,10234,10235,10236,10237,10247,10248,10249,10252,10255,10256,10257,10258,10259,10261,10263,10267,10272,10275,10277,10279,10280,10284,10285,10286,10290,10300,10301,10302,10305,10306,10307,10308,10309,10310,10311,10312,10314,10315,10316,10317,10318,10320,10321,10323,10325,10326,10360,10361,10362,10366,10368,10369,10370,10371,10372,10373,10374,10375,10376,10377,10378,10379,10381,10382,10383,10385,10386,10387,10388,10391,10392,10393,10394,10398,10407,10421,10424,10450,10463,10498,10505,10507,10508,10510,10512,10513,10514,10546,10548,10553,10554,10558,10559,10560,10561,10562,10567,10570,10571,10572,10573,10586,10592,10593,10601,10603,10604,10605,10606,10608,10609,10620,10623,10624,10625,10626,10627,10628,10644,10646,10647,10648,10713,10822,10839,10840,10841,10918,10920,10921,10922,10938,10939,10940,10978,10998,11018,11022,11023,11026,11027,11038,11040,11081,11082,11083,11084,11098,11101,11108,11109,11128,11134,11135,11137,11138,11139,11144,11150,11151,11152,11164,11165,11166,11167,11168,11174,11175,11176,11177,11178,11184,11185,11186,11188,11202,11203,11204,11205,11206,11207,11208,11223,11224,11225,11226,11242,11284,11285,11287,11288,11289,11291,11303,11304,11305,11306,11307,11325,11362,11370,11371,11382,11384,11385,11386,11387,11388,11389,11390,11391,11392,11393,11394,11402,11404,11406,11407,11408,11409,11410,11411,11415,11416,11417,11418,11419,11420,11444,11474,11590,11610,11611,11612,11630,11732,11733,11734,11736,11737,11754,11813,11818,11846,11903,11978,11979,11991,12003,12004,12005,12015,12016,12026,12035,12036,12037,12046,12058,12162,12184,12190,12202,12203,12204,12205,12206,12207,12208,12209,12210,12212,12213,12214,12215,12216,12217,12218,12219,12223,12226,12238,12239,12247,12249,12250,12259,12260,12261,12264,12284,12286,12359,12360,12361,12363,12364,12365,12404,12418,12419,12420,12422,12426,12427,12429,12430,12431,12432,12433,12434,12435,12436,12445,12527,12528,12529,12531,12532,12535,12607,12633,12643,12644,12645,12655,12682,12683,12684,12685,12689,12691,12692,12693,12694,12695,12697,12702,12703,12704,12711,12713,12716,12717,12720,12728,12774,12783,12792,12794,12799,12800,12803,12804,12808,12809,12810,12811,12820,12827,12828,12830,12833,12834,12835,12836,12837,12838,12839,12845,12958,12974,12975,12976,12983,12984,12989,12990,12992,13000,13001,13002,13003,13004,13006,13007,13014,13015,13016,13017,13018,13019,13020,13021,13022,13024,13025,13026,13027,13028,13032,13033,13034,13035,13036,13037,13038,13039,13040,13041,13042,13043,13044,13045,13046,13047,13048,13049,13051,13052,13053,13054,13055,13056,13057,13058,13059,13060,13062,13063,13064,13065,13070,13072,13083,13096,13101,13107,13113,13116,13123,13133,13135,13136,13137,13138,13139,13146,13159,13287,13311,13362,13422,13423,13442,13443,13444,13445,13446,13447,13452,13454,13455,13456,13457,13458,13461,13463,13464,13465,13466,13467,13468,13476,13477,13478,13479,13481,13486,13487,13488,13489,13490,13491,13493,13494,13495,13496,13497,13499,13510,13511,13512,13518,13519,13520,13521,13522,13545,13724,13754,13755,13757,13758,13759,13760,13820,13822,13824,13851,13866,13867,13876,13877,13878,13879,13880,13882,13883,13884,13885,13886,13888,13889,13890,13893,13901,13902,13903,13907,13908,13909,13910,13911,13914,13915,13926,13927,13928,13930,13931,13932,13933,13934,13935,13939,13940,13941,13942,13943,13945,13946,13947,13948,13949,14025,14046,14047,14048,14086,14089,14090,14091,14093,14094,14095,14097,14098,14099,14102,14106,14109,14110,14111,14112,14115,14116,14117,14119,14120,14121,14122,14123,14124,14125,14126,14129,14131,14155,14159,14161,14162,14166,14167,14168,14170,14171,14172,14173,14174,14227,14256,14305,14307,14308,14310,14312,14314,14315,14319,14320,14322,14324,14327,14331,14337,14341,14342,14343,14344,14364,14365,14367,14368,14370,14373,14375,14376,14449,14458,14460,14465,14466,14467,14468,14470,14471,14473,14474,14476,14477,14478,14479,14482,14484,14489,14490,14491,14492,14494,14496,14497,14498,14499,14501,14504,14506,14508,14509,14510,14511,14512,14513,14514,14529,14530,14536,14553,14554,14555,14559,14560,14635,14639,14670,14677,14680,14682,14683,14687,14723,14728,14743,14745,14798,14804,14810,14813,14858,14863,14864,14869,14932,14933,14934,14935,14969,14970,14977,14983,15005,15007,15008,15009,15010,15013,15014,15015,15017,15050,15058,15062,15063,15066,15068,15075,15087,15088,15094,15095,15112,15114,15179,15185,15192,15210,15211,15212,15213,15214,15215,15216,15217,15218,15219,15220,15222,15223,15224,15225,15226,15227,15228,15229,15230,15231,15232,15233,15234,15235,15236,15237,15238,15239,15240,15241,15242,15243,15244,15245,15246,15247,15248,15249,15250,15251,15252,15253,15254,15255,15256,15257,15259,15260,15261,15262,15263,15264,15265,15266,15267,15268,15269,15270,15271,15272,15274,15275,15276,15278,15279,15280,15281,15282,15283,15284,15285,15286,15287,15288,15291,15294,15295,15296,15297,15298,15299,15300,15301,15303,15308,15310,15322,15323,15324,15325,15407,15408,15409,15412,15414,15415,15416,15417,15419,15420,15422,15423,15426,15429,15430,15431,15432,15437,15472,15473,15478,15479,15480,15482,15484,15485,15486,15487,15490,15491,15493,15494,15495,15497,15498,15499,15501,15502,15505,15506,15507,15508,15510,15564,15658,15668,15672,15673,15674,15681,15696,15726,15727,15728,15731,15732,15733,15735,15737,15738,15739,15742,15743,15744,15745,15746,15747,15748,15749,15751,15752,15753,15755,15757,15758,15759,15760,15761,15763,15765,15768,15770,15771,15772,15773,15775,15776,15777,15779,15781,15798,15807,15846,15869,15870,15871,15895,15925,15926,15931,15932,15933,15938,15939,15944,15969,15970,15986,15992,15993,15994,15995,15996,15997,16000,16005,16006,16023,16041,16042,16043,16044,16045,16048,16049,16051,16052,16053,16054,16055,16056,16060,16072,16084,16110,16111,16112,16113,16166,16167,16170,16202,16203,16204,16206,16214,16215,16216,16218,16219,16220,16221,16223,16224,16242,16244,16245,16246,16247,16248,16249,16250,16251,16252,16253,16254,16255,16583,16645,16646,16647,16648,16649,16650,16651,16652,16653,16654,16655,16656,16672,16673,16676,16680,16684,16685,16692,16696,16702,16705,16712,16713,16716,16717,16723,16724,16736,16737,16747,16748,16766,16971,17020,17021,17026,17028,17029,17031,17032,17033,17034,17035,17036,17037,17038,17056,17057,17058,17062,17119,17187,17222,17413,17414,17682,17683,17747,17781,18042,18045,18046,18223,18224,18232,18239,18253,18254,18255,18256,18258,18285,18288,18294,18332,18333,18334,18335,18337,18338,18339,18340,18356,18357,18358,18359,18360,18361,18362,18363,18364,18365,18401,18414,18487,18512,18517,18518,18519,18588,18600,18610,18631,18640,18641,18647,18649,18653,18654,18655,18657,18658,18661,18662,18731,18743,18744,18769,18770,18771,18779,18780,18781,18782,18783,18784,18945,18949,18984,18986,19221,19222,19223,19227,19228,19230,19231,19232,19233,19234,19235,19236,19257,19258,19259,19260,19261,19262,19263,19264,19265,19267,19268,19269,19270,19271,19272,19273,19274,19275,19276,19277,19278,19279,19280,19281,19282,19283,19284,19291,19292,19299,19304,19305,19441,19484,19808,19933,19934,19935,19936,19937,19938,20015,20016,20030,20074,20075,20395,20396,20424,20498,20499,20500,20501,20520,20576,20709,20725,20744,20745,20746,20747,20750,20752,20753,20754,20755,20758,20763,20769,20770,21071,21072,21099,21114,21151,21153,21177,21217,21219,21340,21341,21358,21546,21547,21939,22246,22248,22250,22307,22308,22309,22389,22390,22393,22728,23199,23203,24222,24231,24232,24281,24282,211780,211784,211785,211786,211787,211853,211854,211855,213543,213544,213545,213546,213547,213548,213564,215369,215370,215373,215374,215375,215376,216483,217287,217495,217716,241650,246948,247239,247240,247241,247242,247754,247755,247786,247789,247824,247883,247884,248613,248682,248683,248684,248685,248686,248687,248688,248689,248690,248691,248692,248693,248694,248695,248696,248697,248698,248699,248702,248703,248704,248705,248706,248707,248708,248709,248710,248711,248712,248713,248815,248819,248820,248821,248822,248823,248824,248825,249144,249232,249234,249274,249391,249399,249409,249410,249424,249425,249426,249427,249428,249429,249430,249431,249432,249695,249726,249865,249866,249867,249868,249869,249870,249871,249872,249873,249874,249875,249876,250065,250067,250069,250070,250071,250072,250073,250074,250075,250076,250077,250079,250080,250327,250328,250329,250330,250331,250332,250334,250335,250336,250337,250338,250339,250340,250341,250342,250343,250344,250345,250346,250347,250348,250349,250350,250351,250353,250354,250363,250366,250368,250370,250375,250380,250382,250385,250389,250591,250594,250603,250605,250606,250607,250608,250609,250611,250615,250932,250933,250934,250935,250936,250937,250938,250939,250940,250941,250942,250943,250944,250945,250946,250947,250949,250950,250951,250953,250954,250955,250976,250977,250980,250982,250986,250988,250989,250992,251290,251291,251524,251525,251526,251925,251928,251931,251932,252022,252028,252030,252031,252032,252436,252437,252452,252453,252462,252463,252479,252481,252482,252484,252486,252487,252488,252555,252557,252559,252561,252601,252605,252671,252761,252762,252763,252764,252771,252772,252773,252774,252775,252776,252783,252784,252792,252793,252794,252795,252796,252797,252804,252811,252812,252814,252815,252816,252817,252818,252819,252826,252827,252828,252829,252830,252831,252832,252843,252844,252845,252846,252847,252858,252859,252865,252866,252867,252868,252869,252870,252871,252878,252879,252881,252882,252884,252886,252888,252890,252891,252892,252893,252894,252895,252896,252897,252898,252899,252908,252909,252914,252915,252916,252918,252919,252920,252921,252926,252927,252928,252929,252930,252931,252932,252934,252935,252936,252937,252938,252939,252940,252942,253664,253665,253667,253668,253902,253904,253906,253908,253910,253912,253938,253940,253942,253944,253946,253948,253973,253976,253978,253980,253982,253984,253986,254000,254014,254016,254018,254020,254022,254034,254035,254038,254040,254042,254044,254046,254048,254074,254076,254078,254079,254094,254096,254098,254100,254102,254104,254106,254120,254122,254126,254132,254133,254138,254140,254432,254681,254684,254685,254686,255007,255154,255645,255663,255715,255716,255717,255718,255719,255720,255721,255723,255724,255725,255726,255727,255728,255729,255730,255731,256036,256037,257224,257226,258882,260629,260631,260632,260633,260784,260792,260793,260794,260795,260796,260798,260800,260801,260803,260804,260805,260807,260808,260809,260815,260820,260822,260825,262888,262889,262890,263509,263511,263512,263513,263935,263936,263937,264011,264012,264013,264014,264015,264016,264017,264018,264019,264020,264021,264022,264023,264024,264025,264026,264027,264028,264029,264030,264031,264032,264033,264034,264035,264036,264037,264038,264039,264040,264041,264042,264043,264044,264045,264046,264047,264048,264049,264050,264051,264052,264053,264054,264055,264056,264057,264058,264059,264060,264061,264062,264063,264064,264065,264066,264067,264068,264069,264070,264071,264072,264073,264074,264075,264076,264077,264078,264079,264080,264081,264082,264083,264084,264085,264086,264087,264088,264089,264090,264091,264092,264093,264094,264095,264096,264097,264098,264099,264100,264101,264102,264103,264104,264105,264106,264107,264108,264109,264110,264111,264112,264113,264114,264115,264116,264117,264118,264119,264120,264121,264122,264123,264124,264125,264126,264127,264128,264129,264130,264131,264132,264133,264134,264135,264136,264137,264138,264139,264140,264141,264142,264143,264144,264145,264146,264147,264148,264149,264150,264151,264152,264153,264154,264155,264156,264157,264158,264159,264160,264202,264204,264205,264206,264207,264208,264209,264210,264211,264212,264213,264214,264215,264218,264219,264223,264224,264225,264226,264227,264228,264229,264230,264231,267341,267474,268109,268415,268416,268417,268418,268503,269900,269902,271646,271893,272016,272124,272941,273050,273085,273086,273087,273092,273096,273097,273098,273099,273101,273102,273103,273105,273106,273109,273112,273113,273115,273116,273117,273118,273120,273121,273122,273124,273125,273127,273128,273129,273130,273131,273295,273636,274041,274048,274077,274517,274947,274964,274971,274976,275067,275069,275682,275842,275843,275891,275892,275893,275894,275895,276101,276158,276160,277483,277485,277486,277487,277488,277489,277492,277493,277494,277495,277496,277497,277498,277499,277500,277501,277502,277508,277533,277715,279046,279276,279277,279450,279537,279938,279940,279941,279943,279944,279945,279947,279948,279949,279950,279951,279952,279955,279956,279957,279959,279960,279961,279962,279964,279965,279966,279967,279968,279969,279970,279973,279974,279976,279978,279979,279981,279982,279985,279987,279988,279989,279990,280399,280697,280699,280703,280794,280795,280797,280801,280803,281015,281016,281017,281018,281282,281600,281750,281925,282003,282014,282020,282046,282048,282070,282551,282559,282632,282702,282703,282712,282721,283255,283389,284065,284104,284158,284174,284177,284193,284230,284266,284587,284704,284717,284850,284859,284870,284871,285043,285094,285100,285102,285282,286152,286540,286597,286748,286977,286983,286996,287004,287005,287006,287015,287025,287026,287028,287030,287031,287033,287034,287035,287036,287041,287045,287046,287063,287068,287070,288206); +INSERT INTO `auctionhousebot_market_price` (`ItemID`,`UnitPrice`,`Quantity`,`Samples`) VALUES +(25,800,1,2), +(35,1000,3,1), +(36,900,7,1), +(37,1370,1,1), +(53,500,12,1), +(117,13,894,3), +(118,5,2179,3), +(148,450,1,1), +(159,7,6471,3), +(414,7,599,3), +(422,25,1021,3), +(537,100,14,2), +(555,9,102,4), +(556,106,41,4), +(647,2405100,1,1), +(723,100,2197,3), +(724,75,2098,3), +(727,1050,15,32), +(728,100,296,5), +(729,89,1655,3), +(730,37,5675,3), +(731,29,2413,3), +(732,6,5521,4), +(733,110,718,2), +(753,9800,3,1), +(754,37000,11,1), +(755,29,54,4), +(756,5048,46,1), +(765,19,13668,3), +(766,100,12,4), +(767,127,16,1), +(768,111,13,2), +(769,53,5014,3), +(770,315,511,2), +(771,38,182,4), +(774,15,2590,3), +(776,99997,8,1), +(777,26,17,4), +(778,100,16,3), +(779,19,77,4), +(781,110,16,3), +(783,99,4353,2), +(785,58,7139,3), +(787,18,1458,3), +(789,1975,9,36), +(790,2039,18,46), +(791,10000,48,1), +(792,197,17,1), +(798,200,2,1), +(799,199,2,1), +(804,2500,108,1), +(805,249,131,1), +(809,419994,6,1), +(810,409900,23,1), +(811,890000,7,1), +(812,2005600,6,1), +(814,25,8593,3), +(816,418,60,2), +(818,105,886,2), +(820,2800,6,2), +(821,650,29,1), +(826,735,22,2), +(827,960,67,2), +(828,250,117,1), +(838,400,2,1), +(845,500,1,1), +(849,400,1,1), +(851,4448,10,2), +(852,5000,3,1), +(854,1900,4,1), +(856,875,64,1), +(857,2495,47,1), +(858,25,1519,3), +(863,8968,10,33), +(864,13050,12,22), +(865,5098,6,26), +(866,24000,3,17), +(868,88000,19,1), +(869,200000,24,1), +(870,349500,27,1), +(871,982088,8,1), +(873,650000,23,1), +(878,56,251,3), +(880,2684,123,1), +(885,2297,48,2), +(886,4000,34,2), +(887,82,244,4), +(890,9800,75,1), +(893,137,132,2), +(899,1278,29,2), +(911,4000,8,1), +(920,2815,26,2), +(922,7999,4,1), +(927,9800,3,1), +(928,3000,2,1), +(929,95,1737,3), +(933,3094,41,1), +(934,44900,14,1), +(935,7790,76,1), +(936,49900,19,1), +(937,17999,35,1), +(943,299999,18,1), +(944,1940000,5,1), +(954,98,159,3), +(955,55,200,3), +(961,4,151,3), +(1015,139,1833,1), +(1017,106,1999,3), +(1074,488,82,2), +(1080,744,778,1), +(1081,50,14938,3), +(1082,165,464,1), +(1168,5000095,1,1), +(1175,100,4,3), +(1177,15,209,3), +(1178,28,1976,3), +(1179,24,1241,3), +(1180,64,178,3), +(1181,37,188,3), +(1195,100,19,3), +(1196,1500,5,1), +(1197,800,1,1), +(1205,91,675,3), +(1206,650,575,1), +(1207,9900,8,27), +(1210,240,1090,1), +(1211,400,58,1), +(1212,21,197,4), +(1213,143,8,1), +(1214,939,74,2), +(1218,2500,12,1), +(1219,1697,50,2), +(1220,1884,9,1), +(1251,10,7866,3), +(1263,2259999,3,1), +(1265,29999,20,1), +(1274,11,5704,4), +(1287,848,27,2), +(1288,186,905,1), +(1296,1679,110,2), +(1299,560,19,1), +(1300,6050,27,1), +(1318,29800,12,1), +(1326,10,1558,3), +(1357,2000,32,2), +(1364,100,2,1), +(1366,100,3,1), +(1367,100,2,2), +(1369,100,6,3), +(1370,459,17,1), +(1374,350,6,1), +(1376,100,11,3), +(1377,200,1,1), +(1378,600,1,1), +(1380,100,14,2), +(1387,10000,4,1), +(1389,100,32,4), +(1394,740,54,2), +(1399,96,518,2), +(1401,17,996,3), +(1405,1800,6,1), +(1406,3899,6,1), +(1411,100,21,3), +(1412,100,19,3), +(1413,100,40,3), +(1414,100,32,3), +(1415,100,15,4), +(1416,100,13,4), +(1417,100,20,3), +(1418,100,22,3), +(1419,100,5,3), +(1420,100,11,3), +(1421,100,18,3), +(1422,100,20,3), +(1423,100,12,3), +(1425,100,13,3), +(1427,100,23,3), +(1429,100,14,3), +(1430,100,13,3), +(1431,100,14,3), +(1433,100,16,3), +(1440,1200,39,2), +(1443,708900,3,1), +(1445,587,32,1), +(1446,598,18,1), +(1448,405,24,1), +(1454,44500,5,1), +(1455,2925,30,1), +(1457,1885,75,2), +(1458,3199,23,1), +(1459,2799,9,2), +(1460,1800,14,1), +(1461,3400,28,1), +(1464,71,133,4), +(1465,9894,48,1), +(1468,43,1748,2), +(1469,1450,51,2), +(1470,2699,45,1), +(1473,2200,3,1), +(1475,100,508,3), +(1476,8,187,4), +(1477,538,399,1), +(1478,97,130,2), +(1481,51900,11,1), +(1482,378888,9,1), +(1483,30000,16,1), +(1484,25000,2,1), +(1485,150000,1,1), +(1493,59900,2,1), +(1495,100,13,3), +(1497,100,42,3), +(1498,100,21,3), +(1499,100,31,3), +(1501,100,29,3), +(1502,100,35,3), +(1503,110,9,2), +(1504,100,24,3), +(1505,100,39,3), +(1506,100,23,3), +(1507,123,23,1), +(1509,100,18,2), +(1510,150,43,2), +(1511,193,23,2), +(1512,150,44,1), +(1513,289,38,1), +(1514,293,35,1), +(1515,196,32,1), +(1516,236,24,2), +(1520,71,227,4), +(1521,38900,3,1), +(1522,28000,2,1), +(1523,10597,12,1), +(1529,700,1432,1), +(1560,700,18,1), +(1602,74900,12,1), +(1604,409200,2,1), +(1607,429789,3,1), +(1608,21000,3,16), +(1613,23000,7,24), +(1625,14800,10,22), +(1630,78,62,4), +(1639,34800,3,8), +(1640,15640,15,21), +(1645,403,562,1), +(1664,15000,4,1), +(1679,15000,3,1), +(1680,32525,1,1), +(1685,42000,8,1), +(1686,733,467,2), +(1687,243,101,2), +(1688,806,220,2), +(1696,606,161,2), +(1697,445,564,2), +(1701,376,178,2), +(1702,320,196,2), +(1703,81,1094,2), +(1705,600,817,1), +(1706,86,101,4), +(1707,62,334,3), +(1708,177,583,1), +(1710,414,1863,1), +(1711,170,322,1), +(1712,82,548,3), +(1720,31000,4,1), +(1721,99699,4,1), +(1722,45500,18,1), +(1725,7498,84,1), +(1726,13000,14,1), +(1727,44900,13,1), +(1730,100,37,3), +(1731,100,9,2), +(1732,100,20,3), +(1733,100,32,3), +(1734,100,26,3), +(1735,100,22,3), +(1737,139,21,1), +(1738,147,19,1), +(1739,300,32,1), +(1740,100,18,3), +(1741,119,23,1), +(1742,129,12,1), +(1743,300,36,1), +(1744,489,15,1), +(1745,198,23,1), +(1746,339,33,1), +(1747,311,36,1), +(1748,234,16,1), +(1749,578,34,1), +(1750,298,19,1), +(1751,670,32,1), +(1752,440,36,1), +(1753,439,13,1), +(1754,360,16,1), +(1755,597,15,1), +(1756,449,20,1), +(1757,730,17,1), +(1758,555,26,1), +(1759,750,18,1), +(1760,615,13,1), +(1764,116,14,2), +(1766,135,22,1), +(1767,107,20,3), +(1768,330,30,1), +(1769,399,75,1), +(1770,144,26,1), +(1772,243,25,1), +(1774,280,53,1), +(1775,212,34,1), +(1776,257,18,1), +(1777,222,31,1), +(1778,337,17,1), +(1780,498,10,1), +(1782,546,27,1), +(1783,245,22,1), +(1784,580,22,1), +(1785,470,23,1), +(1786,700,54,1), +(1787,102,25,2), +(1788,179,26,1), +(1789,140,18,1), +(1790,100,21,3), +(1791,100,27,3), +(1792,208,20,1), +(1793,700,70,1), +(1794,277,20,1), +(1795,235,19,1), +(1796,395,21,1), +(1797,174,40,1), +(1798,283,24,1), +(1799,238,38,1), +(1800,479,11,1), +(1801,479,35,1), +(1802,339,27,1), +(1803,480,23,1), +(1804,478,13,1), +(1805,355,14,1), +(1806,464,18,1), +(1807,389,15,1), +(1809,750,33,1), +(1810,690,19,1), +(1811,459,65,1), +(1812,450,67,1), +(1813,537,75,1), +(1814,622,42,1), +(1815,360,58,2), +(1816,486,47,2), +(1817,510,38,1), +(1818,1221,37,1), +(1819,767,51,2), +(1820,959,50,1), +(1821,989,64,2), +(1822,1090,48,1), +(1823,780,68,2), +(1824,1099,26,1), +(1825,1548,44,2), +(1826,1760,33,1), +(1827,1284,34,2), +(1828,1610,24,1), +(1829,1559,25,2), +(1830,1784,36,1), +(1831,1795,42,1), +(1839,105,7,2), +(1840,200,6,1), +(1844,300,1,1), +(1846,300,1,1), +(1913,1800,10,1), +(1917,1045,3,1), +(1925,1198,19,2), +(1926,785,16,2), +(1927,764,17,2), +(1928,10000,8,1), +(1930,408,30,1), +(1933,4500,9,1), +(1935,239700,5,1), +(1936,9900,43,1), +(1938,5000,1,1), +(1944,350,5,1), +(1945,285,36,1), +(1951,4700,57,1), +(1958,974,35,2), +(1959,1287,57,1), +(1975,22400,4,1), +(1976,42000,5,1), +(1982,398099,3,1), +(1986,15899,11,1), +(1990,10299,11,33), +(1991,10998,6,1), +(1994,18800,5,17), +(1998,8550,20,1), +(2011,6449,42,1), +(2013,4750,31,1), +(2014,5340,41,1), +(2015,4449,30,1), +(2018,3299,31,2), +(2020,1049,23,2), +(2026,6000,3,1), +(2027,1600,9,2), +(2028,1600,1,1), +(2046,3100,30,2), +(2054,15000,1,1), +(2055,1500,2,1), +(2057,299,11,2), +(2058,10000,8,1), +(2065,133,33,2), +(2066,120,8,3), +(2067,450,12,1), +(2069,800,4,1), +(2070,3,287,3), +(2072,4400,8,28), +(2073,740,24,48), +(2075,600,11,44), +(2077,5080,11,30), +(2078,3100,32,32), +(2079,940,9,39), +(2080,6580,10,20), +(2084,5728,17,1), +(2085,505,6,1), +(2088,1499,12,2), +(2091,8192,253,1), +(2092,550,10,1), +(2098,18500,10,1), +(2099,589200,10,1), +(2100,294900,19,1), +(2101,100,128,3), +(2102,100,9,2), +(2112,200,7,1), +(2124,700,5,1), +(2132,10379,10,1), +(2134,10000,10,1), +(2138,100,26,4), +(2139,2100,3,1), +(2140,700,24,39), +(2163,709998,10,1), +(2164,393500,4,1), +(2175,2700,20,1), +(2194,10000,9,1), +(2203,1900,2,1), +(2204,1800,6,1), +(2205,259999,2,1), +(2207,1500,6,2), +(2209,3600,4,1), +(2210,300,10,1), +(2211,290,4,1), +(2212,233,28,1), +(2213,242,13,1), +(2214,220,19,1), +(2215,229,20,1), +(2216,234,18,1), +(2217,295,24,1), +(2219,459,24,1), +(2220,517,28,1), +(2226,4500,9,1), +(2227,9950,20,1), +(2232,812,35,1), +(2236,12500,45,1), +(2243,13990000,4,1), +(2244,1550000,7,1), +(2245,603000,3,1), +(2246,599999,8,1), +(2251,62,3543,3), +(2256,3600,45,1), +(2257,1200,1,1), +(2258,12500,7,1), +(2260,150,6,2), +(2265,485,41,2), +(2266,775,43,2), +(2267,711,44,2), +(2268,153,15,2), +(2271,29999,15,1), +(2281,300,37,2), +(2282,139,13,2), +(2287,10,352,3), +(2289,398,307,1), +(2290,99,366,3), +(2291,585000,6,1), +(2295,70,111,4), +(2299,19800,13,1), +(2300,239,55,1), +(2302,100,307,3), +(2303,195,231,1), +(2304,15,3090,3), +(2307,250,157,1), +(2308,464,80,1), +(2309,439,61,1), +(2310,140,212,1), +(2311,295,4,1), +(2312,440,100,1), +(2313,249,218,1), +(2314,738,130,1), +(2315,301,347,1), +(2316,448,551,1), +(2318,59,16720,3), +(2319,100,13819,3), +(2320,14,6885,3), +(2321,99,4056,3), +(2324,24,1986,3), +(2325,910,40,1), +(2327,100,18,2), +(2361,3000,3,1), +(2379,300,3,1), +(2392,200,7,1), +(2395,578,6,1), +(2397,100,1,1), +(2406,1900,42,3), +(2407,199,68,3), +(2408,250,21,3), +(2409,370,66,3), +(2447,79,8304,3), +(2449,70,9320,3), +(2450,87,9827,2), +(2452,759,3926,1), +(2453,102,3473,3), +(2454,84,2440,3), +(2455,25,2376,3), +(2456,16,965,3), +(2457,1008,998,1), +(2458,30,3257,3), +(2459,898,1683,1), +(2479,2000,3,1), +(2480,10000,6,1), +(2488,396,6,2), +(2489,1800,2,1), +(2492,3000,2,1), +(2494,1066,6,1), +(2495,700,3,1), +(2504,400000,1,1), +(2506,9750,13,1), +(2507,1000,10,1), +(2509,1599,3,1), +(2510,4000,2,1), +(2512,1,178138,3), +(2515,1,219263,3), +(2516,1,103668,3), +(2519,1,164928,3), +(2549,28000,16,1), +(2553,499,79,3), +(2555,1045,77,3), +(2567,20095,21,1), +(2568,100,162,3), +(2569,239,63,1), +(2570,100,140,3), +(2572,405,12,1), +(2575,100,82,3), +(2576,124,82,1), +(2577,101,42,2), +(2578,275,30,1), +(2579,100,58,3), +(2580,121,160,1), +(2581,20,11653,3), +(2582,500,72,1), +(2584,200,326,1), +(2587,245,25,1), +(2589,24,29103,3), +(2590,290,100,2), +(2591,9,29,4), +(2592,25,31573,2), +(2593,60,69,2), +(2594,1598,25,1), +(2595,499,37,1), +(2596,194,335,1), +(2598,100,106,5), +(2601,299,67,3), +(2604,49,1563,3), +(2605,113,3964,1), +(2608,63,26,4), +(2632,850,20,35), +(2633,99,1556,1), +(2635,100,11,3), +(2642,100,32,3), +(2643,100,16,2), +(2644,100,16,3), +(2645,100,12,3), +(2646,100,15,3), +(2648,100,19,3), +(2649,100,2,2), +(2650,100,20,2), +(2651,190,7,1), +(2652,100,10,3), +(2653,100,6,1), +(2654,100,8,1), +(2656,101,10,2), +(2657,875,68,1), +(2672,78,2596,3), +(2673,493,638,1), +(2674,109,1481,1), +(2675,43,2155,3), +(2677,100,2610,3), +(2678,4,17376,3), +(2679,7,927,3), +(2680,90,336,3), +(2681,22,2517,3), +(2682,34,790,3), +(2683,66,900,3), +(2684,253,594,1), +(2685,366,209,1), +(2686,89,692,2), +(2687,34,1109,3), +(2692,62,4533,3), +(2697,100,147,5), +(2698,139,53,3), +(2699,200,112,3), +(2700,699,64,3), +(2701,439,87,3), +(2723,73,2257,3), +(2725,395,428,2), +(2728,421,239,2), +(2730,397,716,2), +(2732,428,453,2), +(2734,471,1093,2), +(2735,543,1045,2), +(2738,400,799,2), +(2740,444,977,2), +(2742,497,751,2), +(2744,798,365,2), +(2745,397,368,2), +(2748,398,864,2), +(2749,395,330,2), +(2750,398,534,2), +(2751,395,396,2), +(2763,240,44,2), +(2764,435,52,2), +(2765,800,67,2), +(2766,1560,30,2), +(2770,146,8883,1), +(2771,131,5903,1), +(2772,225,6178,1), +(2773,100,17,3), +(2774,100,28,3), +(2775,499,4721,1), +(2776,846,1614,1), +(2777,146,21,1), +(2778,147,41,1), +(2780,370,37,1), +(2781,330,67,1), +(2782,755,30,1), +(2783,600,53,1), +(2785,1055,25,1), +(2786,1177,25,1), +(2787,9800,4,1), +(2799,87,1584,3), +(2807,51000,16,1), +(2815,29567,4,1), +(2819,3900,11,37), +(2821,1399,10,2), +(2822,1989,22,1), +(2823,1800,8,1), +(2824,705000,10,1), +(2825,340000,9,1), +(2835,9,18988,3), +(2836,61,6124,3), +(2838,299,4436,1), +(2840,147,10524,1), +(2841,173,10164,1), +(2842,450,1792,1), +(2844,110,6,2), +(2845,400,21,2), +(2847,249,22,2), +(2848,1149,72,2), +(2849,1296,41,2), +(2850,1194,200,2), +(2851,115,302,2), +(2852,100,171,2), +(2853,100,300,3), +(2854,290,86,1), +(2857,254,397,1), +(2862,5,1284,3), +(2863,88,1839,3), +(2865,560,457,1), +(2866,598,208,1), +(2868,530,430,1), +(2871,245,542,1), +(2877,12800,3,1), +(2878,9028,15,1), +(2880,84,4368,2), +(2881,370,94,3), +(2882,419,163,3), +(2883,385,42,3), +(2886,11,1327,3), +(2888,81,1393,3), +(2889,175,29,3), +(2892,69,321,2), +(2893,200,43,1), +(2894,72,1310,2), +(2898,180,11,1), +(2901,100,201,3), +(2912,23760,8,1), +(2915,1000000,4,1), +(2924,99,2020,2), +(2928,44,2968,4), +(2930,64,258,4), +(2934,16,11581,3), +(2940,43,102,4), +(2946,900,6,1), +(2947,410,17,1), +(2957,449,63,1), +(2958,220,74,1), +(2959,299,16,1), +(2960,100,8,2), +(2961,200,15,1), +(2962,250,80,1), +(2963,235,13,1), +(2964,118,10,2), +(2966,239,42,1), +(2967,260,6,1), +(2968,199,8,1), +(2969,385,33,1), +(2970,330,87,1), +(2971,115,21,2), +(2972,100,17,3), +(2973,549,64,1), +(2974,479,80,1), +(2975,142,10,1), +(2976,449,67,1), +(2977,539,46,1), +(2978,429,27,1), +(2979,248,17,1), +(2980,610,59,1), +(2981,698,4,1), +(2982,565,112,1), +(2983,310,77,1), +(2984,299,63,1), +(2985,820,58,1), +(2986,720,100,1), +(2987,400,31,1), +(2988,320,36,1), +(2991,800,93,1), +(2992,490,33,1), +(2996,49,2822,3), +(2997,393,3506,1), +(3000,238,38,1), +(3010,101,139,4), +(3012,177,212,1), +(3013,58,220,3), +(3019,486,20,1), +(3021,22000,39,1), +(3023,1200,1,1), +(3026,1800,4,1), +(3030,2,171780,3), +(3033,2,283530,3), +(3036,597,56,1), +(3037,4800,74,1), +(3039,1696,38,1), +(3040,940,139,1), +(3041,3800,61,1), +(3042,4577,48,1), +(3058,775,38,1), +(3065,660,65,1), +(3066,500,74,1), +(3087,190,3,1), +(3107,4000,16,1), +(3111,950,10,1), +(3131,551,24,1), +(3167,87,160,3), +(3169,18,111,4), +(3170,47,185,4), +(3171,7,156,4), +(3172,18,3284,3), +(3173,36,1450,3), +(3174,22,2532,3), +(3175,100,141,4), +(3176,75,131,4), +(3177,94,40,4), +(3179,138,23,2), +(3180,167,83,2), +(3181,23,143,4), +(3182,809,677,1), +(3184,2425,24,35), +(3185,8085,5,28), +(3186,4850,8,32), +(3187,24889,9,17), +(3188,4999,4,1), +(3189,105,17,2), +(3190,105,16,2), +(3192,496,12,23), +(3193,2075,8,21), +(3194,18500,12,1), +(3195,1400,8,17), +(3196,1376,16,22), +(3197,9299,12,21), +(3198,2746,13,23), +(3199,2250,9,23), +(3200,194,6,1), +(3201,4491,13,31), +(3203,12098,26,1), +(3205,400,117,1), +(3206,4580,28,29), +(3207,100,25,2), +(3208,28099,3,17), +(3210,5700,9,27), +(3211,384,62,1), +(3213,180,11,1), +(3214,199,9,1), +(3220,40,2782,3), +(3223,1500,4,1), +(3227,6400,16,1), +(3233,840,21,1), +(3239,4,1540,3), +(3240,60,7705,3), +(3241,273,3492,1), +(3279,200,4,1), +(3280,650,6,1), +(3281,200,3,1), +(3284,400,1,1), +(3285,443,9,1), +(3287,767,28,1), +(3289,160,18,1), +(3290,600,10,1), +(3291,215,36,1), +(3292,360,29,1), +(3299,48,237,4), +(3300,9,84,4), +(3301,102,225,4), +(3303,300,8,1), +(3304,297,5,1), +(3305,800,26,1), +(3309,450,27,1), +(3310,600,20,1), +(3311,500,15,1), +(3312,400,10,1), +(3334,243,70,1), +(3336,11079,14,1), +(3340,32,6318,4), +(3355,139,2197,1), +(3356,85,5504,2), +(3357,196,3544,1), +(3358,309,4557,1), +(3363,100,2,2), +(3365,690,34,1), +(3369,279,1855,1), +(3370,100,13,3), +(3371,6,8122,3), +(3372,43,5902,3), +(3373,100,13,2), +(3374,100,25,3), +(3375,189,35,1), +(3376,100,18,3), +(3377,150,14,1), +(3378,131,10,1), +(3379,155,11,1), +(3380,360,23,1), +(3381,299,17,1), +(3382,78,639,3), +(3383,105,1888,2), +(3384,39,548,3), +(3385,32,817,2), +(3387,6984,503,1), +(3388,60,912,2), +(3389,539,243,1), +(3390,1197,1349,1), +(3391,295,3604,1), +(3393,377,39,3), +(3395,1450,125,3), +(3396,1099,92,1), +(3399,81,71,3), +(3401,81,186,4), +(3402,601,309,2), +(3403,321,73,2), +(3404,200,684,1), +(3413,34595,12,1), +(3414,127400,6,1), +(3415,21000,8,1), +(3417,28800,28,1), +(3419,332,31,1), +(3421,290,240,1), +(3428,523,73,1), +(3430,20500,17,19), +(3464,19,27828,3), +(3465,10,22881,3), +(3466,2999,180,1), +(3469,370,44,1), +(3470,6,6251,3), +(3472,120,168,1), +(3473,500,43,1), +(3474,799,3,3), +(3478,126,2283,1), +(3480,600,127,1), +(3486,1021,1107,1), +(3487,1990,14,1), +(3488,2500,21,1), +(3489,1500,12,2), +(3490,4499,27,2), +(3491,5069,58,1), +(3492,7000,21,1), +(3530,28,10913,3), +(3531,57,5642,3), +(3563,720,5,1), +(3571,4099,8,1), +(3575,265,11102,1), +(3576,125,5890,1), +(3577,886,1613,1), +(3598,400,1,1), +(3602,400,8,1), +(3603,400,14,1), +(3608,600,151,3), +(3609,100,149,5), +(3610,144,30,3), +(3611,999,43,3), +(3612,1400,62,3), +(3641,204,9,1), +(3642,467,5,1), +(3643,140,24,1), +(3644,564,3,1), +(3645,407,98,1), +(3647,700,123,1), +(3649,380,8,1), +(3651,600,11,1), +(3652,363,84,1), +(3653,500,17,1), +(3654,547,19,1), +(3661,4080,5,1), +(3662,99,1832,2), +(3663,125,559,1), +(3664,100,518,2), +(3665,149,2422,1), +(3666,136,502,1), +(3667,83,2634,3), +(3669,195,46,2), +(3670,70,45,4), +(3671,200,38,2), +(3674,95,21,4), +(3676,106,67,4), +(3678,280,62,3), +(3679,200,71,3), +(3680,400,226,3), +(3681,400,163,3), +(3682,400,93,3), +(3683,399,139,3), +(3685,102,3102,2), +(3702,498,74,2), +(3703,48,87,3), +(3712,224,3798,1), +(3713,152,1323,1), +(3722,230,43,2), +(3723,95,39,3), +(3724,100,55,3), +(3725,196,38,2), +(3726,141,181,1), +(3727,511,253,1), +(3728,382,898,1), +(3729,300,833,1), +(3730,153,1346,1), +(3731,165,1462,1), +(3736,562,244,3), +(3737,898,89,3), +(3740,2445,17,34), +(3745,100,214,1), +(3770,25,2022,3), +(3771,52,257,3), +(3775,35,1554,3), +(3778,1579,14,1), +(3779,2835,25,1), +(3780,1875,21,1), +(3781,3125,26,1), +(3782,3490,27,1), +(3783,3048,20,2), +(3784,4265,30,1), +(3785,3675,22,2), +(3786,3962,21,2), +(3787,4290,28,2), +(3792,550,10,1), +(3793,650,6,1), +(3794,790,6,1), +(3796,498,12,1), +(3802,650,10,1), +(3804,800,4,1), +(3808,770,7,1), +(3818,421,1987,1), +(3819,965,1305,1), +(3820,223,5972,1), +(3821,466,1053,1), +(3823,850,1465,1), +(3824,1911,575,1), +(3825,914,1514,1), +(3826,425,1097,1), +(3827,301,423,1), +(3828,158,85,1), +(3829,2417,1032,1), +(3830,567,130,3), +(3831,17200,93,3), +(3832,1849,170,3), +(3848,1863,142,2), +(3850,11500,11,1), +(3851,10000,2,1), +(3852,12596,4,1), +(3853,22599,91,1), +(3855,22122,9,1), +(3856,14900,10,1), +(3857,556,1297,1), +(3858,1000,5494,1), +(3859,801,3050,1), +(3860,1105,12110,1), +(3864,911,391,1), +(3866,1079,117,3), +(3867,1000,59,3), +(3868,1343,30,3), +(3869,1293,46,3), +(3870,1787,68,3), +(3871,14900,16,3), +(3872,1000,33,3), +(3873,1196,113,3), +(3874,1235,50,3), +(3875,20000,9,3), +(3882,36,9,4), +(3899,400,8,2), +(3902,7700,4,1), +(3914,24800,83,1), +(3927,156,265,1), +(3928,900,393,1), +(3931,185,314,2), +(3973,49384,1,1), +(4017,8700,6,1), +(4018,8600,9,1), +(4019,9000,8,1), +(4020,12499,8,1), +(4021,8300,8,1), +(4022,14900,14,1), +(4023,7788,6,1), +(4024,9999,10,1), +(4025,5166,13,1), +(4026,4500,4,1), +(4056,20100,10,2), +(4087,10000,7,19), +(4088,19800,4,11), +(4089,18500,11,17), +(4090,31400,17,1), +(4091,90000,10,1), +(4092,1320,18,2), +(4093,713,73,2), +(4096,608,1404,2), +(4097,305,63,2), +(4098,59999,2,1), +(4099,1149,29,2), +(4100,345,54,2), +(4101,150,46,2), +(4102,198,46,2), +(4231,169,1845,1), +(4232,221,1199,1), +(4233,377,946,1), +(4234,200,11750,1), +(4235,1400,2095,1), +(4236,1818,3755,1), +(4237,120,19,1), +(4238,201,246,1), +(4239,109,666,2), +(4240,459,56,1), +(4241,2147,156,1), +(4242,349,64,1), +(4243,599,171,1), +(4245,2117,694,1), +(4246,230,380,1), +(4249,700,308,1), +(4250,700,70,1), +(4265,649,1780,1), +(4278,98,2521,2), +(4289,51,7470,3), +(4291,449,1860,1), +(4292,700,53,3), +(4293,175,23,3), +(4294,9000,29,3), +(4296,950,73,3), +(4297,1100,27,3), +(4298,3595,19,3), +(4299,690,23,3), +(4300,1099,62,3), +(4301,12455,12,3), +(4304,590,6311,1), +(4305,837,5168,1), +(4306,190,30768,1), +(4307,178,303,1), +(4308,350,77,1), +(4309,250,19,1), +(4310,400,59,1), +(4312,400,31,1), +(4314,489,444,1), +(4330,250,63,1), +(4332,560,29,1), +(4334,555,39,1), +(4337,785,1053,1), +(4338,344,11194,1), +(4339,2602,2672,1), +(4340,439,1175,1), +(4341,497,891,1), +(4342,1805,117,1), +(4343,315,384,1), +(4344,100,97,3), +(4345,2500,80,3), +(4346,120,41,4), +(4347,1700,43,3), +(4348,200,68,3), +(4349,500,31,3), +(4350,500,72,3), +(4351,7300,17,3), +(4352,3700,52,3), +(4353,500,89,3), +(4354,10000,9,1), +(4355,3750,34,3), +(4356,29500,11,1), +(4357,17,6389,3), +(4358,39,17474,3), +(4359,118,426,1), +(4360,60,1594,3), +(4361,128,570,1), +(4362,500,42,1), +(4363,400,345,1), +(4364,48,4632,3), +(4365,75,960,3), +(4366,335,343,1), +(4367,150,96,1), +(4368,500,97,1), +(4369,1300,202,1), +(4370,200,125,1), +(4371,480,439,1), +(4374,250,239,1), +(4375,330,1742,1), +(4376,4500,11,1), +(4377,375,3321,1), +(4378,442,855,1), +(4379,2987,23,1), +(4380,500,482,1), +(4382,729,1667,1), +(4383,7450,29,1), +(4384,1006,97,1), +(4386,3200,5,1), +(4387,788,1463,1), +(4388,10000,21,1), +(4389,790,375,1), +(4390,259,8649,1), +(4391,4990,31,1), +(4392,4489,487,1), +(4394,784,1114,1), +(4395,2432,147,1), +(4398,1535,60,1), +(4399,245,292,1), +(4400,1799,128,1), +(4401,697,66,2), +(4402,978,1167,1), +(4403,3700,28,1), +(4404,34,4035,3), +(4405,125,198,1), +(4406,600,468,1), +(4407,4349,205,1), +(4408,162,28,3), +(4409,200,62,3), +(4410,248,158,3), +(4411,9900,9,3), +(4412,400,27,3), +(4413,38090,12,1), +(4414,461,58,3), +(4415,18500,25,3), +(4416,900,35,3), +(4417,700,73,3), +(4419,497,169,1), +(4421,453,376,1), +(4422,700,185,1), +(4424,250,106,1), +(4425,894,304,1), +(4426,998,188,1), +(4428,330,613,2), +(4439,2700,1,1), +(4446,59999,5,1), +(4449,7400,15,1), +(4454,230000,1,1), +(4457,638,336,1), +(4459,300,7,2), +(4460,175,88,2), +(4461,278,2871,1), +(4470,44,5869,3), +(4471,100,145,3), +(4474,9300,15,1), +(4479,450,2238,1), +(4480,1595,507,1), +(4481,3050,719,1), +(4496,100,111,1), +(4497,9500,29,1), +(4498,620,33,1), +(4500,155555,28,1), +(4536,15,7533,3), +(4537,24,558,3), +(4538,34,403,3), +(4539,52,224,3), +(4540,3,396,3), +(4541,6,368,3), +(4542,25,569,3), +(4544,92,91,3), +(4552,530,225,2), +(4553,411,601,2), +(4554,750,62,2), +(4555,155,286,2), +(4556,900,382,2), +(4557,400,6,2), +(4558,12400,22,1), +(4560,1300,28,2), +(4561,444,16,43), +(4562,498,14,23), +(4563,110,14,2), +(4564,1999,15,19), +(4565,212,14,2), +(4566,3500,7,17), +(4567,2036,9,18), +(4568,1695,27,35), +(4569,790,10,45), +(4570,1599,13,15), +(4571,2000,10,32), +(4575,4000,10,24), +(4576,1284,72,1), +(4577,355,76,1), +(4580,887,35,2), +(4581,1300,23,2), +(4582,745,1516,2), +(4583,812,205,2), +(4584,979,37,2), +(4585,583,121,2), +(4586,713,78,2), +(4587,859,28,2), +(4588,1295,24,2), +(4589,1400,82,1), +(4590,800,18,2), +(4591,698,5,2), +(4592,15,6571,3), +(4593,9,4195,3), +(4594,11,5810,3), +(4595,355,293,1), +(4596,60,38,3), +(4599,108,364,1), +(4600,500,70,1), +(4601,135,102,1), +(4602,146,458,1), +(4603,40,7277,3), +(4604,9,511,3), +(4605,6,409,3), +(4606,25,1775,3), +(4607,52,108,3), +(4608,139,172,1), +(4611,1588,1203,1), +(4623,700,479,1), +(4624,4089,64,3), +(4625,935,4630,1), +(4639,292,75,2), +(4655,321,460,1), +(4656,2,144,3), +(4659,100,8,1), +(4660,560,5,1), +(4662,100,5,3), +(4663,100,15,3), +(4665,149,9,1), +(4666,100,6,3), +(4669,100,1,1), +(4671,100,7,2), +(4672,400,20,1), +(4674,200,2,1), +(4675,100,6,2), +(4676,400,33,1), +(4677,100,10,3), +(4678,110,16,2), +(4680,200,4,1), +(4683,100,19,3), +(4684,100,7,3), +(4686,105,10,2), +(4687,300,6,1), +(4689,107,15,3), +(4690,100,21,2), +(4692,200,3,1), +(4693,250,10,1), +(4694,516,19,1), +(4695,349,99,1), +(4696,250000,1,1), +(4697,666,112,1), +(4698,599,72,1), +(4699,300,56,1), +(4701,297,108,1), +(4706,780,132,1), +(4708,480,142,1), +(4710,599,92,1), +(4757,22,29,4), +(4765,3490,23,2), +(4766,3485,5,2), +(4775,28,191,4), +(4776,41,51,4), +(4777,6000,9,1), +(4778,9099,11,1), +(4779,100,1,2), +(4780,100,2,2), +(4784,360,436,2), +(4787,575,230,2), +(4791,140,502,1), +(4813,33,68,4), +(4814,6,53,4), +(4817,6900,3,1), +(4818,18890,9,1), +(4824,19400,5,1), +(4825,19000,3,1), +(4826,13000,2,1), +(4852,2499,71,1), +(4860,837,16,2), +(4865,28,227,4), +(4873,94,46,4), +(4874,46,71,4), +(4877,136,3,1), +(4949,1940,14,2), +(5020,100,5,1), +(5042,89,73,2), +(5048,85,211,3), +(5051,3500,1,1), +(5052,29999,2,1), +(5057,6,69,2), +(5066,100,8,1), +(5069,293,47,2), +(5071,443,120,2), +(5075,25,1577,4), +(5082,297,227,1), +(5083,37500,2,1), +(5095,13,5487,3), +(5109,223,44,1), +(5113,249,158,2), +(5114,96,211,4), +(5115,101,28,4), +(5116,304,964,1), +(5117,840,650,2), +(5118,200,44,2), +(5119,195,5,1), +(5120,199,14,2), +(5121,300,5,2), +(5122,348,29,2), +(5123,198,2,2), +(5124,117,107,3), +(5125,300,5,1), +(5128,208,18,2), +(5133,300,23,2), +(5134,100,708,3), +(5135,142,84,2), +(5136,177,247,2), +(5137,225,104,2), +(5140,58,1698,4), +(5165,5,652,4), +(5173,163,718,3), +(5182,9999,6,1), +(5205,31,318,3), +(5206,798,730,1), +(5207,1080,101,2), +(5211,9500,1,1), +(5212,660,48,2), +(5213,5218,53,1), +(5214,4100,29,2), +(5215,8799,5,17), +(5216,14300,8,13), +(5237,100,257,3), +(5256,10200,4,1), +(5267,1109995,2,1), +(5269,300,1,1), +(5329,28,34,4), +(5342,88,174,3), +(5367,1000,3,1), +(5368,175,30,2), +(5369,400,3,1), +(5371,100,15,3), +(5373,200,621,2), +(5374,104,21,3), +(5375,200,8,2), +(5376,100,38,3), +(5377,100,22,3), +(5379,440,5,1), +(5423,50000,1,1), +(5427,200,14,2), +(5428,4420,5,2), +(5429,139,49,2), +(5430,500,1,1), +(5431,155,14,2), +(5432,330,29,2), +(5435,9500,24,1), +(5439,200,17,1), +(5441,350,39,1), +(5446,80,18,4), +(5447,100,22,4), +(5448,100,14,3), +(5451,100,36,3), +(5465,19,2253,3), +(5466,145,740,1), +(5467,227,411,1), +(5468,390,147,1), +(5469,285,1441,1), +(5470,480,397,1), +(5471,378,597,1), +(5472,27,1480,3), +(5476,61,145,2), +(5477,53,476,2), +(5480,280,310,1), +(5482,777,47,3), +(5483,9500,39,3), +(5484,9900,8,3), +(5485,998,20,3), +(5486,8900,17,3), +(5487,11601,6,1), +(5488,7599,28,3), +(5498,219,1457,1), +(5500,783,380,1), +(5503,35,3888,3), +(5504,48,3884,3), +(5506,88,30,3), +(5507,1608,177,1), +(5516,339,14,2), +(5525,20,3078,3), +(5526,75,722,3), +(5527,95,4894,3), +(5528,2200,101,3), +(5529,125,158,2), +(5530,127,1139,2), +(5540,3725,129,2), +(5541,6959,37,1), +(5542,400,84,1), +(5543,585,38,3), +(5565,3835,13,2), +(5566,105,110,3), +(5567,200,16,2), +(5568,5,1760,3), +(5569,203,91,2), +(5571,249,129,1), +(5572,248,111,1), +(5573,874,89,1), +(5574,995,88,1), +(5575,2495,46,1), +(5576,2599,116,1), +(5578,373,30,3), +(5601,86,21,2), +(5602,500,41,2), +(5631,101,2100,3), +(5633,216,1444,1), +(5634,1269,3505,1), +(5635,46,1152,3), +(5636,100,16,4), +(5637,100,755,2), +(5640,597,93,3), +(5642,1899,111,3), +(5643,9594,78,3), +(5740,30,170,3), +(5741,112,303,2), +(5744,2900,4,2), +(5749,9299,17,1), +(5752,3930,23,2), +(5756,81144,13,1), +(5762,400,256,1), +(5763,2149,349,1), +(5764,5895,207,1), +(5765,6900,533,1), +(5771,100,121,5), +(5772,700,198,3), +(5773,10000,21,3), +(5774,3000,42,1), +(5775,2700,79,1), +(5784,75,7187,3), +(5785,500,1415,1), +(5791,1000,12,2), +(5826,899,20,2), +(5829,804,39,2), +(5833,48,1765,3), +(5839,10000,1,1), +(5871,344,25,2), +(5956,100,127,3), +(5957,115,187,1), +(5972,499,45,3), +(5974,10000,105,3), +(5996,390,862,1), +(5997,5,3730,3), +(6037,1569,1954,1), +(6038,534,581,1), +(6039,6979,35,3), +(6041,22299,16,1), +(6042,1298,92,1), +(6043,2969,109,1), +(6044,10000,96,3), +(6045,1499,42,3), +(6046,174900,12,1), +(6048,542,1016,1), +(6049,1739,532,1), +(6050,1035,76,1), +(6051,62,902,3), +(6052,376,3244,1), +(6096,296,10,1), +(6148,100,24,2), +(6149,599,646,1), +(6150,1499,1,1), +(6202,495,14,1), +(6203,695,10,1), +(6205,3550,8,1), +(6206,899,4,1), +(6211,499,150,3), +(6214,2050,54,1), +(6217,100,1147,3), +(6219,149,67,1), +(6238,270,54,1), +(6239,450,69,1), +(6240,260,63,1), +(6241,399,539,1), +(6242,300,13,1), +(6256,100,104,3), +(6260,49,2013,3), +(6261,943,71,1), +(6266,250,22,4), +(6267,203,10,8), +(6268,255,4,3), +(6269,224,4,6), +(6270,595,23,3), +(6271,200,83,4), +(6272,1297,27,3), +(6274,17999,15,3), +(6275,1496,20,3), +(6289,5,7807,3), +(6290,13,7761,3), +(6291,18,5404,3), +(6292,999,182,2), +(6293,100,1,2), +(6294,1199,40,2), +(6295,1500,9,2), +(6296,80,1,2), +(6297,70,62,4), +(6298,199,5,2), +(6299,21,126,3), +(6300,479,28,2), +(6301,12500,4,1), +(6302,639,38,2), +(6303,11,3348,3), +(6304,400,4,1), +(6305,500,8,2), +(6306,6500,3,2), +(6308,15,4620,3), +(6309,1670,48,2), +(6310,1898,73,2), +(6311,2200,15,2), +(6316,25,1357,3), +(6317,4,2535,3), +(6325,198,126,3), +(6326,144,74,3), +(6327,154099,8,1), +(6328,670,210,3), +(6329,627,101,3), +(6330,1578,159,3), +(6331,149500,1,1), +(6336,393,5,11), +(6337,242,7,10), +(6338,350,210,1), +(6342,289,94,3), +(6344,238,76,3), +(6346,9900,13,3), +(6347,180,100,3), +(6348,200,58,3), +(6349,1592,52,3), +(6350,300,366,1), +(6358,44,10339,2), +(6359,31,5445,3), +(6360,4500,3,1), +(6361,5,4156,3), +(6362,5,6858,3), +(6363,2799,7,2), +(6364,4900,4,2), +(6365,8100,76,1), +(6367,276000,11,1), +(6368,521,73,3), +(6369,1989,56,3), +(6370,424,4191,1), +(6371,69,5914,3), +(6372,100,1355,2), +(6373,35,1304,2), +(6375,373,108,3), +(6377,999,53,3), +(6378,295,68,1), +(6379,345,61,1), +(6380,650,58,1), +(6381,625,55,1), +(6382,700,67,1), +(6390,200,63,3), +(6391,197,63,3), +(6438,363,78,2), +(6439,238,33,2), +(6444,228,205,2), +(6445,98,27,4), +(6450,200,6897,1), +(6451,400,5005,1), +(6452,28,2725,3), +(6453,62,1846,3), +(6454,2000,39,3), +(6456,100,18,3), +(6457,30,79,3), +(6458,50,90,3), +(6466,689,5,1), +(6470,43,2199,2), +(6471,1210,613,1), +(6474,1000,20,3), +(6475,2300,28,3), +(6476,1084,87,3), +(6506,130,12,1), +(6507,143,7,1), +(6508,100,11,2), +(6509,100,12,3), +(6510,100,16,1), +(6511,310,8,1), +(6512,290,5,15), +(6513,100,16,3), +(6514,100,8,3), +(6515,100,11,2), +(6517,100,11,3), +(6518,150,12,1), +(6519,100,1,1), +(6520,100,15,3), +(6521,100,2,1), +(6522,528,3368,1), +(6527,259,17,1), +(6528,390,38,1), +(6529,30,317,3), +(6530,29,2184,3), +(6531,529,27,1), +(6532,276,589,1), +(6533,216,1436,1), +(6536,490,5,9), +(6537,390,4,7), +(6538,490,4,9), +(6539,380,5,8), +(6540,430,10,8), +(6541,300,9,8), +(6542,255,4,6), +(6543,500,3,8), +(6545,669,10,17), +(6546,540,7,12), +(6547,315,6,11), +(6548,395,4,8), +(6549,101,22,3), +(6550,500,14,11), +(6551,484,7,13), +(6552,600,6,7), +(6553,520,9,16), +(6554,390,10,14), +(6555,200,13,1), +(6556,640,6,7), +(6557,500,4,7), +(6558,600,9,8), +(6559,594,6,16), +(6560,617,7,8), +(6561,695,37,1), +(6562,579,9,7), +(6563,395,23,8), +(6564,522,4,4), +(6565,500,6,11), +(6566,411,38,1), +(6570,489,20,12), +(6574,580,6,13), +(6575,450,7,14), +(6576,570,12,8), +(6577,700,5,5), +(6579,680,24,1), +(6581,663,7,8), +(6585,557,11,18), +(6586,650,5,6), +(6622,2393200,2,1), +(6651,3000000,2,1), +(6657,555,1974,1), +(6660,90000,20,1), +(6661,45900,22,1), +(6662,799,1056,1), +(6663,7000,47,3), +(6672,10000,9,1), +(6709,600,48,1), +(6710,20000,15,3), +(6712,100,514,4), +(6714,99,1454,2), +(6716,800,28,3), +(6735,7500,7,3), +(6786,100,12,1), +(6787,620,177,1), +(6796,789,18,1), +(6807,62,1323,3), +(6811,26,838,3), +(6826,548,165,2), +(6887,70,9381,2), +(6888,35,1909,3), +(6889,48,3637,3), +(6890,40,720,3), +(6892,639,143,3), +(6947,5,2802,3), +(6949,96,351,2), +(6950,198,1655,1), +(6986,90,71,4), +(7005,100,85,3), +(7026,100,628,3), +(7067,2890,1224,1), +(7068,3900,538,1), +(7069,1709,501,1), +(7070,673,565,1), +(7071,130,1894,1), +(7072,150,1704,1), +(7073,6,63,4), +(7074,5,98,4), +(7075,730,531,1), +(7076,64655,119,1), +(7077,3044,1183,1), +(7078,22000,286,1), +(7079,484,273,1), +(7080,41997,223,1), +(7081,3039,240,1), +(7082,87788,211,1), +(7084,399,124,3), +(7085,1599,97,3), +(7086,475,80,3), +(7090,1420,82,3), +(7091,348,33,3), +(7092,300,62,3), +(7094,4500,10,1), +(7096,15,51,4), +(7097,71,74,3), +(7098,100,23,3), +(7100,29,52,3), +(7101,99,118,3), +(7108,690,4,9), +(7109,580,1,1), +(7166,499,27,2), +(7191,580,592,1), +(7192,59999,13,1), +(7276,100,408,3), +(7277,100,88,3), +(7278,100,629,3), +(7279,100,342,3), +(7280,419,26,1), +(7281,220,329,1), +(7282,599,342,1), +(7283,596,37,1), +(7285,588,188,1), +(7286,25,2681,3), +(7287,350,812,1), +(7288,269,80,3), +(7289,162,57,3), +(7290,1000,43,3), +(7307,99,295,1), +(7348,690,28,1), +(7350,180,17,1), +(7351,101,14,3), +(7360,550,79,3), +(7361,29500,14,3), +(7363,885,31,3), +(7364,4400,40,3), +(7371,1700,42,1), +(7372,1300,181,1), +(7392,850,477,1), +(7428,260,1541,1), +(7449,2300,26,3), +(7450,1093,58,3), +(7452,14500,10,1), +(7453,1900,40,3), +(7676,898,1215,1), +(7729,39000,20,1), +(7730,49500,9,1), +(7736,68500,5,1), +(7740,19999,3,2), +(7741,900,19,2), +(7752,31098,8,1), +(7753,19997,13,1), +(7757,40000,10,1), +(7758,112599,3,1), +(7761,88900,8,1), +(7786,23598,19,1), +(7909,1237,1292,1), +(7910,4958,343,1), +(7911,1400,3008,1), +(7912,175,5963,1), +(7941,15000,83,1), +(7942,22999,31,1), +(7943,29900,49,1), +(7944,18500,54,1), +(7945,23333,7,1), +(7946,21700,28,1), +(7947,56999,5,1), +(7954,92000,16,1), +(7955,1500,21,1), +(7956,1540,138,1), +(7957,3400,72,1), +(7958,2499,49,1), +(7959,60300,12,1), +(7960,109000,6,1), +(7961,138700,32,1), +(7964,299,2872,1), +(7965,303,2093,1), +(7966,933,2451,1), +(7967,10153,205,1), +(7969,370,1008,1), +(7971,1220,882,1), +(7972,400,461,1), +(7974,55,4176,2), +(7975,1800,37,3), +(7976,40000,32,1), +(7978,99999,1,1), +(7989,8299,67,1), +(7990,2745,51,3), +(7991,13500,11,3), +(7992,2401,31,3), +(7993,2700,43,3), +(8006,40000,9,1), +(8028,10000,18,1), +(8067,1,258438,3), +(8068,2,229413,3), +(8069,4,208405,3), +(8146,499,1456,1), +(8150,282,4232,1), +(8151,250,1403,1), +(8152,500,627,1), +(8153,79,7230,1), +(8154,1684,2875,1), +(8165,500,954,1), +(8167,499,5503,1), +(8168,100,775,2), +(8169,500,2203,1), +(8170,1453,7973,1), +(8171,509,527,1), +(8172,1098,2694,1), +(8173,1277,600,1), +(8177,185,11,1), +(8178,806,14,22), +(8179,500,11,1), +(8180,375,126,1), +(8181,100,20,3), +(8182,100,22,3), +(8183,2674,118,1), +(8184,2944,66,2), +(8186,2230,86,2), +(8188,6413,87,1), +(8190,154999,15,1), +(8194,20000,3,19), +(8196,23599,5,21), +(8199,32000,2,10), +(8217,5865,263,1), +(8218,5400,334,1), +(8223,159900,3,1), +(8225,99998,2,1), +(8226,59094,21,1), +(8244,255100,5,2), +(8283,200000,1,1), +(8284,24500,2,1), +(8287,20000,2,1), +(8288,17700,4,1), +(8289,47500,6,1), +(8290,36400,1,1), +(8292,28000,4,1), +(8294,19000,2,1), +(8296,39900,1,1), +(8299,24000,5,1), +(8300,33099,7,1), +(8301,30000,1,1), +(8302,20000,2,1), +(8304,26600,4,1), +(8306,29900,6,1), +(8308,27000,3,1), +(8310,49000,5,1), +(8312,20000,1,1), +(8343,1895,386,1), +(8364,75,2465,2), +(8365,100,3494,2), +(8368,1000,777,1), +(8384,12598,13,1), +(8386,1200,64,3), +(8387,1500,72,3), +(8388,48093,32,1), +(8389,1500,11,3), +(8390,1600,78,3), +(8391,3942,873,2), +(8392,3997,391,2), +(8393,5664,683,2), +(8394,8924,797,2), +(8395,1200,58,3), +(8396,17995,233,2), +(8397,1000,15,3), +(8398,6400,35,3), +(8399,1998,66,3), +(8400,5000,44,3), +(8401,2250,61,3), +(8402,10000,37,3), +(8430,100,1,1), +(8483,576,1981,2), +(8485,5500,12,2), +(8486,4499,16,2), +(8487,5500,31,2), +(8488,4777,10,2), +(8489,7490,12,1), +(8490,2500,39,2), +(8491,29700,3,2), +(8492,1099,135,2), +(8494,280000,13,2), +(8495,3800,34,2), +(8496,4599,20,2), +(8497,4699,5,2), +(8498,159289,10,2), +(8499,89500,9,2), +(8500,7300,8,2), +(8501,7500,10,2), +(8544,400,1243,1), +(8545,600,304,1), +(8746,770,27,1), +(8766,700,600,1), +(8827,1918,721,1), +(8831,500,1186,1), +(8836,2592,2900,1), +(8838,1400,2650,1), +(8839,1026,3014,1), +(8845,5401,511,1), +(8846,2018,1670,1), +(8923,50,173,4), +(8924,200,925,3), +(8925,255,992,1), +(8926,300,644,1), +(8927,3999,115,1), +(8932,849,2042,1), +(8948,300,337,1), +(8949,876,1405,1), +(8950,490,243,1), +(8951,546,1746,1), +(8952,427,169,1), +(8953,497,96,1), +(8956,929,153,1), +(8957,10400,11,1), +(8959,191,568,1), +(8984,1000,386,1), +(9036,155,671,1), +(9060,8898,194,1), +(9061,796,747,1), +(9088,14899,61,1), +(9144,764,199,1), +(9154,300,250,1), +(9155,2098,750,1), +(9172,9583,196,1), +(9179,1060,556,1), +(9187,2600,946,1), +(9197,850,94,1), +(9206,4199,762,1), +(9210,5500,71,1), +(9224,5500,36,1), +(9233,695,61,1), +(9242,7500,36,1), +(9251,487,90,2), +(9252,1020,123,2), +(9253,998,243,2), +(9254,4900,127,2), +(9259,199,1118,2), +(9260,600,156,1), +(9261,250,39,2), +(9262,1008,201,1), +(9264,19200,364,1), +(9293,1400,110,3), +(9294,2000,87,3), +(9295,2300,87,3), +(9296,3090,69,3), +(9297,14999,23,1), +(9298,11012,127,3), +(9301,13750,37,3), +(9303,13000,43,3), +(9304,11500,21,3), +(9308,38,1772,4), +(9312,66,512,2), +(9313,300,457,1), +(9327,619,118,2), +(9332,100,4,1), +(9334,99,4,2), +(9335,100,2,1), +(9336,2000,2,1), +(9355,500,8,2), +(9356,400,1,1), +(9357,400,5,2), +(9358,1600,6,2), +(9359,20498,20,1), +(9360,500,5,1), +(9361,10600,4,1), +(9367,43955,19,1), +(9381,62000,4,1), +(9383,249999,4,1), +(9384,85000,2,1), +(9385,18999,53,1), +(9386,71300,23,1), +(9391,28900,10,1), +(9392,198899,4,1), +(9423,400000,1,1), +(9424,354500,8,1), +(9426,144978,9,1), +(9427,248838,3,1), +(9451,85,520,3), +(9465,340000,2,1), +(9482,302600,2,1), +(9485,42499,22,1), +(9486,18983,12,1), +(9487,80000,3,1), +(9488,10500,28,1), +(9490,31500,11,1), +(9511,153969,1,1), +(9718,110000,5,1), +(9719,34900,25,2), +(9742,100,15,3), +(9743,100,14,2), +(9744,107,10,2), +(9745,100,17,3), +(9746,100,14,2), +(9747,225,14,11), +(9748,285,10,14), +(9749,368,4,5), +(9750,100,12,3), +(9751,150,8,1), +(9752,108,11,1), +(9753,300,5,11), +(9754,100,19,3), +(9755,119,15,1), +(9756,290,10,12), +(9757,400,8,10), +(9758,100,14,2), +(9759,138,10,1), +(9760,150,14,1), +(9761,130,9,1), +(9762,108,19,1), +(9763,348,8,17), +(9764,340,7,15), +(9765,433,8,14), +(9766,560,4,6), +(9768,800,2,1), +(9770,450,6,9), +(9771,800,6,2), +(9775,700,4,7), +(9776,550,6,8), +(9777,500,6,7), +(9779,328,5,14), +(9780,700,6,20), +(9783,829,5,9), +(9784,534,8,14), +(9785,320,9,8), +(9786,341,5,9), +(9787,362,8,6), +(9788,309,16,17), +(9789,743,6,12), +(9790,800,2,1), +(9792,819,15,8), +(9793,586,10,8), +(9801,708,4,8), +(9805,720,4,4), +(9811,720,6,9), +(9812,600,4,12), +(9814,780,4,9), +(10045,100,153,3), +(10046,100,2,1), +(10047,195,568,1), +(10050,7989,295,1), +(10051,19344,293,1), +(10100,20000,1,3), +(10101,23700,1,4), +(10102,59000,2,2), +(10104,56997,1,5), +(10105,25740,1,4), +(10112,21000,2,4), +(10113,22599,2,3), +(10118,40000,1,4), +(10123,22000,1,4), +(10136,25000,2,4), +(10137,29900,1,1), +(10138,21100,1,1), +(10140,50550,1,3), +(10144,39900,2,4), +(10145,23400,2,6), +(10146,29999,1,1), +(10147,29800,2,4), +(10148,40000,1,7), +(10150,40000,2,2), +(10153,45000,2,3), +(10154,99900,1,1), +(10155,30000,1,3), +(10156,49100,1,1), +(10159,20000,2,4), +(10163,46500,1,3), +(10164,60000,1,2), +(10169,30000,1,1), +(10178,49999,2,2), +(10181,27500,1,3), +(10182,20000,2,6), +(10210,154140,1,1), +(10211,30085,3,7), +(10212,24750,2,4), +(10213,19900,1,4), +(10214,18900,2,4), +(10216,36000,3,7), +(10217,45000,2,7), +(10219,22000,2,5), +(10221,33300,2,4), +(10222,29500,2,2), +(10223,18800,1,1), +(10224,20000,1,3), +(10225,120144,1,1), +(10226,38900,1,2), +(10228,31000,2,4), +(10230,40000,3,2), +(10232,27600,1,1), +(10233,30000,1,2), +(10234,26800,2,3), +(10235,27700,1,4), +(10236,29900,1,3), +(10237,55000,1,4), +(10247,106484,1,2), +(10248,80000,1,1), +(10249,50200,1,1), +(10252,45500,1,1), +(10255,73500,1,1), +(10256,30000,1,3), +(10257,89900,1,1), +(10258,20000,1,4), +(10259,50000,1,4), +(10261,129900,1,1), +(10263,55547,1,1), +(10267,39000,1,3), +(10272,30300,2,1), +(10275,100000,1,1), +(10277,19800,2,4), +(10279,48000,2,3), +(10280,40000,2,3), +(10284,212,556,1), +(10285,1090,900,1), +(10286,400,1384,1), +(10290,1298,37,1), +(10300,1250,35,3), +(10301,1800,76,3), +(10302,1600,37,3), +(10305,581,119,1), +(10306,595,90,1), +(10307,1498,40,1), +(10308,3450,130,1), +(10309,9799,145,1), +(10310,6925,75,1), +(10311,6800,13,3), +(10312,1700,36,3), +(10314,6897,24,3), +(10315,1880,33,3), +(10316,500,68,3), +(10317,8093,8,3), +(10318,2700,23,3), +(10320,2490,26,3), +(10321,17500,8,3), +(10323,9400,11,3), +(10325,11099,18,3), +(10326,8500,25,3), +(10360,15235,4,2), +(10361,12113,4,2), +(10362,45500,1,4), +(10366,48100,1,1), +(10368,40000,1,1), +(10369,20000,5,1), +(10370,25000,6,1), +(10371,19900,1,1), +(10372,39900,7,1), +(10373,40000,1,1), +(10374,26000,3,1), +(10375,20000,5,1), +(10376,48699,1,6), +(10377,19000,1,2), +(10378,70000,1,2), +(10379,50000,1,2), +(10381,39900,2,3), +(10382,259900,1,1), +(10383,39900,1,3), +(10385,158964,1,1), +(10386,99900,1,1), +(10387,40000,2,4), +(10388,51200,1,2), +(10391,23700,1,2), +(10392,9988,3,2), +(10393,27472,12,2), +(10394,69201,2,2), +(10398,7900,6,2), +(10407,666,29,1), +(10421,200,178,1), +(10424,850,40,3), +(10450,396,272,2), +(10463,54000,5,1), +(10498,1800,85,1), +(10505,448,1385,1), +(10507,400,915,1), +(10508,12900,11,1), +(10510,29090,24,1), +(10512,5,48070,3), +(10513,17,33975,3), +(10514,1017,520,1), +(10546,8569,95,1), +(10548,10515,76,1), +(10553,410,4,1), +(10554,350,5,1), +(10558,390,2666,1), +(10559,2700,787,1), +(10560,2375,467,1), +(10561,1800,381,1), +(10562,1080,201,1), +(10567,110000,12,1), +(10570,105500,4,1), +(10571,39999,12,1), +(10572,249878,2,1), +(10573,69800,7,1), +(10586,5000,24,1), +(10592,257,496,1), +(10593,15000,39,2), +(10601,500,21,3), +(10603,833,46,3), +(10604,849,52,3), +(10605,1100,68,3), +(10606,873,32,3), +(10608,29000,13,3), +(10609,6665,6,3), +(10620,1298,8122,1), +(10623,69700,9,1), +(10624,94498,4,1), +(10625,444196,8,1), +(10626,299300,3,1), +(10627,252600,5,1), +(10628,99899,8,1), +(10644,9000,125,3), +(10646,4998,256,1), +(10647,1499,78,1), +(10648,1288,214,1), +(10713,4300,60,3), +(10822,73098,14,2), +(10839,5000,6,2), +(10840,568,14,2), +(10841,400,100,1), +(10918,89,116,2), +(10920,999,159,1), +(10921,2500,41,1), +(10922,2000,9,1), +(10938,142,14003,1), +(10939,349,2091,1), +(10940,100,9860,3), +(10978,587,2130,1), +(10998,470,2974,1), +(11018,334,7482,2), +(11022,285,672,2), +(11023,11200,19,2), +(11026,10098,7,2), +(11027,10898,4,2), +(11038,550,69,3), +(11040,2422,669,2), +(11081,217,39,3), +(11082,1561,1976,1), +(11083,387,3109,1), +(11084,3479,1014,1), +(11098,710,172,3), +(11101,5529,130,3), +(11108,300,43,2), +(11109,799,59,1), +(11128,1499,944,1), +(11134,797,244,1), +(11135,2340,851,1), +(11137,945,2820,1), +(11138,1000,748,1), +(11139,3290,464,1), +(11144,2899,93,1), +(11150,750,124,3), +(11151,10000,13,3), +(11152,750,136,3), +(11164,900,69,3), +(11165,790,77,3), +(11166,1000,60,3), +(11167,1300,156,3), +(11168,70000,6,1), +(11174,3685,801,1), +(11175,11417,561,1), +(11176,2599,303,1), +(11177,7600,257,1), +(11178,19400,286,1), +(11184,999,569,2), +(11185,499,1069,2), +(11186,1398,820,2), +(11188,428,1936,2), +(11202,1250,128,3), +(11203,6098,268,3), +(11204,1800,51,3), +(11205,2399,92,3), +(11206,10140,105,3), +(11207,188897,34,1), +(11208,1499,130,3), +(11223,11598,11,3), +(11224,15000,11,3), +(11225,1800,107,3), +(11226,65000,11,1), +(11242,19967,4,2), +(11284,7,38544,3), +(11285,7,30512,3), +(11287,139,330,2), +(11288,190,418,2), +(11289,4400,157,2), +(11291,5500,188,1), +(11303,3500,30,1), +(11304,6700,31,1), +(11305,9999,2,1), +(11306,11900,2,1), +(11307,100300,5,1), +(11325,3300,24,1), +(11362,1200,100,1), +(11370,999,4126,1), +(11371,14921,635,1), +(11382,19499,70,1), +(11384,70,33,4), +(11385,145,49,2), +(11386,676,88,2), +(11387,1080,36,2), +(11388,2400,1,1), +(11389,3300,2,1), +(11390,159,4,2), +(11391,214,47,2), +(11392,403,22,2), +(11393,780,33,2), +(11394,580,36,2), +(11402,1900,1,1), +(11404,2394,616,2), +(11406,166,143,2), +(11407,118,1142,2), +(11408,998,38,2), +(11409,770,59,2), +(11410,798,30,2), +(11411,2274,20,2), +(11415,40000,4,1), +(11416,328,62,2), +(11417,1280,18,2), +(11418,610,57,2), +(11419,2900,4,2), +(11420,2600,3,1), +(11444,1800,23,1), +(11474,30000,19,2), +(11590,2779,133,1), +(11610,4300,20,1), +(11611,27096,20,3), +(11612,4900,18,1), +(11630,29,9063,2), +(11732,2102,79,3), +(11733,5000,45,3), +(11734,1900,57,3), +(11736,5499,45,3), +(11737,330092,43,1), +(11754,84,1784,2), +(11813,8500,22,3), +(11818,7500,15,2), +(11846,30,249,3), +(11903,9000,43,2), +(11978,35000,2,8), +(11979,99999,1,1), +(11991,40086,2,8), +(12003,250,298,1), +(12004,75000,1,3), +(12005,99999,1,1), +(12015,19999,1,2), +(12016,89900,1,1), +(12026,180000,2,3), +(12035,19900,1,1), +(12036,160000,1,1), +(12037,99,1701,1), +(12046,100000,2,8), +(12058,40000,4,1), +(12162,2999,26,3), +(12184,239,1425,1), +(12190,265,268,1), +(12202,569,1803,1), +(12203,200,1439,1), +(12204,300,450,1), +(12205,239,2509,1), +(12206,907,195,1), +(12207,1400,3465,1), +(12208,265,3107,1), +(12209,249,95,1), +(12210,349,519,1), +(12212,370,3355,1), +(12213,467,78,1), +(12214,395,561,1), +(12215,500,404,1), +(12216,1200,563,1), +(12217,1100,1027,1), +(12218,1538,38,1), +(12219,899,58,2), +(12223,196,875,1), +(12226,2000,58,3), +(12238,9,2466,3), +(12239,50000,34,1), +(12247,48400,2,1), +(12249,29100,1,1), +(12250,25500,7,1), +(12259,16300,19,1), +(12260,29989,2,1), +(12261,13000,11,3), +(12264,2500,20,2), +(12284,9999,11,2), +(12286,50000,1,1), +(12359,1600,1830,1), +(12360,499898,52,1), +(12361,39900,222,1), +(12363,94488,411,1), +(12364,13294,309,1), +(12365,260,10776,1), +(12404,610,3576,1), +(12418,29999,2,1), +(12419,19999,1,1), +(12420,68000,9,1), +(12422,153213,5,1), +(12426,40000,24,1), +(12427,129800,7,1), +(12429,30000,15,1), +(12430,5098,86,2), +(12431,2898,153,2), +(12432,2497,103,2), +(12433,3796,101,2), +(12434,3000,101,2), +(12435,889,274,2), +(12436,30100,5,2), +(12445,6000,2,1), +(12527,159900,2,4), +(12528,140000,9,1), +(12529,2200,34,2), +(12531,125000,3,1), +(12532,289900,7,1), +(12535,190500,3,1), +(12607,9969,91,1), +(12633,299900,13,1), +(12643,615,1144,1), +(12644,1824,2101,1), +(12645,142100,23,1), +(12655,14950,133,1), +(12682,5000,16,3), +(12683,25000,36,3), +(12684,11000,15,1), +(12685,159989,5,1), +(12689,15000,43,3), +(12691,4000,28,3), +(12692,679319,2,1), +(12693,11000,12,3), +(12694,15000,24,3), +(12695,13200,43,3), +(12697,11499,5,3), +(12702,190000,1,1), +(12703,29800,7,1), +(12704,29997,26,1), +(12711,75011,3,1), +(12713,10000,26,3), +(12716,50000,5,1), +(12717,6000000,6,1), +(12720,809996,10,1), +(12728,139700,9,1), +(12774,499900,2,1), +(12783,9997400,1,1), +(12792,199999,4,1), +(12794,1400000,3,1), +(12799,7878,243,1), +(12800,17596,241,1), +(12803,2636,596,1), +(12804,14059,287,1), +(12808,3786,684,1), +(12809,29999,54,1), +(12810,15000,601,1), +(12811,153389,343,1), +(12820,4000,694,1), +(12827,49999,7,1), +(12828,10000,18,3), +(12830,104896,8,1), +(12833,25599,28,1), +(12834,69000,8,1), +(12835,29500,14,3), +(12836,29700,22,3), +(12837,149900,8,1), +(12838,359990,9,1), +(12839,220100,4,1), +(12845,4099,13,2), +(12958,63399,37,1), +(12974,33398,25,1), +(12975,6455,34,1), +(12976,9900,85,1), +(12983,8970,42,1), +(12984,9500,36,1), +(12989,4000,24,1), +(12990,4800,29,2), +(12992,6639,68,1), +(13000,150000,4,1), +(13001,829999,3,1), +(13002,51400,2,1), +(13003,229499,19,1), +(13004,49900,10,1), +(13006,509999,4,1), +(13007,49999,11,1), +(13014,71500,7,1), +(13015,265000,8,1), +(13016,6799,25,1), +(13017,30300,23,1), +(13018,239998,15,1), +(13019,9800,43,1), +(13020,43999,22,1), +(13021,22094,13,1), +(13022,70000,10,1), +(13024,8500,25,1), +(13025,16975,24,1), +(13026,30000,19,1), +(13027,48899,5,1), +(13028,79000,11,1), +(13032,10000,41,1), +(13033,24980,37,1), +(13034,59600,40,1), +(13035,39500,13,1), +(13036,330000,22,1), +(13037,15055,21,1), +(13038,29496,23,1), +(13039,48820,8,1), +(13040,101000,12,1), +(13041,5050,22,1), +(13042,30000,25,1), +(13043,49999,11,1), +(13044,119900,9,1), +(13045,42000,12,1), +(13046,95000,9,1), +(13047,299700,6,1), +(13048,10498,12,1), +(13049,6990,54,1), +(13051,29000,16,1), +(13052,191100,9,1), +(13053,147600,13,1), +(13054,20024,25,1), +(13055,69999,18,1), +(13056,64000,14,1), +(13057,7830,32,1), +(13058,30000,11,1), +(13059,187300,11,1), +(13060,231200,2,1), +(13062,30000,34,1), +(13063,13499,13,1), +(13064,39979,6,1), +(13065,45098,16,1), +(13070,155500,3,1), +(13072,259999,1,1), +(13083,124999,3,1), +(13096,244703,4,1), +(13101,285598,3,1), +(13107,212500,4,1), +(13113,330000,3,1), +(13116,357000,3,1), +(13123,109999,1,1), +(13133,153000,3,1), +(13135,90000,4,1), +(13136,11200,51,1), +(13137,14000,16,1), +(13138,59000,29,1), +(13139,119900,12,1), +(13146,75252,19,1), +(13159,2487,49,2), +(13287,14999,22,3), +(13311,17800,16,3), +(13362,4000,7,2), +(13422,163,7021,1), +(13423,174,4624,1), +(13442,6697,247,1), +(13443,3688,260,1), +(13444,6627,531,1), +(13445,899,1009,1), +(13446,2759,1139,1), +(13447,17798,49,1), +(13452,9489,347,1), +(13454,9996,45,1), +(13455,4995,1437,1), +(13456,6898,43,1), +(13457,14900,301,1), +(13458,45499,28,1), +(13461,39888,10,1), +(13463,1747,2960,1), +(13464,899,509,1), +(13465,1200,676,1), +(13466,2450,2800,1), +(13467,1878,259,1), +(13468,193945,134,1), +(13476,17900,30,3), +(13477,13900,32,3), +(13478,16911,18,3), +(13479,159900,8,1), +(13481,189994,12,1), +(13486,989799,11,1), +(13487,29800,14,1), +(13488,409027,1,1), +(13489,149599,17,1), +(13490,24899,39,3), +(13491,8800,144,3), +(13493,1990000,4,1), +(13494,130000,23,1), +(13495,450000,7,1), +(13496,335500,1,1), +(13497,284907,13,1), +(13499,1688499,6,1), +(13510,399999,7,1), +(13511,279999,25,1), +(13512,239998,31,1), +(13518,157900,12,1), +(13519,900050,10,1), +(13520,329999,19,1), +(13521,549900,11,1), +(13522,156140,10,1), +(13545,1000,126,2), +(13724,9000,168,1), +(13754,111,3468,1), +(13755,349,4482,1), +(13757,88,3030,3), +(13758,10,7437,2), +(13759,285,1741,1), +(13760,289,3425,1), +(13820,18100,2,1), +(13822,17200,1,2), +(13824,13600,1,1), +(13851,450,704,1), +(13866,18899,21,1), +(13867,30000,12,1), +(13876,4000,14,2), +(13877,4730,14,2), +(13878,5532,7,2), +(13879,8550,4,2), +(13880,10200,2,1), +(13882,4500,11,2), +(13883,6500,3,2), +(13884,14000,2,2), +(13885,3500,8,2), +(13886,3900,25,2), +(13888,399,2483,1), +(13889,500,5985,1), +(13890,72,1229,2), +(13893,2327,619,1), +(13901,8000,5,2), +(13902,11499,8,2), +(13903,3000,3,1), +(13907,11000,12,1), +(13908,5099,15,1), +(13909,8319,3,1), +(13910,72300,1,1), +(13911,92899,5,1), +(13914,10000,3,1), +(13915,50000,1,1), +(13926,19399,217,1), +(13927,424,2554,1), +(13928,499,3060,1), +(13930,63,4022,3), +(13931,398,2533,1), +(13932,399,1926,1), +(13933,693,1152,1), +(13934,2000,883,1), +(13935,695,285,1), +(13939,23598,38,3), +(13940,18500,38,3), +(13941,21400,24,3), +(13942,27999,23,3), +(13943,22550,34,3), +(13945,23900,45,3), +(13946,23900,41,3), +(13947,25594,20,3), +(13948,28999,10,3), +(13949,24099,10,3), +(14025,300,21,1), +(14046,50065,34,1), +(14047,601,28811,1), +(14048,3119,964,1), +(14086,299,3,1), +(14089,200,2,1), +(14090,449,4,7), +(14091,500,4,8), +(14093,200,7,1), +(14094,386,4,5), +(14095,200,3,1), +(14097,299,2,4), +(14098,100,2,1), +(14099,100,12,2), +(14102,100,7,2), +(14106,129999,5,1), +(14109,800,4,1), +(14110,190,10,1), +(14111,24800,22,1), +(14112,125000,9,1), +(14115,249,10,1), +(14116,120,10,1), +(14117,698,7,6), +(14119,499,2,3), +(14120,694,4,11), +(14121,688,4,5), +(14122,541,6,2), +(14123,630,4,5), +(14124,372,3,6), +(14125,700,2,4), +(14126,480,4,1), +(14129,430,1,1), +(14131,400,2,3), +(14155,589699,19,1), +(14159,702,2,5), +(14161,400,3,3), +(14162,600,2,7), +(14166,360,9,7), +(14167,399,9,19), +(14168,348,15,8), +(14170,445,29,1), +(14171,740,8,7), +(14172,830,5,10), +(14173,315,6,7), +(14174,387,21,9), +(14227,3395,1421,1), +(14256,3663,1442,1), +(14305,22000,2,5), +(14307,27150,1,1), +(14308,30000,1,1), +(14310,34300,2,2), +(14312,200400,1,1), +(14314,39999,3,3), +(14315,30000,2,2), +(14319,20000,2,1), +(14320,30000,1,3), +(14322,150600,1,1), +(14324,25100,1,1), +(14327,29999,2,2), +(14331,100000,1,3), +(14337,105960,1,1), +(14341,4660,560,1), +(14342,380000,36,1), +(14343,6698,380,1), +(14344,33298,676,1), +(14364,549,44,1), +(14365,400,29,1), +(14367,388,31,1), +(14368,488,9,1), +(14370,475,22,1), +(14373,750,25,1), +(14375,780,20,1), +(14376,670,9,1), +(14449,25000,3,1), +(14458,30000,2,1), +(14460,52000,1,1), +(14465,19900,1,1), +(14466,7301,17,3), +(14467,3900,15,3), +(14468,10000,43,1), +(14470,4000,19,3), +(14471,3595,11,3), +(14473,10999,8,3), +(14474,3600,5,3), +(14476,4000,17,3), +(14477,9500,7,3), +(14478,4594,24,3), +(14479,4899,23,3), +(14482,49900,19,1), +(14484,19999,34,3), +(14489,6000,12,3), +(14490,13300,8,1), +(14491,13000,15,3), +(14492,7800,33,3), +(14494,8700,26,3), +(14496,8099,35,3), +(14497,49800,13,1), +(14498,32444,13,1), +(14499,69892,60,1), +(14501,145000,11,1), +(14504,28500,52,3), +(14506,10000,78,3), +(14508,15399,24,3), +(14509,451111,2,1), +(14510,989999,7,1), +(14511,2099999,6,1), +(14512,74500,18,1), +(14513,299100,24,1), +(14514,90900,19,1), +(14529,572,445,1), +(14530,1417,303,1), +(14536,455650,1,1), +(14553,2400000,1,1), +(14554,7999999,2,1), +(14555,5008200,1,1), +(14559,414,23,1), +(14560,560,10,1), +(14635,14955,19,3), +(14639,395,132,3), +(14670,59999,4,1), +(14677,38799,2,1), +(14680,37700,1,1), +(14682,90000,1,1), +(14683,27900,1,1), +(14687,70000,1,1), +(14723,700,21,1), +(14728,695,13,1), +(14743,740,17,1), +(14745,500,15,1), +(14798,109999,3,1), +(14804,50000,3,1), +(14810,27600,1,1), +(14813,28900,4,1), +(14858,27700,1,1), +(14863,60000,1,1), +(14864,21500,1,1), +(14869,39999,2,1), +(14932,40000,1,5), +(14933,80000,1,2), +(14934,20000,1,2), +(14935,50000,1,1), +(14969,30000,1,1), +(14970,453000,1,4), +(14977,50000,1,2), +(14983,20000,1,1), +(15005,296,12,1), +(15007,100,1,1), +(15008,343,7,1), +(15009,495,2,4), +(15010,777,2,1), +(15013,200,3,1), +(15014,650,1,7), +(15015,150,9,1), +(15017,620,2,7), +(15050,999200,1,1), +(15058,800000,1,1), +(15062,693890,22,1), +(15063,257600,13,1), +(15066,560000,1,1), +(15068,32800,2,1), +(15075,40000,1,1), +(15087,144400,2,1), +(15088,20000,14,1), +(15094,18098,40,1), +(15095,53321,11,1), +(15112,440,4,2), +(15114,400,3,6), +(15179,27900,1,3), +(15185,24060,1,1), +(15192,29999,1,1), +(15210,2210,30,29), +(15211,2500,15,22), +(15212,3998,9,43), +(15213,13000,7,23), +(15214,14989,8,21), +(15215,20000,2,18), +(15216,37900,2,16), +(15217,50000,2,12), +(15218,40000,1,5), +(15219,62000,3,8), +(15220,109999,2,5), +(15222,1214,8,40), +(15223,2370,12,37), +(15224,2700,18,36), +(15225,5990,5,28), +(15226,8750,10,27), +(15227,30000,2,10), +(15228,33900,4,10), +(15229,47900,5,8), +(15230,2755,19,39), +(15231,5190,8,33), +(15232,8000,5,25), +(15233,11490,6,28), +(15234,17000,6,20), +(15235,21999,3,15), +(15236,33333,7,12), +(15237,36900,3,9), +(15238,70000,3,5), +(15239,68000,1,5), +(15240,204000,1,1), +(15241,3200,12,36), +(15242,4434,17,31), +(15243,9990,7,26), +(15244,13042,4,22), +(15245,26900,5,13), +(15246,78600,1,5), +(15247,190000,1,1), +(15248,1785,19,22), +(15249,3868,11,26), +(15250,6900,6,23), +(15251,19000,9,22), +(15252,29400,3,11), +(15253,34000,4,10), +(15254,43300,8,12), +(15255,80000,3,10), +(15256,60000,4,14), +(15257,82900,1,3), +(15259,3299,16,21), +(15260,11550,8,33), +(15261,13600,6,27), +(15262,23400,4,16), +(15263,29700,1,6), +(15264,53397,1,9), +(15265,55000,2,9), +(15266,61600,2,2), +(15267,90400,1,1), +(15268,1024,13,21), +(15269,3025,24,24), +(15270,30000,6,19), +(15271,63000,2,12), +(15272,79800,2,7), +(15274,35000,3,8), +(15275,42200,3,8), +(15276,54900,3,11), +(15278,70000,2,12), +(15279,22200,7,12), +(15280,24800,3,8), +(15281,99999,2,8), +(15282,60000,2,6), +(15283,80000,1,1), +(15284,3038,42,1), +(15285,4063,52,1), +(15286,5800,115,1), +(15287,16000,5,14), +(15288,69999,3,2), +(15291,23800,4,12), +(15294,48200,9,15), +(15295,25000,4,7), +(15296,200000,1,1), +(15297,400,1,1), +(15298,345,2,9), +(15299,100,8,3), +(15300,490,17,1), +(15301,250,10,1), +(15303,600,2,2), +(15308,600,1,3), +(15310,550,4,4), +(15322,7744,54,1), +(15323,19800,6,10), +(15324,35499,6,4), +(15325,39999,2,13), +(15407,329991,109,1), +(15408,3349,1306,1), +(15409,575899,58,1), +(15412,611,3514,1), +(15414,2711,334,1), +(15415,1780,217,1), +(15416,10011,757,1), +(15417,9900,2216,1), +(15419,9090,272,1), +(15420,100,4344,1), +(15422,4075,813,1), +(15423,1045,650,1), +(15426,40000,1,3), +(15429,70000,1,4), +(15430,29999,1,1), +(15431,119999,1,2), +(15432,21200,1,3), +(15437,60000,1,1), +(15472,190,5,1), +(15473,550,8,1), +(15478,300,1,1), +(15479,700,2,4), +(15480,199,4,1), +(15482,300,2,1), +(15484,200,4,1), +(15485,550,5,8), +(15486,355,3,5), +(15487,550,1,2), +(15490,199,3,1), +(15491,500,3,2), +(15493,800,2,2), +(15494,700,4,5), +(15495,700,2,4), +(15497,600,3,3), +(15498,689,3,7), +(15499,500,2,1), +(15501,399,2,6), +(15502,800,3,4), +(15505,785,9,1), +(15506,740,2,2), +(15507,380,4,6), +(15508,398,1,7), +(15510,754,2,6), +(15564,3000,744,1), +(15658,66800,2,1), +(15668,50000,1,3), +(15672,100800,1,1), +(15673,56700,1,2), +(15674,30000,1,1), +(15681,37200,1,1), +(15696,600,39,2), +(15726,4400,19,3), +(15727,6000,17,3), +(15728,6000,18,3), +(15731,8500,26,3), +(15732,3499,61,1), +(15733,5500,24,3), +(15735,100000,4,1), +(15737,4206,15,3), +(15738,5600,29,3), +(15739,4400,15,1), +(15742,88799,6,1), +(15743,6000,17,3), +(15744,8800,25,3), +(15745,7899,12,3), +(15746,7200,24,3), +(15747,5000,29,3), +(15748,6899,10,3), +(15749,10000,21,3), +(15751,258999,2,1), +(15752,7600,26,3), +(15753,279997,2,1), +(15755,8300,40,3), +(15757,7000,21,3), +(15758,643300,4,1), +(15759,20000,14,3), +(15760,15000,13,3), +(15761,6999,28,3), +(15763,29900,14,1), +(15765,8409,35,3), +(15768,348656,3,1), +(15770,19943,15,1), +(15771,291300,1,1), +(15772,140022,19,1), +(15773,85000,5,1), +(15775,19899,11,3), +(15776,25500,10,1), +(15777,22600,3,1), +(15779,15500,15,3), +(15781,33000,14,1), +(15798,96,14,2), +(15807,1500,26,1), +(15846,26499,40,1), +(15869,53,1898,3), +(15870,400,271,1), +(15871,979,166,1), +(15895,400,2,1), +(15925,439,30,1), +(15926,810,22,1), +(15931,159900,3,1), +(15932,599,9,16), +(15933,650,10,20), +(15938,29900,1,2), +(15939,69900,2,3), +(15944,594,17,1), +(15969,599,2,6), +(15970,587,1,1), +(15986,48403,1,2), +(15992,710,490,1), +(15993,4000,175,1), +(15994,2700,1522,1), +(15995,79700,3,1), +(15996,79850,9,1), +(15997,22,38700,3), +(16000,7446,160,1), +(16005,20000,29,1), +(16006,690418,34,1), +(16023,52499,29,1), +(16041,16969,13,3), +(16042,23305,23,3), +(16043,3270,14,3), +(16044,30098,11,1), +(16045,4695,22,3), +(16048,9000,15,3), +(16049,10096,24,3), +(16051,27400,45,1), +(16052,25097,12,3), +(16053,17600,7,3), +(16054,679100,6,1), +(16055,469999,6,1), +(16056,59000,11,1), +(16060,565,16,1), +(16072,10750,153,3), +(16084,10000,173,3), +(16110,18000,14,3), +(16111,20000,11,3), +(16112,3192,299,3), +(16113,5895,101,3), +(16166,460,37,1), +(16167,100,4,1), +(16170,61,83,2), +(16202,7099,490,1), +(16203,22946,403,1), +(16204,3498,1034,1), +(16206,2071500,7,1), +(16214,499900,1,1), +(16215,13700,34,3), +(16216,40000,12,1), +(16218,10300,26,3), +(16219,129900,18,1), +(16220,18800,50,3), +(16221,26498,9,1), +(16223,149999,11,1), +(16224,140000,9,1), +(16242,2390000,3,1), +(16244,652635,7,1), +(16245,28056,35,1), +(16246,800000,1,1), +(16247,119900,10,1), +(16248,159900,3,1), +(16249,81199,8,1), +(16250,294598,16,1), +(16251,8300,44,3), +(16252,2495400,6,1), +(16253,3499997,5,1), +(16254,359010,10,1), +(16255,40000,7,1), +(16583,6000,20,2), +(16645,7000,8,2), +(16646,8900,8,1), +(16647,3500,22,2), +(16648,3896,16,2), +(16649,2500,15,2), +(16650,4900,11,2), +(16651,1498,20,2), +(16652,3250,26,2), +(16653,998,19,2), +(16654,4711,28,2), +(16655,3499,8,2), +(16656,2200,33,2), +(16672,940000,8,1), +(16673,85000,17,1), +(16676,420000,4,1), +(16680,117924,4,1), +(16684,200000,3,1), +(16685,49900,25,1), +(16692,249800,8,1), +(16696,99999,11,1), +(16702,50000,11,1), +(16705,143300,6,1), +(16712,399999,1,1), +(16713,278099,10,1), +(16716,49999,13,1), +(16717,250000,2,1), +(16723,99933,16,1), +(16724,400000,5,1), +(16736,257689,5,1), +(16737,750000,1,1), +(16747,100,11,3), +(16748,99,4,4), +(16766,105,622,2), +(16971,300,569,1), +(17020,419,76,2), +(17021,300,49,1), +(17026,600,173,2), +(17028,445,129,2), +(17029,1049,74,2), +(17031,955,204,2), +(17032,1948,171,2), +(17033,1190,75,2), +(17034,419,1730,1), +(17035,413,565,2), +(17036,600,830,2), +(17037,1010,37,2), +(17038,996,91,2), +(17056,117,5065,3), +(17057,7,3072,4), +(17058,12,6568,4), +(17062,2595,145,3), +(17119,8,291,3), +(17187,600,1,1), +(17222,740,1189,1), +(17413,8500,66,3), +(17414,29900,20,3), +(17682,9599,81,3), +(17683,39799,19,1), +(17747,2991,19,1), +(17781,100,65,4), +(18042,31,19660,2), +(18045,500,738,1), +(18046,14900,27,3), +(18223,83004,1,1), +(18224,2600,40,1), +(18232,252525,6,1), +(18239,6300,55,3), +(18253,19000,41,1), +(18254,2500,259,1), +(18255,1995,166,1), +(18256,3200,122,1), +(18258,100000,2,1), +(18285,6900,2,1), +(18288,50000,2,1), +(18294,735,413,1), +(18332,2397,95,3), +(18333,50800,36,1), +(18334,1999,55,3), +(18335,80000,35,2), +(18337,51900,2,1), +(18338,90097,20,1), +(18339,100000,2,1), +(18340,53851,3,1), +(18356,120000,10,2), +(18357,54500,23,2), +(18358,180000,16,2), +(18359,88700,10,2), +(18360,230000,9,2), +(18361,296999,20,2), +(18362,159999,11,2), +(18363,69800,9,2), +(18364,250000,9,2), +(18365,30100,5,2), +(18401,3999999,7,2), +(18414,5999999,2,1), +(18487,32900,7,1), +(18512,5597,278,1), +(18517,404500,5,1), +(18518,1975000,6,1), +(18519,699992,10,1), +(18588,1986,269,1), +(18600,14999,32,3), +(18610,2500,8,2), +(18631,22267,118,1), +(18640,1194,38,1), +(18641,1969,510,1), +(18647,29900,2,3), +(18649,1699,13,3), +(18653,25498,26,3), +(18654,6500,44,3), +(18655,152100,7,1), +(18657,555555,1,1), +(18658,309500,19,1), +(18661,4800,46,3), +(18662,175,277,1), +(18731,2800,31,3), +(18743,312000,1,1), +(18744,207100,1,1), +(18769,129900,2,1), +(18770,30000,3,2), +(18771,90100,3,2), +(18779,39900,40,2), +(18780,15000,21,2), +(18781,4800,44,2), +(18782,7900,30,2), +(18783,19900,27,2), +(18784,7900,21,2), +(18945,100,14539,4), +(18949,128900,10,1), +(18984,190000,3,1), +(18986,225000,12,2), +(19221,150,410,1), +(19222,48,333,2), +(19223,96,25,1), +(19227,348500,8,2), +(19228,1199999,2,2), +(19230,15000,23,2), +(19231,15000,16,2), +(19232,17800,20,2), +(19233,30200,17,2), +(19234,59999,28,2), +(19235,60000,21,2), +(19236,52000,20,2), +(19257,1579900,3,1), +(19258,52299,19,2), +(19259,12500,26,2), +(19260,14102,25,2), +(19261,13200,19,2), +(19262,29900,17,2), +(19263,21127,16,2), +(19264,25000,13,2), +(19265,27300,18,2), +(19267,1409800,6,2), +(19268,185590,17,2), +(19269,14900,25,2), +(19270,18599,24,2), +(19271,19500,22,2), +(19272,75000,14,2), +(19273,260000,19,2), +(19274,80000,17,2), +(19275,108900,11,2), +(19276,21299,14,2), +(19277,350100,2,2), +(19278,12599,9,2), +(19279,13500,27,2), +(19280,12558,7,2), +(19281,13100,9,2), +(19282,12555,14,2), +(19283,23499,22,2), +(19284,16499,11,2), +(19291,45099,3,1), +(19292,119999,2,1), +(19299,270,97,1), +(19304,100,30,3), +(19305,400,69,1), +(19441,1531,115,1), +(19484,100,23,3), +(19808,69899,10,1), +(19933,1199,692,2), +(19934,1504,63,2), +(19935,835,19,2), +(19936,899,15,2), +(19937,800,55,2), +(19938,579,56,2), +(20015,2222,24,2), +(20016,5500,1,1), +(20030,2400,1,1), +(20074,898,1687,1), +(20075,28899,18,1), +(20395,4500,2,2), +(20396,100,12,2), +(20424,4125,789,1), +(20498,1489,286,1), +(20499,799,26,1), +(20500,5900,87,1), +(20501,403100,4,1), +(20520,19300,99,1), +(20576,350,65,3), +(20709,50,716,3), +(20725,359989,21,1), +(20744,379,636,1), +(20745,496,325,1), +(20746,1448,220,1), +(20747,1082,92,1), +(20750,6999,169,1), +(20752,3300,26,3), +(20753,6299,23,3), +(20754,18896,6,1), +(20755,34689,4,1), +(20758,699,37,3), +(20763,341,43,1), +(20769,250000,7,2), +(20770,700,1,1), +(21071,86,3017,3), +(21072,79,7825,2), +(21099,515,93,3), +(21114,50,443,2), +(21151,80,1608,1), +(21153,135,2480,1), +(21177,195,815,3), +(21217,142,1559,1), +(21219,3332,62,3), +(21340,38568,49,1), +(21341,209999,3,1), +(21358,14800,17,3), +(21546,4949,348,1), +(21547,2500,195,3), +(21939,400000,2,2), +(22246,17477,48,1), +(22248,65992,29,1), +(22250,1248,248,1), +(22307,6000,25,3), +(22308,33569,13,1), +(22309,20494,12,1), +(22389,1000000,5,1), +(22390,699898,7,1), +(22393,17900,53,3), +(22728,250000,2,1), +(23199,2000000,2,1), +(23203,500000,3,1), +(24222,149900,10,1), +(24231,100,14,3), +(24232,3399,2,1), +(24281,1101,13,2), +(24282,900,5,2), +(211780,100,1195,3), +(211784,110,362,1), +(211785,100,1141,3), +(211786,100,508,3), +(211787,100,1182,3), +(211853,108,181,2), +(211854,110,234,2), +(211855,110,346,1), +(213543,485,220,1), +(213544,342,425,1), +(213545,378,315,1), +(213546,345,238,1), +(213547,365,306,1), +(213548,640,700,1), +(213564,38,208,3), +(215369,175,44,3), +(215370,650,54,3), +(215373,1280,33,1), +(215374,1286,30,1), +(215375,1289,46,1), +(215376,1298,20,2), +(216483,100,149,3), +(217287,3000,50,2), +(217495,202,223,1), +(217716,1320674,2,1), +(241650,1400,68,1), +(246948,25000,75,1), +(247239,50,416,3), +(247240,105,1234,2), +(247241,349,595,1), +(247242,2110,92,1), +(247754,99,2242,2), +(247755,25,606,3), +(247786,5,6699,2), +(247789,100,298,4), +(247824,49,45,2), +(247883,140,112,1), +(247884,19,533,2), +(248613,7600,39,1), +(248682,1400,148,1), +(248683,185,908,1), +(248684,600,420,1), +(248685,200,1683,1), +(248686,900,556,1), +(248687,195,1668,1), +(248688,1442,515,1), +(248689,100,1195,2), +(248690,269,1093,1), +(248691,215,1638,1), +(248692,103,1656,2), +(248693,200,1776,1), +(248694,232,2044,1), +(248695,383,893,1), +(248696,698,881,1), +(248697,299,1048,1), +(248698,420,495,1), +(248699,283,596,1), +(248702,1500,293,1), +(248703,1122,440,1), +(248704,989,436,1), +(248705,3045,544,1), +(248706,480,944,1), +(248707,1550,453,1), +(248708,2900,383,1), +(248709,297,561,1), +(248710,388,523,1), +(248711,11921,297,1), +(248712,499,179,1), +(248713,2508,549,1), +(248815,1344,911,1), +(248819,100098,162,1), +(248820,27100,159,1), +(248821,3050,604,1), +(248822,104899,111,1), +(248823,5048,363,1), +(248824,12693,122,1), +(248825,1095,1836,1), +(249144,34500,20,1), +(249232,35000,10,1), +(249234,26000,17,1), +(249274,4500,1202,1), +(249391,170,3682,1), +(249399,2600,1373,1), +(249409,5744,738,1), +(249410,457,1372,1), +(249424,1111,1441,1), +(249425,524,1083,1), +(249426,1600,182,1), +(249427,395,1499,1), +(249428,250,1072,1), +(249429,11555,933,1), +(249430,2999,1031,1), +(249431,10994,884,1), +(249432,1397,1164,1), +(249695,1099,1353,2), +(249726,4865,492,1), +(249865,220,184,1), +(249866,800,3,1), +(249867,534,786,1), +(249868,2000,67,1), +(249869,3990,98,1), +(249870,9999,10,1), +(249871,353,291,1), +(249872,100,817,2), +(249873,299,13,1), +(249874,940,507,1), +(249875,2596,236,1), +(249876,2900,169,1), +(250065,1199,122,1), +(250067,4199,351,1), +(250069,2799,38,1), +(250070,3898,16,1), +(250071,2400,787,1), +(250072,3267,226,1), +(250073,750,322,1), +(250074,769,1705,1), +(250075,2500,374,1), +(250076,898,557,1), +(250077,400,5,1), +(250079,100,304,3), +(250080,87,468,3), +(250327,735,213,1), +(250328,17000,56,1), +(250329,12292,91,1), +(250330,155,777,1), +(250331,849,202,1), +(250332,2649,121,1), +(250334,2265,179,1), +(250335,7200,47,1), +(250336,11099,36,1), +(250337,19999,225,1), +(250338,24998,48,1), +(250339,295,829,1), +(250340,510,300,1), +(250341,8274,49,1), +(250342,675,2140,1), +(250343,12096,37,1), +(250344,900,670,1), +(250345,559,103,1), +(250346,2258,340,1), +(250347,5275,26,1), +(250348,14400,34,1), +(250349,1340,588,1), +(250350,11000,22,1), +(250351,9948,219,1), +(250353,535,490,1), +(250354,1100,457,1), +(250363,7099,10,3), +(250366,245,51,3), +(250368,4048,35,3), +(250370,1800,68,3), +(250375,1699,36,3), +(250380,14900,17,3), +(250382,3400,22,3), +(250385,85000,9,1), +(250389,12000,27,3), +(250591,217500,2,1), +(250594,209999,2,1), +(250603,5000,57,1), +(250605,35050,2,1), +(250606,14200,3,1), +(250607,26698,3,1), +(250608,19500,42,1), +(250609,7500,26,1), +(250611,70297,3,1), +(250615,499999,6,1), +(250932,88,1296,3), +(250933,49,320,3), +(250934,2296,267,1), +(250935,1400,308,1), +(250936,5050,419,1), +(250937,20000,160,1), +(250938,41,531,2), +(250939,649,63,1), +(250940,839,115,1), +(250941,4998,94,1), +(250942,7890,81,1), +(250943,18000,147,1), +(250944,94,287,3), +(250945,540,200,1), +(250946,4900,31,1), +(250947,81,1673,3), +(250949,19000,24,1), +(250950,57562,8,1), +(250951,21324,27,1), +(250953,4270,81,1), +(250954,35000,44,1), +(250955,1225,1198,1), +(250976,500,94,3), +(250977,5000,23,3), +(250980,9766,34,1), +(250982,2000,43,3), +(250986,36666,14,1), +(250988,3099,28,3), +(250989,990,18,3), +(250992,79500,5,1), +(251290,554000,21,1), +(251291,2000,915,1), +(251524,505,1783,1), +(251525,530,3415,1), +(251526,39749,24,1), +(251925,100,2,1), +(251928,100,6,3), +(251931,100,3,1), +(251932,5000,3,1), +(252022,45,467,3), +(252028,5,178,3), +(252030,13,486,3), +(252031,16,487,3), +(252032,30,477,3), +(252436,745,714,1), +(252437,750,152,1), +(252452,690,254,1), +(252453,3077,333,1), +(252462,5029,259,1), +(252463,4546,282,1), +(252479,29800,4,1), +(252481,29006,15,1), +(252482,175500,33,1), +(252484,3200000,1,1), +(252486,1099999,3,1), +(252487,64898,67,1), +(252488,27499,80,1), +(252555,18000,23,1), +(252557,19900,18,1), +(252559,19598,16,1), +(252561,2849999,2,1), +(252601,30000,18,1), +(252605,2750000,3,1), +(252671,20,80,4), +(252761,695,24,3), +(252762,4099,30,3), +(252763,998,14,3), +(252764,799,40,3), +(252771,5600,18,3), +(252772,3500,21,3), +(252773,3099,35,3), +(252774,2500,32,3), +(252775,2999,66,3), +(252776,4999,5,3), +(252783,998,108,3), +(252784,990,44,3), +(252792,9399,25,3), +(252793,8000,35,3), +(252794,3340,25,3), +(252795,3000,36,3), +(252796,2900,83,3), +(252797,2349,45,3), +(252804,19999,3,3), +(252811,2989,20,3), +(252812,3195,48,3), +(252814,19900,11,3), +(252815,1800,29,3), +(252816,7900,71,3), +(252817,1721,28,3), +(252818,1277,71,3), +(252819,1797,46,3), +(252826,3100,23,3), +(252827,6399,29,3), +(252828,5599,53,3), +(252829,4597,28,3), +(252830,3000,11,3), +(252831,7598,17,3), +(252832,5499,29,3), +(252843,4900,23,3), +(252844,9200,23,3), +(252845,5959,41,3), +(252846,2500,21,3), +(252847,10000,39,3), +(252858,8000,11,3), +(252859,5899,33,3), +(252865,4800,36,3), +(252866,4600,23,3), +(252867,6300,25,3), +(252868,8900,17,3), +(252869,10000,16,3), +(252870,4800,15,3), +(252871,5200,25,3), +(252878,11000,13,3), +(252879,106744,6,1), +(252881,233701,4,1), +(252882,20000,32,3), +(252884,50000,1,1), +(252886,22572,9,3), +(252888,345000,12,1), +(252890,37600,22,1), +(252891,329000,14,1), +(252892,1990000,16,1), +(252893,1500000,2,1), +(252894,2190000,5,1), +(252895,130099,23,1), +(252896,7576,21,3), +(252897,1880,46,3), +(252898,3550,13,3), +(252899,1898,57,3), +(252908,8595,9,3), +(252909,10000,29,3), +(252914,3202,8,3), +(252915,3000,23,3), +(252916,5899,17,3), +(252918,7100,23,3), +(252919,5000,20,3), +(252920,8888,13,3), +(252921,5200,16,3), +(252926,5800,10,3), +(252927,6046,25,3), +(252928,6500,9,3), +(252929,5000,35,3), +(252930,7600,4,3), +(252931,5000,8,3), +(252932,5000,39,3), +(252934,22800,11,3), +(252935,24900,7,3), +(252936,50000,3,1), +(252937,358499,8,1), +(252938,288888,8,1), +(252939,437600,16,1), +(252940,454500,5,1), +(252942,12499,88,3), +(253664,500,262,1), +(253665,100,31,5), +(253667,7479,119,1), +(253668,148,54,3), +(253902,1980,18,3), +(253904,3031,34,3), +(253906,1199,17,3), +(253908,4500,14,3), +(253910,1810,35,3), +(253912,2495,33,3), +(253938,3200,26,3), +(253940,2250,19,3), +(253942,1100,16,3), +(253944,1900,45,3), +(253946,1280,33,3), +(253948,2525,38,3), +(253973,23087,13,1), +(253976,3659,68,3), +(253978,1500,38,3), +(253980,990,41,3), +(253982,6520,23,3), +(253984,5095,37,3), +(253986,825,32,3), +(254000,100500,1,1), +(254014,10000,22,3), +(254016,3895,33,3), +(254018,880,77,3), +(254020,2900,11,3), +(254022,54500,8,1), +(254034,3500,10,3), +(254035,30500,76,1), +(254038,12000,63,3), +(254040,2199,49,3), +(254042,2600,32,3), +(254044,12200,9,3), +(254046,2300,34,3), +(254048,1799,14,3), +(254074,4500,17,3), +(254076,4998,14,3), +(254078,3400,21,3), +(254079,47400,202,1), +(254094,5500,15,3), +(254096,6900,24,3), +(254098,5000,27,3), +(254100,4300,11,3), +(254102,7000,14,3), +(254104,6099,21,3), +(254106,4000,13,3), +(254120,7422,15,3), +(254122,28999,7,1), +(254126,9400,16,3), +(254132,101299,4,1), +(254133,780000,6,1), +(254138,14700,21,3), +(254140,29000,8,1), +(254432,100,3726,2), +(254681,16000,10,1), +(254684,40000,10,1), +(254685,10000,19,3), +(254686,2200,54,3), +(255007,23,2752,3), +(255154,38,66,4), +(255645,1500,259,1), +(255663,17,543,3), +(255715,455,758,1), +(255716,28,1194,3), +(255717,64,404,3), +(255718,144,200,1), +(255719,30798,8,1), +(255720,53,234,3), +(255721,300,82,1), +(255723,500,154,3), +(255724,1000,46,3), +(255725,3700,89,3), +(255726,1250,68,3), +(255727,1498,75,3), +(255728,1700,63,3), +(255729,111900,46,1), +(255730,22496,39,1), +(255731,30000,9,1), +(256036,200,4,2), +(256037,200,6,2), +(257224,100,70,4), +(257226,69,72,3), +(258882,29800,3,1), +(260629,1400,20,1), +(260631,799,106,1), +(260632,665,5,1), +(260633,6767,30,1), +(260784,6328,18,1), +(260792,99,511,2), +(260793,1499,90,1), +(260794,800,209,1), +(260795,1450,91,1), +(260796,4399,15,1), +(260798,5499,86,1), +(260800,7000,7,1), +(260801,1469,228,1), +(260803,3400,17,1), +(260804,3996,45,1), +(260805,6000,32,1), +(260807,75500,1,1), +(260808,20000,18,1), +(260809,26000,4,1), +(260815,38000,15,1), +(260820,500000,1,1), +(260822,300000,1,1), +(260825,330100,1,1), +(262888,4000,336,1), +(262889,1898,855,1), +(262890,3589,461,1), +(263509,198,288,1), +(263511,1400,40,3), +(263512,100,170,2), +(263513,3900,42,3), +(263935,350000,2,1), +(263936,200000,1,1), +(263937,20000,1,1), +(264011,7400,68,1), +(264012,9500,44,1), +(264013,8599,80,1), +(264014,15900,48,1), +(264015,8700,18,1), +(264016,9399,94,1), +(264017,6900,57,1), +(264018,8090,75,1), +(264019,8900,53,1), +(264020,3200,127,1), +(264021,9996,53,1), +(264022,1608,98,1), +(264023,12599,106,1), +(264024,6700,46,1), +(264025,7850,87,1), +(264026,4200,88,1), +(264027,6900,57,1), +(264028,8900,66,1), +(264029,5000,98,1), +(264030,7000,67,1), +(264031,2400,171,1), +(264032,12200,58,1), +(264033,10000,98,1), +(264034,6000,138,1), +(264035,3399,68,1), +(264036,7200,77,1), +(264037,8599,80,1), +(264038,9390,66,1), +(264039,9450,93,1), +(264040,4899,71,1), +(264041,12599,66,1), +(264042,4800,63,1), +(264043,6000,75,1), +(264044,8000,63,1), +(264045,4594,69,1), +(264046,4400,68,1), +(264047,5598,100,1), +(264048,9000,24,1), +(264049,7700,79,1), +(264050,14499,37,1), +(264051,4900,68,1), +(264052,5096,118,1), +(264053,6499,53,1), +(264054,7100,99,1), +(264055,5600,81,1), +(264056,8100,120,1), +(264057,9043,83,1), +(264058,8680,32,1), +(264059,8788,65,1), +(264060,8596,65,1), +(264061,18000,55,1), +(264062,17500,65,1), +(264063,8090,66,1), +(264064,7599,61,1), +(264065,8500,63,1), +(264066,8300,66,1), +(264067,7699,25,1), +(264068,9990,39,1), +(264069,1099,89,1), +(264070,798,84,1), +(264071,690,51,1), +(264072,9900,43,1), +(264073,2886,129,1), +(264074,2500,94,1), +(264075,8899,32,1), +(264076,500,187,1), +(264077,7500,70,1), +(264078,500,148,1), +(264079,10000,43,1), +(264080,100,103,2), +(264081,8175,125,1), +(264082,8000,111,1), +(264083,8400,111,1), +(264084,1900,59,1), +(264085,8300,61,1), +(264086,7900,100,1), +(264087,8842,36,1), +(264088,7500,62,1), +(264089,7200,76,1), +(264090,8500,122,1), +(264091,4200,86,1), +(264092,2600,57,1), +(264093,4400,118,1), +(264094,7299,42,1), +(264095,3900,131,1), +(264096,2000,125,1), +(264097,6800,98,1), +(264098,3400,55,1), +(264099,1149,27,1), +(264100,4970,81,1), +(264101,5100,91,1), +(264102,700,137,1), +(264103,4300,111,1), +(264104,7800,97,1), +(264105,100,156,2), +(264106,1200,119,1), +(264107,3400,104,1), +(264108,500,120,1), +(264109,790,78,1), +(264110,4800,70,1), +(264111,2400,124,1), +(264112,900,48,1), +(264113,4810,88,1), +(264114,600,97,1), +(264115,1500,153,1), +(264116,19000,29,1), +(264117,28411,30,1), +(264118,6399,12,1), +(264119,39600,24,1), +(264120,20000,31,1), +(264121,701,61,1), +(264122,18598,27,1), +(264123,4799,48,1), +(264124,7998,29,1), +(264125,407,61,1), +(264126,1400,37,1), +(264127,499,33,1), +(264128,37000,8,1), +(264129,1875,78,1), +(264130,674,42,1), +(264131,490,43,1), +(264132,1255,70,1), +(264133,1999,83,1), +(264134,1899,70,1), +(264135,2000,25,1), +(264136,600,46,1), +(264137,1255,80,1), +(264138,1000,83,1), +(264139,599,56,1), +(264140,2999,53,1), +(264141,7732,39,1), +(264142,1499,79,1), +(264143,1300,68,1), +(264144,1912,99,1), +(264145,580,55,1), +(264146,23306,31,1), +(264147,19304,40,1), +(264148,800,56,1), +(264149,500,24,1), +(264150,9000,53,1), +(264151,700,51,1), +(264152,900,60,1), +(264153,3099,55,1), +(264154,4597,42,1), +(264155,4000,17,1), +(264156,500,60,1), +(264157,800,71,1), +(264158,22598,14,1), +(264159,300,60,1), +(264160,1798,42,1), +(264202,20000,2,1), +(264204,25100,4,3), +(264205,17900,6,1), +(264206,29999,10,3), +(264207,94900,2,1), +(264208,2000,71,3), +(264209,54000,1,1), +(264210,1929,31,3), +(264211,80000,5,1), +(264212,2599,19,3), +(264213,12569,18,3), +(264214,1299,48,3), +(264215,1096,109,3), +(264218,959,122,3), +(264219,1000,30,3), +(264223,50000,16,1), +(264224,4000,35,3), +(264225,400000,13,1), +(264226,397400,11,1), +(264227,509900,4,1), +(264228,20000,22,3), +(264229,15000,10,1), +(264230,29900,11,3), +(264231,15597,20,3), +(267341,2066,268,1), +(267474,5,202,3), +(268109,1900,61,2), +(268415,48,1042,1), +(268416,25,525,2), +(268417,5900,368,1), +(268418,683,380,1), +(268503,199900,5,2), +(269900,79000,4,1), +(269902,12269,40,1), +(271646,118884,1,1), +(271893,200,264,2), +(272016,150100,2,2), +(272124,100,120,4), +(272941,140000,2,1), +(273050,3300,1780,2), +(273085,62000,25,1), +(273086,5005,58,1), +(273087,81500,35,1), +(273092,2998,78,3), +(273096,73700,14,1), +(273097,18000,49,3), +(273098,9800,31,3), +(273099,69000,25,1), +(273101,185000,8,1), +(273102,18999,79,3), +(273103,14899,88,1), +(273105,18900,35,1), +(273106,36897,40,1), +(273109,12000,29,1), +(273112,494698,11,1), +(273113,229542,13,1), +(273115,998999,11,1), +(273116,295000,3,1), +(273117,300000,4,1), +(273118,169900,13,1), +(273120,199997,14,1), +(273121,2229999,7,1), +(273122,759499,16,1), +(273124,354100,15,1), +(273125,28312,142,2), +(273127,27988,279,2), +(273128,28498,94,2), +(273129,28200,174,2), +(273130,45599,136,2), +(273131,27721,257,2), +(273295,499,872,1), +(273636,250,31,1), +(274041,260000,41,2), +(274048,9835,59,1), +(274077,299,64,2), +(274517,34000,3,1), +(274947,75,283,3), +(274964,786,10554,2), +(274971,1500,666,1), +(274976,449,1829,1), +(275067,75,298,3), +(275069,75,166,2), +(275682,11700,11,2), +(275842,70,16,4), +(275843,100,1,2), +(275891,115,24,2), +(275892,350,21,2), +(275893,45,74,4), +(275894,121,19,2), +(275895,66,59,4), +(276101,100,59,3), +(276158,738,71,2), +(276160,445,399,2), +(277483,91,115,2), +(277485,194,43,1), +(277486,118,124,1), +(277487,75,163,3), +(277488,75,164,2), +(277489,75,160,3), +(277492,113,288,2), +(277493,900,909,1), +(277494,80,231,3), +(277495,75,117,3), +(277496,75,113,3), +(277497,79,223,1), +(277498,79,112,3), +(277499,2498,222,1), +(277500,631,206,1), +(277501,909,157,1), +(277502,8598,79,1), +(277508,82510,3,2), +(277533,9501,26,2), +(277715,800,47,1), +(279046,400,21,2), +(279276,12,779,3), +(279277,100,32,3), +(279450,139998,45,2), +(279537,202,93,2), +(279938,6198,65,1), +(279940,1897,88,1), +(279941,995,1696,1), +(279943,5478,40,1), +(279944,110,1204,2), +(279945,159800,33,1), +(279947,69398,46,1), +(279948,3050,77,1), +(279949,3099,58,1), +(279950,100,350,2), +(279951,49900,3,1), +(279952,43998,99,1), +(279955,199999,5,1), +(279956,65,557,3), +(279957,677,185,1), +(279959,159900,10,1), +(279960,105,325,1), +(279961,4599,206,1), +(279962,25,487,3), +(279964,6494,68,1), +(279965,1049,1386,1), +(279966,21400,43,1), +(279967,73,2864,3), +(279968,69,1347,3), +(279969,799,107,1), +(279970,1150,572,1), +(279973,69,394,3), +(279974,180000,4,1), +(279976,210,245,1), +(279978,366,3194,1), +(279979,303,823,1), +(279981,67,5050,3), +(279982,5980,410,1), +(279985,6504,29,1), +(279987,300100,1,1), +(279988,1879,179,1), +(279989,459997,5,1), +(279990,69980,8,1), +(280399,5000,12,2), +(280697,40000,2,2), +(280699,29699,5,2), +(280703,39900,2,2), +(280794,31900,5,2), +(280795,38800,4,2), +(280797,8000,8,2), +(280801,3900,6,2), +(280803,7500,14,2), +(281015,1800,137,1), +(281016,1781,218,1), +(281017,1899,225,1), +(281018,1199,146,1), +(281282,20999,36,1), +(281600,80000,2,1), +(281750,22000,5,1), +(281925,1900,16,2), +(282003,19701,6,1), +(282014,79900,3,1), +(282020,39800,3,1), +(282046,29900,2,1), +(282048,30000,1,1), +(282070,99999,1,1), +(282551,66831,2,1), +(282559,1000,1,1), +(282632,20000,7,1), +(282702,22400,2,1), +(282703,45000,12,1), +(282712,10000,56,3), +(282721,9098,5,1), +(283255,8950,19,1), +(283389,100,61,4), +(284065,50400,3,1), +(284104,50000,1,1), +(284158,50000,2,1), +(284174,10000,2,1), +(284177,2450,4,1), +(284193,10000,2,1), +(284230,119999,2,1), +(284266,160000,1,1), +(284587,2990000,1,1), +(284704,9000,5,1), +(284717,10000,10,1), +(284850,59098,3,1), +(284859,21000,9,1), +(284870,3000,38,3), +(284871,115999,8,1), +(285043,27800,2,1), +(285094,149999,7,1), +(285100,14000,14,1), +(285102,29300,2,1), +(285282,10000,1,6), +(286152,420,814,1), +(286540,161840,1,1), +(286597,87465,1,1), +(286748,2066,5,1), +(286977,5900,52,1), +(286983,89900,15,1), +(286996,59999,3,1), +(287004,29999,13,1), +(287005,259998,11,1), +(287006,33000,5,1), +(287015,155599,20,1), +(287025,164929,14,1), +(287026,500000,5,1), +(287028,154200,4,1), +(287030,212500,3,1), +(287031,450000,7,1), +(287033,5694200,1,1), +(287034,150000,31,1), +(287035,99998,3,1), +(287036,51400,34,1), +(287041,199999,1,1), +(287045,601100,3,1), +(287046,749900,4,1), +(287063,5500,21,1), +(287068,39999,6,1), +(287070,30099,4,1), +(288206,249900,14,1); diff --git a/sql/custom/world/2026_11_16_58_world_forever_live_sniff_ironforge_1116.sql b/sql/custom/world/2026_11_16_58_world_forever_live_sniff_ironforge_1116.sql new file mode 100644 index 0000000000..1834aeb399 --- /dev/null +++ b/sql/custom/world/2026_11_16_58_world_forever_live_sniff_ironforge_1116.sql @@ -0,0 +1,30 @@ +-- WoW Forever live realm: English capture from 2026-11-16 (client 70938): Ironforge and Elwynn. Only what our data lacks +-- or has wrong. Safe to run more than once. No new spawns. + +-- 1. Factions live sends that differ from ours. +UPDATE `creature_template` SET `faction` = 3634 WHERE `entry` = 263643; -- Sean Guardoff (same as 263349 and 263644 next to him) +UPDATE `creature_template` SET `faction` = 57 WHERE `entry` = 274935; -- Ironforge Protector + +-- 2. Models live. New displays get their creature_model_info row (size as live sends it, scale 1), or the creature won't spawn. +DELETE FROM `creature_model_info` WHERE `DisplayID` IN (143349, 147850); +INSERT INTO `creature_model_info` (`DisplayID`, `BoundingRadius`, `CombatReach`, `DisplayID_Other_Gender`, `VerifiedBuild`) VALUES (143349, 0.3672, 1.8, 0, 70938), (147850, 0.347, 1.5, 0, 70938); +-- High Tinker Mekkatorque 7937: new model 143349 at scale 1 (ours old 7006 at 1.38); Snowshoe Rabbit 7560; White Kitten 7386. +DELETE FROM `creature_template_model` WHERE `CreatureID` = 7937; +INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (7937, 0, 143349, 1, 100, 70938); +DELETE FROM `creature_template_model` WHERE `CreatureID` = 7560; +INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (7560, 0, 6302, 1, 1, 70938); +DELETE FROM `creature_template_model` WHERE `CreatureID` = 7386; +INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (7386, 0, 9989, 1, 1, 70938); +-- Ironforge Protector 274935: live picks from 147846, 147847, 147848 and 147850. Only 147846 and 147850 were seen in this +-- capture, so only those two have a size we can back; the other two are left out. +DELETE FROM `creature_template_model` WHERE `CreatureID` = 274935; +INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`, `DisplayScale`, `Probability`, `VerifiedBuild`) VALUES (274935, 0, 147846, 1, 1, 70938), (274935, 1, 147850, 1, 1, 70938); + +-- 3. Weapons live NPCs carry and ours don't (ours had no equipment row). +DELETE FROM `creature_equip_template` WHERE `ID` = 1 AND `CreatureID` IN (274917, 273127, 263643, 274781, 274873, 274935); +INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `AppearanceModID1`, `ItemVisual1`, `ItemID2`, `AppearanceModID2`, `ItemVisual2`, `ItemID3`, `AppearanceModID3`, `ItemVisual3`, `VerifiedBuild`) VALUES (274917, 1, 1911, 0, 0, 0, 0, 0, 0, 0, 0, 70938), (273127, 1, 5287, 0, 0, 0, 0, 0, 0, 0, 0, 70938), (263643, 1, 5598, 0, 0, 0, 0, 0, 0, 0, 0, 70938), (274781, 1, 284597, 0, 0, 6254, 0, 0, 2552, 0, 0, 70938), (274873, 1, 2182, 0, 0, 12980, 0, 0, 0, 0, 0, 70938), (274935, 1, 5286, 0, 0, 6254, 0, 0, 2552, 0, 0, 70938); +-- Their spawns had equipment_id 0 (no weapons); 1 uses the row above. +UPDATE `creature` SET `equipment_id` = 1 WHERE `equipment_id` = 0 AND `id` IN (274917, 273127, 263643, 274781, 274873, 274935); + +-- 4. Misplaced Packages 660964: live sends Data1 = 30202. +UPDATE `gameobject_template` SET `Data1` = 30202 WHERE `entry` = 660964; diff --git a/sql/custom/world/2026_11_16_78_world_forever_live_sniff_zephras_1116.sql b/sql/custom/world/2026_11_16_78_world_forever_live_sniff_zephras_1116.sql new file mode 100644 index 0000000000..4b134b2e31 --- /dev/null +++ b/sql/custom/world/2026_11_16_78_world_forever_live_sniff_zephras_1116.sql @@ -0,0 +1,19 @@ +-- WoW Forever live realm: English capture from 2026-11-16 22:17 (client 70938), map 2991 around Zephras. Only what our data +-- lacks or has wrong. Safe to run more than once. No new spawns. Goes on top of 2026_11_16_58. + +-- 1. Galemender Delanea 259398: live faction 3578 (ours 14, hostile) and the staff live shows. +UPDATE `creature_template` SET `faction` = 3578 WHERE `entry` = 259398; +DELETE FROM `creature_equip_template` WHERE `ID` = 1 AND `CreatureID` = 259398; +INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `AppearanceModID1`, `ItemVisual1`, `ItemID2`, `AppearanceModID2`, `ItemVisual2`, `ItemID3`, `AppearanceModID3`, `ItemVisual3`, `VerifiedBuild`) VALUES (259398, 1, 249392, 0, 0, 0, 0, 0, 0, 0, 0, 70938); +UPDATE `creature` SET `equipment_id` = 1 WHERE `equipment_id` = 0 AND `id` = 259398; + +-- 2. Nyalah Brightfire 257006 works standing live (emote state 69). +DELETE FROM `creature_addon` WHERE `guid` = 21101592; +INSERT INTO `creature_addon` (`guid`, `emote`) VALUES (21101592, 69); + +-- 3. Spell focus 652589 is named Cookpot live (ours had the model file name). +UPDATE `gameobject_template` SET `name` = 'Cookpot' WHERE `entry` = 652589; + +-- 4. Windsong Crawler 254588: 5 more kills, so the sniff counts become n of 23 (4562 is new). Realm drop log rows stay. +DELETE FROM `creature_loot_template` WHERE `Entry` = 254588 AND `ItemType` = 0 AND `Item` IN (1416, 1417, 2213, 2675, 4562, 4873, 4874, 5571, 8181, 211787, 257941); +INSERT INTO `creature_loot_template` (`Entry`, `ItemType`, `Item`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES (254588, 0, 1416, 4.35, 0, 1, 0, 1, 1, 'sniff: 1 of 23 kills'), (254588, 0, 1417, 4.35, 0, 1, 0, 1, 1, 'sniff: 1 of 23 kills'), (254588, 0, 2213, 4.35, 0, 1, 0, 1, 1, 'sniff: 1 of 23 kills'), (254588, 0, 2675, 34.78, 0, 1, 0, 1, 1, 'sniff: 8 of 23 kills'), (254588, 0, 4562, 4.35, 0, 1, 0, 1, 1, 'sniff: 1 of 23 kills'), (254588, 0, 4873, 56.52, 0, 1, 0, 1, 1, 'sniff: 13 of 23 kills'), (254588, 0, 4874, 43.48, 0, 1, 0, 1, 1, 'sniff: 10 of 23 kills'), (254588, 0, 5571, 4.35, 0, 1, 0, 1, 1, 'sniff: 1 of 23 kills'), (254588, 0, 8181, 4.35, 0, 1, 0, 1, 1, 'sniff: 1 of 23 kills'), (254588, 0, 211787, 4.35, 0, 1, 0, 1, 1, 'sniff: 1 of 23 kills'), (254588, 0, 257941, 56.52, 1, 1, 0, 1, 1, 'sniff: 13 of 23 kills'); diff --git a/sql/custom/world/2026_11_16_96_world_forever_questie_1116.sql b/sql/custom/world/2026_11_16_96_world_forever_questie_1116.sql new file mode 100644 index 0000000000..20dc11524a --- /dev/null +++ b/sql/custom/world/2026_11_16_96_world_forever_questie_1116.sql @@ -0,0 +1,7 @@ +-- WoW Forever live quest data from Questie (QuestieDB c0718536, GPL-3.0), picked on 16 Nov: only what ours had wrong. +-- Not their files: their values were compared with ours and only the differences are written here. Safe to run more than once. + +-- Blacksmithing skill that two quests from Tormus Deepforge (6031, Ironforge) need on live: +-- 1578 Supplying the Front: Blacksmithing 25 (ours asked for no skill); 1618 Gearing Redridge: Blacksmithing 35 (ours 60). +INSERT INTO `quest_template_addon` (`ID`,`RequiredSkillID`,`RequiredSkillPoints`) VALUES (1578,164,25),(1618,164,35) +ON DUPLICATE KEY UPDATE `RequiredSkillID`=VALUES(`RequiredSkillID`),`RequiredSkillPoints`=VALUES(`RequiredSkillPoints`); diff --git a/sql/custom/world/2026_11_16_97_world_forever_everlake_data_1116.sql b/sql/custom/world/2026_11_16_97_world_forever_everlake_data_1116.sql new file mode 100644 index 0000000000..8c190da419 --- /dev/null +++ b/sql/custom/world/2026_11_16_97_world_forever_everlake_data_1116.sql @@ -0,0 +1,105 @@ +-- WoW Forever live drops from Everlake's world data, picked on 16 Nov, plus a Hallow's End link: only what our world lacked. +-- From Everlake's world data (buildthehomelab/wow-everlake-world-data, GPL-3.0), its exports 27 and 28: Wowhead's WoW Forever +-- database (quest item drops) and Icy Veins' WoW Forever database (recipe drops, with the chances its players' addons measured +-- on live Forever). Not their files: their rows were compared with ours and only what we lack is written here as our own rows. +-- Safe to run more than once. + +-- 1. Creature drops seen on live that ours lacks: 72 recipe drops (Icy Veins) and 5 quest item drops (Wowhead) on 60 creatures. +-- Only spawned creatures, items the client has, quest items only for a quest objective we have, and only where the +-- creature's own loot (or its reference tables) does not already hold the item. A row goes in only where the creature's +-- loot id is its own entry (or not set yet; then it is set), so no other creature's loot changes. +DROP TEMPORARY TABLE IF EXISTS `forever_drops_1116`; +CREATE TEMPORARY TABLE `forever_drops_1116` (`Entry` INT UNSIGNED NOT NULL, `Item` INT UNSIGNED NOT NULL, `Chance` FLOAT NOT NULL, `QuestRequired` TINYINT UNSIGNED NOT NULL, `MinCount` TINYINT UNSIGNED NOT NULL, `MaxCount` TINYINT UNSIGNED NOT NULL, PRIMARY KEY (`Entry`,`Item`)); +INSERT INTO `forever_drops_1116` (`Entry`,`Item`,`Chance`,`QuestRequired`,`MinCount`,`MaxCount`) VALUES +(1784,252930,2.42,0,1,1), +(1852,17114,1.19,1,1,1), +(2552,254014,0.52,0,1,1), +(2653,251396,0.7,0,1,1), +(2720,249512,2.04,0,1,1), +(2748,251406,0.37,0,1,1), +(2748,254106,0.37,0,1,1), +(4334,254684,2.86,0,1,1), +(4658,254681,1.92,0,1,1), +(4684,250363,0.69,0,1,1), +(5296,252909,1.28,0,1,1), +(5333,254686,1.4,0,1,1), +(5363,250986,1.43,0,1,1), +(5709,251407,1.92,0,1,1), +(5710,251406,3.7,0,1,1), +(5710,254102,1.85,0,1,1), +(5715,254106,5.0,0,1,1), +(5839,264214,0.46,0,1,1), +(5856,254685,1.34,0,1,1), +(6005,252883,2.97,0,1,1), +(6116,252858,2.47,0,1,1), +(6117,251438,1.11,0,1,1), +(6126,254074,2.48,0,1,1), +(6195,252932,0.99,0,1,1), +(6198,252929,0.66,0,1,1), +(6199,251441,1.03,0,1,1), +(6520,252882,2.27,0,1,1), +(7108,251442,2.44,0,1,1), +(7115,252926,0.74,0,1,1), +(7139,254126,2.33,0,1,1), +(7153,252866,0.98,0,1,1), +(7154,249514,1.68,0,1,1), +(7155,251440,1.28,0,1,1), +(7158,252865,2.19,0,1,1), +(7267,251406,1.05,0,1,1), +(7267,251407,0.7,0,1,1), +(7267,252867,0.7,0,1,1), +(7267,254102,0.7,0,1,1), +(7267,254106,0.35,0,1,1), +(7271,254102,0.32,0,1,1), +(7271,254106,0.64,0,1,1), +(7440,252890,3.43,0,1,1), +(7797,251407,0.36,0,1,1), +(7797,254102,0.36,0,1,1), +(8127,251406,0.38,0,1,1), +(8127,251407,1.52,0,1,1), +(8519,17309,24.24,1,1,1), +(8520,17309,23.63,1,1,1), +(8521,17309,47.83,1,1,1), +(8522,17309,46.95,1,1,1), +(8566,251439,1.4,0,1,1), +(8600,251444,3.33,0,1,1), +(8602,250175,9.09,0,1,1), +(8893,251467,1.64,0,1,1), +(9018,252867,3.03,0,1,1), +(9018,254102,3.03,0,1,1), +(9024,252867,3.7,0,1,1), +(9318,252915,2.14,0,1,1), +(9502,252867,4.55,0,1,1), +(9543,251407,4.55,0,1,1), +(9543,254102,4.55,0,1,1), +(9862,264228,5.66,0,1,1), +(9878,252879,2.5,0,1,1), +(12201,251407,0.81,0,1,1), +(12203,252867,1.79,0,1,1), +(12203,254106,1.79,0,1,1), +(12225,251407,0.96,0,1,1), +(12225,254102,0.96,0,1,1), +(12225,254106,0.96,0,1,1), +(12236,254106,0.86,0,1,1), +(12258,251407,0.91,0,1,1), +(13596,252867,0.9,0,1,1), +(13596,254102,0.9,0,1,1), +(13596,254106,1.8,0,1,1), +(13601,252867,1.15,0,1,1), +(13601,254106,1.15,0,1,1), +(249229,284871,1.45,0,1,1); +UPDATE `creature_template_difficulty` `d` SET `d`.`LootID`=`d`.`Entry` WHERE `d`.`DifficultyID`=0 AND `d`.`LootID`=0 + AND `d`.`Entry` IN (SELECT `Entry` FROM `forever_drops_1116`) + AND NOT EXISTS (SELECT 1 FROM `creature_loot_template` `l` WHERE `l`.`Entry`=`d`.`Entry`); +INSERT INTO `creature_loot_template` (`Entry`,`ItemType`,`Item`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) +SELECT `s`.`Entry`,0,`s`.`Item`,`s`.`Chance`,`s`.`QuestRequired`,1,0,`s`.`MinCount`,`s`.`MaxCount`,IF(`s`.`QuestRequired`=1,'Everlake data: Wowhead Forever','Everlake data: Icy Veins Forever') FROM `forever_drops_1116` `s` +JOIN `creature_template_difficulty` `d` ON `d`.`Entry`=`s`.`Entry` AND `d`.`DifficultyID`=0 AND `d`.`LootID`=`s`.`Entry` +WHERE NOT EXISTS (SELECT 1 FROM `creature_loot_template` `x` WHERE `x`.`Entry`=`s`.`Entry` AND `x`.`ItemType`=0 AND `x`.`Item`=`s`.`Item`) + AND NOT EXISTS (SELECT 1 FROM `creature_template_difficulty` `o` WHERE `o`.`LootID`=`s`.`Entry` AND `o`.`Entry`<>`s`.`Entry`); +DROP TEMPORARY TABLE IF EXISTS `forever_drops_1116`; + +-- 2. Southshore Stink Bomb Counter (15415) belongs to Hallow's End (event 12, as in cmangos classic-db) but was in no event, +-- so it stood all year. +INSERT INTO `game_event_creature` (`eventEntry`,`guid`) +SELECT 12,`c`.`guid` FROM `creature` `c` WHERE `c`.`id`=15415 AND `c`.`map`=0 + AND NOT EXISTS (SELECT 1 FROM `game_event_creature` `g` WHERE `g`.`guid`=`c`.`guid`); diff --git a/sql/custom/world/2026_11_17_01_world_command_bug.sql b/sql/custom/world/2026_11_17_01_world_command_bug.sql new file mode 100644 index 0000000000..cc2cd67b5d --- /dev/null +++ b/sql/custom/world/2026_11_17_01_world_command_bug.sql @@ -0,0 +1,4 @@ +-- .bug help (cs_misc.cpp). Safe to run again. +DELETE FROM `command` WHERE `name` = 'bug'; +INSERT INTO `command` (`name`, `help`) VALUES +('bug', 'Syntax: .bug $text\r\n\r\nReport a bug. Your zone, position, target and quest log are saved with your text, so we can find it. Staff read the reports with .ticket bug list.'); diff --git a/sql/custom/world/2026_11_17_02_world_classic_ulag_and_ancient_leaf_summons.sql b/sql/custom/world/2026_11_17_02_world_classic_ulag_and_ancient_leaf_summons.sql new file mode 100644 index 0000000000..b66fc33054 --- /dev/null +++ b/sql/custom/world/2026_11_17_02_world_classic_ulag_and_ancient_leaf_summons.sql @@ -0,0 +1,65 @@ +-- Two Classic quests that could not be finished: the creature to kill or to hand in to never appeared. +-- Found by the quest health sweep (tools/quest_health). +-- +-- 1) Ulag the Cleaver (1819, Tirisfal Glades): Ulag 6390 was not spawned and nothing summoned him. Using the Mausoleum +-- Trigger (104593, and 706178 from the Forever sniff at the same spot) with the quest in the log now opens the +-- mausoleum door (176594) and summons Ulag at the door, who attacks the player. Quest-gated by the trigger itself +-- (Data1 = 1819) and by the condition below; one Ulag at a time. Position and 5 minute timer from TrinityCore 3.3.5 +-- go_mausoleum_door / go_mausoleum_trigger (GPL-2.0). +-- The two triggers stand on the same spot (our VMaNGOS conversion 30044766 and the Forever sniff 21202145); the +-- converted copy is removed so players see one lever, as on Forever. +-- 2) The Ancient Leaf (7632, hunter, Felwood): the ender Vartrus the Ancient 14524 (and Stoma the Ancient 14525, A Proper +-- String 7635) were never spawned. Entering area trigger 3587 (Irontree Woods) as a hunter now calls Vartrus and +-- Stoma for 10 minutes, as VMaNGOS at_irontree_wood (GPL-2.0, same positions). Hastat the Ancient is already a fixed +-- spawn (2026_11_05_62). VMaNGOS only calls them while 7632 is done but not handed in; the chain after it (7633, 7635, +-- 7636) also needs Vartrus and Stoma, so they also come while 7632 is rewarded and 7636 is not yet rewarded. +-- Safe to run again. + +-- 1) Ulag the Cleaver +DELETE FROM `gameobject` WHERE `guid` = 30044766 AND `id` = 104593; + +UPDATE `gameobject_template` SET `AIName` = 'SmartGameObjectAI' WHERE `entry` IN (104593, 706178) AND `ScriptName` = ''; + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (104593, 706178) AND `source_type` = 1; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`Difficulties`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`, + `event_param1`,`event_param2`,`event_param3`,`event_param4`,`event_param5`,`event_param_string`, + `action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`action_param7`,`action_param_string`, + `target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_param_string`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(104593,1,0,1,'',64,0,100,0, 1,0,0,0,0,'', 9,0,0,0,0,0,0,0,'', 15,176594,30,0,0,'',0,0,0,0,'Mausoleum Trigger - On Use - Open Mausoleum Door (quest 1819)'), +(104593,1,1,0,'',61,0,100,0, 0,0,0,0,0,'', 12,6390,1,300000,0,4,0,0,'', 8,0,0,0,0,'',2390.26,336.47,40.01,2.26,'Mausoleum Trigger - Linked - Summon Ulag the Cleaver (attacks the player)'), +(706178,1,0,1,'',64,0,100,0, 1,0,0,0,0,'', 9,0,0,0,0,0,0,0,'', 15,176594,30,0,0,'',0,0,0,0,'Mausoleum Trigger - On Use - Open Mausoleum Door (quest 1819)'), +(706178,1,1,0,'',61,0,100,0, 0,0,0,0,0,'', 12,6390,1,300000,0,4,0,0,'', 8,0,0,0,0,'',2390.26,336.47,40.01,2.26,'Mausoleum Trigger - Linked - Summon Ulag the Cleaver (attacks the player)'); + +-- only with Ulag the Cleaver in the log, and not while an Ulag is already out +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceGroup` = 1 AND `SourceEntry` IN (104593, 706178) AND `SourceId` = 1; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`, + `ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ConditionStringValue1`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(22,1,104593,1,0,47,0,1819,8,0,'',0,0,0,'','Mausoleum Trigger: Ulag the Cleaver in progress'), +(22,1,104593,1,0,29,1,6390,60,0,'',1,0,0,'','Mausoleum Trigger: no Ulag the Cleaver out already'), +(22,1,706178,1,0,47,0,1819,8,0,'',0,0,0,'','Mausoleum Trigger: Ulag the Cleaver in progress'), +(22,1,706178,1,0,29,1,6390,60,0,'',1,0,0,'','Mausoleum Trigger: no Ulag the Cleaver out already'); + +-- 2) The Ancient Leaf +DELETE FROM `areatrigger_scripts` WHERE `entry` = 3587; +INSERT INTO `areatrigger_scripts` (`entry`,`ScriptName`) VALUES (3587,'SmartTrigger'); + +DELETE FROM `smart_scripts` WHERE `entryorguid` = 3587 AND `source_type` = 2; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`Difficulties`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`, + `event_param1`,`event_param2`,`event_param3`,`event_param4`,`event_param5`,`event_param_string`, + `action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`action_param7`,`action_param_string`, + `target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_param_string`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(3587,2,0,1,'',46,0,100,0, 0,0,0,0,0,'', 12,14524,3,600000,0,0,0,0,'', 8,0,0,0,0,'',6194.55,-1176.35,369.056,1.1098,'Irontree Woods - On Trigger - Summon Vartrus the Ancient (The Ancient Leaf)'), +(3587,2,1,0,'',61,0,100,0, 0,0,0,0,0,'', 12,14525,3,600000,0,0,0,0,'', 8,0,0,0,0,'',6197.12,-1135.42,366.31,5.28025,'Irontree Woods - Linked - Summon Stoma the Ancient'); + +-- a hunter with 7632 done but not handed in (else group 0), or with 7632 handed in and Stave of the Ancients 7636 not yet +-- (else group 1); in both cases only when no Vartrus is near +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceGroup` = 1 AND `SourceEntry` = 3587 AND `SourceId` = 2; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`, + `ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ConditionStringValue1`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(22,1,3587,2,0,15,0,4,0,0,'',0,0,0,'','Irontree Woods: hunter'), +(22,1,3587,2,0,47,0,7632,2,0,'',0,0,0,'','Irontree Woods: The Ancient Leaf done, not handed in'), +(22,1,3587,2,0,29,0,14524,100,0,'',1,0,0,'','Irontree Woods: no Vartrus the Ancient near'), +(22,1,3587,2,1,15,0,4,0,0,'',0,0,0,'','Irontree Woods: hunter'), +(22,1,3587,2,1,47,0,7632,64,0,'',0,0,0,'','Irontree Woods: The Ancient Leaf handed in'), +(22,1,3587,2,1,47,0,7636,43,0,'',0,0,0,'','Irontree Woods: Stave of the Ancients not handed in'), +(22,1,3587,2,1,29,0,14524,100,0,'',1,0,0,'','Irontree Woods: no Vartrus the Ancient near'); diff --git a/sql/custom/world/2026_11_17_03_world_command_aura_self_several.sql b/sql/custom/world/2026_11_17_03_world_command_aura_self_several.sql new file mode 100644 index 0000000000..edd23eb6da --- /dev/null +++ b/sql/custom/world/2026_11_17_03_world_command_aura_self_several.sql @@ -0,0 +1,5 @@ +-- .aura self takes several spells in one line (one chat line per macro press is all the client sends during a boss fight). +-- New file; 2026_11_10_99 stays as shipped. Safe to run again. +DELETE FROM `command` WHERE `name` = 'aura self'; +INSERT INTO `command` (`name`, `help`) VALUES +('aura self', 'Syntax: .aura self #spellid [#spellid ...]\r\n\r\nAdd the aura of each spell #spellid to yourself, whatever you have targeted. In a boss fight the client only lets a macro send a party, raid or whisper line, so start the macro line with /p, /ra or /w YourName (for example: /w YourName .aura self 1459 21562).'); diff --git a/sql/custom/world/2026_11_17_04_world_classic_ansekhwa_teaches_guns.sql b/sql/custom/world/2026_11_17_04_world_classic_ansekhwa_teaches_guns.sql new file mode 100644 index 0000000000..0d639706ce --- /dev/null +++ b/sql/custom/world/2026_11_17_04_world_classic_ansekhwa_teaches_guns.sql @@ -0,0 +1,7 @@ +-- Thunder Bluff weapon master Ansekhwa (11869) teaches Guns again (Discord, checkitout1333 2026-11-17: an Undead warrior could +-- not learn Guns anywhere). The weapon master pointed at trainer 398 from the Forever sniff, and a trainer list in a sniff only +-- holds what the sniffing character could learn: 398 is the druid's part (One-Handed Maces, Two-Handed Maces, Staves), the same +-- way the sniffed lists of Sayoc 397, Hanashi 399 and Archibald 400 match one class's weapons. Vanilla Ansekhwa also taught Guns +-- (VMaNGOS); our Classic trainer 1011869 has all four. Sayoc, Hanashi and Archibald's sniffed lists already equal their Classic +-- ones, so only Ansekhwa changes. Safe to run again. +UPDATE `creature_trainer` SET `TrainerID` = 1011869 WHERE `CreatureID` = 11869 AND `TrainerID` = 398; diff --git a/sql/custom/world/2026_11_17_05_world_classic_morridune_and_library_book.sql b/sql/custom/world/2026_11_17_05_world_classic_morridune_and_library_book.sql new file mode 100644 index 0000000000..2c3798c089 --- /dev/null +++ b/sql/custom/world/2026_11_17_05_world_classic_morridune_and_library_book.sql @@ -0,0 +1,23 @@ +-- Two Discord reports of 2026-11-17. Safe to run again. +-- +-- 1) Morridune (Blackfathom Deeps, VoldemarGreed "bugs 6": "no NPC"). Aku'mai's death already summons him (VMaNGOS EventAI +-- 482901, he says "Aku'mai is dead! At last, I can leave this wretched place."), but he had no npc flag and no script, so +-- he showed no chat window and "Please port me to Darnassus." (gossip 321) did nothing. Now he can be talked to and the +-- option casts Teleport: Darnassus 9268 on the player, as in TrinityCore 3.3.5 npc_morridune (GPL-2.0). +UPDATE `creature_template` SET `npcflag` = 1, `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = 6729; +DELETE FROM `smart_scripts` WHERE `entryorguid` = 6729 AND `source_type` = 0; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`Difficulties`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`, + `event_param1`,`event_param2`,`event_param3`,`event_param4`,`event_param5`,`event_param_string`, + `action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`action_param7`,`action_param_string`, + `target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_param_string`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(6729,0,0,1,'',62,0,100,0, 321,0,0,0,0,'', 72,0,0,0,0,0,0,0,'', 7,0,0,0,0,'',0,0,0,0,'Morridune - On Gossip Option 0 Selected - Close Gossip'), +(6729,0,1,0,'',61,0,100,0, 0,0,0,0,0,'', 11,9268,2,0,0,0,0,0,'', 7,0,0,0,0,'',0,0,0,0,'Morridune - Linked - Cast Teleport: Darnassus on the player'); +-- +-- 2) Archmage Theocritus' Research Journal (quest 79092, Library Book 386759) in the Tower of Azora, Elwynn (claushattedavs +-- "Library Books": "halfway up the tower, the left pile of books on a small bench ... not sparkling or clickable"). Our spawn +-- (from the AnoCore port) stood on the ground floor (z 64.55, under the floor at 64.78). It is moved to the middle floor +-- (90.45) on the same spot; z 91.0 = floor + a small bench. INFERRED height: check in game (PC steps). +-- The same port put a copy of Antonidas' autobiography (386691) in Ironforge 105 yards above the sniffed one (43000010, +-- build 70425, z 503.3): that copy (38669101, z 608.13) is removed. +UPDATE `gameobject` SET `position_z` = 91.0 WHERE `guid` = 38675900 AND `id` = 386759; +DELETE FROM `gameobject` WHERE `guid` = 38669101 AND `id` = 386691; diff --git a/sql/custom/world/2026_11_17_06_world_classic_tauren_size_counted_twice.sql b/sql/custom/world/2026_11_17_06_world_classic_tauren_size_counted_twice.sql new file mode 100644 index 0000000000..751aa41a61 --- /dev/null +++ b/sql/custom/world/2026_11_17_06_world_classic_tauren_size_counted_twice.sql @@ -0,0 +1,438 @@ +-- Tauren 4 metres tall (VoldemarGreed "bugs 6", 2026-11-17: the purple-robed Twilight tauren in Blackfathom Deeps, Twilight +-- Elementalist 4814 and friends). The old data (TDB and the VMaNGOS import) gives tauren creatures DisplayScale 1.35 (male) or 1.25 +-- (female). That was the tauren race size: the old server also made tauren PLAYERS 1.35 / 1.25 tall, so creature and player matched. +-- Our client draws tauren at full size by itself (players get scale 1, the tauren models have CreatureModelScale 1 and ModelScale 1), +-- so these creatures came out 35% bigger than a tauren player. Live sniffs agree: all 570 sniffed rows on tauren displays have +-- DisplayScale 1 (e.g. Boarton Shadetotem 205729, Earthen Ring Shaman 257862). +-- Fix: DisplayScale = old value / race size (1.35 male model, 1.25 female model), for every unsniffed row (VerifiedBuild < 50000) on +-- a tauren display (CreatureDisplayInfoExtra DisplayRaceID 6) that is not 1. Creatures meant to be bigger or smaller keep that: +-- Huum Wildmane 1.5 -> 1.11, Twilight Loreseeker 1.15 -> 0.85. Rows sniffed on live are not touched. +-- Each row only changes while it still holds the old value, so it is safe to run again. +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 646 AND `Idx` = 0 AND `CreatureDisplayID` = 2026 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Mr. Smite +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2478 AND `Idx` = 0 AND `CreatureDisplayID` = 3442 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Haren Swifthoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2487 AND `Idx` = 0 AND `CreatureDisplayID` = 1667 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Fleet Master Seahorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2549 AND `Idx` = 0 AND `CreatureDisplayID` = 4648 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Garr Salthoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2634 AND `Idx` = 0 AND `CreatureDisplayID` = 2178 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Princess Poobah +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2798 AND `Idx` = 0 AND `CreatureDisplayID` = 2131 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Pand Stonebinder +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2806 AND `Idx` = 0 AND `CreatureDisplayID` = 2128 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Bale +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2947 AND `Idx` = 0 AND `CreatureDisplayID` = 3821 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Harken Windtotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2948 AND `Idx` = 0 AND `CreatureDisplayID` = 3826 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Mull Thunderhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2980 AND `Idx` = 0 AND `CreatureDisplayID` = 3808 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grull Hawkwind +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2981 AND `Idx` = 0 AND `CreatureDisplayID` = 3809 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Chief Hawkwind +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2982 AND `Idx` = 0 AND `CreatureDisplayID` = 3813 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Seer Graytongue +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2984 AND `Idx` = 0 AND `CreatureDisplayID` = 3815 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Seer Wiserunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2985 AND `Idx` = 0 AND `CreatureDisplayID` = 3822 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Ruul Eagletalon +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2986 AND `Idx` = 0 AND `CreatureDisplayID` = 10969 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Dorn Plainstalker +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2987 AND `Idx` = 0 AND `CreatureDisplayID` = 4516 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Eyahn Eagletalon +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2988 AND `Idx` = 0 AND `CreatureDisplayID` = 1624 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Morin Cloudstalker +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2991 AND `Idx` = 0 AND `CreatureDisplayID` = 3841 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Greatmother Hawkwind +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2993 AND `Idx` = 0 AND `CreatureDisplayID` = 3792 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Baine Bloodhoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2994 AND `Idx` = 0 AND `CreatureDisplayID` = 3824 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Ancestral Spirit +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2995 AND `Idx` = 0 AND `CreatureDisplayID` = 2098 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Tal +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2996 AND `Idx` = 0 AND `CreatureDisplayID` = 2104 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Torn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2997 AND `Idx` = 0 AND `CreatureDisplayID` = 2110 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Jyn Stonehoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2998 AND `Idx` = 0 AND `CreatureDisplayID` = 2090 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Karn Stonehoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 2999 AND `Idx` = 0 AND `CreatureDisplayID` = 2100 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Taur Stonehoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3001 AND `Idx` = 0 AND `CreatureDisplayID` = 2083 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Brek Stonehoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3002 AND `Idx` = 0 AND `CreatureDisplayID` = 2092 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Kurm Stonehoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3003 AND `Idx` = 0 AND `CreatureDisplayID` = 2109 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Fyr Mistrunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3004 AND `Idx` = 0 AND `CreatureDisplayID` = 2126 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Tepa +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3005 AND `Idx` = 0 AND `CreatureDisplayID` = 2093 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Mahu +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3007 AND `Idx` = 0 AND `CreatureDisplayID` = 2127 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Una +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3008 AND `Idx` = 0 AND `CreatureDisplayID` = 2094 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Mak +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3009 AND `Idx` = 0 AND `CreatureDisplayID` = 2108 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Bena Winterhoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3010 AND `Idx` = 0 AND `CreatureDisplayID` = 2116 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Mani Winterhoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3011 AND `Idx` = 0 AND `CreatureDisplayID` = 2101 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Teg Dawnstrider +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3012 AND `Idx` = 0 AND `CreatureDisplayID` = 2118 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Nata Dawnstrider +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3013 AND `Idx` = 0 AND `CreatureDisplayID` = 2091 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Komin Winterhoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3014 AND `Idx` = 0 AND `CreatureDisplayID` = 2119 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Nida Winterhoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3015 AND `Idx` = 0 AND `CreatureDisplayID` = 2114 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Kuna Thunderhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3016 AND `Idx` = 0 AND `CreatureDisplayID` = 2099 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Tand +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3017 AND `Idx` = 0 AND `CreatureDisplayID` = 2117 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Nan Mistrunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3018 AND `Idx` = 0 AND `CreatureDisplayID` = 2086 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Hogor Thunderhoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3019 AND `Idx` = 0 AND `CreatureDisplayID` = 2084 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Delgo Ragetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3020 AND `Idx` = 0 AND `CreatureDisplayID` = 2085 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Etu Ragetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3021 AND `Idx` = 0 AND `CreatureDisplayID` = 2089 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Kard Ragetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3022 AND `Idx` = 0 AND `CreatureDisplayID` = 2124 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Sunn Ragetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3023 AND `Idx` = 0 AND `CreatureDisplayID` = 2125 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Sura Wildmane +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3024 AND `Idx` = 0 AND `CreatureDisplayID` = 2097 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Tah Winterhoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3025 AND `Idx` = 0 AND `CreatureDisplayID` = 2111 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Kaga Mistrunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3026 AND `Idx` = 0 AND `CreatureDisplayID` = 2107 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Aska Mistrunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3027 AND `Idx` = 0 AND `CreatureDisplayID` = 2095 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Naal Mistrunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3028 AND `Idx` = 0 AND `CreatureDisplayID` = 2088 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Kah Mistrunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3029 AND `Idx` = 0 AND `CreatureDisplayID` = 2120 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Sewa Mistrunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3030 AND `Idx` = 0 AND `CreatureDisplayID` = 2123 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Siln Skychaser +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3031 AND `Idx` = 0 AND `CreatureDisplayID` = 2102 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Tigor Skychaser +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3032 AND `Idx` = 0 AND `CreatureDisplayID` = 2082 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Beram Skychaser +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3033 AND `Idx` = 0 AND `CreatureDisplayID` = 2106 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Turak Runetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3034 AND `Idx` = 0 AND `CreatureDisplayID` = 2121 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Sheal Runetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3036 AND `Idx` = 0 AND `CreatureDisplayID` = 2115 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Kym Wildmane +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3037 AND `Idx` = 0 AND `CreatureDisplayID` = 2122 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Sheza Wildmane +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3038 AND `Idx` = 0 AND `CreatureDisplayID` = 2112 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Kary Thunderhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3039 AND `Idx` = 0 AND `CreatureDisplayID` = 2087 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Holt Thunderhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3040 AND `Idx` = 0 AND `CreatureDisplayID` = 2105 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Urek Thunderhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3041 AND `Idx` = 0 AND `CreatureDisplayID` = 2103 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Torm Ragetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3042 AND `Idx` = 0 AND `CreatureDisplayID` = 2096 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Sark Ragetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3043 AND `Idx` = 0 AND `CreatureDisplayID` = 2113 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Ker Ragetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3050 AND `Idx` = 0 AND `CreatureDisplayID` = 4517 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Veren Tallstrider +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3052 AND `Idx` = 0 AND `CreatureDisplayID` = 3823 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Skorn Whitecloud +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3054 AND `Idx` = 0 AND `CreatureDisplayID` = 3814 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Zarlman Two-Moons +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3055 AND `Idx` = 0 AND `CreatureDisplayID` = 1678 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Maur Raincaller +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3057 AND `Idx` = 0 AND `CreatureDisplayID` = 4307 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Cairne Bloodhoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3059 AND `Idx` = 0 AND `CreatureDisplayID` = 3793 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Harutt Thunderhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3060 AND `Idx` = 0 AND `CreatureDisplayID` = 3819 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Gart Mistrunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3061 AND `Idx` = 0 AND `CreatureDisplayID` = 3810 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Lanka Farshot +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3062 AND `Idx` = 0 AND `CreatureDisplayID` = 10180 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Meela Dawnstrider +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3063 AND `Idx` = 0 AND `CreatureDisplayID` = 3794 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Krang Stonehoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3064 AND `Idx` = 0 AND `CreatureDisplayID` = 3820 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Gennia Runetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3065 AND `Idx` = 0 AND `CreatureDisplayID` = 3811 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Yaw Sharpmane +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3066 AND `Idx` = 0 AND `CreatureDisplayID` = 3816 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Narm Skychaser +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3067 AND `Idx` = 0 AND `CreatureDisplayID` = 3795 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Pyall Silentstride +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3069 AND `Idx` = 0 AND `CreatureDisplayID` = 3796 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Chaw Stronghide +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3072 AND `Idx` = 0 AND `CreatureDisplayID` = 3797 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Kawnie Softbreeze +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3073 AND `Idx` = 0 AND `CreatureDisplayID` = 3799 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Marjak Keenblade +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3074 AND `Idx` = 0 AND `CreatureDisplayID` = 3798 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Varia Hardhide +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3075 AND `Idx` = 0 AND `CreatureDisplayID` = 3801 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Bronk Steelrage +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3076 AND `Idx` = 0 AND `CreatureDisplayID` = 3800 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Moorat Longstride +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3077 AND `Idx` = 0 AND `CreatureDisplayID` = 3802 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Mahnott Roughwound +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3078 AND `Idx` = 0 AND `CreatureDisplayID` = 3803 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Kennah Hawkseye +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3079 AND `Idx` = 0 AND `CreatureDisplayID` = 10182 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Varg Windwhisper +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3080 AND `Idx` = 0 AND `CreatureDisplayID` = 3804 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Harant Ironbrace +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3081 AND `Idx` = 0 AND `CreatureDisplayID` = 3806 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Wunna Darkmane +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3083 AND `Idx` = 0 AND `CreatureDisplayID` = 2140 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Honor Guard +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3084 AND `Idx` = 0 AND `CreatureDisplayID` = 2141 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Bluffwatcher +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3084 AND `Idx` = 1 AND `CreatureDisplayID` = 8572 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Bluffwatcher +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3084 AND `Idx` = 2 AND `CreatureDisplayID` = 9391 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Bluffwatcher +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3084 AND `Idx` = 3 AND `CreatureDisplayID` = 9392 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Bluffwatcher +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3092 AND `Idx` = 0 AND `CreatureDisplayID` = 2133 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Tagain +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3093 AND `Idx` = 0 AND `CreatureDisplayID` = 2129 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grod +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3095 AND `Idx` = 0 AND `CreatureDisplayID` = 2132 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Fela +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3209 AND `Idx` = 0 AND `CreatureDisplayID` = 3770 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Brave Windfeather +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3210 AND `Idx` = 0 AND `CreatureDisplayID` = 3771 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Brave Proudsnout +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3211 AND `Idx` = 0 AND `CreatureDisplayID` = 3774 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Brave Lightninghorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3212 AND `Idx` = 0 AND `CreatureDisplayID` = 3775 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Brave Ironhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3213 AND `Idx` = 0 AND `CreatureDisplayID` = 3776 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Brave Running Wolf +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3214 AND `Idx` = 0 AND `CreatureDisplayID` = 3778 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Brave Greathoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3215 AND `Idx` = 0 AND `CreatureDisplayID` = 3777 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Brave Strongbash +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3217 AND `Idx` = 0 AND `CreatureDisplayID` = 3780 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Brave Dawneagle +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3218 AND `Idx` = 0 AND `CreatureDisplayID` = 3779 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Brave Swiftwind +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3219 AND `Idx` = 0 AND `CreatureDisplayID` = 3781 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Brave Leaping Deer +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3220 AND `Idx` = 0 AND `CreatureDisplayID` = 3782 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Brave Darksky +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3221 AND `Idx` = 0 AND `CreatureDisplayID` = 3783 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Brave Rockhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3222 AND `Idx` = 0 AND `CreatureDisplayID` = 4265 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Brave Wildrunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3223 AND `Idx` = 0 AND `CreatureDisplayID` = 3784 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Brave Rainchaser +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3224 AND `Idx` = 0 AND `CreatureDisplayID` = 10181 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Brave Cloudmane +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3233 AND `Idx` = 0 AND `CreatureDisplayID` = 3817 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Lorekeeper Raintotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3322 AND `Idx` = 0 AND `CreatureDisplayID` = 1322 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Kaja +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3341 AND `Idx` = 0 AND `CreatureDisplayID` = 3844 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Gann Stonespire +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3387 AND `Idx` = 0 AND `CreatureDisplayID` = 3845 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Jorn Skyseer +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3388 AND `Idx` = 0 AND `CreatureDisplayID` = 3848 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Mahren Skyseer +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3418 AND `Idx` = 0 AND `CreatureDisplayID` = 3818 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Kirge Sternhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3441 AND `Idx` = 0 AND `CreatureDisplayID` = 4520 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Melor Stonehoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3447 AND `Idx` = 0 AND `CreatureDisplayID` = 4383 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Pawe Mistrunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3448 AND `Idx` = 0 AND `CreatureDisplayID` = 3914 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Tonga Runetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3480 AND `Idx` = 0 AND `CreatureDisplayID` = 3867 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Moorane Hearthgrain +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3483 AND `Idx` = 0 AND `CreatureDisplayID` = 3872 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Jahan Hawkwing +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3486 AND `Idx` = 0 AND `CreatureDisplayID` = 3875 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Halija Whitestrider +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3500 AND `Idx` = 0 AND `CreatureDisplayID` = 3898 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Tarhus +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3501 AND `Idx` = 1 AND `CreatureDisplayID` = 4262 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Horde Guard +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3501 AND `Idx` = 2 AND `CreatureDisplayID` = 4263 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Horde Guard +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3678 AND `Idx` = 0 AND `CreatureDisplayID` = 1941 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Disciple of Naralex +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3685 AND `Idx` = 0 AND `CreatureDisplayID` = 4300 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Harb Clawhoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3688 AND `Idx` = 0 AND `CreatureDisplayID` = 4299 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Reban Freerunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3689 AND `Idx` = 0 AND `CreatureDisplayID` = 4301 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Laer Stepperunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3690 AND `Idx` = 0 AND `CreatureDisplayID` = 4298 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Kar Stormsinger +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3703 AND `Idx` = 0 AND `CreatureDisplayID` = 3895 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Krulmoo Fullmoon +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3704 AND `Idx` = 0 AND `CreatureDisplayID` = 3896 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Mahani +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3705 AND `Idx` = 0 AND `CreatureDisplayID` = 3843 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Gahroot +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3883 AND `Idx` = 0 AND `CreatureDisplayID` = 3812 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Moodan Sungrain +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3884 AND `Idx` = 0 AND `CreatureDisplayID` = 3807 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Jhawna Oatwind +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3934 AND `Idx` = 0 AND `CreatureDisplayID` = 3881 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Innkeeper Boorand Plainswind +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 3978 AND `Idx` = 0 AND `CreatureDisplayID` = 4518 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Sage Truthseeker +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 4309 AND `Idx` = 0 AND `CreatureDisplayID` = 4511 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Gorm Grimtotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 4310 AND `Idx` = 0 AND `CreatureDisplayID` = 4512 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Cor Grimtotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 4312 AND `Idx` = 0 AND `CreatureDisplayID` = 2411 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Tharm +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 4317 AND `Idx` = 0 AND `CreatureDisplayID` = 2412 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Nyse +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 4451 AND `Idx` = 0 AND `CreatureDisplayID` = 4568 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Auld Stonespire +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 4489 AND `Idx` = 0 AND `CreatureDisplayID` = 3907 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Braug Dimspirit +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 4629 AND `Idx` = 0 AND `CreatureDisplayID` = 2704 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Trackmaster Zherin +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 4721 AND `Idx` = 0 AND `CreatureDisplayID` = 2738 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Zangen Stonehoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 4722 AND `Idx` = 0 AND `CreatureDisplayID` = 2739 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Rau Cliffrunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 4810 AND `Idx` = 3 AND `CreatureDisplayID` = 2901 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Twilight Reaver +UPDATE `creature_template_model` SET `DisplayScale` = 0.85 WHERE `CreatureID` = 4812 AND `Idx` = 1 AND `CreatureDisplayID` = 2895 AND ABS(`DisplayScale` - 1.15) < 0.001; -- 1.15 / 1.35 male, Twilight Loreseeker +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 4814 AND `Idx` = 2 AND `CreatureDisplayID` = 2892 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Twilight Elementalist +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 4876 AND `Idx` = 0 AND `CreatureDisplayID` = 4306 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Jawn Highmesa +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 4877 AND `Idx` = 0 AND `CreatureDisplayID` = 4529 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Jandia +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 4878 AND `Idx` = 0 AND `CreatureDisplayID` = 4308 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Montarr +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 4943 AND `Idx` = 0 AND `CreatureDisplayID` = 2951 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Mosarn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5054 AND `Idx` = 0 AND `CreatureDisplayID` = 3002 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Krumn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5189 AND `Idx` = 0 AND `CreatureDisplayID` = 3129 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Thrumn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5390 AND `Idx` = 0 AND `CreatureDisplayID` = 4715 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Sage Palerunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5412 AND `Idx` = 0 AND `CreatureDisplayID` = 4695 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Gurda Wildmane +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5599 AND `Idx` = 0 AND `CreatureDisplayID` = 3550 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Kon Yelloweyes +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5767 AND `Idx` = 0 AND `CreatureDisplayID` = 4289 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Nalpak +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5769 AND `Idx` = 0 AND `CreatureDisplayID` = 4519 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Arch Druid Hamuul Runetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5770 AND `Idx` = 0 AND `CreatureDisplayID` = 4513 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Nara Wildmane +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5784 AND `Idx` = 0 AND `CreatureDisplayID` = 4288 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Waldor +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5860 AND `Idx` = 3 AND `CreatureDisplayID` = 7824 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Twilight Dark Shaman +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5888 AND `Idx` = 0 AND `CreatureDisplayID` = 4533 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Seer Ravenfeather +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5901 AND `Idx` = 0 AND `CreatureDisplayID` = 4538 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Islen Waterseer +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5905 AND `Idx` = 0 AND `CreatureDisplayID` = 4541 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Prate Cloudseer +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5906 AND `Idx` = 0 AND `CreatureDisplayID` = 4542 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Xanis Flameweaver +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5938 AND `Idx` = 0 AND `CreatureDisplayID` = 4604 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Uthan Stillwater +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5939 AND `Idx` = 0 AND `CreatureDisplayID` = 4605 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Vira Younghoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5940 AND `Idx` = 0 AND `CreatureDisplayID` = 4608 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Harn Longcast +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 5944 AND `Idx` = 0 AND `CreatureDisplayID` = 4614 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Yonada +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 6028 AND `Idx` = 0 AND `CreatureDisplayID` = 4726 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Burkrum +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 6290 AND `Idx` = 0 AND `CreatureDisplayID` = 4992 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Yonn Deepcut +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 6387 AND `Idx` = 0 AND `CreatureDisplayID` = 5108 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Dranh +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 6393 AND `Idx` = 0 AND `CreatureDisplayID` = 5371 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Henen Ragetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 6394 AND `Idx` = 0 AND `CreatureDisplayID` = 5373 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Ruga Ragetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 6410 AND `Idx` = 0 AND `CreatureDisplayID` = 5372 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Orm Stonehoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 6466 AND `Idx` = 0 AND `CreatureDisplayID` = 5205 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Gamon +UPDATE `creature_template_model` SET `DisplayScale` = 0.96 WHERE `CreatureID` = 6726 AND `Idx` = 0 AND `CreatureDisplayID` = 5406 AND ABS(`DisplayScale` - 1.3) < 0.001; -- 1.3 / 1.35 male, Thalon +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 6746 AND `Idx` = 0 AND `CreatureDisplayID` = 5487 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Innkeeper Pala +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 6747 AND `Idx` = 0 AND `CreatureDisplayID` = 5486 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Innkeeper Kauth +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 6775 AND `Idx` = 0 AND `CreatureDisplayID` = 5506 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Antur Fallow +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 6776 AND `Idx` = 0 AND `CreatureDisplayID` = 5507 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Magrin Rivermane +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7089 AND `Idx` = 0 AND `CreatureDisplayID` = 5847 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Mooranta +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7114 AND `Idx` = 2 AND `CreatureDisplayID` = 11274 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Jaedenar Enforcer +UPDATE `creature_template_model` SET `DisplayScale` = 0.91 WHERE `CreatureID` = 7427 AND `Idx` = 0 AND `CreatureDisplayID` = 6208 AND ABS(`DisplayScale` - 1.23) < 0.001; -- 1.23 / 1.35 male, Taim Ragetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7668 AND `Idx` = 0 AND `CreatureDisplayID` = 6847 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Servant of Razelikh +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7669 AND `Idx` = 0 AND `CreatureDisplayID` = 6874 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Servant of Grol +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7670 AND `Idx` = 0 AND `CreatureDisplayID` = 6855 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Servant of Allistarj +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7671 AND `Idx` = 0 AND `CreatureDisplayID` = 6869 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Servant of Sevine +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7714 AND `Idx` = 0 AND `CreatureDisplayID` = 6550 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Innkeeper Byula +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 7725 AND `Idx` = 0 AND `CreatureDisplayID` = 6835 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Raider +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7725 AND `Idx` = 1 AND `CreatureDisplayID` = 6836 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Raider +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 7726 AND `Idx` = 0 AND `CreatureDisplayID` = 6831 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Naturalist +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7726 AND `Idx` = 1 AND `CreatureDisplayID` = 6832 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Naturalist +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 7727 AND `Idx` = 0 AND `CreatureDisplayID` = 6833 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Shaman +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7727 AND `Idx` = 1 AND `CreatureDisplayID` = 6834 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Shaman +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7737 AND `Idx` = 0 AND `CreatureDisplayID` = 6554 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Innkeeper Greul +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7776 AND `Idx` = 0 AND `CreatureDisplayID` = 6996 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Talo Thornhoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7793 AND `Idx` = 0 AND `CreatureDisplayID` = 6854 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Ox +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7854 AND `Idx` = 0 AND `CreatureDisplayID` = 6893 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Jangdor Swiftstrider +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7869 AND `Idx` = 0 AND `CreatureDisplayID` = 6918 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Brumn Winterhoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7875 AND `Idx` = 0 AND `CreatureDisplayID` = 6983 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Hadoken Swiftstrider +UPDATE `creature_template_model` SET `DisplayScale` = 0.93 WHERE `CreatureID` = 7975 AND `Idx` = 0 AND `CreatureDisplayID` = 7115 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.35 male, Mulgore Protector +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7975 AND `Idx` = 1 AND `CreatureDisplayID` = 7116 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Mulgore Protector +UPDATE `creature_template_model` SET `DisplayScale` = 0.93 WHERE `CreatureID` = 7975 AND `Idx` = 2 AND `CreatureDisplayID` = 10152 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.35 male, Mulgore Protector +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 7975 AND `Idx` = 3 AND `CreatureDisplayID` = 10153 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Mulgore Protector +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8016 AND `Idx` = 1 AND `CreatureDisplayID` = 4262 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Barrens Guard +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 8016 AND `Idx` = 2 AND `CreatureDisplayID` = 4263 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Barrens Guard +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8020 AND `Idx` = 0 AND `CreatureDisplayID` = 7248 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Shyn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8142 AND `Idx` = 0 AND `CreatureDisplayID` = 7357 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Jannos Lighthoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8143 AND `Idx` = 0 AND `CreatureDisplayID` = 7358 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Loorana +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8144 AND `Idx` = 0 AND `CreatureDisplayID` = 7360 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Kulleg Stonehorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8145 AND `Idx` = 0 AND `CreatureDisplayID` = 7359 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Sheendra Tallgrass +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8146 AND `Idx` = 0 AND `CreatureDisplayID` = 7361 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Ruw +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8147 AND `Idx` = 0 AND `CreatureDisplayID` = 7363 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Camp Mojache Brave +UPDATE `creature_template_model` SET `DisplayScale` = 0.93 WHERE `CreatureID` = 8147 AND `Idx` = 1 AND `CreatureDisplayID` = 7364 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.35 male, Camp Mojache Brave +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8147 AND `Idx` = 2 AND `CreatureDisplayID` = 7365 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Camp Mojache Brave +UPDATE `creature_template_model` SET `DisplayScale` = 0.93 WHERE `CreatureID` = 8147 AND `Idx` = 3 AND `CreatureDisplayID` = 7366 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.35 male, Camp Mojache Brave +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8152 AND `Idx` = 0 AND `CreatureDisplayID` = 7372 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Harnor +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8153 AND `Idx` = 0 AND `CreatureDisplayID` = 7370 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Narv Hidecrafter +UPDATE `creature_template_model` SET `DisplayScale` = 0.93 WHERE `CreatureID` = 8154 AND `Idx` = 0 AND `CreatureDisplayID` = 7374 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.35 male, Ghost Walker Brave +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8154 AND `Idx` = 1 AND `CreatureDisplayID` = 7376 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Ghost Walker Brave +UPDATE `creature_template_model` SET `DisplayScale` = 0.93 WHERE `CreatureID` = 8154 AND `Idx` = 2 AND `CreatureDisplayID` = 7377 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.35 male, Ghost Walker Brave +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8154 AND `Idx` = 3 AND `CreatureDisplayID` = 7378 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Ghost Walker Brave +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8158 AND `Idx` = 0 AND `CreatureDisplayID` = 7380 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Bronk +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8159 AND `Idx` = 0 AND `CreatureDisplayID` = 7381 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Worb Strongstitch +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8307 AND `Idx` = 0 AND `CreatureDisplayID` = 7531 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Tarban Hearthgrain +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8356 AND `Idx` = 0 AND `CreatureDisplayID` = 7621 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Chesmu +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8357 AND `Idx` = 0 AND `CreatureDisplayID` = 7620 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Atepa +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8358 AND `Idx` = 0 AND `CreatureDisplayID` = 7622 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Hewa +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8359 AND `Idx` = 0 AND `CreatureDisplayID` = 7623 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Ahanu +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8360 AND `Idx` = 0 AND `CreatureDisplayID` = 7624 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Elki +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8361 AND `Idx` = 0 AND `CreatureDisplayID` = 7625 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Chepi +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8362 AND `Idx` = 0 AND `CreatureDisplayID` = 7626 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Kuruk +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8363 AND `Idx` = 0 AND `CreatureDisplayID` = 7628 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Shadi Mistrunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8364 AND `Idx` = 0 AND `CreatureDisplayID` = 7627 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Pakwa +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8385 AND `Idx` = 0 AND `CreatureDisplayID` = 7615 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Mura Runetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8393 AND `Idx` = 0 AND `CreatureDisplayID` = 7599 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Thersa Windsong +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8398 AND `Idx` = 0 AND `CreatureDisplayID` = 10689 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Ohanko +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8401 AND `Idx` = 0 AND `CreatureDisplayID` = 7629 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Halpa +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8418 AND `Idx` = 0 AND `CreatureDisplayID` = 7870 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Falla Sagewind +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8664 AND `Idx` = 0 AND `CreatureDisplayID` = 7936 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Saern Priderunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8674 AND `Idx` = 0 AND `CreatureDisplayID` = 7999 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Auctioneer Stampi +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8722 AND `Idx` = 0 AND `CreatureDisplayID` = 7998 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Auctioneer Gullem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8878 AND `Idx` = 0 AND `CreatureDisplayID` = 8169 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Muuran +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8912 AND `Idx` = 3 AND `CreatureDisplayID` = 8792 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Twilight's Hammer Torturer +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8914 AND `Idx` = 1 AND `CreatureDisplayID` = 9347 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Twilight Bodyguard +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8914 AND `Idx` = 2 AND `CreatureDisplayID` = 8773 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Twilight Bodyguard +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 8915 AND `Idx` = 3 AND `CreatureDisplayID` = 9025 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Twilight's Hammer Ambassador +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 9024 AND `Idx` = 0 AND `CreatureDisplayID` = 8762 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Pyromancer Loregrain +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 9076 AND `Idx` = 0 AND `CreatureDisplayID` = 8355 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Ghede +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 9081 AND `Idx` = 0 AND `CreatureDisplayID` = 8334 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Galamav the Marksman +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 9084 AND `Idx` = 0 AND `CreatureDisplayID` = 8350 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Thunderheart +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 9087 AND `Idx` = 0 AND `CreatureDisplayID` = 8356 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Bashana Runetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 9501 AND `Idx` = 0 AND `CreatureDisplayID` = 8634 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Innkeeper Adegwa +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 9525 AND `Idx` = 0 AND `CreatureDisplayID` = 7115 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Freewind Brave +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 9525 AND `Idx` = 1 AND `CreatureDisplayID` = 7116 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Freewind Brave +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 9525 AND `Idx` = 2 AND `CreatureDisplayID` = 10152 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Freewind Brave +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 9525 AND `Idx` = 3 AND `CreatureDisplayID` = 10153 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Freewind Brave +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 9529 AND `Idx` = 0 AND `CreatureDisplayID` = 8660 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Maybess Riverbreeze +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 9548 AND `Idx` = 0 AND `CreatureDisplayID` = 8666 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Cawind Trueaim +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 9551 AND `Idx` = 0 AND `CreatureDisplayID` = 8670 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Starn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 9619 AND `Idx` = 0 AND `CreatureDisplayID` = 8832 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Torwa Pathfinder +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 9636 AND `Idx` = 0 AND `CreatureDisplayID` = 10692 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Kireena +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 9981 AND `Idx` = 0 AND `CreatureDisplayID` = 9254 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Sikwa +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 9983 AND `Idx` = 0 AND `CreatureDisplayID` = 9256 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Kelsuwa +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10043 AND `Idx` = 0 AND `CreatureDisplayID` = 9233 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Ribbly's Crony +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10043 AND `Idx` = 1 AND `CreatureDisplayID` = 9234 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Ribbly's Crony +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10050 AND `Idx` = 0 AND `CreatureDisplayID` = 9269 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Seikwa +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10054 AND `Idx` = 0 AND `CreatureDisplayID` = 9272 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Bulrug +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10079 AND `Idx` = 0 AND `CreatureDisplayID` = 9898 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Brave Moonhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10086 AND `Idx` = 0 AND `CreatureDisplayID` = 9337 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Hesuwa Thunderhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10278 AND `Idx` = 0 AND `CreatureDisplayID` = 9742 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Thrag Stonehoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10303 AND `Idx` = 0 AND `CreatureDisplayID` = 9776 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Storm Shadowhoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10377 AND `Idx` = 0 AND `CreatureDisplayID` = 9901 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Elu +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10378 AND `Idx` = 0 AND `CreatureDisplayID` = 9771 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Omusa Thunderhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10379 AND `Idx` = 0 AND `CreatureDisplayID` = 9770 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Altsoba Ragetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10380 AND `Idx` = 0 AND `CreatureDisplayID` = 9772 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Sanuye Runetotem +UPDATE `creature_template_model` SET `DisplayScale` = 0.99 WHERE `CreatureID` = 10427 AND `Idx` = 0 AND `CreatureDisplayID` = 9900 AND ABS(`DisplayScale` - 1.34) < 0.001; -- 1.34 / 1.35 male, Pao'ka Swiftmountain +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10428 AND `Idx` = 0 AND `CreatureDisplayID` = 9902 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Motega Firemane +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10537 AND `Idx` = 0 AND `CreatureDisplayID` = 9899 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Cliffwatcher Longhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10539 AND `Idx` = 0 AND `CreatureDisplayID` = 10132 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Hagar Lightninghoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10599 AND `Idx` = 0 AND `CreatureDisplayID` = 9936 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Hulfnar Stonetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10600 AND `Idx` = 0 AND `CreatureDisplayID` = 9935 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Thontek Rumblehoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10612 AND `Idx` = 0 AND `CreatureDisplayID` = 10958 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Guard Wachabe +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10638 AND `Idx` = 0 AND `CreatureDisplayID` = 10057 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Kanati Greycloud +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10645 AND `Idx` = 0 AND `CreatureDisplayID` = 10093 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Thalia Amberhide +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10646 AND `Idx` = 0 AND `CreatureDisplayID` = 10092 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Lakota Windsong +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10721 AND `Idx` = 0 AND `CreatureDisplayID` = 10049 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Novice Warrior +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10721 AND `Idx` = 1 AND `CreatureDisplayID` = 10050 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Novice Warrior +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10721 AND `Idx` = 2 AND `CreatureDisplayID` = 10051 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Novice Warrior +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10721 AND `Idx` = 3 AND `CreatureDisplayID` = 10052 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Novice Warrior +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10739 AND `Idx` = 0 AND `CreatureDisplayID` = 10069 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Mulgris Deepriver +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 10758 AND `Idx` = 0 AND `CreatureDisplayID` = 10223 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Bandit +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10758 AND `Idx` = 1 AND `CreatureDisplayID` = 10225 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Bandit +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 10758 AND `Idx` = 2 AND `CreatureDisplayID` = 10224 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Bandit +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10758 AND `Idx` = 3 AND `CreatureDisplayID` = 10226 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Bandit +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 10759 AND `Idx` = 0 AND `CreatureDisplayID` = 10238 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Stomper +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10759 AND `Idx` = 1 AND `CreatureDisplayID` = 10240 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Stomper +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 10759 AND `Idx` = 2 AND `CreatureDisplayID` = 10239 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Stomper +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10759 AND `Idx` = 3 AND `CreatureDisplayID` = 10241 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Stomper +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 10760 AND `Idx` = 0 AND `CreatureDisplayID` = 10227 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Geomancer +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10760 AND `Idx` = 1 AND `CreatureDisplayID` = 10230 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Geomancer +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 10760 AND `Idx` = 2 AND `CreatureDisplayID` = 10228 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Geomancer +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10760 AND `Idx` = 3 AND `CreatureDisplayID` = 10231 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Geomancer +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 10761 AND `Idx` = 0 AND `CreatureDisplayID` = 10233 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Reaver +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10761 AND `Idx` = 1 AND `CreatureDisplayID` = 10235 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Reaver +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 10761 AND `Idx` = 2 AND `CreatureDisplayID` = 10234 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Reaver +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10761 AND `Idx` = 3 AND `CreatureDisplayID` = 10236 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Reaver +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10881 AND `Idx` = 0 AND `CreatureDisplayID` = 10188 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Bluff Runner Windstrider +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10896 AND `Idx` = 0 AND `CreatureDisplayID` = 10243 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Arnak Grimtotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10921 AND `Idx` = 0 AND `CreatureDisplayID` = 10254 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Taronn Redfeather +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 10922 AND `Idx` = 0 AND `CreatureDisplayID` = 10253 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Greta Mosshoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11047 AND `Idx` = 0 AND `CreatureDisplayID` = 10577 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Kray +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11051 AND `Idx` = 0 AND `CreatureDisplayID` = 10586 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Vhan +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11071 AND `Idx` = 0 AND `CreatureDisplayID` = 10614 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Mot Dawnstrider +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11084 AND `Idx` = 0 AND `CreatureDisplayID` = 10617 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Tarn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11098 AND `Idx` = 0 AND `CreatureDisplayID` = 10623 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Hahrana Ironhide +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11105 AND `Idx` = 0 AND `CreatureDisplayID` = 10566 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Aboda +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 11106 AND `Idx` = 0 AND `CreatureDisplayID` = 10564 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Innkeeper Sikewa +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11116 AND `Idx` = 0 AND `CreatureDisplayID` = 10653 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Innkeeper Abeqwa +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11117 AND `Idx` = 0 AND `CreatureDisplayID` = 10652 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Awenasa +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11180 AND `Idx` = 0 AND `CreatureDisplayID` = 10734 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Bloodvenom Post Brave +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11180 AND `Idx` = 1 AND `CreatureDisplayID` = 10735 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Bloodvenom Post Brave +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11180 AND `Idx` = 2 AND `CreatureDisplayID` = 10737 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Bloodvenom Post Brave +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11180 AND `Idx` = 3 AND `CreatureDisplayID` = 10736 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Bloodvenom Post Brave +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11259 AND `Idx` = 0 AND `CreatureDisplayID` = 11469 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Nataka Longhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11548 AND `Idx` = 0 AND `CreatureDisplayID` = 11359 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Loh'atu +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11608 AND `Idx` = 0 AND `CreatureDisplayID` = 11456 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Bardu Sharpeye +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11624 AND `Idx` = 0 AND `CreatureDisplayID` = 11792 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Taiga Wisemane +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11718 AND `Idx` = 0 AND `CreatureDisplayID` = 11673 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Sar Browneye +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11720 AND `Idx` = 0 AND `CreatureDisplayID` = 11685 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Loruk Foreststrider +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11748 AND `Idx` = 0 AND `CreatureDisplayID` = 11687 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Samantha Swifthoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11749 AND `Idx` = 0 AND `CreatureDisplayID` = 11688 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Feran Strongwind +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11795 AND `Idx` = 0 AND `CreatureDisplayID` = 11770 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Mylentha Riverbend +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11796 AND `Idx` = 0 AND `CreatureDisplayID` = 11771 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Bessany Plainswind +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11797 AND `Idx` = 0 AND `CreatureDisplayID` = 11772 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Moren Riverbend +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11798 AND `Idx` = 0 AND `CreatureDisplayID` = 11773 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Bunthen Plainswind +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11805 AND `Idx` = 0 AND `CreatureDisplayID` = 11799 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Jarund Stoutstrider +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11822 AND `Idx` = 0 AND `CreatureDisplayID` = 11774 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Moonglade Warden +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11822 AND `Idx` = 1 AND `CreatureDisplayID` = 11775 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Moonglade Warden +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11823 AND `Idx` = 0 AND `CreatureDisplayID` = 11738 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Vark Battlescar +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11833 AND `Idx` = 0 AND `CreatureDisplayID` = 11754 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Rahauro +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11834 AND `Idx` = 0 AND `CreatureDisplayID` = 11755 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Maur Grimtotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11856 AND `Idx` = 0 AND `CreatureDisplayID` = 11789 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Kaya Flathoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11857 AND `Idx` = 0 AND `CreatureDisplayID` = 11790 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Makaba Flathoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11858 AND `Idx` = 0 AND `CreatureDisplayID` = 11791 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grundig Darkcloud +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11860 AND `Idx` = 0 AND `CreatureDisplayID` = 11797 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Maggran Earthbinder +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11861 AND `Idx` = 0 AND `CreatureDisplayID` = 11795 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Mor'rogal +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11864 AND `Idx` = 0 AND `CreatureDisplayID` = 11796 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Tammra Windfield +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11869 AND `Idx` = 0 AND `CreatureDisplayID` = 11803 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Ansekhwa +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11877 AND `Idx` = 0 AND `CreatureDisplayID` = 11852 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Roon Wildmane +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11910 AND `Idx` = 0 AND `CreatureDisplayID` = 11878 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Ruffian +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 11910 AND `Idx` = 1 AND `CreatureDisplayID` = 11879 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Ruffian +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11910 AND `Idx` = 2 AND `CreatureDisplayID` = 11880 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Ruffian +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 11910 AND `Idx` = 3 AND `CreatureDisplayID` = 11881 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Ruffian +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11911 AND `Idx` = 0 AND `CreatureDisplayID` = 11882 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Mercenary +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 11911 AND `Idx` = 1 AND `CreatureDisplayID` = 11883 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Mercenary +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11911 AND `Idx` = 2 AND `CreatureDisplayID` = 11884 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Mercenary +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 11911 AND `Idx` = 3 AND `CreatureDisplayID` = 11885 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Mercenary +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11912 AND `Idx` = 0 AND `CreatureDisplayID` = 11874 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Brute +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 11912 AND `Idx` = 1 AND `CreatureDisplayID` = 11875 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Brute +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11912 AND `Idx` = 2 AND `CreatureDisplayID` = 11876 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Brute +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 11912 AND `Idx` = 3 AND `CreatureDisplayID` = 11877 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Brute +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11913 AND `Idx` = 0 AND `CreatureDisplayID` = 11886 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Sorcerer +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 11913 AND `Idx` = 1 AND `CreatureDisplayID` = 11888 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Sorcerer +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11913 AND `Idx` = 2 AND `CreatureDisplayID` = 11887 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grimtotem Sorcerer +UPDATE `creature_template_model` SET `DisplayScale` = 1.08 WHERE `CreatureID` = 11913 AND `Idx` = 3 AND `CreatureDisplayID` = 11889 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.25 female, Grimtotem Sorcerer +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11914 AND `Idx` = 0 AND `CreatureDisplayID` = 10225 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Gorehoof the Black +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 11944 AND `Idx` = 0 AND `CreatureDisplayID` = 11902 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Vorn Skyseer +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 12043 AND `Idx` = 0 AND `CreatureDisplayID` = 12059 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Kulwia +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 12052 AND `Idx` = 2 AND `CreatureDisplayID` = 12083 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Frostwolf Warrior +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 12052 AND `Idx` = 3 AND `CreatureDisplayID` = 12084 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Frostwolf Warrior +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 12053 AND `Idx` = 3 AND `CreatureDisplayID` = 12170 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Frostwolf Guardian +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 12576 AND `Idx` = 0 AND `CreatureDisplayID` = 12943 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Grish Longrunner +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 12696 AND `Idx` = 0 AND `CreatureDisplayID` = 12970 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Senani Thunderheart +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 12723 AND `Idx` = 0 AND `CreatureDisplayID` = 12948 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Har'alen +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 12791 AND `Idx` = 0 AND `CreatureDisplayID` = 12673 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Chieftain Earthbind +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 12793 AND `Idx` = 0 AND `CreatureDisplayID` = 12675 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Brave Stonehide +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 12818 AND `Idx` = 0 AND `CreatureDisplayID` = 12969 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Ruul Snowhoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 12837 AND `Idx` = 0 AND `CreatureDisplayID` = 12976 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Yama Snowhoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13089 AND `Idx` = 2 AND `CreatureDisplayID` = 13325 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Coldmine Guard +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13089 AND `Idx` = 3 AND `CreatureDisplayID` = 13562 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Coldmine Guard +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13117 AND `Idx` = 0 AND `CreatureDisplayID` = 13338 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Horde Spirit Guide +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13117 AND `Idx` = 1 AND `CreatureDisplayID` = 13339 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Horde Spirit Guide +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13143 AND `Idx` = 0 AND `CreatureDisplayID` = 13468 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Lieutenant Stronghoof +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13153 AND `Idx` = 0 AND `CreatureDisplayID` = 13464 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Commander Mulfort +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13236 AND `Idx` = 0 AND `CreatureDisplayID` = 13478 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Primalist Thurloga +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13328 AND `Idx` = 3 AND `CreatureDisplayID` = 13281 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Seasoned Guardian +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13330 AND `Idx` = 2 AND `CreatureDisplayID` = 13303 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Seasoned Warrior +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13330 AND `Idx` = 3 AND `CreatureDisplayID` = 13304 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Seasoned Warrior +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13332 AND `Idx` = 3 AND `CreatureDisplayID` = 13285 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Veteran Guardian +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13337 AND `Idx` = 2 AND `CreatureDisplayID` = 13308 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Veteran Warrior +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13337 AND `Idx` = 3 AND `CreatureDisplayID` = 13309 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Veteran Warrior +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13359 AND `Idx` = 2 AND `CreatureDisplayID` = 13400 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Frostwolf Bowman +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13359 AND `Idx` = 3 AND `CreatureDisplayID` = 13401 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Frostwolf Bowman +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13417 AND `Idx` = 0 AND `CreatureDisplayID` = 13341 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Sagorne Creststrider +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13421 AND `Idx` = 3 AND `CreatureDisplayID` = 13364 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Champion Guardian +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13428 AND `Idx` = 2 AND `CreatureDisplayID` = 13367 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Champion Warrior +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 13428 AND `Idx` = 3 AND `CreatureDisplayID` = 13368 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Champion Warrior +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 14182 AND `Idx` = 0 AND `CreatureDisplayID` = 14216 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Bounty Hunter Kolark +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 14186 AND `Idx` = 0 AND `CreatureDisplayID` = 14233 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Ravak Grimtotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 14285 AND `Idx` = 2 AND `CreatureDisplayID` = 14323 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Frostwolf Battleguard +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 14373 AND `Idx` = 0 AND `CreatureDisplayID` = 14427 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Sage Korolusk +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 14426 AND `Idx` = 0 AND `CreatureDisplayID` = 3898 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Harb Foulmountain +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 14440 AND `Idx` = 0 AND `CreatureDisplayID` = 14494 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Hunter Sagewind +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 14441 AND `Idx` = 0 AND `CreatureDisplayID` = 14495 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Hunter Ragetotem +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 14442 AND `Idx` = 0 AND `CreatureDisplayID` = 14496 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Hunter Thunderhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 14531 AND `Idx` = 0 AND `CreatureDisplayID` = 14580 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Artorius the Amiable +UPDATE `creature_template_model` SET `DisplayScale` = 0.91 WHERE `CreatureID` = 14581 AND `Idx` = 0 AND `CreatureDisplayID` = 14612 AND ABS(`DisplayScale` - 1.23) < 0.001; -- 1.23 / 1.35 male, Sergeant Thunderhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 14728 AND `Idx` = 0 AND `CreatureDisplayID` = 14758 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Rumstag Proudstrider +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 15175 AND `Idx` = 0 AND `CreatureDisplayID` = 15319 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Khur Hornstriker +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 15176 AND `Idx` = 0 AND `CreatureDisplayID` = 15318 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Vargus +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 15178 AND `Idx` = 0 AND `CreatureDisplayID` = 15314 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Runk Windtamer +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 15188 AND `Idx` = 0 AND `CreatureDisplayID` = 15322 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Cenarion Emissary Blackhoof +UPDATE `creature_template_model` SET `DisplayScale` = 0.96 WHERE `CreatureID` = 15191 AND `Idx` = 0 AND `CreatureDisplayID` = 15353 AND ABS(`DisplayScale` - 1.2) < 0.001; -- 1.2 / 1.25 female, Windcaller Proudhorn +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 15201 AND `Idx` = 2 AND `CreatureDisplayID` = 2895 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Twilight Flamereaver +UPDATE `creature_template_model` SET `DisplayScale` = 1.11 WHERE `CreatureID` = 15270 AND `Idx` = 0 AND `CreatureDisplayID` = 15371 AND ABS(`DisplayScale` - 1.5) < 0.001; -- 1.5 / 1.35 male, Huum Wildmane +UPDATE `creature_template_model` SET `DisplayScale` = 0.91 WHERE `CreatureID` = 15306 AND `Idx` = 0 AND `CreatureDisplayID` = 15370 AND ABS(`DisplayScale` - 1.23) < 0.001; -- 1.23 / 1.35 male, Bor Wildmane +UPDATE `creature_template_model` SET `DisplayScale` = 0.91 WHERE `CreatureID` = 15499 AND `Idx` = 0 AND `CreatureDisplayID` = 15478 AND ABS(`DisplayScale` - 1.23) < 0.001; -- 1.23 / 1.35 male, Warden Haro +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 15613 AND `Idx` = 0 AND `CreatureDisplayID` = 15568 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Merok Longstride +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 15767 AND `Idx` = 0 AND `CreatureDisplayID` = 15730 AND ABS(`DisplayScale` - 1.25) < 0.001; -- 1.25 / 1.25 female, Officer Thunderstrider +UPDATE `creature_template_model` SET `DisplayScale` = 1 WHERE `CreatureID` = 16134 AND `Idx` = 0 AND `CreatureDisplayID` = 16029 AND ABS(`DisplayScale` - 1.35) < 0.001; -- 1.35 / 1.35 male, Rimblat Earthshatter diff --git a/sql/custom/world/2026_11_17_07_world_forever_mountaineer_ylva_lies_fallen.sql b/sql/custom/world/2026_11_17_07_world_forever_mountaineer_ylva_lies_fallen.sql new file mode 100644 index 0000000000..9cb994ae4e --- /dev/null +++ b/sql/custom/world/2026_11_17_07_world_forever_mountaineer_ylva_lies_fallen.sql @@ -0,0 +1,9 @@ +-- Mountaineer Ylva (269153, Loch Modan, quest Banner of the Fallen 86585) stood up; VoldemarGreed "bugs 6" (2026-11-17): she should +-- lie on the ground. The quest text says so: "The fallen mountaineer ... was killed outright by a trogg". She now lies dead +-- (stand state 7) and still gives the quest, as other fallen quest givers do (Fallen Earthen Warrior 26335, Tyrith 24822). +-- Not done: the trampled banner beside her. No sniff or data source has that object, so it waits for a sniff of the spot. +-- Safe to run again. +DELETE FROM `creature_template_addon` WHERE `entry` = 269153; +INSERT INTO `creature_template_addon` (`entry`,`PathId`,`mount`,`MountCreatureID`,`StandState`,`AnimTier`,`VisFlags`,`SheathState`,`PvPFlags`,`emote`, + `aiAnimKit`,`movementAnimKit`,`meleeAnimKit`,`visibilityDistanceType`,`auras`) VALUES +(269153,0,0,0,7,0,0,0,0,0,0,0,0,0,''); diff --git a/sql/custom/world/2026_11_17_08_world_forever_odd_child_on_the_floor.sql b/sql/custom/world/2026_11_17_08_world_forever_odd_child_on_the_floor.sql new file mode 100644 index 0000000000..1d6bbde635 --- /dev/null +++ b/sql/custom/world/2026_11_17_08_world_forever_odd_child_on_the_floor.sql @@ -0,0 +1,4 @@ +-- Odd Child (249713, Westfall 41,79, Discord "bugs 3": "stuck in the floor" of the dark stone room). The ground probe (PC step 151p) +-- puts the floor under spawn 24971300 at 42.84, a quarter yard above it (42.583, from the AnoCore port). Raised onto the floor. +-- Safe to run again. +UPDATE `creature` SET `position_z` = 42.85 WHERE `guid` = 24971300 AND `id` = 249713 AND ABS(`position_z` - 42.583) < 0.01; diff --git a/sql/custom/world/2026_11_17_09_world_classic_deep_pool_threshfin_out_from_under_the_walkway.sql b/sql/custom/world/2026_11_17_09_world_classic_deep_pool_threshfin_out_from_under_the_walkway.sql new file mode 100644 index 0000000000..e12b912870 --- /dev/null +++ b/sql/custom/world/2026_11_17_09_world_classic_deep_pool_threshfin_out_from_under_the_walkway.sql @@ -0,0 +1,8 @@ +-- Deep Pool Threshfin (4827, Blackfathom Deeps; VoldemarGreed "bugs 6", 2026-11-17: "stuck in the rock on the walkway by the +-- waterfall"). The ground probe (PC steps 151p and 151q) shows spawn 20027411 swimming in the pocket under the walkway: the walkway's +-- underside (-33.50) and top (-29.68) stand over it everywhere within 8 yards, so players see it inside the rock and cannot reach it. +-- Moved 12 yards north to the nearest open water (no surface over it within 16 yards; pool floor -36.09), at the same height above +-- the floor as the other Threshfin (0.08). Its 3 yard wander stays in the open (the probe points 4 to 6 yards around it are open too). +-- The other Threshfin are clear: 20027405 lies on a ledge beside open water. Safe to run again. +UPDATE `creature` SET `position_x` = -818.60, `position_y` = -42.69, `position_z` = -36.0 + WHERE `guid` = 20027411 AND `id` = 4827 AND ABS(`position_x` + 818.598) < 0.01 AND ABS(`position_y` + 54.6887) < 0.01; diff --git a/sql/custom/world/2026_11_17_10_world_forever_zephras_camp_players_features_removed.sql b/sql/custom/world/2026_11_17_10_world_forever_zephras_camp_players_features_removed.sql new file mode 100644 index 0000000000..77c584b5b1 --- /dev/null +++ b/sql/custom/world/2026_11_17_10_world_forever_zephras_camp_players_features_removed.sql @@ -0,0 +1,9 @@ +-- Overlapping objects at Raan Wildwind's camp, Zephras Isle (map 2991; Discord 6_1_8_8_1 "Bugs 3" item 4, 2026-11-16: glowing Mana +-- Wells inside a chair and a crate). The Forever sniff of 10 Oct (2026_10_01_03) saved nine camp features standing round the camping +-- trainer's fire as world objects: three Mana Wells, a First Aid Kit, an Incense Candle, a Lodestone, a Faction Banner and two +-- Chairs. On live these are the features players place with the camping spells (Camp Chair 1307229, Mana Well 1307259, ...): one +-- player can have one Mana Well, yet three stood here, each turned a different way, one inside the First Aid Kit. They are the +-- sniffing players' own camps, not the trainer's. No other camp in the world has any of them; the other seven Basic Campfires stand +-- alone. They go; the trainer's campfire 21100460 stays. INFERRED from the above (no live view of an empty camp). Safe to run again. +DELETE FROM `gameobject` WHERE `map` = 2991 AND `guid` IN (21100559, 21100560, 21100561, 21100918, 21100919, 21100920, 21100921, 21100922, 21100923) + AND `id` IN (612275, 612351, 651948, 651953, 651955, 651956); diff --git a/sql/custom/world/2026_11_17_11_world_classic_clearcasting_used_up_by_cat_abilities.sql b/sql/custom/world/2026_11_17_11_world_classic_clearcasting_used_up_by_cat_abilities.sql new file mode 100644 index 0000000000..815707e970 --- /dev/null +++ b/sql/custom/world/2026_11_17_11_world_classic_clearcasting_used_up_by_cat_abilities.sql @@ -0,0 +1,8 @@ +-- Clearcasting (16870, from Omen of Clarity 16864): in the Classic client it makes the next damage spell, heal or offensive +-- ability free and is used up by it (SpellAuraOptions ProcCharges 1, ProcTypeMask 0x15550: melee, ranged, helpful and harmful +-- abilities and spells). The retail row from 2024_08_20_00 is for Restoration's Clearcasting and drops the charge on a heal only, +-- so a cat's Shred, Claw and Rip were free and left the charge up for the full 15 s (6_1_8_8_1, Discord Bugs 1.1: "sometimes, +-- when a fight starts, my energy simply doesn't decrease when using abilities"). Same shape as the mage's Clearcasting 12536. +DELETE FROM `spell_proc` WHERE `SpellId`=16870; +INSERT INTO `spell_proc` (`SpellId`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`SpellFamilyMask3`,`ProcFlags`,`ProcFlags2`,`SpellTypeMask`,`SpellPhaseMask`,`HitMask`,`AttributesMask`,`DisableEffectsMask`,`ProcsPerMinute`,`Chance`,`Cooldown`,`Charges`) VALUES +(16870,0x00,0,0x00000000,0x00000000,0x00000000,0x00000000,0x15550,0x0,0x7,0x3,0x0,0x8,0x0,0,0,0,1); -- Clearcasting diff --git a/sql/custom/world/2026_11_17_12_world_forever_freed_forsaken_adventurers_not_spawned_in_the_webs.sql b/sql/custom/world/2026_11_17_12_world_forever_freed_forsaken_adventurers_not_spawned_in_the_webs.sql new file mode 100644 index 0000000000..df42a11360 --- /dev/null +++ b/sql/custom/world/2026_11_17_12_world_forever_freed_forsaken_adventurers_not_spawned_in_the_webs.sql @@ -0,0 +1,8 @@ +-- Night Web's Hollow (Tirisfal Glades): every Webbed Forsaken (271961) frees a Forsaken Adventurer (271968) when the web is +-- destroyed (its SAI: on death, summon 271968; the adventurer's own SAI starts "on summoned": a line, then it wanders off). +-- The sniffs of 4 Oct and 27 Oct saved the adventurers that the sniffing player had freed as fixed spawns, 10 of them on the +-- exact spot of a web and one 3 yd beside one. So a Forsaken stood inside the web (its model shows through) and a destroyed web +-- left two of them (cyborgx5, GitHub #12, 17 Nov: "can see model through web and when i destroy web there is 2 undead"). +-- 271968 only ever comes from a web, so all 11 spawns go. +DELETE FROM `creature_addon` WHERE `guid` IN (21200427,21200428,21200429,21200430,21200431,21200432,43000417,43000418,43000419,43000420,43000421); +DELETE FROM `creature` WHERE `id`=271968 AND `guid` IN (21200427,21200428,21200429,21200430,21200431,21200432,43000417,43000418,43000419,43000420,43000421); diff --git a/sql/custom/world/2026_11_17_13_world_forever_riverglades_graveyards.sql b/sql/custom/world/2026_11_17_13_world_forever_riverglades_graveyards.sql new file mode 100644 index 0000000000..49f09b8121 --- /dev/null +++ b/sql/custom/world/2026_11_17_13_world_forever_riverglades_graveyards.sql @@ -0,0 +1,27 @@ +-- Riverglades (zone 16591, WoW Forever): the zone had no graveyard and no spirit healer, so a ghost there was sent to the default +-- graveyard (Westfall for the Alliance, the Crossroads for the Horde) (Tornn, Discord 17 Nov: "a weird graveyard / respawn point +-- in the new zone"). INFERRED: the live graveyard spots are in no data we have. One spirit healer per town, on open flat ground +-- next to its flight master (ground probe step 154p: one surface, no roof, the points around it within 0.4 yd of the same height): +-- 1104114 the Alliance keep (gryphon master Gretchen Mayberry), Alliance only +-- 1104115 Powderfuse Port, the goblin port (Innkeeper Zizplink's town), both factions +-- 1104116 the Horde camp (wind rider master Grakna), Horde only +DELETE FROM `world_safe_locs` WHERE `ID` IN (1104114,1104115,1104116); +INSERT INTO `world_safe_locs` (`ID`,`MapID`,`LocX`,`LocY`,`LocZ`,`Facing`,`Comment`) VALUES +(1104114,0,-9105.10,-4820.80,23.30,270.0,'Riverglades, Alliance keep GY (INFERRED, probe 154p)'), +(1104115,0,-8196.80,-5606.80,4.70,0.0,'Riverglades, Powderfuse Port GY (INFERRED, probe 154p)'), +(1104116,0,-7928.10,-4762.30,21.60,270.0,'Riverglades, Horde camp GY (INFERRED, probe 154p)'); +DELETE FROM `graveyard_zone` WHERE `ID` IN (1104114,1104115,1104116); +INSERT INTO `graveyard_zone` (`ID`,`GhostZone`,`Comment`) VALUES +(1104114,16591,'Riverglades - Riverglades, Alliance keep GY'), +(1104115,16591,'Riverglades - Riverglades, Powderfuse Port GY'), +(1104116,16591,'Riverglades - Riverglades, Horde camp GY'); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=27 AND `SourceGroup`=16591 AND `SourceEntry` IN (1104114,1104116); +INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES +(27,16591,1104114,0,0,6,0,469,0,0,0,0,0,'','Graveyard 1104114 (Riverglades) - Alliance only'), +(27,16591,1104116,0,0,6,0,67,0,0,0,0,0,'','Graveyard 1104116 (Riverglades) - Horde only'); +-- the spirit healers, on the graveyard spots +DELETE FROM `creature` WHERE `guid` BETWEEN 47220000 AND 47220002 AND `id`=6491; +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`,`VerifiedBuild`) VALUES +(47220000,6491,0,0,0,'0',0,0,0,-1,0,0,-9105.10,-4820.80,23.30,4.712,490,0,0,100,0,0), +(47220001,6491,0,0,0,'0',0,0,0,-1,0,0,-8196.80,-5606.80,4.70,0.000,490,0,0,100,0,0), +(47220002,6491,0,0,0,'0',0,0,0,-1,0,0,-7928.10,-4762.30,21.60,4.712,490,0,0,100,0,0); diff --git a/sql/custom/world/2026_11_17_14_world_classic_retribution_aura_thorns_spell_power.sql b/sql/custom/world/2026_11_17_14_world_classic_retribution_aura_thorns_spell_power.sql new file mode 100644 index 0000000000..80ee11619b --- /dev/null +++ b/sql/custom/world/2026_11_17_14_world_classic_retribution_aura_thorns_spell_power.sql @@ -0,0 +1,22 @@ +-- Retribution Aura and Thorns: 6% of the caster's spell power on every hit, as on live WoW Forever (dumpins, #bug-report +-- 2026-11-17: "only does the base flat dmg"). The client data has no coefficient on the damage shield effect (0), and there +-- were no classic_spell_value rows for these spells, so the server added none. +-- Live: Retribution Aura rank 5 hits fit floor(20 + 0.06 x the paladin's spell power), Thorns rank 6 is 18 + 0.06 x the druid's +-- spell power (combat logs, build 1.60.1.70938, wowsims/forever docs/evidence EV-0141 and EV-0067, MIT). The lower ranks get the +-- same 0.06 as the sim uses for every rank (not measured per rank). The amount is taken from the aura's caster (Unit.cpp, +-- damage shield), so it is the paladin's or druid's spell power, not the struck ally's. +-- Base points and dice are VMaNGOS spell_template (vanilla), the same totals the client has (5/8/12/16/20 and 3/6/9/12/15/18). +DELETE FROM `classic_spell_value` WHERE (`spell_id`,`effect_index`) IN +((7294,0),(10298,0),(10299,0),(10300,0),(10301,0),(467,0),(782,0),(1075,0),(8914,0),(9756,0),(9910,0)); +INSERT INTO `classic_spell_value` (`spell_id`,`effect_index`,`effect`,`apply_aura`,`base_points`,`die_sides`,`points_per_level`,`misc_value`,`points_per_combo`,`bonus_coeff`,`spell_name`) VALUES +(7294,0,35,15,4,1,0,0,0,0.06,'Retribution Aura'), +(10298,0,35,15,7,1,0,0,0,0.06,'Retribution Aura'), +(10299,0,35,15,11,1,0,0,0,0.06,'Retribution Aura'), +(10300,0,35,15,15,1,0,0,0,0.06,'Retribution Aura'), +(10301,0,35,15,19,1,0,0,0,0.06,'Retribution Aura'), +(467,0,6,15,2,1,0,0,0,0.06,'Thorns'), +(782,0,6,15,5,1,0,0,0,0.06,'Thorns'), +(1075,0,6,15,8,1,0,0,0,0.06,'Thorns'), +(8914,0,6,15,11,1,0,0,0,0.06,'Thorns'), +(9756,0,6,15,14,1,0,0,0,0.06,'Thorns'), +(9910,0,6,15,17,1,0,0,0,0.06,'Thorns'); diff --git a/sql/custom/world/2026_11_17_15_world_forever_riverglades_graveyards_one_set.sql b/sql/custom/world/2026_11_17_15_world_forever_riverglades_graveyards_one_set.sql new file mode 100644 index 0000000000..0cc2392298 --- /dev/null +++ b/sql/custom/world/2026_11_17_15_world_forever_riverglades_graveyards_one_set.sql @@ -0,0 +1,17 @@ +-- Riverglades (zone 16591) graveyards, one set again. 2026_11_10_70 (release 0.1.37) already gave the zone four graveyards +-- (1101200-1101203) with spirit healers 47220000-47220003; 2026_11_17_13 was written on a copy without them and added three more +-- (1104114-1104116) on the same healer guids, so the zone had seven graveyards, two of them at Powderfuse Port 16 yd apart, and +-- the Farholde Keep and Rog'mar healers had moved away from their graveyards. This keeps the four old ones and takes 17_13's out. +-- Farholde Keep 1101200 stood 6 yd from Brother Lowley at his height (39.8), inside the keep's building (Tornn, Discord 17 Nov: +-- released into a building in the keep). It moves to the open ground next to gryphon master Gretchen Mayberry that ground probe +-- 154p checked (one surface, no roof, flat around it), where 17_13 had put its keep graveyard. INFERRED: live's spot is in no data. +-- Powderfuse Port's healer stands 4 yd east of graveyard 1101202 on probed open ground (the old spot was next to a roof). +DELETE FROM `world_safe_locs` WHERE `ID` IN (1104114,1104115,1104116); +DELETE FROM `graveyard_zone` WHERE `ID` IN (1104114,1104115,1104116); +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=27 AND `SourceGroup`=16591 AND `SourceEntry` IN (1104114,1104115,1104116); +UPDATE `world_safe_locs` SET `LocX`=-9105.10,`LocY`=-4820.80,`LocZ`=23.30,`Facing`=270.0, +`Comment`='Forever: Riverglades, Farholde Keep GY (INFERRED, open ground by the gryphon master, probe 154p)' WHERE `ID`=1101200; +-- the healers next to their graveyards again +UPDATE `creature` SET `position_x`=-9105.10,`position_y`=-4820.80,`position_z`=23.30,`orientation`=4.712 WHERE `guid`=47220000 AND `id`=6491; +UPDATE `creature` SET `position_x`=-7763.90,`position_y`=-4798.70,`position_z`=20.10,`orientation`=3.930 WHERE `guid`=47220001 AND `id`=6491; +UPDATE `creature` SET `position_x`=-8176.80,`position_y`=-5606.80,`position_z`=3.70,`orientation`=3.142 WHERE `guid`=47220002 AND `id`=6491; diff --git a/sql/custom/world/2026_11_17_16_world_forever_turners_logging_camp_graveyard_on_the_ground.sql b/sql/custom/world/2026_11_17_16_world_forever_turners_logging_camp_graveyard_on_the_ground.sql new file mode 100644 index 0000000000..526652b505 --- /dev/null +++ b/sql/custom/world/2026_11_17_16_world_forever_turners_logging_camp_graveyard_on_the_ground.sql @@ -0,0 +1,5 @@ +-- Riverglades, Turner's Logging Camp: graveyard 1101203 and its spirit healer 47220003 (2026_11_10_70, ESTIMATED heights) lay 4 yards +-- under the ground: .playerbot graveyardscan 0 on dev (PC confirm run B2, 17 Nov) found the terrain at 25.7 under the graveyard's +-- 21.6, so a ghost released there came up inside the hill. Both go onto the ground (the scan's 0.5 yards above the terrain). +UPDATE `world_safe_locs` SET `LocZ` = 26.24 WHERE `ID` = 1101203 AND ABS(`LocZ` - 21.6) < 0.05; +UPDATE `creature` SET `position_z` = 26.24 WHERE `guid` = 47220003 AND `id` = 6491 AND ABS(`position_z` - 21.6) < 0.05; diff --git a/sql/custom/world/2026_11_17_17_world_classic_missile_barrage_missiles_faster.sql b/sql/custom/world/2026_11_17_17_world_classic_missile_barrage_missiles_faster.sql new file mode 100644 index 0000000000..c693719d14 --- /dev/null +++ b/sql/custom/world/2026_11_17_17_world_classic_missile_barrage_missiles_faster.sql @@ -0,0 +1,16 @@ +-- Missile Barrage 400589 (mage, glacier, Discord 17 Nov: "the casting time is not reduced by 50%, and a missile is fired every 0.5 seconds" +-- does not happen). The buff was used up when Arcane Missiles was cast (2026_11_12_17: phase 1, cast), and the server works out a channel's +-- length only after that, so its -50% duration modifier was already gone. Now it is used up when the channel hits (phase 2), after the +-- length and the missile period are set. The faster missiles come from classic_spell_mage_arcane_missiles_barrage, which reads the +-- buff's dummy effect 1 (-500 ms) into the channel's period, bound here to every Arcane Missiles rank of the client (class mask 0x800). +UPDATE `spell_proc` SET `SpellPhaseMask` = 2 WHERE `SpellId` = 400589 AND `SpellPhaseMask` = 1; +DELETE FROM `spell_script_names` WHERE `ScriptName` = 'classic_spell_mage_arcane_missiles_barrage'; +INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES +(5143, 'classic_spell_mage_arcane_missiles_barrage'), +(5144, 'classic_spell_mage_arcane_missiles_barrage'), +(5145, 'classic_spell_mage_arcane_missiles_barrage'), +(8416, 'classic_spell_mage_arcane_missiles_barrage'), +(8417, 'classic_spell_mage_arcane_missiles_barrage'), +(10211, 'classic_spell_mage_arcane_missiles_barrage'), +(10212, 'classic_spell_mage_arcane_missiles_barrage'), +(25345, 'classic_spell_mage_arcane_missiles_barrage'); diff --git a/sql/custom/world/2026_11_17_18_world_classic_shield_specialization_blocks_only.sql b/sql/custom/world/2026_11_17_18_world_classic_shield_specialization_blocks_only.sql new file mode 100644 index 0000000000..e3f22c5ac0 --- /dev/null +++ b/sql/custom/world/2026_11_17_18_world_classic_shield_specialization_blocks_only.sql @@ -0,0 +1,11 @@ +-- Classic 1.60: Shield Specialization procs on blocked attacks only, as both tooltips say. Warrior 12298: "a $m2% chance to generate +-- ${$1310318m1/10} Rage when you Block"; paladin 20150: "gives your blocks a $m2% chance to restore $1310925m1% of your maximum Mana". +-- The client proc data has no hit mask, so without a row the core used the default taken hit mask (normal and critical hits): the +-- paladin got mana from hits that were not blocked, also with no shield on (Discord, dumpins 2026-11-17), and the warrior rage the same +-- way. Same fix as Holy Shield in 2026_11_06_10. The proc chance stays with classic_spell_proc_chance_from_effect (2026_11_12_02). +-- ProcFlags, Chance, Cooldown (paladin 3 s) and Charges 0 keep the client's. Safe to run again. +DELETE FROM `spell_proc` WHERE `SpellId` IN (12298, 20150); +INSERT INTO `spell_proc` (`SpellId`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `SpellFamilyMask3`, +`ProcFlags`, `ProcFlags2`, `SpellTypeMask`, `SpellPhaseMask`, `HitMask`, `AttributesMask`, `DisableEffectsMask`, `ProcsPerMinute`, `Chance`, `Cooldown`, `Charges`) VALUES +(12298, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x40, 0, 0, 0, 0, 0, 0), +(20150, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x40, 0, 0, 0, 0, 0, 0); diff --git a/sql/custom/world/2026_11_17_40_world_classic_scourge_invasion_events.sql b/sql/custom/world/2026_11_17_40_world_classic_scourge_invasion_events.sql new file mode 100644 index 0000000000..4fb704822d --- /dev/null +++ b/sql/custom/world/2026_11_17_40_world_classic_scourge_invasion_events.sql @@ -0,0 +1,26 @@ +-- Classic 1.60 (WoW Forever): Scourge Invasion game events (VMaNGOS ids, events 17, 81, 90-99, 129, 130). +-- None of them may start on the calendar: the Scourge Invasion script (classic_world_event_scourge_invasion.cpp) starts and +-- stops them, and only when Classic.ScourgeInvasion = 1 or a GM runs ".scourge on". The script starts them with +-- StartEvent(id, true), which sets the start to "now" and keeps them on until it stops them (length 10 years). +-- Rows 17, 81, 99, 129 and 130 are on dev already (they started about 18 Dec to 8 Jan every year), rows 90-98 are new. + +DELETE FROM `game_event` WHERE `eventEntry` IN (17,81,90,91,92,93,94,95,96,97,98,99,129,130); +INSERT INTO `game_event` (`eventEntry`,`start_time`,`end_time`,`occurence`,`length`,`holiday`,`holidayStage`,`WorldStateId`,`description`,`world_event`,`announce`) VALUES +(17,'2037-12-30 00:00:00','2037-12-30 00:00:00',10512000,5256000,0,0,NULL,'Scourge Invasion',0,0), +(81,'2037-12-30 00:00:00','2037-12-30 00:00:00',10512000,5256000,0,0,NULL,'Scourge Invasion - Boss in instance activation',0,0), +(90,'2037-12-30 00:00:00','2037-12-30 00:00:00',10512000,5256000,0,0,NULL,'Scourge Invasion - Attacking Winterspring',0,0), +(91,'2037-12-30 00:00:00','2037-12-30 00:00:00',10512000,5256000,0,0,NULL,'Scourge Invasion - Attacking Tanaris',0,0), +(92,'2037-12-30 00:00:00','2037-12-30 00:00:00',10512000,5256000,0,0,NULL,'Scourge Invasion - Attacking Azshara',0,0), +(93,'2037-12-30 00:00:00','2037-12-30 00:00:00',10512000,5256000,0,0,NULL,'Scourge Invasion - Attacking Blasted Lands',0,0), +(94,'2037-12-30 00:00:00','2037-12-30 00:00:00',10512000,5256000,0,0,NULL,'Scourge Invasion - Attacking Eastern Plaguelands',0,0), +(95,'2037-12-30 00:00:00','2037-12-30 00:00:00',10512000,5256000,0,0,NULL,'Scourge Invasion - Attacking Burning Steppes',0,0), +(96,'2037-12-30 00:00:00','2037-12-30 00:00:00',10512000,5256000,0,0,NULL,'Scourge Invasion - 50 Invasions',0,0), +(97,'2037-12-30 00:00:00','2037-12-30 00:00:00',10512000,5256000,0,0,NULL,'Scourge Invasion - 100 Invasions',0,0), +(98,'2037-12-30 00:00:00','2037-12-30 00:00:00',10512000,5256000,0,0,NULL,'Scourge Invasion - 150 Invasions',0,0), +(99,'2037-12-30 00:00:00','2037-12-30 00:00:00',10512000,5256000,0,0,NULL,'Scourge Invasion - Invasions Done',0,0), +(129,'2037-12-30 00:00:00','2037-12-30 00:00:00',10512000,5256000,0,0,NULL,'Scourge Invasion - Phase 2 - Invasion Stormwind',0,0), +(130,'2037-12-30 00:00:00','2037-12-30 00:00:00',10512000,5256000,0,0,NULL,'Scourge Invasion - Phase 2 - Invasion Undercity',0,0); + +-- a saved world event state would override the dates +DELETE FROM `game_event_condition` WHERE `eventEntry` IN (17,81,90,91,92,93,94,95,96,97,98,99,129,130); +DELETE FROM `game_event_prerequisite` WHERE `eventEntry` IN (17,81,90,91,92,93,94,95,96,97,98,99,129,130); diff --git a/sql/custom/world/2026_11_17_41_world_classic_scourge_invasion_spawns.sql b/sql/custom/world/2026_11_17_41_world_classic_scourge_invasion_spawns.sql new file mode 100644 index 0000000000..331acb1479 --- /dev/null +++ b/sql/custom/world/2026_11_17_41_world_classic_scourge_invasion_spawns.sql @@ -0,0 +1,2833 @@ +-- Classic 1.60 (WoW Forever): Scourge Invasion spawns, from VMaNGOS db-4641790 (creature / gameobject / game_event_creature / +-- game_event_gameobject of events 17, 81, 90-99; GPL-2, VMaNGOS project). Converted to our schema with new guids +-- 29000001+ (creatures) and 35170001+ (objects). Nothing spawns until the event runs (Classic.ScourgeInvasion = 1 or .scourge on). +-- NPCs and objects that are not only for this event (Argent Dawn quest givers, the five dungeon bosses, banners) are added only +-- where our world has no spawn of the same entry within 5 yd on that map (outside this file's guids). Safe to run again. + +DELETE FROM `game_event_creature` WHERE `guid` BETWEEN 29000001 AND 29005000; +DELETE FROM `game_event_gameobject` WHERE `guid` BETWEEN 35170001 AND 35175000; +DELETE FROM `creature` WHERE `guid` BETWEEN 29000001 AND 29005000; +DELETE FROM `gameobject` WHERE `guid` BETWEEN 35170001 AND 35175000; + +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) VALUES +(29000006,16356,0,0,0,'0',0,0,0,-1,0,1,-8000.75,-985.283,127.825,1.09956,120,0,0,100,0), +(29000007,16356,0,0,0,'0',0,0,0,-1,0,1,-7756.19,-2210.4,133.609,2.80997,120,0,0,100,0), +(29000008,16356,0,0,0,'0',0,0,0,-1,0,1,-7762.09,-2256.11,133.522,4.46804,120,0,0,100,0), +(29000009,16356,0,0,0,'0',0,0,0,-1,0,1,-7764.27,-2231.68,134.763,1.88495,120,0,0,100,0), +(29000010,16356,0,0,0,'0',0,0,0,-1,0,1,-7768.15,-2244.1,133.522,5.81195,120,0,0,100,0), +(29000011,16356,0,0,0,'0',0,0,0,-1,0,1,-7942.9,-2434.35,130.081,4.20625,120,0,0,100,0), +(29000012,16356,0,0,0,'0',0,0,0,-1,0,1,-7953.56,-2426.47,126.483,0.226893,120,0,0,100,0), +(29000013,16356,0,0,0,'0',0,0,0,-1,0,1,-7954.89,-2411.8,126.7,5.81195,120,0,0,100,0), +(29000014,16356,0,0,0,'0',0,0,0,-1,0,1,-7955.28,-2440.49,129.066,4.46804,120,0,0,100,0), +(29000015,16356,0,0,0,'0',0,0,0,-1,0,1,-7754.92,-2243.28,133.559,0.506145,120,0,0,100,0), +(29000016,16356,0,0,0,'0',0,0,0,-1,0,1,-7753.04,-2220.56,133.522,5.53269,120,0,0,100,0), +(29000017,16356,0,0,0,'0',0,0,0,-1,0,1,-7739.1,-2263.74,135.584,3.26377,120,0,0,100,0), +(29000018,16356,0,0,0,'0',0,0,0,-1,0,1,-7741.34,-2222.07,133.522,5.20108,120,0,0,100,0), +(29000019,16356,0,0,0,'0',0,0,0,-1,0,1,-7743.51,-2240.18,134.333,1.8675,120,0,0,100,0), +(29000020,16356,0,0,0,'0',0,0,0,-1,0,1,-7744.63,-2199.94,133.522,4.06662,120,0,0,100,0), +(29000021,16356,0,0,0,'0',0,0,0,-1,0,1,-7745.01,-2211.63,133.522,1.95477,120,0,0,100,0), +(29000022,16356,0,0,0,'0',0,0,0,-1,0,1,-7748.55,-2253.08,133.889,6.24828,120,0,0,100,0), +(29000023,16356,0,0,0,'0',0,0,0,-1,0,1,-7749.98,-2230.43,133.549,5.63741,120,0,0,100,0), +(29000024,16356,0,0,0,'0',0,0,0,-1,0,1,-7752.77,-2269.4,133.522,1.37881,120,0,0,100,0), +(29000025,16356,0,0,0,'0',0,0,0,-1,0,1,-7958.5,-2455.63,133.389,1.85005,120,0,0,100,0), +(29000026,16356,0,0,0,'0',0,0,0,-1,0,1,-7964.2,-2404.19,125.886,4.46804,120,0,0,100,0), +(29000027,16356,0,0,0,'0',0,0,0,-1,0,1,-7983.29,-2466.48,133.952,3.03684,120,0,0,100,0), +(29000028,16356,0,0,0,'0',0,0,0,-1,0,1,-7986.28,-996.667,130.558,0.226893,120,0,0,100,0), +(29000029,16356,0,0,0,'0',0,0,0,-1,0,1,-7989.67,-2411.44,124.287,5.53269,120,0,0,100,0), +(29000030,16356,0,0,0,'0',0,0,0,-1,0,1,-7990.3,-2455.1,132.799,5.49779,120,0,0,100,0), +(29000031,16356,0,0,0,'0',0,0,0,-1,0,1,-7995.75,-2420.87,127.493,5.63741,120,0,0,100,0), +(29000032,16356,0,0,0,'0',0,0,0,-1,0,1,-7995.8,-2432.08,130.865,1.8675,120,0,0,100,0), +(29000033,16356,0,0,0,'0',0,0,0,-1,0,1,-7996.59,-2444.02,132.116,0.715585,120,0,0,100,0), +(29000034,16356,0,0,0,'0',0,0,0,-1,0,1,-7996.63,-1013.41,131.867,1.85005,120,0,0,100,0), +(29000035,16356,0,0,0,'0',0,0,0,-1,0,1,-7982.83,-2444.96,131.372,2.00713,120,0,0,100,0), +(29000036,16356,0,0,0,'0',0,0,0,-1,0,1,-7982.13,-958.83,130.196,5.81195,120,0,0,100,0), +(29000037,16356,0,0,0,'0',0,0,0,-1,0,1,-7966.7,-2434.54,126.773,4.04917,120,0,0,100,0), +(29000038,16356,0,0,0,'0',0,0,0,-1,0,1,-7967,-2421.33,126.912,4.04917,120,0,0,100,0), +(29000039,16356,0,0,0,'0',0,0,0,-1,0,1,-7968.86,-2445.95,129.784,2.23402,120,0,0,100,0), +(29000040,16356,0,0,0,'0',0,0,0,-1,0,1,-7974.29,-2411.05,125.853,1.95477,120,0,0,100,0), +(29000041,16356,0,0,0,'0',0,0,0,-1,0,1,-7974.82,-2456,132.592,1.09956,120,0,0,100,0), +(29000042,16356,0,0,0,'0',0,0,0,-1,0,1,-7978.5,-980.081,130.28,4.46804,120,0,0,100,0), +(29000043,16356,0,0,0,'0',0,0,0,-1,0,1,-7981.53,-2400.69,123.693,1.37881,120,0,0,100,0), +(29000044,16356,0,0,0,'0',0,0,0,-1,0,1,-7981.67,-2421.34,127.498,5.20108,120,0,0,100,0), +(29000045,16356,0,0,0,'0',0,0,0,-1,0,1,-7736.6,-2248.45,135.77,0.715585,120,0,0,100,0), +(29000046,16356,0,0,0,'0',0,0,0,-1,0,1,-7732.98,-2200.64,133.522,0.226893,120,0,0,100,0), +(29000047,16356,0,0,0,'0',0,0,0,-1,0,1,-7732.21,-2213.26,133.522,4.04917,120,0,0,100,0), +(29000048,16356,0,0,0,'0',0,0,0,-1,0,1,-7599.6,-2557.68,133.46,1.85005,120,0,0,100,0), +(29000049,16356,0,0,0,'0',0,0,0,-1,0,1,-7601.51,-2575.6,134.627,2.23402,120,0,0,100,0), +(29000050,16356,0,0,0,'0',0,0,0,-1,0,1,-7606.8,-2629.2,134.006,1.88495,120,0,0,100,0), +(29000051,16356,0,0,0,'0',0,0,0,-1,0,1,-7607.12,-2613.97,134.21,5.63741,120,0,0,100,0), +(29000052,16356,0,0,0,'0',0,0,0,-1,0,1,-7609.75,-2643.94,135.102,3.14159,120,0,0,100,0), +(29000053,16356,0,0,0,'0',0,0,0,-1,0,1,-7613.49,-2583.94,132.551,4.04917,120,0,0,100,0), +(29000054,16356,0,0,0,'0',0,0,0,-1,0,1,-7614.09,-2569,132.293,4.46804,120,0,0,100,0), +(29000055,16356,0,0,0,'0',0,0,0,-1,0,1,-7614.49,-2605.03,133.224,5.20108,120,0,0,100,0), +(29000056,16356,0,0,0,'0',0,0,0,-1,0,1,-7596.23,-2607.85,136.089,1.8675,120,0,0,100,0), +(29000057,16356,0,0,0,'0',0,0,0,-1,0,1,-7595.52,-2620.74,135.202,0.506145,120,0,0,100,0), +(29000058,16356,0,0,0,'0',0,0,0,-1,0,1,-7574.27,-2597.62,138.662,3.26377,120,0,0,100,0), +(29000059,16356,0,0,0,'0',0,0,0,-1,0,1,-7578.33,-2584.39,137.647,5.49779,120,0,0,100,0), +(29000060,16356,0,0,0,'0',0,0,0,-1,0,1,-7583.83,-2611.54,137.273,6.24828,120,0,0,100,0), +(29000061,16356,0,0,0,'0',0,0,0,-1,0,1,-7584.07,-2624.76,136.432,1.37881,120,0,0,100,0), +(29000062,16356,0,0,0,'0',0,0,0,-1,0,1,-7586.65,-2571.02,134.666,1.09956,120,0,0,100,0), +(29000063,16356,0,0,0,'0',0,0,0,-1,0,1,-7587.62,-2596.89,138.436,0.715585,120,0,0,100,0), +(29000064,16356,0,0,0,'0',0,0,0,-1,0,1,-7591.38,-2586.37,137.663,2.00713,120,0,0,100,0), +(29000065,16356,0,0,0,'0',0,0,0,-1,0,1,-7593.19,-2637.25,134.726,4.03171,120,0,0,100,0), +(29000066,16356,0,0,0,'0',0,0,0,-1,0,1,-7617.49,-2618.51,132.388,5.53269,120,0,0,100,0), +(29000067,16356,0,0,0,'0',0,0,0,-1,0,1,-7619.34,-2632.74,132.442,2.80997,120,0,0,100,0), +(29000068,16356,0,0,0,'0',0,0,0,-1,0,1,-7714.18,-2242.01,138.917,1.09956,120,0,0,100,0), +(29000069,16356,0,0,0,'0',0,0,0,-1,0,1,-7716.08,-2231.63,136.743,2.23402,120,0,0,100,0), +(29000070,16356,0,0,0,'0',0,0,0,-1,0,1,-7720.22,-2210.86,133.522,4.46804,120,0,0,100,0), +(29000071,16356,0,0,0,'0',0,0,0,-1,0,1,-7720.99,-2198.35,133.522,4.20625,120,0,0,100,0), +(29000072,16356,0,0,0,'0',0,0,0,-1,0,1,-7722.57,-2222.69,134.566,4.04917,120,0,0,100,0), +(29000073,16356,0,0,0,'0',0,0,0,-1,0,1,-7724.87,-2251.59,138.604,5.49779,120,0,0,100,0), +(29000074,16356,0,0,0,'0',0,0,0,-1,0,1,-7726.67,-2240.58,137.086,2.00713,120,0,0,100,0), +(29000075,16356,0,0,0,'0',0,0,0,-1,0,1,-7726.86,-2266.75,139.26,3.14159,120,0,0,100,0), +(29000076,16356,0,0,0,'0',0,0,0,-1,0,1,-7713.89,-2254.8,140.417,4.03171,120,0,0,100,0), +(29000077,16356,0,0,0,'0',0,0,0,-1,0,1,-7710.2,-2220.98,135.435,1.85005,120,0,0,100,0), +(29000078,16356,0,0,0,'0',0,0,0,-1,0,1,-7623.71,-2594.94,132.243,4.04917,120,0,0,100,0), +(29000079,16356,0,0,0,'0',0,0,0,-1,0,1,-7626.99,-2580.78,132.126,0.226893,120,0,0,100,0), +(29000080,16356,0,0,0,'0',0,0,0,-1,0,1,-7627.43,-2608.99,132.801,1.95477,120,0,0,100,0), +(29000081,16356,0,0,0,'0',0,0,0,-1,0,1,-7628.49,-2566.81,133.167,4.46804,120,0,0,100,0), +(29000082,16356,0,0,0,'0',0,0,0,-1,0,1,-7637.5,-2596.85,133.659,5.81195,120,0,0,100,0), +(29000083,16356,0,0,0,'0',0,0,0,-1,0,1,-7639.9,-2581.16,133.687,4.06662,120,0,0,100,0), +(29000084,16356,0,0,0,'0',0,0,0,-1,0,1,-7640.81,-2611.35,134.295,4.20625,120,0,0,100,0), +(29000085,16356,0,0,0,'0',0,0,0,-1,0,1,-7703.33,-2233.25,138.695,3.03684,120,0,0,100,0), +(29000086,16356,0,0,0,'0',0,0,0,-1,0,1,-7573.04,-2570.58,135.373,3.03684,120,0,0,100,0), +(29000087,16356,0,0,0,'0',0,0,0,-1,0,1,-8002.21,-959.982,128.742,5.49779,120,0,0,100,0), +(29000088,16356,0,0,0,'0',0,0,0,-1,0,1,-8434.59,-1251.75,212.887,3.14159,120,0,0,100,0), +(29000089,16356,0,0,0,'0',0,0,0,-1,0,1,-8385.5,-1216.21,188.255,4.46804,120,0,0,100,0), +(29000090,16356,0,0,0,'0',0,0,0,-1,0,1,-8387.62,-972.728,190.48,4.04917,120,0,0,100,0), +(29000091,16356,0,0,0,'0',0,0,0,-1,0,1,-8387.81,-1228.66,190.961,5.53269,120,0,0,100,0), +(29000092,16356,0,0,0,'0',0,0,0,-1,0,1,-8388.02,-984.879,188.321,6.24828,120,0,0,100,0), +(29000093,16356,0,0,0,'0',0,0,0,-1,0,1,-8389.59,-1238.51,196.46,4.04917,120,0,0,100,0), +(29000094,16356,0,0,0,'0',0,0,0,-1,0,1,-8393.72,-1254.68,206.65,4.04917,120,0,0,100,0), +(29000095,16356,0,0,0,'0',0,0,0,-1,0,1,-8393.84,-1264.77,210.899,5.49779,120,0,0,100,0), +(29000096,16356,0,0,0,'0',0,0,0,-1,0,1,-8397.75,-960.193,197.608,5.49779,120,0,0,100,0), +(29000097,16356,0,0,0,'0',0,0,0,-1,0,1,-8385.35,-959.903,194.977,4.04917,120,0,0,100,0), +(29000098,16356,0,0,0,'0',0,0,0,-1,0,1,-8384.74,-1274.93,211.92,4.06662,120,0,0,100,0), +(29000099,16356,0,0,0,'0',0,0,0,-1,0,1,-8374.22,-1288.5,214.244,4.03171,120,0,0,100,0), +(29000100,16356,0,0,0,'0',0,0,0,-1,0,1,-8374.31,-974.651,188.325,5.20108,120,0,0,100,0), +(29000101,16356,0,0,0,'0',0,0,0,-1,0,1,-8376.08,-989.427,187.287,0.506145,120,0,0,100,0), +(29000102,16356,0,0,0,'0',0,0,0,-1,0,1,-8376.3,-1242.36,194.958,1.95477,120,0,0,100,0), +(29000103,16356,0,0,0,'0',0,0,0,-1,0,1,-8379.6,-949.735,198.216,2.23402,120,0,0,100,0), +(29000104,16356,0,0,0,'0',0,0,0,-1,0,1,-8381.1,-1261.64,204.694,1.09956,120,0,0,100,0), +(29000105,16356,0,0,0,'0',0,0,0,-1,0,1,-8383.28,-939.714,203.698,0.226893,120,0,0,100,0), +(29000106,16356,0,0,0,'0',0,0,0,-1,0,1,-8383.68,-1250.24,200.656,2.23402,120,0,0,100,0), +(29000107,16356,0,0,0,'0',0,0,0,-1,0,1,-8398.03,-1215.75,189.571,1.85005,120,0,0,100,0), +(29000108,16356,0,0,0,'0',0,0,0,-1,0,1,-8398.1,-945.571,204.354,4.06662,120,0,0,100,0), +(29000109,16356,0,0,0,'0',0,0,0,-1,0,1,-8411.97,-1259.67,212.583,3.26377,120,0,0,100,0), +(29000110,16356,0,0,0,'0',0,0,0,-1,0,1,-8412.83,-1223.1,192.778,1.88495,120,0,0,100,0), +(29000111,16356,0,0,0,'0',0,0,0,-1,0,1,-8416.66,-1268.47,217.223,2.80997,120,0,0,100,0), +(29000112,16356,0,0,0,'0',0,0,0,-1,0,1,-8417.09,-1242.56,202.798,5.63741,120,0,0,100,0), +(29000113,16356,0,0,0,'0',0,0,0,-1,0,1,-8417.78,-982.665,193.693,3.14159,120,0,0,100,0), +(29000114,16356,0,0,0,'0',0,0,0,-1,0,1,-8420.82,-1250.93,208.61,6.24828,120,0,0,100,0), +(29000115,16356,0,0,0,'0',0,0,0,-1,0,1,-8422.15,-1230.22,201.935,0.506145,120,0,0,100,0), +(29000116,16356,0,0,0,'0',0,0,0,-1,0,1,-8430.69,-1236.92,209.005,0.226893,120,0,0,100,0), +(29000117,16356,0,0,0,'0',0,0,0,-1,0,1,-8411.01,-966.88,197.595,4.20625,120,0,0,100,0), +(29000118,16356,0,0,0,'0',0,0,0,-1,0,1,-8410.35,-950.937,204.729,3.03684,120,0,0,100,0), +(29000119,16356,0,0,0,'0',0,0,0,-1,0,1,-8399.72,-1231.35,194.753,5.20108,120,0,0,100,0), +(29000120,16356,0,0,0,'0',0,0,0,-1,0,1,-8401.44,-974.976,192.589,3.26377,120,0,0,100,0), +(29000121,16356,0,0,0,'0',0,0,0,-1,0,1,-8402.34,-1258.13,210.17,2.00713,120,0,0,100,0), +(29000122,16356,0,0,0,'0',0,0,0,-1,0,1,-8403.62,-990.62,189.168,2.80997,120,0,0,100,0), +(29000123,16356,0,0,0,'0',0,0,0,-1,0,1,-8405.25,-1270.55,215.192,5.81195,120,0,0,100,0), +(29000124,16356,0,0,0,'0',0,0,0,-1,0,1,-8406.53,-1011.18,187.62,4.03171,120,0,0,100,0), +(29000125,16356,0,0,0,'0',0,0,0,-1,0,1,-8408.37,-1251.06,206.726,0.715585,120,0,0,100,0), +(29000126,16356,0,0,0,'0',0,0,0,-1,0,1,-8410.06,-1236.7,198.685,1.8675,120,0,0,100,0), +(29000127,16356,0,0,0,'0',0,0,0,-1,0,1,-8372.71,-1228.52,191.559,1.37881,120,0,0,100,0), +(29000128,16356,0,0,0,'0',0,0,0,-1,0,1,-8371.14,-940.599,200.466,1.09956,120,0,0,100,0), +(29000129,16356,0,0,0,'0',0,0,0,-1,0,1,-8008.24,-2411.38,124.142,1.88495,120,0,0,100,0), +(29000130,16356,0,0,0,'0',0,0,0,-1,0,1,-8021.97,-2447.23,128.728,3.14159,120,0,0,100,0), +(29000131,16356,0,0,0,'0',0,0,0,-1,0,1,-8023.47,-996.543,122.887,1.8675,120,0,0,100,0), +(29000132,16356,0,0,0,'0',0,0,0,-1,0,1,-8032.22,-1009.51,122.717,1.95477,120,0,0,100,0), +(29000133,16356,0,0,0,'0',0,0,0,-1,0,1,-8033.76,-958.735,131.688,4.04917,120,0,0,100,0), +(29000134,16356,0,0,0,'0',0,0,0,-1,0,1,-8035.43,-946.744,134.689,6.24828,120,0,0,100,0), +(29000135,16356,0,0,0,'0',0,0,0,-1,0,1,-8044.14,-994.623,129.837,0.715585,120,0,0,100,0), +(29000136,16356,0,0,0,'0',0,0,0,-1,0,1,-8044.6,-1019.05,122.717,5.53269,120,0,0,100,0), +(29000137,16356,0,0,0,'0',0,0,0,-1,0,1,-8047.01,-962.325,133.982,4.04917,120,0,0,100,0), +(29000138,16356,0,0,0,'0',0,0,0,-1,0,1,-8021.12,-2433.45,127.165,4.06662,120,0,0,100,0), +(29000139,16356,0,0,0,'0',0,0,0,-1,0,1,-8020.13,-984.429,122.73,5.20108,120,0,0,100,0), +(29000140,16356,0,0,0,'0',0,0,0,-1,0,1,-8008.86,-2426.77,127.948,0.506145,120,0,0,100,0), +(29000141,16356,0,0,0,'0',0,0,0,-1,0,1,-8009.85,-2439.8,129.72,6.24828,120,0,0,100,0), +(29000142,16356,0,0,0,'0',0,0,0,-1,0,1,-8011.34,-2452.43,131.309,3.26377,120,0,0,100,0), +(29000143,16356,0,0,0,'0',0,0,0,-1,0,1,-8016.62,-950.324,132.549,3.26377,120,0,0,100,0), +(29000144,16356,0,0,0,'0',0,0,0,-1,0,1,-8018.83,-972.995,122.73,5.63741,120,0,0,100,0), +(29000145,16356,0,0,0,'0',0,0,0,-1,0,1,-8019.33,-2405.6,124.062,4.03171,120,0,0,100,0), +(29000146,16356,0,0,0,'0',0,0,0,-1,0,1,-8019.44,-1026.2,130.085,4.46804,120,0,0,100,0), +(29000147,16356,0,0,0,'0',0,0,0,-1,0,1,-8019.59,-2417.85,125.19,2.80997,120,0,0,100,0), +(29000148,16356,0,0,0,'0',0,0,0,-1,0,1,-8047.03,-1037.13,122.743,4.20625,120,0,0,100,0), +(29000149,16356,0,0,0,'0',0,0,0,-1,0,1,-8053.54,-977.332,132.213,2.23402,120,0,0,100,0), +(29000150,16356,0,0,0,'0',0,0,0,-1,0,1,-8357.42,-941.79,196.902,1.85005,120,0,0,100,0), +(29000151,16356,0,0,0,'0',0,0,0,-1,0,1,-8358.7,-1274.18,212.731,3.03684,120,0,0,100,0), +(29000152,16356,0,0,0,'0',0,0,0,-1,0,1,-8359.42,-992.785,185.469,1.88495,120,0,0,100,0), +(29000153,16356,0,0,0,'0',0,0,0,-1,0,1,-8361.33,-1242.17,191.948,4.20625,120,0,0,100,0), +(29000154,16356,0,0,0,'0',0,0,0,-1,0,1,-8362.64,-977.057,187.058,5.63741,120,0,0,100,0), +(29000155,16356,0,0,0,'0',0,0,0,-1,0,1,-8366.68,-950.877,194.8,2.00713,120,0,0,100,0), +(29000156,16356,0,0,0,'0',0,0,0,-1,0,1,-8369.19,-1256.53,197.905,4.46804,120,0,0,100,0), +(29000157,16356,0,0,0,'0',0,0,0,-1,0,1,-8371.06,-927.954,206.34,5.81195,120,0,0,100,0), +(29000158,16356,0,0,0,'0',0,0,0,-1,0,1,-8356.6,-966.806,188.383,1.8675,120,0,0,100,0), +(29000159,16356,0,0,0,'0',0,0,0,-1,0,1,-8354.76,-925.623,207.732,4.46804,120,0,0,100,0), +(29000160,16356,0,0,0,'0',0,0,0,-1,0,1,-8350.88,-954.868,191.154,0.715585,120,0,0,100,0), +(29000161,16356,0,0,0,'0',0,0,0,-1,0,1,-8058,-1007.02,130.824,1.88495,120,0,0,100,0), +(29000162,16356,0,0,0,'0',0,0,0,-1,0,1,-8058.14,-994.36,131.377,2.00713,120,0,0,100,0), +(29000163,16356,0,0,0,'0',0,0,0,-1,0,1,-8070.64,-997.174,132.958,0.506145,120,0,0,100,0), +(29000164,16356,0,0,0,'0',0,0,0,-1,0,1,-8078.88,-1017.77,132.302,1.37881,120,0,0,100,0), +(29000165,16356,0,0,0,'0',0,0,0,-1,0,1,-8333.76,-976.666,184.352,1.37881,120,0,0,100,0), +(29000166,16356,0,0,0,'0',0,0,0,-1,0,1,-8340.74,-963.852,188.287,5.53269,120,0,0,100,0), +(29000167,16356,0,0,0,'0',0,0,0,-1,0,1,-8347.13,-990.8,183.778,4.46804,120,0,0,100,0), +(29000168,16356,0,0,0,'0',0,0,0,-1,0,1,-8349.12,-977.729,185.528,1.95477,120,0,0,100,0), +(29000169,16386,0,0,0,'0',0,0,0,-1,0,1,-7647.04,-2547.52,151.049,2.60054,120,0,0,100,0), +(29000170,16386,0,0,0,'0',0,0,0,-1,0,1,-7733.57,-2299.61,157.64,2.60054,120,0,0,100,0), +(29000171,16386,0,0,0,'0',0,0,0,-1,0,1,-7899.5,-2433.15,153.734,2.60054,120,0,0,100,0), +(29000172,16386,0,0,0,'0',0,0,0,-1,0,1,-8100.71,-1033.66,158.131,2.60054,120,0,0,100,0), +(29000173,16386,0,0,0,'0',0,0,0,-1,0,1,-8320.97,-1001.09,193.758,2.60054,120,0,0,100,0), +(29000174,16386,0,0,0,'0',0,0,0,-1,0,1,-8333.14,-1217.13,197.564,2.60054,120,0,0,100,0), +(29000175,16398,0,0,0,'0',0,0,0,-1,0,1,-7693.2,-2489.52,187.512,4.10152,120,0,0,100,0), +(29000176,16398,0,0,0,'0',0,0,0,-1,0,1,-7733.7,-2366.28,173.029,4.10152,120,0,0,100,0), +(29000177,16398,0,0,0,'0',0,0,0,-1,0,1,-7816.48,-2433.53,177.415,4.10152,120,0,0,100,0), +(29000178,16398,0,0,0,'0',0,0,0,-1,0,1,-8177.04,-1073.41,180.32,4.10152,120,0,0,100,0), +(29000179,16398,0,0,0,'0',0,0,0,-1,0,1,-8266.16,-1067.22,193.666,4.10152,120,0,0,100,0), +(29000180,16398,0,0,0,'0',0,0,0,-1,0,1,-8267.19,-1166.55,195.599,4.10152,120,0,0,100,0), +(29000181,16401,0,0,0,'0',0,0,0,-1,0,1,-8232.78,-1099.86,201.572,5.18363,120,0,0,100,0), +(29000182,16401,0,0,0,'0',0,0,0,-1,0,1,-7733.71,-2432.74,190.869,2.67035,120,0,0,100,0), +(29000183,16421,0,0,0,'0',0,0,0,-1,0,1,-8232.78,-1099.86,201.572,5.18363,120,0,0,100,0), +(29000184,16421,0,0,0,'0',0,0,0,-1,0,1,-7733.71,-2432.74,190.869,2.67035,120,0,0,100,0), +(29000185,16395,0,0,0,'0',0,0,0,-1,0,1,-8834.53,643.027,95.2532,4.32842,120,0,0,100,0), +(29000186,16395,0,0,0,'0',0,0,0,-1,0,1,-4888.24,-945.974,501.549,2.86191,120,0,0,100,0), +(29000187,16395,0,0,0,'0',0,0,0,-1,0,1,2251.9,-5310.87,82.2506,2.37365,120,0,0,100,0), +(29000188,16395,1,0,0,'0',0,0,0,-1,0,1,9908.96,2521.1,1316.48,0.122173,120,0,0,100,0), +(29000189,16384,0,0,0,'0',0,0,0,-1,0,1,1584.52,248.001,-61.994,3.08923,120,0,0,100,0), +(29000190,16384,1,0,0,'0',0,0,0,-1,0,1,-1256.82,75.1629,127.892,4.18879,120,0,0,100,0), +(29000191,16384,1,0,0,'0',0,0,0,-1,0,1,1581.37,-4411.9,7.4357,2.47837,120,0,0,100,0), +(29000192,16433,0,0,0,'0',0,0,0,-1,0,1,-8834.53,643.027,95.2532,4.32842,120,0,0,100,0), +(29000193,16433,0,0,0,'0',0,0,0,-1,0,1,-4888.24,-945.974,501.549,2.86191,120,0,0,100,0), +(29000194,16433,0,0,0,'0',0,0,0,-1,0,1,2251.9,-5310.87,82.2506,2.37365,120,0,0,100,0), +(29000195,16433,1,0,0,'0',0,0,0,-1,0,1,9908.96,2521.1,1316.48,0.122173,120,0,0,100,0), +(29000196,16435,0,0,0,'0',0,0,0,-1,0,1,1584.52,248.001,-61.994,3.08923,120,0,0,100,0), +(29000197,16435,1,0,0,'0',0,0,0,-1,0,1,-1256.82,75.1629,127.892,4.18879,120,0,0,100,0), +(29000198,16435,1,0,0,'0',0,0,0,-1,0,1,1581.37,-4411.9,7.4357,2.47837,120,0,0,100,0), +(29000199,16434,0,0,0,'0',0,0,0,-1,0,1,-8834.53,643.027,95.2532,4.32842,120,0,0,100,0), +(29000200,16434,0,0,0,'0',0,0,0,-1,0,1,-4888.24,-945.974,501.549,2.86191,120,0,0,100,0), +(29000201,16434,0,0,0,'0',0,0,0,-1,0,1,2251.9,-5310.87,82.2506,2.37365,120,0,0,100,0), +(29000202,16434,1,0,0,'0',0,0,0,-1,0,1,9908.96,2521.1,1316.48,0.122173,120,0,0,100,0), +(29000203,16436,0,0,0,'0',0,0,0,-1,0,1,1584.52,248.001,-61.994,3.08923,120,0,0,100,0), +(29000204,16436,1,0,0,'0',0,0,0,-1,0,1,-1256.82,75.1629,127.892,4.18879,120,0,0,100,0), +(29000205,16436,1,0,0,'0',0,0,0,-1,0,1,1581.37,-4411.9,7.4357,2.47837,120,0,0,100,0); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) VALUES +(29000213,16422,0,0,0,'0',0,0,0,-1,0,1,-9225.41,354.81,73.3402,0.366519,300,3,0,100,1), +(29000214,16422,0,0,0,'0',0,0,0,-1,0,1,-9226.52,257.796,72.3674,5.27089,300,3,0,100,1), +(29000215,16422,0,0,0,'0',0,0,0,-1,0,1,-9223.56,323.409,73.3968,2.61799,300,3,0,100,1), +(29000216,16422,0,0,0,'0',0,0,0,-1,0,1,-9214.36,360.779,72.6132,2.03618,300,3,0,100,1), +(29000217,16422,0,0,0,'0',0,0,0,-1,0,1,-9209.55,353.762,73.849,1.23918,300,3,0,100,1), +(29000218,16422,0,0,0,'0',0,0,0,-1,0,1,-9208.3,324.625,73.6151,3.94444,300,3,0,100,1), +(29000219,16422,0,0,0,'0',0,0,0,-1,0,1,-9207.19,255.207,73.9707,4.55531,300,3,0,100,1), +(29000220,16422,0,0,0,'0',0,0,0,-1,0,1,-9206.37,426.964,89.4854,4.14536,300,3,0,100,1), +(29000221,16422,0,0,0,'0',0,0,0,-1,0,1,-9190.32,424.626,91.5562,4.03192,300,3,0,100,1), +(29000222,16422,0,0,0,'0',0,0,0,-1,0,1,-9172.39,408.574,89.669,0.600246,300,3,0,100,1), +(29000223,16422,0,0,0,'0',0,0,0,-1,0,1,-9156.01,408.665,92.177,4.84357,300,3,0,100,1), +(29000224,16422,0,0,0,'0',0,0,0,-1,0,1,-9153.97,408.422,92.5331,2.76085,300,3,0,100,1), +(29000225,16422,0,0,0,'0',0,0,0,-1,0,1,-9139.32,340.707,92.0264,1.01229,300,3,0,100,1), +(29000226,16422,0,0,0,'0',0,0,0,-1,0,1,-9123.93,308.548,93.2522,4.09884,300,3,0,100,1), +(29000227,16422,0,0,0,'0',0,0,0,-1,0,1,-9109.42,357.807,93.6503,2.70421,300,3,0,100,1), +(29000228,16422,0,0,0,'0',0,0,0,-1,0,1,-9108.85,325.219,93.3783,4.01843,300,3,0,100,1), +(29000229,16422,0,0,0,'0',0,0,0,-1,0,1,-9110.32,341.523,93.5801,0.01802,300,3,0,100,1), +(29000230,16422,0,0,0,'0',0,0,0,-1,0,1,-9094.11,308.377,94.9155,2.21233,300,3,0,100,1), +(29000231,16422,0,0,0,'0',0,0,0,-1,0,1,-9076.53,355.622,94.0187,4.85548,300,3,0,100,1), +(29000232,16422,0,0,0,'0',0,0,0,-1,0,1,-9074.97,304.922,92.7926,1.58089,300,3,0,100,1), +(29000233,16422,0,0,0,'0',0,0,0,-1,0,1,-9073.69,339.895,93.1489,1.05052,300,3,0,100,1), +(29000234,16422,0,0,0,'0',0,0,0,-1,0,1,-9066.52,324.993,93.4538,1.60096,300,3,0,100,1), +(29000235,16422,0,0,0,'0',0,0,0,-1,0,1,-9060.14,340.087,93.8768,2.11632,300,3,0,100,1), +(29000236,16422,0,0,0,'0',0,0,0,-1,0,1,1958.5,307.881,40.707,1.94406,300,3,0,100,1), +(29000237,16422,0,0,0,'0',0,0,0,-1,0,1,1974.25,341.438,41.4593,1.05711,300,3,0,100,1), +(29000238,16422,0,0,0,'0',0,0,0,-1,0,1,1977.65,323.949,39.8178,2.22497,300,3,0,100,1), +(29000239,16422,0,0,0,'0',0,0,0,-1,0,1,1992.23,291.987,45.7473,4.00686,300,3,0,100,1), +(29000240,16422,0,0,0,'0',0,0,0,-1,0,1,2009.02,309.944,44.3937,4.32473,300,3,0,100,1), +(29000241,16422,0,0,0,'0',0,0,0,-1,0,1,2007.28,277.22,47.5046,1.14734,300,3,0,100,1), +(29000242,16422,0,0,0,'0',0,0,0,-1,0,1,2011.66,322.469,43.3085,1.44862,300,3,0,100,1), +(29000243,16422,0,0,0,'0',0,0,0,-1,0,1,2011.09,343.75,41.5145,1.23853,300,3,0,100,1), +(29000244,16422,0,0,0,'0',0,0,0,-1,0,1,2025.8,310.15,48.1345,3.89455,300,3,0,100,1), +(29000245,16422,0,0,0,'0',0,0,0,-1,0,1,2025.08,293.85,50.4982,3.73421,300,3,0,100,1), +(29000246,16423,0,0,0,'0',0,0,0,-1,0,1,-9241.08,322.691,74.4411,3.57792,300,3,0,100,1), +(29000247,16423,0,0,0,'0',0,0,0,-1,0,1,-9226.37,306.575,74.5378,2.75762,300,3,0,100,1), +(29000248,16423,0,0,0,'0',0,0,0,-1,0,1,-9225.49,373.623,73.1641,5.89921,300,3,0,100,1), +(29000249,16423,0,0,0,'0',0,0,0,-1,0,1,-9222.97,409.064,86.3431,4.76326,300,3,0,100,1), +(29000250,16423,0,0,0,'0',0,0,0,-1,0,1,-9223.56,339.456,73.8513,4.71239,300,3,0,100,1), +(29000251,16423,0,0,0,'0',0,0,0,-1,0,1,-9219.44,365.277,72.2192,5.93848,300,3,0,100,1), +(29000252,16423,0,0,0,'0',0,0,0,-1,0,1,-9208.61,307.017,74.7344,2.75762,300,3,0,100,1), +(29000253,16423,0,0,0,'0',0,0,0,-1,0,1,-9207.78,339.332,72.7628,3.07178,300,3,0,100,1), +(29000254,16423,0,0,0,'0',0,0,0,-1,0,1,-9192.88,357.69,75.1755,0.087266,300,3,0,100,1), +(29000255,16423,0,0,0,'0',0,0,0,-1,0,1,-9190.56,374.964,74.6175,5.61996,300,3,0,100,1), +(29000256,16423,0,0,0,'0',0,0,0,-1,0,1,-9173.54,393.35,85.455,3.99305,300,3,0,100,1), +(29000257,16423,0,0,0,'0',0,0,0,-1,0,1,-9126.39,325.608,93.5681,5.57384,300,3,0,100,1), +(29000258,16423,0,0,0,'0',0,0,0,-1,0,1,-9127.29,339.268,93.9964,1.05193,300,3,0,100,1), +(29000259,16423,0,0,0,'0',0,0,0,-1,0,1,-9125.72,356.334,93.168,3.68107,300,3,0,100,1), +(29000260,16423,0,0,0,'0',0,0,0,-1,0,1,-9108.16,308.57,93.9508,5.85173,300,3,0,100,1), +(29000261,16423,0,0,0,'0',0,0,0,-1,0,1,-9091.68,341.222,94.2467,4.92252,300,3,0,100,1), +(29000262,16423,0,0,0,'0',0,0,0,-1,0,1,-9091.55,326.751,94.2161,0.877631,300,3,0,100,1), +(29000263,16423,0,0,0,'0',0,0,0,-1,0,1,-9059.74,357.756,93.1185,0.062981,300,3,0,100,1), +(29000264,16423,0,0,0,'0',0,0,0,-1,0,1,-9047.96,339.823,94.8636,0.472567,300,3,0,100,1), +(29000265,16423,0,0,0,'0',0,0,0,-1,0,1,-9045.48,355.503,94.379,4.06777,300,3,0,100,1), +(29000266,16423,0,0,0,'0',0,0,0,-1,0,1,-9044,323.21,93.7645,3.66519,300,3,0,100,1), +(29000267,16423,0,0,0,'0',0,0,0,-1,0,1,1959.11,339.51,39.5347,3.07178,300,3,0,100,1), +(29000268,16423,0,0,0,'0',0,0,0,-1,0,1,1959.47,324.664,39.1019,5.89921,300,3,0,100,1), +(29000269,16423,0,0,0,'0',0,0,0,-1,0,1,1975.08,310.348,41.0603,4.04916,300,3,0,100,1), +(29000270,16423,0,0,0,'0',0,0,0,-1,0,1,1977.61,292.986,41.515,5.68878,300,3,0,100,1), +(29000271,16423,0,0,0,'0',0,0,0,-1,0,1,1992.29,277.838,47.1022,2.48893,300,3,0,100,1), +(29000272,16423,0,0,0,'0',0,0,0,-1,0,1,1990.49,345.272,40.0696,1.65913,300,3,0,100,1), +(29000273,16423,0,0,0,'0',0,0,0,-1,0,1,1992.55,310.513,41.3644,4.70379,300,3,0,100,1), +(29000274,16423,0,0,0,'0',0,0,0,-1,0,1,1997.95,299.77,44.6081,0.692723,300,3,0,100,1), +(29000275,16423,0,0,0,'0',0,0,0,-1,0,1,2001.88,329.076,40.9497,5.48828,300,3,0,100,1), +(29000276,16423,0,0,0,'0',0,0,0,-1,0,1,2010.31,292.357,47.9491,5.46729,300,3,0,100,1), +(29000277,16423,0,0,0,'0',0,0,0,-1,0,1,2025.48,326.184,46.5013,3.27346,300,3,0,100,1), +(29000278,16423,0,0,0,'0',0,0,0,-1,0,1,2041.46,326.857,50.2251,2.88294,300,3,0,100,1), +(29000279,16437,0,0,0,'0',0,0,0,-1,0,1,-5208.49,-576.049,400.961,4.15947,300,3,0,100,1), +(29000280,16437,0,0,0,'0',0,0,0,-1,0,1,-5193.44,-608.284,398.297,0.593264,300,3,0,100,1), +(29000281,16437,0,0,0,'0',0,0,0,-1,0,1,-5193.28,-638.902,403.036,3.00478,300,3,0,100,1), +(29000282,16437,0,0,0,'0',0,0,0,-1,0,1,-5194.43,-559.338,396.88,1.14633,300,3,0,100,1), +(29000283,16437,0,0,0,'0',0,0,0,-1,0,1,-5193.22,-574.374,398.728,5.74848,300,3,0,100,1), +(29000284,16437,0,0,0,'0',0,0,0,-1,0,1,-5176.13,-624.952,396.463,5.98386,300,3,0,100,1), +(29000285,16437,0,0,0,'0',0,0,0,-1,0,1,-5172.85,-666.148,408.721,1.18356,300,3,0,100,1), +(29000286,16437,0,0,0,'0',0,0,0,-1,0,1,-5159.11,-659.359,401.477,0.618696,300,3,0,100,1), +(29000287,16437,0,0,0,'0',0,0,0,-1,0,1,-5159.66,-606.987,399.423,5.30307,300,3,0,100,1), +(29000288,16437,0,0,0,'0',0,0,0,-1,0,1,-5157.64,-589.138,399.107,0.092925,300,3,0,100,1), +(29000289,16437,0,0,0,'0',0,0,0,-1,0,1,-5141.73,-625.044,396,2.51587,300,3,0,100,1), +(29000290,16437,0,0,0,'0',0,0,0,-1,0,1,-5138.2,-640.783,396.344,3.21955,300,3,0,100,1), +(29000291,16437,0,0,0,'0',0,0,0,-1,0,1,-5126.87,-672.696,408.134,2.83411,300,3,0,100,1), +(29000292,16437,0,0,0,'0',0,0,0,-1,0,1,-5125.61,-572.409,403.128,4.56886,300,3,0,100,1), +(29000293,16437,0,0,0,'0',0,0,0,-1,0,1,-5124.48,-608.489,398.888,0.292252,300,3,0,100,1), +(29000294,16438,0,0,0,'0',0,0,0,-1,0,1,-5208.71,-611.287,404.816,2.63866,300,3,0,100,1), +(29000295,16438,0,0,0,'0',0,0,0,-1,0,1,-5210.41,-609.386,405.456,1.57275,300,3,0,100,1), +(29000296,16438,0,0,0,'0',0,0,0,-1,0,1,-5193.83,-589.28,398.769,0.75173,300,3,0,100,1), +(29000297,16438,0,0,0,'0',0,0,0,-1,0,1,-5191.06,-623.539,399.448,5.84918,300,3,0,100,1), +(29000298,16438,0,0,0,'0',0,0,0,-1,0,1,-5193.07,-661.447,413.937,3.61884,300,3,0,100,1), +(29000299,16438,0,0,0,'0',0,0,0,-1,0,1,-5176.3,-591.736,397.886,4.81711,300,3,0,100,1), +(29000300,16438,0,0,0,'0',0,0,0,-1,0,1,-5178.42,-553.342,398.102,2.9553,300,3,0,100,1), +(29000301,16438,0,0,0,'0',0,0,0,-1,0,1,-5177.64,-647.163,401.092,1.63087,300,3,0,100,1), +(29000302,16438,0,0,0,'0',0,0,0,-1,0,1,-5173.32,-574.801,396.83,4.19687,300,3,0,100,1), +(29000303,16438,0,0,0,'0',0,0,0,-1,0,1,-5172.09,-606.646,397.746,3.72271,300,3,0,100,1), +(29000304,16438,0,0,0,'0',0,0,0,-1,0,1,-5158.14,-641.97,395.852,0.041827,300,3,0,100,1), +(29000305,16438,0,0,0,'0',0,0,0,-1,0,1,-5157.45,-574.434,398.998,4.903,300,3,0,100,1), +(29000306,16438,0,0,0,'0',0,0,0,-1,0,1,-5157.25,-624.006,396.869,0.585034,300,3,0,100,1), +(29000307,16438,0,0,0,'0',0,0,0,-1,0,1,-5143.07,-588.042,399.502,2.62044,300,3,0,100,1), +(29000308,16438,0,0,0,'0',0,0,0,-1,0,1,-5144.77,-609.512,398.967,4.495,300,3,0,100,1), +(29000309,16438,0,0,0,'0',0,0,0,-1,0,1,-5141.23,-659.017,401.799,4.33643,300,3,0,100,1), +(29000310,16437,1,0,0,'0',0,0,0,-1,0,1,-1575.6,44.6215,1.63601,3.02242,300,3,0,100,1), +(29000311,16437,1,0,0,'0',0,0,0,-1,0,1,-1574.84,77.7345,-7.23697,2.74253,300,3,0,100,1), +(29000312,16437,1,0,0,'0',0,0,0,-1,0,1,-1575.05,23.9854,4.85027,4.3839,300,3,0,100,1), +(29000313,16437,1,0,0,'0',0,0,0,-1,0,1,-1558.53,41.1742,7.06617,1.16937,300,3,0,100,1), +(29000314,16437,1,0,0,'0',0,0,0,-1,0,1,-1557.58,-22.776,8.83432,0.884217,300,3,0,100,1), +(29000315,16437,1,0,0,'0',0,0,0,-1,0,1,-1542.25,57.6243,3.68054,3.77022,300,3,0,100,1), +(29000316,16437,1,0,0,'0',0,0,0,-1,0,1,-1541.86,89.9928,-0.836067,0.837758,300,3,0,100,1), +(29000317,16437,1,0,0,'0',0,0,0,-1,0,1,-1541.74,24.4095,12.7886,3.24659,300,3,0,100,1), +(29000318,16437,1,0,0,'0',0,0,0,-1,0,1,-1523.54,54.8383,6.13107,0.125006,300,3,0,100,1), +(29000319,16437,1,0,0,'0',0,0,0,-1,0,1,-1523.32,42.4703,10.2417,0.774447,300,3,0,100,1), +(29000320,16437,1,0,0,'0',0,0,0,-1,0,1,-1509.16,92.1356,3.19217,4.27606,300,3,0,100,1), +(29000321,16437,1,0,0,'0',0,0,0,-1,0,1,-1506.54,76.2188,6.25629,0.750718,300,3,0,100,1), +(29000322,16437,1,0,0,'0',0,0,0,-1,0,1,-1489.36,58.1138,12.7463,2.78068,300,3,0,100,1), +(29000323,16437,1,0,0,'0',0,0,0,-1,0,1,-1489.11,91.5441,6.36338,5.49487,300,3,0,100,1), +(29000324,16437,1,0,0,'0',0,0,0,-1,0,1,-1475.24,7.83225,26.2654,0.361255,300,3,0,100,1), +(29000325,16437,1,0,0,'0',0,0,0,-1,0,1,1147.36,-4324.34,23.8895,2.57482,300,3,0,100,1), +(29000326,16437,1,0,0,'0',0,0,0,-1,0,1,1156.1,-4343.53,25.8797,1.78485,300,3,0,100,1), +(29000327,16437,1,0,0,'0',0,0,0,-1,0,1,1173.62,-4308.4,20.8017,4.50295,300,3,0,100,1), +(29000328,16437,1,0,0,'0',0,0,0,-1,0,1,1171.95,-4342.67,25.3053,5.77195,300,3,0,100,1), +(29000329,16437,1,0,0,'0',0,0,0,-1,0,1,1189.68,-4321.83,21.7062,2.60527,300,3,0,100,1), +(29000330,16437,1,0,0,'0',0,0,0,-1,0,1,1191.45,-4286.37,21.2201,0.593412,300,3,0,100,1), +(29000331,16437,1,0,0,'0',0,0,0,-1,0,1,1191.08,-4357.62,27.749,2.41905,300,3,0,100,1), +(29000332,16437,1,0,0,'0',0,0,0,-1,0,1,1204.55,-4339.09,25.5045,5.52536,300,3,0,100,1), +(29000333,16437,1,0,0,'0',0,0,0,-1,0,1,1207.68,-4287.86,22.485,3.83972,300,3,0,100,1), +(29000334,16437,1,0,0,'0',0,0,0,-1,0,1,1210.3,-4323.29,23.2734,1.10274,300,3,0,100,1), +(29000335,16437,1,0,0,'0',0,0,0,-1,0,1,1218.33,-4331.81,24.9515,5.08237,300,3,0,100,1), +(29000336,16437,1,0,0,'0',0,0,0,-1,0,1,1226.92,-4325.25,25.8494,2.14814,300,3,0,100,1), +(29000337,16437,1,0,0,'0',0,0,0,-1,0,1,1227.44,-4308.01,25.112,4.36058,300,3,0,100,1), +(29000338,16437,1,0,0,'0',0,0,0,-1,0,1,1231.62,-4348.39,28.4913,3.41079,300,3,0,100,1), +(29000339,16437,1,0,0,'0',0,0,0,-1,0,1,1243.96,-4358.3,30.9391,3.97935,300,3,0,100,1), +(29000340,16437,1,0,0,'0',0,0,0,-1,0,1,1242.5,-4308.1,28.4669,1.46432,300,3,0,100,1), +(29000341,16437,1,0,0,'0',0,0,0,-1,0,1,1258.84,-4373.13,28.7774,3.82573,300,3,0,100,1), +(29000342,16437,1,0,0,'0',0,0,0,-1,0,1,9873.98,1881.84,1325.2,1.74748,300,3,0,100,1), +(29000343,16437,1,0,0,'0',0,0,0,-1,0,1,9873.22,1860.1,1319.36,0.150392,300,3,0,100,1), +(29000344,16437,1,0,0,'0',0,0,0,-1,0,1,9894.58,1873.58,1320.51,2.22655,300,3,0,100,1), +(29000345,16437,1,0,0,'0',0,0,0,-1,0,1,9907.36,1840.28,1319.96,5.66048,300,3,0,100,1), +(29000346,16437,1,0,0,'0',0,0,0,-1,0,1,9907.63,1890.99,1323.66,3.76371,300,3,0,100,1), +(29000347,16437,1,0,0,'0',0,0,0,-1,0,1,9920.43,1906.32,1327.07,3.98254,300,3,0,100,1), +(29000348,16437,1,0,0,'0',0,0,0,-1,0,1,9924.32,1824.72,1324.44,4.05846,300,3,0,100,1), +(29000349,16437,1,0,0,'0',0,0,0,-1,0,1,9923.78,1878.97,1324.58,5.44933,300,3,0,100,1), +(29000350,16437,1,0,0,'0',0,0,0,-1,0,1,9927.95,1861.29,1322.51,3.68901,300,3,0,100,1), +(29000351,16437,1,0,0,'0',0,0,0,-1,0,1,9940.23,1954.28,1335.71,0.020871,300,3,0,100,1), +(29000352,16437,1,0,0,'0',0,0,0,-1,0,1,9939.2,1924.07,1329.66,5.9987,300,3,0,100,1), +(29000353,16437,1,0,0,'0',0,0,0,-1,0,1,9940.2,1939.91,1330.9,3.65807,300,3,0,100,1), +(29000354,16437,1,0,0,'0',0,0,0,-1,0,1,9943.01,1888.31,1327.05,1.66524,300,3,0,100,1), +(29000355,16437,1,0,0,'0',0,0,0,-1,0,1,9954.81,1943.21,1328.8,0.05236,300,3,0,100,1), +(29000356,16437,1,0,0,'0',0,0,0,-1,0,1,9957.71,1925.8,1327.6,5.77138,300,3,0,100,1), +(29000357,16438,1,0,0,'0',0,0,0,-1,0,1,-1593.79,23.9679,-0.107843,5.18309,300,3,0,100,1), +(29000358,16438,1,0,0,'0',0,0,0,-1,0,1,-1592.87,57.2176,-8.33858,5.88176,300,3,0,100,1), +(29000359,16438,1,0,0,'0',0,0,0,-1,0,1,-1593.03,41.182,-3.30581,0.878813,300,3,0,100,1), +(29000360,16438,1,0,0,'0',0,0,0,-1,0,1,-1573.32,61.2735,-2.99172,4.41404,300,3,0,100,1), +(29000361,16438,1,0,0,'0',0,0,0,-1,0,1,-1559.1,24.0625,8.7196,1.91986,300,3,0,100,1), +(29000362,16438,1,0,0,'0',0,0,0,-1,0,1,-1558.06,57.5885,2.02549,5.03573,300,3,0,100,1), +(29000363,16438,1,0,0,'0',0,0,0,-1,0,1,-1557.8,76.2171,-3.3495,0.536828,300,3,0,100,1), +(29000364,16438,1,0,0,'0',0,0,0,-1,0,1,-1543.48,42.5353,8.50159,2.76799,300,3,0,100,1), +(29000365,16438,1,0,0,'0',0,0,0,-1,0,1,-1540.14,-22.9825,13.7193,2.99244,300,3,0,100,1), +(29000366,16438,1,0,0,'0',0,0,0,-1,0,1,-1539.75,76.8899,0.381858,2.72271,300,3,0,100,1), +(29000367,16438,1,0,0,'0',0,0,0,-1,0,1,-1523.47,76.5106,3.67229,5.12642,300,3,0,100,1), +(29000368,16438,1,0,0,'0',0,0,0,-1,0,1,-1523.79,26.224,14.3512,4.93879,300,3,0,100,1), +(29000369,16438,1,0,0,'0',0,0,0,-1,0,1,-1508.9,42.3158,11.5504,2.42609,300,3,0,100,1), +(29000370,16438,1,0,0,'0',0,0,0,-1,0,1,-1507.54,58.8243,8.78051,3.86994,300,3,0,100,1), +(29000371,16438,1,0,0,'0',0,0,0,-1,0,1,-1488.71,76.3296,9.2439,1.40822,300,3,0,100,1), +(29000372,16438,1,0,0,'0',0,0,0,-1,0,1,1155.88,-4309.86,20.9188,3.81997,300,3,0,100,1), +(29000373,16438,1,0,0,'0',0,0,0,-1,0,1,1172.73,-4327.02,22.0216,1.09122,300,3,0,100,1), +(29000374,16438,1,0,0,'0',0,0,0,-1,0,1,1173.75,-4283.53,20.7698,0.408861,300,3,0,100,1), +(29000375,16438,1,0,0,'0',0,0,0,-1,0,1,1175.07,-4357.89,26.8588,5.32325,300,3,0,100,1), +(29000376,16438,1,0,0,'0',0,0,0,-1,0,1,1189.31,-4343.56,25.8441,4.3805,300,3,0,100,1), +(29000377,16438,1,0,0,'0',0,0,0,-1,0,1,1192.17,-4306.93,21.2328,3.55576,300,3,0,100,1), +(29000378,16438,1,0,0,'0',0,0,0,-1,0,1,1209.29,-4358.01,27.4716,0.748028,300,3,0,100,1), +(29000379,16438,1,0,0,'0',0,0,0,-1,0,1,1209.36,-4310.8,22.9504,5.41146,300,3,0,100,1), +(29000380,16438,1,0,0,'0',0,0,0,-1,0,1,1223.94,-4355.67,27.427,1.88376,300,3,0,100,1), +(29000381,16438,1,0,0,'0',0,0,0,-1,0,1,1225.33,-4341.79,26.5733,3.82625,300,3,0,100,1), +(29000382,16438,1,0,0,'0',0,0,0,-1,0,1,1224.77,-4287.22,23.3625,3.3798,300,3,0,100,1), +(29000383,16438,1,0,0,'0',0,0,0,-1,0,1,1226.42,-4372.58,28.7022,1.99807,300,3,0,100,1), +(29000384,16438,1,0,0,'0',0,0,0,-1,0,1,1230.64,-4338.64,27.7799,4.26455,300,3,0,100,1), +(29000385,16438,1,0,0,'0',0,0,0,-1,0,1,1240.89,-4325.15,29.9222,0.398358,300,3,0,100,1), +(29000386,16438,1,0,0,'0',0,0,0,-1,0,1,1244.84,-4374.43,27.9372,5.04125,300,3,0,100,1), +(29000387,16438,1,0,0,'0',0,0,0,-1,0,1,1246.95,-4385.95,28.4688,4.33315,300,3,0,100,1), +(29000388,16438,1,0,0,'0',0,0,0,-1,0,1,9872.75,1869.78,1322.73,1.03947,300,3,0,100,1), +(29000389,16438,1,0,0,'0',0,0,0,-1,0,1,9889.47,1860.38,1317.56,5.09769,300,3,0,100,1), +(29000390,16438,1,0,0,'0',0,0,0,-1,0,1,9892.34,1844.96,1319.13,4.72984,300,3,0,100,1), +(29000391,16438,1,0,0,'0',0,0,0,-1,0,1,9907.55,1872.97,1320.55,1.79572,300,3,0,100,1), +(29000392,16438,1,0,0,'0',0,0,0,-1,0,1,9906.6,1860.25,1319.66,0.255044,300,3,0,100,1), +(29000393,16438,1,0,0,'0',0,0,0,-1,0,1,9923.62,1891.61,1326.37,4.13039,300,3,0,100,1), +(29000394,16438,1,0,0,'0',0,0,0,-1,0,1,9926.43,1959.37,1339.14,4.4009,300,3,0,100,1), +(29000395,16438,1,0,0,'0',0,0,0,-1,0,1,9925.01,1938.92,1331.95,0.582976,300,3,0,100,1), +(29000396,16438,1,0,0,'0',0,0,0,-1,0,1,9926.35,1840.37,1323.2,2.17947,300,3,0,100,1), +(29000397,16438,1,0,0,'0',0,0,0,-1,0,1,9941.27,1875.73,1325.67,0.542241,300,3,0,100,1), +(29000398,16438,1,0,0,'0',0,0,0,-1,0,1,9942.75,1859.53,1324.35,3.97699,300,3,0,100,1), +(29000399,16438,1,0,0,'0',0,0,0,-1,0,1,9958.77,1904.66,1326.6,2.12705,300,3,0,100,1), +(29000400,16438,1,0,0,'0',0,0,0,-1,0,1,9960.69,1873.77,1324.49,3.40416,300,3,0,100,1), +(29000401,16438,1,0,0,'0',0,0,0,-1,0,1,9972.98,1926.66,1326.75,2.7647,300,3,0,100,1), +(29000402,16438,1,0,0,'0',0,0,0,-1,0,1,9972.37,1941.5,1327.35,0.409531,300,3,0,100,1), +(29000403,16438,1,0,0,'0',0,0,0,-1,0,1,9976.26,1942.55,1326.42,0.085005,300,3,0,100,1), +(29000404,16438,1,0,0,'0',0,0,0,-1,0,1,9976.3,1942.98,1326.32,0.984199,300,3,0,100,1), +(29000406,16995,0,0,0,'0',0,0,0,-1,0,1,-4978.74,-886.326,501.719,4.11898,120,0,0,100,0), +(29000407,16995,0,0,0,'0',0,0,0,-1,0,1,1805.6,238.504,62.837,4.41568,120,0,0,100,0), +(29000417,16995,0,0,0,'0',0,0,0,-1,0,1,-8955.74,570.615,93.878,0.087266,120,0,0,100,0), +(29000428,16995,1,0,0,'0',0,0,0,-1,0,1,1488.39,-4415.53,23.7461,5.06145,120,0,0,100,0), +(29000432,16995,1,0,0,'0',0,0,0,-1,0,1,-1300.34,173.278,68.6351,4.18879,120,0,0,100,0), +(29000438,16995,1,0,0,'0',0,0,0,-1,0,1,9952.88,2246.56,1334.5,4.24115,120,0,0,100,0), +(29000444,16356,1,0,0,'0',0,0,0,-1,0,1,7803.92,-4223.38,676.976,2.00713,120,0,0,100,0), +(29000445,16356,1,0,0,'0',0,0,0,-1,0,1,7692.21,-3843.77,688.606,4.46804,120,0,0,100,0); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) VALUES +(29000446,16356,1,0,0,'0',0,0,0,-1,0,1,7688.04,-3897.73,694.276,0.506145,120,0,0,100,0), +(29000447,16356,1,0,0,'0',0,0,0,-1,0,1,7682.71,-3885.57,687.503,0.715585,120,0,0,100,0), +(29000448,16356,1,0,0,'0',0,0,0,-1,0,1,7680.04,-3872.52,686.097,5.63741,120,0,0,100,0), +(29000449,16356,1,0,0,'0',0,0,0,-1,0,1,7678.66,-3914.82,692.927,5.81195,120,0,0,100,0), +(29000450,16356,1,0,0,'0',0,0,0,-1,0,1,7677,-3857.65,685.728,5.53269,120,0,0,100,0), +(29000451,16356,1,0,0,'0',0,0,0,-1,0,1,7667.13,-3911.85,689.31,3.14159,120,0,0,100,0), +(29000452,16356,1,0,0,'0',0,0,0,-1,0,1,7652.64,-3903.16,686.687,1.09956,120,0,0,100,0), +(29000453,16356,1,0,0,'0',0,0,0,-1,0,1,6809.51,-3588.19,715.367,2.23402,120,0,0,100,0), +(29000454,16356,1,0,0,'0',0,0,0,-1,0,1,6803.28,-3609.97,724.075,3.14159,120,0,0,100,0), +(29000455,16356,1,0,0,'0',0,0,0,-1,0,1,7692.97,-3869.9,686.828,1.8675,120,0,0,100,0), +(29000456,16356,1,0,0,'0',0,0,0,-1,0,1,7693.95,-3855.77,687.262,4.04917,120,0,0,100,0), +(29000457,16356,1,0,0,'0',0,0,0,-1,0,1,7795.84,-4235.55,680.31,3.26377,120,0,0,100,0), +(29000458,16356,1,0,0,'0',0,0,0,-1,0,1,7795.27,-4208.93,676.937,6.24828,120,0,0,100,0), +(29000459,16356,1,0,0,'0',0,0,0,-1,0,1,7795.15,-4252.16,684.127,4.06662,120,0,0,100,0), +(29000460,16356,1,0,0,'0',0,0,0,-1,0,1,7789.24,-4224.77,678.404,2.80997,120,0,0,100,0), +(29000461,16356,1,0,0,'0',0,0,0,-1,0,1,7788.19,-4196.17,678.94,1.37881,120,0,0,100,0), +(29000462,16356,1,0,0,'0',0,0,0,-1,0,1,7722.49,-3863.91,692.282,4.20625,120,0,0,100,0), +(29000463,16356,1,0,0,'0',0,0,0,-1,0,1,7709.28,-3870.56,688.726,1.95477,120,0,0,100,0), +(29000464,16356,1,0,0,'0',0,0,0,-1,0,1,7707.08,-3889.23,688.648,4.04917,120,0,0,100,0), +(29000465,16356,1,0,0,'0',0,0,0,-1,0,1,7706.35,-3854.83,690.143,3.26377,120,0,0,100,0), +(29000466,16356,1,0,0,'0',0,0,0,-1,0,1,7696.09,-3920.77,696.934,4.03171,120,0,0,100,0), +(29000467,16356,1,0,0,'0',0,0,0,-1,0,1,6798.58,-3567.63,707.992,4.46804,120,0,0,100,0), +(29000468,16356,1,0,0,'0',0,0,0,-1,0,1,6798.46,-3596.05,715.951,2.00713,120,0,0,100,0), +(29000469,16356,1,0,0,'0',0,0,0,-1,0,1,6795.1,-3623.55,723.573,6.24828,120,0,0,100,0), +(29000470,16356,1,0,0,'0',0,0,0,-1,0,1,6767.9,-3597.28,715.526,1.8675,120,0,0,100,0), +(29000471,16356,1,0,0,'0',0,0,0,-1,0,1,6765.78,-3312.03,670.013,4.03171,120,0,0,100,0), +(29000472,16356,1,0,0,'0',0,0,0,-1,0,1,6761.73,-3369.84,680.471,2.23402,120,0,0,100,0), +(29000473,16356,1,0,0,'0',0,0,0,-1,0,1,6759.54,-3586.78,711.38,1.37881,120,0,0,100,0), +(29000474,16356,1,0,0,'0',0,0,0,-1,0,1,6758.04,-3387.27,681.821,1.37881,120,0,0,100,0), +(29000475,16356,1,0,0,'0',0,0,0,-1,0,1,6757.12,-3329.69,679.008,5.49779,120,0,0,100,0), +(29000476,16356,1,0,0,'0',0,0,0,-1,0,1,6755.89,-3355.38,684.195,5.63741,120,0,0,100,0), +(29000477,16356,1,0,0,'0',0,0,0,-1,0,1,6755.18,-3542.83,695.273,1.09956,120,0,0,100,0), +(29000478,16356,1,0,0,'0',0,0,0,-1,0,1,6751.6,-3343.63,685.362,1.8675,120,0,0,100,0), +(29000479,16356,1,0,0,'0',0,0,0,-1,0,1,6750.93,-3596.03,712.466,5.53269,120,0,0,100,0), +(29000480,16356,1,0,0,'0',0,0,0,-1,0,1,6768.14,-3343.88,679.026,1.85005,120,0,0,100,0), +(29000481,16356,1,0,0,'0',0,0,0,-1,0,1,6768.48,-3608.16,718.727,4.46804,120,0,0,100,0), +(29000482,16356,1,0,0,'0',0,0,0,-1,0,1,6793.59,-3582.59,711.24,5.81195,120,0,0,100,0), +(29000483,16356,1,0,0,'0',0,0,0,-1,0,1,6792.82,-3333.73,672.688,5.81195,120,0,0,100,0), +(29000484,16356,1,0,0,'0',0,0,0,-1,0,1,6781.79,-3605.28,718.212,0.715585,120,0,0,100,0), +(29000485,16356,1,0,0,'0',0,0,0,-1,0,1,6781.78,-3572.2,707.945,5.20108,120,0,0,100,0), +(29000486,16356,1,0,0,'0',0,0,0,-1,0,1,6780.61,-3388.83,670.426,4.46804,120,0,0,100,0), +(29000487,16356,1,0,0,'0',0,0,0,-1,0,1,6776.84,-3327.48,675.283,4.46804,120,0,0,100,0), +(29000488,16356,1,0,0,'0',0,0,0,-1,0,1,6773.43,-3359.75,674.856,0.226893,120,0,0,100,0), +(29000489,16356,1,0,0,'0',0,0,0,-1,0,1,6770.59,-3539.92,696.328,2.80997,120,0,0,100,0), +(29000490,16356,1,0,0,'0',0,0,0,-1,0,1,6768.67,-3576.22,709.911,5.63741,120,0,0,100,0), +(29000491,16356,1,0,0,'0',0,0,0,-1,0,1,6768.63,-3558.32,703.155,4.04917,120,0,0,100,0), +(29000492,16356,1,0,0,'0',0,0,0,-1,0,1,6748.63,-3577.6,706.911,1.95477,120,0,0,100,0), +(29000493,16356,1,0,0,'0',0,0,0,-1,0,1,7806.19,-4247.15,682.155,5.49779,120,0,0,100,0), +(29000494,16356,1,0,0,'0',0,0,0,-1,0,1,7965.54,-3861.22,694.937,1.85005,120,0,0,100,0), +(29000495,16356,1,0,0,'0',0,0,0,-1,0,1,7945.12,-3861.87,695.372,1.8675,120,0,0,100,0), +(29000496,16356,1,0,0,'0',0,0,0,-1,0,1,7943.79,-3893.78,694.071,2.23402,120,0,0,100,0), +(29000497,16356,1,0,0,'0',0,0,0,-1,0,1,7941.25,-3838.65,695.45,0.226893,120,0,0,100,0), +(29000498,16356,1,0,0,'0',0,0,0,-1,0,1,7939.44,-3824.62,694.276,3.14159,120,0,0,100,0), +(29000499,16356,1,0,0,'0',0,0,0,-1,0,1,7937.52,-3907.76,691.837,2.80997,120,0,0,100,0), +(29000500,16356,1,0,0,'0',0,0,0,-1,0,1,7936.22,-3851.07,695.79,4.04917,120,0,0,100,0), +(29000501,16356,1,0,0,'0',0,0,0,-1,0,1,7933.96,-3880.2,695.511,5.20108,120,0,0,100,0), +(29000502,16356,1,0,0,'0',0,0,0,-1,0,1,7930.05,-3865.68,696.047,5.63741,120,0,0,100,0), +(29000503,16356,1,0,0,'0',0,0,0,-1,0,1,7928.04,-3895.8,693.936,6.24828,120,0,0,100,0), +(29000504,16356,1,0,0,'0',0,0,0,-1,0,1,7927.97,-3839.86,697.547,4.46804,120,0,0,100,0), +(29000505,16356,1,0,0,'0',0,0,0,-1,0,1,7947.64,-3849.3,695.279,5.53269,120,0,0,100,0), +(29000506,16356,1,0,0,'0',0,0,0,-1,0,1,7949.9,-3877.03,694.952,0.715585,120,0,0,100,0), +(29000507,16356,1,0,0,'0',0,0,0,-1,0,1,7965.36,-3899.19,690.591,4.20625,120,0,0,100,0), +(29000508,16356,1,0,0,'0',0,0,0,-1,0,1,7963.28,-3831.76,695.148,3.03684,120,0,0,100,0), +(29000509,16356,1,0,0,'0',0,0,0,-1,0,1,7962,-3877.56,694.392,1.88495,120,0,0,100,0), +(29000510,16356,1,0,0,'0',0,0,0,-1,0,1,7959.24,-3852.64,695.212,1.09956,120,0,0,100,0), +(29000511,16356,1,0,0,'0',0,0,0,-1,0,1,7957.85,-3866.2,695.307,4.04917,120,0,0,100,0), +(29000512,16356,1,0,0,'0',0,0,0,-1,0,1,7957.6,-3842.41,695.523,4.46804,120,0,0,100,0), +(29000513,16356,1,0,0,'0',0,0,0,-1,0,1,7956.16,-3890.51,692.989,0.506145,120,0,0,100,0), +(29000514,16356,1,0,0,'0',0,0,0,-1,0,1,7956.12,-3823.11,694.151,4.03171,120,0,0,100,0), +(29000515,16356,1,0,0,'0',0,0,0,-1,0,1,7954.25,-3903.53,692.432,4.06662,120,0,0,100,0), +(29000516,16356,1,0,0,'0',0,0,0,-1,0,1,7951.07,-3833.49,694.815,5.81195,120,0,0,100,0), +(29000517,16356,1,0,0,'0',0,0,0,-1,0,1,7919.76,-3859.64,697.67,1.95477,120,0,0,100,0), +(29000518,16356,1,0,0,'0',0,0,0,-1,0,1,7919.69,-3876.01,695.881,2.00713,120,0,0,100,0), +(29000519,16356,1,0,0,'0',0,0,0,-1,0,1,7911.53,-3892.2,694.113,3.26377,120,0,0,100,0), +(29000520,16356,1,0,0,'0',0,0,0,-1,0,1,7828.07,-4212.5,675.284,5.20108,120,0,0,100,0), +(29000521,16356,1,0,0,'0',0,0,0,-1,0,1,7824.58,-4198.73,676.44,4.04917,120,0,0,100,0), +(29000522,16356,1,0,0,'0',0,0,0,-1,0,1,7823.87,-4236.39,680.851,2.23402,120,0,0,100,0), +(29000523,16356,1,0,0,'0',0,0,0,-1,0,1,7823.81,-4183.98,678.287,3.14159,120,0,0,100,0), +(29000524,16356,1,0,0,'0',0,0,0,-1,0,1,7819.69,-4253.9,683.877,1.85005,120,0,0,100,0), +(29000525,16356,1,0,0,'0',0,0,0,-1,0,1,7819.46,-4228.16,678.039,1.8675,120,0,0,100,0), +(29000526,16356,1,0,0,'0',0,0,0,-1,0,1,7814.38,-4215.36,675.235,5.63741,120,0,0,100,0), +(29000527,16356,1,0,0,'0',0,0,0,-1,0,1,7810.57,-4187.36,679.448,4.46804,120,0,0,100,0), +(29000528,16356,1,0,0,'0',0,0,0,-1,0,1,7808.61,-4236.62,680.346,1.95477,120,0,0,100,0), +(29000529,16356,1,0,0,'0',0,0,0,-1,0,1,7807.68,-4200.73,676.644,0.506145,120,0,0,100,0), +(29000530,16356,1,0,0,'0',0,0,0,-1,0,1,7830.36,-4226.16,676.592,0.715585,120,0,0,100,0), +(29000531,16356,1,0,0,'0',0,0,0,-1,0,1,7830.58,-4248.46,683.335,1.09956,120,0,0,100,0), +(29000532,16356,1,0,0,'0',0,0,0,-1,0,1,7906.08,-3869.86,697.101,5.49779,120,0,0,100,0), +(29000533,16356,1,0,0,'0',0,0,0,-1,0,1,7898.49,-3883.67,695.912,1.37881,120,0,0,100,0), +(29000534,16356,1,0,0,'0',0,0,0,-1,0,1,7862.23,-4231.88,680.239,4.46804,120,0,0,100,0), +(29000535,16356,1,0,0,'0',0,0,0,-1,0,1,7859.19,-4210.56,677.92,0.226893,120,0,0,100,0), +(29000536,16356,1,0,0,'0',0,0,0,-1,0,1,7848.99,-4251.67,682.438,4.03171,120,0,0,100,0), +(29000537,16356,1,0,0,'0',0,0,0,-1,0,1,7845.04,-4220.46,676.056,4.04917,120,0,0,100,0), +(29000538,16356,1,0,0,'0',0,0,0,-1,0,1,7843.34,-4239.35,680.186,5.53269,120,0,0,100,0), +(29000539,16356,1,0,0,'0',0,0,0,-1,0,1,7837.27,-4205.74,676.506,1.88495,120,0,0,100,0), +(29000540,16356,1,0,0,'0',0,0,0,-1,0,1,7834.89,-4191.34,678.831,5.81195,120,0,0,100,0), +(29000541,16356,1,0,0,'0',0,0,0,-1,0,1,7833.12,-4264.02,685.045,3.03684,120,0,0,100,0), +(29000542,16356,1,0,0,'0',0,0,0,-1,0,1,7806.81,-4258.37,684.659,4.20625,120,0,0,100,0), +(29000543,16356,1,0,0,'0',0,0,0,-1,0,1,6744.93,-3365.14,685.487,5.20108,120,0,0,100,0), +(29000544,16356,1,0,0,'0',0,0,0,-1,0,1,6267.61,-4741.21,752.306,1.37881,120,0,0,100,0), +(29000545,16356,1,0,0,'0',0,0,0,-1,0,1,6097.15,-4760.67,757.799,4.03171,120,0,0,100,0), +(29000546,16356,1,0,0,'0',0,0,0,-1,0,1,6095.58,-5003.05,786.695,1.09956,120,0,0,100,0), +(29000547,16356,1,0,0,'0',0,0,0,-1,0,1,6094.11,-4743.58,760.271,4.20625,120,0,0,100,0), +(29000548,16356,1,0,0,'0',0,0,0,-1,0,1,6091.63,-4773.75,767.684,3.03684,120,0,0,100,0), +(29000549,16356,1,0,0,'0',0,0,0,-1,0,1,6088.08,-4715.84,748.35,3.14159,120,0,0,100,0), +(29000550,16356,1,0,0,'0',0,0,0,-1,0,1,6084.75,-4788.65,767.875,2.80997,120,0,0,100,0), +(29000551,16356,1,0,0,'0',0,0,0,-1,0,1,6082.92,-4760.65,768.08,5.49779,120,0,0,100,0), +(29000552,16356,1,0,0,'0',0,0,0,-1,0,1,6082.63,-5087.32,826.216,4.06662,120,0,0,100,0), +(29000553,16356,1,0,0,'0',0,0,0,-1,0,1,6077.83,-5007.27,784.157,1.95477,120,0,0,100,0), +(29000554,16356,1,0,0,'0',0,0,0,-1,0,1,6074.85,-4773.89,773.899,1.37881,120,0,0,100,0), +(29000555,16356,1,0,0,'0',0,0,0,-1,0,1,6099.65,-5034.8,791.309,5.53269,120,0,0,100,0), +(29000556,16356,1,0,0,'0',0,0,0,-1,0,1,6101.9,-5048.42,793.883,6.24828,120,0,0,100,0), +(29000557,16356,1,0,0,'0',0,0,0,-1,0,1,6266.41,-4760.14,754.315,5.53269,120,0,0,100,0), +(29000558,16356,1,0,0,'0',0,0,0,-1,0,1,6264.28,-4779.01,755.461,4.04917,120,0,0,100,0), +(29000559,16356,1,0,0,'0',0,0,0,-1,0,1,6261.85,-4815.35,756.9,4.46804,120,0,0,100,0), +(29000560,16356,1,0,0,'0',0,0,0,-1,0,1,6260.05,-4793.75,756.794,1.88495,120,0,0,100,0), +(29000561,16356,1,0,0,'0',0,0,0,-1,0,1,6245.98,-4805.58,757.178,0.226893,120,0,0,100,0), +(29000562,16356,1,0,0,'0',0,0,0,-1,0,1,6244.2,-4822.47,758.176,4.20625,120,0,0,100,0), +(29000563,16356,1,0,0,'0',0,0,0,-1,0,1,6115.64,-5055.81,794.876,4.03171,120,0,0,100,0), +(29000564,16356,1,0,0,'0',0,0,0,-1,0,1,6114.28,-5035.89,791.659,3.26377,120,0,0,100,0), +(29000565,16356,1,0,0,'0',0,0,0,-1,0,1,6111.27,-5071.46,809.851,4.20625,120,0,0,100,0), +(29000566,16356,1,0,0,'0',0,0,0,-1,0,1,6107.5,-5018.22,790.313,5.49779,120,0,0,100,0), +(29000567,16356,1,0,0,'0',0,0,0,-1,0,1,6074.01,-5025.43,786.359,5.63741,120,0,0,100,0), +(29000568,16356,1,0,0,'0',0,0,0,-1,0,1,6066.06,-5051.1,793.402,0.715585,120,0,0,100,0), +(29000569,16356,1,0,0,'0',0,0,0,-1,0,1,6065.56,-5072.04,807.075,3.14159,120,0,0,100,0), +(29000570,16356,1,0,0,'0',0,0,0,-1,0,1,6038.34,-5052.79,793.367,4.46804,120,0,0,100,0), +(29000571,16356,1,0,0,'0',0,0,0,-1,0,1,6034.1,-5016.35,781.757,0.226893,120,0,0,100,0), +(29000572,16356,1,0,0,'0',0,0,0,-1,0,1,6032.58,-4761.92,796.403,1.88495,120,0,0,100,0), +(29000573,16356,1,0,0,'0',0,0,0,-1,0,1,6030.76,-4794.53,783.93,0.226893,120,0,0,100,0), +(29000574,16356,1,0,0,'0',0,0,0,-1,0,1,6030.33,-4747.28,800.217,5.53269,120,0,0,100,0), +(29000575,16356,1,0,0,'0',0,0,0,-1,0,1,6029.56,-5033.75,783.063,5.81195,120,0,0,100,0), +(29000576,16356,1,0,0,'0',0,0,0,-1,0,1,6028.84,-5069.67,798.821,2.80997,120,0,0,100,0), +(29000577,16356,1,0,0,'0',0,0,0,-1,0,1,6026.22,-5049.34,787.266,1.37881,120,0,0,100,0), +(29000578,16356,1,0,0,'0',0,0,0,-1,0,1,6023.85,-4776.91,796.595,4.46804,120,0,0,100,0), +(29000579,16356,1,0,0,'0',0,0,0,-1,0,1,6019.6,-4757.41,803.772,0.506145,120,0,0,100,0), +(29000580,16356,1,0,0,'0',0,0,0,-1,0,1,6043.09,-4722.28,788.435,4.04917,120,0,0,100,0), +(29000581,16356,1,0,0,'0',0,0,0,-1,0,1,6044.18,-5030.07,783.474,4.04917,120,0,0,100,0), +(29000582,16356,1,0,0,'0',0,0,0,-1,0,1,6064.33,-4785.45,776.044,4.46804,120,0,0,100,0), +(29000583,16356,1,0,0,'0',0,0,0,-1,0,1,6063.3,-4997.71,781.419,1.85005,120,0,0,100,0), +(29000584,16356,1,0,0,'0',0,0,0,-1,0,1,6061.17,-4742.39,780.267,5.20108,120,0,0,100,0), +(29000585,16356,1,0,0,'0',0,0,0,-1,0,1,6060.16,-5034.83,786.358,1.8675,120,0,0,100,0), +(29000586,16356,1,0,0,'0',0,0,0,-1,0,1,6058.75,-5016.88,782.489,2.23402,120,0,0,100,0), +(29000587,16356,1,0,0,'0',0,0,0,-1,0,1,6051.28,-5047.69,789.502,4.04917,120,0,0,100,0), +(29000588,16356,1,0,0,'0',0,0,0,-1,0,1,6049.2,-5003.04,780.38,4.46804,120,0,0,100,0), +(29000589,16356,1,0,0,'0',0,0,0,-1,0,1,6048.68,-5063.69,803.729,0.506145,120,0,0,100,0), +(29000590,16356,1,0,0,'0',0,0,0,-1,0,1,6047.73,-4760.52,791.407,0.715585,120,0,0,100,0), +(29000591,16356,1,0,0,'0',0,0,0,-1,0,1,6046.94,-4713.09,780.627,4.06662,120,0,0,100,0), +(29000592,16356,1,0,0,'0',0,0,0,-1,0,1,6019.56,-4732.35,802.346,6.24828,120,0,0,100,0), +(29000593,16356,1,0,0,'0',0,0,0,-1,0,1,6274.75,-4790.02,757.197,5.20108,120,0,0,100,0), +(29000594,16356,1,0,0,'0',0,0,0,-1,0,1,6744.9,-3380.01,681.274,4.04917,120,0,0,100,0), +(29000595,16356,1,0,0,'0',0,0,0,-1,0,1,6710.2,-3323.17,675.236,3.03684,120,0,0,100,0), +(29000596,16356,1,0,0,'0',0,0,0,-1,0,1,6710,-3337.31,680.159,0.506145,120,0,0,100,0), +(29000597,16356,1,0,0,'0',0,0,0,-1,0,1,6707.89,-3378.02,672.704,4.06662,120,0,0,100,0), +(29000598,16356,1,0,0,'0',0,0,0,-1,0,1,6697.96,-3353.05,678.908,3.14159,120,0,0,100,0), +(29000599,16356,1,0,0,'0',0,0,0,-1,0,1,6592.46,-3487.51,668.623,4.06662,120,0,0,100,0), +(29000600,16356,1,0,0,'0',0,0,0,-1,0,1,6585.37,-3473.38,661.758,0.226893,120,0,0,100,0), +(29000601,16356,1,0,0,'0',0,0,0,-1,0,1,6582.48,-3498.92,668.396,5.81195,120,0,0,100,0), +(29000602,16356,1,0,0,'0',0,0,0,-1,0,1,6571.48,-3482.74,656.277,1.95477,120,0,0,100,0), +(29000603,16356,1,0,0,'0',0,0,0,-1,0,1,6569.58,-3465.98,650.354,4.04917,120,0,0,100,0), +(29000604,16356,1,0,0,'0',0,0,0,-1,0,1,6566.26,-3496.04,657.436,5.53269,120,0,0,100,0), +(29000605,16356,1,0,0,'0',0,0,0,-1,0,1,6714.63,-3360.29,685.129,5.53269,120,0,0,100,0), +(29000606,16356,1,0,0,'0',0,0,0,-1,0,1,6722.37,-3390.24,670.368,2.80997,120,0,0,100,0), +(29000607,16356,1,0,0,'0',0,0,0,-1,0,1,6743.57,-3622.55,716.376,5.49779,120,0,0,100,0), +(29000608,16356,1,0,0,'0',0,0,0,-1,0,1,6743.03,-3307.84,673.46,1.09956,120,0,0,100,0), +(29000609,16356,1,0,0,'0',0,0,0,-1,0,1,6740.54,-3392.55,681.018,4.20625,120,0,0,100,0), +(29000610,16356,1,0,0,'0',0,0,0,-1,0,1,6738.41,-3327.87,681.681,6.24828,120,0,0,100,0), +(29000611,16356,1,0,0,'0',0,0,0,-1,0,1,6735.53,-3341.49,686.324,0.715585,120,0,0,100,0), +(29000612,16356,1,0,0,'0',0,0,0,-1,0,1,6732.38,-3355.74,687.47,2.00713,120,0,0,100,0), +(29000613,16356,1,0,0,'0',0,0,0,-1,0,1,6729.42,-3370.34,682.625,4.04917,120,0,0,100,0), +(29000614,16356,1,0,0,'0',0,0,0,-1,0,1,6725.51,-3317.41,676.774,3.26377,120,0,0,100,0), +(29000615,16356,1,0,0,'0',0,0,0,-1,0,1,6724.65,-3332.95,682.82,1.88495,120,0,0,100,0), +(29000616,16356,1,0,0,'0',0,0,0,-1,0,1,6722.6,-3345.27,685.512,1.95477,120,0,0,100,0), +(29000617,16356,1,0,0,'0',0,0,0,-1,0,1,6566.17,-3515.59,664.822,4.46804,120,0,0,100,0), +(29000618,16356,1,0,0,'0',0,0,0,-1,0,1,6555.9,-3442.93,639.3,4.46804,120,0,0,100,0), +(29000619,16356,1,0,0,'0',0,0,0,-1,0,1,6275.42,-4772.54,756.038,5.63741,120,0,0,100,0), +(29000620,16356,1,0,0,'0',0,0,0,-1,0,1,6507.96,-3520.64,646.056,4.03171,120,0,0,100,0), +(29000621,16356,1,0,0,'0',0,0,0,-1,0,1,6328,-4811.45,754.255,4.03171,120,0,0,100,0), +(29000622,16356,1,0,0,'0',0,0,0,-1,0,1,6321.46,-4795.62,751.583,3.26377,120,0,0,100,0), +(29000623,16356,1,0,0,'0',0,0,0,-1,0,1,6316.25,-4825.19,752.389,3.03684,120,0,0,100,0), +(29000624,16356,1,0,0,'0',0,0,0,-1,0,1,6315.73,-4777.7,756.809,6.24828,120,0,0,100,0), +(29000625,16356,1,0,0,'0',0,0,0,-1,0,1,6300.74,-4746.35,763.063,2.80997,120,0,0,100,0), +(29000626,16356,1,0,0,'0',0,0,0,-1,0,1,6300.34,-4823.2,755.121,1.09956,120,0,0,100,0), +(29000627,16356,1,0,0,'0',0,0,0,-1,0,1,6293.97,-4810.5,757.794,0.506145,120,0,0,100,0), +(29000628,16356,1,0,0,'0',0,0,0,-1,0,1,6278.87,-4805.42,758.657,2.23402,120,0,0,100,0), +(29000629,16356,1,0,0,'0',0,0,0,-1,0,1,6278.3,-4822.49,753.667,1.85005,120,0,0,100,0), +(29000630,16356,1,0,0,'0',0,0,0,-1,0,1,6518.95,-3487.36,636.76,3.26377,120,0,0,100,0), +(29000631,16356,1,0,0,'0',0,0,0,-1,0,1,6524.56,-3475.16,631.954,5.49779,120,0,0,100,0), +(29000632,16356,1,0,0,'0',0,0,0,-1,0,1,6555.51,-3507.44,654.253,1.88495,120,0,0,100,0), +(29000633,16356,1,0,0,'0',0,0,0,-1,0,1,6554.91,-3494.86,649.53,1.8675,120,0,0,100,0), +(29000634,16356,1,0,0,'0',0,0,0,-1,0,1,6554.11,-3471.91,643.641,5.20108,120,0,0,100,0), +(29000635,16356,1,0,0,'0',0,0,0,-1,0,1,6550.84,-3458.72,638.834,4.04917,120,0,0,100,0), +(29000636,16356,1,0,0,'0',0,0,0,-1,0,1,6545.69,-3522.92,654.758,1.37881,120,0,0,100,0), +(29000637,16356,1,0,0,'0',0,0,0,-1,0,1,6544.11,-3447.51,631.453,3.14159,120,0,0,100,0), +(29000638,16356,1,0,0,'0',0,0,0,-1,0,1,6538.32,-3507.86,647.232,0.506145,120,0,0,100,0), +(29000639,16356,1,0,0,'0',0,0,0,-1,0,1,6536.56,-3488.23,642.123,2.00713,120,0,0,100,0), +(29000640,16356,1,0,0,'0',0,0,0,-1,0,1,6532.16,-3437.84,620.91,1.85005,120,0,0,100,0), +(29000641,16356,1,0,0,'0',0,0,0,-1,0,1,6530.19,-3521.71,651.428,2.80997,120,0,0,100,0), +(29000642,16356,1,0,0,'0',0,0,0,-1,0,1,6525.9,-3499.27,642.475,6.24828,120,0,0,100,0), +(29000643,16386,1,0,0,'0',0,0,0,-1,0,1,7878.21,-3923.94,725.313,0.715585,120,0,0,100,0), +(29000644,16386,1,0,0,'0',0,0,0,-1,0,1,7797.48,-4146.13,715.934,2.60054,120,0,0,100,0), +(29000645,16386,1,0,0,'0',0,0,0,-1,0,1,7703.4,-3912.95,708.642,2.60054,120,0,0,100,0); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) VALUES +(29000646,16386,1,0,0,'0',0,0,0,-1,0,1,6752.62,-3553.76,729.794,2.60054,120,0,0,100,0), +(29000647,16386,1,0,0,'0',0,0,0,-1,0,1,6713.44,-3379.66,720.502,0.767945,120,0,0,100,0), +(29000648,16386,1,0,0,'0',0,0,0,-1,0,1,6596.59,-3462.38,716.452,3.52556,120,0,0,100,0), +(29000649,16386,1,0,0,'0',0,0,0,-1,0,1,6237.09,-4843.21,780.975,0.925025,120,0,0,100,0), +(29000650,16386,1,0,0,'0',0,0,0,-1,0,1,6107.43,-4999.62,794.913,3.9968,120,0,0,100,0), +(29000651,16386,1,0,0,'0',0,0,0,-1,0,1,6103.93,-4813.46,792.546,2.23402,120,0,0,100,0), +(29000652,16398,1,0,0,'0',0,0,0,-1,0,1,7815.69,-3978.53,754.773,0.733038,120,0,0,100,0), +(29000653,16398,1,0,0,'0',0,0,0,-1,0,1,7777.75,-4086.5,749.041,5.11381,120,0,0,100,0), +(29000654,16398,1,0,0,'0',0,0,0,-1,0,1,7722.3,-3953.9,734.255,4.10152,120,0,0,100,0), +(29000655,16398,1,0,0,'0',0,0,0,-1,0,1,6701.14,-3500.28,757.474,5.11381,120,0,0,100,0), +(29000656,16398,1,0,0,'0',0,0,0,-1,0,1,6677.47,-3414.77,760.265,4.10152,120,0,0,100,0), +(29000657,16398,1,0,0,'0',0,0,0,-1,0,1,6615.65,-3459.45,738.292,3.50811,120,0,0,100,0), +(29000658,16398,1,0,0,'0',0,0,0,-1,0,1,6213.64,-4873.82,792.298,0.925025,120,0,0,100,0), +(29000659,16398,1,0,0,'0',0,0,0,-1,0,1,6156.84,-4878.55,798.983,2.23402,120,0,0,100,0), +(29000660,16398,1,0,0,'0',0,0,0,-1,0,1,6145.26,-4957.15,800.845,3.97935,120,0,0,100,0), +(29000661,16356,1,0,0,'0',0,0,0,-1,0,1,7641.33,-3886.13,685.196,4.46804,120,0,0,100,0), +(29000662,16356,1,0,0,'0',0,0,0,-1,0,1,7646.42,-3869.21,684.996,0.226893,120,0,0,100,0), +(29000663,16356,1,0,0,'0',0,0,0,-1,0,1,7649.19,-3855.19,685.153,1.37881,120,0,0,100,0), +(29000664,16356,1,0,0,'0',0,0,0,-1,0,1,7656.79,-3884.09,685.892,1.88495,120,0,0,100,0), +(29000665,16356,1,0,0,'0',0,0,0,-1,0,1,7662.29,-3869.07,685.412,2.23402,120,0,0,100,0), +(29000666,16356,1,0,0,'0',0,0,0,-1,0,1,7664.56,-3850.75,686.131,5.49779,120,0,0,100,0), +(29000667,16356,1,0,0,'0',0,0,0,-1,0,1,7677.6,-3841.15,687.133,2.80997,120,0,0,100,0), +(29000668,16356,1,0,0,'0',0,0,0,-1,0,1,7711.92,-3840.43,700.432,4.06663,120,0,0,100,0), +(29000669,16356,1,0,0,'0',0,0,0,-1,0,1,7723.1,-3902.68,691.732,3.03684,120,0,0,100,0), +(29000670,16356,1,0,0,'0',0,0,0,-1,0,1,7669.45,-3886.25,686.572,2.00713,120,0,0,100,0), +(29000671,16401,1,0,0,'0',0,0,0,-1,0,1,6184.28,-4913.32,807.76,6.0912,120,0,0,100,0), +(29000672,16401,1,0,0,'0',0,0,0,-1,0,1,6646.69,-3442.36,793,4.86947,120,0,0,100,0), +(29000673,16401,1,0,0,'0',0,0,0,-1,0,1,7755.75,-4030.91,786.58,0.471238,120,0,0,100,0), +(29000674,16421,1,0,0,'0',0,0,0,-1,0,1,6184.28,-4913.32,807.76,6.0912,120,0,0,100,0), +(29000675,16421,1,0,0,'0',0,0,0,-1,0,1,6646.69,-3442.36,793,4.86947,120,0,0,100,0), +(29000676,16421,1,0,0,'0',0,0,0,-1,0,1,7755.75,-4030.91,786.58,0.471238,120,0,0,100,0), +(29000677,16356,1,0,0,'0',0,0,0,-1,0,1,6244,-4779.69,751.865,5.81195,120,0,0,100,0), +(29000678,16356,1,0,0,'0',0,0,0,-1,0,1,6074.43,-4722.75,756.323,1.09956,120,0,0,100,0), +(29000679,16356,1,0,0,'0',0,0,0,-1,0,1,6248.46,-4755.08,752.166,4.46804,120,0,0,100,0), +(29000680,16356,1,0,0,'0',0,0,0,-1,0,1,6734.2,-3572.91,704.114,4.06663,120,0,0,100,0), +(29000681,16356,1,0,0,'0',0,0,0,-1,0,1,6743.76,-3605.07,718.871,4.03172,120,0,0,100,0), +(29000682,16356,1,0,0,'0',0,0,0,-1,0,1,6745.98,-3560.78,700.922,4.04917,120,0,0,100,0), +(29000683,16356,1,0,0,'0',0,0,0,-1,0,1,6756.25,-3610.65,717.194,1.88495,120,0,0,100,0), +(29000684,16356,1,0,0,'0',0,0,0,-1,0,1,6772.13,-3621.32,721.724,0.506145,120,0,0,100,0), +(29000685,16356,1,0,0,'0',0,0,0,-1,0,1,6817.91,-3615.72,729.997,3.26377,120,0,0,100,0), +(29000686,16356,1,0,0,'0',0,0,0,-1,0,1,6819.23,-3570.4,727.156,0.226893,120,0,0,100,0), +(29000687,16356,1,0,0,'0',0,0,0,-1,0,1,7694.82,-3881.97,688.048,5.20109,120,0,0,100,0), +(29000688,16356,1,0,0,'0',0,0,0,-1,0,1,7708.42,-3907.95,691.825,6.24828,120,0,0,100,0), +(29000689,16356,1,0,0,'0',0,0,0,-1,0,1,7720.34,-3881.16,690.539,1.85005,120,0,0,100,0), +(29000690,16356,1,0,0,'0',0,0,0,-1,0,1,-7613.69,-3766.51,14.5989,3.03684,120,0,0,100,0), +(29000691,16356,1,0,0,'0',0,0,0,-1,0,1,-7653.08,-3726.19,25.1272,5.53269,120,0,0,100,0), +(29000692,16356,1,0,0,'0',0,0,0,-1,0,1,-7655.67,-3714.27,24.4955,1.37881,120,0,0,100,0), +(29000693,16356,1,0,0,'0',0,0,0,-1,0,1,-7659.07,-3736.71,25.7794,1.88495,120,0,0,100,0), +(29000694,16356,1,0,0,'0',0,0,0,-1,0,1,-7661.95,-3727.53,26.8725,2.80997,120,0,0,100,0), +(29000695,16356,1,0,0,'0',0,0,0,-1,0,1,-8123.68,-3817.04,12.3483,2.80997,120,0,0,100,0), +(29000696,16356,1,0,0,'0',0,0,0,-1,0,1,-8132.48,-3789.38,12.4753,4.06662,120,0,0,100,0), +(29000697,16356,1,0,0,'0',0,0,0,-1,0,1,-8133.4,-3803.21,12.2422,1.88495,120,0,0,100,0), +(29000698,16356,1,0,0,'0',0,0,0,-1,0,1,-8138.02,-3827.97,15.4933,1.37881,120,0,0,100,0), +(29000699,16356,1,0,0,'0',0,0,0,-1,0,1,-8143.17,-3775.31,12.8539,4.20625,120,0,0,100,0), +(29000700,16356,1,0,0,'0',0,0,0,-1,0,1,-8143.77,-3815.97,14.8309,5.53269,120,0,0,100,0), +(29000701,16356,1,0,0,'0',0,0,0,-1,0,1,-8146.28,-3789.86,12.565,0.506145,120,0,0,100,0), +(29000702,16356,1,0,0,'0',0,0,0,-1,0,1,-8150.57,-3803.01,14.1501,2.00713,120,0,0,100,0), +(29000703,16356,1,0,0,'0',0,0,0,-1,0,1,-8150.95,-3838.64,15.2399,4.46804,120,0,0,100,0), +(29000704,16356,1,0,0,'0',0,0,0,-1,0,1,-7650.74,-3757.32,21.7677,3.14159,120,0,0,100,0), +(29000705,16356,1,0,0,'0',0,0,0,-1,0,1,-7649.6,-3746.09,23.8511,0.506145,120,0,0,100,0), +(29000706,16356,1,0,0,'0',0,0,0,-1,0,1,-7648.75,-3736.26,24.7103,5.20108,120,0,0,100,0), +(29000707,16356,1,0,0,'0',0,0,0,-1,0,1,-7614.92,-3753.19,16.2557,5.49779,120,0,0,100,0), +(29000708,16356,1,0,0,'0',0,0,0,-1,0,1,-7618.54,-3742.16,17.8402,0.715585,120,0,0,100,0), +(29000709,16356,1,0,0,'0',0,0,0,-1,0,1,-7620.14,-3708.12,18.9941,0.226893,120,0,0,100,0), +(29000710,16356,1,0,0,'0',0,0,0,-1,0,1,-7622.82,-3722.15,18.0316,2.23402,120,0,0,100,0), +(29000711,16356,1,0,0,'0',0,0,0,-1,0,1,-7627.59,-3763.22,17.7038,3.26377,120,0,0,100,0), +(29000712,16356,1,0,0,'0',0,0,0,-1,0,1,-7628.52,-3751.79,19.5663,1.8675,120,0,0,100,0), +(29000713,16356,1,0,0,'0',0,0,0,-1,0,1,-7633.44,-3698.23,20.7083,5.81195,120,0,0,100,0), +(29000714,16356,1,0,0,'0',0,0,0,-1,0,1,-7634.08,-3713.65,19.354,4.04917,120,0,0,100,0), +(29000715,16356,1,0,0,'0',0,0,0,-1,0,1,-7639.1,-3743.79,22.6832,5.63741,120,0,0,100,0), +(29000716,16356,1,0,0,'0',0,0,0,-1,0,1,-7639.91,-3753.53,21.4733,6.24828,120,0,0,100,0), +(29000717,16356,1,0,0,'0',0,0,0,-1,0,1,-7643.15,-3726.38,22.7255,4.04917,120,0,0,100,0), +(29000718,16356,1,0,0,'0',0,0,0,-1,0,1,-7645.2,-3712.39,21.2355,1.95477,120,0,0,100,0), +(29000719,16356,1,0,0,'0',0,0,0,-1,0,1,-7646.51,-3698.16,21.8852,4.46804,120,0,0,100,0), +(29000720,16356,1,0,0,'0',0,0,0,-1,0,1,-8153.07,-3825.89,15.7912,1.95477,120,0,0,100,0), +(29000721,16356,1,0,0,'0',0,0,0,-1,0,1,-8156.69,-3765.66,13.2382,4.03171,120,0,0,100,0), +(29000722,16356,1,0,0,'0',0,0,0,-1,0,1,-8157.87,-3779.69,12.999,6.24828,120,0,0,100,0), +(29000723,16356,1,0,0,'0',0,0,0,-1,0,1,-8290.03,-4207.55,8.68307,4.46804,120,0,0,100,0), +(29000724,16356,1,0,0,'0',0,0,0,-1,0,1,-8294.54,-4177.96,8.66661,1.37881,120,0,0,100,0), +(29000725,16356,1,0,0,'0',0,0,0,-1,0,1,-8299.23,-4196.12,9.59805,1.85005,120,0,0,100,0), +(29000726,16356,1,0,0,'0',0,0,0,-1,0,1,-8304.14,-4227.69,8.9611,3.14159,120,0,0,100,0), +(29000727,16356,1,0,0,'0',0,0,0,-1,0,1,-8306.88,-4210.41,9.92429,1.09956,120,0,0,100,0), +(29000728,16356,1,0,0,'0',0,0,0,-1,0,1,-8309.51,-4162.99,10.0566,2.80997,120,0,0,100,0), +(29000729,16356,1,0,0,'0',0,0,0,-1,0,1,-8312.53,-4185.8,11.8573,1.95477,120,0,0,100,0), +(29000730,16356,1,0,0,'0',0,0,0,-1,0,1,-8313.99,-4199.83,11.3477,5.20108,120,0,0,100,0), +(29000731,16356,1,0,0,'0',0,0,0,-1,0,1,-8317.97,-4225.9,11.1311,5.49779,120,0,0,100,0), +(29000732,16356,1,0,0,'0',0,0,0,-1,0,1,-8321.77,-4211.24,11.495,4.04917,120,0,0,100,0), +(29000733,16356,1,0,0,'0',0,0,0,-1,0,1,-8322.67,-4151.78,10.2642,4.06662,120,0,0,100,0), +(29000734,16356,1,0,0,'0',0,0,0,-1,0,1,-8324.41,-4177.46,12.9567,5.53269,120,0,0,100,0), +(29000735,16356,1,0,0,'0',0,0,0,-1,0,1,-8326.1,-4190.56,12.6192,5.63741,120,0,0,100,0), +(29000736,16356,1,0,0,'0',0,0,0,-1,0,1,-8202.46,-3804.13,10.8938,1.85005,120,0,0,100,0), +(29000737,16356,1,0,0,'0',0,0,0,-1,0,1,-8195.46,-3781.23,16.1365,3.14159,120,0,0,100,0), +(29000738,16356,1,0,0,'0',0,0,0,-1,0,1,-8192.93,-3832.2,9.10186,3.03684,120,0,0,100,0), +(29000739,16356,1,0,0,'0',0,0,0,-1,0,1,-8157.91,-3812.96,15.47,0.715585,120,0,0,100,0), +(29000740,16356,1,0,0,'0',0,0,0,-1,0,1,-8160.06,-3793.21,14.1458,2.23402,120,0,0,100,0), +(29000741,16356,1,0,0,'0',0,0,0,-1,0,1,-8164.48,-3840.64,12.4232,5.81195,120,0,0,100,0), +(29000742,16356,1,0,0,'0',0,0,0,-1,0,1,-8165.72,-3823.48,14.4758,1.8675,120,0,0,100,0), +(29000743,16356,1,0,0,'0',0,0,0,-1,0,1,-8170.4,-3769.46,14.0081,3.26377,120,0,0,100,0), +(29000744,16356,1,0,0,'0',0,0,0,-1,0,1,-8171.13,-3783.95,14.9894,4.04917,120,0,0,100,0), +(29000745,16356,1,0,0,'0',0,0,0,-1,0,1,-8176.62,-3816.16,13.4556,5.63741,120,0,0,100,0), +(29000746,16356,1,0,0,'0',0,0,0,-1,0,1,-8178.19,-3829.83,11.3705,0.226893,120,0,0,100,0), +(29000747,16356,1,0,0,'0',0,0,0,-1,0,1,-8179.1,-3794.72,15.3744,4.04917,120,0,0,100,0), +(29000748,16356,1,0,0,'0',0,0,0,-1,0,1,-8183.67,-3783.81,16.3321,5.49779,120,0,0,100,0), +(29000749,16356,1,0,0,'0',0,0,0,-1,0,1,-8186.83,-3807.78,12.8409,5.20108,120,0,0,100,0), +(29000750,16356,1,0,0,'0',0,0,0,-1,0,1,-8189.24,-3820.07,10.7394,4.46804,120,0,0,100,0), +(29000751,16356,1,0,0,'0',0,0,0,-1,0,1,-8191.13,-3792.8,14.827,1.09956,120,0,0,100,0), +(29000752,16356,1,0,0,'0',0,0,0,-1,0,1,-8330.82,-4240.35,12.4493,5.81195,120,0,0,100,0), +(29000753,16356,1,0,0,'0',0,0,0,-1,0,1,-7218.94,-3544.25,12.0636,4.46804,120,0,0,100,0), +(29000754,16356,1,0,0,'0',0,0,0,-1,0,1,-7256.64,-3513.72,11.9059,4.46804,120,0,0,100,0), +(29000755,16356,1,0,0,'0',0,0,0,-1,0,1,-7258.44,-3562.49,10.4937,3.26377,120,0,0,100,0), +(29000756,16356,1,0,0,'0',0,0,0,-1,0,1,-7259.76,-3575.32,9.33801,3.03684,120,0,0,100,0), +(29000757,16356,1,0,0,'0',0,0,0,-1,0,1,-7260.92,-3543.11,12.5748,1.8675,120,0,0,100,0), +(29000758,16356,1,0,0,'0',0,0,0,-1,0,1,-7263.98,-3533.87,12.9191,1.88495,120,0,0,100,0), +(29000759,16356,1,0,0,'0',0,0,0,-1,0,1,-7265,-3523.32,12.9154,1.37881,120,0,0,100,0), +(29000760,16356,1,0,0,'0',0,0,0,-1,0,1,-7266.57,-3554.31,10.0326,6.24828,120,0,0,100,0), +(29000761,16356,1,0,0,'0',0,0,0,-1,0,1,-7268.31,-3567.27,8.98188,4.20625,120,0,0,100,0), +(29000762,16356,1,0,0,'0',0,0,0,-1,0,1,-7272.66,-3543.49,10.7438,0.506145,120,0,0,100,0), +(29000763,16356,1,0,0,'0',0,0,0,-1,0,1,-7275.22,-3531.92,11.8755,2.80997,120,0,0,100,0), +(29000764,16356,1,0,0,'0',0,0,0,-1,0,1,-7277.21,-3552.66,8.59923,4.06662,120,0,0,100,0), +(29000765,16356,1,0,0,'0',0,0,0,-1,0,1,-7299.75,-3971.29,10.1425,0.506145,120,0,0,100,0), +(29000766,16356,1,0,0,'0',0,0,0,-1,0,1,-7306.82,-3949.61,11.5471,3.03684,120,0,0,100,0), +(29000767,16356,1,0,0,'0',0,0,0,-1,0,1,-7256.06,-3524.96,13.0664,5.53269,120,0,0,100,0), +(29000768,16356,1,0,0,'0',0,0,0,-1,0,1,-7255.17,-3535.15,13.4109,5.63741,120,0,0,100,0), +(29000769,16356,1,0,0,'0',0,0,0,-1,0,1,-7254.99,-3551.95,12.341,0.715585,120,0,0,100,0), +(29000770,16356,1,0,0,'0',0,0,0,-1,0,1,-7226.05,-3532.65,11.8293,0.226893,120,0,0,100,0), +(29000771,16356,1,0,0,'0',0,0,0,-1,0,1,-7226.6,-3565.82,13.0601,3.14159,120,0,0,100,0), +(29000772,16356,1,0,0,'0',0,0,0,-1,0,1,-7227.98,-3553.69,13.3394,1.85005,120,0,0,100,0), +(29000773,16356,1,0,0,'0',0,0,0,-1,0,1,-7231.06,-3542.7,13.2445,4.04917,120,0,0,100,0), +(29000774,16356,1,0,0,'0',0,0,0,-1,0,1,-7234.28,-3523.69,11.7133,5.81195,120,0,0,100,0), +(29000775,16356,1,0,0,'0',0,0,0,-1,0,1,-7236.96,-3534.54,13.0861,4.04917,120,0,0,100,0), +(29000776,16356,1,0,0,'0',0,0,0,-1,0,1,-7238.6,-3551.89,13.6019,2.23402,120,0,0,100,0), +(29000777,16356,1,0,0,'0',0,0,0,-1,0,1,-7238.77,-3562.69,12.8448,1.09956,120,0,0,100,0), +(29000778,16356,1,0,0,'0',0,0,0,-1,0,1,-7239.63,-3575.09,11.3355,4.03171,120,0,0,100,0), +(29000779,16356,1,0,0,'0',0,0,0,-1,0,1,-7244.28,-3515.06,11.3882,1.95477,120,0,0,100,0), +(29000780,16356,1,0,0,'0',0,0,0,-1,0,1,-7246.26,-3528.72,13.1347,5.20108,120,0,0,100,0), +(29000781,16356,1,0,0,'0',0,0,0,-1,0,1,-7248.59,-3560.16,12.1926,2.00713,120,0,0,100,0), +(29000782,16356,1,0,0,'0',0,0,0,-1,0,1,-7251.03,-3573.52,10.2201,5.49779,120,0,0,100,0), +(29000783,16356,1,0,0,'0',0,0,0,-1,0,1,-7308.69,-3959.18,10.5048,1.88495,120,0,0,100,0), +(29000784,16356,1,0,0,'0',0,0,0,-1,0,1,-7308.94,-3980.61,10.3655,5.81195,120,0,0,100,0), +(29000785,16356,1,0,0,'0',0,0,0,-1,0,1,-7311.69,-3968.46,9.96437,4.04917,120,0,0,100,0), +(29000786,16356,1,0,0,'0',0,0,0,-1,0,1,-7346.61,-3957.99,9.51486,3.26377,120,0,0,100,0), +(29000787,16356,1,0,0,'0',0,0,0,-1,0,1,-7347.73,-3978.61,9.64909,1.09956,120,0,0,100,0), +(29000788,16356,1,0,0,'0',0,0,0,-1,0,1,-7348.71,-3948.03,11.5307,4.06662,120,0,0,100,0), +(29000789,16356,1,0,0,'0',0,0,0,-1,0,1,-7349.55,-3989.31,10.3145,1.37881,120,0,0,100,0), +(29000790,16356,1,0,0,'0',0,0,0,-1,0,1,-7354.07,-3968.47,9.26089,5.49779,120,0,0,100,0), +(29000791,16356,1,0,0,'0',0,0,0,-1,0,1,-7356.55,-3958.05,10.2371,4.20625,120,0,0,100,0), +(29000792,16356,1,0,0,'0',0,0,0,-1,0,1,-7356.58,-3978.46,9.93594,2.80997,120,0,0,100,0), +(29000793,16356,1,0,0,'0',0,0,0,-1,0,1,-7588.72,-3744.07,12.7845,4.06662,120,0,0,100,0), +(29000794,16356,1,0,0,'0',0,0,0,-1,0,1,-7592.56,-3732.58,14.9795,1.85005,120,0,0,100,0), +(29000795,16356,1,0,0,'0',0,0,0,-1,0,1,-7599.78,-3755.23,12.4615,4.20625,120,0,0,100,0), +(29000796,16356,1,0,0,'0',0,0,0,-1,0,1,-7603.88,-3743.44,14.7937,1.09956,120,0,0,100,0), +(29000797,16356,1,0,0,'0',0,0,0,-1,0,1,-7606.45,-3707.07,17.96,4.03171,120,0,0,100,0), +(29000798,16356,1,0,0,'0',0,0,0,-1,0,1,-7607.49,-3719.28,17.4744,4.46804,120,0,0,100,0), +(29000799,16356,1,0,0,'0',0,0,0,-1,0,1,-7343.19,-3968.54,9.55852,1.8675,120,0,0,100,0), +(29000800,16356,1,0,0,'0',0,0,0,-1,0,1,-7341.13,-3938.26,12.6796,3.14159,120,0,0,100,0), +(29000801,16356,1,0,0,'0',0,0,0,-1,0,1,-7339.9,-3949.15,10.7003,6.24828,120,0,0,100,0), +(29000802,16356,1,0,0,'0',0,0,0,-1,0,1,-7317.51,-3948.85,11.0682,5.53269,120,0,0,100,0), +(29000803,16356,1,0,0,'0',0,0,0,-1,0,1,-7318.98,-3959.46,10.0326,4.04917,120,0,0,100,0), +(29000804,16356,1,0,0,'0',0,0,0,-1,0,1,-7319.24,-3938.45,12.1927,4.03171,120,0,0,100,0), +(29000805,16356,1,0,0,'0',0,0,0,-1,0,1,-7319.5,-3989.14,12.536,0.226893,120,0,0,100,0), +(29000806,16356,1,0,0,'0',0,0,0,-1,0,1,-7319.64,-3977.81,11.7139,2.23402,120,0,0,100,0), +(29000807,16356,1,0,0,'0',0,0,0,-1,0,1,-7327.48,-3999.14,11.5049,4.46804,120,0,0,100,0), +(29000808,16356,1,0,0,'0',0,0,0,-1,0,1,-7328.43,-3987.73,12.0351,2.00713,120,0,0,100,0), +(29000809,16356,1,0,0,'0',0,0,0,-1,0,1,-7328.98,-3952.59,10.2225,5.20108,120,0,0,100,0), +(29000810,16356,1,0,0,'0',0,0,0,-1,0,1,-7330.96,-3940.37,12.3137,1.95477,120,0,0,100,0), +(29000811,16356,1,0,0,'0',0,0,0,-1,0,1,-7336.37,-3979.78,11.1886,0.715585,120,0,0,100,0), +(29000812,16356,1,0,0,'0',0,0,0,-1,0,1,-7337.17,-3960.35,9.55714,5.63741,120,0,0,100,0), +(29000813,16356,1,0,0,'0',0,0,0,-1,0,1,-7337.82,-3989.84,10.5515,1.85005,120,0,0,100,0), +(29000814,16356,1,0,0,'0',0,0,0,-1,0,1,-7338.79,-4001.61,11.0869,4.46804,120,0,0,100,0), +(29000815,16356,1,0,0,'0',0,0,0,-1,0,1,-7609.51,-3731.71,16.5359,2.00713,120,0,0,100,0), +(29000816,16356,1,0,0,'0',0,0,0,-1,0,1,-8526.18,-2323.52,32.4688,6.24828,120,0,0,100,0), +(29000817,16356,1,0,0,'0',0,0,0,-1,0,1,-8546.58,-2300.08,27.483,5.63741,120,0,0,100,0), +(29000818,16356,1,0,0,'0',0,0,0,-1,0,1,-8546.71,-2287.25,26.5024,5.20108,120,0,0,100,0), +(29000819,16356,1,0,0,'0',0,0,0,-1,0,1,-8550.62,-2674.02,24.4004,4.46804,120,0,0,100,0), +(29000820,16356,1,0,0,'0',0,0,0,-1,0,1,-8551.27,-2696.9,19.5145,4.04917,120,0,0,100,0), +(29000821,16356,1,0,0,'0',0,0,0,-1,0,1,-8553.1,-2325.86,28.7335,1.88495,120,0,0,100,0), +(29000822,16356,1,0,0,'0',0,0,0,-1,0,1,-8554.31,-2270.46,25.5822,4.20625,120,0,0,100,0), +(29000823,16356,1,0,0,'0',0,0,0,-1,0,1,-8554.6,-2711.14,18.1204,1.95477,120,0,0,100,0), +(29000824,16356,1,0,0,'0',0,0,0,-1,0,1,-8554.92,-2294.24,26.1406,1.95477,120,0,0,100,0), +(29000825,16356,1,0,0,'0',0,0,0,-1,0,1,-8556.13,-2725.65,16.8157,1.37881,120,0,0,100,0), +(29000826,16356,1,0,0,'0',0,0,0,-1,0,1,-8556.26,-2309.37,27.1497,5.53269,120,0,0,100,0), +(29000827,16356,1,0,0,'0',0,0,0,-1,0,1,-8557.07,-2280.72,25.1838,5.81195,120,0,0,100,0), +(29000828,16356,1,0,0,'0',0,0,0,-1,0,1,-8560.55,-2681.99,20.8305,0.226893,120,0,0,100,0), +(29000829,16356,1,0,0,'0',0,0,0,-1,0,1,-8567.42,-2321.62,27.4631,3.14159,120,0,0,100,0), +(29000830,16356,1,0,0,'0',0,0,0,-1,0,1,-8545.69,-2313.16,28.6384,1.8675,120,0,0,100,0), +(29000831,16356,1,0,0,'0',0,0,0,-1,0,1,-8544.33,-2259.92,26.6284,4.03171,120,0,0,100,0), +(29000832,16356,1,0,0,'0',0,0,0,-1,0,1,-8543.9,-2274.42,26.0788,0.226893,120,0,0,100,0), +(29000833,16356,1,0,0,'0',0,0,0,-1,0,1,-8530.54,-2734.3,16.4976,1.88495,120,0,0,100,0), +(29000834,16356,1,0,0,'0',0,0,0,-1,0,1,-8530.84,-2267.82,26.2574,4.46804,120,0,0,100,0), +(29000835,16356,1,0,0,'0',0,0,0,-1,0,1,-8531.11,-2716.61,19.1148,5.63741,120,0,0,100,0), +(29000836,16356,1,0,0,'0',0,0,0,-1,0,1,-8532.56,-2335.88,32.7435,2.80997,120,0,0,100,0), +(29000837,16356,1,0,0,'0',0,0,0,-1,0,1,-8533.4,-2311.17,30.1374,0.715585,120,0,0,100,0), +(29000838,16356,1,0,0,'0',0,0,0,-1,0,1,-8535.79,-2661.39,29.0533,1.85005,120,0,0,100,0), +(29000839,16356,1,0,0,'0',0,0,0,-1,0,1,-8536,-2284.88,27.1547,4.04917,120,0,0,100,0), +(29000840,16356,1,0,0,'0',0,0,0,-1,0,1,-8536.47,-2680.38,25.2552,2.23402,120,0,0,100,0), +(29000841,16356,1,0,0,'0',0,0,0,-1,0,1,-8538.17,-2323.67,30.6695,0.506145,120,0,0,100,0), +(29000842,16356,1,0,0,'0',0,0,0,-1,0,1,-8540.64,-2708.69,19.0619,5.20108,120,0,0,100,0), +(29000843,16356,1,0,0,'0',0,0,0,-1,0,1,-8543.02,-2741.27,15.7143,2.80997,120,0,0,100,0), +(29000844,16356,1,0,0,'0',0,0,0,-1,0,1,-8543.18,-2688.59,22.2679,4.04917,120,0,0,100,0), +(29000845,16356,1,0,0,'0',0,0,0,-1,0,1,-8543.75,-2723.52,17.3032,5.53269,120,0,0,100,0); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) VALUES +(29000846,16356,1,0,0,'0',0,0,0,-1,0,1,-8567.95,-2291.9,24.4589,4.46804,120,0,0,100,0), +(29000847,16356,1,0,0,'0',0,0,0,-1,0,1,-8568.37,-2695.87,18.6941,5.81195,120,0,0,100,0), +(29000848,16356,1,0,0,'0',0,0,0,-1,0,1,-8568.39,-2710.22,17.4404,4.46804,120,0,0,100,0), +(29000849,16356,1,0,0,'0',0,0,0,-1,0,1,-8843.74,-2589.91,20.3794,2.00713,120,0,0,100,0), +(29000850,16356,1,0,0,'0',0,0,0,-1,0,1,-8844.4,-2576.94,18.7649,1.95477,120,0,0,100,0), +(29000851,16356,1,0,0,'0',0,0,0,-1,0,1,-8844.52,-2638.38,23.0135,4.20625,120,0,0,100,0), +(29000852,16356,1,0,0,'0',0,0,0,-1,0,1,-8847.34,-2563.92,17.0464,3.03684,120,0,0,100,0), +(29000853,16356,1,0,0,'0',0,0,0,-1,0,1,-8849.52,-2601.38,21.1683,5.20108,120,0,0,100,0), +(29000854,16356,1,0,0,'0',0,0,0,-1,0,1,-8852.79,-2614.9,21.5556,0.506145,120,0,0,100,0), +(29000855,16356,1,0,0,'0',0,0,0,-1,0,1,-8854.67,-2627.79,21.6025,4.06662,120,0,0,100,0), +(29000856,16356,1,0,0,'0',0,0,0,-1,0,1,-8855.31,-2589.61,19.9539,5.53269,120,0,0,100,0), +(29000857,16356,1,0,0,'0',0,0,0,-1,0,1,-8858.14,-2576.11,19.1797,4.46804,120,0,0,100,0), +(29000858,16356,1,0,0,'0',0,0,0,-1,0,1,-8860.52,-2601.38,19.9517,1.88495,120,0,0,100,0), +(29000859,16356,1,0,0,'0',0,0,0,-1,0,1,-8866.35,-2591.27,18.9667,1.37881,120,0,0,100,0), +(29000860,16356,1,0,0,'0',0,0,0,-1,0,1,-8866.47,-2614.57,19.8519,2.80997,120,0,0,100,0), +(29000861,16356,1,0,0,'0',0,0,0,-1,0,1,-8866.94,-2627.48,20.5245,3.14159,120,0,0,100,0), +(29000862,16356,1,0,0,'0',0,0,0,-1,0,1,-8843.16,-2624.59,23.1432,6.24828,120,0,0,100,0), +(29000863,16356,1,0,0,'0',0,0,0,-1,0,1,-8842.16,-2611.2,22.6175,1.8675,120,0,0,100,0), +(29000864,16356,1,0,0,'0',0,0,0,-1,0,1,-8833.58,-2619.84,24.0012,5.63741,120,0,0,100,0), +(29000865,16356,1,0,0,'0',0,0,0,-1,0,1,-8569.21,-2307.8,26.149,1.37881,120,0,0,100,0), +(29000866,16356,1,0,0,'0',0,0,0,-1,0,1,-8570.12,-2280.41,23.9053,3.03684,120,0,0,100,0), +(29000867,16356,1,0,0,'0',0,0,0,-1,0,1,-8796.55,-2601.58,16.4604,1.85005,120,0,0,100,0), +(29000868,16356,1,0,0,'0',0,0,0,-1,0,1,-8803.88,-2588.05,14.9465,4.46804,120,0,0,100,0), +(29000869,16356,1,0,0,'0',0,0,0,-1,0,1,-8809.92,-2613.55,22.483,1.09956,120,0,0,100,0), +(29000870,16356,1,0,0,'0',0,0,0,-1,0,1,-8813.18,-2600.65,20.0722,2.23402,120,0,0,100,0), +(29000871,16356,1,0,0,'0',0,0,0,-1,0,1,-8817.13,-2574.37,14.2864,0.226893,120,0,0,100,0), +(29000872,16356,1,0,0,'0',0,0,0,-1,0,1,-8821.94,-2588.89,18.6781,4.04917,120,0,0,100,0), +(29000873,16356,1,0,0,'0',0,0,0,-1,0,1,-8821.97,-2612.31,23.3849,4.04917,120,0,0,100,0), +(29000874,16356,1,0,0,'0',0,0,0,-1,0,1,-8822.62,-2624.8,24.9219,5.49779,120,0,0,100,0), +(29000875,16356,1,0,0,'0',0,0,0,-1,0,1,-8831.92,-2562.77,14.4384,5.81195,120,0,0,100,0), +(29000876,16356,1,0,0,'0',0,0,0,-1,0,1,-8833.24,-2580.29,18.1988,0.715585,120,0,0,100,0), +(29000877,16356,1,0,0,'0',0,0,0,-1,0,1,-8833.29,-2633.88,24.6284,3.26377,120,0,0,100,0), +(29000878,16356,1,0,0,'0',0,0,0,-1,0,1,-8875.47,-2605.15,18.6127,4.03171,120,0,0,100,0), +(29000879,16356,1,0,0,'0',0,0,0,-1,0,1,-8331.53,-4222.94,13.4123,4.04917,120,0,0,100,0), +(29000880,16356,1,0,0,'0',0,0,0,-1,0,1,-8440.73,-3850.02,13.0488,2.80997,120,0,0,100,0), +(29000881,16356,1,0,0,'0',0,0,0,-1,0,1,-8447.66,-3833.82,12.3459,0.506145,120,0,0,100,0), +(29000882,16356,1,0,0,'0',0,0,0,-1,0,1,-8450.82,-3861.77,14.0416,4.06662,120,0,0,100,0), +(29000883,16356,1,0,0,'0',0,0,0,-1,0,1,-8453.66,-3796.16,10.6514,3.14159,120,0,0,100,0), +(29000884,16356,1,0,0,'0',0,0,0,-1,0,1,-8454.86,-3809.41,10.7524,3.26377,120,0,0,100,0), +(29000885,16356,1,0,0,'0',0,0,0,-1,0,1,-8455.49,-3821.52,11.621,1.8675,120,0,0,100,0), +(29000886,16356,1,0,0,'0',0,0,0,-1,0,1,-8458.14,-3846.84,14.1027,1.88495,120,0,0,100,0), +(29000887,16356,1,0,0,'0',0,0,0,-1,0,1,-8463.16,-3833.24,13.3817,5.63741,120,0,0,100,0), +(29000888,16356,1,0,0,'0',0,0,0,-1,0,1,-8463.29,-3871.34,16.7454,1.37881,120,0,0,100,0), +(29000889,16356,1,0,0,'0',0,0,0,-1,0,1,-8468.25,-3784.74,10.6056,4.03171,120,0,0,100,0), +(29000890,16356,1,0,0,'0',0,0,0,-1,0,1,-8468.27,-3812.58,12.6366,0.715585,120,0,0,100,0), +(29000891,16356,1,0,0,'0',0,0,0,-1,0,1,-8468.51,-3799.28,11.0332,5.49779,120,0,0,100,0), +(29000892,16356,1,0,0,'0',0,0,0,-1,0,1,-8470.19,-3854.1,17.8575,5.53269,120,0,0,100,0), +(29000893,16356,1,0,0,'0',0,0,0,-1,0,1,-8440.53,-3807.73,11.7735,3.03684,120,0,0,100,0), +(29000894,16356,1,0,0,'0',0,0,0,-1,0,1,-8438.92,-3823.27,12.1672,6.24828,120,0,0,100,0), +(29000895,16356,1,0,0,'0',0,0,0,-1,0,1,-8431.08,-3834.85,12.4184,4.20625,120,0,0,100,0), +(29000896,16356,1,0,0,'0',0,0,0,-1,0,1,-8335.46,-4182.44,13.014,1.8675,120,0,0,100,0), +(29000897,16356,1,0,0,'0',0,0,0,-1,0,1,-8337.4,-4166.29,12.8508,4.46804,120,0,0,100,0), +(29000898,16356,1,0,0,'0',0,0,0,-1,0,1,-8342.07,-4215.83,13.6906,2.23402,120,0,0,100,0), +(29000899,16356,1,0,0,'0',0,0,0,-1,0,1,-8344.86,-4230.75,13.3013,3.26377,120,0,0,100,0), +(29000900,16356,1,0,0,'0',0,0,0,-1,0,1,-8345.09,-4195.04,11.8301,0.715585,120,0,0,100,0), +(29000901,16356,1,0,0,'0',0,0,0,-1,0,1,-8347.74,-4182.62,12.731,1.88495,120,0,0,100,0), +(29000902,16356,1,0,0,'0',0,0,0,-1,0,1,-8351.21,-4168.74,13.3854,3.03684,120,0,0,100,0), +(29000903,16356,1,0,0,'0',0,0,0,-1,0,1,-8353,-4208.15,12.2674,2.00713,120,0,0,100,0), +(29000904,16356,1,0,0,'0',0,0,0,-1,0,1,-8357.24,-4220.91,12.8511,6.24828,120,0,0,100,0), +(29000905,16356,1,0,0,'0',0,0,0,-1,0,1,-8358.85,-4194.83,10.88,0.506145,120,0,0,100,0), +(29000906,16356,1,0,0,'0',0,0,0,-1,0,1,-8365.46,-4179.82,12.2681,4.20625,120,0,0,100,0), +(29000907,16356,1,0,0,'0',0,0,0,-1,0,1,-8371.76,-4209.64,12.2172,0.226893,120,0,0,100,0), +(29000908,16356,1,0,0,'0',0,0,0,-1,0,1,-8372.59,-4222.65,13.8112,4.03171,120,0,0,100,0), +(29000909,16356,1,0,0,'0',0,0,0,-1,0,1,-8473.98,-3841.03,17.8062,5.20108,120,0,0,100,0), +(29000910,16356,1,0,0,'0',0,0,0,-1,0,1,-8478.91,-3859.43,20.9495,4.46804,120,0,0,100,0), +(29000911,16356,1,0,0,'0',0,0,0,-1,0,1,-8524.61,-2690.84,24.5677,2.00713,120,0,0,100,0), +(29000912,16356,1,0,0,'0',0,0,0,-1,0,1,-8509.53,-2306.43,31.1962,5.49779,120,0,0,100,0), +(29000913,16356,1,0,0,'0',0,0,0,-1,0,1,-8509.53,-3832.18,23.253,0.226893,120,0,0,100,0), +(29000914,16356,1,0,0,'0',0,0,0,-1,0,1,-8509.89,-2291.45,29.0953,1.09956,120,0,0,100,0), +(29000915,16356,1,0,0,'0',0,0,0,-1,0,1,-8512.32,-2322.18,33.4144,3.26377,120,0,0,100,0), +(29000916,16356,1,0,0,'0',0,0,0,-1,0,1,-8514.31,-2701.25,23.6604,0.715585,120,0,0,100,0), +(29000917,16356,1,0,0,'0',0,0,0,-1,0,1,-8515.25,-2723.55,20.5058,0.506145,120,0,0,100,0), +(29000918,16356,1,0,0,'0',0,0,0,-1,0,1,-8515.51,-2271.21,26.7178,1.85005,120,0,0,100,0), +(29000919,16356,1,0,0,'0',0,0,0,-1,0,1,-8516.23,-2736.99,18.1427,4.06662,120,0,0,100,0), +(29000920,16356,1,0,0,'0',0,0,0,-1,0,1,-8521.43,-2298.91,29.8686,2.23402,120,0,0,100,0), +(29000921,16356,1,0,0,'0',0,0,0,-1,0,1,-8521.69,-2311.75,31.5211,2.00713,120,0,0,100,0), +(29000922,16356,1,0,0,'0',0,0,0,-1,0,1,-8521.8,-2675.69,28.1672,1.09956,120,0,0,100,0), +(29000923,16356,1,0,0,'0',0,0,0,-1,0,1,-8522.25,-2284.88,28.0509,4.04917,120,0,0,100,0), +(29000924,16356,1,0,0,'0',0,0,0,-1,0,1,-8522.76,-2709.36,21.0987,1.8675,120,0,0,100,0), +(29000925,16356,1,0,0,'0',0,0,0,-1,0,1,-8509.28,-2670.58,31.3468,3.14159,120,0,0,100,0), +(29000926,16356,1,0,0,'0',0,0,0,-1,0,1,-8508.45,-2687.16,27.8193,5.49779,120,0,0,100,0), +(29000927,16356,1,0,0,'0',0,0,0,-1,0,1,-8503.3,-2714.46,22.2704,6.24828,120,0,0,100,0), +(29000928,16356,1,0,0,'0',0,0,0,-1,0,1,-8482.06,-3806.28,16.3868,2.00713,120,0,0,100,0), +(29000929,16356,1,0,0,'0',0,0,0,-1,0,1,-8482.11,-3848.27,21.205,1.95477,120,0,0,100,0), +(29000930,16356,1,0,0,'0',0,0,0,-1,0,1,-8484.35,-3837.43,21.0825,4.04917,120,0,0,100,0), +(29000931,16356,1,0,0,'0',0,0,0,-1,0,1,-8485.91,-3791.77,14.1813,1.09956,120,0,0,100,0), +(29000932,16356,1,0,0,'0',0,0,0,-1,0,1,-8487.71,-2715.79,23.6916,3.03684,120,0,0,100,0), +(29000933,16356,1,0,0,'0',0,0,0,-1,0,1,-8489.18,-3818.92,20.8645,2.23402,120,0,0,100,0), +(29000934,16356,1,0,0,'0',0,0,0,-1,0,1,-8492.32,-2687.27,29.2567,4.03171,120,0,0,100,0), +(29000935,16356,1,0,0,'0',0,0,0,-1,0,1,-8492.5,-2702.93,25.9494,3.26377,120,0,0,100,0), +(29000936,16356,1,0,0,'0',0,0,0,-1,0,1,-8502.65,-3817.23,23.0028,4.46804,120,0,0,100,0), +(29000937,16356,1,0,0,'0',0,0,0,-1,0,1,-8500.43,-2728.77,21.0354,4.20625,120,0,0,100,0), +(29000938,16356,1,0,0,'0',0,0,0,-1,0,1,-8497.73,-3829.68,23.2553,4.04917,120,0,0,100,0), +(29000939,16356,1,0,0,'0',0,0,0,-1,0,1,-8497.2,-3843.25,23.6297,5.81195,120,0,0,100,0), +(29000940,16356,1,0,0,'0',0,0,0,-1,0,1,-8495.78,-3805.49,20.6777,1.85005,120,0,0,100,0), +(29000941,16356,1,0,0,'0',0,0,0,-1,0,1,-8495.53,-2299.1,28.8357,4.06662,120,0,0,100,0), +(29000942,16386,1,0,0,'0',0,0,0,-1,0,1,-7286.2,-3605.43,27.6063,2.60054,120,0,0,100,0), +(29000943,16386,1,0,0,'0',0,0,0,-1,0,1,-7358.42,-3891.88,28.3298,2.60054,120,0,0,100,0), +(29000944,16386,1,0,0,'0',0,0,0,-1,0,1,-7567.21,-3732.62,27.0627,2.60054,120,0,0,100,0), +(29000945,16386,1,0,0,'0',0,0,0,-1,0,1,-8223.52,-3857.08,27.0452,2.60054,120,0,0,100,0), +(29000946,16386,1,0,0,'0',0,0,0,-1,0,1,-8333.31,-4133.65,22.6421,2.60054,120,0,0,100,0), +(29000947,16386,1,0,0,'0',0,0,0,-1,0,1,-8433.66,-3865.46,25.2579,2.60054,120,0,0,100,0), +(29000948,16386,1,0,0,'0',0,0,0,-1,0,1,-8566.54,-2633.84,42.1126,2.60054,120,0,0,100,0), +(29000949,16386,1,0,0,'0',0,0,0,-1,0,1,-8566.67,-2367.05,49.5516,2.60054,120,0,0,100,0), +(29000950,16386,1,0,0,'0',0,0,0,-1,0,1,-8767.29,-2566.3,31.2359,2.60054,120,0,0,100,0), +(29000951,16398,1,0,0,'0',0,0,0,-1,0,1,-7334.35,-3665.95,39.8496,4.10152,120,0,0,100,0), +(29000952,16398,1,0,0,'0',0,0,0,-1,0,1,-7380.73,-3816.19,35.7702,4.10152,120,0,0,100,0), +(29000953,16398,1,0,0,'0',0,0,0,-1,0,1,-7484.02,-3732.84,46.1922,4.10152,120,0,0,100,0), +(29000954,16398,1,0,0,'0',0,0,0,-1,0,1,-8282.23,-3916.84,41.9036,4.10152,120,0,0,100,0), +(29000955,16398,1,0,0,'0',0,0,0,-1,0,1,-8333.9,-4049.92,37.7556,4.10152,120,0,0,100,0), +(29000956,16398,1,0,0,'0',0,0,0,-1,0,1,-8387.38,-3912.66,35.1221,4.10152,120,0,0,100,0), +(29000957,16398,1,0,0,'0',0,0,0,-1,0,1,-8599.53,-2432.71,70.9452,4.10152,120,0,0,100,0), +(29000958,16398,1,0,0,'0',0,0,0,-1,0,1,-8600.12,-2566.9,64.9577,4.10152,120,0,0,100,0), +(29000959,16398,1,0,0,'0',0,0,0,-1,0,1,-8700.02,-2533.75,51.4734,4.10152,120,0,0,100,0), +(29000960,16401,1,0,0,'0',0,0,0,-1,0,1,-8633.21,-2499.82,114.1,2.82743,120,0,0,100,0), +(29000961,16401,1,0,0,'0',0,0,0,-1,0,1,-8333.68,-3966.4,77.9316,1.37881,120,0,0,100,0), +(29000962,16401,1,0,0,'0',0,0,0,-1,0,1,-7399.95,-3733.06,61.1337,5.81195,120,0,0,100,0), +(29000963,16421,1,0,0,'0',0,0,0,-1,0,1,-8633.21,-2499.82,114.1,2.82743,120,0,0,100,0), +(29000964,16421,1,0,0,'0',0,0,0,-1,0,1,-8333.68,-3966.4,77.9316,1.37881,120,0,0,100,0), +(29000965,16421,1,0,0,'0',0,0,0,-1,0,1,-7399.95,-3733.06,61.1337,5.81195,120,0,0,100,0), +(29000966,16356,1,0,0,'0',0,0,0,-1,0,1,3533.39,-4172.37,105.328,1.88495,120,0,0,100,0), +(29000967,16356,1,0,0,'0',0,0,0,-1,0,1,3518.78,-5750.42,5.19787,4.03171,120,0,0,100,0), +(29000968,16356,1,0,0,'0',0,0,0,-1,0,1,3515.6,-4132.6,105.999,4.04917,120,0,0,100,0), +(29000969,16356,1,0,0,'0',0,0,0,-1,0,1,3514.81,-5692.86,4.26868,0.715585,120,0,0,100,0), +(29000970,16356,1,0,0,'0',0,0,0,-1,0,1,3513.05,-5738.57,4.13426,3.26377,120,0,0,100,0), +(29000971,16356,1,0,0,'0',0,0,0,-1,0,1,3511.52,-4160.92,105.342,5.63741,120,0,0,100,0), +(29000972,16356,1,0,0,'0',0,0,0,-1,0,1,3511.37,-4193.3,100.419,3.14159,120,0,0,100,0), +(29000973,16356,1,0,0,'0',0,0,0,-1,0,1,3511.29,-4177.76,101.65,5.53269,120,0,0,100,0), +(29000974,16356,1,0,0,'0',0,0,0,-1,0,1,3511,-5722.33,4.77359,5.20108,120,0,0,100,0), +(29000975,16356,1,0,0,'0',0,0,0,-1,0,1,3519.91,-4119.88,105.367,2.80997,120,0,0,100,0), +(29000976,16356,1,0,0,'0',0,0,0,-1,0,1,3521.14,-4171.2,103.552,2.23402,120,0,0,100,0), +(29000977,16356,1,0,0,'0',0,0,0,-1,0,1,3522.71,-5729.77,2.86675,4.04917,120,0,0,100,0), +(29000978,16356,1,0,0,'0',0,0,0,-1,0,1,3527.92,-5741.46,2.53033,5.49779,120,0,0,100,0), +(29000979,16356,1,0,0,'0',0,0,0,-1,0,1,3526.56,-4130.81,107.419,3.26377,120,0,0,100,0), +(29000980,16356,1,0,0,'0',0,0,0,-1,0,1,3525.95,-5690.33,5.74887,4.04917,120,0,0,100,0), +(29000981,16356,1,0,0,'0',0,0,0,-1,0,1,3525.71,-5702.98,5.7656,1.8675,120,0,0,100,0), +(29000982,16356,1,0,0,'0',0,0,0,-1,0,1,3524.68,-4158.03,107.071,1.8675,120,0,0,100,0), +(29000983,16356,1,0,0,'0',0,0,0,-1,0,1,3524.24,-4185.59,102.865,0.226893,120,0,0,100,0), +(29000984,16356,1,0,0,'0',0,0,0,-1,0,1,3523.98,-5675.84,4.81455,4.06662,120,0,0,100,0), +(29000985,16356,1,0,0,'0',0,0,0,-1,0,1,3522.99,-4142.82,107.56,0.715585,120,0,0,100,0), +(29000986,16356,1,0,0,'0',0,0,0,-1,0,1,3508.56,-4145.32,105.706,5.20108,120,0,0,100,0), +(29000987,16356,1,0,0,'0',0,0,0,-1,0,1,3508.2,-5678.11,5.59947,2.80997,120,0,0,100,0), +(29000988,16356,1,0,0,'0',0,0,0,-1,0,1,3494.08,-5724.02,7.07728,0.506145,120,0,0,100,0), +(29000989,16356,1,0,0,'0',0,0,0,-1,0,1,3493.71,-5702.21,4.62473,5.53269,120,0,0,100,0), +(29000990,16356,1,0,0,'0',0,0,0,-1,0,1,3491.65,-5687.77,4.77581,1.37881,120,0,0,100,0), +(29000991,16356,1,0,0,'0',0,0,0,-1,0,1,3490.66,-5733.71,7.04485,3.03684,120,0,0,100,0), +(29000992,16356,1,0,0,'0',0,0,0,-1,0,1,3489.89,-4127.42,103.58,4.20625,120,0,0,100,0), +(29000993,16356,1,0,0,'0',0,0,0,-1,0,1,3488.06,-5710.97,5.98872,1.88495,120,0,0,100,0), +(29000994,16356,1,0,0,'0',0,0,0,-1,0,1,3486.96,-4157.97,102.621,1.85005,120,0,0,100,0), +(29000995,16356,1,0,0,'0',0,0,0,-1,0,1,3482.23,-4172.11,99.6946,4.03171,120,0,0,100,0), +(29000996,16356,1,0,0,'0',0,0,0,-1,0,1,3496.34,-4145.18,103.741,1.09956,120,0,0,100,0), +(29000997,16356,1,0,0,'0',0,0,0,-1,0,1,3497.39,-4183.08,98.5261,4.46804,120,0,0,100,0), +(29000998,16356,1,0,0,'0',0,0,0,-1,0,1,3498.01,-4168.62,101.474,1.95477,120,0,0,100,0), +(29000999,16356,1,0,0,'0',0,0,0,-1,0,1,3507.83,-4123.35,103.923,4.06662,120,0,0,100,0), +(29001000,16356,1,0,0,'0',0,0,0,-1,0,1,3507.8,-5705.52,4.60514,5.63741,120,0,0,100,0), +(29001001,16356,1,0,0,'0',0,0,0,-1,0,1,3504.39,-4133.83,107.599,5.49779,120,0,0,100,0), +(29001002,16356,1,0,0,'0',0,0,0,-1,0,1,3503.97,-5690.9,4.51797,1.95477,120,0,0,100,0), +(29001003,16356,1,0,0,'0',0,0,0,-1,0,1,3503.59,-5743.56,4.9394,4.20625,120,0,0,100,0), +(29001004,16356,1,0,0,'0',0,0,0,-1,0,1,3501.47,-5732.45,5.50239,6.24828,120,0,0,100,0), +(29001005,16356,1,0,0,'0',0,0,0,-1,0,1,3499.21,-4155.17,103.601,2.00713,120,0,0,100,0), +(29001006,16356,1,0,0,'0',0,0,0,-1,0,1,3498.46,-5715.92,6.02655,2.00713,120,0,0,100,0), +(29001007,16356,1,0,0,'0',0,0,0,-1,0,1,3475.85,-4132.15,108.939,3.03684,120,0,0,100,0), +(29001008,16356,1,0,0,'0',0,0,0,-1,0,1,3702.28,-5548.42,17.2446,4.20625,120,0,0,100,0), +(29001009,16356,1,0,0,'0',0,0,0,-1,0,1,3672.79,-5499.77,28.3583,5.81195,120,0,0,100,0), +(29001010,16356,1,0,0,'0',0,0,0,-1,0,1,3670.6,-5514.95,24.1455,4.04917,120,0,0,100,0), +(29001011,16356,1,0,0,'0',0,0,0,-1,0,1,3666.26,-5572.33,15.0484,3.14159,120,0,0,100,0), +(29001012,16356,1,0,0,'0',0,0,0,-1,0,1,3664.29,-5550.41,17.9544,2.00713,120,0,0,100,0), +(29001013,16356,1,0,0,'0',0,0,0,-1,0,1,3662.81,-5563.04,16.3745,4.46804,120,0,0,100,0), +(29001014,16356,1,0,0,'0',0,0,0,-1,0,1,3660.68,-5508.89,26.724,5.49779,120,0,0,100,0), +(29001015,16356,1,0,0,'0',0,0,0,-1,0,1,3658.43,-5522.9,23.2322,0.715585,120,0,0,100,0), +(29001016,16356,1,0,0,'0',0,0,0,-1,0,1,3654.55,-5541.72,20.819,5.20108,120,0,0,100,0), +(29001017,16356,1,0,0,'0',0,0,0,-1,0,1,3675.8,-5542.07,18.1617,5.63741,120,0,0,100,0), +(29001018,16356,1,0,0,'0',0,0,0,-1,0,1,3676.29,-5565.21,14.818,2.80997,120,0,0,100,0), +(29001019,16356,1,0,0,'0',0,0,0,-1,0,1,3676.53,-5526.23,21.2233,1.8675,120,0,0,100,0), +(29001020,16356,1,0,0,'0',0,0,0,-1,0,1,3699.76,-5535.99,19.664,0.226893,120,0,0,100,0), +(29001021,16356,1,0,0,'0',0,0,0,-1,0,1,3693.61,-5512.01,24.4701,3.03684,120,0,0,100,0), +(29001022,16356,1,0,0,'0',0,0,0,-1,0,1,3690.1,-5555.26,15.5335,4.06662,120,0,0,100,0), +(29001023,16356,1,0,0,'0',0,0,0,-1,0,1,3689.47,-5523.47,22.0029,6.24828,120,0,0,100,0), +(29001024,16356,1,0,0,'0',0,0,0,-1,0,1,3689.03,-5544.3,17.1654,0.506145,120,0,0,100,0), +(29001025,16356,1,0,0,'0',0,0,0,-1,0,1,3687.04,-5535.02,18.9696,2.23402,120,0,0,100,0), +(29001026,16356,1,0,0,'0',0,0,0,-1,0,1,3682.15,-5513.76,24.072,3.26377,120,0,0,100,0), +(29001027,16356,1,0,0,'0',0,0,0,-1,0,1,3676.9,-5552.87,16.2495,1.88495,120,0,0,100,0), +(29001028,16356,1,0,0,'0',0,0,0,-1,0,1,3651.64,-5564.29,17.5879,4.03171,120,0,0,100,0), +(29001029,16356,1,0,0,'0',0,0,0,-1,0,1,3650.81,-5552.16,19.3526,5.53269,120,0,0,100,0), +(29001030,16356,1,0,0,'0',0,0,0,-1,0,1,3543.24,-5746.65,1.89087,3.14159,120,0,0,100,0), +(29001031,16356,1,0,0,'0',0,0,0,-1,0,1,3542.16,-5733.04,1.71104,1.09956,120,0,0,100,0), +(29001032,16356,1,0,0,'0',0,0,0,-1,0,1,3541.88,-4160.51,106.205,0.506145,120,0,0,100,0), +(29001033,16356,1,0,0,'0',0,0,0,-1,0,1,3539.37,-4138.37,107.582,6.24828,120,0,0,100,0), +(29001034,16356,1,0,0,'0',0,0,0,-1,0,1,3538.77,-4126.51,109.197,1.37881,120,0,0,100,0), +(29001035,16356,1,0,0,'0',0,0,0,-1,0,1,3538.73,-5697.86,7.8636,0.226893,120,0,0,100,0), +(29001036,16356,1,0,0,'0',0,0,0,-1,0,1,3537.48,-5684.61,6.55419,4.46804,120,0,0,100,0), +(29001037,16356,1,0,0,'0',0,0,0,-1,0,1,3537,-5709.04,6.25807,2.23402,120,0,0,100,0), +(29001038,16356,1,0,0,'0',0,0,0,-1,0,1,3543.48,-4172.77,106.955,5.81195,120,0,0,100,0), +(29001039,16356,1,0,0,'0',0,0,0,-1,0,1,3547.56,-5722,2.6648,1.85005,120,0,0,100,0), +(29001040,16356,1,0,0,'0',0,0,0,-1,0,1,3551.49,-5701.81,6.66457,5.81195,120,0,0,100,0), +(29001041,16356,1,0,0,'0',0,0,0,-1,0,1,3646.52,-5513.63,25.4151,1.09956,120,0,0,100,0), +(29001042,16356,1,0,0,'0',0,0,0,-1,0,1,3645.98,-5527.76,23.378,4.04917,120,0,0,100,0), +(29001043,16356,1,0,0,'0',0,0,0,-1,0,1,3642.21,-5539.7,22.084,1.95477,120,0,0,100,0), +(29001044,16356,1,0,0,'0',0,0,0,-1,0,1,3637.79,-5551.26,20.5829,1.37881,120,0,0,100,0), +(29001045,16356,1,0,0,'0',0,0,0,-1,0,1,3632.27,-5525.7,23.2605,1.85005,120,0,0,100,0); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) VALUES +(29001046,16356,1,0,0,'0',0,0,0,-1,0,1,3629.52,-5537.6,21.5078,4.46804,120,0,0,100,0), +(29001047,16356,1,0,0,'0',0,0,0,-1,0,1,3552.45,-5712.3,4.66837,4.46804,120,0,0,100,0), +(29001048,16356,1,0,0,'0',0,0,0,-1,0,1,3551.9,-4149.52,105.794,4.46804,120,0,0,100,0), +(29001049,16356,1,0,0,'0',0,0,0,-1,0,1,3535.63,-4150.14,107.273,4.04917,120,0,0,100,0), +(29001050,16356,1,0,0,'0',0,0,0,-1,0,1,3334.05,-4547.67,97.5789,5.53269,120,0,0,100,0), +(29001051,16356,1,0,0,'0',0,0,0,-1,0,1,3303.45,-4537.55,94.6147,4.03171,120,0,0,100,0), +(29001052,16356,1,0,0,'0',0,0,0,-1,0,1,3297.06,-4492.66,97.7712,3.03684,120,0,0,100,0), +(29001053,16356,1,0,0,'0',0,0,0,-1,0,1,3123.73,-4224.92,100.597,2.80997,120,0,0,100,0), +(29001054,16356,1,0,0,'0',0,0,0,-1,0,1,3122.37,-4198.01,106.872,4.06662,120,0,0,100,0), +(29001055,16356,1,0,0,'0',0,0,0,-1,0,1,3117.07,-4212.53,102.378,1.88495,120,0,0,100,0), +(29001056,16356,1,0,0,'0',0,0,0,-1,0,1,3115.46,-4239.17,99.894,1.37881,120,0,0,100,0), +(29001057,16356,1,0,0,'0',0,0,0,-1,0,1,3111.7,-4224.77,99.2081,5.53269,120,0,0,100,0), +(29001058,16356,1,0,0,'0',0,0,0,-1,0,1,3107.96,-4200.47,102.344,0.506145,120,0,0,100,0), +(29001059,16356,1,0,0,'0',0,0,0,-1,0,1,3303.64,-4508.5,96.8414,1.37881,120,0,0,100,0), +(29001060,16356,1,0,0,'0',0,0,0,-1,0,1,3311.86,-4483.88,99.9921,1.85005,120,0,0,100,0), +(29001061,16356,1,0,0,'0',0,0,0,-1,0,1,3317.9,-4552.03,95.2773,0.226893,120,0,0,100,0), +(29001062,16356,1,0,0,'0',0,0,0,-1,0,1,3333.38,-4523.2,98.2382,5.63741,120,0,0,100,0), +(29001063,16356,1,0,0,'0',0,0,0,-1,0,1,3332.78,-5576.57,14.3716,4.06662,120,0,0,100,0), +(29001064,16356,1,0,0,'0',0,0,0,-1,0,1,3331.88,-4510.62,97.4588,0.715585,120,0,0,100,0), +(29001065,16356,1,0,0,'0',0,0,0,-1,0,1,3331.03,-4484.22,98.3,1.09956,120,0,0,100,0), +(29001066,16356,1,0,0,'0',0,0,0,-1,0,1,3322,-4535.2,97.9475,1.95477,120,0,0,100,0), +(29001067,16356,1,0,0,'0',0,0,0,-1,0,1,3321.41,-4519.14,98.2024,4.04917,120,0,0,100,0), +(29001068,16356,1,0,0,'0',0,0,0,-1,0,1,3321.15,-4497.27,97.3538,5.49779,120,0,0,100,0), +(29001069,16356,1,0,0,'0',0,0,0,-1,0,1,3319.64,-4470.73,102.761,4.20625,120,0,0,100,0), +(29001070,16356,1,0,0,'0',0,0,0,-1,0,1,3106.46,-4184.55,102.513,4.20625,120,0,0,100,0), +(29001071,16356,1,0,0,'0',0,0,0,-1,0,1,3105.64,-4249.88,99.2042,4.46804,120,0,0,100,0), +(29001072,16356,1,0,0,'0',0,0,0,-1,0,1,3077.45,-4255.77,97.9742,3.14159,120,0,0,100,0), +(29001073,16356,1,0,0,'0',0,0,0,-1,0,1,3077.05,-4209.22,96.0722,1.8675,120,0,0,100,0), +(29001074,16356,1,0,0,'0',0,0,0,-1,0,1,3070.3,-4194.14,96.5278,5.49779,120,0,0,100,0), +(29001075,16356,1,0,0,'0',0,0,0,-1,0,1,3069.67,-4218.87,95.3934,4.04917,120,0,0,100,0), +(29001076,16356,1,0,0,'0',0,0,0,-1,0,1,3068.87,-4181.28,97.6392,3.03684,120,0,0,100,0), +(29001077,16356,1,0,0,'0',0,0,0,-1,0,1,3064.58,-4231.33,96.0068,4.46804,120,0,0,100,0), +(29001078,16356,1,0,0,'0',0,0,0,-1,0,1,3061.03,-4205.14,95.3405,1.09956,120,0,0,100,0), +(29001079,16356,1,0,0,'0',0,0,0,-1,0,1,3054.88,-4193.17,96.3701,4.03171,120,0,0,100,0), +(29001080,16356,1,0,0,'0',0,0,0,-1,0,1,3078.05,-4241.88,97.7776,0.226893,120,0,0,100,0), +(29001081,16356,1,0,0,'0',0,0,0,-1,0,1,3078.86,-4226.2,96.4072,0.715585,120,0,0,100,0), +(29001082,16356,1,0,0,'0',0,0,0,-1,0,1,3082.93,-4181.02,98.3096,3.26377,120,0,0,100,0), +(29001083,16356,1,0,0,'0',0,0,0,-1,0,1,3104.51,-4213.21,99.724,2.00713,120,0,0,100,0), +(29001084,16356,1,0,0,'0',0,0,0,-1,0,1,3101.93,-4236.38,98.152,1.95477,120,0,0,100,0), +(29001085,16356,1,0,0,'0',0,0,0,-1,0,1,3097.55,-4222.91,97.6538,5.20108,120,0,0,100,0), +(29001086,16356,1,0,0,'0',0,0,0,-1,0,1,3094.07,-4204.89,98.4522,5.63741,120,0,0,100,0), +(29001087,16356,1,0,0,'0',0,0,0,-1,0,1,3091.28,-4249.13,98.1309,5.81195,120,0,0,100,0), +(29001088,16356,1,0,0,'0',0,0,0,-1,0,1,3091.23,-4189.78,98.9192,6.24828,120,0,0,100,0), +(29001089,16356,1,0,0,'0',0,0,0,-1,0,1,3089.11,-4233.47,97.1534,4.04917,120,0,0,100,0), +(29001090,16356,1,0,0,'0',0,0,0,-1,0,1,3084.01,-4199.98,98.0012,2.23402,120,0,0,100,0), +(29001091,16356,1,0,0,'0',0,0,0,-1,0,1,3052.05,-4218.66,94.5101,1.85005,120,0,0,100,0), +(29001092,16356,1,0,0,'0',0,0,0,-1,0,1,3401.69,-5572.06,11.1274,2.80997,120,0,0,100,0), +(29001093,16356,1,0,0,'0',0,0,0,-1,0,1,3374.54,-4503.57,99.4529,4.06662,120,0,0,100,0), +(29001094,16356,1,0,0,'0',0,0,0,-1,0,1,3374.33,-5572.26,10.2641,5.63741,120,0,0,100,0), +(29001095,16356,1,0,0,'0',0,0,0,-1,0,1,3374.06,-5540.74,16.3713,6.24828,120,0,0,100,0), +(29001096,16356,1,0,0,'0',0,0,0,-1,0,1,3373.94,-5559.22,12.58,1.8675,120,0,0,100,0), +(29001097,16356,1,0,0,'0',0,0,0,-1,0,1,3367.3,-5602.42,8.44488,3.14159,120,0,0,100,0), +(29001098,16356,1,0,0,'0',0,0,0,-1,0,1,3367.16,-5590.04,8.40419,4.04917,120,0,0,100,0), +(29001099,16356,1,0,0,'0',0,0,0,-1,0,1,3367.03,-5580.67,9.14213,0.715585,120,0,0,100,0), +(29001100,16356,1,0,0,'0',0,0,0,-1,0,1,3366.84,-4551.24,99.3444,5.81195,120,0,0,100,0), +(29001101,16356,1,0,0,'0',0,0,0,-1,0,1,3375.73,-4517.19,100.536,6.24828,120,0,0,100,0), +(29001102,16356,1,0,0,'0',0,0,0,-1,0,1,3378.03,-5583.71,8.52229,1.95477,120,0,0,100,0), +(29001103,16356,1,0,0,'0',0,0,0,-1,0,1,3378.62,-5593.57,7.50537,4.46804,120,0,0,100,0), +(29001104,16356,1,0,0,'0',0,0,0,-1,0,1,3397.78,-5563.62,12.4127,1.88495,120,0,0,100,0), +(29001105,16356,1,0,0,'0',0,0,0,-1,0,1,3397.08,-5551.55,14.2353,3.03684,120,0,0,100,0), +(29001106,16356,1,0,0,'0',0,0,0,-1,0,1,3391.48,-5584,8.78693,1.37881,120,0,0,100,0), +(29001107,16356,1,0,0,'0',0,0,0,-1,0,1,3388.58,-5574.24,9.89189,5.53269,120,0,0,100,0), +(29001108,16356,1,0,0,'0',0,0,0,-1,0,1,3386.67,-5540.08,16.1174,4.03171,120,0,0,100,0), +(29001109,16356,1,0,0,'0',0,0,0,-1,0,1,3385.7,-5552.67,13.7273,0.506145,120,0,0,100,0), +(29001110,16356,1,0,0,'0',0,0,0,-1,0,1,3383.45,-5565.49,11.5553,2.23402,120,0,0,100,0), +(29001111,16356,1,0,0,'0',0,0,0,-1,0,1,3380.49,-4541.89,99.703,4.46804,120,0,0,100,0), +(29001112,16356,1,0,0,'0',0,0,0,-1,0,1,3365.3,-5550.28,14.5021,4.04917,120,0,0,100,0), +(29001113,16356,1,0,0,'0',0,0,0,-1,0,1,3365.13,-4574.19,97.0721,3.14159,120,0,0,100,0), +(29001114,16356,1,0,0,'0',0,0,0,-1,0,1,3343.69,-5574.38,11.6644,4.46804,120,0,0,100,0), +(29001115,16356,1,0,0,'0',0,0,0,-1,0,1,3343.45,-5586.44,10.6995,4.20625,120,0,0,100,0), +(29001116,16356,1,0,0,'0',0,0,0,-1,0,1,3342.43,-5554.33,16.3574,1.09956,120,0,0,100,0), +(29001117,16356,1,0,0,'0',0,0,0,-1,0,1,3342.15,-4509.72,97.5853,1.8675,120,0,0,100,0), +(29001118,16356,1,0,0,'0',0,0,0,-1,0,1,3341.39,-4562.71,98.1636,4.46804,120,0,0,100,0), +(29001119,16356,1,0,0,'0',0,0,0,-1,0,1,3340.95,-4533.95,98.2443,2.00713,120,0,0,100,0), +(29001120,16356,1,0,0,'0',0,0,0,-1,0,1,3340.66,-4470.9,99.1944,2.80997,120,0,0,100,0), +(29001121,16356,1,0,0,'0',0,0,0,-1,0,1,3335.97,-4498.37,97.0747,4.04917,120,0,0,100,0), +(29001122,16356,1,0,0,'0',0,0,0,-1,0,1,3334.31,-5564.92,15.6421,1.85005,120,0,0,100,0), +(29001123,16356,1,0,0,'0',0,0,0,-1,0,1,3343.84,-4521.73,98.083,5.20108,120,0,0,100,0), +(29001124,16356,1,0,0,'0',0,0,0,-1,0,1,3349.37,-5564.11,12.6707,2.00713,120,0,0,100,0), +(29001125,16356,1,0,0,'0',0,0,0,-1,0,1,3364,-5533.69,19.6938,3.26377,120,0,0,100,0), +(29001126,16356,1,0,0,'0',0,0,0,-1,0,1,3359.02,-4534.84,100.891,0.506145,120,0,0,100,0), +(29001127,16356,1,0,0,'0',0,0,0,-1,0,1,3358.77,-5573.38,10.0153,5.20108,120,0,0,100,0), +(29001128,16356,1,0,0,'0',0,0,0,-1,0,1,3355.53,-4514.97,99.4529,2.23402,120,0,0,100,0), +(29001129,16356,1,0,0,'0',0,0,0,-1,0,1,3355.19,-5583.63,9.23584,0.226893,120,0,0,100,0), +(29001130,16356,1,0,0,'0',0,0,0,-1,0,1,3354.8,-4496.21,97.864,3.26377,120,0,0,100,0), +(29001131,16356,1,0,0,'0',0,0,0,-1,0,1,3353.38,-5594.22,9.27417,5.81195,120,0,0,100,0), +(29001132,16356,1,0,0,'0',0,0,0,-1,0,1,3351.04,-5543.88,18.714,5.49779,120,0,0,100,0), +(29001133,16356,1,0,0,'0',0,0,0,-1,0,1,3350.16,-4550.55,99.9108,1.88495,120,0,0,100,0), +(29001134,16386,1,0,0,'0',0,0,0,-1,0,1,3612.61,-5566.16,25.598,2.60054,120,0,0,100,0), +(29001135,16386,1,0,0,'0',0,0,0,-1,0,1,3529.63,-5678.56,12.0461,2.60054,120,0,0,100,0), +(29001136,16386,1,0,0,'0',0,0,0,-1,0,1,3448.66,-4191.01,119.208,2.60054,120,0,0,100,0), +(29001137,16386,1,0,0,'0',0,0,0,-1,0,1,3433.84,-5589.88,31.0207,2.60054,120,0,0,100,0), +(29001138,16386,1,0,0,'0',0,0,0,-1,0,1,3313.65,-4433.73,124.361,2.60054,120,0,0,100,0), +(29001139,16386,1,0,0,'0',0,0,0,-1,0,1,3166.14,-4244.19,127.344,2.60054,120,0,0,100,0), +(29001140,16398,1,0,0,'0',0,0,0,-1,0,1,3564.39,-5596.77,31.2577,4.10152,120,0,0,100,0), +(29001141,16398,1,0,0,'0',0,0,0,-1,0,1,3535.45,-5643.02,26.5771,4.10152,120,0,0,100,0), +(29001142,16398,1,0,0,'0',0,0,0,-1,0,1,3489.95,-5599.45,38.5652,4.10152,120,0,0,100,0), +(29001143,16398,1,0,0,'0',0,0,0,-1,0,1,3363.05,-4230.81,147.63,4.10152,120,0,0,100,0), +(29001144,16398,1,0,0,'0',0,0,0,-1,0,1,3300.44,-4356.98,154.459,4.10152,120,0,0,100,0), +(29001145,16398,1,0,0,'0',0,0,0,-1,0,1,3234.63,-4264.38,141.236,4.10152,120,0,0,100,0), +(29001146,16401,1,0,0,'0',0,0,0,-1,0,1,3299.55,-4301.3,177.891,5.81195,120,0,0,100,0), +(29001147,16401,1,0,0,'0',0,0,0,-1,0,1,3544.98,-5610.26,67.196,2.82743,120,0,0,100,0), +(29001148,16421,1,0,0,'0',0,0,0,-1,0,1,3299.55,-4301.3,177.891,5.81195,120,0,0,100,0), +(29001149,16421,1,0,0,'0',0,0,0,-1,0,1,3544.98,-5610.26,67.196,2.82743,120,0,0,100,0), +(29001150,16356,0,0,0,'0',0,0,0,-1,0,1,-11181.1,-2973.18,7.62003,5.20108,120,0,0,100,0), +(29001151,16356,0,0,0,'0',0,0,0,-1,0,1,-11217.4,-3372.26,9.48901,4.20625,120,0,0,100,0), +(29001152,16356,0,0,0,'0',0,0,0,-1,0,1,-11218.1,-3309.33,9.15481,2.80997,120,0,0,100,0), +(29001153,16356,0,0,0,'0',0,0,0,-1,0,1,-11218.2,-3391.36,22.9658,0.226893,120,0,0,100,0), +(29001154,16356,0,0,0,'0',0,0,0,-1,0,1,-11219.5,-3353.26,5.08604,6.24828,120,0,0,100,0), +(29001155,16356,0,0,0,'0',0,0,0,-1,0,1,-11221,-3023.16,6.41069,5.81195,120,0,0,100,0), +(29001156,16356,0,0,0,'0',0,0,0,-1,0,1,-11222,-2984.07,3.90817,2.80997,120,0,0,100,0), +(29001157,16356,0,0,0,'0',0,0,0,-1,0,1,-11223,-3005.04,7.03504,0.226893,120,0,0,100,0), +(29001158,16356,0,0,0,'0',0,0,0,-1,0,1,-11223.5,-2946.92,10.2132,4.20625,120,0,0,100,0), +(29001159,16356,0,0,0,'0',0,0,0,-1,0,1,-11216.1,-3325.78,8.73674,1.37881,120,0,0,100,0), +(29001160,16356,0,0,0,'0',0,0,0,-1,0,1,-11208.6,-2953.39,8.99919,4.06662,120,0,0,100,0), +(29001161,16356,0,0,0,'0',0,0,0,-1,0,1,-11208.1,-3013.59,5.09382,4.46804,120,0,0,100,0), +(29001162,16356,0,0,0,'0',0,0,0,-1,0,1,-11184,-2946.85,19.4695,2.23402,120,0,0,100,0), +(29001163,16356,0,0,0,'0',0,0,0,-1,0,1,-11193,-2963.79,8.5652,2.00713,120,0,0,100,0), +(29001164,16356,0,0,0,'0',0,0,0,-1,0,1,-11193,-2978.19,8.73847,5.63741,120,0,0,100,0), +(29001165,16356,0,0,0,'0',0,0,0,-1,0,1,-11193,-3005.14,6.8718,1.09956,120,0,0,100,0), +(29001166,16356,0,0,0,'0',0,0,0,-1,0,1,-11194,-3023.39,7.16518,1.85005,120,0,0,100,0), +(29001167,16356,0,0,0,'0',0,0,0,-1,0,1,-11205.5,-2971.31,8.41278,4.46804,120,0,0,100,0), +(29001168,16356,0,0,0,'0',0,0,0,-1,0,1,-11206.8,-3342.5,5.20492,4.06662,120,0,0,100,0), +(29001169,16356,0,0,0,'0',0,0,0,-1,0,1,-11207.4,-2992.09,4.00507,1.37881,120,0,0,100,0), +(29001170,16356,0,0,0,'0',0,0,0,-1,0,1,-11227.2,-3338.57,9.37604,1.95477,120,0,0,100,0), +(29001171,16356,0,0,0,'0',0,0,0,-1,0,1,-11231.3,-3323.45,9.99582,0.506145,120,0,0,100,0), +(29001172,16356,0,0,0,'0',0,0,0,-1,0,1,-11265.1,-3368,6.34093,2.23402,120,0,0,100,0), +(29001173,16356,0,0,0,'0',0,0,0,-1,0,1,-11272,-3384.21,6.37339,5.49779,120,0,0,100,0), +(29001174,16356,0,0,0,'0',0,0,0,-1,0,1,-11272.4,-3343.95,9.96668,4.04917,120,0,0,100,0), +(29001175,16356,0,0,0,'0',0,0,0,-1,0,1,-11274.2,-3317.7,25.2531,5.81195,120,0,0,100,0), +(29001176,16356,0,0,0,'0',0,0,0,-1,0,1,-11276,-3358.51,6.2773,1.88495,120,0,0,100,0), +(29001177,16356,0,0,0,'0',0,0,0,-1,0,1,-11287.3,-3372.26,7.9216,1.09956,120,0,0,100,0), +(29001178,16356,0,0,0,'0',0,0,0,-1,0,1,-11287.8,-3340.54,9.04822,4.46804,120,0,0,100,0), +(29001179,16356,0,0,0,'0',0,0,0,-1,0,1,-11288.4,-3389.93,7.66957,3.14159,120,0,0,100,0), +(29001180,16356,0,0,0,'0',0,0,0,-1,0,1,-11262.1,-3354.55,8.87,5.20108,120,0,0,100,0), +(29001181,16356,0,0,0,'0',0,0,0,-1,0,1,-11259.6,-3394.71,10.1496,4.03171,120,0,0,100,0), +(29001182,16356,0,0,0,'0',0,0,0,-1,0,1,-11258.9,-3340.28,10.113,5.63741,120,0,0,100,0), +(29001183,16356,0,0,0,'0',0,0,0,-1,0,1,-11235,-3369.2,9.52345,5.53269,120,0,0,100,0), +(29001184,16356,0,0,0,'0',0,0,0,-1,0,1,-11235.5,-3353.5,5.08604,0.715585,120,0,0,100,0), +(29001185,16356,0,0,0,'0',0,0,0,-1,0,1,-11238.2,-3306.17,15.0118,4.46804,120,0,0,100,0), +(29001186,16356,0,0,0,'0',0,0,0,-1,0,1,-11238.7,-3390.98,10.9117,3.03684,120,0,0,100,0), +(29001187,16356,0,0,0,'0',0,0,0,-1,0,1,-11243.1,-3340.19,9.38895,1.8675,120,0,0,100,0), +(29001188,16356,0,0,0,'0',0,0,0,-1,0,1,-11249.8,-3363.01,10.1013,2.00713,120,0,0,100,0), +(29001189,16356,0,0,0,'0',0,0,0,-1,0,1,-11250.9,-3379.86,7.35147,3.26377,120,0,0,100,0), +(29001190,16356,0,0,0,'0',0,0,0,-1,0,1,-11252.6,-3324.28,18.7379,4.04917,120,0,0,100,0), +(29001191,16356,0,0,0,'0',0,0,0,-1,0,1,-11293.2,-3355.24,9.05811,1.85005,120,0,0,100,0), +(29001192,16356,0,0,0,'0',0,0,0,-1,0,1,-10973.5,-2807.63,5.38797,4.46804,120,0,0,100,0), +(29001193,16356,0,0,0,'0',0,0,0,-1,0,1,-11008.3,-2738.67,5.43277,4.03171,120,0,0,100,0), +(29001194,16356,0,0,0,'0',0,0,0,-1,0,1,-11018.4,-2753.57,3.71715,2.80997,120,0,0,100,0), +(29001195,16356,0,0,0,'0',0,0,0,-1,0,1,-11019.8,-2771,3.74648,1.8675,120,0,0,100,0), +(29001196,16356,0,0,0,'0',0,0,0,-1,0,1,-11021.8,-2794.13,5.22963,5.20108,120,0,0,100,0), +(29001197,16356,0,0,0,'0',0,0,0,-1,0,1,-11023.6,-2822.95,10.6242,5.81195,120,0,0,100,0), +(29001198,16356,0,0,0,'0',0,0,0,-1,0,1,-11025.9,-2807.95,7.76655,5.53269,120,0,0,100,0), +(29001199,16356,0,0,0,'0',0,0,0,-1,0,1,-11030.3,-2782.59,4.53305,5.63741,120,0,0,100,0), +(29001200,16356,0,0,0,'0',0,0,0,-1,0,1,-11033.8,-2767.28,4.80015,4.04917,120,0,0,100,0), +(29001201,16356,0,0,0,'0',0,0,0,-1,0,1,-11008.1,-2817.31,7.10468,1.88495,120,0,0,100,0), +(29001202,16356,0,0,0,'0',0,0,0,-1,0,1,-11005,-2763.27,3.90122,2.23402,120,0,0,100,0), +(29001203,16356,0,0,0,'0',0,0,0,-1,0,1,-11004.4,-2777.81,4.51385,0.715585,120,0,0,100,0), +(29001204,16356,0,0,0,'0',0,0,0,-1,0,1,-10974.5,-2782.83,5.10687,1.85005,120,0,0,100,0), +(29001205,16356,0,0,0,'0',0,0,0,-1,0,1,-10976.6,-2762.51,4.21193,1.09956,120,0,0,100,0), +(29001206,16356,0,0,0,'0',0,0,0,-1,0,1,-10989.3,-2812.23,5.92583,0.506145,120,0,0,100,0), +(29001207,16356,0,0,0,'0',0,0,0,-1,0,1,-10990.2,-2793.42,5.36988,6.24828,120,0,0,100,0), +(29001208,16356,0,0,0,'0',0,0,0,-1,0,1,-10990.4,-2771.42,4.11056,3.26377,120,0,0,100,0), +(29001209,16356,0,0,0,'0',0,0,0,-1,0,1,-10990.6,-2756.9,5.03873,5.49779,120,0,0,100,0), +(29001210,16356,0,0,0,'0',0,0,0,-1,0,1,-10995.8,-2829.69,9.40201,0.226893,120,0,0,100,0), +(29001211,16356,0,0,0,'0',0,0,0,-1,0,1,-11003.4,-2796.45,5.53892,2.00713,120,0,0,100,0), +(29001212,16356,0,0,0,'0',0,0,0,-1,0,1,-11036.5,-2796.51,5.90141,1.95477,120,0,0,100,0), +(29001213,16356,0,0,0,'0',0,0,0,-1,0,1,-11039.7,-2750.75,2.0154,4.06662,120,0,0,100,0), +(29001214,16356,0,0,0,'0',0,0,0,-1,0,1,-11153.4,-2983.32,8.81915,0.506145,120,0,0,100,0), +(29001215,16356,0,0,0,'0',0,0,0,-1,0,1,-11160.2,-2995.96,8.56307,1.88495,120,0,0,100,0), +(29001216,16356,0,0,0,'0',0,0,0,-1,0,1,-11160.4,-2940.95,20.0501,1.95477,120,0,0,100,0), +(29001217,16356,0,0,0,'0',0,0,0,-1,0,1,-11162.9,-3011.74,7.76301,3.26377,120,0,0,100,0), +(29001218,16356,0,0,0,'0',0,0,0,-1,0,1,-11168.3,-2963.32,8.0324,4.04917,120,0,0,100,0), +(29001219,16356,0,0,0,'0',0,0,0,-1,0,1,-11169.5,-2980.98,9.00698,0.715585,120,0,0,100,0), +(29001220,16356,0,0,0,'0',0,0,0,-1,0,1,-11176.3,-2996.02,9.51162,1.8675,120,0,0,100,0), +(29001221,16356,0,0,0,'0',0,0,0,-1,0,1,-11176.8,-3027.3,7.47332,4.03171,120,0,0,100,0), +(29001222,16356,0,0,0,'0',0,0,0,-1,0,1,-11151.9,-2962.63,8.69393,4.04917,120,0,0,100,0), +(29001223,16356,0,0,0,'0',0,0,0,-1,0,1,-11147.6,-3013.51,20.7093,3.14159,120,0,0,100,0), +(29001224,16356,0,0,0,'0',0,0,0,-1,0,1,-11145.5,-2953.04,9.862,5.53269,120,0,0,100,0), +(29001225,16356,0,0,0,'0',0,0,0,-1,0,1,-11042.2,-2816.22,11.9086,4.46804,120,0,0,100,0), +(29001226,16356,0,0,0,'0',0,0,0,-1,0,1,-11044.8,-2779.02,5.63407,4.04917,120,0,0,100,0), +(29001227,16356,0,0,0,'0',0,0,0,-1,0,1,-11057.7,-2763.12,1.95432,4.20625,120,0,0,100,0), +(29001228,16356,0,0,0,'0',0,0,0,-1,0,1,-11058.8,-2803.73,10.737,1.37881,120,0,0,100,0), +(29001229,16356,0,0,0,'0',0,0,0,-1,0,1,-11060.6,-2822.69,9.96001,3.14159,120,0,0,100,0), +(29001230,16356,0,0,0,'0',0,0,0,-1,0,1,-11061.5,-2784.66,7.56118,3.03684,120,0,0,100,0), +(29001231,16356,0,0,0,'0',0,0,0,-1,0,1,-11141.8,-2973.75,8.65759,3.03684,120,0,0,100,0), +(29001232,16356,0,0,0,'0',0,0,0,-1,0,1,-11144.7,-2994.87,9.82344,6.24828,120,0,0,100,0), +(29001233,16356,0,0,0,'0',0,0,0,-1,0,1,-11178.6,-3011.94,7.4886,5.49779,120,0,0,100,0), +(29001234,16356,0,0,0,'0',0,0,0,-1,0,1,-11412.8,-2791.76,1.57174,0.506145,120,0,0,100,0), +(29001235,16356,0,0,0,'0',0,0,0,-1,0,1,-11458.5,-2791.27,-1.29338,6.24828,120,0,0,100,0), +(29001236,16356,0,0,0,'0',0,0,0,-1,0,1,-11458.5,-2835.28,-0.501001,4.20625,120,0,0,100,0), +(29001237,16356,0,0,0,'0',0,0,0,-1,0,1,-11509.8,-3283.77,8.013,6.24828,120,0,0,100,0), +(29001238,16356,0,0,0,'0',0,0,0,-1,0,1,-11510.2,-3314.3,8.31123,1.37881,120,0,0,100,0), +(29001239,16356,0,0,0,'0',0,0,0,-1,0,1,-11521.2,-3300.12,9.13522,1.88495,120,0,0,100,0), +(29001240,16356,0,0,0,'0',0,0,0,-1,0,1,-11521.3,-3263.87,7.51119,5.53269,120,0,0,100,0), +(29001241,16356,0,0,0,'0',0,0,0,-1,0,1,-11523.9,-3245.55,7.11017,4.46804,120,0,0,100,0), +(29001242,16356,0,0,0,'0',0,0,0,-1,0,1,-11525.6,-3316.16,8.15826,0.506145,120,0,0,100,0), +(29001243,16356,0,0,0,'0',0,0,0,-1,0,1,-11452.7,-2810.38,-1.63872,2.80997,120,0,0,100,0), +(29001244,16356,0,0,0,'0',0,0,0,-1,0,1,-11448.2,-2859.39,0.904908,3.14159,120,0,0,100,0), +(29001245,16356,0,0,0,'0',0,0,0,-1,0,1,-11443.4,-2783.43,-0.325569,1.37881,120,0,0,100,0); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) VALUES +(29001246,16356,0,0,0,'0',0,0,0,-1,0,1,-11419.1,-2860.09,1.96834,1.88495,120,0,0,100,0), +(29001247,16356,0,0,0,'0',0,0,0,-1,0,1,-11424,-2838.84,0.50487,1.95477,120,0,0,100,0), +(29001248,16356,0,0,0,'0',0,0,0,-1,0,1,-11424.5,-2803.79,0.722889,0.715585,120,0,0,100,0), +(29001249,16356,0,0,0,'0',0,0,0,-1,0,1,-11426.9,-2783.61,0.789475,4.46804,120,0,0,100,0), +(29001250,16356,0,0,0,'0',0,0,0,-1,0,1,-11428.8,-2827.22,0.264869,2.23402,120,0,0,100,0), +(29001251,16356,0,0,0,'0',0,0,0,-1,0,1,-11435.1,-2813.19,-1.24098,2.00713,120,0,0,100,0), +(29001252,16356,0,0,0,'0',0,0,0,-1,0,1,-11442.2,-2843.87,-0.296348,4.06662,120,0,0,100,0), +(29001253,16356,0,0,0,'0',0,0,0,-1,0,1,-11443.2,-2825.79,-1.2147,5.53269,120,0,0,100,0), +(29001254,16356,0,0,0,'0',0,0,0,-1,0,1,-11525.7,-3283.26,8.72746,2.00713,120,0,0,100,0), +(29001255,16356,0,0,0,'0',0,0,0,-1,0,1,-11534.7,-3327.86,14.1548,2.80997,120,0,0,100,0), +(29001256,16356,0,0,0,'0',0,0,0,-1,0,1,-11568.8,-3316.34,9.62002,1.85005,120,0,0,100,0), +(29001257,16356,0,0,0,'0',0,0,0,-1,0,1,-11571.2,-3270.33,7.40802,4.04917,120,0,0,100,0), +(29001258,16356,0,0,0,'0',0,0,0,-1,0,1,-11576.2,-3288.48,9.07377,5.49779,120,0,0,100,0), +(29001259,16356,0,0,0,'0',0,0,0,-1,0,1,-11577.8,-3253.41,6.74885,0.226893,120,0,0,100,0), +(29001260,16356,0,0,0,'0',0,0,0,-1,0,1,-11583.9,-3310.85,8.08078,4.06662,120,0,0,100,0), +(29001261,16356,0,0,0,'0',0,0,0,-1,0,1,-11585.3,-3275.69,7.71706,4.46804,120,0,0,100,0), +(29001262,16356,0,0,0,'0',0,0,0,-1,0,1,-11588.4,-3239.93,7.05529,3.14159,120,0,0,100,0), +(29001263,16356,0,0,0,'0',0,0,0,-1,0,1,-11591.7,-3259.07,7.44409,3.03684,120,0,0,100,0), +(29001264,16356,0,0,0,'0',0,0,0,-1,0,1,-11568.4,-3238.51,6.11985,4.03171,120,0,0,100,0), +(29001265,16356,0,0,0,'0',0,0,0,-1,0,1,-11562,-3254.91,6.87348,3.26377,120,0,0,100,0), +(29001266,16356,0,0,0,'0',0,0,0,-1,0,1,-11560.6,-3284.29,7.74791,1.8675,120,0,0,100,0), +(29001267,16356,0,0,0,'0',0,0,0,-1,0,1,-11538.1,-3304.59,8.15991,2.23402,120,0,0,100,0), +(29001268,16356,0,0,0,'0',0,0,0,-1,0,1,-11538.9,-3290.09,8.57665,5.63741,120,0,0,100,0), +(29001269,16356,0,0,0,'0',0,0,0,-1,0,1,-11539.6,-3276.42,7.99829,5.20108,120,0,0,100,0), +(29001270,16356,0,0,0,'0',0,0,0,-1,0,1,-11540.4,-3260.93,7.04242,1.95477,120,0,0,100,0), +(29001271,16356,0,0,0,'0',0,0,0,-1,0,1,-11546.3,-3245.86,6.85342,5.81195,120,0,0,100,0), +(29001272,16356,0,0,0,'0',0,0,0,-1,0,1,-11549.5,-3318.25,9.25334,1.09956,120,0,0,100,0), +(29001273,16356,0,0,0,'0',0,0,0,-1,0,1,-11554.3,-3269.97,7.27003,0.715585,120,0,0,100,0), +(29001274,16356,0,0,0,'0',0,0,0,-1,0,1,-11557.2,-3303.17,9.34602,4.04917,120,0,0,100,0), +(29001275,16356,0,0,0,'0',0,0,0,-1,0,1,-11591.7,-3294.08,7.72112,4.20625,120,0,0,100,0), +(29001276,16356,0,0,0,'0',0,0,0,-1,0,1,-11306.4,-3156.66,6.39326,0.226893,120,0,0,100,0), +(29001277,16356,0,0,0,'0',0,0,0,-1,0,1,-11343.4,-3110.82,-1.571,3.03684,120,0,0,100,0), +(29001278,16356,0,0,0,'0',0,0,0,-1,0,1,-11345.2,-3184.88,9.96713,3.26377,120,0,0,100,0), +(29001279,16356,0,0,0,'0',0,0,0,-1,0,1,-11346.8,-3169.79,10.8443,5.63741,120,0,0,100,0), +(29001280,16356,0,0,0,'0',0,0,0,-1,0,1,-11351.4,-3135.15,2.55729,2.00713,120,0,0,100,0), +(29001281,16356,0,0,0,'0',0,0,0,-1,0,1,-11355.9,-3120.81,2.03413,1.85005,120,0,0,100,0), +(29001282,16356,0,0,0,'0',0,0,0,-1,0,1,-11359.4,-3191,12.9642,1.37881,120,0,0,100,0), +(29001283,16356,0,0,0,'0',0,0,0,-1,0,1,-11361.2,-3159.3,8.87013,1.8675,120,0,0,100,0), +(29001284,16356,0,0,0,'0',0,0,0,-1,0,1,-11361.3,-3143.44,6.54761,0.715585,120,0,0,100,0), +(29001285,16356,0,0,0,'0',0,0,0,-1,0,1,-11337.9,-3126.06,-1.45812,1.88495,120,0,0,100,0), +(29001286,16356,0,0,0,'0',0,0,0,-1,0,1,-11336,-3156,7.16726,5.20108,120,0,0,100,0), +(29001287,16356,0,0,0,'0',0,0,0,-1,0,1,-11333.7,-3195.45,9.97451,4.46804,120,0,0,100,0), +(29001288,16356,0,0,0,'0',0,0,0,-1,0,1,-11306.5,-3119.29,-1.06902,3.14159,120,0,0,100,0), +(29001289,16356,0,0,0,'0',0,0,0,-1,0,1,-11313.1,-3143.47,5.6345,0.506145,120,0,0,100,0), +(29001290,16356,0,0,0,'0',0,0,0,-1,0,1,-11318.2,-3184.48,10.1433,5.81195,120,0,0,100,0), +(29001291,16356,0,0,0,'0',0,0,0,-1,0,1,-11319.7,-3163.73,7.40355,6.24828,120,0,0,100,0), +(29001292,16356,0,0,0,'0',0,0,0,-1,0,1,-11320.6,-3127.99,-0.006661,4.46804,120,0,0,100,0), +(29001293,16356,0,0,0,'0',0,0,0,-1,0,1,-11324.3,-3115.12,-1.57099,4.03171,120,0,0,100,0), +(29001294,16356,0,0,0,'0',0,0,0,-1,0,1,-11330.6,-3141.88,6.51639,2.23402,120,0,0,100,0), +(29001295,16356,0,0,0,'0',0,0,0,-1,0,1,-11331.3,-3174.08,8.75502,4.04917,120,0,0,100,0), +(29001296,16356,0,0,0,'0',0,0,0,-1,0,1,-11362.9,-3174.96,10.6151,4.04917,120,0,0,100,0), +(29001297,16356,0,0,0,'0',0,0,0,-1,0,1,-11364.6,-3129.79,5.75585,5.53269,120,0,0,100,0), +(29001298,16356,0,0,0,'0',0,0,0,-1,0,1,-11388.5,-2857.65,3.03795,4.03171,120,0,0,100,0), +(29001299,16356,0,0,0,'0',0,0,0,-1,0,1,-11389.1,-2836.06,-2.25091,3.26377,120,0,0,100,0), +(29001300,16356,0,0,0,'0',0,0,0,-1,0,1,-11392.3,-2813.08,-2.27471,1.8675,120,0,0,100,0), +(29001301,16356,0,0,0,'0',0,0,0,-1,0,1,-11393.4,-2789.38,3.18945,1.85005,120,0,0,100,0), +(29001302,16356,0,0,0,'0',0,0,0,-1,0,1,-11399.7,-2827.16,-2.43278,4.04917,120,0,0,100,0), +(29001303,16356,0,0,0,'0',0,0,0,-1,0,1,-11405.1,-2846.84,-2.72865,3.03684,120,0,0,100,0), +(29001304,16356,0,0,0,'0',0,0,0,-1,0,1,-11409.1,-2774.37,2.76715,5.81195,120,0,0,100,0), +(29001305,16356,0,0,0,'0',0,0,0,-1,0,1,-11409.4,-2807.62,-2.2806,5.20108,120,0,0,100,0), +(29001306,16356,0,0,0,'0',0,0,0,-1,0,1,-11411,-2832.68,-2.81856,5.63741,120,0,0,100,0), +(29001307,16356,0,0,0,'0',0,0,0,-1,0,1,-11387.6,-2775.46,3.7363,0.226893,120,0,0,100,0), +(29001308,16356,0,0,0,'0',0,0,0,-1,0,1,-11380.6,-2824.51,-2.15952,4.04917,120,0,0,100,0), +(29001309,16356,0,0,0,'0',0,0,0,-1,0,1,-11370.2,-3108.52,3.10605,4.20625,120,0,0,100,0), +(29001310,16356,0,0,0,'0',0,0,0,-1,0,1,-11372.4,-3151.96,9.45155,1.95477,120,0,0,100,0), +(29001311,16356,0,0,0,'0',0,0,0,-1,0,1,-11373.6,-2804.95,3.71653,1.09956,120,0,0,100,0), +(29001312,16356,0,0,0,'0',0,0,0,-1,0,1,-11374,-2842.94,4.32663,5.49779,120,0,0,100,0), +(29001313,16356,0,0,0,'0',0,0,0,-1,0,1,-11375.2,-3166.46,11.8,5.49779,120,0,0,100,0), +(29001314,16356,0,0,0,'0',0,0,0,-1,0,1,-11375.5,-2787.37,3.76548,4.46804,120,0,0,100,0), +(29001315,16356,0,0,0,'0',0,0,0,-1,0,1,-11376.8,-3139.34,7.8165,1.09956,120,0,0,100,0), +(29001316,16356,0,0,0,'0',0,0,0,-1,0,1,-11377.2,-3123.76,5.38044,4.06662,120,0,0,100,0), +(29001317,16356,0,0,0,'0',0,0,0,-1,0,1,-11378,-3184.08,13.2359,2.80997,120,0,0,100,0), +(29001318,16386,0,0,0,'0',0,0,0,-1,0,1,-11090.6,-2803.51,67.0964,0.279253,120,0,0,100,0), +(29001319,16386,0,0,0,'0',0,0,0,-1,0,1,-11201.1,-2930.16,76.1435,4.10152,120,0,0,100,0), +(29001320,16386,0,0,0,'0',0,0,0,-1,0,1,-11297.2,-3340.3,41.148,6.0912,120,0,0,100,0), +(29001321,16386,0,0,0,'0',0,0,0,-1,0,1,-11362.7,-2824.68,59.6948,3.00197,120,0,0,100,0), +(29001322,16386,0,0,0,'0',0,0,0,-1,0,1,-11371.4,-3223.08,52.8462,1.23918,120,0,0,100,0), +(29001323,16386,0,0,0,'0',0,0,0,-1,0,1,-11498.7,-3294.72,43.3584,2.89725,120,0,0,100,0), +(29001324,16398,0,0,0,'0',0,0,0,-1,0,1,-11163.2,-2823.37,128.413,0.279253,120,0,0,100,0), +(29001325,16398,0,0,0,'0',0,0,0,-1,0,1,-11215.6,-2890.43,124.73,5.07891,120,0,0,100,0), +(29001326,16398,0,0,0,'0',0,0,0,-1,0,1,-11296.2,-2834.15,124.322,3.00197,120,0,0,100,0), +(29001327,16398,0,0,0,'0',0,0,0,-1,0,1,-11343.3,-3330.49,68.0946,6.07375,120,0,0,100,0), +(29001328,16398,0,0,0,'0',0,0,0,-1,0,1,-11395.4,-3298.51,98.6445,1.309,120,0,0,100,0), +(29001329,16398,0,0,0,'0',0,0,0,-1,0,1,-11472.5,-3300.64,62.1611,2.9147,120,0,0,100,0), +(29001330,16401,0,0,0,'0',0,0,0,-1,0,1,-11402.1,-3316.55,111.272,4.46804,120,0,0,100,0), +(29001331,16401,0,0,0,'0',0,0,0,-1,0,1,-11233.9,-2841.77,185.686,4.45059,120,0,0,100,0), +(29001332,16421,0,0,0,'0',0,0,0,-1,0,1,-11402.1,-3316.55,111.272,4.46804,120,0,0,100,0), +(29001333,16421,0,0,0,'0',0,0,0,-1,0,1,-11233.9,-2841.77,185.686,4.45059,120,0,0,100,0), +(29001334,16356,0,0,0,'0',0,0,0,-1,0,1,1966.54,-4717.01,98.3666,0.226893,120,0,0,100,0), +(29001335,16356,0,0,0,'0',0,0,0,-1,0,1,1965.33,-5104.58,84.9795,3.26377,120,0,0,100,0), +(29001336,16356,0,0,0,'0',0,0,0,-1,0,1,1965.17,-3119.4,82.47,4.04917,120,0,0,100,0), +(29001337,16356,0,0,0,'0',0,0,0,-1,0,1,1961.65,-3086.94,81.2841,2.00713,120,0,0,100,0), +(29001338,16356,0,0,0,'0',0,0,0,-1,0,1,1960.41,-5144.66,74.0155,1.8675,120,0,0,100,0), +(29001339,16356,0,0,0,'0',0,0,0,-1,0,1,1960.3,-4754.93,97.2724,2.00713,120,0,0,100,0), +(29001340,16356,0,0,0,'0',0,0,0,-1,0,1,1959.05,-5115.43,80.9018,2.23402,120,0,0,100,0), +(29001341,16356,0,0,0,'0',0,0,0,-1,0,1,1967.54,-5156.13,75.3015,1.95477,120,0,0,100,0), +(29001342,16356,0,0,0,'0',0,0,0,-1,0,1,1969.07,-3130.91,84.8494,4.46804,120,0,0,100,0), +(29001343,16356,0,0,0,'0',0,0,0,-1,0,1,1970.84,-5116.75,83.369,4.04917,120,0,0,100,0), +(29001344,16356,0,0,0,'0',0,0,0,-1,0,1,1971.79,-3107.76,82.1643,4.04917,120,0,0,100,0), +(29001345,16356,0,0,0,'0',0,0,0,-1,0,1,1972.56,-5094.81,87.8344,4.46804,120,0,0,100,0), +(29001346,16356,0,0,0,'0',0,0,0,-1,0,1,1972.73,-3093.22,81.4991,2.23402,120,0,0,100,0), +(29001347,16356,0,0,0,'0',0,0,0,-1,0,1,1973.04,-5169.46,79.5659,4.06662,120,0,0,100,0), +(29001348,16356,0,0,0,'0',0,0,0,-1,0,1,1973.19,-5143.4,77.7543,0.715585,120,0,0,100,0), +(29001349,16356,0,0,0,'0',0,0,0,-1,0,1,1973.42,-3082.14,77.2806,1.09956,120,0,0,100,0), +(29001350,16356,0,0,0,'0',0,0,0,-1,0,1,1957.9,-3125.03,87.3232,5.53269,120,0,0,100,0), +(29001351,16356,0,0,0,'0',0,0,0,-1,0,1,1957.71,-5164.12,78.0502,1.85005,120,0,0,100,0), +(29001352,16356,0,0,0,'0',0,0,0,-1,0,1,1957.29,-5095.38,87.063,5.81195,120,0,0,100,0), +(29001353,16356,0,0,0,'0',0,0,0,-1,0,1,1941.83,-3111.62,88.3198,5.63741,120,0,0,100,0), +(29001354,16356,0,0,0,'0',0,0,0,-1,0,1,1942.3,-4798.79,99.2277,1.85005,120,0,0,100,0), +(29001355,16356,0,0,0,'0',0,0,0,-1,0,1,1942.91,-3099.65,86.0871,5.20108,120,0,0,100,0), +(29001356,16356,0,0,0,'0',0,0,0,-1,0,1,1945.33,-4746.02,96.7858,5.20109,120,0,0,100,0), +(29001357,16356,0,0,0,'0',0,0,0,-1,0,1,1945.81,-3120.04,90.1894,1.88495,120,0,0,100,0), +(29001358,16356,0,0,0,'0',0,0,0,-1,0,1,1946.28,-5116.19,79.0226,2.00713,120,0,0,100,0), +(29001359,16356,0,0,0,'0',0,0,0,-1,0,1,1946.92,-3085.17,82.5324,1.8675,120,0,0,100,0), +(29001360,16356,0,0,0,'0',0,0,0,-1,0,1,1947.12,-5129.18,74.6231,5.20108,120,0,0,100,0), +(29001361,16356,0,0,0,'0',0,0,0,-1,0,1,1947.14,-5142.58,73.7133,5.63741,120,0,0,100,0), +(29001362,16356,0,0,0,'0',0,0,0,-1,0,1,1947.81,-3067.52,78.5057,4.46804,120,0,0,100,0), +(29001363,16356,0,0,0,'0',0,0,0,-1,0,1,1948.49,-3130.42,91.1517,0.226893,120,0,0,100,0), +(29001364,16356,0,0,0,'0',0,0,0,-1,0,1,1950.57,-5105.44,83.4558,6.24828,120,0,0,100,0), +(29001365,16356,0,0,0,'0',0,0,0,-1,0,1,1951.62,-5182.88,75.7269,3.14159,120,0,0,100,0), +(29001366,16356,0,0,0,'0',0,0,0,-1,0,1,1952.13,-4767.6,98.859,2.23402,120,0,0,100,0), +(29001367,16356,0,0,0,'0',0,0,0,-1,0,1,1952.47,-5154.08,74.4785,4.04917,120,0,0,100,0), +(29001368,16356,0,0,0,'0',0,0,0,-1,0,1,1953.1,-3115.71,86.7831,0.715585,120,0,0,100,0), +(29001369,16356,0,0,0,'0',0,0,0,-1,0,1,1954.47,-3079.95,79.4626,3.26377,120,0,0,100,0), +(29001370,16356,0,0,0,'0',0,0,0,-1,0,1,1976.3,-3117.37,79.6319,1.95477,120,0,0,100,0), +(29001371,16356,0,0,0,'0',0,0,0,-1,0,1,1976.63,-4751.14,95.7854,5.49779,120,0,0,100,0), +(29001372,16356,0,0,0,'0',0,0,0,-1,0,1,2304.92,-4950.09,77.5079,2.00713,120,0,0,100,0), +(29001373,16356,0,0,0,'0',0,0,0,-1,0,1,2308.03,-4891.65,96.8087,1.95477,120,0,0,100,0), +(29001374,16356,0,0,0,'0',0,0,0,-1,0,1,2317.52,-4917.48,86.1716,0.715585,120,0,0,100,0), +(29001375,16356,0,0,0,'0',0,0,0,-1,0,1,2319.81,-4995.46,73.668,4.20625,120,0,0,100,0), +(29001376,16356,0,0,0,'0',0,0,0,-1,0,1,2322.73,-4955.73,74.6833,1.8675,120,0,0,100,0), +(29001377,16356,0,0,0,'0',0,0,0,-1,0,1,2325.54,-4973.26,72.068,3.26377,120,0,0,100,0), +(29001378,16356,0,0,0,'0',0,0,0,-1,0,1,2328.11,-4937.05,78.605,5.20108,120,0,0,100,0), +(29001379,16356,0,0,0,'0',0,0,0,-1,0,1,2333.36,-4921.62,78.8639,5.63741,120,0,0,100,0), +(29001380,16356,0,0,0,'0',0,0,0,-1,0,1,2333.59,-4907.31,79.932,5.53269,120,0,0,100,0), +(29001381,16356,0,0,0,'0',0,0,0,-1,0,1,2338.23,-4951.55,72.1418,0.506145,120,0,0,100,0), +(29001382,16356,0,0,0,'0',0,0,0,-1,0,1,2342.1,-4966.08,70.4122,1.09956,120,0,0,100,0), +(29001383,16356,0,0,0,'0',0,0,0,-1,0,1,2342.53,-4932.7,74.7631,1.88495,120,0,0,100,0), +(29001384,16356,0,0,0,'0',0,0,0,-1,0,1,2348.67,-4913.01,74.6708,6.24828,120,0,0,100,0), +(29001385,16356,0,0,0,'0',0,0,0,-1,0,1,2348.91,-4896.29,78.0656,1.37881,120,0,0,100,0), +(29001386,16356,0,0,0,'0',0,0,0,-1,0,1,2353.36,-4948.53,72.1315,1.85005,120,0,0,100,0), +(29001387,16356,0,0,0,'0',0,0,0,-1,0,1,2358.82,-4966.1,70.6148,2.80997,120,0,0,100,0), +(29001388,16356,0,0,0,'0',0,0,0,-1,0,1,2362.78,-4922.81,73.5862,4.46804,120,0,0,100,0), +(29001389,16356,0,0,0,'0',0,0,0,-1,0,1,2303.51,-4924.88,88.2932,4.04917,120,0,0,100,0), +(29001390,16356,0,0,0,'0',0,0,0,-1,0,1,2300.33,-4909.28,96.9081,4.04917,120,0,0,100,0), +(29001391,16356,0,0,0,'0',0,0,0,-1,0,1,1978.7,-5104.94,88.0376,1.09956,120,0,0,100,0), +(29001392,16356,0,0,0,'0',0,0,0,-1,0,1,1979.44,-5155.38,77.7833,4.46804,120,0,0,100,0), +(29001393,16356,0,0,0,'0',0,0,0,-1,0,1,1982.26,-3130.7,82.4981,1.37881,120,0,0,100,0), +(29001394,16356,0,0,0,'0',0,0,0,-1,0,1,1983.41,-3107.48,79.13,1.85005,120,0,0,100,0), +(29001395,16356,0,0,0,'0',0,0,0,-1,0,1,1985.02,-4733.8,98.0468,4.46804,120,0,0,100,0), +(29001396,16356,0,0,0,'0',0,0,0,-1,0,1,1986.43,-5137.69,83.5169,1.37881,120,0,0,100,0), +(29001397,16356,0,0,0,'0',0,0,0,-1,0,1,1987.22,-3089.93,78.7242,5.81195,120,0,0,100,0), +(29001398,16356,0,0,0,'0',0,0,0,-1,0,1,1987.54,-3073.56,75.334,3.14159,120,0,0,100,0), +(29001399,16356,0,0,0,'0',0,0,0,-1,0,1,1988.02,-4748.86,97.1419,5.97208,120,0,0,100,0), +(29001400,16356,0,0,0,'0',0,0,0,-1,0,1,1993.22,-3117.53,75.8745,2.80997,120,0,0,100,0), +(29001401,16356,0,0,0,'0',0,0,0,-1,0,1,1998.26,-3100.47,76.1631,4.06662,120,0,0,100,0), +(29001402,16356,0,0,0,'0',0,0,0,-1,0,1,2287.74,-4912.95,98.9361,0.226893,120,0,0,100,0), +(29001403,16356,0,0,0,'0',0,0,0,-1,0,1,2289.91,-4894.23,105.882,5.81195,120,0,0,100,0), +(29001404,16356,0,0,0,'0',0,0,0,-1,0,1,2296.32,-4938.82,82.8966,2.23402,120,0,0,100,0), +(29001405,16356,0,0,0,'0',0,0,0,-1,0,1,2297.14,-4990.14,73.9808,5.49779,120,0,0,100,0), +(29001406,16356,0,0,0,'0',0,0,0,-1,0,1,2366.47,-4908.5,76.7359,4.46804,120,0,0,100,0), +(29001407,16356,0,0,0,'0',0,0,0,-1,0,1,1571.33,-3029.47,81.6105,0.226893,120,0,0,100,0), +(29001408,16356,0,0,0,'0',0,0,0,-1,0,1,1756.27,-2838.5,71.8524,4.46804,120,0,0,100,0), +(29001409,16356,0,0,0,'0',0,0,0,-1,0,1,1764.52,-2853.84,71.4485,6.24828,120,0,0,100,0), +(29001410,16356,0,0,0,'0',0,0,0,-1,0,1,1764.65,-2870.41,73.6183,4.46804,120,0,0,100,0), +(29001411,16356,0,0,0,'0',0,0,0,-1,0,1,1770.04,-2833.66,69.1137,5.49779,120,0,0,100,0), +(29001412,16356,0,0,0,'0',0,0,0,-1,0,1,1776.72,-2847.62,68.0293,3.26377,120,0,0,100,0), +(29001413,16356,0,0,0,'0',0,0,0,-1,0,1,1776.73,-2862.17,69.8869,0.506145,120,0,0,100,0), +(29001414,16356,0,0,0,'0',0,0,0,-1,0,1,1783.63,-2797.31,69.6425,4.06662,120,0,0,100,0), +(29001415,16356,0,0,0,'0',0,0,0,-1,0,1,1784.81,-2827.16,68.9084,1.09956,120,0,0,100,0), +(29001416,16356,0,0,0,'0',0,0,0,-1,0,1,1788.41,-2854.86,69.5864,5.63741,120,0,0,100,0), +(29001417,16356,0,0,0,'0',0,0,0,-1,0,1,1789.62,-2811.81,69.1659,1.85005,120,0,0,100,0), +(29001418,16356,0,0,0,'0',0,0,0,-1,0,1,1790,-2870,69.488,2.00713,120,0,0,100,0), +(29001419,16356,0,0,0,'0',0,0,0,-1,0,1,1790.67,-2839.55,67.9582,5.20108,120,0,0,100,0), +(29001420,16356,0,0,0,'0',0,0,0,-1,0,1,1796.8,-2883.29,69.08,5.81195,120,0,0,100,0), +(29001421,16356,0,0,0,'0',0,0,0,-1,0,1,1800.43,-2858.79,68.4132,1.8675,120,0,0,100,0), +(29001422,16356,0,0,0,'0',0,0,0,-1,0,1,1806.57,-2895.59,71.0175,3.14159,120,0,0,100,0), +(29001423,16356,0,0,0,'0',0,0,0,-1,0,1,1807.25,-2871.81,68.1865,5.53269,120,0,0,100,0), +(29001424,16356,0,0,0,'0',0,0,0,-1,0,1,1808.64,-2810.6,71.4553,2.23402,120,0,0,100,0), +(29001425,16356,0,0,0,'0',0,0,0,-1,0,1,1754.28,-2822.62,69.5536,4.20625,120,0,0,100,0), +(29001426,16356,0,0,0,'0',0,0,0,-1,0,1,1639.01,-3033.52,80.0769,1.37881,120,0,0,100,0), +(29001427,16356,0,0,0,'0',0,0,0,-1,0,1,1573.15,-3015.96,82.5453,3.03684,120,0,0,100,0), +(29001428,16356,0,0,0,'0',0,0,0,-1,0,1,1577.9,-3040.05,80.2832,5.53269,120,0,0,100,0), +(29001429,16356,0,0,0,'0',0,0,0,-1,0,1,1585.47,-3047.95,81.0597,0.715585,120,0,0,100,0), +(29001430,16356,0,0,0,'0',0,0,0,-1,0,1,1587.5,-3057.86,80.5577,1.88495,120,0,0,100,0), +(29001431,16356,0,0,0,'0',0,0,0,-1,0,1,1588.02,-3035.67,79.5394,1.8675,120,0,0,100,0), +(29001432,16356,0,0,0,'0',0,0,0,-1,0,1,1591.62,-3023.66,79.6951,5.63741,120,0,0,100,0), +(29001433,16356,0,0,0,'0',0,0,0,-1,0,1,1596.86,-3051.43,80.3504,2.00713,120,0,0,100,0), +(29001434,16356,0,0,0,'0',0,0,0,-1,0,1,1601.55,-3062.51,79.5382,0.506145,120,0,0,100,0), +(29001435,16356,0,0,0,'0',0,0,0,-1,0,1,1609.52,-3080.49,78.5546,4.20625,120,0,0,100,0), +(29001436,16356,0,0,0,'0',0,0,0,-1,0,1,1610.03,-3054.43,77.6714,2.23402,120,0,0,100,0), +(29001437,16356,0,0,0,'0',0,0,0,-1,0,1,1612.26,-3020.53,80.1317,5.49779,120,0,0,100,0), +(29001438,16356,0,0,0,'0',0,0,0,-1,0,1,1615.18,-3043.48,77.9448,4.04917,120,0,0,100,0), +(29001439,16356,0,0,0,'0',0,0,0,-1,0,1,1616.92,-3032.24,77.9181,4.04917,120,0,0,100,0), +(29001440,16356,0,0,0,'0',0,0,0,-1,0,1,1620.94,-3053.08,78.5073,6.24828,120,0,0,100,0), +(29001441,16356,0,0,0,'0',0,0,0,-1,0,1,1625.65,-3040.63,79.4046,3.26377,120,0,0,100,0), +(29001442,16356,0,0,0,'0',0,0,0,-1,0,1,1625.89,-3025.52,78.6135,4.46804,120,0,0,100,0), +(29001443,16356,0,0,0,'0',0,0,0,-1,0,1,1627.02,-3068.68,76.4933,4.06662,120,0,0,100,0), +(29001444,16356,0,0,0,'0',0,0,0,-1,0,1,1813.97,-2881.81,70.605,0.226893,120,0,0,100,0), +(29001445,16356,0,0,0,'0',0,0,0,-1,0,1,1941.35,-4781.74,98.7184,4.04917,120,0,0,100,0); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) VALUES +(29001446,16356,0,0,0,'0',0,0,0,-1,0,1,1925.22,-5146.31,73.7998,2.80997,120,0,0,100,0), +(29001447,16356,0,0,0,'0',0,0,0,-1,0,1,1927.25,-3115.44,89.5502,4.20625,120,0,0,100,0), +(29001448,16356,0,0,0,'0',0,0,0,-1,0,1,1927.37,-4775.64,99.3061,1.15499,120,0,0,100,0), +(29001449,16356,0,0,0,'0',0,0,0,-1,0,1,1928.41,-4788.16,101.161,5.5327,120,0,0,100,0), +(29001450,16356,0,0,0,'0',0,0,0,-1,0,1,1929.7,-4811.18,106.314,4.46804,120,0,0,100,0), +(29001451,16356,0,0,0,'0',0,0,0,-1,0,1,1930.32,-3128.16,92.3846,3.03684,120,0,0,100,0), +(29001452,16356,0,0,0,'0',0,0,0,-1,0,1,1932.12,-4738.85,98.4199,5.63741,120,0,0,100,0), +(29001453,16356,0,0,0,'0',0,0,0,-1,0,1,1933.82,-3105.16,87.6127,0.506145,120,0,0,100,0), +(29001454,16356,0,0,0,'0',0,0,0,-1,0,1,1934.48,-5106.6,81.5771,5.49779,120,0,0,100,0), +(29001455,16356,0,0,0,'0',0,0,0,-1,0,1,1934.5,-3089.65,85.2839,6.24828,120,0,0,100,0), +(29001456,16356,0,0,0,'0',0,0,0,-1,0,1,1936.21,-3078.9,81.3924,5.49779,120,0,0,100,0), +(29001457,16356,0,0,0,'0',0,0,0,-1,0,1,1936.64,-5122.08,77.2904,0.506145,120,0,0,100,0), +(29001458,16356,0,0,0,'0',0,0,0,-1,0,1,1937.51,-5136.48,74.0787,1.88495,120,0,0,100,0), +(29001459,16356,0,0,0,'0',0,0,0,-1,0,1,1937.79,-5168.97,73.8352,0.226893,120,0,0,100,0), +(29001460,16356,0,0,0,'0',0,0,0,-1,0,1,1937.89,-4727.84,101.581,6.24828,120,0,0,100,0), +(29001461,16356,0,0,0,'0',0,0,0,-1,0,1,1938.22,-5153.89,73.7006,5.53269,120,0,0,100,0), +(29001462,16356,0,0,0,'0',0,0,0,-1,0,1,1939.71,-5093.66,85.3817,4.20625,120,0,0,100,0), +(29001463,16356,0,0,0,'0',0,0,0,-1,0,1,1923.5,-4796.78,105.35,1.09956,120,0,0,100,0), +(29001464,16356,0,0,0,'0',0,0,0,-1,0,1,1922.56,-3092.55,84.8936,4.03171,120,0,0,100,0), +(29001465,16356,0,0,0,'0',0,0,0,-1,0,1,1842.08,-2865.71,83.0356,2.80997,120,0,0,100,0), +(29001466,16356,0,0,0,'0',0,0,0,-1,0,1,1836.86,-2846.55,80.2934,1.95477,120,0,0,100,0), +(29001467,16356,0,0,0,'0',0,0,0,-1,0,1,1834.68,-2826.12,80.1513,4.04917,120,0,0,100,0), +(29001468,16356,0,0,0,'0',0,0,0,-1,0,1,1832.86,-2799.42,89.9933,3.03684,120,0,0,100,0), +(29001469,16356,0,0,0,'0',0,0,0,-1,0,1,1825.61,-2841.07,77.8605,0.715585,120,0,0,100,0), +(29001470,16356,0,0,0,'0',0,0,0,-1,0,1,1824.64,-2815.49,80.8515,4.04917,120,0,0,100,0), +(29001471,16356,0,0,0,'0',0,0,0,-1,0,1,1823.68,-2869.15,72.6406,1.88495,120,0,0,100,0), +(29001472,16356,0,0,0,'0',0,0,0,-1,0,1,1818.12,-2792.36,78.1475,4.03171,120,0,0,100,0), +(29001473,16356,0,0,0,'0',0,0,0,-1,0,1,1846.59,-2836.98,78.5254,1.37881,120,0,0,100,0), +(29001474,16356,0,0,0,'0',0,0,0,-1,0,1,1900.38,-4771.46,107.922,1.88495,120,0,0,100,0), +(29001475,16356,0,0,0,'0',0,0,0,-1,0,1,1921.88,-4755.47,98.8025,1.8675,120,0,0,100,0), +(29001476,16356,0,0,0,'0',0,0,0,-1,0,1,1919.65,-4726.78,103.351,3.26377,120,0,0,100,0), +(29001477,16356,0,0,0,'0',0,0,0,-1,0,1,1918.46,-5104.83,78.6254,3.03684,120,0,0,100,0), +(29001478,16356,0,0,0,'0',0,0,0,-1,0,1,1916.43,-4800.17,108.368,3.94112,120,0,0,100,0), +(29001479,16356,0,0,0,'0',0,0,0,-1,0,1,1914.86,-4768.54,102.673,0.715585,120,0,0,100,0), +(29001480,16356,0,0,0,'0',0,0,0,-1,0,1,1910.36,-4804.91,113.312,3.23939,120,0,0,100,0), +(29001481,16356,0,0,0,'0',0,0,0,-1,0,1,1908.37,-4756.09,103.381,1.95477,120,0,0,100,0), +(29001482,16356,0,0,0,'0',0,0,0,-1,0,1,1901.73,-4804.16,117.785,5.81195,120,0,0,100,0), +(29001483,16386,0,0,0,'0',0,0,0,-1,0,1,2233.62,-4933.13,112.119,2.60054,120,0,0,100,0), +(29001484,16386,0,0,0,'0',0,0,0,-1,0,1,2006.85,-5044.05,112.968,2.60054,120,0,0,100,0), +(29001485,16386,0,0,0,'0',0,0,0,-1,0,1,2000.8,-4824.39,125.672,2.60054,120,0,0,100,0), +(29001486,16386,0,0,0,'0',0,0,0,-1,0,1,1900.86,-3088.09,103.535,2.60054,120,0,0,100,0), +(29001487,16386,0,0,0,'0',0,0,0,-1,0,1,1792.28,-2899.8,81.2749,2.60054,120,0,0,100,0), +(29001488,16386,0,0,0,'0',0,0,0,-1,0,1,1655.07,-3034.06,91.5934,2.60054,120,0,0,100,0), +(29001489,16398,0,0,0,'0',0,0,0,-1,0,1,2148.52,-4933.43,141.273,4.10152,120,0,0,100,0), +(29001490,16398,0,0,0,'0',0,0,0,-1,0,1,2060,-4967.85,143.28,4.10152,120,0,0,100,0), +(29001491,16398,0,0,0,'0',0,0,0,-1,0,1,2057.19,-4887.02,149.565,4.10152,120,0,0,100,0), +(29001492,16398,0,0,0,'0',0,0,0,-1,0,1,1833.31,-3066.72,107.489,4.10152,120,0,0,100,0), +(29001493,16398,0,0,0,'0',0,0,0,-1,0,1,1776.76,-2966.79,98.8574,4.10152,120,0,0,100,0), +(29001494,16398,0,0,0,'0',0,0,0,-1,0,1,1716.76,-3033.74,108.011,4.10152,120,0,0,100,0), +(29001495,16401,0,0,0,'0',0,0,0,-1,0,1,1766.67,-3033.34,132.888,5.18363,120,0,0,100,0), +(29001496,16401,0,0,0,'0',0,0,0,-1,0,1,2101.69,-4930.03,168.364,1.0472,120,0,0,100,0), +(29001497,16421,0,0,0,'0',0,0,0,-1,0,1,1766.67,-3033.34,132.888,5.18363,120,0,0,100,0), +(29001498,16421,0,0,0,'0',0,0,0,-1,0,1,2101.69,-4930.03,168.364,1.0472,120,0,0,100,0), +(29001499,16356,0,0,0,'0',0,0,0,-1,0,1,1635.26,-3052.03,79.3638,2.80997,120,0,0,100,0), +(29001500,16356,0,0,0,'0',0,0,0,-1,0,1,1880.03,-4775.64,118.908,4.06662,120,0,0,100,0), +(29001501,16356,0,0,0,'0',0,0,0,-1,0,1,1963.06,-4740.15,96.6595,0.506145,120,0,0,100,0), +(29001502,16356,0,0,0,'0',0,0,0,-1,0,1,1983.9,-4803.06,100.701,3.14159,120,0,0,100,0), +(29001503,16356,0,0,0,'0',0,0,0,-1,0,1,1997.14,-4768.31,92.9923,3.03684,120,0,0,100,0), +(29001504,16356,0,0,0,'0',0,0,0,-1,0,1,1999.05,-4747.77,96.9688,4.03171,120,0,0,100,0), +(29001505,16356,0,0,0,'0',0,0,0,-1,0,1,2343.07,-4984.65,71.8132,4.06663,120,0,0,100,0); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000001,14682,33,0,0,'0',0,0,0,-1,0,1,-225.131,2302.95,94.7599,6.02139,604800,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 14682 AND c.`map` = 33 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -225.131) < 5 AND ABS(c.`position_y` - 2302.95) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000002,14686,129,0,0,'0',0,0,0,-1,0,1,2583.18,695.861,56.8033,1.8675,604800,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 14686 AND c.`map` = 129 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 2583.18) < 5 AND ABS(c.`position_y` - 695.861) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000003,14690,429,0,0,'0',0,0,0,-1,0,1,-112.776,583.823,-3.47887,5.60251,604800,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 14690 AND c.`map` = 429 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -112.776) < 5 AND ABS(c.`position_y` - 583.823) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000004,14695,289,0,0,'0',0,0,0,-1,0,1,200.201,150.839,109.879,5.06145,604800,0,0,100,2 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 14695 AND c.`map` = 289 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 200.201) < 5 AND ABS(c.`position_y` - 150.839) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000005,14684,329,0,0,'0',0,0,0,-1,0,1,3733.27,-3480.11,131.04,3.05433,604800,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 14684 AND c.`map` = 329 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 3733.27) < 5 AND ABS(c.`position_y` - -3480.11) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000206,16787,1,0,0,'0',0,0,0,-1,0,1,1583.22,-4412.06,7.73177,2.37365,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16787 AND c.`map` = 1 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 1583.22) < 5 AND ABS(c.`position_y` - -4412.06) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000207,16787,0,0,0,'0',0,0,0,-1,0,1,1585.96,249.99,-61.994,2.26893,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16787 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 1585.96) < 5 AND ABS(c.`position_y` - 249.99) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000208,16787,1,0,0,'0',0,0,0,-1,0,1,-1256.72,76.7393,128.049,4.41568,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16787 AND c.`map` = 1 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -1256.72) < 5 AND ABS(c.`position_y` - 76.7393) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000209,16786,1,0,0,'0',0,0,0,-1,0,1,9907.45,2519.83,1316.41,0.15708,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16786 AND c.`map` = 1 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 9907.45) < 5 AND ABS(c.`position_y` - 2519.83) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000210,16786,0,0,0,'0',0,0,0,-1,0,1,-8836.57,647.61,96.3019,3.90954,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16786 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -8836.57) < 5 AND ABS(c.`position_y` - 647.61) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000211,16786,0,0,0,'0',0,0,0,-1,0,1,-4885.84,-945.795,501.547,2.72228,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16786 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -4885.84) < 5 AND ABS(c.`position_y` - -945.795) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000212,16786,0,0,0,'0',0,0,0,-1,0,1,2253.82,-5310.68,82.2506,1.8675,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16786 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 2253.82) < 5 AND ABS(c.`position_y` - -5310.68) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000405,16484,0,0,0,'0',0,0,0,-1,0,1,-5027.18,-806.981,496.484,3.00197,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16484 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -5027.18) < 5 AND ABS(c.`position_y` - -806.981) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000408,16490,1,0,0,'0',0,0,0,-1,0,1,-1346.69,192.28,61.5735,4.38078,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16490 AND c.`map` = 1 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -1346.69) < 5 AND ABS(c.`position_y` - 192.28) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000409,16255,0,0,0,'0',0,0,0,-1,0,1,1578.88,238.562,-61.994,3.03687,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16255 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 1578.88) < 5 AND ABS(c.`position_y` - 238.562) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000410,16359,0,0,0,'0',0,0,0,-1,0,1,1578.8,241.731,-61.994,2.93215,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16359 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 1578.8) < 5 AND ABS(c.`position_y` - 241.731) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000411,16494,0,0,0,'0',0,0,0,-1,0,1,1736.87,239.556,62.7903,6.26573,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16494 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 1736.87) < 5 AND ABS(c.`position_y` - 239.556) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000412,16787,0,0,0,'0',0,0,0,-1,0,1,1579.84,245.186,-61.994,3.29867,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16787 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 1579.84) < 5 AND ABS(c.`position_y` - 245.186) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000413,16241,0,0,0,'0',0,0,0,-1,0,1,-8832.87,642.782,94.81,4.45059,300,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16241 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -8832.87) < 5 AND ABS(c.`position_y` - 642.782) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000414,16285,0,0,0,'0',0,0,0,-1,0,1,-8830.83,640.758,94.528,4.2237,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16285 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -8830.83) < 5 AND ABS(c.`position_y` - 640.758) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000415,16478,0,0,0,'0',0,0,0,-1,0,1,-8955.32,523.414,96.44,3.78736,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16478 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -8955.32) < 5 AND ABS(c.`position_y` - 523.414) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000416,16786,0,0,0,'0',0,0,0,-1,0,1,-8835.75,644.276,95.6074,4.18879,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16786 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -8835.75) < 5 AND ABS(c.`position_y` - 644.276) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000418,16241,0,0,0,'0',0,0,0,-1,0,1,-4928.73,-982.986,501.552,2.05949,300,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16241 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -4928.73) < 5 AND ABS(c.`position_y` - -982.986) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000419,16241,0,0,0,'0',0,0,0,-1,0,1,-4894.5,-949.382,501.554,2.44303,300,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16241 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -4894.5) < 5 AND ABS(c.`position_y` - -949.382) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000420,16285,0,0,0,'0',0,0,0,-1,0,1,-4930.03,-985.018,501.548,2.23402,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16285 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -4930.03) < 5 AND ABS(c.`position_y` - -985.018) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000421,16285,0,0,0,'0',0,0,0,-1,0,1,-4894.93,-951.747,501.553,2.61756,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16285 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -4894.93) < 5 AND ABS(c.`position_y` - -951.747) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000422,16786,0,0,0,'0',0,0,0,-1,0,1,-4926.95,-981.718,501.55,2.00713,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16786 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -4926.95) < 5 AND ABS(c.`position_y` - -981.718) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000423,16786,0,0,0,'0',0,0,0,-1,0,1,-4893.32,-947.538,501.552,2.39067,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16786 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -4893.32) < 5 AND ABS(c.`position_y` - -947.538) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000424,16255,1,0,0,'0',0,0,0,-1,0,1,1584.58,-4416.35,8.29802,3.38594,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16255 AND c.`map` = 1 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 1584.58) < 5 AND ABS(c.`position_y` - -4416.35) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000425,16359,1,0,0,'0',0,0,0,-1,0,1,1585.22,-4420.51,8.32929,3.45575,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16359 AND c.`map` = 1 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 1585.22) < 5 AND ABS(c.`position_y` - -4420.51) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000426,16493,1,0,0,'0',0,0,0,-1,0,1,1512.33,-4403.79,19.5269,5.77704,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16493 AND c.`map` = 1 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 1512.33) < 5 AND ABS(c.`position_y` - -4403.79) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000427,16787,1,0,0,'0',0,0,0,-1,0,1,1586.28,-4425.21,7.9557,3.05433,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16787 AND c.`map` = 1 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 1586.28) < 5 AND ABS(c.`position_y` - -4425.21) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000429,16255,1,0,0,'0',0,0,0,-1,0,1,-1258.69,67.8713,127.656,1.51844,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16255 AND c.`map` = 1 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -1258.69) < 5 AND ABS(c.`position_y` - 67.8713) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000430,16359,1,0,0,'0',0,0,0,-1,0,1,-1261.02,67.5688,127.552,0.820305,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16359 AND c.`map` = 1 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -1261.02) < 5 AND ABS(c.`position_y` - 67.5688) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000431,16787,1,0,0,'0',0,0,0,-1,0,1,-1255.95,67.0851,127.594,1.79769,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16787 AND c.`map` = 1 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - -1255.95) < 5 AND ABS(c.`position_y` - 67.0851) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000433,16241,1,0,0,'0',0,0,0,-1,0,1,9918.36,2520.6,1317.57,3.31613,300,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16241 AND c.`map` = 1 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 9918.36) < 5 AND ABS(c.`position_y` - 2520.6) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000434,16241,1,0,0,'0',0,0,0,-1,0,1,9919.14,2510.43,1317.62,4.39823,300,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16241 AND c.`map` = 1 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 9919.14) < 5 AND ABS(c.`position_y` - 2510.43) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000435,16285,1,0,0,'0',0,0,0,-1,0,1,9918.94,2518.57,1317.64,3.47321,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16285 AND c.`map` = 1 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 9918.94) < 5 AND ABS(c.`position_y` - 2518.57) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000436,16495,1,0,0,'0',0,0,0,-1,0,1,9939.37,2114.4,1328.61,6.10865,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16495 AND c.`map` = 1 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 9939.37) < 5 AND ABS(c.`position_y` - 2114.4) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000437,16786,1,0,0,'0',0,0,0,-1,0,1,9917.67,2524.46,1317.53,3.87463,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16786 AND c.`map` = 1 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 9917.67) < 5 AND ABS(c.`position_y` - 2524.46) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000439,16786,0,0,0,'0',0,0,0,-1,0,1,2257.84,-5322.27,81.8893,2.80998,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16786 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 2257.84) < 5 AND ABS(c.`position_y` - -5322.27) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000440,16787,0,0,0,'0',0,0,0,-1,0,1,2263.72,-5313.31,81.9193,3.52556,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16787 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 2263.72) < 5 AND ABS(c.`position_y` - -5313.31) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000441,16281,0,0,0,'0',0,0,0,-1,0,1,2242.44,-5317.32,82.2506,1.41372,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16281 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 2242.44) < 5 AND ABS(c.`position_y` - -5317.32) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000442,16361,0,0,0,'0',0,0,0,-1,0,1,2240.87,-5317.26,82.2506,1.67552,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16361 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 2240.87) < 5 AND ABS(c.`position_y` - -5317.26) < 5); +INSERT INTO `creature` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`modelid`,`equipment_id`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`wander_distance`,`currentwaypoint`,`curHealthPct`,`MovementType`) SELECT 29000443,16285,0,0,0,'0',0,0,0,-1,0,1,2247.79,-5317.31,82.1935,1.5708,120,0,0,100,0 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `creature` c WHERE c.`id` = 16285 AND c.`map` = 0 AND c.`guid` NOT BETWEEN 29000001 AND 29005000 AND ABS(c.`position_x` - 2247.79) < 5 AND ABS(c.`position_y` - -5317.31) < 5); + +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(35170001,181136,0,0,0,'0',0,0,0,-1,-8399.82,-1246.03,202.741,1.37881,0,0,0.636078,0.771625,120,255,1), +(35170002,181136,0,0,0,'0',0,0,0,-1,-8371.14,-963.306,191.002,5.23599,0,0,-0.5,0.866025,120,255,1), +(35170003,181136,0,0,0,'0',0,0,0,-1,-8032.02,-981.624,122.643,5.23599,0,0,-0.5,0.866025,120,255,1), +(35170004,181136,0,0,0,'0',0,0,0,-1,-7981.87,-2433.27,129.776,0.733038,0,0,0.358368,0.933581,120,255,1), +(35170005,181136,0,0,0,'0',0,0,0,-1,-7732.86,-2232.79,134.965,1.37881,0,0,0.636078,0.771625,120,255,1), +(35170006,181136,0,0,0,'0',0,0,0,-1,-7603.63,-2596.44,135.679,1.37881,0,0,0.636078,0.771625,120,255,1), +(35170007,181154,0,0,0,'0',0,0,0,-1,-8232.78,-1099.86,201.488,5.18363,0,0,-0.522498,0.852641,120,255,1), +(35170008,181154,0,0,0,'0',0,0,0,-1,-7733.71,-2432.74,190.786,2.67035,0,0,0.972369,0.233448,120,255,1), +(35170009,181173,0,0,0,'0',0,0,0,-1,-8412.98,-1248.38,205.592,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170010,181173,0,0,0,'0',0,0,0,-1,-8408.04,-1234.03,197.22,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170011,181173,0,0,0,'0',0,0,0,-1,-8403.73,-1258.55,210.502,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170012,181173,0,0,0,'0',0,0,0,-1,-8391.57,-1236.6,195.301,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170013,181173,0,0,0,'0',0,0,0,-1,-8384.43,-965.495,192.449,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170014,181173,0,0,0,'0',0,0,0,-1,-8374.4,-976.698,187.892,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170015,181173,0,0,0,'0',0,0,0,-1,-8373.36,-951.099,196.14,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170016,181173,0,0,0,'0',0,0,0,-1,-8358.83,-972.333,187.406,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170017,181173,0,0,0,'0',0,0,0,-1,-8356.23,-953.66,191.819,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170018,181173,0,0,0,'0',0,0,0,-1,-8053.09,-988.775,131.256,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170019,181173,0,0,0,'0',0,0,0,-1,-8043.76,-962.956,132.977,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170020,181173,0,0,0,'0',0,0,0,-1,-8025.57,-1002.61,122.94,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170021,181173,0,0,0,'0',0,0,0,-1,-8019.87,-966.035,122.647,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170022,181173,0,0,0,'0',0,0,0,-1,-8009.05,-988.576,128.328,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170023,181173,0,0,0,'0',0,0,0,-1,-7995.97,-2424.91,128.912,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170024,181173,0,0,0,'0',0,0,0,-1,-7994.7,-2440.14,131.838,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170025,181173,0,0,0,'0',0,0,0,-1,-7979.67,-2446.44,131.103,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170026,181173,0,0,0,'0',0,0,0,-1,-7977.75,-2418.21,126.65,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170027,181173,0,0,0,'0',0,0,0,-1,-7965.11,-2432.88,126.468,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170028,181173,0,0,0,'0',0,0,0,-1,-7751.28,-2233.32,133.5,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170029,181173,0,0,0,'0',0,0,0,-1,-7741.55,-2250.78,134.744,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170030,181173,0,0,0,'0',0,0,0,-1,-7735.35,-2214.41,133.439,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170031,181173,0,0,0,'0',0,0,0,-1,-7722.01,-2243.29,138.13,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170032,181173,0,0,0,'0',0,0,0,-1,-7717.37,-2225.96,135.464,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170033,181173,0,0,0,'0',0,0,0,-1,-7622.51,-2594.37,132.082,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170034,181173,0,0,0,'0',0,0,0,-1,-7611.16,-2613.02,133.458,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170035,181173,0,0,0,'0',0,0,0,-1,-7610.4,-2579.54,132.969,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170036,181173,0,0,0,'0',0,0,0,-1,-7588.65,-2585.35,137.826,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170037,181173,0,0,0,'0',0,0,0,-1,-7588.18,-2604.82,137.333,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170038,181174,0,0,0,'0',0,0,0,-1,-8412.98,-1248.38,205.592,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170039,181174,0,0,0,'0',0,0,0,-1,-8408.04,-1234.03,197.22,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170040,181174,0,0,0,'0',0,0,0,-1,-8403.73,-1258.55,210.502,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170041,181174,0,0,0,'0',0,0,0,-1,-8391.57,-1236.6,195.301,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170042,181174,0,0,0,'0',0,0,0,-1,-8384.43,-965.495,192.449,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170043,181174,0,0,0,'0',0,0,0,-1,-8374.4,-976.698,187.892,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170044,181174,0,0,0,'0',0,0,0,-1,-8373.36,-951.099,196.14,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170045,181174,0,0,0,'0',0,0,0,-1,-8358.83,-972.333,187.406,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170046,181174,0,0,0,'0',0,0,0,-1,-8356.23,-953.66,191.819,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170047,181174,0,0,0,'0',0,0,0,-1,-8053.09,-988.775,131.256,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170048,181174,0,0,0,'0',0,0,0,-1,-8043.76,-962.956,132.977,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170049,181174,0,0,0,'0',0,0,0,-1,-8025.57,-1002.61,122.94,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170050,181174,0,0,0,'0',0,0,0,-1,-8019.87,-966.035,122.647,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170051,181174,0,0,0,'0',0,0,0,-1,-8009.05,-988.576,128.328,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170052,181174,0,0,0,'0',0,0,0,-1,-7995.97,-2424.91,128.912,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170053,181174,0,0,0,'0',0,0,0,-1,-7994.7,-2440.14,131.838,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170054,181174,0,0,0,'0',0,0,0,-1,-7979.67,-2446.44,131.103,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170055,181174,0,0,0,'0',0,0,0,-1,-7977.75,-2418.21,126.65,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170056,181174,0,0,0,'0',0,0,0,-1,-7965.11,-2432.88,126.468,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170057,181174,0,0,0,'0',0,0,0,-1,-7751.28,-2233.32,133.5,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170058,181174,0,0,0,'0',0,0,0,-1,-7741.55,-2250.78,134.744,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170059,181174,0,0,0,'0',0,0,0,-1,-7735.35,-2214.41,133.439,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170060,181174,0,0,0,'0',0,0,0,-1,-7722.01,-2243.29,138.13,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170061,181174,0,0,0,'0',0,0,0,-1,-7717.37,-2225.96,135.464,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170062,181174,0,0,0,'0',0,0,0,-1,-7622.51,-2594.37,132.082,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170063,181174,0,0,0,'0',0,0,0,-1,-7611.16,-2613.02,133.458,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170064,181174,0,0,0,'0',0,0,0,-1,-7610.4,-2579.54,132.969,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170065,181174,0,0,0,'0',0,0,0,-1,-7588.65,-2585.35,137.826,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170066,181174,0,0,0,'0',0,0,0,-1,-7588.18,-2604.82,137.333,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170067,181191,0,0,0,'0',0,0,0,-1,-8433.5,-1267.95,218.048,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170068,181191,0,0,0,'0',0,0,0,-1,-8432.31,-1247.49,211.001,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170069,181194,0,0,0,'0',0,0,0,-1,-8424.23,-1257.97,213.001,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170070,181193,0,0,0,'0',0,0,0,-1,-8415.65,-1250.67,207.519,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170071,181192,0,0,0,'0',0,0,0,-1,-8414.85,-1250.54,207.285,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170072,181194,0,0,0,'0',0,0,0,-1,-8413.57,-1233.1,197.218,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170073,181194,0,0,0,'0',0,0,0,-1,-8412.9,-1232.9,196.897,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170074,181191,0,0,0,'0',0,0,0,-1,-8409.35,-1267.67,215.369,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170075,181193,0,0,0,'0',0,0,0,-1,-8401.86,-1239.32,198.169,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170076,181192,0,0,0,'0',0,0,0,-1,-8395.2,-949.871,201.626,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170077,181192,0,0,0,'0',0,0,0,-1,-8392.18,-963.944,194.59,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170078,181194,0,0,0,'0',0,0,0,-1,-8391.61,-1265.83,210.55,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170079,181192,0,0,0,'0',0,0,0,-1,-8391.25,-1264.89,210.08,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170080,181191,0,0,0,'0',0,0,0,-1,-8391.06,-964.633,194.041,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170081,181193,0,0,0,'0',0,0,0,-1,-8390,-1221.27,189.737,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170082,181193,0,0,0,'0',0,0,0,-1,-8380.72,-945.081,200.524,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170083,181193,0,0,0,'0',0,0,0,-1,-8379.61,-944.807,200.393,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170084,181192,0,0,0,'0',0,0,0,-1,-8379.32,-982.256,187.678,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170085,181194,0,0,0,'0',0,0,0,-1,-8379.25,-1233.79,193.823,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170086,181192,0,0,0,'0',0,0,0,-1,-8378.7,-981.541,187.686,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170087,181192,0,0,0,'0',0,0,0,-1,-8378.61,-1234.11,193.818,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170088,181192,0,0,0,'0',0,0,0,-1,-8377.69,-958.731,193.846,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170089,181192,0,0,0,'0',0,0,0,-1,-8377.68,-982.149,187.548,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170090,181194,0,0,0,'0',0,0,0,-1,-8366.26,-1279.55,212.048,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170091,181192,0,0,0,'0',0,0,0,-1,-8366.14,-1277.8,211.669,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170092,181191,0,0,0,'0',0,0,0,-1,-8364.4,-966.61,189.125,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170093,181194,0,0,0,'0',0,0,0,-1,-8359.07,-930.49,207.002,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170094,181193,0,0,0,'0',0,0,0,-1,-8358.67,-929.78,207.349,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170095,181191,0,0,0,'0',0,0,0,-1,-8358.66,-947.965,194.263,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170096,181193,0,0,0,'0',0,0,0,-1,-8357.6,-930.427,207.274,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170097,181192,0,0,0,'0',0,0,0,-1,-8356.36,-982.168,185.507,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170098,181194,0,0,0,'0',0,0,0,-1,-8354.97,-1255.32,194.544,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170099,181191,0,0,0,'0',0,0,0,-1,-8353.58,-1256.07,194.868,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170100,181192,0,0,0,'0',0,0,0,-1,-8353.23,-958.709,189.964,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170101,181192,0,0,0,'0',0,0,0,-1,-8351.73,-959.321,189.72,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170102,181193,0,0,0,'0',0,0,0,-1,-8351.62,-972.482,186.748,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170103,181194,0,0,0,'0',0,0,0,-1,-8050.72,-996.258,130.698,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170104,181191,0,0,0,'0',0,0,0,-1,-8050.55,-972.639,132.138,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170105,181194,0,0,0,'0',0,0,0,-1,-8049.84,-997.107,130.537,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170106,181191,0,0,0,'0',0,0,0,-1,-8049.32,-971.909,131.784,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170107,181192,0,0,0,'0',0,0,0,-1,-8035.09,-960.794,130.82,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170108,181194,0,0,0,'0',0,0,0,-1,-8034.57,-959.944,131.149,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170109,181192,0,0,0,'0',0,0,0,-1,-8032.87,-1002.25,122.634,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170110,181191,0,0,0,'0',0,0,0,-1,-8025.99,-970.899,122.647,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170111,181193,0,0,0,'0',0,0,0,-1,-8023.52,-989.657,122.647,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170112,181192,0,0,0,'0',0,0,0,-1,-8022.38,-988.255,122.647,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170113,181194,0,0,0,'0',0,0,0,-1,-8022,-990.26,122.647,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170114,181192,0,0,0,'0',0,0,0,-1,-8021.04,-1013.84,128.752,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170115,181193,0,0,0,'0',0,0,0,-1,-8020.25,-1013.67,128.933,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170116,181192,0,0,0,'0',0,0,0,-1,-8018.94,-2436.24,127.586,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170117,181191,0,0,0,'0',0,0,0,-1,-8012.74,-2417.08,125.16,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170118,181193,0,0,0,'0',0,0,0,-1,-8011.98,-2417.71,125.316,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170119,181192,0,0,0,'0',0,0,0,-1,-8011.56,-2416.17,124.975,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170120,181194,0,0,0,'0',0,0,0,-1,-8011.44,-955.784,130.491,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170121,181191,0,0,0,'0',0,0,0,-1,-8011.15,-2453.95,131.804,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170122,181191,0,0,0,'0',0,0,0,-1,-8010.96,-983.187,127.41,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170123,181191,0,0,0,'0',0,0,0,-1,-8010.8,-2453.43,131.654,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170124,181193,0,0,0,'0',0,0,0,-1,-8010.23,-981.925,127.578,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170125,181191,0,0,0,'0',0,0,0,-1,-8001.2,-2435.98,131.14,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170126,181194,0,0,0,'0',0,0,0,-1,-7995.82,-1002.28,129.203,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170127,181192,0,0,0,'0',0,0,0,-1,-7989.55,-2420.37,127.713,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170128,181194,0,0,0,'0',0,0,0,-1,-7989.18,-2421.23,128.044,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170129,181192,0,0,0,'0',0,0,0,-1,-7987.15,-970.404,128.898,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170130,181192,0,0,0,'0',0,0,0,-1,-7983.05,-2443.49,131.162,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170131,181191,0,0,0,'0',0,0,0,-1,-7982.49,-2442.67,130.99,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170132,181191,0,0,0,'0',0,0,0,-1,-7982.37,-2456.56,132.788,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170133,181193,0,0,0,'0',0,0,0,-1,-7982.2,-2443.23,131.006,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170134,181194,0,0,0,'0',0,0,0,-1,-7976.1,-2411.7,125.535,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170135,181192,0,0,0,'0',0,0,0,-1,-7969.08,-2433.74,127.042,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170136,181193,0,0,0,'0',0,0,0,-1,-7958.08,-2416.88,126.889,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170137,181193,0,0,0,'0',0,0,0,-1,-7952.66,-2436.15,127.879,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170138,181194,0,0,0,'0',0,0,0,-1,-7952.01,-2437.23,128.365,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170139,181193,0,0,0,'0',0,0,0,-1,-7766.38,-2238.1,133.528,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170140,181194,0,0,0,'0',0,0,0,-1,-7765.77,-2237.39,133.541,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170141,181191,0,0,0,'0',0,0,0,-1,-7753.81,-2219.62,133.439,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170142,181193,0,0,0,'0',0,0,0,-1,-7752.97,-2201.81,133.439,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170143,181193,0,0,0,'0',0,0,0,-1,-7750.94,-2253.1,133.596,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170144,181192,0,0,0,'0',0,0,0,-1,-7750.86,-2253.54,133.605,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170145,181192,0,0,0,'0',0,0,0,-1,-7742.58,-2236.3,134.159,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170146,181192,0,0,0,'0',0,0,0,-1,-7742.5,-2235.79,134.134,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170147,181193,0,0,0,'0',0,0,0,-1,-7737.12,-2256.78,135.901,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170148,181193,0,0,0,'0',0,0,0,-1,-7734.07,-2207.99,133.439,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170149,181191,0,0,0,'0',0,0,0,-1,-7732.74,-2206.9,133.439,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170150,181192,0,0,0,'0',0,0,0,-1,-7730.7,-2240.86,136.298,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170151,181192,0,0,0,'0',0,0,0,-1,-7729.55,-2239.88,136.404,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170152,181191,0,0,0,'0',0,0,0,-1,-7726.68,-2225.7,134.645,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170153,181193,0,0,0,'0',0,0,0,-1,-7723.87,-2252.1,138.787,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170154,181194,0,0,0,'0',0,0,0,-1,-7718.51,-2228.76,135.882,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170155,181192,0,0,0,'0',0,0,0,-1,-7717.21,-2228.17,135.888,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170156,181191,0,0,0,'0',0,0,0,-1,-7716.51,-2228.38,135.988,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170157,181193,0,0,0,'0',0,0,0,-1,-7626.21,-2575.31,132.021,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170158,181194,0,0,0,'0',0,0,0,-1,-7625.13,-2576.57,131.763,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170159,181193,0,0,0,'0',0,0,0,-1,-7624.22,-2602.45,132.385,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170160,181194,0,0,0,'0',0,0,0,-1,-7623.63,-2603.38,132.377,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170161,181194,0,0,0,'0',0,0,0,-1,-7623.44,-2604.28,132.392,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170162,181194,0,0,0,'0',0,0,0,-1,-7608.6,-2612.26,133.953,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170163,181191,0,0,0,'0',0,0,0,-1,-7608.54,-2613.28,133.934,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170164,181191,0,0,0,'0',0,0,0,-1,-7607.81,-2587.44,134.445,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170165,181191,0,0,0,'0',0,0,0,-1,-7607.79,-2629.18,133.869,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170166,181193,0,0,0,'0',0,0,0,-1,-7598.04,-2604.17,136.117,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170167,181193,0,0,0,'0',0,0,0,-1,-7596.82,-2566.68,133.868,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170168,181191,0,0,0,'0',0,0,0,-1,-7595.88,-2566.53,133.876,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170169,181193,0,0,0,'0',0,0,0,-1,-7591.88,-2620.63,135.565,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170170,181191,0,0,0,'0',0,0,0,-1,-7589.27,-2583.24,137.281,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170171,181192,0,0,0,'0',0,0,0,-1,-7588.9,-2607.11,136.995,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170172,181192,0,0,0,'0',0,0,0,-1,-7588.44,-2582.06,137.095,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170173,181194,0,0,0,'0',0,0,0,-1,-7587.87,-2607.69,137.044,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170174,181193,0,0,0,'0',0,0,0,-1,-7587.59,-2606.65,137.194,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170238,181136,1,0,0,'0',0,0,0,-1,6052.6,-4749.63,785.534,1.27409,0,0,0.594822,0.803857,120,255,1), +(35170239,181136,1,0,0,'0',0,0,0,-1,7939.65,-3870.93,695.403,0.244346,0,0,0.121869,0.992546,120,255,1), +(35170240,181136,1,0,0,'0',0,0,0,-1,7822.94,-4220.18,675.491,0.244346,0,0,0.121869,0.992546,120,255,1), +(35170241,181136,1,0,0,'0',0,0,0,-1,7687.87,-3877.74,687.153,0.244346,0,0,0.121869,0.992546,120,255,1), +(35170242,181136,1,0,0,'0',0,0,0,-1,6782,-3585.64,712.276,0.244346,0,0,0.121869,0.992546,120,255,1), +(35170243,181136,1,0,0,'0',0,0,0,-1,6742.24,-3352.34,688.37,0.244346,0,0,0.121869,0.992546,120,255,1), +(35170244,181136,1,0,0,'0',0,0,0,-1,6547.4,-3482.4,643.628,0.244346,0,0,0.121869,0.992546,120,255,1), +(35170245,181136,1,0,0,'0',0,0,0,-1,6284.69,-4782.17,757.315,2.33874,0,0,0.920505,0.390732,120,255,1), +(35170246,181136,1,0,0,'0',0,0,0,-1,6072.11,-5040.12,789.939,5.13127,0,0,-0.544639,0.838671,120,255,1), +(35170247,181173,1,0,0,'0',0,0,0,-1,7688.84,-3892.03,689.552,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170248,181173,1,0,0,'0',0,0,0,-1,7677.07,-3887.32,687.06,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170249,181173,1,0,0,'0',0,0,0,-1,7675.17,-3868.89,685.395,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170250,181173,1,0,0,'0',0,0,0,-1,6791.23,-3586.77,712.718,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170251,181173,1,0,0,'0',0,0,0,-1,6787.01,-3575.92,708.803,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170252,181173,1,0,0,'0',0,0,0,-1,6783.48,-3595.3,715.923,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170253,181173,1,0,0,'0',0,0,0,-1,6773.85,-3579.55,710.883,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170254,181173,1,0,0,'0',0,0,0,-1,6773.62,-3590.98,714.233,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170255,181173,1,0,0,'0',0,0,0,-1,6752.31,-3349.22,685.869,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170256,181173,1,0,0,'0',0,0,0,-1,7689.83,-3862.5,686.37,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170257,181173,1,0,0,'0',0,0,0,-1,7701.99,-3880.54,687.945,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170258,181173,1,0,0,'0',0,0,0,-1,7811.98,-4226.34,677.521,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170259,181173,1,0,0,'0',0,0,0,-1,7951.54,-3875.18,694.948,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170260,181173,1,0,0,'0',0,0,0,-1,7945.81,-3859.84,695.185,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170261,181173,1,0,0,'0',0,0,0,-1,7939.62,-3882.95,695.515,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170262,181173,1,0,0,'0',0,0,0,-1,7932.25,-3861.72,695.668,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170263,181173,1,0,0,'0',0,0,0,-1,7926.75,-3878.23,695.294,0.890117,0,0,0.43051,0.902586,120,255,1); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(35170264,181173,1,0,0,'0',0,0,0,-1,7840.28,-4217.08,675.564,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170265,181173,1,0,0,'0',0,0,0,-1,7830.69,-4208.48,675.725,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170266,181173,1,0,0,'0',0,0,0,-1,7822.53,-4234.33,680.112,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170267,181173,1,0,0,'0',0,0,0,-1,7815.5,-4209.39,675.145,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170268,181173,1,0,0,'0',0,0,0,-1,6751.79,-3360.8,684.975,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170269,181173,1,0,0,'0',0,0,0,-1,6740.9,-3342.74,686.804,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170270,181173,1,0,0,'0',0,0,0,-1,6737.26,-3361.34,687.013,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170271,181173,1,0,0,'0',0,0,0,-1,6080.37,-5030.69,788.598,3.7001,0,0,-0.961261,0.27564,120,255,1), +(35170272,181173,1,0,0,'0',0,0,0,-1,6070.33,-5052.18,794.006,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170273,181173,1,0,0,'0',0,0,0,-1,6065.6,-5029.23,785.481,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170274,181173,1,0,0,'0',0,0,0,-1,6063.71,-4749.12,778.662,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170275,181173,1,0,0,'0',0,0,0,-1,6061.29,-5044.73,790.336,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170276,181173,1,0,0,'0',0,0,0,-1,6056.9,-4757.58,785.737,4.32842,0,0,-0.829037,0.559194,120,255,1), +(35170277,181173,1,0,0,'0',0,0,0,-1,6053.48,-4740.55,785.28,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170278,181173,1,0,0,'0',0,0,0,-1,6047.01,-4754.71,790.205,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170279,181173,1,0,0,'0',0,0,0,-1,6046.73,-4744.43,789.809,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170280,181173,1,0,0,'0',0,0,0,-1,6081.69,-5044.22,792.539,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170281,181173,1,0,0,'0',0,0,0,-1,6275.49,-4782.48,756.862,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170282,181173,1,0,0,'0',0,0,0,-1,6280.31,-4772.92,756.073,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170283,181173,1,0,0,'0',0,0,0,-1,6732.46,-3350.71,687.625,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170284,181173,1,0,0,'0',0,0,0,-1,6557.24,-3474.46,645.709,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170285,181173,1,0,0,'0',0,0,0,-1,6553.72,-3489.82,647.38,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170286,181173,1,0,0,'0',0,0,0,-1,6547,-3471.53,639.958,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170287,181173,1,0,0,'0',0,0,0,-1,6540.5,-3491.92,643.55,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170288,181173,1,0,0,'0',0,0,0,-1,6536.37,-3480.21,639.161,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170289,181173,1,0,0,'0',0,0,0,-1,6293.4,-4783.96,758.477,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170290,181173,1,0,0,'0',0,0,0,-1,6291,-4774.14,756.714,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170291,181173,1,0,0,'0',0,0,0,-1,6284.65,-4791.1,758.13,4.32842,0,0,-0.829037,0.559194,120,255,1), +(35170292,181174,1,0,0,'0',0,0,0,-1,7688.84,-3892.03,689.552,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170293,181174,1,0,0,'0',0,0,0,-1,7677.07,-3887.32,687.06,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170294,181174,1,0,0,'0',0,0,0,-1,7675.17,-3868.89,685.395,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170295,181174,1,0,0,'0',0,0,0,-1,6791.23,-3586.77,712.718,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170296,181174,1,0,0,'0',0,0,0,-1,6787.01,-3575.92,708.803,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170297,181174,1,0,0,'0',0,0,0,-1,6783.48,-3595.3,715.923,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170298,181174,1,0,0,'0',0,0,0,-1,6773.85,-3579.55,710.883,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170299,181174,1,0,0,'0',0,0,0,-1,6773.62,-3590.98,714.233,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170300,181174,1,0,0,'0',0,0,0,-1,6752.31,-3349.22,685.869,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170301,181174,1,0,0,'0',0,0,0,-1,6751.79,-3360.8,684.975,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170302,181174,1,0,0,'0',0,0,0,-1,7689.83,-3862.5,686.37,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170303,181174,1,0,0,'0',0,0,0,-1,7701.99,-3880.54,687.945,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170304,181174,1,0,0,'0',0,0,0,-1,7945.81,-3859.84,695.185,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170305,181174,1,0,0,'0',0,0,0,-1,7939.62,-3882.95,695.515,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170306,181174,1,0,0,'0',0,0,0,-1,7932.25,-3861.72,695.668,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170307,181174,1,0,0,'0',0,0,0,-1,7926.75,-3878.23,695.294,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170308,181174,1,0,0,'0',0,0,0,-1,7840.28,-4217.08,675.564,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170309,181174,1,0,0,'0',0,0,0,-1,7830.69,-4208.48,675.725,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170310,181174,1,0,0,'0',0,0,0,-1,7822.53,-4234.33,680.112,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170311,181174,1,0,0,'0',0,0,0,-1,7815.5,-4209.39,675.145,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170312,181174,1,0,0,'0',0,0,0,-1,7811.98,-4226.34,677.521,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170313,181174,1,0,0,'0',0,0,0,-1,7951.54,-3875.18,694.948,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170314,181174,1,0,0,'0',0,0,0,-1,6740.9,-3342.74,686.804,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170315,181174,1,0,0,'0',0,0,0,-1,6737.26,-3361.34,687.013,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170316,181174,1,0,0,'0',0,0,0,-1,6080.37,-5030.69,788.598,3.7001,0,0,-0.961261,0.27564,120,255,1), +(35170317,181174,1,0,0,'0',0,0,0,-1,6070.33,-5052.18,794.006,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170318,181174,1,0,0,'0',0,0,0,-1,6065.6,-5029.23,785.481,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170319,181174,1,0,0,'0',0,0,0,-1,6063.71,-4749.12,778.662,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170320,181174,1,0,0,'0',0,0,0,-1,6061.29,-5044.73,790.336,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170321,181174,1,0,0,'0',0,0,0,-1,6056.9,-4757.58,785.737,4.32842,0,0,-0.829037,0.559194,120,255,1), +(35170322,181174,1,0,0,'0',0,0,0,-1,6053.48,-4740.55,785.28,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170323,181174,1,0,0,'0',0,0,0,-1,6047.01,-4754.71,790.205,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170324,181174,1,0,0,'0',0,0,0,-1,6046.73,-4744.43,789.809,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170325,181174,1,0,0,'0',0,0,0,-1,6081.69,-5044.22,792.539,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170326,181174,1,0,0,'0',0,0,0,-1,6275.49,-4782.48,756.862,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170327,181174,1,0,0,'0',0,0,0,-1,6280.31,-4772.92,756.073,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170328,181174,1,0,0,'0',0,0,0,-1,6732.46,-3350.71,687.625,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170329,181174,1,0,0,'0',0,0,0,-1,6557.24,-3474.46,645.709,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170330,181174,1,0,0,'0',0,0,0,-1,6553.72,-3489.82,647.38,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170331,181174,1,0,0,'0',0,0,0,-1,6547,-3471.53,639.958,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170332,181174,1,0,0,'0',0,0,0,-1,6540.5,-3491.92,643.55,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170333,181174,1,0,0,'0',0,0,0,-1,6536.37,-3480.21,639.161,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170334,181174,1,0,0,'0',0,0,0,-1,6293.4,-4783.96,758.477,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170335,181174,1,0,0,'0',0,0,0,-1,6291,-4774.14,756.714,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170336,181174,1,0,0,'0',0,0,0,-1,6284.65,-4791.1,758.13,4.32842,0,0,-0.829037,0.559194,120,255,1), +(35170337,181191,1,0,0,'0',0,0,0,-1,6280.72,-4792.69,757.879,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170338,181191,1,0,0,'0',0,0,0,-1,6285.01,-4810.11,758.283,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170339,181191,1,0,0,'0',0,0,0,-1,6303.22,-4754.17,762.843,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170340,181191,1,0,0,'0',0,0,0,-1,6305.35,-4812.15,755.291,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170341,181191,1,0,0,'0',0,0,0,-1,7703.84,-3876.46,687.837,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170342,181191,1,0,0,'0',0,0,0,-1,6523.63,-3485.76,637.073,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170343,181191,1,0,0,'0',0,0,0,-1,6279.96,-4792.25,757.774,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170344,181191,1,0,0,'0',0,0,0,-1,6277.27,-4771.49,755.742,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170345,181191,1,0,0,'0',0,0,0,-1,6270.84,-4755.31,753.638,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170346,181191,1,0,0,'0',0,0,0,-1,6253.66,-4755.55,753.513,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170347,181191,1,0,0,'0',0,0,0,-1,6239.76,-4810.6,757.662,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170348,181191,1,0,0,'0',0,0,0,-1,6118.95,-5038.25,791.291,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170349,181191,1,0,0,'0',0,0,0,-1,7814.2,-4236.19,680.603,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170350,181191,1,0,0,'0',0,0,0,-1,7829.87,-4199.46,676.699,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170351,181191,1,0,0,'0',0,0,0,-1,7700.66,-3858.5,688.053,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170352,181191,1,0,0,'0',0,0,0,-1,6543.6,-3473.05,638.964,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170353,181191,1,0,0,'0',0,0,0,-1,7700.63,-3853.92,688.848,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170354,181191,1,0,0,'0',0,0,0,-1,6770.72,-3588.42,713.462,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170355,181191,1,0,0,'0',0,0,0,-1,6780.09,-3552.03,702.982,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170356,181191,1,0,0,'0',0,0,0,-1,6780.31,-3608.75,719.072,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170357,181191,1,0,0,'0',0,0,0,-1,6787.05,-3565.61,706.188,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170358,181191,1,0,0,'0',0,0,0,-1,6733,-3376.66,680.377,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170359,181191,1,0,0,'0',0,0,0,-1,6727.33,-3325.57,681.35,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170360,181191,1,0,0,'0',0,0,0,-1,7652.7,-3868.06,684.898,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170361,181191,1,0,0,'0',0,0,0,-1,6573.9,-3483.82,658.282,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170362,181191,1,0,0,'0',0,0,0,-1,7672.77,-3879.24,686.063,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170363,181191,1,0,0,'0',0,0,0,-1,6572,-3461.13,650.298,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170364,181191,1,0,0,'0',0,0,0,-1,6559.69,-3485.18,649.252,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170365,181191,1,0,0,'0',0,0,0,-1,7680.09,-3866.85,685.594,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170366,181191,1,0,0,'0',0,0,0,-1,7681.38,-3868.22,685.793,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170367,181191,1,0,0,'0',0,0,0,-1,6771.26,-3589.5,713.749,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170368,181191,1,0,0,'0',0,0,0,-1,7922.56,-3866.16,696.966,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170369,181191,1,0,0,'0',0,0,0,-1,7947.38,-3862.14,695.209,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170370,181191,1,0,0,'0',0,0,0,-1,6036.04,-5017.71,781.846,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170371,181191,1,0,0,'0',0,0,0,-1,6027.04,-5037.71,783.62,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170372,181191,1,0,0,'0',0,0,0,-1,7941.17,-3886.24,695.238,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170373,181191,1,0,0,'0',0,0,0,-1,6079.17,-5018.45,786.023,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170374,181191,1,0,0,'0',0,0,0,-1,7941.02,-3855.58,695.078,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170375,181191,1,0,0,'0',0,0,0,-1,6038.32,-4735.53,793.959,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170376,181191,1,0,0,'0',0,0,0,-1,6095.61,-4756.99,758.707,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170377,181192,1,0,0,'0',0,0,0,-1,6037.22,-4760.02,794.969,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170378,181192,1,0,0,'0',0,0,0,-1,6022.51,-5022.58,781.851,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170379,181192,1,0,0,'0',0,0,0,-1,6723.63,-3357.09,686.36,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170380,181192,1,0,0,'0',0,0,0,-1,6023.65,-4723.44,799.217,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170381,181192,1,0,0,'0',0,0,0,-1,7839.97,-4227.98,676.906,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170382,181192,1,0,0,'0',0,0,0,-1,6049.41,-4739.42,787.897,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170383,181192,1,0,0,'0',0,0,0,-1,7680.05,-3869.54,685.765,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170384,181192,1,0,0,'0',0,0,0,-1,7944.12,-3887.76,694.885,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170385,181192,1,0,0,'0',0,0,0,-1,7945.83,-3886.93,694.836,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170386,181192,1,0,0,'0',0,0,0,-1,7947.08,-3858.18,695.113,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170387,181192,1,0,0,'0',0,0,0,-1,6735.44,-3344.8,686.807,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170388,181192,1,0,0,'0',0,0,0,-1,6773.27,-3334.44,676.92,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170389,181192,1,0,0,'0',0,0,0,-1,6767.33,-3617.96,720.119,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170390,181192,1,0,0,'0',0,0,0,-1,6773.92,-3334.25,676.696,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170391,181192,1,0,0,'0',0,0,0,-1,6759.59,-3356.03,682.107,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170392,181192,1,0,0,'0',0,0,0,-1,6759.39,-3578.55,709.409,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170393,181192,1,0,0,'0',0,0,0,-1,6759.25,-3559.23,702.179,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170394,181192,1,0,0,'0',0,0,0,-1,6752.2,-3323.48,677.893,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170395,181192,1,0,0,'0',0,0,0,-1,7954.69,-3871.91,695.201,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170396,181192,1,0,0,'0',0,0,0,-1,6748.73,-3341.29,685.584,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170397,181192,1,0,0,'0',0,0,0,-1,6012.84,-4774.02,799.936,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170398,181192,1,0,0,'0',0,0,0,-1,6790.12,-3610.6,719.965,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170399,181192,1,0,0,'0',0,0,0,-1,6808.92,-3588.39,715.136,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170400,181192,1,0,0,'0',0,0,0,-1,6044.28,-5031.84,783.654,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170401,181192,1,0,0,'0',0,0,0,-1,6539.98,-3504.23,646.37,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170402,181192,1,0,0,'0',0,0,0,-1,7922.72,-3884.97,694.782,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170403,181192,1,0,0,'0',0,0,0,-1,7830.32,-4196.79,677.141,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170404,181192,1,0,0,'0',0,0,0,-1,6275.72,-4772.13,755.884,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170405,181192,1,0,0,'0',0,0,0,-1,7922.17,-3870.31,696.454,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170406,181192,1,0,0,'0',0,0,0,-1,6254.01,-4754.98,753.513,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170407,181192,1,0,0,'0',0,0,0,-1,6071.98,-4998.29,782.531,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170408,181192,1,0,0,'0',0,0,0,-1,7837.79,-4229.47,677.319,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170409,181192,1,0,0,'0',0,0,0,-1,7815.1,-4232.74,679.616,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170410,181192,1,0,0,'0',0,0,0,-1,7825.49,-4240.33,681.8,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170411,181192,1,0,0,'0',0,0,0,-1,7825.88,-4237.19,680.884,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170412,181192,1,0,0,'0',0,0,0,-1,7827.11,-4238.12,681.061,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170413,181192,1,0,0,'0',0,0,0,-1,6773.77,-3573.25,708.462,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170414,181192,1,0,0,'0',0,0,0,-1,7701.28,-3857.09,688.463,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170415,181192,1,0,0,'0',0,0,0,-1,6049.59,-4723.78,784.482,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170416,181192,1,0,0,'0',0,0,0,-1,6526.9,-3506.54,644.309,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170417,181192,1,0,0,'0',0,0,0,-1,6310.08,-4811.32,754.724,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170418,181192,1,0,0,'0',0,0,0,-1,7929.03,-3839.96,697.334,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170419,181192,1,0,0,'0',0,0,0,-1,7928.2,-3838.52,697.282,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170420,181192,1,0,0,'0',0,0,0,-1,6534.08,-3467.39,632.624,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170421,181192,1,0,0,'0',0,0,0,-1,6526.48,-3511.82,645.865,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170422,181193,1,0,0,'0',0,0,0,-1,7688.64,-3887.38,687.983,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170423,181193,1,0,0,'0',0,0,0,-1,7956.02,-3872.67,695.24,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170424,181193,1,0,0,'0',0,0,0,-1,6774.77,-3571.34,707.807,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170425,181193,1,0,0,'0',0,0,0,-1,7831.1,-4197.87,677.076,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170426,181193,1,0,0,'0',0,0,0,-1,7681.06,-3866.14,685.673,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170427,181193,1,0,0,'0',0,0,0,-1,7813.87,-4234.42,680.098,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170428,181193,1,0,0,'0',0,0,0,-1,6779.28,-3365.8,671.606,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170429,181193,1,0,0,'0',0,0,0,-1,7668.84,-3879.69,685.915,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170430,181193,1,0,0,'0',0,0,0,-1,7812.46,-4213.05,675.142,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170431,181193,1,0,0,'0',0,0,0,-1,7807.12,-4222.25,676.505,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170432,181193,1,0,0,'0',0,0,0,-1,7806.42,-4222.62,676.601,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170433,181193,1,0,0,'0',0,0,0,-1,7670.92,-3881.04,686.056,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170434,181193,1,0,0,'0',0,0,0,-1,7923.6,-3885.66,694.762,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170435,181193,1,0,0,'0',0,0,0,-1,7927.77,-3842.22,697.657,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170436,181193,1,0,0,'0',0,0,0,-1,7704.6,-3875.36,687.847,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170437,181193,1,0,0,'0',0,0,0,-1,6761.1,-3345.33,681.59,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170438,181193,1,0,0,'0',0,0,0,-1,6059.8,-5063.97,803.037,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170439,181193,1,0,0,'0',0,0,0,-1,6559.08,-3486.38,649.274,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170440,181193,1,0,0,'0',0,0,0,-1,6553.16,-3511.32,654.066,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170441,181193,1,0,0,'0',0,0,0,-1,6552.37,-3512.79,654.12,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170442,181193,1,0,0,'0',0,0,0,-1,6061.17,-4741.01,780.119,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170443,181193,1,0,0,'0',0,0,0,-1,6548.6,-3457.54,636.978,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170444,181193,1,0,0,'0',0,0,0,-1,7812.17,-4236.05,680.415,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170445,181193,1,0,0,'0',0,0,0,-1,6524.11,-3485.38,637.018,0.069812,0,0,0.034899,0.999391,120,255,1), +(35170446,181193,1,0,0,'0',0,0,0,-1,6314.06,-4784.79,755.291,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170447,181193,1,0,0,'0',0,0,0,-1,6062.72,-4765.63,784.29,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170448,181193,1,0,0,'0',0,0,0,-1,6083.31,-4740.33,766.961,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170449,181193,1,0,0,'0',0,0,0,-1,6117.96,-5039.05,791.338,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170450,181193,1,0,0,'0',0,0,0,-1,6105.89,-5004.39,788.874,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170451,181193,1,0,0,'0',0,0,0,-1,6094.67,-4758.38,759.308,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170452,181193,1,0,0,'0',0,0,0,-1,6054.86,-5035.81,785.729,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170453,181193,1,0,0,'0',0,0,0,-1,6572.7,-3480.62,656.029,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170454,181193,1,0,0,'0',0,0,0,-1,6760.55,-3606.53,716.882,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170455,181193,1,0,0,'0',0,0,0,-1,6010.73,-5045.85,787.062,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170456,181193,1,0,0,'0',0,0,0,-1,6746.21,-3367.38,684.331,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170457,181193,1,0,0,'0',0,0,0,-1,6746.08,-3380.7,681.023,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170458,181193,1,0,0,'0',0,0,0,-1,6018.93,-4736.45,803.017,0.069812,0,0,0.034899,0.999391,120,255,1), +(35170459,181193,1,0,0,'0',0,0,0,-1,6049.14,-4723.7,784.812,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170460,181193,1,0,0,'0',0,0,0,-1,6742.03,-3566.77,701.938,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170461,181193,1,0,0,'0',0,0,0,-1,6037.43,-4760.56,794.89,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170462,181193,1,0,0,'0',0,0,0,-1,6039.19,-5054.72,795.048,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170463,181194,1,0,0,'0',0,0,0,-1,6050.72,-5008.29,781.027,0.453785,0,0,0.224951,0.97437,120,255,1); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(35170464,181194,1,0,0,'0',0,0,0,-1,7954.38,-3870.54,695.227,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170465,181194,1,0,0,'0',0,0,0,-1,7938.94,-3887.57,695.173,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170466,181194,1,0,0,'0',0,0,0,-1,6094.3,-5053.53,795.275,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170467,181194,1,0,0,'0',0,0,0,-1,6093.83,-4756.6,759.822,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170468,181194,1,0,0,'0',0,0,0,-1,6793.19,-3594.2,715.44,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170469,181194,1,0,0,'0',0,0,0,-1,6075.96,-4781.22,773.205,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170470,181194,1,0,0,'0',0,0,0,-1,7841.32,-4210.41,676.247,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170471,181194,1,0,0,'0',0,0,0,-1,7922,-3868.02,696.827,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170472,181194,1,0,0,'0',0,0,0,-1,6014.15,-4773.88,799.724,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170473,181194,1,0,0,'0',0,0,0,-1,6061.72,-4741.88,779.778,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170474,181194,1,0,0,'0',0,0,0,-1,6060.76,-5063.9,803.047,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170475,181194,1,0,0,'0',0,0,0,-1,6525.25,-3457.35,626.526,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170476,181194,1,0,0,'0',0,0,0,-1,6104.99,-5004.92,788.723,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170477,181194,1,0,0,'0',0,0,0,-1,6105.01,-5025.15,790.674,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170478,181194,1,0,0,'0',0,0,0,-1,7679.69,-3852.65,686.282,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170479,181194,1,0,0,'0',0,0,0,-1,6720.69,-3342.35,684.403,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170480,181194,1,0,0,'0',0,0,0,-1,6724.2,-3358.49,686.193,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170481,181194,1,0,0,'0',0,0,0,-1,6724.7,-3357.41,686.361,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170482,181194,1,0,0,'0',0,0,0,-1,7650.75,-3870.34,684.878,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170483,181194,1,0,0,'0',0,0,0,-1,6810.17,-3588.13,715.463,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170484,181194,1,0,0,'0',0,0,0,-1,6745.25,-3367.39,684.424,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170485,181194,1,0,0,'0',0,0,0,-1,6781.15,-3551.25,702.816,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170486,181194,1,0,0,'0',0,0,0,-1,6749.57,-3342.13,685.646,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170487,181194,1,0,0,'0',0,0,0,-1,6753.27,-3587.21,710.209,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170488,181194,1,0,0,'0',0,0,0,-1,6560.25,-3486.85,650.214,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170489,181194,1,0,0,'0',0,0,0,-1,6549.6,-3456.65,637.663,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170490,181194,1,0,0,'0',0,0,0,-1,7812.75,-4214.37,675.185,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170491,181194,1,0,0,'0',0,0,0,-1,6257.11,-4778.2,754.555,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170492,181194,1,0,0,'0',0,0,0,-1,7824.72,-4201.28,676.084,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170493,181194,1,0,0,'0',0,0,0,-1,6260.07,-4803.59,758.109,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170494,181194,1,0,0,'0',0,0,0,-1,6279.65,-4793.17,757.857,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170495,181194,1,0,0,'0',0,0,0,-1,6284.16,-4809.84,758.301,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170496,181194,1,0,0,'0',0,0,0,-1,7701.83,-3855.88,688.818,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170497,181194,1,0,0,'0',0,0,0,-1,7697.07,-3866.02,687.001,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170498,181194,1,0,0,'0',0,0,0,-1,6240.71,-4811.52,757.896,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170499,181223,1,0,0,'0',0,0,0,-1,6646.69,-3442.36,792.916,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170500,181223,1,0,0,'0',0,0,0,-1,7755.75,-4030.91,786.496,0.471238,0,0,0.233445,0.97237,120,255,1), +(35170501,181373,1,0,0,'0',0,0,0,-1,6184.28,-4913.32,807.676,6.0912,0,0,-0.095845,0.995396,120,255,1), +(35170502,181136,1,0,0,'0',0,0,0,-1,-8833.58,-2600.38,21.7275,3.17653,0,0,-0.999847,0.017469,120,255,1), +(35170503,181136,1,0,0,'0',0,0,0,-1,-7246.02,-3543.61,13.5918,0.244346,0,0,0.121869,0.992546,120,255,1), +(35170504,181136,1,0,0,'0',0,0,0,-1,-7328.86,-3970.19,11.0381,0.244346,0,0,0.121869,0.992546,120,255,1), +(35170505,181136,1,0,0,'0',0,0,0,-1,-7632.01,-3732.97,20.6804,0.244346,0,0,0.121869,0.992546,120,255,1), +(35170506,181136,1,0,0,'0',0,0,0,-1,-8169.93,-3803.55,14.9479,5.02655,0,0,-0.587785,0.809017,120,255,1), +(35170507,181136,1,0,0,'0',0,0,0,-1,-8333.86,-4203.15,12.3244,5.02655,0,0,-0.587785,0.809017,120,255,1), +(35170508,181136,1,0,0,'0',0,0,0,-1,-8476.23,-3826,16.5777,5.02655,0,0,-0.587785,0.809017,120,255,1), +(35170509,181136,1,0,0,'0',0,0,0,-1,-8533.49,-2699.71,21.2257,3.17653,0,0,-0.999847,0.017469,120,255,1), +(35170510,181136,1,0,0,'0',0,0,0,-1,-8534.21,-2298.88,28.635,2.30383,0,0,0.913545,0.406738,120,255,1), +(35170511,181173,1,0,0,'0',0,0,0,-1,-7625.02,-3746.56,19.273,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170512,181173,1,0,0,'0',0,0,0,-1,-7644.12,-3721.98,22.1893,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170513,181173,1,0,0,'0',0,0,0,-1,-7647.7,-3742.95,24.0148,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170514,181173,1,0,0,'0',0,0,0,-1,-8149.44,-3786.35,12.6009,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170515,181173,1,0,0,'0',0,0,0,-1,-8149.45,-3812.64,14.9879,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170516,181173,1,0,0,'0',0,0,0,-1,-8166.92,-3821.79,14.3705,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170517,181173,1,0,0,'0',0,0,0,-1,-8173.21,-3784.46,15.2138,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170518,181173,1,0,0,'0',0,0,0,-1,-8185.06,-3803.97,13.6013,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170519,181173,1,0,0,'0',0,0,0,-1,-8316.71,-4193.08,12.0411,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170520,181173,1,0,0,'0',0,0,0,-1,-7622.63,-3714.87,18.3393,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170521,181173,1,0,0,'0',0,0,0,-1,-7613.95,-3732.19,16.8296,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170522,181173,1,0,0,'0',0,0,0,-1,-7344.87,-3969.87,9.37224,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170523,181173,1,0,0,'0',0,0,0,-1,-7225.1,-3539.17,12.273,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170524,181173,1,0,0,'0',0,0,0,-1,-7229.49,-3562.56,13.1128,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170525,181173,1,0,0,'0',0,0,0,-1,-7249.38,-3523.43,12.6714,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170526,181173,1,0,0,'0',0,0,0,-1,-7252.48,-3563.27,11.2089,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170527,181173,1,0,0,'0',0,0,0,-1,-7264.03,-3547.05,11.4845,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170528,181173,1,0,0,'0',0,0,0,-1,-7315.42,-3965.14,9.92329,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170529,181173,1,0,0,'0',0,0,0,-1,-7319.15,-3982.26,12.0744,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170530,181173,1,0,0,'0',0,0,0,-1,-7334.18,-3985.1,11.2661,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170531,181173,1,0,0,'0',0,0,0,-1,-7334.5,-3955.59,9.67339,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170532,181173,1,0,0,'0',0,0,0,-1,-8319.12,-4214.37,11.0459,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170533,181173,1,0,0,'0',0,0,0,-1,-8338.94,-4184.19,12.7285,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170534,181173,1,0,0,'0',0,0,0,-1,-8340.59,-4217.98,13.6852,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170535,181173,1,0,0,'0',0,0,0,-1,-8542.56,-2666.96,27.2642,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170536,181173,1,0,0,'0',0,0,0,-1,-8546.62,-2280.9,26.0423,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170537,181173,1,0,0,'0',0,0,0,-1,-8554.67,-2309.78,27.2581,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170538,181173,1,0,0,'0',0,0,0,-1,-8558.21,-2700.35,18.5581,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170539,181173,1,0,0,'0',0,0,0,-1,-8815.68,-2598.3,19.8857,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170540,181173,1,0,0,'0',0,0,0,-1,-8833.35,-2582.71,18.6093,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170541,181173,1,0,0,'0',0,0,0,-1,-8833.52,-2616.1,23.621,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170542,181173,1,0,0,'0',0,0,0,-1,-8851.25,-2594.26,20.4284,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170543,181173,1,0,0,'0',0,0,0,-1,-8851.98,-2613.53,21.5255,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170544,181173,1,0,0,'0',0,0,0,-1,-8538.61,-2733.37,16.2711,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170545,181173,1,0,0,'0',0,0,0,-1,-8533.27,-2320.92,31.0943,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170546,181173,1,0,0,'0',0,0,0,-1,-8523.53,-2280.98,27.4485,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170547,181173,1,0,0,'0',0,0,0,-1,-8351.69,-4199.87,11.3947,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170548,181173,1,0,0,'0',0,0,0,-1,-8441.58,-3821.71,11.9222,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170549,181173,1,0,0,'0',0,0,0,-1,-8454.52,-3852.54,14.0437,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170550,181173,1,0,0,'0',0,0,0,-1,-8468.24,-3795.84,10.7968,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170551,181173,1,0,0,'0',0,0,0,-1,-8491.68,-3848.15,23.1257,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170552,181173,1,0,0,'0',0,0,0,-1,-8497.19,-3813.2,22.0456,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170553,181173,1,0,0,'0',0,0,0,-1,-8506.62,-2712.38,22.2848,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170554,181173,1,0,0,'0',0,0,0,-1,-8507.15,-2679.72,29.649,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170555,181173,1,0,0,'0',0,0,0,-1,-8513.17,-2304.23,30.8188,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170556,181174,1,0,0,'0',0,0,0,-1,-7625.02,-3746.56,19.273,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170557,181174,1,0,0,'0',0,0,0,-1,-7644.12,-3721.98,22.1893,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170558,181174,1,0,0,'0',0,0,0,-1,-7647.7,-3742.95,24.0148,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170559,181174,1,0,0,'0',0,0,0,-1,-8149.44,-3786.35,12.6009,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170560,181174,1,0,0,'0',0,0,0,-1,-8149.45,-3812.64,14.9879,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170561,181174,1,0,0,'0',0,0,0,-1,-8166.92,-3821.79,14.3705,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170562,181174,1,0,0,'0',0,0,0,-1,-8173.21,-3784.46,15.2138,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170563,181174,1,0,0,'0',0,0,0,-1,-8185.06,-3803.97,13.6013,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170564,181174,1,0,0,'0',0,0,0,-1,-8316.71,-4193.08,12.0411,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170565,181174,1,0,0,'0',0,0,0,-1,-8319.12,-4214.37,11.0459,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170566,181174,1,0,0,'0',0,0,0,-1,-7622.63,-3714.87,18.3393,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170567,181174,1,0,0,'0',0,0,0,-1,-7613.95,-3732.19,16.8296,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170568,181174,1,0,0,'0',0,0,0,-1,-7229.49,-3562.56,13.1128,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170569,181174,1,0,0,'0',0,0,0,-1,-7249.38,-3523.43,12.6714,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170570,181174,1,0,0,'0',0,0,0,-1,-7252.48,-3563.27,11.2089,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170571,181174,1,0,0,'0',0,0,0,-1,-7264.03,-3547.05,11.4845,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170572,181174,1,0,0,'0',0,0,0,-1,-7315.42,-3965.14,9.92329,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170573,181174,1,0,0,'0',0,0,0,-1,-7319.15,-3982.26,12.0744,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170574,181174,1,0,0,'0',0,0,0,-1,-7334.18,-3985.1,11.2661,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170575,181174,1,0,0,'0',0,0,0,-1,-7334.5,-3955.59,9.67339,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170576,181174,1,0,0,'0',0,0,0,-1,-7344.87,-3969.87,9.37224,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170577,181174,1,0,0,'0',0,0,0,-1,-7225.1,-3539.17,12.273,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170578,181174,1,0,0,'0',0,0,0,-1,-8338.94,-4184.19,12.7285,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170579,181174,1,0,0,'0',0,0,0,-1,-8340.59,-4217.98,13.6852,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170580,181174,1,0,0,'0',0,0,0,-1,-8542.56,-2666.96,27.2642,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170581,181174,1,0,0,'0',0,0,0,-1,-8546.62,-2280.9,26.0423,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170582,181174,1,0,0,'0',0,0,0,-1,-8554.67,-2309.78,27.2581,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170583,181174,1,0,0,'0',0,0,0,-1,-8558.21,-2700.35,18.5581,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170584,181174,1,0,0,'0',0,0,0,-1,-8815.68,-2598.3,19.8857,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170585,181174,1,0,0,'0',0,0,0,-1,-8833.35,-2582.71,18.6093,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170586,181174,1,0,0,'0',0,0,0,-1,-8833.52,-2616.1,23.621,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170587,181174,1,0,0,'0',0,0,0,-1,-8851.25,-2594.26,20.4284,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170588,181174,1,0,0,'0',0,0,0,-1,-8851.98,-2613.53,21.5255,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170589,181174,1,0,0,'0',0,0,0,-1,-8538.61,-2733.37,16.2711,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170590,181174,1,0,0,'0',0,0,0,-1,-8533.27,-2320.92,31.0943,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170591,181174,1,0,0,'0',0,0,0,-1,-8523.53,-2280.98,27.4485,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170592,181174,1,0,0,'0',0,0,0,-1,-8351.69,-4199.87,11.3947,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170593,181174,1,0,0,'0',0,0,0,-1,-8441.58,-3821.71,11.9222,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170594,181174,1,0,0,'0',0,0,0,-1,-8454.52,-3852.54,14.0437,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170595,181174,1,0,0,'0',0,0,0,-1,-8468.24,-3795.84,10.7968,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170596,181174,1,0,0,'0',0,0,0,-1,-8491.68,-3848.15,23.1257,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170597,181174,1,0,0,'0',0,0,0,-1,-8497.19,-3813.2,22.0456,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170598,181174,1,0,0,'0',0,0,0,-1,-8506.62,-2712.38,22.2848,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170599,181174,1,0,0,'0',0,0,0,-1,-8507.15,-2679.72,29.649,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170600,181174,1,0,0,'0',0,0,0,-1,-8513.17,-2304.23,30.8188,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170601,181191,1,0,0,'0',0,0,0,-1,-8515.71,-2708.45,22.0036,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170602,181191,1,0,0,'0',0,0,0,-1,-8520.69,-2720.47,20.086,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170603,181191,1,0,0,'0',0,0,0,-1,-7627.38,-3723.27,18.5083,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170604,181191,1,0,0,'0',0,0,0,-1,-8530.33,-2324.33,31.8888,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170605,181191,1,0,0,'0',0,0,0,-1,-7619.05,-3718.65,17.9488,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170606,181191,1,0,0,'0',0,0,0,-1,-7349.37,-3974.53,9.24155,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170607,181191,1,0,0,'0',0,0,0,-1,-8543.66,-2275.98,26.0279,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170608,181191,1,0,0,'0',0,0,0,-1,-8544.29,-2275.54,25.9921,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170609,181191,1,0,0,'0',0,0,0,-1,-8552.64,-2714.94,17.81,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170610,181191,1,0,0,'0',0,0,0,-1,-7313.57,-3968.96,9.94525,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170611,181191,1,0,0,'0',0,0,0,-1,-8559.86,-2310.24,26.8044,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170612,181191,1,0,0,'0',0,0,0,-1,-7644.84,-3725.11,22.8912,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170613,181191,1,0,0,'0',0,0,0,-1,-7647.65,-3736.53,24.4548,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170614,181191,1,0,0,'0',0,0,0,-1,-8295.47,-4194.36,9.037,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170615,181191,1,0,0,'0',0,0,0,-1,-8315.76,-4222.67,10.576,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170616,181191,1,0,0,'0',0,0,0,-1,-8326.11,-4168.15,12.292,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170617,181191,1,0,0,'0',0,0,0,-1,-8330.96,-4231.78,12.6973,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170618,181191,1,0,0,'0',0,0,0,-1,-8168.28,-3828.42,13.3761,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170619,181191,1,0,0,'0',0,0,0,-1,-8353.97,-4180.1,12.751,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170620,181191,1,0,0,'0',0,0,0,-1,-8360.75,-4219.06,12.7648,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170621,181191,1,0,0,'0',0,0,0,-1,-8442.69,-3833.79,12.2917,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170622,181191,1,0,0,'0',0,0,0,-1,-8459.11,-3837.16,13.0731,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170623,181191,1,0,0,'0',0,0,0,-1,-8467.4,-3860.53,17.3443,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170624,181191,1,0,0,'0',0,0,0,-1,-8293.62,-4193.97,8.87366,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170625,181191,1,0,0,'0',0,0,0,-1,-7226.8,-3556.18,13.1967,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170626,181191,1,0,0,'0',0,0,0,-1,-8835.51,-2579.87,18.2914,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170627,181191,1,0,0,'0',0,0,0,-1,-7261.54,-3533.83,13.0357,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170628,181191,1,0,0,'0',0,0,0,-1,-8841.23,-2614.51,22.8541,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170629,181191,1,0,0,'0',0,0,0,-1,-8825.62,-2584.85,18.1544,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170630,181191,1,0,0,'0',0,0,0,-1,-8848.11,-2587.75,20.037,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170631,181191,1,0,0,'0',0,0,0,-1,-7276.38,-3541.23,10.5185,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170632,181191,1,0,0,'0',0,0,0,-1,-8848.14,-2586.65,19.9328,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170633,181191,1,0,0,'0',0,0,0,-1,-8820.26,-2613.15,23.3564,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170634,181191,1,0,0,'0',0,0,0,-1,-7227.96,-3556.45,13.2431,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170635,181191,1,0,0,'0',0,0,0,-1,-8565.92,-2708.38,17.7712,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170636,181191,1,0,0,'0',0,0,0,-1,-8517.46,-2298.79,29.9655,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170637,181191,1,0,0,'0',0,0,0,-1,-7231.64,-3530.56,12.1301,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170638,181192,1,0,0,'0',0,0,0,-1,-8142.92,-3805.71,13.4032,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170639,181192,1,0,0,'0',0,0,0,-1,-8472.31,-3808.9,13.1103,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170640,181192,1,0,0,'0',0,0,0,-1,-7220.76,-3541.66,11.9943,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170641,181192,1,0,0,'0',0,0,0,-1,-7645.66,-3724.43,22.9962,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170642,181192,1,0,0,'0',0,0,0,-1,-7641.05,-3745.16,22.8822,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170643,181192,1,0,0,'0',0,0,0,-1,-7640.63,-3744.2,22.873,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170644,181192,1,0,0,'0',0,0,0,-1,-8492.48,-3824.91,22.1804,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170645,181192,1,0,0,'0',0,0,0,-1,-8154.78,-3788.68,13.1254,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170646,181192,1,0,0,'0',0,0,0,-1,-8313.8,-4205.24,10.8326,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170647,181192,1,0,0,'0',0,0,0,-1,-8449.55,-3851.52,13.5815,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170648,181192,1,0,0,'0',0,0,0,-1,-7251.92,-3518.77,12.2586,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170649,181192,1,0,0,'0',0,0,0,-1,-8340.27,-4223.53,13.5409,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170650,181192,1,0,0,'0',0,0,0,-1,-8326.34,-4167.37,12.2286,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170651,181192,1,0,0,'0',0,0,0,-1,-8347.8,-4198.86,11.6864,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170652,181192,1,0,0,'0',0,0,0,-1,-8190.24,-3791.99,15.0187,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170653,181192,1,0,0,'0',0,0,0,-1,-8185.36,-3824.41,10.7623,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170654,181192,1,0,0,'0',0,0,0,-1,-8164.15,-3795.79,14.647,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170655,181192,1,0,0,'0',0,0,0,-1,-8162.89,-3796.32,14.5938,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170656,181192,1,0,0,'0',0,0,0,-1,-8157.61,-3811.4,15.3045,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170657,181192,1,0,0,'0',0,0,0,-1,-8492.51,-3840.79,22.9963,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170658,181192,1,0,0,'0',0,0,0,-1,-8498.64,-2699.57,25.9792,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170659,181192,1,0,0,'0',0,0,0,-1,-7621.97,-3745.74,18.5694,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170660,181192,1,0,0,'0',0,0,0,-1,-7274.9,-3540.86,10.76,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170661,181192,1,0,0,'0',0,0,0,-1,-7344.34,-3960.82,9.07886,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170662,181192,1,0,0,'0',0,0,0,-1,-7339.83,-3979.17,10.5015,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170663,181192,1,0,0,'0',0,0,0,-1,-7312.35,-3956.01,10.4644,2.44346,0,0,0.939692,0.342021,120,255,1); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(35170664,181192,1,0,0,'0',0,0,0,-1,-8544.66,-2297.59,27.403,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170665,181192,1,0,0,'0',0,0,0,-1,-7328.62,-3983.62,12.278,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170666,181192,1,0,0,'0',0,0,0,-1,-8548.03,-2675.35,24.4387,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170667,181192,1,0,0,'0',0,0,0,-1,-7327.03,-3953.43,10.0576,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170668,181192,1,0,0,'0',0,0,0,-1,-7320.23,-3979.14,11.9099,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170669,181192,1,0,0,'0',0,0,0,-1,-8559.94,-2295.46,25.5611,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170670,181192,1,0,0,'0',0,0,0,-1,-7622.35,-3744.29,18.7069,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170671,181192,1,0,0,'0',0,0,0,-1,-8521.08,-2670.82,29.0275,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170672,181192,1,0,0,'0',0,0,0,-1,-8521.03,-2312.31,31.563,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170673,181192,1,0,0,'0',0,0,0,-1,-8515,-2693.34,25.3124,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170674,181192,1,0,0,'0',0,0,0,-1,-8516.76,-2299.98,30.151,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170675,181192,1,0,0,'0',0,0,0,-1,-8561.86,-2683.07,20.4009,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170676,181192,1,0,0,'0',0,0,0,-1,-8518.84,-2733.52,18.2613,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170677,181192,1,0,0,'0',0,0,0,-1,-8831.08,-2607.69,22.7675,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170678,181193,1,0,0,'0',0,0,0,-1,-7610.96,-3734.53,16.3485,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170679,181193,1,0,0,'0',0,0,0,-1,-7631.79,-3712.03,19.1096,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170680,181193,1,0,0,'0',0,0,0,-1,-8153.53,-3822.95,15.6909,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170681,181193,1,0,0,'0',0,0,0,-1,-8186.86,-3808.95,12.5813,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170682,181193,1,0,0,'0',0,0,0,-1,-7326.09,-3954.75,9.94265,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170683,181193,1,0,0,'0',0,0,0,-1,-8186.66,-3823.61,10.6459,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170684,181193,1,0,0,'0',0,0,0,-1,-7262.65,-3533.37,12.9806,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170685,181193,1,0,0,'0',0,0,0,-1,-7327.16,-3984.27,12.3565,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170686,181193,1,0,0,'0',0,0,0,-1,-7631.23,-3748.74,20.4292,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170687,181193,1,0,0,'0',0,0,0,-1,-7267.94,-3558.7,9.20586,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170688,181193,1,0,0,'0',0,0,0,-1,-7339.14,-3993.28,10.3943,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170689,181193,1,0,0,'0',0,0,0,-1,-7257.36,-3567.66,9.99947,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170690,181193,1,0,0,'0',0,0,0,-1,-8142.86,-3805.25,13.3441,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170691,181193,1,0,0,'0',0,0,0,-1,-7256.96,-3565.91,10.2495,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170692,181193,1,0,0,'0',0,0,0,-1,-7258.46,-3566.65,9.95873,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170693,181193,1,0,0,'0',0,0,0,-1,-8164.58,-3779.35,13.619,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170694,181193,1,0,0,'0',0,0,0,-1,-7245.07,-3571.42,11.1106,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170695,181193,1,0,0,'0',0,0,0,-1,-7341.67,-3950.58,10.3941,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170696,181193,1,0,0,'0',0,0,0,-1,-8835.25,-2580.45,18.3708,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170697,181193,1,0,0,'0',0,0,0,-1,-8855.68,-2612.29,20.9845,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170698,181193,1,0,0,'0',0,0,0,-1,-8552.24,-2715.69,17.7591,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170699,181193,1,0,0,'0',0,0,0,-1,-8491.93,-3823.43,21.9661,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170700,181193,1,0,0,'0',0,0,0,-1,-8513.5,-2693.82,25.418,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170701,181193,1,0,0,'0',0,0,0,-1,-8516.58,-2299.49,30.091,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170702,181193,1,0,0,'0',0,0,0,-1,-8521.94,-2719.63,19.9967,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170703,181193,1,0,0,'0',0,0,0,-1,-8559.66,-2311.28,26.9071,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170704,181193,1,0,0,'0',0,0,0,-1,-8522.8,-2672.39,28.4981,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170705,181193,1,0,0,'0',0,0,0,-1,-8529.68,-2279.74,26.9854,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170706,181193,1,0,0,'0',0,0,0,-1,-8531.49,-2324.18,31.6934,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170707,181193,1,0,0,'0',0,0,0,-1,-8547.42,-2676.08,24.3664,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170708,181193,1,0,0,'0',0,0,0,-1,-8532.27,-2685.06,24.7199,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170709,181193,1,0,0,'0',0,0,0,-1,-8538.38,-2707.68,19.3151,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170710,181193,1,0,0,'0',0,0,0,-1,-8539.82,-2708.15,19.1234,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170711,181193,1,0,0,'0',0,0,0,-1,-8473.6,-3808.87,13.5766,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170712,181193,1,0,0,'0',0,0,0,-1,-8839.9,-2590.59,20.3447,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170713,181193,1,0,0,'0',0,0,0,-1,-8190.53,-3791.35,15.0982,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170714,181193,1,0,0,'0',0,0,0,-1,-8307.8,-4177.41,10.6385,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170715,181193,1,0,0,'0',0,0,0,-1,-8330.78,-4230.26,12.7909,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170716,181193,1,0,0,'0',0,0,0,-1,-8347.73,-4200.1,11.7734,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170717,181193,1,0,0,'0',0,0,0,-1,-8545.43,-2296.88,27.2682,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170718,181193,1,0,0,'0',0,0,0,-1,-8853.76,-2599.58,20.5476,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170719,181193,1,0,0,'0',0,0,0,-1,-8472.53,-3809.85,13.3288,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170720,181193,1,0,0,'0',0,0,0,-1,-8840.52,-2615.04,22.9578,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170721,181193,1,0,0,'0',0,0,0,-1,-8847.73,-2586.65,19.9377,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170722,181194,1,0,0,'0',0,0,0,-1,-8855.06,-2613.22,21.104,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170723,181194,1,0,0,'0',0,0,0,-1,-8178.06,-3786.61,15.7069,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170724,181194,1,0,0,'0',0,0,0,-1,-8821.63,-2613.11,23.407,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170725,181194,1,0,0,'0',0,0,0,-1,-8825.61,-2592.94,19.9679,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170726,181194,1,0,0,'0',0,0,0,-1,-8551.15,-2317.67,28.2411,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170727,181194,1,0,0,'0',0,0,0,-1,-7327.44,-3954.89,9.90071,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170728,181194,1,0,0,'0',0,0,0,-1,-8552.41,-2283.76,25.6822,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170729,181194,1,0,0,'0',0,0,0,-1,-7221.92,-3543.15,12.2587,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170730,181194,1,0,0,'0',0,0,0,-1,-8559.13,-2310.88,26.9176,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170731,181194,1,0,0,'0',0,0,0,-1,-8815.01,-2593.01,18.4082,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170732,181194,1,0,0,'0',0,0,0,-1,-7231.16,-3531.78,12.2061,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170733,181194,1,0,0,'0',0,0,0,-1,-7238.64,-3550.66,13.5652,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170734,181194,1,0,0,'0',0,0,0,-1,-7243.45,-3571.51,11.2861,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170735,181194,1,0,0,'0',0,0,0,-1,-7312.98,-3967.9,9.9058,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170736,181194,1,0,0,'0',0,0,0,-1,-8825.25,-2593.34,20.0255,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170737,181194,1,0,0,'0',0,0,0,-1,-7319.34,-3979.53,11.8133,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170738,181194,1,0,0,'0',0,0,0,-1,-7327.71,-3983.61,12.3456,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170739,181194,1,0,0,'0',0,0,0,-1,-7338.49,-3993.56,10.4255,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170740,181194,1,0,0,'0',0,0,0,-1,-8140.04,-3818.99,14.6955,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170741,181194,1,0,0,'0',0,0,0,-1,-8142.68,-3794.19,12.3602,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170742,181194,1,0,0,'0',0,0,0,-1,-8152.87,-3822.27,15.711,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170743,181194,1,0,0,'0',0,0,0,-1,-8459.59,-3835.74,12.9851,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170744,181194,1,0,0,'0',0,0,0,-1,-8456.02,-3812.77,10.9128,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170745,181194,1,0,0,'0',0,0,0,-1,-8445.57,-3821.65,11.7236,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170746,181194,1,0,0,'0',0,0,0,-1,-8443.05,-3835.11,12.3717,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170747,181194,1,0,0,'0',0,0,0,-1,-8362.51,-4219.57,12.9193,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170748,181194,1,0,0,'0',0,0,0,-1,-8348.64,-4199.97,11.6817,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170749,181194,1,0,0,'0',0,0,0,-1,-8322.27,-4187.97,12.7111,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170750,181194,1,0,0,'0',0,0,0,-1,-7646.29,-3711.4,21.3581,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170751,181194,1,0,0,'0',0,0,0,-1,-8477.85,-3845.78,19.6327,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170752,181194,1,0,0,'0',0,0,0,-1,-7339.7,-3980.84,10.4953,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170753,181194,1,0,0,'0',0,0,0,-1,-8467.81,-3859.59,17.4158,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170754,181194,1,0,0,'0',0,0,0,-1,-8537.66,-2314.78,29.8219,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170755,181194,1,0,0,'0',0,0,0,-1,-7611.75,-3734.01,16.4665,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170756,181194,1,0,0,'0',0,0,0,-1,-7617.77,-3720.18,17.7926,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170757,181194,1,0,0,'0',0,0,0,-1,-7623.2,-3732.59,18.284,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170758,181194,1,0,0,'0',0,0,0,-1,-7628.35,-3722.85,18.6309,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170759,181194,1,0,0,'0',0,0,0,-1,-8487.15,-3797.78,16.1267,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170760,181194,1,0,0,'0',0,0,0,-1,-8486.24,-3849.88,22.2001,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170761,181194,1,0,0,'0',0,0,0,-1,-7645.56,-3725.55,23.1402,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170762,181194,1,0,0,'0',0,0,0,-1,-8314.28,-4204.59,10.916,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170763,181215,1,0,0,'0',0,0,0,-1,-7399.95,-3733.06,61.0504,5.81195,0,0,-0.233445,0.97237,120,255,1), +(35170764,181215,1,0,0,'0',0,0,0,-1,-8633.21,-2499.82,114.017,2.82743,0,0,0.987688,0.156436,120,255,1), +(35170765,181215,1,0,0,'0',0,0,0,-1,-8333.68,-3966.4,77.8483,1.37881,0,0,0.636078,0.771625,120,255,1), +(35170766,181136,1,0,0,'0',0,0,0,-1,3086.48,-4215.71,97.6507,0.244346,0,0,0.121869,0.992546,120,255,1), +(35170767,181136,1,0,0,'0',0,0,0,-1,3337.51,-4516.62,97.713,0.244346,0,0,0.121869,0.992546,120,255,1), +(35170768,181136,1,0,0,'0',0,0,0,-1,3366.27,-5566.33,11.1423,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170769,181136,1,0,0,'0',0,0,0,-1,3516.26,-4151.81,106.875,0.244346,0,0,0.121869,0.992546,120,255,1), +(35170770,181136,1,0,0,'0',0,0,0,-1,3518.32,-5712.41,4.82692,0.244346,0,0,0.121869,0.992546,120,255,1), +(35170771,181136,1,0,0,'0',0,0,0,-1,3666.47,-5533.42,20.5987,4.60767,0,0,-0.743144,0.669132,120,255,1), +(35170772,181154,1,0,0,'0',0,0,0,-1,3544.98,-5610.26,67.1127,2.82743,0,0,0.987688,0.156436,120,255,1), +(35170773,181154,1,0,0,'0',0,0,0,-1,3299.55,-4301.3,177.808,5.81195,0,0,-0.233445,0.97237,120,255,1), +(35170774,181173,1,0,0,'0',0,0,0,-1,3494.83,-4134.08,104.549,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170775,181173,1,0,0,'0',0,0,0,-1,3499.85,-5706.13,4.64753,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170776,181173,1,0,0,'0',0,0,0,-1,3505.47,-5728.37,5.0291,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170777,181173,1,0,0,'0',0,0,0,-1,3513.6,-4181.8,101.187,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170778,181173,1,0,0,'0',0,0,0,-1,3522.2,-5691.11,5.19167,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170779,181173,1,0,0,'0',0,0,0,-1,3526.99,-4129.5,107.352,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170780,181173,1,0,0,'0',0,0,0,-1,3532.96,-5729.75,1.78794,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170781,181173,1,0,0,'0',0,0,0,-1,3536.09,-5705.18,6.73484,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170782,181173,1,0,0,'0',0,0,0,-1,3539.52,-4163.67,106.101,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170783,181173,1,0,0,'0',0,0,0,-1,3649.75,-5535.95,22.1447,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170784,181173,1,0,0,'0',0,0,0,-1,3661.16,-5551.96,17.9784,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170785,181173,1,0,0,'0',0,0,0,-1,3663.16,-5517.9,23.888,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170786,181173,1,0,0,'0',0,0,0,-1,3680.94,-5543.86,17.4121,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170787,181173,1,0,0,'0',0,0,0,-1,3682.33,-5524.87,21.3495,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170788,181173,1,0,0,'0',0,0,0,-1,3490.81,-4165.98,100.503,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170789,181173,1,0,0,'0',0,0,0,-1,3386.65,-5576.33,9.43248,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170790,181173,1,0,0,'0',0,0,0,-1,3063.17,-4228.82,95.5224,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170791,181173,1,0,0,'0',0,0,0,-1,3063.44,-4206.71,95.1969,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170792,181173,1,0,0,'0',0,0,0,-1,3089.63,-4194.87,98.314,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170793,181173,1,0,0,'0',0,0,0,-1,3089.73,-4242.71,97.7909,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170794,181173,1,0,0,'0',0,0,0,-1,3109.54,-4220.91,99.2763,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170795,181173,1,0,0,'0',0,0,0,-1,3328.39,-4508.51,97.6156,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170796,181173,1,0,0,'0',0,0,0,-1,3333.68,-4529.75,98.2623,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170797,181173,1,0,0,'0',0,0,0,-1,3339.81,-4501.66,96.8962,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170798,181173,1,0,0,'0',0,0,0,-1,3380.18,-5556.31,13.0397,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170799,181173,1,0,0,'0',0,0,0,-1,3366.75,-5584.61,8.67064,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170800,181173,1,0,0,'0',0,0,0,-1,3352.04,-4514.34,98.9571,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170801,181173,1,0,0,'0',0,0,0,-1,3351.3,-5559,13.5844,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170802,181173,1,0,0,'0',0,0,0,-1,3349.61,-5577.22,10.1002,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170803,181173,1,0,0,'0',0,0,0,-1,3348.73,-4525.94,98.1148,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170804,181174,1,0,0,'0',0,0,0,-1,3526.99,-4129.5,107.352,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170805,181174,1,0,0,'0',0,0,0,-1,3522.2,-5691.11,5.19167,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170806,181174,1,0,0,'0',0,0,0,-1,3513.6,-4181.8,101.187,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170807,181174,1,0,0,'0',0,0,0,-1,3505.47,-5728.37,5.0291,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170808,181174,1,0,0,'0',0,0,0,-1,3499.85,-5706.13,4.64753,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170809,181174,1,0,0,'0',0,0,0,-1,3494.83,-4134.08,104.549,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170810,181174,1,0,0,'0',0,0,0,-1,3532.96,-5729.75,1.78794,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170811,181174,1,0,0,'0',0,0,0,-1,3536.09,-5705.18,6.73484,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170812,181174,1,0,0,'0',0,0,0,-1,3539.52,-4163.67,106.101,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170813,181174,1,0,0,'0',0,0,0,-1,3649.75,-5535.95,22.1447,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170814,181174,1,0,0,'0',0,0,0,-1,3661.16,-5551.96,17.9784,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170815,181174,1,0,0,'0',0,0,0,-1,3663.16,-5517.9,23.888,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170816,181174,1,0,0,'0',0,0,0,-1,3680.94,-5543.86,17.4121,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170817,181174,1,0,0,'0',0,0,0,-1,3682.33,-5524.87,21.3495,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170818,181174,1,0,0,'0',0,0,0,-1,3490.81,-4165.98,100.503,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170819,181174,1,0,0,'0',0,0,0,-1,3386.65,-5576.33,9.43248,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170820,181174,1,0,0,'0',0,0,0,-1,3063.17,-4228.82,95.5224,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170821,181174,1,0,0,'0',0,0,0,-1,3063.44,-4206.71,95.1969,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170822,181174,1,0,0,'0',0,0,0,-1,3089.63,-4194.87,98.314,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170823,181174,1,0,0,'0',0,0,0,-1,3089.73,-4242.71,97.7909,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170824,181174,1,0,0,'0',0,0,0,-1,3109.54,-4220.91,99.2763,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170825,181174,1,0,0,'0',0,0,0,-1,3328.39,-4508.51,97.6156,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170826,181174,1,0,0,'0',0,0,0,-1,3333.68,-4529.75,98.2623,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170827,181174,1,0,0,'0',0,0,0,-1,3339.81,-4501.66,96.8962,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170828,181174,1,0,0,'0',0,0,0,-1,3380.18,-5556.31,13.0397,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170829,181174,1,0,0,'0',0,0,0,-1,3366.75,-5584.61,8.67064,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170830,181174,1,0,0,'0',0,0,0,-1,3352.04,-4514.34,98.9571,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170831,181174,1,0,0,'0',0,0,0,-1,3351.3,-5559,13.5844,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170832,181174,1,0,0,'0',0,0,0,-1,3349.61,-5577.22,10.1002,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170833,181174,1,0,0,'0',0,0,0,-1,3348.73,-4525.94,98.1148,0.890117,0,0,0.43051,0.902586,120,255,1), +(35170834,181191,1,0,0,'0',0,0,0,-1,3341.19,-4531.52,98.2102,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170835,181191,1,0,0,'0',0,0,0,-1,3508.5,-5736.2,4.35272,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170836,181191,1,0,0,'0',0,0,0,-1,3511.88,-4129.86,104.967,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170837,181191,1,0,0,'0',0,0,0,-1,3332.66,-4503.76,96.8936,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170838,181191,1,0,0,'0',0,0,0,-1,3330,-4536.22,97.9976,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170839,181191,1,0,0,'0',0,0,0,-1,3527.61,-4151.38,107.674,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170840,181191,1,0,0,'0',0,0,0,-1,3507.85,-4169.18,103.104,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170841,181191,1,0,0,'0',0,0,0,-1,3505.94,-4150.03,105.143,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170842,181191,1,0,0,'0',0,0,0,-1,3496.41,-5710.4,5.28776,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170843,181191,1,0,0,'0',0,0,0,-1,3343.99,-5558.02,14.9818,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170844,181191,1,0,0,'0',0,0,0,-1,3494.5,-5692.49,4.33028,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170845,181191,1,0,0,'0',0,0,0,-1,3353.99,-4508.56,98.3366,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170846,181191,1,0,0,'0',0,0,0,-1,3354.31,-4508.55,98.3604,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170847,181191,1,0,0,'0',0,0,0,-1,3395.37,-5566.75,11.567,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170848,181191,1,0,0,'0',0,0,0,-1,3388.04,-5552.5,13.7602,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170849,181191,1,0,0,'0',0,0,0,-1,3322.93,-4535.42,97.9271,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170850,181191,1,0,0,'0',0,0,0,-1,3535.08,-4142.74,107.557,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170851,181191,1,0,0,'0',0,0,0,-1,3086.07,-4226.38,96.6846,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170852,181191,1,0,0,'0',0,0,0,-1,3635.89,-5546.44,20.9121,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170853,181191,1,0,0,'0',0,0,0,-1,3098.37,-4214.79,98.0724,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170854,181191,1,0,0,'0',0,0,0,-1,3070.7,-4188.19,96.9667,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170855,181191,1,0,0,'0',0,0,0,-1,3674.12,-5540.77,18.4339,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170856,181191,1,0,0,'0',0,0,0,-1,3075.67,-4219.88,95.7057,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170857,181191,1,0,0,'0',0,0,0,-1,3527.55,-4177.87,103.897,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170858,181191,1,0,0,'0',0,0,0,-1,3072.05,-4189.65,96.9118,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170859,181191,1,0,0,'0',0,0,0,-1,3377.61,-5570.81,10.431,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170860,181191,1,0,0,'0',0,0,0,-1,3634.91,-5522.89,23.6551,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170861,181192,1,0,0,'0',0,0,0,-1,3489.39,-4151.23,103.572,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170862,181192,1,0,0,'0',0,0,0,-1,3395.81,-5587.91,8.5719,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170863,181192,1,0,0,'0',0,0,0,-1,3667.36,-5561.11,15.9933,4.79966,0,0,-0.67559,0.737278,120,255,1); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(35170864,181192,1,0,0,'0',0,0,0,-1,3532.85,-4143.78,107.665,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170865,181192,1,0,0,'0',0,0,0,-1,3395.3,-5587,8.63123,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170866,181192,1,0,0,'0',0,0,0,-1,3686.64,-5552.65,15.6566,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170867,181192,1,0,0,'0',0,0,0,-1,3495.12,-5710.59,5.39667,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170868,181192,1,0,0,'0',0,0,0,-1,3653.23,-5547.9,19.7454,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170869,181192,1,0,0,'0',0,0,0,-1,3530.56,-5696.26,6.54382,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170870,181192,1,0,0,'0',0,0,0,-1,3540.89,-5705.92,6.91671,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170871,181192,1,0,0,'0',0,0,0,-1,3520,-4139.49,107.101,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170872,181192,1,0,0,'0',0,0,0,-1,3512.79,-4127.95,104.821,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170873,181192,1,0,0,'0',0,0,0,-1,3544.74,-5714.38,4.59868,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170874,181192,1,0,0,'0',0,0,0,-1,3635.69,-5520.71,23.9231,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170875,181192,1,0,0,'0',0,0,0,-1,3701.38,-5541.03,18.5767,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170876,181192,1,0,0,'0',0,0,0,-1,3636.93,-5522.18,23.8032,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170877,181192,1,0,0,'0',0,0,0,-1,3537.25,-4167.45,105.964,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170878,181192,1,0,0,'0',0,0,0,-1,3063.93,-4216.36,94.9908,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170879,181192,1,0,0,'0',0,0,0,-1,3075.36,-4236.97,97.2334,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170880,181192,1,0,0,'0',0,0,0,-1,3327.3,-4529.78,98.2545,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170881,181192,1,0,0,'0',0,0,0,-1,3076.89,-4235.82,97.1714,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170882,181192,1,0,0,'0',0,0,0,-1,3085.64,-4185.1,97.9973,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170883,181192,1,0,0,'0',0,0,0,-1,3342.89,-4530.83,98.2008,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170884,181192,1,0,0,'0',0,0,0,-1,3103.59,-4194.91,101.387,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170885,181192,1,0,0,'0',0,0,0,-1,3353.43,-5588.57,9.10668,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170886,181192,1,0,0,'0',0,0,0,-1,3062.9,-4217.87,95.0052,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170887,181192,1,0,0,'0',0,0,0,-1,3341.89,-5573.16,12.1904,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170888,181192,1,0,0,'0',0,0,0,-1,3082.1,-4204.67,97.3073,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170889,181192,1,0,0,'0',0,0,0,-1,3101.25,-4243.69,98.4745,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170890,181192,1,0,0,'0',0,0,0,-1,3334.03,-4502.54,96.8898,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170891,181192,1,0,0,'0',0,0,0,-1,3364.04,-5548.14,15.0761,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170892,181193,1,0,0,'0',0,0,0,-1,3329.38,-4528.78,98.2727,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170893,181193,1,0,0,'0',0,0,0,-1,3517.29,-4162.04,105.765,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170894,181193,1,0,0,'0',0,0,0,-1,3666.53,-5560.65,16.1447,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170895,181193,1,0,0,'0',0,0,0,-1,3323.2,-4536.07,97.8793,1.32645,0,0,0.615661,0.788011,120,255,1), +(35170896,181193,1,0,0,'0',0,0,0,-1,3104.79,-4193.94,101.773,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170897,181193,1,0,0,'0',0,0,0,-1,3533.26,-4142.38,107.664,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170898,181193,1,0,0,'0',0,0,0,-1,3102.88,-4243.38,98.5706,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170899,181193,1,0,0,'0',0,0,0,-1,3081.1,-4205.11,97.0449,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170900,181193,1,0,0,'0',0,0,0,-1,3540.06,-5704.46,7.14416,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170901,181193,1,0,0,'0',0,0,0,-1,3541.64,-5705.12,7.10472,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170902,181193,1,0,0,'0',0,0,0,-1,3510.25,-5691.54,4.28637,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170903,181193,1,0,0,'0',0,0,0,-1,3327.6,-4530.95,98.2269,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170904,181193,1,0,0,'0',0,0,0,-1,3378.7,-5570.63,10.4669,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170905,181193,1,0,0,'0',0,0,0,-1,3700.34,-5543.09,18.0561,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170906,181193,1,0,0,'0',0,0,0,-1,3394.31,-5565.42,11.8053,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170907,181193,1,0,0,'0',0,0,0,-1,3394.7,-5567.41,11.3836,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170908,181193,1,0,0,'0',0,0,0,-1,3687.64,-5551.49,15.8381,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170909,181193,1,0,0,'0',0,0,0,-1,3487.37,-4150.98,104.137,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170910,181193,1,0,0,'0',0,0,0,-1,3345.72,-4505.12,97.3897,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170911,181193,1,0,0,'0',0,0,0,-1,3345.55,-4507.08,97.6514,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170912,181193,1,0,0,'0',0,0,0,-1,3495.92,-5708.79,5.05228,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170913,181193,1,0,0,'0',0,0,0,-1,3666.54,-5519.18,23.2943,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170914,181193,1,0,0,'0',0,0,0,-1,3507.59,-5734.8,4.43492,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170915,181193,1,0,0,'0',0,0,0,-1,3342.97,-5574.26,11.761,2.44346,0,0,0.939692,0.342021,120,255,1), +(35170916,181193,1,0,0,'0',0,0,0,-1,3684.8,-5516.67,23.3081,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170917,181193,1,0,0,'0',0,0,0,-1,3344.79,-4532.26,98.1381,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170918,181194,1,0,0,'0',0,0,0,-1,3652.51,-5550.15,19.4157,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170919,181194,1,0,0,'0',0,0,0,-1,3686.57,-5517.49,23.1737,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170920,181194,1,0,0,'0',0,0,0,-1,3075.63,-4235.19,97.0664,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170921,181194,1,0,0,'0',0,0,0,-1,3070.96,-4189.67,96.8523,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170922,181194,1,0,0,'0',0,0,0,-1,3506.33,-4169.63,102.766,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35170923,181194,1,0,0,'0',0,0,0,-1,3685.18,-5518.93,22.8104,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170924,181194,1,0,0,'0',0,0,0,-1,3634.7,-5544.98,20.9806,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35170925,181194,1,0,0,'0',0,0,0,-1,3539.51,-5722.72,2.53295,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170926,181194,1,0,0,'0',0,0,0,-1,3356.03,-5589.63,8.83571,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35170927,181194,1,0,0,'0',0,0,0,-1,3355.51,-4509.02,98.5344,3.01941,0,0,0.998135,0.061052,120,255,1), +(35170928,181194,1,0,0,'0',0,0,0,-1,3355.24,-5588.03,8.94121,0.523598,0,0,0.258819,0.965926,120,255,1), +(35170929,181194,1,0,0,'0',0,0,0,-1,3488.67,-4149.57,104.073,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170930,181194,1,0,0,'0',0,0,0,-1,3494.6,-5725.11,6.93952,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35170931,181194,1,0,0,'0',0,0,0,-1,3376.25,-5586.27,8.15972,2.58308,0,0,0.961261,0.27564,120,255,1), +(35170932,181194,1,0,0,'0',0,0,0,-1,3343.07,-5556.61,15.4991,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170933,181194,1,0,0,'0',0,0,0,-1,3508.43,-5691.03,4.37112,0.453785,0,0,0.224951,0.97437,120,255,1), +(35170934,181194,1,0,0,'0',0,0,0,-1,3338.62,-4537.07,98.0098,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170935,181194,1,0,0,'0',0,0,0,-1,3512.71,-5719.83,4.70861,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170936,181194,1,0,0,'0',0,0,0,-1,3328.82,-4527.13,98.2791,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35170937,181194,1,0,0,'0',0,0,0,-1,3527.29,-4152.41,107.635,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35170938,181194,1,0,0,'0',0,0,0,-1,3508.76,-5734.47,4.27758,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35170939,181194,1,0,0,'0',0,0,0,-1,3529.72,-4177.77,104.283,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170940,181194,1,0,0,'0',0,0,0,-1,3539.07,-5723.81,2.33291,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35170941,181194,1,0,0,'0',0,0,0,-1,3386.43,-5551.54,13.8384,3.05433,0,0,0.999048,0.043619,120,255,1), +(35170942,181136,0,0,0,'0',0,0,0,-1,-11548.5,-3283.3,7.45651,4.4855,0,0,-0.782608,0.622515,120,255,1), +(35170943,181136,0,0,0,'0',0,0,0,-1,-11420,-2816.92,0.782562,2.84488,0,0,0.989016,0.147811,120,255,1), +(35170944,181136,0,0,0,'0',0,0,0,-1,-11347.7,-3150.83,6.83877,1.3439,0,0,0.622514,0.782609,120,255,1), +(35170945,181136,0,0,0,'0',0,0,0,-1,-11250.5,-3350.77,9.86965,3.49067,0,0,-0.984807,0.173652,120,255,1), +(35170946,181136,0,0,0,'0',0,0,0,-1,-11181.7,-2985.37,8.24824,4.4855,0,0,-0.782608,0.622515,120,255,1), +(35170947,181136,0,0,0,'0',0,0,0,-1,-11016.3,-2783.41,4.35682,3.49067,0,0,-0.984807,0.173652,120,255,1), +(35170948,181173,0,0,0,'0',0,0,0,-1,-11187.3,-2976.44,8.15536,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170949,181173,0,0,0,'0',0,0,0,-1,-11193.1,-2987.38,6.08082,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170950,181173,0,0,0,'0',0,0,0,-1,-11240.3,-3346.03,8.90917,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170951,181173,0,0,0,'0',0,0,0,-1,-11243.4,-3359.44,9.5082,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170952,181173,0,0,0,'0',0,0,0,-1,-11252,-3339.84,9.61862,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170953,181173,0,0,0,'0',0,0,0,-1,-11256.1,-3360.71,9.0967,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170954,181173,0,0,0,'0',0,0,0,-1,-11180.7,-2995.72,9.00704,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170955,181173,0,0,0,'0',0,0,0,-1,-11175.4,-2976.17,7.56094,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170956,181173,0,0,0,'0',0,0,0,-1,-11170.9,-2988.73,10.0367,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170957,181173,0,0,0,'0',0,0,0,-1,-11025.1,-2788.75,4.72334,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170958,181173,0,0,0,'0',0,0,0,-1,-11024.6,-2777.53,4.05862,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170959,181173,0,0,0,'0',0,0,0,-1,-11013.6,-2773.45,3.91934,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170960,181173,0,0,0,'0',0,0,0,-1,-11013.1,-2792.5,5.05269,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170961,181173,0,0,0,'0',0,0,0,-1,-11006.2,-2783.21,4.68019,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170962,181173,0,0,0,'0',0,0,0,-1,-11261.8,-3349.11,10.238,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170963,181173,0,0,0,'0',0,0,0,-1,-11337.4,-3146.26,6.20375,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170964,181173,0,0,0,'0',0,0,0,-1,-11558.9,-3289.17,7.57173,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170965,181173,0,0,0,'0',0,0,0,-1,-11557.1,-3274.81,7.65565,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170966,181173,0,0,0,'0',0,0,0,-1,-11547.6,-3294.89,7.6757,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170967,181173,0,0,0,'0',0,0,0,-1,-11542.8,-3272.75,7.43698,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170968,181173,0,0,0,'0',0,0,0,-1,-11539.1,-3284.73,8.61913,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170969,181173,0,0,0,'0',0,0,0,-1,-11431.3,-2813.51,-0.797982,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170970,181173,0,0,0,'0',0,0,0,-1,-11427.2,-2824.02,0.048245,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170971,181173,0,0,0,'0',0,0,0,-1,-11422.6,-2806.9,0.603001,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170972,181173,0,0,0,'0',0,0,0,-1,-11340,-3160.64,7.71811,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170973,181173,0,0,0,'0',0,0,0,-1,-11348.3,-3137.8,2.5852,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170974,181173,0,0,0,'0',0,0,0,-1,-11354.5,-3159.13,8.06337,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170975,181173,0,0,0,'0',0,0,0,-1,-11358.2,-3147.44,6.7121,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170976,181173,0,0,0,'0',0,0,0,-1,-11411.4,-2812.17,-2.36393,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170977,181173,0,0,0,'0',0,0,0,-1,-11414.6,-2826.01,-2.87386,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170978,181174,0,0,0,'0',0,0,0,-1,-11187.3,-2976.44,8.15536,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170979,181174,0,0,0,'0',0,0,0,-1,-11193.1,-2987.38,6.08082,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170980,181174,0,0,0,'0',0,0,0,-1,-11240.3,-3346.03,8.90917,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170981,181174,0,0,0,'0',0,0,0,-1,-11243.4,-3359.44,9.5082,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170982,181174,0,0,0,'0',0,0,0,-1,-11252,-3339.84,9.61862,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170983,181174,0,0,0,'0',0,0,0,-1,-11256.1,-3360.71,9.0967,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170984,181174,0,0,0,'0',0,0,0,-1,-11180.7,-2995.72,9.00704,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170985,181174,0,0,0,'0',0,0,0,-1,-11175.4,-2976.17,7.56094,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170986,181174,0,0,0,'0',0,0,0,-1,-11170.9,-2988.73,10.0367,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170987,181174,0,0,0,'0',0,0,0,-1,-11025.1,-2788.75,4.72334,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170988,181174,0,0,0,'0',0,0,0,-1,-11024.6,-2777.53,4.05862,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170989,181174,0,0,0,'0',0,0,0,-1,-11013.6,-2773.45,3.91934,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170990,181174,0,0,0,'0',0,0,0,-1,-11013.1,-2792.5,5.05269,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170991,181174,0,0,0,'0',0,0,0,-1,-11006.2,-2783.21,4.68019,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170992,181174,0,0,0,'0',0,0,0,-1,-11261.8,-3349.11,10.238,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170993,181174,0,0,0,'0',0,0,0,-1,-11337.4,-3146.26,6.20375,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170994,181174,0,0,0,'0',0,0,0,-1,-11558.9,-3289.17,7.57173,3.07177,0,0,0.999391,0.034906,120,255,1), +(35170995,181174,0,0,0,'0',0,0,0,-1,-11557.1,-3274.81,7.65565,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35170996,181174,0,0,0,'0',0,0,0,-1,-11547.6,-3294.89,7.6757,1.44862,0,0,0.66262,0.748956,120,255,1), +(35170997,181174,0,0,0,'0',0,0,0,-1,-11542.8,-3272.75,7.43698,1.90241,0,0,0.814116,0.580703,120,255,1), +(35170998,181174,0,0,0,'0',0,0,0,-1,-11539.1,-3284.73,8.61913,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35170999,181174,0,0,0,'0',0,0,0,-1,-11431.3,-2813.51,-0.797982,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171000,181174,0,0,0,'0',0,0,0,-1,-11427.2,-2824.02,0.048245,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35171001,181174,0,0,0,'0',0,0,0,-1,-11422.6,-2806.9,0.603001,1.90241,0,0,0.814116,0.580703,120,255,1), +(35171002,181174,0,0,0,'0',0,0,0,-1,-11340,-3160.64,7.71811,3.07177,0,0,0.999391,0.034906,120,255,1), +(35171003,181174,0,0,0,'0',0,0,0,-1,-11348.3,-3137.8,2.5852,1.90241,0,0,0.814116,0.580703,120,255,1), +(35171004,181174,0,0,0,'0',0,0,0,-1,-11354.5,-3159.13,8.06337,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171005,181174,0,0,0,'0',0,0,0,-1,-11358.2,-3147.44,6.7121,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35171006,181174,0,0,0,'0',0,0,0,-1,-11411.4,-2812.17,-2.36393,3.07177,0,0,0.999391,0.034906,120,255,1), +(35171007,181174,0,0,0,'0',0,0,0,-1,-11414.6,-2826.01,-2.87386,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35171008,181191,0,0,0,'0',0,0,0,-1,-11239.8,-3340.94,9.11304,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35171009,181191,0,0,0,'0',0,0,0,-1,-11236.3,-3373.25,9.05493,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171010,181191,0,0,0,'0',0,0,0,-1,-11419.5,-2850.98,0.854349,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171011,181191,0,0,0,'0',0,0,0,-1,-11419.8,-2852.42,1.0657,0.453785,0,0,0.224951,0.97437,120,255,1), +(35171012,181191,0,0,0,'0',0,0,0,-1,-11427.7,-2806.39,-0.251402,2.44346,0,0,0.939692,0.342021,120,255,1), +(35171013,181191,0,0,0,'0',0,0,0,-1,-11441.7,-2816.53,-1.56979,1.32645,0,0,0.615661,0.788011,120,255,1), +(35171014,181191,0,0,0,'0',0,0,0,-1,-11226.2,-3371.7,9.3219,3.01941,0,0,0.998135,0.061052,120,255,1), +(35171015,181191,0,0,0,'0',0,0,0,-1,-11225.2,-3354.03,5.00269,2.44346,0,0,0.939692,0.342021,120,255,1), +(35171016,181191,0,0,0,'0',0,0,0,-1,-11251,-3380.69,7.32356,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171017,181191,0,0,0,'0',0,0,0,-1,-11391.3,-2822.06,-2.3644,0.523598,0,0,0.258819,0.965926,120,255,1), +(35171018,181191,0,0,0,'0',0,0,0,-1,-11255.2,-3319.01,20.5497,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171019,181191,0,0,0,'0',0,0,0,-1,-11347.3,-3191.07,9.86258,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171020,181191,0,0,0,'0',0,0,0,-1,-11336.3,-3142.19,6.28316,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35171021,181191,0,0,0,'0',0,0,0,-1,-11336.2,-3116.36,-1.65432,2.44346,0,0,0.939692,0.342021,120,255,1), +(35171022,181191,0,0,0,'0',0,0,0,-1,-11321.1,-3150.07,6.12652,1.32645,0,0,0.615661,0.788011,120,255,1), +(35171023,181191,0,0,0,'0',0,0,0,-1,-11317.5,-3152.81,6.27768,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35171024,181191,0,0,0,'0',0,0,0,-1,-11279.5,-3345.42,9.61636,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171025,181191,0,0,0,'0',0,0,0,-1,-11380.5,-2781.23,3.66675,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35171026,181191,0,0,0,'0',0,0,0,-1,-11261.2,-3343.55,10.1272,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35171027,181191,0,0,0,'0',0,0,0,-1,-11215.6,-2948.61,9.523,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35171028,181191,0,0,0,'0',0,0,0,-1,-11454.6,-2823.16,-1.42783,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35171029,181191,0,0,0,'0',0,0,0,-1,-11212.2,-3006.54,3.45062,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171030,181191,0,0,0,'0',0,0,0,-1,-11362.9,-3163.56,9.51303,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35171031,181191,0,0,0,'0',0,0,0,-1,-10974.5,-2778.92,4.87717,2.44346,0,0,0.939692,0.342021,120,255,1), +(35171032,181191,0,0,0,'0',0,0,0,-1,-10984.2,-2815.63,6.10166,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35171033,181191,0,0,0,'0',0,0,0,-1,-11014.6,-2754.4,3.78119,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171034,181191,0,0,0,'0',0,0,0,-1,-11569.9,-3282.3,10.1818,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35171035,181191,0,0,0,'0',0,0,0,-1,-11020.9,-2794.48,5.16899,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35171036,181191,0,0,0,'0',0,0,0,-1,-11026.9,-2772.87,3.89268,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35171037,181191,0,0,0,'0',0,0,0,-1,-11041.1,-2824.76,13.9447,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35171038,181191,0,0,0,'0',0,0,0,-1,-11186.9,-2963.88,8.17708,2.58308,0,0,0.961261,0.27564,120,255,1), +(35171039,181191,0,0,0,'0',0,0,0,-1,-11186.2,-3010.96,7.94982,0.453785,0,0,0.224951,0.97437,120,255,1), +(35171040,181191,0,0,0,'0',0,0,0,-1,-11175.5,-3021.69,7.32877,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171041,181192,0,0,0,'0',0,0,0,-1,-11157.2,-2987.25,8.60665,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35171042,181192,0,0,0,'0',0,0,0,-1,-11203.6,-2959.86,9.16768,1.32645,0,0,0.615661,0.788011,120,255,1), +(35171043,181192,0,0,0,'0',0,0,0,-1,-11004.7,-2789.47,5.05259,0.523598,0,0,0.258819,0.965926,120,255,1), +(35171044,181192,0,0,0,'0',0,0,0,-1,-11012.8,-2806.25,6.10035,2.58308,0,0,0.961261,0.27564,120,255,1), +(35171045,181192,0,0,0,'0',0,0,0,-1,-11227,-3327.39,9.00909,1.32645,0,0,0.615661,0.788011,120,255,1), +(35171046,181192,0,0,0,'0',0,0,0,-1,-11271.4,-3361.43,5.99592,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35171047,181192,0,0,0,'0',0,0,0,-1,-11173.8,-2993.97,9.54054,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171048,181192,0,0,0,'0',0,0,0,-1,-11160.3,-2989,8.60169,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171049,181192,0,0,0,'0',0,0,0,-1,-11159.4,-3008.26,8.14676,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35171050,181192,0,0,0,'0',0,0,0,-1,-11050.7,-2789.54,6.56607,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35171051,181192,0,0,0,'0',0,0,0,-1,-11246.1,-3363.18,9.74607,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171052,181192,0,0,0,'0',0,0,0,-1,-11359.1,-3139.28,6.13144,0.523598,0,0,0.258819,0.965926,120,255,1), +(35171053,181192,0,0,0,'0',0,0,0,-1,-11373.6,-3175.95,12.1172,3.05433,0,0,0.999048,0.043619,120,255,1), +(35171054,181192,0,0,0,'0',0,0,0,-1,-11428.4,-2807.11,-0.345578,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35171055,181192,0,0,0,'0',0,0,0,-1,-11444.7,-2840.39,-0.528655,3.01941,0,0,0.998135,0.061052,120,255,1), +(35171056,181192,0,0,0,'0',0,0,0,-1,-11562.9,-3275.06,8.61297,0.523598,0,0,0.258819,0.965926,120,255,1), +(35171057,181192,0,0,0,'0',0,0,0,-1,-11447.3,-2853.42,0.316006,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171058,181192,0,0,0,'0',0,0,0,-1,-11558.9,-3255.88,6.88916,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171059,181192,0,0,0,'0',0,0,0,-1,-11540,-3311.94,8.04234,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171060,181192,0,0,0,'0',0,0,0,-1,-11585.6,-3316.06,8.30476,1.32645,0,0,0.615661,0.788011,120,255,1), +(35171061,181192,0,0,0,'0',0,0,0,-1,-11518.1,-3275.79,7.65164,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171062,181192,0,0,0,'0',0,0,0,-1,-11370.5,-3116.58,3.47254,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171063,181192,0,0,0,'0',0,0,0,-1,-11362.2,-3104.35,2.20197,5.37562,0,0,-0.438371,0.898794,120,255,1); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(35171064,181192,0,0,0,'0',0,0,0,-1,-11570.6,-3281.41,10.2427,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35171065,181193,0,0,0,'0',0,0,0,-1,-11194.1,-2974.03,8.55119,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35171066,181193,0,0,0,'0',0,0,0,-1,-11416,-2783.94,1.47755,2.58308,0,0,0.961261,0.27564,120,255,1), +(35171067,181193,0,0,0,'0',0,0,0,-1,-11227.9,-2992.87,3.46904,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35171068,181193,0,0,0,'0',0,0,0,-1,-11043.4,-2751.83,1.87099,0.453785,0,0,0.224951,0.97437,120,255,1), +(35171069,181193,0,0,0,'0',0,0,0,-1,-11519.8,-3310.07,8.64683,2.58308,0,0,0.961261,0.27564,120,255,1), +(35171070,181193,0,0,0,'0',0,0,0,-1,-11035.7,-2763.43,4.62899,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171071,181193,0,0,0,'0',0,0,0,-1,-11194,-2975.29,8.59496,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171072,181193,0,0,0,'0',0,0,0,-1,-11239.4,-3339.89,9.12619,0.523598,0,0,0.258819,0.965926,120,255,1), +(35171073,181193,0,0,0,'0',0,0,0,-1,-11406.5,-2826.39,-2.88244,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35171074,181193,0,0,0,'0',0,0,0,-1,-11569.6,-3281.51,10.1382,2.44346,0,0,0.939692,0.342021,120,255,1), +(35171075,181193,0,0,0,'0',0,0,0,-1,-11346.4,-3180.5,11.1409,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171076,181193,0,0,0,'0',0,0,0,-1,-11588.6,-3252.7,8.55592,3.01941,0,0,0.998135,0.061052,120,255,1), +(35171077,181193,0,0,0,'0',0,0,0,-1,-10984.8,-2815.37,6.07834,1.32645,0,0,0.615661,0.788011,120,255,1), +(35171078,181193,0,0,0,'0',0,0,0,-1,-11326.7,-3121.21,-1.62494,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35171079,181193,0,0,0,'0',0,0,0,-1,-11012.2,-2816.72,6.92621,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171080,181193,0,0,0,'0',0,0,0,-1,-11375.3,-3149.41,9.39994,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35171081,181193,0,0,0,'0',0,0,0,-1,-11275.1,-3376.35,6.07523,3.05433,0,0,0.999048,0.043619,120,255,1), +(35171082,181193,0,0,0,'0',0,0,0,-1,-11378.9,-2780.56,3.8241,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171083,181193,0,0,0,'0',0,0,0,-1,-11381.4,-2847.9,3.27664,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171084,181193,0,0,0,'0',0,0,0,-1,-11444.2,-2790.83,-0.916143,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171085,181193,0,0,0,'0',0,0,0,-1,-11251.2,-3380.98,7.34449,0.453785,0,0,0.224951,0.97437,120,255,1), +(35171086,181193,0,0,0,'0',0,0,0,-1,-11391.8,-2822.67,-2.36443,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35171087,181194,0,0,0,'0',0,0,0,-1,-11544.7,-3245.97,6.78339,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35171088,181194,0,0,0,'0',0,0,0,-1,-11147,-2961.9,9.2982,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35171089,181194,0,0,0,'0',0,0,0,-1,-11051,-2790.25,6.5906,3.05433,0,0,0.999048,0.043619,120,255,1), +(35171090,181194,0,0,0,'0',0,0,0,-1,-10974.4,-2779.73,4.94576,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35171091,181194,0,0,0,'0',0,0,0,-1,-11021.1,-2795.17,5.22782,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171092,181194,0,0,0,'0',0,0,0,-1,-10994.7,-2762.28,4.3075,3.01941,0,0,0.998135,0.061052,120,255,1), +(35171093,181194,0,0,0,'0',0,0,0,-1,-11545.7,-3245.35,6.74961,0.453785,0,0,0.224951,0.97437,120,255,1), +(35171094,181194,0,0,0,'0',0,0,0,-1,-11573.3,-3249.13,6.40786,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171095,181194,0,0,0,'0',0,0,0,-1,-11048,-2809.05,7.60497,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171096,181194,0,0,0,'0',0,0,0,-1,-11159.5,-3009.7,8.18247,3.05433,0,0,0.999048,0.043619,120,255,1), +(35171097,181194,0,0,0,'0',0,0,0,-1,-11335.4,-3141.92,6.45337,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171098,181194,0,0,0,'0',0,0,0,-1,-11360.7,-3103.99,1.74725,3.01941,0,0,0.998135,0.061052,120,255,1), +(35171099,181194,0,0,0,'0',0,0,0,-1,-11374.3,-3149.12,9.19029,0.453785,0,0,0.224951,0.97437,120,255,1), +(35171100,181194,0,0,0,'0',0,0,0,-1,-11283.1,-3381.82,8.24883,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35171101,181194,0,0,0,'0',0,0,0,-1,-11386.2,-2858.03,3.66751,3.05433,0,0,0.999048,0.043619,120,255,1), +(35171102,181194,0,0,0,'0',0,0,0,-1,-11254.5,-3318.65,20.4367,2.58308,0,0,0.961261,0.27564,120,255,1), +(35171103,181194,0,0,0,'0',0,0,0,-1,-11396.8,-2841.24,-2.43388,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35171104,181194,0,0,0,'0',0,0,0,-1,-11228,-3336.56,9.46834,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35171105,181194,0,0,0,'0',0,0,0,-1,-11224.7,-3352.88,5.0027,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35171106,181194,0,0,0,'0',0,0,0,-1,-11213.9,-2986.06,3.57035,2.44346,0,0,0.939692,0.342021,120,255,1), +(35171107,181194,0,0,0,'0',0,0,0,-1,-11538.7,-3297.1,8.37852,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35171108,181194,0,0,0,'0',0,0,0,-1,-11537.8,-3275.93,7.97432,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35171109,181194,0,0,0,'0',0,0,0,-1,-11537.1,-3276.36,8.05586,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171110,181194,0,0,0,'0',0,0,0,-1,-11183.8,-2948.68,18.891,0.523598,0,0,0.258819,0.965926,120,255,1), +(35171111,181194,0,0,0,'0',0,0,0,-1,-11528.1,-3250.03,6.90311,3.05433,0,0,0.999048,0.043619,120,255,1), +(35171112,181194,0,0,0,'0',0,0,0,-1,-11211.3,-3007.63,3.47926,3.01941,0,0,0.998135,0.061052,120,255,1), +(35171113,181194,0,0,0,'0',0,0,0,-1,-11509.4,-3289.26,8.31943,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35171114,181194,0,0,0,'0',0,0,0,-1,-11346.7,-3180.8,11.0252,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35171115,181223,0,0,0,'0',0,0,0,-1,-11402.1,-3316.55,111.188,4.46804,0,0,-0.788011,0.615662,120,255,1), +(35171116,181374,0,0,0,'0',0,0,0,-1,-11233.9,-2841.77,185.603,4.45059,0,0,-0.793353,0.608762,120,255,1), +(35171117,181136,0,0,0,'0',0,0,0,-1,1599.78,-3039.54,78.7164,2.1293,0,0,0.874619,0.48481,120,255,1), +(35171118,181136,0,0,0,'0',0,0,0,-1,1804.44,-2842.5,72.9479,2.1293,0,0,0.874619,0.48481,120,255,1), +(35171119,181136,0,0,0,'0',0,0,0,-1,1938.6,-4761.25,97.0908,5.21854,0,0,-0.507538,0.861629,120,255,1), +(35171120,181136,0,0,0,'0',0,0,0,-1,1957.07,-3101.68,83.5755,2.1293,0,0,0.874619,0.48481,120,255,1), +(35171121,181136,0,0,0,'0',0,0,0,-1,1963.32,-5125.08,78.7029,3.9619,0,0,-0.91706,0.39875,120,255,1), +(35171122,181136,0,0,0,'0',0,0,0,-1,2315.23,-4933.08,83.0351,5.21854,0,0,-0.507538,0.861629,120,255,1), +(35171123,181154,0,0,0,'0',0,0,0,-1,1766.67,-3033.34,132.804,5.18363,0,0,-0.522498,0.852641,120,255,1), +(35171124,181154,0,0,0,'0',0,0,0,-1,2101.69,-4930.03,168.281,1.0472,0,0,0.5,0.866025,120,255,1), +(35171125,181173,0,0,0,'0',0,0,0,-1,1582.5,-3030.12,79.9779,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35171126,181173,0,0,0,'0',0,0,0,-1,1590.2,-3049.41,80.9236,1.90241,0,0,0.814116,0.580703,120,255,1), +(35171127,181173,0,0,0,'0',0,0,0,-1,1596.72,-3020.29,80.0585,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171128,181173,0,0,0,'0',0,0,0,-1,1614.42,-3051.32,77.6001,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35171129,181173,0,0,0,'0',0,0,0,-1,1614.48,-3030.5,77.7499,3.07177,0,0,0.999391,0.034906,120,255,1), +(35171130,181173,0,0,0,'0',0,0,0,-1,1772.05,-2864.72,69.953,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171131,181173,0,0,0,'0',0,0,0,-1,1791.07,-2852.26,69.2167,3.07177,0,0,0.999391,0.034906,120,255,1), +(35171132,181173,0,0,0,'0',0,0,0,-1,1792.11,-2816.19,68.3669,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35171133,181173,0,0,0,'0',0,0,0,-1,1810.86,-2872.05,68.268,1.90241,0,0,0.814116,0.580703,120,255,1), +(35171134,181173,0,0,0,'0',0,0,0,-1,1828.78,-2835.28,79.0129,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35171135,181173,0,0,0,'0',0,0,0,-1,1915.6,-4761.28,101.138,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35171136,181173,0,0,0,'0',0,0,0,-1,1927.29,-4778.58,99.4498,1.90241,0,0,0.814116,0.580703,120,255,1), +(35171137,181173,0,0,0,'0',0,0,0,-1,1930.57,-4741.03,98.0023,3.07177,0,0,0.999391,0.034906,120,255,1), +(35171138,181173,0,0,0,'0',0,0,0,-1,1942.62,-3107.03,86.7935,1.90241,0,0,0.814116,0.580703,120,255,1), +(35171139,181173,0,0,0,'0',0,0,0,-1,1943.04,-5142.08,73.6436,3.07177,0,0,0.999391,0.034906,120,255,1), +(35171140,181173,0,0,0,'0',0,0,0,-1,1947.72,-5115.88,79.1624,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35171141,181173,0,0,0,'0',0,0,0,-1,1947.97,-3091.73,84.0488,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35171142,181173,0,0,0,'0',0,0,0,-1,1948.52,-4775.06,99.0672,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35171143,181173,0,0,0,'0',0,0,0,-1,1954.04,-3119.84,87.7657,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35171144,181173,0,0,0,'0',0,0,0,-1,1957.52,-4749.19,96.4972,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171145,181173,0,0,0,'0',0,0,0,-1,1960.57,-5151.77,74.0361,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35171146,181173,0,0,0,'0',0,0,0,-1,1966.9,-3090.5,81.5039,3.07177,0,0,0.999391,0.034906,120,255,1), +(35171147,181173,0,0,0,'0',0,0,0,-1,1967.03,-5116.3,82.1635,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171148,181173,0,0,0,'0',0,0,0,-1,1972.12,-3110.72,81.5372,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171149,181173,0,0,0,'0',0,0,0,-1,1977.92,-5143.16,79.2317,1.90241,0,0,0.814116,0.580703,120,255,1), +(35171150,181173,0,0,0,'0',0,0,0,-1,2301.16,-4941.02,80.8607,1.90241,0,0,0.814116,0.580703,120,255,1), +(35171151,181173,0,0,0,'0',0,0,0,-1,2306.55,-4919.39,89.5811,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35171152,181173,0,0,0,'0',0,0,0,-1,2320.43,-4951.71,76.1494,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35171153,181173,0,0,0,'0',0,0,0,-1,2321.65,-4917.39,84.3817,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171154,181173,0,0,0,'0',0,0,0,-1,2333.07,-4938.58,76.1625,3.07177,0,0,0.999391,0.034906,120,255,1), +(35171155,181174,0,0,0,'0',0,0,0,-1,1582.5,-3030.12,79.9779,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35171156,181174,0,0,0,'0',0,0,0,-1,1590.2,-3049.41,80.9236,1.90241,0,0,0.814116,0.580703,120,255,1), +(35171157,181174,0,0,0,'0',0,0,0,-1,1596.72,-3020.29,80.0585,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171158,181174,0,0,0,'0',0,0,0,-1,1614.42,-3051.32,77.6001,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35171159,181174,0,0,0,'0',0,0,0,-1,1614.48,-3030.5,77.7499,3.07177,0,0,0.999391,0.034906,120,255,1), +(35171160,181174,0,0,0,'0',0,0,0,-1,1772.05,-2864.72,69.953,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171161,181174,0,0,0,'0',0,0,0,-1,1791.07,-2852.26,69.2167,3.07177,0,0,0.999391,0.034906,120,255,1), +(35171162,181174,0,0,0,'0',0,0,0,-1,1792.11,-2816.19,68.3669,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35171163,181174,0,0,0,'0',0,0,0,-1,1810.86,-2872.05,68.268,1.90241,0,0,0.814116,0.580703,120,255,1), +(35171164,181174,0,0,0,'0',0,0,0,-1,1828.78,-2835.28,79.0129,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35171165,181174,0,0,0,'0',0,0,0,-1,1915.6,-4761.28,101.138,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35171166,181174,0,0,0,'0',0,0,0,-1,1927.29,-4778.58,99.4498,1.90241,0,0,0.814116,0.580703,120,255,1), +(35171167,181174,0,0,0,'0',0,0,0,-1,1930.57,-4741.03,98.0023,3.07177,0,0,0.999391,0.034906,120,255,1), +(35171168,181174,0,0,0,'0',0,0,0,-1,1942.62,-3107.03,86.7935,1.90241,0,0,0.814116,0.580703,120,255,1), +(35171169,181174,0,0,0,'0',0,0,0,-1,1943.04,-5142.08,73.6436,3.07177,0,0,0.999391,0.034906,120,255,1), +(35171170,181174,0,0,0,'0',0,0,0,-1,1947.72,-5115.88,79.1624,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35171171,181174,0,0,0,'0',0,0,0,-1,1947.97,-3091.73,84.0488,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35171172,181174,0,0,0,'0',0,0,0,-1,1948.52,-4775.06,99.0672,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35171173,181174,0,0,0,'0',0,0,0,-1,1954.04,-3119.84,87.7657,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35171174,181174,0,0,0,'0',0,0,0,-1,1957.52,-4749.19,96.4972,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171175,181174,0,0,0,'0',0,0,0,-1,1960.57,-5151.77,74.0361,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35171176,181174,0,0,0,'0',0,0,0,-1,1966.9,-3090.5,81.5039,3.07177,0,0,0.999391,0.034906,120,255,1), +(35171177,181174,0,0,0,'0',0,0,0,-1,1967.03,-5116.3,82.1635,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171178,181174,0,0,0,'0',0,0,0,-1,1972.12,-3110.72,81.5372,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171179,181174,0,0,0,'0',0,0,0,-1,1977.92,-5143.16,79.2317,1.90241,0,0,0.814116,0.580703,120,255,1), +(35171180,181174,0,0,0,'0',0,0,0,-1,2301.16,-4941.02,80.8607,1.90241,0,0,0.814116,0.580703,120,255,1), +(35171181,181174,0,0,0,'0',0,0,0,-1,2306.55,-4919.39,89.5811,3.87463,0,0,-0.93358,0.358368,120,255,1), +(35171182,181174,0,0,0,'0',0,0,0,-1,2320.43,-4951.71,76.1494,5.42798,0,0,-0.414693,0.909962,120,255,1), +(35171183,181174,0,0,0,'0',0,0,0,-1,2321.65,-4917.39,84.3817,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171184,181174,0,0,0,'0',0,0,0,-1,2333.07,-4938.58,76.1625,3.07177,0,0,0.999391,0.034906,120,255,1), +(35171187,181194,0,0,0,'0',0,0,0,-1,1568.39,-3051.2,78.6488,2.44346,0,0,0.939692,0.342021,120,255,1), +(35171188,181193,0,0,0,'0',0,0,0,-1,1569.98,-3050.95,78.8824,3.01941,0,0,0.998135,0.061052,120,255,1), +(35171189,181191,0,0,0,'0',0,0,0,-1,1585.78,-3039.62,79.899,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35171190,181191,0,0,0,'0',0,0,0,-1,1586.16,-3040.48,80.0321,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35171191,181191,0,0,0,'0',0,0,0,-1,1586.57,-3040.22,80.0008,0.523598,0,0,0.258819,0.965926,120,255,1), +(35171192,181191,0,0,0,'0',0,0,0,-1,1587.12,-3015.43,81.611,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171193,181194,0,0,0,'0',0,0,0,-1,1587.5,-3013.96,81.7142,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171194,181192,0,0,0,'0',0,0,0,-1,1592.62,-3031.2,78.8748,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35171195,181192,0,0,0,'0',0,0,0,-1,1593.2,-3066.88,79.9349,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35171196,181192,0,0,0,'0',0,0,0,-1,1595.76,-3064.81,79.9576,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171197,181191,0,0,0,'0',0,0,0,-1,1603.07,-3025.87,79.0196,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35171198,181191,0,0,0,'0',0,0,0,-1,1604.12,-3025.66,79.0573,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171199,181191,0,0,0,'0',0,0,0,-1,1611.98,-3065.57,78.606,0.453785,0,0,0.224951,0.97437,120,255,1), +(35171200,181192,0,0,0,'0',0,0,0,-1,1613.93,-3065.54,78.6501,3.05433,0,0,0.999048,0.043619,120,255,1), +(35171201,181194,0,0,0,'0',0,0,0,-1,1615.02,-3037.84,77.6618,1.32645,0,0,0.615661,0.788011,120,255,1), +(35171202,181194,0,0,0,'0',0,0,0,-1,1622.07,-3046.96,79.0298,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35171203,181194,0,0,0,'0',0,0,0,-1,1631.92,-3034.03,79.7854,2.58308,0,0,0.961261,0.27564,120,255,1), +(35171204,181191,0,0,0,'0',0,0,0,-1,1633.33,-3033.08,79.8429,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171205,181192,0,0,0,'0',0,0,0,-1,1761.02,-2841.03,71.8429,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35171206,181191,0,0,0,'0',0,0,0,-1,1767.81,-2866.3,71.5783,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35171207,181191,0,0,0,'0',0,0,0,-1,1774.62,-2826.27,69.0928,1.32645,0,0,0.615661,0.788011,120,255,1), +(35171208,181194,0,0,0,'0',0,0,0,-1,1775.91,-2849.46,68.1006,2.44346,0,0,0.939692,0.342021,120,255,1), +(35171209,181192,0,0,0,'0',0,0,0,-1,1777.22,-2849.01,68.127,3.01941,0,0,0.998135,0.061052,120,255,1), +(35171210,181192,0,0,0,'0',0,0,0,-1,1783.78,-2826.47,69.0158,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171211,181194,0,0,0,'0',0,0,0,-1,1784.67,-2826.46,68.9567,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171212,181192,0,0,0,'0',0,0,0,-1,1787.88,-2844.15,67.7934,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171213,181192,0,0,0,'0',0,0,0,-1,1792.49,-2845.07,68.9933,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35171214,181191,0,0,0,'0',0,0,0,-1,1798.88,-2852.22,68.3892,0.523598,0,0,0.258819,0.965926,120,255,1), +(35171215,181193,0,0,0,'0',0,0,0,-1,1800.54,-2830.87,69.9442,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35171216,181192,0,0,0,'0',0,0,0,-1,1805.24,-2867.62,67.8789,3.05433,0,0,0.999048,0.043619,120,255,1), +(35171217,181194,0,0,0,'0',0,0,0,-1,1806.21,-2867.52,67.9099,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171218,181194,0,0,0,'0',0,0,0,-1,1814.01,-2841.04,72.0197,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35171219,181194,0,0,0,'0',0,0,0,-1,1821.46,-2826.06,83.0323,2.58308,0,0,0.961261,0.27564,120,255,1), +(35171220,181192,0,0,0,'0',0,0,0,-1,1825.73,-2841.49,77.7955,0.453785,0,0,0.224951,0.97437,120,255,1), +(35171221,181194,0,0,0,'0',0,0,0,-1,1826.08,-2840.09,77.9095,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35171222,181194,0,0,0,'0',0,0,0,-1,1830.81,-2853.76,82.9595,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171223,181191,0,0,0,'0',0,0,0,-1,1906.72,-4772.17,105.462,3.01941,0,0,0.998135,0.061052,120,255,1), +(35171224,181192,0,0,0,'0',0,0,0,-1,1919,-5145.38,73.9771,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171225,181192,0,0,0,'0',0,0,0,-1,1920.02,-4756.39,99.2499,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171226,181192,0,0,0,'0',0,0,0,-1,1920.29,-4757.25,99.1512,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35171227,181191,0,0,0,'0',0,0,0,-1,1920.82,-4756.28,98.998,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35171228,181192,0,0,0,'0',0,0,0,-1,1921.05,-4772.1,100.649,3.05433,0,0,0.999048,0.043619,120,255,1), +(35171229,181194,0,0,0,'0',0,0,0,-1,1922.1,-4791.41,103.396,2.44346,0,0,0.939692,0.342021,120,255,1), +(35171230,181191,0,0,0,'0',0,0,0,-1,1924.33,-4732.5,101.178,2.58308,0,0,0.961261,0.27564,120,255,1), +(35171231,181193,0,0,0,'0',0,0,0,-1,1930.41,-5125.72,100.938,3.05433,0,0,0.999048,0.043619,120,255,1), +(35171232,181191,0,0,0,'0',0,0,0,-1,1931.61,-4785.54,99.6964,0.453785,0,0,0.224951,0.97437,120,255,1), +(35171233,181193,0,0,0,'0',0,0,0,-1,1932.6,-4784.9,99.4538,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35171234,181191,0,0,0,'0',0,0,0,-1,1935.82,-4731,100.673,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171235,181192,0,0,0,'0',0,0,0,-1,1936.16,-5172.28,73.6389,3.01941,0,0,0.998135,0.061052,120,255,1), +(35171236,181193,0,0,0,'0',0,0,0,-1,1938.05,-4745.25,96.8655,0.523598,0,0,0.258819,0.965926,120,255,1), +(35171237,181194,0,0,0,'0',0,0,0,-1,1939.99,-5140.97,73.6643,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35171238,181193,0,0,0,'0',0,0,0,-1,1940.62,-5146.29,73.6236,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35171239,181191,0,0,0,'0',0,0,0,-1,1941.33,-3095.81,85.892,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171240,181191,0,0,0,'0',0,0,0,-1,1941.64,-3093.77,85.4658,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171241,181193,0,0,0,'0',0,0,0,-1,1942.18,-5099.56,84.6481,2.44346,0,0,0.939692,0.342021,120,255,1), +(35171242,181192,0,0,0,'0',0,0,0,-1,1942.63,-3116.09,89.4823,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35171243,181191,0,0,0,'0',0,0,0,-1,1944.42,-3116.68,89.3527,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35171244,181192,0,0,0,'0',0,0,0,-1,1945.23,-4776.45,98.3861,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171245,181193,0,0,0,'0',0,0,0,-1,1945.48,-5109,81.6221,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171246,181192,0,0,0,'0',0,0,0,-1,1945.95,-5110.36,81.0997,2.58308,0,0,0.961261,0.27564,120,255,1), +(35171247,181192,0,0,0,'0',0,0,0,-1,1946.93,-3069.19,78.6248,0.453785,0,0,0.224951,0.97437,120,255,1), +(35171248,181192,0,0,0,'0',0,0,0,-1,1950.81,-5105.51,83.3676,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171249,181193,0,0,0,'0',0,0,0,-1,1953.76,-5166.41,78.0603,0.453785,0,0,0.224951,0.97437,120,255,1), +(35171250,181193,0,0,0,'0',0,0,0,-1,1954.2,-4753,97.0392,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35171251,181192,0,0,0,'0',0,0,0,-1,1954.51,-3122.99,88.5028,3.05433,0,0,0.999048,0.043619,120,255,1), +(35171252,181194,0,0,0,'0',0,0,0,-1,1955.3,-4751.92,96.864,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171253,181194,0,0,0,'0',0,0,0,-1,1955.66,-3123.42,88.0313,0.523598,0,0,0.258819,0.965926,120,255,1), +(35171254,181194,0,0,0,'0',0,0,0,-1,1956.29,-4724.43,98.3988,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171255,181193,0,0,0,'0',0,0,0,-1,1957.21,-3079.93,79.2057,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35171256,181191,0,0,0,'0',0,0,0,-1,1959.67,-5139.13,74.3765,1.32645,0,0,0.615661,0.788011,120,255,1), +(35171257,181191,0,0,0,'0',0,0,0,-1,1961.09,-4764.02,97.6069,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35171258,181192,0,0,0,'0',0,0,0,-1,1962.15,-4763.61,97.2999,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35171259,181192,0,0,0,'0',0,0,0,-1,1963.22,-5099.92,85.679,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35171260,181191,0,0,0,'0',0,0,0,-1,1963.39,-4744.69,96.1348,1.32645,0,0,0.615661,0.788011,120,255,1), +(35171261,181193,0,0,0,'0',0,0,0,-1,1966.58,-3128.49,84.4406,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35171262,181193,0,0,0,'0',0,0,0,-1,1966.66,-5165.72,78.4688,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171263,181193,0,0,0,'0',0,0,0,-1,1966.66,-3105.85,83.0617,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35171264,181193,0,0,0,'0',0,0,0,-1,1967.12,-5165.38,78.2974,0.523598,0,0,0.258819,0.965926,120,255,1), +(35171265,181191,0,0,0,'0',0,0,0,-1,1969.54,-3082.61,78.2019,5.37562,0,0,-0.438371,0.898794,120,255,1); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES +(35171266,181193,0,0,0,'0',0,0,0,-1,1970.66,-3100.07,82.4968,2.58308,0,0,0.961261,0.27564,120,255,1), +(35171267,181191,0,0,0,'0',0,0,0,-1,1971.77,-3122.4,81.6347,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35171268,181191,0,0,0,'0',0,0,0,-1,1971.87,-5173.95,80.2897,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171269,181192,0,0,0,'0',0,0,0,-1,1974.99,-3108.66,81.2376,3.01941,0,0,0.998135,0.061052,120,255,1), +(35171270,181192,0,0,0,'0',0,0,0,-1,1975.08,-3089.1,80.0972,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171271,181193,0,0,0,'0',0,0,0,-1,1975.42,-3109.73,80.8529,2.44346,0,0,0.939692,0.342021,120,255,1), +(35171272,181194,0,0,0,'0',0,0,0,-1,1976.12,-5181.19,79.6858,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35171273,181193,0,0,0,'0',0,0,0,-1,1979.31,-5107.51,87.8338,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35171274,181191,0,0,0,'0',0,0,0,-1,1981.4,-3082.28,76.7232,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171275,181194,0,0,0,'0',0,0,0,-1,1984.65,-5138.32,82.831,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35171276,181192,0,0,0,'0',0,0,0,-1,1988.23,-3099.97,78.9845,1.32645,0,0,0.615661,0.788011,120,255,1), +(35171277,181192,0,0,0,'0',0,0,0,-1,2287.98,-4915.14,97.5112,1.32645,0,0,0.615661,0.788011,120,255,1), +(35171278,181193,0,0,0,'0',0,0,0,-1,2289.23,-4915.06,97.4164,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171279,181191,0,0,0,'0',0,0,0,-1,2299,-4950.76,77.8985,4.86947,0,0,-0.649447,0.760406,120,255,1), +(35171280,181192,0,0,0,'0',0,0,0,-1,2303.79,-4910.37,94.6176,3.01941,0,0,0.998135,0.061052,120,255,1), +(35171281,181192,0,0,0,'0',0,0,0,-1,2305.03,-4941.07,80.2708,3.31614,0,0,-0.996194,0.087165,120,255,1), +(35171282,181194,0,0,0,'0',0,0,0,-1,2305.68,-4927.74,86.4454,4.31097,0,0,-0.833885,0.551938,120,255,1), +(35171283,181193,0,0,0,'0',0,0,0,-1,2314.24,-4945.6,78.1637,1.44862,0,0,0.66262,0.748956,120,255,1), +(35171284,181194,0,0,0,'0',0,0,0,-1,2315,-4921.65,86.328,0.523598,0,0,0.258819,0.965926,120,255,1), +(35171285,181192,0,0,0,'0',0,0,0,-1,2315.1,-4945.22,78.2012,3.05433,0,0,0.999048,0.043619,120,255,1), +(35171286,181194,0,0,0,'0',0,0,0,-1,2320.73,-4973.29,72.4793,2.44346,0,0,0.939692,0.342021,120,255,1), +(35171287,181194,0,0,0,'0',0,0,0,-1,2321.23,-4972.05,72.3983,5.07891,0,0,-0.566406,0.824126,120,255,1), +(35171288,181192,0,0,0,'0',0,0,0,-1,2321.27,-4971.29,72.3842,2.58308,0,0,0.961261,0.27564,120,255,1), +(35171289,181192,0,0,0,'0',0,0,0,-1,2325.87,-4923.38,82.4325,5.51524,0,0,-0.374606,0.927184,120,255,1), +(35171290,181191,0,0,0,'0',0,0,0,-1,2332.87,-4946.56,73.514,0.453785,0,0,0.224951,0.97437,120,255,1), +(35171291,181191,0,0,0,'0',0,0,0,-1,2332.91,-4934.26,77.6943,4.79966,0,0,-0.67559,0.737278,120,255,1), +(35171292,181194,0,0,0,'0',0,0,0,-1,2333.7,-4935.03,77.1431,3.64774,0,0,-0.968147,0.250381,120,255,1), +(35171293,181192,0,0,0,'0',0,0,0,-1,2350.44,-4913.78,74.405,5.37562,0,0,-0.438371,0.898794,120,255,1), +(35171294,181193,0,0,0,'0',0,0,0,-1,2351.85,-4914.2,74.3483,5.37562,0,0,-0.438371,0.898794,120,255,1); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170175,181256,1,0,0,'0',0,0,0,-1,1585.55,-4409.76,7.27701,3.03684,0,0,0.998629,0.052353,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1585.55) < 5 AND ABS(o.`position_y` - -4409.76) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170176,181256,0,0,0,'0',0,0,0,-1,1584.6,245.848,-62.0773,3.12412,0,0,0.999962,0.008735,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1584.6) < 5 AND ABS(o.`position_y` - 245.848) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170177,181256,1,0,0,'0',0,0,0,-1,-1258.73,78.1247,128.035,4.62512,0,0,-0.737277,0.675591,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -1258.73) < 5 AND ABS(o.`position_y` - 78.1247) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170178,181256,0,0,0,'0',0,0,0,-1,-4884.69,-943.904,501.462,1.83216,0,0,0.793221,0.608933,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -4884.69) < 5 AND ABS(o.`position_y` - -943.904) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170179,181256,0,0,0,'0',0,0,0,-1,-8836.66,644.879,95.692,3.9619,0,0,-0.91706,0.39875,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -8836.66) < 5 AND ABS(o.`position_y` - 644.879) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170180,181256,1,0,0,'0',0,0,0,-1,9909.79,2516.55,1316.68,5.11382,0,0,-0.551936,0.833886,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 9909.79) < 5 AND ABS(o.`position_y` - 2516.55) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170181,181256,0,0,0,'0',0,0,0,-1,2250.87,-5312.69,82.1539,2.89724,0,0,0.992546,0.12187,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 2250.87) < 5 AND ABS(o.`position_y` - -5312.69) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170182,181172,0,0,0,'0',0,0,0,-1,-5122.8,-697.666,505.467,0.034906,0,0,0.017452,0.999848,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181172 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -5122.8) < 5 AND ABS(o.`position_y` - -697.666) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170183,181172,0,0,0,'0',0,0,0,-1,1852.46,266.873,114.815,0.541051,0,0,0.267238,0.963631,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181172 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1852.46) < 5 AND ABS(o.`position_y` - 266.873) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170184,181172,1,0,0,'0',0,0,0,-1,-1511.83,101.722,108.569,1.83259,0,0,0.793353,0.608762,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181172 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -1511.83) < 5 AND ABS(o.`position_y` - 101.722) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170185,181172,1,0,0,'0',0,0,0,-1,9972.62,1993.28,1406.15,4.34587,0,0,-0.824126,0.566406,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181172 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 9972.62) < 5 AND ABS(o.`position_y` - 1993.28) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170186,181172,0,0,0,'0',0,0,0,-1,-9159.77,345.552,156.401,3.56047,0,0,-0.978148,0.207912,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181172 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -9159.77) < 5 AND ABS(o.`position_y` - 345.552) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170187,181172,1,0,0,'0',0,0,0,-1,1210.92,-4315.13,88.0662,3.80482,0,0,-0.945518,0.325568,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181172 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1210.92) < 5 AND ABS(o.`position_y` - -4315.13) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170188,181227,0,0,0,'0',0,0,0,-1,-9183.83,416.188,89.9123,0.401425,0,0,0.199367,0.979925,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181227 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -9183.83) < 5 AND ABS(o.`position_y` - 416.188) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170189,181227,1,0,0,'0',0,0,0,-1,9948.02,1932.39,1328.69,3.68265,0,0,-0.96363,0.267241,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181227 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 9948.02) < 5 AND ABS(o.`position_y` - 1932.39) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170190,181227,1,0,0,'0',0,0,0,-1,9914.18,1864.66,1321.26,2.91469,0,0,0.993571,0.113208,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181227 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 9914.18) < 5 AND ABS(o.`position_y` - 1864.66) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170191,181227,1,0,0,'0',0,0,0,-1,-1545.47,51.2859,5.39412,0.628317,0,0,0.309016,0.951057,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181227 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -1545.47) < 5 AND ABS(o.`position_y` - 51.2859) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170192,181227,0,0,0,'0',0,0,0,-1,1980.01,305.231,41.1893,0.436332,0,0,0.216439,0.976296,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181227 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1980.01) < 5 AND ABS(o.`position_y` - 305.231) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170193,181227,1,0,0,'0',0,0,0,-1,1217.81,-4339.42,25.9249,4.01426,0,0,-0.906307,0.422619,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181227 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1217.81) < 5 AND ABS(o.`position_y` - -4339.42) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170194,181227,1,0,0,'0',0,0,0,-1,1169.62,-4320.03,20.8739,0.575957,0,0,0.284015,0.95882,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181227 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1169.62) < 5 AND ABS(o.`position_y` - -4320.03) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170195,181227,0,0,0,'0',0,0,0,-1,-9061.46,349.666,93.1098,4.57276,0,0,-0.754709,0.656059,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181227 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -9061.46) < 5 AND ABS(o.`position_y` - 349.666) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170196,181227,0,0,0,'0',0,0,0,-1,-5175.25,-588.093,397.984,2.51327,0,0,0.951056,0.309017,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181227 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -5175.25) < 5 AND ABS(o.`position_y` - -588.093) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170197,181227,0,0,0,'0',0,0,0,-1,-9218.1,318.785,73.865,3.01941,0,0,0.998135,0.061052,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181227 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -9218.1) < 5 AND ABS(o.`position_y` - 318.785) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170198,181227,0,0,0,'0',0,0,0,-1,-5163.2,-645.852,396.992,0.052359,0,0,0.026176,0.999657,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181227 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -5163.2) < 5 AND ABS(o.`position_y` - -645.852) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170199,181227,0,0,0,'0',0,0,0,-1,-9118.92,330.1,93.198,3.00195,0,0,0.997563,0.069766,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181227 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -9118.92) < 5 AND ABS(o.`position_y` - 330.1) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170200,181254,0,0,0,'0',0,0,0,-1,-4926.4,-986.524,501.455,2.23402,0,0,0.898793,0.438373,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181254 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -4926.4) < 5 AND ABS(o.`position_y` - -986.524) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170201,181254,0,0,0,'0',0,0,0,-1,-4891.02,-951.788,501.468,2.61756,0,0,0.96587,0.259028,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181254 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -4891.02) < 5 AND ABS(o.`position_y` - -951.788) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170202,181254,1,0,0,'0',0,0,0,-1,1587.87,-4417.88,8.70726,3.29869,0,0,-0.996917,0.078466,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181254 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1587.87) < 5 AND ABS(o.`position_y` - -4417.88) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170203,181254,1,0,0,'0',0,0,0,-1,-1259.05,64.1729,127.804,1.48353,0,0,0.67559,0.737278,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181254 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -1259.05) < 5 AND ABS(o.`position_y` - 64.1729) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170204,181254,1,0,0,'0',0,0,0,-1,9921.07,2521.54,1318.1,3.42085,0,0,-0.990268,0.139175,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181254 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 9921.07) < 5 AND ABS(o.`position_y` - 2521.54) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170205,181254,0,0,0,'0',0,0,0,-1,-8828.51,644.644,94.479,3.71755,0,0,-0.958819,0.284016,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181254 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -8828.51) < 5 AND ABS(o.`position_y` - 644.644) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170206,181254,0,0,0,'0',0,0,0,-1,1583.41,240.46,-62.0773,3.03684,0,0,0.998629,0.052353,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181254 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1583.41) < 5 AND ABS(o.`position_y` - 240.46) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170207,181255,1,0,0,'0',0,0,0,-1,9920.94,2525.91,1318.96,1.23918,0,0,0.580703,0.814116,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181255 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 9920.94) < 5 AND ABS(o.`position_y` - 2525.91) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170208,181255,1,0,0,'0',0,0,0,-1,9920.85,2526.06,1318.47,0.977383,0,0,0.469471,0.882948,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181255 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 9920.85) < 5 AND ABS(o.`position_y` - 2526.06) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170209,181255,1,0,0,'0',0,0,0,-1,-1263.56,62.3682,127.785,1.41372,0,0,0.649447,0.760406,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181255 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -1263.56) < 5 AND ABS(o.`position_y` - 62.3682) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170210,181255,1,0,0,'0',0,0,0,-1,-1263.47,62.4772,127.278,1.25664,0,0,0.587785,0.809017,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181255 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -1263.47) < 5 AND ABS(o.`position_y` - 62.4772) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170211,181255,1,0,0,'0',0,0,0,-1,1587.94,-4413.6,8.88919,2.86233,0,0,0.990268,0.139175,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181255 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1587.94) < 5 AND ABS(o.`position_y` - -4413.6) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170212,181255,1,0,0,'0',0,0,0,-1,1588.21,-4413.59,8.40226,6.26573,0,0,-0.008726,0.999962,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181255 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1588.21) < 5 AND ABS(o.`position_y` - -4413.59) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170213,181255,0,0,0,'0',0,0,0,-1,-4894.13,-954.969,501.461,2.47793,0,0,0.945448,0.325773,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181255 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -4894.13) < 5 AND ABS(o.`position_y` - -954.969) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170214,181255,0,0,0,'0',0,0,0,-1,-4894.36,-954.946,501.907,2.63501,0,0,0.968093,0.250591,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181255 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -4894.36) < 5 AND ABS(o.`position_y` - -954.946) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170215,181255,0,0,0,'0',0,0,0,-1,-8824.93,644.94,94.3843,1.95477,0,0,0.829038,0.559193,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181255 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -8824.93) < 5 AND ABS(o.`position_y` - 644.94) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170216,181255,0,0,0,'0',0,0,0,-1,1582.24,236.144,-62.0773,0.087266,0,0,0.043619,0.999048,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181255 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1582.24) < 5 AND ABS(o.`position_y` - 236.144) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170217,181255,0,0,0,'0',0,0,0,-1,-4930.68,-988.202,501.907,2.25147,0,0,0.902585,0.430512,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181255 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -4930.68) < 5 AND ABS(o.`position_y` - -988.202) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170218,181255,0,0,0,'0',0,0,0,-1,-4930.49,-988.305,501.455,2.09439,0,0,0.866025,0.500001,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181255 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -4930.49) < 5 AND ABS(o.`position_y` - -988.305) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170219,181255,0,0,0,'0',0,0,0,-1,1582.52,236.04,-62.0773,3.35105,0,0,-0.994521,0.104535,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181255 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1582.52) < 5 AND ABS(o.`position_y` - 236.04) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170220,181255,0,0,0,'0',0,0,0,-1,-8824.84,644.905,94.8185,5.51524,0,0,-0.374606,0.927184,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181255 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -8824.84) < 5 AND ABS(o.`position_y` - 644.905) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170221,181256,0,0,0,'0',0,0,0,-1,1582.02,244.991,-62.0773,2.19912,0,0,0.891007,0.453991,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1582.02) < 5 AND ABS(o.`position_y` - 244.991) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170222,181256,0,0,0,'0',0,0,0,-1,1580.11,236.901,-62.0773,3.6652,0,0,-0.965925,0.258821,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1580.11) < 5 AND ABS(o.`position_y` - 236.901) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170223,181256,1,0,0,'0',0,0,0,-1,-1254.96,64.9045,127.597,0.872664,0,0,0.422618,0.906308,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -1254.96) < 5 AND ABS(o.`position_y` - 64.9045) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170224,181256,1,0,0,'0',0,0,0,-1,-1263.03,65.4217,127.295,2.07694,0,0,0.861628,0.507539,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -1263.03) < 5 AND ABS(o.`position_y` - 65.4217) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170225,181256,1,0,0,'0',0,0,0,-1,9918.63,2525.05,1317.79,2.51327,0,0,0.951056,0.309017,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 9918.63) < 5 AND ABS(o.`position_y` - 2525.05) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170226,181256,1,0,0,'0',0,0,0,-1,1586.84,-4422.45,8.26005,3.22886,0,0,-0.999048,0.043619,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1586.84) < 5 AND ABS(o.`position_y` - -4422.45) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170227,181256,1,0,0,'0',0,0,0,-1,1585.44,-4414.01,8.08963,3.3685,0,0,-0.993571,0.113208,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 1585.44) < 5 AND ABS(o.`position_y` - -4414.01) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170228,181256,0,0,0,'0',0,0,0,-1,-8833.52,645.745,95.3211,3.90954,0,0,-0.927183,0.374608,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -8833.52) < 5 AND ABS(o.`position_y` - 645.745) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170229,181256,0,0,0,'0',0,0,0,-1,-8829.5,640.266,94.3804,3.71755,0,0,-0.958819,0.284016,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -8829.5) < 5 AND ABS(o.`position_y` - 640.266) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170230,181256,0,0,0,'0',0,0,0,-1,-4891.85,-947.068,501.468,2.5652,0,0,0.958758,0.284223,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -4891.85) < 5 AND ABS(o.`position_y` - -947.068) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170231,181256,0,0,0,'0',0,0,0,-1,-4895.76,-953.432,501.465,2.61756,0,0,0.96587,0.259028,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -4895.76) < 5 AND ABS(o.`position_y` - -953.432) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170232,181256,0,0,0,'0',0,0,0,-1,-4925.42,-981.831,501.466,2.18166,0,0,0.887011,0.461749,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -4925.42) < 5 AND ABS(o.`position_y` - -981.831) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170233,181256,0,0,0,'0',0,0,0,-1,-4931.42,-986.271,501.462,2.23402,0,0,0.898793,0.438373,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - -4931.42) < 5 AND ABS(o.`position_y` - -986.271) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170234,181256,1,0,0,'0',0,0,0,-1,9920.85,2516.86,1317.96,4.10152,0,0,-0.887011,0.461749,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 1 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 9920.85) < 5 AND ABS(o.`position_y` - 2516.86) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170235,181256,0,0,0,'0',0,0,0,-1,2238.91,-5318.67,82.1523,1.55334,0,0,0.700909,0.713251,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 2238.91) < 5 AND ABS(o.`position_y` - -5318.67) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170236,181256,0,0,0,'0',0,0,0,-1,2248.47,-5318.94,82.1143,1.5708,0,0,0.707107,0.707107,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181256 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 2248.47) < 5 AND ABS(o.`position_y` - -5318.94) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35170237,181254,0,0,0,'0',0,0,0,-1,2243.86,-5321.14,82.1673,1.48353,0,0,0.67559,0.737278,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181254 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 2243.86) < 5 AND ABS(o.`position_y` - -5321.14) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35171185,181255,0,0,0,'0',0,0,0,-1,2239.47,-5320.43,82.6284,1.27409,0,0,0.594822,0.803857,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181255 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 2239.47) < 5 AND ABS(o.`position_y` - -5320.43) < 5); +INSERT INTO `gameobject` (`guid`,`id`,`map`,`zoneId`,`areaId`,`spawnDifficulties`,`phaseUseFlags`,`PhaseId`,`PhaseGroup`,`terrainSwapMap`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) SELECT 35171186,181255,0,0,0,'0',0,0,0,-1,2239.56,-5320.3,82.1271,4.15388,0,0,-0.874619,0.48481,120,255,1 FROM DUAL WHERE NOT EXISTS (SELECT 1 FROM `gameobject` o WHERE o.`id` = 181255 AND o.`map` = 0 AND o.`guid` NOT BETWEEN 35170001 AND 35175000 AND ABS(o.`position_x` - 2239.56) < 5 AND ABS(o.`position_y` - -5320.3) < 5); + +INSERT INTO `game_event_creature` (`eventEntry`,`guid`) SELECT l.`eventEntry`, l.`guid` FROM ( +SELECT 81 AS `eventEntry`, 29000001 AS `guid` UNION ALL SELECT 81, 29000002 UNION ALL SELECT 81, 29000003 UNION ALL SELECT 81, 29000004 UNION ALL SELECT 81, 29000005 UNION ALL SELECT 95, 29000006 UNION ALL SELECT 95, 29000007 UNION ALL SELECT 95, 29000008 UNION ALL SELECT 95, 29000009 UNION ALL SELECT 95, 29000010 UNION ALL SELECT 95, 29000011 UNION ALL SELECT 95, 29000012 UNION ALL SELECT 95, 29000013 UNION ALL SELECT 95, 29000014 UNION ALL SELECT 95, 29000015 UNION ALL SELECT 95, 29000016 UNION ALL SELECT 95, 29000017 UNION ALL SELECT 95, 29000018 UNION ALL SELECT 95, 29000019 UNION ALL SELECT 95, 29000020 UNION ALL SELECT 95, 29000021 UNION ALL SELECT 95, 29000022 UNION ALL SELECT 95, 29000023 UNION ALL SELECT 95, 29000024 UNION ALL SELECT 95, 29000025 UNION ALL SELECT 95, 29000026 UNION ALL SELECT 95, 29000027 UNION ALL SELECT 95, 29000028 UNION ALL SELECT 95, 29000029 UNION ALL SELECT 95, 29000030 UNION ALL SELECT 95, 29000031 UNION ALL SELECT 95, 29000032 UNION ALL SELECT 95, 29000033 UNION ALL SELECT 95, 29000034 UNION ALL SELECT 95, 29000035 UNION ALL SELECT 95, 29000036 UNION ALL SELECT 95, 29000037 UNION ALL SELECT 95, 29000038 UNION ALL SELECT 95, 29000039 UNION ALL SELECT 95, 29000040 UNION ALL SELECT 95, 29000041 UNION ALL SELECT 95, 29000042 UNION ALL SELECT 95, 29000043 UNION ALL SELECT 95, 29000044 UNION ALL SELECT 95, 29000045 UNION ALL SELECT 95, 29000046 UNION ALL SELECT 95, 29000047 UNION ALL SELECT 95, 29000048 UNION ALL SELECT 95, 29000049 UNION ALL SELECT 95, 29000050 UNION ALL SELECT 95, 29000051 UNION ALL SELECT 95, 29000052 UNION ALL SELECT 95, 29000053 UNION ALL SELECT 95, 29000054 UNION ALL SELECT 95, 29000055 UNION ALL SELECT 95, 29000056 UNION ALL SELECT 95, 29000057 UNION ALL SELECT 95, 29000058 UNION ALL SELECT 95, 29000059 UNION ALL SELECT 95, 29000060 UNION ALL SELECT 95, 29000061 UNION ALL SELECT 95, 29000062 UNION ALL SELECT 95, 29000063 UNION ALL SELECT 95, 29000064 UNION ALL SELECT 95, 29000065 UNION ALL SELECT 95, 29000066 UNION ALL SELECT 95, 29000067 UNION ALL SELECT 95, 29000068 UNION ALL SELECT 95, 29000069 UNION ALL SELECT 95, 29000070 UNION ALL SELECT 95, 29000071 UNION ALL SELECT 95, 29000072 UNION ALL SELECT 95, 29000073 UNION ALL SELECT 95, 29000074 UNION ALL SELECT 95, 29000075 UNION ALL SELECT 95, 29000076 UNION ALL SELECT 95, 29000077 UNION ALL SELECT 95, 29000078 UNION ALL SELECT 95, 29000079 UNION ALL SELECT 95, 29000080 UNION ALL SELECT 95, 29000081 UNION ALL SELECT 95, 29000082 UNION ALL SELECT 95, 29000083 UNION ALL SELECT 95, 29000084 UNION ALL SELECT 95, 29000085 UNION ALL SELECT 95, 29000086 UNION ALL SELECT 95, 29000087 UNION ALL SELECT 95, 29000088 UNION ALL SELECT 95, 29000089 UNION ALL SELECT 95, 29000090 UNION ALL SELECT 95, 29000091 UNION ALL SELECT 95, 29000092 UNION ALL SELECT 95, 29000093 UNION ALL SELECT 95, 29000094 UNION ALL SELECT 95, 29000095 UNION ALL SELECT 95, 29000096 UNION ALL SELECT 95, 29000097 UNION ALL SELECT 95, 29000098 UNION ALL SELECT 95, 29000099 UNION ALL SELECT 95, 29000100 UNION ALL SELECT 95, 29000101 UNION ALL SELECT 95, 29000102 UNION ALL SELECT 95, 29000103 UNION ALL SELECT 95, 29000104 UNION ALL SELECT 95, 29000105 UNION ALL SELECT 95, 29000106 UNION ALL SELECT 95, 29000107 UNION ALL SELECT 95, 29000108 UNION ALL SELECT 95, 29000109 UNION ALL SELECT 95, 29000110 UNION ALL SELECT 95, 29000111 UNION ALL SELECT 95, 29000112 UNION ALL SELECT 95, 29000113 UNION ALL SELECT 95, 29000114 UNION ALL SELECT 95, 29000115 UNION ALL SELECT 95, 29000116 UNION ALL SELECT 95, 29000117 UNION ALL SELECT 95, 29000118 UNION ALL SELECT 95, 29000119 UNION ALL SELECT 95, 29000120 UNION ALL SELECT 95, 29000121 UNION ALL SELECT 95, 29000122 UNION ALL SELECT 95, 29000123 UNION ALL SELECT 95, 29000124 UNION ALL SELECT 95, 29000125 UNION ALL SELECT 95, 29000126 UNION ALL SELECT 95, 29000127 UNION ALL SELECT 95, 29000128 UNION ALL SELECT 95, 29000129 UNION ALL SELECT 95, 29000130 UNION ALL SELECT 95, 29000131 UNION ALL SELECT 95, 29000132 UNION ALL SELECT 95, 29000133 UNION ALL SELECT 95, 29000134 UNION ALL SELECT 95, 29000135 UNION ALL SELECT 95, 29000136 UNION ALL SELECT 95, 29000137 UNION ALL SELECT 95, 29000138 UNION ALL SELECT 95, 29000139 UNION ALL SELECT 95, 29000140 UNION ALL SELECT 95, 29000141 UNION ALL SELECT 95, 29000142 UNION ALL SELECT 95, 29000143 UNION ALL SELECT 95, 29000144 UNION ALL SELECT 95, 29000145 UNION ALL SELECT 95, 29000146 UNION ALL SELECT 95, 29000147 UNION ALL SELECT 95, 29000148 UNION ALL SELECT 95, 29000149 UNION ALL SELECT 95, 29000150 UNION ALL SELECT 95, 29000151 UNION ALL SELECT 95, 29000152 UNION ALL SELECT 95, 29000153 UNION ALL SELECT 95, 29000154 UNION ALL SELECT 95, 29000155 UNION ALL SELECT 95, 29000156 UNION ALL SELECT 95, 29000157 UNION ALL SELECT 95, 29000158 UNION ALL SELECT 95, 29000159 UNION ALL SELECT 95, 29000160 UNION ALL SELECT 95, 29000161 UNION ALL SELECT 95, 29000162 UNION ALL SELECT 95, 29000163 UNION ALL SELECT 95, 29000164 UNION ALL SELECT 95, 29000165 UNION ALL SELECT 95, 29000166 UNION ALL SELECT 95, 29000167 UNION ALL SELECT 95, 29000168 UNION ALL SELECT 95, 29000169 UNION ALL SELECT 95, 29000170 UNION ALL SELECT 95, 29000171 UNION ALL SELECT 95, 29000172 UNION ALL SELECT 95, 29000173 UNION ALL SELECT 95, 29000174 UNION ALL SELECT 95, 29000175 UNION ALL SELECT 95, 29000176 UNION ALL SELECT 95, 29000177 UNION ALL SELECT 95, 29000178 UNION ALL SELECT 95, 29000179 UNION ALL SELECT 95, 29000180 UNION ALL SELECT 95, 29000181 UNION ALL SELECT 95, 29000182 UNION ALL SELECT 95, 29000183 UNION ALL SELECT 95, 29000184 UNION ALL SELECT 96, 29000185 UNION ALL SELECT 96, 29000186 UNION ALL SELECT 96, 29000187 UNION ALL SELECT 96, 29000188 UNION ALL SELECT 96, 29000189 UNION ALL SELECT 96, 29000190 UNION ALL SELECT 96, 29000191 UNION ALL SELECT 97, 29000192 UNION ALL SELECT 97, 29000193 UNION ALL SELECT 97, 29000194 UNION ALL SELECT 97, 29000195 UNION ALL SELECT 97, 29000196 UNION ALL SELECT 97, 29000197 UNION ALL SELECT 97, 29000198 UNION ALL SELECT 98, 29000199 UNION ALL SELECT 98, 29000200 UNION ALL SELECT 98, 29000201 UNION ALL SELECT 98, 29000202 UNION ALL SELECT 98, 29000203 UNION ALL SELECT 98, 29000204 UNION ALL SELECT 98, 29000205 UNION ALL SELECT 99, 29000206 UNION ALL SELECT 99, 29000207 UNION ALL SELECT 99, 29000208 UNION ALL SELECT 99, 29000209 UNION ALL SELECT 99, 29000210 UNION ALL SELECT 99, 29000211 UNION ALL SELECT 99, 29000212 UNION ALL SELECT 17, 29000213 UNION ALL SELECT 17, 29000214 UNION ALL SELECT 17, 29000215 UNION ALL SELECT 17, 29000216 UNION ALL SELECT 17, 29000217 UNION ALL SELECT 17, 29000218 UNION ALL SELECT 17, 29000219 UNION ALL SELECT 17, 29000220 UNION ALL SELECT 17, 29000221 UNION ALL SELECT 17, 29000222 UNION ALL SELECT 17, 29000223 UNION ALL SELECT 17, 29000224 UNION ALL SELECT 17, 29000225 UNION ALL SELECT 17, 29000226 UNION ALL SELECT 17, 29000227 UNION ALL SELECT 17, 29000228 UNION ALL SELECT 17, 29000229 UNION ALL SELECT 17, 29000230 UNION ALL SELECT 17, 29000231 UNION ALL SELECT 17, 29000232 UNION ALL SELECT 17, 29000233 UNION ALL SELECT 17, 29000234 UNION ALL SELECT 17, 29000235 UNION ALL SELECT 17, 29000236 UNION ALL SELECT 17, 29000237 UNION ALL SELECT 17, 29000238 UNION ALL SELECT 17, 29000239 UNION ALL SELECT 17, 29000240 UNION ALL SELECT 17, 29000241 UNION ALL SELECT 17, 29000242 UNION ALL SELECT 17, 29000243 UNION ALL SELECT 17, 29000244 UNION ALL SELECT 17, 29000245 UNION ALL SELECT 17, 29000246 UNION ALL SELECT 17, 29000247 UNION ALL SELECT 17, 29000248 UNION ALL SELECT 17, 29000249 UNION ALL SELECT 17, 29000250 UNION ALL SELECT 17, 29000251 UNION ALL SELECT 17, 29000252 UNION ALL SELECT 17, 29000253 UNION ALL SELECT 17, 29000254 UNION ALL SELECT 17, 29000255 UNION ALL SELECT 17, 29000256 UNION ALL SELECT 17, 29000257 UNION ALL SELECT 17, 29000258 UNION ALL SELECT 17, 29000259 UNION ALL SELECT 17, 29000260 UNION ALL SELECT 17, 29000261 UNION ALL SELECT 17, 29000262 UNION ALL SELECT 17, 29000263 UNION ALL SELECT 17, 29000264 UNION ALL SELECT 17, 29000265 UNION ALL SELECT 17, 29000266 UNION ALL SELECT 17, 29000267 UNION ALL SELECT 17, 29000268 UNION ALL SELECT 17, 29000269 UNION ALL SELECT 17, 29000270 UNION ALL SELECT 17, 29000271 UNION ALL SELECT 17, 29000272 UNION ALL SELECT 17, 29000273 UNION ALL SELECT 17, 29000274 UNION ALL SELECT 17, 29000275 UNION ALL SELECT 17, 29000276 UNION ALL SELECT 17, 29000277 UNION ALL SELECT 17, 29000278 UNION ALL SELECT 17, 29000279 UNION ALL SELECT 17, 29000280 UNION ALL SELECT 17, 29000281 UNION ALL SELECT 17, 29000282 UNION ALL SELECT 17, 29000283 UNION ALL SELECT 17, 29000284 UNION ALL SELECT 17, 29000285 UNION ALL SELECT 17, 29000286 UNION ALL SELECT 17, 29000287 UNION ALL SELECT 17, 29000288 UNION ALL SELECT 17, 29000289 UNION ALL SELECT 17, 29000290 UNION ALL SELECT 17, 29000291 UNION ALL SELECT 17, 29000292 UNION ALL SELECT 17, 29000293 UNION ALL SELECT 17, 29000294 UNION ALL SELECT 17, 29000295 UNION ALL SELECT 17, 29000296 UNION ALL SELECT 17, 29000297 UNION ALL SELECT 17, 29000298 UNION ALL SELECT 17, 29000299 UNION ALL SELECT 17, 29000300 UNION ALL SELECT 17, 29000301 UNION ALL SELECT 17, 29000302 UNION ALL SELECT 17, 29000303 UNION ALL SELECT 17, 29000304 UNION ALL SELECT 17, 29000305 UNION ALL SELECT 17, 29000306 UNION ALL SELECT 17, 29000307 UNION ALL SELECT 17, 29000308 UNION ALL SELECT 17, 29000309 UNION ALL SELECT 17, 29000310 UNION ALL SELECT 17, 29000311 UNION ALL SELECT 17, 29000312 UNION ALL SELECT 17, 29000313 UNION ALL SELECT 17, 29000314 UNION ALL SELECT 17, 29000315 UNION ALL SELECT 17, 29000316 UNION ALL SELECT 17, 29000317 UNION ALL SELECT 17, 29000318 UNION ALL SELECT 17, 29000319 UNION ALL SELECT 17, 29000320 UNION ALL SELECT 17, 29000321 UNION ALL SELECT 17, 29000322 UNION ALL SELECT 17, 29000323 UNION ALL SELECT 17, 29000324 UNION ALL SELECT 17, 29000325 UNION ALL SELECT 17, 29000326 UNION ALL SELECT 17, 29000327 UNION ALL SELECT 17, 29000328 UNION ALL SELECT 17, 29000329 UNION ALL SELECT 17, 29000330 UNION ALL SELECT 17, 29000331 UNION ALL SELECT 17, 29000332 UNION ALL SELECT 17, 29000333 UNION ALL SELECT 17, 29000334 UNION ALL SELECT 17, 29000335 UNION ALL SELECT 17, 29000336 UNION ALL SELECT 17, 29000337 UNION ALL SELECT 17, 29000338 UNION ALL SELECT 17, 29000339 UNION ALL SELECT 17, 29000340 UNION ALL SELECT 17, 29000341 UNION ALL SELECT 17, 29000342 UNION ALL SELECT 17, 29000343 UNION ALL SELECT 17, 29000344 UNION ALL SELECT 17, 29000345 UNION ALL SELECT 17, 29000346 UNION ALL SELECT 17, 29000347 UNION ALL SELECT 17, 29000348 UNION ALL SELECT 17, 29000349 UNION ALL SELECT 17, 29000350 UNION ALL SELECT 17, 29000351 UNION ALL SELECT 17, 29000352 UNION ALL SELECT 17, 29000353 UNION ALL SELECT 17, 29000354 UNION ALL SELECT 17, 29000355 UNION ALL SELECT 17, 29000356 UNION ALL SELECT 17, 29000357 UNION ALL SELECT 17, 29000358 UNION ALL SELECT 17, 29000359 UNION ALL SELECT 17, 29000360 UNION ALL SELECT 17, 29000361 UNION ALL SELECT 17, 29000362 UNION ALL SELECT 17, 29000363 UNION ALL SELECT 17, 29000364 UNION ALL SELECT 17, 29000365 UNION ALL SELECT 17, 29000366 UNION ALL SELECT 17, 29000367 UNION ALL SELECT 17, 29000368 UNION ALL SELECT 17, 29000369 UNION ALL SELECT 17, 29000370 UNION ALL SELECT 17, 29000371 UNION ALL SELECT 17, 29000372 UNION ALL SELECT 17, 29000373 UNION ALL SELECT 17, 29000374 UNION ALL SELECT 17, 29000375 UNION ALL SELECT 17, 29000376 UNION ALL SELECT 17, 29000377 UNION ALL SELECT 17, 29000378 UNION ALL SELECT 17, 29000379 UNION ALL SELECT 17, 29000380 UNION ALL SELECT 17, 29000381 UNION ALL SELECT 17, 29000382 UNION ALL SELECT 17, 29000383 UNION ALL SELECT 17, 29000384 UNION ALL SELECT 17, 29000385 UNION ALL SELECT 17, 29000386 UNION ALL SELECT 17, 29000387 UNION ALL SELECT 17, 29000388 UNION ALL SELECT 17, 29000389 UNION ALL SELECT 17, 29000390 UNION ALL SELECT 17, 29000391 UNION ALL SELECT 17, 29000392 UNION ALL SELECT 17, 29000393 UNION ALL SELECT 17, 29000394 UNION ALL SELECT 17, 29000395 UNION ALL SELECT 17, 29000396 UNION ALL SELECT 17, 29000397 UNION ALL SELECT 17, 29000398 UNION ALL SELECT 17, 29000399 UNION ALL SELECT 17, 29000400 UNION ALL SELECT 17, 29000401 UNION ALL SELECT 17, 29000402 UNION ALL SELECT 17, 29000403 UNION ALL SELECT 17, 29000404 UNION ALL SELECT 17, 29000405 UNION ALL SELECT 17, 29000406 UNION ALL SELECT 17, 29000407 UNION ALL SELECT 17, 29000408 UNION ALL SELECT 17, 29000409 UNION ALL SELECT 17, 29000410 UNION ALL SELECT 17, 29000411 UNION ALL SELECT 17, 29000412 UNION ALL SELECT 17, 29000413 UNION ALL SELECT 17, 29000414 UNION ALL SELECT 17, 29000415 UNION ALL SELECT 17, 29000416 UNION ALL SELECT 17, 29000417 UNION ALL SELECT 17, 29000418 UNION ALL SELECT 17, 29000419 UNION ALL SELECT 17, 29000420 UNION ALL SELECT 17, 29000421 UNION ALL SELECT 17, 29000422 UNION ALL SELECT 17, 29000423 UNION ALL SELECT 17, 29000424 UNION ALL SELECT 17, 29000425 UNION ALL SELECT 17, 29000426 UNION ALL SELECT 17, 29000427 UNION ALL SELECT 17, 29000428 UNION ALL SELECT 17, 29000429 UNION ALL SELECT 17, 29000430 UNION ALL SELECT 17, 29000431 UNION ALL SELECT 17, 29000432 UNION ALL SELECT 17, 29000433 UNION ALL SELECT 17, 29000434 UNION ALL SELECT 17, 29000435 UNION ALL SELECT 17, 29000436 UNION ALL SELECT 17, 29000437 UNION ALL SELECT 17, 29000438 UNION ALL SELECT 17, 29000439 UNION ALL SELECT 17, 29000440 UNION ALL SELECT 17, 29000441 UNION ALL SELECT 17, 29000442 UNION ALL SELECT 17, 29000443 UNION ALL SELECT 90, 29000444 UNION ALL SELECT 90, 29000445 UNION ALL SELECT 90, 29000446 UNION ALL SELECT 90, 29000447 UNION ALL SELECT 90, 29000448 UNION ALL SELECT 90, 29000449 UNION ALL SELECT 90, 29000450 UNION ALL SELECT 90, 29000451 UNION ALL SELECT 90, 29000452 UNION ALL SELECT 90, 29000453 UNION ALL SELECT 90, 29000454 UNION ALL SELECT 90, 29000455 UNION ALL SELECT 90, 29000456 UNION ALL SELECT 90, 29000457 UNION ALL SELECT 90, 29000458 UNION ALL SELECT 90, 29000459 UNION ALL SELECT 90, 29000460 UNION ALL SELECT 90, 29000461 UNION ALL SELECT 90, 29000462 UNION ALL SELECT 90, 29000463 UNION ALL SELECT 90, 29000464 UNION ALL SELECT 90, 29000465 UNION ALL SELECT 90, 29000466 UNION ALL SELECT 90, 29000467 UNION ALL SELECT 90, 29000468 UNION ALL SELECT 90, 29000469 UNION ALL SELECT 90, 29000470 UNION ALL SELECT 90, 29000471 UNION ALL SELECT 90, 29000472 UNION ALL SELECT 90, 29000473 UNION ALL SELECT 90, 29000474 UNION ALL SELECT 90, 29000475 UNION ALL SELECT 90, 29000476 UNION ALL SELECT 90, 29000477 UNION ALL SELECT 90, 29000478 UNION ALL SELECT 90, 29000479 UNION ALL SELECT 90, 29000480 UNION ALL SELECT 90, 29000481 UNION ALL SELECT 90, 29000482 UNION ALL SELECT 90, 29000483 UNION ALL SELECT 90, 29000484 UNION ALL SELECT 90, 29000485 UNION ALL SELECT 90, 29000486 UNION ALL SELECT 90, 29000487 UNION ALL SELECT 90, 29000488 UNION ALL SELECT 90, 29000489 UNION ALL SELECT 90, 29000490 UNION ALL SELECT 90, 29000491 UNION ALL SELECT 90, 29000492 UNION ALL SELECT 90, 29000493 UNION ALL SELECT 90, 29000494 UNION ALL SELECT 90, 29000495 UNION ALL SELECT 90, 29000496 UNION ALL SELECT 90, 29000497 UNION ALL SELECT 90, 29000498 UNION ALL SELECT 90, 29000499 UNION ALL SELECT 90, 29000500 UNION ALL SELECT 90, 29000501 UNION ALL SELECT 90, 29000502 UNION ALL SELECT 90, 29000503 UNION ALL SELECT 90, 29000504 UNION ALL SELECT 90, 29000505 UNION ALL SELECT 90, 29000506 UNION ALL SELECT 90, 29000507 UNION ALL SELECT 90, 29000508 UNION ALL SELECT 90, 29000509 UNION ALL SELECT 90, 29000510 UNION ALL SELECT 90, 29000511 UNION ALL SELECT 90, 29000512 UNION ALL SELECT 90, 29000513 UNION ALL SELECT 90, 29000514 UNION ALL SELECT 90, 29000515 UNION ALL SELECT 90, 29000516 UNION ALL SELECT 90, 29000517 UNION ALL SELECT 90, 29000518 UNION ALL SELECT 90, 29000519 UNION ALL SELECT 90, 29000520 UNION ALL SELECT 90, 29000521 UNION ALL SELECT 90, 29000522 UNION ALL SELECT 90, 29000523 UNION ALL SELECT 90, 29000524 UNION ALL SELECT 90, 29000525 UNION ALL SELECT 90, 29000526 UNION ALL SELECT 90, 29000527 UNION ALL SELECT 90, 29000528 UNION ALL SELECT 90, 29000529 UNION ALL SELECT 90, 29000530 UNION ALL SELECT 90, 29000531 UNION ALL SELECT 90, 29000532 UNION ALL SELECT 90, 29000533 UNION ALL SELECT 90, 29000534 UNION ALL SELECT 90, 29000535 UNION ALL SELECT 90, 29000536 UNION ALL SELECT 90, 29000537 UNION ALL SELECT 90, 29000538 UNION ALL SELECT 90, 29000539 UNION ALL SELECT 90, 29000540 UNION ALL SELECT 90, 29000541 UNION ALL SELECT 90, 29000542 UNION ALL SELECT 90, 29000543 UNION ALL SELECT 90, 29000544 UNION ALL SELECT 90, 29000545 UNION ALL SELECT 90, 29000546 UNION ALL SELECT 90, 29000547 UNION ALL SELECT 90, 29000548 UNION ALL SELECT 90, 29000549 UNION ALL SELECT 90, 29000550 UNION ALL SELECT 90, 29000551 UNION ALL SELECT 90, 29000552 UNION ALL SELECT 90, 29000553 UNION ALL SELECT 90, 29000554 UNION ALL SELECT 90, 29000555 UNION ALL SELECT 90, 29000556 UNION ALL SELECT 90, 29000557 UNION ALL SELECT 90, 29000558 UNION ALL SELECT 90, 29000559 UNION ALL SELECT 90, 29000560 UNION ALL SELECT 90, 29000561 UNION ALL SELECT 90, 29000562 UNION ALL SELECT 90, 29000563 UNION ALL SELECT 90, 29000564 UNION ALL SELECT 90, 29000565 UNION ALL SELECT 90, 29000566 UNION ALL SELECT 90, 29000567 UNION ALL SELECT 90, 29000568 UNION ALL SELECT 90, 29000569 UNION ALL SELECT 90, 29000570 UNION ALL SELECT 90, 29000571 UNION ALL SELECT 90, 29000572 UNION ALL SELECT 90, 29000573 UNION ALL SELECT 90, 29000574 UNION ALL SELECT 90, 29000575 UNION ALL SELECT 90, 29000576 UNION ALL SELECT 90, 29000577 UNION ALL SELECT 90, 29000578 UNION ALL SELECT 90, 29000579 UNION ALL SELECT 90, 29000580 UNION ALL SELECT 90, 29000581 UNION ALL SELECT 90, 29000582 UNION ALL SELECT 90, 29000583 UNION ALL SELECT 90, 29000584 UNION ALL SELECT 90, 29000585 UNION ALL SELECT 90, 29000586 UNION ALL SELECT 90, 29000587 UNION ALL SELECT 90, 29000588 UNION ALL SELECT 90, 29000589 UNION ALL SELECT 90, 29000590 UNION ALL SELECT 90, 29000591 UNION ALL SELECT 90, 29000592 UNION ALL SELECT 90, 29000593 UNION ALL SELECT 90, 29000594 UNION ALL SELECT 90, 29000595 UNION ALL SELECT 90, 29000596 UNION ALL SELECT 90, 29000597 UNION ALL SELECT 90, 29000598 UNION ALL SELECT 90, 29000599 UNION ALL SELECT 90, 29000600 UNION ALL SELECT 90, 29000601 UNION ALL SELECT 90, 29000602 UNION ALL SELECT 90, 29000603 UNION ALL SELECT 90, 29000604 UNION ALL SELECT 90, 29000605 UNION ALL SELECT 90, 29000606 UNION ALL SELECT 90, 29000607 UNION ALL SELECT 90, 29000608 UNION ALL SELECT 90, 29000609 UNION ALL SELECT 90, 29000610 UNION ALL SELECT 90, 29000611 UNION ALL SELECT 90, 29000612 UNION ALL SELECT 90, 29000613 UNION ALL SELECT 90, 29000614 UNION ALL SELECT 90, 29000615 UNION ALL SELECT 90, 29000616 UNION ALL SELECT 90, 29000617 UNION ALL SELECT 90, 29000618 UNION ALL SELECT 90, 29000619 UNION ALL SELECT 90, 29000620 UNION ALL SELECT 90, 29000621 UNION ALL SELECT 90, 29000622 UNION ALL SELECT 90, 29000623 UNION ALL SELECT 90, 29000624 UNION ALL SELECT 90, 29000625 UNION ALL SELECT 90, 29000626 UNION ALL SELECT 90, 29000627 UNION ALL SELECT 90, 29000628 UNION ALL SELECT 90, 29000629 UNION ALL SELECT 90, 29000630 UNION ALL SELECT 90, 29000631 UNION ALL SELECT 90, 29000632 UNION ALL SELECT 90, 29000633 UNION ALL SELECT 90, 29000634 UNION ALL SELECT 90, 29000635 UNION ALL SELECT 90, 29000636 UNION ALL SELECT 90, 29000637 UNION ALL SELECT 90, 29000638 UNION ALL SELECT 90, 29000639 UNION ALL SELECT 90, 29000640 UNION ALL SELECT 90, 29000641 UNION ALL SELECT 90, 29000642 UNION ALL SELECT 90, 29000643 UNION ALL SELECT 90, 29000644 UNION ALL SELECT 90, 29000645 UNION ALL SELECT 90, 29000646 UNION ALL SELECT 90, 29000647 UNION ALL SELECT 90, 29000648 UNION ALL SELECT 90, 29000649 UNION ALL SELECT 90, 29000650 UNION ALL SELECT 90, 29000651 UNION ALL SELECT 90, 29000652 UNION ALL SELECT 90, 29000653 UNION ALL SELECT 90, 29000654 UNION ALL SELECT 90, 29000655 UNION ALL SELECT 90, 29000656 UNION ALL SELECT 90, 29000657 UNION ALL SELECT 90, 29000658 UNION ALL SELECT 90, 29000659 UNION ALL SELECT 90, 29000660 UNION ALL SELECT 90, 29000661 UNION ALL SELECT 90, 29000662 UNION ALL SELECT 90, 29000663 UNION ALL SELECT 90, 29000664 UNION ALL SELECT 90, 29000665 UNION ALL SELECT 90, 29000666 UNION ALL SELECT 90, 29000667 UNION ALL SELECT 90, 29000668 UNION ALL SELECT 90, 29000669 UNION ALL SELECT 90, 29000670 UNION ALL SELECT 90, 29000671 UNION ALL SELECT 90, 29000672 UNION ALL SELECT 90, 29000673 UNION ALL SELECT 90, 29000674 UNION ALL SELECT 90, 29000675 UNION ALL SELECT 90, 29000676 UNION ALL SELECT 90, 29000677 UNION ALL SELECT 90, 29000678 UNION ALL SELECT 90, 29000679 UNION ALL SELECT 90, 29000680 UNION ALL SELECT 90, 29000681 UNION ALL SELECT 90, 29000682 UNION ALL SELECT 90, 29000683 UNION ALL SELECT 90, 29000684 UNION ALL SELECT 90, 29000685 UNION ALL SELECT 90, 29000686 UNION ALL SELECT 90, 29000687 UNION ALL SELECT 90, 29000688 UNION ALL SELECT 90, 29000689 UNION ALL SELECT 91, 29000690 UNION ALL SELECT 91, 29000691 UNION ALL SELECT 91, 29000692 UNION ALL SELECT 91, 29000693 UNION ALL SELECT 91, 29000694 UNION ALL SELECT 91, 29000695 UNION ALL SELECT 91, 29000696 UNION ALL SELECT 91, 29000697 UNION ALL SELECT 91, 29000698 UNION ALL SELECT 91, 29000699 UNION ALL SELECT 91, 29000700 UNION ALL SELECT 91, 29000701 UNION ALL SELECT 91, 29000702 UNION ALL SELECT 91, 29000703 UNION ALL SELECT 91, 29000704 UNION ALL SELECT 91, 29000705 UNION ALL SELECT 91, 29000706 UNION ALL SELECT 91, 29000707 UNION ALL SELECT 91, 29000708 UNION ALL SELECT 91, 29000709 UNION ALL SELECT 91, 29000710 UNION ALL SELECT 91, 29000711 UNION ALL SELECT 91, 29000712 UNION ALL SELECT 91, 29000713 UNION ALL SELECT 91, 29000714 UNION ALL SELECT 91, 29000715 UNION ALL SELECT 91, 29000716 UNION ALL SELECT 91, 29000717 UNION ALL SELECT 91, 29000718 UNION ALL SELECT 91, 29000719 UNION ALL SELECT 91, 29000720 UNION ALL SELECT 91, 29000721 UNION ALL SELECT 91, 29000722 UNION ALL SELECT 91, 29000723 UNION ALL SELECT 91, 29000724 UNION ALL SELECT 91, 29000725 UNION ALL SELECT 91, 29000726 UNION ALL SELECT 91, 29000727 UNION ALL SELECT 91, 29000728 UNION ALL SELECT 91, 29000729 UNION ALL SELECT 91, 29000730 UNION ALL SELECT 91, 29000731 UNION ALL SELECT 91, 29000732 UNION ALL SELECT 91, 29000733 UNION ALL SELECT 91, 29000734 UNION ALL SELECT 91, 29000735 UNION ALL SELECT 91, 29000736 UNION ALL SELECT 91, 29000737 UNION ALL SELECT 91, 29000738 UNION ALL SELECT 91, 29000739 UNION ALL SELECT 91, 29000740 UNION ALL SELECT 91, 29000741 UNION ALL SELECT 91, 29000742 UNION ALL SELECT 91, 29000743 UNION ALL SELECT 91, 29000744 UNION ALL SELECT 91, 29000745 UNION ALL SELECT 91, 29000746 UNION ALL SELECT 91, 29000747 UNION ALL SELECT 91, 29000748 UNION ALL SELECT 91, 29000749 UNION ALL SELECT 91, 29000750 UNION ALL SELECT 91, 29000751 UNION ALL SELECT 91, 29000752 UNION ALL SELECT 91, 29000753 UNION ALL SELECT 91, 29000754 UNION ALL SELECT 91, 29000755 UNION ALL SELECT 91, 29000756 UNION ALL SELECT 91, 29000757 UNION ALL SELECT 91, 29000758 UNION ALL SELECT 91, 29000759 UNION ALL SELECT 91, 29000760 UNION ALL SELECT 91, 29000761 UNION ALL SELECT 91, 29000762 UNION ALL SELECT 91, 29000763 UNION ALL SELECT 91, 29000764 UNION ALL SELECT 91, 29000765 UNION ALL SELECT 91, 29000766 UNION ALL SELECT 91, 29000767 UNION ALL SELECT 91, 29000768 UNION ALL SELECT 91, 29000769 UNION ALL SELECT 91, 29000770 UNION ALL SELECT 91, 29000771 UNION ALL SELECT 91, 29000772 UNION ALL SELECT 91, 29000773 UNION ALL SELECT 91, 29000774 UNION ALL SELECT 91, 29000775 UNION ALL SELECT 91, 29000776 UNION ALL SELECT 91, 29000777 UNION ALL SELECT 91, 29000778 UNION ALL SELECT 91, 29000779 UNION ALL SELECT 91, 29000780 UNION ALL SELECT 91, 29000781 UNION ALL SELECT 91, 29000782 UNION ALL SELECT 91, 29000783 UNION ALL SELECT 91, 29000784 UNION ALL SELECT 91, 29000785 UNION ALL SELECT 91, 29000786 UNION ALL SELECT 91, 29000787 UNION ALL SELECT 91, 29000788 UNION ALL SELECT 91, 29000789 UNION ALL SELECT 91, 29000790 UNION ALL SELECT 91, 29000791 UNION ALL SELECT 91, 29000792 UNION ALL SELECT 91, 29000793 UNION ALL SELECT 91, 29000794 UNION ALL SELECT 91, 29000795 UNION ALL SELECT 91, 29000796 UNION ALL SELECT 91, 29000797 UNION ALL SELECT 91, 29000798 UNION ALL SELECT 91, 29000799 UNION ALL SELECT 91, 29000800 UNION ALL SELECT 91, 29000801 UNION ALL SELECT 91, 29000802 UNION ALL SELECT 91, 29000803 UNION ALL SELECT 91, 29000804 UNION ALL SELECT 91, 29000805 UNION ALL SELECT 91, 29000806 UNION ALL SELECT 91, 29000807 UNION ALL SELECT 91, 29000808 UNION ALL SELECT 91, 29000809 UNION ALL SELECT 91, 29000810 UNION ALL SELECT 91, 29000811 UNION ALL SELECT 91, 29000812 UNION ALL SELECT 91, 29000813 UNION ALL SELECT 91, 29000814 UNION ALL SELECT 91, 29000815 UNION ALL SELECT 91, 29000816 UNION ALL SELECT 91, 29000817 UNION ALL SELECT 91, 29000818 UNION ALL SELECT 91, 29000819 UNION ALL SELECT 91, 29000820 UNION ALL SELECT 91, 29000821 UNION ALL SELECT 91, 29000822 UNION ALL SELECT 91, 29000823 UNION ALL SELECT 91, 29000824 UNION ALL SELECT 91, 29000825 UNION ALL SELECT 91, 29000826 UNION ALL SELECT 91, 29000827 UNION ALL SELECT 91, 29000828 UNION ALL SELECT 91, 29000829 UNION ALL SELECT 91, 29000830 UNION ALL SELECT 91, 29000831 UNION ALL SELECT 91, 29000832 UNION ALL SELECT 91, 29000833 UNION ALL SELECT 91, 29000834 UNION ALL SELECT 91, 29000835 UNION ALL SELECT 91, 29000836 UNION ALL SELECT 91, 29000837 UNION ALL SELECT 91, 29000838 UNION ALL SELECT 91, 29000839 UNION ALL SELECT 91, 29000840 UNION ALL SELECT 91, 29000841 UNION ALL SELECT 91, 29000842 UNION ALL SELECT 91, 29000843 UNION ALL SELECT 91, 29000844 UNION ALL SELECT 91, 29000845 UNION ALL SELECT 91, 29000846 UNION ALL SELECT 91, 29000847 UNION ALL SELECT 91, 29000848 UNION ALL SELECT 91, 29000849 UNION ALL SELECT 91, 29000850 UNION ALL SELECT 91, 29000851 UNION ALL SELECT 91, 29000852 UNION ALL SELECT 91, 29000853 UNION ALL SELECT 91, 29000854 UNION ALL SELECT 91, 29000855 UNION ALL SELECT 91, 29000856 UNION ALL SELECT 91, 29000857 UNION ALL SELECT 91, 29000858 UNION ALL SELECT 91, 29000859 UNION ALL SELECT 91, 29000860 UNION ALL SELECT 91, 29000861 UNION ALL SELECT 91, 29000862 UNION ALL SELECT 91, 29000863 UNION ALL SELECT 91, 29000864 UNION ALL SELECT 91, 29000865 UNION ALL SELECT 91, 29000866 UNION ALL SELECT 91, 29000867 UNION ALL SELECT 91, 29000868 UNION ALL SELECT 91, 29000869 UNION ALL SELECT 91, 29000870 UNION ALL SELECT 91, 29000871 UNION ALL SELECT 91, 29000872 UNION ALL SELECT 91, 29000873 UNION ALL SELECT 91, 29000874 UNION ALL SELECT 91, 29000875 UNION ALL SELECT 91, 29000876 UNION ALL SELECT 91, 29000877 UNION ALL SELECT 91, 29000878 UNION ALL SELECT 91, 29000879 UNION ALL SELECT 91, 29000880 UNION ALL SELECT 91, 29000881 UNION ALL SELECT 91, 29000882 UNION ALL SELECT 91, 29000883 UNION ALL SELECT 91, 29000884 UNION ALL SELECT 91, 29000885 UNION ALL SELECT 91, 29000886 UNION ALL SELECT 91, 29000887 UNION ALL SELECT 91, 29000888 UNION ALL SELECT 91, 29000889 UNION ALL SELECT 91, 29000890 UNION ALL SELECT 91, 29000891 UNION ALL SELECT 91, 29000892 UNION ALL SELECT 91, 29000893 UNION ALL SELECT 91, 29000894 UNION ALL SELECT 91, 29000895 UNION ALL SELECT 91, 29000896 UNION ALL SELECT 91, 29000897 UNION ALL SELECT 91, 29000898 UNION ALL SELECT 91, 29000899 UNION ALL SELECT 91, 29000900 UNION ALL SELECT 91, 29000901 UNION ALL SELECT 91, 29000902 UNION ALL SELECT 91, 29000903 UNION ALL SELECT 91, 29000904 UNION ALL SELECT 91, 29000905 UNION ALL SELECT 91, 29000906 UNION ALL SELECT 91, 29000907 UNION ALL SELECT 91, 29000908 UNION ALL SELECT 91, 29000909 UNION ALL SELECT 91, 29000910 UNION ALL SELECT 91, 29000911 UNION ALL SELECT 91, 29000912 UNION ALL SELECT 91, 29000913 UNION ALL SELECT 91, 29000914 UNION ALL SELECT 91, 29000915 UNION ALL SELECT 91, 29000916 UNION ALL SELECT 91, 29000917 UNION ALL SELECT 91, 29000918 UNION ALL SELECT 91, 29000919 UNION ALL SELECT 91, 29000920 UNION ALL SELECT 91, 29000921 UNION ALL SELECT 91, 29000922 UNION ALL SELECT 91, 29000923 UNION ALL SELECT 91, 29000924 UNION ALL SELECT 91, 29000925 UNION ALL SELECT 91, 29000926 UNION ALL SELECT 91, 29000927 UNION ALL SELECT 91, 29000928 UNION ALL SELECT 91, 29000929 UNION ALL SELECT 91, 29000930 UNION ALL SELECT 91, 29000931 UNION ALL SELECT 91, 29000932 UNION ALL SELECT 91, 29000933 UNION ALL SELECT 91, 29000934 UNION ALL SELECT 91, 29000935 UNION ALL SELECT 91, 29000936 UNION ALL SELECT 91, 29000937 UNION ALL SELECT 91, 29000938 UNION ALL SELECT 91, 29000939 UNION ALL SELECT 91, 29000940 UNION ALL SELECT 91, 29000941 UNION ALL SELECT 91, 29000942 UNION ALL SELECT 91, 29000943 UNION ALL SELECT 91, 29000944 UNION ALL SELECT 91, 29000945 UNION ALL SELECT 91, 29000946 UNION ALL SELECT 91, 29000947 UNION ALL SELECT 91, 29000948 UNION ALL SELECT 91, 29000949 UNION ALL SELECT 91, 29000950 UNION ALL SELECT 91, 29000951 UNION ALL SELECT 91, 29000952 UNION ALL SELECT 91, 29000953 UNION ALL SELECT 91, 29000954 UNION ALL SELECT 91, 29000955 UNION ALL SELECT 91, 29000956 UNION ALL SELECT 91, 29000957 UNION ALL SELECT 91, 29000958 UNION ALL SELECT 91, 29000959 UNION ALL SELECT 91, 29000960 UNION ALL SELECT 91, 29000961 UNION ALL SELECT 91, 29000962 UNION ALL SELECT 91, 29000963 UNION ALL SELECT 91, 29000964 UNION ALL SELECT 91, 29000965 UNION ALL SELECT 92, 29000966 UNION ALL SELECT 92, 29000967 UNION ALL SELECT 92, 29000968 UNION ALL SELECT 92, 29000969 UNION ALL SELECT 92, 29000970 UNION ALL SELECT 92, 29000971 UNION ALL SELECT 92, 29000972 UNION ALL SELECT 92, 29000973 UNION ALL SELECT 92, 29000974 UNION ALL SELECT 92, 29000975 UNION ALL SELECT 92, 29000976 UNION ALL SELECT 92, 29000977 UNION ALL SELECT 92, 29000978 UNION ALL SELECT 92, 29000979 UNION ALL SELECT 92, 29000980 UNION ALL SELECT 92, 29000981 UNION ALL SELECT 92, 29000982 UNION ALL SELECT 92, 29000983 UNION ALL SELECT 92, 29000984 UNION ALL SELECT 92, 29000985 UNION ALL SELECT 92, 29000986 UNION ALL SELECT 92, 29000987 UNION ALL SELECT 92, 29000988 UNION ALL SELECT 92, 29000989 UNION ALL SELECT 92, 29000990 UNION ALL SELECT 92, 29000991 UNION ALL SELECT 92, 29000992 UNION ALL SELECT 92, 29000993 UNION ALL SELECT 92, 29000994 UNION ALL SELECT 92, 29000995 UNION ALL SELECT 92, 29000996 UNION ALL SELECT 92, 29000997 UNION ALL SELECT 92, 29000998 UNION ALL SELECT 92, 29000999 UNION ALL SELECT 92, 29001000 UNION ALL SELECT 92, 29001001 UNION ALL SELECT 92, 29001002 UNION ALL SELECT 92, 29001003 UNION ALL SELECT 92, 29001004 UNION ALL SELECT 92, 29001005 UNION ALL SELECT 92, 29001006 UNION ALL SELECT 92, 29001007 UNION ALL SELECT 92, 29001008 UNION ALL SELECT 92, 29001009 UNION ALL SELECT 92, 29001010 UNION ALL SELECT 92, 29001011 UNION ALL SELECT 92, 29001012 UNION ALL SELECT 92, 29001013 UNION ALL SELECT 92, 29001014 UNION ALL SELECT 92, 29001015 UNION ALL SELECT 92, 29001016 UNION ALL SELECT 92, 29001017 UNION ALL SELECT 92, 29001018 UNION ALL SELECT 92, 29001019 UNION ALL SELECT 92, 29001020 UNION ALL SELECT 92, 29001021 UNION ALL SELECT 92, 29001022 UNION ALL SELECT 92, 29001023 UNION ALL SELECT 92, 29001024 UNION ALL SELECT 92, 29001025 UNION ALL SELECT 92, 29001026 UNION ALL SELECT 92, 29001027 UNION ALL SELECT 92, 29001028 UNION ALL SELECT 92, 29001029 UNION ALL SELECT 92, 29001030 UNION ALL SELECT 92, 29001031 UNION ALL SELECT 92, 29001032 UNION ALL SELECT 92, 29001033 UNION ALL SELECT 92, 29001034 UNION ALL SELECT 92, 29001035 UNION ALL SELECT 92, 29001036 UNION ALL SELECT 92, 29001037 UNION ALL SELECT 92, 29001038 UNION ALL SELECT 92, 29001039 UNION ALL SELECT 92, 29001040 UNION ALL SELECT 92, 29001041 UNION ALL SELECT 92, 29001042 UNION ALL SELECT 92, 29001043 UNION ALL SELECT 92, 29001044 UNION ALL SELECT 92, 29001045 UNION ALL SELECT 92, 29001046 UNION ALL SELECT 92, 29001047 UNION ALL SELECT 92, 29001048 UNION ALL SELECT 92, 29001049 UNION ALL SELECT 92, 29001050 UNION ALL SELECT 92, 29001051 UNION ALL SELECT 92, 29001052 UNION ALL SELECT 92, 29001053 UNION ALL SELECT 92, 29001054 UNION ALL SELECT 92, 29001055 UNION ALL SELECT 92, 29001056 UNION ALL SELECT 92, 29001057 UNION ALL SELECT 92, 29001058 UNION ALL SELECT 92, 29001059 UNION ALL SELECT 92, 29001060 UNION ALL SELECT 92, 29001061 UNION ALL SELECT 92, 29001062 UNION ALL SELECT 92, 29001063 UNION ALL SELECT 92, 29001064 UNION ALL SELECT 92, 29001065 UNION ALL SELECT 92, 29001066 UNION ALL SELECT 92, 29001067 UNION ALL SELECT 92, 29001068 UNION ALL SELECT 92, 29001069 UNION ALL SELECT 92, 29001070 UNION ALL SELECT 92, 29001071 UNION ALL SELECT 92, 29001072 UNION ALL SELECT 92, 29001073 UNION ALL SELECT 92, 29001074 UNION ALL SELECT 92, 29001075 UNION ALL SELECT 92, 29001076 UNION ALL SELECT 92, 29001077 UNION ALL SELECT 92, 29001078 UNION ALL SELECT 92, 29001079 UNION ALL SELECT 92, 29001080 UNION ALL SELECT 92, 29001081 UNION ALL SELECT 92, 29001082 UNION ALL SELECT 92, 29001083 UNION ALL SELECT 92, 29001084 UNION ALL SELECT 92, 29001085 UNION ALL SELECT 92, 29001086 UNION ALL SELECT 92, 29001087 UNION ALL SELECT 92, 29001088 UNION ALL SELECT 92, 29001089 UNION ALL SELECT 92, 29001090 UNION ALL SELECT 92, 29001091 UNION ALL SELECT 92, 29001092 UNION ALL SELECT 92, 29001093 UNION ALL SELECT 92, 29001094 UNION ALL SELECT 92, 29001095 UNION ALL SELECT 92, 29001096 UNION ALL SELECT 92, 29001097 UNION ALL SELECT 92, 29001098 UNION ALL SELECT 92, 29001099 UNION ALL SELECT 92, 29001100 UNION ALL SELECT 92, 29001101 UNION ALL SELECT 92, 29001102 UNION ALL SELECT 92, 29001103 UNION ALL SELECT 92, 29001104 UNION ALL SELECT 92, 29001105 UNION ALL SELECT 92, 29001106 UNION ALL SELECT 92, 29001107 UNION ALL SELECT 92, 29001108 UNION ALL SELECT 92, 29001109 UNION ALL SELECT 92, 29001110 UNION ALL SELECT 92, 29001111 UNION ALL SELECT 92, 29001112 UNION ALL SELECT 92, 29001113 UNION ALL SELECT 92, 29001114 UNION ALL SELECT 92, 29001115 UNION ALL SELECT 92, 29001116 UNION ALL SELECT 92, 29001117 UNION ALL SELECT 92, 29001118 UNION ALL SELECT 92, 29001119 UNION ALL SELECT 92, 29001120 UNION ALL SELECT 92, 29001121 UNION ALL SELECT 92, 29001122 UNION ALL SELECT 92, 29001123 UNION ALL SELECT 92, 29001124 UNION ALL SELECT 92, 29001125 UNION ALL SELECT 92, 29001126 UNION ALL SELECT 92, 29001127 UNION ALL SELECT 92, 29001128 UNION ALL SELECT 92, 29001129 UNION ALL SELECT 92, 29001130 UNION ALL SELECT 92, 29001131 UNION ALL SELECT 92, 29001132 UNION ALL SELECT 92, 29001133 UNION ALL SELECT 92, 29001134 UNION ALL SELECT 92, 29001135 UNION ALL SELECT 92, 29001136 UNION ALL SELECT 92, 29001137 UNION ALL SELECT 92, 29001138 UNION ALL SELECT 92, 29001139 UNION ALL SELECT 92, 29001140 UNION ALL SELECT 92, 29001141 UNION ALL SELECT 92, 29001142 UNION ALL SELECT 92, 29001143 UNION ALL SELECT 92, 29001144 UNION ALL SELECT 92, 29001145 UNION ALL SELECT 92, 29001146 UNION ALL SELECT 92, 29001147 UNION ALL SELECT 92, 29001148 UNION ALL SELECT 92, 29001149 UNION ALL SELECT 93, 29001150 UNION ALL SELECT 93, 29001151 UNION ALL SELECT 93, 29001152 UNION ALL SELECT 93, 29001153 UNION ALL SELECT 93, 29001154 UNION ALL SELECT 93, 29001155 UNION ALL SELECT 93, 29001156 UNION ALL SELECT 93, 29001157 UNION ALL SELECT 93, 29001158 UNION ALL SELECT 93, 29001159 UNION ALL SELECT 93, 29001160 UNION ALL SELECT 93, 29001161 UNION ALL SELECT 93, 29001162 UNION ALL SELECT 93, 29001163 UNION ALL SELECT 93, 29001164 UNION ALL SELECT 93, 29001165 UNION ALL SELECT 93, 29001166 UNION ALL SELECT 93, 29001167 UNION ALL SELECT 93, 29001168 UNION ALL SELECT 93, 29001169 UNION ALL SELECT 93, 29001170 UNION ALL SELECT 93, 29001171 UNION ALL SELECT 93, 29001172 UNION ALL SELECT 93, 29001173 UNION ALL SELECT 93, 29001174 UNION ALL SELECT 93, 29001175 UNION ALL SELECT 93, 29001176 UNION ALL SELECT 93, 29001177 UNION ALL SELECT 93, 29001178 UNION ALL SELECT 93, 29001179 UNION ALL SELECT 93, 29001180 UNION ALL SELECT 93, 29001181 UNION ALL SELECT 93, 29001182 UNION ALL SELECT 93, 29001183 UNION ALL SELECT 93, 29001184 UNION ALL SELECT 93, 29001185 UNION ALL SELECT 93, 29001186 UNION ALL SELECT 93, 29001187 UNION ALL SELECT 93, 29001188 UNION ALL SELECT 93, 29001189 UNION ALL SELECT 93, 29001190 UNION ALL SELECT 93, 29001191 UNION ALL SELECT 93, 29001192 UNION ALL SELECT 93, 29001193 UNION ALL SELECT 93, 29001194 UNION ALL SELECT 93, 29001195 UNION ALL SELECT 93, 29001196 UNION ALL SELECT 93, 29001197 UNION ALL SELECT 93, 29001198 UNION ALL SELECT 93, 29001199 UNION ALL SELECT 93, 29001200 UNION ALL SELECT 93, 29001201 UNION ALL SELECT 93, 29001202 UNION ALL SELECT 93, 29001203 UNION ALL SELECT 93, 29001204 UNION ALL SELECT 93, 29001205 UNION ALL SELECT 93, 29001206 UNION ALL SELECT 93, 29001207 UNION ALL SELECT 93, 29001208 UNION ALL SELECT 93, 29001209 UNION ALL SELECT 93, 29001210 UNION ALL SELECT 93, 29001211 UNION ALL SELECT 93, 29001212 UNION ALL SELECT 93, 29001213 UNION ALL SELECT 93, 29001214 UNION ALL SELECT 93, 29001215 UNION ALL SELECT 93, 29001216 UNION ALL SELECT 93, 29001217 UNION ALL SELECT 93, 29001218 UNION ALL SELECT 93, 29001219 UNION ALL SELECT 93, 29001220 UNION ALL SELECT 93, 29001221 UNION ALL SELECT 93, 29001222 UNION ALL SELECT 93, 29001223 UNION ALL SELECT 93, 29001224 UNION ALL SELECT 93, 29001225 UNION ALL SELECT 93, 29001226 UNION ALL SELECT 93, 29001227 UNION ALL SELECT 93, 29001228 UNION ALL SELECT 93, 29001229 UNION ALL SELECT 93, 29001230 UNION ALL SELECT 93, 29001231 UNION ALL SELECT 93, 29001232 UNION ALL SELECT 93, 29001233 UNION ALL SELECT 93, 29001234 UNION ALL SELECT 93, 29001235 UNION ALL SELECT 93, 29001236 UNION ALL SELECT 93, 29001237 UNION ALL SELECT 93, 29001238 UNION ALL SELECT 93, 29001239 UNION ALL SELECT 93, 29001240 UNION ALL SELECT 93, 29001241 UNION ALL SELECT 93, 29001242 UNION ALL SELECT 93, 29001243 UNION ALL SELECT 93, 29001244 UNION ALL SELECT 93, 29001245 UNION ALL SELECT 93, 29001246 UNION ALL SELECT 93, 29001247 UNION ALL SELECT 93, 29001248 UNION ALL SELECT 93, 29001249 UNION ALL SELECT 93, 29001250 UNION ALL SELECT 93, 29001251 UNION ALL SELECT 93, 29001252 UNION ALL SELECT 93, 29001253 UNION ALL SELECT 93, 29001254 UNION ALL SELECT 93, 29001255 UNION ALL SELECT 93, 29001256 UNION ALL SELECT 93, 29001257 UNION ALL SELECT 93, 29001258 UNION ALL SELECT 93, 29001259 UNION ALL SELECT 93, 29001260 UNION ALL SELECT 93, 29001261 UNION ALL SELECT 93, 29001262 UNION ALL SELECT 93, 29001263 UNION ALL SELECT 93, 29001264 UNION ALL SELECT 93, 29001265 UNION ALL SELECT 93, 29001266 UNION ALL SELECT 93, 29001267 UNION ALL SELECT 93, 29001268 UNION ALL SELECT 93, 29001269 UNION ALL SELECT 93, 29001270 UNION ALL SELECT 93, 29001271 UNION ALL SELECT 93, 29001272 UNION ALL SELECT 93, 29001273 UNION ALL SELECT 93, 29001274 UNION ALL SELECT 93, 29001275 UNION ALL SELECT 93, 29001276 UNION ALL SELECT 93, 29001277 UNION ALL SELECT 93, 29001278 UNION ALL SELECT 93, 29001279 UNION ALL SELECT 93, 29001280 UNION ALL SELECT 93, 29001281 UNION ALL SELECT 93, 29001282 UNION ALL SELECT 93, 29001283 UNION ALL SELECT 93, 29001284 UNION ALL SELECT 93, 29001285 UNION ALL SELECT 93, 29001286 UNION ALL SELECT 93, 29001287 UNION ALL SELECT 93, 29001288 UNION ALL SELECT 93, 29001289 UNION ALL SELECT 93, 29001290 UNION ALL SELECT 93, 29001291 UNION ALL SELECT 93, 29001292 UNION ALL SELECT 93, 29001293 UNION ALL SELECT 93, 29001294 UNION ALL SELECT 93, 29001295 UNION ALL SELECT 93, 29001296 UNION ALL SELECT 93, 29001297 UNION ALL SELECT 93, 29001298 UNION ALL SELECT 93, 29001299 UNION ALL SELECT 93, 29001300 UNION ALL SELECT 93, 29001301 UNION ALL SELECT 93, 29001302 UNION ALL SELECT 93, 29001303 UNION ALL SELECT 93, 29001304 UNION ALL SELECT 93, 29001305 UNION ALL SELECT 93, 29001306 UNION ALL SELECT 93, 29001307 UNION ALL SELECT 93, 29001308 UNION ALL SELECT 93, 29001309 UNION ALL SELECT 93, 29001310 UNION ALL SELECT 93, 29001311 UNION ALL SELECT 93, 29001312 UNION ALL SELECT 93, 29001313 UNION ALL SELECT 93, 29001314 UNION ALL SELECT 93, 29001315 UNION ALL SELECT 93, 29001316 UNION ALL SELECT 93, 29001317 UNION ALL SELECT 93, 29001318 UNION ALL SELECT 93, 29001319 UNION ALL SELECT 93, 29001320 UNION ALL SELECT 93, 29001321 UNION ALL SELECT 93, 29001322 UNION ALL SELECT 93, 29001323 UNION ALL SELECT 93, 29001324 UNION ALL SELECT 93, 29001325 UNION ALL SELECT 93, 29001326 UNION ALL SELECT 93, 29001327 UNION ALL SELECT 93, 29001328 UNION ALL SELECT 93, 29001329 UNION ALL SELECT 93, 29001330 UNION ALL SELECT 93, 29001331 UNION ALL SELECT 93, 29001332 UNION ALL SELECT 93, 29001333 UNION ALL SELECT 94, 29001334 UNION ALL SELECT 94, 29001335 UNION ALL SELECT 94, 29001336 UNION ALL SELECT 94, 29001337 UNION ALL SELECT 94, 29001338 UNION ALL SELECT 94, 29001339 UNION ALL SELECT 94, 29001340 UNION ALL SELECT 94, 29001341 UNION ALL SELECT 94, 29001342 UNION ALL SELECT 94, 29001343 UNION ALL SELECT 94, 29001344 UNION ALL SELECT 94, 29001345 UNION ALL SELECT 94, 29001346 UNION ALL SELECT 94, 29001347 UNION ALL SELECT 94, 29001348 UNION ALL SELECT 94, 29001349 UNION ALL SELECT 94, 29001350 UNION ALL SELECT 94, 29001351 UNION ALL SELECT 94, 29001352 UNION ALL SELECT 94, 29001353 UNION ALL SELECT 94, 29001354 UNION ALL SELECT 94, 29001355 UNION ALL SELECT 94, 29001356 UNION ALL SELECT 94, 29001357 UNION ALL SELECT 94, 29001358 UNION ALL SELECT 94, 29001359 UNION ALL SELECT 94, 29001360 UNION ALL SELECT 94, 29001361 UNION ALL SELECT 94, 29001362 UNION ALL SELECT 94, 29001363 UNION ALL SELECT 94, 29001364 UNION ALL SELECT 94, 29001365 UNION ALL SELECT 94, 29001366 UNION ALL SELECT 94, 29001367 UNION ALL SELECT 94, 29001368 UNION ALL SELECT 94, 29001369 UNION ALL SELECT 94, 29001370 UNION ALL SELECT 94, 29001371 UNION ALL SELECT 94, 29001372 UNION ALL SELECT 94, 29001373 UNION ALL SELECT 94, 29001374 UNION ALL SELECT 94, 29001375 UNION ALL SELECT 94, 29001376 UNION ALL SELECT 94, 29001377 UNION ALL SELECT 94, 29001378 UNION ALL SELECT 94, 29001379 UNION ALL SELECT 94, 29001380 UNION ALL SELECT 94, 29001381 UNION ALL SELECT 94, 29001382 UNION ALL SELECT 94, 29001383 UNION ALL SELECT 94, 29001384 UNION ALL SELECT 94, 29001385 UNION ALL SELECT 94, 29001386 UNION ALL SELECT 94, 29001387 UNION ALL SELECT 94, 29001388 UNION ALL SELECT 94, 29001389 UNION ALL SELECT 94, 29001390 UNION ALL SELECT 94, 29001391 UNION ALL SELECT 94, 29001392 UNION ALL SELECT 94, 29001393 UNION ALL SELECT 94, 29001394 UNION ALL SELECT 94, 29001395 UNION ALL SELECT 94, 29001396 UNION ALL SELECT 94, 29001397 UNION ALL SELECT 94, 29001398 UNION ALL SELECT 94, 29001399 UNION ALL SELECT 94, 29001400 UNION ALL SELECT 94, 29001401 UNION ALL SELECT 94, 29001402 UNION ALL SELECT 94, 29001403 UNION ALL SELECT 94, 29001404 UNION ALL SELECT 94, 29001405 UNION ALL SELECT 94, 29001406 UNION ALL SELECT 94, 29001407 UNION ALL SELECT 94, 29001408 UNION ALL SELECT 94, 29001409 UNION ALL SELECT 94, 29001410 UNION ALL SELECT 94, 29001411 UNION ALL SELECT 94, 29001412 UNION ALL SELECT 94, 29001413 UNION ALL SELECT 94, 29001414 UNION ALL SELECT 94, 29001415 UNION ALL SELECT 94, 29001416 UNION ALL SELECT 94, 29001417 UNION ALL SELECT 94, 29001418 UNION ALL SELECT 94, 29001419 UNION ALL SELECT 94, 29001420 UNION ALL SELECT 94, 29001421 UNION ALL SELECT 94, 29001422 UNION ALL SELECT 94, 29001423 UNION ALL SELECT 94, 29001424 UNION ALL SELECT 94, 29001425 UNION ALL SELECT 94, 29001426 UNION ALL SELECT 94, 29001427 UNION ALL SELECT 94, 29001428 UNION ALL SELECT 94, 29001429 UNION ALL SELECT 94, 29001430 UNION ALL SELECT 94, 29001431 UNION ALL SELECT 94, 29001432 UNION ALL SELECT 94, 29001433 UNION ALL SELECT 94, 29001434 UNION ALL SELECT 94, 29001435 UNION ALL SELECT 94, 29001436 UNION ALL SELECT 94, 29001437 UNION ALL SELECT 94, 29001438 UNION ALL SELECT 94, 29001439 UNION ALL SELECT 94, 29001440 UNION ALL SELECT 94, 29001441 UNION ALL SELECT 94, 29001442 UNION ALL SELECT 94, 29001443 UNION ALL SELECT 94, 29001444 UNION ALL SELECT 94, 29001445 UNION ALL SELECT 94, 29001446 UNION ALL SELECT 94, 29001447 UNION ALL SELECT 94, 29001448 UNION ALL SELECT 94, 29001449 UNION ALL SELECT 94, 29001450 UNION ALL SELECT 94, 29001451 UNION ALL SELECT 94, 29001452 UNION ALL SELECT 94, 29001453 UNION ALL SELECT 94, 29001454 UNION ALL SELECT 94, 29001455 UNION ALL SELECT 94, 29001456 UNION ALL SELECT 94, 29001457 UNION ALL SELECT 94, 29001458 UNION ALL SELECT 94, 29001459 UNION ALL SELECT 94, 29001460 UNION ALL SELECT 94, 29001461 UNION ALL SELECT 94, 29001462 UNION ALL SELECT 94, 29001463 UNION ALL SELECT 94, 29001464 UNION ALL SELECT 94, 29001465 UNION ALL SELECT 94, 29001466 UNION ALL SELECT 94, 29001467 UNION ALL SELECT 94, 29001468 UNION ALL SELECT 94, 29001469 UNION ALL SELECT 94, 29001470 UNION ALL SELECT 94, 29001471 UNION ALL SELECT 94, 29001472 UNION ALL SELECT 94, 29001473 UNION ALL SELECT 94, 29001474 UNION ALL SELECT 94, 29001475 UNION ALL SELECT 94, 29001476 UNION ALL SELECT 94, 29001477 UNION ALL SELECT 94, 29001478 UNION ALL SELECT 94, 29001479 UNION ALL SELECT 94, 29001480 UNION ALL SELECT 94, 29001481 UNION ALL SELECT 94, 29001482 UNION ALL SELECT 94, 29001483 UNION ALL SELECT 94, 29001484 UNION ALL SELECT 94, 29001485 UNION ALL SELECT 94, 29001486 UNION ALL SELECT 94, 29001487 UNION ALL SELECT 94, 29001488 UNION ALL SELECT 94, 29001489 UNION ALL SELECT 94, 29001490 UNION ALL SELECT 94, 29001491 UNION ALL SELECT 94, 29001492 UNION ALL SELECT 94, 29001493 UNION ALL SELECT 94, 29001494 UNION ALL SELECT 94, 29001495 UNION ALL SELECT 94, 29001496 UNION ALL SELECT 94, 29001497 UNION ALL SELECT 94, 29001498 UNION ALL SELECT 94, 29001499 UNION ALL SELECT 94, 29001500 UNION ALL SELECT 94, 29001501 UNION ALL SELECT 94, 29001502 UNION ALL SELECT 94, 29001503 UNION ALL SELECT 94, 29001504 UNION ALL SELECT 94, 29001505 +) l JOIN `creature` c ON c.`guid` = l.`guid`; +INSERT INTO `game_event_gameobject` (`eventEntry`,`guid`) SELECT l.`eventEntry`, l.`guid` FROM ( +SELECT 95 AS `eventEntry`, 35170001 AS `guid` UNION ALL SELECT 95, 35170002 UNION ALL SELECT 95, 35170003 UNION ALL SELECT 95, 35170004 UNION ALL SELECT 95, 35170005 UNION ALL SELECT 95, 35170006 UNION ALL SELECT 95, 35170007 UNION ALL SELECT 95, 35170008 UNION ALL SELECT 95, 35170009 UNION ALL SELECT 95, 35170010 UNION ALL SELECT 95, 35170011 UNION ALL SELECT 95, 35170012 UNION ALL SELECT 95, 35170013 UNION ALL SELECT 95, 35170014 UNION ALL SELECT 95, 35170015 UNION ALL SELECT 95, 35170016 UNION ALL SELECT 95, 35170017 UNION ALL SELECT 95, 35170018 UNION ALL SELECT 95, 35170019 UNION ALL SELECT 95, 35170020 UNION ALL SELECT 95, 35170021 UNION ALL SELECT 95, 35170022 UNION ALL SELECT 95, 35170023 UNION ALL SELECT 95, 35170024 UNION ALL SELECT 95, 35170025 UNION ALL SELECT 95, 35170026 UNION ALL SELECT 95, 35170027 UNION ALL SELECT 95, 35170028 UNION ALL SELECT 95, 35170029 UNION ALL SELECT 95, 35170030 UNION ALL SELECT 95, 35170031 UNION ALL SELECT 95, 35170032 UNION ALL SELECT 95, 35170033 UNION ALL SELECT 95, 35170034 UNION ALL SELECT 95, 35170035 UNION ALL SELECT 95, 35170036 UNION ALL SELECT 95, 35170037 UNION ALL SELECT 95, 35170038 UNION ALL SELECT 95, 35170039 UNION ALL SELECT 95, 35170040 UNION ALL SELECT 95, 35170041 UNION ALL SELECT 95, 35170042 UNION ALL SELECT 95, 35170043 UNION ALL SELECT 95, 35170044 UNION ALL SELECT 95, 35170045 UNION ALL SELECT 95, 35170046 UNION ALL SELECT 95, 35170047 UNION ALL SELECT 95, 35170048 UNION ALL SELECT 95, 35170049 UNION ALL SELECT 95, 35170050 UNION ALL SELECT 95, 35170051 UNION ALL SELECT 95, 35170052 UNION ALL SELECT 95, 35170053 UNION ALL SELECT 95, 35170054 UNION ALL SELECT 95, 35170055 UNION ALL SELECT 95, 35170056 UNION ALL SELECT 95, 35170057 UNION ALL SELECT 95, 35170058 UNION ALL SELECT 95, 35170059 UNION ALL SELECT 95, 35170060 UNION ALL SELECT 95, 35170061 UNION ALL SELECT 95, 35170062 UNION ALL SELECT 95, 35170063 UNION ALL SELECT 95, 35170064 UNION ALL SELECT 95, 35170065 UNION ALL SELECT 95, 35170066 UNION ALL SELECT 95, 35170067 UNION ALL SELECT 95, 35170068 UNION ALL SELECT 95, 35170069 UNION ALL SELECT 95, 35170070 UNION ALL SELECT 95, 35170071 UNION ALL SELECT 95, 35170072 UNION ALL SELECT 95, 35170073 UNION ALL SELECT 95, 35170074 UNION ALL SELECT 95, 35170075 UNION ALL SELECT 95, 35170076 UNION ALL SELECT 95, 35170077 UNION ALL SELECT 95, 35170078 UNION ALL SELECT 95, 35170079 UNION ALL SELECT 95, 35170080 UNION ALL SELECT 95, 35170081 UNION ALL SELECT 95, 35170082 UNION ALL SELECT 95, 35170083 UNION ALL SELECT 95, 35170084 UNION ALL SELECT 95, 35170085 UNION ALL SELECT 95, 35170086 UNION ALL SELECT 95, 35170087 UNION ALL SELECT 95, 35170088 UNION ALL SELECT 95, 35170089 UNION ALL SELECT 95, 35170090 UNION ALL SELECT 95, 35170091 UNION ALL SELECT 95, 35170092 UNION ALL SELECT 95, 35170093 UNION ALL SELECT 95, 35170094 UNION ALL SELECT 95, 35170095 UNION ALL SELECT 95, 35170096 UNION ALL SELECT 95, 35170097 UNION ALL SELECT 95, 35170098 UNION ALL SELECT 95, 35170099 UNION ALL SELECT 95, 35170100 UNION ALL SELECT 95, 35170101 UNION ALL SELECT 95, 35170102 UNION ALL SELECT 95, 35170103 UNION ALL SELECT 95, 35170104 UNION ALL SELECT 95, 35170105 UNION ALL SELECT 95, 35170106 UNION ALL SELECT 95, 35170107 UNION ALL SELECT 95, 35170108 UNION ALL SELECT 95, 35170109 UNION ALL SELECT 95, 35170110 UNION ALL SELECT 95, 35170111 UNION ALL SELECT 95, 35170112 UNION ALL SELECT 95, 35170113 UNION ALL SELECT 95, 35170114 UNION ALL SELECT 95, 35170115 UNION ALL SELECT 95, 35170116 UNION ALL SELECT 95, 35170117 UNION ALL SELECT 95, 35170118 UNION ALL SELECT 95, 35170119 UNION ALL SELECT 95, 35170120 UNION ALL SELECT 95, 35170121 UNION ALL SELECT 95, 35170122 UNION ALL SELECT 95, 35170123 UNION ALL SELECT 95, 35170124 UNION ALL SELECT 95, 35170125 UNION ALL SELECT 95, 35170126 UNION ALL SELECT 95, 35170127 UNION ALL SELECT 95, 35170128 UNION ALL SELECT 95, 35170129 UNION ALL SELECT 95, 35170130 UNION ALL SELECT 95, 35170131 UNION ALL SELECT 95, 35170132 UNION ALL SELECT 95, 35170133 UNION ALL SELECT 95, 35170134 UNION ALL SELECT 95, 35170135 UNION ALL SELECT 95, 35170136 UNION ALL SELECT 95, 35170137 UNION ALL SELECT 95, 35170138 UNION ALL SELECT 95, 35170139 UNION ALL SELECT 95, 35170140 UNION ALL SELECT 95, 35170141 UNION ALL SELECT 95, 35170142 UNION ALL SELECT 95, 35170143 UNION ALL SELECT 95, 35170144 UNION ALL SELECT 95, 35170145 UNION ALL SELECT 95, 35170146 UNION ALL SELECT 95, 35170147 UNION ALL SELECT 95, 35170148 UNION ALL SELECT 95, 35170149 UNION ALL SELECT 95, 35170150 UNION ALL SELECT 95, 35170151 UNION ALL SELECT 95, 35170152 UNION ALL SELECT 95, 35170153 UNION ALL SELECT 95, 35170154 UNION ALL SELECT 95, 35170155 UNION ALL SELECT 95, 35170156 UNION ALL SELECT 95, 35170157 UNION ALL SELECT 95, 35170158 UNION ALL SELECT 95, 35170159 UNION ALL SELECT 95, 35170160 UNION ALL SELECT 95, 35170161 UNION ALL SELECT 95, 35170162 UNION ALL SELECT 95, 35170163 UNION ALL SELECT 95, 35170164 UNION ALL SELECT 95, 35170165 UNION ALL SELECT 95, 35170166 UNION ALL SELECT 95, 35170167 UNION ALL SELECT 95, 35170168 UNION ALL SELECT 95, 35170169 UNION ALL SELECT 95, 35170170 UNION ALL SELECT 95, 35170171 UNION ALL SELECT 95, 35170172 UNION ALL SELECT 95, 35170173 UNION ALL SELECT 95, 35170174 UNION ALL SELECT 99, 35170175 UNION ALL SELECT 99, 35170176 UNION ALL SELECT 99, 35170177 UNION ALL SELECT 99, 35170178 UNION ALL SELECT 99, 35170179 UNION ALL SELECT 99, 35170180 UNION ALL SELECT 99, 35170181 UNION ALL SELECT 17, 35170182 UNION ALL SELECT 17, 35170183 UNION ALL SELECT 17, 35170184 UNION ALL SELECT 17, 35170185 UNION ALL SELECT 17, 35170186 UNION ALL SELECT 17, 35170187 UNION ALL SELECT 17, 35170188 UNION ALL SELECT 17, 35170189 UNION ALL SELECT 17, 35170190 UNION ALL SELECT 17, 35170191 UNION ALL SELECT 17, 35170192 UNION ALL SELECT 17, 35170193 UNION ALL SELECT 17, 35170194 UNION ALL SELECT 17, 35170195 UNION ALL SELECT 17, 35170196 UNION ALL SELECT 17, 35170197 UNION ALL SELECT 17, 35170198 UNION ALL SELECT 17, 35170199 UNION ALL SELECT 17, 35170200 UNION ALL SELECT 17, 35170201 UNION ALL SELECT 17, 35170202 UNION ALL SELECT 17, 35170203 UNION ALL SELECT 17, 35170204 UNION ALL SELECT 17, 35170205 UNION ALL SELECT 17, 35170206 UNION ALL SELECT 17, 35170207 UNION ALL SELECT 17, 35170208 UNION ALL SELECT 17, 35170209 UNION ALL SELECT 17, 35170210 UNION ALL SELECT 17, 35170211 UNION ALL SELECT 17, 35170212 UNION ALL SELECT 17, 35170213 UNION ALL SELECT 17, 35170214 UNION ALL SELECT 17, 35170215 UNION ALL SELECT 17, 35170216 UNION ALL SELECT 17, 35170217 UNION ALL SELECT 17, 35170218 UNION ALL SELECT 17, 35170219 UNION ALL SELECT 17, 35170220 UNION ALL SELECT 17, 35170221 UNION ALL SELECT 17, 35170222 UNION ALL SELECT 17, 35170223 UNION ALL SELECT 17, 35170224 UNION ALL SELECT 17, 35170225 UNION ALL SELECT 17, 35170226 UNION ALL SELECT 17, 35170227 UNION ALL SELECT 17, 35170228 UNION ALL SELECT 17, 35170229 UNION ALL SELECT 17, 35170230 UNION ALL SELECT 17, 35170231 UNION ALL SELECT 17, 35170232 UNION ALL SELECT 17, 35170233 UNION ALL SELECT 17, 35170234 UNION ALL SELECT 17, 35170235 UNION ALL SELECT 17, 35170236 UNION ALL SELECT 17, 35170237 UNION ALL SELECT 90, 35170238 UNION ALL SELECT 90, 35170239 UNION ALL SELECT 90, 35170240 UNION ALL SELECT 90, 35170241 UNION ALL SELECT 90, 35170242 UNION ALL SELECT 90, 35170243 UNION ALL SELECT 90, 35170244 UNION ALL SELECT 90, 35170245 UNION ALL SELECT 90, 35170246 UNION ALL SELECT 90, 35170247 UNION ALL SELECT 90, 35170248 UNION ALL SELECT 90, 35170249 UNION ALL SELECT 90, 35170250 UNION ALL SELECT 90, 35170251 UNION ALL SELECT 90, 35170252 UNION ALL SELECT 90, 35170253 UNION ALL SELECT 90, 35170254 UNION ALL SELECT 90, 35170255 UNION ALL SELECT 90, 35170256 UNION ALL SELECT 90, 35170257 UNION ALL SELECT 90, 35170258 UNION ALL SELECT 90, 35170259 UNION ALL SELECT 90, 35170260 UNION ALL SELECT 90, 35170261 UNION ALL SELECT 90, 35170262 UNION ALL SELECT 90, 35170263 UNION ALL SELECT 90, 35170264 UNION ALL SELECT 90, 35170265 UNION ALL SELECT 90, 35170266 UNION ALL SELECT 90, 35170267 UNION ALL SELECT 90, 35170268 UNION ALL SELECT 90, 35170269 UNION ALL SELECT 90, 35170270 UNION ALL SELECT 90, 35170271 UNION ALL SELECT 90, 35170272 UNION ALL SELECT 90, 35170273 UNION ALL SELECT 90, 35170274 UNION ALL SELECT 90, 35170275 UNION ALL SELECT 90, 35170276 UNION ALL SELECT 90, 35170277 UNION ALL SELECT 90, 35170278 UNION ALL SELECT 90, 35170279 UNION ALL SELECT 90, 35170280 UNION ALL SELECT 90, 35170281 UNION ALL SELECT 90, 35170282 UNION ALL SELECT 90, 35170283 UNION ALL SELECT 90, 35170284 UNION ALL SELECT 90, 35170285 UNION ALL SELECT 90, 35170286 UNION ALL SELECT 90, 35170287 UNION ALL SELECT 90, 35170288 UNION ALL SELECT 90, 35170289 UNION ALL SELECT 90, 35170290 UNION ALL SELECT 90, 35170291 UNION ALL SELECT 90, 35170292 UNION ALL SELECT 90, 35170293 UNION ALL SELECT 90, 35170294 UNION ALL SELECT 90, 35170295 UNION ALL SELECT 90, 35170296 UNION ALL SELECT 90, 35170297 UNION ALL SELECT 90, 35170298 UNION ALL SELECT 90, 35170299 UNION ALL SELECT 90, 35170300 UNION ALL SELECT 90, 35170301 UNION ALL SELECT 90, 35170302 UNION ALL SELECT 90, 35170303 UNION ALL SELECT 90, 35170304 UNION ALL SELECT 90, 35170305 UNION ALL SELECT 90, 35170306 UNION ALL SELECT 90, 35170307 UNION ALL SELECT 90, 35170308 UNION ALL SELECT 90, 35170309 UNION ALL SELECT 90, 35170310 UNION ALL SELECT 90, 35170311 UNION ALL SELECT 90, 35170312 UNION ALL SELECT 90, 35170313 UNION ALL SELECT 90, 35170314 UNION ALL SELECT 90, 35170315 UNION ALL SELECT 90, 35170316 UNION ALL SELECT 90, 35170317 UNION ALL SELECT 90, 35170318 UNION ALL SELECT 90, 35170319 UNION ALL SELECT 90, 35170320 UNION ALL SELECT 90, 35170321 UNION ALL SELECT 90, 35170322 UNION ALL SELECT 90, 35170323 UNION ALL SELECT 90, 35170324 UNION ALL SELECT 90, 35170325 UNION ALL SELECT 90, 35170326 UNION ALL SELECT 90, 35170327 UNION ALL SELECT 90, 35170328 UNION ALL SELECT 90, 35170329 UNION ALL SELECT 90, 35170330 UNION ALL SELECT 90, 35170331 UNION ALL SELECT 90, 35170332 UNION ALL SELECT 90, 35170333 UNION ALL SELECT 90, 35170334 UNION ALL SELECT 90, 35170335 UNION ALL SELECT 90, 35170336 UNION ALL SELECT 90, 35170337 UNION ALL SELECT 90, 35170338 UNION ALL SELECT 90, 35170339 UNION ALL SELECT 90, 35170340 UNION ALL SELECT 90, 35170341 UNION ALL SELECT 90, 35170342 UNION ALL SELECT 90, 35170343 UNION ALL SELECT 90, 35170344 UNION ALL SELECT 90, 35170345 UNION ALL SELECT 90, 35170346 UNION ALL SELECT 90, 35170347 UNION ALL SELECT 90, 35170348 UNION ALL SELECT 90, 35170349 UNION ALL SELECT 90, 35170350 UNION ALL SELECT 90, 35170351 UNION ALL SELECT 90, 35170352 UNION ALL SELECT 90, 35170353 UNION ALL SELECT 90, 35170354 UNION ALL SELECT 90, 35170355 UNION ALL SELECT 90, 35170356 UNION ALL SELECT 90, 35170357 UNION ALL SELECT 90, 35170358 UNION ALL SELECT 90, 35170359 UNION ALL SELECT 90, 35170360 UNION ALL SELECT 90, 35170361 UNION ALL SELECT 90, 35170362 UNION ALL SELECT 90, 35170363 UNION ALL SELECT 90, 35170364 UNION ALL SELECT 90, 35170365 UNION ALL SELECT 90, 35170366 UNION ALL SELECT 90, 35170367 UNION ALL SELECT 90, 35170368 UNION ALL SELECT 90, 35170369 UNION ALL SELECT 90, 35170370 UNION ALL SELECT 90, 35170371 UNION ALL SELECT 90, 35170372 UNION ALL SELECT 90, 35170373 UNION ALL SELECT 90, 35170374 UNION ALL SELECT 90, 35170375 UNION ALL SELECT 90, 35170376 UNION ALL SELECT 90, 35170377 UNION ALL SELECT 90, 35170378 UNION ALL SELECT 90, 35170379 UNION ALL SELECT 90, 35170380 UNION ALL SELECT 90, 35170381 UNION ALL SELECT 90, 35170382 UNION ALL SELECT 90, 35170383 UNION ALL SELECT 90, 35170384 UNION ALL SELECT 90, 35170385 UNION ALL SELECT 90, 35170386 UNION ALL SELECT 90, 35170387 UNION ALL SELECT 90, 35170388 UNION ALL SELECT 90, 35170389 UNION ALL SELECT 90, 35170390 UNION ALL SELECT 90, 35170391 UNION ALL SELECT 90, 35170392 UNION ALL SELECT 90, 35170393 UNION ALL SELECT 90, 35170394 UNION ALL SELECT 90, 35170395 UNION ALL SELECT 90, 35170396 UNION ALL SELECT 90, 35170397 UNION ALL SELECT 90, 35170398 UNION ALL SELECT 90, 35170399 UNION ALL SELECT 90, 35170400 UNION ALL SELECT 90, 35170401 UNION ALL SELECT 90, 35170402 UNION ALL SELECT 90, 35170403 UNION ALL SELECT 90, 35170404 UNION ALL SELECT 90, 35170405 UNION ALL SELECT 90, 35170406 UNION ALL SELECT 90, 35170407 UNION ALL SELECT 90, 35170408 UNION ALL SELECT 90, 35170409 UNION ALL SELECT 90, 35170410 UNION ALL SELECT 90, 35170411 UNION ALL SELECT 90, 35170412 UNION ALL SELECT 90, 35170413 UNION ALL SELECT 90, 35170414 UNION ALL SELECT 90, 35170415 UNION ALL SELECT 90, 35170416 UNION ALL SELECT 90, 35170417 UNION ALL SELECT 90, 35170418 UNION ALL SELECT 90, 35170419 UNION ALL SELECT 90, 35170420 UNION ALL SELECT 90, 35170421 UNION ALL SELECT 90, 35170422 UNION ALL SELECT 90, 35170423 UNION ALL SELECT 90, 35170424 UNION ALL SELECT 90, 35170425 UNION ALL SELECT 90, 35170426 UNION ALL SELECT 90, 35170427 UNION ALL SELECT 90, 35170428 UNION ALL SELECT 90, 35170429 UNION ALL SELECT 90, 35170430 UNION ALL SELECT 90, 35170431 UNION ALL SELECT 90, 35170432 UNION ALL SELECT 90, 35170433 UNION ALL SELECT 90, 35170434 UNION ALL SELECT 90, 35170435 UNION ALL SELECT 90, 35170436 UNION ALL SELECT 90, 35170437 UNION ALL SELECT 90, 35170438 UNION ALL SELECT 90, 35170439 UNION ALL SELECT 90, 35170440 UNION ALL SELECT 90, 35170441 UNION ALL SELECT 90, 35170442 UNION ALL SELECT 90, 35170443 UNION ALL SELECT 90, 35170444 UNION ALL SELECT 90, 35170445 UNION ALL SELECT 90, 35170446 UNION ALL SELECT 90, 35170447 UNION ALL SELECT 90, 35170448 UNION ALL SELECT 90, 35170449 UNION ALL SELECT 90, 35170450 UNION ALL SELECT 90, 35170451 UNION ALL SELECT 90, 35170452 UNION ALL SELECT 90, 35170453 UNION ALL SELECT 90, 35170454 UNION ALL SELECT 90, 35170455 UNION ALL SELECT 90, 35170456 UNION ALL SELECT 90, 35170457 UNION ALL SELECT 90, 35170458 UNION ALL SELECT 90, 35170459 UNION ALL SELECT 90, 35170460 UNION ALL SELECT 90, 35170461 UNION ALL SELECT 90, 35170462 UNION ALL SELECT 90, 35170463 UNION ALL SELECT 90, 35170464 UNION ALL SELECT 90, 35170465 UNION ALL SELECT 90, 35170466 UNION ALL SELECT 90, 35170467 UNION ALL SELECT 90, 35170468 UNION ALL SELECT 90, 35170469 UNION ALL SELECT 90, 35170470 UNION ALL SELECT 90, 35170471 UNION ALL SELECT 90, 35170472 UNION ALL SELECT 90, 35170473 UNION ALL SELECT 90, 35170474 UNION ALL SELECT 90, 35170475 UNION ALL SELECT 90, 35170476 UNION ALL SELECT 90, 35170477 UNION ALL SELECT 90, 35170478 UNION ALL SELECT 90, 35170479 UNION ALL SELECT 90, 35170480 UNION ALL SELECT 90, 35170481 UNION ALL SELECT 90, 35170482 UNION ALL SELECT 90, 35170483 UNION ALL SELECT 90, 35170484 UNION ALL SELECT 90, 35170485 UNION ALL SELECT 90, 35170486 UNION ALL SELECT 90, 35170487 UNION ALL SELECT 90, 35170488 UNION ALL SELECT 90, 35170489 UNION ALL SELECT 90, 35170490 UNION ALL SELECT 90, 35170491 UNION ALL SELECT 90, 35170492 UNION ALL SELECT 90, 35170493 UNION ALL SELECT 90, 35170494 UNION ALL SELECT 90, 35170495 UNION ALL SELECT 90, 35170496 UNION ALL SELECT 90, 35170497 UNION ALL SELECT 90, 35170498 UNION ALL SELECT 90, 35170499 UNION ALL SELECT 90, 35170500 UNION ALL SELECT 90, 35170501 UNION ALL SELECT 91, 35170502 UNION ALL SELECT 91, 35170503 UNION ALL SELECT 91, 35170504 UNION ALL SELECT 91, 35170505 UNION ALL SELECT 91, 35170506 UNION ALL SELECT 91, 35170507 UNION ALL SELECT 91, 35170508 UNION ALL SELECT 91, 35170509 UNION ALL SELECT 91, 35170510 UNION ALL SELECT 91, 35170511 UNION ALL SELECT 91, 35170512 UNION ALL SELECT 91, 35170513 UNION ALL SELECT 91, 35170514 UNION ALL SELECT 91, 35170515 UNION ALL SELECT 91, 35170516 UNION ALL SELECT 91, 35170517 UNION ALL SELECT 91, 35170518 UNION ALL SELECT 91, 35170519 UNION ALL SELECT 91, 35170520 UNION ALL SELECT 91, 35170521 UNION ALL SELECT 91, 35170522 UNION ALL SELECT 91, 35170523 UNION ALL SELECT 91, 35170524 UNION ALL SELECT 91, 35170525 UNION ALL SELECT 91, 35170526 UNION ALL SELECT 91, 35170527 UNION ALL SELECT 91, 35170528 UNION ALL SELECT 91, 35170529 UNION ALL SELECT 91, 35170530 UNION ALL SELECT 91, 35170531 UNION ALL SELECT 91, 35170532 UNION ALL SELECT 91, 35170533 UNION ALL SELECT 91, 35170534 UNION ALL SELECT 91, 35170535 UNION ALL SELECT 91, 35170536 UNION ALL SELECT 91, 35170537 UNION ALL SELECT 91, 35170538 UNION ALL SELECT 91, 35170539 UNION ALL SELECT 91, 35170540 UNION ALL SELECT 91, 35170541 UNION ALL SELECT 91, 35170542 UNION ALL SELECT 91, 35170543 UNION ALL SELECT 91, 35170544 UNION ALL SELECT 91, 35170545 UNION ALL SELECT 91, 35170546 UNION ALL SELECT 91, 35170547 UNION ALL SELECT 91, 35170548 UNION ALL SELECT 91, 35170549 UNION ALL SELECT 91, 35170550 UNION ALL SELECT 91, 35170551 UNION ALL SELECT 91, 35170552 UNION ALL SELECT 91, 35170553 UNION ALL SELECT 91, 35170554 UNION ALL SELECT 91, 35170555 UNION ALL SELECT 91, 35170556 UNION ALL SELECT 91, 35170557 UNION ALL SELECT 91, 35170558 UNION ALL SELECT 91, 35170559 UNION ALL SELECT 91, 35170560 UNION ALL SELECT 91, 35170561 UNION ALL SELECT 91, 35170562 UNION ALL SELECT 91, 35170563 UNION ALL SELECT 91, 35170564 UNION ALL SELECT 91, 35170565 UNION ALL SELECT 91, 35170566 UNION ALL SELECT 91, 35170567 UNION ALL SELECT 91, 35170568 UNION ALL SELECT 91, 35170569 UNION ALL SELECT 91, 35170570 UNION ALL SELECT 91, 35170571 UNION ALL SELECT 91, 35170572 UNION ALL SELECT 91, 35170573 UNION ALL SELECT 91, 35170574 UNION ALL SELECT 91, 35170575 UNION ALL SELECT 91, 35170576 UNION ALL SELECT 91, 35170577 UNION ALL SELECT 91, 35170578 UNION ALL SELECT 91, 35170579 UNION ALL SELECT 91, 35170580 UNION ALL SELECT 91, 35170581 UNION ALL SELECT 91, 35170582 UNION ALL SELECT 91, 35170583 UNION ALL SELECT 91, 35170584 UNION ALL SELECT 91, 35170585 UNION ALL SELECT 91, 35170586 UNION ALL SELECT 91, 35170587 UNION ALL SELECT 91, 35170588 UNION ALL SELECT 91, 35170589 UNION ALL SELECT 91, 35170590 UNION ALL SELECT 91, 35170591 UNION ALL SELECT 91, 35170592 UNION ALL SELECT 91, 35170593 UNION ALL SELECT 91, 35170594 UNION ALL SELECT 91, 35170595 UNION ALL SELECT 91, 35170596 UNION ALL SELECT 91, 35170597 UNION ALL SELECT 91, 35170598 UNION ALL SELECT 91, 35170599 UNION ALL SELECT 91, 35170600 UNION ALL SELECT 91, 35170601 UNION ALL SELECT 91, 35170602 UNION ALL SELECT 91, 35170603 UNION ALL SELECT 91, 35170604 UNION ALL SELECT 91, 35170605 UNION ALL SELECT 91, 35170606 UNION ALL SELECT 91, 35170607 UNION ALL SELECT 91, 35170608 UNION ALL SELECT 91, 35170609 UNION ALL SELECT 91, 35170610 UNION ALL SELECT 91, 35170611 UNION ALL SELECT 91, 35170612 UNION ALL SELECT 91, 35170613 UNION ALL SELECT 91, 35170614 UNION ALL SELECT 91, 35170615 UNION ALL SELECT 91, 35170616 UNION ALL SELECT 91, 35170617 UNION ALL SELECT 91, 35170618 UNION ALL SELECT 91, 35170619 UNION ALL SELECT 91, 35170620 UNION ALL SELECT 91, 35170621 UNION ALL SELECT 91, 35170622 UNION ALL SELECT 91, 35170623 UNION ALL SELECT 91, 35170624 UNION ALL SELECT 91, 35170625 UNION ALL SELECT 91, 35170626 UNION ALL SELECT 91, 35170627 UNION ALL SELECT 91, 35170628 UNION ALL SELECT 91, 35170629 UNION ALL SELECT 91, 35170630 UNION ALL SELECT 91, 35170631 UNION ALL SELECT 91, 35170632 UNION ALL SELECT 91, 35170633 UNION ALL SELECT 91, 35170634 UNION ALL SELECT 91, 35170635 UNION ALL SELECT 91, 35170636 UNION ALL SELECT 91, 35170637 UNION ALL SELECT 91, 35170638 UNION ALL SELECT 91, 35170639 UNION ALL SELECT 91, 35170640 UNION ALL SELECT 91, 35170641 UNION ALL SELECT 91, 35170642 UNION ALL SELECT 91, 35170643 UNION ALL SELECT 91, 35170644 UNION ALL SELECT 91, 35170645 UNION ALL SELECT 91, 35170646 UNION ALL SELECT 91, 35170647 UNION ALL SELECT 91, 35170648 UNION ALL SELECT 91, 35170649 UNION ALL SELECT 91, 35170650 UNION ALL SELECT 91, 35170651 UNION ALL SELECT 91, 35170652 UNION ALL SELECT 91, 35170653 UNION ALL SELECT 91, 35170654 UNION ALL SELECT 91, 35170655 UNION ALL SELECT 91, 35170656 UNION ALL SELECT 91, 35170657 UNION ALL SELECT 91, 35170658 UNION ALL SELECT 91, 35170659 UNION ALL SELECT 91, 35170660 UNION ALL SELECT 91, 35170661 UNION ALL SELECT 91, 35170662 UNION ALL SELECT 91, 35170663 UNION ALL SELECT 91, 35170664 UNION ALL SELECT 91, 35170665 UNION ALL SELECT 91, 35170666 UNION ALL SELECT 91, 35170667 UNION ALL SELECT 91, 35170668 UNION ALL SELECT 91, 35170669 UNION ALL SELECT 91, 35170670 UNION ALL SELECT 91, 35170671 UNION ALL SELECT 91, 35170672 UNION ALL SELECT 91, 35170673 UNION ALL SELECT 91, 35170674 UNION ALL SELECT 91, 35170675 UNION ALL SELECT 91, 35170676 UNION ALL SELECT 91, 35170677 UNION ALL SELECT 91, 35170678 UNION ALL SELECT 91, 35170679 UNION ALL SELECT 91, 35170680 UNION ALL SELECT 91, 35170681 UNION ALL SELECT 91, 35170682 UNION ALL SELECT 91, 35170683 UNION ALL SELECT 91, 35170684 UNION ALL SELECT 91, 35170685 UNION ALL SELECT 91, 35170686 UNION ALL SELECT 91, 35170687 UNION ALL SELECT 91, 35170688 UNION ALL SELECT 91, 35170689 UNION ALL SELECT 91, 35170690 UNION ALL SELECT 91, 35170691 UNION ALL SELECT 91, 35170692 UNION ALL SELECT 91, 35170693 UNION ALL SELECT 91, 35170694 UNION ALL SELECT 91, 35170695 UNION ALL SELECT 91, 35170696 UNION ALL SELECT 91, 35170697 UNION ALL SELECT 91, 35170698 UNION ALL SELECT 91, 35170699 UNION ALL SELECT 91, 35170700 UNION ALL SELECT 91, 35170701 UNION ALL SELECT 91, 35170702 UNION ALL SELECT 91, 35170703 UNION ALL SELECT 91, 35170704 UNION ALL SELECT 91, 35170705 UNION ALL SELECT 91, 35170706 UNION ALL SELECT 91, 35170707 UNION ALL SELECT 91, 35170708 UNION ALL SELECT 91, 35170709 UNION ALL SELECT 91, 35170710 UNION ALL SELECT 91, 35170711 UNION ALL SELECT 91, 35170712 UNION ALL SELECT 91, 35170713 UNION ALL SELECT 91, 35170714 UNION ALL SELECT 91, 35170715 UNION ALL SELECT 91, 35170716 UNION ALL SELECT 91, 35170717 UNION ALL SELECT 91, 35170718 UNION ALL SELECT 91, 35170719 UNION ALL SELECT 91, 35170720 UNION ALL SELECT 91, 35170721 UNION ALL SELECT 91, 35170722 UNION ALL SELECT 91, 35170723 UNION ALL SELECT 91, 35170724 UNION ALL SELECT 91, 35170725 UNION ALL SELECT 91, 35170726 UNION ALL SELECT 91, 35170727 UNION ALL SELECT 91, 35170728 UNION ALL SELECT 91, 35170729 UNION ALL SELECT 91, 35170730 UNION ALL SELECT 91, 35170731 UNION ALL SELECT 91, 35170732 UNION ALL SELECT 91, 35170733 UNION ALL SELECT 91, 35170734 UNION ALL SELECT 91, 35170735 UNION ALL SELECT 91, 35170736 UNION ALL SELECT 91, 35170737 UNION ALL SELECT 91, 35170738 UNION ALL SELECT 91, 35170739 UNION ALL SELECT 91, 35170740 UNION ALL SELECT 91, 35170741 UNION ALL SELECT 91, 35170742 UNION ALL SELECT 91, 35170743 UNION ALL SELECT 91, 35170744 UNION ALL SELECT 91, 35170745 UNION ALL SELECT 91, 35170746 UNION ALL SELECT 91, 35170747 UNION ALL SELECT 91, 35170748 UNION ALL SELECT 91, 35170749 UNION ALL SELECT 91, 35170750 UNION ALL SELECT 91, 35170751 UNION ALL SELECT 91, 35170752 UNION ALL SELECT 91, 35170753 UNION ALL SELECT 91, 35170754 UNION ALL SELECT 91, 35170755 UNION ALL SELECT 91, 35170756 UNION ALL SELECT 91, 35170757 UNION ALL SELECT 91, 35170758 UNION ALL SELECT 91, 35170759 UNION ALL SELECT 91, 35170760 UNION ALL SELECT 91, 35170761 UNION ALL SELECT 91, 35170762 UNION ALL SELECT 91, 35170763 UNION ALL SELECT 91, 35170764 UNION ALL SELECT 91, 35170765 UNION ALL SELECT 92, 35170766 UNION ALL SELECT 92, 35170767 UNION ALL SELECT 92, 35170768 UNION ALL SELECT 92, 35170769 UNION ALL SELECT 92, 35170770 UNION ALL SELECT 92, 35170771 UNION ALL SELECT 92, 35170772 UNION ALL SELECT 92, 35170773 UNION ALL SELECT 92, 35170774 UNION ALL SELECT 92, 35170775 UNION ALL SELECT 92, 35170776 UNION ALL SELECT 92, 35170777 UNION ALL SELECT 92, 35170778 UNION ALL SELECT 92, 35170779 UNION ALL SELECT 92, 35170780 UNION ALL SELECT 92, 35170781 UNION ALL SELECT 92, 35170782 UNION ALL SELECT 92, 35170783 UNION ALL SELECT 92, 35170784 UNION ALL SELECT 92, 35170785 UNION ALL SELECT 92, 35170786 UNION ALL SELECT 92, 35170787 UNION ALL SELECT 92, 35170788 UNION ALL SELECT 92, 35170789 UNION ALL SELECT 92, 35170790 UNION ALL SELECT 92, 35170791 UNION ALL SELECT 92, 35170792 UNION ALL SELECT 92, 35170793 UNION ALL SELECT 92, 35170794 UNION ALL SELECT 92, 35170795 UNION ALL SELECT 92, 35170796 UNION ALL SELECT 92, 35170797 UNION ALL SELECT 92, 35170798 UNION ALL SELECT 92, 35170799 UNION ALL SELECT 92, 35170800 UNION ALL SELECT 92, 35170801 UNION ALL SELECT 92, 35170802 UNION ALL SELECT 92, 35170803 UNION ALL SELECT 92, 35170804 UNION ALL SELECT 92, 35170805 UNION ALL SELECT 92, 35170806 UNION ALL SELECT 92, 35170807 UNION ALL SELECT 92, 35170808 UNION ALL SELECT 92, 35170809 UNION ALL SELECT 92, 35170810 UNION ALL SELECT 92, 35170811 UNION ALL SELECT 92, 35170812 UNION ALL SELECT 92, 35170813 UNION ALL SELECT 92, 35170814 UNION ALL SELECT 92, 35170815 UNION ALL SELECT 92, 35170816 UNION ALL SELECT 92, 35170817 UNION ALL SELECT 92, 35170818 UNION ALL SELECT 92, 35170819 UNION ALL SELECT 92, 35170820 UNION ALL SELECT 92, 35170821 UNION ALL SELECT 92, 35170822 UNION ALL SELECT 92, 35170823 UNION ALL SELECT 92, 35170824 UNION ALL SELECT 92, 35170825 UNION ALL SELECT 92, 35170826 UNION ALL SELECT 92, 35170827 UNION ALL SELECT 92, 35170828 UNION ALL SELECT 92, 35170829 UNION ALL SELECT 92, 35170830 UNION ALL SELECT 92, 35170831 UNION ALL SELECT 92, 35170832 UNION ALL SELECT 92, 35170833 UNION ALL SELECT 92, 35170834 UNION ALL SELECT 92, 35170835 UNION ALL SELECT 92, 35170836 UNION ALL SELECT 92, 35170837 UNION ALL SELECT 92, 35170838 UNION ALL SELECT 92, 35170839 UNION ALL SELECT 92, 35170840 UNION ALL SELECT 92, 35170841 UNION ALL SELECT 92, 35170842 UNION ALL SELECT 92, 35170843 UNION ALL SELECT 92, 35170844 UNION ALL SELECT 92, 35170845 UNION ALL SELECT 92, 35170846 UNION ALL SELECT 92, 35170847 UNION ALL SELECT 92, 35170848 UNION ALL SELECT 92, 35170849 UNION ALL SELECT 92, 35170850 UNION ALL SELECT 92, 35170851 UNION ALL SELECT 92, 35170852 UNION ALL SELECT 92, 35170853 UNION ALL SELECT 92, 35170854 UNION ALL SELECT 92, 35170855 UNION ALL SELECT 92, 35170856 UNION ALL SELECT 92, 35170857 UNION ALL SELECT 92, 35170858 UNION ALL SELECT 92, 35170859 UNION ALL SELECT 92, 35170860 UNION ALL SELECT 92, 35170861 UNION ALL SELECT 92, 35170862 UNION ALL SELECT 92, 35170863 UNION ALL SELECT 92, 35170864 UNION ALL SELECT 92, 35170865 UNION ALL SELECT 92, 35170866 UNION ALL SELECT 92, 35170867 UNION ALL SELECT 92, 35170868 UNION ALL SELECT 92, 35170869 UNION ALL SELECT 92, 35170870 UNION ALL SELECT 92, 35170871 UNION ALL SELECT 92, 35170872 UNION ALL SELECT 92, 35170873 UNION ALL SELECT 92, 35170874 UNION ALL SELECT 92, 35170875 UNION ALL SELECT 92, 35170876 UNION ALL SELECT 92, 35170877 UNION ALL SELECT 92, 35170878 UNION ALL SELECT 92, 35170879 UNION ALL SELECT 92, 35170880 UNION ALL SELECT 92, 35170881 UNION ALL SELECT 92, 35170882 UNION ALL SELECT 92, 35170883 UNION ALL SELECT 92, 35170884 UNION ALL SELECT 92, 35170885 UNION ALL SELECT 92, 35170886 UNION ALL SELECT 92, 35170887 UNION ALL SELECT 92, 35170888 UNION ALL SELECT 92, 35170889 UNION ALL SELECT 92, 35170890 UNION ALL SELECT 92, 35170891 UNION ALL SELECT 92, 35170892 UNION ALL SELECT 92, 35170893 UNION ALL SELECT 92, 35170894 UNION ALL SELECT 92, 35170895 UNION ALL SELECT 92, 35170896 UNION ALL SELECT 92, 35170897 UNION ALL SELECT 92, 35170898 UNION ALL SELECT 92, 35170899 UNION ALL SELECT 92, 35170900 UNION ALL SELECT 92, 35170901 UNION ALL SELECT 92, 35170902 UNION ALL SELECT 92, 35170903 UNION ALL SELECT 92, 35170904 UNION ALL SELECT 92, 35170905 UNION ALL SELECT 92, 35170906 UNION ALL SELECT 92, 35170907 UNION ALL SELECT 92, 35170908 UNION ALL SELECT 92, 35170909 UNION ALL SELECT 92, 35170910 UNION ALL SELECT 92, 35170911 UNION ALL SELECT 92, 35170912 UNION ALL SELECT 92, 35170913 UNION ALL SELECT 92, 35170914 UNION ALL SELECT 92, 35170915 UNION ALL SELECT 92, 35170916 UNION ALL SELECT 92, 35170917 UNION ALL SELECT 92, 35170918 UNION ALL SELECT 92, 35170919 UNION ALL SELECT 92, 35170920 UNION ALL SELECT 92, 35170921 UNION ALL SELECT 92, 35170922 UNION ALL SELECT 92, 35170923 UNION ALL SELECT 92, 35170924 UNION ALL SELECT 92, 35170925 UNION ALL SELECT 92, 35170926 UNION ALL SELECT 92, 35170927 UNION ALL SELECT 92, 35170928 UNION ALL SELECT 92, 35170929 UNION ALL SELECT 92, 35170930 UNION ALL SELECT 92, 35170931 UNION ALL SELECT 92, 35170932 UNION ALL SELECT 92, 35170933 UNION ALL SELECT 92, 35170934 UNION ALL SELECT 92, 35170935 UNION ALL SELECT 92, 35170936 UNION ALL SELECT 92, 35170937 UNION ALL SELECT 92, 35170938 UNION ALL SELECT 92, 35170939 UNION ALL SELECT 92, 35170940 UNION ALL SELECT 92, 35170941 UNION ALL SELECT 93, 35170942 UNION ALL SELECT 93, 35170943 UNION ALL SELECT 93, 35170944 UNION ALL SELECT 93, 35170945 UNION ALL SELECT 93, 35170946 UNION ALL SELECT 93, 35170947 UNION ALL SELECT 93, 35170948 UNION ALL SELECT 93, 35170949 UNION ALL SELECT 93, 35170950 UNION ALL SELECT 93, 35170951 UNION ALL SELECT 93, 35170952 UNION ALL SELECT 93, 35170953 UNION ALL SELECT 93, 35170954 UNION ALL SELECT 93, 35170955 UNION ALL SELECT 93, 35170956 UNION ALL SELECT 93, 35170957 UNION ALL SELECT 93, 35170958 UNION ALL SELECT 93, 35170959 UNION ALL SELECT 93, 35170960 UNION ALL SELECT 93, 35170961 UNION ALL SELECT 93, 35170962 UNION ALL SELECT 93, 35170963 UNION ALL SELECT 93, 35170964 UNION ALL SELECT 93, 35170965 UNION ALL SELECT 93, 35170966 UNION ALL SELECT 93, 35170967 UNION ALL SELECT 93, 35170968 UNION ALL SELECT 93, 35170969 UNION ALL SELECT 93, 35170970 UNION ALL SELECT 93, 35170971 UNION ALL SELECT 93, 35170972 UNION ALL SELECT 93, 35170973 UNION ALL SELECT 93, 35170974 UNION ALL SELECT 93, 35170975 UNION ALL SELECT 93, 35170976 UNION ALL SELECT 93, 35170977 UNION ALL SELECT 93, 35170978 UNION ALL SELECT 93, 35170979 UNION ALL SELECT 93, 35170980 UNION ALL SELECT 93, 35170981 UNION ALL SELECT 93, 35170982 UNION ALL SELECT 93, 35170983 UNION ALL SELECT 93, 35170984 UNION ALL SELECT 93, 35170985 UNION ALL SELECT 93, 35170986 UNION ALL SELECT 93, 35170987 UNION ALL SELECT 93, 35170988 UNION ALL SELECT 93, 35170989 UNION ALL SELECT 93, 35170990 UNION ALL SELECT 93, 35170991 UNION ALL SELECT 93, 35170992 UNION ALL SELECT 93, 35170993 UNION ALL SELECT 93, 35170994 UNION ALL SELECT 93, 35170995 UNION ALL SELECT 93, 35170996 UNION ALL SELECT 93, 35170997 UNION ALL SELECT 93, 35170998 UNION ALL SELECT 93, 35170999 UNION ALL SELECT 93, 35171000 UNION ALL SELECT 93, 35171001 UNION ALL SELECT 93, 35171002 UNION ALL SELECT 93, 35171003 UNION ALL SELECT 93, 35171004 UNION ALL SELECT 93, 35171005 UNION ALL SELECT 93, 35171006 UNION ALL SELECT 93, 35171007 UNION ALL SELECT 93, 35171008 UNION ALL SELECT 93, 35171009 UNION ALL SELECT 93, 35171010 UNION ALL SELECT 93, 35171011 UNION ALL SELECT 93, 35171012 UNION ALL SELECT 93, 35171013 UNION ALL SELECT 93, 35171014 UNION ALL SELECT 93, 35171015 UNION ALL SELECT 93, 35171016 UNION ALL SELECT 93, 35171017 UNION ALL SELECT 93, 35171018 UNION ALL SELECT 93, 35171019 UNION ALL SELECT 93, 35171020 UNION ALL SELECT 93, 35171021 UNION ALL SELECT 93, 35171022 UNION ALL SELECT 93, 35171023 UNION ALL SELECT 93, 35171024 UNION ALL SELECT 93, 35171025 UNION ALL SELECT 93, 35171026 UNION ALL SELECT 93, 35171027 UNION ALL SELECT 93, 35171028 UNION ALL SELECT 93, 35171029 UNION ALL SELECT 93, 35171030 UNION ALL SELECT 93, 35171031 UNION ALL SELECT 93, 35171032 UNION ALL SELECT 93, 35171033 UNION ALL SELECT 93, 35171034 UNION ALL SELECT 93, 35171035 UNION ALL SELECT 93, 35171036 UNION ALL SELECT 93, 35171037 UNION ALL SELECT 93, 35171038 UNION ALL SELECT 93, 35171039 UNION ALL SELECT 93, 35171040 UNION ALL SELECT 93, 35171041 UNION ALL SELECT 93, 35171042 UNION ALL SELECT 93, 35171043 UNION ALL SELECT 93, 35171044 UNION ALL SELECT 93, 35171045 UNION ALL SELECT 93, 35171046 UNION ALL SELECT 93, 35171047 UNION ALL SELECT 93, 35171048 UNION ALL SELECT 93, 35171049 UNION ALL SELECT 93, 35171050 UNION ALL SELECT 93, 35171051 UNION ALL SELECT 93, 35171052 UNION ALL SELECT 93, 35171053 UNION ALL SELECT 93, 35171054 UNION ALL SELECT 93, 35171055 UNION ALL SELECT 93, 35171056 UNION ALL SELECT 93, 35171057 UNION ALL SELECT 93, 35171058 UNION ALL SELECT 93, 35171059 UNION ALL SELECT 93, 35171060 UNION ALL SELECT 93, 35171061 UNION ALL SELECT 93, 35171062 UNION ALL SELECT 93, 35171063 UNION ALL SELECT 93, 35171064 UNION ALL SELECT 93, 35171065 UNION ALL SELECT 93, 35171066 UNION ALL SELECT 93, 35171067 UNION ALL SELECT 93, 35171068 UNION ALL SELECT 93, 35171069 UNION ALL SELECT 93, 35171070 UNION ALL SELECT 93, 35171071 UNION ALL SELECT 93, 35171072 UNION ALL SELECT 93, 35171073 UNION ALL SELECT 93, 35171074 UNION ALL SELECT 93, 35171075 UNION ALL SELECT 93, 35171076 UNION ALL SELECT 93, 35171077 UNION ALL SELECT 93, 35171078 UNION ALL SELECT 93, 35171079 UNION ALL SELECT 93, 35171080 UNION ALL SELECT 93, 35171081 UNION ALL SELECT 93, 35171082 UNION ALL SELECT 93, 35171083 UNION ALL SELECT 93, 35171084 UNION ALL SELECT 93, 35171085 UNION ALL SELECT 93, 35171086 UNION ALL SELECT 93, 35171087 UNION ALL SELECT 93, 35171088 UNION ALL SELECT 93, 35171089 UNION ALL SELECT 93, 35171090 UNION ALL SELECT 93, 35171091 UNION ALL SELECT 93, 35171092 UNION ALL SELECT 93, 35171093 UNION ALL SELECT 93, 35171094 UNION ALL SELECT 93, 35171095 UNION ALL SELECT 93, 35171096 UNION ALL SELECT 93, 35171097 UNION ALL SELECT 93, 35171098 UNION ALL SELECT 93, 35171099 UNION ALL SELECT 93, 35171100 UNION ALL SELECT 93, 35171101 UNION ALL SELECT 93, 35171102 UNION ALL SELECT 93, 35171103 UNION ALL SELECT 93, 35171104 UNION ALL SELECT 93, 35171105 UNION ALL SELECT 93, 35171106 UNION ALL SELECT 93, 35171107 UNION ALL SELECT 93, 35171108 UNION ALL SELECT 93, 35171109 UNION ALL SELECT 93, 35171110 UNION ALL SELECT 93, 35171111 UNION ALL SELECT 93, 35171112 UNION ALL SELECT 93, 35171113 UNION ALL SELECT 93, 35171114 UNION ALL SELECT 93, 35171115 UNION ALL SELECT 93, 35171116 UNION ALL SELECT 94, 35171117 UNION ALL SELECT 94, 35171118 UNION ALL SELECT 94, 35171119 UNION ALL SELECT 94, 35171120 UNION ALL SELECT 94, 35171121 UNION ALL SELECT 94, 35171122 UNION ALL SELECT 94, 35171123 UNION ALL SELECT 94, 35171124 UNION ALL SELECT 94, 35171125 UNION ALL SELECT 94, 35171126 UNION ALL SELECT 94, 35171127 UNION ALL SELECT 94, 35171128 UNION ALL SELECT 94, 35171129 UNION ALL SELECT 94, 35171130 UNION ALL SELECT 94, 35171131 UNION ALL SELECT 94, 35171132 UNION ALL SELECT 94, 35171133 UNION ALL SELECT 94, 35171134 UNION ALL SELECT 94, 35171135 UNION ALL SELECT 94, 35171136 UNION ALL SELECT 94, 35171137 UNION ALL SELECT 94, 35171138 UNION ALL SELECT 94, 35171139 UNION ALL SELECT 94, 35171140 UNION ALL SELECT 94, 35171141 UNION ALL SELECT 94, 35171142 UNION ALL SELECT 94, 35171143 UNION ALL SELECT 94, 35171144 UNION ALL SELECT 94, 35171145 UNION ALL SELECT 94, 35171146 UNION ALL SELECT 94, 35171147 UNION ALL SELECT 94, 35171148 UNION ALL SELECT 94, 35171149 UNION ALL SELECT 94, 35171150 UNION ALL SELECT 94, 35171151 UNION ALL SELECT 94, 35171152 UNION ALL SELECT 94, 35171153 UNION ALL SELECT 94, 35171154 UNION ALL SELECT 94, 35171155 UNION ALL SELECT 94, 35171156 UNION ALL SELECT 94, 35171157 UNION ALL SELECT 94, 35171158 UNION ALL SELECT 94, 35171159 UNION ALL SELECT 94, 35171160 UNION ALL SELECT 94, 35171161 UNION ALL SELECT 94, 35171162 UNION ALL SELECT 94, 35171163 UNION ALL SELECT 94, 35171164 UNION ALL SELECT 94, 35171165 UNION ALL SELECT 94, 35171166 UNION ALL SELECT 94, 35171167 UNION ALL SELECT 94, 35171168 UNION ALL SELECT 94, 35171169 UNION ALL SELECT 94, 35171170 UNION ALL SELECT 94, 35171171 UNION ALL SELECT 94, 35171172 UNION ALL SELECT 94, 35171173 UNION ALL SELECT 94, 35171174 UNION ALL SELECT 94, 35171175 UNION ALL SELECT 94, 35171176 UNION ALL SELECT 94, 35171177 UNION ALL SELECT 94, 35171178 UNION ALL SELECT 94, 35171179 UNION ALL SELECT 94, 35171180 UNION ALL SELECT 94, 35171181 UNION ALL SELECT 94, 35171182 UNION ALL SELECT 94, 35171183 UNION ALL SELECT 94, 35171184 UNION ALL SELECT 94, 35171185 UNION ALL SELECT 94, 35171186 UNION ALL SELECT 94, 35171187 UNION ALL SELECT 94, 35171188 UNION ALL SELECT 94, 35171189 UNION ALL SELECT 94, 35171190 UNION ALL SELECT 94, 35171191 UNION ALL SELECT 94, 35171192 UNION ALL SELECT 94, 35171193 UNION ALL SELECT 94, 35171194 UNION ALL SELECT 94, 35171195 UNION ALL SELECT 94, 35171196 UNION ALL SELECT 94, 35171197 UNION ALL SELECT 94, 35171198 UNION ALL SELECT 94, 35171199 UNION ALL SELECT 94, 35171200 UNION ALL SELECT 94, 35171201 UNION ALL SELECT 94, 35171202 UNION ALL SELECT 94, 35171203 UNION ALL SELECT 94, 35171204 UNION ALL SELECT 94, 35171205 UNION ALL SELECT 94, 35171206 UNION ALL SELECT 94, 35171207 UNION ALL SELECT 94, 35171208 UNION ALL SELECT 94, 35171209 UNION ALL SELECT 94, 35171210 UNION ALL SELECT 94, 35171211 UNION ALL SELECT 94, 35171212 UNION ALL SELECT 94, 35171213 UNION ALL SELECT 94, 35171214 UNION ALL SELECT 94, 35171215 UNION ALL SELECT 94, 35171216 UNION ALL SELECT 94, 35171217 UNION ALL SELECT 94, 35171218 UNION ALL SELECT 94, 35171219 UNION ALL SELECT 94, 35171220 UNION ALL SELECT 94, 35171221 UNION ALL SELECT 94, 35171222 UNION ALL SELECT 94, 35171223 UNION ALL SELECT 94, 35171224 UNION ALL SELECT 94, 35171225 UNION ALL SELECT 94, 35171226 UNION ALL SELECT 94, 35171227 UNION ALL SELECT 94, 35171228 UNION ALL SELECT 94, 35171229 UNION ALL SELECT 94, 35171230 UNION ALL SELECT 94, 35171231 UNION ALL SELECT 94, 35171232 UNION ALL SELECT 94, 35171233 UNION ALL SELECT 94, 35171234 UNION ALL SELECT 94, 35171235 UNION ALL SELECT 94, 35171236 UNION ALL SELECT 94, 35171237 UNION ALL SELECT 94, 35171238 UNION ALL SELECT 94, 35171239 UNION ALL SELECT 94, 35171240 UNION ALL SELECT 94, 35171241 UNION ALL SELECT 94, 35171242 UNION ALL SELECT 94, 35171243 UNION ALL SELECT 94, 35171244 UNION ALL SELECT 94, 35171245 UNION ALL SELECT 94, 35171246 UNION ALL SELECT 94, 35171247 UNION ALL SELECT 94, 35171248 UNION ALL SELECT 94, 35171249 UNION ALL SELECT 94, 35171250 UNION ALL SELECT 94, 35171251 UNION ALL SELECT 94, 35171252 UNION ALL SELECT 94, 35171253 UNION ALL SELECT 94, 35171254 UNION ALL SELECT 94, 35171255 UNION ALL SELECT 94, 35171256 UNION ALL SELECT 94, 35171257 UNION ALL SELECT 94, 35171258 UNION ALL SELECT 94, 35171259 UNION ALL SELECT 94, 35171260 UNION ALL SELECT 94, 35171261 UNION ALL SELECT 94, 35171262 UNION ALL SELECT 94, 35171263 UNION ALL SELECT 94, 35171264 UNION ALL SELECT 94, 35171265 UNION ALL SELECT 94, 35171266 UNION ALL SELECT 94, 35171267 UNION ALL SELECT 94, 35171268 UNION ALL SELECT 94, 35171269 UNION ALL SELECT 94, 35171270 UNION ALL SELECT 94, 35171271 UNION ALL SELECT 94, 35171272 UNION ALL SELECT 94, 35171273 UNION ALL SELECT 94, 35171274 UNION ALL SELECT 94, 35171275 UNION ALL SELECT 94, 35171276 UNION ALL SELECT 94, 35171277 UNION ALL SELECT 94, 35171278 UNION ALL SELECT 94, 35171279 UNION ALL SELECT 94, 35171280 UNION ALL SELECT 94, 35171281 UNION ALL SELECT 94, 35171282 UNION ALL SELECT 94, 35171283 UNION ALL SELECT 94, 35171284 UNION ALL SELECT 94, 35171285 UNION ALL SELECT 94, 35171286 UNION ALL SELECT 94, 35171287 UNION ALL SELECT 94, 35171288 UNION ALL SELECT 94, 35171289 UNION ALL SELECT 94, 35171290 UNION ALL SELECT 94, 35171291 UNION ALL SELECT 94, 35171292 UNION ALL SELECT 94, 35171293 UNION ALL SELECT 94, 35171294 +) l JOIN `gameobject` o ON o.`guid` = l.`guid`; diff --git a/sql/custom/world/2026_11_17_42_world_classic_scourge_invasion_scripts.sql b/sql/custom/world/2026_11_17_42_world_classic_scourge_invasion_scripts.sql new file mode 100644 index 0000000000..d1c02e789d --- /dev/null +++ b/sql/custom/world/2026_11_17_42_world_classic_scourge_invasion_scripts.sql @@ -0,0 +1,71 @@ +-- Classic 1.60 (WoW Forever): Scourge Invasion scripts, saved world states and gossip text. +-- Script code: src/server/scripts/Custom/Classic/world/classic_world_event_scourge_invasion.cpp (port of VMaNGOS +-- scourge_invasion.cpp and the ScourgeInvasionEvent part of HardcodedEvents.cpp, GPL-2). + +-- realm wide world states (no map ids), saved in characters.world_state_value +-- 2219 battles won and 2259-2264 / 2279-2284 (zone invaded / necropolises left) are the client's own world states +-- 17000000+ are internal to the script (next attack times, last attacked zone, GM switch), the client ignores them +DELETE FROM `world_state` WHERE `ID` IN (2219,2259,2260,2261,2262,2263,2264,2279,2280,2281,2282,2283,2284, + 17000001,17000002,17000004,17000016,17000046,17000139,17000440,17000618,17101497,17101519); +INSERT INTO `world_state` (`ID`,`DefaultValue`,`MapIDs`,`AreaIDs`,`ScriptName`,`Comment`) VALUES +(2219,0,NULL,NULL,'','Scourge Invasion: battles won'), +(2259,0,NULL,NULL,'','Scourge Invasion: Winterspring invaded'), +(2260,0,NULL,NULL,'','Scourge Invasion: Azshara invaded'), +(2261,0,NULL,NULL,'','Scourge Invasion: Blasted Lands invaded'), +(2262,0,NULL,NULL,'','Scourge Invasion: Burning Steppes invaded'), +(2263,0,NULL,NULL,'','Scourge Invasion: Tanaris invaded'), +(2264,0,NULL,NULL,'','Scourge Invasion: Eastern Plaguelands invaded'), +(2279,0,NULL,NULL,'','Scourge Invasion: Azshara necropolises left'), +(2280,0,NULL,NULL,'','Scourge Invasion: Blasted Lands necropolises left'), +(2281,0,NULL,NULL,'','Scourge Invasion: Burning Steppes necropolises left'), +(2282,0,NULL,NULL,'','Scourge Invasion: Eastern Plaguelands necropolises left'), +(2283,0,NULL,NULL,'','Scourge Invasion: Tanaris necropolises left'), +(2284,0,NULL,NULL,'','Scourge Invasion: Winterspring necropolises left'), +(17000001,0,NULL,NULL,'','Scourge Invasion (script): last zone won'), +(17000002,0,NULL,NULL,'','Scourge Invasion (script): .scourge on/off switch, 0 = config, 1 = on, 2 = off'), +(17000004,0,NULL,NULL,'','Scourge Invasion (script): next attack time, Blasted Lands'), +(17000016,0,NULL,NULL,'','Scourge Invasion (script): next attack time, Azshara'), +(17000046,0,NULL,NULL,'','Scourge Invasion (script): next attack time, Burning Steppes'), +(17000139,0,NULL,NULL,'','Scourge Invasion (script): next attack time, Eastern Plaguelands'), +(17000440,0,NULL,NULL,'','Scourge Invasion (script): next attack time, Tanaris'), +(17000618,0,NULL,NULL,'','Scourge Invasion (script): next attack time, Winterspring'), +(17101497,0,NULL,NULL,'','Scourge Invasion (script): next attack time, Undercity'), +(17101519,0,NULL,NULL,'','Scourge Invasion (script): next attack time, Stormwind'); + +-- creature scripts +UPDATE `creature_template` SET `ScriptName` = 'classic_si_mouth' WHERE `entry` = 16995; +UPDATE `creature_template` SET `ScriptName` = 'classic_si_necropolis' WHERE `entry` IN (16401,16398,16386); +UPDATE `creature_template` SET `ScriptName` = 'classic_si_necropolis_health' WHERE `entry` = 16421; +UPDATE `creature_template` SET `ScriptName` = 'classic_si_necrotic_shard' WHERE `entry` IN (16136,16172); +UPDATE `creature_template` SET `ScriptName` = 'classic_si_cultist_engineer' WHERE `entry` = 16230; +UPDATE `creature_template` SET `ScriptName` = 'classic_si_minion' WHERE `entry` IN (16141,16298,16299,14697,16379,16380,16143,16383); +UPDATE `creature_template` SET `ScriptName` = 'classic_si_argent_emissary' WHERE `entry` = 16285; +UPDATE `creature_template` SET `ScriptName` = 'classic_si_pallid_horror' WHERE `entry` IN (16394,16382); +-- the cultist (8 runes) and the emissary are talked to +UPDATE `creature_template` SET `npcflag` = `npcflag` | 1 WHERE `entry` IN (16230,16285); + +-- object scripts +UPDATE `gameobject_template` SET `ScriptName` = 'classic_si_go_circle' WHERE `entry` = 181136; +UPDATE `gameobject_template` SET `ScriptName` = 'classic_si_go_necropolis' WHERE `entry` IN (181154,181373,181374,181215,181223,181172); + +-- gossip text (VMaNGOS npc_text id = BroadcastText id). INSERT IGNORE keeps a row dev already has. +-- 8481 is not in our VMaNGOS extract: 12200 is the id between its neighbours (8480 = 12199, 8482 = 12202), check in game. +INSERT IGNORE INTO `npc_text` (`ID`,`Probability0`,`BroadcastTextID0`,`VerifiedBuild`) VALUES +(8434,1,12109,0), +(8436,1,12111,0), +(8471,1,12180,0), +(8486,1,12209,0), +(8573,1,12435,0), +(8480,1,12199,0), +(8481,1,12200,0), +(8482,1,12202,0), +(8483,1,12204,0), +(8484,1,12206,0), +(8593,1,12474,0), +(8594,1,12475,0), +(8551,1,12399,0), +(8554,1,12402,0), +(8555,1,12403,0), +(8525,1,12299,0), +(8526,1,12300,0), +(8527,1,12301,0); diff --git a/sql/custom/world/2026_11_17_50_world_forever_rite_of_vision_water.sql b/sql/custom/world/2026_11_17_50_world_forever_rite_of_vision_water.sql new file mode 100644 index 0000000000..656328d040 --- /dev/null +++ b/sql/custom/world/2026_11_17_50_world_forever_rite_of_vision_water.sql @@ -0,0 +1,9 @@ +-- Rite of Vision (772, Mulgore) could not be handed in after doing what the quest says (Russian forum report, 2026-11-14, 0.1.36). +-- The live quest data of 2026_11_12_14 added objective 480587: carry 1 Water of the Seers (4823). The quest itself hands you that +-- water (StartItem 4823) and tells you to drink it at the fire. Drinking casts 4981 (summon The Plains Vision 2983), and the client +-- data gives the item one charge that deletes it (ItemEffect 98275, Charges -1). So after drinking, the objective went back to 0/1 +-- and Seer Wildmane would not take the quest; only abandoning and handing it in without drinking worked. +-- The objective is removed again, as it was up to 0.1.35: the quest is done once taken, and the vision leads you to Wildmane. +-- Players who already drank: abandon the quest and take it again from Zarlman Two-Moons. +-- Safe to run again. +DELETE FROM `quest_objectives` WHERE `ID` = 480587 AND `QuestID` = 772; diff --git a/sql/custom/world/2026_11_17_51_world_forever_ruru_taming_beast_names.sql b/sql/custom/world/2026_11_17_51_world_forever_ruru_taming_beast_names.sql new file mode 100644 index 0000000000..c0b3ee7a27 --- /dev/null +++ b/sql/custom/world/2026_11_17_51_world_forever_ruru_taming_beast_names.sql @@ -0,0 +1,14 @@ +-- Taming the Beast (hunter pet quests): Russian creature names did not match the Russian quest text (Russian forum report, +-- 2026-11-17). Our ruRU creature names came from the modern client data, where two Durotar crabs are named one step up: +-- the small Pygmy Surf Crawler (3106) was "Приливный краб", the name the quest text (6083) uses for the Surf Crawler the rod +-- needs, so players tamed the small crabs by the fort and got "invalid target". The Classic names (same as the quest texts): +-- 3106 Pygmy Surf Crawler "Карликовый приливный краб" (was "Приливный краб") +-- 3107 Surf Crawler "Приливный краб" (was "Взрослый приливный краб"; quest 6083 target) +-- 3126 Armored Scorpid "Бронескорп" (was "Панцирный скорпид"; quest 6082 text says "бронескорпа") +-- 1998 Webwood Lurker "Чащобный тенетник" (was "Чащобный скрытень"; quest 6063 text says "чащобного тенетника") +-- Source: the Classic ruRU names of 2026_10_24_40 (VMaNGOS locales), which did not replace existing rows. +-- Names only. Safe to run again. +UPDATE `creature_template_locale` SET `Name` = 'Карликовый приливный краб' WHERE `entry` = 3106 AND `locale` = 'ruRU'; +UPDATE `creature_template_locale` SET `Name` = 'Приливный краб' WHERE `entry` = 3107 AND `locale` = 'ruRU'; +UPDATE `creature_template_locale` SET `Name` = 'Бронескорп' WHERE `entry` = 3126 AND `locale` = 'ruRU'; +UPDATE `creature_template_locale` SET `Name` = 'Чащобный тенетник' WHERE `entry` = 1998 AND `locale` = 'ruRU'; diff --git a/sql/custom/world/2026_11_17_81_world_forever_paladin_trainer_levels.sql b/sql/custom/world/2026_11_17_81_world_forever_paladin_trainer_levels.sql new file mode 100644 index 0000000000..3a128fb6a1 --- /dev/null +++ b/sql/custom/world/2026_11_17_81_world_forever_paladin_trainer_levels.sql @@ -0,0 +1,12 @@ +-- WoW Forever: paladin class trainer levels as live's trainers show them (Shari Stilwell, trainer 29, seen 2026-11-15). +-- Seal of Fury rank 3 (20163): level 26 (ours 25), between rank 2 at 18 and rank 4 at 34. +-- Holy Shield rank 2 (20927): level 40 (ours 50); rank 3 (20928): level 50 (ours 60). Live adds rank 4 (1239570) at 60; +-- that spell is not in client 70938's spell data (live sends only its name and text as a hotfix), so it is not added here. +-- Data from Efficient Games (https://efficient.games), licensed under CC BY 4.0 +-- (https://creativecommons.org/licenses/by/4.0/). Source: github.com/JIVESCORP/eg-link-output-wowf 6ff5612, build 1.60.1.70938. +-- Changed: only these three levels were picked and converted to our trainer_spell rows. +-- Safe to run again. + +UPDATE `trainer_spell` SET `ReqLevel` = 26 WHERE `TrainerId` = 29 AND `SpellId` = 20163; -- Seal of Fury rank 3, was 25 +UPDATE `trainer_spell` SET `ReqLevel` = 40 WHERE `TrainerId` = 29 AND `SpellId` = 20927; -- Holy Shield rank 2, was 50 +UPDATE `trainer_spell` SET `ReqLevel` = 50 WHERE `TrainerId` = 29 AND `SpellId` = 20928; -- Holy Shield rank 3, was 60 diff --git a/sql/custom/world/2026_11_17_96_world_forever_eg_link_live_data_1117.sql b/sql/custom/world/2026_11_17_96_world_forever_eg_link_live_data_1117.sql new file mode 100644 index 0000000000..71ab21a66f --- /dev/null +++ b/sql/custom/world/2026_11_17_96_world_forever_eg_link_live_data_1117.sql @@ -0,0 +1,105 @@ +-- WoW Forever live data from EG Link (Efficient Games), JIVESCORP/eg-link-output-wowf commit 6ff5612b, folder 1.60.1.70938 +-- (collected 13-16 Nov). Data from Efficient Games (https://efficient.games), licensed under CC BY 4.0 +-- (https://creativecommons.org/licenses/by/4.0/). Changed: compared with our world and written as TrinityCore rows; only what the +-- 15 Nov file (2026_11_15_96) did not already take. Only quests we already have. Safe to run more than once. + +-- 1. Reputation an item-turn-in quest asks for on live (hidden objective, like the Zandalar ones of 14 Nov): Argent Dawn Honored for +-- Mantles of the Dawn (5507) and Cenarion Circle for six Paragons of Power quests (8053, 8054, 8058, 8074, 8076, 8078). +DELETE FROM `quest_objectives` WHERE `ID` IN (381773,382866,383169,383084,382980,383099,383046); +INSERT INTO `quest_objectives` (`ID`,`QuestID`,`Type`,`Order`,`StorageIndex`,`ObjectID`,`Amount`,`ConditionalAmount`,`Flags`,`Flags2`,`ProgressBarWeight`,`ParentObjectiveID`,`Visible`,`Description`,`VerifiedBuild`) VALUES +(381773,5507,6,1,1,529,21000,0,0,0,0,0,1,NULL,70938), +(382866,8053,6,1,1,270,3000,0,0,0,0,0,1,NULL,70938), +(383169,8054,6,1,1,270,9000,0,0,0,0,0,1,NULL,70938), +(383084,8058,6,1,1,270,3000,0,0,0,0,0,1,NULL,70938), +(382980,8074,6,1,1,270,9000,0,0,0,0,0,1,NULL,70938), +(383099,8076,6,1,1,270,9000,0,0,0,0,0,1,NULL,70938), +(383046,8078,6,1,1,270,9000,0,0,0,0,0,1,NULL,70938); + +-- 2. Spell cast at turn-in (RewardSpell), as live's record gives it. +UPDATE `quest_template` SET `RewardSpell`=364165 WHERE `ID`=5306 AND `RewardSpell`=17043; -- Snakestone of the Shadow Huntress (like 5307 on 15 Nov) +UPDATE `quest_template` SET `RewardSpell`=1320162 WHERE `ID`=97583 AND `RewardSpell`=0; -- WRIGGLE. +UPDATE `quest_template` SET `RewardSpell`=24962 WHERE `ID`=98896 AND `RewardSpell`=0; -- Darkspear Islands Clash + +-- 3. Reward display spells shown in the reward window (quest_reward_display_spell), 3 quests. +DELETE FROM `quest_reward_display_spell` WHERE `QuestID` IN (5306,5638,7631); +INSERT INTO `quest_reward_display_spell` (`QuestID`,`Idx`,`SpellID`,`PlayerConditionID`,`Type`,`VerifiedBuild`) VALUES +(5306,0,17041,0,3,70938), +(5638,0,13908,0,3,70938), +(7631,0,23161,0,3,70938); + +-- 4. Reward items given twice: on live these quests give a choice of items and no fixed item. Ours had the choice (or, for 618, +-- not yet) and still the old fixed item, so a player got that item and a choice on top. 21 quests: the fixed item is cleared +-- where it is one of the choices. 618 Facing Negolash also gets its live choice (like 8554, its twin). +UPDATE `quest_template` SET `RewardChoiceItemID1`=4130, `RewardChoiceItemQuantity1`=1, `RewardChoiceItemID2`=270109, `RewardChoiceItemQuantity2`=1, `RewardChoiceItemID3`=270110, `RewardChoiceItemQuantity3`=1 WHERE `ID`=618 AND `RewardChoiceItemID1`=0; +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=608 AND `RewardItem1`=4138 AND 4138 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- The Bloodsail Buccaneers +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=611 AND `RewardItem1`=4120 AND 4120 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- The Curse of the Tides +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=613 AND `RewardItem1`=4129 AND 4129 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- Cracking Maury's Foot +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=614 AND `RewardItem1`=11469 AND 11469 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- The Captain's Chest +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=618 AND `RewardItem1`=4130 AND 4130 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- Facing Negolash +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=630 AND `RewardItem1`=4118 AND 4118 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- Message in a Bottle +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=762 AND `RewardItem1`=4987 AND 4987 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- An Ambassador of Evil +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=962 AND `RewardItem1`=10919 AND 10919 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- Serpentbloom +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=1012 AND `RewardItem1`=5813 AND 5813 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- Insane Druids +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=1139 AND `RewardItem1`=6723 AND 6723 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- The Lost Tablets of Will +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=1166 AND `RewardItem1`=10702 AND 10702 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- Overlord Mok'Morokk's Concern +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=5151 AND `RewardItem1`=15467 AND 15467 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- Hypercapacitor Gizmo +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=7201 AND `RewardItem1`=12038 AND 12038 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- The Last Element +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=7488 AND `RewardItem1`=18491 AND 18491 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- Lethtendris's Web +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=7489 AND `RewardItem1`=18491 AND 18491 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- Lethtendris's Web +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=7850 AND `RewardItem1`=19118 AND 19118 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- Dark Vessels +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=8258 AND `RewardItem1`=20134 AND 20134 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- The Darkreaver Menace +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=8554 AND `RewardItem1`=4130 AND 4130 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- Facing Negolash +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=97282 AND `RewardItem1`=281274 AND 281274 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- Stormy Potential +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=98025 AND `RewardItem1`=281289 AND 281289 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- WANTED: Jai'vhanel +UPDATE `quest_template` SET `RewardItem1`=0, `RewardAmount1`=0 WHERE `ID`=98093 AND `RewardItem1`=279391 AND 279391 IN (`RewardChoiceItemID1`,`RewardChoiceItemID2`,`RewardChoiceItemID3`,`RewardChoiceItemID4`,`RewardChoiceItemID5`,`RewardChoiceItemID6`); -- Field to Clear + +-- 5. Quest XP as live's quest record gives it (difficulty and multiplier; the same check as 15 Nov), 18 quests. The battleground +-- and repeatable turn-in quests that give no XP on live (2881, 8392, 8406, 8433, 8441) get difficulty 0. +UPDATE `quest_template` SET `RewardXPDifficulty`=0, `RewardXPMultiplier`=1.0 WHERE `ID` IN (2881,8392,8406,8433,8441); +UPDATE `quest_template` SET `RewardXPDifficulty`=1, `RewardXPMultiplier`=2.375 WHERE `ID` IN (7462); +UPDATE `quest_template` SET `RewardXPDifficulty`=2, `RewardXPMultiplier`=2.0 WHERE `ID` IN (1442); +UPDATE `quest_template` SET `RewardXPDifficulty`=4, `RewardXPMultiplier`=1.95 WHERE `ID` IN (5522); +UPDATE `quest_template` SET `RewardXPDifficulty`=5, `RewardXPMultiplier`=1.0 WHERE `ID` IN (8405); +UPDATE `quest_template` SET `RewardXPDifficulty`=5, `RewardXPMultiplier`=2.0 WHERE `ID` IN (5103,7631,7650,8906,8909,8911,8913,8950); +UPDATE `quest_template` SET `RewardXPDifficulty`=6, `RewardXPMultiplier`=2.0 WHERE `ID` IN (5306); + +-- 6. Reputation as live's quest record gives it, 24 quests (compared in points, written as overrides like our other rows): the +-- battleground turn-ins (Arathi Basin, Warsong Gulch, Alterac Valley factions) give 100 on live where ours gave 50, Concerted +-- Efforts (8385) also gives Theramore Expeditionary Force (2799), and More Al'Aketh Ears (93459) gives 200 Nightclaw Druids +-- reputation where ours gave 1000. +-- Left out: quests where live's record gives no reputation and ours does (as on 15 Nov). +UPDATE `quest_template` SET `RewardFactionID1`=509, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8384; -- Claiming Arathi Basin +UPDATE `quest_template` SET `RewardFactionID1`=509, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=730, `RewardFactionValue2`=0, `RewardFactionOverride2`=15000, `RewardFactionID3`=890, `RewardFactionValue3`=0, `RewardFactionOverride3`=10000, `RewardFactionID4`=2799, `RewardFactionValue4`=0, `RewardFactionOverride4`=10000, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8385; -- Concerted Efforts +UPDATE `quest_template` SET `RewardFactionID1`=890, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8386; -- Fight for Warsong Gulch +UPDATE `quest_template` SET `RewardFactionID1`=889, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8389; -- Battle of Warsong Gulch +UPDATE `quest_template` SET `RewardFactionID1`=510, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8390; -- Conquering Arathi Basin +UPDATE `quest_template` SET `RewardFactionID1`=509, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8391; -- Claiming Arathi Basin +UPDATE `quest_template` SET `RewardFactionID1`=509, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8392; -- Claiming Arathi Basin +UPDATE `quest_template` SET `RewardFactionID1`=509, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8397; -- Claiming Arathi Basin +UPDATE `quest_template` SET `RewardFactionID1`=509, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8398; -- Claiming Arathi Basin +UPDATE `quest_template` SET `RewardFactionID1`=890, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8404; -- Fight for Warsong Gulch +UPDATE `quest_template` SET `RewardFactionID1`=890, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8405; -- Fight for Warsong Gulch +UPDATE `quest_template` SET `RewardFactionID1`=890, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8406; -- Fight for Warsong Gulch +UPDATE `quest_template` SET `RewardFactionID1`=890, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8407; -- Fight for Warsong Gulch +UPDATE `quest_template` SET `RewardFactionID1`=890, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8408; -- Fight for Warsong Gulch +UPDATE `quest_template` SET `RewardFactionID1`=889, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8431; -- Battle of Warsong Gulch +UPDATE `quest_template` SET `RewardFactionID1`=889, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8432; -- Battle of Warsong Gulch +UPDATE `quest_template` SET `RewardFactionID1`=889, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8433; -- Battle of Warsong Gulch +UPDATE `quest_template` SET `RewardFactionID1`=889, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8434; -- Battle of Warsong Gulch +UPDATE `quest_template` SET `RewardFactionID1`=889, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8435; -- Battle of Warsong Gulch +UPDATE `quest_template` SET `RewardFactionID1`=510, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8440; -- Conquering Arathi Basin +UPDATE `quest_template` SET `RewardFactionID1`=510, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8441; -- Conquering Arathi Basin +UPDATE `quest_template` SET `RewardFactionID1`=510, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8442; -- Conquering Arathi Basin +UPDATE `quest_template` SET `RewardFactionID1`=510, `RewardFactionValue1`=0, `RewardFactionOverride1`=10000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=8443; -- Conquering Arathi Basin +UPDATE `quest_template` SET `RewardFactionID1`=2758, `RewardFactionValue1`=0, `RewardFactionOverride1`=20000, `RewardFactionID2`=0, `RewardFactionValue2`=0, `RewardFactionOverride2`=0, `RewardFactionID3`=0, `RewardFactionValue3`=0, `RewardFactionOverride3`=0, `RewardFactionID4`=0, `RewardFactionValue4`=0, `RewardFactionOverride4`=0, `RewardFactionID5`=0, `RewardFactionValue5`=0, `RewardFactionOverride5`=0 WHERE `ID`=93459; -- More Al'Aketh Ears + +-- 7. The level Facing Negolash (618) is offered from on live, like its twin 8554. +UPDATE `quest_classic_level` SET `MinLevel`=35 WHERE `ID`=618 AND `MinLevel`=37; + +-- 8. Quest titles as live shows them. +UPDATE `quest_template` SET `LogTitle`='Onu is Meditating' WHERE `ID`=960 AND `LogTitle`='Onu is meditating'; +UPDATE `quest_template` SET `LogTitle`='Onu is Meditating' WHERE `ID`=961 AND `LogTitle`='Onu is meditating'; + +-- 9. Apprentice Engineering (4036) and Apprentice Enchanting (7411) are learned from level 1 on live: every live trainer seen +-- (8 of them, among them Graham Van Talen, Lavinia Crowe and Malcomb Wynn) asks for level 1; some of ours asked for 5. +UPDATE `trainer_spell` SET `ReqLevel`=1 WHERE `SpellId` IN (4036,7411) AND `ReqLevel`=5; diff --git a/sql/custom/world/2026_11_17_97_world_forever_everlake_data_1117.sql b/sql/custom/world/2026_11_17_97_world_forever_everlake_data_1117.sql new file mode 100644 index 0000000000..f77cf96f0b --- /dev/null +++ b/sql/custom/world/2026_11_17_97_world_forever_everlake_data_1117.sql @@ -0,0 +1,141 @@ +-- WoW Forever live drops from Everlake's world data, picked on 17 Nov: only what our world lacked. +-- From Everlake's world data (buildthehomelab/wow-everlake-world-data, main fc2f2ad3, GPL-3.0), its exports 35 and 36: Icy Veins' +-- WoW Forever database (db.icy-veins.com/wow-forever) and Wowhead's WoW Forever database (www.wowhead.com/forever), with the drop +-- chances their players measured on live Forever. Not their files: their rows were compared with ours and only what we lack is +-- written here as our own rows. Safe to run more than once. + +-- Creature drops seen on live that ours lacks: 88 rows (Icy Veins) and 31 recipe drops (Wowhead) on 88 creatures. Only spawned +-- creatures, items the client has, and only where the creature's own loot (or its reference tables) does not already hold the +-- item. A row goes in only where the creature's loot id is its own entry (or not set yet; then it is set), so no other +-- creature's loot changes. +DROP TEMPORARY TABLE IF EXISTS `forever_drops_1117`; +CREATE TEMPORARY TABLE `forever_drops_1117` (`Entry` INT UNSIGNED NOT NULL, `Item` INT UNSIGNED NOT NULL, `Chance` FLOAT NOT NULL, `QuestRequired` TINYINT UNSIGNED NOT NULL, `MinCount` TINYINT UNSIGNED NOT NULL, `MaxCount` TINYINT UNSIGNED NOT NULL, `Src` TINYINT UNSIGNED NOT NULL, PRIMARY KEY (`Entry`,`Item`)); +INSERT INTO `forever_drops_1117` (`Entry`,`Item`,`Chance`,`QuestRequired`,`MinCount`,`MaxCount`,`Src`) VALUES +(1037,282658,17.44,0,1,1,1), +(1785,254120,3.11,0,1,1,2), +(1795,254138,2.08,0,1,1,2), +(2186,284192,4.0,0,1,1,1), +(2748,274432,34.57,0,1,1,1), +(3660,282406,22.97,0,1,1,1), +(5239,287070,0.29,0,1,1,1), +(5471,252908,1.08,0,1,1,2), +(5648,287070,0.1,0,1,1,1), +(5650,287070,0.05,0,1,1,1), +(5710,273119,0.96,0,1,1,2), +(5834,286540,3.79,0,1,1,1), +(5852,254076,2.09,0,1,1,2), +(5915,284459,33.33,0,1,1,1), +(5928,284401,31.43,0,1,1,1), +(5930,284399,21.13,0,1,1,1), +(5933,285191,33.33,0,1,1,1), +(6004,252928,2.23,0,1,1,2), +(6006,252931,2.56,0,1,1,2), +(6193,250980,1.08,0,1,1,2), +(6200,235256,26.05,0,1,1,1), +(6201,235256,29.29,0,1,1,1), +(6202,235256,41.78,0,1,1,1), +(6527,252927,2.53,0,1,1,2), +(6557,252878,2.17,0,1,1,2), +(7023,274425,30.92,0,1,1,1), +(7023,274428,27.31,0,1,1,1), +(7023,274430,28.51,0,1,1,1), +(7023,274485,9.24,0,1,1,1), +(7025,252888,7.14,0,1,1,2), +(7033,264224,1.75,0,1,1,2), +(7206,274431,39.0,0,1,1,1), +(7228,274484,12.77,0,1,1,1), +(7271,274642,25.56,0,1,1,1), +(7272,274638,30.95,0,1,1,1), +(7272,274639,32.09,0,1,1,1), +(7272,274641,30.95,0,1,1,1), +(7376,252889,0.99,0,1,1,2), +(7396,287070,0.11,0,1,1,1), +(7451,251443,2.05,0,1,1,2), +(7523,254122,5.88,0,1,1,2), +(7604,274646,36.26,0,1,1,1), +(7604,274647,29.83,0,1,1,1), +(7604,274648,27.78,0,1,1,1), +(7795,274651,29.55,0,1,1,1), +(7795,274652,27.76,0,1,1,1), +(7795,274653,28.66,0,1,1,1), +(7797,274654,34.75,0,1,1,1), +(7797,274655,32.27,0,1,1,1), +(7857,287070,0.05,0,1,1,1), +(7885,252886,4.55,0,1,1,2), +(7886,250189,10.61,0,1,1,2), +(8983,273113,9.76,0,1,1,2), +(8983,273127,92.31,0,1,1,1), +(9042,276884,27.27,0,1,1,1), +(9262,252895,9.59,0,1,1,2), +(9502,276879,36.36,0,1,1,1), +(9583,251451,3.85,0,1,1,2), +(9736,273115,7.35,0,1,1,2), +(9816,249520,15.79,0,1,1,2), +(10080,274659,41.67,0,1,1,1), +(10080,274660,50.0,0,1,1,1), +(10082,274658,43.12,0,1,1,1), +(10318,252939,13.04,0,1,1,2), +(10399,249524,12.7,0,1,1,2), +(10417,254140,2.9,0,1,1,2), +(10436,273124,7.14,0,1,1,2), +(10498,249523,13.16,0,1,1,2), +(10559,284704,15.0,0,1,1,1), +(10596,249521,11.54,0,1,1,2), +(11261,273118,3.85,0,1,1,2), +(11441,251452,12.82,0,1,1,2), +(11462,252891,7.04,0,1,1,2), +(12236,275864,26.5,0,1,1,1), +(14221,283255,24.39,0,1,1,1), +(14225,284717,18.18,0,1,1,1), +(14228,284712,19.23,0,1,1,1), +(14273,281927,24.39,0,1,1,1), +(14280,282717,20.23,0,1,1,1), +(14281,282713,13.89,0,1,1,1), +(14424,282655,11.29,0,1,1,1), +(14427,285192,14.04,0,1,1,1), +(246600,286990,0.06,0,1,1,1), +(246600,286996,0.12,0,1,1,1), +(246664,286990,0.07,0,1,1,1), +(246664,286993,0.04,0,1,1,1), +(246664,286996,0.01,0,1,1,1), +(246888,286990,0.08,0,1,1,1), +(246888,286993,0.08,0,1,1,1), +(246990,286993,0.14,0,1,1,1), +(246992,286990,0.1,0,1,1,1), +(246993,286993,0.11,0,1,1,1), +(247001,286990,0.12,0,1,1,1), +(247001,286993,0.08,0,1,1,1), +(247003,286993,0.15,0,1,1,1), +(247003,286996,0.06,0,1,1,1), +(249247,274517,1.67,0,1,1,1), +(253272,260348,0.45,0,1,1,1), +(253272,260351,0.45,0,1,1,1), +(255066,286990,0.03,0,1,1,1), +(255066,286996,0.08,0,1,1,1), +(255068,286990,0.15,0,1,1,1), +(255068,286993,0.07,0,1,1,1), +(255069,286990,0.06,0,1,1,1), +(255069,286993,0.06,0,1,1,1), +(255069,286996,0.03,0,1,1,1), +(255070,286990,0.08,0,1,1,1), +(255072,286990,0.1,0,1,1,1), +(255072,286993,0.05,0,1,1,1), +(255072,286996,0.16,0,1,1,1), +(255207,260348,5.17,0,1,1,1), +(255207,260351,6.9,0,1,1,1), +(255207,260353,8.62,0,1,1,1), +(255238,260348,6.52,0,1,1,1), +(255238,260351,2.17,0,1,1,1), +(255238,260353,6.52,0,1,1,1), +(269134,286990,0.12,0,1,1,1), +(269134,286993,0.1,0,1,1,1), +(269134,286996,0.15,0,1,1,1); +UPDATE `creature_template_difficulty` `d` SET `d`.`LootID`=`d`.`Entry` WHERE `d`.`DifficultyID`=0 AND `d`.`LootID`=0 + AND `d`.`Entry` IN (SELECT `Entry` FROM `forever_drops_1117`) + AND NOT EXISTS (SELECT 1 FROM `creature_loot_template` `l` WHERE `l`.`Entry`=`d`.`Entry`); +INSERT INTO `creature_loot_template` (`Entry`,`ItemType`,`Item`,`Chance`,`QuestRequired`,`LootMode`,`GroupId`,`MinCount`,`MaxCount`,`Comment`) +SELECT `s`.`Entry`,0,`s`.`Item`,`s`.`Chance`,`s`.`QuestRequired`,1,0,`s`.`MinCount`,`s`.`MaxCount`,IF(`s`.`Src`=1,'Everlake data: Icy Veins Forever','Everlake data: Wowhead Forever') FROM `forever_drops_1117` `s` +JOIN `creature_template_difficulty` `d` ON `d`.`Entry`=`s`.`Entry` AND `d`.`DifficultyID`=0 AND `d`.`LootID`=`s`.`Entry` +WHERE NOT EXISTS (SELECT 1 FROM `creature_loot_template` `x` WHERE `x`.`Entry`=`s`.`Entry` AND `x`.`ItemType`=0 AND `x`.`Item`=`s`.`Item`) + AND NOT EXISTS (SELECT 1 FROM `creature_template_difficulty` `o` WHERE `o`.`LootID`=`s`.`Entry` AND `o`.`Entry`<>`s`.`Entry`); +DROP TEMPORARY TABLE IF EXISTS `forever_drops_1117`; diff --git a/sql/custom/world/2026_11_18_17_world_classic_counterattack_script_ids.sql b/sql/custom/world/2026_11_18_17_world_classic_counterattack_script_ids.sql new file mode 100644 index 0000000000..f15d734df4 --- /dev/null +++ b/sql/custom/world/2026_11_18_17_world_classic_counterattack_script_ids.sql @@ -0,0 +1,29 @@ +-- The Glowing Shard (6981) could not be handed in, and Shenthul's gossip in Orgrimmar summoned the Counterattack event. +-- 2026_11_12_32_world_classic_counterattack_event.sql wrote Counterattack!'s "Warlord Krom'zar comes" and "Counterattack over" lists +-- into the timed action lists 950000302 and 950000303, which were already in use: +-- 950000302: Shenthul (3401) gossip 521/2 -> cast 21100 (VMaNGOS gossip_scripts 16) +-- 950000303: Sputtervalve (3442) gossip 21/1 -> complete The Glowing Shard 6981 (VMaNGOS gossip_scripts 21) +-- So talking to Sputtervalve ran "Counterattack over" instead of finishing the quest, and Falla Sagewind never took it. +-- The two Counterattack lists move to 950001417 and 950001418 and the two old lists get their rows back. +-- Safe to run again. + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (950000302,950000303,950001417,950001418) AND `source_type` = 9; +INSERT INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`Difficulties`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`event_param5`,`event_param_string`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`action_param7`,`action_param_string`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_param_string`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(950001417,9,0,0,'',0,0,100,0,0,0,0,0,0,'',12,9456,1,600000,0,0,0,0,'',8,0,0,0,0,'',-297.624,-1839.22,93.8783,4.81711,'Counterattack - Summon Warlord Krom''zar (VMaNGOS generic_scripts 402102)'), +(950001417,9,1,0,'',0,0,100,0,1000,1000,0,0,0,'',12,9524,1,600000,0,0,0,0,'',8,0,0,0,0,'',-293.931,-1837.24,93.4963,4.43314,'Counterattack - Summon Kolkar Invader with Krom''zar'), +(950001417,9,2,0,'',0,0,100,0,0,0,0,0,0,'',12,9523,1,600000,0,0,0,0,'',8,0,0,0,0,'',-297.878,-1834.64,94.2335,4.79965,'Counterattack - Summon Kolkar Stormseer with Krom''zar'), +(950001418,9,0,0,'',0,0,100,0,0,0,0,0,0,'',74,2,0,0,0,0,0,0,'',1,0,0,0,0,'',0,0,0,0,'Counterattack over - Remove the time limit'), +(950001418,9,1,0,'',0,0,100,0,0,0,0,0,0,'',63,1,0,1,0,0,0,0,'',1,0,0,0,0,'',0,0,0,0,'Counterattack over - Reset Kolkar kill counter'), +(950001418,9,2,0,'',0,0,100,0,0,0,0,0,0,'',1,2,0,0,0,0,0,0,'',1,0,0,0,0,'',0,0,0,0,'Counterattack over - Regthar Deathgate - Say Line 2 (VMaNGOS generic_scripts 402106)'), +(950001418,9,3,0,'',0,0,100,0,0,0,0,0,0,'',41,3000,0,0,0,0,0,0,'',11,9524,200,0,0,'',0,0,0,0,'Counterattack over - Despawn the event''s Kolkar Invaders (VMaNGOS generic_scripts 402105)'), +(950001418,9,4,0,'',0,0,100,0,0,0,0,0,0,'',41,3000,0,0,0,0,0,0,'',11,9523,200,0,0,'',0,0,0,0,'Counterattack over - Despawn the event''s Kolkar Stormseers (VMaNGOS generic_scripts 402105)'), +(950001418,9,5,0,'',0,0,100,0,0,0,0,0,0,'',41,3000,0,0,0,0,0,0,'',11,9457,200,0,0,'',0,0,0,0,'Counterattack over - Despawn the event''s Horde Defenders (VMaNGOS generic_scripts 402105)'), +(950001418,9,6,0,'',0,0,100,0,0,0,0,0,0,'',41,3000,0,0,0,0,0,0,'',11,9458,200,0,0,'',0,0,0,0,'Counterattack over - Despawn the event''s Darkspear Hunters (VMaNGOS generic_scripts 402105)'), +(950001418,9,7,0,'',0,0,100,0,1000,1000,0,0,0,'',4,6199,0,0,0,0,0,0,'',10,20013100,9990,0,0,'',0,0,0,0,'Counterattack over - Lanti''gah - Play Sound'), +(950001418,9,8,0,'',0,0,100,0,0,0,0,0,0,'',82,1,0,0,0,0,0,0,'',10,20013100,9990,0,0,'',0,0,0,0,'Counterattack over - Lanti''gah - Add Gossip Flag'), +(950001418,9,9,0,'',0,0,100,0,1000,1000,0,0,0,'',45,1,2,0,0,0,0,0,'',10,20013100,9990,0,0,'',0,0,0,0,'Counterattack over - Lanti''gah - Set Data 1 2 (go home)'), +(950000302,9,0,0,'',0,0,100,0,0,0,0,0,0,'',11,21100,0,0,0,0,0,0,'',7,0,0,0,0,'',0,0,0,0,'VMaNGOS gossip_scripts 16'), +(950000303,9,0,0,'',0,0,100,0,0,0,0,0,0,'',152,6981,0,0,0,0,0,0,'',7,0,0,0,0,'',0,0,0,0,'VMaNGOS gossip_scripts 21'); + +UPDATE `smart_scripts` SET `action_param1` = 950001417 WHERE `entryorguid` = 3389 AND `source_type` = 0 AND `id` = 13 AND `action_type` = 80; +UPDATE `smart_scripts` SET `action_param1` = 950001418 WHERE `entryorguid` = 3389 AND `source_type` = 0 AND `id` IN (14,15) AND `action_type` = 80; diff --git a/sql/custom/world/2026_11_18_96_world_forever_eg_link_live_data_1118.sql b/sql/custom/world/2026_11_18_96_world_forever_eg_link_live_data_1118.sql new file mode 100644 index 0000000000..dbf4457ffb --- /dev/null +++ b/sql/custom/world/2026_11_18_96_world_forever_eg_link_live_data_1118.sql @@ -0,0 +1,20 @@ +-- WoW Forever live data from EG Link (Efficient Games), JIVESCORP/eg-link-output-wowf commit 06b4cc7, folder 1.60.1.70938 +-- (collected to 17 Nov). Data from Efficient Games (https://efficient.games), licensed under CC BY 4.0 +-- (https://creativecommons.org/licenses/by/4.0/). Changed: compared with our world and written as TrinityCore rows; only what the +-- 17 Nov file (2026_11_17_96) did not already take. Safe to run more than once. + +-- 1. Quest XP as live's quest record gives it (difficulty and multiplier, the same check as 15 and 17 Nov). +UPDATE `quest_template` SET `RewardXPDifficulty`=0, `RewardXPMultiplier`=1 WHERE `ID`=1878; -- Water Pouch Bounty (repeatable) +UPDATE `quest_template` SET `RewardXPDifficulty`=5, `RewardXPMultiplier`=2 WHERE `ID`=8949; -- Falrin's Vendetta + +-- 2. Control Four Bases (8114) is offered from level 50 on live (ours 60). +UPDATE `quest_classic_level` SET `MinLevel`=50 WHERE `ID`=8114 AND `MinLevel`=60; + +-- 3. Naluk (261313) sells four more drinks and foods on live, for money: Moonberry Juice, Cured Ham Steak, Morning Glory Dew and +-- Roasted Quail. +DELETE FROM `npc_vendor` WHERE `entry`=261313 AND `ExtendedCost`=0 AND `type`=1 AND `item` IN (1645,4599,8766,8952); +INSERT INTO `npc_vendor` (`entry`,`slot`,`item`,`maxcount`,`incrtime`,`ExtendedCost`,`type`,`PlayerConditionID`,`IgnoreFiltering`,`VerifiedBuild`) VALUES +(261313,3,1645,0,0,0,1,0,0,0), +(261313,4,4599,0,0,0,1,0,0,0), +(261313,5,8766,0,0,0,1,0,0,0), +(261313,6,8952,0,0,0,1,0,0,0); diff --git a/sql/custom/world/2026_11_18_97_world_forever_questie_1118.sql b/sql/custom/world/2026_11_18_97_world_forever_questie_1118.sql new file mode 100644 index 0000000000..ee78677120 --- /dev/null +++ b/sql/custom/world/2026_11_18_97_world_forever_questie_1118.sql @@ -0,0 +1,20 @@ +-- WoW Forever live quest data from Questie (QuestieDB 4a73dc65, GPL-3.0), picked on 18 Nov: only what ours had wrong, and only +-- for quests we already have. Not their files: their values were compared with ours and only the differences are written here. +-- Safe to run more than once. + +-- 1. Darkspear Islands battleground quests (levels 30-39): the first turn-in and its repeatable follow-up, for each side. +-- Horde: Conflict at Darkspear Islands 98887 / 98888 at the Horde Warbringer (15350); Alliance: Darkspear Islands Clash +-- 98895 / 98896 at the Alliance Brigadier General (15351); The Battle for Darkspear Islands! 98906 (Horde). +-- Ours let anyone of any level take them, both sides took both, and the follow-up needed nothing first. +UPDATE `quest_template` SET `AllowableRaces`=8589934770 WHERE `ID`=98888 AND `AllowableRaces`=18446744073709551615; +UPDATE `quest_template` SET `AllowableRaces`=4294967373 WHERE `ID`=98895 AND `AllowableRaces`=18446744073709551615; +INSERT INTO `quest_template_addon` (`ID`,`MaxLevel`) VALUES (98887,39),(98888,39),(98895,39),(98896,39),(98906,39) +ON DUPLICATE KEY UPDATE `MaxLevel`=VALUES(`MaxLevel`); +UPDATE `quest_template_addon` SET `PrevQuestID`=98887 WHERE `ID`=98888 AND `PrevQuestID`=0; +UPDATE `quest_template_addon` SET `PrevQuestID`=98895 WHERE `ID`=98896 AND `PrevQuestID`=0; +UPDATE `quest_template_addon` SET `SpecialFlags`=`SpecialFlags`|1 WHERE `ID` IN (98888,98896); + +-- 2. Buying Friendship (Desolace centaur bribes): live asks for at least Neutral with the clan being bribed before the quest can be +-- taken. 93227 and 94873 Gelkis Clan Centaur (92), 94872 Magram Clan Centaur (93). +UPDATE `quest_template_addon` SET `RequiredMinRepFaction`=92, `RequiredMinRepValue`=0 WHERE `ID` IN (93227,94873) AND `RequiredMinRepFaction`=0; +UPDATE `quest_template_addon` SET `RequiredMinRepFaction`=93, `RequiredMinRepValue`=0 WHERE `ID`=94872 AND `RequiredMinRepFaction`=0; diff --git a/sql/playerbot_v2/0041_bot_text_fixes.sql b/sql/playerbot_v2/0041_bot_text_fixes.sql new file mode 100644 index 0000000000..bbba6f0e2b --- /dev/null +++ b/sql/playerbot_v2/0041_bot_text_fixes.sql @@ -0,0 +1,11 @@ +-- Migration: 0041_bot_text_fixes +-- Date: 2026-11-17 +-- Purpose: Stock lines carried over by 0019 that give the bots away as nonsense or as bots: +-- * suggest_something '%zone_name': nothing but the zone's name, so a bot posted just "Тирисфальские леса" / +-- "Tirisfal Glades" in General (cyborgx5, GitHub #12). The zone's other lines stay. +-- * reply_question_why / reply_question_generic 'dont ask me %s, im just a bot': a bot that says it is a bot. +-- Reverts: yes (INSERT the rows back). + +-- @target: shared +DELETE FROM {SHARED}.playerbot_v2_bot_text WHERE name = 'suggest_something' AND text = '%zone_name'; +DELETE FROM {SHARED}.playerbot_v2_bot_text WHERE name IN ('reply_question_why', 'reply_question_generic') AND text = 'dont ask me %s, im just a bot'; diff --git a/sql/playerbot_v2/0042_bot_text_meta_lines.sql b/sql/playerbot_v2/0042_bot_text_meta_lines.sql new file mode 100644 index 0000000000..d3e65172aa --- /dev/null +++ b/sql/playerbot_v2/0042_bot_text_meta_lines.sql @@ -0,0 +1,14 @@ +-- Migration: 0042_bot_text_meta_lines +-- Date: 2026-11-17 +-- Purpose: Four 'reply' lines (not understood, reply_type 0) carried over by 0019 that talk about the chat itself the way a +-- program would: confused by the chat, everyone says the same things, trying to understand a comment. A bot +-- whispered something it does not understand answered with one of them, and a player reads it as a bot. The +-- other 'not understood' lines (huh?, what?, you lost me, ...) stay. +-- Reverts: yes (INSERT the rows back, reply_type 0). + +-- @target: shared +DELETE FROM {SHARED}.playerbot_v2_bot_text WHERE name = 'reply' AND reply_type = 0 AND text IN ( + 'These chat-messages are freaking me out! I feel like I know you all!', + 'Why is everybody always saying the same things???', + 'thought i should remain silent, was getting confused from chat again', + 'i will attempt to understand that comment'); diff --git a/sql/playerbot_v2/README.md b/sql/playerbot_v2/README.md index cbe8e7f798..7f7c56eb1b 100644 --- a/sql/playerbot_v2/README.md +++ b/sql/playerbot_v2/README.md @@ -22,6 +22,8 @@ Applied in ascending numeric order; each file records itself in - `0025_owner_gear_mode.sql` — `playerbot_v2_owner_gear`: the gear mode (match / best / t1 / t2 / t3) an owner chose for their companions, per owner account - `0038_owner_language.sql` — `playerbot_v2_owner_language`: the language (en / ru) a player chose for the bots' replies with `.bot language`, per account - `0040_companion_talent_code.sql` — `playerbot_v2_character.companion_talents`: a companion's own talent build, given as a Wowhead Forever talent calculator code (`change talents `), kept across relog and restart +- `0041_bot_text_fixes.sql` — (shared DB) removes stock lines that read as nonsense or as a bot: the `suggest_something` line that was only `%zone_name`, and "dont ask me %s, im just a bot" +- `0042_bot_text_meta_lines.sql` — (shared DB) removes four "not understood" replies that talk about the chat like a program ("getting confused from chat again", "i will attempt to understand that comment", ...) ## Discipline - Never edit a numbered migration after it ships. Add a new one to amend. diff --git a/src/common/Collision/Management/VMapManager.cpp b/src/common/Collision/Management/VMapManager.cpp index ecba3ccfe4..d34b554bee 100644 --- a/src/common/Collision/Management/VMapManager.cpp +++ b/src/common/Collision/Management/VMapManager.cpp @@ -186,6 +186,27 @@ namespace VMAP return true; } + bool VMapManager::getFirstModelHit(uint32 mapId, float x1, float y1, float z1, float x2, float y2, float z2, ModelIgnoreFlags ignoreFlags, + float& rx, float& ry, float& rz, uint32& spawnId, uint8& spawnFlags, float& sx, float& sy, float& sz) + { + if (!isLineOfSightCalcEnabled() || IsVMAPDisabledForPtr(mapId, VMAP_DISABLE_LOS)) + return false; + auto instanceTree = GetMapTree(mapId); + if (instanceTree == iInstanceMapTrees.end()) + return false; + G3D::Vector3 hit; + ModelMinimalData const* model = nullptr; + if (!instanceTree->second->getFirstHit(convertPositionToInternalRep(x1, y1, z1), convertPositionToInternalRep(x2, y2, z2), ignoreFlags, hit, model)) + return false; + G3D::Vector3 const world = convertPositionToInternalRep(hit.x, hit.y, hit.z); + G3D::Vector3 const at = convertPositionToInternalRep(model->iPos.x, model->iPos.y, model->iPos.z); + rx = world.x; ry = world.y; rz = world.z; + spawnId = model->ID; + spawnFlags = model->flags; + sx = at.x; sy = at.y; sz = at.z; + return true; + } + /** get the hit position and return true if we hit something otherwise the result pos will be the dest pos diff --git a/src/common/Collision/Management/VMapManager.h b/src/common/Collision/Management/VMapManager.h index 67e897ea98..fd16369a9b 100644 --- a/src/common/Collision/Management/VMapManager.h +++ b/src/common/Collision/Management/VMapManager.h @@ -156,6 +156,12 @@ namespace VMAP return a position, that is modifyDist closer to the origin */ bool getObjectHitPos(uint32 mapId, float x1, float y1, float z1, float x2, float y2, float z2, float& rx, float& ry, float& rz, float modifyDist); + /** + The first static model a line runs into (diagnostics): the hit position, the model's spawn id and flags (ModelFlags) and + where the spawn stands. False when the line is clear. + */ + bool getFirstModelHit(uint32 mapId, float x1, float y1, float z1, float x2, float y2, float z2, ModelIgnoreFlags ignoreFlags, + float& rx, float& ry, float& rz, uint32& spawnId, uint8& spawnFlags, float& sx, float& sy, float& sz); float getHeight(uint32 mapId, float x, float y, float z, float maxSearchDist); /** diff --git a/src/common/Collision/Maps/MapTree.cpp b/src/common/Collision/Maps/MapTree.cpp index ea1f58c3b8..fb2c0d1194 100644 --- a/src/common/Collision/Maps/MapTree.cpp +++ b/src/common/Collision/Maps/MapTree.cpp @@ -123,6 +123,39 @@ namespace VMAP return true; } //========================================================= + + bool StaticMapTree::getFirstHit(Vector3 const& pos1, Vector3 const& pos2, ModelIgnoreFlags ignoreFlags, Vector3& hitPos, + ModelMinimalData const*& model) const + { + model = nullptr; + float maxDist = (pos2 - pos1).magnitude(); + if (maxDist < 1e-10f || !std::isfinite(maxDist)) + return false; + Vector3 const dir = (pos2 - pos1) / maxDist; + G3D::Ray const ray = G3D::Ray::fromOriginAndDirection(pos1, dir); + // Every hit shortens the distance the tree still searches, so the last entry that hits is the nearest one. + ModelInstance const* prims = iTreeValues.data(); + uint32 nearest = 0; + bool hit = false; + auto callback = [&](G3D::Ray const& r, uint32 entry, float& distance, bool stopAtFirstHit) + { + bool const result = prims[entry].intersectRay(r, distance, stopAtFirstHit, ignoreFlags); + if (result) + { + hit = true; + nearest = entry; + } + return result; + }; + float distance = maxDist; + iTree.intersectRay(ray, callback, distance, false); + if (!hit) + return false; + hitPos = pos1 + dir * distance; + model = &prims[nearest]; + return true; + } + //========================================================= /** When moving from pos1 to pos2 check if we hit an object. Return true and the position if we hit one Return the hit pos or the original dest pos diff --git a/src/common/Collision/Maps/MapTree.h b/src/common/Collision/Maps/MapTree.h index 72b3ab056d..30e75285eb 100644 --- a/src/common/Collision/Maps/MapTree.h +++ b/src/common/Collision/Maps/MapTree.h @@ -26,6 +26,7 @@ namespace VMAP { class ModelInstance; + struct ModelMinimalData; class GroupModel; class VMapManager; enum class LoadResult : uint8; @@ -70,6 +71,9 @@ namespace VMAP bool isInLineOfSight(G3D::Vector3 const& pos1, G3D::Vector3 const& pos2, ModelIgnoreFlags ignoreFlags) const; bool getObjectHitPos(G3D::Vector3 const& pos1, G3D::Vector3 const& pos2, G3D::Vector3& pResultHitPos, float pModifyDist) const; + // The first model a line from pos1 to pos2 runs into: where, and which spawn (nullptr and false when the line is clear). + bool getFirstHit(G3D::Vector3 const& pos1, G3D::Vector3 const& pos2, ModelIgnoreFlags ignoreFlags, G3D::Vector3& hitPos, + ModelMinimalData const*& model) const; float getHeight(G3D::Vector3 const& pPos, float maxSearchDist) const; bool GetLocationInfo(G3D::Vector3 const& pos, StaticMapTreeLocationInfo& info) const; diff --git a/src/common/Collision/Models/GameObjectModel.h b/src/common/Collision/Models/GameObjectModel.h index d74968d3d4..155893066e 100644 --- a/src/common/Collision/Models/GameObjectModel.h +++ b/src/common/Collision/Models/GameObjectModel.h @@ -57,6 +57,8 @@ public: virtual int64 GetPackedRotation() const = 0; virtual float GetScale() const = 0; virtual void DebugVisualizeCorner(G3D::Vector3 const& /*corner*/) const = 0; + // A door (GAMEOBJECT_TYPE_DOOR): its collision is on while it is closed, and the navmesh is baked without it. + virtual bool IsDoor() const { return false; } }; class TC_COMMON_API GameObjectModel /*, public Intersectable*/ @@ -82,6 +84,7 @@ public: void IncludeInNavMesh(bool enable) { iIncludeInNavMesh = enable; } bool IsIncludedInNavMesh() const { return iIncludeInNavMesh; } bool IsMapObject() const; + bool IsDoor() const { return owner && owner->IsDoor(); } uint8 GetNameSetId() const { return owner->GetNameSetId(); } bool IntersectRay(G3D::Ray const& ray, float& maxDist, bool stopAtFirstHit, PhaseShift const& phaseShift, VMAP::ModelIgnoreFlags ignoreFlags) const; diff --git a/src/common/Configuration/Config.cpp b/src/common/Configuration/Config.cpp index 26300bfeb2..f7ed1925e9 100644 --- a/src/common/Configuration/Config.cpp +++ b/src/common/Configuration/Config.cpp @@ -201,9 +201,17 @@ bool ConfigMgr::LoadAdditionalFile(std::string file, bool keepOnReload, std::str std::scoped_lock lock(_configLock); - if (!fullTree.empty()) - for (bpt::ptree::value_type const& child : fullTree.begin()->second) - _config.put_child(bpt::ptree::path_type(child.first, '/'), child.second); + // A drop-in file usually has one [section] header, like worldserver.conf, but may have none (keys at the root) or more than + // one. Reading the first entry as the section dropped every key of a file without a header, because that entry is a key. + // An entry with children is a section, whose keys are merged; an entry without is a key at the root. + for (bpt::ptree::value_type const& entry : fullTree) + { + if (entry.second.empty()) + _config.put_child(bpt::ptree::path_type(entry.first, '/'), entry.second); + else + for (bpt::ptree::value_type const& child : entry.second) + _config.put_child(bpt::ptree::path_type(child.first, '/'), child.second); + } if (keepOnReload) _additionalEntries.push_back({ std::move(file), false }); diff --git a/src/modules/PlayerbotV2/Addon/ForeverBots/ForeverBots.lua b/src/modules/PlayerbotV2/Addon/ForeverBots/ForeverBots.lua index 11e1e55a13..b48346355d 100644 --- a/src/modules/PlayerbotV2/Addon/ForeverBots/ForeverBots.lua +++ b/src/modules/PlayerbotV2/Addon/ForeverBots/ForeverBots.lua @@ -3500,6 +3500,16 @@ do -- Another add-on is named once per session: ExtraProfessionTabs moving the action bars in a fight got one line per -- refused call, a chat full of them on every fight (Discord, arrathem, 2026-11-15), which read as our add-on breaking. if addon ~= ADDON then + -- "*** ForceTaint_Strong ***" is no add-on but the client's own lock on macros: in a boss fight a macro may only send + -- one chat line in a short time, and only to the group or as a whisper to someone in the instance. A macro line such as + -- ".aura self 1459" goes out as /say and is refused (Discord, VoldemarGreed 2026-11-17). + if type(addon) == "string" and not IsSecret(addon) and addon:find("^%*%*%*") then + if not otherBlocked[addon] then + otherBlocked[addon] = true + Print(L["the client refused a macro line in a boss fight: there a macro may only send one line at a time, to /p, /ra or a whisper. For a dot command start the line with /w %s (for example /w %s .aura self 1459 21562)."]:format(SafeName("player") or "YourName", SafeName("player") or "YourName")) + end + return + end if type(addon) == "string" and not IsSecret(addon) and not otherBlocked[addon] then otherBlocked[addon] = true Print("the client blocked " .. func .. "() for the add-on " .. addon .. " (" .. (event == "ADDON_ACTION_BLOCKED" and "blocked" or "forbidden") .. "). Further blocked calls of " .. addon .. " are not shown; that add-on causes them, not ForeverBots.") diff --git a/src/modules/PlayerbotV2/Addon/ForeverBots/Locale_ruRU.lua b/src/modules/PlayerbotV2/Addon/ForeverBots/Locale_ruRU.lua index ad32a96ed9..209559bd4d 100644 --- a/src/modules/PlayerbotV2/Addon/ForeverBots/Locale_ruRU.lua +++ b/src/modules/PlayerbotV2/Addon/ForeverBots/Locale_ruRU.lua @@ -584,6 +584,7 @@ ForeverBotsLocale = { ["short:Set"] = "Мышью", ["Set with the mouse"] = "Поставить мышью", ["short:G%d"] = "Г%d", + ["the client refused a macro line in a boss fight: there a macro may only send one line at a time, to /p, /ra or a whisper. For a dot command start the line with /w %s (for example /w %s .aura self 1459 21562)."] = "клиент не пропустил строку макроса в бою с боссом: там макрос может отправлять только одну строку за раз, в /p, /ra или шепотом. Для команды с точкой начните строку с /w %s (например /w %s .aura self 1459 21562).", ["Tick every bot in this raid group. Click again when they are all ticked to untick them."] = "Отметить всех ботов этой группы рейда. Нажмите еще раз, когда отмечены все, чтобы снять отметку.", -- Tank leads (Orders tab) ["short:Ignore"] = "Не трогать", -- check diff --git a/src/modules/PlayerbotV2/Api/BotItemScorer.cpp b/src/modules/PlayerbotV2/Api/BotItemScorer.cpp index da0b9c7fe3..93a4ed00d5 100644 --- a/src/modules/PlayerbotV2/Api/BotItemScorer.cpp +++ b/src/modules/PlayerbotV2/Api/BotItemScorer.cpp @@ -1,5 +1,6 @@ #include "BotItemScorer.h" #include "ClassicSpec.h" +#include "Bot/ClassTables.h" // IsVanillaRealm() #include "ItemTemplate.h" #include "Item.h" #include "Player.h" @@ -57,6 +58,14 @@ ItemSubclassArmor PreferredArmorForClass(uint8 cls) } } +ItemSubclassArmor WearableArmorForClass(uint8 cls, uint8 level) +{ + ItemSubclassArmor const best = PreferredArmorForClass(cls); + if (level < 40 && ::Playerbot::IsVanillaRealm() && (best == ITEM_SUBCLASS_ARMOR_PLATE || best == ITEM_SUBCLASS_ARMOR_MAIL)) + return ItemSubclassArmor(best - 1); + return best; +} + namespace { // Classic 1.60 enhancement shaman: attack power is level * 2 + Strength * 2 (no Agility: VMaNGOS / Player::UpdateAttackPowerAndDamage), @@ -236,10 +245,12 @@ int32 ScoreItemForClass(ItemTemplate const* tpl, if (tpl->GetClass() == ITEM_CLASS_ARMOR) { ItemSubclassArmor sub = ItemSubclassArmor(tpl->GetSubClass()); - ItemSubclassArmor preferred = PreferredArmorForClass(cls); + ItemSubclassArmor const preferred = WearableArmorForClass(cls, level); if (sub == preferred) score += 200; else if (sub == ITEM_SUBCLASS_ARMOR_MISCELLANEOUS) score += 50; else if (sub == ITEM_SUBCLASS_ARMOR_COSMETIC) score += 0; + else if (sub >= ITEM_SUBCLASS_ARMOR_CLOTH && sub < preferred) + score -= 100 * int32(preferred - sub); // two tiers under (leather on a mail wearer) loses more than one else score -= 100; } else if (tpl->GetClass() == ITEM_CLASS_WEAPON) @@ -698,14 +709,14 @@ int32 ScoreItemRaid(ItemTemplate const* tpl, uint8 cls, uint16 spec, uint8 level total -= 60.0f; } - // Armor type: a piece one tier under the class's own (mail on a warrior, leather on a shaman) loses the armor and - // the class bonuses; about a fifth of what it is worth. + // Armor type: a piece one tier under the best the wearer can put on at its level (mail on a level 40 warrior, leather on a + // level 20 one) loses the armor and the class bonuses; about a fifth of what it is worth, and again for each further tier. if (tpl->GetClass() == ITEM_CLASS_ARMOR && IsArmorPieceSlotType(inv)) { - ItemSubclassArmor const preferred = PreferredArmorForClass(cls); + ItemSubclassArmor const preferred = WearableArmorForClass(cls, level); uint32 const sub = tpl->GetSubClass(); if (sub >= ITEM_SUBCLASS_ARMOR_CLOTH && sub <= ITEM_SUBCLASS_ARMOR_PLATE && sub < uint32(preferred)) - total *= (role == RaidRole::Tank) ? 0.6f : 0.8f; + total *= std::pow((role == RaidRole::Tank) ? 0.6f : 0.8f, float(uint32(preferred) - sub)); } // Weapon style. A two-hander carries the budget of both hands and leaves no offhand: right for the classes that diff --git a/src/modules/PlayerbotV2/Api/BotItemScorer.h b/src/modules/PlayerbotV2/Api/BotItemScorer.h index 39f068cdcd..42cca372f6 100644 --- a/src/modules/PlayerbotV2/Api/BotItemScorer.h +++ b/src/modules/PlayerbotV2/Api/BotItemScorer.h @@ -67,6 +67,13 @@ int32 EffectiveItemLevelForLevel(ItemTemplate const* tpl, uint8 level); // warriors hold Plate Mail (293) and 13931/14022 hunters hold Mail (413). ItemSubclassArmor PreferredArmorForClass(uint8 cls); +// The highest armor tier the class can put on at this level: what the scorer ranks against. On the level-60 (Forever) realm +// the trainers teach Mail (8737) and Plate Mail (750) at 40 (trainer_spell ReqLevel 40), so below 40 a warrior or paladin +// wears mail and a hunter or shaman leather. Elsewhere it is PreferredArmorForClass. Ranking against plate a sub-40 warrior +// cannot wear put mail and leather under the same penalty, and an agility leather piece beat the mail one (DoctorSun, +// Discord 2026-11-17: a level 21 warrior in leather). +ItemSubclassArmor WearableArmorForClass(uint8 cls, uint8 level); + // Returns the primary stat (ITEM_MOD_STRENGTH/AGILITY/INTELLECT) for the // (class, spec) pair. Hybrid classes (Druid/Monk/Pally/Sham) have spec- // dependent primaries; pure classes return their fixed stat. diff --git a/src/modules/PlayerbotV2/Api/PlayerbotMovement.cpp b/src/modules/PlayerbotV2/Api/PlayerbotMovement.cpp index 0bb9f20a98..dbb307a882 100644 --- a/src/modules/PlayerbotV2/Api/PlayerbotMovement.cpp +++ b/src/modules/PlayerbotV2/Api/PlayerbotMovement.cpp @@ -406,6 +406,11 @@ ScopedDeferGridLoads::~ScopedDeferGridLoads() t_deferGridLoads = previous_; } +bool InBotLogicThread() +{ + return t_botLogicThread; +} + ScopedBotLogicThread::ScopedBotLogicThread() : previous_(t_botLogicThread) { t_botLogicThread = true; @@ -762,19 +767,20 @@ bool TryUnstickJump(Player* p, float forward) // ---- SettleToGround --------------------------------------------------------- -bool SettleToGround(Player* p, float minGap, float maxGap) +bool HoverGap(Player* p, float minGap, float maxGap, float& ground) { if (!p || !p->IsInWorld() || !p->IsAlive() || p->IsBeingTeleported()) return false; // Falling needs gravity and nothing else in charge of the bot: not on a taxi, vehicle or transport, not flying or swimming, not // already moving (a spline in flight lands where it was told to). + // A hover (Levitate, a hover aura) keeps the bot up on purpose. if (p->isMoving() || p->IsFlying() || p->IsInFlight() || p->GetVehicle() || p->GetTransport() || p->IsInWater() || - p->HasUnitState(UNIT_STATE_NOT_MOVE) || p->IsFalling()) + p->HasUnitState(UNIT_STATE_NOT_MOVE) || p->IsFalling() || p->IsHovering() || p->HasAuraType(SPELL_AURA_HOVER)) return false; float const x = p->GetPositionX(); float const y = p->GetPositionY(); float const z = p->GetPositionZ(); - float const ground = p->GetMapHeight(x, y, z + 0.5f, true, maxGap + 1.0f); + ground = p->GetMapHeight(x, y, z + 0.5f, true, maxGap + 1.0f); if (ground <= INVALID_HEIGHT) return false; float const gap = z - ground; @@ -784,6 +790,16 @@ bool SettleToGround(Player* p, float minGap, float maxGap) // not a fall (a BG river: the bot sank to the bed and drowned). if (float swimZ = 0.f; SwimLevel(p, x, y, z, swimZ)) return false; + return true; +} + +bool SettleToGround(Player* p, float minGap, float maxGap) +{ + float ground = INVALID_HEIGHT; + if (!HoverGap(p, minGap, maxGap, ground)) + return false; + float const x = p->GetPositionX(); + float const y = p->GetPositionY(); // A real player falls client-side; a bot has no client, so nothing ever moves it down. Launch the fall as a spline // (the same as MotionMaster::MoveFall does for creatures) so it drops to the floor and every viewer sees it land. Movement::MoveSplineInit init(p); diff --git a/src/modules/PlayerbotV2/Api/PlayerbotMovement.h b/src/modules/PlayerbotV2/Api/PlayerbotMovement.h index 48bace3dd4..25a7f56941 100644 --- a/src/modules/PlayerbotV2/Api/PlayerbotMovement.h +++ b/src/modules/PlayerbotV2/Api/PlayerbotMovement.h @@ -128,6 +128,8 @@ private: // ScopedBotLogicThread, EnsureGridForQuery never touches the map: it hands the grid to the world thread and returns true, so // the search runs on the tiles that are loaded now. The worker pool sets it once per thread, next to a // MMAP::ScopedThreadNavMeshQuery (own navmesh queries, searches under the navmesh read lock). +// True on a bot logic thread (inside a ScopedBotLogicThread): the map threads may be changing the maps right now. +bool InBotLogicThread(); class ScopedBotLogicThread { public: @@ -199,6 +201,10 @@ void PostTeleportSnap(Player* p); // False (nothing done) when it is moving, flying, swimming, on a vehicle / transport / taxi, or the ground is not in range. bool SettleToGround(Player* p, float minGap = 2.0f, float maxGap = 30.0f); +// The test SettleToGround makes, without moving anything: true when the bot stands still `minGap`..`maxGap` yards above the ground +// under it, with `ground` set to that ground. Same exclusions (moving, flying, swimming or deep water, vehicle / transport / taxi). +bool HoverGap(Player* p, float minGap, float maxGap, float& ground); + // Deep water at (x, y) for this bot (see Api/BotSwim.h): water (not magma or slime) over a floor more than the bot's height under the // surface, asked from in it and not from a bridge or a deck above it. True with `swimZ` = where the bot floats, its head out. bool SwimLevel(Player* p, float x, float y, float zHint, float& swimZ); diff --git a/src/modules/PlayerbotV2/Bot/BotAI.cpp b/src/modules/PlayerbotV2/Bot/BotAI.cpp index d36d570160..f287f7c70f 100644 --- a/src/modules/PlayerbotV2/Bot/BotAI.cpp +++ b/src/modules/PlayerbotV2/Bot/BotAI.cpp @@ -9,6 +9,7 @@ #include "Player.h" // EQUIPMENT_SLOT_* for wear_gift_gear #include "ObjectMgr.h" // item templates (required level) for wear_gift_gear #include "ItemTemplate.h" +#include "Gear/BotGearGenerator.h" // Gear::AutoEquipSlot for wear_gift_gear #include "BotIntentEmitter.h" #include "BotActivityTier.h" #include "Group/GroupSnapshot.h" @@ -1032,11 +1033,13 @@ void BotAI::wear_gift_gear(BotSnapshotView const& s, BotIntentEmitter& em) ++it; // kept for later continue; } - uint8 const slot = found->equip_slot; - // Prot warrior / paladin: the weapon and shield slots belong to EnsureShieldTankWeapon (as in the auto-equip rules). - if ((s.spec() == 73 || s.spec() == 66) && (slot == EQUIPMENT_SLOT_MAINHAND || slot == EQUIPMENT_SLOT_OFFHAND)) + // Prot warrior / paladin: a one-hander goes in the main hand and a shield in the off hand; a two-hander or an off-hand + // weapon would push the shield off, so it stays in the bags (as in the auto-equip rules, Gear::AutoEquipSlot). Before + // 11-17 every traded weapon and shield stayed in a tank's bags. Never a fishing pole. + uint8 const slot = ::Playerbot::V2::Gear::AutoEquipSlot(uint16(s.spec()), found->equip_slot, found->entry); + if (slot == 0xFF) { - TC_LOG_INFO("playerbot.v2", "[gear] {} (bot {}): traded weapon {} left in the bags (tank weapons are set by the tank rule)", + TC_LOG_INFO("playerbot.v2", "[gear] {} (bot {}): traded weapon {} left in the bags (a fishing pole, or not a one-hander or shield for a shield tank)", raw.identity.name, s.bot_id(), found->entry); it = gift_wear_.erase(it); continue; diff --git a/src/modules/PlayerbotV2/Bot/BotCommandParser.cpp b/src/modules/PlayerbotV2/Bot/BotCommandParser.cpp index ed721bd4c4..b594469122 100644 --- a/src/modules/PlayerbotV2/Bot/BotCommandParser.cpp +++ b/src/modules/PlayerbotV2/Bot/BotCommandParser.cpp @@ -1809,6 +1809,16 @@ bool BotCommandParser::OrderRelease(Player const* sender, Player const* bot, cha return true; } +void BotCommandParser::DeclareRole(Player* bot, Role role) +{ + if (!bot) + return; + if (BotAI* ai = Services::Registry().ai(bot->GetGUID().GetCounter())) + ai->set_role_override(role); + ApplyClassicRoleSpec(bot, role); + PersistDeclaredRole(bot, role); +} + void BotCommandParser::ReleaseOwnerFollowOrder(Player const* sender, Player const* bot, char const* why) { if (!bot) return; diff --git a/src/modules/PlayerbotV2/Bot/BotCommandParser.h b/src/modules/PlayerbotV2/Bot/BotCommandParser.h index 53b984d21a..a6a888a4a9 100644 --- a/src/modules/PlayerbotV2/Bot/BotCommandParser.h +++ b/src/modules/PlayerbotV2/Bot/BotCommandParser.h @@ -107,6 +107,10 @@ public: struct AssignRow { uint8 marker; std::string name; char const* role; }; static std::vector AssignList(Group* grp); + // The bot's declared role, as `/setrole` sets it: the role override, the Classic virtual spec that goes with it (rotation, + // talents, gear) and, for an owned companion, the stored role a relog restores. Role::Unknown clears it. World thread. + static void DeclareRole(Player* bot, Role role); + private: // The command table; DispatchSingle wraps it with the [owner_order] log line. static bool DispatchSingleImpl(Player* sender, Player* bot_player, std::string const& msg); diff --git a/src/modules/PlayerbotV2/Bot/BotSnapshotBuilder.cpp b/src/modules/PlayerbotV2/Bot/BotSnapshotBuilder.cpp index 3f91696030..de557c6b31 100644 --- a/src/modules/PlayerbotV2/Bot/BotSnapshotBuilder.cpp +++ b/src/modules/PlayerbotV2/Bot/BotSnapshotBuilder.cpp @@ -1813,6 +1813,12 @@ std::shared_ptr BotSnapshotBuilder::Build(Player* p, BotAI* b // The wider value is truncated into uint8 because spec IDs <= 256 today; // when Blizzard expands beyond that we'll widen the field. snap->identity.spec = ::Playerbot::Classic::EffectiveSpecId(p); + // A Feral druid (103, the cat) that has no Cat Form yet plays the bear (104): Forever teaches Cat Form only with the Great Cat Spirit + // quests at 20 (spell 1309050), Bear Form with Body and Heart at 10. The cat rotation without Cat Form cancelled Bear Form as the + // "wrong form" and the druid fought in caster form (DoctorSun, Discord 2026-11-17: low-level feral bots would not tank in form until + // forced into it with .aura 5487). Only the rotation, forms and role follow; the talent build and the gear keep the Feral spec. + if (::Playerbot::IsVanillaRealm() && p->GetClass() == CLASS_DRUID && snap->identity.spec == 103 && !p->HasSpell(768) && p->HasSpell(5487)) + snap->identity.spec = 104; // Infer role from (class, spec). Single source of truth lives in // Bot/ClassTables.cpp (IsTankSpec/IsHealerSpec) — also used by @@ -3427,27 +3433,22 @@ std::shared_ptr BotSnapshotBuilder::Build(Player* p, BotAI* b for (auto const& it : snap->inventory.bag_items) { if (it.equip_slot == 0xFF) continue; - // Mirror the auto-equip rule's Prot-warrior/paladin weapon exclusion - // (State_Idle dungeon_auto_equip / MaintainAutoEquipUpgrades): for - // spec 73 (Prot Warrior) / 66 (Prot Paladin) the mainhand + offhand - // are owned EXCLUSIVELY by EnsureShieldTankWeapon (the 1H+shield - // backfill). The score-based rule NEVER swaps those two slots — a - // higher-score 2H would evict the shield and churn 2H<->1H+shield — - // so a bag weapon that out-scores the equipped 1H is a PERMANENT - // non-upgrade here. Counting it reported a "pending upgrade" that can - // never apply: the false 6-pending seen on Prot tanks (owner-flagged - // 2026-07-01, the classic offhand-vs-2H false alarm). Exclude them so - // this count and the rule agree, as this block's header promises. - if ((snap->identity.spec == 73 || snap->identity.spec == 66) && - (it.equip_slot == EQUIPMENT_SLOT_MAINHAND || - it.equip_slot == EQUIPMENT_SLOT_OFFHAND)) - continue; + // Mirror the auto-equip rules' slot filter (Gear::AutoEquipSlot): a shield + // tank (spec 73 Prot Warrior / 66 Prot Paladin) takes only a one-hander in + // the main hand and a shield in the off hand there, since a 2H or an + // off-hand weapon would churn against EnsureShieldTankWeapon; never a + // fishing pole. Counting a weapon the rules never wear reported a + // "pending upgrade" that can never apply (the false 6-pending on Prot + // tanks, owner-flagged 2026-07-01), so this count and the rules agree. + uint8 const dst = ::Playerbot::V2::Gear::AutoEquipSlot(uint16(snap->identity.spec), it.equip_slot, it.entry); + if (dst == 0xFF) continue; // Defense-in-depth: equip_slot is clamped to <19 at capture, but // an OOB read of equipped[19] here is UB — never index past it. - if (it.equip_slot >= snap->inventory.equipped.size()) continue; + if (dst >= snap->inventory.equipped.size()) continue; if (it.item_level == 0) continue; if (it.quality == 0) continue; // skip POOR - EquippedItem const& cur = snap->inventory.equipped[it.equip_slot]; + EquippedItem const& cur = snap->inventory.equipped[dst]; + uint32 const cur_entry = ::Playerbot::V2::Gear::IsFishingPole(cur.entry) ? 0u : cur.entry; // a fishing pole is no weapon // Score-based upgrade test (was pure item_level, which tied — and so // refused — quest greens vs starter whites once 12.0 scaling floored // both to the same effective ilvl). The stat allocation breaks the tie. @@ -3455,12 +3456,12 @@ std::shared_ptr BotSnapshotBuilder::Build(Player* p, BotAI* b if (::Playerbot::V2::Gear::RaidGearActive(snap->identity.level)) { auto const& eq = snap->inventory.equipped; - if (!::Playerbot::V2::Gear::RaidEquipUpgrade(snap->identity.cls, uint16(snap->identity.spec), snap->identity.level, it.equip_slot, - it.entry, cur.entry, eq[EQUIPMENT_SLOT_MAINHAND].entry, eq[EQUIPMENT_SLOT_OFFHAND].entry, + if (!::Playerbot::V2::Gear::RaidEquipUpgrade(snap->identity.cls, uint16(snap->identity.spec), snap->identity.level, dst, + it.entry, cur_entry, eq[EQUIPMENT_SLOT_MAINHAND].entry, eq[EQUIPMENT_SLOT_OFFHAND].entry, snap->owner_guid.IsEmpty(), snap->guid.GetCounter())) continue; } - else if (cur.entry != 0 && + else if (cur_entry != 0 && EquipFitScore(it.stats, it.item_level, snap->stat_weights) <= EquipFitScore(cur.stats, cur.item_level, snap->stat_weights)) continue; diff --git a/src/modules/PlayerbotV2/Bot/BotSnapshotView.cpp b/src/modules/PlayerbotV2/Bot/BotSnapshotView.cpp index aa8d22ee65..bef6f67682 100644 --- a/src/modules/PlayerbotV2/Bot/BotSnapshotView.cpp +++ b/src/modules/PlayerbotV2/Bot/BotSnapshotView.cpp @@ -1060,6 +1060,12 @@ NearbyUnit const* BotSnapshotView::taunt_candidate(float range) const // Sneed's Shredder on the party's casters untaunted while the tank walked to its assigned mob (deadmines_full run 11: // 79 [tank_loose] lines, Taunt ready, mobs 3-4 y away, no Taunt). } + // A raid boss on this tank is all it holds: a loose add is the other tanks' (the coordinator gives them the adds on a boss's tank + // first). The taunt turns the tank's swings onto the add, it walks after it with the boss in tow, and the boss turns on the raid. + // naxx_maexxna r23: at 36-39 s the main tank went for a spiderling on a healer 12 y off, Maexxna went to the second tank, the main + // tank took her back just before the Web Spray with the spiderlings on it too, and died in the stun at 47 s. + if (s_->instance_ctx.is_in_raid && ThreatVictim(a->victim_kind) == ThreatVictim::Me && (a->is_dungeon_boss || a->is_boss_rank)) + return nullptr; } return UnclaimedLooseAttacker(*s_, range, /*target_reach=*/true, /*leash=*/false, /*controller_leash=*/true); } diff --git a/src/modules/PlayerbotV2/Bot/ClassicHealCover.h b/src/modules/PlayerbotV2/Bot/ClassicHealCover.h index 4271f8e19d..fbfe67454b 100644 --- a/src/modules/PlayerbotV2/Bot/ClassicHealCover.h +++ b/src/modules/PlayerbotV2/Bot/ClassicHealCover.h @@ -45,6 +45,36 @@ inline void DamageRateAdd(DamageRate& r, int64_t amount, uint32_t now_ms) r.at_ms = now_ms ? now_ms : 1u; } +// The largest single hit a raid member took in the last kSpikeWindowMs (Group/GroupSnapshotBuilder.cpp NoteDamageTaken). The rate above +// smooths a boss's spike into seconds of average damage, and a heal "covered" a soaker for the average while the next hit alone was most +// of its health: Patchwerk's Hateful Strike, 9-11.7k on 10.9k soakers once a second among three, and the healers left each soaker to the +// heals in flight for a deficit counted from the rate (naxx_patchwerk 1116 rerun: 147 "leaves ... (tank) to heals in flight", 57 +// stopcasts on tanks at 95%+ just before the next strike, every soaker dead by 55 s). The heals in flight have to cover the next such +// hit as well. +constexpr uint32_t kSpikeWindowMs = 10000; + +struct DamageSpike +{ + int64_t amount = 0; + uint32_t at_ms = 0; // 0: no hit yet +}; + +inline int64_t DamageSpikeAt(DamageSpike const& s, uint32_t now_ms) +{ + return s.at_ms && int32_t(now_ms - s.at_ms) <= int32_t(kSpikeWindowMs) ? s.amount : 0; +} + +inline void DamageSpikeAdd(DamageSpike& s, int64_t amount, uint32_t now_ms) +{ + if (amount <= 0) + return; + if (amount >= DamageSpikeAt(s, now_ms)) + { + s.amount = amount; + s.at_ms = now_ms ? now_ms : 1u; + } +} + // The damage the measured rate brings before a heal `land_in_ms` away lands. inline int64_t DamageUntilLand(float per_s, int32_t land_in_ms) { diff --git a/src/modules/PlayerbotV2/Bot/ClassicHealScope.h b/src/modules/PlayerbotV2/Bot/ClassicHealScope.h index 266e40ddd8..79a32411bd 100644 --- a/src/modules/PlayerbotV2/Bot/ClassicHealScope.h +++ b/src/modules/PlayerbotV2/Bot/ClassicHealScope.h @@ -15,4 +15,52 @@ inline bool EfficiencyRulesApply(bool raid_map, bool dungeon_map, bool battlegro return vanilla_realm && !battleground && (raid_map || dungeon_map); } +// Playerbot.Behavior.HealerAssist (Discord 2026-11-16: "healers are extremely passive in combat, they don't use crowd control nor +// offensive spells"). Inside the efficiency scope a healer cast damage only after its patients needed no healing for 10 s and at +// 90 % mana or more; a five-player pull is often over by then, so the healer never helped. Outside raids (raid rules) the switch +// brings that to 3 s and 60 %. A raid keeps 10 s and 90 %: there the healer's mana is the encounter. +struct HealerDamageGate +{ + unsigned quiet_ms; + int mana_pct; +}; +inline constexpr HealerDamageGate kRaidHealerDamageGate { 10000u, 90 }; +inline constexpr HealerDamageGate kDungeonHealerDamageGate { 3000u, 60 }; + +inline constexpr HealerDamageGate HealerDamageGateFor(bool raid_rules, bool healer_assist) +{ + return (healer_assist && !raid_rules) ? kDungeonHealerDamageGate : kRaidHealerDamageGate; +} + +// The same switch lets a healer bot outside a raid hold an add with its own crowd control (Shackle Undead, Hibernate), but only +// while everyone it heals is at kHealerCcHealthPct or more and its own mana at kHealerCcManaPct or more, and in an instance it +// starts a new hold at most every kHealerCcNewHoldMs, after the damage dealers took theirs. Without these limits it is what the +// switch's off state guards against: rfd_tutenkash 127, a priest shackled each fresh ghoul between Greater Heals, 94 % to 15 % +// mana in 27 s, and the tank died. +inline constexpr int kHealerCcManaPct = 60; +inline constexpr int kHealerCcHealthPct = 70; +inline constexpr unsigned kHealerCcNewHoldMs = 20000u; + +inline constexpr bool HealerMayCrowdControl(bool healer_assist, bool raid_rules, int mana_pct, int lowest_hp_pct) +{ + return healer_assist && !raid_rules && mana_pct >= kHealerCcManaPct && lowest_hp_pct >= kHealerCcHealthPct; +} + +// A damage-spec paladin (Retribution or Protection) heals only itself (leenergetic, Discord 2026-11-17: "When in a DPS spec, Paladins +// don't cast heals on allies at all"). Outside raid rules it now saves a group member in trouble the way a player would: a member at +// kHybridSaveHpPct or less while no healer of the group covers him (none alive on the map, none in heal range of him, none with +// kHybridHealerCoverManaPct mana), or at kHybridSaveAlwaysPct or less whoever covers him, with kHybridSaveManaPct of its own mana. +// A raid keeps its healers' plan: there the paladin's mana and its threat are the encounter's. +inline constexpr int kHybridSaveHpPct = 35; +inline constexpr int kHybridSaveAlwaysPct = 20; +inline constexpr int kHybridSaveManaPct = 20; +inline constexpr int kHybridHealerCoverManaPct = 10; + +inline constexpr bool HybridMaySaveAlly(bool raid_rules, int patient_hp_pct, bool healer_covers, int mana_pct) +{ + if (raid_rules || mana_pct < kHybridSaveManaPct) + return false; + return patient_hp_pct <= kHybridSaveAlwaysPct || (patient_hp_pct <= kHybridSaveHpPct && !healer_covers); +} + } // namespace Playerbot::Combat::ClassicHeal diff --git a/src/modules/PlayerbotV2/Bot/ClassicUpkeep.cpp b/src/modules/PlayerbotV2/Bot/ClassicUpkeep.cpp index 2a99cf331c..1c7dfd5021 100644 --- a/src/modules/PlayerbotV2/Bot/ClassicUpkeep.cpp +++ b/src/modules/PlayerbotV2/Bot/ClassicUpkeep.cpp @@ -1450,7 +1450,8 @@ uint32 PickCombatManaItem(BotSnapshotView const& s, GroupSnapshotView const* g, // A raid healer uses an item whenever it is ready and the restore fits in what the pool is missing: the items are limited by their // 2-minute cooldown, not by stock, and a bot that waits for 35% fires them late (MC Geddon n8 run 3: potion and rune both at 33% about // 60 s in, the next ones ready at 180 s, the kill at 159 s, four healers dry for the last 30 s). - int32 const ceiling = raid_healer ? kHealerManaItemCeilingPct : 20; + bool const long_fight = raid_healer && BossFight(s) && g->member_count() > kLongBossFightGroupSize; + int32 const ceiling = long_fight ? 100 : raid_healer ? kHealerManaItemCeilingPct : 20; if (mana > ceiling) return 0; if (CombatConsumableUsedRecently(s)) diff --git a/src/modules/PlayerbotV2/Bot/ClassicUpkeep.h b/src/modules/PlayerbotV2/Bot/ClassicUpkeep.h index d461992322..400c974435 100644 --- a/src/modules/PlayerbotV2/Bot/ClassicUpkeep.h +++ b/src/modules/PlayerbotV2/Bot/ClassicUpkeep.h @@ -449,6 +449,11 @@ constexpr int32 kBossHealerManaItemPct = 35; // ... and the mana % above which it does not even look. The items are on a 2-minute cooldown: spent at 71-81 % (UBRS 20 Oct, both priests) // they were on cooldown when the bar ran dry 80 s later, so a healer uses one only when mana is low. constexpr int32 kHealerManaItemCeilingPct = 30; +// A boss fight in a group larger than this (a 20 or 40-man raid) lasts minutes: its healer uses each mana item as soon as the restore fits +// in what the pool is missing, so the 2-minute cooldown starts early and the item comes back during the fight. At 30% the first ones came +// late and the second never did (naxx_patchwerk 1116 run 3: healer mana 99 -> 30% in 118 s, one Demonic Rune each, all twelve at 0-2% +// from 154 s, the raid wiped at 213 s with the boss at 19%). The 5 and 10-man case above is unchanged. +constexpr size_t kLongBossFightGroupSize = 10; // ======================= Boss fights (major cooldowns) ======================= // A boss by its creature data: the dungeon-boss flag or the world-boss rank diff --git a/src/modules/PlayerbotV2/Bot/Dungeon/MarkCc.h b/src/modules/PlayerbotV2/Bot/Dungeon/MarkCc.h index 80d4ab5af8..86044ff57d 100644 --- a/src/modules/PlayerbotV2/Bot/Dungeon/MarkCc.h +++ b/src/modules/PlayerbotV2/Bot/Dungeon/MarkCc.h @@ -71,7 +71,9 @@ inline constexpr std::array kPriest = {{ { 9484, kUndead, 28.f, fa // mob must come within reach of the hunter) first; in combat Scare Beast still holds a beast. Scare Beast is a short-range spell // (vanilla 10 y; every rank has SpellMisc RangeIndex 7, Polymorph has 4): at 28 the hunter cast it from 24-27 y and the core // refused every one (smlibrary_loksey 0.1.28j: 18 casts in 41 s, API_BEYOND_RANGE, the hound killed the tank). -inline constexpr std::array kHunter = {{ { kFreezingTrap, kAnyType, 12.f, true, false, true }, +// Wyvern Sting (Survival talent, a 12 s sleep shot, humanoids as ApCrowdControl::CanBeCCd keeps it) holds a humanoid in combat from range. +inline constexpr std::array kHunter = {{ { kFreezingTrap, kAnyType, 12.f, true, false, true }, + { 19386, kHumanoid, 28.f, false, false }, { 1513, kBeast, 9.f, false, false } }}; inline constexpr std::array kRogue = {{ { 6770, kHumanoid, 9.f, true, true } }}; inline constexpr std::array kDruid = {{ { 2637, kBeast | kDragonkin, 28.f, false, false }, diff --git a/src/modules/PlayerbotV2/Bot/Dungeon/PveGroupCoordinator.cpp b/src/modules/PlayerbotV2/Bot/Dungeon/PveGroupCoordinator.cpp index c2689ffa58..33ef5683c6 100644 --- a/src/modules/PlayerbotV2/Bot/Dungeon/PveGroupCoordinator.cpp +++ b/src/modules/PlayerbotV2/Bot/Dungeon/PveGroupCoordinator.cpp @@ -3,6 +3,7 @@ #include "PveGroupCoordinator.h" #include "Bot/SpellFamily.h" #include "Bot/DeathCause.h" +#include "Bot/ClassicHealScope.h" // HealerMayCrowdControl (Playerbot.Behavior.HealerAssist) #include "DungeonScript.h" #include "../BotRegistry.h" #include "../BotCommandParser.h" @@ -404,6 +405,18 @@ void PveGroupCoordinator::Update(uint32 now_ms) 100.0f * float(u.hp) / float(u.max_hp) <= rule.hpMax) want = std::max(want, mem.size()); } + // A melee-soak boss (RaidRules::meleeSoak, Patchwerk) needs the main tank and every soaker on the roster: with three, the + // fourth tank played DPS, drank no Stoneshield and had no tank healer while the raid layer still sent it in as a soaker, and + // the bear on the roster was not one of the raid layer's soakers (naxx_patchwerk 1115 night, [raid_soak]). + if (Raid::RaidRules const* rules = Raid::RulesForMap(b.map_id); rules && !rules->meleeSoak.empty()) + for (auto const& sn : snaps) + { + if (sn->position.map_id != b.map_id) continue; + for (auto const& u : sn->combat.nearby_enemies) + for (Raid::MeleeSoak const& rule : rules->meleeSoak) + if (u.entry == rule.enemy && u.hp > 0 && u.unit_in_combat) + want = std::max(want, size_t(rule.count) + 1); + } auto live_tank = [&](uint64 low) { for (auto const& e : mem) @@ -520,7 +533,18 @@ void PveGroupCoordinator::Update(uint32 now_ms) uint32 n_healers = 0; for (auto const& e : mem) n_healers += e.healer && e.alive; - uint32 budget = n_healers - n_healers / 3; // the rest triage + // A melee-soak boss in the fight (Patchwerk): the soakers take the strikes and the tank healers, and a sixth stay on triage. + bool soak_fight = false; + if (Raid::RaidRules const* rr = Raid::RulesForMap(b.map_id); rr && !rr->meleeSoak.empty()) + for (auto const& sn : snaps) + { + if (soak_fight || sn->position.map_id != b.map_id) continue; + for (auto const& u : sn->combat.nearby_enemies) + if (u.hp > 0 && u.unit_in_combat) + for (Raid::MeleeSoak const& ms : rr->meleeSoak) + if (ms.enemy == u.entry) soak_fight = true; + } + uint32 budget = n_healers - n_healers / (soak_fight ? 6 : 3); // the rest triage // Slot order for a short budget: the main tank (it holds the boss and takes most of the damage; MC Gehennas // 2026-10-08: with 4 tanks and 5 healers a plain round-robin left it ONE healer and it died in 12 s) gets its // first two healers, then the off tank and every spare tank get one, then the main tank's third and the off @@ -529,7 +553,8 @@ void PveGroupCoordinator::Update(uint32 now_ms) for (auto const& [tlow, want] : tank_quota) if (tlow != main_tank && tlow != off_tank) spare_tanks.push_back(tlow); - std::vector const slots = Raid::HealSlotOrder(main_tank, off_tank, spare_tanks, budget); + std::vector const slots = soak_fight ? Raid::SoakHealSlotOrder(main_tank, off_tank, spare_tanks, budget) + : Raid::HealSlotOrder(main_tank, off_tank, spare_tanks, budget); // Sticky: a healer keeps its tank while that tank still has a // slot for it, so one healer dying doesn't shuffle the rest // across the room. Free slots then go to unassigned healers @@ -1365,8 +1390,15 @@ void PveGroupCoordinator::PlanMarkOrders(uint64 group_low, uint32 map_id, bool i // Healers keep healing while somebody is in trouble: no crowd control duty for them then. bool emergency = false; + int32 lowest_pct = 100; // the most hurt live member (a healer's hold in a fight, below) for (auto const& e : mem) - if (e.alive && e.src->max_hp > 0 && Pct(e.src->hp, e.src->max_hp) < 40) { emergency = true; break; } + if (e.alive && e.src->max_hp > 0) + { + int32 const pct = Pct(e.src->hp, e.src->max_hp); + lowest_pct = std::min(lowest_pct, pct); + if (pct < 40) emergency = true; + } + bool const healer_assist = Services::Config().behavior_healer_assist(); // An enemy the raid's data never holds (Raid::NoControl): neither an icon nor the automatic pick sends a caster to it. auto never_controlled = [&](uint32 entry) -> bool @@ -1388,10 +1420,13 @@ void PveGroupCoordinator::PlanMarkOrders(uint64 group_low, uint32 map_id, bool i if (marker == 4) moon_is_tank_mark = true; if (auto h = by_low.find(held_by[4]); held_by[4] && h != by_low.end() && h->second->tank) moon_is_tank_mark = true; // the moon on a tank bot itself - // Pass 1: crowd control. Bots in member order, one bot per mob, never the skull, never a boss. + // Pass 1: crowd control. Bots in member order, one bot per mob, never the skull, never a boss. With Playerbot.Behavior.HealerAssist + // the damage dealers go first and the healers after, so a healer only takes a mob none of them could. if (cc_on) + for (int pass = 0; pass < (healer_assist ? 2 : 1); ++pass) for (auto const& e : mem) { + if (healer_assist && e.healer != (pass == 1)) continue; if (!e.is_bot || !e.alive || e.tank || !MarkCc::IsMarkCcClass(e.cls)) continue; if (e.healer && emergency) continue; auto po = plan.find(e.guid_low); @@ -1480,10 +1515,16 @@ void PveGroupCoordinator::PlanMarkOrders(uint64 group_low, uint32 map_id, bool i // A healer holds nothing of its own once it is in a fight: its mana is the group's healing (rfd_tutenkash 127: the // priest shackled a fresh ghoul every few seconds between Greater Heals, 94% to 15% mana in 27 s, out of mana three // times, the tank died). Before the pull it still shackles; an icon the owner gave it is still its call. + // Playerbot.Behavior.HealerAssist (Discord 2026-11-16: "healers don't use crowd control"): in a fight it may hold one while + // everyone is at 70 %+ and its mana at 60 %+ (ClassicHeal::HealerMayCrowdControl), at most one new hold per 20 s, so the + // tutenkash drain stops at 60 % mana and never follows a stream of fresh adds. // Not in a raid: ten or more players kill a pack quicker than two of the six damage dealers can hold one mob each, and // the hold broke and re-formed every few seconds as the kill focus moved (UBRS 20 Oct: mark_cc assign / release 66 times // in 5 minutes, two casters' GCDs gone). The raid's encounter rules and the owner's icons still hold mobs. - if (!is_raid && po->second.cc_target.IsEmpty() && !(e.healer && e.src->in_combat)) + bool const healer_fighting = e.healer && e.src->in_combat; + int32 const healer_mana = e.src->max_mana > 0 ? Pct(e.src->mana, e.src->max_mana) : 0; + if (!is_raid && po->second.cc_target.IsEmpty() && + (!healer_fighting || ::Playerbot::Combat::ClassicHeal::HealerMayCrowdControl(healer_assist, is_raid, healer_mana, lowest_pct))) { static std::mutex auto_cc_mx; static std::unordered_map auto_cc; // caster -> the mob it holds @@ -1539,7 +1580,17 @@ void PveGroupCoordinator::PlanMarkOrders(uint64 group_low, uint32 map_id, bool i auto_cc.erase(it); } } - if (pick.IsEmpty() && pack.size() >= 3) + static std::mutex healer_hold_mx; + static std::unordered_map healer_hold_ms; // healer -> when it last took a new hold in a fight + bool new_hold_ok = true; + if (healer_fighting) + { + std::lock_guard lk(healer_hold_mx); + auto const it = healer_hold_ms.find(e.guid_low); + new_hold_ok = it == healer_hold_ms.end() || + uint32(cc_now - it->second) >= ::Playerbot::Combat::ClassicHeal::kHealerCcNewHoldMs; + } + if (pick.IsEmpty() && pack.size() >= 3 && new_hold_ok) { // Mobs nobody tanks first (they are on a member), then the lowest guid so every plan chooses the same one. NearbyUnit const* best = nullptr; @@ -1558,8 +1609,15 @@ void PveGroupCoordinator::PlanMarkOrders(uint64 group_low, uint32 map_id, bool i if (best) { pick = best->guid; - std::lock_guard lk(auto_cc_mx); - auto_cc[e.guid_low] = pick; + { + std::lock_guard lk(auto_cc_mx); + auto_cc[e.guid_low] = pick; + } + if (healer_fighting) + { + std::lock_guard lk(healer_hold_mx); + healer_hold_ms[e.guid_low] = cc_now ? cc_now : 1u; + } } } if (!pick.IsEmpty()) @@ -2863,6 +2921,10 @@ void PveGroupCoordinator::PlanRaidTanks(uint64 bkey, uint64 group_low, uint32 ma Member const* v = member_of(m.u->victim); mob_txt += MobName(m.u->entry) + " " + std::to_string(Pct(m.u->hp, m.u->max_hp)) + "%>" + (v ? v->src->name : std::string("pet")) + (m.loose ? "!" : ""); + // Where a boss is: a boss dragged off his spot shows in the line (naxx_horsemen r23: Sir Zeliek's Holy Wrath killed raiders at + // Mograine's corner and then at Korth'azz's, and the log could not say where Zeliek stood; Heigan pulled 40 y west, Feugen across). + if (m.u->is_dungeon_boss || m.u->is_boss_rank) + mob_txt += " @" + std::to_string(int32(m.u->x)) + "," + std::to_string(int32(m.u->y)); } uint32 healers = 0, low_mana = 0, casting = 0; diff --git a/src/modules/PlayerbotV2/Bot/Gear/BotGearGenerator.cpp b/src/modules/PlayerbotV2/Bot/Gear/BotGearGenerator.cpp index bacf2d560c..0bda238124 100644 --- a/src/modules/PlayerbotV2/Bot/Gear/BotGearGenerator.cpp +++ b/src/modules/PlayerbotV2/Bot/Gear/BotGearGenerator.cpp @@ -587,6 +587,29 @@ bool UsesThrownRanged(uint8 cls) return (cls == CLASS_WARRIOR || cls == CLASS_ROGUE) && Services::Config().behavior_tank_ranged_weapon(); } +bool IsFishingPole(uint32 entry) +{ + ItemTemplate const* t = entry ? sObjectMgr->GetItemTemplate(entry) : nullptr; + return t && t->GetClass() == ITEM_CLASS_WEAPON && t->GetSubClass() == ITEM_SUBCLASS_WEAPON_FISHING_POLE; +} + +uint8 AutoEquipSlot(uint16 spec, uint8 slot, uint32 entry) +{ + if (slot != EQUIPMENT_SLOT_MAINHAND && slot != EQUIPMENT_SLOT_OFFHAND) + return slot; + ItemTemplate const* t = sObjectMgr->GetItemTemplate(entry); + if (!t || IsFishingPole(entry)) + return 0xFF; + if (spec != 73 && spec != 66) + return slot; + uint32 const inv = t->GetInventoryType(); + if (inv == INVTYPE_WEAPON || inv == INVTYPE_WEAPONMAINHAND) + return EQUIPMENT_SLOT_MAINHAND; // a one-hander the server would put in the off hand goes to the main hand + if (inv == INVTYPE_SHIELD) + return EQUIPMENT_SLOT_OFFHAND; + return 0xFF; +} + int32 LiveRaidIlvlCap() { return RaidIlvlCap(); } int32 LiveWorldIlvlCap() { return WorldIlvlCap(); } @@ -747,6 +770,13 @@ std::string PlanEquipOrder(::Playerbot::BotSnapshot const& snap, std::string con return fmt::format("{}: [{}] is a PvP item, I don't wear those", bot_name, t->GetDefaultLocaleName()); if (found->equip_slot == 0xFF || found->equip_slot >= equipped.size()) return fmt::format("{}: I can't wear [{}]", bot_name, t->GetDefaultLocaleName()); + // A shield or off hand never goes on next to a two-hander (the server refuses it, EQUIP_ERR_2HANDED_EQUIPPED), and the + // answer said "equipped" (11-17: a tank holding a fishing pole "ignored" every shield it was given). + if (found->equip_slot == EQUIPMENT_SLOT_OFFHAND) + if (ItemTemplate const* mh = equipped[EQUIPMENT_SLOT_MAINHAND].entry ? sObjectMgr->GetItemTemplate(equipped[EQUIPMENT_SLOT_MAINHAND].entry) : nullptr; + mh && mh->GetInventoryType() == INVTYPE_2HWEAPON) + return fmt::format("{}: I hold a two-hander ([{}]), give me a one-hand weapon first for [{}]", bot_name, + mh->GetDefaultLocaleName(), t->GetDefaultLocaleName()); picks.push_back({ found->bag, found->slot, found->equip_slot, found->entry }); return fmt::format("{}: equipped {}", bot_name, describe(*found, found->equip_slot)); } @@ -759,7 +789,11 @@ std::string PlanEquipOrder(::Playerbot::BotSnapshot const& snap, std::string con if (it.equip_slot == 0xFF || it.equip_slot >= equipped.size() || it.item_level == 0 || it.quality == 0) continue; // Above the bot's level: the server refuses it, but the reply said "equipped" (Gremloc 11-08). Named below if nothing else goes on. if (ItemTemplate const* t = sObjectMgr->GetItemTemplate(it.entry); t && t->GetBaseRequiredLevel() > int32(level)) continue; - cands.push_back({ &it, it.equip_slot }); + // The auto-equip rules' slot filter: never a fishing pole; a shield tank takes a one-hander in the main hand and a + // shield in the off hand (a two-hander here pushed the shield off and the tank rule swapped back, every pass). + uint8 const dst = AutoEquipSlot(spec, it.equip_slot, it.entry); + if (dst == 0xFF) continue; + cands.push_back({ &it, dst }); } auto score_of = [&](InventoryItem const& it, uint8 slot) -> int32 { @@ -782,12 +816,13 @@ std::string PlanEquipOrder(::Playerbot::BotSnapshot const& snap, std::string con } // An off hand next to a two-hander that is being, or stays, worn. EquippedItem const& cur = equipped[slot]; + uint32 const cur_entry = IsFishingPole(cur.entry) ? 0u : cur.entry; // a worn fishing pole is no weapon bool better; if (raid) - better = RaidEquipUpgrade(cls, spec, level, slot, it.entry, cur.entry, equipped[EQUIPMENT_SLOT_MAINHAND].entry, + better = RaidEquipUpgrade(cls, spec, level, slot, it.entry, cur_entry, equipped[EQUIPMENT_SLOT_MAINHAND].entry, equipped[EQUIPMENT_SLOT_OFFHAND].entry); else - better = cur.entry == 0 || EquipFitScore(it.stats, it.item_level, snap.stat_weights) > EquipFitScore(cur.stats, cur.item_level, snap.stat_weights); + better = cur_entry == 0 || EquipFitScore(it.stats, it.item_level, snap.stat_weights) > EquipFitScore(cur.stats, cur.item_level, snap.stat_weights); if (!better) continue; if (ItemTemplate const* t = sObjectMgr->GetItemTemplate(it.entry); !t || ::Playerbot::Gear::IsPvpItem(t)) continue; taken[slot] = true; diff --git a/src/modules/PlayerbotV2/Bot/Gear/BotGearGenerator.h b/src/modules/PlayerbotV2/Bot/Gear/BotGearGenerator.h index 5b25863f6e..d390cbf7f3 100644 --- a/src/modules/PlayerbotV2/Bot/Gear/BotGearGenerator.h +++ b/src/modules/PlayerbotV2/Bot/Gear/BotGearGenerator.h @@ -144,6 +144,17 @@ bool RaidEquipUpgrade(uint8 cls, uint16 spec, uint8 level, uint8 slot, uint32 ba uint32 cur_entry, uint32 cur_mainhand_entry, uint32 cur_offhand_entry, bool world_bot = false, uint64 bot_id = 0); +// A fishing pole: no weapon to the bots' own gear rules (bots do not fish). A worn one counts as an empty main hand, so any +// weapon replaces it, and one in the bags is never put on by itself (a player gave "different gear sets" to a tank bot and it +// tanked with a fishing pole: the pole is a two-hander, so no shield could go on next to it). +bool IsFishingPole(uint32 entry); +// The equipment slot the bots' own gear rules (auto-equip, "equip upgrades", traded gear) may put bag item `entry` in, given +// the slot the server picked for it (`slot`), or 0xFF for none. Never a fishing pole. A shield tank (Protection Warrior 73 / +// Protection Paladin 66) takes a one-hand weapon in the main hand and a shield in the off hand, and nothing else in those two +// slots: a two-hander or an off-hand weapon would push the shield off, and EnsureShieldTankWeapon puts it back (the old churn). +// Item templates only, safe on the snapshot build / bot worker threads. +uint8 AutoEquipSlot(uint16 spec, uint8 slot, uint32 entry); + // Build per-class candidate pools at module init. Idempotent. Walks // sObjectMgr->GetItemTemplateStore() exactly once. void Initialize(); diff --git a/src/modules/PlayerbotV2/Bot/GroupFight.h b/src/modules/PlayerbotV2/Bot/GroupFight.h index e185817638..7b7048d286 100644 --- a/src/modules/PlayerbotV2/Bot/GroupFight.h +++ b/src/modules/PlayerbotV2/Bot/GroupFight.h @@ -11,7 +11,9 @@ // 3. Out of reach or out of sight: move until it is not. // 4. The leader's orders win: Stop, Flee, Follow, Stay, Pull back given in the last few seconds (or during this fight). // A one-off verb (use, loot) never leaves a lasting state. -// 5. Tanks pick up aggro: a mob on a non-tank first, then the leader's target. +// 5. Tanks pick up aggro: a mob on a non-tank first (the leader's own target first among them), then the leader's target. +// The leader's target is the group's kill target: the damage dealers take it before the tank's (Saul, #bot-feedback 2026-11-17: +// "the tank won't prioritize the player's target"; the defensive bots spread over every mob on a member instead). // 6. Out of combat only: Passive, Stay, Follow, formation, leash, follow distance. // Every hold that can keep a grouped bot from fighting asks BotAI::group_fight() and steps aside while it is true. // Raid maps (20 and 40 players) keep their boss tactics: the gate is off while a boss fights there and covers the trash between the @@ -147,7 +149,7 @@ constexpr size_t kNone = size_t(-1); inline size_t PickFreeTarget(std::vector const& c); -// The damage dealer's pick: the leader's order, the script's priority add, the tank's target, the leader's target, then the nearest +// The damage dealer's pick: the leader's order, the script's priority add, the leader's target, the tank's target, then the nearest // mob on a member. A mob on the bot itself is a fallback only (the tank takes it back, rule 5), so the group keeps one kill target. // A mob the group holds is left alone while there is anything else to fight; once every mob left is one of the group's holds, the // group opens on the nearest (rule 1, everyone fights: wc_cobrahn_led RC10, the mage and hunter stood 6 s beside the sheeped Deviate @@ -188,15 +190,17 @@ inline size_t PickFreeTarget(std::vector const& c) size_t i; if ((i = best([](Candidate const& x) { return x.leader_ordered; })) != kNone) return i; if ((i = best([](Candidate const& x) { return x.priority_add; })) != kNone) return i; - if ((i = best([](Candidate const& x) { return x.tank_target; })) != kNone) return i; if ((i = best([](Candidate const& x) { return x.leader_target; })) != kNone) return i; + if ((i = best([](Candidate const& x) { return x.tank_target; })) != kNone) return i; if ((i = best([](Candidate const& x) { return x.on_member && !x.on_me; })) != kNone) return i; return best([](Candidate const& x) { return x.on_me; }); } -// The tank's pick (rule 5): a mob on a group member who is not a tank, nearest first (the taunt or the pull-off takes it); then the -// leader's order, then the leader's target, then a mob on a member. A tank that keeps what it has while a loose mob eats the casters is -// the UBRS 2026-10-28 22:16 fight: both tanks waiting on the raid plan's assignment, six Incarcerators loose on the mages for 18 s. +// The tank's pick (rule 5): a mob on a group member who is not a tank, the leader's own target first and then the nearest (the taunt or +// the pull-off takes it); then the leader's order, then the leader's target, then a mob on a member. A tank that keeps what it has while +// a loose mob eats the casters is the UBRS 2026-10-28 22:16 fight: both tanks waiting on the raid plan's assignment, six Incarcerators +// loose on the mages for 18 s. The leader's target goes first among the loose mobs: the player opens on a mob, it runs at him, and the +// tank that took the nearest other loose mob instead left him tanking his own pull (Saul, #bot-feedback 2026-11-17). struct TankCandidate { Candidate mob; @@ -211,7 +215,8 @@ inline size_t PickTankTarget(std::vector const& c) Candidate const& m = c[i].mob; if (!m.alive || m.crowd_controlled || m.forbidden || !c[i].on_non_tank) continue; - if (pick == kNone || m.dist < c[pick].mob.dist) + if (pick == kNone || (m.leader_target && !c[pick].mob.leader_target) || + (m.leader_target == c[pick].mob.leader_target && m.dist < c[pick].mob.dist)) pick = i; } if (pick != kNone) diff --git a/src/modules/PlayerbotV2/Bot/Raid/RaidBrain.cpp b/src/modules/PlayerbotV2/Bot/Raid/RaidBrain.cpp index f3e8b11078..78f7b292fe 100644 --- a/src/modules/PlayerbotV2/Bot/Raid/RaidBrain.cpp +++ b/src/modules/PlayerbotV2/Bot/Raid/RaidBrain.cpp @@ -169,6 +169,22 @@ uint32_t KnownRank(Player* p, Ranks const& ranks) return 0; } +// The ranged openers of a pull (the Sons of Hakkar, Gothik on his balcony). +Ranks const kPullArcaneShot = { 3044, 14281, 14282, 14283, 14284, 14285, 14286, 14287 }; +Ranks const kPullFrostbolt = { 116, 205, 837, 7322, 8406, 8407, 8408, 10179, 10180, 10181, 25304 }; +Ranks const kPullShadowBolt = { 686, 695, 705, 1088, 1106, 7641, 11659, 11660, 11661, 25307 }; + +uint32_t RangedPullSpell(Player* p, int& order) +{ + switch (p->GetClass()) + { + case CLASS_HUNTER: order = 0; return KnownRank(p, kPullArcaneShot); + case CLASS_MAGE: order = 1; return KnownRank(p, kPullFrostbolt); + case CLASS_WARLOCK: order = 2; return KnownRank(p, kPullShadowBolt); + default: order = 3; return 0; + } +} + // Cooldown, range and line of sight. Casting state is handled by the // election (a busy caster is only a second choice) and by the consumer // (it waits for the running cast to finish). @@ -235,6 +251,14 @@ bool InPhase(Unit const* enemy, float hpMax, float hpMin) return pct <= hpMax && pct >= hpMin; } +// An enemy up in the air has no ground cone: flying (Onyxia's phase 2) or hovering (Sapphiron's air phase, where he only breathes and +// throws Icebolts). naxx_sapphiron r27: the arc guard dropped three bots' walks to an ice block as crossing his Cleave arc while he hovered, +// and two of them died to the Frost Breath where they stood. +bool Airborne(Unit const* enemy) +{ + return enemy->IsFlying() || enemy->IsHovering(); +} + float Dist2D(float ax, float ay, float bx, float by) { return std::sqrt((ax - bx) * (ax - bx) + (ay - by) * (ay - by)); } bool InsideAny(std::vector const& circles, float x, float y, float margin) @@ -550,7 +574,7 @@ void ApplyFrontArcGuard(Plan const& plan, Member const& self, uint32_t now, Raid float const bx = self.p->GetPositionX(), by = self.p->GetPositionY(); for (Unit* enemy : plan.enemies) { - if (!enemy->IsAlive() || enemy->IsFlying()) + if (!enemy->IsAlive() || Airborne(enemy)) continue; AvoidFrontal const* front = FrontRule(*plan.rules, plan, self, enemy); if (!front) @@ -573,11 +597,12 @@ void ApplyFrontArcGuard(Plan const& plan, Member const& self, uint32_t now, Raid } } -bool SetMove(RaidOrder& out, float x, float y, float z, char const* reason) +bool SetMove(RaidOrder& out, float x, float y, float z, char const* reason, bool urgent) { out.move = true; out.move_x = x; out.move_y = y; out.move_z = z; out.move_reason = reason; + out.move_urgent = urgent; return true; } @@ -702,7 +727,7 @@ bool Escape(Player* bot, std::vector const& circles, RaidOrder& out, std ++why[g_usableWhy]; continue; } - return SetMove(out, px, py, pz, "leave hazard"); + return SetMove(out, px, py, pz, "leave hazard", /*urgent*/ true); } } tally(); @@ -713,12 +738,35 @@ bool Escape(Player* bot, std::vector const& circles, RaidOrder& out, std std::string g_clearestWhy; constexpr float kCarrierFloorDz = 4.0f; // a carrier run ends on the carrier's own floor: no more than this above or below it -bool Clearest(Player* bot, std::vector const& others, float wanted, RaidOrder& out, char const* reason, - std::vector const& avoid, bool urgent) +// Where each bot of this plan pass was sent (world thread, cleared with the probe budget each Update). A bot that spreads or runs scores its +// spots against where the others are going, not where they stand: two raiders side by side both ran to the same open patch and stood +// together again, and a raider whose neighbour was already walking off left too. Bots later in the pass see the earlier ones' moves; the +// pass starts at a different bot each time (Update), so no bot always chooses last. +std::unordered_map> g_passDest; + +void PlannedAt(Player const* p, float& x, float& y) +{ + auto const it = g_passDest.find(p->GetGUID().GetCounter()); + if (it != g_passDest.end()) { x = it->second.first; y = it->second.second; return; } + x = p->GetPositionX(); y = p->GetPositionY(); +} + +float NearestPlanned(float x, float y, std::vector const& others) { float nearest = 9999.0f; for (Player* p : others) - nearest = std::min(nearest, Dist2D(bot->GetPositionX(), bot->GetPositionY(), p->GetPositionX(), p->GetPositionY())); + { + float px, py; + PlannedAt(p, px, py); + nearest = std::min(nearest, Dist2D(x, y, px, py)); + } + return nearest; +} + +bool Clearest(Player* bot, std::vector const& others, float wanted, RaidOrder& out, char const* reason, + std::vector const& avoid, bool urgent) +{ + float const nearest = NearestPlanned(bot->GetPositionX(), bot->GetPositionY(), others); // Candidate points on rings round the bot, scored first (cheap) and probed best first (a path query each). A carrier standing inside // the raid (Living Bomb, MC 2026-10-12: nearest raider 11-14 yd, 25-30 of the ring points "not better") needs the rings that reach past @@ -736,9 +784,7 @@ bool Clearest(Player* bot, std::vector const& others, float wanted, Rai float const angle = float(i) * (2.0f * float(M_PI) / float(steps)); float const px = bot->GetPositionX() + distance * std::cos(angle); float const py = bot->GetPositionY() + distance * std::sin(angle); - float clear = 9999.0f; - for (Player* p : others) - clear = std::min(clear, Dist2D(px, py, p->GetPositionX(), p->GetPositionY())); + float const clear = NearestPlanned(px, py, others); if (clear < nearest + improvement) { ++skippedNear; @@ -781,9 +827,7 @@ bool Clearest(Player* bot, std::vector const& others, float wanted, Rai } cx = snapped.GetPositionX(); cy = snapped.GetPositionY(); - float clear = 9999.0f; - for (Player* p : others) - clear = std::min(clear, Dist2D(cx, cy, p->GetPositionX(), p->GetPositionY())); + float const clear = NearestPlanned(cx, cy, others); if (clear < nearest + improvement || (!avoid.empty() && InsideAny(avoid, cx, cy, 1.0f))) { ++offMesh; @@ -825,7 +869,7 @@ bool Clearest(Player* bot, std::vector const& others, float wanted, Rai // Keeps a decision for a couple of seconds so bots do not jitter between equally good points. // World thread only (Update), so no locking. -struct Sticky { float x, y, z; uint32_t at; char const* reason; }; +struct Sticky { float x, y, z; uint32_t at; char const* reason; bool urgent; }; std::unordered_map g_sticky; std::unordered_map g_lastSpread; std::unordered_map g_lastSpreadLog; @@ -835,6 +879,7 @@ std::unordered_map g_lastRearStep; std::unordered_map g_lastCarrierLog; std::unordered_map g_lastBombLog; std::unordered_map g_lastStuckLog; +std::unordered_map g_lastDragOutLog; std::unordered_map g_lastSafeCrossLog; bool UseSticky(Player* bot, std::vector const& circles, uint32_t now, RaidOrder& out) @@ -845,12 +890,12 @@ bool UseSticky(Player* bot, std::vector const& circles, uint32_t now, Ra Sticky const& s = it->second; if (now - s.at > 2000 || Dist2D(bot->GetPositionX(), bot->GetPositionY(), s.x, s.y) < 2.0f || InsideAny(circles, s.x, s.y, 0.5f)) return false; - return SetMove(out, s.x, s.y, s.z, s.reason); + return SetMove(out, s.x, s.y, s.z, s.reason, s.urgent); } void Remember(Player* bot, RaidOrder const& d, uint32_t now) { - g_sticky[bot->GetGUID().GetCounter()] = { d.move_x, d.move_y, d.move_z, now, d.move_reason }; + g_sticky[bot->GetGUID().GetCounter()] = { d.move_x, d.move_y, d.move_z, now, d.move_reason, d.move_urgent }; } // Line hazard (AvoidBreath): the corridor is latched when the breath starts so it stays put while the enemy flies along it. @@ -1224,7 +1269,7 @@ Brain::MoveContext BuildMoveContext(Plan const& plan, Member const& self, std::v for (Unit* enemy : plan.enemies) { // A flying enemy has no ground cone (Onyxia's phase 2: she circles the cave and turns every waypoint). - if (enemy->GetEntry() != rule.enemy || !enemy->IsAlive() || enemy->IsFlying() || !InPhase(enemy, rule.hpMax, rule.hpMin)) + if (enemy->GetEntry() != rule.enemy || !enemy->IsAlive() || Airborne(enemy) || !InPhase(enemy, rule.hpMax, rule.hpMin)) continue; float const facing = enemy->GetOrientation() + rule.facingOffsetDeg * (float(M_PI) / 180.0f); float const cx = std::cos(facing), cy = std::sin(facing); @@ -1257,7 +1302,7 @@ Brain::MoveContext BuildMoveContext(Plan const& plan, Member const& self, std::v continue; for (Unit* enemy : plan.enemies) { - if (enemy->GetEntry() != rule.enemy || !enemy->IsAlive() || enemy->IsFlying() || !InPhase(enemy, rule.hpMax, rule.hpMin)) + if (enemy->GetEntry() != rule.enemy || !enemy->IsAlive() || Airborne(enemy) || !InPhase(enemy, rule.hpMax, rule.hpMin)) continue; float const eo = enemy->GetOrientation(), ex = enemy->GetPositionX(), ey = enemy->GetPositionY(); // Rear: three circles across the back half; front: one in line with her facing. Radius 5 at 6.5 y. @@ -1824,7 +1869,7 @@ bool LeaveMagma(Player* bot, uint32_t now, RaidOrder& out) dry.GetPositionX(), dry.GetPositionY(), dry.GetPositionZ(), bot->isMoving(), bot->IsNonMeleeSpellCast(false), bot->IsMovementPreventedByCasting(), bot->HasUnitState(UNIT_STATE_NOT_MOVE), uint32(bot->GetMotionMaster()->GetCurrentMovementGeneratorType())); - return SetMove(out, dry.GetPositionX(), dry.GetPositionY(), dry.GetPositionZ(), "leave lava"); + return SetMove(out, dry.GetPositionX(), dry.GetPositionY(), dry.GetPositionZ(), "leave lava", /*urgent*/ true); } // ---------- Out of the enemy's sight (RaidRules::breakSight) ---------- @@ -2488,7 +2533,12 @@ void DecideMove(Plan const& plan, Member const& self, uint32_t now, std::vector< g_carrierRun = true; bool const found = Clearest(bot, others, rule.clearDistance, out, "carrier run", circles, /*urgent*/ true); g_carrierRun = false; - if (found) { Remember(bot, out, now); return; } + if (found) + { + out.move_urgent = true; // the aura goes off on its own timer, wherever the carrier stands + Remember(bot, out, now); + return; + } uint32_t& at = g_lastCarrierLog[bot->GetGUID().GetCounter()]; if (now - at >= 3000) { @@ -2561,7 +2611,7 @@ void DecideMove(Plan const& plan, Member const& self, uint32_t now, std::vector< } if (!Usable(bot, s->x, s->y, bot->GetPositionZ(), pz, /*urgent*/ true, /*hazard*/ true)) continue; - SetMove(out, s->x, s->y, pz, "leave hazard"); + SetMove(out, s->x, s->y, pz, "leave hazard", /*urgent*/ true); Remember(bot, out, now); return; } @@ -2599,6 +2649,46 @@ void DecideMove(Plan const& plan, Member const& self, uint32_t now, std::vector< Remember(bot, out, now); return; } + // 2a2. A tank leads its boss out of the lasting hazards he stands in (DragOut): a spot well clear of them, the nearest that a path reaches. + if (self.tank) + for (DragOut const& rule : rules.dragOut) + { + Unit* held = bot->GetVictim(); + if (!held || held->GetEntry() != rule.enemy || held->GetVictim() != bot) + continue; + std::list hazards; + held->GetCreatureListWithEntryInGrid(hazards, rule.hazard, 60.0f); + std::vector clear; + for (Creature* h : hazards) + if (h->IsAlive() && clear.size() < 32) + clear.push_back({ h->GetPositionX(), h->GetPositionY(), rule.clear }); + if (!InsideAny(clear, held->GetPositionX(), held->GetPositionY(), 0.0f)) + continue; + float const away = std::atan2(bot->GetPositionY() - held->GetPositionY(), bot->GetPositionX() - held->GetPositionX()); + int probes = 0; + for (float step : { 10.0f, 15.0f, 20.0f, 26.0f }) + for (float turn : { 0.0f, 0.5f, -0.5f, 1.0f, -1.0f, 1.6f, -1.6f, 2.3f, -2.3f, 3.14f }) + { + float const x = bot->GetPositionX() + step * std::cos(away + turn); + float const y = bot->GetPositionY() + step * std::sin(away + turn); + if (InsideAny(clear, x, y, 4.0f) || InsideAny(circles, x, y, 1.0f) || ++probes > 8) + continue; + float z = 0.0f; + if (!Usable(bot, x, y, bot->GetPositionZ(), z, /*urgent*/ true, /*hazard*/ true)) + continue; + SetMove(out, x, y, z, "lead the boss out of the hazard"); + uint32_t& at = g_lastDragOutLog[bot->GetGUID().GetCounter()]; + if (now - at >= 5000u) + { + at = now; + TC_LOG_INFO("playerbot.v2.raid", "[raid_dragout] {} leads {} out of {} hazard(s) to {:.1f},{:.1f} ({:.0f} y)", bot->GetName(), + held->GetName(), clear.size(), x, y, step); + } + Remember(bot, out, now); + return; + } + } + // Melee whose target stands inside a hazard for them: hold instead of chasing back in. if (!circles.empty() && !self.tank && !self.healer && !self.ranged) if (Unit* victim = bot->GetVictim()) @@ -2615,7 +2705,7 @@ void DecideMove(Plan const& plan, Member const& self, uint32_t now, std::vector< continue; for (Unit* enemy : plan.enemies) { - if (enemy->GetEntry() != rule.enemy || enemy->IsFlying() || !InPhase(enemy, rule.hpMax, rule.hpMin)) + if (enemy->GetEntry() != rule.enemy || Airborne(enemy) || !InPhase(enemy, rule.hpMax, rule.hpMin)) continue; if (sideTank && (bot->GetVictim() != enemy || enemy->GetVictim() == bot || !TauntImmune(enemy))) continue; @@ -2646,6 +2736,13 @@ void DecideMove(Plan const& plan, Member const& self, uint32_t now, std::vector< float const py = enemy->GetPositionY() + ring * std::sin(angle); if (!circles.empty() && InsideAny(circles, px, py, 1.0f)) continue; + // The way out goes round him, never across his face: the walk to the far edge runs past his front (naxx_sapphiron r27: + // three bots 25 y off his flank took the far edge when the near one was no use, passed 3-6 y from him and his Cleave + // killed all three; four more died that way). A straight line that comes nearer to him than most of the ring is not + // taken. + if (SegmentDist2D(bot->GetPositionX(), bot->GetPositionY(), px, py, enemy->GetPositionX(), enemy->GetPositionY()) < + 0.8f * std::min(distance, ring)) + continue; if (++pathChecks > 6) break; float pz = 0.0f; @@ -2653,7 +2750,7 @@ void DecideMove(Plan const& plan, Member const& self, uint32_t now, std::vector< continue; if (stayHidden && EnemySees(enemy, bot, px, py, pz)) continue; - SetMove(out, px, py, pz, "leave cone"); + SetMove(out, px, py, pz, "leave cone", /*urgent*/ true); return; } } @@ -2678,7 +2775,7 @@ void DecideMove(Plan const& plan, Member const& self, uint32_t now, std::vector< continue; for (Unit* enemy : plan.enemies) { - if (enemy->GetEntry() != rule.enemy || !enemy->IsAlive() || enemy->IsFlying() || enemy->GetVictim() != bot || + if (enemy->GetEntry() != rule.enemy || !enemy->IsAlive() || Airborne(enemy) || enemy->GetVictim() != bot || !InPhase(enemy, rule.hpMax, rule.hpMin)) continue; float const ex = enemy->GetPositionX(), ey = enemy->GetPositionY(); @@ -2727,9 +2824,7 @@ void DecideMove(Plan const& plan, Member const& self, uint32_t now, std::vector< for (Unit* enemy : plan.enemies) if (enemy->GetEntry() == rule.enemy && InPhase(enemy, rule.hpMax, rule.hpMin)) { - float nearest = 9999.0f; - for (Player* p : others) - nearest = std::min(nearest, Dist2D(bot->GetPositionX(), bot->GetPositionY(), p->GetPositionX(), p->GetPositionY())); + float const nearest = NearestPlanned(bot->GetPositionX(), bot->GetPositionY(), others); if (nearest >= rule.radius * 0.85f) continue; // At most one spread move per bot every 4 seconds, so casters are not hopping around and cancelling their own casts. @@ -3080,7 +3175,7 @@ void DecideMove(Plan const& plan, Member const& self, uint32_t now, std::vector< continue; for (Unit* enemy : plan.enemies) { - if (enemy->GetEntry() != rule.enemy || !enemy->IsAlive() || enemy->IsFlying() || !InPhase(enemy, rule.hpMax, rule.hpMin)) + if (enemy->GetEntry() != rule.enemy || !enemy->IsAlive() || Airborne(enemy) || !InPhase(enemy, rule.hpMax, rule.hpMin)) continue; float const ex = enemy->GetPositionX(), ey = enemy->GetPositionY(); // The wedge is measured from the line the tank holds her on (the locked FaceAway axis), not from her live facing: that swings with @@ -3433,6 +3528,17 @@ void ElectTankSwaps(Election& e) for (Member& m : plan.members) clean.push_back(&m); std::stable_sort(clean.begin(), clean.end(), [&](Member* a, Member* b) { return a->p->GetDistance(enemy) < b->p->GetDistance(enemy); }); + // A tank holding other enemies is the last pick: the taunt brings them to the boss with it. On Gluth those are the Zombie Chows + // the chow tanks hold, and he eats every one within 15 y (naxx_gluth 1116 run 8: the chow tank Mctankwc "tank swap: take over" + // 52 times, the swap tank kept at a chow post by the chow on it, Gluth back to 99-100% after each 10% the raid took off). + auto const holdsOthers = [&](Member const* m) + { + for (Unit* other : plan.enemies) + if (other != enemy && other->IsAlive() && other->GetVictim() == m->p) + return true; + return false; + }; + std::stable_partition(clean.begin(), clean.end(), [&](Member* m) { return !holdsOthers(m); }); for (Member* mp : clean) { Member& m = *mp; @@ -3685,9 +3791,30 @@ void PublishMeleeSoak(Plan& plan, std::unordered_map& order { if (enemy->GetEntry() != rule.enemy) continue; - for (Player* p : MeleeSoakers(plan, rule)) + std::vector const soakers = MeleeSoakers(plan, rule); + for (Player* p : soakers) if (auto it = orders.find(p->GetGUID().GetCounter()); it != orders.end()) it->second.attack_target = enemy->GetGUID(); + // Every 10 s per group: each soaker's health, armour, reach and Greater Stoneshield (RaidRules::resistPotion), so a + // run shows whether the soakers were full and potioned when the strikes came (naxx_patchwerk 1115 night: 9-11k strikes on + // soakers of about 11k health). + static std::unordered_map s_soakLogAt; + uint32_t const now = GameTime::GetGameTimeMS(); + uint32_t& at = s_soakLogAt[plan.groupLow]; + if (at && now - at < 10000u) + continue; + at = now ? now : 1u; + // The potion's aura from its item (Greater Stoneshield Potion 13455), not a guessed spell id. + uint32_t potionAura = 0; + if (ItemTemplate const* pot = sObjectMgr->GetItemTemplate(13455)) + for (ItemEffectEntry const* e : pot->Effects) + if (e && e->SpellID > 0) { potionAura = uint32_t(e->SpellID); break; } + std::string line; + for (Player* p : soakers) + line += fmt::format("{}{} {}/{} armor {} melee {} stoneshield {}", line.empty() ? "" : " | ", p->GetName(), p->GetHealth(), + p->GetMaxHealth(), p->GetArmor(), enemy->IsWithinMeleeRange(p) ? 1 : 0, potionAura && p->HasAura(potionAura) ? 1 : 0); + TC_LOG_INFO("playerbot.v2.raid", "[raid_soak] group {} {} {}%: {}", plan.groupLow, enemy->GetName(), uint32(enemy->GetHealthPct()), + line.empty() ? std::string("no soakers") : line); } } @@ -5978,6 +6105,9 @@ void Brain::Update(uint32_t now_ms) std::unordered_map> nextSchools; std::unordered_map nextMoveCtx; ResetPathProbes(); + g_passDest.clear(); + static uint32_t passTurn = 0; + ++passTurn; std::ostringstream dump; for (auto& [key, b] : buckets) { @@ -6137,8 +6267,10 @@ void Brain::Update(uint32_t now_ms) } } - for (Member const& m : plan.members) - if (m.bot) + // Each bot decides its own move, starting at a different bot each pass (see g_passDest): the probe budget runs out for whoever + // comes last, and with the members in guid order that was always the same raiders. + for (std::size_t turn = 0; turn < plan.members.size(); ++turn) + if (Member const& m = plan.members[(turn + passTurn) % plan.members.size()]; m.bot) { RaidOrder& o = next[m.p->GetGUID().GetCounter()]; o.active = true; @@ -6156,7 +6288,10 @@ void Brain::Update(uint32_t now_ms) if (!plan.rules->hideBeforeBreath.empty()) LogBreathHideMissed(plan, m, now_ms, o); if (o.move) + { + g_passDest[m.p->GetGUID().GetCounter()] = { o.move_x, o.move_y }; dump << " " << m.p->GetName() << ": move (" << o.move_reason << ")\n"; + } for (NoAoe const& rule : plan.rules->noAoe) for (Unit* enemy : plan.enemies) if (enemy->GetEntry() == rule.enemy && m.p->GetDistance(enemy) < 40.0f) diff --git a/src/modules/PlayerbotV2/Bot/Raid/RaidBrainInternal.h b/src/modules/PlayerbotV2/Bot/Raid/RaidBrainInternal.h index 7a09ffb14b..fe5d133bed 100644 --- a/src/modules/PlayerbotV2/Bot/Raid/RaidBrainInternal.h +++ b/src/modules/PlayerbotV2/Bot/Raid/RaidBrainInternal.h @@ -65,12 +65,16 @@ bool Controlled(Unit* u); // from where it stands (the path walks round what is between) and it need not be in the fight area round the main tank (the row is wider). bool Usable(Player* bot, float x, float y, float zHint, float& outZ, bool urgent = false, bool hazard = false, bool fixedPlace = false); void ResetPathProbes(); -bool SetMove(RaidOrder& out, float x, float y, float z, char const* reason); +// `urgent`: see RaidOrder::move_urgent (the move is a way out of something that kills where the bot stands). +bool SetMove(RaidOrder& out, float x, float y, float z, char const* reason, bool urgent = false); // Best nearby point that increases the distance to every raid member in `others`. // Points inside `avoid` (the bot's hazard circles) are skipped. bool Clearest(Player* bot, std::vector const& others, float wanted, RaidOrder& out, char const* reason, std::vector const& avoid, bool urgent); uint32_t KnownRank(Player* p, Ranks const& ranks); +// The ranged opener a bot pulls with, one shot from range (0: none it knows). Hunters first (order 0), then mages (1), then warlocks (2); +// order 3 for every other class. +uint32_t RangedPullSpell(Player* p, int& order); bool Ready(Player* p, uint32_t spellId, Unit* target, bool hostile); bool Busy(Player* p); uint32_t Stacks(Unit* u, uint32_t aura); diff --git a/src/modules/PlayerbotV2/Bot/Raid/RaidCombat.cpp b/src/modules/PlayerbotV2/Bot/Raid/RaidCombat.cpp index c042b4fc06..69e946662e 100644 --- a/src/modules/PlayerbotV2/Bot/Raid/RaidCombat.cpp +++ b/src/modules/PlayerbotV2/Bot/Raid/RaidCombat.cpp @@ -26,11 +26,30 @@ char const* CastRuleName(RaidOrder::CastKind kind) case RaidOrder::CastKind::Nuke: return "raid:nuke"; case RaidOrder::CastKind::Disarm: return "raid:disarm"; case RaidOrder::CastKind::StanceDance: return "raid:stance_dance"; + case RaidOrder::CastKind::Prepare: return "raid:prepare"; case RaidOrder::CastKind::None: break; } return "raid:cast"; } +// The core takes no move from a stunned, rooted, feared or confused bot (UNIT_STATE_NOT_MOVE; fear and confusion move it themselves). +bool BodyHeld(BotSnapshotView const& s) +{ + return s.is_stunned() || s.is_rooted() || s.is_feared() || s.is_confused(); +} + +// A raid move while the bot casts (see DispatchRaidOrder): an urgent one stops the cast and goes (true, cast cancelled); any other holds +// the tick until the cast ends (false, the caller claims the tick without sending the move). +bool CastGivesWay(RaidOrder const& o, BotSnapshotView const& s, BotIntentEmitter& emit) +{ + if (!s.is_casting()) + return true; + if (!o.move_urgent) + return false; + emit.cancel_cast(); + return true; +} + } // namespace bool HoldStill(BotAI& ai, BotSnapshotView const& s, BotIntentEmitter& emit) @@ -88,14 +107,22 @@ bool DispatchRaidOrder(BotAI& ai, BotSnapshotView const& s, BotIntentEmitter& em // 1. Hazards first: leaving Inferno / Living Bomb range / a breath corridor beats everything else. // A deduped re-emit (same point, still walking) still owns the tick so the rotation does not chase back in. A move that was // refused (the path ring, the API's no-path answer) owns nothing: the bot stood on the spot casting and attacking nothing. - if (o.move) + // Each bot takes its own move when it can walk. The core refuses a move while the bot casts, is stunned or rooted, and the + // refusal used to mark the spot as one the bot cannot reach for 6 s (BotAI::note_move_refused, meant for a navmesh refusal): the + // move gave the tick back, the rotation started the next cast, and the bot stood in the open casting until the 6 s ran out + // (naxx22 1116: 73 "casting" refusals of raid moves in Gluth, 57 in the Horsemen, Sapphiron's hide refused for frozen and casting + // raiders alike). So no move is sent while it cannot be taken: + // - stunned, rooted, feared or confused: the rotation gets the tick (a rooted caster still casts), the move goes out once free; + // - casting: a way out of something that kills where the bot stands (RaidOrder::move_urgent) stops the cast and goes now; any other + // move holds the tick until the cast ends, so no new cast starts before it (onyxia_full 245: two healers stood in Heated Ground + // 22194/22195 casting Flash Heal and Flash of Light for two to three seconds after their leave-hazard order, and died). + if (o.move && !BodyHeld(s)) { - // A way out of a hazard or a cone is not held back by the bot's own cast: the core refuses every move while a cast runs, and a - // healer started the next heal in the same tick the refused move gave the tick back (onyxia_full 245: two healers stood in - // Heated Ground 22194/22195 casting Flash Heal and Flash of Light for two to three seconds after their leave-hazard order, and died). - if (s.is_casting() && o.move_reason && - (std::strcmp(o.move_reason, "leave hazard") == 0 || std::strcmp(o.move_reason, "leave cone") == 0)) - emit.cancel_cast(); + if (!CastGivesWay(o, s, emit)) + { + ai.set_last_rule_fired("raid:move_after_cast"); + return true; + } if (emit.move_to(o.move_x, o.move_y, o.move_z, /*run=*/true) || emit.move_already_emitted(o.move_x, o.move_y, o.move_z)) { ai.set_last_rule_fired("raid:move"); @@ -184,8 +211,14 @@ bool DispatchRaidOrder(BotAI& ai, BotSnapshotView const& s, BotIntentEmitter& em std::find(o.forbidden_targets.begin(), o.forbidden_targets.end(), victim) != o.forbidden_targets.end(); // An idle DPS bot picks up the fallback too, unless its owner told it to stay. bool const idleDps = victim.IsEmpty() && !o.fallback_target.IsEmpty() && !ai.holding_position(s.published_at_ms()); - // An idle tank (its enemy is airborne or dead) takes the brain's ground target. - bool const idleTank = victim.IsEmpty() && o.fallback_target.IsEmpty() && !o.tank_fallback_target.IsEmpty() && !ai.holding_position(s.published_at_ms()); + // An idle tank (its enemy is airborne or dead) takes the brain's ground target, unless that target is one it must not attack: + // Gluth's chow tanks have him forbidden and a chow for their soak target, and the ground target (him) taken here first was dropped + // as forbidden next tick, over and over, so the soak step below never ran (naxx_gluth r25: Mctankwc on Gluth 56 y off and off + // again every 1-2 s for the whole fight, Mctankda alone held 12 chows and died at 72 s, the loose chows killed the casters). + bool const tankFallbackForbidden = !o.tank_fallback_target.IsEmpty() && + std::find(o.forbidden_targets.begin(), o.forbidden_targets.end(), o.tank_fallback_target) != o.forbidden_targets.end(); + bool const idleTank = victim.IsEmpty() && o.fallback_target.IsEmpty() && !o.tank_fallback_target.IsEmpty() && !tankFallbackForbidden && + !ai.holding_position(s.published_at_ms()); if (idleTank && emit.start_attack(o.tank_fallback_target)) { ai.set_last_rule_fired("raid:switch_target"); @@ -201,7 +234,8 @@ bool DispatchRaidOrder(BotAI& ai, BotSnapshotView const& s, BotIntentEmitter& em return true; } } - if (forbidden && !o.tank_fallback_target.IsEmpty() && o.tank_fallback_target != victim && o.tank_fallback_target != o.fallback_target) + if (forbidden && !o.tank_fallback_target.IsEmpty() && !tankFallbackForbidden && o.tank_fallback_target != victim && + o.tank_fallback_target != o.fallback_target) { if (emit.start_attack(o.tank_fallback_target)) { @@ -277,11 +311,17 @@ void RegisterRaidIdleRules(IdleRuleRegistry& r) move.gate = [](BotSnapshotView const& s, BotAI&, GroupSnapshotView const&, uint32) { RaidOrder const& o = s.raw().raid_order; - return o.active && !o.prepull && o.move && s.is_alive(); + return o.active && !o.prepull && o.move && s.is_alive() && !Raid::BodyHeld(s); }; move.fire = [](BotSnapshotView const& s, BotAI& ai, GroupSnapshotView const&, BotIntentEmitter& emit, uint32) { RaidOrder const& o = s.raw().raid_order; + // A buff under way finishes first, unless the move is a way out (as in DispatchRaidOrder). + if (!Raid::CastGivesWay(o, s, emit)) + { + ai.set_last_rule_fired("idle:raid_move_after_cast"); + return true; + } // A refused move does not claim the tick (see raid:move in DispatchRaidOrder): the idle rules below get the bot. if (!emit.move_to(o.move_x, o.move_y, o.move_z, /*run=*/true) && !emit.move_already_emitted(o.move_x, o.move_y, o.move_z)) return false; diff --git a/src/modules/PlayerbotV2/Bot/Raid/RaidEncounterData_NAXX.cpp b/src/modules/PlayerbotV2/Bot/Raid/RaidEncounterData_NAXX.cpp index c50277d0c7..bba51a5493 100644 --- a/src/modules/PlayerbotV2/Bot/Raid/RaidEncounterData_NAXX.cpp +++ b/src/modules/PlayerbotV2/Bot/Raid/RaidEncounterData_NAXX.cpp @@ -74,6 +74,10 @@ namespace Playerbot::Raid { r.priority.push_back({ 17055, 4 }); // Maexxna Spiderling r.dispel.push_back({ 28776, DispelKind::Poison, true }); r.avoidFrontal.push_back({ 15952, 30.0f, 60.0f, Who::NonTank }); + // Web Spray (29484) stuns her tank with everyone else for 10 s while she goes on hitting it, every hit landing (no dodge, parry or + // block while stunned): 3.2-4.8k a swing on a 12.3k tank (naxx_maexxna r24h, dead 7-9 s into the first spray). The tanks drink a + // Greater Stoneshield Potion (+2000 armour, 2 min) when she is engaged, as on Patchwerk. + r.resistPotion.push_back({ 15952, 13455, Who::Tank }); // --------------------------------------------------------------------------------------------------------------- // NOTH THE PLAGUEBRINGER (15954): Curse of the Plaguebringer 29213 turns into Wrath of the Plaguebringer (4,000 shadow to @@ -157,8 +161,11 @@ namespace Playerbot::Raid { // out of sight too. naxx_patchwerk 1114f and 1114g fought from that lower floor: 89 heals and shots failed for line of sight, the // main tank went up into the hall alone and the healers followed it into his reach. His walk comes back east along y -3230 to his // spawn, and he is met close to it (naxx_patchwerk 1115a: engaged at 3296,-3236 and fought at 3290-3311,-3232..-3249). The main - // tank holds him by his spawn at 3305,-3232, and the ranged stand west of him in the hall, 33 y from the tank (past Hateful Strike's - // 18 y rows above, inside 40 y of heals) on the south half. + // tank holds him by his spawn at 3305,-3232. + // The ranged stand at the hall's east end with the healers, 4 y further east between their corners (3330,-3227 and 3330,-3237): 25 y + // from the main tank's post, past Hateful Strike's 18 y and inside every ranged spell's reach to him (30 y + his reach), and they + // wait there before the pull (NaxxPrePullPatchwerk). Their post was west of him at 3272,-3240, and from the lower floor the way up + // to it runs past him: in the 1115 threat run all 16 walked into his 18 y circle and out again for the whole fight, 0 damage in 90 s. // The healers stand at the hall's east end in its two corners, 3326,-3223 and 3326,-3241: 20 y from his spawn and 23-26 y from him // where the main tank holds him (west of its post, he comes from the west), and off his walk, so they wait there before the pull // (NaxxPrePullPatchwerk) instead of walking 75 y from the lower floor after it (naxx_patchwerk 1115i: 29 of 61 s walking, no heal @@ -166,7 +173,8 @@ namespace Playerbot::Raid { // killed them; the corners keep the 18 y. constexpr float kPatchHallZ = 294.1f; r.stand.push_back({ 16028, Who::MainTank, 3305.0f, -3232.0f, kPatchHallZ, 5.0f, true, 0 }); - r.stand.push_back({ 16028, Who::Ranged, 3272.0f, -3240.0f, kPatchHallZ, 5.0f, false, 0 }); + r.stand.push_back({ 16028, Who::Ranged, 3330.0f, -3227.0f, kPatchHallZ, 4.0f, false, 0, 100.0f, 0.0f, 1 }); + r.stand.push_back({ 16028, Who::Ranged, 3330.0f, -3237.0f, kPatchHallZ, 4.0f, false, 0, 100.0f, 0.0f, 2 }); r.stand.push_back({ 16028, Who::Healer, 3326.0f, -3223.0f, kPatchHallZ, 4.0f, false, 0, 100.0f, 0.0f, 1 }); r.stand.push_back({ 16028, Who::Healer, 3326.0f, -3241.0f, kPatchHallZ, 4.0f, false, 0, 100.0f, 0.0f, 2 }); // The posts are for a fight in his hall. Pulled anywhere else (Karrz 11-15 live: met at the hall's west end, 3210,-3190, on his @@ -185,6 +193,9 @@ namespace Playerbot::Raid { r.carrierRun.push_back({ 28169, 15.0f, Who::NonTank }); r.avoidCarrier.push_back({ 28169, 10.0f, Who::NonTank }); r.avoidCreature.push_back({ 16363, 9.0f, Who::Anyone }); + // The clouds last, and he stood in them: naxx21 the melee held off him for 61-63 of 90 s (raid:melee_hold, his centre inside a + // cloud's 9 y), 36% of his health in 90 s, and the tanks died at 88-104 s. His tank leads him out of them. + r.dragOut.push_back({ 15931, 16363, 11.0f }); r.avoidFrontal.push_back({ 15931, 20.0f, 50.0f, Who::NonTank }); // Every player the spray hits leaves a Fallout Slime where it stands (classic_boss_grobbulus.cpp SpellHitTarget, one each), so // the main tank is the only one in front of him: the off tanks keep the Fallout Slimes from his flank. naxx_grobbulus 1115a: all @@ -237,8 +248,13 @@ namespace Playerbot::Raid { // Frost Aura, Blizzard and Frost Breath: Greater Frost Protection for everyone. r.resistPotion.push_back({ 15989, 13456, Who::Anyone }); r.avoidCreature.push_back({ 16474, 8.0f, Who::Anyone }); - r.avoidFrontal.push_back({ 15989, 25.0f, 50.0f, Who::NonTank }); - r.avoidFrontal.push_back({ 15989, 20.0f, 45.0f, Who::NonTank, 180.0f }); // Tail Sweep 15847 behind him + // Cleave 19983 is a chain of 10 (SpellEffect: ChainTargets 10), 5 y a jump for a melee spell (Spell::SearchChainTargets): from his + // tank to whoever stands within 5 y of the tank, and on. naxx22 1116: 9 healers cleaved 9-23 y from him, a chain through the camp + // behind his tank, which the old 50 degree cone left alone. His whole front half is kept clear to 30 y (his tank stands in it, at + // his reach; anyone within a jump of it is in it). Tail Sweep 15847 is Onyxia's spell (radius index 10, 30 y; 60 degrees each side + // of straight behind, RaidEncounters.h kOnyTailHalfDeg). The raid stands on his flanks between them, or beyond 30 y. + r.avoidFrontal.push_back({ 15989, 30.0f, 90.0f, Who::NonTank, 0.0f, 100.0f, 0.0f, true, 6.0f }); + r.avoidFrontal.push_back({ 15989, 30.0f, kOnyTailHalfDeg, Who::NonTank, 180.0f, 100.0f, 0.0f, true, 6.0f }); // Tail Sweep behind him // --------------------------------------------------------------------------------------------------------------- // KEL'THUZAD (15990): Detonate Mana 27819 on a mana user (the carrier runs, others keep clear), Shadow Fissure 27810 diff --git a/src/modules/PlayerbotV2/Bot/Raid/RaidEncounters.h b/src/modules/PlayerbotV2/Bot/Raid/RaidEncounters.h index c5845b2c45..481e4fe06a 100644 --- a/src/modules/PlayerbotV2/Bot/Raid/RaidEncounters.h +++ b/src/modules/PlayerbotV2/Bot/Raid/RaidEncounters.h @@ -97,6 +97,11 @@ struct AvoidGameObject { uint32_t entry; float radius; Who who; }; // corpse: the dead creature is the hazard (Lord Kri's Toxic Vapors cloud where he died). struct AvoidCreature { uint32_t entry; float radius; Who who; bool corpse = false; }; +// While is on its tank and its centre stands within yards of a living creature (Grobbulus' poison clouds, which last), +// that tank walks to a spot + 4 yards from every such creature, and he follows it out. Without it he stood in his own clouds and every +// melee bot held off him (the hold for a victim inside a hazard). +struct DragOut { uint32_t enemy; uint32_t hazard; float clear; }; + // While is alive and fighting, matching bots keep at least from the nearest other raid member. // No raid move ends inside this circle while is alive and fighting (one clamp for every rule, applied to the finished move target in // RaidBrain). Onyxia's two cave alcoves: the static whelps lie there, and a bot that walks up to them pulls the lot. @@ -334,6 +339,7 @@ struct RaidRules std::vector avoidGroundEffect; std::vector avoidGameObject; std::vector avoidCreature; + std::vector dragOut; std::vector avoidFrontal; std::vector spread; std::vector keepOut; diff --git a/src/modules/PlayerbotV2/Bot/Raid/RaidHealSlots.h b/src/modules/PlayerbotV2/Bot/Raid/RaidHealSlots.h index 5a7fb40996..2db4f04f4b 100644 --- a/src/modules/PlayerbotV2/Bot/Raid/RaidHealSlots.h +++ b/src/modules/PlayerbotV2/Bot/Raid/RaidHealSlots.h @@ -30,4 +30,29 @@ inline std::vector HealSlotOrder(uint64_t main_tank, uint64_t off_tank return order; } +// A melee-soak boss (RaidRules::meleeSoak, Patchwerk's Hateful Strike on the off tanks): the strike goes to the soakers, never the main +// tank while they are in melee, so they take the healers. The main tank gets one, then the soakers (off tank and spare tanks) one each +// in turns, up to three each, then the main tank a second. naxx_patchwerk 1115 night: with main 3 / off 2 / spare 1 the soakers stood at +// 50-65 % when the next 9-11k strike came and one died every 5-10 s (41 deaths in 143 s). +inline std::vector SoakHealSlotOrder(uint64_t main_tank, uint64_t off_tank, std::vector const& spare_tanks, uint32_t slots) +{ + std::vector soakers; + if (off_tank) + soakers.push_back(off_tank); + for (uint64_t t : spare_tanks) + if (t) + soakers.push_back(t); + std::vector order; + if (main_tank) + order.push_back(main_tank); + for (int round = 0; round < 3; ++round) + for (uint64_t t : soakers) + order.push_back(t); + if (main_tank) + order.push_back(main_tank); + if (order.size() > slots) + order.resize(slots); + return order; +} + } // namespace Playerbot::Raid diff --git a/src/modules/PlayerbotV2/Bot/Raid/RaidMechanics_AQ40.cpp b/src/modules/PlayerbotV2/Bot/Raid/RaidMechanics_AQ40.cpp index 36d4e81421..b390b7c77a 100644 --- a/src/modules/PlayerbotV2/Bot/Raid/RaidMechanics_AQ40.cpp +++ b/src/modules/PlayerbotV2/Bot/Raid/RaidMechanics_AQ40.cpp @@ -125,7 +125,7 @@ bool GlareMove(Plan const& plan, Member const& self, RaidOrder& out) if (Usable(bot, x, y, bot->GetPositionZ(), z, /*urgent*/ true)) { out.hold_melee = !self.ranged && !self.healer; - return SetMove(out, x, y, z, "c'thun: out of dark glare"); + return SetMove(out, x, y, z, "c'thun: out of dark glare", /*urgent*/ true); } } return false; diff --git a/src/modules/PlayerbotV2/Bot/Raid/RaidMechanics_Naxx.cpp b/src/modules/PlayerbotV2/Bot/Raid/RaidMechanics_Naxx.cpp index ca445c7885..ab2423ca00 100644 --- a/src/modules/PlayerbotV2/Bot/Raid/RaidMechanics_Naxx.cpp +++ b/src/modules/PlayerbotV2/Bot/Raid/RaidMechanics_Naxx.cpp @@ -19,6 +19,7 @@ // the gate stays closed until he opens it, so every bot only fights enemies on its own side. #include "RaidBrainInternal.h" +#include "SpellFamily.h" #include "Creature.h" #include "GameObject.h" @@ -253,7 +254,7 @@ bool HeiganMove(Plan const& plan, Member const& self, uint32_t now, RaidOrder& o float z = 0.0f; if (Usable(bot, c.trap->x, c.trap->y, c.trap->z, z, /*urgent*/ true)) { - SetMove(out, c.trap->x, c.trap->y, z, st.dance ? "heigan dance" : "heigan eruption"); + SetMove(out, c.trap->x, c.trap->y, z, st.dance ? "heigan dance" : "heigan eruption", /*urgent*/ true); return true; } } @@ -269,6 +270,10 @@ constexpr uint32_t kIcebolt = 28522; // the frozen player inside a bl constexpr uint32_t kFrostBreath = 28524; // 7 s cast from the air constexpr uint32_t kFrostBreathDummy = 30101; // the falling ball, 0.5 s before the cast constexpr float kIceboltSpread = 10.0f; +// The blocks standing when the raid starts to hide: his five Icebolts come 3.5 s apart, the breath's falling ball 1.5 s after the fifth and +// the 7 s cast 0.5 s after that (classic_boss_sapphiron.cpp RescheduleIcebolt, EVENT_SAPPH_FROST_BREATH_*). Hiding from the fourth block +// on gives 12.5 s instead of 7.5. naxx_sapphiron r23: 14 died to the first breath at 95 s, most of them still walking ("raid:move"). +constexpr std::size_t kHideFromBlocks = 4; std::unordered_map g_airSpread; // bot -> last air phase spread move @@ -295,11 +300,14 @@ bool SapphironMove(Plan const& plan, Member const& self, uint32_t now, RaidOrder if (bot->HasAura(kIcebolt)) return true; // frozen inside a block - if (Casting(sapphiron, kFrostBreath) || Casting(sapphiron, kFrostBreathDummy)) + std::list blocks; + sapphiron->GetGameObjectListWithEntryInGrid(blocks, kIceBlock, 150.0f); + blocks.remove_if([](GameObject* b) { return !b->isSpawned(); }); + // From the breath's falling ball on, a cast under way is stopped for the walk; before it (the fourth block) it is let finish first. + bool const breathing = Casting(sapphiron, kFrostBreath) || Casting(sapphiron, kFrostBreathDummy); + if (breathing || blocks.size() >= kHideFromBlocks) { // Hide: stand right behind the nearest ice block, on the line from Sapphiron through the block. - std::list blocks; - sapphiron->GetGameObjectListWithEntryInGrid(blocks, kIceBlock, 150.0f); GameObject* nearest = nullptr; float nearestDist = 0.0f; for (GameObject* block : blocks) @@ -313,23 +321,63 @@ bool SapphironMove(Plan const& plan, Member const& self, uint32_t now, RaidOrder return false; // Melee and tanks stay behind the block instead of chasing Sapphiron (casters may keep casting from cover). out.hold_melee = !self.ranged && !self.healer; - float const away = std::atan2(nearest->GetPositionY() - sapphiron->GetPositionY(), nearest->GetPositionX() - sapphiron->GetPositionX()); + // The spot behind the block is this bot's post against him: no step out for a line of sight to its target or its tank + // ([raid_los] skips a bot with a post enemy), no formation walk and no clump spacing (both skip a bot at its post). + // naxx_sapphiron r25 (combined 1118): Mclocka hid, stepped 16 y toward its tank for sight 7 s before the breath and died with six + // others at (3491,-5272); Mchealsd walked back to its formation slot between hide orders and died on its way. + out.post_enemy = sapphiron->GetGUID(); + // The breath reaches whoever he sees (an area spell checks the line from him, high in the air, to each target; the block is a + // game object with a model in that check). A spot counts as hidden when the same check from him is blocked: a fixed 2.5-4 y + // behind the block left the line over its top. naxx22 1116: 14 died to the first breath, the melee among them holding behind + // blocks 20 y from him. + // The test is the one the spell makes (Spell::CheckEffectTarget for an area spell: the target's IsWithinLOS to the cast's source + // point): from the player's eye to his position raised by the player's own height, M2 models left out. naxx_sapphiron r27: five + // bots stood on one spot this check called hidden, and four hunters on another, and the breath killed all nine there; the old + // line ran from the top of him and counted M2 models. + Map* const map = bot->GetMap(); + float const eye = bot->GetCollisionHeight(); + float const sx = sapphiron->GetPositionX(), sy = sapphiron->GetPositionY(), sz = sapphiron->GetPositionZ() + eye; + auto hidden = [&](float px, float py, float pz) + { + return !map->isInLineOfSight(bot->GetPhaseShift(), px, py, pz + eye, sx, sy, sz, LINEOFSIGHT_ALL_CHECKS, VMAP::ModelIgnoreFlags::M2); + }; + if (hidden(bot->GetPositionX(), bot->GetPositionY(), bot->GetPositionZ())) + { + out.at_post = true; + return true; // already hidden: stays + } + float const away = std::atan2(nearest->GetPositionY() - sy, nearest->GetPositionX() - sx); int pathChecks = 0; - for (float distance : { 3.0f, 2.5f, 4.0f }) - for (float side : { 0.0f, 0.25f, -0.25f }) + for (float distance : { 1.5f, 2.0f, 2.5f, 3.0f, 4.0f }) + for (float side : { 0.0f, 0.15f, -0.15f }) { float const px = nearest->GetPositionX() + distance * std::cos(away + side); float const py = nearest->GetPositionY() + distance * std::sin(away + side); - if (Dist2D(bot->GetPositionX(), bot->GetPositionY(), px, py) < 1.2f) - return true; // already hidden - if (++pathChecks > 5) + float const gz = map->GetHeight(bot->GetPhaseShift(), px, py, nearest->GetPositionZ() + 2.0f, true, 6.0f); + if (gz <= INVALID_HEIGHT + 1.0f || !hidden(px, py, gz)) + continue; + if (++pathChecks > 4) return true; float pz = 0.0f; - if (!Usable(bot, px, py, nearest->GetPositionZ(), pz, /*urgent*/ true)) + if (!Usable(bot, px, py, gz, pz, /*urgent*/ true)) continue; - SetMove(out, px, py, pz, "hide behind ice block"); + SetMove(out, px, py, pz, "hide behind ice block", breathing); return true; } + // No spot behind the nearest block is out of his sight: said once per bot and breath. + uint32_t& logged = g_airSpread[bot->GetGUID().GetCounter() | (uint64_t(1) << 63)]; + if (now - logged >= 10000) + { + logged = now; + TC_LOG_INFO("playerbot.v2.raid", "[raid] Sapphiron: {} finds no spot behind the ice block at {:.1f},{:.1f},{:.1f} out of his sight " + "(he is at {:.1f},{:.1f},{:.1f}, {:.0f} y off)", bot->GetName(), nearest->GetPositionX(), nearest->GetPositionY(), + nearest->GetPositionZ(), sx, sy, sz, Dist2D(sx, sy, nearest->GetPositionX(), nearest->GetPositionY())); + } + // Then right behind it all the same, on the line from him through the block. + float const px = nearest->GetPositionX() + 2.0f * std::cos(away), py = nearest->GetPositionY() + 2.0f * std::sin(away); + float pz = 0.0f; + if (Dist2D(bot->GetPositionX(), bot->GetPositionY(), px, py) >= 1.2f && Usable(bot, px, py, nearest->GetPositionZ(), pz, /*urgent*/ true)) + SetMove(out, px, py, pz, "hide behind ice block", breathing); return true; } @@ -581,6 +629,19 @@ bool LiveSide(GameObject* gate, float y) { return y <= gate->GetPositionY(); } struct GothSpot { uint32_t instance = 0; bool live = false; float x = 0, y = 0, z = 0; }; std::unordered_map g_gothSpot; // bot -> its pre-pull spot std::unordered_map> g_gothAnchor; // (instance << 1 | side) -> anchor found? +std::unordered_set g_gothOffFloorLogged; // instances whose off-the-floor raid was logged +std::unordered_map> g_gothDraw; // instance -> the spot under his balcony that draws him, found? +constexpr float kGothDrawMargin = 3.0f; // the draw spot stands this far inside his aggro reach (or the opener's range) +// When no floor spot lies inside his aggro reach, a ranged bot on the live side opens on him with one shot from the floor. His reach is +// 15 y less his combat reach for a creature above the expansion's top level (Creature::GetAttackDistance), and he stands 18 y above the +// floor: naxx_gothik r25 (combined 1118): "his aggro reach 9.0 y ... nobody can draw him", the raid stood split until the run failed. +struct GothShot { bool searched = false, found = false; ObjectGuid shooter; Position spot; }; +std::unordered_map g_gothShot; // instance -> its ranged opener +// The draw waits for the split, but not for a straggler: once this long has passed since the split was first ordered, a bot that has not +// reached its spot no longer holds it back. naxx_gothik r24h (0045): the raid stood split for 120 s and nobody drew him, two healers 43-46 y +// from the tanks; one bot short of its spot held the whole pull. +constexpr uint32_t kGothDrawWaitMs = 20000; +std::unordered_map g_gothSplitSince; // instance -> when its split was first ordered // A floor point on one side, reachable on foot (the gate is open before the pull, and the navmesh ignores it anyway). bool GothAnchor(Player* bot, GameObject* gate, bool live, Position& out) @@ -613,6 +674,126 @@ bool GothAnchor(Player* bot, GameObject* gate, bool live, Position& out) return false; } +// A spot on the live side's floor within `want` yards of him, in his sight, that `bot` walks to on a complete path (the nearest bearing to +// the live side's anchor first, the farthest distance first). +bool GothFloorSpot(Creature* gothik, GameObject* gate, Player* bot, float want, Position& out) +{ + float const dz = gothik->GetPositionZ() - gate->GetPositionZ(); + if (want <= std::fabs(dz) + 1.0f) + return false; + float const h = std::sqrt(want * want - dz * dz); + Position anchor; + float const toward = GothAnchor(bot, gate, true, anchor) ? gothik->GetAbsoluteAngle(anchor.GetPositionX(), anchor.GetPositionY()) + : gothik->GetAbsoluteAngle(bot); + for (float r = h; r >= 2.0f; r -= 2.0f) + for (int step = 0; step <= 8; ++step) + for (int sign : { 1, -1 }) + { + if (step == 0 && sign < 0) + continue; + float const a = toward + float(sign * step) * float(M_PI) / 16.0f; + float const x = gothik->GetPositionX() + r * std::cos(a); + float const y = gothik->GetPositionY() + r * std::sin(a); + if (!LiveSide(gate, y)) + continue; + float const z = bot->GetMap()->GetHeight(bot->GetPhaseShift(), x, y, gate->GetPositionZ() + 2.0f, true, 8.0f); + if (z <= INVALID_HEIGHT + 1.0f || std::fabs(z - gate->GetPositionZ()) > 4.0f) + continue; + if (gothik->GetExactDist(x, y, z) > want || !gothik->IsWithinLOS(x, y, z + 2.0f)) + continue; + PathGenerator path(bot); + if (!path.CalculatePath(x, y, z, false) || (path.GetPathType() & (PATHFIND_NOPATH | PATHFIND_INCOMPLETE))) + continue; + out.Relocate(x, y, z); + return true; + } + return false; +} + +// One shot from the live side's floor starts the fight (JustEngagedWith: the zone joins in, he takes his immunity and the gate closes): +// a hunter, else a mage, else a warlock, on the live side. The shooter is kept while it can still shoot (a swap mid-walk sends a second +// bot to the spot and the first one back); its spot is inside its opener's range, in his sight. Its other order (the side spot) gives way. +void NaxxGothikRangedOpener(std::unordered_map& orders, std::vector const& ordered, + Creature* gothik, GameObject* gate, uint32_t instance, std::ostringstream& dump) +{ + GothShot& shot = g_gothShot[instance]; + auto const canShoot = [&](Member const* m, uint32_t& spell, int& order) + { + auto it = g_gothSpot.find(m->p->GetGUID().GetCounter()); + spell = RangedPullSpell(m->p, order); + return m->bot && !m->tank && !m->healer && m->p->IsAlive() && spell && it != g_gothSpot.end() && it->second.instance == instance && + it->second.live; + }; + Member const* shooter = nullptr; + uint32_t spell = 0; + int order = 3; + for (Member const* m : ordered) + if (m->p->GetGUID() == shot.shooter && canShoot(m, spell, order)) + shooter = m; + if (!shooter) + { + int bestOrder = 3; + float bestYards = 0.0f; + for (Member const* m : ordered) + { + uint32_t s = 0; + int o = 3; + if (!canShoot(m, s, o)) + continue; + float const yards = m->p->GetExactDist2d(gothik); + if (!shooter || o < bestOrder || (o == bestOrder && yards < bestYards)) + { + shooter = m; + bestOrder = o; + bestYards = yards; + } + } + if (!shooter) + { + if (!shot.searched) + TC_LOG_WARN("playerbot.v2.raid", "[raid] Gothik: no hunter, mage or warlock bot on the live side to open on him"); + shot.searched = true; + return; + } + shot.shooter = shooter->p->GetGUID(); + shot.searched = false; // a new shooter looks for its own spot + canShoot(shooter, spell, order); + } + Player* const p = shooter->p; + SpellInfo const* info = sSpellMgr->GetSpellInfo(spell, DIFFICULTY_NONE); + if (!info) + return; + if (!shot.searched) + { + shot.searched = true; + float const range = info->GetMaxRange(false, p); + shot.found = GothFloorSpot(gothik, gate, p, range - kGothDrawMargin, shot.spot); + if (shot.found) + TC_LOG_INFO("playerbot.v2.raid", "[raid] Gothik: {} opens on him with {} from ({:.1f},{:.1f},{:.1f}), {:.1f} y from him (range {:.0f} y)", + p->GetName(), spell, shot.spot.GetPositionX(), shot.spot.GetPositionY(), shot.spot.GetPositionZ(), + gothik->GetExactDist(shot.spot), range); + else + TC_LOG_WARN("playerbot.v2.raid", "[raid] Gothik: no floor spot on the live side within {}'s range {:.0f} y of him: nobody can open", + p->GetName(), range); + } + if (!shot.found) + return; + RaidOrder& o = orders[p->GetGUID().GetCounter()]; + o.active = true; + o.prepull = true; + if (p->GetExactDist2d(shot.spot.GetPositionX(), shot.spot.GetPositionY()) > 2.0f || !Ready(p, spell, gothik, true)) + { + SetMove(o, shot.spot.GetPositionX(), shot.spot.GetPositionY(), shot.spot.GetPositionZ(), "gothik: walks to the opener spot"); + dump << " Gothik: " << p->GetName() << " walks to open on him\n"; + return; + } + o.move = false; + o.cast_kind = RaidOrder::CastKind::Nuke; + o.cast_spell = spell; + o.cast_target = gothik->GetGUID(); + dump << " Gothik: " << p->GetName() << " opens on him\n"; +} + void NaxxPrePullGothik(Plan& plan, std::unordered_map& orders, std::ostringstream& dump) { Player* first = plan.members.front().p; @@ -621,13 +802,30 @@ void NaxxPrePullGothik(Plan& plan, std::unordered_map& orde return; Creature* gothik = gate->FindNearestCreature(kGothik, 120.0f, true); if (!gothik || gothik->IsInCombat() || gate->GetGoState() != GO_STATE_ACTIVE) + { + g_gothSplitSince.erase(first->GetInstanceId()); // the next split's wait starts afresh + g_gothShot.erase(first->GetInstanceId()); // and the next opener is chosen afresh return; + } bool inRoom = false; + Player* above = nullptr; // near the gate on the map but off its floor (his balcony's height): logged, the split waits for the floor for (Member const& m : plan.members) - if (m.p->GetExactDist2d(gate) < kGothRoom && std::fabs(m.p->GetPositionZ() - gate->GetPositionZ()) < 8.0f) + { + if (m.p->GetExactDist2d(gate) >= kGothRoom) + continue; + if (std::fabs(m.p->GetPositionZ() - gate->GetPositionZ()) < 8.0f) inRoom = true; + else if (!above) + above = m.p; + } + if (!inRoom && above && g_gothOffFloorLogged.insert(first->GetInstanceId()).second) + TC_LOG_WARN("playerbot.v2.raid", "[raid] Gothik: {} stands {:.0f} y from the combat gate at z {:.1f}, the gate's floor is z {:.1f}: no side split " + "off the floor", above->GetName(), above->GetExactDist2d(gate), above->GetPositionZ(), gate->GetPositionZ()); if (!inRoom || plan.members.size() < 2 * kSideMinimum) + { + g_gothSplitSince.erase(first->GetInstanceId()); return; + } // Humans stay where they are and count for that side; bots alternate within each role so both sides get tanks, // healers and damage, starting with the side that has fewer humans. @@ -675,6 +873,120 @@ void NaxxPrePullGothik(Plan& plan, std::unordered_map& orde SetMove(o, spot.x, spot.y, spot.z, side ? "gothik: live side" : "gothik: dead side"); } dump << " Gothik split: " << live << " live side, " << dead << " dead side\n"; + + // Once every bot stands at its spot, a tank on the live side draws him: he stands on his balcony 18 y above the floor and starts the + // fight only when somebody comes into his aggro reach in his sight (no area trigger in the classic script), and nobody walks up to him. + // naxx_gothik r23: the split worked, the attack order sent the main tank at him (no path up, his reach 49 y off), and the raid stood + // in its pre-pull spots for 121 s until the run failed. The draw spot is on the live side's floor, inside his reach by kGothDrawMargin. + uint32_t const nowMs = GameTime::GetGameTimeMS(); + uint32_t const since = g_gothSplitSince.emplace(instance, nowMs).first->second; + std::vector walking; + auto const shotIt = g_gothShot.find(instance); + for (Member const* m : ordered) + { + // The ranged opener's spot is its own: counted as walking to its side spot, it held the opener back every other pass and the + // split order sent it back (naxx_gothik r26: Mchuntc swapped between "walks to the opener spot" and "live side" for 10 s). + if (shotIt != g_gothShot.end() && shotIt->second.found && m->p->GetGUID() == shotIt->second.shooter) + continue; + auto it = g_gothSpot.find(m->p->GetGUID().GetCounter()); + if (it == g_gothSpot.end() || it->second.instance != instance || m->p->GetExactDist2d(it->second.x, it->second.y) > 3.0f) + walking.push_back(fmt::format("{} {:.0f} y", m->p->GetName(), it == g_gothSpot.end() ? -1.0f : m->p->GetExactDist2d(it->second.x, it->second.y))); + } + if (!walking.empty()) + { + if (nowMs - since < kGothDrawWaitMs) + return; // still walking + static std::unordered_map logged; + uint32_t& at = logged[instance]; + if (!at || nowMs - at >= 15000u) + { + at = nowMs ? nowMs : 1u; + std::string list; + for (std::string const& w : walking) + list += (list.empty() ? "" : ", ") + w; + TC_LOG_INFO("playerbot.v2.raid", "[raid] Gothik: the split has stood {} s; the draw goes ahead with {} not at their spots: {}", + (nowMs - since) / 1000u, walking.size(), list); + } + } + Member const* puller = nullptr; + for (Member const* m : ordered) + { + if (!m->tank || !g_gothSpot[m->p->GetGUID().GetCounter()].live) + continue; + if (!puller || m->p == plan.mainTank) + puller = m; + } + if (!puller) + { + NaxxGothikRangedOpener(orders, ordered, gothik, gate, instance, dump); // no tank on the live side to draw him + return; + } + Player* const tank = puller->p; + auto drawIt = g_gothDraw.find(instance); + if (drawIt == g_gothDraw.end()) + { + float const reach = gothik->GetAttackDistance(tank) + gothik->GetCombatReach() + tank->GetCombatReach(); + float const dz = gothik->GetPositionZ() - gate->GetPositionZ(); + Position draw; + bool const found = GothFloorSpot(gothik, gate, tank, reach - kGothDrawMargin, draw); + drawIt = g_gothDraw.emplace(instance, std::make_pair(found, draw)).first; + if (found) + TC_LOG_INFO("playerbot.v2.raid", "[raid] Gothik: {} draws him from ({:.1f},{:.1f},{:.1f}), {:.1f} y from him on his balcony at " + "({:.1f},{:.1f},{:.1f}), his aggro reach {:.1f} y", tank->GetName(), draw.GetPositionX(), draw.GetPositionY(), + draw.GetPositionZ(), gothik->GetExactDist(draw), gothik->GetPositionX(), gothik->GetPositionY(), gothik->GetPositionZ(), reach); + else + TC_LOG_WARN("playerbot.v2.raid", "[raid] Gothik: no floor spot on the live side within his aggro reach {:.1f} y (him at " + "({:.1f},{:.1f},{:.1f}), {:.1f} y above the gate's floor): a ranged opener pulls him", reach, gothik->GetPositionX(), + gothik->GetPositionY(), gothik->GetPositionZ(), dz); + } + if (!drawIt->second.first) + { + NaxxGothikRangedOpener(orders, ordered, gothik, gate, instance, dump); + return; + } + Position const& draw = drawIt->second.second; + RaidOrder& o = orders[tank->GetGUID().GetCounter()]; + SetMove(o, draw.GetPositionX(), draw.GetPositionY(), draw.GetPositionZ(), "gothik: draws him from under his balcony"); + dump << " Gothik: " << tank->GetName() << " draws him\n"; +} + +// In the fight each side keeps its raiders. He goes back out of combat (EnterEvadeMode) when either side of the combat gate has fewer +// than 10 living players at any of his speech checks, 5 s apart (classic_boss_gothik.cpp HasLessPlayersPerSide), and the gate stays shut +// until late in the fight. naxx_gothik r26: the opener pulled him, the out-of-combat split orders ended with the pull, the raid ran after +// its tanks across the gate line, and he reset 5 s later at 100%. So while he is on his balcony or the gate is shut, a bot on the wrong +// side or out of his room goes back to its spot; one with no enemy on its side near it waits at its spot; one with an add near it fights. +constexpr float kGothAddNear = 40.0f; +bool GothikSideMove(Plan const& plan, Member const& self, RaidOrder& out) +{ + Unit* gothik = nullptr; + for (Unit* enemy : plan.enemies) + if (enemy->GetEntry() == kGothik) + gothik = enemy; + if (!gothik || !gothik->IsInCombat()) + return false; + Player* const bot = self.p; + GameObject* gate = GothikGate(bot); + if (!gate || (gate->GetGoState() == GO_STATE_ACTIVE && !gothik->HasAura(kGothImmune))) + return false; // the gates are open: one room again + auto it = g_gothSpot.find(bot->GetGUID().GetCounter()); + if (it == g_gothSpot.end() || it->second.instance != bot->GetInstanceId()) + return false; + GothSpot const& spot = it->second; + bool const away = LiveSide(gate, bot->GetPositionY()) != spot.live || bot->GetExactDist2d(gate) > kGothRoom; + if (!away) + for (Unit* enemy : plan.enemies) + if ((enemy->GetEntry() != kGothik || !enemy->HasAura(kGothImmune)) && LiveSide(gate, enemy->GetPositionY()) == spot.live && + bot->GetExactDist2d(enemy) <= kGothAddNear) + return false; // an add, or Gothik down from his balcony, on its side: the fight is here + out.post_enemy = gothik->GetGUID(); + if (!away && bot->GetExactDist2d(spot.x, spot.y) <= 4.0f) + { + out.at_post = true; + out.hold_melee = !self.ranged && !self.healer; + return true; + } + SetMove(out, spot.x, spot.y, spot.z, spot.live ? "gothik: back to the live side" : "gothik: back to the dead side", away); + return true; } // In the fight the gate is closed: a bot only fights enemies on its own side (the other side is out of reach). @@ -1187,6 +1499,8 @@ constexpr float kPatchNearRaid = 150.0f; constexpr float kPatchHallZ = 294.1f; struct PatchPost { float x, y; }; constexpr PatchPost kPatchHealerPosts[] = { { 3326.0f, -3223.0f }, { 3326.0f, -3241.0f } }; // share 1 (even), share 2 (odd) +// The ranged DPS stand at the same east end, 4 y further east, between the healers' corners (RaidEncounterData_NAXX.cpp, Patchwerk). +constexpr PatchPost kPatchRangedPosts[] = { { 3330.0f, -3227.0f }, { 3330.0f, -3237.0f } }; // share 1 (even), share 2 (odd) std::unordered_set g_patchPrePull; // instances whose healers were sent void NaxxPrePullPatchwerk(Plan& plan, std::unordered_map& orders, std::ostringstream& dump) @@ -1204,15 +1518,19 @@ void NaxxPrePullPatchwerk(Plan& plan, std::unordered_map& o if (away < kPatchFarYards) return; g_patchPrePull.insert(instance); - TC_LOG_INFO("playerbot.v2.raid", "[raid_patchwerk] he is {:.0f} y down his walk (at {:.1f},{:.1f}): the healers go to their posts at the hall's east end", + TC_LOG_INFO("playerbot.v2.raid", "[raid_patchwerk] he is {:.0f} y down his walk (at {:.1f},{:.1f}): the healers and the ranged go to their posts at the hall's east end", away, patch->GetPositionX(), patch->GetPositionY()); } - uint32_t index = 0, sent = 0; + // Healers and ranged DPS alike: the ranged had their post west of him in the hall, and from the lower floor the way up to it runs past + // him, so they walked into his 18 y circle, out again and back for the whole fight (naxx_patchwerk 1115 threat run: all 16 ranged DPS + // on "leave hazard" / "role position" turn about, 0 damage in 90 s). Waiting at the east end before the pull, they never cross it. + uint32_t healerIndex = 0, rangedIndex = 0, healers = 0, ranged = 0; for (Member const& m : plan.members) { - if (!m.healer) + bool const isRanged = !m.tank && !m.healer && m.ranged; // Who::Ranged + if (!m.healer && !isRanged) continue; - PatchPost const& post = kPatchHealerPosts[index++ & 1u]; + PatchPost const& post = m.healer ? kPatchHealerPosts[healerIndex++ & 1u] : kPatchRangedPosts[rangedIndex++ & 1u]; if (!m.bot) continue; float z = kPatchHallZ; @@ -1221,10 +1539,10 @@ void NaxxPrePullPatchwerk(Plan& plan, std::unordered_map& o RaidOrder& o = orders[m.p->GetGUID().GetCounter()]; o.active = true; o.prepull = true; - SetMove(o, post.x, post.y, z, "patchwerk: healer post"); - ++sent; + SetMove(o, post.x, post.y, z, m.healer ? "patchwerk: healer post" : "patchwerk: ranged post"); + ++(m.healer ? healers : ranged); } - dump << " Patchwerk: " << sent << " healers to the east end, he is " << int(away) << " y from his spawn\n"; + dump << " Patchwerk: " << healers << " healers and " << ranged << " ranged to the east end, he is " << int(away) << " y from his spawn\n"; } void NaxxPrePull(Plan& plan, std::unordered_map& orders, std::ostringstream& dump) @@ -1233,6 +1551,10 @@ void NaxxPrePull(Plan& plan, std::unordered_map& orders, st if (g_patchPrePull.size() > 64) g_patchPrePull.clear(); NaxxPrePullGothik(plan, orders, dump); + if (g_gothDraw.size() > 64) + g_gothDraw.clear(); + if (g_gothSplitSince.size() > 64) + g_gothSplitSince.clear(); NaxxPrePullThaddius(plan, orders, dump); if (g_thadSpot.size() > 512) g_thadSpot.clear(); @@ -1240,23 +1562,214 @@ void NaxxPrePull(Plan& plan, std::unordered_map& orders, st g_thadAnchor.clear(); if (g_gothSpot.size() > 512) g_gothSpot.clear(); + if (g_gothOffFloorLogged.size() > 64) + g_gothOffFloorLogged.clear(); if (g_gothAnchor.size() > 64) g_gothAnchor.clear(); if (g_gluthAnchor.size() > 64) g_gluthAnchor.clear(); } +// --------------------------------------------------------------------------- +// Maexxna: Web Spray +// --------------------------------------------------------------------------- +// Web Spray (29484) stuns the whole raid in her room for 10 s, her tank too, every 40 s from the pull (MaexWebSprayCooldown in +// classic_boss_maexxna.cpp): nobody heals and the tank cannot block, parry or dodge while she keeps hitting it. At 30% she enrages +// (28747: +250% damage done, +50% attack speed). naxx21: the tank fell to 33-39% in each of the first two stuns and died right after the +// second to a Poison Shock; once she was enraged every stun killed the tank she was on, and the last tank went at 133 s. In the seconds +// before the spray the healers put what keeps healing through a stun on her tank (Power Word: Shield, Renew, Rejuvenation, Regrowth), +// each by one healer, and once she is enraged her warrior tank opens Shield Wall, or Last Stand when the wall is spent. +constexpr uint32_t kMaexxna = 15952; +constexpr uint32_t kWebSpray = 29484; +constexpr uint32_t kMaexEnrage = 28747; +constexpr uint32_t kSprayCycleMs = 40000; +constexpr uint32_t kSprayPrepMs = 7000; // the jobs start this long before the spray is due (a Regrowth's cast and a GCD each) +constexpr uint32_t kSprayLateMs = 5000; // and stop this long after it was due, if the clock was off and no spray came +constexpr uint32_t kWeakenedSoul = 6788; +constexpr uint32_t kShieldWall = 871; +constexpr uint32_t kLastStand = 12975; + +// `withinMs`: the job waits until the spray is due within this long (0: from kSprayPrepMs on). +struct SprayJob { uint32_t base; uint32_t blockedBy; uint32_t withinMs; char const* what; }; +// Abolish Poison: her Necrotic Poison (28776, healing taken -90 %) comes back on her target every 5-10 s, so one lands while every +// healer stands stunned in the web and the heals over time on her tank do a tenth. naxx_maexxna r25 (combined 1118): it was cleansed +// 4 s before the first spray and on him again 5 s into it; her tank went from 94 % to dead in 9 s under the HoTs. Abolish Poison +// takes a poison off every 2 s for 8 s, stunned healer or not, so it goes on as late as it can: within 2.5 s of the spray it lasts +// some 6 s into it. +SprayJob const kSprayJobs[] = { + { 2893, 0, 2500, "maexxna: abolish poison on her tank before Web Spray" }, // Abolish Poison + { 17, kWeakenedSoul, 0, "maexxna: shield her tank before Web Spray" }, // Power Word: Shield + { 139, 0, 0, "maexxna: renew her tank before Web Spray" }, // Renew + { 774, 0, 0, "maexxna: rejuvenation on her tank before Web Spray" }, + { 8936, 0, 0, "maexxna: regrowth on her tank before Web Spray" }, +}; + +struct MaexSpray +{ + uint32_t engaged = 0; // first plan that saw her in the fight + uint32_t seen = 0; // last plan that saw her (a gap means a new pull: her guid stays the same after a wipe) + uint32_t last = 0; // when the last spray went on (from its aura) + bool up = false; // a spray is on the raid now + std::unordered_map jobOf; // job family -> the healer on it for the coming spray + uint32_t jobsFor = 0; // the spray time those jobs are for +}; +std::unordered_map g_maexSpray; // her guid -> the spray clock + +bool AnyRankOn(Unit* u, uint32_t base) +{ + for (uint32_t const id : SpellFamily::Ranks(base)) + if (u->HasAura(id)) + return true; + return false; +} + +bool Stunned(Player* p) { return p->HasUnitState(UNIT_STATE_STUNNED) || p->HasAura(kWebSpray); } + +int ManaPctOf(Player* p) +{ + uint32_t const max = p->GetMaxPower(POWER_MANA); + return max ? int(uint64_t(p->GetPower(POWER_MANA)) * 100 / max) : 100; +} + +// One healer for one job: the one that had it while it is still able, else the first idle one that can cast it now. +Player* SprayHealer(Election& e, MaexSpray& st, SprayJob const& job, Unit* tank, uint32_t& spell) +{ + Ranks const ranks = SpellFamily::Ranks(job.base); + auto able = [&](Member const& m) + { + if (!m.bot || !m.healer || m.p == tank || e.busy.count(m.p->GetGUID().GetCounter()) || Stunned(m.p) || ManaPctOf(m.p) < 10) + return false; + spell = KnownRank(m.p, ranks); + return spell && Ready(m.p, spell, tank, false); + }; + if (auto it = st.jobOf.find(job.base); it != st.jobOf.end()) + for (Member const& m : e.plan.members) + if (m.p->GetGUID().GetCounter() == it->second && able(m)) + return m.p; + for (bool allowCasting : { false, true }) + for (Member const& m : e.plan.members) + if (Busy(m.p) == allowCasting && able(m)) + return m.p; + return nullptr; +} + +void ElectMaexxnaSpray(Election& e, uint32_t now) +{ + Plan& plan = e.plan; + Unit* maex = nullptr; + for (Unit* enemy : plan.enemies) + if (enemy->GetEntry() == kMaexxna) + maex = enemy; + if (!maex) + return; + MaexSpray& st = g_maexSpray[maex->GetGUID().GetCounter()]; + if (st.engaged && now - st.seen > 10000) + st = MaexSpray(); + st.seen = now; + if (!st.engaged) + st.engaged = now; + // The clock follows the spray itself once one was seen: it went on when its aura did. + bool up = false; + for (Member const& m : plan.members) + if (Aura const* a = m.p->GetAura(kWebSpray)) + { + up = true; + if (!st.up) + st.last = now - std::min(now, uint32_t(std::max(0, a->GetMaxDuration() - a->GetDuration()))); + break; + } + st.up = up; + uint32_t const due = (st.last ? st.last : st.engaged) + kSprayCycleMs; + if (up || now + kSprayPrepMs < due || now > due + kSprayLateMs) + return; + if (st.jobsFor != due) + { + st.jobsFor = due; + st.jobOf.clear(); + } + // Every heal on her tank lands from here to the spray (CancelOverheal keeps it). + for (Member const& m : plan.members) + if (m.bot && m.healer) + if (RaidOrder* ho = e.OrderOf(m.p)) + ho->keep_heals = true; + Unit* tank = maex->GetVictim(); + Player* holder = tank ? tank->ToPlayer() : nullptr; + if (!holder || !FindMember(plan, holder)) + return; + int const inMs = int(due) - int(now); + // Her tank is set for the spray: from here on no other tank takes her (its taunt would leave the shield, the heals over time and + // Abolish Poison on the tank she just left). naxx_maexxna r26: the jobs went on Mctankwb 7-2 s before the spray, the main tank + // took her back from it 1.5 s before, and died in the web with one shield on him. + if (Member const* hm = FindMember(plan, holder); hm && hm->tank) + for (Member const& m : plan.members) + if (m.tank && m.p != holder) + if (RaidOrder* to = e.OrderOf(m.p)) + to->forbidden_targets.push_back(maex->GetGUID()); + + for (SprayJob const& job : kSprayJobs) + { + if (AnyRankOn(holder, job.base) || (job.blockedBy && holder->HasAura(job.blockedBy)) || (job.withinMs && inMs > int(job.withinMs))) + continue; + uint32_t spell = 0; + Player* healer = SprayHealer(e, st, job, holder, spell); + if (!healer) + continue; + RaidOrder* o = e.OrderOf(healer); + if (!o) + continue; + o->cast_kind = RaidOrder::CastKind::Prepare; + o->cast_spell = spell; + o->cast_target = holder->GetGUID(); + e.busy.insert(healer->GetGUID().GetCounter()); + e.dump << " " << healer->GetName() << ": " << job.what << " " << spell << " -> " << holder->GetName() << "\n"; + auto [it, fresh] = st.jobOf.try_emplace(job.base, healer->GetGUID().GetCounter()); + if (fresh || it->second != healer->GetGUID().GetCounter()) + { + it->second = healer->GetGUID().GetCounter(); + TC_LOG_INFO("playerbot.v2.raid", "[raid_maexxna] {} casts {} on {} ({:.0f}%) {:.1f} s before Web Spray", healer->GetName(), spell, + holder->GetName(), holder->GetHealthPct(), inMs / 1000.0f); + } + } + + // Enraged, a stun is a tank's death: the wall first, Last Stand once the wall is spent. + Member* hm = FindMember(plan, holder); + if (!hm->bot || !hm->tank || holder->GetClass() != CLASS_WARRIOR || e.busy.count(holder->GetGUID().GetCounter())) + return; + if (!maex->HasAura(kMaexEnrage) || holder->HasAura(kShieldWall) || holder->HasAura(kLastStand)) + return; + for (uint32_t const spell : { kShieldWall, kLastStand }) + { + if (!holder->HasSpell(spell) || !Ready(holder, spell, holder, false)) + continue; + RaidOrder* o = e.OrderOf(holder); + if (!o) + return; + o->cast_kind = RaidOrder::CastKind::Prepare; + o->cast_spell = spell; + o->cast_target = holder->GetGUID(); + e.busy.insert(holder->GetGUID().GetCounter()); + e.dump << " " << holder->GetName() << ": maexxna: " << (spell == kShieldWall ? "Shield Wall" : "Last Stand") << " before Web Spray\n"; + if (inMs > int(kSprayPrepMs) - 1000) + TC_LOG_INFO("playerbot.v2.raid", "[raid_maexxna] {} opens {} at {:.0f}%, she is enraged, {:.1f} s before Web Spray", holder->GetName(), + spell == kShieldWall ? "Shield Wall" : "Last Stand", holder->GetHealthPct(), inMs / 1000.0f); + return; + } +} + bool NaxxMechanicsMove(Plan const& plan, Member const& self, uint32_t now, RaidOrder& out) { - return HeiganMove(plan, self, now, out) || SapphironMove(plan, self, now, out) || ThaddiusSideMove(plan, self, out) || + return HeiganMove(plan, self, now, out) || SapphironMove(plan, self, now, out) || GothikSideMove(plan, self, out) || ThaddiusSideMove(plan, self, out) || GluthMove(plan, self, now, out); } -void NaxxMechanicsElect(Election& e, uint32_t /*now*/) +void NaxxMechanicsElect(Election& e, uint32_t now) { ElectRazuvious(e); ElectFaerlina(e); ElectGothikSides(e); + ElectMaexxnaSpray(e, now); + if (g_maexSpray.size() > 64) + g_maexSpray.clear(); if (g_airSpread.size() > 256) g_airSpread.clear(); } diff --git a/src/modules/PlayerbotV2/Bot/Raid/RaidMechanics_ZG.cpp b/src/modules/PlayerbotV2/Bot/Raid/RaidMechanics_ZG.cpp index b6014d57f3..bff49b2204 100644 --- a/src/modules/PlayerbotV2/Bot/Raid/RaidMechanics_ZG.cpp +++ b/src/modules/PlayerbotV2/Bot/Raid/RaidMechanics_ZG.cpp @@ -43,10 +43,6 @@ struct SiphonClock ObjectGuid puller; // the bot that pulls it }; -// The ranged openers of a pull: one shot from range makes the Son run at the shooter. -Ranks const kArcaneShot = { 3044, 14281, 14282, 14283, 14284, 14285, 14286, 14287 }; -Ranks const kFrostbolt = { 116, 205, 837, 7322, 8406, 8407, 8408, 10179, 10180, 10181, 25304 }; -Ranks const kShadowBolt = { 686, 695, 705, 1088, 1106, 7641, 11659, 11660, 11661, 25307 }; constexpr float kPullReach = 28.0f; // the puller walks to this far from the Son (inside the 30-35 y of the openers) std::unordered_map g_siphon; // by Hakkar's guid @@ -201,18 +197,6 @@ Creature* SonToPull(Plan const& plan, SiphonClock& c, Unit* hakkar, uint32_t t) return best; } -// The opener a bot pulls with (0: none it knows). Hunters first, then mages, then warlocks. -uint32_t PullSpell(Player* p, int& order) -{ - switch (p->GetClass()) - { - case CLASS_HUNTER: order = 0; return KnownRank(p, kArcaneShot); - case CLASS_MAGE: order = 1; return KnownRank(p, kFrostbolt); - case CLASS_WARLOCK: order = 2; return KnownRank(p, kShadowBolt); - default: order = 3; return 0; - } -} - } // namespace void ZgMechanicsElect(Election& e, uint32_t now) @@ -259,7 +243,7 @@ void ZgMechanicsElect(Election& e, uint32_t now) { int order = 3; return m.bot && !m.tank && !m.healer && m.p->IsAlive() && hakkar->GetVictim() != m.p && !m.p->HasAura(kCorruptedBlood) && - PullSpell(m.p, order) != 0; + RangedPullSpell(m.p, order) != 0; }; Member* puller = nullptr; for (Member& m : e.plan.members) @@ -273,7 +257,7 @@ void ZgMechanicsElect(Election& e, uint32_t now) if (!canPull(m) || e.busy.count(m.p->GetGUID().GetCounter())) continue; int order = 3; - PullSpell(m.p, order); + RangedPullSpell(m.p, order); float const yards = m.p->GetExactDist2d(son); if (!puller || order < bestOrder || (order == bestOrder && yards < bestYards)) { @@ -291,7 +275,7 @@ void ZgMechanicsElect(Election& e, uint32_t now) son->GetGUID().GetCounter(), puller->p->GetExactDist2d(son)); } int order = 3; - uint32_t const spell = PullSpell(puller->p, order); + uint32_t const spell = RangedPullSpell(puller->p, order); if (e.busy.count(puller->p->GetGUID().GetCounter()) || !Ready(puller->p, spell, son, true)) return; // walking in (ZgMechanicsMove), or out of reach or sight: the walk goes on RaidOrder* o = e.OrderOf(puller->p); diff --git a/src/modules/PlayerbotV2/Bot/Raid/RaidOrder.h b/src/modules/PlayerbotV2/Bot/Raid/RaidOrder.h index 908f2a56a5..f27dbe38de 100644 --- a/src/modules/PlayerbotV2/Bot/Raid/RaidOrder.h +++ b/src/modules/PlayerbotV2/Bot/Raid/RaidOrder.h @@ -17,7 +17,8 @@ namespace Playerbot { struct RaidOrder { - enum class CastKind : uint8_t { None, Taunt, Dispel, Purge, CrowdControl, Nuke, Disarm, StanceDance }; + // Prepare: a cast ahead of a known hit (a shield or heal over time on the tank before a stun, the tank's own Shield Wall). + enum class CastKind : uint8_t { None, Taunt, Dispel, Purge, CrowdControl, Nuke, Disarm, StanceDance, Prepare }; bool active = false; @@ -29,6 +30,9 @@ struct RaidOrder bool move = false; float move_x = 0.f, move_y = 0.f, move_z = 0.f; char const* move_reason = ""; // static string literal (log/diag only) + // The move gets the bot out of something that kills where it stands (a hazard, a cone, lava, a breath it hides from, Heigan's + // eruption): a cast under way is stopped for it. Any other move waits for the cast to end; see DispatchRaidOrder. + bool move_urgent = false; // The bot stands at its encounter role position (a Stand rule, within its tolerance): the generic in-fight formation walk and the // clump separation leave it there (each would walk it off the post, and the next brain pass walk it back). bool at_post = false; @@ -87,6 +91,9 @@ struct RaidOrder // Remove this aura from the bot (Blessing of Protection on a tank during Nefarian's paladin call). uint32_t cancel_aura = 0; + // A stun on the whole raid comes within seconds (Maexxna's Web Spray): no heal on a tank is stopped as overheal, so every heal in + // the air lands before the healers are held for 10 s. + bool keep_heals = false; // Pause the rotation (Nefarian's priest call). Movement and elected jobs still run. bool hold_rotation = false; diff --git a/src/modules/PlayerbotV2/Bot/States/Rules/AmbientRules.cpp b/src/modules/PlayerbotV2/Bot/States/Rules/AmbientRules.cpp index 1420933cc0..9b6f8d312f 100644 --- a/src/modules/PlayerbotV2/Bot/States/Rules/AmbientRules.cpp +++ b/src/modules/PlayerbotV2/Bot/States/Rules/AmbientRules.cpp @@ -53,6 +53,7 @@ #include "Config.h" #include "Bot/World/ZonePicker.h" #include "GameTime.h" +#include "WorldStateMgr.h" // idle:scourge_invasion reads the realm "zone invaded" states #include "UnitDefines.h" // UNIT_NPC_FLAG_FLIGHTMASTER / _QUESTGIVER #include @@ -1488,6 +1489,161 @@ bool GrindRoamFire(BotSnapshotView const& s, BotAI& ai, GroupSnapshotView const& return false; } +// ---------- idle:scourge_invasion ---------- +// The Scourge Invasion world event (classic_world_event_scourge_invasion.cpp, off unless Classic.ScourgeInvasion = 1 or .scourge on): +// a free level 55+ bot in a zone under attack fights the camp minions near it and, with none in reach, walks to the nearest camp +// (the event's summoning circles, the same spots on every attack), so a small server still has people at the necropolises. +// The "invaded" world states are realm wide and WorldStateMgr locks them, so the gate may read them off the world thread. +// Playerbot.World.ScourgeInvasion = 0 keeps the bots out of it. +namespace +{ +struct SiCamp { uint32 zone; uint32 map; float x, y, z; }; +constexpr SiCamp kSiCamps[] = +{ + { 618, 1, 6052.6f, -4749.6f, 785.5f }, + { 618, 1, 7939.6f, -3870.9f, 695.4f }, + { 618, 1, 7822.9f, -4220.2f, 675.5f }, + { 618, 1, 7687.9f, -3877.7f, 687.2f }, + { 618, 1, 6782.0f, -3585.6f, 712.3f }, + { 618, 1, 6742.2f, -3352.3f, 688.4f }, + { 618, 1, 6547.4f, -3482.4f, 643.6f }, + { 618, 1, 6284.7f, -4782.2f, 757.3f }, + { 618, 1, 6072.1f, -5040.1f, 789.9f }, + { 440, 1, -8833.6f, -2600.4f, 21.7f }, + { 440, 1, -7246.0f, -3543.6f, 13.6f }, + { 440, 1, -7328.9f, -3970.2f, 11.0f }, + { 440, 1, -7632.0f, -3733.0f, 20.7f }, + { 440, 1, -8169.9f, -3803.6f, 14.9f }, + { 440, 1, -8333.9f, -4203.1f, 12.3f }, + { 440, 1, -8476.2f, -3826.0f, 16.6f }, + { 440, 1, -8533.5f, -2699.7f, 21.2f }, + { 440, 1, -8534.2f, -2298.9f, 28.6f }, + { 16, 1, 3086.5f, -4215.7f, 97.7f }, + { 16, 1, 3337.5f, -4516.6f, 97.7f }, + { 16, 1, 3366.3f, -5566.3f, 11.1f }, + { 16, 1, 3516.3f, -4151.8f, 106.9f }, + { 16, 1, 3518.3f, -5712.4f, 4.8f }, + { 16, 1, 3666.5f, -5533.4f, 20.6f }, + { 4, 0, -11548.5f, -3283.3f, 7.5f }, + { 4, 0, -11420.0f, -2816.9f, 0.8f }, + { 4, 0, -11347.7f, -3150.8f, 6.8f }, + { 4, 0, -11250.5f, -3350.8f, 9.9f }, + { 4, 0, -11181.7f, -2985.4f, 8.2f }, + { 4, 0, -11016.3f, -2783.4f, 4.4f }, + { 139, 0, 1599.8f, -3039.5f, 78.7f }, + { 139, 0, 1804.4f, -2842.5f, 72.9f }, + { 139, 0, 1938.6f, -4761.2f, 97.1f }, + { 139, 0, 1957.1f, -3101.7f, 83.6f }, + { 139, 0, 1963.3f, -5125.1f, 78.7f }, + { 139, 0, 2315.2f, -4933.1f, 83.0f }, + { 46, 0, -8399.8f, -1246.0f, 202.7f }, + { 46, 0, -8371.1f, -963.3f, 191.0f }, + { 46, 0, -8032.0f, -981.6f, 122.6f }, + { 46, 0, -7981.9f, -2433.3f, 129.8f }, + { 46, 0, -7732.9f, -2232.8f, 135.0f }, + { 46, 0, -7603.6f, -2596.4f, 135.7f }, +}; + +int32 SiInvadedWorldState(uint32 zoneId) +{ + switch (zoneId) + { + case 618: return 2259; // Winterspring + case 16: return 2260; // Azshara + case 4: return 2261; // Blasted Lands + case 46: return 2262; // Burning Steppes + case 440: return 2263; // Tanaris + case 139: return 2264; // Eastern Plaguelands + default: return 0; + } +} + +bool SiIsMinion(uint32 entry) +{ + switch (entry) + { + case 16141: case 16298: case 16299: // Ghoul Berserker, Spectral Soldier, Skeletal Shocktrooper + case 14697: case 16379: case 16380: // the rares (left to players by ShareMobs::LeaveElite when elite) + case 16230: // Cultist Engineer + return true; + default: + return false; + } +} + +bool SiBotsJoin() +{ + static bool const join = sConfigMgr->GetBoolDefault("Playerbot.World.ScourgeInvasion", true, true); + return join; +} + +bool SiZoneInvaded(uint32 zoneId) +{ + int32 const ws = SiInvadedWorldState(zoneId); + return ws && WorldStateMgr::GetValue(ws, nullptr) > 0; +} +} + +bool ScourgeInvasionGate(BotSnapshotView const& s, BotAI&, GroupSnapshotView const&, uint32) +{ + if (!s.is_free_world_bot() || s.level() < 55) return false; + if (!s.is_alive() || s.in_combat() || s.is_casting() || s.hp_pct() < 70) return false; + if (s.is_in_instance() || s.is_in_dungeon() || s.in_battleground()) return false; + if (V2::Parties::Following(s)) return false; + if (!SiBotsJoin() || !SiZoneInvaded(s.zone_id())) return false; + return true; +} + +bool ScourgeInvasionFire(BotSnapshotView const& s, BotAI& ai, GroupSnapshotView const&, BotIntentEmitter& emit, uint32) +{ + float bx, by, bz; + s.position(bx, by, bz); + + // a minion or cultist in reach: fight it + NearbyUnit const* best = nullptr; + float bestDist = 50.0f; + for (auto const& u : s.nearby_enemies()) + { + if (!u.guid.IsCreature() || !SiIsMinion(u.entry) || u.hp <= 0 || u.untargetable || u.is_pacified) continue; + if (u.victim != ObjectGuid::Empty && u.victim != s.guid()) continue; // someone else's fight + if (V2::ShareMobs::LeaveMob(s, u) || V2::ShareMobs::LeaveElite(s, u)) continue; + float const d = std::hypot(u.x - bx, u.y - by); + if (d < bestDist) { bestDist = d; best = &u; } + } + if (best) + { + if (s.raw().movement.is_mounted) + emit.dismount(); + if (emit.start_attack(best->guid)) + { + ai.set_last_rule_fired("idle:scourge_invasion"); + return true; + } + return false; + } + + // none: to the nearest camp of this zone + SiCamp const* camp = nullptr; + float campDist = 700.0f; + for (SiCamp const& c : kSiCamps) + { + if (c.zone != s.zone_id() || c.map != s.map_id()) continue; + float const d = std::hypot(c.x - bx, c.y - by); + if (d < campDist) { campDist = d; camp = &c; } + } + if (!camp || campDist <= 25.0f) + return false; // at the camp: the engage rule and the wander do the rest + + uint32 const now = s.published_at_ms(); + if (s.is_moving() || emit.move_to(camp->x, camp->y, camp->z) || emit.move_already_emitted(camp->x, camp->y, camp->z) + || States::ChunkedWalkToward(s, ai, emit, camp->x, camp->y, camp->z, "idle:scourge_invasion", now)) + { + ai.set_last_rule_fired("idle:scourge_invasion"); + return true; + } + return false; +} + // ---------- idle:campfire ---------- // Outdoors at night, a few bots that stand still light a campfire (Basic Campfire, 818); the usual ambient sit does the rest. bool CampfireGate(BotSnapshotView const& s, BotAI& ai, GroupSnapshotView const&, uint32) @@ -2084,6 +2240,14 @@ void RegisterAmbientRules(IdleRuleRegistry& r) rule.fire = &GrindRoamFire; r.register_rule(std::move(rule)); } + { + IdleRule rule; + rule.name = "idle:scourge_invasion"; + rule.priority = 57; // above grind_roam (55) and party_follow's 56: a zone under attack is where a free bot goes + rule.gate = &ScourgeInvasionGate; + rule.fire = &ScourgeInvasionFire; + r.register_rule(std::move(rule)); + } { IdleRule rule; rule.name = "idle:gate_challenge"; diff --git a/src/modules/PlayerbotV2/Bot/States/Rules/ClassicUpkeepRules.cpp b/src/modules/PlayerbotV2/Bot/States/Rules/ClassicUpkeepRules.cpp index 6f8f385d7b..10676dc91e 100644 --- a/src/modules/PlayerbotV2/Bot/States/Rules/ClassicUpkeepRules.cpp +++ b/src/modules/PlayerbotV2/Bot/States/Rules/ClassicUpkeepRules.cpp @@ -42,6 +42,8 @@ #include "Bot/ResistGear.h" #include "Services.h" #include "SharedDefines.h" +#include "SpellInfo.h" +#include "SpellMgr.h" #include "Util/ConfigReader.h" #include @@ -205,8 +207,21 @@ bool BlessingsFire(BotSnapshotView const& s, BotAI& ai, GroupSnapshotView const& if (m.guid == b.target) for (AuraEntry const& a : m.buffs) seen += fmt::format("{}{}:{}s", seen.empty() ? "" : " ", a.spell_id, a.remaining.count() / 1000); - TC_LOG_INFO("playerbot.v2", "[raid_support] {} casts spell {} on {} (key {:x}): target's tracked buffs [{}]", s.name(), b.spell, - b.target.GetCounter(), b.key, seen); + // A raid's paladin that blesses member by member takes a minute over forty (naxx22 1116: two paladins still owed blessings + // 50-84 s past the attack order on three bosses). What keeps it off the Greater Blessings: its Symbols of Kings, whether it + // knows Greater Might / Wisdom / Kings, and whether this server's Greater Might applies anything (GreaterBlessingWorks). + std::string greater; + if (g.is_raid() && (b.key >> 48) == 2) + { + bool might_works = false; + if (SpellInfo const* si = sSpellMgr->GetSpellInfo(25782, DIFFICULTY_NONE)) + for (SpellEffectInfo const& eff : si->GetEffects()) + might_works = might_works || eff.Effect != SPELL_EFFECT_NONE; + greater = fmt::format("; one by one: Symbol of Kings {}, knows Greater Might {} Wisdom {} Kings {}, Greater Might applies {}", + s.item_count(21177), s.knows_spell(25782), s.knows_spell(25894), s.knows_spell(25898), might_works); + } + TC_LOG_INFO("playerbot.v2", "[raid_support] {} casts spell {} on {} (key {:x}): target's tracked buffs [{}]{}", s.name(), b.spell, + b.target.GetCounter(), b.key, seen, greater); } } Classic::NoteRaidSupport(Classic::RaidSupportKind::Blessing); diff --git a/src/modules/PlayerbotV2/Bot/States/State_Idle.cpp b/src/modules/PlayerbotV2/Bot/States/State_Idle.cpp index a70f0d2c01..5ade226da3 100644 --- a/src/modules/PlayerbotV2/Bot/States/State_Idle.cpp +++ b/src/modules/PlayerbotV2/Bot/States/State_Idle.cpp @@ -835,19 +835,16 @@ bool MaintainAutoEquipUpgrades(BotSnapshotView const& s, BotAI& ai, for (auto const& it : raw.inventory.bag_items) { if (it.equip_slot == 0xFF) continue; - // Shield-tank weapon + offhand are owned EXCLUSIVELY by - // EnsureShieldTankWeapon (gear-backfill 1H+shield enforcer). A 2H scores - // higher than the 1H it equips, so letting this score-based rule manage - // those slots re-equips the displaced 2H and evicts the shield — an - // endless 2H<->1H+shield churn (live 2026-06-28). Prot War (73) / Prot - // Pala (66) only; 2H tanks (Blood DK / Guardian Druid) keep their weapon. - if ((s.spec() == 73 || s.spec() == 66) && - (it.equip_slot == EQUIPMENT_SLOT_MAINHAND || - it.equip_slot == EQUIPMENT_SLOT_OFFHAND)) - continue; + // Shield tank (Prot War 73 / Prot Pala 66): a two-hander or an off-hand + // weapon would evict the shield and EnsureShieldTankWeapon swaps back, an + // endless 2H<->1H+shield churn (live 2026-06-28). Those stay in the bags; + // a better one-hander or shield goes on (11-17: a tank given weapons and + // shields wore none of them). Never a fishing pole (Gear::AutoEquipSlot). + uint8 const dst = ::Playerbot::V2::Gear::AutoEquipSlot(uint16(s.spec()), it.equip_slot, it.entry); + if (dst == 0xFF) continue; // Defense-in-depth: builder clamps equip_slot to <19, but indexing // equipped[19+] is UB (bag slots are 30-33) — never walk past it. - if (it.equip_slot >= raw.inventory.equipped.size()) continue; + if (dst >= raw.inventory.equipped.size()) continue; if (it.item_level == 0) continue; if (it.quality == 0) continue; // Per-entry retry throttle (shared with idle:equip_upgrade). When the @@ -861,10 +858,12 @@ bool MaintainAutoEquipUpgrades(BotSnapshotView const& s, BotAI& ai, // and the rule goes quiet until the next ding / periodic re-check. if (ai.equip_recently_tried(it.entry, equip_now_ms)) continue; // The raid swap pieces (resistance gear, the Onyxia Scale Cloak) stay on while they are wanted. - EquippedItem const& cur = raw.inventory.equipped[it.equip_slot]; - if (ai.gear_slot_held(it.equip_slot, s.map_id(), cur.entry)) continue; + EquippedItem const& cur = raw.inventory.equipped[dst]; + if (ai.gear_slot_held(dst, s.map_id(), cur.entry)) continue; // A piece a player chose for the bot (trade or "equip ") stays on. - if (ai.worn_is_kept(it.equip_slot, cur.entry)) continue; + if (ai.worn_is_kept(dst, cur.entry)) continue; + // A worn fishing pole is no weapon: any weapon replaces it. + uint32 const cur_entry = ::Playerbot::V2::Gear::IsFishingPole(cur.entry) ? 0u : cur.entry; // Score-based upgrade test (was pure item_level). 12.0 level-scaling // floors low-level whites AND quest greens to the same effective ilvl, // so `it.item_level <= cur.item_level` tied and refused real upgrades — @@ -875,16 +874,16 @@ bool MaintainAutoEquipUpgrades(BotSnapshotView const& s, BotAI& ai, if (::Playerbot::V2::Gear::RaidGearActive(raw.identity.level)) { auto const& eq = raw.inventory.equipped; - if (!::Playerbot::V2::Gear::RaidEquipUpgrade(raw.identity.cls, uint16(raw.identity.spec), raw.identity.level, it.equip_slot, it.entry, - cur.entry, eq[EQUIPMENT_SLOT_MAINHAND].entry, eq[EQUIPMENT_SLOT_OFFHAND].entry, + if (!::Playerbot::V2::Gear::RaidEquipUpgrade(raw.identity.cls, uint16(raw.identity.spec), raw.identity.level, dst, it.entry, + cur_entry, eq[EQUIPMENT_SLOT_MAINHAND].entry, eq[EQUIPMENT_SLOT_OFFHAND].entry, raw.owner_guid.IsEmpty(), raw.guid.GetCounter())) continue; } - else if (cur.entry != 0 && + else if (cur_entry != 0 && EquipFitScore(it.stats, it.item_level, raw.stat_weights) <= EquipFitScore(cur.stats, cur.item_level, raw.stat_weights)) continue; - emit.equip_item(it.bag, it.slot, it.equip_slot); + emit.equip_item(it.bag, it.slot, dst); ai.note_equip_try(it.entry, equip_now_ms); return true; // one per tick; next snapshot drains the next slot } @@ -2925,13 +2924,20 @@ static bool RaidRangedStandRejected(BotSnapshotView const& s, GroupSnapshotView if (RaidPointBlocked(s, px, py, pz, kHazardMargin)) return true; float fd2 = 0.f, ffx = 0.f, ffy = 0.f; if (FrontArcBossAt(s, g, px, py, fd2, ffx, ffy)) return true; + // The encounter's own cone (Raid::RaidRules::avoidFrontal) as well as the generic 20 y guess: naxx_sapphiron r26, the formation slot + // for a healer was (3519.6,-5228.0), 8 y in front of Sapphiron, inside his 30 y front half where Cleave chains; 23 raiders died to + // Cleave, most of them walking to or from such slots. + if (InRuledFrontalCone(s, px, py)) return true; + // Measured from the elite's edge, not its centre: a big one (Sapphiron, combat reach 10+ y) swings at a point that is + // kRaidRangedTooClose from its centre. constexpr float kElite = kRaidRangedTooClose + kRaidStandElitePad; for (auto const& u : s.raw().combat.nearby_enemies) { if (u.hp <= 0 || u.is_player || u.untargetable || !u.unit_in_combat) continue; if (!u.is_elite_or_rare && !Classic::IsBossUnit(u)) continue; const float ex = u.x - px, ey = u.y - py, ez = u.z - pz; - if (ex * ex + ey * ey + ez * ez < kElite * kElite) return true; + const float keep = kElite + u.combat_reach; + if (ex * ex + ey * ey + ez * ez < keep * keep) return true; } return UnpulledPackReaching(s, nullptr, px, py, pz, 0.0f, /*need_los=*/false, nullptr, now_ms) != nullptr; } @@ -12931,43 +12937,38 @@ bool DungeonDispatch(BotSnapshotView const& s, BotAI& ai, for (auto const& bi : eq_raw.inventory.bag_items) { if (bi.equip_slot == 0xFF) continue; - // Shield-tank weapon + offhand are owned EXCLUSIVELY by - // EnsureShieldTankWeapon (the gear-backfill 1H+shield enforcer). - // The score-based auto-equip must never touch those two slots - // for a Prot Warrior (73) / Prot Paladin (66): the 2H that - // EnsureShieldTankWeapon displaces into the bag scores HIGHER - // than the 1H it just equipped, so this rule would re-equip the - // 2H, evict the shield, and the next backfill swaps back — - // an infinite 2H<->1H+shield churn that leaves the tank - // shield-less mid-pull (live 2026-06-28, Deadmines harbor). 2H - // tanks (Blood DK / Guardian Druid) are NOT spec 73/66 and keep - // their weapon. - if ((s.spec() == 73 || s.spec() == 66) && - (bi.equip_slot == EQUIPMENT_SLOT_MAINHAND || - bi.equip_slot == EQUIPMENT_SLOT_OFFHAND)) - continue; - if (bi.equip_slot >= eq_raw.inventory.equipped.size()) continue; + // Shield tank (Prot War 73 / Prot Pala 66): a two-hander or an + // off-hand weapon would evict the shield and EnsureShieldTankWeapon + // swaps back, an infinite 2H<->1H+shield churn that left the tank + // shield-less mid-pull (live 2026-06-28, Deadmines harbor). Those + // stay in the bags; a better one-hander or shield goes on. 2H tanks + // (Blood DK / Guardian Druid) are not spec 73/66 and keep their + // weapon. Never a fishing pole (Gear::AutoEquipSlot). + uint8 const dst = ::Playerbot::V2::Gear::AutoEquipSlot(uint16(s.spec()), bi.equip_slot, bi.entry); + if (dst == 0xFF) continue; + if (dst >= eq_raw.inventory.equipped.size()) continue; if (bi.item_level == 0 || bi.quality == 0) continue; if (ai.equip_recently_tried(bi.entry, now_ms)) continue; // The raid swap pieces (resistance gear, the Onyxia Scale Cloak) stay on while they are wanted: this rule put // the own cloak back on in Blackwing Lair within seconds of the swap (dev realm 2026-11-13). - EquippedItem const& cur_eq = eq_raw.inventory.equipped[bi.equip_slot]; - if (ai.gear_slot_held(bi.equip_slot, s.map_id(), cur_eq.entry)) continue; - if (ai.worn_is_kept(bi.equip_slot, cur_eq.entry)) continue; + EquippedItem const& cur_eq = eq_raw.inventory.equipped[dst]; + if (ai.gear_slot_held(dst, s.map_id(), cur_eq.entry)) continue; + if (ai.worn_is_kept(dst, cur_eq.entry)) continue; + uint32 const cur_entry = ::Playerbot::V2::Gear::IsFishingPole(cur_eq.entry) ? 0u : cur_eq.entry; // no weapon if (::Playerbot::V2::Gear::RaidGearActive(eq_raw.identity.level)) { auto const& eq = eq_raw.inventory.equipped; if (!::Playerbot::V2::Gear::RaidEquipUpgrade(eq_raw.identity.cls, uint16(eq_raw.identity.spec), eq_raw.identity.level, - bi.equip_slot, bi.entry, cur_eq.entry, eq[EQUIPMENT_SLOT_MAINHAND].entry, + dst, bi.entry, cur_entry, eq[EQUIPMENT_SLOT_MAINHAND].entry, eq[EQUIPMENT_SLOT_OFFHAND].entry, eq_raw.owner_guid.IsEmpty(), eq_raw.guid.GetCounter())) continue; } - else if (cur_eq.entry != 0 && + else if (cur_entry != 0 && EquipFitScore(bi.stats, bi.item_level, eq_raw.stat_weights) <= EquipFitScore(cur_eq.stats, cur_eq.item_level, eq_raw.stat_weights)) continue; - emit.equip_item(bi.bag, bi.slot, bi.equip_slot); + emit.equip_item(bi.bag, bi.slot, dst); ai.note_equip_try(bi.entry, now_ms); ai.set_last_rule_fired("idle:dungeon_auto_equip"); return true; diff --git a/src/modules/PlayerbotV2/Bot/States/State_InCombat.cpp b/src/modules/PlayerbotV2/Bot/States/State_InCombat.cpp index bfff11b534..b5a12dabfa 100644 --- a/src/modules/PlayerbotV2/Bot/States/State_InCombat.cpp +++ b/src/modules/PlayerbotV2/Bot/States/State_InCombat.cpp @@ -1241,7 +1241,7 @@ bool RangedMeleedDefense(BotAI& ai, BotSnapshotView const& s, GroupSnapshotView return true; } -// Raid overheal cancel - the "stopcast" technique (Karrz's ike3 healers stop a +// Group overheal cancel - the "stopcast" technique (Karrz's ike3 healers stop a // heal whose target got topped up meanwhile). Direct single-target heals // only: no channel, no Chain Heal, no party / area heal (Prayer of Healing's // cast target is the priest itself). Mana is spent when a cast completes, so @@ -1256,12 +1256,13 @@ bool RangedMeleedDefense(BotAI& ai, BotSnapshotView const& s, GroupSnapshotView // freed at once). After a cancel the rotation leaves that patient alone for // ClassicHeal::kCancelLockoutMs (an emergency excepted) and the tank pre-heal // waits as long, so a cancelled cast is not restarted at once; at most one -// cancel per 1.5 s. +// cancel per 1.5 s. Every group, not only raids: a 5-man or a player's party gets the same stop (dumpins, leenergetic, Discord +// 2026-11-17: a paladin's 2.5 s Holy Light started on a hurt player landed after the player was topped up and "healed You 1"). bool CancelOverheal(BotAI& ai, BotSnapshotView const& s, GroupSnapshotView const& g, BotIntentEmitter& emit) { constexpr int64 kWindowMinMs = 200; constexpr int64 kWindowMaxMs = 600; - if (!s.is_casting() || !s.is_in_raid() || s.in_battleground() || !g.exists()) return false; + if (!s.is_casting() || s.in_battleground() || !g.exists()) return false; const int64 rem = s.current_cast_remaining().count(); if (rem < kWindowMinMs) return false; // lands before a stop would reach the server const ObjectGuid tgt = s.current_cast_target(); @@ -1276,11 +1277,23 @@ bool CancelOverheal(BotAI& ai, BotSnapshotView const& s, GroupSnapshotView const Combat::ClassicHeal::Patient const p = Combat::ClassicHeal::PatientFor(s, g, tgt); if (!p.valid || p.max_hp <= 0 || p.hp <= 0) return false; const int64 deficit = p.max_hp - p.hp; + // The raid is about to be stunned (RaidOrder::keep_heals): a heal on a tank lands, full or not. naxx_maexxna r24h: three heals on her + // tank were stopped at 100% 3 s before Web Spray, the tank stood at 73% when the stun began and died to her swings 7 s into it. + if (p.tank && s.raw().raid_order.active && s.raw().raid_order.keep_heals) + return false; const bool final_window = rem <= kWindowMaxMs; // A tank is never stopped early: it is full for a moment between a boss's hits, and a heal let run lands into the next one // (naxx_patchwerk 1115h: four "already full" cancels on one tank with 0.7-2.1 s left, each followed by a lockout on that tank, // while Hateful Strike and his swings took it from 100% to 79% and lower again within the second). - const bool cancel = final_window ? (p.actual_pct >= 95 || float(deficit) < amount * 0.30f) + // A patient taking spikes (the largest recent hit, GroupMemberSummary::damage_spike) is not stopped while the next such hit would leave + // the heal useful: Hateful Strike lands 9-11.7k on a 10.9k soaker, and 57 stopcasts on soakers at 95%+ came just before the next + // strike (naxx_patchwerk 1116 rerun). + int64 spike = 0; + if (auto const* mems = g.members()) + for (GroupMemberSummary const& m : *mems) + if (m.guid == tgt) { spike = m.damage_spike; break; } + const bool spiking = spike > 0 && float(deficit + spike) >= amount * 0.30f; + const bool cancel = final_window ? (!spiking && (p.actual_pct >= 95 || float(deficit) < amount * 0.30f)) : (!p.tank && deficit <= 0 && p.incoming <= 0); if (!cancel) return false; const uint32 now = s.published_at_ms(); @@ -2255,6 +2268,21 @@ bool MeleeSpreadSpot(BotSnapshotView const& s, GroupSnapshotView const& g, Nearb } // Inside melee reach (reach + ours + 4/3, never under 5): outer rim, jittered 0.5-2 y inward. const float outer = std::clamp(v.combat_reach + 2.5f, 3.0f, 6.0f); + // In a raid the arc's back is the side away from the victim's own target (its tank), not its facing: a boss turns to every spell + // target (Patchwerk to each Hateful Strike soaker, every 1.2 s; Gluth to each chow he eats), and the arc turned with him, so every melee + // bot was more than 2 y off its slot again at each 3 s check (naxx_patchwerk 1116 run 5/6: rogues and the retribution paladin moving + // 74-96 s of 246 within his reach, all of it point moves; run 6 on Gluth: 79-90 s of 300). The tank stands still, so the slots do too. + float front = v.o; + if (s.is_in_raid() && !v.victim.IsEmpty() && v.victim != s.guid()) + if (auto const* mems = g.members()) + for (auto const& m : *mems) + if (m.guid == v.victim && m.is_alive && m.map_id == s.map_id()) + { + float const dx = m.x - v.x, dy = m.y - v.y; + if (dx * dx + dy * dy > 0.25f) + front = std::atan2(dy, dx); + break; + } for (uint32 i = 0; i < 4; ++i) { const uint32 rank = (k + i * 3) % n; // a blocked slot tries the one three along @@ -2262,7 +2290,7 @@ bool MeleeSpreadSpot(BotSnapshotView const& s, GroupSnapshotView const& g, Nearb // Raid (playtest 2026-10-12): melee stack on the boss's back, nearly on top of each other, unless a boss rule spreads them. A 70 degree // arc instead of the 160 degree one of a dungeon pack. if (s.is_in_raid()) - MeleeArcSpot(s.guid().GetCounter(), rank, n, v.x, v.y, v.o, 1.0f, outer, x, y, 1.2217f); + MeleeArcSpot(s.guid().GetCounter(), rank, n, v.x, v.y, front, 1.0f, outer, x, y, 1.2217f); else MeleeArcSpot(s.guid().GetCounter(), rank, n, v.x, v.y, v.o, 1.0f, outer, x, y); if (RaidStandPointBlocked(s, x, y, v.z)) continue; @@ -2396,8 +2424,10 @@ static bool GroupFightPick(BotAI& ai, BotSnapshotView const& s, GroupSnapshotVie return false; why = cands[pick].on_non_tank ? "loose on a member" : cands[pick].mob.leader_ordered ? "leader's order" : cands[pick].mob.leader_target ? "leader's target" : "on a member"; - // Keep a mob it already holds unless one is loose on a member; switch at most every 2 s. - if (cur_ok && (!cands[pick].on_non_tank || cands[cur_idx].on_non_tank)) + // Keep a mob it already holds unless one is loose on a member, or the leader's own target is loose and the held one is not + // it; switch at most every 2 s. + bool const to_leader_target = cur_ok && cands[pick].on_non_tank && cands[pick].mob.leader_target && !cands[cur_idx].mob.leader_target; + if (cur_ok && !to_leader_target && (!cands[pick].on_non_tank || cands[cur_idx].on_non_tank)) return false; } else @@ -2411,9 +2441,11 @@ static bool GroupFightPick(BotAI& ai, BotSnapshotView const& s, GroupSnapshotVie if (pick == GroupFight::kNone) return false; GroupFight::Candidate const& m = cands[pick].mob; - why = m.leader_ordered ? "leader's order" : m.priority_add ? "priority add" : m.tank_target ? "tank's target" - : m.leader_target ? "leader's target" : m.on_me ? "on me" : "on a member"; - if (cur_ok && !m.leader_ordered) + why = m.leader_ordered ? "leader's order" : m.priority_add ? "priority add" : m.leader_target ? "leader's target" + : m.tank_target ? "tank's target" : m.on_me ? "on me" : "on a member"; + // A live victim of the fight is kept unless the leader names another or turns to another mob himself: his target is the + // group's kill target (Saul, #bot-feedback 2026-11-17: the bots fought every mob on a member but the player's). + if (cur_ok && !m.leader_ordered && !(m.leader_target && !cands[cur_idx].mob.leader_target)) return false; } if (units[pick]->guid == cur) diff --git a/src/modules/PlayerbotV2/Bot/States/State_InGroup.cpp b/src/modules/PlayerbotV2/Bot/States/State_InGroup.cpp index a76915d9c3..b555acb8dd 100644 --- a/src/modules/PlayerbotV2/Bot/States/State_InGroup.cpp +++ b/src/modules/PlayerbotV2/Bot/States/State_InGroup.cpp @@ -608,6 +608,15 @@ void DispatchInGroup(BotAI& ai, DungeonHonorCross(snapshot, ai, emit, snapshot.published_at_ms())) return; + // A raid pre-pull spot (Thaddius' platforms, Gothik's sides, Patchwerk's posts) is the raid brain's: idle:raid_prepull walks the + // bot there and holds it until the pull, and the brain drops the order once the boss fights. The cohesion moves below (rejoin the + // tank past 40 y, converge, formation, follow) would walk it off its spot each tick and the hold back again. naxx_thaddius r25: + // once the attack was ordered the whole Feugen side walked to 40 y of the main tank on Stalagg's platform, stood on the ramp + // between them (ingroup:dungeon_rejoin_tank / idle:raid_prepull in turn), and the run timed out unpulled. + if (auto const& ro = snapshot.raw().raid_order; ro.active && ro.prepull && (ro.move || ro.cast_spell) && snapshot.is_alive() && + !snapshot.in_combat()) + return; + // Anchor selection: // * Healer (always): stick to the tank. Being out of range to heal // is the most common cause of group wipes from bot positioning. diff --git a/src/modules/PlayerbotV2/Bot/ThreatDiscipline.h b/src/modules/PlayerbotV2/Bot/ThreatDiscipline.h index 5a1a3dd02f..16a6137a59 100644 --- a/src/modules/PlayerbotV2/Bot/ThreatDiscipline.h +++ b/src/modules/PlayerbotV2/Bot/ThreatDiscipline.h @@ -111,7 +111,7 @@ inline bool TankNotSecured(BotSnapshotView const& s, NearbyUnit const& u) return u.my_threat >= u.tank_threat * ratio; } -enum class AoeHazardKind : uint8 { None, CrowdControlled, Unpulled, NotTanked, SchoolAvoided }; +enum class AoeHazardKind : uint8 { None, CrowdControlled, Unpulled, NotTanked, SchoolAvoided, OtherTanksBoss }; inline char const* AoeHazardName(AoeHazardKind k) { @@ -121,6 +121,7 @@ inline char const* AoeHazardName(AoeHazardKind k) case AoeHazardKind::Unpulled: return "unpulled"; case AoeHazardKind::NotTanked: return "not_tanked"; case AoeHazardKind::SchoolAvoided: return "school_avoided"; + case AoeHazardKind::OtherTanksBoss: return "other_tanks_boss"; default: return "none"; } } @@ -131,11 +132,24 @@ struct AoeHazard AoeHazardKind kind = AoeHazardKind::None; }; +// A raid boss another tank holds, which this tank is not fighting itself: a tank's AoE that reaches it puts the tank's threat on the boss +// (Thunder Clap, Demoralizing Shout and Cleave carry extra threat in Defensive Stance), and a boss turns to whoever passes 110% of its +// tank's threat. naxx_grobbulus r24: the off tanks held the Fallout Slimes beside him, he went from his main tank to an off tank at 57 s +// and again at 87 s, and the Slime Spray of the new facing put 7 slimes on the tanks at once; the slimes then killed the raid. A tank +// whose own target is the boss (Patchwerk's soakers) hits him anyway, so its AoE is no hazard there. +inline bool OtherTanksBoss(BotSnapshotView const& s, NearbyUnit const& u) +{ + return s.is_in_raid() && (u.is_dungeon_boss || u.is_boss_rank) && u.unit_in_combat && !u.victim.IsEmpty() && u.victim != s.guid() && + u.guid != s.victim() && ThreatVictim(u.victim_kind) == ThreatVictim::Tank; +} + // First enemy within `radius` of (cx, cy, cz) an AoE must not hit. // * crowd-controlled (any caster), when the AoE deals damage; // * in a tanked group: a mob nobody has engaged yet (the AoE would pull it); // * for a non-tank in a tanked group: a mob a tank is holding but has not // secured yet (TankNotSecured). +// * for a tank in a raid: a boss another tank holds that this tank is not +// fighting itself (OtherTanksBoss). // * school_spell != 0: a mob whose raid school hint (PveOrder::SchoolHint) // reflects that spell's school (an Anubisath Sentinel), in or out of a group. // A mob merely immune to it or resisting it is no hazard: the area spell @@ -184,6 +198,8 @@ inline AoeHazard FindAoeHazard(BotSnapshotView const& s, float cx, float cy, flo // Raid only: a party's AoE is not held for the tank's lead (the Unpulled and CC guards above still apply). if (tanked && s.is_in_raid() && !me_tank && ThreatVictim(u.victim_kind) == ThreatVictim::Tank && TankNotSecured(s, u)) { hit = { &u, AoeHazardKind::NotTanked }; return false; } + if (tanked && me_tank && OtherTanksBoss(s, u)) + { hit = { &u, AoeHazardKind::OtherTanksBoss }; return false; } return false; }; for (NearbyUnit const& u : s.attackers()) @@ -218,7 +234,8 @@ inline bool AoeSafeAroundSelf(BotSnapshotView const& s, float radius, bool damag // Melee AoE (warrior Cleave, Whirlwind) in a raid group: only two of // FindAoeHazard's vetoes apply - a crowd-controlled mob within `radius` (the // swing breaks the CC) and, for a non-tank, a tank-held mob the tank has not -// secured yet against this bot. A mob nobody pulled is not one: a melee AoE +// secured yet against this bot, and for a tank a boss another tank holds that +// this tank is not fighting (OtherTanksBoss). A mob nobody pulled is not one: a melee AoE // reaches a few yards and the bot is already in the pack. Outside raid // groups (and in battlegrounds) the rotation's own conditions apply unchanged. inline bool MeleeAoeSafe(BotSnapshotView const& s, bool raid_group, float radius, bool caster_is_tank, char const* what) @@ -239,6 +256,7 @@ inline bool MeleeAoeSafe(BotSnapshotView const& s, bool raid_group, float radius if (tanked && !me_tank && u.has_threat_list && u.unit_in_combat && ThreatVictim(u.victim_kind) == ThreatVictim::Tank && TankNotSecured(s, u)) { hit = &u; kind = AoeHazardKind::NotTanked; return true; } + if (tanked && me_tank && OtherTanksBoss(s, u)) { hit = &u; kind = AoeHazardKind::OtherTanksBoss; return true; } return false; }; bool found = false; diff --git a/src/modules/PlayerbotV2/Bot/World/GrindSpot.h b/src/modules/PlayerbotV2/Bot/World/GrindSpot.h index f327580756..aa944d8021 100644 --- a/src/modules/PlayerbotV2/Bot/World/GrindSpot.h +++ b/src/modules/PlayerbotV2/Bot/World/GrindSpot.h @@ -6,6 +6,7 @@ #pragma once #include +#include #include #include #include @@ -77,4 +78,30 @@ inline int PickGrindSpot(std::vector const& spots, std::uint32_t map, return ok.empty() ? -1 : ok[seed % ok.size()]; } +// Mob supply (Playerbot.World.MobsPerBot): the ordinary hostile mobs in the camps of a level (within kGrindLevelSpread of the camp's +// average) within `radius` of (x, y). The world bots around a player all level on these, so they set how many bots a place can feed. +inline std::uint32_t MobSupplyNear(std::vector const& spots, std::uint32_t map, float x, float y, std::uint32_t level, float radius) +{ + std::uint32_t mobs = 0; + for (GrindSpot const& g : spots) + { + if (g.map != map) continue; + std::uint32_t const gap = g.level > level ? g.level - level : level - g.level; + if (gap > kGrindLevelSpread) continue; + if (std::hypot(g.x - x, g.y - y) > radius) continue; + mobs += g.mobs; + } + return mobs; +} + +// How many world bots `mobs` feed: one per `mobs_per_bot`, never fewer than `floor` (a place with few camps still looks lived in; +// those bots quest, travel and visit towns too). mobs_per_bot 0 = no supply cap. Eastern Plaguelands 2026-11-16 (Karrz): the zone +// number of bots around one player left nothing alive. A bot kills a mob of its level about every 40 s with rest, so on a 5 minute +// respawn about 7 spawns feed one bot; the default 10 leaves the rest for the players. +inline std::uint32_t SupplyBotCap(std::uint32_t mobs, std::uint32_t mobs_per_bot, std::uint32_t floor) +{ + if (!mobs_per_bot) return UINT32_MAX; + return std::max(floor, mobs / mobs_per_bot); +} + } // namespace Playerbot::V2::World diff --git a/src/modules/PlayerbotV2/Bot/World/ZonePicker.cpp b/src/modules/PlayerbotV2/Bot/World/ZonePicker.cpp index 2dd4fc7195..fd15a58ae6 100644 --- a/src/modules/PlayerbotV2/Bot/World/ZonePicker.cpp +++ b/src/modules/PlayerbotV2/Bot/World/ZonePicker.cpp @@ -609,6 +609,11 @@ bool FindGrindSpotNear(bool alliance, uint32 map, float x, float y, uint32 level return true; } +uint32 GrindMobsNear(bool alliance, uint32 map, float x, float y, uint32 level, float radius) +{ + return MobSupplyNear(GrindSpotsFor(alliance), map, x, y, level, radius); +} + DestinationPick SpreadWithinZone(DestinationPick d, uint8 level, bool alliance, uint64 seed, bool allow_grind) { Map* const map = sMapMgr->FindMap(d.map_id, 0); diff --git a/src/modules/PlayerbotV2/Bot/World/ZonePicker.h b/src/modules/PlayerbotV2/Bot/World/ZonePicker.h index 068f25a78e..c9fcb0645a 100644 --- a/src/modules/PlayerbotV2/Bot/World/ZonePicker.h +++ b/src/modules/PlayerbotV2/Bot/World/ZonePicker.h @@ -75,4 +75,7 @@ DestinationPick SpreadWithinZone(DestinationPick d, uint8 level, bool alliance, // over the spots. False when none is in reach. bool FindGrindSpotNear(bool alliance, uint32 map, float x, float y, uint32 level, uint64 seed, float max_yards, float& ox, float& oy, float& oz); +// The ordinary hostile mobs of `level`'s camps on `map` within `radius` of (x, y), for a bot of that side (GrindSpot.h MobSupplyNear). +uint32 GrindMobsNear(bool alliance, uint32 map, float x, float y, uint32 level, float radius); + } // namespace Playerbot::V2::World diff --git a/src/modules/PlayerbotV2/Combat/Apl/ApClassicHeal.h b/src/modules/PlayerbotV2/Combat/Apl/ApClassicHeal.h index 549943657d..b199b66d18 100644 --- a/src/modules/PlayerbotV2/Combat/Apl/ApClassicHeal.h +++ b/src/modules/PlayerbotV2/Combat/Apl/ApClassicHeal.h @@ -362,6 +362,9 @@ inline float RankHeal(SpellInfo const* si, uint32 level); // Healing-taken multiplier of a group member from its debuffs (Gehennas' Curse, Mortal Strike, Wound Poison, Veil of Shadow ...), // read from the spells' MOD_HEALING_PCT effects, floored at 0.1. 1.0 = no reduction. Under -75% every heal lands a quarter: the // in-flight cover and the rank choice must count that, or the healers see a tank as "covered" and leave it to die. +// A stacking debuff counts once per stack, as the core applies it (the aura amount is the base points times the stacks): Gluth's +// Mortal Wound is -10% a stack, -50% at the five stacks of a tank swap, and counted once it read -10%, so the heals in flight looked +// almost twice what landed (naxx_gluth 1115 threat run: 2-4 of 12 healers casting while his tank sat at 57-76%, every tank dead). inline float HealTakenFactor(GroupSnapshotView const& g, ObjectGuid guid) { auto const* members = g.members(); @@ -377,7 +380,7 @@ inline float HealTakenFactor(GroupSnapshotView const& g, ObjectGuid guid) if (!si) continue; for (SpellEffectInfo const& eff : si->GetEffects()) if (eff.IsAura(SPELL_AURA_MOD_HEALING_PCT) && eff.BasePoints < 0.0f) - f *= std::max(0.0f, 1.0f + eff.BasePoints / 100.0f); + f *= std::max(0.0f, 1.0f + eff.BasePoints * float(std::max(a.stacks, 1)) / 100.0f); } return std::max(f, 0.1f); } @@ -451,7 +454,8 @@ void ApplyInFlight(BotSnapshotView const& s, GroupSnapshotView const& g, Patient // at once left a tank at 79% to 6292 in flight for a deficit of 4286, three of those heals were then cancelled, and the // tank went on dropping). int32 const horizon = std::max(int32(last_land - now), int32(kSkipHorizonMs)); - p.until_land = DamageUntilLand(m.damage_taken_per_s, horizon); + // At least the largest recent hit: a boss's spike comes whole, not spread over the rate (DamageSpike). + p.until_land = std::max(DamageUntilLand(m.damage_taken_per_s, horizon), m.damage_spike); break; } // From the raw health each time (as MakePatient), so a patient handed in @@ -773,11 +777,13 @@ inline Patient PickPatient(ApPredicateContext const& ctx) { return PickPatient(c // stands) and everyone PickPatient would heal within reach. The quiet clock // restarts whenever the check was not run for kRaidHealerNeedGapMs (the // rotation was busy healing, casting or out of combat), so a healer never -// nukes straight out of a heal. Dungeons, parties and solo: always true (the -// rotations' own gates stand). Wands cost no mana and are not gated here. -constexpr int32 kRaidHealerDpsManaPct = 90; -constexpr uint32 kRaidHealerDpsQuietMs = 10000; -constexpr uint32 kRaidHealerNeedGapMs = 2000; +// nukes straight out of a heal. Parties outside instances and solo: always +// true (the rotations' own gates stand). Wands cost no mana and are not gated +// here. +// The quiet time and mana floor come from HealerDamageGateFor (Bot/ +// ClassicHealScope.h): a dungeon with Playerbot.Behavior.HealerAssist on uses +// 3 s and 60 %, a raid (or the switch off) 10 s and 90 %. +constexpr uint32 kRaidHealerNeedGapMs = 2000; inline bool RaidHealerMayDamage(BotSnapshotView const& s, GroupSnapshotView const& g) { @@ -802,7 +808,15 @@ inline bool RaidHealerMayDamage(BotSnapshotView const& s, GroupSnapshotView cons t.need_eval_ms = now; return now - t.need_ms; }); - return since_need >= kRaidHealerDpsQuietMs && ManaPct(s) >= kRaidHealerDpsManaPct; + HealerDamageGate const gate = HealerDamageGateFor(s.raid_rules(), Services::Config().behavior_healer_assist()); + return since_need >= gate.quiet_ms && ManaPct(s) >= gate.mana_pct; +} + +// A healer's own crowd control (HealerMayCrowdControl, Bot/ClassicHealScope.h): in combat, Playerbot.Behavior.HealerAssist on, no +// raid rules, its mana and everyone it heals (lowest_hp_pct: the rotation's lowest friend or self) high enough. +inline bool HealerMayCrowdControl(BotSnapshotView const& s, int32 lowest_hp_pct) +{ + return s.in_combat() && HealerMayCrowdControl(Services::Config().behavior_healer_assist(), s.raid_rules(), ManaPct(s), lowest_hp_pct); } // Base heal of one rank at the caster's level (no +healing gear: the pick @@ -1072,7 +1086,7 @@ inline HealPlan PlanHeal(BotSnapshotView const& s, GroupSnapshotView const& g, u // Overheal-cancel lockout: not straight back onto the patient a heal was // just cancelled on (State_InCombat CancelOverheal) - that is the // cast / cancel loop. An emergency there is healed regardless. - if (raid && p.actual_pct >= kEmergencyPct && p.hp_pct >= kEmergencyPct && InCancelLockout(s, p.guid)) + if (p.actual_pct >= kEmergencyPct && p.hp_pct >= kEmergencyPct && InCancelLockout(s, p.guid)) { plan.skip = true; return plan; @@ -1100,6 +1114,16 @@ inline HealPlan PlanHeal(BotSnapshotView const& s, GroupSnapshotView const& g, u plan.skip = true; // tiny deficit: even the smallest sensible rank mostly overheals return plan; } + // The swings forecast on the patient count towards the size of a heal, not towards whether one is needed: a patient who is + // missing next to no health right now is not healed yet (tank pressure and emergencies were answered above). Without this a + // paladin's Holy Light went out on a player down 1 health to a poison tick and healed 1 (dumpins, leenergetic, Discord + // 2026-11-17: "they heal you but only does 1 heal", "heals with no effect, on self too"). + float const missing_now = float(std::max(p.max_hp - p.hp - p.inflight, 0)) / HealTakenFactor(g, p.guid); + if (missing_now < top_heal / 3.0f * 0.25f) + { + plan.skip = true; + return plan; + } float const share = raid ? RaidDeficitShare(save_mana ? std::min(mana, kSaveManaPct - 1) : mana) : (mana < kSaveManaPct || save_mana ? 0.75f : 0.9f); return PlanRank(s, spell, deficit * share, raid); diff --git a/src/modules/PlayerbotV2/Combat/Apl/ApCrowdControl.h b/src/modules/PlayerbotV2/Combat/Apl/ApCrowdControl.h index 8fb6575230..11297873c8 100644 --- a/src/modules/PlayerbotV2/Combat/Apl/ApCrowdControl.h +++ b/src/modules/PlayerbotV2/Combat/Apl/ApCrowdControl.h @@ -142,7 +142,7 @@ namespace Playerbot::Combat { // PickOffTargetCC only ever CCs units attacking the CASTER, which suits a // solo caster but never fires in a dungeon: the pack is on the tank. In a // party or raid this picks an add the GROUP is fighting instead, ike3-style: -// * only on a real pull: 3+ live enemies engaged with the group; +// * only on a real pull: 3+ live enemies engaged with the group in an instance, 2+ in the open world; // * never the bot's own target, the skull, the tank's target or a boss; // * not a unit already CC'd or one another member is casting a CC on; // * one CC per caster (vanilla Polymorph / Shackle / Banish / Hibernate @@ -175,7 +175,10 @@ namespace Playerbot::Combat { return ObjectGuid::Empty; // our CC is still holding one (the same check the marked CC makes) for (auto const& u : enemies) if (engaged_with_group(u)) ++engaged; - if (engaged < 3) + // Open world: a second mob on the group is worth holding (Karrz 2026-11-16: "if they're able to do it automatically by + // themselves, that makes sense"); a player's companions met two at a time and fought both while the caster's sheep sat unused, + // as the solo caster already holds the second of two (PickOffTargetCC). An instance pack is a real pull from three. + if (engaged < (bot.is_in_instance() ? 3u : 2u)) return ObjectGuid::Empty; ObjectGuid tank_target; @@ -186,7 +189,7 @@ namespace Playerbot::Combat { for (auto const& m : *members) { if (!m.is_casting || m.casting_target != g || m.guid == bot.guid()) continue; - for (uint32 const cc : { 118u, 9484u, 710u, 2637u, 6770u }) // Polymorph / Shackle / Banish / Hibernate / Sap + for (uint32 const cc : { 118u, 9484u, 710u, 2637u, 6770u, 19386u }) // Polymorph / Shackle / Banish / Hibernate / Sap / Wyvern Sting if (SpellFamily::Same(m.casting_spell, cc)) return true; } diff --git a/src/modules/PlayerbotV2/Combat/Apl/Apl_Classic_Druid.cpp b/src/modules/PlayerbotV2/Combat/Apl/Apl_Classic_Druid.cpp index f0fa47ac91..3a5091a0de 100644 --- a/src/modules/PlayerbotV2/Combat/Apl/Apl_Classic_Druid.cpp +++ b/src/modules/PlayerbotV2/Combat/Apl/Apl_Classic_Druid.cpp @@ -658,11 +658,14 @@ void DoDemoRoar(ApPredicateContext const&, BotIntentEmitter& e) { e.cast(DEMORAL bool ShouldSwipe(ApPredicateContext const& ctx) { return HasLiveTarget(ctx) && InBear(ctx) && Rage(ctx) >= 20 && ctx.bot.enemies_within(6.0f) >= 2 - && Ready(ctx, SWIPE) + && Ready(ctx, SWIPE) && ctx.bot.victim_in_spell_range(SWIPE) && AoeSafeAroundSelf(ctx.bot, 8.0f, /*damaging*/ true, /*tank*/ true, "Swipe", SWIPE) && !TankThreat::AoeRipsOtherTank(ctx.bot, 8.0f, "Swipe"); } -void DoSwipe(ApPredicateContext const&, BotIntentEmitter& e) { e.cast(SWIPE); } +// On the victim: Swipe takes an enemy target (its cone is in front of the bear). Sent with none, the casts failed BAD_TARGETS +// (naxx_gluth 1118 r4 and r6: a BAD_TARGETS on 779 every 10-14 s in every run, no Swipe damage in any pull_spells, the bear's area +// threat on its chows nothing at all). +void DoSwipe(ApPredicateContext const& ctx, BotIntentEmitter& e) { e.cast(SWIPE, ctx.bot.victim()); } // Faerie Fire (Feral) - free, 30 yd, threat on its own - on the pack mob that // needs threat most once the victim has its lead (TankThreat::SpreadTarget: @@ -929,6 +932,13 @@ bool ShouldHealerLeaveForm(ApPredicateContext const& ctx) } void DoHealerLeaveForm(ApPredicateContext const& ctx, BotIntentEmitter& e) { DoCancelWrongForm(ctx, e, WantedForm::None); } +// Healer: Hibernate on an add while the group is healthy and mana allows (Playerbot.Behavior.HealerAssist, +// ClassicHeal::HealerMayCrowdControl). In an instance the group plan picks the mob (PickGroupCC defers to it). +bool ShouldHealerCrowdControl(ApPredicateContext const& ctx) +{ + return ClassicHeal::HealerMayCrowdControl(ctx.bot, LowestFriendOrSelf(ctx).hp_pct) && ShouldCrowdControl(ctx); +} + ApRule const kHealerRules[] = { { ShouldHealerLeaveForm, DoHealerLeaveForm, "classic_resto:leave_form" }, { ShouldNaturesSwiftnessHeal, DoSwiftHealingTouch, "classic_resto:natures_swiftness_touch" }, @@ -942,6 +952,7 @@ ApRule const kHealerRules[] = { { ShouldDispel, DoDispel, "classic_resto:dispel" }, { ShouldRegrowthTopUp, DoRegrowthTopUp, "classic_resto:regrowth_top_up" }, { ShouldRejuvenation, DoRejuvenation, "classic_resto:rejuvenation" }, + { ShouldHealerCrowdControl, DoCrowdControl, "classic_resto:hibernate" }, { ShouldHealerSchoolNuke, DoHealerSchoolNuke, "classic_resto:school_nuke" }, { ShouldHealerMoonfire, DoMoonfire, "classic_resto:moonfire" }, { ShouldHealerWrath, DoWrath, "classic_resto:wrath" }, diff --git a/src/modules/PlayerbotV2/Combat/Apl/Apl_Classic_Hunter.cpp b/src/modules/PlayerbotV2/Combat/Apl/Apl_Classic_Hunter.cpp index 430ac9bb6b..8be28c10ae 100644 --- a/src/modules/PlayerbotV2/Combat/Apl/Apl_Classic_Hunter.cpp +++ b/src/modules/PlayerbotV2/Combat/Apl/Apl_Classic_Hunter.cpp @@ -28,6 +28,7 @@ #include "../ApRotation.h" #include "Apl_Baseline_Common.h" #include "ApSchoolHint.h" +#include "ApCrowdControl.h" // PickGroupCC #include "ApInterrupt.h" // EngagedWithGroup #include "Bot/BotIntentEmitter.h" #include "Bot/BotSnapshotView.h" @@ -435,6 +436,30 @@ bool ShouldPrePullTrap(ApPredicateContext const& ctx) } void DoPrePullTrap(ApPredicateContext const&, BotIntentEmitter& e) { e.cast(FREEZING_TRAP); } +// Wyvern Sting (Survival talent, 19386 and its ranks): a 12 s sleep shot. In combat it holds an add the group fights, the way the +// mage's Polymorph does (PickGroupCC: never the kill target, the tank's target, a marked mob or a boss; in an instance from a pull of +// three, in the open world from two). The hunter had no crowd control once the fight began (Karrz 2026-11-16: bots of every class +// crowd-control by themselves). The owner's "no sleep" / "off cc" orders drop it (CcDeny::Sleep). +constexpr uint32 WYVERN_STING = 19386; +bool ShouldWyvernSting(ApPredicateContext const& ctx) +{ + if (!HasLiveTarget(ctx) || !ctx.bot.in_combat() || !Ready(ctx, WYVERN_STING)) + return false; + ObjectGuid const pick = PickGroupCC(ctx, WYVERN_STING); + if (pick.IsEmpty()) + return false; + // A shot: not inside the 8 yd dead zone, where the cast is refused. + auto const& me = ctx.bot.raw().position; + for (NearbyUnit const& u : ctx.bot.raw().combat.nearby_enemies) + if (u.guid == pick) + { + float const dx = u.x - me.x, dy = u.y - me.y, dz = u.z - me.z; + return dx * dx + dy * dy + dz * dz >= 8.f * 8.f; + } + return false; +} +void DoWyvernSting(ApPredicateContext const& ctx, BotIntentEmitter& e) { e.cast(WYVERN_STING, PickGroupCC(ctx, WYVERN_STING)); } + // Tranquilizing Shot (level 60 book; only once learned): an elite / boss // engaged with the group carrying an aura the shot removes (Enrage / vanilla // Frenzy: Magmadar, Death Talon Seether, Chromaggus, Gluth - @@ -511,6 +536,7 @@ ApRule const kRules[] = { { ShouldAspect, DoAspect, "classic_hunter:aspect" }, { ShouldTrueshotAura, DoTrueshotAura, "classic_hunter:trueshot_aura" }, { ShouldPrePullTrap, DoPrePullTrap, "classic_hunter:freezing_trap" }, + { ShouldWyvernSting, DoWyvernSting, "classic_hunter:wyvern_sting" }, { ShouldBestialWrath, DoBestialWrath, "classic_hunter:bestial_wrath" }, { ShouldRapidFire, DoRapidFire, "classic_hunter:rapid_fire" }, { ShouldReadiness, DoReadiness, "classic_hunter:readiness" }, diff --git a/src/modules/PlayerbotV2/Combat/Apl/Apl_Classic_Paladin.cpp b/src/modules/PlayerbotV2/Combat/Apl/Apl_Classic_Paladin.cpp index 596e0dc0e4..aaffed936f 100644 --- a/src/modules/PlayerbotV2/Combat/Apl/Apl_Classic_Paladin.cpp +++ b/src/modules/PlayerbotV2/Combat/Apl/Apl_Classic_Paladin.cpp @@ -57,6 +57,7 @@ constexpr uint32 SEAL_OF_WISDOM = 20166; constexpr uint32 SEAL_OF_CRUSADER = 21082; constexpr uint32 JUDGEMENT = 20271; constexpr uint32 HAMMER_OF_WRATH = 24275; +constexpr uint32 EXORCISM = 879; // undead and demons only, 30 y, 15 s cooldown constexpr uint32 HOLY_STRIKE = 678; // Forever's Retribution strike (rank 1; the cast resolves the highest rank): weapon damage plus Holy constexpr uint32 DIVINE_FAVOR = 20216; // Holy talent @@ -407,6 +408,28 @@ bool ShouldHealerJudgement(ApPredicateContext const& ctx) return HealerMayDps(ctx) && ManaPct(ctx) >= 60 && ShouldJudgement(ctx); } +// Playerbot.Behavior.HealerAssist: a Holy paladin's ranged damage under the same may-dps gates, Exorcism on an undead or demon +// victim (the Plaguelands are full of them) and Hammer of Wrath on one at 20 % or less. The seal and judgement above only fire in +// melee reach, so without these a healing paladin did no damage from where it stands. +bool HealerAssistOn() { return Services::Config().behavior_healer_assist(); } +bool VictimUndeadOrDemon(ApPredicateContext const& ctx) +{ + NearbyUnit const* v = ctx.bot.victim_info(); + return v && (v->creature_type == CREATURE_TYPE_UNDEAD || v->creature_type == CREATURE_TYPE_DEMON); +} +bool ShouldHealerExorcism(ApPredicateContext const& ctx) +{ + return HealerAssistOn() && HealerMayDps(ctx) && ManaPct(ctx) >= 60 && VictimUndeadOrDemon(ctx) + && Ready(ctx, EXORCISM) && ctx.bot.victim_in_spell_range(EXORCISM); +} +void DoHealerExorcism(ApPredicateContext const& ctx, BotIntentEmitter& e) { e.cast(EXORCISM, ctx.bot.victim()); } +bool ShouldHealerHammerOfWrath(ApPredicateContext const& ctx) +{ + return HealerAssistOn() && HealerMayDps(ctx) && ManaPct(ctx) >= 60 && VictimHpPct(ctx) <= 20 + && Ready(ctx, HAMMER_OF_WRATH) && ctx.bot.victim_in_spell_range(HAMMER_OF_WRATH); +} +void DoHealerHammerOfWrath(ApPredicateContext const& ctx, BotIntentEmitter& e) { e.cast(HAMMER_OF_WRATH, ctx.bot.victim()); } + ApRule const kHealerRules[] = { { ShouldDivineShield, DoDivineShield, "classic_pal_heal:divine_shield" }, { ShouldLayOnHands, DoLayOnHands, "classic_pal_heal:lay_on_hands" }, @@ -423,6 +446,8 @@ ApRule const kHealerRules[] = { { ShouldBlessing, DoBlessing, "classic_pal_heal:blessing" }, { ShouldHealerSeal, DoSeal, "classic_pal_heal:seal" }, { ShouldHealerJudgement, DoJudgement, "classic_pal_heal:judgement" }, + { ShouldHealerExorcism, DoHealerExorcism, "classic_pal_heal:exorcism" }, + { ShouldHealerHammerOfWrath, DoHealerHammerOfWrath, "classic_pal_heal:hammer_of_wrath" }, }; // ======================= Protection ======================= @@ -512,10 +537,51 @@ void DoTankSpreadJudgement(ApPredicateContext const& ctx, BotIntentEmitter& e) TankThreat::LogSpread(ctx.bot, "Judgement", *t); } +// A Retribution or Protection paladin in a group saves a member in trouble (ClassicHeal::HybridMaySaveAlly, Bot/ClassicHealScope.h): +// leenergetic, Discord 2026-11-17, "When in a DPS spec, Paladins don't cast heals on allies at all". A healer of the group covers the +// patient while it is alive, on the map, within heal range of him and has mana; with one covering, the paladin steps in only at the +// last moment. The heal is the fast one (Flash of Light, Holy Light before level 20), planned like a healer's (EmitHeal). +bool HealerCovers(ApPredicateContext const& ctx, ClassicHeal::Patient const& p) +{ + auto const* members = ctx.group.members(); + if (!members) + return false; + float px = 0.f, py = 0.f; + bool found = false; + for (auto const& m : *members) + if (m.guid == p.guid) { px = m.x; py = m.y; found = true; break; } + for (auto const& m : *members) + { + if (m.guid == ctx.bot.raw().guid || m.role != Role::Healer || !m.online || !m.is_alive || m.map_id != ctx.bot.map_id()) + continue; + if (m.max_mana > 0 && int64(m.mana) * 100 < int64(m.max_mana) * ClassicHeal::kHybridHealerCoverManaPct) + continue; + if (found && std::hypot(m.x - px, m.y - py) > ClassicHeal::kHealRange) + continue; + return true; + } + return false; +} + +bool ShouldSaveAlly(ApPredicateContext const& ctx) +{ + if (!ctx.bot.in_group() || !Ready(ctx, FastHeal(ctx))) + return false; + ClassicHeal::Patient const p = ClassicHeal::PickPatient(ctx); + if (!p.valid || p.guid.IsEmpty() || p.guid == ctx.bot.raw().guid) + return false; + return ClassicHeal::HybridMaySaveAlly(ctx.bot.raid_rules(), std::min(p.hp_pct, p.actual_pct), HealerCovers(ctx, p), ManaPct(ctx)); +} +void DoSaveAlly(ApPredicateContext const& ctx, BotIntentEmitter& e) +{ + ClassicHeal::EmitHeal(ctx.bot, ctx.group, e, FastHeal(ctx), ClassicHeal::PickPatient(ctx)); +} + ApRule const kTankRules[] = { { ShouldDivineShield, DoDivineShield, "classic_pal_tank:divine_shield" }, { ShouldDivineProtection, DoDivineProtection, "classic_pal_tank:divine_protection" }, { ShouldSelfLayOnHands, DoSelfLayOnHands, "classic_pal_tank:lay_on_hands" }, + { ShouldSaveAlly, DoSaveAlly, "classic_pal_tank:save_ally" }, { ShouldRighteousFury, DoRighteousFury, "classic_pal_tank:righteous_fury" }, { ShouldPaladinAura, DoPaladinAura, "classic_pal_tank:aura" }, { ShouldHammerOfJustice, DoHammerOfJustice, "classic_pal_tank:hammer_of_justice" }, @@ -578,6 +644,7 @@ ApRule const kRetRules[] = { { ShouldDivineShield, DoDivineShield, "classic_pal_ret:divine_shield" }, { ShouldSelfLayOnHands, DoSelfLayOnHands, "classic_pal_ret:lay_on_hands" }, { ShouldRetSelfHeal, DoRetSelfHeal, "classic_pal_ret:self_heal" }, + { ShouldSaveAlly, DoSaveAlly, "classic_pal_ret:save_ally" }, { ShouldPaladinAura, DoPaladinAura, "classic_pal_ret:aura" }, { ShouldBlessing, DoBlessing, "classic_pal_ret:blessing" }, { ShouldCleanse, DoCleanse, "classic_pal_ret:cleanse" }, diff --git a/src/modules/PlayerbotV2/Combat/Apl/Apl_Classic_Priest.cpp b/src/modules/PlayerbotV2/Combat/Apl/Apl_Classic_Priest.cpp index aac7d0e799..3a897aa4d9 100644 --- a/src/modules/PlayerbotV2/Combat/Apl/Apl_Classic_Priest.cpp +++ b/src/modules/PlayerbotV2/Combat/Apl/Apl_Classic_Priest.cpp @@ -465,6 +465,26 @@ SchoolHint::SchoolChoice const kHealerSchoolChoices[] = { bool ShouldHealerSchoolNuke(ApPredicateContext const& ctx) { return SchoolHint::ShouldCast(ctx, kHealerSchoolChoices); } void DoHealerSchoolNuke(ApPredicateContext const& ctx, BotIntentEmitter& e) { SchoolHint::DoCast(ctx, e, kHealerSchoolChoices); } +// Shackle Undead: Undead. In a group an add of a 3+ mob pull (never the kill target, +// the tank's target or a boss); solo an extra attacker. See PickGroupCC. +constexpr uint32 SHACKLE_UNDEAD = 9484; +bool ShouldCrowdControl(ApPredicateContext const& ctx) +{ + return HasLiveTarget(ctx) && ctx.bot.in_combat() && !ctx.bot.is_moving() && ManaPct(ctx) >= 15 + && Ready(ctx, SHACKLE_UNDEAD) && !PickGroupCC(ctx, SHACKLE_UNDEAD).IsEmpty(); +} +void DoCrowdControl(ApPredicateContext const& ctx, BotIntentEmitter& e) +{ + e.cast(SHACKLE_UNDEAD, PickGroupCC(ctx, SHACKLE_UNDEAD)); +} + +// Healer: Shackle Undead on an add while the group is healthy and mana allows (Playerbot.Behavior.HealerAssist, +// ClassicHeal::HealerMayCrowdControl). In an instance the group plan picks the mob (PickGroupCC defers to it). +bool ShouldHealerCrowdControl(ApPredicateContext const& ctx) +{ + return ClassicHeal::HealerMayCrowdControl(ctx.bot, LowestFriendOrSelf(ctx).hp_pct) && ShouldCrowdControl(ctx); +} + ApRule const kHealerRules[] = { { ShouldDesperatePrayer, DoDesperatePrayer, "classic_heal:desperate_prayer" }, { ShouldShieldCritical, DoShieldCritical, "classic_heal:shield_critical" }, @@ -485,6 +505,7 @@ ApRule const kHealerRules[] = { { ShouldInnerFire, DoInnerFire, "classic_heal:inner_fire" }, { ShouldRenew, DoRenew, "classic_heal:renew" }, { ShouldResurrection, DoResurrection, "classic_heal:resurrection" }, + { ShouldHealerCrowdControl, DoCrowdControl, "classic_heal:shackle_undead" }, { ShouldHealerSchoolNuke, DoHealerSchoolNuke, "classic_heal:school_nuke" }, { ShouldHealerPain, DoPain, "classic_heal:shadow_word_pain" }, { ShouldHealerSmite, DoSmite, "classic_heal:smite" }, @@ -570,19 +591,6 @@ SchoolHint::SchoolChoice const kShadowSchoolChoices[] = { bool ShouldShadowSchoolNuke(ApPredicateContext const& ctx) { return SchoolHint::ShouldCast(ctx, kShadowSchoolChoices); } void DoShadowSchoolNuke(ApPredicateContext const& ctx, BotIntentEmitter& e) { SchoolHint::DoCast(ctx, e, kShadowSchoolChoices); } -// Shackle Undead: Undead. In a group an add of a 3+ mob pull (never the kill target, -// the tank's target or a boss); solo an extra attacker. See PickGroupCC. -constexpr uint32 SHACKLE_UNDEAD = 9484; -bool ShouldCrowdControl(ApPredicateContext const& ctx) -{ - return HasLiveTarget(ctx) && ctx.bot.in_combat() && !ctx.bot.is_moving() && ManaPct(ctx) >= 15 - && Ready(ctx, SHACKLE_UNDEAD) && !PickGroupCC(ctx, SHACKLE_UNDEAD).IsEmpty(); -} -void DoCrowdControl(ApPredicateContext const& ctx, BotIntentEmitter& e) -{ - e.cast(SHACKLE_UNDEAD, PickGroupCC(ctx, SHACKLE_UNDEAD)); -} - ApRule const kShadowRules[] = { { ShouldDesperatePrayer, DoDesperatePrayer, "classic_shadow:desperate_prayer" }, { ShouldShieldSelf, DoShieldSelf, "classic_shadow:shield_self" }, diff --git a/src/modules/PlayerbotV2/Commands/cs_playerbot_v2.cpp b/src/modules/PlayerbotV2/Commands/cs_playerbot_v2.cpp index cf149df337..0910ebf72f 100644 --- a/src/modules/PlayerbotV2/Commands/cs_playerbot_v2.cpp +++ b/src/modules/PlayerbotV2/Commands/cs_playerbot_v2.cpp @@ -30,10 +30,16 @@ #include "Log.h" #include #include "Player.h" +#include "Pet.h" // .playerbot petprobe +#include "CharmInfo.h" // .playerbot petprobe #include "../Fleet/PlayerCraftOrders.h" // .playerbot craftfor #include "../Bot/BotBridge.h" // .playerbot bridgeask #include "GameTime.h" +#include "MotionMaster.h" #include "MovementPackets.h" +#include "PartyPackets.h" // .playerbot setrole +#include "Pet.h" // .playerbot petspells +#include "CharmInfo.h" // .playerbot petspells #include "WorldSession.h" #include "TypeContainerVisitor.h" #include "PlayerbotAPI.h" @@ -98,6 +104,8 @@ #include "ObjectMgr.h" #include "QuestDef.h" // .playerbot xpprobe #include "SpellAuraEffects.h" +#include "TemporarySummon.h" // .playerbot bugprobe +#include "CreatureAI.h" // .playerbot bugprobe #include "SpellAuras.h" #include "SpellInfo.h" #include "SpellMgr.h" @@ -647,10 +655,14 @@ public: { "auracheck", HandleAuraCheck, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, { "proccheck", HandleProcCheck, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, { "casttest", HandleCastTest, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, + { "bugprobe", HandleBugProbe, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, { "xpprobe", HandleXpProbe, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, { "questchainprobe", HandleQuestChainProbe, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, { "groundz", HandleGroundZ, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, { "formprobe", HandleFormProbe, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, + { "setrole", HandleSetRole, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, + { "petspells", HandlePetSpells, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, + { "inspectprobe", HandleInspectProbe, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, { "equipprobe", HandleEquipProbe, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, { "gearpick", HandleGearPick, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, { "rageprobe", HandleRageProbe, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, @@ -659,6 +671,9 @@ public: { "spotprobe", HandleSpotProbe, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, { "collisionprobe", HandleCollisionProbe, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, { "transmogprobe", HandleTransmogProbe, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, + { "skinprobe", HandleSkinProbe, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, + { "powerprobe", HandlePowerProbe, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, + { "petprobe", HandlePetProbe, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, { "langprobe", HandleLangProbe, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, { "learncheck", HandleLearnCheck, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, { "traitcheck", HandleTraitCheck, rbac::RBAC_PERM_COMMAND_GM, Console::Yes }, @@ -5354,6 +5369,129 @@ public: return true; } + // .playerbot petspells [] + // The player's current pet: number, entry, level, type and every spell it holds with its save state (0 unchanged, 1 changed, + // 2 new, 3 removed) and type (0 normal, 1 family). With a spell id the pet learns it the way a Grimoire or a pet trainer teaches it + // (Spell::EffectLearnPetSpell: learnSpell, then SavePetToDB as current). For checking that taught pet spells survive a restart + // (Tryout, Discord 2026-11-16: a warlock's demons forget the spells they learned after a server restart) without a game client. + static bool HandlePetSpells(ChatHandler* handler, std::string name, Optional teach) + { + Player* p = normalizePlayerName(name) ? ObjectAccessor::FindPlayerByName(name) : nullptr; + Pet* pet = p ? p->GetPet() : nullptr; + if (!pet || !pet->GetCharmInfo()) + { + handler->PSendSysMessage("petspells: %s is not online or has no pet out", name.c_str()); + return false; + } + if (teach) + { + if (!sSpellMgr->GetSpellInfo(*teach, DIFFICULTY_NONE)) + { + handler->PSendSysMessage("petspells: no spell %u", *teach); + return false; + } + bool const learned = pet->learnSpell(*teach); + pet->SavePetToDB(PET_SAVE_AS_CURRENT); + p->PetSpellInitialize(); + handler->PSendSysMessage("petspells: %s's pet learned %u: %s, saved", p->GetName().c_str(), *teach, learned ? "yes" : "no (known, or a higher rank is)"); + } + LocaleConstant const locale = sWorld->GetDefaultDbcLocale(); + std::vector ids; + for (auto const& [spellId, petSpell] : pet->m_spells) + ids.push_back(spellId); + std::ranges::sort(ids); + std::string list; + for (uint32 spellId : ids) + { + PetSpell const& ps = pet->m_spells.at(spellId); + SpellInfo const* info = sSpellMgr->GetSpellInfo(spellId, DIFFICULTY_NONE); + list += Trinity::StringFormat("{}{} \"{}\" state {} type {}", list.empty() ? "" : ", ", spellId, + info && info->SpellName ? (*info->SpellName)[locale] : "?", int32(ps.state), int32(ps.type)); + } + handler->PSendSysMessage("petspells: %s pet number %u entry %u level %u type %u, %zu spells: %s", p->GetName().c_str(), + pet->GetCharmInfo()->GetPetNumber(), pet->GetEntry(), uint32(pet->GetLevel()), uint32(pet->getPetType()), ids.size(), list.c_str()); + return true; + } + + // .playerbot inspectprobe + // What WorldSession::HandleInspectOpcode would answer the viewer about the target, without sending it: whether the talent part is + // filled (the TalentsInspecting gate), the specialization, the target's active combat trait config (id, specialization, entries) and + // the viewer's own trait config ids, the classic talent block, and the retail talent list. DoctorSun (Discord 2026-11-17): Inspect > + // Talents always shows the inspecting player's own talents. Read-only. + static bool HandleInspectProbe(ChatHandler* handler, std::string viewerName, std::string targetName) + { + Player* viewer = normalizePlayerName(viewerName) ? ObjectAccessor::FindPlayerByName(viewerName) : nullptr; + Player* target = normalizePlayerName(targetName) ? ObjectAccessor::FindPlayerByName(targetName) : nullptr; + if (!viewer || !target) + { + handler->SendSysMessage("inspectprobe: needs , both online"); + return false; + } + bool const talentsSent = viewer->CanBeGameMaster() + || sWorld->getIntConfig(CONFIG_TALENTS_INSPECTING) + (viewer->GetEffectiveTeam() == target->GetEffectiveTeam()) > 1; + UF::TraitConfig const* active = target->GetTraitConfig(target->m_activePlayerData->ActiveCombatTraitConfigID); + uint32 ranks = 0; + if (active) + for (UF::TraitEntry const& e : active->Entries) + ranks += uint32(std::max(0, e.Rank)); + auto const configIds = [](Player const* who) + { + std::string ids; + for (auto const& [id, value] : who->m_activePlayerData->TraitConfigs) + ids += Trinity::StringFormat("{}{} (type {}, spec {})", ids.empty() ? "" : ", ", id, int32(*value.value.Type), int32(*value.value.ChrSpecializationID)); + return ids.empty() ? std::string("none") : ids; + }; + std::size_t retailTalents = 0; + if (PlayerTalentMap const* talents = target->GetTalentMap(target->GetActiveTalentGroup())) + for (auto const& [talentId, state] : *talents) + if (state != PLAYERSPELL_REMOVED) + ++retailTalents; + handler->PSendSysMessage("inspectprobe: %s inspects %s: distance %.1f, attackable %s, talent part sent %s (TalentsInspecting %u, same team %s)", + viewer->GetName().c_str(), target->GetName().c_str(), viewer->GetDistance(target), viewer->IsValidAttackTarget(target) ? "YES (no answer at all)" : "no", + talentsSent ? "yes" : "NO", sWorld->getIntConfig(CONFIG_TALENTS_INSPECTING), viewer->GetEffectiveTeam() == target->GetEffectiveTeam() ? "yes" : "no"); + handler->PSendSysMessage("inspectprobe: target level %u spec %u; active combat config %d: %s", uint32(target->GetLevel()), + uint32(AsUnderlyingType(target->GetPrimarySpecialization())), int32(*target->m_activePlayerData->ActiveCombatTraitConfigID), + active ? Trinity::StringFormat("spec {}, local id {}, {} entries, {} ranks", int32(*active->ChrSpecializationID), int32(*active->LocalIdentifier), + active->Entries.size(), ranks).c_str() : "MISSING"); + handler->PSendSysMessage("inspectprobe: target configs: %s; viewer configs: %s (viewer active %d)", configIds(target).c_str(), configIds(viewer).c_str(), + int32(*viewer->m_activePlayerData->ActiveCombatTraitConfigID)); + handler->PSendSysMessage("inspectprobe: retail talent list %zu entries; classic talent block: not filled (0 groups)", retailTalents); + return true; + } + + // .playerbot setrole tank|healer|damage|none + // The party frame's role menu, from the console: the leader's session sends CMSG_SET_ROLE for the member and the real handler runs + // (WorldSession::HandleSetRoleOpcode, its leader/assistant check, the group's role slot, the GroupScript hook). A bot leader stands in + // for the player. Then the member's role on the group slot and, for a bot, its role and spec as the bot logic now reads them. + static bool HandleSetRole(ChatHandler* handler, std::string leaderName, std::string memberName, std::string roleName) + { + Player* leader = normalizePlayerName(leaderName) ? ObjectAccessor::FindPlayerByName(leaderName) : nullptr; + Player* member = normalizePlayerName(memberName) ? ObjectAccessor::FindPlayerByName(memberName) : nullptr; + uint8 const role = roleName == "tank" ? 2 : roleName == "healer" ? 4 : (roleName == "damage" || roleName == "dps") ? 8 : roleName == "none" ? 0 : 0xFF; + if (!leader || !member || !leader->GetSession() || role == 0xFF) + { + handler->SendSysMessage("setrole: needs tank|healer|damage|none, both online"); + return false; + } + Group* group = leader->GetGroup(); + if (!group || !group->IsMember(member->GetGUID())) + { + handler->PSendSysMessage("setrole: %s and %s are not in one group", leader->GetName().c_str(), member->GetName().c_str()); + return false; + } + uint8 const before = group->GetLfgRoles(member->GetGUID()); + WorldPackets::Party::SetRole packet{ WorldPacket(CMSG_SET_ROLE) }; + packet.TargetGUID = member->GetGUID(); + packet.Role = role; + leader->GetSession()->HandleSetRoleOpcode(packet); + std::string bot; + if (Playerbot::BotAI const* ai = Playerbot::Services::Registry().ai(member->GetGUID().GetCounter())) + bot = Trinity::StringFormat(", bot role override {}, spec {}", int(ai->role_override()), ::Playerbot::Classic::EffectiveSpecId(member)); + handler->PSendSysMessage("setrole: %s set %s to %s: group slot role %u -> %u%s", leader->GetName().c_str(), member->GetName().c_str(), + roleName.c_str(), uint32(before), uint32(group->GetLfgRoles(member->GetGUID())), bot.c_str()); + return true; + } + // .playerbot formprobe
[] // Learns the form spell if needed, takes the form (a triggered cast: no cost, no cooldown, no level check) and reports the armor before // and in the form and whether the form's passive aura is on the player, then leaves the form again and reports the armor back. @@ -5583,13 +5721,19 @@ public: // .playerbot campprobe go // .playerbot campprobe sit [] - // Camping without a client. "go" moves the player (a bot over SOAP) to a camp. "sit" then, in one go: gives the quest if one is named (a + // Camping without a client. "go" moves the player (a bot over SOAP) to a camp and keeps a bot there for two minutes (its own rules walked + // it 42 yd off before "sit": PC confirm run B6, 17 Nov). "sit" checks the player still stands at that spot, then, in one go: gives the + // quest if one is named (a // The Great Outdoors quest, taken off again at the end), sits the player down the way the sit key does (WorldSession::UpdateCampfireRest), // reports the campfire found, the nearest spell focus of any kind, whether the rest started and whether the quest's sit objective counted; // then ends the rest as if its minute ran out and reports the camp buffs it gave, and stands the player up again. static bool HandleCampProbe(ChatHandler* handler, std::string name, std::string mode, Optional a1, Optional a2, Optional a3, Optional a4) { + static constexpr uint32 CAMP_HOLD_MS = 2u * 60u * 1000u; + static constexpr float CAMP_SPOT_SLACK = 3.0f; + // the spot "go" sent each player to, for "sit" to check against (world thread only: chat commands run there) + static std::unordered_map campSpots; static constexpr uint32 SPELL_CAMPFIRE_REST = 1289723; static constexpr uint32 SPELL_CAMP_BENEFITS = 1229741; static constexpr uint32 BoostedBuffs[] = { 1229451, 1229519, 1230164, 1230587, 1230172, 1229513, 1229718, 1230124, 1230098, 1230653 }; @@ -5610,9 +5754,22 @@ public: handler->SetSentErrorMessage(true); return false; } + // a bot stops what it is doing and stays on the spot: otherwise its own rules walk it off before "sit". A Stay, not a Hold: a + // Hold lets the lower rules (questing) run on (idle:owner_holding), a Stay claims the bot's tick (idle:owner_stay). + Playerbot::BotAI* ai = Playerbot::Services::Initialized() ? Playerbot::Services::Registry().ai(p->GetGUID().GetCounter()) : nullptr; + if (ai) + { + p->GetMotionMaster()->Clear(); + p->StopMoving(); + ai->enter_manual(Playerbot::BotAI::OwnerCommand::Stay, ObjectGuid::Empty, GameTime::GetGameTimeMS(), CAMP_HOLD_MS); + } bool const ok = p->TeleportTo(uint32(*a1), *a2, *a3, *a4, p->GetOrientation()); - handler->PSendSysMessage("campprobe: %s teleport to map %u (%.2f, %.2f, %.2f) %s", p->GetName().c_str(), uint32(*a1), *a2, *a3, *a4, - ok ? "started, run sit in a few seconds" : "REFUSED"); + if (ok) + campSpots[p->GetGUID()] = WorldLocation(uint32(*a1), *a2, *a3, *a4); + else + campSpots.erase(p->GetGUID()); + handler->PSendSysMessage("campprobe: %s teleport to map %u (%.2f, %.2f, %.2f) %s%s", p->GetName().c_str(), uint32(*a1), *a2, *a3, *a4, + ok ? "started, run sit in a few seconds" : "REFUSED", ok && ai ? "; bot stays on the spot for 2 min" : ""); return true; } if (mode != "sit") @@ -5622,6 +5779,20 @@ public: return false; } + // the player must still stand where "go" sent it: a fire missing because the player walked off is not a camp fault + if (auto const spot = campSpots.find(p->GetGUID()); spot != campSpots.end()) + { + float const off = p->GetMapId() == spot->second.GetMapId() ? p->GetExactDist(spot->second) : -1.0f; + if (off < 0.0f || off > CAMP_SPOT_SLACK) + { + handler->PSendSysMessage("campprobe: NOT AT THE SPOT: %s is at map %u (%.2f, %.2f, %.2f), %s the camp spot map %u (%.2f, %.2f, %.2f); " + "nothing checked, run go again", p->GetName().c_str(), p->GetMapId(), p->GetPositionX(), p->GetPositionY(), p->GetPositionZ(), + off < 0.0f ? "another map than" : Trinity::StringFormat("{:.1f} yd from", off).c_str(), spot->second.GetMapId(), + spot->second.GetPositionX(), spot->second.GetPositionY(), spot->second.GetPositionZ()); + return true; + } + } + // the quest, from no status, so earlier runs or the bot's own questing do not get in the way uint32 const questId = a1 ? uint32(*a1) : 0; Quest const* quest = questId ? sObjectMgr->GetQuestTemplate(questId) : nullptr; @@ -5673,7 +5844,11 @@ public: // the minute runs out: the rest's own script gives the camp buffs if (resting) { - p->RemoveAurasDueToSpell(SPELL_CAMPFIRE_REST, ObjectGuid::Empty, 0, AURA_REMOVE_BY_EXPIRE); + // Expire this one rest only. The rest's script starts the next rest on expiry while the player still sits, and + // RemoveAurasDueToSpell starts its search over after each removal, so it took the new rest too, and the next, for ever: + // the world thread hung for 60 s and the freeze detector stopped the server (PC confirm run B6, 17 Nov). + if (Aura* rest = p->GetAura(SPELL_CAMPFIRE_REST)) + rest->Remove(AURA_REMOVE_BY_EXPIRE); std::string buffs; for (uint32 buff : BoostedBuffs) if (p->HasAura(buff)) @@ -5686,6 +5861,12 @@ public: p->GetSession()->UpdateCampfireRest(UNIT_STAND_STATE_STAND); if (quest) forget(); + + // done: the bot goes back to its own rules + if (campSpots.erase(p->GetGUID())) + if (Playerbot::BotAI* ai = Playerbot::Services::Initialized() ? Playerbot::Services::Registry().ai(p->GetGUID().GetCounter()) : nullptr) + if (ai->owner_command() == Playerbot::BotAI::OwnerCommand::Stay) + ai->exit_manual(); return true; } @@ -5840,6 +6021,256 @@ public: return true; } + // .playerbot skinprobe [ [ [ [ []]]]] + // Skinning skill gain without a client. Reports the player's skinning skill (rank, max rank, step), its race/class info, the + // skinning spells it knows and the skill line EffectSkinning would level, then calls the real Player::UpdateGatherSkill as a skin + // of a non-elite beast of that level does: times at (put back after every call, so the rate at that rank is + // measured) and times climbing from (to see where the rank stops). The skill is put back as it was at the + // end. Defaults: level 15, 50 calls, rank 34, max rank 75. With a creature entry, the checks EffectSkinning makes before it gives + // skill are shown for that creature (its loot skill, content tuning expansion and the line that expansion levels), and that line + // is the one levelled. Dev only; it changes the skill while it runs, so use a bot. + static bool HandleSkinProbe(ChatHandler* handler, std::string name, Optional creatureLevel, Optional count, + Optional startRank, Optional maxRank, Optional creatureEntry) + { + Player* p = normalizePlayerName(name) ? ObjectAccessor::FindPlayerByName(name) : nullptr; + if (!p || !p->IsInWorld()) + { + handler->SendSysMessage("skinprobe: no such player in the world"); + handler->SetSentErrorMessage(true); + return false; + } + + int32 const targetLevel = int32(creatureLevel.value_or(15)); + uint32 const calls = std::clamp(count.value_or(50), 1, 1000); + uint16 const start = std::max(startRank.value_or(34), 1); + uint16 const probeMax = std::max(maxRank.value_or(75), start); + uint16 const step = std::max(probeMax / 75, 1); + + uint32 const skill = SKILL_SKINNING; + bool const hadSkill = p->HasSkill(skill); + uint16 const origStep = p->GetSkillStep(skill); + uint16 const origValue = p->GetPureSkillValue(skill); + uint16 const origMax = p->GetPureMaxSkillValue(skill); + + handler->PSendSysMessage("skinprobe: %s level %u race %u class %u: skinning %s, rank %u / %u, step %u", p->GetName().c_str(), + uint32(p->GetLevel()), uint32(p->GetRace()), uint32(p->GetClass()), hadSkill ? "known" : "NOT known", uint32(origValue), + uint32(origMax), uint32(origStep)); + + if (SkillRaceClassInfoEntry const* rcInfo = sDB2Manager.GetSkillRaceClassInfo(skill, p->GetRace(), p->GetClass())) + handler->PSendSysMessage("skinprobe: race/class info %u: tier %d, flags 0x%X, min level %d", rcInfo->ID, int32(rcInfo->SkillTierID), + uint32(rcInfo->Flags), int32(rcInfo->MinLevel)); + else + handler->SendSysMessage("skinprobe: race/class info: NONE for this race and class"); + + if (std::vector const* abilities = sDB2Manager.GetSkillLineAbilitiesBySkill(skill)) + for (SkillLineAbilityEntry const* ability : *abilities) + if (p->HasSpell(uint32(ability->Spell))) + handler->PSendSysMessage("skinprobe: knows spell %d (skill line ability %u, min rank %d, part of skinning: %s)", ability->Spell, + ability->ID, int32(ability->MinSkillLineRank), IsPartOfSkillLine(skill, uint32(ability->Spell)) ? "yes" : "NO"); + + if (std::vector const* children = sDB2Manager.GetSkillLinesForParentSkill(skill)) + for (SkillLineEntry const* child : *children) + handler->PSendSysMessage("skinprobe: child line %u (tier index %d): rank %u / %u", child->ID, int32(child->ParentTierIndex), + uint32(p->GetPureSkillValue(child->ID)), uint32(p->GetPureMaxSkillValue(child->ID))); + + // the same rank EffectSkinning asks for (levels 1 to 73, the Classic range) + int32 reqValue; + if (targetLevel <= 10) + reqValue = 1; + else if (targetLevel < 20) + reqValue = (targetLevel - 10) * 10; + else + reqValue = targetLevel * 5; + + int32 expansion = 0; + if (creatureEntry) + { + CreatureTemplate const* cInfo = sObjectMgr->GetCreatureTemplate(*creatureEntry); + CreatureDifficulty const* cDiff = cInfo ? cInfo->GetDifficulty(DIFFICULTY_NONE) : nullptr; + if (!cDiff) + { + handler->PSendSysMessage("skinprobe: creature %u: no template", *creatureEntry); + handler->SetSentErrorMessage(true); + return false; + } + ContentTuningEntry const* contentTuning = sContentTuningStore.LookupEntry(cDiff->ContentTuningID); + expansion = contentTuning ? contentTuning->ExpansionID : 0; + uint32 const lootSkill = cDiff->GetRequiredLootSkill(); + handler->PSendSysMessage("skinprobe: creature %u %s: loot skill %u, skin loot %u, content tuning %d (%s, expansion %d)", *creatureEntry, + cInfo->Name.c_str(), lootSkill, cDiff->SkinLootID, cDiff->ContentTuningID, contentTuning ? "found" : "none", expansion); + if (std::vector const* abilities = sDB2Manager.GetSkillLineAbilitiesBySkill(skill)) + for (SkillLineAbilityEntry const* ability : *abilities) + if (p->HasSpell(uint32(ability->Spell))) + handler->PSendSysMessage("skinprobe: spell %d is part of the creature's loot skill %u: %s", ability->Spell, lootSkill, + IsPartOfSkillLine(lootSkill, uint32(ability->Spell)) ? "yes" : "NO (no skill from this creature)"); + } + + uint32 const levelled = p->GetProfessionSkillForExp(skill, expansion); + handler->PSendSysMessage("skinprobe: levelled line %u at the real rank: %u / %u (0 -> no skill from a skin)", levelled, + uint32(p->GetPureSkillValue(levelled)), uint32(p->GetPureMaxSkillValue(levelled))); + uint32 const yellow = uint32(reqValue) + 25; + uint32 const green = uint32(reqValue) + 50; + uint32 const gray = uint32(reqValue) + 100; + uint32 expected; + if (start >= gray) + expected = sWorld->getIntConfig(CONFIG_SKILL_CHANCE_GREY) * 10; + else if (start >= green) + expected = sWorld->getIntConfig(CONFIG_SKILL_CHANCE_GREEN) * 10; + else if (start >= yellow) + expected = sWorld->getIntConfig(CONFIG_SKILL_CHANCE_YELLOW) * 10; + else + expected = sWorld->getIntConfig(CONFIG_SKILL_CHANCE_ORANGE) * 10; + if (uint32 steps = sWorld->getIntConfig(CONFIG_SKILL_CHANCE_SKINNING_STEPS)) + expected >>= start / steps; + + handler->PSendSysMessage("skinprobe: beast level %d needs rank %d (yellow %u, green %u, gray %u); levelled line %u; at rank %u " + "expected chance %.1f%%, Skill.Gain.Gathering %u, skinning steps %u, aura 657 bonus %d%%", targetLevel, reqValue, yellow, green, + gray, levelled, uint32(start), expected / 10.0f, sWorld->getIntConfig(CONFIG_SKILL_GAIN_GATHERING), + sWorld->getIntConfig(CONFIG_SKILL_CHANCE_SKINNING_STEPS), int32(p->GetTotalAuraModifier(SPELL_AURA_657))); + + if (!levelled) + { + handler->SendSysMessage("skinprobe: no skill line to level -> EffectSkinning gives no skill (FAIL)"); + return true; + } + + // 1) the rate at the start rank + uint32 rose = 0; + for (uint32 i = 0; i < calls; ++i) + { + p->SetSkill(skill, step, start, probeMax); + uint16 before = p->GetPureSkillValue(levelled); + p->UpdateGatherSkill(levelled, before, uint32(reqValue), 1); + if (p->GetPureSkillValue(levelled) > before) + ++rose; + } + + // 2) climbing from the start rank + p->SetSkill(skill, step, start, probeMax); + uint32 climbed = 0; + for (uint32 i = 0; i < calls; ++i) + { + uint16 before = p->GetPureSkillValue(levelled); + if (!before) + break; + p->UpdateGatherSkill(levelled, before, uint32(reqValue), 1); + if (p->GetPureSkillValue(levelled) > before) + ++climbed; + } + uint16 const reached = p->GetPureSkillValue(levelled); + uint16 const reachedMax = p->GetPureMaxSkillValue(levelled); + + if (hadSkill) + p->SetSkill(skill, origStep, origValue, origMax); + else + p->SetSkill(skill, 0, 0, 0); + + handler->PSendSysMessage("skinprobe: at rank %u / %u: %u of %u skins gave a point (%.1f%%, expected %.1f%%); climbing: %u points in %u " + "skins, %u -> %u / %u; skill put back to %u / %u -> %s", uint32(start), uint32(probeMax), rose, calls, rose * 100.0f / calls, + expected / 10.0f, climbed, calls, uint32(start), uint32(reached), uint32(reachedMax), uint32(p->GetPureSkillValue(skill)), + uint32(p->GetPureMaxSkillValue(skill)), rose || start >= probeMax ? "PASS" : "FAIL"); + return true; + } + + // .playerbot powerprobe + // One look at a player's mana: power type, mana now / max / base, the regen modifiers the client is sent, the spells being cast + // and every aura with the aura types of its effects. Run it a few times a second or two apart to see where mana goes. + static bool HandlePowerProbe(ChatHandler* handler, std::string name) + { + Player* p = normalizePlayerName(name) ? ObjectAccessor::FindPlayerByName(name) : nullptr; + if (!p || !p->IsInWorld()) + { + handler->SendSysMessage("powerprobe: no such player in the world"); + handler->SetSentErrorMessage(true); + return false; + } + + uint32 const manaIndex = p->GetPowerIndex(POWER_MANA); + float regenFlat = 0.0f; + float regenInterrupted = 0.0f; + if (manaIndex < MAX_POWERS_PER_CLASS) + { + regenFlat = p->m_unitData->PowerRegenFlatModifier[manaIndex]; + regenInterrupted = p->m_unitData->PowerRegenInterruptedFlatModifier[manaIndex]; + } + + handler->PSendSysMessage("powerprobe: %s level %u class %u race %u, power type %u, shapeshift form %u, %s; mana %d / %d (base %u, " + "index %u), regen %.2f, in combat regen %.2f", p->GetName().c_str(), uint32(p->GetLevel()), uint32(p->GetClass()), + uint32(p->GetRace()), uint32(p->GetPowerType()), uint32(p->GetShapeshiftForm()), p->IsInCombat() ? "in combat" : "out of combat", + p->GetPower(POWER_MANA), p->GetMaxPower(POWER_MANA), p->GetCreateMana(), manaIndex, regenFlat, regenInterrupted); + + LocaleConstant const locale = handler->GetSessionDbcLocale(); + for (CurrentSpellTypes type : { CURRENT_GENERIC_SPELL, CURRENT_CHANNELED_SPELL, CURRENT_AUTOREPEAT_SPELL }) + if (Spell const* spell = p->GetCurrentSpell(type)) + handler->PSendSysMessage("powerprobe: casting (slot %u) %u %s", uint32(type), spell->GetSpellInfo()->Id, + spell->GetSpellInfo()->SpellName ? (*spell->GetSpellInfo()->SpellName)[locale] : ""); + + for (auto const& [spellId, aurApp] : p->GetAppliedAuras()) + { + Aura const* aura = aurApp->GetBase(); + SpellInfo const* info = aura->GetSpellInfo(); + std::string effects; + for (AuraEffect const* eff : aura->GetAuraEffects()) + if (eff) + effects += fmt::format(" e{} type {} misc {} amount {} period {}", eff->GetEffIndex(), uint32(eff->GetAuraType()), + eff->GetMiscValue(), eff->GetAmount(), eff->GetPeriod()); + handler->PSendSysMessage("powerprobe: aura %u %s, %s, %d s left:%s", spellId, info->SpellName ? (*info->SpellName)[locale] : "", + aura->GetCasterGUID() == p->GetGUID() ? "own" : "from another", aura->GetDuration() < 0 ? -1 : aura->GetDuration() / 1000, + effects.c_str()); + } + return true; + } + + // .playerbot petprobe + // The player's pet and its stable: pet number, entry, level, the spell that summoned it and that spell's duration (a summon + // spell with a duration makes Pet::LoadPetFromDB treat the pet as temporary and skip loading its spells), and every spell the + // pet knows in memory with its save state and type; then every stable entry with its number, entry and summon spell. + static bool HandlePetProbe(ChatHandler* handler, std::string name) + { + Player* p = normalizePlayerName(name) ? ObjectAccessor::FindPlayerByName(name) : nullptr; + if (!p || !p->IsInWorld()) + { + handler->SendSysMessage("petprobe: no such player in the world"); + handler->SetSentErrorMessage(true); + return false; + } + + auto spellDuration = [](uint32 spellId) -> int32 + { + SpellInfo const* info = sSpellMgr->GetSpellInfo(spellId, DIFFICULTY_NONE); + return info ? info->GetDuration() : -2; + }; + + if (Pet* pet = p->GetPet()) + { + uint32 const createdBy = uint32(pet->m_unitData->CreatedBySpell); + handler->PSendSysMessage("petprobe: %s pet number %u entry %u level %u type %u, summoned by %u (duration %d ms -> %s), %u spells", + p->GetName().c_str(), pet->GetCharmInfo() ? pet->GetCharmInfo()->GetPetNumber() : 0u, pet->GetEntry(), uint32(pet->GetLevel()), + uint32(pet->getPetType()), createdBy, spellDuration(createdBy), spellDuration(createdBy) > 0 ? "TEMPORARY, spells not loaded" : "spells loaded", + uint32(pet->m_spells.size())); + for (auto const& [spellId, petSpell] : pet->m_spells) + handler->PSendSysMessage("petprobe: spell %u state %u type %u active %u", spellId, uint32(petSpell.state), uint32(petSpell.type), + uint32(petSpell.active)); + } + else + handler->PSendSysMessage("petprobe: %s has no pet out (unsummoned pet number %u)", p->GetName().c_str(), p->GetTemporaryUnsummonedPetNumber()); + + if (PetStable const* stable = p->GetPetStable()) + { + auto line = [&](PetStable::PetInfo const& info, char const* where) + { + handler->PSendSysMessage("petprobe: stable %s: number %u entry %u level %u type %u, summoned by %u (duration %d ms)", where, info.PetNumber, + info.CreatureId, uint32(info.Level), uint32(info.Type), info.CreatedBySpellId, spellDuration(info.CreatedBySpellId)); + }; + for (auto const& active : stable->ActivePets) + if (active) + line(*active, "active"); + for (PetStable::PetInfo const& unslotted : stable->UnslottedPets) + line(unslotted, "unslotted"); + } + return true; + } + // .playerbot collisionprobe [] // The collision height of each model of a creature template: the model's raw CollisionHeight, the height the core uses // (CreatureModelDataEntry::GetCollisionHeight, which reads the bounding box when the client marks the height "not set") and the @@ -5888,19 +6319,372 @@ public: return true; } + // .playerbot bugprobe [all|corpse|corpsecheck] + // Dev check of the 17 Nov code fixes without a client: each line says PASS or FAIL with the numbers. Run it on a bot standing on open, + // flat ground with no other creature within 10 yards (a city square is fine). Summons its own test creatures and removes them again. + // all melee reach by height (0001), second target of Blade Flurry / Sweeping Strikes (0019), Retribution Aura and Thorns + // spell power (0021), Triage patient bleed rate (0023), on a shaman totem level (0015), on a mage Missile Barrage (0027), + // on a paladin Judgement of Light / Wisdom (0032), Shield Specialization (0033) and Reckoning (0034) + // corpse kills the nearest spawned creature (no NPC flags, within 40 yards) and asks for its respawn now (0012) + // corpsecheck a few seconds later: PASS while only its corpse is there, FAIL if it stands up beside its corpse + static bool HandleBugProbe(ChatHandler* handler, std::string name, Optional mode) + { + static ObjectGuid::LowType s_corpseSpawn = 0; + static uint32 s_corpseMap = 0; + + Player* p = normalizePlayerName(name) ? ObjectAccessor::FindPlayerByName(name) : nullptr; + if (!p || !p->IsInWorld() || !p->IsAlive()) + { + handler->SendSysMessage("bugprobe: needs the name of a living player in the world"); + return false; + } + std::string const what = mode ? *mode : std::string("all"); + auto say = [&](std::string const& text) { handler->SendSysMessage(text); TC_LOG_INFO("playerbot.v2", "[bugprobe] {}", text); }; + auto verdict = [](bool ok) { return ok ? "PASS" : "FAIL"; }; + + if (what == "corpse") + { + Creature* best = nullptr; + float bestDist = 40.0f; + for (auto const& [spawnId, c] : p->GetMap()->GetCreatureBySpawnIdStore()) + { + if (!c->IsAlive() || c->IsSummon() || c->GetRespawnCompatibilityMode() || c->GetNpcFlags() || c->IsDungeonBoss() || !c->IsInWorld()) + continue; + float const d = p->GetDistance(c); + if (d < bestDist) + { + bestDist = d; + best = c; + } + } + if (!best) + { + say("0012 corpse: SKIP, no spawned creature without NPC flags within 40 yards; move the bot next to a mob"); + return true; + } + s_corpseSpawn = best->GetSpawnId(); + s_corpseMap = p->GetMapId(); + Unit::Kill(p, best, false); + p->GetMap()->Respawn(SPAWN_TYPE_CREATURE, s_corpseSpawn); + say(Trinity::StringFormat("0012 corpse: killed {} (spawn {}) at {:.1f} yd and asked for its respawn now; run 'corpsecheck' in 5 seconds", + best->GetName(), uint64(s_corpseSpawn), bestDist)); + return true; + } + if (what == "corpsecheck") + { + if (!s_corpseSpawn || s_corpseMap != p->GetMapId()) + { + say("0012 corpse: run 'corpse' first, with the bot on the same map"); + return false; + } + uint32 alive = 0, corpses = 0; + for (auto const& [spawnId, c] : Trinity::Containers::MapEqualRange(p->GetMap()->GetCreatureBySpawnIdStore(), s_corpseSpawn)) + { + if (c->IsAlive()) + ++alive; + else if (c->getDeathState() == CORPSE) + ++corpses; + } + if (corpses) + say(Trinity::StringFormat("0012 corpse: {} (spawn {}: {} corpse, {} alive; the respawn waits for the corpse)", verdict(alive == 0), + uint64(s_corpseSpawn), corpses, alive)); + else + say(Trinity::StringFormat("0012 corpse: SKIP, the corpse is already gone ({} alive); run 'corpse' again and check sooner", alive)); + return true; + } + if (what != "all") + { + handler->SendSysMessage("bugprobe: mode is all, corpse or corpsecheck"); + return false; + } + + std::string error; + Creature* d = Playerbot::Diagnostics::Parity::SpawnProcDummy(p, 2.5f, error); + if (!d) + { + say("bugprobe: no test creature: " + error); + return false; + } + + // 0001 melee reach counts height from body to body + { + float const h = d->GetCollisionHeight(); + auto at = [&](float dz) { return Position(d->GetPositionX() + 1.5f, d->GetPositionY(), d->GetPositionZ() + dz, 0.0f); }; + bool const head = p->IsWithinMeleeRangeAt(at(h), d); + bool const under = p->IsWithinMeleeRangeAt(at(-p->GetCollisionHeight()), d); + bool const far = p->IsWithinMeleeRangeAt(at(h + 10.0f), d); + say(Trinity::StringFormat("0001 melee: {} (mob height {:.2f}, reach {:.2f}: level with its head {}, under its feet {}, 10 yd above its head {})", + verdict(head && under && !far), h, p->GetMeleeRange(d), head ? "in" : "OUT", under ? "in" : "OUT", far ? "IN" : "out")); + } + + // 0019 Blade Flurry / Sweeping Strikes: the extra hit takes only a unit that can be attacked + { + Position const pos = p->GetNearPosition(2.0f, float(M_PI) / 2.0f); + TempSummon* e = p->GetMap()->SummonCreature(d->GetEntry(), pos, nullptr, 0ms, p); + if (!e) + say("0019 second target: SKIP, could not summon the second creature"); + else + { + e->SetFaction(14); + e->SetReactState(REACT_PASSIVE); + e->SetUnitFlag(UNIT_FLAG_NON_ATTACKABLE); + Unit* const blocked = p->SelectNearbyTarget(d, 5.0f); + e->RemoveUnitFlag(UNIT_FLAG_NON_ATTACKABLE); + Unit* const open = p->SelectNearbyTarget(d, 5.0f); + if (!p->IsWithinLOSInMap(e)) + say("0019 second target: SKIP, no line of sight to the second creature; move the bot to open ground"); + else if (blocked && blocked != e) + say(Trinity::StringFormat("0019 second target: SKIP, another unit ({}) is within 5 yards; move the bot", blocked->GetName())); + else + say(Trinity::StringFormat("0019 second target: {} (not attackable: {}, attackable: {})", verdict(blocked == nullptr && open == e), + blocked ? "TAKEN" : "skipped", open == e ? "taken" : "MISSED")); + e->DespawnOrUnsummon(); + } + } + + // 0021 Retribution Aura and Thorns: 6% of the caster's spell power + for (uint32 const spellId : { 10301u, 9910u }) + { + SpellInfo const* info = sSpellMgr->GetSpellInfo(spellId, DIFFICULTY_NONE); + Aura* aura = info ? p->AddAura(spellId, p) : nullptr; + AuraEffect const* eff = aura ? aura->GetEffect(EFFECT_0) : nullptr; + if (!eff) + { + say(Trinity::StringFormat("0021 shield {}: SKIP, the aura did not come up", spellId)); + if (aura) + p->RemoveAurasDueToSpell(spellId); + continue; + } + SpellSchoolMask const school = info->GetSchoolMask(); + float const amount = float(eff->GetAmount()); + int32 const sp0 = p->SpellBaseDamageBonusDone(school); + float const dmg0 = p->SpellDamageBonusDoneExact(d, info, amount, SPELL_DIRECT_DAMAGE, eff->GetSpellEffectInfo()); + p->ApplySpellPowerBonus(100, true); + int32 const sp1 = p->SpellBaseDamageBonusDone(school); + float const dmg1 = p->SpellDamageBonusDoneExact(d, info, amount, SPELL_DIRECT_DAMAGE, eff->GetSpellEffectInfo()); + p->ApplySpellPowerBonus(100, false); + p->RemoveAurasDueToSpell(spellId); + // hit = (base + share * spell power) * mod, where mod is the player's other damage done modifiers (school talents and the + // like). Two spell powers give share * mod (the slope) and, with the base, the mod itself. Reading the slope against the + // first hit alone was right only at 0 spell power: a level 60 mage with 386 and a 1.25 mod read 0.028 (PC run 17 Nov). + float const slope = sp1 != sp0 ? (dmg1 - dmg0) / float(sp1 - sp0) : 0.0f; + float const mod = amount > 0.0f ? (dmg0 - slope * float(sp0)) / amount : 0.0f; + float const share = mod > 0.0f ? slope / mod : 0.0f; + say(Trinity::StringFormat("0021 {} {}: {} (base {:.0f}, hit {:.2f} at {} spell power, {:.2f} at {}: {:.4f} per point of spell power, " + "other damage done modifiers x{:.3f})", info->SpellName->Str[LOCALE_enUS], spellId, verdict(std::fabs(share - 0.06f) < 0.003f), amount, + dmg0, sp0, dmg1, sp1, share, mod)); + } + + // 0023 Triage: a patient bleeds 50 health a second, at any update rate + if (TempSummon* patient = p->GetMap()->SummonCreature(12925, p->GetNearPosition(3.0f, float(M_PI)), nullptr, 0ms, p)) + { + if (patient->AI() && patient->GetScriptName() == "npc_injured_patient") + { + uint64 const before = patient->GetHealth(); + for (uint32 i = 0; i < 100; ++i) + patient->AI()->UpdateAI(10); // one second in 10 ms map updates + uint64 const after = patient->IsAlive() ? patient->GetHealth() : 0; + int64 const lost = int64(before) - int64(after); + say(Trinity::StringFormat("0023 Triage: {} (lost {} health in one second of 10 ms updates, from {} of {})", verdict(lost >= 49 && lost <= 51), + lost, before, patient->GetMaxHealth())); + } + else + say("0023 Triage: SKIP, the patient has no npc_injured_patient script"); + patient->DespawnOrUnsummon(); + } + else + say("0023 Triage: SKIP, could not summon a Critically Injured Soldier (12925)"); + + // 0027 Missile Barrage 400589: Arcane Missiles channels half as long with missiles every 0.5 s + if (p->GetClass() == CLASS_MAGE) + { + uint32 castResult[2] = { 0, 0 }; + auto channel = [&](bool barrage, int32& duration, int32& period) + { + if (barrage) + p->AddAura(400589, p); + p->InterruptNonMeleeSpells(true); + p->SetFacingToObject(d); + castResult[barrage ? 1 : 0] = uint32(p->CastSpell(d, 5143, TRIGGERED_FULL_MASK)); + // A channel with a duration is not cast inside CastSpell even when triggered (Spell::prepare): it waits as the current + // channel for the caster's next spell update. Run that update now, the same path the world tick takes, so the channel + // and its aura are up when they are read (PC run 17 Nov: read straight after CastSpell, 0 ms every 0 ms). + if (Spell* pending = p->GetCurrentSpell(CURRENT_CHANNELED_SPELL)) + if (pending->GetSpellInfo()->Id == 5143 && pending->getState() == SPELL_STATE_PREPARING) + pending->update(0); + duration = period = 0; + // the channel's aura sits on the mage (the missiles go to the channel's target, SpellAuraEffects.cpp), not on the dummy + if (Aura* missiles = p->GetAura(5143, p->GetGUID())) + { + duration = missiles->GetMaxDuration(); + if (AuraEffect const* eff = missiles->GetEffect(EFFECT_0)) + period = eff->GetPeriod(); + } + p->InterruptNonMeleeSpells(true); + p->RemoveAurasDueToSpell(5143); + p->RemoveAurasDueToSpell(400589); + }; + int32 plainDuration, plainPeriod, fastDuration, fastPeriod; + channel(false, plainDuration, plainPeriod); + channel(true, fastDuration, fastPeriod); + bool const ok = plainDuration > 0 && fastDuration * 2 == plainDuration && plainPeriod > 0 && fastPeriod == plainPeriod - 500; + say(Trinity::StringFormat("0027 Missile Barrage: {} (Arcane Missiles {} ms every {} ms; with the buff {} ms every {} ms; cast results {} {}, " + "dummy at {:.1f} yd)", verdict(ok), plainDuration, plainPeriod, fastDuration, fastPeriod, castResult[0], castResult[1], p->GetDistance(d))); + } + else + say("0027 Missile Barrage: SKIP, run bugprobe on a mage for this one"); + + // 0015 totems have their caster's level (Stoneskin Totem rank 1) + if (p->GetClass() == CLASS_SHAMAN) + { + auto const before = p->m_SummonSlot; + p->CastSpell(p, 8071, TRIGGERED_FULL_MASK); + Creature* totem = nullptr; + for (uint32 slot = SUMMON_SLOT_TOTEM; slot <= SUMMON_SLOT_TOTEM_4 && !totem; ++slot) + if (!p->m_SummonSlot[slot].IsEmpty() && p->m_SummonSlot[slot] != before[slot]) + totem = ObjectAccessor::GetCreature(*p, p->m_SummonSlot[slot]); + if (totem) + { + say(Trinity::StringFormat("0015 totem: {} ({} level {}, shaman level {})", verdict(totem->GetLevel() == p->GetLevel()), totem->GetName(), + totem->GetLevel(), p->GetLevel())); + totem->DespawnOrUnsummon(); + } + else + say("0015 totem: SKIP, Stoneskin Totem did not come up"); + } + else + say("0015 totem: SKIP, run bugprobe on a shaman for this one"); + + if (p->GetClass() == CLASS_PALADIN) + { + // 0032 Judgement of Light 20185 / Judgement of Wisdom 20186 on the dummy: hits on it heal / give mana to the attacker, not the dummy + for (bool const light : { true, false }) + { + uint32 const judgement = light ? 20185 : 20186; + Aura* aura = p->AddAura(judgement, d); + if (!aura) + { + say(Trinity::StringFormat("0032 judgement {}: SKIP, the debuff did not come up on the dummy", judgement)); + continue; + } + auto value = [&]() { return light ? int64(p->GetHealth()) : int64(p->GetPower(POWER_MANA)); }; + if (light) + p->SetHealth(p->CountPctFromMaxHealth(50)); + else + p->SetPower(POWER_MANA, p->GetMaxPower(POWER_MANA) / 2); + int64 const before = value(); + uint32 swings = 0, dummyGained = 0; + for (; swings < 30 && value() == before && d->IsAlive(); ++swings) + { + int64 const dummyBefore = light ? int64(d->GetHealth()) : int64(d->GetPower(POWER_MANA)); + p->AttackerStateUpdate(d, BASE_ATTACK); + int64 const dummyAfter = light ? int64(d->GetHealth()) : int64(d->GetPower(POWER_MANA)); + if (dummyAfter > dummyBefore) + ++dummyGained; + } + int64 const gained = value() - before; + say(Trinity::StringFormat("0032 judgement {}: {} (attacker got {} {} after {} swings; dummy gained {} times)", judgement, + verdict(gained > 0 && !dummyGained), gained, light ? "health" : "mana", swings, dummyGained)); + d->RemoveAurasDueToSpell(judgement, p->GetGUID()); + } + p->SetFullHealth(); + p->SetFullPower(POWER_MANA); + d->SetFullHealth(); + + // 0033 Shield Specialization 20150: mana only from blocked attacks. Blocking is switched off for the test, so no hit may give mana. + if (Aura* spec = p->AddAura(20150, p)) + { + SpellProcEntry const* procEntry = sSpellMgr->GetSpellProcEntry(spec->GetSpellInfo()); + bool const couldBlock = p->CanBlock(); + p->SetCanBlock(false); + p->SetPower(POWER_MANA, p->GetMaxPower(POWER_MANA) / 2); + int32 const manaBefore = p->GetPower(POWER_MANA); + uint64 const healthBefore = p->GetHealth(); + for (uint32 i = 0; i < 20 && p->IsAlive(); ++i) + d->AttackerStateUpdate(p, BASE_ATTACK); + int32 const manaGained = p->GetPower(POWER_MANA) - manaBefore; + bool const hit = p->GetHealth() < healthBefore; + p->SetCanBlock(couldBlock); + p->RemoveAurasDueToSpell(20150); + p->SetFullHealth(); + p->SetFullPower(POWER_MANA); + if (hit) + say(Trinity::StringFormat("0033 Shield Specialization: {} (20 unblockable dummy swings gave {} mana; proc hit mask {:#x})", + verdict(manaGained == 0 && procEntry && procEntry->HitMask == PROC_HIT_BLOCK), manaGained, procEntry ? procEntry->HitMask : 0u)); + else + say(Trinity::StringFormat("0033 Shield Specialization: SKIP, the dummy did not hit (proc hit mask {:#x})", procEntry ? procEntry->HitMask : 0u)); + } + else + say("0033 Shield Specialization: SKIP, the talent aura did not come up"); + + // 0034 Reckoning: two stored attacks are queued by the next swing and swung on the next update (the result goes to Playerbot.log a + // second later, look for "[bugprobe] 0034") + if (Aura* stored = p->AddAura(1326084, p)) + { + stored->SetStackAmount(2); + p->AttackerStateUpdate(d, BASE_ATTACK); + bool const queued = p->GetLastExtraAttackSpell() == 1326084 && !p->HasAura(1326084); + uint64 const dummyHealth = d->GetHealth(); + ObjectGuid const dummyGuid = d->GetGUID(); + say(Trinity::StringFormat("0034 Reckoning: {} so far (stacks used {}, extra attacks queued {}); the swing result follows in the log", + verdict(queued), p->HasAura(1326084) ? "no" : "yes", queued ? "yes" : "NO")); + p->m_Events.AddEventAtOffset([p, dummyGuid, dummyHealth, queued]() + { + Creature* dummy = ObjectAccessor::GetCreature(*p, dummyGuid); + bool const swung = p->GetLastExtraAttackSpell() == 0; + int64 const lost = dummy ? int64(dummyHealth) - int64(dummy->GetHealth()) : -1; + TC_LOG_INFO("playerbot.v2", "[bugprobe] 0034 Reckoning: {} (queue swung {}, dummy lost {} health after the first swing)", + (queued && swung && lost > 0) ? "PASS" : "FAIL", swung ? "yes" : "NO", lost); + }, 1s); + } + else + say("0034 Reckoning: SKIP, the stored attacks aura did not come up"); + } + else + say("0032-0034 paladin: SKIP, run bugprobe on a paladin for these"); + + // the paladin's Reckoning check reads the dummy a second later + d->DespawnOrUnsummon(3s); + return true; + } + // .playerbot casttest [@Player] [...] // Casts each active spell once at a dummy in melee reach (full power, no cooldowns, 0 combo points) and writes CastTest.tsv with what changed: // the cast result, the dummy's health, the caster's combo points, and every aura that appeared on either unit. A passive spell that carries spell // modifiers (aura 107/108) is not cast: the modifier is read through Player::ApplySpellMod against every spell the player knows that it names. // `>Name` names a friendly target (another online player) for positive spells that need one, such as a blessing; the dummy is used otherwise. + // `dist=` stands the dummy that far off instead of in melee reach, for spells with a minimum range (Feral Charge (Cat) 414924: 8-25 y). static bool HandleCastTest(ChatHandler* handler, Tail args) { Player* p = handler->GetSession() ? handler->GetSession()->GetPlayer() : nullptr; Player* friendTarget = nullptr; bool friendNamed = false; + Optional specArg; + float dummyDistance = 2.5f; std::vector ids; for (std::string_view token : Trinity::Tokenize(std::string_view(args), ' ', false)) { + if (token.substr(0, 5) == "dist=") + { + Optional dist = Trinity::StringTo(token.substr(5)); + if (!dist || *dist < 1.0f || *dist > 40.0f) + { + handler->PSendSysMessage("casttest: dist= needs yards from 1 to 40, e.g. dist=15"); + return false; + } + dummyDistance = *dist; + continue; + } + if (token.substr(0, 5) == "spec=") + { + specArg = Trinity::StringTo(token.substr(5)); + if (!specArg) + { + handler->PSendSysMessage("casttest: spec= needs a specialization id, e.g. spec=65 (Holy paladin) or spec=70 (Retribution)"); + return false; + } + continue; + } if (!token.empty() && token[0] == '@') { p = ObjectAccessor::FindPlayerByName(token.substr(1)); @@ -5920,11 +6704,26 @@ public: handler->PSendSysMessage("casttest: the friendly target after '>' is not an online living player"); return false; } - if (!p || !p->IsInWorld() || !p->IsAlive() || ids.empty()) + if (!p || !p->IsInWorld() || !p->IsAlive() || (ids.empty() && !specArg)) { - handler->PSendSysMessage("casttest: needs @Name of a living player in the world and at least one spell id"); + handler->PSendSysMessage("casttest: needs @Name of a living player in the world and at least one spell id (or spec=)"); return false; } + // spec= pins the bot's specialization (rotation, role and talent build) the way a role change does, so a Holy or Retribution paladin + // can be tested from the console when the fleet only has Protection ones. The pin lives until the server restarts; spec=0 clears it. + if (specArg) + { + if (!::Playerbot::Classic::SetSpecOverride(p, *specArg)) + { + handler->PSendSysMessage("casttest: %u is not a specialization of %s's class (or %s runs a real specialization)", *specArg, p->GetName().c_str(), p->GetName().c_str()); + return false; + } + ::Playerbot::Result const talents = p->IsInCombat() ? ::Playerbot::Result::Locked : ::Playerbot::API(p).apply_classic_talents(); + handler->PSendSysMessage("casttest: %s now plays specialization %u, talent build result %d%s", p->GetName().c_str(), ::Playerbot::Classic::EffectiveSpecId(p), + int(talents), talents == ::Playerbot::Result::Ok ? "" : " (not Ok: run spec= again in a few seconds)"); + if (ids.empty()) + return true; + } // spells that name a party or raid member (a blessing, a heal) need the target in the caster's group: put the named player in it, no invitation if (friendTarget && friendTarget != p && !(p->GetGroup() && p->GetGroup() == friendTarget->GetGroup())) { @@ -5981,12 +6780,15 @@ public: p->IsWithinLOSInMap(friendTarget) ? "yes" : "NO", int(friendTarget->GetTeleportState())); } std::string error; - Creature* d = Playerbot::Diagnostics::Parity::SpawnProcDummy(p, 2.5f, error); + Creature* d = Playerbot::Diagnostics::Parity::SpawnProcDummy(p, dummyDistance, error); if (!d) { handler->PSendSysMessage("casttest: no dummy: %s", error.c_str()); return false; } + // where the dummy stands before the first cast (a leap or a charge moves the caster) + std::string const dummyPlace = Trinity::StringFormat("dummy at {:.1f} yd, height {:+.1f} yd, line of sight {}", p->GetDistance(d), + d->GetPositionZ() - p->GetPositionZ(), p->IsWithinLOSInMap(d) ? "yes" : "NO"); std::string const path = sLog->GetLogsDir() + "CastTest.tsv"; std::ofstream out(path, std::ios::trunc); if (!out) @@ -6098,12 +6900,42 @@ public: p->SetPower(pw, p->GetMaxPower(pw)); p->SetPower(POWER_COMBO_POINTS, 0); p->SetFacingToObject(d); + // A bot keeps casting on its own: a cast it has under way fails ours with SPELL_FAILED_SPELL_IN_PROGRESS (126), so it is stopped first. + p->InterruptNonMeleeSpells(false); std::set const casterBefore = auraIds(p), dummyBefore = auraIds(d), friendBefore = friendTarget ? auraIds(friendTarget) : std::set(); + // A helpful spell goes on the friend after '>', otherwise on the caster: a heal that needs an explicit target (Holy Light) is not + // cast on the hostile dummy, which fails with SPELL_FAILED_BAD_TARGETS (13). A spell whose explicit target is an enemy goes on the + // dummy even when it counts as positive: Feral Charge (Cat) 414924 (a leap behind an enemy) failed 13 on the caster. + bool const helpful = (info->IsPositive() || info->HasEffect(SPELL_EFFECT_HEAL)) + && !(info->GetExplicitTargetMask() & TARGET_FLAG_UNIT_ENEMY); + Unit* const target = friendTarget ? static_cast(friendTarget) : (helpful ? static_cast(p) : static_cast(d)); + // A direct heal on a unit at full health shows nothing: the target is put at half health first and the heal is cast at once + // (no cast time), so the health it gains is the heal that landed (leenergetic, 2026-11-16: "the heal is cast but has no effect"). + bool const directHeal = info->HasEffect(SPELL_EFFECT_HEAL) && target != d; + int64 healTargetBefore = 0; + if (directHeal) + { + target->SetHealth(std::max(1, target->GetMaxHealth() / 2)); + healTargetBefore = int64(target->GetHealth()); + } int64 const dummyHp = d->GetHealth(), casterHp = p->GetHealth(); comboBefore = p->GetPower(POWER_COMBO_POINTS); - Unit* const target = friendTarget ? static_cast(friendTarget) : - (info->IsPositive() && !info->NeedsExplicitUnitTarget() ? static_cast(p) : static_cast(d)); - SpellCastResult const r = p->CastSpell(target, id, CastSpellExtraArgs(TRIGGERED_NONE)); + SpellCastResult const r = p->CastSpell(target, id, CastSpellExtraArgs(directHeal ? TRIGGERED_CAST_DIRECTLY : TRIGGERED_NONE)); + if (directHeal) + { + mods += Trinity::StringFormat("heal on {} at half health: +{} (max health {}); ", target->GetName(), + int64(target->GetHealth()) - healTargetBefore, target->GetMaxHealth()); + target->SetFullHealth(); + } + // Out of power although the caster was just filled up (Roland, Prot paladin, 17 Nov: Holy Light 108): what the spell costs, in + // which power, against what the caster holds of it and its display power. + if (r == SPELL_FAILED_NO_POWER) + { + mods += Trinity::StringFormat("display power {}; ", int32(p->GetPowerType())); + for (SpellPowerCost const& cost : info->CalcPowerCost(p, info->GetSchoolMask())) + mods += Trinity::StringFormat("cost {} of power {}, caster has {} of {}; ", cost.Amount, int32(cost.Power), + p->GetPower(cost.Power), p->GetMaxPower(cost.Power)); + } result = Trinity::StringFormat("{}", int(r)); comboAfter = p->GetPower(POWER_COMBO_POINTS); dummyDelta = int64(d->GetHealth()) - dummyHp; @@ -6145,7 +6977,7 @@ public: out << Trinity::StringFormat("{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\t{}\n", id, name, result, dummyDelta, casterDelta, comboBefore, comboAfter, casterAuras, dummyAuras, mods, targets); } d->DespawnOrUnsummon(); - handler->PSendSysMessage("casttest: %s, %zu spells; lines in %s", p->GetName().c_str(), ids.size(), path.c_str()); + handler->PSendSysMessage("casttest: %s, %zu spells, %s; lines in %s", p->GetName().c_str(), ids.size(), dummyPlace.c_str(), path.c_str()); return true; } diff --git a/src/modules/PlayerbotV2/Diagnostics/ScenarioDefs.h b/src/modules/PlayerbotV2/Diagnostics/ScenarioDefs.h index 333d81a0a1..ad615efb19 100644 --- a/src/modules/PlayerbotV2/Diagnostics/ScenarioDefs.h +++ b/src/modules/PlayerbotV2/Diagnostics/ScenarioDefs.h @@ -87,6 +87,9 @@ struct ScenarioDef // A fixed landing spot instead of the ring search (z != 0), path-checked to the creature once, as a checkpoint's staging spot: a room // whose own corners are the danger (Kel'Thuzad's alcoves full of phase 1 adds that a raid on the rings walks into). float stage_x = 0.f, stage_y = 0.f, stage_z = 0.f; + // The point the staging spot's route is checked to instead of the boss (z != 0): a boss who stands where no raider walks until his + // fight brings him down (Gothik on his balcony, 18 y above his room: naxx22 failed its setup at 0 s, no route from the floor to him). + float route_x = 0.f, route_y = 0.f, route_z = 0.f; // The school the squad gears resistance for, as a vanilla raid dressed for the fight (nature for Princess Huhuran); 0 = none. Every // armour and jewellery slot takes the piece with the most of it under the tier's item level (GearGenerationContext::resist_school). std::uint8_t resist_school = 0; @@ -319,6 +322,7 @@ struct RaidBossRow std::uint32_t start_add = 0; // see ScenarioDef::start_add float clear_formation_beyond = 0.f; // see ScenarioDef::clear_formation_beyond float stage_x = 0.f, stage_y = 0.f, stage_z = 0.f; // a listed landing spot instead of the ring search; see ScenarioDef::stage_x + float route_x = 0.f, route_y = 0.f, route_z = 0.f; // see ScenarioDef::route_x // The instance data of the bosses a raid kills before this one (SetData type, value), set at the attack: see ScenarioDef::start_instance_data. std::array, 8> start_data{}; std::uint8_t start_data_n = 0; @@ -396,6 +400,13 @@ constexpr RaidBossRow Staged(RaidBossRow r, float x, float y, float z) return r; } +// A staged row whose boss no raider can walk to before his fight (ScenarioDef::route_x): the landing's route is checked to this point. +constexpr RaidBossRow RoutesTo(RaidBossRow r, float x, float y, float z) +{ + r.route_x = x; r.route_y = y; r.route_z = z; + return r; +} + // A row whose boss a raid fights after others, with fight parts that only the living ones bring (Hakkar's five Aspects and his Power // stacks, one per High Priest alive): the instance data the runner sets at the attack (ScenarioDef::start_instance_data), in order. constexpr RaidBossRow After(RaidBossRow r, std::initializer_list> data) @@ -475,6 +486,7 @@ inline ScenarioDef MakeRaidScenario(RaidBossRow const& r, RaidEntrance const& e, d.start_add = r.start_add; d.clear_formation_beyond = r.clear_formation_beyond; d.stage_x = r.stage_x; d.stage_y = r.stage_y; d.stage_z = r.stage_z; + d.route_x = r.route_x; d.route_y = r.route_y; d.route_z = r.route_z; d.start_instance_data.assign(r.start_data.begin(), r.start_data.begin() + r.start_data_n); d.order_attack = true; d.order_delay_ms = 20000; @@ -724,8 +736,14 @@ inline constexpr RaidBossRow kNaxxBosses[] = { 16011, "Loatheb", 25 }, { "naxx_razuvious", "Naxxramas: 40 level 60 raiders to Instructor Razuvious (priests control the understudies that tank him)", 16061, "Instructor Razuvious", 20, 16803 }, // Deathknight Understudy - { "naxx_gothik", "Naxxramas: 40 level 60 raiders to Gothik the Harvester (the side split, waves, the gate, teleports)", - 16060, "Gothik the Harvester", 25 }, + // Gothik stands on his balcony (2642.1,-3387.0,285.5); his room's floor, where the combat gate stands (2692.07,-3360.78,267.5), is 18 y + // below it. The ring search landed the raid at the balcony's height (2670.9,-3359.2,285.8, naxx-data-1114a), where the raid brain's + // side split does not count it in the room: no split, and he reset at his first speech for fewer than 10 players on a side (naxx21, + // 1114a). The raid lands on the living side's floor, 26 y south of the gate, and splits from there (RaidMechanics_Naxx.cpp, Gothik). + // Nobody walks to him on the balcony, so the landing's route is checked to the dead side's spot of that split, 18 y north of the gate + // (GothAnchor's first try): the way half the raid walks before the pull. + RoutesTo(Staged({ "naxx_gothik", "Naxxramas: 40 level 60 raiders to Gothik the Harvester (the side split, waves, the gate, teleports)", + 16060, "Gothik the Harvester", 25 }, 2691.2f, -3387.0f, 267.7f), 2692.1f, -3342.8f, 267.5f), Sight(Keeps({ "naxx_horsemen", "Naxxramas: 40 level 60 raiders to the Four Horsemen (marks, the tank rotation, Void Zones, Meteor)", 16062, "Highlord Mograine", 25, 16063 }, 16064, 16065), 83.f), // Zeliek, Korth'azz, Blaumeux; they see 75 y // His formation in the world DB spans the hall's trash (Bile Retchers 16018, 16017, 16021, 16029, 3000-3171 x, up to 300 y from him), @@ -734,8 +752,13 @@ inline constexpr RaidBossRow kNaxxBosses[] = { // of his sight twice (1114e, 1114f: 17 spots near the walk, 43 out of sight, 158 without floor) and the healers' heals failed for line // of sight while the tanks died at the edge of the walk. It waits on the room's lower floor south of the walk (z 292.6, out of his // sight while he walks), and once he is pulled it goes up into the hall, where he is fought (RaidEncounterData_NAXX.cpp). + // That lower floor lies behind his exit gate (181123 at 3318.0,-3254.4, closed until he dies): with bot paths kept clear of closed + // doors the staging route stopped at the gate (release-0138 setup: path type 0x4, 46 y for 69 y straight), and no player stands + // there before he dies. The raid waits at the hall's west end instead, on its own floor (z 294.1): a complete 48.5 y route to his + // spawn, away from the gate (PC check on the map 533 navmesh, 2026-11-18). It is in his hall, so if his walk reaches it during the + // hold he is pulled early: watch the first run for that. Staged(ClearsFormation({ "naxx_patchwerk", "Naxxramas: 40 level 60 raiders to Patchwerk (Hateful Strike soaked by three off tanks)", - 16028, "Patchwerk", 15 }, 20.f), 3285.0f, -3297.0f, 292.6f), + 16028, "Patchwerk", 15 }, 20.f), 3260.0f, -3232.0f, 294.1f), { "naxx_grobbulus", "Naxxramas: 40 level 60 raiders to Grobbulus (Mutating Injection carrier runs, poison clouds, Slime Spray cone)", 15931, "Grobbulus", 20 }, // Gluth sees 49 y (MoveInLineOfSight, classic_boss_gluth.cpp) from his spawn 3283.1,-3157.0 in the middle of his room. The raid lands @@ -751,6 +774,13 @@ inline constexpr RaidBossRow kNaxxBosses[] = { // splits the raid onto them before the pull (RaidMechanics_Naxx.cpp, Thaddius). Staged(OpensOn(Keeps({ "naxx_thaddius", "Naxxramas: 40 level 60 raiders to Thaddius (Stalagg and Feugen first, Static Field, Polarity Shift sides)", 15928, "Thaddius", 25, 15929 }, 15930), 15929), 3421.9f, -3017.5f, 295.6f), // Stalagg, Feugen + // Sapphiron has no creature row: the instance summons him at his lair once the raid touches his bones (GO_SAPPHIRON_SPAWN, Birth in + // classic_boss_sapphiron.cpp; EVENT_SPAWN_SAPPHIRON at aSapphPositions, classic_naxxramas.h). The runner summons him there, as for + // Ragnaros. Frost Aura (28529) on the whole raid, Life Drain, Blizzard, Cleave and Tail Sweep on the ground, then the air phase every 40 s + // of ground: Icebolts that freeze their targets into ice blocks and Frost Breath, which only the blocks shelter from + // (RaidMechanics_Naxx.cpp, Sapphiron). Worn in frost resistance, as a raid goes in. + Sight(Resist({ "naxx_sapphiron", "Naxxramas: 40 level 60 raiders to Sapphiron (Frost Aura, Life Drain decursed, Blizzard, air phase: ice blocks and Frost Breath)", + 15989, "Sapphiron", 25, 0, 0, 0, 3522.56f, -5236.76f, 137.626f, 4.4855f }, ScnSchool::Frost), 60.f), }; // ---- Naxxramas, Kel'Thuzad: the whole fight from the start of phase 1, 40 level 60 raiders ---- diff --git a/src/modules/PlayerbotV2/Diagnostics/ScenarioRunner.cpp b/src/modules/PlayerbotV2/Diagnostics/ScenarioRunner.cpp index 424ecc2bf3..1b23838fe9 100644 --- a/src/modules/PlayerbotV2/Diagnostics/ScenarioRunner.cpp +++ b/src/modules/PlayerbotV2/Diagnostics/ScenarioRunner.cpp @@ -63,6 +63,7 @@ #include "Util.h" #include "fmt/format.h" +#include "SpellAuraEffects.h" #include "SpellAuras.h" #include "SpellHistory.h" #include "SpellInfo.h" @@ -181,6 +182,16 @@ struct PullStat // capped by the tank's threat, not by its rotation). For the boss's victim: the seconds it was the victim. float threat_last = 0.f; std::uint32_t threat_peak_pct = 0, threat_capped = 0, victim_seconds = 0; + // The seconds counted in , split by what the raider's own victim was doing: in its melee reach (a step around a target it can + // already hit), the victim walking too (a chase), or neither (a walk to a spot). naxx_patchwerk / naxx_gluth 1116 run 4: rogues and + // warriors moving 72-91 s of 251 on a boss that stands still, and 157-204 s of 362 on Gluth, with nothing in the log saying why. + std::uint32_t moving_in_reach = 0, moving_victim_moving = 0; + // ... and for the seconds in reach, the movement generator that moved it and the bot rule fired last (run 5: rogues and the + // retribution paladin moving 74-96 s of 246 within reach of Patchwerk, who stands still). + std::map in_reach_movers; + // A tank's victim at the last sample: a change is logged with the rule that held its tick (naxx_maexxna r23: the main tank was on a + // spiderling 12 y from Maexxna at 39 s, "assigned Maexxna", she was on the second tank, and the log could not say what took it off her). + ObjectGuid tank_victim; // Damage and healing by spell, the breakdown a combat log parse shows (what each raider's damage came from, how much of a heal was // overheal). Added from the map threads, hence the lock. Key: spell id, bit 31 set for the raider's pet; 0 = a melee swing. struct SpellTally { std::uint64_t damage = 0; std::uint32_t hits = 0; std::uint64_t heal_raw = 0, heal_eff = 0; std::uint32_t heals = 0; }; @@ -286,6 +297,7 @@ struct Run bool checkpoint = false; bool has_stage = false; // a checkpoint with a listed staging spot (ScenarioCheckpoint::stage_*) float stage_x = 0.f, stage_y = 0.f, stage_z = 0.f; + float route_x = 0.f, route_y = 0.f, route_z = 0.f; // where the staging route is checked to instead of the creature (ScenarioDef::route_x) std::string from_key; // Which of the squads running side by side this is (0 = the first): a squad beyond the first is made of characters of its own, // with the slot's letter in their names (SquadName). @@ -827,8 +839,14 @@ constexpr float kArriveClearance = 40.f; // is not in the world: his patrol through his own room left no spot in his sight 30 y off the walk (naxx_patchwerk 1114e: the raid landed // out of his sight on the floor 1.6 y below, and 9-12 heals per healer failed for line of sight in the first 10 s while the tanks died), // and the order goes out while he is still kPatrolOrderYards off, so only his reach matters while he walks past. +// GetAttackDistance is the reach between the two edges: the core's sight check (Creature::CanStartAttack, IsWithinDistInMap) adds both +// combat reaches to it, so the clearance carries the boss's reach and a raider's too, and kPatrolPetMargin for the pets standing beside +// their owners. naxx_grobbulus naxx22 1116: 17 y of clearance (his attack distance is the 5 y minimum, his reach not counted), the raid held +// 56 s for its blessings, and on his walk past he took a warlock's imp at the edge of the squad, killed it, and evaded with nobody else on +// his threat list: the run failed at 79 s with him at 100%. constexpr float kPatrolClearance = 30.f; constexpr float kPatrolSpreadMargin = 12.f; // the squad's spread round the landing spot (8 y) plus a step +constexpr float kPatrolPetMargin = 4.f; // a pet stands up to this far beside its owner // A dungeon checkpoint lands the squad among the trash the group would meet anyway (it is bot-led from the first second), so it must // only be out of every pack's aggro, not 40 y clear: a 5-man has hostiles everywhere (deadmines_full@sneed: the nearest to any candidate @@ -1327,7 +1345,12 @@ bool PickArrival(Run& run, Player* leader) // stands at the instance's entrance, hundreds of yards off, and FindBoss from there found nobody (naxx_thaddius 1115e checked the // route to Thaddius again, 129 y straight, and failed the same way). Stalagg and Feugen are his summons, so not in the spawn store. float tx = run.boss_x, ty = run.boss_y, tz = run.boss_z; - if (run.def->start_add) + if (run.route_z != 0.f) + { + tx = run.route_x; ty = run.route_y; tz = run.route_z; + TC_LOG_INFO("playerbot.v2", "[scenario] {} the staging route is checked to {:.1f},{:.1f},{:.1f}, not to the boss", run.def->name, tx, ty, tz); + } + else if (run.def->start_add) { Creature* boss = nullptr; float bossDist = 50.f; @@ -1410,7 +1433,8 @@ bool PickArrival(Run& run, Player* leader) if (Creature const* boss = FindBoss(run)) { path_id = boss->GetWaypointPathId(); - patrol_clearance = boss->GetAttackDistance(leader) + kPatrolSpreadMargin; + patrol_clearance = boss->GetAttackDistance(leader) + boss->GetCombatReach() + leader->GetCombatReach() + kPatrolSpreadMargin + + kPatrolPetMargin; } if (!path_id && run.boss_spawn_id) if (CreatureAddon const* addon = sObjectMgr->GetCreatureAddon(run.boss_spawn_id)) @@ -1662,13 +1686,49 @@ void LogBuffs(Run const& run) if (!p) continue; std::string auras; + // What each buff does to health, by its effects (sta = stamina, sta% / all% = a percent of stamina / of all stats, hp = flat health, + // hp% = percent health): naxx_patchwerk 1116 run 5, the tanks at 10.9k with Fortitude, Kings, the Wild, Flask of the Titans, + // Mol'dar's and Zandalar on them, about 4k short of what those buffs add on T3, and nothing in the log said which one fell short. + std::string health, other; for (auto const& [id, app] : p->GetAppliedAuras()) if (app->IsPositive() && app->GetBase() && !app->GetBase()->IsPassive()) + { auras += fmt::format("{}{}", auras.empty() ? "" : " ", id); + for (AuraEffect const* eff : app->GetBase()->GetAuraEffects()) + { + if (!eff) + continue; + int32 const misc = eff->GetMiscValue(); + char const* kind = nullptr; + switch (eff->GetAuraType()) + { + case SPELL_AURA_MOD_STAT: kind = (misc == STAT_STAMINA || misc < 0) ? "sta" : nullptr; break; + case SPELL_AURA_MOD_PERCENT_STAT: + case SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE: kind = misc == STAT_STAMINA ? "sta%" : misc < 0 ? "all%" : nullptr; break; + case SPELL_AURA_MOD_INCREASE_HEALTH: + case SPELL_AURA_MOD_INCREASE_HEALTH_2: kind = "hp"; break; + case SPELL_AURA_MOD_INCREASE_HEALTH_PERCENT: + case SPELL_AURA_MOD_INCREASE_HEALTH_PERCENT2: kind = "hp%"; break; + default: break; + } + if (kind) + health += fmt::format(" {}:{}{:+}", id, kind, eff->GetAmountAsInt()); + else if (p->GetPowerType() == POWER_RAGE || m.def.role == ScenarioRoleKind::Tank) + // A tank's other effects too, by aura type / misc value (run 6: Mol'dar's Fortitude 22818 and Songflower 15366 on + // every tank and neither showed as health or stamina). + other += fmt::format(" {}:t{}/{}{:+}", id, uint32(eff->GetAuraType()), misc, eff->GetAmountAsInt()); + } + } TC_LOG_INFO("playerbot.v2", "[scenario] buffs {} hp={}/{} mana={}/{} resist fire={} nature={} frost={} shadow={} arcane={} auras [{}]", p->GetName(), p->GetHealth(), p->GetMaxHealth(), p->GetPower(POWER_MANA), p->GetMaxPower(POWER_MANA), p->GetResistance(SPELL_SCHOOL_FIRE), p->GetResistance(SPELL_SCHOOL_NATURE), p->GetResistance(SPELL_SCHOOL_FROST), p->GetResistance(SPELL_SCHOOL_SHADOW), p->GetResistance(SPELL_SCHOOL_ARCANE), auras); + TC_LOG_INFO("playerbot.v2", "[scenario] health {} max={} stamina={} (base {}) base health {} flat +{} pct x{:.2f} stamina pct x{:.2f} |{}", + p->GetName(), p->GetMaxHealth(), int32(p->GetStat(STAT_STAMINA)), int32(p->GetCreateStat(STAT_STAMINA)), p->GetCreateHealth(), + int32(p->GetFlatModifierValue(UNIT_MOD_HEALTH, TOTAL_VALUE)), p->GetPctModifierValue(UNIT_MOD_HEALTH, TOTAL_PCT), + p->GetPctModifierValue(UNIT_MOD_STAT_STAMINA, TOTAL_PCT), health.empty() ? " -" : health); + if (!other.empty()) + TC_LOG_INFO("playerbot.v2", "[scenario] effects {}{}", p->GetName(), other); } } @@ -2471,6 +2531,15 @@ void ReportPull(Run& run, char const* when) } if (st.mana_min <= 100) rules += fmt::format(" | mana avg {}% min {}% seconds under 20% {}", alive ? st.mana_sum / alive : 0u, st.mana_min, st.mana_lt20); + if (st.moving) + rules += fmt::format(" | moving in its victim's reach {} s, after a moving victim {} s, elsewhere {} s", st.moving_in_reach, + st.moving_victim_moving, st.moving - std::min(st.moving, st.moving_in_reach + st.moving_victim_moving)); + if (!st.in_reach_movers.empty()) + { + rules += " | in reach moved by"; + for (auto const& [k, n] : st.in_reach_movers) + rules += fmt::format(" {}={}", k, n); + } TC_LOG_INFO("playerbot.v2", "[pull_stats] {} {} {} {} damage={} boss={} hits={} seconds={} casting={} moving={} held={} dead={} rules{}", run.def->name, m.def.name, ClassName(m.def.cls), RoleName(m.def.role), st.damage.load(), st.boss_damage.load(), st.hits.load(), st.seconds, st.casting, st.moving, st.held, st.dead, rules.empty() ? " -" : rules); @@ -2528,10 +2597,45 @@ void SamplePull(Run& run) st.threat_capped += pct >= kThreatCappedPct ? 1u : 0u; } } + if (m.def.role == ScenarioRoleKind::Tank) + { + Unit* const v = p->GetVictim(); + ObjectGuid const vg = v ? v->GetGUID() : ObjectGuid::Empty; + if (vg != st.tank_victim) + { + Unit* const was = st.tank_victim.IsEmpty() ? nullptr : ObjectAccessor::GetUnit(*p, st.tank_victim); + BotAI* tai = ::Playerbot::Services::Registry().ai(m.id); + char const* r = tai ? tai->last_rule_fired() : nullptr; + std::string const from = was ? fmt::format("{} ({}) {:.0f}% {:.0f} y{}", was->GetName(), was->GetEntry(), was->GetHealthPct(), + p->GetExactDist2d(was), was->GetVictim() == p ? " on it" : "") + : std::string("-"); + std::string const to = v ? fmt::format("{} ({}) {:.0f}% {:.0f} y, on {}", v->GetName(), v->GetEntry(), v->GetHealthPct(), + p->GetExactDist2d(v), v->GetVictim() ? v->GetVictim()->GetName() : std::string("-")) + : std::string("-"); + TC_LOG_INFO("playerbot.v2", "[scenario] {} t={}s tank {} switches from {} to {}, rule={}, boss on {}", run.def->name, + (run.run_ms - run.pull_start_ms) / 1000u, p->GetName(), from, to, r ? r : "-", + boss_victim ? boss_victim->GetName() : std::string("-")); + st.tank_victim = vg; + } + } if (p->IsNonMeleeSpellCast(false)) ++st.casting; if (p->isMoving()) + { ++st.moving; + if (Unit* v = p->GetVictim()) + { + if (p->IsWithinMeleeRange(v)) + { + ++st.moving_in_reach; + BotAI* mai = ::Playerbot::Services::Registry().ai(m.id); + char const* r = mai ? mai->last_rule_fired() : nullptr; + ++st.in_reach_movers[fmt::format("gen {} {}", uint32(p->GetMotionMaster()->GetCurrentMovementGeneratorType()), r ? r : "-")]; + } + else if (v->isMoving()) + ++st.moving_victim_moving; + } + } if (p->GetMaxPower(POWER_MANA) > 0) { std::uint32_t const pct = std::uint32_t(std::uint64_t(p->GetPower(POWER_MANA)) * 100u / std::uint64_t(p->GetMaxPower(POWER_MANA))); @@ -3240,6 +3344,7 @@ bool BeginScenario(std::string const& full_name, int slot, std::string& error) { run.has_stage = true; run.stage_x = def->stage_x; run.stage_y = def->stage_y; run.stage_z = def->stage_z; + run.route_x = def->route_x; run.route_y = def->route_y; run.route_z = def->route_z; } run.from_key = from_key; if (run.arrive_entry && !FindBossSpawn(run)) diff --git a/src/modules/PlayerbotV2/Fleet/BotComposition.cpp b/src/modules/PlayerbotV2/Fleet/BotComposition.cpp index a8956927f5..c9d2c4f6e3 100644 --- a/src/modules/PlayerbotV2/Fleet/BotComposition.cpp +++ b/src/modules/PlayerbotV2/Fleet/BotComposition.cpp @@ -59,6 +59,7 @@ constexpr std::array kAllianceRaces = { { { RACE_MECHAGNOME, 1 }, { RACE_EARTHEN_DWARF_ALLIANCE,2 }, { 86, 1 }, // Haranir (Midnight) — currently disabled in TC + { Fleet::Skyborne::kRaceAlliance, Fleet::Skyborne::kRaceWeight }, // High Order Skyborne (Classic 1.60 only) } }; constexpr std::array kHordeRaces = { { diff --git a/src/modules/PlayerbotV2/Fleet/BotPopulationManager.cpp b/src/modules/PlayerbotV2/Fleet/BotPopulationManager.cpp index 0d3372599f..3d429858dd 100644 --- a/src/modules/PlayerbotV2/Fleet/BotPopulationManager.cpp +++ b/src/modules/PlayerbotV2/Fleet/BotPopulationManager.cpp @@ -766,8 +766,9 @@ static bool EnsureShieldTankWeapon(Player* p) if (oh && oh->GetTemplate() && oh->GetTemplate()->GetInventoryType() == INVTYPE_SHIELD) return false; + // A fishing pole is no tank weapon whatever its inventory type (11-17: a tank given "different gear sets" tanked with one). bool const mh_is_2h = mh && mh->GetTemplate() && - mh->GetTemplate()->GetInventoryType() == INVTYPE_2HWEAPON; + (mh->GetTemplate()->GetInventoryType() == INVTYPE_2HWEAPON || Gear::IsFishingPole(mh->GetEntry())); Gear::GearGenerationContext ctx; ctx.level = p->GetLevel(); diff --git a/src/modules/PlayerbotV2/Fleet/WorldBotSpawner.cpp b/src/modules/PlayerbotV2/Fleet/WorldBotSpawner.cpp index 4f0286c367..00bc41e246 100644 --- a/src/modules/PlayerbotV2/Fleet/WorldBotSpawner.cpp +++ b/src/modules/PlayerbotV2/Fleet/WorldBotSpawner.cpp @@ -53,6 +53,7 @@ #include "StringFormat.h" #include "MotionMaster.h" #include "../Bot/World/ZonePicker.h" +#include "../Bot/World/GrindSpot.h" #include "../Bot/World/SpreadSpot.h" #include "Config.h" #include "GameTime.h" @@ -258,6 +259,8 @@ void WorldBotSpawner::LoadConfig() c.city_bots = uint32(sConfigMgr->GetIntDefault("Playerbot.World.CityBots", 0, true)); c.zone_bots = uint32(sConfigMgr->GetIntDefault("Playerbot.World.ZoneBots", 0, true)); c.start_zone_bots = uint32(sConfigMgr->GetIntDefault("Playerbot.World.StartZoneBots", 25, true)); + c.mobs_per_bot = uint32(std::clamp(sConfigMgr->GetIntDefault("Playerbot.World.MobsPerBot", 10, true), 0, 1000)); + c.supply_floor = uint32(std::clamp(sConfigMgr->GetIntDefault("Playerbot.World.MobSupplyFloor", 5, true), 0, 1000)); c.activity_radius = std::max(50.0f, sConfigMgr->GetFloatDefault("Playerbot.World.ActivityRadius", 300.0f, true)); c.despawn_radius = std::max(c.activity_radius * 1.1f, sConfigMgr->GetFloatDefault("Playerbot.World.DespawnRadius", c.activity_radius * 1.5f, true)); @@ -862,8 +865,23 @@ void WorldBotSpawner::TrackMotion(uint32 now_ms, std::vector& anchors) it = seen.count(it->first) ? std::next(it) : motion_.erase(it); } -// Plain bot numbers: what one place wants before the cap is shared (city number, the zone's rolled number, the start-zone cap, -// then the hour of the day). +uint32 WorldBotSpawner::SupplyCapFor(Anchor const& a) const +{ + if (!cfg_.mobs_per_bot) + return UINT32_MAX; + uint64 const key = ::Playerbot::V2::Fleet::PlaceKey(a.map, a.zone); + if (auto it = supply_cap_.find(key); it != supply_cap_.end() && it->second.level == a.level) + return it->second.cap; + uint32 const mobs = ::Playerbot::V2::World::GrindMobsNear(a.alliance, a.map, a.x, a.y, a.level, cfg_.activity_radius); + uint32 const cap = ::Playerbot::V2::World::SupplyBotCap(mobs, cfg_.mobs_per_bot, cfg_.supply_floor); + supply_cap_[key] = SupplyCap{ a.level, cap }; + TC_LOG_INFO("playerbot.v2", "[world] mob supply zone {} L{}: {} mobs of the level within {:.0f} y -> at most {} bots (MobsPerBot {}, floor {})", + a.zone, uint32(a.level), mobs, cfg_.activity_radius, cap, cfg_.mobs_per_bot, cfg_.supply_floor); + return cap; +} + +// Plain bot numbers: what one place wants before the cap is shared (city number, the zone's rolled number, the mob supply of a +// leveling zone, the start-zone cap, then the hour of the day). uint32 WorldBotSpawner::PlaceWantFor(Anchor const& a) { namespace F = ::Playerbot::V2::Fleet; @@ -875,7 +893,7 @@ uint32 WorldBotSpawner::PlaceWantFor(Anchor const& a) auto it = zone_roll_.find(key); if (it == zone_roll_.end()) it = zone_roll_.emplace(key, F::ZoneRoll(cfg_.zone_lo, cfg_.zone_hi, urand(0, 0x7FFFFFFF))).first; - want = it->second; + want = std::min(it->second, SupplyCapFor(a)); } bool const start_zone = !town && cfg_.start_zone_bots && ::Playerbot::V2::World::IsStartZone(a.zone); if (start_zone) @@ -901,6 +919,7 @@ void WorldBotSpawner::PlanPlaces(uint32 now_ms, std::vector const& ancho if (getMSTimeDiff(it->second, now_ms) > std::max(cfg_.leave_zone_ms, 1000u)) { zone_roll_.erase(it->first); + supply_cap_.erase(it->first); it = place_seen_ms_.erase(it); } else @@ -934,6 +953,8 @@ uint32 WorldBotSpawner::TargetFor(Anchor const& a) const bool const town = ::Playerbot::V2::World::IsVanillaCapitalZone(a.zone); uint32 const t = town ? cfg_.city_bots : cfg_.zone_bots; uint32 base = t ? t : cfg_.bots_per_player; + if (!town) + base = std::min(base, SupplyCapFor(a)); // A start zone is one valley with one camp: the ordinary zone density piled 77 bots into Mulgore (PC 20 Oct), and the whole crowd walked back to the // camp's quest giver however often the crowd pass moved it. bool const start_zone = !town && cfg_.start_zone_bots && ::Playerbot::V2::World::IsStartZone(a.zone); diff --git a/src/modules/PlayerbotV2/Fleet/WorldBotSpawner.h b/src/modules/PlayerbotV2/Fleet/WorldBotSpawner.h index 7bdb8c9b05..3320711f7c 100644 --- a/src/modules/PlayerbotV2/Fleet/WorldBotSpawner.h +++ b/src/modules/PlayerbotV2/Fleet/WorldBotSpawner.h @@ -80,6 +80,8 @@ private: uint32 zone_bots = 0; // target when the player is in a leveling zone (0 = BotsPerPlayer) uint32 start_zone_bots = 25; // the same in a start zone (Mulgore, Durotar, ...), where a real realm has a few new characters (0 = ZoneBots) float activity_radius = 300.0f; // a bot this close to an anchor counts toward it + uint32 mobs_per_bot = 10; // a leveling zone holds at most one bot per this many mobs of the player's level in reach (0 = off) + uint32 supply_floor = 5; // ... but never fewer than this float despawn_radius = 450.0f; // a bot farther than this from every anchor is logged out float ring_min = 60.0f; // spawn ring (placement distance from the anchor) float ring_max = 220.0f; @@ -207,6 +209,11 @@ private: // players are in it; a place's roll and when it last had a player. void PlanPlaces(uint32 now_ms, std::vector const& anchors, std::vector const& keep_anchors); uint32 PlaceWantFor(Anchor const& a); + // Mob supply cap of a leveling zone (Playerbot.World.MobsPerBot): taken when the zone gets its player (or the player's level + // changes), so the number does not move with every step he takes; forgotten with the zone's roll. + uint32 SupplyCapFor(Anchor const& a) const; + struct SupplyCap { uint8 level = 0; uint32 cap = 0; }; + mutable std::unordered_map supply_cap_; std::unordered_map place_target_, place_players_, zone_roll_, place_seen_ms_; std::string plain_logged_; std::optional pop_level_; // the panel's choice (SetPopulation); loaded once from the database diff --git a/src/modules/PlayerbotV2/Group/GroupSnapshot.h b/src/modules/PlayerbotV2/Group/GroupSnapshot.h index 04f94eada4..0060adae33 100644 --- a/src/modules/PlayerbotV2/Group/GroupSnapshot.h +++ b/src/modules/PlayerbotV2/Group/GroupSnapshot.h @@ -40,6 +40,8 @@ struct GroupMemberSummary // Damage the member took per second over the last few seconds, decayed (ClassicHeal::DamageRate; GroupSnapshotBuilder::NoteDamageTaken). // Only kept inside instances. The raid healers count what it brings before a heal in flight lands. float damage_taken_per_s = 0.f; + // The largest single hit it took in the last ClassicHeal::kSpikeWindowMs (DamageSpike): the next hit can be that big again. + int32 damage_spike = 0; int32 mana = 0; // Power index 0 (mana) only. int32 max_mana = 0; bool online = false; diff --git a/src/modules/PlayerbotV2/Group/GroupSnapshotBuilder.cpp b/src/modules/PlayerbotV2/Group/GroupSnapshotBuilder.cpp index ca58478b4f..c16b5a011b 100644 --- a/src/modules/PlayerbotV2/Group/GroupSnapshotBuilder.cpp +++ b/src/modules/PlayerbotV2/Group/GroupSnapshotBuilder.cpp @@ -270,6 +270,7 @@ namespace { // threads (OnDamageTaken), read by Build on the world thread. std::mutex g_dmg_taken_mtx; std::unordered_map g_dmg_taken; +std::unordered_map g_dmg_spike; // the largest recent hit (GroupMemberSummary::damage_spike) constexpr size_t kDamageTakenMaxEntries = 4096; // a stale entry decays to 0 but stays; the table is cleared past this float DamageTakenPerSecond(uint64 guid_low, uint32 now_ms) @@ -279,6 +280,13 @@ float DamageTakenPerSecond(uint64 guid_low, uint32 now_ms) return it == g_dmg_taken.end() ? 0.0f : Combat::ClassicHeal::DamageRateAt(it->second, now_ms); } +int64 DamageSpikeOf(uint64 guid_low, uint32 now_ms) +{ + std::lock_guard lk(g_dmg_taken_mtx); + auto const it = g_dmg_spike.find(guid_low); + return it == g_dmg_spike.end() ? 0 : Combat::ClassicHeal::DamageSpikeAt(it->second, now_ms); +} + } // namespace void GroupSnapshotBuilder::NoteDamageTaken(Unit* victim, int32 amount) @@ -292,7 +300,10 @@ void GroupSnapshotBuilder::NoteDamageTaken(Unit* victim, int32 amount) std::lock_guard lk(g_dmg_taken_mtx); if (g_dmg_taken.size() > kDamageTakenMaxEntries) g_dmg_taken.clear(); + if (g_dmg_spike.size() > kDamageTakenMaxEntries) + g_dmg_spike.clear(); Combat::ClassicHeal::DamageRateAdd(g_dmg_taken[vp->GetGUID().GetCounter()], amount, now); + Combat::ClassicHeal::DamageSpikeAdd(g_dmg_spike[vp->GetGUID().GetCounter()], amount, now); } std::shared_ptr GroupSnapshotBuilder::Build(Player* p, SnapshotVer version) @@ -335,7 +346,10 @@ std::shared_ptr GroupSnapshotBuilder::Build(Player* p, Snap m.hp = static_cast(mp->GetHealth()); m.max_hp = static_cast(mp->GetMaxHealth()); if (mp->GetMap() && mp->GetMap()->IsDungeon()) + { m.damage_taken_per_s = DamageTakenPerSecond(slot.guid.GetCounter(), GameTime::GetGameTimeMS()); + m.damage_spike = static_cast(DamageSpikeOf(slot.guid.GetCounter(), GameTime::GetGameTimeMS())); + } m.mana = static_cast(mp->GetPower(POWER_MANA)); m.max_mana = static_cast(mp->GetMaxPower(POWER_MANA)); m.in_combat = mp->IsInCombat(); diff --git a/src/modules/PlayerbotV2/PlayerbotV2.cpp b/src/modules/PlayerbotV2/PlayerbotV2.cpp index b0498f0166..ec56ad55d0 100644 --- a/src/modules/PlayerbotV2/PlayerbotV2.cpp +++ b/src/modules/PlayerbotV2/PlayerbotV2.cpp @@ -1952,7 +1952,47 @@ void Module::OnWorldUpdate(std::chrono::milliseconds diff) { if (!e.ai || (id & 3u) != phase) return; Player* p = ObjectAccessor::FindConnectedPlayer(ObjectGuid::Create(id)); - if (!p || !p->IsInWorld() || !p->GetMap() || !p->GetMap()->IsBattleground()) return; + if (!p || !p->IsInWorld() || !p->GetMap()) return; + if (!p->GetMap()->IsBattleground()) + { + // Outside battlegrounds nothing dropped a bot left in the air either, and players saw bots hang there in fights + // (Discord #общий, doctorsun 2026-11-17: "bots sometimes hang in the air in combat", no place given). A bot seen + // standing still 2..30 y over the ground on two scans in a row (4 s apart; a knockback or a jump in flight is moving) + // falls to it, as the client makes a player fall. Each one is logged with its fight and its last rule, at most once + // a minute per bot, to find what put it there. + static std::unordered_map hover_first_ms, hover_logged_ms; + uint32 const now_ms = GameTime::GetGameTimeMS(); + float ground = INVALID_HEIGHT; + if (!::Playerbot::BotMovement::HoverGap(p, 2.0f, 30.0f, ground)) + { + hover_first_ms.erase(id); + return; + } + auto const [first, fresh] = hover_first_ms.try_emplace(id, now_ms); + if (fresh) + return; + uint32 const hung_ms = now_ms - first->second; + hover_first_ms.erase(first); + // read before the fall: the spline makes the bot move, and the fall's own position is the ground + float const z0 = p->GetPositionZ(); + Unit const* victim = p->GetVictim(); + Spell const* cast = p->GetCurrentSpell(CURRENT_GENERIC_SPELL); + uint32 const castId = cast ? cast->GetSpellInfo()->Id : 0u; + bool const dropped = ::Playerbot::BotMovement::SettleToGround(p, 2.0f, 30.0f); + uint32& logged = hover_logged_ms[id]; + if (logged && now_ms - logged < 60000u) + return; + logged = now_ms ? now_ms : 1u; + static uint32 total_logged = 0; + if (total_logged++ >= 2000) + return; + TC_LOG_INFO("playerbot.v2", "[hover_seen] {} map={} zone={} ({:.1f},{:.1f},{:.1f}) {:.1f} y over the ground for {} ms, combat {} " + "victim {} cast {} state {} last rule {} -> {}", p->GetName(), p->GetMapId(), p->GetZoneId(), p->GetPositionX(), + p->GetPositionY(), z0, z0 - ground, hung_ms, int(p->IsInCombat()), + victim ? victim->GetName() : std::string("-"), castId, uint32(e.ai->state()), + e.ai->last_rule_fired() ? e.ai->last_rule_fired() : "-", dropped ? "dropped" : "not dropped"); + return; + } // A bot already mounted indoors in a battleground (start tunnel / hall) gets off: nobody rides in there. if (p->IsMounted() && !p->IsOutdoors()) { @@ -4221,6 +4261,28 @@ void Module::OnGroupMemberRemoved(Group* group, ObjectGuid member, uint8 method, Services::Population().QueueCompanionRelease(member.GetCounter()); } +void Module::OnMemberRoleSet(Group* group, ObjectGuid setter, ObjectGuid member, uint8 newRole) +{ + // The party frame's role menu (Set Role > Tank / Healer / Damage / None) on a bot. The bot used to publish its own duty role back + // over the choice on its next tick (ingroup:set_role_no_lfg), so a warrior set to Tank stayed a damage dealer with damage gear + // (DoctorSun, Discord 2026-11-17). The choice is now the bot's declared role, the same as `/setrole`. Battleground groups pick + // their own roles; a bot setting its own role does not come through here (API::lfg_role_check calls Group::SetLfgRoles). + if (!initialized_ || !group || group->isBGGroup() || group->isBFGroup() || setter == member || !member.IsPlayer()) + return; + if (!Services::Lifecycle().is_bot(member.GetCounter())) + return; + Player* bot = ObjectAccessor::FindConnectedPlayer(member); + if (!bot || !bot->IsInWorld()) + return; + uint8 const role = newRole & ~uint8(1); // without the leader bit + Role const declared = role == 2 ? Role::Tank : role == 4 ? Role::Healer : role == 8 ? Role::Dps : Role::Unknown; + if (role && declared == Role::Unknown) + return; // more than one role bit: not a choice the menu makes + BotCommandParser::DeclareRole(bot, declared); + TC_LOG_INFO("playerbot.v2", "[set_role] {} set {}'s role to {} from the role menu", setter.ToString(), bot->GetName(), + declared == Role::Tank ? "tank" : declared == Role::Healer ? "healer" : declared == Role::Dps ? "damage" : "none (cleared)"); +} + void Module::OnRaidSubgroupChanged(Group* group, ObjectGuid member, uint8 subgroup) { // The leader moved a raid member (or a restore did, which is not recorded). An owned companion's new sub-group is stored so a diff --git a/src/modules/PlayerbotV2/PlayerbotV2.h b/src/modules/PlayerbotV2/PlayerbotV2.h index e92bd17bd1..5cb44ffc93 100644 --- a/src/modules/PlayerbotV2/PlayerbotV2.h +++ b/src/modules/PlayerbotV2/PlayerbotV2.h @@ -106,6 +106,8 @@ public: void OnSpiritReleased(Player* p); // A raid member's sub-group changed: an owned companion's is stored (OwnerRegistry::SetSubgroup). void OnRaidSubgroupChanged(Group* group, ObjectGuid member, uint8 subgroup); + // A player set a bot's party role in the role menu (CMSG_SET_ROLE): the bot takes it as its declared role. + void OnMemberRoleSet(Group* group, ObjectGuid setter, ObjectGuid member, uint8 newRole); void OnGroupMemberRemoved(Group* group, ObjectGuid member, uint8 method, ObjectGuid kicker); // SC-P2b: a new guild member joined — one online bot guildmate welcomes. void OnGuildMemberAdded(uint64 guild_id, ObjectGuid joiner_guid, std::string const& joiner_name); diff --git a/src/modules/PlayerbotV2/PlayerbotV2Scripts.cpp b/src/modules/PlayerbotV2/PlayerbotV2Scripts.cpp index 03eed1397e..8961488a94 100644 --- a/src/modules/PlayerbotV2/PlayerbotV2Scripts.cpp +++ b/src/modules/PlayerbotV2/PlayerbotV2Scripts.cpp @@ -69,6 +69,16 @@ bool BotPathTouchesAvoidedLiquid(WorldObject const* source, Movement::PointsArra return ClassifyDestinationLiquid(player, x, y, z) != LiquidVerdict::Dry; }); } + +// A bot's walks keep clear of closed doors (SFK 2026-11-17: bots pulled the courtyard and the cells through the closed gates). +// Not on a bot logic thread: the map threads move doors while those run, and the door test reads the map's door models. +bool BotPathAvoidsClosedDoors(WorldObject const* source) +{ + Player const* player = source->ToPlayer(); + if (!player || !player->GetSession() || !player->GetSession()->IsBot()) + return false; + return !Playerbot::BotMovement::InBotLogicThread(); +} } class playerbot_v2_world : public WorldScript @@ -424,6 +434,11 @@ public: Module::instance().OnRaidSubgroupChanged(group, guid, subgroup); } + void OnMemberRoleSet(Group* group, ObjectGuid setter, ObjectGuid target, uint8 /*oldRole*/, uint8 newRole) override + { + Module::instance().OnMemberRoleSet(group, setter, target, newRole); + } + // A bot that joins a group has the riding and mount its level allows (a world bot a player invited rides with him). void OnAddMember(Group* group, ObjectGuid guid) override { @@ -471,4 +486,5 @@ void AddSC_playerbot_v2() AddSC_playerbot_v2_selftest_commandscript(); PathGenerator::SetLiquidRouteCheck(&BotPathTouchesAvoidedLiquid); + PathGenerator::SetClosedDoorCheck(&BotPathAvoidsClosedDoors); } diff --git a/src/modules/PlayerbotV2/Util/ConfigReader.cpp b/src/modules/PlayerbotV2/Util/ConfigReader.cpp index 335a341518..7c1f834187 100644 --- a/src/modules/PlayerbotV2/Util/ConfigReader.cpp +++ b/src/modules/PlayerbotV2/Util/ConfigReader.cpp @@ -238,6 +238,7 @@ void ConfigReader::apply_from_loaded_config() bhv_spread_out_ = c.GetBoolDefault("Playerbot.Behavior.SpreadOut", true, true); bhv_loose_mob_hold_ = c.GetBoolDefault("Playerbot.Behavior.LooseMobHold", true, true); bhv_raid_buff_hold_ = c.GetBoolDefault("Playerbot.Behavior.RaidBuffHold", true, true); + bhv_healer_assist_ = c.GetBoolDefault("Playerbot.Behavior.HealerAssist", true, true); bhv_dungeon_loot_ = c.GetBoolDefault("Playerbot.Behavior.DungeonLoot", true, true); bhv_warrior_stance_dance_ = c.GetBoolDefault("Playerbot.Behavior.WarriorStanceDance", true, true); bhv_bot_whisperable_ = c.GetBoolDefault("Playerbot.Behavior.BotWhisperable", true, true); diff --git a/src/modules/PlayerbotV2/Util/ConfigReader.h b/src/modules/PlayerbotV2/Util/ConfigReader.h index e605320625..4c2107b656 100644 --- a/src/modules/PlayerbotV2/Util/ConfigReader.h +++ b/src/modules/PlayerbotV2/Util/ConfigReader.h @@ -368,6 +368,8 @@ public: bool behavior_spread_out() const { return bhv_spread_out_; } bool behavior_loose_mob_hold() const { return bhv_loose_mob_hold_; } bool behavior_raid_buff_hold() const { return bhv_raid_buff_hold_; } + // Playerbot.Behavior.HealerAssist: grouped healers outside raids also damage and crowd-control while the group is healthy. + bool behavior_healer_assist() const { return bhv_healer_assist_; } bool behavior_dungeon_loot() const { return bhv_dungeon_loot_; } bool behavior_warrior_stance_dance() const { return bhv_warrior_stance_dance_; } bool behavior_bot_whisperable() const { return bhv_bot_whisperable_; } @@ -723,6 +725,7 @@ private: bool bhv_spread_out_ = true; bool bhv_loose_mob_hold_ = true; bool bhv_raid_buff_hold_ = true; + bool bhv_healer_assist_ = true; bool bhv_dungeon_loot_ = true; bool bhv_warrior_stance_dance_ = true; bool bhv_bot_whisperable_ = true; diff --git a/src/modules/PlayerbotV2/conf/playerbot.conf.dist b/src/modules/PlayerbotV2/conf/playerbot.conf.dist index e2d30efe10..70ab1a6475 100644 --- a/src/modules/PlayerbotV2/conf/playerbot.conf.dist +++ b/src/modules/PlayerbotV2/conf/playerbot.conf.dist @@ -211,6 +211,13 @@ Playerbot.World.ActivityRadius = 300 # A valley has a few dozen mobs on a slow respawn: 50 bots left a new character in Deathknell nothing to kill, 8 looked empty. # Only bots at the start levels (1-10) of the races that begin there are placed or kept in a start zone. Playerbot.World.StartZoneBots = 25 +# Mob supply of a leveling zone: at most one world bot per MobsPerBot ordinary hostile mobs of the player's level (camps within +# ActivityRadius, from the world DB spawns), never fewer than MobSupplyFloor; the smaller of this and the zone's number wins. A bot +# kills a mob of its level about every 40 s with rest, so on a 5 minute respawn about 7 spawns feed one bot; 10 leaves the rest for +# the players (Karrz 2026-11-16, Eastern Plaguelands: "nothing's alive here"). Taken when the zone gets its player; logged as +# '[world] mob supply'. Capitals and start zones keep their own numbers. MobsPerBot = 0 switches the cap off. +Playerbot.World.MobsPerBot = 10 +Playerbot.World.MobSupplyFloor = 5 # Spawn rate (bots per spawner tick) while the player is in a capital; 0 = SpawnPerTick. Fills a city faster. Playerbot.World.CitySpawnPerTick = 0 @@ -308,8 +315,10 @@ Playerbot.World.Pvp.LevelsAbove = 2 Playerbot.World.Pvp.AttackBots = 1 Playerbot.World.Pvp.BorderFriendlyPct = 85 Playerbot.World.Pvp.ContestedFriendlyPct = 70 +# Contested zones (Plaguelands, Stranglethorn, Hillsbrad, Arathi, Tanaris, ...) are both factions' ground: 70 = about one bot in three +# around a player there is of the other faction (Karrz 2026-11-16, Eastern Plaguelands). On a normal realm they leave him alone. Playerbot.World.BorderFriendlyPct = 100 -Playerbot.World.ContestedFriendlyPct = 100 +Playerbot.World.ContestedFriendlyPct = 70 # Ambient characters allowed to exist (online or offline). Offline ones are reused before new ones are created. # Default: the larger of 4 x MaxBots and 200. # Playerbot.World.PoolMax = 200 @@ -379,6 +388,10 @@ Playerbot.World.Town.IdleSec = 20 # 1: the old behaviour, world bots walk to quest hubs, take quests and do them. Playerbot.World.Questing = 0 +# Scourge Invasion (worldserver Classic.ScourgeInvasion / .scourge on): free level 55+ world bots in a zone under attack fight the +# minions and cultists there and walk to the nearest necropolis camp. 0 keeps them out of it. Read at the first use (restart). +Playerbot.World.ScourgeInvasion = 1 + # Small kindnesses of world bots for real players they pass: a priest's Fortitude, a mage's Intellect (mana users) or a druid's Mark # on a player who lacks it (one per player per BuffCooldownSec, whoever gives it), a heal from a passing priest, druid, paladin or # shaman for a player at or under HealHpPct health (one per player per HealCooldownSec, whoever gives it; the healer needs 40% mana, @@ -726,6 +739,13 @@ Playerbot.Raid.ResistPotions = 0 # LooseMobHold DPS bots hold fire on a raid elite that is loose on a party member. # RaidBuffHold the tank's 30 s group-buff hold and the 120 s hold for members still # outside the instance, before a pull / advance. Off: neither holds. +# HealerAssist healer bots in a dungeon or a group in the open world help kill the pull while nobody needs +# healing: damage spells after 3 s without a heal needed at 60%+ mana (instead of 10 s at 90%+), +# and crowd control (Shackle Undead, Hibernate) on an add of a 3+ mob pull while everyone is at +# 70%+ health and the healer has 60%+ mana, at most one new hold per 20 s, after the damage +# dealers have taken theirs. A Holy paladin also casts Exorcism on undead / demons and Hammer of +# Wrath at 20%. Raids are unchanged. Off: the old heal-first gates (damage only after 10 s quiet at +# 90%+ mana in a dungeon, no crowd control once the healer is in the fight, no Exorcism). # DungeonLoot loot-roll votes and corpse looting between pulls of a dungeon run. # WarriorStanceDance protection warrior Battle Stance dance (Mocking Blow, Thunder Clap). # DungeonTactics Classic dungeons: the generated mob tables (Bot/Dungeon/Tactics, from VMaNGOS data) add their kill order, mandatory @@ -841,6 +861,7 @@ Playerbot.Behavior.RaidSpacing = 1 Playerbot.Behavior.SpreadOut = 1 Playerbot.Behavior.LooseMobHold = 1 Playerbot.Behavior.RaidBuffHold = 1 +Playerbot.Behavior.HealerAssist = 1 Playerbot.Behavior.DungeonLoot = 1 Playerbot.Behavior.WarriorStanceDance = 1 Playerbot.Behavior.DungeonTactics = 1 diff --git a/src/modules/PlayerbotV2/conf/zz-0-playerbot-defaults.conf b/src/modules/PlayerbotV2/conf/zz-0-playerbot-defaults.conf index 79f3b214b3..15fdcf212f 100644 --- a/src/modules/PlayerbotV2/conf/zz-0-playerbot-defaults.conf +++ b/src/modules/PlayerbotV2/conf/zz-0-playerbot-defaults.conf @@ -34,6 +34,7 @@ AuctionHouseBot.Buyer.Recheck.Interval = 5 AuctionHouseBot.Buyer.Commodities = 1 AuctionHouseBot.Buyer.MaxPriceMultiplier = 1.5 AuctionHouseBot.Buyer.DropFloorPerLevel = 100 +AuctionHouseBot.Buyer.ExcludeUnlimitedVendorItems = 1 AuctionHouseBot.Buyer.MinDelay = 30 AuctionHouseBot.Buyer.MaxDelay = 600 AuctionHouseBot.Buyer.DailyBudgetGold = 5000 diff --git a/src/server/database/Database/Implementation/WorldDatabase.cpp b/src/server/database/Database/Implementation/WorldDatabase.cpp index b9112723e4..7106e32469 100644 --- a/src/server/database/Database/Implementation/WorldDatabase.cpp +++ b/src/server/database/Database/Implementation/WorldDatabase.cpp @@ -88,6 +88,9 @@ void WorldDatabaseConnection::DoPrepareStatements() // the quest-giver statement above so the Playerbot RepairVendorIndex can clone // the QuestHubDatabase load path verbatim. PrepareStatement(WORLD_SEL_REPAIR_VENDOR_SPAWNS, "SELECT c.guid, c.id, c.position_x, c.position_y, c.position_z, c.map, ct.faction, COALESCE(c.zoneId, 0) as zoneId FROM creature c INNER JOIN creature_template ct ON c.id = ct.entry WHERE ct.npcflag & 4096 != 0", CONNECTION_SYNCH); + + // AuctionHouseBot.Vanilla.MarketPrices: per-unit market price of an item for the auction house bot + PrepareStatement(WORLD_SEL_AUCTIONHOUSEBOT_MARKET_PRICES, "SELECT ItemID, UnitPrice FROM auctionhousebot_market_price WHERE UnitPrice > 0", CONNECTION_SYNCH); } WorldDatabaseConnection::WorldDatabaseConnection(MySQLConnectionInfo& connInfo, ConnectionFlags connectionFlags) : MySQLConnection(connInfo, connectionFlags) diff --git a/src/server/database/Database/Implementation/WorldDatabase.h b/src/server/database/Database/Implementation/WorldDatabase.h index 8241e074df..8708f47560 100644 --- a/src/server/database/Database/Implementation/WorldDatabase.h +++ b/src/server/database/Database/Implementation/WorldDatabase.h @@ -91,6 +91,8 @@ enum WorldDatabaseStatements : uint32 WORLD_SEL_QUEST_GIVER_SPAWNS, // SELECT c.guid, c.id, c.position_x, c.position_y, c.position_z, c.map, ct.faction, COALESCE(c.zoneId, 0) as zoneId FROM creature c INNER JOIN creature_template ct ON c.id = ct.entry WHERE ct.npcflag & 2 != 0 WORLD_SEL_REPAIR_VENDOR_SPAWNS, // SELECT c.guid, c.id, c.position_x, c.position_y, c.position_z, c.map, ct.faction, COALESCE(c.zoneId, 0) as zoneId FROM creature c INNER JOIN creature_template ct ON c.id = ct.entry WHERE ct.npcflag & 4096 != 0 + WORLD_SEL_AUCTIONHOUSEBOT_MARKET_PRICES, // SELECT ItemID, UnitPrice FROM auctionhousebot_market_price WHERE UnitPrice > 0 + MAX_WORLDDATABASE_STATEMENTS }; diff --git a/src/server/game/Accounts/RBAC.h b/src/server/game/Accounts/RBAC.h index 4e5e0f8a0d..c525eda47c 100644 --- a/src/server/game/Accounts/RBAC.h +++ b/src/server/game/Accounts/RBAC.h @@ -758,6 +758,7 @@ enum RBACPermissions // // custom permissions 1000+ RBAC_PERM_COMMAND_TIME = 1000, // .time day / night / auto (players too) + RBAC_PERM_COMMAND_BUG = 1001, // .bug : a bug report with the player's spot (players too) RBAC_PERM_MAX }; diff --git a/src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp b/src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp index aa8fb8f3b7..8bbe22aa9b 100644 --- a/src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp +++ b/src/server/game/AuctionHouseBot/AuctionHouseBotBuyer.cpp @@ -117,6 +117,9 @@ uint32 AuctionBotBuyer::GetItemInformation(BuyerConfiguration& config) if (entry->Owner.IsEmpty() || sAuctionBotConfig->IsBotChar(entry->Owner)) continue; // Skip auctions owned by AHBot + if (AuctionBotBuyerPolicy::Excluded(entry->Bucket->Key.ItemId)) + continue; // unlimited vendor goods and AuctionHouseBot.Buyer.ExcludeItemIDs + BuyerItemInfo& itemInfo = config.SameItemInfo[entry->Bucket->Key.ItemId]; // Update item entry's count and total bid prices diff --git a/src/server/game/AuctionHouseBot/AuctionHouseBotBuyerPolicy.cpp b/src/server/game/AuctionHouseBot/AuctionHouseBotBuyerPolicy.cpp index 3fe0480a4f..12dc9d47d0 100644 --- a/src/server/game/AuctionHouseBot/AuctionHouseBotBuyerPolicy.cpp +++ b/src/server/game/AuctionHouseBot/AuctionHouseBotBuyerPolicy.cpp @@ -25,10 +25,14 @@ #include "Item.h" #include "ItemTemplate.h" #include "Log.h" +#include "ObjectMgr.h" #include "Random.h" +#include "StringConvert.h" #include "StringFormat.h" +#include "Util.h" #include "World.h" #include +#include namespace AuctionBotBuyerPolicy { @@ -43,6 +47,9 @@ namespace bool _fair = false; float _fairMinChance = 35.0f; // percent at the price cap uint32 _dropFloorPerLevel = 0; // copper per item level, 0 = off + bool _excludeVendorItems = false; + std::unordered_set _vendorItems; // sold for gold by a spawned vendor with unlimited stock + std::unordered_set _excludedItemIds; // AuctionHouseBot.Buyer.ExcludeItemIDs time_t _dayStart = 0; uint64 _spentToday = 0; @@ -97,11 +104,55 @@ namespace // (the same stand-in the seller uses when an item has no buy price). uint64 FairUnitPrice(ItemTemplate const* proto) { + // a known market price is what the item is worth, also below 1 silver and below the stand-ins + // (AuctionHouseBot.Vanilla.MarketPrices); the seller lists at the same price + if (uint64 market = AuctionBotVanilla::MarketUnitPrice(proto)) + return market; + uint64 buy = proto->GetBuyPrice() / std::max(1, proto->GetBuyCount()); uint64 sell = uint64(proto->GetSellPrice()) * 4; // the seller's market value when AuctionHouseBot.Vanilla.ValueCurve is on, so the buyer pays what the bot asks return std::max({ buy, sell, AuctionBotVanilla::UnitValue(proto), SILVER, DropFloor(proto) }); } + + // Items any vendor in the world sells for gold without a stock limit (npc_vendor maxcount 0, no extended cost). The buyer's + // price never goes below the vendor's own (FairUnitPrice), and with the SILVER and drop floors it pays more than the vendor + // asks for cheap goods: a player bought arrows, thread and reagents from vendors and sold them to the buyer, about 8000 gold + // on one server (Discord 2026-11-18, Tasko). Limited-stock vendor items stay eligible. Only vendors with a spawn count. + void BuildVendorItems() + { + _vendorItems.clear(); + std::unordered_set spawned; + for (auto const& [spawnId, data] : sObjectMgr->GetAllCreatureData()) + spawned.insert(data.id); + + for (uint32 entry : spawned) + { + VendorItemData const* items = sObjectMgr->GetNpcVendorItemList(entry); + if (!items) + continue; + for (VendorItem const& item : items->m_items) + if (item.Type == ITEM_VENDOR_TYPE_ITEM && !item.maxcount && !item.ExtendedCost) + _vendorItems.insert(item.item); + } + } + + void ParseExcludedItemIds() + { + _excludedItemIds.clear(); + std::string const list = sConfigMgr->GetStringDefault("AuctionHouseBot.Buyer.ExcludeItemIDs", ""); + for (std::string_view token : Trinity::Tokenize(list, ',', false)) + { + while (!token.empty() && token.front() == ' ') + token.remove_prefix(1); + while (!token.empty() && token.back() == ' ') + token.remove_suffix(1); + if (Optional itemId = Trinity::StringTo(token); itemId && *itemId) + _excludedItemIds.insert(*itemId); + else if (!token.empty()) + TC_LOG_ERROR("server.loading", "AuctionHouseBot.Buyer.ExcludeItemIDs: '{}' is not an item id, ignored", token); + } + } } void LoadConfig() @@ -118,11 +169,23 @@ void LoadConfig() _fair = sConfigMgr->GetBoolDefault("AuctionHouseBot.Buyer.FairPricing", false); _fairMinChance = std::clamp(sConfigMgr->GetFloatDefault("AuctionHouseBot.Buyer.FairMinChance", 35.0f), 0.0f, 100.0f); _dropFloorPerLevel = sConfigMgr->GetIntDefault("AuctionHouseBot.Buyer.DropFloorPerLevel", 100); + _excludeVendorItems = sConfigMgr->GetBoolDefault("AuctionHouseBot.Buyer.ExcludeUnlimitedVendorItems", true); + if (_excludeVendorItems) + BuildVendorItems(); + else + _vendorItems.clear(); + ParseExcludedItemIds(); + TC_LOG_INFO("ahbot", "AHBot buyer: leaves alone {} unlimited vendor items and {} listed item ids", _vendorItems.size(), _excludedItemIds.size()); TC_LOG_INFO("ahbot", "AHBot buyer: stackable items {}, fair pricing {}, price cap x{:.2f}, delay {}-{} s, max {} per hour, budget {}g a day, drop floor {} copper per item level", _stacks ? "on" : "off", _fair ? "on" : "off", _maxPriceMultiplier, _minDelay, _maxDelay, _maxBuysPerHour, _dailyBudget / GOLD, _dropFloorPerLevel); } +bool Excluded(uint32 itemId) +{ + return _vendorItems.contains(itemId) || _excludedItemIds.contains(itemId); +} + bool StacksEnabled() { return _stacks; diff --git a/src/server/game/AuctionHouseBot/AuctionHouseBotBuyerPolicy.h b/src/server/game/AuctionHouseBot/AuctionHouseBotBuyerPolicy.h index b27ca90946..b78dd88128 100644 --- a/src/server/game/AuctionHouseBot/AuctionHouseBotBuyerPolicy.h +++ b/src/server/game/AuctionHouseBot/AuctionHouseBotBuyerPolicy.h @@ -28,6 +28,10 @@ namespace AuctionBotBuyerPolicy { TC_GAME_API void LoadConfig(); + // Never bought: items a spawned vendor sells for gold with unlimited stock (Buyer.ExcludeUnlimitedVendorItems, on by default), + // and the item ids listed in Buyer.ExcludeItemIDs. Only the buyer; the seller is not affected. + TC_GAME_API bool Excluded(uint32 itemId); + // Buyer.Commodities (older name Buyer.Stacks): stackable listings (herbs, ore, cloth...) can be bought, always the whole listing. TC_GAME_API bool StacksEnabled(); diff --git a/src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp b/src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp index 01f2cde828..0a72bec7df 100644 --- a/src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp +++ b/src/server/game/AuctionHouseBot/AuctionHouseBotSeller.cpp @@ -689,12 +689,23 @@ void AuctionBotSeller::SetPricesOfItem(ItemTemplate const* itemProto, SellerConf basePriceFloat *= priceRatio; float range = basePriceFloat * 0.04f; + float bidPercentage = frand(sAuctionBotConfig->GetConfig(CONFIG_AHBOT_BIDPRICE_MIN), sAuctionBotConfig->GetConfig(CONFIG_AHBOT_BIDPRICE_MAX)); + + // AuctionHouseBot.Vanilla.MarketPrices: priced to the copper like player listings (a piece of Linen Cloth is 24c; + // rounding to whole silver made a single one 1s and a stack of 3 33c a piece), never below what a vendor pays + if (AuctionBotVanilla::MarketUnitPrice(itemProto)) + { + uint32 const vendorFloor = itemProto->GetSellPrice() * stackCount; + buyout = std::max({ static_cast(frand(basePriceFloat - range, basePriceFloat + range) + 0.5f), vendorFloor, 1 }); + bid = std::max({ static_cast(bidPercentage * buyout), vendorFloor, 1 }); + bid = std::min(bid, buyout); + return; + } buyout = (static_cast(frand(basePriceFloat - range, basePriceFloat + range) + 0.5f) / SILVER) * SILVER; if (buyout == 0) buyout = SILVER; - float bidPercentage = frand(sAuctionBotConfig->GetConfig(CONFIG_AHBOT_BIDPRICE_MIN), sAuctionBotConfig->GetConfig(CONFIG_AHBOT_BIDPRICE_MAX)); bid = (static_cast(bidPercentage * buyout) / SILVER) * SILVER; if (bid == 0) bid = SILVER; diff --git a/src/server/game/AuctionHouseBot/AuctionHouseBotVanilla.cpp b/src/server/game/AuctionHouseBot/AuctionHouseBotVanilla.cpp index 82b9162c00..1aebbb1a1f 100644 --- a/src/server/game/AuctionHouseBot/AuctionHouseBotVanilla.cpp +++ b/src/server/game/AuctionHouseBot/AuctionHouseBotVanilla.cpp @@ -17,10 +17,14 @@ #include "AuctionHouseBotVanilla.h" #include "Config.h" +#include "DatabaseEnv.h" #include "ItemTemplate.h" +#include "Log.h" #include "SharedDefines.h" +#include "Timer.h" #include #include +#include namespace AuctionBotVanilla { @@ -38,6 +42,35 @@ namespace // AuctionHouseBot.Vanilla.ValueCurve.FullValueItemLevel: below this item level the curve scales down in proportion // (item level / this), so low-level goods are not priced like endgame ones (0 = off) uint32 _fullValueItemLevel = 0; + + // AuctionHouseBot.Vanilla.MarketPrices: per-unit market prices from the world table auctionhousebot_market_price + bool _marketPrices = false; + float _marketScale = 1.0f; + std::unordered_map _marketPrice; + + void LoadMarketPrices() + { + _marketPrice.clear(); + if (!_marketPrices) + return; + + uint32 oldMSTime = getMSTime(); + PreparedQueryResult result = WorldDatabase.Query(WorldDatabase.GetPreparedStatement(WORLD_SEL_AUCTIONHOUSEBOT_MARKET_PRICES)); + if (!result) + { + TC_LOG_INFO("ahbot", "AHBot: AuctionHouseBot.Vanilla.MarketPrices is on but auctionhousebot_market_price is empty; " + "item prices come from the value curve or the vendor price."); + return; + } + + do + { + Field* fields = result->Fetch(); + _marketPrice[fields[0].GetUInt32()] = fields[1].GetUInt64(); + } while (result->NextRow()); + + TC_LOG_INFO("ahbot", "AHBot: loaded {} item market prices in {} ms", _marketPrice.size(), GetMSTimeDiffToNow(oldMSTime)); + } } void LoadConfig() @@ -53,6 +86,9 @@ void LoadConfig() QualityFactor[4] = sConfigMgr->GetIntDefault("AuctionHouseBot.Vanilla.ValueCurve.Epic", 150); _scale = std::clamp(sConfigMgr->GetFloatDefault("AuctionHouseBot.Vanilla.ValueCurve.Scale", 1.0f), 0.1f, 10.0f); _fullValueItemLevel = sConfigMgr->GetIntDefault("AuctionHouseBot.Vanilla.ValueCurve.FullValueItemLevel", 0); + _marketPrices = sConfigMgr->GetBoolDefault("AuctionHouseBot.Vanilla.MarketPrices", false); + _marketScale = std::clamp(sConfigMgr->GetFloatDefault("AuctionHouseBot.Vanilla.MarketPrices.Scale", 1.0f), 0.1f, 10.0f); + LoadMarketPrices(); } bool Enabled() @@ -92,8 +128,35 @@ bool IsAllowed(ItemTemplate const* proto) return true; } +uint64 MarketUnitPrice(ItemTemplate const* proto) +{ + if (!_marketPrices) + return 0; + + auto itr = _marketPrice.find(proto->GetId()); + if (itr == _marketPrice.end()) + return 0; + + // The only floor is what a vendor pays for the item (SellPrice is per item, ammo included): below it, buying from the + // auction house and selling to a vendor would make money. The buy price and the 4x sell price are stand-ins for items + // with no known price; live players list most cloth, leather, herbs and ore well below them (Linen Cloth 24c a piece, + // its stand-in 55c), so using them here would throw the market price away for more than half of the items. + return std::max({ uint64(double(itr->second) * _marketScale), uint64(proto->GetSellPrice()), 1 }); +} + +void SetMarketPrices(std::unordered_map prices, float scale) +{ + _marketPrices = !prices.empty(); + _marketScale = std::clamp(scale, 0.1f, 10.0f); + _marketPrice = std::move(prices); +} + uint64 UnitValue(ItemTemplate const* proto) { + // a known market price wins over the curve + if (uint64 market = MarketUnitPrice(proto)) + return market; + if (!_valueCurve) return 0; diff --git a/src/server/game/AuctionHouseBot/AuctionHouseBotVanilla.h b/src/server/game/AuctionHouseBot/AuctionHouseBotVanilla.h index 7cd4c9ecdd..030b44d1c4 100644 --- a/src/server/game/AuctionHouseBot/AuctionHouseBotVanilla.h +++ b/src/server/game/AuctionHouseBot/AuctionHouseBotVanilla.h @@ -19,6 +19,7 @@ #define AUCTION_HOUSE_BOT_VANILLA_H #include "Define.h" +#include struct ItemTemplate; @@ -34,8 +35,17 @@ namespace AuctionBotVanilla // False for anything that is not level-60 vanilla content; always true while the filter is off. bool IsAllowed(ItemTemplate const* proto); - // AuctionHouseBot.Vanilla.ValueCurve = 1: per-unit market value in copper from item level, quality and class, - // never below the vendor price. 0 while the curve is off (callers keep the vendor price). + // AuctionHouseBot.Vanilla.MarketPrices = 1 and the item has a row in auctionhousebot_market_price: that per-unit price in + // copper (x MarketPrices.Scale), never below what a vendor pays for the item. 0 otherwise. + uint64 MarketUnitPrice(ItemTemplate const* proto); + + // Replaces the loaded market prices (item id -> copper per unit) and switches them on, without the database + // (unit tests). An empty map switches them off. + void SetMarketPrices(std::unordered_map prices, float scale = 1.0f); + + // Per-unit market value in copper: MarketUnitPrice when the item has one; otherwise, with + // AuctionHouseBot.Vanilla.ValueCurve = 1, from item level, quality and class, never below the vendor price. + // 0 when neither applies (callers keep the vendor price). uint64 UnitValue(ItemTemplate const* proto); } diff --git a/src/server/game/Entities/Creature/TemporarySummon.cpp b/src/server/game/Entities/Creature/TemporarySummon.cpp index d318124964..f65be0138a 100644 --- a/src/server/game/Entities/Creature/TemporarySummon.cpp +++ b/src/server/game/Entities/Creature/TemporarySummon.cpp @@ -250,6 +250,15 @@ void TempSummon::InitStats(WorldObject* summoner, Milliseconds duration) // Classic 1.60 (vanilla): a creature's summoned pet, guardian or totem has the caster's level (plus the spell's offset), not the fixed // vanilla level of its creature (VMaNGOS Spell::EffectSummonPet / EffectSummonGuardian): Twilight Shadowmages (26) summoned level 47 voidwalkers bool classicCasterLevel = false; + // A totem always has its caster's level (VMaNGOS Totem::Summon: SetLevel(owner->GetLevel())). The vanilla level of the totem's creature + // is the level of the spell rank that summons it, so a level 40 shaman's Stoneskin Totem was level 9 and its Searing Totem level 19 at + // any caster level: mobs drew a level 9 totem from 15 + 11 yards away and went for it instead of the player (6_1_8_8_1, Discord bugs 3 + // #6 "totems have an unusually large aggro range"), and a low totem's spells missed and were resisted far more. + if (IsTotem() && sObjectMgr->GetCreatureClassicLevel(GetEntry())) + { + level = uint8(std::clamp(unitSummoner->GetLevel(), 1, STRONG_MAX_LEVEL)); + classicCasterLevel = true; + } if (unitSummoner->IsCreature() && !unitSummoner->IsCharmedOwnedByPlayerOrPlayer() && sObjectMgr->GetCreatureClassicLevel(GetEntry())) { if (int8 const* offset = sObjectMgr->GetSpellClassicSummonLevelOffset(m_unitData->CreatedBySpell)) @@ -263,6 +272,16 @@ void TempSummon::InitStats(WorldObject* summoner, Milliseconds duration) } } + // Classic 1.60 (vanilla): a player's totem has the player's level (cMaNGOS / VMaNGOS EffectSummonTotem: the totem's level is the + // caster's). A totem template whose content tuning holds it to a low level made a level 1 totem, and a creature's aggro radius + // grows a yard for every level its target is below it (Creature::GetAttackDistance, up to 45 yd): mobs ran at a shaman's + // Stoneskin Totem from across the camp (Discord 2026-11-16, "totems with a huge aggro range"). + if (!classicCasterLevel && IsTotem() && unitSummoner->IsPlayer()) + { + level = std::max(unitSummoner->GetLevel(), 1); + classicCasterLevel = true; + } + ApplyLevelScaling(unitSummoner->m_unitData->ContentTuningID, unitSummoner->m_unitData->ScalingLevelDelta); if (classicCasterLevel) { diff --git a/src/server/game/Entities/GameObject/GameObject.cpp b/src/server/game/Entities/GameObject/GameObject.cpp index a51ae9f7d7..4f4907cb82 100644 --- a/src/server/game/Entities/GameObject/GameObject.cpp +++ b/src/server/game/Entities/GameObject/GameObject.cpp @@ -4728,6 +4728,7 @@ public: int64 GetPackedRotation() const override { return _owner->GetPackedLocalRotation(); } float GetScale() const override { return _owner->GetObjectScale(); } void DebugVisualizeCorner(G3D::Vector3 const& corner) const override { _owner->SummonCreature(1, corner.x, corner.y, corner.z, 0, TEMPSUMMON_MANUAL_DESPAWN); } + bool IsDoor() const override { return _owner->GetGoType() == GAMEOBJECT_TYPE_DOOR; } private: GameObject* _owner; diff --git a/src/server/game/Entities/Item/ItemTemplate.cpp b/src/server/game/Entities/Item/ItemTemplate.cpp index cbcd3d3d3d..107cb4f4bc 100644 --- a/src/server/game/Entities/Item/ItemTemplate.cpp +++ b/src/server/game/Entities/Item/ItemTemplate.cpp @@ -96,12 +96,15 @@ bool ItemTemplate::CanChangeEquipStateInCombat() const uint32 ItemTemplate::GetSkill() const { + // Classic 1.60: Thrown (SkillLine 176) is a weapon skill again; retail dropped it, so a thrown weapon had no skill at all: + // it never missed and its skill never rose (Discord, checkitout1333 2026-11-17, an Undead rogue's Thrown stayed at 1) + static constexpr uint32 SkillThrown = 176; static constexpr uint32 ItemWeaponSkills[MAX_ITEM_SUBCLASS_WEAPON] = { SKILL_AXES, SKILL_TWO_HANDED_AXES, SKILL_BOWS, SKILL_GUNS, SKILL_MACES, SKILL_TWO_HANDED_MACES, SKILL_POLEARMS, SKILL_SWORDS, SKILL_TWO_HANDED_SWORDS, SKILL_WARGLAIVES, SKILL_STAVES, 0, 0, SKILL_FIST_WEAPONS, 0, - SKILL_DAGGERS, 0, 0, SKILL_CROSSBOWS, SKILL_WANDS, + SKILL_DAGGERS, SkillThrown, 0, SKILL_CROSSBOWS, SKILL_WANDS, SKILL_FISHING }; diff --git a/src/server/game/Entities/Player/Player.cpp b/src/server/game/Entities/Player/Player.cpp index dce0f9a63b..6c9a73e101 100644 --- a/src/server/game/Entities/Player/Player.cpp +++ b/src/server/game/Entities/Player/Player.cpp @@ -12581,6 +12581,16 @@ Item* Player::EquipItem(uint16 pos, Item* pItem, bool update) _ApplyItemMods(pItem, slot, true); + // Classic 1.60: a weapon put in a hand starts that hand's swing from the beginning (vanilla; live's main hand does this, and its + // off-hand starting at about 45% is reported as a bug: forever-bugs #126). Our timers kept running through the swap, so a swap + // right after a swing gave a free early swing with the new weapon. + if (pProto && pProto->GetClass() == ITEM_CLASS_WEAPON) + { + WeaponAttackType const attType = Player::GetAttackBySlot(slot, pProto->GetInventoryType()); + if (attType != MAX_ATTACK) + resetAttackTimer(attType); + } + if (pProto && IsInCombat() && (pProto->GetClass() == ITEM_CLASS_WEAPON || pProto->GetInventoryType() == INVTYPE_RELIC) && m_weaponChangeTimer == 0) { uint32 cooldownSpell = GetClass() == CLASS_ROGUE ? 6123 : 6119; diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 0ceb71c560..a9a810bea2 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -738,7 +738,15 @@ bool Unit::IsWithinMeleeRangeAt(Position const& pos, Unit const* obj) const float dx = pos.GetPositionX() - obj->GetPositionX(); float dy = pos.GetPositionY() - obj->GetPositionY(); + // Height counts from body to body, not from feet to feet: while the two bodies overlap in height there is no vertical + // gap. Feet to feet put a player swimming level with a mob's head, or a mob standing on the sea floor under a swimmer, + // out of reach although they touched: auto attack never swung under water, on either side (Discord 2026-11-16, also the + // Wailing Caverns lizards on uneven ground). float dz = pos.GetPositionZ() - obj->GetPositionZ(); + if (dz > 0.0f) + dz = std::max(0.0f, dz - obj->GetCollisionHeight()); + else + dz = std::min(0.0f, dz + GetCollisionHeight()); float distsq = dx*dx + dy*dy + dz*dz; float maxdist = GetMeleeRange(obj) + GetTotalAuraModifier(SPELL_AURA_MOD_AUTOATTACK_RANGE); @@ -11481,10 +11489,12 @@ Unit* Unit::SelectNearbyTarget(Unit* exclude, float dist) const if (exclude) targets.remove(exclude); - // remove not LoS targets + // remove not LoS targets, and units that cannot be attacked: "not friendly" also takes in neutral units that are immune to + // players, not attackable, evading or not selectable, and an extra strike on one of those lands as a hit that neither hurts + // nor pulls it (Blade Flurry and Sweeping Strikes on a second neutral mob, voldemargreed, Discord bugs 4, 17 Nov) for (std::list::iterator tIter = targets.begin(); tIter != targets.end();) { - if (!IsWithinLOSInMap(*tIter) || (*tIter)->IsTotem() || (*tIter)->IsSpiritService() || (*tIter)->IsCritter()) + if (!IsWithinLOSInMap(*tIter) || (*tIter)->IsTotem() || (*tIter)->IsSpiritService() || (*tIter)->IsCritter() || !IsValidAttackTarget(*tIter)) targets.erase(tIter++); else ++tIter; diff --git a/src/server/game/Handlers/GroupHandler.cpp b/src/server/game/Handlers/GroupHandler.cpp index 3084d847ab..1df924d2bb 100644 --- a/src/server/game/Handlers/GroupHandler.cpp +++ b/src/server/game/Handlers/GroupHandler.cpp @@ -360,6 +360,7 @@ void WorldSession::HandleSetRoleOpcode(WorldPackets::Party::SetRole& packet) group->BroadcastPacket(roleChangedInform.Write(), false); group->SetLfgRoles(packet.TargetGUID, packet.Role); GroupFinderListings::OnGroupChanged(group); // the group's Group Finder post in Discord shows the new role + sScriptMgr->OnGroupMemberRoleSet(group, GetPlayer()->GetGUID(), packet.TargetGUID, oldRole, packet.Role); } else SendPacket(roleChangedInform.Write()); diff --git a/src/server/game/Handlers/HotfixHandler.cpp b/src/server/game/Handlers/HotfixHandler.cpp index 7c92f7b7a9..154019a678 100644 --- a/src/server/game/Handlers/HotfixHandler.cpp +++ b/src/server/game/Handlers/HotfixHandler.cpp @@ -22,6 +22,12 @@ #include "MapUtils.h" #include "World.h" +namespace +{ +// TactKey.db2 +constexpr uint32 TactKeyTableHash = 0xDF2F53CF; +} + void WorldSession::HandleDBQueryBulk(WorldPackets::Hotfix::DBQueryBulk& dbQuery) { DB2StorageBase const* store = sDB2Manager.GetStorage(dbQuery.TableHash); @@ -50,6 +56,12 @@ void WorldSession::HandleDBQueryBulk(WorldPackets::Hotfix::DBQueryBulk& dbQuery) { TC_LOG_TRACE("network", "CMSG_DB_QUERY_BULK: {} requested non-existing entry {} in datastore: {}", GetPlayerInfo(), record.RecordID, dbQuery.TableHash); dbReply.Timestamp = GameTime::GetGameTime(); + + // A TACT key we don't hold: answer "not public", as live does for every key Blizzard hasn't released. A client + // with an empty hotfix cache asks for dozens of them while entering the world, and the 1.60.1.70938 client + // crashes (null read) after a batch of Invalid answers for TactKey. + if (dbQuery.TableHash == TactKeyTableHash) + dbReply.Status = DB2Manager::HotfixRecord::Status::NotPublic; } SendPacket(dbReply.Write()); diff --git a/src/server/game/Maps/Map.cpp b/src/server/game/Maps/Map.cpp index 8250276cc1..7c12428901 100644 --- a/src/server/game/Maps/Map.cpp +++ b/src/server/game/Maps/Map.cpp @@ -1790,6 +1790,41 @@ bool Map::isInLineOfSight(PhaseShift const& phaseShift, float x1, float y1, floa return true; } +bool Map::FindClosedDoorOnSegment(PhaseShift const& phaseShift, G3D::Vector3 const& from, G3D::Vector3 const& to, G3D::Vector3& hit) const +{ + G3D::Vector3 const delta = to - from; + float const length = delta.magnitude(); + if (length < 0.01f) + return false; + G3D::Ray const ray = G3D::Ray::fromOriginAndDirection(from, delta / length); + + // every grid the leg's box covers: a long leg (a straight shortcut) can cross a corner grid neither end lies in + GridCoord const a = Trinity::ComputeGridCoord(from.x, from.y); + GridCoord const b = Trinity::ComputeGridCoord(to.x, to.y); + float best = length; + bool found = false; + for (uint32 gx = std::min(a.x_coord, b.x_coord); gx <= std::max(a.x_coord, b.x_coord); ++gx) + { + for (uint32 gy = std::min(a.y_coord, b.y_coord); gy <= std::max(a.y_coord, b.y_coord); ++gy) + { + for (GameObjectModel const* model : GetGameObjectModelsInGrid((MAX_NUMBER_OF_GRIDS - 1) - gx, (MAX_NUMBER_OF_GRIDS - 1) - gy)) + { + if (!model->IsDoor() || !model->IsCollisionEnabled()) + continue; + float dist = best; + if (model->IntersectRay(ray, dist, true, phaseShift, VMAP::ModelIgnoreFlags::Nothing) && dist <= best) + { + best = dist; + found = true; + } + } + } + } + if (found) + hit = from + ray.direction() * best; + return found; +} + bool Map::getObjectHitPos(PhaseShift const& phaseShift, float x1, float y1, float z1, float x2, float y2, float z2, float& rx, float& ry, float& rz, float modifyDist) { G3D::Vector3 startPos(x1, y1, z1); @@ -2046,18 +2081,32 @@ bool Map::CheckRespawn(RespawnInfo* info) // escort check for creatures only (if the world config boolean is set) bool const isEscort = (sWorld->getBoolConfig(CONFIG_RESPAWN_DYNAMIC_ESCORTNPC) && data->spawnGroupData->flags & SPAWNGROUP_FLAG_ESCORTQUESTNPC); + // A spawn has one body: it does not come back while its corpse still lies there. The respawn delay and the corpse decay + // are equal for most creatures (Corpse.Decay.Normal 300 s), and a shorter, scaled respawn made the creature stand up again + // beside its own corpse ("the corpse came back to life", Discord 2026-11-09, Dun Morogh). The respawn waits for the corpse + // to decay or be removed; the corpse keeps its loot until then. + bool corpseStillThere = false; auto range = _creatureBySpawnIdStore.equal_range(info->spawnId); for (auto it = range.first; it != range.second; ++it) { Creature* creature = it->second; if (!creature->IsAlive()) + { + if (creature->getDeathState() == CORPSE && !creature->IsSummon()) + corpseStillThere = true; continue; + } // escort NPCs are allowed to respawn as long as all other instances are already escorting if (isEscort && creature->IsEscorted()) continue; alreadyExists = true; break; } + if (!alreadyExists && corpseStillThere) + { + info->respawnTime = GameTime::GetGameTime() + 1; // look again next second + return false; + } break; } case SPAWN_TYPE_GAMEOBJECT: diff --git a/src/server/game/Maps/Map.h b/src/server/game/Maps/Map.h index 52dafd962b..16b064c41c 100644 --- a/src/server/game/Maps/Map.h +++ b/src/server/game/Maps/Map.h @@ -507,6 +507,10 @@ class TC_GAME_API Map : public GridRefManager BattlegroundMap const* ToBattlegroundMap() const { return IsBattlegroundOrArena() ? reinterpret_cast(this) : nullptr; } bool isInLineOfSight(PhaseShift const& phaseShift, float x1, float y1, float z1, float x2, float y2, float z2, LineOfSightChecks checks, VMAP::ModelIgnoreFlags ignoreFlags) const; + // The first closed door (a GAMEOBJECT_TYPE_DOOR with its collision on) the segment from `from` to `to` runs into, seen from this + // phase: true with `hit` set to where it meets it. The navmesh is baked without doors, so a path can cross one. + // Map or world thread only: the door models change in Map::Update. + bool FindClosedDoorOnSegment(PhaseShift const& phaseShift, G3D::Vector3 const& from, G3D::Vector3 const& to, G3D::Vector3& hit) const; void Balance() { _dynamicTree.balance(); } void RemoveGameObjectModel(GameObjectModel const& model) { _dynamicTree.remove(model); } void InsertGameObjectModel(GameObjectModel const& model) { _dynamicTree.insert(model); } diff --git a/src/server/game/Movement/MotionMaster.cpp b/src/server/game/Movement/MotionMaster.cpp index d5b237be9b..3d7d676fce 100644 --- a/src/server/game/Movement/MotionMaster.cpp +++ b/src/server/game/Movement/MotionMaster.cpp @@ -26,10 +26,14 @@ #include "Memory.h" #include "MoveSpline.h" #include "ObjectAccessor.h" +#include "Map.h" #include "PathGenerator.h" +#include "PhasingHandler.h" #include "Player.h" #include "ScriptSystem.h" #include "Types.h" +#include "VMapFactory.h" +#include "VMapManager.h" #include #include #include @@ -786,6 +790,79 @@ void MotionMaster::MoveCharge(PathGenerator const& path, float speed /*= SPEED_C init.Launch(); } +// Where a unit thrown `dist` yards along `relAngle` (relative to its orientation, as MovePositionToFirstCollision takes it) on an arc +// `maxHeight` above its start comes down: the straight line up to the apex and down to the landing point, cut where it meets a wall +// (static and dynamic geometry), and the floor under that point. The mmap raycast stops at the navmesh's edge: Magnetic Pull (28337) +// left a bot tank on its own platform, thrown straight up, while the client's pull flies it over the slime to the other add +// (naxx_thaddius 1118 r2: both tanks came down where they stood, Stalagg and Feugen walked across the room to each other's tank, and the +// raid wiped). False when no floor is found under the landing point (over the void): the caller keeps the raycast. +static bool KnockbackFlightLanding(Unit const* owner, Position& dest, float dist, float relAngle, float maxHeight) +{ + Map* map = owner->GetMap(); + PhaseShift const& phaseShift = owner->GetPhaseShift(); + float const angle = relAngle + owner->GetOrientation(); + float const sx = dest.GetPositionX(), sy = dest.GetPositionY(), sz = dest.GetPositionZ(); + float ex = sx + dist * std::cos(angle); + float ey = sy + dist * std::sin(angle); + if (!Trinity::IsValidMapCoord(ex, ey)) + return false; + float const halfHeight = owner->GetCollisionHeight() * 0.5f; + uint32 const terrainMapId = PhasingHandler::GetTerrainMapId(phaseShift, map->GetId(), map->GetTerrain(), sx, sy); + auto const hit = [&](float x1, float y1, float z1, float& x2, float& y2, float& z2) + { + float rx = x2, ry = y2, rz = z2; + bool col = VMAP::VMapFactory::createOrGetVMapManager()->getObjectHitPos(terrainMapId, x1, y1, z1, x2, y2, z2, rx, ry, rz, -0.5f); + float dx = rx, dy = ry, dz = rz; + if (map->getObjectHitPos(phaseShift, x1, y1, z1, rx, ry, rz, dx, dy, dz, -0.5f)) + col = true; + if (col) + { + x2 = dx; + y2 = dy; + z2 = dz; + } + return col; + }; + // The flight is checked along its arc, as the client flies it: a parabola `maxHeight` above the line from the start to the landing + // floor, in kArcSteps straight pieces. A straight line 5 y up (0061) met the edge of Stalagg's platform at once: naxx_thaddius 1118 r3, + // both tanks still thrown straight up (Mctankwa at z 321.5 over its own spot) and the adds walked across to them. + constexpr int kArcSteps = 8; + float const apex = std::max(maxHeight, 0.0f); + float const searchFrom = sz + halfHeight + apex; + float const searchDist = searchFrom - sz + 50.0f; + float const endFloor = map->GetHeight(phaseShift, ex, ey, searchFrom, true, searchDist); + if (endFloor <= INVALID_HEIGHT) + return false; + float const z0 = sz + halfHeight, z1 = endFloor + halfHeight; + float const fx = ex, fy = ey; + float px = sx, py = sy, pz = z0; + bool met = false; + for (int i = 1; i <= kArcSteps && !met; ++i) + { + float const t = float(i) / float(kArcSteps); + float qx = sx + (fx - sx) * t, qy = sy + (fy - sy) * t, qz = z0 + (z1 - z0) * t + 4.0f * apex * t * (1.0f - t); + if (hit(px, py, pz, qx, qy, qz)) + { + met = true; + ex = qx; + ey = qy; + // Back off the wall it met. + float const back = std::min(CONTACT_DISTANCE, std::hypot(ex - sx, ey - sy)); + ex -= back * std::cos(angle); + ey -= back * std::sin(angle); + } + px = qx; + py = qy; + pz = qz; + } + // Down to the floor under the landing point. + float const landZ = map->GetHeight(phaseShift, ex, ey, met ? pz : z1 + 2.0f, true, searchDist); + if (landZ <= INVALID_HEIGHT) + return false; + dest.Relocate(ex, ey, landZ); + return true; +} + void MotionMaster::MoveKnockbackFrom(Position const& origin, float speedXY, float speedZ, float angle /*= M_PI*/, Movement::SpellEffectExtraData const* spellEffectExtraData /*= nullptr*/) { if (std::abs(speedXY) < 0.01f && std::abs(speedZ) < 0.01f) @@ -811,8 +888,11 @@ void MotionMaster::MoveKnockbackFrom(Position const& origin, float speedXY, floa if (dist > 0.01f) { - // Use a mmap raycast to get a valid destination. - _owner->MovePositionToFirstCollision(dest, dist, o); + // A player reaches here only when it is a bot (Unit::KnockbackFrom: a client flies its own knockback). It is thrown through the + // air as a client is, over gaps and drops the navmesh does not cross; a creature keeps the mmap raycast. + if (!_owner->IsPlayer() || !KnockbackFlightLanding(_owner, dest, dist, o, max_height)) + // Use a mmap raycast to get a valid destination. + _owner->MovePositionToFirstCollision(dest, dist, o); path.push_back(PositionToVector3(dest)); } else diff --git a/src/server/game/Movement/PathGenerator.cpp b/src/server/game/Movement/PathGenerator.cpp index eaef8200bf..c610ce72b7 100644 --- a/src/server/game/Movement/PathGenerator.cpp +++ b/src/server/game/Movement/PathGenerator.cpp @@ -27,6 +27,9 @@ #include "Map.h" #include "Metric.h" #include "PhasingHandler.h" +#include "StringFormat.h" +#include "VMapFactory.h" +#include "VMapManager.h" #include "Player.h" #include "World.h" #include "WorldSession.h" @@ -156,21 +159,80 @@ PathGenerator::~PathGenerator() } PathGenerator::LiquidRouteCheck PathGenerator::_liquidRouteCheck = nullptr; +PathGenerator::ClosedDoorCheck PathGenerator::_closedDoorCheck = nullptr; + +// A source whose paths keep clear of closed doors (the ClosedDoorCheck says so): each leg of the route is tested against the +// map's closed doors; the corridor polygon under a door is left out and the route searched again. Without a route that misses +// every closed door, the target is unreachable for now: PATHFIND_NOPATH. +bool PathGenerator::CalculatePath(float srcX, float srcY, float srcZ, float destX, float destY, float destZ, bool forceDest) +{ + _avoidedClosedDoor = false; + _filter.ClearExcludedPolys(); + bool ok = CalculateLiquidAwarePath(srcX, srcY, srcZ, destX, destY, destZ, forceDest); + if (!ok || forceDest || (_type & (PATHFIND_NOPATH | PATHFIND_NOT_USING_PATH)) || !_closedDoorCheck || !_closedDoorCheck(_source)) + return ok; + + G3D::Vector3 hit; + for (uint32 detour = 0; FindClosedDoorOnPath(hit); ++detour) + { + _avoidedClosedDoor = true; + dtPolyRef doorPoly = INVALID_POLYREF; + if (detour < MAX_CLOSED_DOOR_DETOURS && _polyLength > 2) + { + float const point[VERTEX_SIZE] = { hit.y, hit.z - 1.0f, hit.x }; // back down to the path (FindClosedDoorOnPath) + float distance = 0.0f; + NavExecGuard navGuard(NavExecLock(_source->GetMapId())); + doorPoly = GetPathPolyByPosition(_pathPolyRefs, _polyLength, point, &distance); + } + // the door stands on the source's or the target's own polygon, or the detours ran out: no route around it + if (doorPoly == INVALID_POLYREF || doorPoly == _pathPolyRefs[0] || doorPoly == _pathPolyRefs[_polyLength - 1]) + { + BuildShortcut(); + _type = PATHFIND_NOPATH; + break; + } + _filter.ExcludePoly(doorPoly); + Clear(); // a fresh search: BuildPolyPath would otherwise cut the new route out of the old corridor + ok = CalculateLiquidAwarePath(srcX, srcY, srcZ, destX, destY, destZ, forceDest); + if (!ok || (_type & PATHFIND_NOPATH)) + break; + } + _filter.ClearExcludedPolys(); + return ok; +} + +// Each leg is tested a yard above the path, the height the source walks through: the floor under the door frame is not the door. +bool PathGenerator::FindClosedDoorOnPath(G3D::Vector3& hit) const +{ + Map const* map = _source->GetMap(); + if (!map) + return false; + G3D::Vector3 const lift(0.0f, 0.0f, 1.0f); + for (std::size_t i = 1; i < _pathPoints.size(); ++i) + if (map->FindClosedDoorOnSegment(_source->GetPhaseShift(), _pathPoints[i - 1] + lift, _pathPoints[i] + lift, hit)) + return true; + return false; +} // A source that keeps out of liquid (the LiquidRouteCheck says so): when the first route touches liquid, a land-only route is // searched (water polygons excluded) and used when it exists and is dry; otherwise the first route is kept and IsWetRoute() says so. -bool PathGenerator::CalculatePath(float srcX, float srcY, float srcZ, float destX, float destY, float destZ, bool forceDest) +// Each search after the first starts from a cleared corridor: BuildPolyPath cuts a route out of the previous corridor when both +// end polygons are on it, and that cut never asks the filter. +bool PathGenerator::CalculateLiquidAwarePath(float srcX, float srcY, float srcZ, float destX, float destY, float destZ, bool forceDest) { _wetRoute = false; bool ok = CalculatePathImpl(srcX, srcY, srcZ, destX, destY, destZ, forceDest); - if (!ok || (_type & PATHFIND_NOPATH) || !_liquidRouteCheck || !_liquidRouteCheck(_source, _pathPoints, CrossesWaterPolys())) + if (!ok || (_type & PATHFIND_NOPATH) || _ignoreLiquidRouteCheck || !_liquidRouteCheck || + !_liquidRouteCheck(_source, _pathPoints, CrossesWaterPolys())) return ok; _avoidWater = true; + Clear(); bool const dry = CalculatePathImpl(srcX, srcY, srcZ, destX, destY, destZ, forceDest) && !(_type & PATHFIND_NOPATH) && !_liquidRouteCheck(_source, _pathPoints, CrossesWaterPolys()); _avoidWater = false; if (dry) return true; + Clear(); ok = CalculatePathImpl(srcX, srcY, srcZ, destX, destY, destZ, forceDest); // restore the first route _wetRoute = true; return ok; @@ -205,6 +267,8 @@ bool PathGenerator::CalculatePathImpl(float srcX, float srcY, float srcZ, float _forceDestination = forceDest; _pathTraversesOffMesh = false; // recomputed per path by FindSmoothPath + _diveRefusal.clear(); + _incompleteReason.clear(); TC_LOG_DEBUG("maps.mmaps", "++ PathGenerator::CalculatePath() for {}", _source->GetGUID().ToString()); @@ -465,6 +529,8 @@ void PathGenerator::BuildPolyPath(G3D::Vector3 const& startPos, G3D::Vector3 con } _type = PathType(PATHFIND_INCOMPLETE); + _incompleteReason = Trinity::StringFormat("far from the navmesh: the start {:.2f} yd, the destination {:.2f} yd from its polygon", + distToStartPoly, distToEndPoly); AddFarFromPolyFlags(startFarFromPoly, endFarFromPoly); } @@ -725,7 +791,24 @@ void PathGenerator::BuildPolyPath(G3D::Vector3 const& startPos, G3D::Vector3 con if (_pathPolyRefs[_polyLength - 1] == endPoly && !(_type & PATHFIND_INCOMPLETE)) _type = PATHFIND_NORMAL; else + { + if (_pathPolyRefs[_polyLength - 1] != endPoly) + { + // the polygon route stops on another polygon: name both, with their flags and heights over the destination + auto describe = [&](dtPolyRef ref) -> std::string + { + unsigned short flags = 0; + _navMesh->getPolyFlags(ref, &flags); + float h = 0.0f; + if (dtStatusSucceed(_navMeshQuery->getPolyHeight(ref, endPoint, &h))) + return Trinity::StringFormat("0x{:X} flags 0x{:X} height {:.2f} over the destination", uint64(ref), uint32(flags), h); + return Trinity::StringFormat("0x{:X} flags 0x{:X}, not over the destination", uint64(ref), uint32(flags)); + }; + _incompleteReason = Trinity::StringFormat("the polygon route ({} polygons) stops on polygon {}; the destination's polygon is {}, " + "{:.2f} yd away", _polyLength, describe(_pathPolyRefs[_polyLength - 1]), describe(endPoly), distToEndPoly); + } _type = PATHFIND_INCOMPLETE; + } AddFarFromPolyFlags(startFarFromPoly, endFarFromPoly); @@ -813,6 +896,8 @@ void PathGenerator::BuildPointPath(const float *startPoint, const float *endPoin RemoveNearCoincidentPathPoints(); SetActualEndPosition(_pathPoints.back()); _type = PathType(_type | PATHFIND_INCOMPLETE); + if (_incompleteReason.empty()) + _incompleteReason = pointCount >= _pointPathLimit ? "the point budget ran out" : "the smooth path stopped partway along the polygons"; return; } @@ -828,6 +913,144 @@ void PathGenerator::BuildPointPath(const float *startPoint, const float *endPoin // first point is always our current location - we need the next one SetActualEndPosition(_pathPoints[pointCount-1]); + // A swimmer whose destination is under the water: the navmesh water polygons lie on the surface, so the path ended on the + // surface above it, up to the polygon search height away. A unit chasing a mob there arrived over it, out of melee reach in 3D, + // and stood still with its attack refused: grouped bots "freeze" on Attack against naga under the reef (gefest, Discord + // 2026-11-17, Treacherous Reef). Where the surface polygons stop short of the point over the destination (a bank, a pier), the + // path ended up to 4.9 yd away and was marked incomplete (PC chargepath, Theramore 2026-11-17/18). The path ends the way a + // swimming player goes, at most kDiveAcross from where it ended: across at that height and then straight down, or, where a + // model stands on the way across (a pier over the water), straight down first and then across under the water, or in one + // straight leg. Every leg keeps clear of models and above the ground, and a leg under the surface stays in the water. Once the + // destination is reached, the path is complete. DiveRefusal() names what turned each try down, and for a model on the way its spawn + // and where the line hit it (.mmap chargepath prints it). + _diveRefusal.clear(); + if (!_forceDestination && (_type & (PATHFIND_NORMAL | PATHFIND_INCOMPLETE)) && pointCount >= 2) + { + G3D::Vector3 const& end = GetEndPosition(); + G3D::Vector3 const last = _pathPoints[pointCount - 1]; + Unit const* swimmer = _source->ToUnit(); + Map* map = _source->GetMap(); + PhaseShift const& phase = _source->GetPhaseShift(); + constexpr float kDiveAcross = 10.0f; // a short swim; past it the surface polygons should carry the path + float const across = std::sqrt((end.x - last.x) * (end.x - last.x) + (end.y - last.y) * (end.y - last.y)); + // A leg from a to b: no model across it, never below the ground, and (underWater) in the water at every yard. A refused leg + // says why in `why`, a model with its spawn and the point the line hit it. + auto legClear = [&](G3D::Vector3 const& from, G3D::Vector3 const& to, bool underWater, std::string& why) -> bool + { + if ((to - from).magnitude() < 0.1f) + return true; + if (!map->isInLineOfSight(phase, from.x, from.y, from.z + 0.3f, to.x, to.y, to.z + 0.3f, LINEOFSIGHT_CHECK_VMAP, VMAP::ModelIgnoreFlags::Nothing)) + { + float hx = 0.0f, hy = 0.0f, hz = 0.0f, sx = 0.0f, sy = 0.0f, sz = 0.0f; + uint32 spawnId = 0; + uint8 spawnFlags = 0; + if (VMAP::VMapFactory::createOrGetVMapManager()->getFirstModelHit( + PhasingHandler::GetTerrainMapId(phase, map->GetId(), map->GetTerrain(), from.x, from.y), from.x, from.y, from.z + 0.3f, + to.x, to.y, to.z + 0.3f, VMAP::ModelIgnoreFlags::Nothing, hx, hy, hz, spawnId, spawnFlags, sx, sy, sz)) + why = Trinity::StringFormat("a model stands on the way (spawn {} flags 0x{:X} at ({:.1f}, {:.1f}, {:.1f}), hit at ({:.2f}, {:.2f}, " + "{:.2f}), {:.2f} yd along the {:.2f} yd leg)", spawnId, uint32(spawnFlags), sx, sy, sz, hx, hy, hz, (G3D::Vector3(hx, hy, hz) - from).magnitude(), (to - from).magnitude()); + else + why = "a model stands on the way"; + return false; + } + uint32 const steps = std::max(1, uint32(std::ceil((to - from).magnitude()))); + for (uint32 i = 1; i <= steps; ++i) + { + G3D::Vector3 const q = from + (to - from) * (float(i) / float(steps)); + float const ground = map->GetGridHeight(phase, q.x, q.y); + if (ground > INVALID_HEIGHT && q.z < ground - 0.5f) + return why = Trinity::StringFormat("the way runs into the ground at ({:.2f}, {:.2f}, {:.2f}), ground {:.2f}", q.x, q.y, q.z, ground), false; + if (underWater && !map->IsInWater(phase, q.x, q.y, q.z)) + return why = Trinity::StringFormat("the way leaves the water at ({:.2f}, {:.2f}, {:.2f})", q.x, q.y, q.z), false; + } + return true; + }; + // only a destination under the water below the path's end is a dive; anything else is no business of this step + if (end.z < last.z - 0.5f && map->IsUnderWater(phase, end.x, end.y, end.z)) + { + if (!swimmer || !swimmer->CanSwim()) + _diveRefusal = "the source cannot swim"; + else if (across > kDiveAcross) + _diveRefusal = "the path ends more than 10 yd across from the point over the destination"; + else + { + float const groundAtLast = map->GetGridHeight(phase, last.x, last.y); + G3D::Vector3 const over(end.x, end.y, last.z); + G3D::Vector3 const under(last.x, last.y, std::max(end.z, groundAtLast > INVALID_HEIGHT ? groundAtLast + 1.0f : end.z)); + std::string acrossWhy, downWhy, straightWhy; + std::vector legs; + // 1. across, then down + if (!legClear(last, over, false, acrossWhy)) + acrossWhy = "across: " + acrossWhy; + else if (!map->IsInWater(phase, over.x, over.y, over.z - 0.5f)) + acrossWhy = "the point over the destination is not in the water"; + else if (!legClear(over, end, true, acrossWhy)) + acrossWhy = "down: " + acrossWhy; + else + legs = { over, end }; + // 2. down, then across under the water (a pier over the water) + if (legs.empty()) + { + if (under.z >= last.z - 0.5f) + downWhy = "no room to sink where the path ends"; + else if (!map->IsInWater(phase, under.x, under.y, under.z)) + downWhy = "no water under the path's end"; + else if (!legClear(last, under, true, downWhy)) + downWhy = "down: " + downWhy; + else if (!legClear(under, end, true, downWhy)) + downWhy = "across: " + downWhy; + else + legs = { under, end }; + } + // 3. one straight leg + if (legs.empty()) + { + if (legClear(last, end, false, straightWhy)) + legs = { end }; + } + if (legs.empty()) + _diveRefusal = Trinity::StringFormat("across then down: {}; down then across: {}; straight: {}", acrossWhy, downWhy, straightWhy); + else + { + for (G3D::Vector3 const& v : legs) + if ((v - _pathPoints[pointCount - 1]).magnitude() >= 0.1f) + { + _pathPoints.push_back(v); + ++pointCount; + } + SetActualEndPosition(end); + if (_type & PATHFIND_INCOMPLETE) + _type = PathType((_type & ~PATHFIND_INCOMPLETE) | PATHFIND_NORMAL); + } + } + } + // A swimmer whose destination is under the water and whose route still falls short: the navmesh holds the water as its + // surface and its bed, not the water between, so the polygon route can stop on a surface or bed polygon that does not join + // the destination's (PC step N, Theramore 2026-11-18: a sea-floor point 12 yd away came back incomplete, one 20 yd away + // ended 16 yd short on the surface). A swimming player swims there in a straight line. The source is in the water, the + // whole line stays in it, clear of models and above the ground, as for a far-from-mesh swimmer above. The same holds for a + // complete route that bends: over those layers it can run a long way round (PC step P: 104 yd along the polygons to a point + // 8 yd away, past what a Charge reaches), and the clear straight swim is the shortest way there. + if (((_type & PATHFIND_INCOMPLETE) || pointCount > 2) && swimmer && swimmer->CanSwim() && map->IsUnderWater(phase, end.x, end.y, end.z)) + { + G3D::Vector3 const& start = GetStartPosition(); + std::string swimWhy; + if (!map->IsInWater(phase, start.x, start.y, start.z)) + swimWhy = "the source is not in the water"; + else if (legClear(start, end, true, swimWhy)) + { + _pathPoints = { start, end }; + pointCount = 2; + SetActualEndPosition(end); + _type = PathType((_type & ~PATHFIND_INCOMPLETE) | PATHFIND_NORMAL); + _incompleteReason.clear(); + _diveRefusal.clear(); + } + if (_type & PATHFIND_INCOMPLETE) + _incompleteReason += (_incompleteReason.empty() ? "" : "; ") + ("no straight swim: " + swimWhy); + } + } + // force the given destination, if needed if (_forceDestination && (!(_type & PATHFIND_NORMAL) || !InRange(GetEndPosition(), GetActualEndPosition(), 1.0f, 1.0f))) diff --git a/src/server/game/Movement/PathGenerator.h b/src/server/game/Movement/PathGenerator.h index 60407c0229..5712780324 100644 --- a/src/server/game/Movement/PathGenerator.h +++ b/src/server/game/Movement/PathGenerator.h @@ -77,12 +77,30 @@ class TC_GAME_API PathGenerator // Sources that keep out of liquid (see SetLiquidRouteCheck): the last CalculatePath found only a route through liquid, // no land route exists. bool IsWetRoute() const { return _wetRoute; } + // Why the last BuildPointPath added no swim down to a destination under the water (nullptr: it did, or none was asked). + // Empty when the dive leg was built or never needed. + std::string const& DiveRefusal() const { return _diveRefusal; } + // Why the last path came back incomplete (empty when it did not, or for a reason not named here). + std::string const& IncompleteReason() const { return _incompleteReason; } // Optional check (set by a module): returns true when `source` should keep out of liquid and `path` touches liquid. // CalculatePath then searches a land-only route and keeps it when it is dry, else keeps the first route (IsWetRoute). // `waterPolys`: the corridor runs over navmesh water polygons past its first one (the liquid probes miss some of them). using LiquidRouteCheck = bool(*)(WorldObject const* source, Movement::PointsArray const& path, bool waterPolys); static void SetLiquidRouteCheck(LiquidRouteCheck check) { _liquidRouteCheck = check; } + // This path goes straight at its target whatever the source's liquid preference (a charge): no land-only search. + void SetIgnoreLiquidRouteCheck(bool ignore) { _ignoreLiquidRouteCheck = ignore; } + + // Optional check (set by a module): returns true when `source`'s paths must not run through a closed door. The navmesh + // is baked without game objects, so its corridors cross doors whatever their state. For such a source CalculatePath + // looks for a closed door on each leg of the route and searches again with the door's polygon left out, up to + // MAX_CLOSED_DOOR_DETOURS times; when the target lies only behind a closed door the result is PATHFIND_NOPATH. + // It reads the map's game object models, so it must return false on any thread other than the source map's update + // thread or the world thread while the maps are still. + using ClosedDoorCheck = bool(*)(WorldObject const* source); + static void SetClosedDoorCheck(ClosedDoorCheck check) { _closedDoorCheck = check; } + // The last CalculatePath left out at least one closed door, or found the target only behind one (then PATHFIND_NOPATH). + bool AvoidedClosedDoor() const { return _avoidedClosedDoor; } bool CalculatePath(float destX, float destY, float destZ, bool forceDest = false); bool IsInvalidDestinationZ(WorldObject const* target) const; @@ -150,9 +168,17 @@ class TC_GAME_API PathGenerator // following). See dtQueryFilterTC.h. dtQueryFilterTC _filter; // use single filter for all movements, update it when needed bool _avoidWater = false; + bool _ignoreLiquidRouteCheck = false; bool _wetRoute = false; + std::string _diveRefusal; + std::string _incompleteReason; + bool _avoidedClosedDoor = false; bool CalculatePathImpl(float srcX, float srcY, float srcZ, float destX, float destY, float destZ, bool forceDest); + bool CalculateLiquidAwarePath(float srcX, float srcY, float srcZ, float destX, float destY, float destZ, bool forceDest); + bool FindClosedDoorOnPath(G3D::Vector3& hit) const; static LiquidRouteCheck _liquidRouteCheck; + static ClosedDoorCheck _closedDoorCheck; + static constexpr uint32 MAX_CLOSED_DOOR_DETOURS = 6; public: // Per-pathfind opt-out from the road-cost bonus. When set, this diff --git a/src/server/game/Movement/dtQueryFilterTC.cpp b/src/server/game/Movement/dtQueryFilterTC.cpp index 16dddec6f1..e7189a5070 100644 --- a/src/server/game/Movement/dtQueryFilterTC.cpp +++ b/src/server/game/Movement/dtQueryFilterTC.cpp @@ -51,6 +51,16 @@ namespace dtQueryFilterTC::dtQueryFilterTC() = default; +bool dtQueryFilterTC::passFilter(dtPolyRef ref, dtMeshTile const* tile, dtPoly const* poly) const +{ + if (!dtQueryFilter::passFilter(ref, tile, poly)) + return false; + for (dtPolyRef const excluded : _excludedPolys) + if (excluded == ref) + return false; + return true; +} + void dtQueryFilterTC::BeginPathStats() const { _maxSlopeFactorThisPath = 1.0f; diff --git a/src/server/game/Movement/dtQueryFilterTC.h b/src/server/game/Movement/dtQueryFilterTC.h index c2b6fd8969..73ac930e10 100644 --- a/src/server/game/Movement/dtQueryFilterTC.h +++ b/src/server/game/Movement/dtQueryFilterTC.h @@ -66,6 +66,13 @@ public: void SetSlopeCoefficient(float c) { _slopeCoefficient = c; } float GetSlopeCoefficient() const { return _slopeCoefficient; } + // Polygons this filter refuses besides the flag test (a doorway behind a closed door, PathGenerator's door check). A short list, + // cleared by the path that set it. + void ExcludePoly(dtPolyRef ref) { _excludedPolys.push_back(ref); } + void ClearExcludedPolys() { _excludedPolys.clear(); } + bool HasExcludedPolys() const { return !_excludedPolys.empty(); } + bool passFilter(dtPolyRef ref, dtMeshTile const* tile, dtPoly const* poly) const override; + // Override Detour's per-segment cost computation. Signature must match // dtQueryFilter::getCost exactly so the dynamic dispatch works. float getCost(float const* pa, float const* pb, @@ -135,6 +142,7 @@ public: private: bool _disableRoadBonus = false; + std::vector _excludedPolys; float _slopeCoefficient = 1.0f; mutable float _maxSlopeFactorThisPath = 1.0f; // updated by getCost(); reset by BeginPathStats() }; diff --git a/src/server/game/Scripting/ScriptMgr.cpp b/src/server/game/Scripting/ScriptMgr.cpp index d75cc61d36..a975cd24d8 100644 --- a/src/server/game/Scripting/ScriptMgr.cpp +++ b/src/server/game/Scripting/ScriptMgr.cpp @@ -2394,6 +2394,12 @@ void ScriptMgr::OnGroupSubgroupChange(Group* group, ObjectGuid guid, uint8 subgr FOREACH_SCRIPT(GroupScript)->OnSubgroupChange(group, guid, subgroup); } +void ScriptMgr::OnGroupMemberRoleSet(Group* group, ObjectGuid setter, ObjectGuid target, uint8 oldRole, uint8 newRole) +{ + ASSERT(group); + FOREACH_SCRIPT(GroupScript)->OnMemberRoleSet(group, setter, target, oldRole, newRole); +} + // Unit void ScriptMgr::OnHeal(Unit* healer, Unit* reciever, uint32& gain) { @@ -3376,6 +3382,10 @@ void GroupScript::OnSubgroupChange(Group* /*group*/, ObjectGuid /*guid*/, uint8 { } +void GroupScript::OnMemberRoleSet(Group* /*group*/, ObjectGuid /*setter*/, ObjectGuid /*target*/, uint8 /*oldRole*/, uint8 /*newRole*/) +{ +} + AreaTriggerEntityScript::AreaTriggerEntityScript(char const* name) noexcept : ScriptObject(name) { diff --git a/src/server/game/Scripting/ScriptMgr.h b/src/server/game/Scripting/ScriptMgr.h index d63018f59c..e6b019b6bc 100644 --- a/src/server/game/Scripting/ScriptMgr.h +++ b/src/server/game/Scripting/ScriptMgr.h @@ -978,6 +978,10 @@ class TC_GAME_API GroupScript : public ScriptObject // Called when a raid member is moved to another subgroup (map thread). virtual void OnSubgroupChange(Group* group, ObjectGuid guid, uint8 subgroup); + + // Called when a player sets a member's party role with CMSG_SET_ROLE (the role menu), after the role is stored. + // Roles are LfgRoles masks (tank 0x02, healer 0x04, damage 0x08; 0 = no role). + virtual void OnMemberRoleSet(Group* group, ObjectGuid setter, ObjectGuid target, uint8 oldRole, uint8 newRole); }; class TC_GAME_API AreaTriggerEntityScript : public ScriptObject @@ -1388,6 +1392,7 @@ class TC_GAME_API ScriptMgr void OnGroupChangeLeader(Group* group, ObjectGuid newLeaderGuid, ObjectGuid oldLeaderGuid); void OnGroupDisband(Group* group); void OnGroupSubgroupChange(Group* group, ObjectGuid guid, uint8 subgroup); + void OnGroupMemberRoleSet(Group* group, ObjectGuid setter, ObjectGuid target, uint8 oldRole, uint8 newRole); public: /* UnitScript */ diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index a65182bf3e..99966673bc 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -6603,7 +6603,19 @@ SpellCastResult Spell::CheckCast(bool strict, int32* param1 /*= nullptr*/, int32 float range = m_spellInfo->GetMaxRange(true, unitCaster, this) * 1.5f + objSize; // can't be overly strict m_preGeneratedPath = std::make_unique(unitCaster); - m_preGeneratedPath->SetPathLengthLimit(range); + // The path's length is held to the range below, by its real length. A point budget of range / 4 (SetPathLengthLimit) + // stood for it before, but the smoothed path steps less than 4 yd where the navmesh breaks into small polygons, as it + // does along every shore: a charge of 18-23 yd that walks in 1x the straight distance ran out of points there and was + // refused NOPATH (PC chargepath check 2026-11-17: Auberdine, Ratchet, Theramore, Booty Bay). + // A charge takes the shortest way to its target. The slope cost (Pathfinding.SlopeCoefficient, 1.0 in the bot + // configuration) and the road bonus shape walking routes; on a charge they made the path swing round banks and + // slopes, so near water the caster ran along the shore and on uneven ground took a detour and missed the target + // (Discord 2026-11-14, voldemargreed "bugs 5"). + m_preGeneratedPath->SetSlopeCoefficient(0.0f); + m_preGeneratedPath->SetDisableRoadBonus(true); + // A bot keeps out of water on its walks (PathGenerator::SetLiquidRouteCheck); its charge does not: the land-only search + // sent a warrior bot charging a mob in the shallows round by the bank. + m_preGeneratedPath->SetIgnoreLiquidRouteCheck(true); // first try with raycast, if it fails fall back to normal path bool result = m_preGeneratedPath->CalculatePath(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), false); @@ -6613,6 +6625,8 @@ SpellCastResult Spell::CheckCast(bool strict, int32* param1 /*= nullptr*/, int32 return SPELL_FAILED_NOPATH; else if (m_preGeneratedPath->IsInvalidDestinationZ(target)) // Check position z, if not in a straight line return SPELL_FAILED_NOPATH; + else if (m_preGeneratedPath->GetPathLength() > range) // a detour longer than the charge reaches + return SPELL_FAILED_NOPATH; m_preGeneratedPath->ShortenPathUntilDist(PositionToVector3(target->GetPosition()), objSize); // move back } diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index 510eae8a27..c9f33e4c1a 100644 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -4114,6 +4114,9 @@ void Spell::EffectCharge() Position pos = unitTarget->GetFirstCollisionPosition(unitTarget->GetCombatReach(), unitTarget->GetRelativeAngle(m_caster)); m_preGeneratedPath = std::make_unique(unitCaster); + m_preGeneratedPath->SetSlopeCoefficient(0.0f); // shortest way, as in Spell::CheckCast for charges + m_preGeneratedPath->SetDisableRoadBonus(true); + m_preGeneratedPath->SetIgnoreLiquidRouteCheck(true); // straight at the target, a bot's liquid avoidance aside m_preGeneratedPath->CalculatePath(pos.GetPositionX(), pos.GetPositionY(), pos.GetPositionZ(), false); } diff --git a/src/server/scripts/Commands/cs_misc.cpp b/src/server/scripts/Commands/cs_misc.cpp index e9416766fb..d417010fff 100644 --- a/src/server/scripts/Commands/cs_misc.cpp +++ b/src/server/scripts/Commands/cs_misc.cpp @@ -34,6 +34,7 @@ #include "Item.h" #include "ItemBonusMgr.h" #include "Language.h" +#include "Log.h" #include "MiscPackets.h" #include "MMapManager.h" #include "MotionMaster.h" @@ -41,16 +42,21 @@ #include "ObjectAccessor.h" #include "ObjectMgr.h" #include "PhasingHandler.h" +#include "QuestDef.h" #include "Player.h" #include "RealmList.h" #include "SpellAuras.h" #include "SpellHistory.h" #include "SpellMgr.h" +#include "SupportMgr.h" #include "TerrainMgr.h" #include "Transport.h" #include "Weather.h" #include "World.h" #include "WorldSession.h" +#include "GameTime.h" +#include +#include #if TRINITY_COMPILER_IS_GCC #pragma GCC diagnostic ignored "-Wdeprecated-declarations" @@ -69,6 +75,7 @@ public: { { "additem", HandleAddItemCommand, rbac::RBAC_PERM_COMMAND_ADDITEM, Console::No }, { "time", HandleTimeCommand, rbac::RBAC_PERM_COMMAND_TIME, Console::No }, + { "bug", HandleBugCommand, rbac::RBAC_PERM_COMMAND_BUG, Console::No }, { "time day", HandleTimeDayCommand, rbac::RBAC_PERM_COMMAND_TIME, Console::No }, { "time night", HandleTimeNightCommand, rbac::RBAC_PERM_COMMAND_TIME, Console::No }, { "time auto", HandleTimeAutoCommand, rbac::RBAC_PERM_COMMAND_TIME, Console::No }, @@ -318,11 +325,17 @@ public: return ApplyAura(target, spell); } - // ".aura self ": always on the player who types it, whatever is targeted. In a macro the target no longer has to be - // cleared first, which stopped the auto attack swing (and an Heroic Strike waiting for it). - static bool HandleAuraSelfCommand(ChatHandler* handler, SpellInfo const* spell) + // ".aura self [ ...]": always on the player who types it, whatever is targeted. In a macro the target no longer + // has to be cleared first, which stopped the auto attack swing (and an Heroic Strike waiting for it). + // Several spells in one line: during a boss fight the client lets a macro send only one chat line in a short time (and only + // to the group or as a whisper), so a macro of several ".aura self" lines lost all but the first. + static bool HandleAuraSelfCommand(ChatHandler* handler, std::vector const& spells) { - return ApplyAura(handler->GetSession()->GetPlayer(), spell); + Player* player = handler->GetSession()->GetPlayer(); + bool applied = false; + for (SpellInfo const* spell : spells) + applied = ApplyAura(player, spell) || applied; + return applied; } static bool ApplyAura(Unit* target, SpellInfo const* spell) @@ -1222,6 +1235,75 @@ public: return true; } + // .bug : a bug report that carries everything we otherwise have to ask for (which NPC, where, which quest). + // Saved as a bug ticket (gm_bug, the same store as the client's own bug form), so staff read it with .ticket bug list / + // .ticket bug view . The note holds the player's text and a line with zone, area, map position, target and the quest + // log (id and state: C complete, I in progress, F failed). One report per player every 30 seconds. + static bool HandleBugCommand(ChatHandler* handler, Tail text) + { + Player* player = handler->GetSession()->GetPlayer(); + bool const ru = handler->GetSession()->GetSessionDbLocaleIndex() == LOCALE_ruRU; + std::string_view what = text; + while (!what.empty() && std::isspace(static_cast(what.front()))) + what.remove_prefix(1); + while (!what.empty() && std::isspace(static_cast(what.back()))) + what.remove_suffix(1); + if (what.empty()) + { + handler->SendSysMessage(ru ? "Опишите ошибку: .bug <что не так>. Ваше место, цель и журнал заданий сохранятся сами." + : "Say what is wrong: .bug . Your spot, target and quest log are saved with it."); + handler->SetSentErrorMessage(true); + return false; + } + + static std::unordered_map lastReport; // world thread only (chat commands) + time_t const now = GameTime::GetGameTime(); + time_t& last = lastReport[player->GetGUID()]; + if (now < last + 30) + { + handler->SendSysMessage(ru ? "Подождите немного перед следующим отчётом." : "Please wait a little before the next report."); + handler->SetSentErrorMessage(true); + return false; + } + last = now; + + auto areaName = [](uint32 id) -> std::string + { + AreaTableEntry const* area = sAreaTableStore.LookupEntry(id); + return area ? std::string(area->AreaName[LOCALE_enUS]) : std::string("?"); + }; + + std::string target = "none"; + if (Unit* unit = player->GetSelectedUnit()) + target = Trinity::StringFormat("{} {} \"{}\" at {:.1f} {:.1f} {:.1f}", unit->GetTypeId() == TYPEID_PLAYER ? "player" : "creature", + unit->GetEntry(), unit->GetName(), unit->GetPositionX(), unit->GetPositionY(), unit->GetPositionZ()); + + std::string quests; + for (uint16 slot = 0; slot < MAX_QUEST_LOG_SIZE; ++slot) + { + uint32 const questId = player->GetQuestSlotQuestId(slot); + if (!questId) + continue; + QuestStatus const status = player->GetQuestStatus(questId); + quests += Trinity::StringFormat("{}{}:{}", quests.empty() ? "" : " ", questId, + status == QUEST_STATUS_COMPLETE ? 'C' : status == QUEST_STATUS_FAILED ? 'F' : 'I'); + } + + BugTicket* ticket = new BugTicket(player); + ticket->SetPosition(player->GetMapId(), player->GetPosition()); + ticket->SetFacing(player->GetOrientation()); + ticket->SetNote(Trinity::StringFormat("{}\n[.bug] zone {} {} | area {} {} | map {} x {:.1f} y {:.1f} z {:.1f} | level {} race {} class {} | " + "target {} | quests {}", what, player->GetZoneId(), areaName(player->GetZoneId()), player->GetAreaId(), areaName(player->GetAreaId()), + player->GetMapId(), player->GetPositionX(), player->GetPositionY(), player->GetPositionZ(), player->GetLevel(), player->GetRace(), + player->GetClass(), target, quests.empty() ? "none" : quests)); + sSupportMgr->AddTicket(ticket); + + TC_LOG_INFO("misc", "Bug report #{} from {} ({}): {}", ticket->GetId(), player->GetName(), player->GetGUID().ToString(), ticket->GetNote()); + handler->PSendSysMessage(ru ? "Спасибо, отчёт #%u сохранён (с вашим местом, целью и журналом заданий)." + : "Thanks, report #%u is saved (with your spot, target and quest log).", ticket->GetId()); + return true; + } + // .time: this character's own sky (DayCycle.h). Only the light and the sky change, for this player alone; the realm's // events and clock stay as they are. Kept across logins (character_day_cycle). static bool HandleTimeCommand(ChatHandler* handler) diff --git a/src/server/scripts/Commands/cs_mmaps.cpp b/src/server/scripts/Commands/cs_mmaps.cpp index e9b7d6ba94..1ef9ad0f67 100644 --- a/src/server/scripts/Commands/cs_mmaps.cpp +++ b/src/server/scripts/Commands/cs_mmaps.cpp @@ -29,8 +29,11 @@ #include "ChatCommand.h" #include "DB2Stores.h" #include "DisableMgr.h" +#include "GameObject.h" +#include "GameObjectModel.h" #include "GridNotifiersImpl.h" #include "MMapManager.h" +#include "ObjectAccessor.h" #include "ObjectMgr.h" #include "PathGenerator.h" #include "PhasingHandler.h" @@ -43,6 +46,7 @@ #include #include +#include #include #include #include @@ -66,6 +70,8 @@ public: { "loadedtiles", rbac::RBAC_PERM_COMMAND_MMAP_LOADEDTILES, false, &HandleMmapLoadedTilesCommand, "" }, { "loc", rbac::RBAC_PERM_COMMAND_MMAP_LOC, false, &HandleMmapLocCommand, "" }, { "path", rbac::RBAC_PERM_COMMAND_MMAP_PATH, false, &HandleMmapPathCommand, "" }, + // Console-usable: the walking route and the charge route (Spell::CheckCast's filter) between two points, from a named player's map. + { "chargepath", rbac::RBAC_PERM_COMMAND_MMAP_PATH, true, &HandleMmapChargePathCommand, "" }, { "stats", rbac::RBAC_PERM_COMMAND_MMAP_STATS, false, &HandleMmapStatsCommand, "" }, { "testarea", rbac::RBAC_PERM_COMMAND_MMAP_TESTAREA, false, &HandleMmapTestArea, "" }, // Auto-derives off-mesh connections from areatrigger_teleport @@ -84,6 +90,147 @@ public: return commandTable; } + // .mmap chargepath [radius] + // .mmap chargepath [maxRange] + // Builds two paths on the named player's map: a walking route (the configured filter, slope cost and road bonus on) and a charge + // route, made as Spell::CheckCast makes it for SPELL_EFFECT_CHARGE (slope cost 0, no road bonus, path length at most + // maxRange * 1.5 + 1.5, maxRange 25 by default for Charge). Each line gives the result, type, points, length and end, and the verdict CheckCast would + // give. With only a name the paths go from the player to the ground 8 ways round it at the radius (20 yd by default; under water + // the lake or sea bed), so a bot standing on a shore checks the charges into the water and along the bank from the console + // (Discord 2026-11-14, voldemargreed "bugs 5": the warrior ran along the shore or took a detour and missed). The walk line's end + // also shows whether a path to a point under the water reaches it (Discord 2026-11-16, gefest: bots froze over naga at a reef). + static bool HandleMmapChargePathCommand(ChatHandler* handler, char const* args) + { + char name[64] = {}; + float x = 0.0f, y = 0.0f, z = 0.0f, tx = 0.0f, ty = 0.0f, tz = 0.0f, extra = 0.0f; + int const read = args ? std::sscanf(args, "%63s %f %f %f %f %f %f %f", name, &x, &y, &z, &tx, &ty, &tz, &extra) : 0; + if (read < 1 || (read > 2 && read < 7)) + { + handler->PSendSysMessage("usage: .mmap chargepath [radius] | [maxRange]"); + return true; + } + + Player* source = ObjectAccessor::FindPlayerByName(name); + if (!source || !source->IsInWorld()) + { + handler->PSendSysMessage("chargepath: no player %s in the world.", name); + return true; + } + if (!MMAP::MMapManager::instance()->GetNavMesh(source->GetMapId(), source->GetInstanceId())) + { + handler->PSendSysMessage("chargepath: no navmesh loaded for map %u.", source->GetMapId()); + return true; + } + Map* map = source->GetMap(); + float const maxRange = read == 8 ? extra : 25.0f; + + auto report = [&](float sx, float sy, float sz, float ex, float ey, float ez) + { + float const dx = ex - sx, dy = ey - sy, dz = ez - sz; + float const straight = std::sqrt(dx * dx + dy * dy + dz * dz); + bool const wet = map->IsInWater(source->GetPhaseShift(), ex, ey, ez + 0.5f); + handler->PSendSysMessage("chargepath map %u (%.2f, %.2f, %.2f) -> (%.2f, %.2f, %.2f)%s: straight %.2f yd", map->GetId(), sx, sy, sz, + ex, ey, ez, wet ? " in water" : "", straight); + for (bool const charge : { false, true }) + { + PathGenerator path(source); + if (charge) + { + path.SetSlopeCoefficient(0.0f); + path.SetDisableRoadBonus(true); + path.SetIgnoreLiquidRouteCheck(true); + } + bool const result = path.CalculatePath(sx, sy, sz, ex, ey, ez, false); + PathType const type = path.GetPathType(); + char const* verdict = "ok"; + if (type & PATHFIND_SHORT) + verdict = "NOPATH (too long)"; + else if (!result || (type & (PATHFIND_NOPATH | PATHFIND_INCOMPLETE))) + verdict = "NOPATH"; + float const length = path.GetPath().size() >= 2 ? path.GetPathLength() : 0.0f; + if (charge && !std::strcmp(verdict, "ok") && length > maxRange * 1.5f + 1.5f) + verdict = "NOPATH (longer than the charge reaches)"; + // the end shows a path to a point under water: it ends at the asked z (the last leg dives) or on the surface above it + G3D::Vector3 const& end = path.GetActualEndPosition(); + // The navmesh is baked without game objects, so a path may run through a closed door or another solid object. The first + // leg that does (game object collision only, 1 yd over the path) is named (Discord 2026-11-17, bayshorian: bots went + // through the walls in the Shadowfang Keep courtyard). + Movement::PointsArray const& points = path.GetPath(); + int32 blockedLeg = -1; + for (std::size_t i = 1; i < points.size() && blockedLeg < 0; ++i) + if (!map->isInLineOfSight(source->GetPhaseShift(), points[i - 1].x, points[i - 1].y, points[i - 1].z + 1.0f, points[i].x, points[i].y, + points[i].z + 1.0f, LINEOFSIGHT_CHECK_GOBJECT, VMAP::ModelIgnoreFlags::Nothing)) + blockedLeg = int32(i); + // a bot's paths keep clear of closed doors (PathGenerator::SetClosedDoorCheck): say when one shaped this path + char const* door = ""; + if (path.AvoidedClosedDoor()) + door = (type & PATHFIND_NOPATH) ? " (only behind a closed door)" : " (around a closed door)"; + handler->PSendSysMessage(" %s result %s type 0x%X points %u length %.2f yd (%.2fx straight) end (%.2f, %.2f, %.2f) -> %s%s%s", + charge ? "charge" : "walk ", result ? "true" : "false", uint32(type), uint32(points.size()), length, + straight > 0.01f ? length / straight : 0.0f, end.x, end.y, end.z, charge ? verdict : "-", door, + blockedLeg < 0 ? "" : " THROUGH A GAME OBJECT"); + if ((type & PATHFIND_INCOMPLETE) && !path.IncompleteReason().empty()) + handler->PSendSysMessage(" incomplete: %s", path.IncompleteReason().c_str()); + if (!path.DiveRefusal().empty()) + handler->PSendSysMessage(" no swim down to the destination: %s", path.DiveRefusal().c_str()); + else if (wet && std::fabs(end.z - ez) > 0.5f) + handler->PSendSysMessage(" no swim down to the destination: the swim test never ran (the path was not built point by point)"); + if (blockedLeg >= 0) + { + G3D::Vector3 const from = points[blockedLeg - 1] + G3D::Vector3(0.0f, 0.0f, 1.0f); + G3D::Vector3 const to = points[blockedLeg] + G3D::Vector3(0.0f, 0.0f, 1.0f); + handler->PSendSysMessage(" leg %d (%.2f, %.2f, %.2f) -> (%.2f, %.2f, %.2f) crosses a solid game object%s", blockedLeg, + from.x, from.y, from.z - 1.0f, to.x, to.y, to.z - 1.0f, + (type & PATHFIND_NOPATH) ? " (no path: this straight line is not walked)" : ""); + // name each game object whose model the leg runs into: entry, type, state, door or not, collision on or off + float const legLength = (to - from).magnitude(); + if (legLength > 0.01f) + { + G3D::Ray const ray = G3D::Ray::fromOriginAndDirection(from, (to - from) / legLength); + G3D::Vector3 const mid = (from + to) * 0.5f; + std::list nearby; + Trinity::GameObjectInRangeCheck check(mid.x, mid.y, mid.z, legLength * 0.5f + 15.0f); + Trinity::GameObjectListSearcher searcher(source, nearby, check); + Cell::VisitGridObjects(mid.x, mid.y, map, searcher, legLength * 0.5f + 15.0f); + for (GameObject const* go : nearby) + { + if (!go->m_model) + continue; + float dist = legLength; + if (!go->m_model->IntersectRay(ray, dist, true, source->GetPhaseShift(), VMAP::ModelIgnoreFlags::Nothing)) + continue; + handler->PSendSysMessage(" hits %s entry %u spawn " UI64FMTD " type %u state %u%s collision %s at %.2f yd", go->GetName().c_str(), + go->GetEntry(), go->GetSpawnId(), uint32(go->GetGoType()), uint32(go->GetGoState()), + go->m_model->IsDoor() ? " (door)" : "", go->m_model->IsCollisionEnabled() ? "on" : "off", dist); + } + } + } + } + }; + + if (read >= 7) + { + report(x, y, z, tx, ty, tz); + return true; + } + + float const radius = read == 2 && x > 1.0f ? x : 20.0f; + source->GetPosition(x, y, z); + for (uint32 i = 0; i < 8; ++i) + { + float const angle = float(i) * float(M_PI) / 4.0f; + float const ex = x + radius * std::cos(angle), ey = y + radius * std::sin(angle); + float const ez = map->GetHeight(source->GetPhaseShift(), ex, ey, z + 10.0f, true, 60.0f); + if (ez <= INVALID_HEIGHT) + { + handler->PSendSysMessage("chargepath: no ground at (%.2f, %.2f)", ex, ey); + continue; + } + report(x, y, z, ex, ey, ez); + } + return true; + } + static bool HandleMmapPathCommand(ChatHandler* handler, char const* args) { Player* player = handler->GetSession()->GetPlayer(); diff --git a/src/server/scripts/Custom/Classic/classic_script_loader.cpp b/src/server/scripts/Custom/Classic/classic_script_loader.cpp index 16581ed91f..293ca3d761 100644 --- a/src/server/scripts/Custom/Classic/classic_script_loader.cpp +++ b/src/server/scripts/Custom/Classic/classic_script_loader.cpp @@ -200,6 +200,7 @@ void AddSC_classic_stonetalon_mountains(); void AddSC_classic_silithus(); void AddSC_classic_world_event_wareffort(); void AddSC_classic_world_event_dragons_of_nightmare(); +void AddSC_classic_world_event_scourge_invasion(); void AddSC_classic_npcs_special(); void AddSC_classic_go_scripts(); void AddSC_classic_spell_scripts(); @@ -409,6 +410,7 @@ void AddClassicScripts() AddSC_classic_silithus(); AddSC_classic_world_event_wareffort(); AddSC_classic_world_event_dragons_of_nightmare(); + AddSC_classic_world_event_scourge_invasion(); AddSC_classic_npcs_special(); AddSC_classic_go_scripts(); AddSC_classic_spell_scripts(); diff --git a/src/server/scripts/Custom/Classic/classic_script_text.cpp b/src/server/scripts/Custom/Classic/classic_script_text.cpp index cc1a0a5680..0adb2527dd 100644 --- a/src/server/scripts/Custom/Classic/classic_script_text.cpp +++ b/src/server/scripts/Custom/Classic/classic_script_text.cpp @@ -117,3 +117,12 @@ void ClassicScriptZoneEmote(uint32 broadcastTextId, WorldObject* source, Unit* t ZoneTalk(unit, broadcastTextId, CHAT_MSG_MONSTER_EMOTE, target); } + +void ClassicScriptZoneYell(uint32 broadcastTextId, WorldObject* source, Unit* target) +{ + Unit* unit = source ? source->ToUnit() : nullptr; + if (!unit || !broadcastTextId) + return; + + ZoneTalk(unit, broadcastTextId, CHAT_MSG_MONSTER_YELL, target); +} diff --git a/src/server/scripts/Custom/Classic/classic_script_text.h b/src/server/scripts/Custom/Classic/classic_script_text.h index 7df3660e24..3f4c9663ff 100644 --- a/src/server/scripts/Custom/Classic/classic_script_text.h +++ b/src/server/scripts/Custom/Classic/classic_script_text.h @@ -31,4 +31,7 @@ void ClassicScriptText(uint32 broadcastTextId, WorldObject* source, Unit* target // VMaNGOS DoScriptText(textId, source, target, CHAT_TYPE_ZONE_EMOTE): the script overrides the text's own chat type. void ClassicScriptZoneEmote(uint32 broadcastTextId, WorldObject* source, Unit* target = nullptr); +// VMaNGOS DoScriptText(textId, source, target, CHAT_TYPE_ZONE_YELL): a yell every player of the source's zone hears. +void ClassicScriptZoneYell(uint32 broadcastTextId, WorldObject* source, Unit* target = nullptr); + #endif diff --git a/src/server/scripts/Custom/Classic/world/classic_spell_scripts.cpp b/src/server/scripts/Custom/Classic/world/classic_spell_scripts.cpp index 918282ac55..7408a32624 100644 --- a/src/server/scripts/Custom/Classic/world/classic_spell_scripts.cpp +++ b/src/server/scripts/Custom/Classic/world/classic_spell_scripts.cpp @@ -422,8 +422,11 @@ class classic_spell_pal_judgement_of_command : public SpellScript // 5373, 1826 - Judgement of Light / Judgement of Wisdom "Intermediate": the judgement debuff (20185, 20186 and their ranks) procs this dummy // from the judged enemy at whoever hits it, and nothing turned it into the heal or the mana (the client spell does neither itself). The rank's -// own spell (20267 / 20341-20343 heal, 20268 / 20352-20353 mana) is cast by the paladin that judged, so its talents (Improved Judgement of -// Light) and healing modifiers apply; the vanilla amounts are in those spells. +// own spell (20267 / 20341-20343 heal, 20268 / 20352-20353 mana) targets its own caster (ImplicitTarget 1), so the attacker casts it on +// itself, with the paladin that judged as the original caster for credit. The client gives those spells no class mask and no bonus +// coefficient, so no talent or healing modifier of the paladin's could change them; the vanilla amounts are in those spells. A proc +// cast never sets the original caster, so GetOriginalCaster() here is the judged enemy itself: the old code had it cast the +// self-targeted heal / mana, which went to the enemy (Discord, dumpins 2026-11-17). class classic_spell_pal_judgement_intermediate : public SpellScript { static uint32 GetRankSpell(bool light, uint32 debuffId) @@ -467,10 +470,9 @@ class classic_spell_pal_judgement_intermediate : public SpellScript if (!rankSpell) continue; - Unit* paladin = GetOriginalCaster(); - if (!paladin) - paladin = aurApp->GetBase()->GetCaster(); - (paladin ? paladin : judged)->CastSpell(attacker, rankSpell, CastSpellExtraArgs(TRIGGERED_FULL_MASK).SetTriggeringSpell(GetSpell())); + attacker->CastSpell(attacker, rankSpell, CastSpellExtraArgs(TRIGGERED_FULL_MASK) + .SetOriginalCaster(aurApp->GetBase()->GetCasterGUID()) + .SetTriggeringSpell(GetSpell())); break; } } diff --git a/src/server/scripts/Custom/Classic/world/classic_world_event_scourge_invasion.cpp b/src/server/scripts/Custom/Classic/world/classic_world_event_scourge_invasion.cpp new file mode 100644 index 0000000000..ad230376a5 --- /dev/null +++ b/src/server/scripts/Custom/Classic/world/classic_world_event_scourge_invasion.cpp @@ -0,0 +1,2202 @@ +/* + * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ + +// Classic 1.60 port of the VMaNGOS Scourge Invasion (the Naxxramas opening world event): src/scripts/world/scourge_invasion.cpp/.h +// and the ScourgeInvasionEvent controller in src/game/GameEvents/HardcodedEvents.cpp (VMaNGOS project, GPL-2). +// +// How it runs here +// - Off unless Classic.ScourgeInvasion = 1 in worldserver.conf, or a GM runs ".scourge on" (saved, survives a restart). +// - The controller (a WorldScript, every 20 s before the maps update) starts the master event 17 (Argent Dawn NPCs) and 81 +// (the five dungeon bosses), rotates the six zone attacks (events 90-95, 45-60 min timers, at most two zones at once, never the +// zone just won twice in a row), counts battles won (world state 2219) and runs the 50 / 100 / 150 milestone events (96-99). +// It also sends a Pallid Horror or Patchwork Terror into Stormwind and Undercity every 45-60 min. +// - Zone attack: the Herald of the Lich King (Mouth of Kel'Thuzad) is summoned at the zone's point and yells, a storm starts, and +// the zone's event spawns appear (necropolises, their helpers, summoning circles, minion finders). Each circle raises a +// Necrotic Shard. Minions spawn around it; every minion killed zaps the shard. A dead shard turns into a Damaged Necrotic Shard +// with 4 Cultist Engineers channelling on it. Killing a cultist hurts the shard; a player with 8 Necrotic Runes can make a +// cultist summon a Shadow of Doom, whose death takes a quarter of the shard's health. When the damaged shard dies, the death +// travels shard -> relay -> proxy -> necropolis health; three hits and that necropolis falls. No necropolis left = the zone is won. +// - All event start / stop, summons of the Herald and the city attackers, weather and clean-up happen in the controller (world +// thread, maps idle). The creature scripts only touch their own map and the realm world states (WorldStateMgr locks those). +// +// Differences from VMaNGOS (on purpose) +// - VMaNGOS passes the chain on with spells and their target rows (spell_script_target). Here the scripts find the next link +// themselves (nearest relay / proxy / necropolis health) and cast the same spells only as visuals, so a missing spell target row +// cannot break the chain. Damage to the shards uses the spells' own values when the client data has them. +// - Relays, proxies, finders, circles, doodads and necropolises that are used up are despawned with a one week respawn instead of +// being removed from the world; starting the zone event again clears those respawn times (GameEventMgr does that). +// - The invisible minion spawner NPCs (16306 / 16336 / 16338) are skipped: the shard summons the minion at the finder. +// - The minion abilities (EventAI in VMaNGOS, not in the source) are in classic_si_minion with timers from the header's sniff notes. +// - VMaNGOS walks the city attackers on waypoint paths 149701 / 149702 / 151901 / 151902, which are not in our data. Here they walk +// to Highlord Bolvar Fordragon / Lady Sylvanas Windrunner (their spawn point from the world database) and keep going after fights. +// - Not ported: the purple communique bolts every 15-35 s between necropolis, proxies, relays and shards (visual only), the +// guard and citizen shouts during a city attack, and the "give me one of your magic items" gossip of the Argent Dawn NPCs. + +#include "ScriptMgr.h" +#include "CellImpl.h" +#include "Chat.h" +#include "ChatCommand.h" +#include "Config.h" +#include "Containers.h" +#include "Creature.h" +#include "CreatureAI.h" +#include "CreatureAIImpl.h" +#include "DB2Stores.h" +#include "GameEventMgr.h" +#include "GameObject.h" +#include "GameObjectAI.h" +#include "GameTime.h" +#include "GossipDef.h" +#include "GridNotifiersImpl.h" +#include "Log.h" +#include "Map.h" +#include "MapManager.h" +#include "MotionMaster.h" +#include "ObjectAccessor.h" +#include "ObjectMgr.h" +#include "Player.h" +#include "QuaternionData.h" +#include "RBAC.h" +#include "Random.h" +#include "ScriptedCreature.h" +#include "ScriptedGossip.h" +#include "SpellInfo.h" +#include "SpellMgr.h" +#include "TemporarySummon.h" +#include "Util.h" +#include "Weather.h" +#include "WorldSession.h" +#include "WorldStateMgr.h" +#include "classic_script_text.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +namespace ScourgeInvasion +{ +enum Spells : uint32 +{ + SPELL_COMMUNIQUE_CAMP_TO_RELAY_DEATH = 28351, // visual, damaged shard -> relay -> proxy -> necropolis health + SPELL_ZAP_NECROPOLIS = 28386, // visual on the necropolis health + SPELL_DESPAWNER_OTHER = 28349, // visual, necropolis health -> necropolis + SPELL_CAMP_RECEIVES_COMMUNIQUE = 28449, // impact visual on the shard + SPELL_DAMAGE_CRYSTAL = 28041, // cultist death: damage to the damaged shard + SPELL_SOUL_REVIVAL = 28681, // damaged shard death: +10% damage for the defenders around it + SPELL_ZAP_CRYSTAL = 28032, // minion death: damage to the shard + SPELL_MINION_SPAWN_IN = 28234, // pink lightning + SPELL_SPIRIT_SPAWN_OUT = 17680, + SPELL_SCOURGE_STRIKE = 28265, // minions: instant kill on NPCs + SPELL_ENRAGE = 8599, + SPELL_BONE_SHARDS = 17014, + SPELL_INFECTED_BITE = 7367, + SPELL_DEMORALIZING_SHOUT = 16244, + SPELL_SUNDER_ARMOR = 21081, + SPELL_KNOCKDOWN = 16790, + SPELL_TRAMPLE = 5568, + SPELL_AURA_OF_FEAR = 28313, + SPELL_RIBBON_OF_SOULS = 16243, + SPELL_PSYCHIC_SCREAM = 22884, + SPELL_ARCANE_BOLT = 13748, + SPELL_CREATE_SUMMONER_SHIELD = 28132, + SPELL_BUTTRESS_CHANNEL = 28078, + SPELL_SPAWN_SMOKE = 10389, + SPELL_ZAP_CRYSTAL_CORPSE = 28056, // Shadow of Doom death: a quarter of the damaged shard's health + SPELL_MINDFLAY = 16568, + SPELL_FEAR = 12542, + SPELL_DAMAGE_VS_GUARDS = 28364, + SPELL_FLAMESHOCKERS_TOUCH = 28314, + SPELL_FLAMESHOCKERS_REVENGE = 28323, + SPELL_FLAMESHOCKERS_TOUCH2 = 28329, +}; + +enum Creatures : uint32 +{ + NPC_MOUTH_OF_KELTHUZAD = 16995, // "Herald of the Lich King" in our data + NPC_NECROTIC_SHARD = 16136, + NPC_DAMAGED_NECROTIC_SHARD = 16172, + NPC_CULTIST_ENGINEER = 16230, + NPC_SHADOW_OF_DOOM = 16143, + NPC_MINION_FINDER = 16356, + NPC_NECROPOLIS = 16401, + NPC_NECROPOLIS_HEALTH = 16421, + NPC_NECROPOLIS_PROXY = 16398, + NPC_NECROPOLIS_RELAY = 16386, + NPC_SKELETAL_SHOCKTROOPER = 16299, + NPC_GHOUL_BERSERKER = 16141, + NPC_SPECTRAL_SOLDIER = 16298, + NPC_LUMBERING_HORROR = 14697, + NPC_BONE_WITCH = 16380, + NPC_SPIRIT_OF_THE_DAMNED = 16379, + NPC_PALLID_HORROR = 16394, + NPC_PATCHWORK_TERROR = 16382, + NPC_CRACKED_NECROTIC_CRYSTAL = 16431, + NPC_FAINT_NECROTIC_CRYSTAL = 16531, + NPC_FLAMESHOCKER = 16383, + NPC_HIGHLORD_BOLVAR_FORDRAGON = 1748, + NPC_LADY_SYLVANAS_WINDRUNNER = 10181, + NPC_VARIMATHRAS = 2425, + NPC_ROYAL_DREADGUARD = 13839, + NPC_STORMWIND_ROYAL_GUARD = 1756, + NPC_UNDERCITY_ELITE_GUARDIAN = 16432, + NPC_UNDERCITY_GUARDIAN = 5624, + NPC_DEATHGUARD_ELITE = 7980, + NPC_STORMWIND_CITY_GUARD = 68, + NPC_STORMWIND_ELITE_GUARD = 16396, +}; + +enum GameObjects : uint32 +{ + GO_SUMMON_CIRCLE = 181136, + GO_SUMMONER_SHIELD = 181142, + GO_UNDEAD_FIRE = 181173, + GO_UNDEAD_FIRE_AURA = 181174, + GO_SKULLPILE_01 = 181191, + GO_SKULLPILE_02 = 181192, + GO_SKULLPILE_03 = 181193, + GO_SKULLPILE_04 = 181194, + GO_NECROPOLIS_TINY = 181154, + GO_NECROPOLIS_SMALL = 181373, + GO_NECROPOLIS_MEDIUM = 181374, + GO_NECROPOLIS_BIG = 181215, + GO_NECROPOLIS_HUGE = 181223, +}; + +enum Misc : uint32 +{ + ITEM_NECROTIC_RUNE = 22484, + RUNES_FOR_SHADOW = 8, + + ZONE_ATTACK_TIMER_MIN = 45 * MINUTE, + ZONE_ATTACK_TIMER_MAX = 60 * MINUTE, + CITY_ATTACK_TIMER_MIN = 45 * MINUTE, + CITY_ATTACK_TIMER_MAX = 60 * MINUTE, + + ZONEID_WINTERSPRING = 618, + ZONEID_AZSHARA = 16, + ZONEID_EASTERN_PLAGUELANDS = 139, + ZONEID_BLASTED_LANDS = 4, + ZONEID_BURNING_STEPPES = 46, + ZONEID_TANARIS = 440, + ZONEID_UNDERCITY = 1497, + ZONEID_STORMWIND = 1519, + + GAME_EVENT_SCOURGE_INVASION = 17, + GAME_EVENT_BOSS_IN_INSTANCE = 81, + GAME_EVENT_ATTACK_WINTERSPRING = 90, + GAME_EVENT_ATTACK_TANARIS = 91, + GAME_EVENT_ATTACK_AZSHARA = 92, + GAME_EVENT_ATTACK_BLASTED_LANDS = 93, + GAME_EVENT_ATTACK_EASTERN_PLAGUELANDS = 94, + GAME_EVENT_ATTACK_BURNING_STEPPES = 95, + GAME_EVENT_50_INVASIONS = 96, + GAME_EVENT_100_INVASIONS = 97, + GAME_EVENT_150_INVASIONS = 98, + GAME_EVENT_INVASIONS_DONE = 99, + + // client world states (world map / Argent Emissary) + WS_SI_BATTLES_WON = 2219, + WS_SI_WINTERSPRING_INVADED = 2259, + WS_SI_AZSHARA_INVADED = 2260, + WS_SI_BLASTED_LANDS_INVADED = 2261, + WS_SI_BURNING_STEPPES_INVADED = 2262, + WS_SI_TANARIS_INVADED = 2263, + WS_SI_EASTERN_PLAGUELANDS_INVADED = 2264, + WS_SI_AZSHARA_REMAINING = 2279, + WS_SI_BLASTED_LANDS_REMAINING = 2280, + WS_SI_BURNING_STEPPES_REMAINING = 2281, + WS_SI_PLAGUELANDS_REMAINING = 2282, + WS_SI_TANARIS_REMAINING = 2283, + WS_SI_WINTERSPRING_REMAINING = 2284, + + // script world states (VMaNGOS saved variables 17000 + zone / 170000 + zone, moved up so they cannot clash with client ones) + WS_SCRIPT_ATTACK_TIME_BASE = 17000000, // + zone id + WS_SCRIPT_LAST_ATTACK_ZONE = 17000001, + WS_SCRIPT_GM_SWITCH = 17000002, // 0 = follow the config, 1 = on, 2 = off + WS_SCRIPT_CITY_TIME_BASE = 17100000, // + zone id + + // broadcast texts + BCT_MOUTH_ZONE_ATTACK_START_1 = 13121, + BCT_MOUTH_ZONE_ATTACK_START_2 = 13125, + BCT_MOUTH_ZONE_ATTACK_ENDS_1 = 13165, + BCT_MOUTH_ZONE_ATTACK_ENDS_2 = 13164, + BCT_MOUTH_ZONE_ATTACK_ENDS_3 = 13163, + BCT_MOUTH_RANDOM_1 = 13126, + BCT_MOUTH_RANDOM_2 = 13124, + BCT_MOUTH_RANDOM_3 = 13122, + BCT_MOUTH_RANDOM_4 = 13123, + BCT_SHADOW_OF_DOOM_TEXT_0 = 12420, + BCT_SHADOW_OF_DOOM_TEXT_1 = 12421, + BCT_SHADOW_OF_DOOM_TEXT_2 = 12422, + BCT_SHADOW_OF_DOOM_TEXT_3 = 12243, + BCT_CULTIST_ENGINEER_OPTION = 12112, + BCT_PALLID_HORROR_YELL1 = 12329, + BCT_PALLID_HORROR_YELL2 = 12327, + BCT_PALLID_HORROR_YELL3 = 12326, + BCT_PALLID_HORROR_YELL4 = 12342, + BCT_PALLID_HORROR_YELL5 = 12343, + BCT_PALLID_HORROR_YELL6 = 12330, + BCT_PALLID_HORROR_YELL7 = 12328, + BCT_PALLID_HORROR_YELL8 = 12325, + BCT_UNDERCITY_SYLVANAS_1 = 12331, + BCT_STORMWIND_BOLVAR_2 = 12318, + BCT_ARGENT_EMISSARY_OPTION_0 = 12176, + BCT_ARGENT_EMISSARY_OPTION_1 = 12207, + BCT_ARGENT_EMISSARY_OPTION_2 = 12434, + BCT_ARGENT_EMISSARY_OPTION_2_SUB_0 = 12198, // Winterspring + BCT_ARGENT_EMISSARY_OPTION_2_SUB_1 = 12201, // Tanaris + BCT_ARGENT_EMISSARY_OPTION_2_SUB_2 = 12203, // Blasted Lands + BCT_ARGENT_EMISSARY_OPTION_2_SUB_3 = 12205, // Burning Steppes + BCT_ARGENT_EMISSARY_OPTION_2_SUB_4 = 12476, // Azshara + BCT_ARGENT_EMISSARY_OPTION_2_SUB_5 = 12477, // Eastern Plaguelands + BCT_ARGENT_EMISSARY_OPTION_3 = 12398, + BCT_ARGENT_EMISSARY_OPTION_BACK = 12478, + + // npc_text (VMaNGOS ids) + TEXT_CULTIST_ENGINEER = 8436, + TEXT_ARGENT_EMISSARY = 8434, + TEXT_ARGENT_EMISSARY_ANSWER_0 = 8471, + TEXT_ARGENT_EMISSARY_ANSWER_1 = 8486, + TEXT_ARGENT_EMISSARY_ANSWER_2 = 8573, + TEXT_ARGENT_EMISSARY_WINTERSPRING = 8480, + TEXT_ARGENT_EMISSARY_TANARIS = 8482, + TEXT_ARGENT_EMISSARY_BLASTED_LANDS = 8483, + TEXT_ARGENT_EMISSARY_BURNING_STEPPES = 8484, + TEXT_ARGENT_EMISSARY_AZSHARA = 8593, + TEXT_ARGENT_EMISSARY_PLAGUELANDS = 8594, + TEXT_ARGENT_EMISSARY_WINS_0 = 8551, + TEXT_ARGENT_EMISSARY_WINS_1 = 8554, + TEXT_ARGENT_EMISSARY_WINS_2 = 8555, + TEXT_ARGENT_EMISSARY_FREE_OF_SCOURGE = 8481, +}; + +enum Actions : int32 +{ + ACTION_MOUTH_ZONE_START = 1, + ACTION_MOUTH_ZONE_RESUME = 2, + ACTION_MOUTH_ZONE_STOP = 3, + ACTION_HEALTH_ZAP = 10, + ACTION_SHARD_CAMP_TYPE_BASE = 20, // + camp type (1-3) + ACTION_FLAMESHOCKER_DESPAWN_TIMER = 30, +}; + +enum CampType : uint32 +{ + CAMP_NONE = 0, + CAMP_GHOUL_SKELETON = 1, + CAMP_GHOST_GHOUL = 2, + CAMP_GHOST_SKELETON = 3, +}; + +constexpr uint32 SHARD_DATA_CAMP_TYPE = 1; +constexpr uint32 SHADOW_DATA_SUMMONER = 1; + +struct InvasionZone +{ + uint32 ZoneId; + uint32 MapId; + uint16 EventId; + uint32 NecropolisCount; + int32 WsInvaded; + int32 WsRemaining; + Position MouthPos; + char const* Name; + char const* Key; +}; + +std::array const Zones = +{ { + { ZONEID_WINTERSPRING, 1, GAME_EVENT_ATTACK_WINTERSPRING, 3, WS_SI_WINTERSPRING_INVADED, WS_SI_WINTERSPRING_REMAINING, { 7736.56f, -4033.75f, 696.327f, 5.51524f }, "Winterspring", "winterspring" }, + { ZONEID_TANARIS, 1, GAME_EVENT_ATTACK_TANARIS, 3, WS_SI_TANARIS_INVADED, WS_SI_TANARIS_REMAINING, { -8352.68f, -3972.68f, 10.0753f, 2.14675f }, "Tanaris", "tanaris" }, + { ZONEID_AZSHARA, 1, GAME_EVENT_ATTACK_AZSHARA, 2, WS_SI_AZSHARA_INVADED, WS_SI_AZSHARA_REMAINING, { 3273.75f, -4276.98f, 125.509f, 5.44543f }, "Azshara", "azshara" }, + { ZONEID_BLASTED_LANDS, 0, GAME_EVENT_ATTACK_BLASTED_LANDS, 2, WS_SI_BLASTED_LANDS_INVADED, WS_SI_BLASTED_LANDS_REMAINING, { -11429.3f, -3327.82f, 7.73628f, 1.0821f }, "Blasted Lands", "blasted" }, + { ZONEID_EASTERN_PLAGUELANDS, 0, GAME_EVENT_ATTACK_EASTERN_PLAGUELANDS, 2, WS_SI_EASTERN_PLAGUELANDS_INVADED, WS_SI_PLAGUELANDS_REMAINING, { 2014.55f, -4934.52f, 73.9846f, 0.0698132f }, "Eastern Plaguelands", "epl" }, + { ZONEID_BURNING_STEPPES, 0, GAME_EVENT_ATTACK_BURNING_STEPPES, 2, WS_SI_BURNING_STEPPES_INVADED, WS_SI_BURNING_STEPPES_REMAINING, { -8229.53f, -1118.11f, 144.012f, 6.17846f }, "Burning Steppes", "steppes" }, +} }; + +struct CityAttack +{ + uint32 ZoneId; + uint32 MapId; + uint32 LeaderEntry; + Position LeaderFallback; + std::vector Spawns; + char const* Name; + char const* Key; +}; + +std::array const Cities = +{ { + { ZONEID_UNDERCITY, 0, NPC_LADY_SYLVANAS_WINDRUNNER, { 1289.0f, 314.0f, -57.3f, 0.0f }, + { { 1595.87f, 440.539f, -46.3349f, 2.28207f }, { 1659.2f, 265.988f, -62.1788f, 3.64283f } }, "Undercity", "uc" }, + { ZONEID_STORMWIND, 0, NPC_HIGHLORD_BOLVAR_FORDRAGON, { -8446.6f, 336.0f, 122.2f, 0.0f }, + { { -8578.15f, 886.382f, 87.3148f, 0.586275f } }, "Stormwind", "sw" }, +} }; + +InvasionZone const* FindZone(uint32 zoneId) +{ + for (InvasionZone const& zone : Zones) + if (zone.ZoneId == zoneId) + return &zone; + return nullptr; +} + +// the zone of a spawn by its position: its own zone id, else the nearest invasion point on the same map +InvasionZone const* FindZoneFor(WorldObject const* object) +{ + if (InvasionZone const* zone = FindZone(object->GetZoneId())) + return zone; + + InvasionZone const* best = nullptr; + float bestDist = 0.0f; + for (InvasionZone const& zone : Zones) + { + if (zone.MapId != object->GetMapId()) + continue; + float dist = object->GetExactDist2dSq(zone.MouthPos); + if (!best || dist < bestDist) + { + best = &zone; + bestDist = dist; + } + } + return best; +} + +bool IsSiZoneEvent(uint16 eventId) +{ + return eventId >= GAME_EVENT_ATTACK_WINTERSPRING && eventId <= GAME_EVENT_ATTACK_BURNING_STEPPES; +} + +int32 GetWs(int32 id) +{ + return WorldStateMgr::GetValue(id, nullptr); +} + +void SetWs(int32 id, int32 value) +{ + if (WorldStateMgr::GetValue(id, nullptr) != value) + WorldStateMgr::SetValueAndSaveInDb(id, value, false, nullptr); +} + +// Classic.ScourgeInvasion.ShardDamageRate: scales what minions, cultists and Shadows of Doom do to the shards +std::atomic ShardDamageRate{ 1.0f }; + +// damage of a spell's first damage effect from the client data, else the fallback +int32 SpellDamage(uint32 spellId, int32 fallback) +{ + if (SpellInfo const* spellInfo = sSpellMgr->GetSpellInfo(spellId, DIFFICULTY_NONE)) + for (SpellEffectInfo const& effect : spellInfo->GetEffects()) + if (effect.IsEffect(SPELL_EFFECT_SCHOOL_DAMAGE) || effect.IsEffect(SPELL_EFFECT_ENVIRONMENTAL_DAMAGE)) + if (int32 value = effect.CalcValueAsInt()) + return std::abs(value); + return fallback; +} + +// VMaNGOS ADD_GOSSIP_ITEM(broadcast text id): the localized BroadcastText, else the English text +std::string GossipText(Player* player, uint32 broadcastTextId, char const* fallback) +{ + if (BroadcastTextEntry const* bct = sBroadcastTextStore.LookupEntry(broadcastTextId)) + { + char const* text = DB2Manager::GetBroadcastTextValue(bct, player->GetSession()->GetSessionDbLocaleIndex(), player->GetGender()); + if (text && *text) + return text; + } + return fallback; +} + +// Summons the event made, per zone, so the controller can clear them when the zone is won or the event is switched off. +// Map threads add, the controller (maps idle) takes them out. +class SummonRegistry +{ +public: + // key: the invasion zone (or city) the summon belongs to; 0 = find it from the position + void Add(WorldObject const* object, uint32 key = 0) + { + if (!key) + { + InvasionZone const* zone = FindZoneFor(object); + key = zone ? zone->ZoneId : 0; + } + std::scoped_lock lock(_lock); + _summons[key].insert(object->GetGUID()); + } + + std::set Take(uint32 zoneId) + { + std::scoped_lock lock(_lock); + std::set out; + auto itr = _summons.find(zoneId); + if (itr != _summons.end()) + { + out.swap(itr->second); + _summons.erase(itr); + } + return out; + } + +private: + std::mutex _lock; + std::unordered_map> _summons; +}; + +SummonRegistry& Registry() +{ + static SummonRegistry registry; + return registry; +} + +template +void DespawnNear(WorldObject* source, std::initializer_list entries, float range, Seconds respawn) +{ + for (uint32 entry : entries) + { + std::list list; + if constexpr (std::is_same_v) + source->GetCreatureListWithEntryInGrid(list, entry, range); + else + source->GetGameObjectListWithEntryInGrid(list, entry, range); + for (T* object : list) + object->DespawnOrUnsummon(0ms, respawn); + } +} + +uint32 CountAliveMinions(WorldObject* source, float range) +{ + uint32 count = 0; + for (uint32 entry : { NPC_SKELETAL_SHOCKTROOPER, NPC_GHOUL_BERSERKER, NPC_SPECTRAL_SOLDIER, NPC_LUMBERING_HORROR, NPC_BONE_WITCH, NPC_SPIRIT_OF_THE_DAMNED }) + { + std::list list; + source->GetCreatureListWithEntryInGrid(list, entry, range); + for (Creature* minion : list) + if (minion->IsAlive()) + ++count; + } + return count; +} + +bool HasRareNear(WorldObject* source) +{ + for (uint32 entry : { NPC_LUMBERING_HORROR, NPC_BONE_WITCH, NPC_SPIRIT_OF_THE_DAMNED }) + if (source->FindNearestCreature(entry, 100.0f, false)) + return true; + return false; +} + +bool IsGuardOrBoss(Unit const* unit) +{ + switch (unit->GetEntry()) + { + case NPC_ROYAL_DREADGUARD: + case NPC_STORMWIND_ROYAL_GUARD: + case NPC_UNDERCITY_ELITE_GUARDIAN: + case NPC_UNDERCITY_GUARDIAN: + case NPC_DEATHGUARD_ELITE: + case NPC_STORMWIND_CITY_GUARD: + case NPC_HIGHLORD_BOLVAR_FORDRAGON: + case NPC_LADY_SYLVANAS_WINDRUNNER: + case NPC_VARIMATHRAS: + case NPC_STORMWIND_ELITE_GUARD: + return true; + default: + break; + } + Creature const* creature = unit->ToCreature(); + return creature && creature->IsGuard(); +} + +void PullGuard(Creature* scourge, Unit* who) +{ + Creature* guard = who->ToCreature(); + if (!guard || !guard->IsAlive() || guard->IsEngaged() || !guard->AI() || !IsGuardOrBoss(guard)) + return; + if (!scourge->IsWithinDistInMap(guard, 25.0f) || !scourge->IsWithinLOSInMap(guard)) + return; + if (!guard->IsValidAttackTarget(scourge)) + return; + guard->AI()->AttackStart(scourge); +} +} + +using namespace ScourgeInvasion; +using namespace Trinity::ChatCommands; + +/* + * Herald of the Lich King (Mouth of Kel'Thuzad): yells at the start and the end of a zone attack and now and then in between. + */ +struct classic_si_mouth : public ScriptedAI +{ + classic_si_mouth(Creature* creature) : ScriptedAI(creature) { } + + void InitializeAI() override + { + _yellTimer = urand(150 * IN_MILLISECONDS, HOUR * IN_MILLISECONDS); + } + + void DoAction(int32 action) override + { + switch (action) + { + case ACTION_MOUTH_ZONE_START: + ClassicScriptZoneYell(RAND(BCT_MOUTH_ZONE_ATTACK_START_1, BCT_MOUTH_ZONE_ATTACK_START_2), me); + break; + case ACTION_MOUTH_ZONE_STOP: + ClassicScriptZoneYell(RAND(BCT_MOUTH_ZONE_ATTACK_ENDS_1, BCT_MOUTH_ZONE_ATTACK_ENDS_2, BCT_MOUTH_ZONE_ATTACK_ENDS_3), me); + me->DespawnOrUnsummon(2s); + break; + default: + break; + } + } + + void UpdateAI(uint32 diff) override + { + if (_yellTimer <= diff) + { + ClassicScriptZoneYell(RAND(BCT_MOUTH_RANDOM_1, BCT_MOUTH_RANDOM_2, BCT_MOUTH_RANDOM_3, BCT_MOUTH_RANDOM_4), me); + _yellTimer = urand(150 * IN_MILLISECONDS, HOUR * IN_MILLISECONDS); + } + else + _yellTimer -= diff; + } + +private: + uint32 _yellTimer = 0; +}; + +/* + * Necropolis, Necropolis Proxy, Necropolis Relay: invisible helpers of the floating necropolis. They keep their grids loaded + * while the zone is attacked, so the death of a shard far away can still find its way to the necropolis. + */ +struct classic_si_necropolis : public ScriptedAI +{ + classic_si_necropolis(Creature* creature) : ScriptedAI(creature) { } + + void InitializeAI() override + { + me->SetReactState(REACT_PASSIVE); + me->setActive(true); + me->SetFarVisible(true); + } + + void UpdateAI(uint32 /*diff*/) override { } +}; + +/* + * Necropolis health: takes one zap from every damaged shard of its necropolis; on the third it dies, the necropolis falls and the + * zone has one necropolis less to clear. + */ +struct classic_si_necropolis_health : public ScriptedAI +{ + classic_si_necropolis_health(Creature* creature) : ScriptedAI(creature) { } + + void InitializeAI() override + { + me->SetReactState(REACT_PASSIVE); + me->setActive(true); + me->SetFarVisible(true); + _zapped = 0; + } + + void DoAction(int32 action) override + { + if (action != ACTION_HEALTH_ZAP || !me->IsAlive()) + return; + + me->CastSpell(me, SPELL_ZAP_NECROPOLIS, true); + if (++_zapped >= 3) + me->KillSelf(); + } + + void JustDied(Unit* /*killer*/) override + { + if (Creature* necropolis = me->FindNearestCreature(NPC_NECROPOLIS, 30.0f)) + { + me->CastSpell(necropolis, SPELL_DESPAWNER_OTHER, true); + DespawnNear(necropolis, { GO_NECROPOLIS_TINY, GO_NECROPOLIS_SMALL, GO_NECROPOLIS_MEDIUM, GO_NECROPOLIS_BIG, GO_NECROPOLIS_HUGE }, 30.0f, Seconds(WEEK)); + necropolis->DespawnOrUnsummon(1s, Seconds(WEEK)); + } + else + DespawnNear(me, { GO_NECROPOLIS_TINY, GO_NECROPOLIS_SMALL, GO_NECROPOLIS_MEDIUM, GO_NECROPOLIS_BIG, GO_NECROPOLIS_HUGE }, 30.0f, Seconds(WEEK)); + + if (InvasionZone const* zone = FindZoneFor(me)) + { + int32 remaining = GetWs(zone->WsRemaining); + if (remaining > 0) + SetWs(zone->WsRemaining, remaining - 1); + TC_LOG_INFO("scripts", "Scourge Invasion: a necropolis fell in {}, {} left", zone->Name, std::max(remaining - 1, 0)); + } + + me->DespawnOrUnsummon(2s, Seconds(WEEK)); + } + + void UpdateAI(uint32 /*diff*/) override { } + +private: + uint32 _zapped = 0; +}; + +/* + * Necrotic Shard (16136) and Damaged Necrotic Shard (16172). Only the event hurts them: minion deaths hurt the shard, cultist and + * Shadow of Doom deaths the damaged one. Both keep a camp of minions spawning at the finders around them. + */ +struct classic_si_necrotic_shard : public ScriptedAI +{ + classic_si_necrotic_shard(Creature* creature) : ScriptedAI(creature) { } + + void InitializeAI() override + { + me->SetReactState(REACT_PASSIVE); + me->setActive(true); + me->SetFarVisible(true); + _events.Reset(); + + if (me->GetEntry() == NPC_DAMAGED_NECROTIC_SHARD) + { + _events.ScheduleEvent(EVENT_BUTTRESS, 1s); + _events.ScheduleEvent(EVENT_MINIONS, 3s); + } + else + { + _campType = urand(CAMP_GHOUL_SKELETON, CAMP_GHOST_SKELETON); + _events.ScheduleEvent(EVENT_MINIONS, 5s); + } + } + + void JustAppeared() override + { + ScriptedAI::JustAppeared(); + if (me->GetEntry() == NPC_NECROTIC_SHARD) + me->CastSpell(me, SPELL_CAMP_RECEIVES_COMMUNIQUE, true); + } + + void SetData(uint32 type, uint32 value) override + { + if (type == SHARD_DATA_CAMP_TYPE && value >= CAMP_GHOUL_SKELETON && value <= CAMP_GHOST_SKELETON) + _campType = value; + } + + uint32 GetData(uint32 type) const override + { + return type == SHARD_DATA_CAMP_TYPE ? _campType : 0; + } + + // the only way the shard loses health + void Zap(uint32 damage) + { + if (!me->IsAlive() || !damage) + return; + + damage = std::max(1, uint32(float(damage) * ShardDamageRate.load())); + if (damage >= me->GetHealth() && me->GetEntry() == NPC_DAMAGED_NECROTIC_SHARD) + me->CastSpell(me, SPELL_SOUL_REVIVAL, true); + + _allowDamage = true; + Unit::DealDamage(me, me, damage, nullptr, DIRECT_DAMAGE, SPELL_SCHOOL_MASK_NORMAL, nullptr, false); + _allowDamage = false; + } + + void DamageTaken(Unit* /*attacker*/, uint32& damage, DamageEffectType /*damageType*/, SpellInfo const* /*spellInfo*/) override + { + if (!_allowDamage) + damage = 0; + } + + void HealReceived(Unit* /*healer*/, uint32& heal) override + { + heal = 0; + } + + void JustDied(Unit* /*killer*/) override + { + if (me->GetEntry() == NPC_NECROTIC_SHARD) + { + if (Creature* damaged = me->SummonCreature(NPC_DAMAGED_NECROTIC_SHARD, me->GetPosition(), TEMPSUMMON_MANUAL_DESPAWN)) + { + Registry().Add(damaged); + if (damaged->AI()) + damaged->AI()->SetData(SHARD_DATA_CAMP_TYPE, _campType); + } + me->DespawnOrUnsummon(1s); + return; + } + + // damaged shard: the death goes shard -> relay -> proxy -> necropolis health + if (Creature* relay = me->FindNearestCreature(NPC_NECROPOLIS_RELAY, 200.0f)) + { + me->CastSpell(relay, SPELL_COMMUNIQUE_CAMP_TO_RELAY_DEATH, true); + if (Creature* proxy = relay->FindNearestCreature(NPC_NECROPOLIS_PROXY, 200.0f)) + { + relay->CastSpell(proxy, SPELL_COMMUNIQUE_CAMP_TO_RELAY_DEATH, true); + if (Creature* health = proxy->FindNearestCreature(NPC_NECROPOLIS_HEALTH, 200.0f)) + { + proxy->CastSpell(health, SPELL_COMMUNIQUE_CAMP_TO_RELAY_DEATH, true); + if (health->AI()) + health->AI()->DoAction(ACTION_HEALTH_ZAP); + } + else + TC_LOG_ERROR("scripts", "Scourge Invasion: no necropolis health within 200 yd of proxy {}", proxy->GetSpawnId()); + proxy->DespawnOrUnsummon(2s, Seconds(WEEK)); + } + else + TC_LOG_ERROR("scripts", "Scourge Invasion: no necropolis proxy within 200 yd of relay {}", relay->GetSpawnId()); + relay->DespawnOrUnsummon(2s, Seconds(WEEK)); + } + else + TC_LOG_ERROR("scripts", "Scourge Invasion: no necropolis relay within 200 yd of the damaged shard at {}", me->GetPosition().ToString()); + + DespawnNear(me, { NPC_CULTIST_ENGINEER }, 15.0f, 0s); + DespawnNear(me, { GO_SUMMON_CIRCLE, GO_UNDEAD_FIRE, GO_UNDEAD_FIRE_AURA, GO_SKULLPILE_01, GO_SKULLPILE_02, GO_SKULLPILE_03, GO_SKULLPILE_04, GO_SUMMONER_SHIELD }, 60.0f, Seconds(WEEK)); + DespawnNear(me, { NPC_MINION_FINDER }, 60.0f, Seconds(WEEK)); + me->DespawnOrUnsummon(5s); + } + + void UpdateAI(uint32 diff) override + { + _events.Update(diff); + while (uint32 eventId = _events.ExecuteEvent()) + { + switch (eventId) + { + case EVENT_MINIONS: + SpawnMinions(); + _events.Repeat(5s); + break; + case EVENT_BUTTRESS: + // every hour: full health, idle Shadows of Doom go, 4 fresh cultists on the circle + me->SetFullHealth(); + DespawnIdleShadows(); + SummonCultists(); + _events.Repeat(1h); + break; + default: + break; + } + } + } + +private: + enum + { + EVENT_MINIONS = 1, + EVENT_BUTTRESS, + }; + + void SpawnMinions() + { + std::list finders; + me->GetCreatureListWithEntryInGrid(finders, NPC_MINION_FINDER, 60.0f); + if (finders.empty()) + return; + + // no more minions than the camp has finders (counted with the ones still waiting to come back) + _maxFinders = std::max(_maxFinders, uint32(finders.size())); + if (CountAliveMinions(me, 60.0f) >= _maxFinders) + return; + + finders.sort(Trinity::ObjectDistanceOrderPred(me)); + uint32 wanted = urand(1, 3); + uint32 done = 0; + for (Creature* finder : finders) + { + if (done >= wanted) + break; + if (!finder->IsAlive() || CountAliveMinions(finder, 5.0f)) + continue; + + uint32 entry = PickMinion(finder); + if (TempSummon* minion = me->SummonCreature(entry, finder->GetPosition(), TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 1h)) + { + minion->SetWanderDistance(1.0f); + minion->CastSpell(minion, SPELL_MINION_SPAWN_IN, true); + Registry().Add(minion); + } + + // a finder comes back 150-200 s later (sniffed) + finder->DespawnOrUnsummon(0ms, Seconds(urand(150, 200))); + ++done; + } + } + + uint32 PickMinion(Creature* finder) const + { + // sniffed: 19669 minions and 90 rares, about 1 in 217, and never two rares near each other + bool rare = urand(1, 217) == 1 && !HasRareNear(finder); + switch (_campType) + { + case CAMP_GHOST_GHOUL: + return rare ? RAND(NPC_SPIRIT_OF_THE_DAMNED, NPC_LUMBERING_HORROR) : RAND(NPC_SPECTRAL_SOLDIER, NPC_GHOUL_BERSERKER); + case CAMP_GHOST_SKELETON: + return rare ? RAND(NPC_SPIRIT_OF_THE_DAMNED, NPC_BONE_WITCH) : RAND(NPC_SPECTRAL_SOLDIER, NPC_SKELETAL_SHOCKTROOPER); + case CAMP_GHOUL_SKELETON: + default: + return rare ? RAND(NPC_LUMBERING_HORROR, NPC_BONE_WITCH) : RAND(NPC_GHOUL_BERSERKER, NPC_SKELETAL_SHOCKTROOPER); + } + } + + void DespawnIdleShadows() + { + std::list shadows; + me->GetCreatureListWithEntryInGrid(shadows, NPC_SHADOW_OF_DOOM, 200.0f); + for (Creature* shadow : shadows) + if (shadow->IsAlive() && !shadow->IsEngaged()) + shadow->DespawnOrUnsummon(); + } + + void SummonCultists() + { + DespawnNear(me, { GO_SUMMONER_SHIELD }, 30.0f, 0s); + DespawnNear(me, { NPC_CULTIST_ENGINEER }, 15.0f, 0s); + + GameObject* circle = me->FindNearestGameObject(GO_SUMMON_CIRCLE, 5.0f, false); + Position const center = circle ? circle->GetPosition() : me->GetPosition(); + for (int i = 0; i < 4; ++i) + { + float angle = float(i) * float(M_PI / 2) + center.GetOrientation(); + float x = center.GetPositionX() + 6.95f * std::cos(angle); + float y = center.GetPositionY() + 6.75f * std::sin(angle); + float z = center.GetPositionZ() + 5.0f; + me->UpdateGroundPositionZ(x, y, z); + if (TempSummon* cultist = me->SummonCreature(NPC_CULTIST_ENGINEER, x, y, z, Position::NormalizeOrientation(angle - float(M_PI)), TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 1h)) + Registry().Add(cultist); + } + } + + EventMap _events; + uint32 _campType = CAMP_NONE; + uint32 _maxFinders = 0; + bool _allowDamage = false; +}; + +/* + * Cultist Engineer: channels on the damaged shard. Its death hurts the shard. With 8 Necrotic Runes a player can disrupt the + * ritual: the cultist dies and a Shadow of Doom comes for that player. + */ +struct classic_si_cultist_engineer : public ScriptedAI +{ + classic_si_cultist_engineer(Creature* creature) : ScriptedAI(creature) { } + + void InitializeAI() override + { + me->SetReactState(REACT_PASSIVE); + me->SetCorpseDelay(10, true); + _channelTimer = 1 * IN_MILLISECONDS; + } + + void JustAppeared() override + { + ScriptedAI::JustAppeared(); + me->CastSpell(me, SPELL_MINION_SPAWN_IN, true); + if (GameObject* shield = me->SummonGameObject(GO_SUMMONER_SHIELD, me->GetPosition(), QuaternionData::fromEulerAnglesZYX(me->GetOrientation(), 0.0f, 0.0f), Seconds(HOUR))) + _shield = shield->GetGUID(); + } + + void JustDied(Unit* /*killer*/) override + { + if (Creature* shard = me->FindNearestCreature(NPC_DAMAGED_NECROTIC_SHARD, 15.0f)) + { + if (classic_si_necrotic_shard* ai = CAST_AI(classic_si_necrotic_shard, shard->AI())) + ai->Zap(SpellDamage(SPELL_DAMAGE_CRYSTAL, 100)); + shard->RemoveAurasDueToSpell(SPELL_BUTTRESS_CHANNEL); + shard->SetChannelSpellId(0); + } + if (GameObject* shield = me->GetMap()->GetGameObject(_shield)) + shield->Delete(); + } + + bool OnGossipHello(Player* player) override + { + ClearGossipMenuFor(player); + if (player->HasItemCount(ITEM_NECROTIC_RUNE, RUNES_FOR_SHADOW)) + AddGossipItemFor(player, GossipOptionNpc::None, GossipText(player, BCT_CULTIST_ENGINEER_OPTION, "Use 8 necrotic runes and disrupt his ritual."), GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1); + SendGossipMenuFor(player, TEXT_CULTIST_ENGINEER, me->GetGUID()); + return true; + } + + bool OnGossipSelect(Player* player, uint32 /*menuId*/, uint32 gossipListId) override + { + uint32 const action = GetGossipActionFor(player, gossipListId); + CloseGossipMenuFor(player); + if (action != GOSSIP_ACTION_INFO_DEF + 1 || !me->IsAlive() || !player->HasItemCount(ITEM_NECROTIC_RUNE, RUNES_FOR_SHADOW)) + return true; + + player->DestroyItemCount(ITEM_NECROTIC_RUNE, RUNES_FOR_SHADOW, true); + if (TempSummon* shadow = player->SummonCreature(NPC_SHADOW_OF_DOOM, me->GetPosition(), TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 1h)) + { + Registry().Add(shadow); + shadow->SetFacingToObject(player); + if (shadow->AI()) + shadow->AI()->SetGUID(player->GetGUID(), SHADOW_DATA_SUMMONER); + } + me->KillSelf(); + return true; + } + + void UpdateAI(uint32 diff) override + { + if (!_channelTimer) + return; + if (_channelTimer > diff) + { + _channelTimer -= diff; + return; + } + _channelTimer = 0; + + if (Creature* shard = me->FindNearestCreature(NPC_DAMAGED_NECROTIC_SHARD, 15.0f)) + { + me->SetChannelSpellId(SPELL_BUTTRESS_CHANNEL); + me->SetChannelObject(0, shard->GetGUID()); + shard->SetChannelSpellId(SPELL_BUTTRESS_CHANNEL); + } + } + +private: + uint32 _channelTimer = 0; + ObjectGuid _shield; +}; + +/* + * Minions (camp minions, rares, Shadow of Doom, Flameshocker): their abilities, the Scourge Strike on NPCs, despawn when left + * alone, and what their death does to the shard. + */ +struct classic_si_minion : public ScriptedAI +{ + classic_si_minion(Creature* creature) : ScriptedAI(creature) { } + + void InitializeAI() override + { + ScriptedAI::InitializeAI(); + switch (me->GetEntry()) + { + case NPC_LUMBERING_HORROR: + case NPC_BONE_WITCH: + case NPC_SPIRIT_OF_THE_DAMNED: + _despawnCheck = 10 * MINUTE * IN_MILLISECONDS; + break; + case NPC_SHADOW_OF_DOOM: + case NPC_FLAMESHOCKER: + _despawnCheck = 0; // Shadow of Doom: its 1 hour summon; flameshockers: ACTION_FLAMESHOCKER_DESPAWN_TIMER + break; + default: + _despawnCheck = 150 * IN_MILLISECONDS; + break; + } + _despawnTimer = _despawnCheck; + } + + void JustAppeared() override + { + ScriptedAI::JustAppeared(); + if (me->GetEntry() == NPC_LUMBERING_HORROR) + me->AddAura(SPELL_AURA_OF_FEAR, me); + } + + void Reset() override + { + _events.Reset(); + _enraged = false; + } + + void JustEngagedWith(Unit* /*who*/) override + { + switch (me->GetEntry()) + { + case NPC_GHOUL_BERSERKER: + _events.ScheduleEvent(EVENT_INFECTED_BITE, 5s, 13s); + break; + case NPC_SKELETAL_SHOCKTROOPER: + _events.ScheduleEvent(EVENT_BONE_SHARDS, 5s, 16s); + break; + case NPC_SPECTRAL_SOLDIER: + _events.ScheduleEvent(EVENT_DEMORALIZING_SHOUT, 3s, 10s); + _events.ScheduleEvent(EVENT_SUNDER_ARMOR, 3s, 7s); + break; + case NPC_LUMBERING_HORROR: + _events.ScheduleEvent(EVENT_KNOCKDOWN, 6s, 12s); + _events.ScheduleEvent(EVENT_TRAMPLE, 8s, 14s); + break; + case NPC_SPIRIT_OF_THE_DAMNED: + _events.ScheduleEvent(EVENT_RIBBON_OF_SOULS, 2s, 5s); + _events.ScheduleEvent(EVENT_PSYCHIC_SCREAM, 10s, 20s); + break; + case NPC_BONE_WITCH: + _events.ScheduleEvent(EVENT_ARCANE_BOLT, 3s, 8s); + break; + case NPC_SHADOW_OF_DOOM: + _events.ScheduleEvent(EVENT_MINDFLAY, 2s); + _events.ScheduleEvent(EVENT_FEAR, 2s); + break; + case NPC_FLAMESHOCKER: + _events.ScheduleEvent(EVENT_FLAMESHOCKERS_TOUCH, 2s); + break; + default: + break; + } + _events.ScheduleEvent(EVENT_SCOURGE_STRIKE, 1s); + } + + // Shadow of Doom: who summoned it (8 runes) + void SetGUID(ObjectGuid const& guid, int32 id) override + { + if (id != SHADOW_DATA_SUMMONER || me->GetEntry() != NPC_SHADOW_OF_DOOM) + return; + + _summoner = guid; + me->SetImmuneToPC(true); + me->CastSpell(me, SPELL_SPAWN_SMOKE, true); + if (Player* player = ObjectAccessor::GetPlayer(*me, guid)) + me->Say(RAND(BCT_SHADOW_OF_DOOM_TEXT_0, BCT_SHADOW_OF_DOOM_TEXT_1, BCT_SHADOW_OF_DOOM_TEXT_2, BCT_SHADOW_OF_DOOM_TEXT_3), player); + _shadowAttackTimer = 5 * IN_MILLISECONDS; + } + + void DoAction(int32 action) override + { + if (action == ACTION_FLAMESHOCKER_DESPAWN_TIMER) + _despawnCheck = _despawnTimer = MINUTE * IN_MILLISECONDS; + } + + void MoveInLineOfSight(Unit* who) override + { + if (me->GetEntry() == NPC_FLAMESHOCKER) + PullGuard(me, who); + ScriptedAI::MoveInLineOfSight(who); + } + + void DamageTaken(Unit* /*attacker*/, uint32& damage, DamageEffectType /*damageType*/, SpellInfo const* /*spellInfo*/) override + { + if (me->GetEntry() == NPC_GHOUL_BERSERKER && !_enraged && me->HealthBelowPctDamaged(30, damage)) + { + _enraged = true; + DoCastSelf(SPELL_ENRAGE, true); + } + } + + void JustDied(Unit* /*killer*/) override + { + switch (me->GetEntry()) + { + case NPC_SHADOW_OF_DOOM: + if (Creature* shard = me->FindNearestCreature(NPC_DAMAGED_NECROTIC_SHARD, 100.0f)) + { + me->CastSpell(shard, SPELL_ZAP_CRYSTAL_CORPSE, true); + if (classic_si_necrotic_shard* ai = CAST_AI(classic_si_necrotic_shard, shard->AI())) + ai->Zap(shard->GetMaxHealth() / 4); + } + break; + case NPC_FLAMESHOCKER: + DoCastSelf(SPELL_FLAMESHOCKERS_REVENGE, true); + break; + default: + // camp minions and rares: zap the shard of their camp + if (Creature* shard = me->FindNearestCreature(NPC_NECROTIC_SHARD, 100.0f)) + { + me->CastSpell(shard, SPELL_ZAP_CRYSTAL, true); + if (classic_si_necrotic_shard* ai = CAST_AI(classic_si_necrotic_shard, shard->AI())) + ai->Zap(SpellDamage(SPELL_ZAP_CRYSTAL, 15)); + } + break; + } + } + + void UpdateAI(uint32 diff) override + { + if (_shadowAttackTimer) + { + if (_shadowAttackTimer <= diff) + { + _shadowAttackTimer = 0; + me->SetImmuneToPC(false); + if (Player* player = ObjectAccessor::GetPlayer(*me, _summoner)) + if (player->IsAlive() && me->IsWithinLOSInMap(player) && me->IsValidAttackTarget(player)) + AttackStart(player); + } + else + _shadowAttackTimer -= diff; + } + + if (_despawnCheck && !me->IsEngaged()) + { + if (_despawnTimer <= diff) + { + me->CastSpell(me, SPELL_SPIRIT_SPAWN_OUT, true); + me->DespawnOrUnsummon(3s); + _despawnCheck = 0; + } + else + _despawnTimer -= diff; + } + else if (_despawnCheck) + _despawnTimer = _despawnCheck; + + if (!UpdateVictim()) + return; + + _events.Update(diff); + if (me->HasUnitState(UNIT_STATE_CASTING)) + return; + + while (uint32 eventId = _events.ExecuteEvent()) + { + switch (eventId) + { + case EVENT_INFECTED_BITE: + DoCastVictim(SPELL_INFECTED_BITE); + _events.Repeat(13s, 20s); + break; + case EVENT_BONE_SHARDS: + DoCastVictim(SPELL_BONE_SHARDS); + _events.Repeat(16s, 25s); + break; + case EVENT_DEMORALIZING_SHOUT: + DoCastSelf(SPELL_DEMORALIZING_SHOUT); + _events.Repeat(20s, 30s); + break; + case EVENT_SUNDER_ARMOR: + DoCastVictim(SPELL_SUNDER_ARMOR); + _events.Repeat(6500ms, 12s); + break; + case EVENT_KNOCKDOWN: + DoCastVictim(SPELL_KNOCKDOWN); + _events.Repeat(10s, 16s); + break; + case EVENT_TRAMPLE: + DoCastSelf(SPELL_TRAMPLE); + _events.Repeat(12s, 18s); + break; + case EVENT_RIBBON_OF_SOULS: + DoCastVictim(SPELL_RIBBON_OF_SOULS); + _events.Repeat(3s, 6s); + break; + case EVENT_PSYCHIC_SCREAM: + DoCastSelf(SPELL_PSYCHIC_SCREAM); + _events.Repeat(20s, 30s); + break; + case EVENT_ARCANE_BOLT: + DoCastVictim(SPELL_ARCANE_BOLT); + _events.Repeat(12s, 20s); + break; + case EVENT_MINDFLAY: + DoCastVictim(SPELL_MINDFLAY); + _events.Repeat(6500ms, 13s); + break; + case EVENT_FEAR: + DoCastVictim(SPELL_FEAR); + _events.Repeat(14500ms); + break; + case EVENT_FLAMESHOCKERS_TOUCH: + DoCastVictim(RAND(SPELL_FLAMESHOCKERS_TOUCH, SPELL_FLAMESHOCKERS_TOUCH2), true); + _events.Repeat(30s, 45s); + break; + case EVENT_SCOURGE_STRIKE: + // the Scourge kill NPCs (guards, Argent Dawn) outright, never players or their pets + if (me->GetEntry() != NPC_FLAMESHOCKER) + if (Unit* victim = me->GetVictim()) + if (!victim->IsCharmedOwnedByPlayerOrPlayer() && me->IsWithinDistInMap(victim, 30.0f)) + DoCast(victim, SPELL_SCOURGE_STRIKE, true); + _events.Repeat(2s); + break; + default: + break; + } + if (me->HasUnitState(UNIT_STATE_CASTING)) + return; + } + } + +private: + enum + { + EVENT_INFECTED_BITE = 1, + EVENT_BONE_SHARDS, + EVENT_DEMORALIZING_SHOUT, + EVENT_SUNDER_ARMOR, + EVENT_KNOCKDOWN, + EVENT_TRAMPLE, + EVENT_RIBBON_OF_SOULS, + EVENT_PSYCHIC_SCREAM, + EVENT_ARCANE_BOLT, + EVENT_MINDFLAY, + EVENT_FEAR, + EVENT_FLAMESHOCKERS_TOUCH, + EVENT_SCOURGE_STRIKE, + }; + + EventMap _events; + ObjectGuid _summoner; + uint32 _shadowAttackTimer = 0; + uint32 _despawnCheck = 0; + uint32 _despawnTimer = 0; + bool _enraged = false; +}; + +/* + * Summoning circle: raises the camp's Necrotic Shard when the zone attack spawns it. + */ +struct classic_si_go_circle : public GameObjectAI +{ + classic_si_go_circle(GameObject* go) : GameObjectAI(go) { } + + void UpdateAI(uint32 /*diff*/) override + { + if (_done) + return; + _done = true; + + if (me->FindNearestCreature(NPC_NECROTIC_SHARD, 5.0f) || me->FindNearestCreature(NPC_DAMAGED_NECROTIC_SHARD, 5.0f)) + return; + + if (TempSummon* shard = me->SummonCreature(NPC_NECROTIC_SHARD, me->GetPosition(), TEMPSUMMON_MANUAL_DESPAWN)) + Registry().Add(shard); + } + +private: + bool _done = false; +}; + +/* + * Necropolis objects: seen from far away and keep their grid loaded. + */ +struct classic_si_go_necropolis : public GameObjectAI +{ + classic_si_go_necropolis(GameObject* go) : GameObjectAI(go) { } + + void InitializeAI() override + { + me->setActive(true); + me->SetFarVisible(true); + } +}; + +/* + * Argent Emissary: what is happening, which zones are under attack, how many battles are won. + */ +struct classic_si_argent_emissary : public ScriptedAI +{ + classic_si_argent_emissary(Creature* creature) : ScriptedAI(creature) { } + + void SendMainMenu(Player* player) + { + AddGossipItemFor(player, GossipOptionNpc::None, GossipText(player, BCT_ARGENT_EMISSARY_OPTION_0, "What's happening?"), GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 1); + AddGossipItemFor(player, GossipOptionNpc::None, GossipText(player, BCT_ARGENT_EMISSARY_OPTION_1, "What can I do?"), GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 2); + AddGossipItemFor(player, GossipOptionNpc::None, GossipText(player, BCT_ARGENT_EMISSARY_OPTION_2, "Where are we battling the Scourge?"), GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 3); + AddGossipItemFor(player, GossipOptionNpc::None, GossipText(player, BCT_ARGENT_EMISSARY_OPTION_3, "How many battles have we won?"), GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 4); + SendGossipMenuFor(player, TEXT_ARGENT_EMISSARY, me->GetGUID()); + } + + void AddBack(Player* player, uint32 action) + { + AddGossipItemFor(player, GossipOptionNpc::None, GossipText(player, BCT_ARGENT_EMISSARY_OPTION_BACK, "I have another question."), GOSSIP_SENDER_MAIN, action); + } + + void SendZoneAnswer(Player* player, uint32 zoneId, uint32 underAttackText) + { + AddBack(player, GOSSIP_ACTION_INFO_DEF + 3); + InvasionZone const* zone = FindZone(zoneId); + bool attacked = zone && GetWs(zone->WsRemaining) > 0; + SendGossipMenuFor(player, attacked ? underAttackText : uint32(TEXT_ARGENT_EMISSARY_FREE_OF_SCOURGE), me->GetGUID()); + } + + bool OnGossipHello(Player* player) override + { + // the texts read $2219W: the battles-won world state + player->SendUpdateWorldState(WS_SI_BATTLES_WON, GetWs(WS_SI_BATTLES_WON)); + for (InvasionZone const& zone : Zones) + player->SendUpdateWorldState(zone.WsRemaining, GetWs(zone.WsRemaining)); + + ClearGossipMenuFor(player); + SendMainMenu(player); + return true; + } + + bool OnGossipSelect(Player* player, uint32 /*menuId*/, uint32 gossipListId) override + { + uint32 const action = GetGossipActionFor(player, gossipListId); + ClearGossipMenuFor(player); + + switch (action) + { + case GOSSIP_ACTION_INFO_DEF + 1: + AddBack(player, GOSSIP_ACTION_INFO_DEF + 5); + SendGossipMenuFor(player, TEXT_ARGENT_EMISSARY_ANSWER_0, me->GetGUID()); + break; + case GOSSIP_ACTION_INFO_DEF + 2: + AddBack(player, GOSSIP_ACTION_INFO_DEF + 5); + SendGossipMenuFor(player, TEXT_ARGENT_EMISSARY_ANSWER_1, me->GetGUID()); + break; + case GOSSIP_ACTION_INFO_DEF + 3: + AddGossipItemFor(player, GossipOptionNpc::None, GossipText(player, BCT_ARGENT_EMISSARY_OPTION_2_SUB_4, "Is Azshara currently under attack?"), GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 10); + AddGossipItemFor(player, GossipOptionNpc::None, GossipText(player, BCT_ARGENT_EMISSARY_OPTION_2_SUB_2, "Are the Blasted Lands currently under attack?"), GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 8); + AddGossipItemFor(player, GossipOptionNpc::None, GossipText(player, BCT_ARGENT_EMISSARY_OPTION_2_SUB_3, "Are the Burning Steppes currently under attack?"), GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 9); + AddGossipItemFor(player, GossipOptionNpc::None, GossipText(player, BCT_ARGENT_EMISSARY_OPTION_2_SUB_1, "Is Tanaris currently under attack?"), GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 7); + AddGossipItemFor(player, GossipOptionNpc::None, GossipText(player, BCT_ARGENT_EMISSARY_OPTION_2_SUB_5, "Are the Eastern Plaguelands currently under attack?"), GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 11); + AddGossipItemFor(player, GossipOptionNpc::None, GossipText(player, BCT_ARGENT_EMISSARY_OPTION_2_SUB_0, "Is Winterspring currently under attack?"), GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF + 6); + AddBack(player, GOSSIP_ACTION_INFO_DEF + 5); + SendGossipMenuFor(player, TEXT_ARGENT_EMISSARY_ANSWER_2, me->GetGUID()); + break; + case GOSSIP_ACTION_INFO_DEF + 4: + AddBack(player, GOSSIP_ACTION_INFO_DEF + 5); + SendGossipMenuFor(player, RAND(TEXT_ARGENT_EMISSARY_WINS_0, TEXT_ARGENT_EMISSARY_WINS_1, TEXT_ARGENT_EMISSARY_WINS_2), me->GetGUID()); + break; + case GOSSIP_ACTION_INFO_DEF + 5: + SendMainMenu(player); + break; + case GOSSIP_ACTION_INFO_DEF + 6: + SendZoneAnswer(player, ZONEID_WINTERSPRING, TEXT_ARGENT_EMISSARY_WINTERSPRING); + break; + case GOSSIP_ACTION_INFO_DEF + 7: + SendZoneAnswer(player, ZONEID_TANARIS, TEXT_ARGENT_EMISSARY_TANARIS); + break; + case GOSSIP_ACTION_INFO_DEF + 8: + SendZoneAnswer(player, ZONEID_BLASTED_LANDS, TEXT_ARGENT_EMISSARY_BLASTED_LANDS); + break; + case GOSSIP_ACTION_INFO_DEF + 9: + SendZoneAnswer(player, ZONEID_BURNING_STEPPES, TEXT_ARGENT_EMISSARY_BURNING_STEPPES); + break; + case GOSSIP_ACTION_INFO_DEF + 10: + SendZoneAnswer(player, ZONEID_AZSHARA, TEXT_ARGENT_EMISSARY_AZSHARA); + break; + case GOSSIP_ACTION_INFO_DEF + 11: + SendZoneAnswer(player, ZONEID_EASTERN_PLAGUELANDS, TEXT_ARGENT_EMISSARY_PLAGUELANDS); + break; + default: + CloseGossipMenuFor(player); + break; + } + return true; + } +}; + +/* + * Pallid Horror / Patchwork Terror: the city attack. Brings 5-9 Flameshockers, calls more next to the guards, makes the guards + * come for it, and walks to the throne. Its death leaves a crystal for the city's quest and starts the city's next timer. + */ +struct classic_si_pallid_horror : public ScriptedAI +{ + classic_si_pallid_horror(Creature* creature) : ScriptedAI(creature) { } + + void InitializeAI() override + { + ScriptedAI::InitializeAI(); + me->setActive(true); + me->SetCorpseDelay(10, true); + + _target = FindThrone(); + _events.Reset(); + _events.ScheduleEvent(EVENT_RANDOM_YELL, 5s); + _events.ScheduleEvent(EVENT_DAMAGE_VS_GUARDS, 5s); + _events.ScheduleEvent(EVENT_SUMMON_FLAMESHOCKER, 5s); + _events.ScheduleEvent(EVENT_MARCH, 2s); + } + + void JustAppeared() override + { + ScriptedAI::JustAppeared(); + if (_escortDone) + return; + _escortDone = true; + me->AddAura(SPELL_AURA_OF_FEAR, me); + + // sniffed groups of 5-9 shockers around it + uint32 amount = urand(5, 9); + for (uint32 i = 0; i < amount; ++i) + { + if (TempSummon* shocker = me->SummonCreature(NPC_FLAMESHOCKER, me->GetPosition(), TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 1h)) + { + float angle = float(i) * float(2 * M_PI) / float(amount); + shocker->GetMotionMaster()->MoveFollow(me, 5.0f, ChaseAngle(angle, 0.2f)); + shocker->CastSpell(shocker, SPELL_MINION_SPAWN_IN, true); + _flameshockers.insert(shocker->GetGUID()); + Registry().Add(shocker, CityKey()); + } + } + } + + void Reset() override + { + if (me->IsInWorld() && !me->HasAura(SPELL_AURA_OF_FEAR)) + me->AddAura(SPELL_AURA_OF_FEAR, me); + } + + void EnterEvadeMode(EvadeReason why) override + { + // no way home: back to the march + if (!_EnterEvadeMode(why)) + return; + Reset(); + _events.RescheduleEvent(EVENT_MARCH, 1s); + } + + void MoveInLineOfSight(Unit* who) override + { + PullGuard(me, who); + ScriptedAI::MoveInLineOfSight(who); + } + + void SummonedCreatureDies(Creature* summon, Unit* /*killer*/) override + { + _flameshockers.erase(summon->GetGUID()); + } + + void SummonedCreatureDespawn(Creature* summon) override + { + _flameshockers.erase(summon->GetGUID()); + } + + void JustDied(Unit* /*killer*/) override + { + if (Creature* bolvar = me->FindNearestCreature(NPC_HIGHLORD_BOLVAR_FORDRAGON, 250.0f)) + ClassicScriptZoneYell(BCT_STORMWIND_BOLVAR_2, bolvar, me); + if (Creature* sylvanas = me->FindNearestCreature(NPC_LADY_SYLVANAS_WINDRUNNER, 250.0f)) + ClassicScriptZoneYell(BCT_UNDERCITY_SYLVANAS_1, sylvanas, me); + + std::set shockers = _flameshockers; + for (ObjectGuid const& guid : shockers) + if (Creature* shocker = me->GetMap()->GetCreature(guid)) + if (shocker->IsAlive()) + shocker->KillSelf(); + + bool undercity = me->GetZoneId() == ZONEID_UNDERCITY; + if (TempSummon* crystal = me->SummonCreature(undercity ? NPC_FAINT_NECROTIC_CRYSTAL : NPC_CRACKED_NECROTIC_CRYSTAL, me->GetPosition(), TEMPSUMMON_TIMED_DESPAWN, 15min)) + crystal->setActive(true); + me->RemoveAurasDueToSpell(SPELL_AURA_OF_FEAR); + + uint32 delay = urand(CITY_ATTACK_TIMER_MIN, CITY_ATTACK_TIMER_MAX); + uint32 zoneId = undercity ? ZONEID_UNDERCITY : ZONEID_STORMWIND; + SetWs(WS_SCRIPT_CITY_TIME_BASE + zoneId, int32(GameTime::GetGameTime() + delay)); + TC_LOG_INFO("scripts", "Scourge Invasion: the Scourge is beaten in {}, next attack in {} minutes", undercity ? "Undercity" : "Stormwind", delay / MINUTE); + } + + void UpdateAI(uint32 diff) override + { + _events.Update(diff); + while (uint32 eventId = _events.ExecuteEvent()) + { + switch (eventId) + { + case EVENT_RANDOM_YELL: + ClassicScriptZoneYell(RAND(BCT_PALLID_HORROR_YELL1, BCT_PALLID_HORROR_YELL2, BCT_PALLID_HORROR_YELL3, BCT_PALLID_HORROR_YELL4, + BCT_PALLID_HORROR_YELL5, BCT_PALLID_HORROR_YELL6, BCT_PALLID_HORROR_YELL7, BCT_PALLID_HORROR_YELL8), me); + _events.Repeat(65s, 300s); + break; + case EVENT_DAMAGE_VS_GUARDS: + if (Unit* victim = me->GetVictim()) + if (!victim->IsCharmedOwnedByPlayerOrPlayer()) + DoCast(victim, SPELL_DAMAGE_VS_GUARDS, true); + _events.Repeat(11s, 81s); + break; + case EVENT_SUMMON_FLAMESHOCKER: + SummonFlameshockerAtGuard(); + _events.Repeat(2s); + break; + case EVENT_MARCH: + if (!me->IsEngaged() && me->GetExactDist2d(_target) > 15.0f) + me->GetMotionMaster()->MovePoint(1, _target, true); + _events.Repeat(10s); + break; + default: + break; + } + } + + UpdateVictim(); + } + +private: + enum + { + EVENT_RANDOM_YELL = 1, + EVENT_DAMAGE_VS_GUARDS, + EVENT_SUMMON_FLAMESHOCKER, + EVENT_MARCH, + }; + + uint32 CityKey() const + { + return me->GetExactDist2d(Cities[0].Spawns.front()) < me->GetExactDist2d(Cities[1].Spawns.front()) ? Cities[0].ZoneId : Cities[1].ZoneId; + } + + Position FindThrone() const + { + for (CityAttack const& city : Cities) + { + if (me->GetExactDist2d(city.Spawns.front()) > 600.0f) + continue; + for (auto const& [spawnId, data] : sObjectMgr->GetAllCreatureData()) + if (data.id == city.LeaderEntry && data.mapId == me->GetMapId()) + return data.spawnPoint; + return city.LeaderFallback; + } + return me->GetPosition(); + } + + void SummonFlameshockerAtGuard() + { + if (_flameshockers.size() >= 30) + return; + + // a random guard of this zone in range with no flameshocker next to it + std::list candidates; + for (uint32 entry : { NPC_ROYAL_DREADGUARD, NPC_STORMWIND_ROYAL_GUARD, NPC_UNDERCITY_ELITE_GUARDIAN, NPC_UNDERCITY_GUARDIAN, + NPC_DEATHGUARD_ELITE, NPC_STORMWIND_CITY_GUARD, NPC_STORMWIND_ELITE_GUARD }) + me->GetCreatureListWithEntryInGrid(candidates, entry, 150.0f); + candidates.remove_if([this](Creature* guard) + { + return !guard->IsAlive() || guard->GetZoneId() != me->GetZoneId() || !me->IsValidAttackTarget(guard) + || guard->FindNearestCreature(NPC_FLAMESHOCKER, 10.0f) != nullptr; + }); + if (candidates.empty()) + return; + + Creature* guard = Trinity::Containers::SelectRandomContainerElement(candidates); + Position pos = guard->GetNearPosition(5.0f, frand(0.0f, float(2 * M_PI))); + if (TempSummon* shocker = me->SummonCreature(NPC_FLAMESHOCKER, pos, TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, 1h)) + { + _flameshockers.insert(shocker->GetGUID()); + Registry().Add(shocker, CityKey()); + shocker->CastSpell(shocker, SPELL_MINION_SPAWN_IN, true); + if (shocker->AI()) + { + shocker->AI()->DoAction(ACTION_FLAMESHOCKER_DESPAWN_TIMER); + shocker->AI()->AttackStart(guard); + } + } + } + + EventMap _events; + std::set _flameshockers; + Position _target; + bool _escortDone = false; +}; + +/* + * The controller: VMaNGOS ScourgeInvasionEvent (HardcodedEvents.cpp). + */ +class classic_world_event_scourge_invasion : public WorldScript +{ +public: + classic_world_event_scourge_invasion() : WorldScript("classic_world_event_scourge_invasion") { Instance = this; } + + static classic_world_event_scourge_invasion* Instance; + + // .reload config; at the start the config is read before the scripts load, so OnStartup reads it too + void OnConfigLoad(bool /*reload*/) override + { + ReadConfig(); + } + + void OnStartup() override + { + ReadConfig(); + _timer = 15 * IN_MILLISECONDS; // first look 5 s after the start + } + + void ReadConfig() + { + _configEnabled = sConfigMgr->GetBoolDefault("Classic.ScourgeInvasion", false); + ShardDamageRate = std::max(0.01f, sConfigMgr->GetFloatDefault("Classic.ScourgeInvasion.ShardDamageRate", 1.0f)); + } + + void OnBeforeMapsUpdate(uint32 diff) override + { + _timer += diff; + if (_timer < UPDATE_INTERVAL && !_forceTick) + return; + _timer = 0; + _forceTick = false; + Tick(); + } + + // .scourge commands: the controller does the work on its next tick (maps idle) + struct Requests + { + std::vector startZones; + std::vector winZones; + std::vector startCities; + int32 setWins = -1; + }; + + void Request(std::function const& fill) + { + std::scoped_lock lock(_requestLock); + fill(_requests); + _forceTick = true; + } + + bool IsEnabled() const + { + switch (GetWs(WS_SCRIPT_GM_SWITCH)) + { + case 1: return true; + case 2: return false; + default: return _configEnabled; + } + } + + bool IsConfigEnabled() const { return _configEnabled; } + bool IsRunning() const { return _running; } + void ForceTick() { _forceTick = true; } + + bool IsZoneActive(InvasionZone const& zone) const + { + return sGameEventMgr->IsActiveEvent(zone.EventId); + } + + bool IsCityUnderAttack(CityAttack const& city) const + { + auto itr = _pallids.find(city.ZoneId); + if (itr == _pallids.end() || itr->second.IsEmpty()) + return false; + Map* map = sMapMgr->FindMap(city.MapId, 0); + Creature* pallid = map ? map->GetCreature(itr->second) : nullptr; + return pallid && pallid->IsAlive(); + } + +private: + static constexpr uint32 UPDATE_INTERVAL = 20 * IN_MILLISECONDS; + + void Tick() + { + Requests requests; + { + std::scoped_lock lock(_requestLock); + std::swap(requests, _requests); + } + + if (requests.setWins >= 0) + SetWs(WS_SI_BATTLES_WON, requests.setWins); + + if (!IsEnabled()) + { + if (_running) + Disable(); + return; + } + + time_t const now = GameTime::GetGameTime(); + int32 const wins = GetWs(WS_SI_BATTLES_WON); + + // 150 battles won: the invasion is over, only the "invasions done" events stay + if (wins >= 150) + { + _running = true; + if (!_finished) + { + TC_LOG_INFO("scripts", "Scourge Invasion: 150 battles won, the invasion is over"); + StopAllAttacks(); + StopEventIfActive(GAME_EVENT_SCOURGE_INVASION); + StopEventIfActive(GAME_EVENT_BOSS_IN_INSTANCE); + _finished = true; + } + HandleMilestones(wins); + UpdateInvadedStates(); + return; + } + _finished = false; + + if (!_running) + Enable(); + + StartEventIfInactive(GAME_EVENT_SCOURGE_INVASION); + StartEventIfInactive(GAME_EVENT_BOSS_IN_INSTANCE); + + for (uint32 zoneId : requests.winZones) + if (InvasionZone const* zone = FindZone(zoneId)) + if (IsZoneActive(*zone)) + SetWs(zone->WsRemaining, 0); + + for (uint32 zoneId : requests.startZones) + if (InvasionZone const* zone = FindZone(zoneId)) + if (!IsZoneActive(*zone)) + StartZone(*zone, false); + + for (CityAttack const& city : Cities) + { + bool forced = std::find(requests.startCities.begin(), requests.startCities.end(), city.ZoneId) != requests.startCities.end(); + if (IsCityUnderAttack(city)) + continue; + if (forced || GetWs(WS_SCRIPT_CITY_TIME_BASE + city.ZoneId) < now) + StartCityAttack(city); + } + + for (InvasionZone const& zone : Zones) + HandleZone(zone, now); + + HandleMilestones(GetWs(WS_SI_BATTLES_WON)); + UpdateInvadedStates(); + } + + void HandleZone(InvasionZone const& zone, time_t now) + { + int32 const attackTimeWs = WS_SCRIPT_ATTACK_TIME_BASE + zone.ZoneId; + time_t const attackTime = GetWs(attackTimeWs); + uint32 const nextDelay = urand(ZONE_ATTACK_TIMER_MIN, ZONE_ATTACK_TIMER_MAX); + + if (!IsZoneActive(zone)) + { + // two zones under attack already: this one waits a full timer once its own has run out + if (attackTime < now && ActiveZoneCount() > 1) + SetWs(attackTimeWs, int32(now + nextDelay)); + + if (now < time_t(GetWs(attackTimeWs))) + return; + if (int32(zone.ZoneId) == GetWs(WS_SCRIPT_LAST_ATTACK_ZONE)) + return; + if (ActiveZoneCount() > 1 && GetWs(WS_SI_BATTLES_WON) > 0) + return; + + StartZone(zone, false); + return; + } + + // won: no necropolis left + if (attackTime < now && GetWs(zone.WsRemaining) <= 0) + { + SetWs(attackTimeWs, int32(now + nextDelay)); + SetWs(WS_SI_BATTLES_WON, GetWs(WS_SI_BATTLES_WON) + 1); + SetWs(WS_SCRIPT_LAST_ATTACK_ZONE, int32(zone.ZoneId)); + TC_LOG_INFO("scripts", "Scourge Invasion: {} is defended ({} battles won), next attack there in {} minutes", zone.Name, GetWs(WS_SI_BATTLES_WON), nextDelay / MINUTE); + StopZone(zone); + } + } + + uint32 ActiveZoneCount() const + { + uint32 count = 0; + for (InvasionZone const& zone : Zones) + if (IsZoneActive(zone)) + ++count; + return count; + } + + void StartZone(InvasionZone const& zone, bool resume) + { + Map* map = sMapMgr->PrewarmContinentMap(zone.MapId); + if (!map) + { + TC_LOG_ERROR("scripts", "Scourge Invasion: no map {} for {}, trying again next update", zone.MapId, zone.Name); + return; + } + + if (!resume) + { + SetWs(zone.WsRemaining, int32(zone.NecropolisCount)); + // the win check waits for this time: a GM start (.scourge zone) can come before the zone's timer ran out + SetWs(WS_SCRIPT_ATTACK_TIME_BASE + zone.ZoneId, int32(GameTime::GetGameTime())); + } + + StartEventIfInactive(zone.EventId); + + // the Herald of the Lich King, kept in the world (and its grid loaded) while the zone is attacked + DespawnMouth(zone, false); + map->LoadGrid(zone.MouthPos.GetPositionX(), zone.MouthPos.GetPositionY()); + if (TempSummon* mouth = map->SummonCreature(NPC_MOUTH_OF_KELTHUZAD, zone.MouthPos)) + { + mouth->setActive(true); + mouth->SetFarVisible(true); + _mouths[zone.ZoneId] = mouth->GetGUID(); + if (mouth->AI()) + mouth->AI()->DoAction(resume ? ACTION_MOUTH_ZONE_RESUME : ACTION_MOUTH_ZONE_START); + } + else + TC_LOG_ERROR("scripts", "Scourge Invasion: could not summon the Herald of the Lich King in {}", zone.Name); + + map->SetZoneWeather(zone.ZoneId, WEATHER_STATE_THUNDERS, 0.25f); + TC_LOG_INFO("scripts", "Scourge Invasion: {} {}, {} necropolises", resume ? "resuming the attack on" : "attacking", zone.Name, GetWs(zone.WsRemaining)); + } + + void StopZone(InvasionZone const& zone) + { + DespawnMouth(zone, true); + StopEventIfActive(zone.EventId); + SetWs(zone.WsRemaining, 0); + ClearSummons(zone.ZoneId, zone.MapId); + if (Map* map = sMapMgr->FindMap(zone.MapId, 0)) + map->SetZoneWeather(zone.ZoneId, WEATHER_STATE_FINE, 0.0f); + } + + void DespawnMouth(InvasionZone const& zone, bool yell) + { + auto itr = _mouths.find(zone.ZoneId); + if (itr == _mouths.end()) + return; + if (Map* map = sMapMgr->FindMap(zone.MapId, 0)) + { + if (Creature* mouth = map->GetCreature(itr->second)) + { + if (yell && mouth->AI()) + mouth->AI()->DoAction(ACTION_MOUTH_ZONE_STOP); + else + mouth->DespawnOrUnsummon(); + } + } + _mouths.erase(itr); + } + + void ClearSummons(uint32 zoneId, uint32 mapId) + { + std::set summons = Registry().Take(zoneId); + Map* map = sMapMgr->FindMap(mapId, 0); + if (!map) + return; + for (ObjectGuid const& guid : summons) + if (Creature* creature = map->GetCreature(guid)) + creature->DespawnOrUnsummon(); + } + + void StartCityAttack(CityAttack const& city) + { + Map* map = sMapMgr->PrewarmContinentMap(city.MapId); + if (!map) + return; + + Position const& pos = Trinity::Containers::SelectRandomContainerElement(city.Spawns); + map->LoadGrid(pos.GetPositionX(), pos.GetPositionY()); + if (TempSummon* pallid = map->SummonCreature(RAND(NPC_PALLID_HORROR, NPC_PATCHWORK_TERROR), pos)) + { + pallid->setActive(true); + _pallids[city.ZoneId] = pallid->GetGUID(); + Registry().Add(pallid, city.ZoneId); + // a timer in case it is never killed (the next one waits for this one) + SetWs(WS_SCRIPT_CITY_TIME_BASE + city.ZoneId, int32(GameTime::GetGameTime() + CITY_ATTACK_TIMER_MAX)); + TC_LOG_INFO("scripts", "Scourge Invasion: {} attacks {}", pallid->GetName(), city.Name); + } + else + TC_LOG_ERROR("scripts", "Scourge Invasion: could not summon the city attacker in {}", city.Name); + } + + void StopCityAttacks() + { + // the attacker and every flameshocker it brought or called are in the registry under the city + for (CityAttack const& city : Cities) + ClearSummons(city.ZoneId, city.MapId); + _pallids.clear(); + } + + void StopAllAttacks() + { + time_t const now = GameTime::GetGameTime(); + for (InvasionZone const& zone : Zones) + { + DespawnMouth(zone, false); + StopEventIfActive(zone.EventId); + SetWs(zone.WsRemaining, 0); + SetWs(WS_SCRIPT_ATTACK_TIME_BASE + zone.ZoneId, int32(now)); + ClearSummons(zone.ZoneId, zone.MapId); + if (Map* map = sMapMgr->FindMap(zone.MapId, 0)) + map->SetZoneWeather(zone.ZoneId, WEATHER_STATE_FINE, 0.0f); + } + ClearSummons(0, 0); + StopCityAttacks(); + for (CityAttack const& city : Cities) + SetWs(WS_SCRIPT_CITY_TIME_BASE + city.ZoneId, int32(now)); + } + + // VMaNGOS Enable(): resume the zones that still had necropolises when the server stopped + void Enable() + { + _running = true; + TC_LOG_INFO("scripts", "Scourge Invasion: on ({} battles won)", GetWs(WS_SI_BATTLES_WON)); + StartEventIfInactive(GAME_EVENT_SCOURGE_INVASION); + StartEventIfInactive(GAME_EVENT_BOSS_IN_INSTANCE); + for (InvasionZone const& zone : Zones) + if (GetWs(zone.WsRemaining) > 0 && !IsZoneActive(zone)) + StartZone(zone, true); + } + + // VMaNGOS Disable(): everything goes, the battles won stay + void Disable() + { + _running = false; + _finished = false; + StopAllAttacks(); + for (uint16 eventId : { GAME_EVENT_SCOURGE_INVASION, GAME_EVENT_BOSS_IN_INSTANCE, GAME_EVENT_50_INVASIONS, GAME_EVENT_100_INVASIONS, + GAME_EVENT_150_INVASIONS, GAME_EVENT_INVASIONS_DONE }) + StopEventIfActive(eventId); + UpdateInvadedStates(); + TC_LOG_INFO("scripts", "Scourge Invasion: off"); + } + + void HandleMilestones(int32 wins) + { + if (wins < 50) + { + StopEventIfActive(GAME_EVENT_50_INVASIONS); + StopEventIfActive(GAME_EVENT_100_INVASIONS); + StopEventIfActive(GAME_EVENT_150_INVASIONS); + StopEventIfActive(GAME_EVENT_INVASIONS_DONE); + } + else if (wins < 100) + { + StartEventIfInactive(GAME_EVENT_50_INVASIONS); + StopEventIfActive(GAME_EVENT_100_INVASIONS); + StopEventIfActive(GAME_EVENT_150_INVASIONS); + StopEventIfActive(GAME_EVENT_INVASIONS_DONE); + } + else if (wins < 150) + { + StopEventIfActive(GAME_EVENT_50_INVASIONS); + StartEventIfInactive(GAME_EVENT_100_INVASIONS); + StopEventIfActive(GAME_EVENT_150_INVASIONS); + StopEventIfActive(GAME_EVENT_INVASIONS_DONE); + } + else + { + StopEventIfActive(GAME_EVENT_50_INVASIONS); + StopEventIfActive(GAME_EVENT_100_INVASIONS); + StartEventIfInactive(GAME_EVENT_150_INVASIONS); + StartEventIfInactive(GAME_EVENT_INVASIONS_DONE); + } + } + + void UpdateInvadedStates() + { + for (InvasionZone const& zone : Zones) + SetWs(zone.WsInvaded, GetWs(zone.WsRemaining) > 0 ? 1 : 0); + } + + static void StartEventIfInactive(uint16 eventId) + { + if (!sGameEventMgr->IsActiveEvent(eventId)) + sGameEventMgr->StartEvent(eventId, true); + } + + static void StopEventIfActive(uint16 eventId) + { + if (sGameEventMgr->IsActiveEvent(eventId)) + sGameEventMgr->StopEvent(eventId, true); + } + + std::mutex _requestLock; + Requests _requests; + std::unordered_map _mouths; + std::unordered_map _pallids; + uint32 _timer = 0; + std::atomic _forceTick{ false }; + bool _configEnabled = false; + bool _running = false; + bool _finished = false; +}; + +classic_world_event_scourge_invasion* classic_world_event_scourge_invasion::Instance = nullptr; + +/* + * .scourge status | on | off | default | zone | win | city | wins + */ +class classic_scourge_invasion_commandscript : public CommandScript +{ +public: + classic_scourge_invasion_commandscript() : CommandScript("classic_scourge_invasion_commandscript") { } + + std::span GetCommands() const override + { + static ChatCommandTable scourgeCommandTable = + { + { "status", HandleStatus, rbac::RBAC_PERM_COMMAND_EVENT_START, Console::Yes }, + { "on", HandleOn, rbac::RBAC_PERM_COMMAND_EVENT_START, Console::Yes }, + { "off", HandleOff, rbac::RBAC_PERM_COMMAND_EVENT_STOP, Console::Yes }, + { "default", HandleDefault, rbac::RBAC_PERM_COMMAND_EVENT_START, Console::Yes }, + { "zone", HandleZone, rbac::RBAC_PERM_COMMAND_EVENT_START, Console::Yes }, + { "win", HandleWin, rbac::RBAC_PERM_COMMAND_EVENT_START, Console::Yes }, + { "city", HandleCity, rbac::RBAC_PERM_COMMAND_EVENT_START, Console::Yes }, + { "wins", HandleWins, rbac::RBAC_PERM_COMMAND_EVENT_START, Console::Yes }, + }; + static ChatCommandTable commandTable = + { + { "scourge", scourgeCommandTable }, + }; + return commandTable; + } + + static classic_world_event_scourge_invasion* Controller(ChatHandler* handler) + { + if (!classic_world_event_scourge_invasion::Instance) + { + handler->SendSysMessage("Scourge Invasion: the event script is not loaded."); + handler->SetSentErrorMessage(true); + } + return classic_world_event_scourge_invasion::Instance; + } + + static InvasionZone const* ZoneByKey(std::string_view key) + { + for (InvasionZone const& zone : Zones) + if (key == zone.Key || StringEqualI(key, zone.Name)) + return &zone; + return nullptr; + } + + static bool HandleStatus(ChatHandler* handler) + { + classic_world_event_scourge_invasion* controller = Controller(handler); + if (!controller) + return false; + + time_t const now = GameTime::GetGameTime(); + int32 gm = GetWs(WS_SCRIPT_GM_SWITCH); + handler->PSendSysMessage("Scourge Invasion: %s (config %s, GM switch %s), %d battles won, last zone won %d", + controller->IsEnabled() ? "ON" : "off", controller->IsConfigEnabled() ? "on" : "off", + gm == 1 ? "on" : gm == 2 ? "off" : "not set", GetWs(WS_SI_BATTLES_WON), GetWs(WS_SCRIPT_LAST_ATTACK_ZONE)); + for (InvasionZone const& zone : Zones) + { + int32 next = GetWs(WS_SCRIPT_ATTACK_TIME_BASE + zone.ZoneId) - int32(now); + handler->PSendSysMessage(" %s (%s): %s, %d necropolises left, timer %d min", + zone.Name, zone.Key, controller->IsZoneActive(zone) ? "UNDER ATTACK" : "quiet", GetWs(zone.WsRemaining), std::max(next, 0) / int32(MINUTE)); + } + for (CityAttack const& city : Cities) + { + int32 next = GetWs(WS_SCRIPT_CITY_TIME_BASE + city.ZoneId) - int32(now); + handler->PSendSysMessage(" %s (%s): %s, timer %d min", city.Name, city.Key, + controller->IsCityUnderAttack(city) ? "UNDER ATTACK" : "quiet", std::max(next, 0) / int32(MINUTE)); + } + return true; + } + + static bool HandleOn(ChatHandler* handler) + { + classic_world_event_scourge_invasion* controller = Controller(handler); + if (!controller) + return false; + SetWs(WS_SCRIPT_GM_SWITCH, 1); + controller->ForceTick(); + handler->SendSysMessage("Scourge Invasion: on (saved, stays on after a restart). The first zones start within 20 seconds."); + return true; + } + + static bool HandleOff(ChatHandler* handler) + { + classic_world_event_scourge_invasion* controller = Controller(handler); + if (!controller) + return false; + SetWs(WS_SCRIPT_GM_SWITCH, 2); + controller->ForceTick(); + handler->SendSysMessage("Scourge Invasion: off (saved). Everything despawns within 20 seconds, the battles won stay."); + return true; + } + + static bool HandleDefault(ChatHandler* handler) + { + classic_world_event_scourge_invasion* controller = Controller(handler); + if (!controller) + return false; + SetWs(WS_SCRIPT_GM_SWITCH, 0); + controller->ForceTick(); + handler->PSendSysMessage("Scourge Invasion: follows Classic.ScourgeInvasion again (now %s).", controller->IsConfigEnabled() ? "on" : "off"); + return true; + } + + static bool HandleZone(ChatHandler* handler, std::string_view key) + { + classic_world_event_scourge_invasion* controller = Controller(handler); + if (!controller) + return false; + InvasionZone const* zone = ZoneByKey(key); + if (!zone) + { + handler->SendSysMessage("Zones: winterspring, tanaris, azshara, blasted, epl, steppes"); + handler->SetSentErrorMessage(true); + return false; + } + if (!controller->IsEnabled()) + { + handler->SendSysMessage("Scourge Invasion is off. Use .scourge on first."); + handler->SetSentErrorMessage(true); + return false; + } + uint32 zoneId = zone->ZoneId; + controller->Request([zoneId](auto& requests) { requests.startZones.push_back(zoneId); }); + handler->PSendSysMessage("Scourge Invasion: %s will be attacked within 20 seconds.", zone->Name); + return true; + } + + static bool HandleWin(ChatHandler* handler, std::string_view key) + { + classic_world_event_scourge_invasion* controller = Controller(handler); + if (!controller) + return false; + InvasionZone const* zone = ZoneByKey(key); + if (!zone) + { + handler->SendSysMessage("Zones: winterspring, tanaris, azshara, blasted, epl, steppes"); + handler->SetSentErrorMessage(true); + return false; + } + uint32 zoneId = zone->ZoneId; + controller->Request([zoneId](auto& requests) { requests.winZones.push_back(zoneId); }); + handler->PSendSysMessage("Scourge Invasion: %s counts as defended within 20 seconds (if it is under attack).", zone->Name); + return true; + } + + static bool HandleCity(ChatHandler* handler, std::string_view key) + { + classic_world_event_scourge_invasion* controller = Controller(handler); + if (!controller) + return false; + for (CityAttack const& city : Cities) + { + if (key == city.Key || StringEqualI(key, city.Name)) + { + if (!controller->IsEnabled()) + { + handler->SendSysMessage("Scourge Invasion is off. Use .scourge on first."); + handler->SetSentErrorMessage(true); + return false; + } + uint32 zoneId = city.ZoneId; + controller->Request([zoneId](auto& requests) { requests.startCities.push_back(zoneId); }); + handler->PSendSysMessage("Scourge Invasion: %s will be attacked within 20 seconds.", city.Name); + return true; + } + } + handler->SendSysMessage("Cities: sw, uc"); + handler->SetSentErrorMessage(true); + return false; + } + + static bool HandleWins(ChatHandler* handler, uint32 wins) + { + classic_world_event_scourge_invasion* controller = Controller(handler); + if (!controller) + return false; + int32 value = int32(std::min(wins, 1000)); + controller->Request([value](auto& requests) { requests.setWins = value; }); + handler->PSendSysMessage("Scourge Invasion: battles won set to %d (50 / 100 / 150 switch the milestone events).", value); + return true; + } +}; + +void AddSC_classic_world_event_scourge_invasion() +{ + RegisterCreatureAI(classic_si_mouth); + RegisterCreatureAI(classic_si_necropolis); + RegisterCreatureAI(classic_si_necropolis_health); + RegisterCreatureAI(classic_si_necrotic_shard); + RegisterCreatureAI(classic_si_cultist_engineer); + RegisterCreatureAI(classic_si_minion); + RegisterCreatureAI(classic_si_argent_emissary); + RegisterCreatureAI(classic_si_pallid_horror); + RegisterGameObjectAI(classic_si_go_circle); + RegisterGameObjectAI(classic_si_go_necropolis); + new classic_world_event_scourge_invasion(); + new classic_scourge_invasion_commandscript(); +} diff --git a/src/server/scripts/Custom/Classic/world/talents/classic_talents_mage_shaman.cpp b/src/server/scripts/Custom/Classic/world/talents/classic_talents_mage_shaman.cpp index 70f7195b32..f14afb96f8 100644 --- a/src/server/scripts/Custom/Classic/world/talents/classic_talents_mage_shaman.cpp +++ b/src/server/scripts/Custom/Classic/world/talents/classic_talents_mage_shaman.cpp @@ -831,9 +831,10 @@ class classic_spell_mage_arcane_blast : public SpellScript } }; -// 400588 - Missile Barrage (70532): "Gives your Arcane Blast spell a $m1% chance, your Arcane Missile hits a ${$m1/4}% chance, and your Arcane -// Wrath, Fireball, Frostbolt, and Frostfire Bolt spells a ${$m1/2}% chance to [give 400589]". The client proc data is a flat 50% on any -// harmful spell. The spell_proc row sets the chance to 100 and lets the triggered missile hits proc; the chance per spell is rolled here. +// 400588 - Missile Barrage (70707): "Gives your Arcane Blast spell a $m1% chance, and your Arcane Wrath, Fireball, Frostbolt, Frost Blast, +// and Frostfire Bolt spells a ${$m1/2}% chance to [give 400589]". The client proc data is a flat 50% on any harmful spell. The spell_proc +// row sets the chance to 100; the chance per spell is rolled here. The 70532 text also gave Arcane Missile hits a ${$m1/4}% chance; live +// dropped that, so the missiles of a Missile Barrage no longer give the next one (glacier, Discord 17 Nov). class classic_spell_mage_missile_barrage : public AuraScript { static bool IsHalfChanceSpell(SpellInfo const* spellInfo) @@ -846,7 +847,7 @@ class classic_spell_mage_missile_barrage : public AuraScript default: break; } - // Fireball (word 0 0x1), Frostbolt (0x20) + // Fireball (word 0 0x1), Frostbolt and Frost Blast 1326053-1326055 (0x20) return spellInfo->SpellFamilyName == SPELLFAMILY_MAGE && (spellInfo->SpellFamilyFlags[0] & (0x1 | 0x20)); } @@ -859,8 +860,6 @@ class classic_spell_mage_missile_barrage : public AuraScript float const chance = float(aurEff->GetAmount()); if (spellInfo->SpellFamilyName == SPELLFAMILY_MAGE && (spellInfo->SpellFamilyFlags[0] & 0x20000000)) // Arcane Blast return roll_chance(chance); - if (spellInfo->SpellFamilyName == SPELLFAMILY_MAGE && (spellInfo->SpellFamilyFlags[0] & 0x200000)) // Arcane Missiles hits - return roll_chance(chance / 4.0f); if (IsHalfChanceSpell(spellInfo)) return roll_chance(chance / 2.0f); return false; @@ -872,6 +871,36 @@ class classic_spell_mage_missile_barrage : public AuraScript } }; +// 5143, 5144, 5145, 8416, 8417, 10211, 10212, 25345 - Arcane Missiles, with Missile Barrage 400589 up: "missiles fire every +// ${$400588w2/10}.1 sec". The buff's effect 1 is a dummy holding the change of the missile period (-500 ms), which nothing read, so +// the missiles came once a second over the halved channel: two or three missiles instead of five (glacier, Discord 17 Nov). The +// buff is used up when the channel hits (spell_proc 400589, 2026_11_17_17), after its aura took the shorter period here. +class classic_spell_mage_arcane_missiles_barrage : public AuraScript +{ + static constexpr uint32 SPELL_MAGE_MISSILE_BARRAGE_BUFF = 400589; + + bool Validate(SpellInfo const* /*spellInfo*/) override + { + return ValidateSpellEffect({ { SPELL_MAGE_MISSILE_BARRAGE_BUFF, EFFECT_1 } }); + } + + void CalcPeriodic(AuraEffect const* /*aurEff*/, bool& isPeriodic, int32& amplitude) + { + Unit* caster = GetCaster(); + if (!isPeriodic || !caster) + return; + + if (AuraEffect const* barrage = caster->GetAuraEffect(SPELL_MAGE_MISSILE_BARRAGE_BUFF, EFFECT_1)) + if (amplitude + barrage->GetAmount() > 0) + amplitude += barrage->GetAmount(); + } + + void Register() override + { + DoEffectCalcPeriodic += AuraEffectCalcPeriodicFn(classic_spell_mage_arcane_missiles_barrage::CalcPeriodic, EFFECT_0, SPELL_AURA_PERIODIC_TRIGGER_SPELL); + } +}; + /*###### ## Shaman ######*/ @@ -1623,6 +1652,7 @@ void AddSC_classic_talents_mage_shaman() RegisterSpellScript(classic_spell_mage_cone_of_cold_winters_chill); RegisterSpellScript(classic_spell_mage_arcane_blast); RegisterSpellScript(classic_spell_mage_missile_barrage); + RegisterSpellScript(classic_spell_mage_arcane_missiles_barrage); // Shaman RegisterSpellScript(classic_spell_sha_flurry); diff --git a/src/server/scripts/Custom/Classic/world/talents/classic_talents_priest_paladin.cpp b/src/server/scripts/Custom/Classic/world/talents/classic_talents_priest_paladin.cpp index feabb3c7bb..52492f5c80 100644 --- a/src/server/scripts/Custom/Classic/world/talents/classic_talents_priest_paladin.cpp +++ b/src/server/scripts/Custom/Classic/world/talents/classic_talents_priest_paladin.cpp @@ -813,13 +813,18 @@ class classic_spell_pal_reckoning : public AuraScript }; // 1326084 - Reckoning (stored extra attacks): the next melee swing of the paladin, whatever its outcome, uses every stack as an extra attack. +// Unit::Update swings the queued extra attacks only while a last extra attack spell is set; the add extra attacks effect sets it when it +// casts (Spell::cast), this script has to set it itself. Without it the stacks were used up but no extra attack came (Discord, dumpins +// 2026-11-17), and the stale queue then kept Windfury and the other extra attack procs from adding theirs. class classic_spell_pal_reckoning_stored : public AuraScript { void HandleProc(AuraEffect const* /*aurEff*/, ProcEventInfo& /*eventInfo*/) { uint8 const attacks = GetStackAmount(); + uint32 const spellId = GetId(); Unit* paladin = GetTarget(); Remove(); + paladin->SetLastExtraAttackSpell(spellId); paladin->AddExtraAttacks(attacks); } diff --git a/src/server/scripts/Spells/spell_druid.cpp b/src/server/scripts/Spells/spell_druid.cpp index e5dd0b1d65..a0728080e9 100644 --- a/src/server/scripts/Spells/spell_druid.cpp +++ b/src/server/scripts/Spells/spell_druid.cpp @@ -30,6 +30,7 @@ #include "GridNotifiersImpl.h" #include "MotionMaster.h" #include "ObjectAccessor.h" +#include "PathGenerator.h" #include "Player.h" #include "Spell.h" #include "SpellAuraEffects.h" @@ -3157,12 +3158,30 @@ class spell_dru_yseras_gift_group_heal : public SpellScript // 414924 - Feral Charge (Cat): "Leap behind an enemy." Its effect 0 is effect 175, which this client uses as a jump to a destination // (dest behind the target, Amplitude = speed multiplier, MiscValue / MiscValueB = min / max arc height in tenths, the same fields // as SPELL_EFFECT_JUMP_DEST); the core has no handler for 175, so the leap is done here the way Spell::EffectJumpDest does it. +// The leap is an arc, so on its own it reached a target the druid could not walk to (on a roof, up a cliff). Live refuses those with +// "There is no path" as it does Feral Charge (Bear) (forever-bugs #86, found by Everlake, GPL): the walking path to the target is +// checked here with the settings and the length limit of SPELL_EFFECT_CHARGE's check in Spell::CheckCast. class spell_dru_classic_feral_charge_cat : public SpellScript { SpellCastResult CheckCast() { - if (GetCaster()->HasUnitState(UNIT_STATE_ROOT)) + Unit* caster = GetCaster(); + if (caster->HasUnitState(UNIT_STATE_ROOT)) return SPELL_FAILED_ROOTED; + + Unit* target = GetExplTargetUnit(); + if (!target) + return SPELL_CAST_OK; + + PathGenerator path(caster); + path.SetSlopeCoefficient(0.0f); + path.SetDisableRoadBonus(true); + path.SetIgnoreLiquidRouteCheck(true); + bool const result = path.CalculatePath(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), false); + float const range = GetSpellInfo()->GetMaxRange(false, caster, GetSpell()) * 1.5f + target->GetCombatReach(); + if (!result || (path.GetPathType() & (PATHFIND_SHORT | PATHFIND_NOPATH | PATHFIND_INCOMPLETE)) || path.IsInvalidDestinationZ(target) + || path.GetPathLength() > range) + return SPELL_FAILED_NOPATH; return SPELL_CAST_OK; } diff --git a/src/server/scripts/World/npcs_special.cpp b/src/server/scripts/World/npcs_special.cpp index 70a7986968..7252b9910a 100644 --- a/src/server/scripts/World/npcs_special.cpp +++ b/src/server/scripts/World/npcs_special.cpp @@ -765,6 +765,8 @@ public: ## npc_injured_patient (handles all the patients, no matter Horde or Alliance) #####*/ +static constexpr float PATIENT_BLEED_PER_MS = 0.05f; + class npc_injured_patient : public CreatureScript { public: @@ -781,10 +783,14 @@ public: { DoctorGUID.Clear(); Coord = nullptr; + Saved = false; + BleedCarry = 0.0f; } ObjectGuid DoctorGUID; Position const* Coord; + bool Saved; + float BleedCarry; // the part of a health point the last ticks lost but could not take yet void Reset() override { @@ -836,6 +842,7 @@ public: //regen health me->RemoveUnitFlag(UNIT_FLAG_IN_COMBAT); + Saved = true; //stand up me->SetStandState(UNIT_STAND_STATE_STAND); @@ -860,13 +867,21 @@ public: } } - void UpdateAI(uint32 /*diff*/) override + void UpdateAI(uint32 diff) override { - //lower HP on every world tick makes it a useful counter, not officlone though - if (me->IsAlive() && me->GetHealth() > 6) - me->ModifyHealth(-5); + // a bandaged patient does not bleed any more + if (Saved || !me->IsAlive()) + return; - if (me->IsAlive() && me->GetHealth() <= 6) + // The patient loses 50 health a second (VMaNGOS, GPL-2.0: 0.05 per ms). It was 5 on every update, so on a 10 ms map update + // a patient bled 500 a second, ten times faster, and died before a bandage could finish (Triage, Fox, 17 Nov). + BleedCarry += float(diff) * PATIENT_BLEED_PER_MS; + uint64 const loss = uint64(BleedCarry); + BleedCarry -= float(loss); + if (loss && me->GetHealth() > 1 + loss) + me->ModifyHealth(-int64(loss)); + + if (me->GetHealth() <= 1 + loss) { me->RemoveUnitFlag(UNIT_FLAG_IN_COMBAT); me->SetUninteractible(true); diff --git a/src/server/worldserver/worldserver.conf.dist b/src/server/worldserver/worldserver.conf.dist index 38827f47ca..104e674528 100644 --- a/src/server/worldserver/worldserver.conf.dist +++ b/src/server/worldserver/worldserver.conf.dist @@ -4031,6 +4031,24 @@ AuctionHouseBot.Vanilla.ValueCurve.Scale = 1 AuctionHouseBot.Vanilla.ValueCurve.FullValueItemLevel = 0 +# +# AuctionHouseBot.Vanilla.MarketPrices +# Description: Price bot listings (and the buyer's fair price) by the per-unit market price in the world table +# auctionhousebot_market_price where an item has one, priced to the copper and never below what a +# vendor pays for the item. Items without a row keep AuctionHouseBot.Vanilla.ValueCurve or the +# vendor price. Read when the bot starts. +# Default: 0 - (Disabled) +# 1 - (Enabled) + +AuctionHouseBot.Vanilla.MarketPrices = 0 + +# +# AuctionHouseBot.Vanilla.MarketPrices.Scale +# Description: Multiplies the market prices (1 = as stored, 1.2 = 20% more, 0.1 to 10). Never below what a vendor pays. +# Default: 1 + +AuctionHouseBot.Vanilla.MarketPrices.Scale = 1 + # # AuctionHouseBot.Alliance.Items.Amount.Ratio # Description: Enable/Disable (disabled if 0) the part of AHBot that puts items up for auction on Alliance AH @@ -4536,6 +4554,26 @@ AuctionHouseBot.Buyer.Commodities = 1 AuctionHouseBot.Buyer.DropFloorPerLevel = 100 +# +# AuctionHouseBot.Buyer.ExcludeUnlimitedVendorItems +# Description: The buyer never buys items that a vendor in the world sells for gold with unlimited +# stock (arrows, thread, reagents...). The buyer pays at least the vendor price, so +# players could buy them from the vendor and sell them to the buyer for profit. +# Items a vendor sells in limited stock, or for tokens, can still be bought. +# Only the buyer is affected, not the seller. +# Default: 1 - (Enabled) +# 0 - (Disabled) + +AuctionHouseBot.Buyer.ExcludeUnlimitedVendorItems = 1 + +# +# AuctionHouseBot.Buyer.ExcludeItemIDs +# Description: Item ids the buyer never buys, separated by commas, e.g. "2512,2515,2321". +# Only the buyer is affected, not the seller. +# Default: "" - (None) + +AuctionHouseBot.Buyer.ExcludeItemIDs = "" + # # AuctionHouseBot.Buyer.MaxPriceMultiplier # Description: Never pay more per item than this times its fair price (vendor buy price, or four @@ -5251,6 +5289,24 @@ Forever.VanillaAoE = 0 Classic.AutoEquipNewBags = 0 +# Classic.ScourgeInvasion +# Description: The Scourge Invasion world event (the Naxxramas opening): necropolises attack six zones in turn, +# players kill minions and cultists to bring them down, battles won unlock the Argent Dawn +# rewards at 50 / 100 / 150, and Pallid Horrors attack Stormwind and Undercity. GMs can also +# switch it with .scourge on / off (saved, wins over this setting until .scourge default). +# .reload config reads it again. +# Default: 0 - (Disabled) +# 1 - (Enabled) + +Classic.ScourgeInvasion = 0 + +# Classic.ScourgeInvasion.ShardDamageRate +# Description: How much the minion, cultist and Shadow of Doom deaths hurt the Necrotic Shards. Above 1 the +# camps fall faster (small servers), below 1 slower. +# Default: 1.0 + +Classic.ScourgeInvasion.ShardDamageRate = 1.0 + # Classic.Shop.Enabled # Description: In-game Store: shop points, products from world.shop_* (.shop reload), the Gold Market, character # services, realm transfers and the character screen boost. 0 answers like the official server diff --git a/tests/common/Config.cpp b/tests/common/Config.cpp index b2b1ad4e11..6620a0a3ed 100644 --- a/tests/common/Config.cpp +++ b/tests/common/Config.cpp @@ -116,3 +116,61 @@ TEST_CASE("Environment variables", "[Config]") std::remove(filePath.c_str()); } + +namespace +{ + std::string WriteTempConfig(std::string const& text) + { + auto path = boost::filesystem::temp_directory_path() / boost::filesystem::unique_path("deleteme-%%%%-%%%%.conf"); + std::ofstream stream(path.c_str()); + stream << text; + return path.string(); + } +} + +// Drop-in files (worldserver.conf.d/*.conf, modules) are merged into the main config by LoadAdditionalFile. A file without a +// [section] header lost every key: its first key was read as the section. +TEST_CASE("Drop-in config files", "[Config]") +{ + std::string mainFile = WriteTempConfig("[worldserver]\nMain.Key = 1\n"); + std::string err; + REQUIRE(sConfigMgr->LoadInitial(mainFile, std::vector(), err)); + + SECTION("with one section header") + { + std::string dropIn = WriteTempConfig("[playerbot]\nDropIn.Sectioned = 7\nDropIn.SectionedToo = 8\n"); + REQUIRE(sConfigMgr->LoadAdditionalFile(dropIn, false, err)); + REQUIRE(sConfigMgr->GetIntDefault("DropIn.Sectioned", 0) == 7); + REQUIRE(sConfigMgr->GetIntDefault("DropIn.SectionedToo", 0) == 8); + std::remove(dropIn.c_str()); + } + + SECTION("without a section header") + { + std::string dropIn = WriteTempConfig("DropIn.Flat = 5\nDropIn.FlatToo = 6\n"); + REQUIRE(sConfigMgr->LoadAdditionalFile(dropIn, false, err)); + REQUIRE(sConfigMgr->GetIntDefault("DropIn.Flat", 0) == 5); + REQUIRE(sConfigMgr->GetIntDefault("DropIn.FlatToo", 0) == 6); + std::remove(dropIn.c_str()); + } + + SECTION("with one key and no section header") + { + std::string dropIn = WriteTempConfig("DropIn.Single = 9\n"); + REQUIRE(sConfigMgr->LoadAdditionalFile(dropIn, false, err)); + REQUIRE(sConfigMgr->GetIntDefault("DropIn.Single", 0) == 9); + std::remove(dropIn.c_str()); + } + + SECTION("with two section headers") + { + std::string dropIn = WriteTempConfig("[first]\nDropIn.First = 3\n[second]\nDropIn.Second = 4\n"); + REQUIRE(sConfigMgr->LoadAdditionalFile(dropIn, false, err)); + REQUIRE(sConfigMgr->GetIntDefault("DropIn.First", 0) == 3); + REQUIRE(sConfigMgr->GetIntDefault("DropIn.Second", 0) == 4); + std::remove(dropIn.c_str()); + } + + REQUIRE(sConfigMgr->GetIntDefault("Main.Key", 0) == 1); + std::remove(mainFile.c_str()); +} diff --git a/tests/game/AuctionBotMarketPrice.cpp b/tests/game/AuctionBotMarketPrice.cpp new file mode 100644 index 0000000000..e65d733c32 --- /dev/null +++ b/tests/game/AuctionBotMarketPrice.cpp @@ -0,0 +1,106 @@ +/* + * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see . + */ + +#include "tc_catch2.h" + +#include "AuctionHouseBotVanilla.h" +#include "DB2Structure.h" +#include "ItemTemplate.h" + +namespace +{ + // An item as the client data has it: only the fields the price code reads. + struct TestItem + { + ItemEntry basic{}; + ItemSparseEntry sparse{}; + ItemTemplate proto{}; + + TestItem(uint32 id, uint32 itemClass, uint32 sellPrice, uint32 buyPrice, uint32 vendorStack = 1) + { + basic.ID = id; + basic.ClassID = itemClass; + sparse.ID = id; + sparse.SellPrice = sellPrice; + sparse.BuyPrice = buyPrice; + sparse.VendorStackCount = vendorStack; + proto.BasicData = &basic; + proto.ExtendedData = &sparse; + } + }; + + struct MarketPricesOff + { + ~MarketPricesOff() { AuctionBotVanilla::SetMarketPrices({}); } + }; +} + +// Client 70938 values (ItemSparse SellPrice / BuyPrice) and the live market prices of the 15-16 November scans. +TEST_CASE("A market price below the vendor stand-ins is used as it is", "[AuctionBotMarketPrice]") +{ + MarketPricesOff off; + TestItem linen(2589, ITEM_CLASS_TRADE_GOODS, 13, 55); // stand-ins 55c (buy) and 52c (4x sell) + TestItem silk(4306, ITEM_CLASS_TRADE_GOODS, 150, 600); + AuctionBotVanilla::SetMarketPrices({ { 2589, 24 }, { 4306, 190 } }); + + REQUIRE(AuctionBotVanilla::MarketUnitPrice(&linen.proto) == 24); + REQUIRE(AuctionBotVanilla::UnitValue(&linen.proto) == 24); + REQUIRE(AuctionBotVanilla::MarketUnitPrice(&silk.proto) == 190); +} + +TEST_CASE("A market price never goes below what a vendor pays", "[AuctionBotMarketPrice]") +{ + MarketPricesOff off; + TestItem wool(2592, ITEM_CLASS_TRADE_GOODS, 33, 135); + AuctionBotVanilla::SetMarketPrices({ { 2592, 25 } }); + + REQUIRE(AuctionBotVanilla::MarketUnitPrice(&wool.proto) == 33); +} + +TEST_CASE("Ammo compares against its per-item sell price", "[AuctionBotMarketPrice]") +{ + MarketPricesOff off; + TestItem shells(15997, ITEM_CLASS_PROJECTILE, 10, 4000, 100); + TestItem roughArrow(2512, ITEM_CLASS_PROJECTILE, 0, 10, 200); + AuctionBotVanilla::SetMarketPrices({ { 15997, 22 }, { 2512, 1 } }); + + REQUIRE(AuctionBotVanilla::MarketUnitPrice(&shells.proto) == 22); + REQUIRE(AuctionBotVanilla::MarketUnitPrice(&roughArrow.proto) == 1); +} + +TEST_CASE("The scale multiplies the market price, still above the vendor floor", "[AuctionBotMarketPrice]") +{ + MarketPricesOff off; + TestItem linen(2589, ITEM_CLASS_TRADE_GOODS, 13, 55); + AuctionBotVanilla::SetMarketPrices({ { 2589, 24 } }, 2.0f); + REQUIRE(AuctionBotVanilla::MarketUnitPrice(&linen.proto) == 48); + + AuctionBotVanilla::SetMarketPrices({ { 2589, 24 } }, 0.25f); + REQUIRE(AuctionBotVanilla::MarketUnitPrice(&linen.proto) == 13); +} + +TEST_CASE("Items without a row, and prices switched off, give no market price", "[AuctionBotMarketPrice]") +{ + MarketPricesOff off; + TestItem linen(2589, ITEM_CLASS_TRADE_GOODS, 13, 55); + TestItem other(765, ITEM_CLASS_TRADE_GOODS, 10, 40); + AuctionBotVanilla::SetMarketPrices({ { 2589, 24 } }); + REQUIRE(AuctionBotVanilla::MarketUnitPrice(&other.proto) == 0); + + AuctionBotVanilla::SetMarketPrices({}); + REQUIRE(AuctionBotVanilla::MarketUnitPrice(&linen.proto) == 0); +} diff --git a/tests/game/ClassicGrindSpot.cpp b/tests/game/ClassicGrindSpot.cpp index b1aaa9a8d6..10ddbee133 100644 --- a/tests/game/ClassicGrindSpot.cpp +++ b/tests/game/ClassicGrindSpot.cpp @@ -78,3 +78,31 @@ TEST_CASE("GrindSpot: a crowd of one level spreads over every camp of the zone", used.insert(PickGrindSpot(spots, 0, -3796.f, -777.f, 22, bot)); CHECK(used.size() == 4); } + +TEST_CASE("GrindSpot: the mob supply counts the camps of the level in reach", "[grindspot]") +{ + std::vector s; + for (int k = 0; k < 3; ++k) + { + auto c = Camp(0, 2000.f + float(k) * 180.f, -4000.f, 55, 12); + s.insert(s.end(), c.begin(), c.end()); + } + auto far = Camp(0, 2000.f, -2000.f, 55, 12); // 2000 yards away + auto grey = Camp(0, 2100.f, -4100.f, 45, 12); // ten levels lower + auto other_map = Camp(1, 2000.f, -4000.f, 55, 12); + s.insert(s.end(), far.begin(), far.end()); + s.insert(s.end(), grey.begin(), grey.end()); + s.insert(s.end(), other_map.begin(), other_map.end()); + auto spots = BuildGrindSpots(s); + CHECK(MobSupplyNear(spots, 0, 2100.f, -4000.f, 55, 600.f) == 36); + CHECK(MobSupplyNear(spots, 0, 2100.f, -4000.f, 57, 600.f) == 36); // within the level spread + CHECK(MobSupplyNear(spots, 0, 2100.f, -4000.f, 30, 600.f) == 0); +} + +TEST_CASE("GrindSpot: the supply cap is one bot per MobsPerBot mobs, with a floor", "[grindspot]") +{ + CHECK(SupplyBotCap(150, 10, 5) == 15); + CHECK(SupplyBotCap(36, 10, 5) == 5); // the floor + CHECK(SupplyBotCap(0, 10, 5) == 5); + CHECK(SupplyBotCap(150, 0, 5) == UINT32_MAX); // MobsPerBot 0: no cap +} diff --git a/tests/game/ClassicGroupFight.cpp b/tests/game/ClassicGroupFight.cpp index eed5dda348..d2e4537bff 100644 --- a/tests/game/ClassicGroupFight.cpp +++ b/tests/game/ClassicGroupFight.cpp @@ -152,22 +152,22 @@ TEST_CASE("GroupFight: after the leader's Pull back the rest hold until his Atta CHECK(PullWaitPending(1000, 0, 800, 5000)); } -TEST_CASE("GroupFight: damage dealers take the leader's order, the priority add, the tank's target, then the leader's", "[groupfight]") +TEST_CASE("GroupFight: damage dealers take the leader's order, the priority add, the leader's target, then the tank's", "[groupfight]") { std::vector c(5, Mob(10.f)); c[0].dist = 2.f; // nearest: a mob on a member - c[1].leader_target = true; - c[2].tank_target = true; + c[1].tank_target = true; + c[2].leader_target = true; c[3].priority_add = true; c[4].leader_ordered = true; CHECK(PickTarget(c) == 4); c[4].leader_ordered = false; CHECK(PickTarget(c) == 3); c[3].priority_add = false; - CHECK(PickTarget(c) == 2); - c[2].tank_target = false; + CHECK(PickTarget(c) == 2); // the player's target is the group's kill target (Saul, 2026-11-17) + c[2].leader_target = false; CHECK(PickTarget(c) == 1); - c[1].leader_target = false; + c[1].tank_target = false; CHECK(PickTarget(c) == 0); } @@ -226,6 +226,25 @@ TEST_CASE("GroupFight: a tank takes a mob off a non-tank first, nearest first", CHECK(PickTankTarget(c) == 0); } +TEST_CASE("GroupFight: among the loose mobs the tank takes the leader's own target first", "[groupfight]") +{ + // Saul, #bot-feedback 2026-11-17: the player opened on a mob, it ran at him, and the tank took the nearest other loose mob. + std::vector c(3); + c[0].mob = Mob(4.f); + c[0].on_non_tank = true; // nearest: a mob on the hunter's pet + c[1].mob = Mob(18.f); + c[1].on_non_tank = true; + c[1].mob.leader_target = true; // the player's own target, on the player + c[2].mob = Mob(9.f); + c[2].on_non_tank = true; + CHECK(PickTankTarget(c) == 1); + c[1].mob.crowd_controlled = true; // never break a hold for it: the nearest loose one + CHECK(PickTankTarget(c) == 0); + c[1].mob.crowd_controlled = false; + c[1].on_non_tank = false; // already on the tank: the loose ones come first + CHECK(PickTankTarget(c) == 0); +} + TEST_CASE("GroupFight: idle in the fight is a fault after 3 s, not for healers or controlled bots", "[groupfight]") { CHECK_FALSE(IdleFault(Mode::Fight, false, false, 1000, 1000 + kIdleFaultMs)); diff --git a/tests/game/ClassicHealCover.cpp b/tests/game/ClassicHealCover.cpp index c5f89d8a8a..09904b7a60 100644 --- a/tests/game/ClassicHealCover.cpp +++ b/tests/game/ClassicHealCover.cpp @@ -22,6 +22,22 @@ using namespace Playerbot::Combat::ClassicHeal; +// naxx_patchwerk 1116 rerun: a soaker took a 9.8k Hateful Strike 3 s ago; the next one can come any moment, so it is the damage to cover. +TEST_CASE("The largest recent hit is kept for the spike window and replaced only by a larger one", "[ClassicHealCover]") +{ + DamageSpike s; + CHECK(DamageSpikeAt(s, 1000) == 0); + DamageSpikeAdd(s, 9800, 1000); + DamageSpikeAdd(s, 1200, 2000); // a swing after the strike does not lower it + CHECK(DamageSpikeAt(s, 4000) == 9800); + CHECK(DamageSpikeAt(s, 1000 + kSpikeWindowMs) == 9800); + CHECK(DamageSpikeAt(s, 1001 + kSpikeWindowMs) == 0); + DamageSpikeAdd(s, 1500, 20000); // after the window, a new hit starts over + CHECK(DamageSpikeAt(s, 20000) == 1500); + // A soaker at 96% with a 9.8k spike is not covered by 7.6k in flight. + CHECK_FALSE(CoveredByHealsInFlight(10929, 10929 - 400, 0, 7600, 96, 1.0f, true, 9800)); +} + // MC Garr 2026-10-10, patient 2605: 64 % health, 1406 missing, 1692 of swings coming, 2280 of heals in flight. Five healers piled on. TEST_CASE("Heals in flight that exceed the missing health plus half the swings refuse another heal", "[ClassicHealCover]") { diff --git a/tests/game/ClassicHealScope.cpp b/tests/game/ClassicHealScope.cpp index 6e0a1aee4e..7d8b9f6c82 100644 --- a/tests/game/ClassicHealScope.cpp +++ b/tests/game/ClassicHealScope.cpp @@ -20,6 +20,9 @@ #include "../../src/modules/PlayerbotV2/Bot/ClassicHealScope.h" using Playerbot::Combat::ClassicHeal::EfficiencyRulesApply; +using Playerbot::Combat::ClassicHeal::HealerDamageGateFor; +using Playerbot::Combat::ClassicHeal::HealerMayCrowdControl; +using Playerbot::Combat::ClassicHeal::HybridMaySaveAlly; // Deadmines 2026-10-09: a level 21 party's priest ran out of mana (the efficiency rules were raid maps only). TEST_CASE("The healer efficiency rules apply inside a raid map", "[ClassicHealScope]") @@ -43,3 +46,40 @@ TEST_CASE("The healer efficiency rules stay off in a battleground and on a non-v CHECK_FALSE(EfficiencyRulesApply(true, false, true, true)); CHECK_FALSE(EfficiencyRulesApply(false, true, false, false)); } + +// Discord 2026-11-16: "healers are extremely passive in combat" (Playerbot.Behavior.HealerAssist). +TEST_CASE("A dungeon healer with HealerAssist damages after 3 s quiet at 60% mana", "[ClassicHealScope]") +{ + CHECK(HealerDamageGateFor(false, true).quiet_ms == 3000u); + CHECK(HealerDamageGateFor(false, true).mana_pct == 60); +} + +TEST_CASE("A raid healer, or HealerAssist off, keeps 10 s quiet at 90% mana", "[ClassicHealScope]") +{ + CHECK(HealerDamageGateFor(true, true).quiet_ms == 10000u); + CHECK(HealerDamageGateFor(true, true).mana_pct == 90); + CHECK(HealerDamageGateFor(false, false).quiet_ms == 10000u); + CHECK(HealerDamageGateFor(false, false).mana_pct == 90); +} + +// rfd_tutenkash 127: a healer's holds in a fight drained it to 15% mana and the tank died. +TEST_CASE("A healer crowd-controls only with HealerAssist, outside raids, at 60% mana and everyone at 70%", "[ClassicHealScope]") +{ + CHECK(HealerMayCrowdControl(true, false, 60, 70)); + CHECK(HealerMayCrowdControl(true, false, 100, 100)); + CHECK_FALSE(HealerMayCrowdControl(true, false, 59, 100)); + CHECK_FALSE(HealerMayCrowdControl(true, false, 100, 69)); + CHECK_FALSE(HealerMayCrowdControl(true, true, 100, 100)); + CHECK_FALSE(HealerMayCrowdControl(false, false, 100, 100)); +} + +// leenergetic, Discord 2026-11-17: "When in a DPS spec, Paladins don't cast heals on allies at all". +TEST_CASE("A damage-spec paladin saves a member at 35% with no healer covering, at 20% always", "[ClassicHealScope]") +{ + CHECK(HybridMaySaveAlly(false, 35, false, 20)); + CHECK_FALSE(HybridMaySaveAlly(false, 36, false, 100)); + CHECK_FALSE(HybridMaySaveAlly(false, 30, true, 100)); // a healer covers him: not yet + CHECK(HybridMaySaveAlly(false, 20, true, 100)); // the last moment: whoever covers him + CHECK_FALSE(HybridMaySaveAlly(false, 10, false, 19)); // no mana for it + CHECK_FALSE(HybridMaySaveAlly(true, 10, false, 100)); // a raid keeps its healers' plan +} diff --git a/tests/game/ClassicRaidHealSlots.cpp b/tests/game/ClassicRaidHealSlots.cpp index 96870fd9b0..3944f1b4d4 100644 --- a/tests/game/ClassicRaidHealSlots.cpp +++ b/tests/game/ClassicRaidHealSlots.cpp @@ -58,3 +58,24 @@ TEST_CASE("without an off tank the main tank still comes first, absent tanks add CHECK(s[2] == 3); CHECK(HealSlotOrder(0, 0, {}, 5).empty()); } + +TEST_CASE("a melee-soak boss gives the soakers three each and the main tank one, then a second", "[classic][heal]") +{ + auto const s = SoakHealSlotOrder(1, 2, { 3, 4 }, 10); + REQUIRE(s.size() == 10); + CHECK(s[0] == 1); + CHECK(std::count(s.begin(), s.end(), 1) == 1); + CHECK(std::count(s.begin(), s.end(), 2) == 3); + CHECK(std::count(s.begin(), s.end(), 3) == 3); + CHECK(std::count(s.begin(), s.end(), 4) == 3); + auto const full = SoakHealSlotOrder(1, 2, { 3 }, 99); + REQUIRE(full.size() == 8); + CHECK(full.back() == 1); + auto const short_budget = SoakHealSlotOrder(1, 2, { 3, 4 }, 4); + REQUIRE(short_budget.size() == 4); + CHECK(short_budget[0] == 1); + CHECK(short_budget[1] == 2); + CHECK(short_budget[2] == 3); + CHECK(short_budget[3] == 4); + CHECK(SoakHealSlotOrder(0, 0, {}, 5).empty()); +} diff --git a/tests/game/ClassicScenarioMonitor.cpp b/tests/game/ClassicScenarioMonitor.cpp index b51b16e466..3565678c0a 100644 --- a/tests/game/ClassicScenarioMonitor.cpp +++ b/tests/game/ClassicScenarioMonitor.cpp @@ -846,7 +846,12 @@ TEST_CASE("ScenarioDefs: the other raids are one boss each, 40 raiders (BWL, AQ4 CHECK(kt->start_npc == 15990u); CHECK(kt->start_npc_action == 1); } - CHECK(found.size() == 5 + 13 + 5 + 8 + 14); + // Every boss row of the five families, and Kel'Thuzad's scenario on top. + std::size_t rows = 0; + for (Family const& f : families) + rows += f.n; + CHECK(found.size() == rows + 1); + CHECK(rows == 5 + 13 + 5 + 8 + 14); // Arlokk has no creature row (the gong summons her): the runner summons her at the gong's spot. CHECK(FindScenario("zg_arlokk")->lair_z != 0.f); // Nor do the four Edge of Madness bosses (the Brazier of Madness brings one a lockout): each is summoned in front of the brazier. diff --git a/tools/python/scenario_pass_table.py b/tools/python/scenario_pass_table.py new file mode 100644 index 0000000000..454af5a4cd --- /dev/null +++ b/tools/python/scenario_pass_table.py @@ -0,0 +1,130 @@ +#!/usr/bin/env python3 +"""One table for a night of scenario runs: per scenario the runs, the passes, how each failure ended and what killed the raid. + +Reads Scenario.log (the "[scenario] result=" blocks the scenario runner writes) and, when given, the Playerbot.log of the same night +(its "[raid_encounter] ... pull end:" lines give the boss's health at a wipe). Any number of files, in any order; lines from other +systems are skipped. Output is a Markdown table on stdout, or into --out. + + python scenario_pass_table.py Scenario.log [Playerbot.log ...] [--filter naxx_] [--out pass-table.md] +""" + +import argparse +import collections +import re +import sys + +RESULT = re.compile(r"\[scenario\] result=(\w+) name=(\S+) .*?run_s=(\d+)") +FAIL = re.compile(r"\[scenario\] fail kind=(\S+) bot=\S+ at_s=(\d+) ?(.*)") +DEATH = re.compile(r"\[scenario\] warn kind=death bot=(\S+) at_s=(\d+) killed by (.+?), (.+?) -?\d+, at ") +PULL_END = re.compile(r"\[raid_encounter\] .*?pull end: result=(\w+) dur=(\d+)s .*?\| boss ([^|]+?) \|.*?left: (.*)$") +START = re.compile(r"\[scenario\] start name=(\S+)") + + +def spell_name(raw): + # "28741 Poison Shock" -> "Poison Shock"; "melee" stays. + parts = raw.split(" ", 1) + return parts[1] if len(parts) == 2 and parts[0].isdigit() else raw + + +def read_runs(paths, name_filter): + runs = [] # dicts in file order + boss_left = collections.defaultdict(list) # scenario name -> boss health lines at a pull end, in order + current_start = None + for path in paths: + with open(path, encoding="utf-8", errors="replace") as f: + cur = None + for line in f: + m = START.search(line) + if m: + current_start = m.group(1) + continue + m = RESULT.search(line) + if m: + cur = {"result": m.group(1), "name": m.group(2), "run_s": int(m.group(3)), "fail": "", "deaths": [], "left": ""} + if not name_filter or name_filter in cur["name"]: + runs.append(cur) + else: + cur = None + continue + m = PULL_END.search(line) + if m and current_start: + left = m.group(4).strip() + boss = m.group(3).strip().split(",")[0].strip() + hp = re.search(re.escape(boss) + r" (\d+)%", left) + boss_left[current_start].append(f"{boss} {hp.group(1)}%" if hp else f"{boss} dead") + continue + if cur is None: + continue + m = FAIL.search(line) + if m and not cur["fail"]: + cur["fail"] = f"{m.group(1)} at {m.group(2)} s" + continue + m = DEATH.search(line) + if m: + cur["deaths"].append((int(m.group(2)), m.group(3), spell_name(m.group(4)))) + # Boss health per run, matched in order within each scenario name. + seen = collections.Counter() + for r in runs: + lst = boss_left.get(r["name"], []) + i = seen[r["name"]] + if i < len(lst): + r["left"] = lst[i] + seen[r["name"]] += 1 + return runs + + +def table(runs): + by_name = collections.OrderedDict() + for r in runs: + by_name.setdefault(r["name"], []).append(r) + out = ["| Scenario | Runs | Passed | Each run | Deaths (last run) | Top killers (all runs) |", + "|---|---|---|---|---|---|"] + total_runs = total_pass = 0 + for name, rs in by_name.items(): + passed = sum(1 for r in rs if r["result"] == "PASS") + total_runs += len(rs) + total_pass += passed + each = [] + for r in rs: + if r["result"] == "PASS": + each.append(f"PASS {r['run_s']} s") + else: + bit = r["fail"] or "fail" + if r["left"]: + bit += f", {r['left']} left" + each.append(bit) + killers = collections.Counter() + for r in rs: + for _, killer, spell in r["deaths"]: + killers[f"{killer.split(' (')[0]}: {spell}"] += 1 + top = ", ".join(f"{k} x{n}" for k, n in killers.most_common(3)) or "-" + first = min((d[0] for d in rs[-1]["deaths"]), default=None) + deaths = f"{len(rs[-1]['deaths'])}" + (f", first at {first} s" if first is not None else "") + out.append(f"| {name} | {len(rs)} | {passed} | {'; '.join(each)} | {deaths} | {top} |") + out.append("") + out.append(f"{total_pass} of {total_runs} runs passed, {sum(1 for rs in by_name.values() if any(r['result'] == 'PASS' for r in rs))} " + f"of {len(by_name)} scenarios passed at least once.") + return "\n".join(out) + "\n" + + +def main(): + ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + ap.add_argument("logs", nargs="+", help="Scenario.log, optionally Playerbot.log of the same runs") + ap.add_argument("--filter", default="", help="only scenarios whose name contains this (e.g. naxx_)") + ap.add_argument("--out", default="", help="write the table here instead of stdout") + a = ap.parse_args() + runs = read_runs(a.logs, a.filter) + if not runs: + print("no [scenario] result= lines found", file=sys.stderr) + return 1 + text = table(runs) + if a.out: + with open(a.out, "w", encoding="utf-8") as f: + f.write(text) + else: + sys.stdout.write(text) + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/tools/quest_health/README.md b/tools/quest_health/README.md new file mode 100644 index 0000000000..2bf69b4f49 --- /dev/null +++ b/tools/quest_health/README.md @@ -0,0 +1,31 @@ +# Quest health sweep and post-build smoke test + +Both are read-only: they never start, stop or change the server or a database. + +## quest_health.py + +Lists the quests a player can take but cannot finish: no ender (or not spawned), a kill objective nobody can be killed for, +an item objective nothing gives, a "use object" objective whose object is not in the world, an area trigger the client does +not know, a "go there" quest nothing completes, and (low priority) quests without a map area. Only quests of this game are +checked (they have a Classic level, `quest_template_classic_level`) and only when their giver is spawned or their start item +can be had. A line ending in "(id ... is in C++ scripts)" is probably handled by code: check those in game before changing data. + + python -I tools/quest_health/quest_health.py --repo . --world --db2 "\data\dbc\enUS" ^ + --mysql "\mysql\bin\mysql.exe" --user playerbot --password playerbot --out quest-health.md --tsv quest-health.tsv + +Take the database name from WorldDatabaseInfo in worldserver.conf. `--db2` adds spell checks (items made by spells, kill +credit and summons from spells) and the client's area triggers; without it those are skipped and more lines show up. + +## smoke_test.py (about 5 minutes, after every build on dev) + +1. The console: every message the running worldserver printed 20+ times (numbers ignored), plus missing config keys, + database errors, unknown tables or columns, failed SQL updates, script name errors, asserts. +2. Quests: runs quest_health.py and lists only what is NEW since the last build's run (and what got fixed). +3. The server answers `.server info` over SOAP, when SOAP is on. + + python -I tools/quest_health/smoke_test.py --repo . --log "\logs\Server.log" --log "\logs\DBErrors.log" ^ + --world --db2 "\data\dbc\enUS" --mysql "\mysql\bin\mysql.exe" ^ + --baseline smoke-.md.quest-health.tsv --out smoke-.md + +Start it a few minutes after the worldserver is up (log in once, walk around, summon a pet) so the console has something to +show. Exit code 0 = pass, 1 = the report lists what needs a look. Keep `smoke-.md.quest-health.tsv` as the next baseline. diff --git a/tools/quest_health/quest_health.py b/tools/quest_health/quest_health.py new file mode 100644 index 0000000000..bb21a4c6a3 --- /dev/null +++ b/tools/quest_health/quest_health.py @@ -0,0 +1,279 @@ +#!/usr/bin/env python3 +"""Quest health sweep: lists quests a player can take but cannot finish, before players find them. + +Reads the world database (through the mysql command line client, so it runs where the server runs, with no Python +database module) and, when given, the client's DB2 folder. For every quest a player can start (its giver is spawned, +or its start item drops somewhere) it checks: + + giver/ender the quest ender is spawned, or summoned by a SmartAI script + kill a kill objective's creature is spawned, summoned, or is the kill credit of a spawned creature or a spell + item an item objective drops (any loot table, through references), is sold, given or rewarded by a quest, made by a + spell (DB2), given by a SmartAI script, or comes out of a container + object a "use object" objective's gameobject is spawned or summoned + trigger an area trigger objective exists in the client data (DB2) or as a server-side area trigger + marker the quest has objectives but no map area (quest_poi): low priority, the quest still works + +A finding means "no data source found". A C++ script can still give the credit or the item, so the report names the +quest's script (quest, giver or ender) when there is one; those lines are less sure. Read-only. + + python3 -I tools/quest_health/quest_health.py --repo . --world [--db2 /data/dbc/enUS] \ + [--mysql ] [--user playerbot] [--password playerbot] [--host 127.0.0.1] [--port 3306] \ + --out quest-health.md [--tsv quest-health.tsv] +""" +import argparse +import os +import subprocess +import sys +from collections import defaultdict + +SEVERITY = {'ender': 1, 'kill': 2, 'item': 2, 'object': 2, 'trigger': 2, 'no-objective': 3, 'marker': 4} + + +class Db: + def __init__(self, a): + self.cmd = [a.mysql, '-B', '-N', '--default-character-set=utf8mb4'] + self.cmd += ['--socket', a.socket] if a.socket else ['-h', a.host, '-P', str(a.port), '-u', a.user] + self.env = dict(os.environ) + if a.password is not None: + self.env['MYSQL_PWD'] = a.password # not on the command line + self.db = a.world + + def rows(self, sql): + r = subprocess.run(self.cmd + [self.db], input=sql.encode(), capture_output=True, env=self.env) + if r.returncode: + sys.exit('mysql failed: %s\n%s' % (r.stderr.decode(errors='replace').strip(), sql[:200])) + return [line.split('\t') for line in r.stdout.decode('utf-8', errors='replace').splitlines() if line] + + def ints(self, sql): + return {int(r[0]) for r in self.rows(sql) if r[0] not in ('', 'NULL')} + + def has_table(self, name): + return bool(self.rows("SHOW TABLES LIKE '%s'" % name)) + + +def load_db2(repo, folder): + """spell effects and area trigger ids from the client data; empty when no folder is given""" + out = dict(create_item=set(), kill_credit=set(), summon_creature=set(), summon_object=set(), quest_complete=set(), + area_triggers=None, item_starts=None) + if not folder: + return out + sys.path.insert(0, os.path.join(repo, 'tools', 'client_diff')) + from wdc5 import Schemas, read_db2 # our own reader (field names from DB2Metadata.h / DB2LoadInfo.h) + sch = Schemas(repo) + path = os.path.join(folder, 'SpellEffect.db2') + if os.path.exists(path): + rows, _ = read_db2(path, sch) + for r in rows.values(): + e = r.get('Effect') + misc = r.get('EffectMiscValue1') or 0 + if e in (24, 157) and r.get('EffectItemType'): # CREATE_ITEM, CREATE_LOOT + out['create_item'].add(r['EffectItemType']) + elif e == 6 and r.get('EffectAura') == 86 and r.get('EffectItemType'): # aura CHANNEL_DEATH_ITEM (shards, spirits) + out['create_item'].add(r['EffectItemType']) + elif e in (90, 134) and misc: # KILL_CREDIT, KILL_CREDIT2 + out['kill_credit'].add(misc) + elif e in (28, 41, 56, 290) and misc: # SUMMON variants + out['summon_creature'].add(misc) + elif e in (50, 76, 86, 104, 105, 106, 107) and misc: # TRANS_DOOR, SUMMON_OBJECT_WILD, ACTIVATE_OBJECT, SUMMON_OBJECT_SLOT + out['summon_object'].add(misc) + elif e == 16 and misc: # QUEST_COMPLETE + out['quest_complete'].add(misc) + path = os.path.join(folder, 'ItemSparse.db2') + if os.path.exists(path): + rows, _ = read_db2(path, sch) + out['item_starts'] = {} + for r in rows.values(): + if r.get('StartQuestID'): + out['item_starts'][r['ID']] = r['StartQuestID'] + path = os.path.join(folder, 'AreaTrigger.db2') + if os.path.exists(path): + rows, _ = read_db2(path, sch) + out['area_triggers'] = set(rows) + return out + + +def script_numbers(repo): + """every number of 3 to 7 digits in the C++ scripts: an id named there may be credited or summoned by code""" + import re + nums = set() + for root in ('src/server/scripts', 'src/server/game/Battlegrounds', 'src/server/game/OutdoorPvP'): + for dirpath, _, files in os.walk(os.path.join(repo, root)): + for f in files: + if f.endswith(('.cpp', '.h')): + with open(os.path.join(dirpath, f), encoding='latin-1') as fh: + nums.update(int(n) for n in re.findall(r'(? 0') + sai_c = {int(p) for t, p in sai if t == '12'} + sai_g = {int(p) for t, p in sai if t == '50'} + sai_item = {int(p) for t, p in sai if t == '56'} + sai_credit = {int(p) for t, p in sai if t == '33'} + sai_quest = {int(p) for t, p in sai if t in ('15', '26')} + sai_g_guids = set() + if db.has_table('creature_summon_groups'): + sai_c |= db.ints('SELECT DISTINCT entry FROM creature_summon_groups') + # spell events (SEND_EVENT): event_scripts command 10 = summon creature, 9 = respawn object (by guid), 8 = kill credit + if db.has_table('event_scripts'): + for cmd, val in db.rows('SELECT command, datalong FROM event_scripts WHERE command IN (8, 9, 10) AND datalong > 0'): + {'10': sai_c, '8': sai_credit, '9': sai_g_guids}[cmd].add(int(val)) + if sai_g_guids: + sai_g |= db.ints('SELECT DISTINCT id FROM gameobject WHERE guid IN (%s)' % ','.join(map(str, sorted(sai_g_guids)))) + credit_of_spawned = db.ints('SELECT DISTINCT KillCredit1 FROM creature_template WHERE KillCredit1 > 0 AND entry IN (SELECT id FROM creature)') \ + | db.ints('SELECT DISTINCT KillCredit2 FROM creature_template WHERE KillCredit2 > 0 AND entry IN (SELECT id FROM creature)') + + loot_items = set() + for t in ('creature', 'gameobject', 'item', 'pickpocketing', 'skinning', 'fishing', 'disenchant', 'prospecting', 'milling', + 'reference', 'spell', 'mail'): + loot_items |= db.ints('SELECT DISTINCT Item FROM %s_loot_template WHERE ItemType = 0' % t) + vendor = db.ints('SELECT DISTINCT item FROM npc_vendor WHERE item > 0') + q_items = db.rows('SELECT ID, StartItem, ItemDrop1, ItemDrop2, ItemDrop3, ItemDrop4, RewardItem1, RewardItem2, RewardItem3, ' + 'RewardItem4, RewardChoiceItemID1, RewardChoiceItemID2, RewardChoiceItemID3, RewardChoiceItemID4, ' + 'RewardChoiceItemID5, RewardChoiceItemID6 FROM quest_template') + quest_given = {int(v) for r in q_items for v in r[1:] if v not in ('0', '')} + given_by = defaultdict(set) # item -> quests that hand it out or reward it + for r in q_items: + for v in r[1:]: + if v not in ('0', ''): + given_by[int(v)].add(int(r[0])) + item_sources = loot_items | vendor | quest_given | sai_item | d2['create_item'] + + starters = defaultdict(set) + for q, i in db.rows('SELECT quest, id FROM creature_queststarter'): + starters[int(q)].add(('c', int(i))) + for q, i in db.rows('SELECT quest, id FROM gameobject_queststarter'): + starters[int(q)].add(('g', int(i))) + enders = defaultdict(set) + for q, i in db.rows('SELECT quest, id FROM creature_questender'): + enders[int(q)].add(('c', int(i))) + for q, i in db.rows('SELECT quest, id FROM gameobject_questender'): + enders[int(q)].add(('g', int(i))) + disabled = db.ints('SELECT entry FROM disables WHERE sourceType = 1') + # the quests of this game (Classic levels known); the rest of the retail data has givers in the world but is not offered + classic = db.ints('SELECT ID FROM quest_template_classic_level') if db.has_table('quest_template_classic_level') and not a.all else None + addon_script = {int(r[0]): r[1] for r in db.rows("SELECT ID, ScriptName FROM quest_template_addon WHERE ScriptName <> ''")} + c_script = {int(r[0]): r[1] for r in db.rows("SELECT entry, ScriptName FROM creature_template WHERE ScriptName <> ''")} + g_script = {int(r[0]): r[1] for r in db.rows("SELECT entry, ScriptName FROM gameobject_template WHERE ScriptName <> ''")} + trig_quests = db.ints('SELECT DISTINCT quest FROM areatrigger_involvedrelation') + custom_trig = db.ints('SELECT DISTINCT AreaTriggerId FROM areatrigger_create_properties') if db.has_table('areatrigger_create_properties') else set() + poi = db.ints('SELECT DISTINCT QuestID FROM quest_poi') + names = {} + for r in db.rows('SELECT entry, name FROM creature_template'): + names[('c', int(r[0]))] = r[1] + for r in db.rows('SELECT entry, name FROM gameobject_template'): + names[('g', int(r[0]))] = r[1] + + def is_spawned(k): + return (k[1] in spawned_c or k[1] in sai_c or k[1] in d2['summon_creature']) if k[0] == 'c' else \ + (k[1] in spawned_g or k[1] in sai_g or k[1] in d2['summon_object']) + + # quests started by an item (the item's StartQuestID; quest_template.StartItem is the item handed out on accept) + item_start = defaultdict(set) + for i, qid in (d2['item_starts'] or {}).items(): + item_start[qid].add(i) + quests = {} + for r in db.rows('SELECT ID, LogTitle, QuestSortID, StartItem, Flags FROM quest_template'): + quests[int(r[0])] = dict(title=r[1], sort=int(r[2]), start_item=int(r[3]), flags=int(r[4])) + objectives = defaultdict(list) + for r in db.rows('SELECT QuestID, Type, ObjectID, Description FROM quest_objectives ORDER BY QuestID, `Order`'): + objectives[int(r[0])].append((int(r[1]), int(r[2]), r[3])) + + findings = [] + startable = 0 + for qid, q in sorted(quests.items()): + if qid in disabled or (classic is not None and qid not in classic): + continue + givers = starters.get(qid, set()) + if not any(is_spawned(k) for k in givers) and not any( + i in loot_items | vendor | sai_item | d2['create_item'] or given_by.get(i, set()) - {qid} + for i in item_start.get(qid, ())): + continue # nobody and no item can start it: not part of this world (retail data) + startable += 1 + script = addon_script.get(qid) or next((c_script.get(k[1]) if k[0] == 'c' else g_script.get(k[1]) + for k in givers | enders.get(qid, set()) + if (c_script if k[0] == 'c' else g_script).get(k[1])), '') + + def add(kind, what, obj=None): + sev, note = SEVERITY[kind], script + if obj is not None and obj in in_code: # named in C++: likely handled there, check in game, lower in the list + sev, note = sev + 1, (script + ' ' if script else '') + '(id %d is in C++ scripts)' % obj + findings.append((sev, qid, q['title'], q['sort'], kind, what, note)) + + ends = enders.get(qid, set()) + if not ends: + add('ender', 'no quest ender at all') + elif not any(is_spawned(k) for k in ends): + add('ender', 'ender not spawned: ' + ', '.join('%s %d %s' % ('creature' if k[0] == 'c' else 'object', k[1], + names.get(k, '?')) for k in sorted(ends)), + next((k[1] for k in sorted(ends) if k[1] in in_code), None)) + objs = objectives.get(qid, []) + if not objs and q['flags'] & 4 and qid not in trig_quests and qid not in sai_quest and qid not in d2['quest_complete']: + add('no-objective', 'a "go there" quest (flag 4) with no area trigger, script or spell to complete it', qid) + for typ, obj, desc in objs: + label = desc or str(obj) + if typ == 0: # kill / talk credit + if not (obj in spawned_c or obj in sai_c or obj in credit_of_spawned or obj in sai_credit + or obj in d2['kill_credit'] or obj in d2['summon_creature']): + add('kill', 'creature %d (%s): not spawned, summoned, or anyone\'s kill credit; "%s"' % (obj, names.get(('c', obj), '?'), label), obj) + elif typ == 1: + if obj not in item_sources: + add('item', 'item %d: no drop, vendor, quest, spell or script gives it; "%s"' % (obj, label), obj) + elif typ == 2: + if not (obj in spawned_g or obj in sai_g or obj in d2['summon_object']): + add('object', 'gameobject %d (%s) not spawned or summoned; "%s"' % (obj, names.get(('g', obj), '?'), label), obj) + elif typ == 10: + known = d2['area_triggers'] is None or obj in d2['area_triggers'] or obj in custom_trig + if not known: + add('trigger', 'area trigger %d is not in the client data and not a server-side trigger; "%s"' % (obj, label), obj) + if objs and qid not in poi and not a.no_markers: + add('marker', 'no map area (quest_poi)') + + findings.sort(key=lambda f: (f[0], f[3], f[1])) + counts = defaultdict(int) + for f in findings: + counts[f[4]] += 1 + tmp = a.out + '.tmp' + with open(tmp, 'w', encoding='utf-8') as o: + o.write('# Quest health sweep\n\nWorld database `%s`; client DB2 %s.\n\n' % (a.world, a.db2 or 'not given (spell and trigger checks skipped)')) + o.write('%d quests a player can start were checked. Findings: %s.\n\n' % ( + startable, ', '.join('%s %d' % (k, counts[k]) for k in sorted(counts, key=lambda k: SEVERITY[k])) or 'none')) + o.write('"script" means a C++ script on the quest, giver or ender may give the credit itself: check those in game.\n\n') + o.write('| quest | title | zone/sort | problem | what | script |\n|---|---|---|---|---|---|\n') + for sev, qid, title, sort, kind, what, script in findings: + o.write('| %d | %s | %d | %s | %s | %s |\n' % (qid, title.replace('|', '/'), sort, kind, what.replace('|', '/'), script)) + os.replace(tmp, a.out) + if a.tsv: + tmp = a.tsv + '.tmp' + with open(tmp, 'w', encoding='utf-8') as o: + o.write('quest\ttitle\tsort\tproblem\twhat\tscript\n') + for sev, qid, title, sort, kind, what, script in findings: + o.write('%d\t%s\t%d\t%s\t%s\t%s\n' % (qid, title, sort, kind, what, script)) + os.replace(tmp, a.tsv) + print('%d startable quests, %d findings (%s) -> %s' % (startable, len(findings), dict(counts), a.out)) + + +if __name__ == '__main__': + main() diff --git a/tools/quest_health/smoke_test.py b/tools/quest_health/smoke_test.py new file mode 100644 index 0000000000..ef3d78da05 --- /dev/null +++ b/tools/quest_health/smoke_test.py @@ -0,0 +1,175 @@ +#!/usr/bin/env python3 +"""Five-minute check after a build lands on the dev realm. Read-only; it never starts, stops or changes the server. + +1. Console flood: reads the worldserver log written since the server started (or the last N minutes) and lists every + message that repeats (numbers ignored, so "pet 12 path" and "pet 13 path" count as one). A message printed again and + again is a bug even when nothing is visibly broken (0.1.37.1: "Missing name Pathfinding.PetLiquidCost" on every pet + path). Also counts errors: missing config keys, database errors, unknown tables or columns, failed SQL updates, script + errors. +2. Quest regressions: runs the quest health sweep (quest_health.py) and compares it with the last build's run, so a + quest that this build broke shows up on its own instead of in a list of hundreds. +3. Server answers: if SOAP is on (SOAP.Enabled = 1 in worldserver.conf), sends ".server info" and checks the reply. + + python3 -I tools/quest_health/smoke_test.py --repo . --log "\\logs\\Server.log" \\ + --world --db2 \\data\\dbc\\enUS [--mysql ] [--user ..] [--password ..] \\ + --baseline --out smoke-.md [--soap 127.0.0.1:7878 --soap-user X --soap-password Y] + +Exit code 0 when everything passes, 1 when something needs a look (the report says what). +""" +import argparse +import base64 +import os +import re +import subprocess +import sys +import urllib.request +from collections import Counter + +FLOOD_COUNT = 20 # the same message this many times is a flood +ERROR_PATTERNS = [ + ('missing config key', re.compile(r'Missing (name|property)', re.I)), + ('database error', re.compile(r"(\[ERROR\].*(sql|database|mysql))|(Error \d{4} \(\w+\))|(DB error)", re.I)), + ('unknown table or column', re.compile(r"(Table '.*' doesn't exist)|(Unknown column)", re.I)), + ('SQL update failed', re.compile(r'(Applying of file .* failed)|(update .* failed)', re.I)), + ('prepared statement', re.compile(r'prepared statement', re.I)), + ('script error', re.compile(r'(ScriptName .* not found)|(Script named .* does not have a script)|(is not assigned in the database)', re.I)), + ('crash or assert', re.compile(r'(ASSERTION FAILED)|(Exception)|(crash)', re.I)), +] +STAMP = re.compile(r'^\s*\d{4}-\d{2}-\d{2}[ _T]\d{2}:\d{2}:\d{2}\S*\s*') + + +def normalise(line): + line = STAMP.sub('', line.rstrip('\r\n')) + line = re.sub(r'0x[0-9a-fA-F]+', '#', line) + line = re.sub(r'-?\d+(\.\d+)?', '#', line) + return line.strip() + + +def read_log(path, from_start): + """the part of the log written by the running server: from its last start banner on (or the whole file)""" + with open(path, encoding='utf-8', errors='replace') as f: + lines = f.readlines() + if not from_start: + for i in range(len(lines) - 1, -1, -1): + if 'Using configuration file' in lines[i] or 'worldserver-daemon' in lines[i] or 'TrinityCore rev.' in lines[i]: + return lines[i:] + return lines + + +def check_log(paths, from_start): + out, bad = [], False + for path in paths: + if not os.path.exists(path): + out.append('- log %s: NOT FOUND' % path) + bad = True + continue + lines = read_log(path, from_start) + counts = Counter(normalise(l) for l in lines if l.strip()) + floods = [(n, msg) for msg, n in counts.items() if n >= FLOOD_COUNT and msg] + floods.sort(reverse=True) + out.append('### %s (%d lines since the server started)' % (path, len(lines))) + if floods: + bad = True + out.append('FLOOD: %d message(s) repeat %d+ times:' % (len(floods), FLOOD_COUNT)) + out += ['- %d x `%s`' % (n, msg[:200]) for n, msg in floods[:25]] + else: + out.append('no repeated message (none %d+ times)' % FLOOD_COUNT) + for name, rx in ERROR_PATTERNS: + hits = [l.strip() for l in lines if rx.search(l)] + if hits: + bad = True + kinds = Counter(normalise(h) for h in hits) + out.append('%s: %d line(s), %d different:' % (name, len(hits), len(kinds))) + out += ['- %d x `%s`' % (n, msg[:200]) for msg, n in kinds.most_common(10)] + return bad, out + + +def check_quests(a): + here = os.path.dirname(os.path.abspath(__file__)) + tsv = a.out + '.quest-health.tsv' + cmd = [sys.executable, '-I', os.path.join(here, 'quest_health.py'), '--repo', a.repo, '--world', a.world, + '--mysql', a.mysql, '--host', a.host, '--port', str(a.port), '--user', a.user, + '--out', a.out + '.quest-health.md', '--tsv', tsv, '--no-markers'] + if a.password is not None: + cmd += ['--password', a.password] + if a.socket: + cmd += ['--socket', a.socket] + if a.db2: + cmd += ['--db2', a.db2] + r = subprocess.run(cmd, capture_output=True, text=True) + if r.returncode: + return True, ['quest sweep FAILED: ' + (r.stderr or r.stdout).strip()[:500]] + out = [r.stdout.strip()] + + def keys(path): + with open(path, encoding='utf-8') as f: + next(f, None) + rows = [l.rstrip('\n') for l in f if l.strip()] + # map-marker lines are left out of the smoke run (--no-markers), so they are left out of the comparison too + return {tuple(r.split('\t')[i] for i in (0, 3, 4)): r for r in rows if r.split('\t')[3] != 'marker'} + now = keys(tsv) + if not a.baseline or not os.path.exists(a.baseline): + out.append('no baseline given: this run (%s) is the baseline for the next build' % tsv) + return False, out + before = keys(a.baseline) + new = [now[k] for k in now if k not in before] + gone = [before[k] for k in before if k not in now] + out.append('%d new finding(s) since the baseline, %d fixed' % (len(new), len(gone))) + out += ['- NEW ' + l.replace('\t', ' | ') for l in new[:50]] + out += ['- fixed ' + l.replace('\t', ' | ') for l in gone[:50]] + return bool(new), out + + +def check_soap(a): + if not a.soap: + return False, ['SOAP not given: skipped'] + body = ('server info' + '').encode() + req = urllib.request.Request('http://%s/' % a.soap, data=body, headers={'Content-Type': 'text/xml'}) + req.add_header('Authorization', 'Basic ' + base64.b64encode(('%s:%s' % (a.soap_user, a.soap_password)).encode()).decode()) + try: + with urllib.request.urlopen(req, timeout=10) as r: + text = r.read().decode(errors='replace') + except Exception as e: # noqa: BLE001 - any failure to answer is the finding + return True, ['.server info over SOAP FAILED: %s' % e] + ok = 'uptime' in text.lower() or 'connected players' in text.lower() + return not ok, ['.server info: %s' % ('answered' if ok else 'unexpected reply: ' + text[:300])] + + +def main(): + ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter) + ap.add_argument('--repo', default='.') + ap.add_argument('--log', action='append', default=[], help='worldserver log file(s): Server.log, DBErrors.log (repeat)') + ap.add_argument('--whole-log', action='store_true', help='read the whole log, not only since the last server start') + ap.add_argument('--world', required=True) + ap.add_argument('--db2', required=True, help='client DB2 folder; needed so that this run and the baseline check the same things') + ap.add_argument('--mysql', default='mysql') + ap.add_argument('--host', default='127.0.0.1') + ap.add_argument('--port', type=int, default=3306) + ap.add_argument('--socket') + ap.add_argument('--user', default='playerbot') + ap.add_argument('--password', default=None) + ap.add_argument('--baseline', help="the last build's quest-health tsv (this run writes .quest-health.tsv for the next)") + ap.add_argument('--soap', help='host:port of SOAP, if SOAP.Enabled = 1') + ap.add_argument('--soap-user') + ap.add_argument('--soap-password') + ap.add_argument('--out', default='smoke.md') + a = ap.parse_args() + + report, failed = ['# Smoke test', ''], [] + for name, (bad, lines) in (('Console', check_log(a.log, a.whole_log)), ('Quests', check_quests(a)), ('Server', check_soap(a))): + report += ['## %s: %s' % (name, 'NEEDS A LOOK' if bad else 'ok'), ''] + lines + [''] + if bad: + failed.append(name) + report.insert(1, 'Result: %s' % ('PASS' if not failed else 'needs a look: ' + ', '.join(failed))) + tmp = a.out + '.tmp' + with open(tmp, 'w', encoding='utf-8') as f: + f.write('\n'.join(report) + '\n') + os.replace(tmp, a.out) + print(report[1], '->', a.out) + sys.exit(1 if failed else 0) + + +if __name__ == '__main__': + main()