├── .github └── workflows │ ├── build-check.yml │ └── build-release.yml ├── .gitignore ├── ACID ├── LICENSE ├── README ├── acid_classic.htm └── acid_classic.sql ├── AUTHORS ├── COPYRIGHT.md ├── Full_DB ├── .gitignore └── ClassicDB_1_12_1_z2815.sql.gz ├── InstallFullDB.sh ├── LICENSE.md ├── README.md ├── Updates ├── 0000_precision_fix.sql ├── 4482_TDB-0250_i13920.sql ├── 4494_the_newest_update_brd_suckit.sql ├── 4495_TDB-0206_affect_modernization.sql ├── 4496_TDB-0231_spell_list_target_fix.sql ├── 4497_TDB-0229_anthion_harmon_gossip.sql ├── 4498_backport_errors.sql ├── 4499_TDB-0232_s.7131.sql ├── 4500_WDB-5126_c.3400.sql ├── 4501_q.1795.sql ├── 4502_VDB-20220616131654_world.sql ├── 4503_TDB-0238_the_challenge.sql ├── 4504_TDB-0239_bodley.sql ├── 4505_TDB-0240_geologist_larksbane.sql ├── 4506_TDB-0241_soul_ashes_of_the_banished.sql ├── 4507_TDB-0242_jeerings_spectres_essence.sql ├── 4508_TDB-0243_ogre_warbeads.sql ├── 4509_TDB-0244_bloodkelp.sql ├── 4510_TDB-0245_blackrock_bracer.sql ├── 4511_WDB-5124_c.727_13076.sql ├── 4512_WDB-5127_c.8404.sql ├── 4513_WDB-4735_Orgrimmar_waypoints.sql ├── 4514_WDB-5131_c.14270.sql ├── 4515_WDB-5132_i.10305,10306,10307,10308,10309,10310_loot_tables.sql ├── 4516_WDB-5133_q.8305.sql ├── 4517_WDB-5134_c.13018.sql ├── 4518_WDB-5136_q.1667.sql ├── 4519_WDB-5137_c.2520.sql ├── 4520_WDB-5141_c.507.sql ├── 4521_WDB-5145_c.15308.sql ├── 4522_WDB-4746_Barrens_KolkarPopulation.sql ├── 4522_WDB-5146_c.3273.sql ├── 4523_WDB-4740_c.4166.sql ├── 4524_WDB-5147_c.5797.sql ├── 4525_WDB-5148_c.12676.sql ├── 4526_WDB-5149_c.12903.sql ├── 4527_TDB-0257_VDB-20200408191947_world.sql ├── 4528_TDB-0259_c.785.sql ├── 4529_WDB-5150_c.14479.sql ├── 4530_WDB-5151_c.14471.sql ├── 4531_WDB-5154_c.2848.sql ├── 4532_WDB-5156_q.930.sql ├── 4533_TDB-0264_q.1526.sql ├── 4534_TDB-0265_c.4961.sql ├── 4535_TDB-0266_mangos_string_near.sql ├── 4536_TDB-0267_c.10698.sql ├── 4537_WDB-5167_speed.sql ├── 4538_TDB-0271_VDB-20231017014137_world.sql ├── 4539_TDB-0273_VDB-20231020080914_world.sql ├── 4540_TDB-0274_thrash_s.3391.sql ├── 4541_WDB-5173_c.16016.sql ├── 4542_WDB-5174_c.10820.sql ├── 4543_WDB-5182_c.3333.sql ├── 4544_WDB-5185_c.3492_3493.sql ├── 4545_WDB-5187_c.6807.sql ├── 4546_WDB-5188_c.2832.sql ├── 4547_WDB-5189_c.7406.sql ├── 4548_WDB-5190_c.2670.sql ├── 4549_WDB-5191_c.2846.sql ├── 4550_WDB-5192_c.2849.sql ├── 4551_WDB-5193_c.2849.sql ├── 4552_WDB-5194_c.2845.sql ├── 4553_WDB-5195_c.4624.sql ├── 4554_WDB-5196_c.10119.sql ├── 4555_WDB-5200_LakeEverstill_RedridgeMountains.sql ├── 4556_WDB-5201_LakeridgeHighway_RedridgeMountains.sql ├── 4557_WDB-5208_GENERIC_relays_spawntemplates.sql ├── 4558_WDB-5214_RendersValley_RedridgeMountains.sql ├── 4559_WDB-5197_BlacksmithingSupplies.sql ├── 4560_TDB-0291_npc_vendor_limited_stock.sql ├── 4561_TDB-0294_VDB-20231111000820_world.sql ├── 4562_TDB-0295_i.7912_world_loot.sql ├── 4563_TDB-0296_VDB-20231111010247_world.sql ├── 4564_TDB-0297_VDB-20231112194606_world.sql ├── 4565_TDB-0298_VDB-20231126224918_world.sql ├── 4566_TDB-0299_VDB-20231024223737_world.sql ├── 4567_TDB-0315_world_loot_maxcount.sql ├── 4568_WDB-5216_GalardellValley_RedridgeMountains.sql ├── 4569_WDB-5217_c.437_485.sql ├── 4570_WDB-5218_c.7044.sql ├── 4571_WDB-5219_c.7045.sql ├── 4572_WDB-5220_c.7046.sql ├── 4573_WDB-5221_c.9044.sql ├── 4573_WDB-5223_c.5833.sql ├── 4574_WDB-5224_FirewatchRidge_SearingGorge.sql ├── 4575_WDB-5225_SearingGorge_random.sql ├── 4576_WDB-5227_TheSlagPit_SearingGorge.sql ├── 4577_WDB-5228_c.15125.sql ├── 4578_WDB-5230_SkullsplitterClan_StranglethornVale.sql ├── 4579_WDB-5231_VentureCo.Camp_StranglethornVale.sql ├── 4580_WDB-5232_c.11803.sql ├── 4581_WDB-5233_c.14536.sql ├── 4582_TDB-0319_start_quest_items.sql ├── 4583_TDB-0323_10hwar_dynguid.sql ├── 4583_c17249_name.sql ├── 4584_kirinos_loot.sql ├── 4585_doan.sql ├── 4586_kirtonos_loot_2.sql ├── 4587_core_sync.sql ├── 4588_WDB-5234_c.11745_11747.sql ├── 4589_WDB-5236_c.3364.sql ├── 4590_WDB-5237_c.3366.sql ├── 4591_WDB-5238_c.3316.sql ├── 4592_WDB-5260_c.1448.sql ├── 4593_WDB-5261_existing_vendorlists.sql ├── 4594_WDB-5262_BlastedLands_Updates.sql ├── 4595_WDB-5267_SwampOfSorrows_Updates.sql ├── 4596_WDB-5268_Kalai_Ruins.sql ├── 4597_WDB-5271_RuinsOfZulKunda_StranglethornVale.sql ├── 4598_WDB-5274_LightsHopeChapel_EasternPlaguelands_Updates.sql ├── 4599_WDB-5275_c.6182.sql ├── 4600_WDB-5276_Deadmines_Westfall.sql ├── 4601_TDB-0329_VDB-20220826180318_world.sql ├── 4602_TDB-0330_VDB-20230725065632_world.sql ├── 4603_TDB-0331_VDB-20230729130435_world.sql ├── 4604_TDB-0332_VDB-20231024003010_world.sql ├── 4605_TDB-0322_Scholomance_Stratholme_Loot.sql ├── 4606_TDB-0341_classic_loot_cleanup.sql ├── 4607_world_loot_fixes.sql ├── 4608_TDB-0355_VDB-20210325011613_world.sql ├── 4609_TDB-0356_herbs_ores_world_loot.sql ├── 4610_TDB-0365_o.179922.sql ├── 4611_WDB-5278_c.4133.sql ├── 4612_TDB-0364_VDB-20230630192207_world.sql ├── 4613_spell_coefficient.sql ├── 4614_nono_graveyard.sql ├── 4615_hinterlands_ghost_mushroom.sql ├── 4616_loch_modan_tin_vein.sql ├── 4617_c.2949,2950,2951.sql ├── 4618_cls_vanilla.sql ├── 4619_WDB-0403_WDB-5139_q.8519.sql ├── 4620_z2823_01_mangos_displayid_probability.sql ├── 4621_z2824_01_mangos_model_unification.sql ├── 4622_fix_stuff.sql ├── 4623_cortellos_riddle.sql ├── 4624_ThePeoplesMilitia_equipment.sql ├── 4625_TDB-0387_quest_defias_brotherhood.sql ├── 4626_sadiujhfdasaasdrgas.sql ├── 4627_c.15339_scale.sql ├── 4628_i.20384_condition.sql ├── 4629_VDB-20210521130439_world.sql ├── 4630_detection.sql ├── 4631_VDB-20231126234757_world.sql ├── 4632_VDB-20231113041814_world.sql ├── 4633_av_boss_start_yell.sql ├── 4634_TDB-0370_13218_wrong_loot.sql ├── 4635_TDB-0385_raider_jhash.sql ├── 4636_TDB-0386_quest_missing_in_action.sql ├── 4637_TDB-0388_quest_protect_the_shipment.sql ├── 4638_TDB-0413_nonworldlootitems.sql ├── 4639_TDB-0415_loch_modan.sql ├── 4640_TDB-0410_WDB-5287_generic_formation_scripts.sql ├── 4641_TDB-0409_WDB-5279_c.6495.sql ├── 4642_TDB-0418_VDB-20220917141705_world.sql ├── 4643_TDB-0419_VDB-20201025081051_world.sql ├── 4644_TDB-0376_no_wounded_slowdown_population.sql ├── 4645_TDB-0420_VDB-20210515110157_world.sql ├── 4646_TDB-0423_spawngroup_formation_pathid.sql ├── 4647_TDB-0431_VDB-20220527092825_world.sql ├── 4648_TDB-0421_VDB-20220224185216_world.sql ├── 4649_TDB-0451_golboloar.sql ├── 4650_TDB-0452_VDB-20200522145227_world.sql ├── 4651_TDB-0453_VDB-20210311124530_world.sql ├── 4652_TDB-0454_VDB-20231126234028_world.sql ├── 4653_TDB-455_VDB-20231223190850_world.sql ├── 4654_TDB-0456_VDB-20240322193855_world.sql ├── 4655_TDB-0456_vile_familars.sql ├── 4656_TDB-0458_mountain_lion.sql ├── 4657_TDB-0463_salty_scorpid_venom.sql ├── 4658_TDB-0464_Detection.sql ├── 4659_TDB-0465_VDB-20210725153921_world.sql ├── 4660_TDB-0474_durotar_spell_lists.sql ├── 4661_av_vendors.sql ├── 4662_TDB-0482_VDB-20231121204641_world.sql ├── 4663_TDB-0484_VDB-20231110231336_world.sql ├── 4664_TDB-0485_VDB-20231110235622_world.sql ├── 4665_TDB-0486_VDB-20231111004702_world.sql ├── 4666_TDB-0487_VDB-20231111215040_world.sql ├── 4667_TDB-0488_VDB-20231111222109_world.sql ├── 4668_TDB-0489_VDB-20240620145249_world.sql ├── 4669_TDB-0490_VDB-20240620151038_world.sql ├── 4670_TDB-0491_VDB-20230324083740_world.sql ├── 4671_TDB-0499_VDB-20200925193812_world.sql ├── 4671_blasted_lands_stuff.sql ├── 4672_TDB-0499_diff.sql ├── 4672_dark_portal.sql ├── 4673_TDB-aura_diff.sql ├── 4674_TDB-0483_WDB-5280_RaceEvent_ShimmeringFlats.sql ├── 4675_TDB-0421_WDB-5298_stormwind_fixes.sql ├── 4676_WDB-5299_page_text.sql ├── 4677_VDB-20241118130644_world.sql ├── 4678_VDB-20240828201652_world.sql ├── 4679_VDB-20230114095027_world.sql ├── 4680_TDB-0502_TheWeepingCave.sql ├── 4681_TDB-0503_spell_8734.sql ├── 4682_TDB-0507_c.11484.sql ├── 4683_TDB-0508_green_hills_of_stranglethorn.sql ├── 4684_TDB-0516_VendorSlot.sql ├── 4685_MC_BRD_BRS.sql ├── 4686_gremnik_rizzlesprang.sql ├── 4687_MC_Scholomance_Dire_Maul_BRS_BRD.sql ├── 4688_TDB-0517_WDB-5325_spell_list.sql ├── 4689_TDB-0517_bfd_tp_fix.sql ├── 4689_TDB-0518_charm_immunity.sql ├── 4690_MC_BFD.sql ├── 4691_VDB-20241231045934_world.sql ├── 4692_MC_Gnomeregan.sql ├── 4693_TDB-0519_resistances_school_immunities.sql ├── 4694_TDB-0520_damageschool.sql ├── 4695_copper_vein_desolace.sql ├── 4696_MC_Scarlet_Monastery.sql ├── 4697_copper_vein_desolace_fix.sql ├── 4698_copper_vein_hillsbrad.sql ├── 4699_MC_Ashenvale_Extra.sql ├── 4700_copper_vein_wetlands.sql ├── 4701_MC_Uldaman.sql ├── 4702_TDB-0522_can_weild_loot.sql ├── 4703_TDB-0523_owner_loot.sql ├── 4704_TDB-0524_no_owner_threat.sql ├── 4705_TDB-0525_no_crushing_blows.sql ├── 4706_TDB-0526_static_flags.sql ├── 4707_MC_Random.sql ├── 4708_TDB-0530_defias_messenger_coward.sql ├── 4709_TDB-0531_caverndeep_looter_coward.sql ├── 4710_TDB-0533_CDB-2669_gameobject_template_updates.sql ├── 4711_TDB-0533_fozruk.sql ├── 4712_TDB-0534_general_rajaxx.sql ├── 4713_TDB-0541_cthun.sql ├── 4714_TDB-0542_quest_the_attack.sql ├── 4715_WDB-5307_c.3162.sql ├── 4716_MC_RFK_RFD.sql ├── 4717_MC_Random.sql ├── 4718_TDB-0547_silithid_swarmer.sql ├── 4719_TDB-0548_sunscale_scytheclaw.sql ├── 4720_TDB-0543_stonetalon_shared_spawn.sql ├── 4721_c.2655_aura_passive.sql ├── 4722_TDB-0549_uruson_waypoints.sql ├── 4723_TDB-0550_quest_gammerita_mon.sql ├── 4724_TDB-0551_pterrodax.sql ├── 4725_TDB-0552_freezing_ghoul.sql ├── 4726_TDB-0550_wandering_forest_walkers.sql ├── 4726_TDB-0551_old_grizzlegut.sql ├── 4727_TDB-0553_sharks.sql ├── 4728_TDB-0558_dalaran_wizard.sql ├── 4729_TDB-0556_takk_the_leaper.sql ├── 4730_TDB-0559_rethban_gauntlet.sql ├── 4731_TDB-0560_touch_of_zanzil.sql ├── 4732_TDB-0557_guid_range_fix.sql ├── 4733_TDB-0561_spawn_group_reguid.sql ├── 4734_TDB-0566_dberrors.sql ├── 4735_TDB-0562_sully_balloo_letter.sql ├── 4736_TDB-0563_a_noble_brew.sql ├── 4737_TDB-0565_scythe_of_elune.sql ├── 4738_TDB-0567_legend_of_stalvan.sql ├── 4739_TDB-0568_pearl-diving.sql ├── 4740_WDB-5474_q.5158.sql ├── 4741_WDB-5479_c.3110.sql ├── 4742_generic_scripts.sql ├── 4743_WDB-5483_c.3204.sql ├── 4744_WDB-5332_heeding_the_call_questfix.sql ├── 4745_WDB-3617_GossipCleanUp.sql ├── 9999_Final_Misc_Cleanup_Queries.sql └── Instances │ ├── 000_setup.sql │ ├── 030_alterac_valley.sql │ ├── 033_shadowfang_keep.sql │ ├── 034_stockades.sql │ ├── 036_deadmines.sql │ ├── 043_wailing_caverns.sql │ ├── 047_razorfen_kraul.sql │ ├── 048_blackfathom_deeps.sql │ ├── 070_uldaman.sql │ ├── 090_gnomeregan.sql │ ├── 109_sunken_temple.sql │ ├── 129_razorfen_downs.sql │ ├── 189_scarlet_monastery.sql │ ├── 209_zulfarrak.sql │ ├── 229_blackrock_spire.sql │ ├── 230_blackrock_depths.sql │ ├── 249_onyxias_lair.sql │ ├── 289_scholomance.sql │ ├── 309_zulgurub.sql │ ├── 329_stratholme.sql │ ├── 349_maraudon.sql │ ├── 389_ragefire_chasm.sql │ ├── 409_molten_core.sql │ ├── 429_dire_maul.sql │ ├── 449_450_Alliance_Horde_PVP_Barracks.sql │ ├── 469_blackwing_lair.sql │ ├── 509_ruins_of_ahnqiraj.sql │ ├── 529_arathi_basin.sql │ ├── 531_temple_of_ahnqiraj.sql │ ├── 533_naxxramas.sql │ └── README.txt ├── backups └── .gitignore ├── dev └── READ ME ├── locales ├── BroadcastTextLocales.sql ├── German │ ├── locales_creature_german.sql │ ├── locales_gameobject_german.sql │ ├── locales_item_german.sql │ ├── locales_page_text_german.sql │ └── locales_quest_german.sql └── OtherLocales_cmangos_fixes.sql └── utilities ├── cmangos_custom.sql ├── world_cleanup.sql └── world_optimize.sql /.github/workflows/build-check.yml: -------------------------------------------------------------------------------- 1 | name: Build Check 2 | 3 | on: 4 | push: 5 | branches: 6 | - "*" 7 | 8 | env: 9 | MYSQL_BIN_NAME: "mysql-8.0.41-winx64" 10 | MYSQL_BASE_PREBUILD_ADR: "https://cdn.mysql.com/Downloads/MySQL-8.0/" 11 | MYSQL_BIN_EXT: ".zip" 12 | MYSQL_FINAL_SERVER_FOLDER: "mysql-server" 13 | MYSQL_DEFAULT_ROOT: "cmangos" 14 | CACHED_FOLDER: "${{github.workspace}}\\CachedFolder" 15 | WORK_FOLDER: "${{github.workspace}}\\WorkFolder" 16 | 17 | jobs: 18 | build-check: 19 | runs-on: ubuntu-24.04 20 | permissions: 21 | contents: read 22 | 23 | steps: 24 | - name: Setup Environment Variables 25 | run: | 26 | projectNames="${GITHUB_REPOSITORY#*/}" 27 | expansion="${projectNames%-*}" 28 | echo "EXPANSION_NAME=${expansion}" >> $GITHUB_ENV 29 | echo "CORE_REPO="cmangos/mangos-${expansion} >> $GITHUB_ENV 30 | echo "CORE_FOLDER="${{github.workspace}}/mangos-${expansion} >> $GITHUB_ENV 31 | echo "DB_FOLDER="${{github.workspace}}/${expansion}-db >> $GITHUB_ENV 32 | 33 | - name: Checkout DB 34 | uses: actions/checkout@v4 35 | with: 36 | path: ${{env.DB_FOLDER}} 37 | 38 | - name: Checkout CORE 39 | uses: actions/checkout@v4 40 | with: 41 | repository: ${{env.CORE_REPO}} 42 | path: ${{env.CORE_FOLDER}} 43 | 44 | - name: Build ${{env.EXPANSION_NAME}}-db 45 | run: | 46 | sudo /etc/init.d/mysql start 47 | cd ${{env.DB_FOLDER}} 48 | ./InstallFullDB.sh -InstallAll root root DeleteAll 49 | ./InstallFullDB.sh -Backup full 50 | tar -czvf "${{github.workspace}}/${{env.EXPANSION_NAME}}-all-backups.tar.gz" -C backups --exclude=".gitignore" . 51 | sudo /etc/init.d/mysql stop 52 | 53 | notify-failure: 54 | name: Send Notification to Discord on Failure 55 | runs-on: ubuntu-latest 56 | permissions: 57 | contents: none 58 | if: failure() 59 | 60 | steps: 61 | - name: Set Environmental Variables 62 | run: | 63 | echo "GIT_BRANCH=${GITHUB_REF#refs/heads/}" >> $GITHUB_ENV 64 | echo "GIT_SHORT_SHA=`echo ${GITHUB_SHA} | cut -c1-8`" >> $GITHUB_ENV 65 | projectNames="${GITHUB_REPOSITORY#*/}" 66 | expansion="${projectNames%-*}" 67 | echo "EXPANSION_NAME=${expansion}" >> $GITHUB_ENV 68 | 69 | - name: Notify 70 | uses: rjstone/discord-webhook-notify@v1.0.4 71 | with: 72 | severity: error 73 | description: | 74 | **${{env.EXPANSION_NAME}}-db Build Failed** 75 | details: | 76 | - **Branch:** ${{env.GIT_BRANCH}} 77 | - **Pusher:** ${{github.event.pusher.name}} 78 | - **Author:** ${{github.event.head_commit.author.name}} 79 | - **Commit:** [${{github.repository}}/${{env.GIT_SHORT_SHA}}](${{github.server_url}}/${{ github.repository }}/commit/${{github.sha}}) 80 | - **Build Log:** [actions/runs/${{github.run_id}}](${{github.server_url}}/${{github.repository}}/actions/runs/${{github.run_id}}) 81 | footer: CMaNGOS Developers Notified! 82 | webhookUrl: ${{ secrets.DISCORD_WEBHOOK }} 83 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # If any files generated by using this repository should be ignored, please 2 | # describe and list them here. 3 | 4 | # Placeholder files for directories needed to be inside git but empty 5 | !*.gitkeep 6 | 7 | # JetBrains - project settings 8 | /.idea/ 9 | 10 | # Eclipse - project settings 11 | /.project 12 | /.settings 13 | /.buildpath 14 | /.externalToolBuilders 15 | 16 | # Numerous always-ignore extensions 17 | *.diff 18 | *.err 19 | *.orig 20 | *.log 21 | *.rej 22 | *.swo 23 | *.swp 24 | *.vi 25 | *~ 26 | *.sass-cache 27 | /dev/*.sql 28 | /dev/*/ 29 | 30 | # OS or Editor folders 31 | .DS_Store 32 | .cache 33 | .project 34 | .settings 35 | .tmproj 36 | nbproject 37 | Thumbs.db 38 | 39 | # Configuration files to be customized 40 | # 41 | 42 | # Cache and log files 43 | # 44 | InstallFullDB.config -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- 1 | This file contains authorship information related to the Classic DB Project 2 | 3 | The code of classic-database is shipped as it is without any form of warranty, 4 | and - except for third party libraries - licensed under the GPL v3.0, 5 | which you can read from the file "LICENSE.mdown" 6 | 7 | * The authors are assigned to by git commit authorship information, 8 | listed within the git commit messages, or if forgotten before mentioned in the github comments related to a commit. 9 | 10 | * The most recent history can be checked at https://github.com/cmangos/classic-db 11 | Previous state can be checked at https://github.com/classicdb/database 12 | 13 | * Initially the code for this project was written by Zero Project team and reworked by the MaNGOS Foundation team. 14 | 15 | The third party libraries have their own way of addressing authorship, and the authorship of commits importing/ updating 16 | a third party library reflects who did the importing instead of who wrote the code within the commit. -------------------------------------------------------------------------------- /COPYRIGHT.md: -------------------------------------------------------------------------------- 1 | Copyright 2 | ========= 3 | 4 | Definition of copyrighted materials 5 | ----------------------------------- 6 | 7 | World of Warcraft content and materials are trademarks and copyrights of Blizzard or its licensors. All rights reserved. 8 | 9 | All content and materials protected by copyright are here after called Copyrighted Material. 10 | 11 | Intended use of copyrighted materials 12 | ------------------------------------- 13 | 14 | CMaNGOS project intends to make a Fair Use of the Copyrighted Material as: 15 | - a non-commercial demo content for its source code 16 | - a testimony of the Copyrighted Material as it previously was and that is no longer available to public in its current state 17 | 18 | All Copyrighted Material contained within the source code cannot be modified, altered, sold, used for commercial purpose or in any way that would infringe copy rights without the authorisation of Blizzard Inc. 19 | 20 | Limitations and exceptions to copyright laws and the fair use doctrine can vary depending on national laws. 21 | 22 | About CMaNGOS 23 | ------------- 24 | 25 | CMaNGOS is an educational, non-commercial and nonprofit project. 26 | 27 | CMaNGOS project is not affiliated with Blizzard or its licensors. 28 | -------------------------------------------------------------------------------- /Full_DB/.gitignore: -------------------------------------------------------------------------------- 1 | # If any files generated by using this repository should be ignored, please 2 | # describe and list them here. 3 | 4 | # Placeholder files for directories needed to be inside git but empty 5 | !*.gitkeep 6 | 7 | # JetBrains - project settings 8 | /.idea/ 9 | 10 | # Eclipse - project settings 11 | /.project 12 | /.settings 13 | /.buildpath 14 | /.externalToolBuilders 15 | 16 | # Numerous always-ignore extensions 17 | *.diff 18 | *.err 19 | *.orig 20 | *.log 21 | *.rej 22 | *.swo 23 | *.swp 24 | *.vi 25 | *~ 26 | *.sass-cache 27 | /dev/*.sql 28 | /dev/*/ 29 | 30 | # OS or Editor folders 31 | .DS_Store 32 | .cache 33 | .project 34 | .settings 35 | .tmproj 36 | nbproject 37 | Thumbs.db 38 | 39 | # Configuration files to be customized 40 | # 41 | 42 | # Cache and log files 43 | # 44 | InstallFullDB.config 45 | 46 | # sql files so they dev can continue to dev in plain text files 47 | *.sql 48 | -------------------------------------------------------------------------------- /Full_DB/ClassicDB_1_12_1_z2815.sql.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cmangos/classic-db/94d2b6b8770185e561532db9e5c288af760c6f58/Full_DB/ClassicDB_1_12_1_z2815.sql.gz -------------------------------------------------------------------------------- /Updates/0000_precision_fix.sql: -------------------------------------------------------------------------------- 1 | -- so it affects all in this release, first file 2 | ALTER TABLE gameobject CHANGE position_x position_x DECIMAL(40,20) NOT NULL DEFAULT 0; 3 | ALTER TABLE gameobject CHANGE position_y position_y DECIMAL(40,20) NOT NULL DEFAULT 0; 4 | ALTER TABLE gameobject CHANGE position_z position_z DECIMAL(40,20) NOT NULL DEFAULT 0; 5 | ALTER TABLE gameobject CHANGE orientation orientation DECIMAL(40,20) NOT NULL DEFAULT 0; 6 | ALTER TABLE gameobject CHANGE rotation0 rotation0 DECIMAL(40,20) NOT NULL DEFAULT 0; 7 | ALTER TABLE gameobject CHANGE rotation1 rotation1 DECIMAL(40,20) NOT NULL DEFAULT 0; 8 | ALTER TABLE gameobject CHANGE rotation2 rotation2 DECIMAL(40,20) NOT NULL DEFAULT 0; 9 | ALTER TABLE gameobject CHANGE rotation3 rotation3 DECIMAL(40,20) NOT NULL DEFAULT 0; 10 | 11 | ALTER TABLE creature CHANGE position_x position_x DECIMAL(40,20) NOT NULL DEFAULT 0; 12 | ALTER TABLE creature CHANGE position_y position_y DECIMAL(40,20) NOT NULL DEFAULT 0; 13 | ALTER TABLE creature CHANGE position_z position_z DECIMAL(40,20) NOT NULL DEFAULT 0; 14 | ALTER TABLE creature CHANGE orientation orientation DECIMAL(40,20) NOT NULL DEFAULT 0; 15 | 16 | 17 | -------------------------------------------------------------------------------- /Updates/4482_TDB-0250_i13920.sql: -------------------------------------------------------------------------------- 1 | -- https://www.wowhead.com/quest=5582/healthy-dragon-scale#comments:id=6196 - 12 looted 22 spawns 2 | -- "These are an awesome bonus for rep at Revered. Last night, I picked up 5 in one run (no one else had completed the quest). That's the equivalent of 5 of the boss scourgestones!" 3 | -- 5 looted 22 spawn = 22,7% ~ 20% - on 2006/04/28 (Patch 1.9.4) 4 | -- https://www.wowhead.com/classic/item=13920/healthy-dragon-scale#dropped-by;comments:id=3171755 5 | UPDATE `creature_loot_template` SET `ChanceOrQuestChance` = 20 WHERE `item` = 13920; -- classic 6 chance 6 | 7 | -------------------------------------------------------------------------------- /Updates/4494_the_newest_update_brd_suckit.sql: -------------------------------------------------------------------------------- 1 | UPDATE creature_template SET UnitFlags=0 WHERE entry IN(16059,16058,16051,16053,16049,16050,16055,16054,16095); 2 | 3 | 4 | -------------------------------------------------------------------------------- /Updates/4495_TDB-0206_affect_modernization.sql: -------------------------------------------------------------------------------- 1 | -- healing way 2 | DELETE FROM spell_affect WHERE entry=29203; 3 | INSERT INTO spell_affect(entry, effectId, SpellFamilyMask) VALUES 4 | (29203,0,0x000000000040); 5 | 6 | -- blessing of light 7 | DELETE FROM spell_affect WHERE entry=19977; 8 | INSERT INTO spell_affect(entry, effectId, SpellFamilyMask) VALUES 9 | (19977,0,0x0000000080000000), 10 | (19977,1,0x0000000040000000); 11 | 12 | -------------------------------------------------------------------------------- /Updates/4496_TDB-0231_spell_list_target_fix.sql: -------------------------------------------------------------------------------- 1 | -- https://github.com/cmangos/tbc-db/commit/624b3757677024e50c85a6cf69b06d31513cb49b 2 | -- New creature_spell_target 3 | DELETE FROM creature_spell_targeting WHERE Id IN (106, 107, 206, 207); 4 | INSERT INTO `creature_spell_targeting` (`Id`, `Type`, `Param1`, `Param2`, `Param3`, `UnitCondition`, `Comments`) VALUES 5 | -- taken from cmangos-wotlk 6 | ('106', '1', '0', '1', '6', '-1', 'Attack - random player non tank mana user'), 7 | -- new one - including tank 8 | ('107', '1', '0', '0', '6', '-1', 'Attack - random player mana user'), 9 | ('206', '2', '75', '1', '1', '-1', 'Support - missing 75% including self'), 10 | ('207', '2', '75', '1', '0', '-1', 'Support - missing 75% excluding self'); 11 | 12 | -- Fix Attack - random player mana user, only used SELECT_FLAG_PLAYER 13 | -- Attack - random player non tank mana user 14 | -- introduced in https://github.com/cmangos/tbc-db/commit/cf42c2c8c5bea9f2f505077a235638ffd2f83582 15 | UPDATE creature_spell_targeting SET Param3 = 6 WHERE Id = 105; 16 | UPDATE creature_spell_targeting SET Param3 = 6 WHERE Id = 106; 17 | 18 | -- Reinsert Attack - random player not in melee 19 | -- Deletet in https://github.com/cmangos/tbc-db/commit/624b3757677024e50c85a6cf69b06d31513cb49b 20 | DELETE FROM creature_spell_targeting WHERE Id IN(107); 21 | INSERT INTO creature_spell_targeting(Id, Type, Param1, Param2, Param3, UnitCondition, Comments) VALUES 22 | ('107', '1', '0', '0', '130', '-1', 'Attack - random player not in melee'); 23 | 24 | 25 | -- Reinser Missing 25% including self and Missing 25% excluding self 26 | -- Deletet in https://github.com/cmangos/tbc-db/commit/624b3757677024e50c85a6cf69b06d31513cb49b 27 | DELETE FROM `creature_spell_targeting` WHERE `Id` IN (206,207,208,209); 28 | INSERT INTO `creature_spell_targeting` (`Id`, `Type`, `Param1`, `Param2`, `Param3`, `UnitCondition`, `Comments`) VALUES 29 | (206, 2, 25, 1, 1, -1, 'Support - Missing 25% including self'), 30 | (207, 2, 25, 1, 0, -1, 'Support - Missing 25% excluding self'), 31 | (208, 2, 75, 1, 1, -1, 'Support - missing 75% including self'), 32 | (209, 2, 75, 1, 0, -1, 'Support - missing 75% excluding self'); 33 | 34 | -- Now also fix spell_list that used the wrong spell_list_target 35 | -- Baroness Dorothea Millstipe - Mana Burn - Random Mana User 36 | UPDATE creature_spell_list SET TargetId = '105' WHERE Id = '1987501' AND Position = '0' AND SpellId = '29405'; 37 | 38 | -- Lady Catriona Von'Indi - Greater Heal - missing 75% including self 39 | UPDATE creature_spell_list SET TargetId = '208' WHERE Id = '1987201' AND Position = '1' AND SpellId = '29564'; 40 | 41 | -- more missing. 42 | DELETE FROM creature_spell_targeting WHERE Id IN (105,111); 43 | INSERT INTO `creature_spell_targeting` (`Id`, `Type`, `Param1`, `Param2`, `Param3`, `UnitCondition`, `Comments`) VALUES 44 | (105, 1, 0, 0, 6, -1, 'Attack - random player mana user'), 45 | (111, 1, 4, 0, 3, -1, 'Attack - ATTACKING_TARGET_FARTHEST_AWAY - SELECT_FLAG_IN_LOS & SELECT_FLAG_PLAYER'); 46 | 47 | -------------------------------------------------------------------------------- /Updates/4497_TDB-0229_anthion_harmon_gossip.sql: -------------------------------------------------------------------------------- 1 | UPDATE creature_template_addon SET auras='27614 27978' WHERE entry=16016; 2 | UPDATE creature_template SET GossipMenuId=7082, `NpcFlags` = `NpcFlags`|1 WHERE entry IN(16016); 3 | DELETE FROM npc_text_broadcast_text WHERE Id IN(8334,8346); 4 | INSERT INTO npc_text_broadcast_text(Id,Prob0,BroadcastTextId0) VALUES 5 | (8334,1,11905), 6 | (8346,1,11933); 7 | DELETE FROM conditions WHERE condition_entry=8000 AND type=8 AND value1=8946; 8 | INSERT INTO conditions(condition_entry,type,value1) VALUES 9 | (8000,8,8946); 10 | DELETE FROM gossip_menu WHERE entry IN(7082); 11 | INSERT INTO gossip_menu(entry, text_id, script_id, condition_id) VALUES 12 | (7082, 8334, 0, 0), 13 | (7082, 8346, 0, 8000); -- if quest 8946 completed 14 | 15 | -------------------------------------------------------------------------------- /Updates/4499_TDB-0232_s.7131.sql: -------------------------------------------------------------------------------- 1 | DELETE FROM `spell_proc_event` WHERE `entry` = 7131; -- Illusion Passive 2 | INSERT INTO `spell_proc_event` (`entry`, `procEx`) VALUES (7131, 65536); -- classic has some corrupted data for it. 3 | 4 | UPDATE `creature_template` SET `MinLootGold` = 0, `MaxLootGold` = 0 WHERE `entry` IN (2638,4785,5097,6493,6932,11027,11263); 5 | UPDATE `creature_template` SET `SpeedWalk` = 1 WHERE `entry` = 4785; 6 | UPDATE `creature_template` SET `MeleeBaseAttackTime` = 2000 WHERE `entry` = 5097; 7 | UPDATE `creature_template` SET `SpeedWalk` = 0.666668, `ResistanceFire` = 0, `ResistanceNature` = 0, `ResistanceFrost` = 0, `ResistanceShadow` = 0, `ResistanceArcane` = 0 WHERE `entry` = 6932; 8 | UPDATE `creature_template` SET `SpeedWalk` = 1 WHERE `entry` = 11027; 9 | UPDATE `creature_template` SET `SpeedWalk` = (2.5 / 2.25) WHERE `entry` = 11263; 10 | UPDATE `creature_template` SET `MechanicImmuneMask` = `MechanicImmuneMask`|8389136 WHERE `entry` IN (4785,6932); 11 | 12 | -------------------------------------------------------------------------------- /Updates/4500_WDB-5126_c.3400.sql: -------------------------------------------------------------------------------- 1 | -- Xen'to 3400 2 | -- Vendor list corrected 3 | -- until 2.4.3 4 | UPDATE npc_vendor SET Slot = 1 WHERE entry = 3400 AND item = 159; -- Refreshing Spring Water 5 | UPDATE npc_vendor SET Slot = 2 WHERE entry = 3400 AND item = 30817; -- Simple Flour - doesnt exist in classic but doesnt matter 6 | UPDATE npc_vendor SET Slot = 3 WHERE entry = 3400 AND item = 2678; -- Mild Spices 7 | UPDATE npc_vendor SET Slot = 4 WHERE entry = 3400 AND item = 2692; -- Hot Spices 8 | UPDATE npc_vendor SET Slot = 5 WHERE entry = 3400 AND item = 3713; -- Soothing Spices 9 | UPDATE npc_vendor SET Slot = 6 WHERE entry = 3400 AND item = 21099; -- Recipe: Smoked Sagefish 10 | UPDATE npc_vendor SET Slot = 7 WHERE entry = 3400 AND item = 21219; -- Recipe: Sagefish Delight 11 | 12 | -------------------------------------------------------------------------------- /Updates/4501_q.1795.sql: -------------------------------------------------------------------------------- 1 | -- Fix q.1795 - The Binding 2 | -- Vanilla ONLY! Flags have changed in TBC+ 3 | -- Old value was 51 which is correct in >= TBC. 4 | -- 32 is Spirit healer in Vanilla which causes Strahad Farsan to become un-interactable and disappear when walking away from him. 5 | -- 16 is Trainer but no data shows that he should be a trainer in Vanilla, so we remove both to get a value of 3. 6 | UPDATE `dbscripts_on_relay` SET `datalong`='3' WHERE `id`=17950 AND `delay`=13000 AND `command`=29; 7 | 8 | -- Full Removal/Insert for historical preservation 9 | -- DELETE FROM `dbscripts_on_relay` WHERE `id`=17950 AND `delay`=13000 AND `command`=29; 10 | -- INSERT INTO `dbscripts_on_relay` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `buddy_entry`, `search_radius`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `datafloat`, `x`, `y`, `z`, `o`, `speed`, `condition_id`, `comments`) VALUES 11 | -- (17950, 13000, 0, 29, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Binding: Strahad Farsan - Add Npc Flags'); 12 | -------------------------------------------------------------------------------- /Updates/4502_VDB-20220616131654_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/8b921a2c69e4da00a284d07181a981267a0543c3 3 | UPDATE `creature_template` SET `MinLevel` = 30 WHERE `entry`= 3180; -- Dark Iron Entrepreneur 4 | 5 | -- End of migration. 6 | 7 | -------------------------------------------------------------------------------- /Updates/4505_TDB-0240_geologist_larksbane.sql: -------------------------------------------------------------------------------- 1 | DELETE FROM npc_text_broadcast_text WHERE Id IN(7748); 2 | INSERT INTO npc_text_broadcast_text(Id,Prob0,BroadcastTextId0) VALUES 3 | (7748,1,10689); 4 | DELETE FROM gossip_menu WHERE entry IN(6532) AND text_id=7748; 5 | INSERT INTO gossip_menu(entry, text_id, script_id, condition_id) VALUES 6 | (6532,7748,0,8063); 7 | DELETE FROM conditions WHERE condition_entry IN(8063) AND type=9; 8 | INSERT INTO conditions(condition_entry, type, value1, value2, value3, value4, flags, comments) VALUES 9 | ('8063', '9', '8285', '0', '0', '0', '0', 'Quest ID 8285 Taken'); -- the deserter 10 | 11 | -------------------------------------------------------------------------------- /Updates/4506_TDB-0241_soul_ashes_of_the_banished.sql: -------------------------------------------------------------------------------- 1 | DELETE FROM creature_loot_template WHERE item IN(22229); 2 | INSERT INTO creature_loot_template(entry, item, ChanceOrQuestChance, groupid, mincountOrRef, maxcount, condition_id, comments) VALUES 3 | ('7071', '22229', '-100', '0', '1', '1', '0', 'Soul Ashes of the Banished'), 4 | ('7072', '22229', '-100', '0', '1', '1', '0', 'Soul Ashes of the Banished'), 5 | ('7069', '22229', '-100', '0', '1', '1', '0', 'Soul Ashes of the Banished'), 6 | ('7068', '22229', '-100', '0', '1', '1', '0', 'Soul Ashes of the Banished'), 7 | ('7075', '22229', '-100', '0', '1', '1', '0', 'Soul Ashes of the Banished'); 8 | 9 | 10 | -------------------------------------------------------------------------------- /Updates/4507_TDB-0242_jeerings_spectres_essence.sql: -------------------------------------------------------------------------------- 1 | DELETE FROM creature_loot_template WHERE item IN(22224); 2 | INSERT INTO creature_loot_template(entry, item, ChanceOrQuestChance, groupid, mincountOrRef, maxcount, condition_id, comments) VALUES 3 | ('14690', '22224', '-10', '0', '1', '1', '0', 'Jeering Spectre''s Essence'), 4 | ('11474', '22224', '-10', '0', '1', '1', '0', 'Jeering Spectre''s Essence'), 5 | ('11473', '22224', '-1', '0', '1', '1', '0', 'Jeering Spectre''s Essence'), 6 | ('11472', '22224', '-1', '0', '1', '1', '0', 'Jeering Spectre''s Essence'), 7 | ('11475', '22224', '-1', '0', '1', '1', '0', 'Jeering Spectre''s Essence'), 8 | ('11471', '22224', '-1', '0', '1', '1', '0', 'Jeering Spectre''s Essence'), 9 | ('11470', '22224', '-1', '0', '1', '1', '0', 'Jeering Spectre''s Essence'), 10 | ('11469', '22224', '-1', '0', '1', '1', '0', 'Jeering Spectre''s Essence'); 11 | 12 | -- Table 'creature_loot_template' entry 11474 isn't creature entry and not referenced from loot, and then useless. 13 | UPDATE `creature_template` SET `LootId` = 11474 WHERE `entry` = 11474; 14 | 15 | -------------------------------------------------------------------------------- /Updates/4508_TDB-0243_ogre_warbeads.sql: -------------------------------------------------------------------------------- 1 | DELETE FROM creature_loot_template WHERE entry IN(9219,11501) AND item IN(21982); 2 | -- king gordok and butcher rare 3 | 4 | -------------------------------------------------------------------------------- /Updates/4509_TDB-0244_bloodkelp.sql: -------------------------------------------------------------------------------- 1 | DELETE FROM creature_loot_template WHERE item IN(22094); 2 | INSERT INTO creature_loot_template(entry, item, ChanceOrQuestChance, groupid, mincountOrRef, maxcount, condition_id, comments) VALUES 3 | ('4368', '22094', '-20', '0', '1', '2', '0', 'Bloodkelp'), 4 | ('16072', '22094', '-20', '0', '1', '2', '0', 'Bloodkelp'), 5 | ('4366', '22094', '-20', '0', '1', '2', '0', 'Bloodkelp'), 6 | ('4371', '22094', '-15', '0', '1', '2', '0', 'Bloodkelp'), 7 | ('4370', '22094', '-20', '0', '1', '2', '0', 'Bloodkelp'), 8 | ('4364', '22094', '-20', '0', '1', '2', '0', 'Bloodkelp'); 9 | 10 | -------------------------------------------------------------------------------- /Updates/4510_TDB-0245_blackrock_bracer.sql: -------------------------------------------------------------------------------- 1 | UPDATE creature_loot_template SET ChanceOrQuestChance=-5 WHERE item IN(22138); 2 | 3 | 4 | -------------------------------------------------------------------------------- /Updates/4513_WDB-4735_Orgrimmar_waypoints.sql: -------------------------------------------------------------------------------- 1 | -- Orgrimmar 2 | -- some of waypoints around Orgrimmar were partly missing or wrong (custom made) - corrected 3 | 4 | -- Orgrimmar Grunt 3296 5 | -- Waypoints 6 | UPDATE creature SET position_x = 1613.801, position_y = -4267.5454, position_z = 48.003452, spawndist = 0, MovementType = 4 WHERE guid IN (10347); -- linear 7 | DELETE FROM creature_movement WHERE id = 10347; 8 | INSERT INTO creature_movement (id, point, positionx, positiony, positionz, orientation, waittime, scriptid) VALUES 9 | -- 10347 10 | (10347,1 ,1613.801,-4267.5454,48.003452,100,2000,0), 11 | (10347,2 ,1596.0728,-4234.4272,44.891537,100,0,0), 12 | (10347,3 ,1587.0586,-4220.0317,44.29048 ,100,0,0), 13 | (10347,4 ,1577.6256,-4189.7925,40.260303,100,0,0), 14 | (10347,5 ,1582.6729,-4153.4985,34.418823,100,0,0), 15 | (10347,6 ,1603.5027,-4122.1445,29.71948 ,100,0,0), 16 | (10347,7 ,1644.1611,-4102.5767,31.899158,100,0,0), 17 | (10347,8 ,1678.6805,-4091.7024,36.517544,100,0,0), 18 | (10347,9 ,1710.8538,-4083.9458,40.845898,100,0,0), 19 | (10347,10,1730.8654,-4068.8755,44.924942,100,0,0), 20 | (10347,11,1742.9718,-4045.4402,44.3708 ,100,0,0), 21 | (10347,12,1744.7188,-4020.1245,46.121582,100,0,0), 22 | (10347,13,1739.5631,-3992.6814,46.86296 ,100,0,0), 23 | (10347,14,1724.3971,-3959.898,48.99671 ,100,0,0), 24 | (10347,15,1708.0739,-3932.6887,50.65249,100,2000,0); 25 | 26 | -------------------------------------------------------------------------------- /Updates/4514_WDB-5131_c.14270.sql: -------------------------------------------------------------------------------- 1 | -- Squiddic 14270 2 | -- Duplicates Removed - TBC/Classic - diff guids PLS correct 3 | -- 1 spawn left - guid = 10169 4 | DELETE FROM creature_addon WHERE guid IN (SELECT guid FROM creature where id = 14270 AND guid != 10169); 5 | DELETE FROM creature_movement WHERE id IN (SELECT guid FROM creature where id = 14270 AND guid != 10169); 6 | DELETE FROM game_event_creature WHERE guid IN (SELECT guid FROM creature where id = 14270 AND guid != 10169); 7 | DELETE FROM game_event_creature_data WHERE guid IN (SELECT guid FROM creature where id = 14270 AND guid != 10169); 8 | DELETE FROM creature_battleground WHERE guid IN (SELECT guid FROM creature where id = 14270 AND guid != 10169); 9 | DELETE FROM creature_linking WHERE guid IN (SELECT guid FROM creature where id = 14270 AND guid != 10169) 10 | OR master_guid IN (SELECT guid FROM creature where id = 14270 AND guid != 10169); 11 | DELETE FROM creature WHERE id = 14270 AND guid != 10169; 12 | -- Removed from pools 13 | DELETE FROM pool_creature_template WHERE id = 14270; -- 1095 1 Squiddic (14270) 14 | DELETE FROM pool_template WHERE entry = 1095; 15 | -- wps 16 | UPDATE creature SET position_x = -9519.936, position_y = -2576.626, position_z = 51.65629, spawndist = 0, MovementType = 2 WHERE id = 14270; 17 | UPDATE creature_template SET MovementType = 2 WHERE Entry = 14270; 18 | DELETE FROM creature_movement WHERE id IN (10169); 19 | DELETE FROM creature_movement_template WHERE entry = 14270; 20 | INSERT INTO creature_movement_template (Entry, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId) VALUES 21 | (14270,1 ,-9519.936,-2576.626,51.65629,100,0,0), 22 | (14270,2 ,-9552.533,-2579.19,53.43765,100,0,0), 23 | (14270,3 ,-9550.569,-2611.4473,53.784504,100,0,0), 24 | (14270,4 ,-9551.546,-2648.616,52.78072,100,0,0), 25 | (14270,5 ,-9549.171,-2680.0127,52.446655,100,0,0), 26 | (14270,6 ,-9546.93,-2714.0422,52.00598,100,0,0), 27 | (14270,7 ,-9522.62,-2739.667,46.962234,100,0,0), 28 | (14270,8 ,-9488.057,-2750.3303,47.687325,100,0,0), 29 | (14270,9 ,-9447.107,-2745.761,43.969578,100,0,0), 30 | (14270,10,-9420.145,-2716.4578,45.219208,100,0,0), 31 | (14270,11,-9404.2705,-2685.8096,51.52495,100,0,0), 32 | (14270,12,-9386.397,-2674.8538,53.73822,100,0,0), 33 | (14270,13,-9381.029,-2644.0718,45.08824,100,0,0), 34 | (14270,14,-9350.273,-2616.7996,29.851065,100,0,0), 35 | (14270,15,-9344.348,-2585.2432,23.476347,100,0,0), 36 | (14270,16,-9339.8,-2547.5325,16.689884,100,0,0), 37 | (14270,17,-9321.223,-2519.3645,21.85187,100,0,0), 38 | (14270,18,-9319.624,-2479.8213,38.13477,100,0,0), 39 | (14270,19,-9332.45,-2452.6458,46.595295,100,0,0), 40 | (14270,20,-9347.441,-2430.7454,42.506027,100,0,0), 41 | (14270,21,-9371.673,-2410.3157,36.52871,100,0,0), 42 | (14270,22,-9412.264,-2411.139,51.03227,100,0,0), 43 | (14270,23,-9444.449,-2412.266,53.813065,100,0,0), 44 | (14270,24,-9479.387,-2421.909,53.740257,100,0,0), 45 | (14270,25,-9515.257,-2450.3674,47.931736,100,0,0), 46 | (14270,26,-9520.9375,-2486.408,39.263382,100,0,0), 47 | (14270,27,-9513.316,-2513.1453,45.109367,100,0,0), 48 | (14270,28,-9495.657,-2545.3882,50.606506,100,0,0); 49 | 50 | -------------------------------------------------------------------------------- /Updates/4515_WDB-5132_i.10305,10306,10307,10308,10309,10310_loot_tables.sql: -------------------------------------------------------------------------------- 1 | -- From Discord: "Anyone know if https://www.wowhead.com/wotlk/item=10310/scroll-of-strength-iv is normal to drop sometimes from a defias miner or evoker in deadmines?" 2 | -- 10305,10306,10307,10308,10309,10310 - Improve Loot Tables for 1138,1729,1849,6372 3 | DELETE FROM `creature_loot_template` WHERE `item` = 2770 AND `entry` NOT IN (2976,2978,808,475,824,1727,2989,40,327,624,1236,4113,5849,2269,598,4416,4116,4846,1094,4844,4849,3578,1426,2450,674,623,14427,1167,1424,1393,3586); -- only "Digger" npcs if any. 4 | DELETE FROM `creature_loot_template` WHERE `item` = 2771 AND `entry` NOT IN (2976,2978,808,475,824,1727,2989,40,327,624,1236,4113,5849,2269,598,4416,4116,4846,1094,4844,4849,3578,1426,2450,674,623,14427,1167,1424,1393,3586); 5 | DELETE FROM `creature_loot_template` WHERE `item` = 2835 AND `entry` NOT IN (2976,2978,808,475,824,1727,2989,40,327,624,1236,4113,5849,2269,598,4416,4116,4846,1094,4844,4849,3578,1426,2450,674,623,14427,1167,1424,1393,3586); 6 | DELETE FROM `creature_loot_template` WHERE `item` = 2775; -- seemingly none. 7 | DELETE FROM `creature_loot_template` WHERE `item` = 50603 AND `entry` IN ( -- NPC LOOT (White World Drop) - (Scrolls IV) - (NPC Levels 55-62) 8 | 1729, -- https://www.wowhead.com/wotlk/npc=1729/defias-evoker - Level: 17 - 18 9 | 1849 -- (1523, 1849, 21, 0, 38, 38, 524288, 0, 0, 0, 0), Level 38. 10 | ); 11 | DELETE FROM `creature_loot_template` WHERE `item` IN (10305,10306,10307,10308,10309,10310) AND `entry` IN (1138); 12 | UPDATE `creature_template` SET `MinLevel` = 50, `MaxLevel` = 51 WHERE `entry` = 6372; -- 8-9 - hints towards something not correct with wotlk refloots see: SELECT clt.*,ct.name,ct.minlevel,ct.maxlevel FROM creature_loot_template clt left join creature_template ct on clt.entry=ct.entry where item IN (50602,50603) order by ct.minlevel,ct.entry; 13 | 14 | UPDATE `reference_loot_template_names` SET `name` = 'NPC LOOT (White World Drop) - (Scrolls I) - (NPC Levels 10-25)' WHERE `entry` = 50600; 15 | UPDATE `reference_loot_template_names` SET `name` = 'NPC LOOT (White World Drop) - (Scrolls II) - (NPC Levels 25-40)' WHERE `entry` = 50601; 16 | UPDATE `reference_loot_template_names` SET `name` = 'NPC LOOT (White World Drop) - (Scrolls III) - (NPC Levels 40-55)' WHERE `entry` = 50602; 17 | UPDATE `reference_loot_template_names` SET `name` = 'NPC LOOT (White World Drop) - (Scrolls IV) - (NPC Levels 55-62)' WHERE `entry` = 50603; 18 | 19 | -- Table 'creature_loot_template' entry 1497 (creature entry) not exist but used as loot id in DB. 20 | -- Table 'creature_loot_template' entry 3663 (creature entry) not exist but used as loot id in DB. 21 | -- Table 'creature_loot_template' entry 11806 (creature entry) not exist but used as loot id in DB. 22 | UPDATE `creature_template` SET `LootId` = 0 WHERE `entry` IN (1497,3663,11806); 23 | 24 | -------------------------------------------------------------------------------- /Updates/4516_WDB-5133_q.8305.sql: -------------------------------------------------------------------------------- 1 | -- q.8305 'Long Forgotten Memories' 2 | -- fix 3 | UPDATE dbscripts_on_quest_start SET delay = 1, data_flags = 4 WHERE id = 8305; 4 | -------------------------------------------------------------------------------- /Updates/4517_WDB-5134_c.13018.sql: -------------------------------------------------------------------------------- 1 | -- Nipsy 13018 2 | UPDATE creature SET spawndist = 0, MovementType = 0, spawntimesecsmin = 2, spawntimesecsmax = 5 WHERE id = 13018; 3 | -------------------------------------------------------------------------------- /Updates/4518_WDB-5136_q.1667.sql: -------------------------------------------------------------------------------- 1 | -- q.1667 'Dead-tooth Jack' 2 | DELETE FROM dbscripts_on_quest_end WHERE id IN (1667); 3 | INSERT INTO dbscripts_on_quest_end (id, delay, priority, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES 4 | (1667,1,0,0,0,0,0,0,0,0,2305,0,0,0,0,0,0,0,'Say'), 5 | (1667,1,1,1,66,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'emote'); 6 | UPDATE quest_template SET CompleteScript = 1667 WHERE entry = 1667; 7 | 8 | -------------------------------------------------------------------------------- /Updates/4519_WDB-5137_c.2520.sql: -------------------------------------------------------------------------------- 1 | -- Remote-Controlled Golem 2520 2 | -- immune to poinson, taunt 3 | -- https://github.com/cmangos/issues/wiki/creature_immunities 4 | REPLACE INTO `creature_immunities` (`entry`, `setid`, `type`, `value`) VALUES 5 | (2520, 0, 0, 114), -- SPELL_EFFECT_ATTACK_ME 6 | (2520, 0, 1, 11), -- SPELL_AURA_MOD_TAUNT 7 | (2520, 0, 4, 4); -- DISPEL_POISON 8 | 9 | -------------------------------------------------------------------------------- /Updates/4520_WDB-5141_c.507.sql: -------------------------------------------------------------------------------- 1 | -- Fenros 507 2 | -- Duplicates Removed - TBC/Classic - diff guids PLS correct 3 | -- 1 spawn left - guid = 28408 4 | DELETE FROM creature_addon WHERE guid BETWEEN 134088 AND 134094; 5 | DELETE FROM creature_movement WHERE id BETWEEN 134088 AND 134094; 6 | DELETE FROM game_event_creature WHERE guid BETWEEN 134088 AND 134094; 7 | DELETE FROM game_event_creature_data WHERE guid BETWEEN 134088 AND 134094; 8 | DELETE FROM creature_battleground WHERE guid BETWEEN 134088 AND 134094; 9 | DELETE FROM creature_linking WHERE guid BETWEEN 134088 AND 134094 10 | OR master_guid BETWEEN 134088 AND 134094; 11 | DELETE FROM creature WHERE guid BETWEEN 134088 AND 134094; 12 | -- Removed from pools 13 | DELETE FROM pool_creature_template WHERE id = 507; -- 1054 1 Fenros (507) 14 | DELETE FROM pool_template WHERE entry = 1054; 15 | -- wps 16 | UPDATE creature SET position_x = -10445.167, position_y = -801.80817, position_z = 51.694874, orientation = 4.712388992, spawndist = 0, MovementType = 2 WHERE id = 507; 17 | UPDATE creature_template SET SpeedWalk=(2.5/2.5), SpeedRun=(8/7), MovementType = 2 WHERE Entry = 507; 18 | DELETE FROM creature_movement WHERE id IN (28408); 19 | DELETE FROM creature_movement_template WHERE entry = 507; 20 | INSERT INTO creature_movement_template (Entry, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId) VALUES 21 | (507,1 ,-10450.538,-806.25977,51.120438,100,0,0), 22 | (507,2 ,-10454.172,-810.87177,50.311386,100,0,0), 23 | (507,3 ,-10455.637,-822.29913,50.582,100,0,0), 24 | (507,4 ,-10472.966,-836.6786,49.68537,100,0,0), 25 | (507,5 ,-10496.788,-861.2197,48.400055,100,0,0), 26 | (507,6 ,-10525.993,-892.8406,47.374138,100,0,0), 27 | (507,7 ,-10554.67,-907.13214,47.164993,100,0,0), 28 | (507,8 ,-10589.024,-902.2052,49.07846,100,0,0), 29 | (507,9 ,-10607.931,-890.3236,49.090244,100,0,0), 30 | (507,10,-10622.096,-884.4247,48.82999,100,0,0), 31 | (507,11,-10632.214,-887.98846,48.96212,100,70000,0), 32 | (507,12,-10603.848,-857.9826,47.95034,100,0,0), 33 | (507,13,-10591.551,-841.4782,53.273426,100,0,0), 34 | (507,14,-10557.348,-842.59265,51.50637,100,0,0), 35 | (507,15,-10521.921,-847.60065,50.580025,100,0,0), 36 | (507,16,-10491.422,-859.2469,49.242626,100,0,0), 37 | (507,17,-10455.677,-861.47174,46.848022,100,0,0), 38 | (507,18,-10428.125,-856.3143,47.43348,100,0,0), 39 | (507,19,-10397.622,-840.8284,49.508293,100,0,0), 40 | (507,20,-10354.984,-838.24243,42.146206,100,0,0), 41 | (507,21,-10323.82,-818.1137,43.261787,100,0,0), 42 | (507,22,-10280.48,-805.116,44.279083,100,0,0), 43 | (507,23,-10263.701,-787.6237,45.029224,100,0,0), 44 | (507,24,-10247.565,-762.77075,46.552284,100,0,0), 45 | (507,25,-10250.831,-753.1253,44.847942,100,30000,0), 46 | (507,26,-10266.123,-789.14813,45.039368,100,0,0), 47 | (507,27,-10309.25,-809.5499,45.056705,100,0,0), 48 | (507,28,-10345.871,-831.0247,41.973053,100,0,0), 49 | (507,29,-10394.871,-829.0156,47.002228,100,0,0), 50 | (507,30,-10417.283,-818.773,48.5774,100,0,0), 51 | (507,31,-10429.264,-824.5128,48.184723,100,0,0), 52 | (507,32,-10437.538,-819.3121,48.87755,100,0,0), 53 | (507,33,-10440.385,-811.2105,50.18577,100,0,0), 54 | (507,34,-10439.286,-805.3655,51.261726,100,0,0), 55 | (507,35,-10445.167,-801.80817,51.694874,100,0,0), 56 | (507,36,-10445.167,-801.80817,51.694874,4.712388992,320000,0); 57 | 58 | -------------------------------------------------------------------------------- /Updates/4521_WDB-5145_c.15308.sql: -------------------------------------------------------------------------------- 1 | -- Twilight Prophet 15308 2 | 3 | -- northern group 4 | -- https://github.com/cmangos/tbc-db/commit/52297eba87b4cfddd965324bd5977a55a69e2fef 5 | -- The northern prophet has a respawn timer that varies between 25 and 30 minutes. 6 | UPDATE creature SET id = 15308, spawntimesecsmin = 1500, spawntimesecsmax = 1800 WHERE guid = 44305; -- no idea whay someone removed her id? 7 | UPDATE creature SET spawntimesecsmin = 300, spawntimesecsmax = 300 WHERE `guid` IN (44306,44307,44308,44309); 8 | DELETE FROM creature_spawn_entry WHERE guid = 44305; 9 | 10 | -- southern group 11 | -- The southern prophet has a respawn timer that varies between 45 and 60 minutes. 12 | REPLACE INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecsmin`, `spawntimesecsmax`, `spawndist`, `MovementType`) VALUES 13 | (42965, 11880, 1, 1, -7554.23, 1744.16, 5.8, 4.59986, 300, 300, 0, 0), 14 | (44251, 11880, 1, 1, -7554.23, 1744.16, 5.8, 4.59986, 300, 300, 0, 0), 15 | (44252, 11880, 1, 1, -7554.23, 1744.16, 5.8, 4.59986, 300, 300, 0, 0), 16 | (42969, 11880, 1, 1, -7551.5, 1900.6, 5.8, 4.59986, 300, 300, 0, 0), 17 | (43322, 15308, 1, 1, -7553.29, 1742.48, 6.15128, 0, 600, 600, 0, 2); 18 | UPDATE creature SET id = 15308, spawntimesecsmin = 1500, spawntimesecsmax = 1800, spawndist = 0, MovementType = 0 WHERE guid = 43322; 19 | UPDATE creature SET position_x = -7891.28, position_y = 1840.39, position_z = 3.55864, spawndist = 25, MovementType = 1 WHERE guid = 44253; 20 | DELETE FROM creature_linking WHERE guid IN (42969,42965); 21 | UPDATE creature SET position_x = -7549.471, position_y = 1734.0094, position_z = 11.4109 WHERE guid IN (43322,42969,42965,44251,44252); 22 | UPDATE creature SET spawntimesecsmin = 300, spawntimesecsmax = 300 WHERE `guid` IN (42969,42965,44251,44252); 23 | DELETE FROM creature_movement WHERE id IN (43322); 24 | -- move them to spawn_group 25 | DELETE FROM `spawn_group` WHERE id = 19923; 26 | INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES 27 | (19923, 'Silithus - Twilight Prophet | Twilight Avenger (2) Patrol 2', 0, 0, 0, 0); 28 | DELETE FROM `spawn_group_spawn` WHERE id = 19923; 29 | INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES 30 | (19923, 43322, 0), 31 | (19923, 42969, 1), 32 | (19923, 42965, 2), 33 | (19923, 44251, 3), 34 | (19923, 44252, 4); 35 | DELETE FROM `spawn_group_formation` WHERE id = 19923; 36 | INSERT INTO `spawn_group_formation` (`Id`, `FormationType`, `FormationSpread`, `FormationOptions`, `PathId`, `MovementType`, `Comment`) VALUES 37 | (19923, 4, 5, 0, 19923, 4, 'Silithus - Twilight Prophet | Twilight Avenger (5) Patrol 001'); 38 | 39 | DELETE FROM `waypoint_path_name` WHERE PathId = 19923; 40 | INSERT INTO `waypoint_path_name` (`PathId`, `Name`) VALUES 41 | (19923,'Silithus - Twilight Prophet | Twilight Avenger (2) Patrol 2'); 42 | DELETE FROM `waypoint_path` WHERE PathId = 19923; 43 | INSERT INTO `waypoint_path` (`PathId`, `Point`, `PositionX`, `PositionY`,`PositionZ`, `Orientation`, `WaitTime`, `ScriptId`) VALUES 44 | (19923,1,-7549.471,1734.0094,11.4109,100,0,0), 45 | (19923,2,-7556.26,1716.11,9.25794,100,0,0), 46 | (19923,3,-7569.13,1700.23,5.26954,100,0,0), 47 | (19923,4,-7573.76,1690.55,5.40412,100,0,0), 48 | (19923,5,-7587.85,1663.39,4.58791,100,0,0), 49 | (19923,6,-7604.52,1641.43,2.11644,100,0,0), 50 | (19923,7,-7617.34,1597.31,4.82266,100,0,0), 51 | (19923,8,-7642.94,1584.59,5.54352,100,0,0), 52 | (19923,9,-7642.94,1584.59,5.54352,100,0,0), 53 | (19923,10,-7681.44,1586.52,1.4506,100,0,0), 54 | (19923,11,-7706.44,1616.31,5.15801,100,0,0), 55 | (19923,12,-7718.95,1641.69,8.05339,100,0,0), 56 | (19923,13,-7746.64,1658.38,6.22475,100,0,0), 57 | (19923,14,-7759.46,1688.8,1.56703,100,0,0), 58 | (19923,15,-7779.92,1727.28,2.39467,100,0,0), 59 | (19923,16,-7794.41,1772.41,-0.182124,100,0,0), 60 | (19923,17,-7828.77,1804.55,2.45615,100,0,0), 61 | (19923,18,-7863.18,1824.98,3.85917,100,0,0), 62 | (19923,19,-7895.75,1843.03,3.25615,100,2000,0); 63 | 64 | -------------------------------------------------------------------------------- /Updates/4522_WDB-4746_Barrens_KolkarPopulation.sql: -------------------------------------------------------------------------------- 1 | -- Group 9 - this group does not exist 2 | DELETE FROM creature_addon WHERE guid IN (13233,13234,20571,20867); 3 | DELETE FROM creature_movement WHERE id IN (13233,13234,20571,20867); 4 | DELETE FROM game_event_creature WHERE guid IN (13233,13234,20571,20867); 5 | DELETE FROM game_event_creature_data WHERE guid IN (13233,13234,20571,20867); 6 | DELETE FROM creature_battleground WHERE guid IN (13233,13234,20571,20867); 7 | DELETE FROM creature_linking WHERE guid IN (13233,13234,20571,20867) 8 | OR master_guid IN (13233,13234,20571,20867); 9 | DELETE FROM creature WHERE guid IN (13233,13234,20571,20867); 10 | 11 | DELETE FROM `spawn_group` WHERE id = 19963; 12 | DELETE FROM `spawn_group_spawn` WHERE id = 19963; 13 | DELETE FROM `spawn_group_formation` WHERE id = 19963; 14 | DELETE FROM `waypoint_path_name` WHERE PathId = 19963; 15 | DELETE FROM `waypoint_path` WHERE PathId = 19963; 16 | 17 | DELETE FROM creature_movement WHERE Id IN (20524,20508); 18 | INSERT INTO creature_movement (id, point, positionx, positiony, positionz, orientation, waittime, scriptid) VALUES 19 | -- 20524 20 | (20524,1 ,-1146.2765,-3112.5615,93.64524,100,0,0), 21 | (20524,2 ,-1187.1927,-3108.8247,94.218056,100,0,0), 22 | (20524,3 ,-1200.7858,-3131.9995,95.76109,100,0,0), 23 | (20524,4 ,-1190.543,-3145.9038,93.32731,100,5000,21), 24 | (20524,5 ,-1190.543,-3145.9038,93.32731,100,100,5), 25 | (20524,6 ,-1211.5133,-3154.3113,93.77361,100,0,0), 26 | (20524,7 ,-1219.553,-3175.7942,93.74262,100,0,0), 27 | (20524,8 ,-1218.7496,-3192.9854,94.24262,100,0,0), 28 | (20524,9 ,-1240.5955,-3208.567,93.20109,100,5000,21), 29 | (20524,10,-1240.5955,-3208.567,93.20109,100,100,6), 30 | (20524,11,-1219.6207,-3186.467,94.11762,100,0,0), 31 | (20524,12,-1193.1962,-3215.4211,92.53751,100,0,0), 32 | (20524,13,-1160.0127,-3222.7844,91.791664,100,0,0), 33 | (20524,14,-1150.236,-3209.6895,92.31632,100,0,0), 34 | (20524,15,-1142.6238,-3185.3274,93.291176,100,0,0), 35 | (20524,16,-1134.7804,-3159.8967,93.930336,100,0,0), 36 | (20524,17,-1135.0944,-3144.9128,93.19108,100,5000,21), 37 | -- 20508 38 | (20508,1 ,-56.048286,-1856.7819,116.85595,100,5000,21), 39 | (20508,2 ,-56.048286,-1856.7819,116.85595,100,100,5), 40 | (20508,3 ,-24.632812,-1849.6348,108.35132,100,0,0), 41 | (20508,4 ,-17.294596,-1828.0536,93.97017,100,0,0), 42 | (20508,5 ,-58.336372,-1807.6799,93.41099,100,0,0), 43 | (20508,6 ,-106.48167,-1799.988,94.48612,100,0,0), 44 | (20508,7 ,-141.59158,-1775.622,91.916664,100,0,0), 45 | (20508,8 ,-165.94455,-1745.1682,92.291664,100,0,0), 46 | (20508,9 ,-180.5649,-1712.4373,92.30367,100,0,0), 47 | (20508,10,-191.37088,-1674.1517,91.83856,100,0,0), 48 | (20508,11,-166.74165,-1666.1473,93.666664,100,0,0), 49 | (20508,12,-133.64497,-1657.0256,91.79165,100,0,0), 50 | (20508,13,-99.78678,-1648.5426,91.79165,100,0,0), 51 | (20508,14,-66.815865,-1646.1691,91.79165,100,0,0), 52 | (20508,15,-54.02995,-1687.4264,94.595375,100,0,0), 53 | (20508,16,-33.62337,-1727.1063,94.38825,100,0,0), 54 | (20508,17,-18.982965,-1742.9733,92.986206,100,0,0), 55 | (20508,18,-10.632324,-1763.4583,93.11316,100,5000,21), 56 | (20508,19,-10.632324,-1763.4583,93.11316,100,100,6), 57 | (20508,20,0.272678,-1796.5803,92.972755,100,0,0), 58 | (20508,21,-1.722005,-1812.1515,93.29268,100,0,0), 59 | (20508,22,-14.406901,-1828.52,93.90108,100,0,0), 60 | (20508,23,-25.28928,-1849.9941,109.00879,100,0,0), 61 | (20508,24,-43.21875,-1851.6113,111.92065,100,0,0); 62 | 63 | -------------------------------------------------------------------------------- /Updates/4522_WDB-5146_c.3273.sql: -------------------------------------------------------------------------------- 1 | -- Kolkar Stormer 3273 2 | -- missing added 3 | DELETE FROM creature_addon WHERE guid IN (375); -- free for all 3 dbs 4 | DELETE FROM creature_movement WHERE id IN (375); 5 | DELETE FROM game_event_creature WHERE guid IN (375); 6 | DELETE FROM game_event_creature_data WHERE guid IN (375); 7 | DELETE FROM creature_battleground WHERE guid IN (375); 8 | DELETE FROM creature_linking WHERE guid IN (375) 9 | OR master_guid IN (375); 10 | DELETE FROM creature WHERE guid IN (375); 11 | INSERT INTO creature (guid, id, map, spawnmask, position_x, position_y, position_z, orientation, spawntimesecsmin, spawntimesecsmax, spawndist, MovementType) values 12 | (375,3273,1,1,-1450.9772,-3014.935,93.416664,0,300,300,0,2); 13 | DELETE FROM creature_movement WHERE Id IN (375); 14 | INSERT INTO creature_movement (id, point, positionx, positiony, positionz, orientation, waittime, scriptid) VALUES 15 | (375,1 ,-49.708008,-1817.2418,92.59873,100,5000,21), 16 | (375,2 ,-49.708008,-1817.2418,92.59873,100,100,6), 17 | (375,3 ,-49.144855,-1784.2662,92.80562,100,0,0), 18 | (375,4 ,-24.654947,-1758.1602,92.32654,100,0,0), 19 | (375,5 ,-19.734919,-1722.6688,94.47399,100,0,0), 20 | (375,6 ,19.04861,-1713.75,99.51696,100,5000,21), 21 | (375,7 ,19.04861,-1713.75,99.51696,100,100,5), 22 | (375,8 ,-9.755751,-1728.4347,93.97399,100,0,0), 23 | (375,9 ,-5.688043,-1754.2831,93.95642,100,0,0), 24 | (375,10,12.333605,-1762.2262,97.17121,100,0,0), 25 | (375,11,31.619955,-1768.4232,97.07481,100,0,0), 26 | (375,12,48.593426,-1782.469,95.97184,100,0,0), 27 | (375,13,53.6282,-1800.0195,92.16459,100,0,0), 28 | (375,14,47.056858,-1809.2556,92.46476,100,5000,21), 29 | (375,15,15.549479,-1813.3567,94.58601,100,0,0), 30 | (375,16,-11.837132,-1817.2701,93.416214,100,0,0), 31 | (375,17,-38.92014,-1815.125,92.97129,100,0,0); 32 | 33 | -------------------------------------------------------------------------------- /Updates/4525_WDB-5148_c.12676.sql: -------------------------------------------------------------------------------- 1 | -- Sharptalon 12676 2 | -- custom made wps fixed 3 | UPDATE creature SET position_x = 1978.2174, position_y = -2421.4512, position_z = 89.97922, spawndist = 0, MovementType = 4 WHERE id = 12676; 4 | UPDATE creature_template SET MovementType = 4 WHERE Entry = 12676; 5 | DELETE FROM creature_movement WHERE id IN (32787); 6 | DELETE FROM creature_movement_template WHERE entry = 12676; 7 | INSERT INTO creature_movement_template (Entry, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId) VALUES 8 | (12676,1 ,1978.2174,-2421.4512,89.97922,100,0,0), 9 | (12676,2 ,1963.6973,-2457.205,87.42484,100,0,0), 10 | (12676,3 ,1958.3188,-2483.6782,85.88433,100,0,0), 11 | (12676,4 ,1956.0658,-2507.0022,81.08882,100,0,0), 12 | (12676,5 ,1957.12,-2527.5637,78.95735,100,0,0), 13 | (12676,6 ,1968.8975,-2561.1719,82.10582,100,0,0), 14 | (12676,7 ,1979.1786,-2591.4849,88.07307,100,0,0), 15 | (12676,8 ,1979.8016,-2624.0693,92.88987,100,0,0), 16 | (12676,9 ,1986.6975,-2652.029,97.52714,100,0,0), 17 | (12676,10,1989.9238,-2679.8652,104.209076,100,0,0), 18 | (12676,11,2021.3273,-2688.6753,105.57758,100,0,0), 19 | (12676,12,2040.1217,-2711.492,109.87498,100,0,0), 20 | (12676,13,2056.4531,-2734.9626,109.3737,100,0,0), 21 | (12676,14,2087.592,-2754.408,106.90059,100,0,0), 22 | (12676,15,2120.3938,-2773.4253,114.850136,100,0,0), 23 | (12676,16,2137.4934,-2793.1477,116.358925,100,0,0), 24 | (12676,17,2146.8936,-2813.5457,117.51263,100,0,0); 25 | 26 | -------------------------------------------------------------------------------- /Updates/4526_WDB-5149_c.12903.sql: -------------------------------------------------------------------------------- 1 | -- Splintertree Guard 12903 2 | -- custom made wps corrrected 3 | UPDATE creature SET position_x = 2245.8562, position_y = -2550.6584, position_z = 90.26493, spawndist = 0, movementType = 2 WHERE guid = 32623; 4 | UPDATE creature SET position_x = 2389.056, position_y = -2524.0889, position_z = 111.420425, spawndist = 0, MovementType = 4 WHERE guid = 32620; -- linear 5 | DELETE FROM creature_movement WHERE Id IN (32623,32620); 6 | INSERT INTO creature_movement (id, point, positionx, positiony, positionz, orientation, waittime, scriptid) VALUES 7 | -- 32623 8 | (32623,1 ,2245.8562,-2550.6584,90.26493,100,0,0), 9 | (32623,2 ,2273.6265,-2542.931,94.71704,100,0,0), 10 | (32623,3 ,2282.1138,-2548.865,97.56836,100,0,0), 11 | (32623,4 ,2279.5938,-2563.6602,103.332275,100,0,0), 12 | (32623,5 ,2293.5852,-2547.6506,99.186035,100,0,0), 13 | (32623,6 ,2305.6536,-2550.2715,100.75643,100,0,0), 14 | (32623,7 ,2320.4414,-2544.7986,100.779015,100,0,0), 15 | (32623,8 ,2336.4138,-2536.1184,101.87796,100,0,0), 16 | (32623,9 ,2348.8645,-2534.3699,102.1785,100,0,0), 17 | (32623,10,2342.5828,-2526.8362,103.1326233,100,0,0), 18 | (32623,11,2324.8792,-2520.156,103.001686,100,0,0), 19 | (32623,12,2316.6108,-2524.2607,102.02769,100,0,0), 20 | (32623,13,2305.732623,-2532.9563,100.97886,100,0,0), 21 | (32623,14,2285.1802,-2527.936,97.91134,100,0,0), 22 | (32623,15,2262.4934,-2518.56,98.643814,100,0,0), 23 | (32623,16,2264.2805,-2529.6611,94.044815,100,0,0), 24 | (32623,17,2252.7747,-2533.5344,91.758705,100,0,0), 25 | (32623,18,2240.312,-2532.841,89.50441,100,0,0), 26 | -- 32620 27 | (32620,1 ,2389.056,-2524.0889,111.420425,100,2000,0), 28 | (32620,2 ,2369.499,-2529.2454,107.908066,100,0,0), 29 | (32620,3 ,2353.0435,-2531.489,102.22798,100,0,0), 30 | (32620,4 ,2333.2283,-2537.964,101.49996,100,0,0), 31 | (32620,5 ,2311.78,-2535.9263,100.4515,100,0,0), 32 | (32620,6 ,2290.931,-2541.0503,97.90576,100,0,0), 33 | (32620,7 ,2259.7087,-2539.0344,91.85404,100,0,0), 34 | (32620,8 ,2211.571,-2538.0688,83.19322,100,0,0), 35 | (32620,9 ,2187.3528,-2517.154,81.2887,100,0,0), 36 | (32620,10,2150.718,-2495.4524,79.86891,100,0,0), 37 | (32620,11,2126.2083,-2481.109,80.60241,100,0,0), 38 | (32620,12,2103.8066,-2462.7012,82.487526,100,0,0), 39 | (32620,13,2077.4724,-2436.4202,85.9665,100,0,0), 40 | (32620,14,2041.5533,-2409.3213,87.90219,100,2000,0); 41 | -------------------------------------------------------------------------------- /Updates/4528_TDB-0259_c.785.sql: -------------------------------------------------------------------------------- 1 | -- Skeletal Warder - Unholy Frenzy - friendly missing buff include self 2 | -- ('78502','785','0','0','100','1025','1000','9400','20100','44800','0','0','11','8699','0','0','0','0','0','0','0','0','0','0','Skeletal Warder - Cast Unholy Frenzy'), 3 | UPDATE `creature_template` SET `SpellList` = 78501 WHERE `entry` = 785; 4 | DELETE FROM `creature_spell_list_entry` WHERE `Id` = 78501; 5 | INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES 6 | (78501, 'Duskwood - Skeletal Warder (785)', 75, 0); 7 | DELETE FROM `creature_spell_list` WHERE `Id` = 78501; 8 | INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES 9 | (78501, 0, 8699, 0, -1, 5, 0, 100, 0, 0, 15000, 20000, 40000, 'Skeletal Warder - Unholy Frenzy - friendly missing buff include self'); 10 | 11 | -------------------------------------------------------------------------------- /Updates/4529_WDB-5150_c.14479.sql: -------------------------------------------------------------------------------- 1 | -- Twilight Lord Everun 14479 2 | -- missing waypoints added 3 | UPDATE creature SET position_x = -6745.7437, position_y = 1592.2943, position_z = 6.9114037, spawndist = 0, movementType = 2 WHERE guid = 42162; 4 | DELETE FROM creature_movement WHERE Id IN (42162); 5 | INSERT INTO creature_movement (id, point, positionx, positiony, positionz, orientation, waittime, scriptid) VALUES 6 | (42162,1 ,-6745.7437,1592.2943,6.9114037,100,0,0), 7 | (42162,2 ,-6724.8813,1573.1672,5.2336764,100,0,0), 8 | (42162,3 ,-6711.506,1558.5605,7.250621,100,0,0), 9 | (42162,4 ,-6699.1855,1555.5695,7.8893967,100,0,0), 10 | (42162,5 ,-6686.1484,1563.0107,7.642852,100,0,0), 11 | (42162,6 ,-6690.8955,1585.8013,6.407935,100,0,0), 12 | (42162,7 ,-6687.703,1600.4492,6.7325954,100,0,0), 13 | (42162,8 ,-6677.444,1617.37,8.834906,100,0,0), 14 | (42162,9 ,-6677.697,1644.5408,8.241871,100,0,0), 15 | (42162,10,-6690.7207,1663.1124,6.3770733,100,0,0), 16 | (42162,11,-6710.4556,1670.0829,8.317429,100,0,0), 17 | (42162,12,-6729.592,1670.0498,6.0010977,100,0,0), 18 | (42162,13,-6747.005,1669.1266,6.980899,100,0,0), 19 | (42162,14,-6754.4214,1668.3945,6.5931215,100,0,0), 20 | (42162,15,-6764.1045,1664.135,7.446684,100,0,0), 21 | (42162,16,-6781.893,1673.9442,6.011373,100,0,0), 22 | (42162,17,-6796.5493,1681.3445,7.1039286,100,0,0), 23 | (42162,18,-6804.8477,1668.566,6.3788543,100,0,0), 24 | (42162,19,-6802.9077,1656.4673,6.3499413,100,0,0), 25 | (42162,20,-6792.166,1645.6456,6.6694045,100,0,0), 26 | (42162,21,-6779.1,1646.5426,6.6621294,100,0,0), 27 | (42162,22,-6768.41,1639.1289,6.5885315,100,0,0), 28 | (42162,23,-6763.401,1624.6064,6.1400914,100,0,0), 29 | (42162,24,-6762.7173,1606.8296,6.206584,100,0,0), 30 | (42162,25,-6763.003,1598.6188,6.907886,100,0,0), 31 | (42162,26,-6754.623,1591.0848,6.7811575,100,0,0); 32 | -- move them to spawn_group 33 | DELETE FROM pool_creature_template WHERE id = 14479; -- 14479 25539 0 Twilight Lord Everun 34 | DELETE FROM pool_template WHERE entry = 25492; -- 25492 1 Silithus - Twilight Lord Everun 35 | DELETE FROM `spawn_group` WHERE id = 19921; 36 | INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES 37 | (19921, 'Silithus - Twilight Lord Everun 14479', 0, 1, 0, 0); 38 | DELETE FROM `spawn_group_spawn` WHERE id = 19921; 39 | INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES 40 | (19921, 42160, -1), 41 | (19921, 42161, -1), 42 | (19921, 42162, -1); 43 | 44 | -------------------------------------------------------------------------------- /Updates/4530_WDB-5151_c.14471.sql: -------------------------------------------------------------------------------- 1 | -- Setis 14471 2 | UPDATE creature SET position_x = -7808.6807, position_y = 1782.676, position_z = -0.1795845, spawndist = 0, MovementType = 4 WHERE id = 14471; -- 51838 3 | UPDATE creature_template SET SpeedWalk =(2.5/2.5), SpeedRun =(8/7), MovementType = 4 WHERE Entry = 14471; 4 | DELETE FROM creature_movement WHERE id IN (51838); 5 | DELETE FROM creature_movement_template WHERE entry = 14471; 6 | INSERT INTO creature_movement_template (Entry, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId) VALUES 7 | (14471,1 ,-7808.6807,1782.676,-0.1795845,100,0,0), 8 | (14471,2 ,-7839.8535,1778.2094,0.5022687,100,0,0), 9 | (14471,3 ,-7883.6113,1762.0935,-3.2864003,100,0,0), 10 | (14471,4 ,-7930.934,1778.1233,1.1210822,100,0,0), 11 | (14471,5 ,-7924.0034,1796.5565,2.063847,100,0,0), 12 | (14471,6 ,-7902.0024,1820.533,0.26369655,100,0,0), 13 | (14471,7 ,-7888.9585,1844.1677,3.8065417,100,0,0), 14 | (14471,8 ,-7883.973,1880.0094,5.6121874,100,0,0), 15 | (14471,9 ,-7893.079,1884.7542,5.912327,100,0,0), 16 | (14471,10,-7879.2227,1930.3613,2.6753588,100,0,0), 17 | (14471,11,-7888.5435,1931.7075,3.7296126,100,0,0), 18 | (14471,12,-7923.8345,1934.253,3.5464387,100,0,0), 19 | (14471,13,-7950.278,1927.2986,3.1359825,100,0,0), 20 | (14471,14,-7969.762,1885.2539,3.103453,100,0,0), 21 | (14471,15,-7979.2803,1858.7457,4.582918,100,0,0), 22 | (14471,16,-7982.03,1828.1604,4.5797524,100,0,0), 23 | (14471,17,-8001.403,1821.5963,4.722474,100,0,0), 24 | (14471,18,-8018.4585,1791.7137,2.9931755,100,0,0), 25 | (14471,19,-8014.0913,1777.8931,1.5459192,100,0,0), 26 | (14471,20,-8025.347,1748.6543,-1.4082766,100,0,0), 27 | (14471,21,-8037.1016,1738.6407,-2.103726,100,0,0), 28 | (14471,22,-8066.3237,1738.685,-1.4640405,100,0,0), 29 | (14471,23,-8091.646,1728.067,-1.7422059,100,0,0), 30 | (14471,24,-8084.1094,1715.9835,-1.7078974,100,0,0), 31 | (14471,25,-8062.1504,1711.7101,0.55378234,100,0,0), 32 | (14471,26,-8042.761,1700.5609,5.696702,100,0,0), 33 | (14471,27,-8022.7676,1685.3954,13.072395,100,0,0); 34 | 35 | -------------------------------------------------------------------------------- /Updates/4531_WDB-5154_c.2848.sql: -------------------------------------------------------------------------------- 1 | -- Glyx Brewright 2848 2 | -- Vendor list corrected 3 | UPDATE `creature_template` SET `VendorTemplateId` = 0 WHERE `entry` = 2848; 4 | DELETE FROM `npc_vendor` WHERE `entry` = 2848 AND `item` IN (3371,3372,8925,18256); 5 | INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`, `slot`, `condition_id`, `comments`) VALUES 6 | (2848, 3371, 0, 0, 1, 0, 'Empty Vial'), 7 | (2848, 3372, 0, 0, 2, 0, 'Leaded Vial'), 8 | (2848, 8925, 0, 0, 3, 0, 'Crystal Vial'), 9 | (2848, 18256, 0, 0, 4, 0, 'Imbued Vial'); 10 | 11 | UPDATE npc_vendor SET Slot = 6 WHERE entry = 2848 AND item = 1710; -- Greater Healing Potion 12 | UPDATE npc_vendor SET Slot = 7, `maxcount`=3 WHERE entry = 2848 AND item = 3827; -- Mana Potion 13 | UPDATE npc_vendor SET Slot = 8 WHERE entry = 2848 AND item = 6057; -- Recipe: Nature Protection Potion 14 | UPDATE npc_vendor SET Slot = 9 WHERE entry = 2848 AND item = 6056; -- Recipe: Frost Protection Potion 15 | 16 | -------------------------------------------------------------------------------- /Updates/4532_WDB-5156_q.930.sql: -------------------------------------------------------------------------------- 1 | -- q.930 'The Glowing Fruit' 2 | -- req q.918 & q.919 completed first 3 | -- alliace quest 4 | UPDATE quest_template SET RequiredRaces = 77, RequiredCondition = 3830 WHERE entry = 930; 5 | DELETE FROM conditions WHERE condition_entry BETWEEN 3828 AND 3830; 6 | INSERT INTO conditions (`condition_entry`, `type`, `value1`, `value2`, `value3`, `value4`, `flags`, `comments`) VALUES 7 | (3828, 8, 918, 0, 0, 0, 0, 'Quest ID 918 Rewarded'), 8 | (3829, 8, 919, 0, 0, 0, 0, 'Quest ID 919 Rewarded'), 9 | (3830, -1, 3829, 3828, 0, 0, 0,''); 10 | 11 | -------------------------------------------------------------------------------- /Updates/4533_TDB-0264_q.1526.sql: -------------------------------------------------------------------------------- 1 | -- https://www.wowhead.com/tbc/quest=1526/call-of-fire#comments 2 | -- https://www.youtube.com/watch?v=odiH2eLxd3k 3 | UPDATE `creature_template` SET `Faction` = 7, `ExtraFlags` = `ExtraFlags`|1048576 WHERE `entry`= 5893; -- CREATURE_EXTRA_FLAG_DYNGUID 4 | UPDATE `creature` SET `position_x` = -243.654, `position_y` = -4018.78, `position_z` = 188.707, `orientation` = 1.72788, `spawntimesecsmin` = 10, `spawntimesecsmax` = 15 WHERE `id` = 5893; 5 | UPDATE `creature_template` SET `Faction` = 7, `UnitFlags` = 33555200 WHERE `entry` = 5896; 6 | DELETE FROM `creature` WHERE `id` = 5896; -- missing 7 | INSERT INTO `creature` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecsmin`, `spawntimesecsmax`, `spawndist`, `movementtype`) VALUES 8 | (59127, 5896, 1, -236.458, -4018.84, 187.304, 3.07171, 120, 120, 3, 1), 9 | (59128, 5896, 1, -250.864, -4010.23, 187.258, 5.12946, 120, 120, 3, 1), 10 | (59129, 5896, 1, -250.884, -4019.95, 187.304, 5.0195, 120, 120, 3, 1), 11 | (59130, 5896, 1, -239.873, -4009.15, 187.303, 3.60657, 120, 120, 3, 1); 12 | 13 | UPDATE `creature_template` SET `GossipMenuId` = 3361, `NpcFlags` = `NpcFlags`|1 WHERE `entry` = 11285; 14 | DELETE FROM `gossip_menu` WHERE `entry` = 3361; 15 | INSERT INTO `gossip_menu` (`entry`, `text_id`, `script_id`, `condition_id`) VALUES (3361, 4117, 0, 0); 16 | UPDATE `creature_template_addon` SET `auras` = '10848 17622' WHERE `entry` = 11285; 17 | DELETE FROM `creature` WHERE `id` = 11285; -- missing 18 | INSERT INTO `creature` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecsmin`, `spawntimesecsmax`, `spawndist`, `movementtype`) VALUES 19 | (99462, 11285, 0, 1221.76, -2317.21, 57.1717, 4.66009, 25, 25, 7, 1); 20 | 21 | -------------------------------------------------------------------------------- /Updates/4534_TDB-0265_c.4961.sql: -------------------------------------------------------------------------------- 1 | -- https://github.com/cmangos/mangos-tbc/pull/636 2 | -- Add CSL for Dashel Stonefist (4961) 3 | UPDATE `creature_template` SET `SpellList` = 496101 WHERE `entry` = 4961; 4 | DELETE FROM `creature_spell_list_entry` WHERE `Id` = 496101; 5 | INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES 6 | (496101, 'Stormwind City - Dashel Stonefist (4961)', 0, 0); 7 | DELETE FROM `creature_spell_list` WHERE `Id` = 496101; 8 | INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES 9 | (496101, 0, 12555, 0, -1, 1, 0, 100, 1, 10000, 20000, 20000, 40000, 'Dashel Stonefist - Pummel'); 10 | 11 | -------------------------------------------------------------------------------- /Updates/4535_TDB-0266_mangos_string_near.sql: -------------------------------------------------------------------------------- 1 | UPDATE mangos_string SET content_default='%d%s, Entry %d - |cffffffff|Hgameobject:%d|h[%s X:%f Y:%f Z:%f MapId:%d]SpawnGroup:%u|h|r' WHERE entry=517; 2 | -- %d%s, Entry %d - |cffffffff|Hgameobject:%d|h[%s X:%f Y:%f Z:%f MapId:%d]|h|r 3 | 4 | -------------------------------------------------------------------------------- /Updates/4536_TDB-0267_c.10698.sql: -------------------------------------------------------------------------------- 1 | -- c.10698 only spelll summoned s.16590 2 | -- points towards randomisation of spawns for 8541,8548,8551,8526,8531 3 | DELETE FROM `creature` where `id` = 10698; 4 | 5 | -------------------------------------------------------------------------------- /Updates/4537_WDB-5167_speed.sql: -------------------------------------------------------------------------------- 1 | -- Zul'farak: 2 | -- Sandfury Blood Drinker 5649 3 | -- Walk Speed: 2.5 Run Speed: 8 4 | -- corrected 5 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 5649; 6 | -- Sandfury Witch Doctor 5650 7 | -- Walk Speed: 2.5 Run Speed: 8 8 | -- corrected 9 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 5650; 10 | -- Sandfury Shadowhunter 7246 11 | -- Walk Speed: 2.5 Run Speed: 8 12 | -- corrected 13 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 7246; 14 | -- Sandfury Soul Eater 7247 15 | -- Walk Speed: 2.5 Run Speed: 8 16 | -- corrected 17 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 7247; 18 | -- Sul'lithuz Sandcrawler 8095 19 | -- Walk Speed: 2.777780055999755859 Run Speed: 8 20 | -- corrected 21 | UPDATE creature_template SET SpeedWalk = (2.777780055999755859 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 8095; 22 | -- Hydromancer Velratha 7795 23 | -- Walk Speed: 2.5 Run Speed: 8 24 | -- corrected 25 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 7795; 26 | -- Theka the Martyr 7272 27 | -- Walk Speed: 2.5 Run Speed: 8 28 | -- corrected 29 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 7272; 30 | 31 | -- Uldaman: 32 | -- Stonevault Oracle 4852 33 | -- Walk Speed: 2.5 Run Speed: 8 34 | -- corrected 35 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 4852; 36 | -- Stonevault Cave Lurker 4850 37 | -- Walk Speed: 2.5 Run Speed: 8 38 | -- corrected 39 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 4850; 40 | -- Cleft Scorpid 7078 41 | -- Walk Speed: 2.5 Run Speed: 8 42 | -- corrected 43 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 7078; 44 | -- Stonevault Geomancer 4853 45 | -- Walk Speed: 2.5 Run Speed: 8 46 | -- corrected 47 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 4853; 48 | -- Venomlash Scorpid 7022 49 | -- Walk Speed: 2.5 Run Speed: 8 50 | -- corrected 51 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 7022; 52 | -- Stone Steward 4860 53 | -- Walk Speed: 2.5 Run Speed: 8 54 | -- corrected 55 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 4860; 56 | -- Earthen Sculptor 7012 57 | -- Walk Speed: 2.5 Run Speed: 8 58 | -- corrected 59 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 7012; 60 | -- Earthen Rocksmasher 7011 61 | -- Walk Speed: 2.5 Run Speed: 8 62 | -- corrected 63 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 7011; 64 | -- Shadowforge Archaeologist 4849 65 | -- Walk Speed: 2.5 Run Speed: 8 66 | -- corrected 67 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 4849; 68 | -- Shadowforge Darkcaster 4848 69 | -- Walk Speed: 2.5 Run Speed: 8 70 | -- corrected 71 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 4848; 72 | -- Stonevault Mauler 7320 73 | -- Walk Speed: 2.5 Run Speed: 8 74 | -- corrected 75 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 7320; 76 | -- Stonevault Flameweaver 7321 77 | -- Walk Speed: 2.5 Run Speed: 8 78 | -- corrected 79 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 7321; 80 | -- Earthen Stonebreaker 7396 81 | -- Walk Speed: 2.5 Run Speed: 8 82 | -- corrected 83 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 7396; 84 | -- Earthen Stonecarver 7397 85 | -- Walk Speed: 2.5 Run Speed: 8 86 | -- corrected 87 | UPDATE creature_template SET SpeedWalk = (2.5 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 7397; 88 | -- Archaedas 2748 89 | -- Walk Speed: 3.75 Run Speed: 8 90 | -- corrected 91 | UPDATE creature_template SET SpeedWalk = (3.75 / 2.5), SpeedRun = (8 / 7) WHERE Entry = 2748; 92 | -------------------------------------------------------------------------------- /Updates/4539_TDB-0273_VDB-20231020080914_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/e1ac6740bb9716769a2fb5fc34a36d0bde37627c 3 | 4 | -- Correct damage school of creatures. 5 | UPDATE `creature_template` SET `DamageSchool`=2 WHERE `entry`=9436; -- Spawn of Bael'Gar should do Fire damage, not Physical 6 | UPDATE `creature_template` SET `DamageSchool`=0 WHERE `entry`=8908; -- Molten War Golem should do Physical damage, not Fire 7 | UPDATE `creature_template` SET `DamageSchool`=4 WHERE `entry`=10387; -- Vengeful Phantom should do Frost damage, not Physical 8 | UPDATE `creature_template` SET `DamageSchool`=5 WHERE `entry`=10436; -- Baroness Anastari should do Shadow damage, not Physical 9 | UPDATE `creature_template` SET `DamageSchool`=6 WHERE `entry`=14400; -- Arcane Feedback should do Arcane damage, not Nature 10 | UPDATE `creature_template` SET `DamageSchool`=6 WHERE `entry`=14399; -- Arcane Torrent should do Arcane damage, not Nature 11 | UPDATE `creature_template` SET `DamageSchool`=5 WHERE `entry`=8539; -- Eyeless Watcher should do Shadow damage, not Physical 12 | UPDATE `creature_template` SET `DamageSchool`=5 WHERE `entry`=5676; -- Summoned Voidwalker should do Shadow damage, not Physical 13 | UPDATE `creature_template` SET `DamageSchool`=3 WHERE `entry`=15212; -- Hoary Templar should do Nature damage, not Physical 14 | UPDATE `creature_template` SET `DamageSchool`=2 WHERE `entry`=4785; -- Illusionary Nightmare should do Fire damage, not Physical 15 | UPDATE `creature_template` SET `DamageSchool`=5 WHERE `entry`=703; -- Lieutenant Fangore should do Shadow damage, not Physical 16 | UPDATE `creature_template` SET `DamageSchool`=2 WHERE `entry`=14467; -- Kroshius should do Fire damage, not Physical 17 | UPDATE `creature_template` SET `DamageSchool`=2 WHERE `entry`=3736; -- Darkslayer Mordenthal should do Fire damage, not Physical 18 | 19 | -- End of migration. 20 | 21 | -------------------------------------------------------------------------------- /Updates/4541_WDB-5173_c.16016.sql: -------------------------------------------------------------------------------- 1 | -- Anthion Harmon 16016 2 | UPDATE creature SET position_x = 3357.4731, position_y = -3379.7356, position_z = 144.86537, orientation = 6.230825424194335937 WHERE id = 16016; 3 | 4 | -------------------------------------------------------------------------------- /Updates/4542_WDB-5174_c.10820.sql: -------------------------------------------------------------------------------- 1 | -- Duke Ragereaver 10820 2 | -- Data taken from TDB 3 | -- equip data taken from TC 4 | UPDATE creature_template SET HealthMultiplier = 1.5 WHERE entry = 10820; 5 | 6 | -------------------------------------------------------------------------------- /Updates/4543_WDB-5182_c.3333.sql: -------------------------------------------------------------------------------- 1 | -- Shankys 3333 2 | -- vendor list corrected 3 | UPDATE npc_vendor SET Slot = 1 WHERE entry IN (3333) AND item = 6368; -- Recipe: Rainbow Fin Albacore 4 | UPDATE npc_vendor SET Slot = 2 WHERE entry IN (3333) AND item = 6369; -- Recipe: Rockscale Cod 5 | UPDATE npc_vendor SET Slot = 3 WHERE entry IN (3333) AND item = 17062; -- Recipe: Mithril Head Trout 6 | UPDATE npc_vendor SET Slot = 4 WHERE entry IN (3333) AND item = 6256; -- Fishing Pole 7 | UPDATE npc_vendor SET Slot = 5 WHERE entry IN (3333) AND item = 6365; -- Strong Fishing Pole 8 | UPDATE npc_vendor SET Slot = 6 WHERE entry IN (3333) AND item = 6529; -- Shiny Bauble 9 | UPDATE npc_vendor SET Slot = 7 WHERE entry IN (3333) AND item = 6530; -- Nightcrawlers 10 | UPDATE npc_vendor SET Slot = 8 WHERE entry IN (3333) AND item = 6532; -- Bright Baubles 11 | UPDATE npc_vendor SET Slot = 9 WHERE entry IN (3333) AND item = 6533; -- Aquadynamic Fish Attractor 12 | 13 | -------------------------------------------------------------------------------- /Updates/4544_WDB-5185_c.3492_3493.sql: -------------------------------------------------------------------------------- 1 | -- Vexspindle 3492 2 | UPDATE `creature_template` SET `VendorTemplateId` = 0 WHERE `entry` = 3492; -- 220 3 | DELETE FROM `npc_vendor` WHERE `entry` = 3492; 4 | INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`, `slot`, `condition_id`, `comments`) VALUES 5 | (3492, 200, 0, 0, 1, 0, 'Thick Cloth Vest'), 6 | (3492, 3597, 0, 0, 2, 0, 'Thick Cloth Belt'), 7 | (3492, 201, 0, 0, 3, 0, 'Thick Cloth Pants'), 8 | (3492, 202, 0, 0, 4, 0, 'Thick Cloth Shoes'), 9 | (3492, 3598, 0, 0, 5, 0, 'Thick Cloth Bracers'), 10 | (3492, 203, 0, 0, 6, 0, 'Thick Cloth Gloves'), 11 | (3492, 236, 0, 0, 7, 0, 'Cured Leather Armor'), 12 | (3492, 1849, 0, 0, 8, 0, 'Cured Leather Belt'), 13 | (3492, 237, 0, 0, 9, 0, 'Cured Leather Pants'), 14 | (3492, 238, 0, 0, 10, 0, 'Cured Leather Boots'), 15 | (3492, 1850, 0, 0, 11, 0, 'Cured Leather Bracers'), 16 | (3492, 239, 0, 0, 12, 0, 'Cured Leather Gloves'), 17 | (3492, 4794, 1, 14400, 13, 0, 'Wolf Bracers'), 18 | (3492, 4795, 1, 14400, 14, 0, 'Bear Bracers'), 19 | (3492, 4796, 1, 14400, 15, 0, 'Owl Bracers'); 20 | 21 | UPDATE `npc_vendor_template` SET `slot`=1 WHERE `entry`=220 && `item`=236; -- Cured Leather Armor 22 | UPDATE `npc_vendor_template` SET `slot`=2 WHERE `entry`=220 && `item`=1849; -- Cured Leather Belt 23 | UPDATE `npc_vendor_template` SET `slot`=3 WHERE `entry`=220 && `item`=237; -- Cured Leather Pants 24 | UPDATE `npc_vendor_template` SET `slot`=4 WHERE `entry`=220 && `item`=238; -- Cured Leather Boots 25 | UPDATE `npc_vendor_template` SET `slot`=5 WHERE `entry`=220 && `item`=1850; -- Cured Leather Bracers 26 | UPDATE `npc_vendor_template` SET `slot`=6 WHERE `entry`=220 && `item`=239; -- Cured Leather Gloves 27 | 28 | -- Grazlix 3493 29 | UPDATE `creature_template` SET `VendorTemplateId` = 0 WHERE `entry` = 3493; -- 238 30 | DELETE FROM `npc_vendor` WHERE `entry` = 3493; 31 | INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`, `slot`, `condition_id`, `comments`) VALUES 32 | (3493, 285, 0, 0, 1, 0, 'Scalemail Vest'), 33 | (3493, 1853, 0, 0, 2, 0, 'Scalemail Belt'), 34 | (3493, 286, 0, 0, 3, 0, 'Scalemail Pants'), 35 | (3493, 287, 0, 0, 4, 0, 'Scalemail Boots'), 36 | (3493, 1852, 0, 0, 5, 0, 'Scalemail Bracers'), 37 | (3493, 718, 0, 0, 6, 0, 'Scalemail Gloves'), 38 | (3493, 17188, 0, 0, 7, 0, 'Ringed Buckler'), 39 | (3493, 2445, 0, 0, 8, 0, 'Large Metal Shield'), 40 | (3493, 4820, 1, 14400, 9, 0, 'Guardian Buckler'), 41 | (3493, 4821, 1, 14400, 10, 0, 'Bear Buckler'), 42 | (3493, 4822, 1, 14400, 11, 0, 'Owl\'s Disk'), 43 | (3493, 4800, 1, 14400, 12, 0, 'Mighty Chain Pants'), 44 | (3493, 4816, 1, 14400, 13, 0, 'Legionnaire\'s Leggings'), 45 | (3493, 4797, 1, 14400, 14, 0, 'Fiery Cloak'), 46 | (3493, 4798, 1, 14400, 15, 0, 'Heavy Runed Cloak'), 47 | (3493, 4799, 1, 14400, 16, 0, 'Antiquated Cloak'); 48 | 49 | UPDATE npc_vendor_template SET Slot = 1 WHERE entry IN (238) AND item = 285; -- Scalemail Vest 50 | UPDATE npc_vendor_template SET Slot = 2 WHERE entry IN (238) AND item = 1853; -- Scalemail Belt 51 | UPDATE npc_vendor_template SET Slot = 3 WHERE entry IN (238) AND item = 286; -- Scalemail Pants 52 | UPDATE npc_vendor_template SET Slot = 4 WHERE entry IN (238) AND item = 287; -- Scalemail Boots 53 | UPDATE npc_vendor_template SET Slot = 5 WHERE entry IN (238) AND item = 1852; -- Scalemail Bracers 54 | UPDATE npc_vendor_template SET Slot = 6 WHERE entry IN (238) AND item = 718; -- Scalemail Gloves 55 | 56 | -------------------------------------------------------------------------------- /Updates/4546_WDB-5188_c.2832.sql: -------------------------------------------------------------------------------- 1 | -- Nixxrax Fillamug 2832 2 | -- vendor list corrected 3 | -- special 4 | UPDATE npc_vendor SET Slot = 1 WHERE entry IN (2832) AND item = 4600; -- Cherry Grog 5 | UPDATE npc_vendor SET Slot = 2 WHERE entry IN (2832) AND item = 4595; -- Junglevine Wine 6 | -- mana regen - base list 7 | UPDATE npc_vendor SET Slot = 3 WHERE entry IN (2832) AND item = 159; -- Refreshing Spring Water 8 | UPDATE npc_vendor SET Slot = 4 WHERE entry IN (2832) AND item = 1179; -- Ice Cold Milk 9 | UPDATE npc_vendor SET Slot = 5 WHERE entry IN (2832) AND item = 1205; -- Melon Juice 10 | UPDATE npc_vendor SET Slot = 6 WHERE entry IN (2832) AND item = 1708; -- Sweet Nectar 11 | UPDATE npc_vendor SET Slot = 7 WHERE entry IN (2832) AND item = 1645; -- Moonberry Juice 12 | UPDATE npc_vendor SET Slot = 8 WHERE entry IN (2832) AND item = 8766; -- Morning Glory Dew 13 | -- alcohols - base list 14 | UPDATE npc_vendor SET Slot = 9 WHERE entry IN (2832) AND item = 2723; -- Bottle of Pinot Noir 15 | UPDATE npc_vendor SET Slot = 10 WHERE entry IN (2832) AND item = 2593; -- Flask of Port 16 | UPDATE npc_vendor SET Slot = 11 WHERE entry IN (2832) AND item = 2596; -- Skin of Dwarven Stout 17 | UPDATE npc_vendor SET Slot = 12 WHERE entry IN (2832) AND item = 2594; -- Flagon of Mead 18 | UPDATE npc_vendor SET Slot = 13 WHERE entry IN (2832) AND item = 2595; -- Jug of Bourbon 19 | -- food - base list 20 | UPDATE npc_vendor SET Slot = 14 WHERE entry IN (2832) AND item = 4540; -- Tough Hunk of Bread 21 | UPDATE npc_vendor SET Slot = 15 WHERE entry IN (2832) AND item = 4541; -- Freshly Baked Bread 22 | UPDATE npc_vendor SET Slot = 16 WHERE entry IN (2832) AND item = 4542; -- Moist Cornbread 23 | UPDATE npc_vendor SET Slot = 17 WHERE entry IN (2832) AND item = 4544; -- Mulgore Spice Bread 24 | UPDATE npc_vendor SET Slot = 18 WHERE entry IN (2832) AND item = 4601; -- Soft Banana Bread 25 | UPDATE npc_vendor SET Slot = 19 WHERE entry IN (2832) AND item = 8950; -- Homemade Cherry Pie 26 | 27 | -------------------------------------------------------------------------------- /Updates/4547_WDB-5189_c.7406.sql: -------------------------------------------------------------------------------- 1 | -- Oglethorpe Obnoticus 7406 2 | UPDATE gossip_menu SET condition_id = 3834 WHERE entry = 1467 AND text_id = 2136; 3 | DELETE FROM conditions WHERE condition_entry BETWEEN 3831 AND 3834; 4 | INSERT INTO conditions(condition_entry, type, value1, value2, value3) VALUES 5 | (3831,8,648,0,0), 6 | (3832,8,836,0,0), 7 | (3833,8,2767,0,0), 8 | (3834,-2,3833,3832,3831); 9 | 10 | -------------------------------------------------------------------------------- /Updates/4548_WDB-5190_c.2670.sql: -------------------------------------------------------------------------------- 1 | -- Xizk Goodstitch 2670 2 | -- vendor list corrected 3 | UPDATE npc_vendor SET Slot = 1 WHERE entry IN (2670) AND item = 2320; -- Coarse Thread 4 | UPDATE npc_vendor SET Slot = 2 WHERE entry IN (2670) AND item = 2321; -- Fine Thread 5 | UPDATE npc_vendor SET Slot = 3 WHERE entry IN (2670) AND item = 4291; -- Silken Thread 6 | UPDATE npc_vendor SET Slot = 4 WHERE entry IN (2670) AND item = 8343; -- Heavy Silken Thread 7 | UPDATE npc_vendor SET Slot = 5 WHERE entry IN (2670) AND item = 14341; -- Rune Thread 8 | UPDATE npc_vendor SET Slot = 6 WHERE entry IN (2670) AND item = 38426; -- Eternium Thread - wotlk+ 9 | UPDATE npc_vendor SET Slot = 7 WHERE entry IN (2670) AND item = 2324; -- Bleach 10 | UPDATE npc_vendor SET Slot = 8 WHERE entry IN (2670) AND item = 6260; -- Blue Dye 11 | UPDATE npc_vendor SET Slot = 9 WHERE entry IN (2670) AND item = 2604; -- Red Dye 12 | UPDATE npc_vendor SET Slot = 10 WHERE entry IN (2670) AND item = 2605; -- Green Dye 13 | UPDATE npc_vendor SET Slot = 11 WHERE entry IN (2670) AND item = 4341; -- Yellow Dye 14 | UPDATE npc_vendor SET Slot = 12 WHERE entry IN (2670) AND item = 4340; -- Gray Dye 15 | UPDATE npc_vendor SET Slot = 13 WHERE entry IN (2670) AND item = 6261; -- Orange Dye 16 | UPDATE npc_vendor SET Slot = 14 WHERE entry IN (2670) AND item = 2325; -- Black Dye 17 | UPDATE npc_vendor SET Slot = 15 WHERE entry IN (2670) AND item = 4342; -- Purple Dye 18 | UPDATE npc_vendor SET Slot = 16 WHERE entry IN (2670) AND item = 10290; -- Pink Dye 19 | UPDATE npc_vendor SET Slot = 17 WHERE entry IN (2670) AND item = 14630; -- Orange DyePattern: Enchanter\'s Cowl 20 | UPDATE npc_vendor SET Slot = 18 WHERE entry IN (2670) AND item = 7087; -- Orange DyePattern: Crimson Silk Cloak 21 | 22 | -------------------------------------------------------------------------------- /Updates/4549_WDB-5191_c.2846.sql: -------------------------------------------------------------------------------- 1 | -- Blixrez Goodstitch 2846 2 | -- vendor list corrected 3 | UPDATE npc_vendor SET Slot = 1 WHERE entry IN (2846) AND item = 7005; -- Skinning Knife 4 | UPDATE npc_vendor SET Slot = 2 WHERE entry IN (2846) AND item = 4289; -- Salt 5 | UPDATE npc_vendor SET Slot = 3 WHERE entry IN (2846) AND item = 2320; -- Coarse Thread 6 | UPDATE npc_vendor SET Slot = 4 WHERE entry IN (2846) AND item = 2321; -- Fine Thread 7 | UPDATE npc_vendor SET Slot = 5 WHERE entry IN (2846) AND item = 4291; -- Silken Thread 8 | UPDATE npc_vendor SET Slot = 6 WHERE entry IN (2846) AND item = 8343; -- Heavy Silken Thread 9 | UPDATE npc_vendor SET Slot = 7 WHERE entry IN (2846) AND item = 14341; -- Rune Thread 10 | UPDATE npc_vendor SET Slot = 8 WHERE entry IN (2846) AND item = 38426; -- Eternium Thread - wotlk+ 11 | UPDATE npc_vendor SET Slot = 9 WHERE entry IN (2846) AND item = 2325; -- Black Dye 12 | UPDATE npc_vendor SET Slot = 10 WHERE entry IN (2846) AND item = 6260; -- Blue Dye 13 | UPDATE npc_vendor SET Slot = 11 WHERE entry IN (2846) AND item = 2604; -- Red Dye 14 | UPDATE npc_vendor SET Slot = 12 WHERE entry IN (2846) AND item = 2605; -- Green Dye 15 | UPDATE npc_vendor SET Slot = 13 WHERE entry IN (2846) AND item = 4340; -- Gray Dye 16 | UPDATE npc_vendor SET Slot = 14 WHERE entry IN (2846) AND item = 4341; -- Yellow Dye 17 | UPDATE npc_vendor SET Slot = 15 WHERE entry IN (2846) AND item = 6261; -- Orange Dye 18 | UPDATE npc_vendor SET Slot = 16 WHERE entry IN (2846) AND item = 4342; -- Purple Dye 19 | UPDATE npc_vendor SET Slot = 17 WHERE entry IN (2846) AND item = 10290; -- Pink Dye 20 | UPDATE npc_vendor SET Slot = 18 WHERE entry IN (2846) AND item = 5788; -- Pattern: Thick Murloc Armor 21 | UPDATE npc_vendor SET Slot = 19 WHERE entry IN (2846) AND item = 5789; -- Pattern: Murloc Scale Bracers 22 | 23 | -------------------------------------------------------------------------------- /Updates/4550_WDB-5192_c.2849.sql: -------------------------------------------------------------------------------- 1 | -- Qixdi Goodstitch 2849 2 | -- vendor list corrected 3 | -- rings 4 | UPDATE npc_vendor SET Slot = 1 WHERE entry IN (2849) AND item = 7338; -- Mood Ring 5 | UPDATE npc_vendor SET Slot = 4 WHERE entry IN (2849) AND item = 7339; -- Miniscule Diamond Ring 6 | UPDATE npc_vendor SET Slot = 5 WHERE entry IN (2849) AND item = 7340; -- Flawless Diamond Solitaire 7 | UPDATE npc_vendor SET Slot = 2 WHERE entry IN (2849) AND item = 7341; -- Cubic Zirconia Ring 8 | UPDATE npc_vendor SET Slot = 3 WHERE entry IN (2849) AND item = 7342; -- Silver Piffeny Band 9 | UPDATE npc_vendor SET Slot = 6 WHERE entry IN (2849) AND item = 7337; -- The Rock 10 | UPDATE npc_vendor SET Slot = 7 WHERE entry IN (2849) AND item = 37934; -- Noble\'s Elementium Signet - wotlk+ 11 | -- cloth armor 12 | UPDATE npc_vendor SET Slot = 8 WHERE entry IN (2849) AND item = 200; -- Thick Cloth Vest 13 | UPDATE npc_vendor SET Slot = 9 WHERE entry IN (2849) AND item = 3597; -- Thick Cloth Belt 14 | UPDATE npc_vendor SET Slot = 10 WHERE entry IN (2849) AND item = 201; -- Thick Cloth Pants 15 | UPDATE npc_vendor SET Slot = 11 WHERE entry IN (2849) AND item = 202; -- Thick Cloth Shoes 16 | UPDATE npc_vendor SET Slot = 12 WHERE entry IN (2849) AND item = 3598; -- Thick Cloth Bracers 17 | UPDATE npc_vendor SET Slot = 13 WHERE entry IN (2849) AND item = 203; -- Thick Cloth Gloves 18 | UPDATE npc_vendor SET Slot = 14 WHERE entry IN (2849) AND item = 2160; -- Padded Armor 19 | UPDATE npc_vendor SET Slot = 15 WHERE entry IN (2849) AND item = 3591; -- Padded Belt 20 | UPDATE npc_vendor SET Slot = 16 WHERE entry IN (2849) AND item = 2159; -- Padded Pants 21 | UPDATE npc_vendor SET Slot = 17 WHERE entry IN (2849) AND item = 2156; -- Padded Boots 22 | UPDATE npc_vendor SET Slot = 18 WHERE entry IN (2849) AND item = 3592; -- Padded Bracers 23 | UPDATE npc_vendor SET Slot = 19 WHERE entry IN (2849) AND item = 2158; -- Padded Gloves 24 | UPDATE npc_vendor SET Slot = 20 WHERE entry IN (2849) AND item = 2429; -- Russet Vest 25 | UPDATE npc_vendor SET Slot = 21 WHERE entry IN (2849) AND item = 3593; -- Russet Belt 26 | UPDATE npc_vendor SET Slot = 22 WHERE entry IN (2849) AND item = 2431; -- Russet Pants 27 | UPDATE npc_vendor SET Slot = 23 WHERE entry IN (2849) AND item = 2432; -- Russet Boots 28 | UPDATE npc_vendor SET Slot = 24 WHERE entry IN (2849) AND item = 3594; -- Russet Bracers 29 | UPDATE npc_vendor SET Slot = 25 WHERE entry IN (2849) AND item = 2434; -- Russet Gloves 30 | UPDATE npc_vendor SET Slot = 26 WHERE entry IN (2849) AND item = 3889; -- Russet Hat 31 | UPDATE npc_vendor SET Slot = 27 WHERE entry IN (2849) AND item = 2435; -- Embroidered Armor 32 | UPDATE npc_vendor SET Slot = 28 WHERE entry IN (2849) AND item = 3587; -- Embroidered Belt 33 | UPDATE npc_vendor SET Slot = 29 WHERE entry IN (2849) AND item = 2437; -- Embroidered Pants 34 | UPDATE npc_vendor SET Slot = 30 WHERE entry IN (2849) AND item = 2438; -- Embroidered Boots 35 | UPDATE npc_vendor SET Slot = 31 WHERE entry IN (2849) AND item = 3588; -- Embroidered Bracers 36 | UPDATE npc_vendor SET Slot = 32 WHERE entry IN (2849) AND item = 2440; -- Embroidered Gloves 37 | UPDATE npc_vendor SET Slot = 33 WHERE entry IN (2849) AND item = 3892; -- Embroidered Hat 38 | 39 | DELETE FROM `npc_vendor` WHERE `entry` = 2849 AND `item` = 7338; 40 | INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`, `slot`, `condition_id`, `comments`) VALUES 41 | (2849, 7338, 0, 0, 1, 0, 'Mood Ring'); 42 | 43 | -------------------------------------------------------------------------------- /Updates/4551_WDB-5193_c.2849.sql: -------------------------------------------------------------------------------- 1 | -- Sly Garrett 2622 2 | -- vendor list corrected 3 | UPDATE `npc_vendor` SET `slot`=6 WHERE `entry`=2622 && `item`=2928; -- Dust of Decay 4 | UPDATE `npc_vendor` SET `slot`=8 WHERE `entry`=2622 && `item`=2930; -- Essence of Pain 5 | UPDATE `npc_vendor` SET `slot`=2 WHERE `entry`=2622 && `item`=3371; -- Empty Vial 6 | UPDATE `npc_vendor` SET `slot`=3 WHERE `entry`=2622 && `item`=3372; -- Leaded Vial 7 | UPDATE `npc_vendor` SET `slot`=1 WHERE `entry`=2622 && `item`=5060; -- Thieves' Tools 8 | UPDATE `npc_vendor` SET `slot`=5 WHERE `entry`=2622 && `item`=5140; -- Flash Powder 9 | UPDATE `npc_vendor` SET `slot`=10 WHERE `entry`=2622 && `item`=5173; -- Deathweed 10 | UPDATE `npc_vendor` SET `slot`=9 WHERE `entry`=2622 && `item`=8923; -- Essence of Agony 11 | UPDATE `npc_vendor` SET `slot`=7 WHERE `entry`=2622 && `item`=8924; -- Dust of Deterioration 12 | UPDATE `npc_vendor` SET `slot`=4 WHERE `entry`=2622 && `item`=8925; -- Crystal Vial 13 | 14 | -- https://www.wowhead.com/classic/item=3777/lethargy-root#comments:id=3017124 15 | -- "Gray item as of 1.12, no longer sold by poison vendors" 16 | DELETE FROM `npc_vendor` WHERE `item` = 3777; 17 | DELETE FROM `npc_vendor_template` WHERE `item` = 3777; 18 | 19 | -------------------------------------------------------------------------------- /Updates/4552_WDB-5194_c.2845.sql: -------------------------------------------------------------------------------- 1 | -- Fargon Mortalak 2845 2 | -- vendor list corrected 3 | UPDATE npc_vendor SET Slot = 1 WHERE entry IN (2845) AND item = 2417; -- Augmented Chain Vest 4 | UPDATE npc_vendor SET Slot = 2 WHERE entry IN (2845) AND item = 2419; -- Augmented Chain Belt 5 | UPDATE npc_vendor SET Slot = 3 WHERE entry IN (2845) AND item = 2418; -- Augmented Chain Leggings 6 | UPDATE npc_vendor SET Slot = 4 WHERE entry IN (2845) AND item = 2420; -- Augmented Chain Boots 7 | UPDATE npc_vendor SET Slot = 5 WHERE entry IN (2845) AND item = 2421; -- Augmented Chain Bracers 8 | UPDATE npc_vendor SET Slot = 6 WHERE entry IN (2845) AND item = 2422; -- Augmented Chain Gloves 9 | UPDATE npc_vendor SET Slot = 7 WHERE entry IN (2845) AND item = 3891; -- Augmented Chain Helm 10 | UPDATE npc_vendor SET Slot = 8 WHERE entry IN (2845) AND item = 17189; -- Metal Buckler 11 | UPDATE npc_vendor SET Slot = 9 WHERE entry IN (2845) AND item = 2448; -- Heavy Pavise 12 | UPDATE npc_vendor SET Slot = 10 WHERE entry IN (2845) AND item = 12257; -- Heavy Notched Belt 13 | 14 | DELETE FROM `npc_vendor` WHERE `entry` = 2845 AND `item` = 12257; 15 | INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`, `slot`, `condition_id`, `comments`) VALUES 16 | (2845, 12257, 1, 9000, 10, 0, 'Heavy Notched Belt'); -- missing 17 | 18 | -------------------------------------------------------------------------------- /Updates/4553_WDB-5195_c.4624.sql: -------------------------------------------------------------------------------- 1 | -- Booty Bay Bruiser 4624 2 | -- poss corrected 3 | UPDATE creature SET position_x = -14415.791, position_y = 518.9218, position_z = 5.1048937, orientation = 3.176499 WHERE guid = 692; 4 | UPDATE creature SET position_x = -14426.768, position_y = 523.7902, position_z = 5.0751433, orientation = 5.7246799 WHERE guid = 698; 5 | 6 | -------------------------------------------------------------------------------- /Updates/4561_TDB-0294_VDB-20231111000820_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/f8c9d5cf98a1c2cc506380abc46305081142b83a 3 | 4 | -- Pathing for Alshirr Banebreath Entry: 14340 5 | -- https://www.youtube.com/watch?v=tYD3tUv-KqI 6 | SET @NPC := 14340; 7 | UPDATE `creature` SET `spawndist`=0,`movementtype`=4,`position_x`=4026.523,`position_y`=-555.293,`position_z`=342.505 WHERE `id`=@NPC; 8 | DELETE FROM `creature_movement_template` WHERE `entry`=@NPC; 9 | INSERT INTO `creature_movement_template` (`entry`,`point`,`positionx`,`positiony`,`positionz`,`orientation`,`waittime`) VALUES 10 | (@NPC,1,4026.523,-555.293,342.505,100,0), 11 | (@NPC,2,3999.6077,-585.43585,338.0969,100,0), 12 | (@NPC,3,3967.8643,-599.3677,338.82224,100,0), 13 | (@NPC,4,3939.5344,-610.4964,340.5994,100,0), 14 | (@NPC,5,3918.8508,-620.3714,339.56857,100,0), 15 | (@NPC,6,3893.1277,-649.1434,334.0132,100,0), 16 | (@NPC,7,3867.4185,-662.55194,330.74258,100,0), 17 | (@NPC,8,3851.004,-677.2051,328.14557,100,0), 18 | (@NPC,9,3841.1611,-713.5064,325.38644,100,0), 19 | (@NPC,10,3836.204,-740.03125,319.4985,100,0), 20 | (@NPC,11,3827.0447,-763.3758,314.87888,100,0), 21 | (@NPC,12,3818.8672,-787.662,307.59967,100,0), 22 | (@NPC,13,3792.5173,-812.1507,307.89844,100,0), 23 | (@NPC,14,3768.1362,-831.72095,310.0974,100,0), 24 | (@NPC,15,3771.9072,-848.68176,305.3522,100,0), 25 | (@NPC,16,3757.2969,-866.6099,313.99258,100,0); 26 | -- .go xyz 4026.523 -555.293 342.505 27 | 28 | UPDATE `creature_template` SET `SpeedWalk` = 1, `ResistanceArcane` = 0 WHERE `entry` = 14340; 29 | INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `comments`) VALUES (14340, 11674, -50, 0, 1, 1, 0, 'Jadefire Felbind'); 30 | DELETE FROM `creature_loot_template` WHERE `entry` = 14340 AND `item` IN (8838,8846,13466); -- Sungrass,Gromsblood,Plaguebloom 31 | 32 | -- End of migration. 33 | 34 | -------------------------------------------------------------------------------- /Updates/4563_TDB-0296_VDB-20231111010247_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/b7ce8fc63a9f1d976c32af32d9673fddc782a1a4 3 | 4 | -- Pathing for Rex Ashil Entry: 14475 5 | SET @NPC := 14475; 6 | UPDATE `creature` SET `spawndist`=0,`movementtype`=4,`position_x`=-6630.2847,`position_y`=945.4344,`position_z`=-52.96825 WHERE `id`=@NPC; 7 | DELETE FROM `creature_movement_template` WHERE `entry`=@NPC; 8 | INSERT INTO `creature_movement_template` (`entry`,`point`,`positionx`,`positiony`,`positionz`,`orientation`,`waittime`) VALUES 9 | (@NPC,1,-6630.2847,945.4344,-52.96825,100,0), 10 | (@NPC,2,-6627.747,929.4205,-53.191467,100,0), 11 | (@NPC,3,-6609.186,929.8785,-53.16585,100,0), 12 | (@NPC,4,-6591.815,909.97754,-48.229885,100,0), 13 | (@NPC,5,-6591.289,896.8762,-44.285564,100,0), 14 | (@NPC,6,-6595.7266,884.783,-44.09041,100,0), 15 | (@NPC,7,-6581.963,877.2528,-44.54215,100,0), 16 | (@NPC,8,-6570.469,885.4149,-43.199642,100,0), 17 | (@NPC,9,-6555.0957,885.0344,-39.406754,100,0), 18 | (@NPC,10,-6545.19,871.5345,-32.738403,100,0), 19 | (@NPC,11,-6535.754,862.1162,-29.028198,100,0), 20 | (@NPC,12,-6518.3926,866.1533,-30.434242,100,0), 21 | (@NPC,13,-6512.0576,887.03265,-39.736877,100,0), 22 | (@NPC,14,-6497.0356,901.76587,-41.681843,100,0), 23 | (@NPC,15,-6473.988,908.0661,-41.303955,100,0), 24 | (@NPC,16,-6480.6694,921.8447,-41.822407,100,0); 25 | -- .go xyz -6630.2847 945.4344 -52.96825 26 | 27 | UPDATE `creature_template` SET `SpeedWalk` = 1, `Faction` = 310 WHERE `entry` IN (14475,14474,14473); 28 | 29 | -- https://web.archive.org/web/20080504043440/http://wow.allakhazam.com/db/mob.html?wmob=14475 30 | -- https://web.archive.org/web/20080430161743/http://wow.allakhazam.com/db/mob.html?wmob=14474 31 | -- https://web.archive.org/web/20080430135127/http://wow.allakhazam.com/db/mob.html?wmob=14473 32 | REPLACE INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `comments`) VALUES 33 | (14475, 60445, 0.1, 0, -60445, 1, 0, 'NPC LOOT (White World Drop) - (Item Levels: 45 (14 Slot Bag)) - (NPC Levels: 41-60)'), 34 | (14474, 60446, 0.1, 0, -60446, 1, 0, '16 Slot Bag - (NPC Levels: 48+)'), 35 | (14473, 60446, 0.1, 0, -60446, 1, 0, '16 Slot Bag - (NPC Levels: 48+)'); 36 | 37 | -- End of migration. 38 | 39 | -------------------------------------------------------------------------------- /Updates/4564_TDB-0297_VDB-20231112194606_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/4e15d6972e4e14f210c427f1f17a93f335441874 3 | 4 | -- Pathing for Vile Sting Entry: 5937 5 | SET @NPC := 5937; 6 | UPDATE `creature` SET `spawndist`=0,`movementtype`=2,`position_x`=-5832.868,`position_y`=-3577.47,`position_z`=-58.645027 WHERE `id`=@NPC; 7 | DELETE FROM `creature_movement_template` WHERE `entry`=@NPC; 8 | INSERT INTO `creature_movement_template` (`entry`,`point`,`positionx`,`positiony`,`positionz`,`orientation`,`waittime`) VALUES 9 | (@NPC,1,-5832.868,-3577.47,-58.645027,100,0), 10 | (@NPC,2,-5847.7896,-3578.9922,-58.62624,100,0), 11 | (@NPC,3,-5879.2153,-3563.779,-58.624992,100,0), 12 | (@NPC,4,-5898.626,-3563.8586,-58.624992,100,0), 13 | (@NPC,5,-5906.1606,-3590.3938,-58.624973,100,0), 14 | (@NPC,6,-5906.0674,-3606.6235,-58.624973,100,0), 15 | (@NPC,7,-5923.0366,-3626.2664,-58.624973,100,0), 16 | (@NPC,8,-5945.6016,-3613.887,-58.624954,100,0), 17 | (@NPC,9,-5954.7524,-3608.444,-58.624954,100,0), 18 | (@NPC,10,-5984.0244,-3598.608,-58.624954,100,0), 19 | (@NPC,11,-6006.2593,-3598.7825,-58.624954,100,0), 20 | (@NPC,12,-6013.32,-3605.1987,-58.624954,100,0), 21 | (@NPC,13,-6023.108,-3620.3386,-58.624954,100,0), 22 | (@NPC,14,-6046.9595,-3639.2556,-58.624954,100,0), 23 | (@NPC,15,-6055.033,-3642.866,-58.624954,100,0), 24 | (@NPC,16,-6074.136,-3629.934,-58.624954,100,0), 25 | (@NPC,17,-6083.2944,-3613.5764,-58.624954,100,0), 26 | (@NPC,18,-6096.364,-3598.897,-58.624954,100,0), 27 | (@NPC,19,-6112.0825,-3584.047,-58.624954,100,0), 28 | (@NPC,20,-6129.6,-3575.8818,-58.624954,100,0), 29 | (@NPC,21,-6152.832,-3570.761,-58.624954,100,0), 30 | (@NPC,22,-6167.849,-3571.4946,-58.624954,100,0), 31 | (@NPC,23,-6176.987,-3576.321,-58.624954,100,0), 32 | (@NPC,24,-6187.7524,-3589.2395,-58.624954,100,0), 33 | (@NPC,25,-6186.82,-3620.595,-58.624954,100,0), 34 | (@NPC,26,-6186.299,-3634.014,-58.624954,100,0), 35 | (@NPC,27,-6171.7256,-3641.8333,-58.624954,100,0), 36 | (@NPC,28,-6154.3394,-3651.0803,-58.624954,100,0), 37 | (@NPC,29,-6141.6694,-3650.3577,-58.624954,100,0), 38 | (@NPC,30,-6123.28,-3640.9934,-58.624954,100,0), 39 | (@NPC,31,-6108.6865,-3623.8994,-58.624954,100,0), 40 | (@NPC,32,-6099.0645,-3600.8455,-58.624954,100,0), 41 | (@NPC,33,-6093.388,-3581.6519,-58.624954,100,0), 42 | (@NPC,34,-6096.3926,-3568.4915,-58.624954,100,0), 43 | (@NPC,35,-6062.2173,-3546.6702,-58.624966,100,0), 44 | (@NPC,36,-6048.2134,-3538.829,-58.624966,100,0), 45 | (@NPC,37,-6022.5835,-3531.2087,-58.624973,100,0), 46 | (@NPC,38,-6007.369,-3528.1714,-58.624973,100,0), 47 | (@NPC,39,-5996.6787,-3533.4485,-58.624973,100,0), 48 | (@NPC,40,-5978.62,-3529.2083,-58.624973,100,0), 49 | (@NPC,41,-5963.492,-3514.8665,-58.374992,100,0), 50 | (@NPC,42,-5950.205,-3508.0159,-58.624992,100,0), 51 | (@NPC,43,-5927.1836,-3500.981,-58.374992,100,0), 52 | (@NPC,44,-5911.841,-3499.235,-58.158527,100,0), 53 | (@NPC,45,-5883.246,-3499.5684,-58.080044,100,0), 54 | (@NPC,46,-5858.184,-3506.1418,-58.24999,100,0), 55 | (@NPC,47,-5847.03,-3516.6768,-58.49999,100,0), 56 | (@NPC,48,-5833.535,-3534.1719,-58.62499,100,0), 57 | (@NPC,49,-5827.3213,-3554.03,-58.62499,100,0); 58 | -- 0x204CB0002005CC4000056900003C219D .go xyz -5832.868 -3577.47 -58.645027 59 | 60 | -- End of migration. 61 | 62 | -------------------------------------------------------------------------------- /Updates/4565_TDB-0298_VDB-20231126224918_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/42ea6e2aa880d98db6c191bd9672bd621bacaaa4 3 | 4 | -- Pathing for Harb Foulmountain Entry: 14426 5 | SET @NPC := 14426; 6 | UPDATE `creature` SET `spawndist`=0,`movementtype`=4,`position_x`=-4929.023,`position_y`=-2066.4766,`position_z`=85.52668 WHERE `id`=@NPC; 7 | DELETE FROM `creature_movement_template` WHERE `entry`=@NPC; 8 | INSERT INTO `creature_movement_template` (`entry`,`point`,`positionx`,`positiony`,`positionz`,`orientation`,`waittime`) VALUES 9 | (@NPC,1,-4929.023,-2066.4766,85.52668,100,0), 10 | (@NPC,2,-4905.3555,-2069.9805,84.25914,100,0), 11 | (@NPC,3,-4899.6943,-2061.0269,83.636856,100,0), 12 | (@NPC,4,-4891.1626,-2039.651,83.30705,100,0), 13 | (@NPC,5,-4881.945,-2017.6359,86.298546,100,0), 14 | (@NPC,6,-4873.128,-1993.7965,91.65875,100,0), 15 | (@NPC,7,-4878.21,-1974.4436,92.018616,100,0), 16 | (@NPC,8,-4873.579,-1956.8225,90.450455,100,0), 17 | (@NPC,9,-4862.9395,-1946.7357,86.90235,100,0), 18 | (@NPC,10,-4834.9155,-1923.0642,84.13316,100,0), 19 | (@NPC,11,-4801.48,-1895.6833,89.333145,100,0), 20 | (@NPC,12,-4776.8984,-1881.0486,90.39604,100,0), 21 | (@NPC,13,-4751.4434,-1865.2213,88.92392,100,0); 22 | -- .go xyz -4929.023 -2066.4766 85.52668 23 | 24 | -- End of migration. 25 | 26 | -------------------------------------------------------------------------------- /Updates/4566_TDB-0299_VDB-20231024223737_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/e8cb6cdda6d58916e6d1e0f39a87a2e830c0007a 3 | 4 | -- Punctured Voodoo Doll should only drop from Jinxed Hoodoo Pile. 5 | DELETE FROM `creature_loot_template` WHERE `item` IN (19813, 19814, 19815, 19816, 19817, 19818, 19819, 19820, 19821); 6 | UPDATE `creature_template` SET `LootId` = 0 WHERE `entry` IN (7484,14122,14826,14884,14965,14986,15068,15101); 7 | 8 | -- End of migration. 9 | 10 | -------------------------------------------------------------------------------- /Updates/4569_WDB-5217_c.437_485.sql: -------------------------------------------------------------------------------- 1 | -- Blackrock Renegade 437 / Blackrock Outrunner 485 2 | -- he had not complete path.. - corrected 3 | UPDATE creature SET position_x = -8813.884, position_y = -2616.4678, position_z = 153.75941, orientation = 5.131268, movementtype = 2, spawndist = 0 WHERE guid = 16468; 4 | DELETE FROM creature_movement WHERE Id IN (16468); 5 | INSERT INTO creature_movement (id, point, positionx, positiony, positionz, orientation, waittime, scriptid) VALUES 6 | (16468,1 ,-8813.884,-2616.4678,153.75941,5.131268,123000,0), 7 | (16468,2 ,-8821.17,-2626.8416,150.7101,100,0,0), 8 | (16468,3 ,-8827.099,-2623.1597,148.25233,100,0,0), 9 | (16468,4 ,-8827.242,-2609.7844,143.94814,100,0,0), 10 | (16468,5 ,-8828.148,-2599.9553,142.88803,100,0,0), 11 | (16468,6 ,-8830.069,-2596.0325,142.49863,100,0,0), 12 | (16468,7 ,-8831.868,-2582.1123,135.47995,100,0,0), 13 | (16468,8 ,-8832.124,-2581.8738,135.15805,100,40000,0), 14 | (16468,9 ,-8830.887,-2588.5386,137.62045,100,0,0), 15 | (16468,10,-8830.408,-2595.9236,142.43198,100,0,0), 16 | (16468,11,-8826.907,-2602.274,142.78261,100,0,0), 17 | (16468,12,-8826.941,-2619.2734,147.1996,100,0,0), 18 | (16468,13,-8824.685,-2626.7786,149.97694,100,0,0), 19 | (16468,14,-8821.317,-2626.897,150.66786,100,0,0), 20 | (16468,15,-8817.439,-2618.9675,152.8368,100,0,0), 21 | (16468,16,-8813.884,-2616.4678,153.75941,100,0,0); 22 | 23 | -------------------------------------------------------------------------------- /Updates/4570_WDB-5218_c.7044.sql: -------------------------------------------------------------------------------- 1 | -- Black Drake 7044 2 | -- custom made paths corrected 3 | UPDATE creature SET position_x = -8237.176, position_y = -2684.231, position_z = 135.23209, movementtype = 4, spawndist = 0 WHERE guid = 5505; -- linear 4 | UPDATE creature SET position_x = -8123.1816, position_y = -3010.6086, position_z = 134.71075, movementtype = 4, spawndist = 0 WHERE guid = 3298; -- linear 5 | UPDATE creature SET position_x = -7561.112, position_y = -2696.0974, position_z = 135.42233, movementtype = 4, spawndist = 0 WHERE guid = 3299; -- linear 6 | DELETE FROM creature_movement WHERE Id IN (5505,3298,3299); 7 | INSERT INTO creature_movement (id, point, positionx, positiony, positionz, orientation, waittime, scriptid) VALUES 8 | -- 5505 9 | (5505,1 ,-8237.176,-2684.231,135.23209,100,1000,0), 10 | (5505,2 ,-8207.56,-2712.9612,134.94687,100,0,0), 11 | (5505,3 ,-8199.028,-2747.6282,135.48915,100,0,0), 12 | (5505,4 ,-8188.164,-2779.7593,137.04665,100,0,0), 13 | (5505,5 ,-8160.1494,-2817.244,135.25372,100,0,0), 14 | (5505,6 ,-8147.127,-2844.7397,134.19147,100,0,0), 15 | (5505,7 ,-8143.2163,-2888.3367,135.50519,100,0,0), 16 | (5505,8 ,-8113.307,-2899.6895,134.38165,100,0,0), 17 | (5505,9 ,-8076.1094,-2888.6902,136.71173,100,0,0), 18 | (5505,10,-8043.5947,-2900.3809,134.00684,100,1000,0), 19 | -- 3298 20 | (3298,1 ,-8123.1816,-3010.6086,134.71075,100,1000,0), 21 | (3298,2 ,-8096.231,-2979.5752,134.62573,100,0,0), 22 | (3298,3 ,-8093.461,-2976.949,135.13782,100,0,0), 23 | (3298,4 ,-8070.418,-2949.2793,134.96436,100,0,0), 24 | (3298,5 ,-8029.4185,-2950.0798,131.85631,100,0,0), 25 | (3298,6 ,-8004.0337,-2927.1172,135.04985,100,0,0), 26 | (3298,7 ,-7978.8604,-2907.4763,135.18822,100,0,0), 27 | (3298,8 ,-7942.4834,-2910.314,132.02855,100,0,0), 28 | (3298,9 ,-7908.6235,-2907.3774,133.28867,100,0,0), 29 | (3298,10,-7872.0415,-2896.6013,133.24557,100,0,0), 30 | (3298,11,-7855.9463,-2915.6008,131.1402,100,0,0), 31 | (3298,12,-7833.6963,-2933.7869,130.68336,100,0,0), 32 | (3298,13,-7811.183,-2943.0667,131.36478,100,0,0), 33 | (3298,14,-7782.134,-2957.7583,131.82463,100,0,0), 34 | (3298,15,-7758.58,-2958.6875,133.226,100,1000,0), 35 | -- 3299 36 | (3299,1 ,-7561.112,-2696.0974,135.42233,100,1000,0), 37 | (3299,2 ,-7584.803,-2720.6313,134.19186,100,0,0), 38 | (3299,3 ,-7587.231,-2757.031,133.33365,100,0,0), 39 | (3299,4 ,-7595.4165,-2777.4578,133.45833,100,0,0), 40 | (3299,5 ,-7622.7847,-2807.4326,134.05086,100,0,0), 41 | (3299,6 ,-7634.6885,-2847.6252,134.15295,100,0,0), 42 | (3299,7 ,-7637.026,-2873.7476,134.74449,100,0,0), 43 | (3299,8 ,-7653.513,-2909.5364,134.00693,100,0,0), 44 | (3299,9 ,-7676.5835,-2940.422,131.74237,100,0,0), 45 | (3299,10,-7716.7954,-2940.0413,133.39062,100,0,0), 46 | (3299,11,-7727.008,-2916.5728,133.5347,100,0,0), 47 | (3299,12,-7752.297,-2910.4277,132.56804,100,0,0), 48 | (3299,13,-7762.3423,-2879.1357,133.29114,100,0,0), 49 | (3299,14,-7770.4253,-2874.6057,133.50398,100,0,0), 50 | (3299,15,-7809.934,-2863.888,133.564,100,1000,0); 51 | 52 | -------------------------------------------------------------------------------- /Updates/4571_WDB-5219_c.7045.sql: -------------------------------------------------------------------------------- 1 | -- Scalding Drake 7045 2 | -- missing spawn added 3 | DELETE FROM creature_addon WHERE guid IN (379); 4 | DELETE FROM creature_movement WHERE id IN (379); 5 | DELETE FROM game_event_creature WHERE guid IN (379); 6 | DELETE FROM game_event_creature_data WHERE guid IN (379); 7 | DELETE FROM creature_battleground WHERE guid IN (379); 8 | DELETE FROM creature_linking WHERE guid IN (379); 9 | DELETE FROM creature where guid IN (379); 10 | INSERT INTO creature (guid, id, map, spawnMask, position_x, position_y, position_z, orientation, spawntimesecsmin, spawntimesecsmax, spawndist, MovementType) VALUES 11 | (379,7045,0,1,-8089.5835,-1292.2653,136.32478,0,300,300,0,4); -- linear 12 | DELETE FROM creature_addon WHERE guid IN(SELECT guid FROM creature WHERE id = 7045); 13 | DELETE FROM creature_template_addon WHERE entry IN (7045); 14 | INSERT INTO creature_template_addon (entry, mount, stand_state, sheath_state, emote, moveflags, auras) VALUES 15 | (7045,0,0,0,0,0,11966); 16 | DELETE FROM creature_movement WHERE Id IN (379); 17 | INSERT INTO creature_movement (id, point, positionx, positiony, positionz, orientation, waittime, scriptid) VALUES 18 | (379,1,-8089.5835,-1292.2653,136.32478,100,1000,0), 19 | (379,2,-8122.4497,-1308.1586,133.63638,100,0,0), 20 | (379,3,-8156.627,-1333.8954,137.14001,100,0,0), 21 | (379,4,-8182.317,-1357.6813,135.88515,100,0,0), 22 | (379,5,-8187.617,-1373.4078,141.1833,100,0,0), 23 | (379,6,-8213.157,-1387.947,144.71884,100,0,0), 24 | (379,7,-8232.245,-1388.5055,151.32968,100,0,0), 25 | (379,8,-8248.569,-1394.3069,156.55432,100,0,0), 26 | (379,9,-8276.903,-1374.8982,170.21965,100,1000,0); 27 | -- other 2 may also req. path rechecked 28 | 29 | -------------------------------------------------------------------------------- /Updates/4572_WDB-5220_c.7046.sql: -------------------------------------------------------------------------------- 1 | -- Searscale Drake 7046 2 | -- missing spawn added 3 | -- all paths corrected 4 | DELETE FROM creature_addon WHERE guid IN (380); 5 | DELETE FROM creature_movement WHERE id IN (380); 6 | DELETE FROM game_event_creature WHERE guid IN (380); 7 | DELETE FROM game_event_creature_data WHERE guid IN (380); 8 | DELETE FROM creature_battleground WHERE guid IN (380); 9 | DELETE FROM creature_linking WHERE guid IN (380); 10 | DELETE FROM creature where guid IN (380); 11 | INSERT INTO creature (guid, id, map, spawnMask, position_x, position_y, position_z, orientation, spawntimesecsmin, spawntimesecsmax, spawndist, MovementType) VALUES 12 | (380,7046,0,1,-8128.9985,-1231.4294,133.14838,0,300,300,0,4); -- linear 13 | UPDATE creature SET position_x = -8191.8384, position_y = -851.15344, position_z = 131.59041, movementtype = 4, spawndist = 0 WHERE guid = 3303; -- linear 14 | UPDATE creature SET position_x = -7891.5103, position_y = -1013.994, position_z = 137.89252, movementtype = 4, spawndist = 0 WHERE guid = 3297; -- linear 15 | DELETE FROM creature_movement WHERE Id IN (380,3303,3297); 16 | INSERT INTO creature_movement (id, point, positionx, positiony, positionz, orientation, waittime, scriptid) VALUES 17 | -- 380 18 | (380,1 ,-8128.9985,-1231.4294,133.14838,100,1000,0), 19 | (380,2 ,-8152.112,-1190.5287,136.43034 ,100,0,0), 20 | (380,3 ,-8156.1606,-1159.8253,137.85677,100,0,0), 21 | (380,4 ,-8147.5166,-1116.4622,134.99277,100,0,0), 22 | (380,5 ,-8139.6787,-1088.9814,131.76837,100,0,0), 23 | (380,6 ,-8140.151,-1055.7783,132.41054,100,0,0), 24 | (380,7 ,-8153.178,-1010.1317,134.30635,100,0,0), 25 | (380,8 ,-8178.578,-982.69366,135.21294,100,0,0), 26 | (380,9 ,-8197.037,-986.68555,139.70488,100,0,0), 27 | (380,10,-8204.092,-1013.8113,146.69936,100,0,0), 28 | (380,11,-8234.343,-1021.2225,144.0541 ,100,0,0), 29 | (380,12,-8237.375,-1061.8856,143.05728,100,0,0), 30 | (380,13,-8218.43,-1082.7361,145.5377 ,100,0,0), 31 | (380,14,-8207.427,-1111.4097,147.6987 ,100,0,0), 32 | (380,15,-8218.833,-1159.2101,142.76384,100,0,0), 33 | (380,16,-8240.933,-1192.1224,142.6502 ,100,0,0), 34 | (380,17,-8241.008,-1222.0096,142.68155,100,0,0), 35 | (380,18,-8233.136,-1259.2134,142.75432,100,1000,0), 36 | -- 3303 37 | (3303,1 ,-8191.8384,-851.15344,131.59041,100,1000,0), 38 | (3303,2 ,-8193.783,-882.35803,133.39124,100,0,0), 39 | (3303,3 ,-8198.333,-906.25964,133.20125,100,0,0), 40 | (3303,4 ,-8194.351,-949.52527,133.94406,100,0,0), 41 | (3303,5 ,-8186.5923,-978.08856,134.7835,100,0,0), 42 | (3303,6 ,-8206.944,-999.7561,144.76228 ,100,0,0), 43 | (3303,7 ,-8226.378,-1020.5859,144.87685,100,0,0), 44 | (3303,8 ,-8253.752,-1041.0597,147.09293,100,0,0), 45 | (3303,9 ,-8283.334,-1018.9456,157.09651,100,0,0), 46 | (3303,10,-8306.552,-1007.3849,172.97603,100,0,0), 47 | (3303,11,-8329.227,-996.4523,180.69173 ,100,0,0), 48 | (3303,12,-8352.944,-976.6074,186.17647 ,100,0,0), 49 | (3303,13,-8384.176,-960.4847,194.47307 ,100,0,0), 50 | (3303,14,-8410.112,-959.533,200.71716 ,100,0,0), 51 | (3303,15,-8432.333,-940.71124,214.40515,100,1000,0), 52 | -- 3297 53 | (3297,1 ,-7891.5103,-1013.994,137.89252,100,1000,0), 54 | (3297,2 ,-7932.4106,-991.90234,132.09488,100,0,0), 55 | (3297,3 ,-7943.4844,-971.64844,138.5109,100,0,0), 56 | (3297,4 ,-7955.0156,-950.6009,134.10463,100,0,0), 57 | (3297,5 ,-7948.0713,-920.3411,131.68126,100,0,0), 58 | (3297,6 ,-7953.653,-881.10345,129.04823,100,0,0), 59 | (3297,7 ,-7975.9517,-849.6788,130.77725,100,0,0), 60 | (3297,8 ,-7993.7275,-811.499,130.0051 ,100,0,0), 61 | (3297,9 ,-8024.173,-787.2034,129.79137 ,100,0,0), 62 | (3297,10,-8055.329,-777.452,131.31102 ,100,0,0), 63 | (3297,11,-8086.3496,-770.9297,131.66788,100,0,0), 64 | (3297,12,-8110.627,-755.1543,134.6248 ,100,0,0), 65 | (3297,13,-8136.369,-734.6985,137.62631 ,100,0,0), 66 | (3297,14,-8141.612,-752.7918,134.28378 ,100,0,0), 67 | (3297,15,-8156.79,-786.2441,129.92723 ,100,0,0), 68 | (3297,16,-8184.1006,-813.03766,129.50462,100,1000,0); 69 | 70 | -------------------------------------------------------------------------------- /Updates/4573_WDB-5221_c.9044.sql: -------------------------------------------------------------------------------- 1 | -- Scarshield Sentry 9044 2 | UPDATE `creature_template_addon` SET `auras` = 8278 WHERE `entry` = 9044; 3 | 4 | -------------------------------------------------------------------------------- /Updates/4573_WDB-5223_c.5833.sql: -------------------------------------------------------------------------------- 1 | -- Margol the Rager 5833 2 | -- custom made wps fixed 3 | UPDATE creature SET position_x = -7233.3613, position_y = -1883.0825, position_z = 294.2101, spawndist = 0, MovementType = 4 WHERE id = 5833; 4 | UPDATE creature_template SET MovementType = 4 WHERE Entry = 5833; -- linear 5 | DELETE FROM creature_movement WHERE id IN (6825); 6 | DELETE FROM creature_movement_template WHERE entry = 5833; 7 | INSERT INTO creature_movement_template (Entry, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId) VALUES 8 | (5833,1 ,-7233.3613,-1883.0825,294.2101,100,1000,0), 9 | (5833,2 ,-7211.1333,-1900.2031,305.948,100,0,0), 10 | (5833,3 ,-7191.6655,-1900.2885,315.52475,100,0,0), 11 | (5833,4 ,-7171.328,-1867.002,312.42758,100,0,0), 12 | (5833,5 ,-7187.06,-1901.5781,317.0272,100,0,0), 13 | (5833,6 ,-7194.8438,-1935.5002,320.0126,100,0,0), 14 | (5833,7 ,-7200.452,-1957.6002,313.0283,100,0,0), 15 | (5833,8 ,-7237.8926,-1957.5543,306.86243,100,0,0), 16 | (5833,9 ,-7267.9097,-1944.3954,296.29297,100,0,0), 17 | (5833,10,-7292.1475,-1949.4032,299.10107,100,0,0), 18 | (5833,11,-7310.0835,-1957.6923,298.0804,100,0,0), 19 | (5833,12,-7324.4785,-1962.267,298.08063,100,1000,0); 20 | 21 | -------------------------------------------------------------------------------- /Updates/4577_WDB-5228_c.15125.sql: -------------------------------------------------------------------------------- 1 | -- Kosco Copperpinch 15125 2 | -- vendor list corrected 3 | DELETE FROM `npc_vendor` WHERE `entry` = 15125; 4 | UPDATE `creature_template` SET `VendorTemplateId` = 451 WHERE `entry` = 15125; 5 | 6 | -------------------------------------------------------------------------------- /Updates/4580_WDB-5232_c.11803.sql: -------------------------------------------------------------------------------- 1 | -- Twilight Keeper Exeter 11803 2 | UPDATE creature_template SET MovementType = 4 WHERE entry = 11803; 3 | UPDATE creature SET position_x = -7979.9775, position_y = 1972.1543, position_z = 6.459576, orientation = 3.578, spawndist = 0, MovementType = 4 WHERE id = 11803; 4 | DELETE FROM creature_movement_template WHERE entry = 11803; 5 | INSERT INTO creature_movement_template (Entry, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId) VALUES 6 | (11803,1,-7979.9775,1972.1543,6.459576,100,3000,0), 7 | (11803,2,-7972.6157,1976.5465,7.2366757,100,0,0), 8 | (11803,3,-7964.69,1977.1038,6.8965645,100,0,0), 9 | (11803,4,-7957.2954,1977.9607,6.0370674,100,0,0), 10 | (11803,5,-7952.4517,1979.7828,5.5264473,100,3000,0); 11 | -------------------------------------------------------------------------------- /Updates/4581_WDB-5233_c.14536.sql: -------------------------------------------------------------------------------- 1 | -- Nelson the Nice 14536 2 | -- custom made path corrected 3 | UPDATE creature_template SET MovementType = 2 WHERE entry = 14536; 4 | UPDATE creature SET position_x = -7950.178, position_y = 1662.9937, position_z = -2.9775972, spawndist = 0, MovementType = 2 WHERE id = 14536; 5 | DELETE FROM creature_movement_template WHERE entry = 14536; 6 | INSERT INTO creature_movement_template (Entry, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId) VALUES 7 | (14536,1 ,-7950.178,1662.9937,-2.9775972 ,100,0,0), 8 | (14536,2 ,-7928.3657,1632.5812,-1.9917884,100,0,0), 9 | (14536,3 ,-7914.6235,1607.4026,-3.0713782,100,0,0), 10 | (14536,4 ,-7892.441,1592.7338,1.094936 ,100,0,0), 11 | (14536,5 ,-7875.0347,1581.6559,3.0660052 ,100,0,0), 12 | (14536,6 ,-7852.633,1559.6237,1.571295 ,100,0,0), 13 | (14536,7 ,-7811.7466,1547.4664,0.4936111 ,100,0,0), 14 | (14536,8 ,-7788.5635,1526.3093,1.4082973 ,100,0,0), 15 | (14536,9 ,-7763.104,1521.2054,0.3377204 ,100,0,0), 16 | (14536,10,-7733.0513,1522.4825,-2.4450762,100,0,0), 17 | (14536,11,-7701.278,1529.7029,3.7853925 ,100,0,0), 18 | (14536,12,-7686.6147,1541.9342,5.5802107 ,100,0,0), 19 | (14536,13,-7672.221,1569.4069,4.420603 ,100,0,0), 20 | (14536,14,-7656.3657,1599.2623,3.2743511 ,100,0,0), 21 | (14536,15,-7682.0547,1629.5055,5.3350554 ,100,0,0), 22 | (14536,16,-7710.0635,1661.5142,7.004558 ,100,0,0), 23 | (14536,17,-7722.5034,1674.0592,6.9215446 ,100,0,0), 24 | (14536,18,-7733.4443,1689.2693,7.6656585 ,100,0,0), 25 | (14536,19,-7753.866,1697.2008,3.1159759 ,100,0,0), 26 | (14536,20,-7777.541,1710.3992,2.0120997 ,100,0,0), 27 | (14536,21,-7779.569,1749.0374,0.80310345 ,100,0,0), 28 | (14536,22,-7782.5825,1777.8014,1.4106498 ,100,0,0), 29 | (14536,23,-7786.897,1810.2579,0.92745066 ,100,0,0), 30 | (14536,24,-7794.155,1834.4705,2.3242617 ,100,0,0), 31 | (14536,25,-7820.5547,1838.056,4.6593256 ,100,0,0), 32 | (14536,26,-7851.876,1834.113,2.7069373 ,100,0,0), 33 | (14536,27,-7876.3247,1820.5447,2.5641465 ,100,0,0), 34 | (14536,28,-7899.638,1806.6832,1.7395616 ,100,0,0), 35 | (14536,29,-7924.137,1791.4469,2.2945232 ,100,0,0), 36 | (14536,30,-7935.1504,1766.2926,-1.7745214,100,0,0), 37 | (14536,31,-7943.432,1732.4854,-2.0339909 ,100,0,0), 38 | (14536,32,-7960.3003,1705.2145,-2.5652409,100,0,0); 39 | -------------------------------------------------------------------------------- /Updates/4583_TDB-0323_10hwar_dynguid.sql: -------------------------------------------------------------------------------- 1 | -- remove dynguid from wareffort npcs (breaking game_event linking) 2 | UPDATE `creature_template` SET `ExtraFlags` = `ExtraFlags`&~1048576 WHERE `Faction` = 370; 3 | UPDATE `creature_template` SET `ExtraFlags` = `ExtraFlags`&~1048576 WHERE `entry` IN ( 4 | 15414, -- Qiraji Wasp 5 | 15421, -- Qiraji Drone 6 | 15422, -- Qiraji Tank 7 | 15423, -- Kaldorei Infantry 8 | 15424 -- Anubisath Conqueror 9 | -- 23872 -- Coren Direbrew // ? 10 | ); 11 | -- bonus 12 | UPDATE `gameobject_template` SET `ExtraFlags` = `ExtraFlags`&~2 WHERE `entry` = 180524; 13 | 14 | -------------------------------------------------------------------------------- /Updates/4583_c17249_name.sql: -------------------------------------------------------------------------------- 1 | -- Correct name for Landro Longshot 17249 2 | -- https://github.com/cmangos/issues/issues/3609 3 | -- ServerToClient: SMSG_CREATURE_QUERY_RESPONSE (0x0061) Length: 89 ConnectionIndex: 0 Time: 11/01/2007 08:43:58.000 Number: 9116 4 | -- Entry: 17249 5 | -- [0] Name: Landro Longshot 6 | UPDATE `creature_template` SET `name` = 'Landro Longshot' WHERE `entry` = 17249; 7 | 8 | -------------------------------------------------------------------------------- /Updates/4585_doan.sql: -------------------------------------------------------------------------------- 1 | 2 | DELETE FROM `creature_loot_template` WHERE (`entry` = '6487') and (`item` = '7714'); 3 | DELETE FROM `creature_loot_template` WHERE (`entry` = '6487') and (`item` = '7713'); 4 | UPDATE `creature_loot_template` SET `item` = '35042', `ChanceOrQuestChance` = '100', `groupid` = '0', `mincountOrRef` = '-35042', `comments` = 'Scarlet Monastery (Boss Loot) - Arcanist Doan - Blue Items (Group 1)' WHERE (`entry` = '6487') and (`item` = '7711'); 5 | UPDATE `creature_loot_template` SET `item` = '35041', `ChanceOrQuestChance` = '100', `groupid` = '0', `mincountOrRef` = '-35041', `comments` = 'Scarlet Monastery (Boss Loot) - Arcanist Doan - Green Items (Group 2)' WHERE (`entry` = '6487') and (`item` = '7712'); 6 | 7 | DELETE FROM `reference_loot_template` WHERE `entry` IN (30011,30012,35041,35042); 8 | INSERT INTO `reference_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `comments`) VALUES 9 | ('35041', '7711', '0', '1', '1', '1', '0', 'Robe of Doan'), 10 | ('35041', '7712', '0', '1', '1', '1', '0', 'Mantle of Doan'), 11 | ('35042', '7713', '0', '1', '1', '1', '0', 'Illusionary Rod'), 12 | ('35042', '7714', '0', '1', '1', '1', '0', 'Hypnotic Blade'); 13 | 14 | INSERT INTO `reference_loot_template_names` (`entry`, `name`) VALUES 15 | ('35042', 'Scarlet Monastery (Boss Loot) - Arcanist Doan - Blue Items (Group 1)'), 16 | ('35041', 'Scarlet Monastery (Boss Loot) - Arcanist Doan - Green Items (Group 2)'); 17 | 18 | -------------------------------------------------------------------------------- /Updates/4587_core_sync.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE db_version CHANGE COLUMN required_z2815_01_mangos_pursuit required_z2816_01_mangos_precision_decimal bit; 2 | 3 | 4 | -------------------------------------------------------------------------------- /Updates/4588_WDB-5234_c.11745_11747.sql: -------------------------------------------------------------------------------- 1 | -- Cyclone Warrior 11745 / Desert Rager 11747 2 | -- we have wps only for 2 of them (100% they're more) 3 | -- also i found, that they share spawn points (+ the same paths). 4 | -- Only question is - if theres smth more, like spawn Cyclone Warrior 5 | -- only when air invasion is ON.. or smth like that... 6 | -- this need to be confirmed one day. 7 | DELETE FROM creature_spawn_entry WHERE entry IN (11745,11747); 8 | INSERT INTO creature_spawn_entry (guid,entry) 9 | SELECT guid,id FROM creature 10 | WHERE id in (11745) 11 | union 12 | SELECT guid,11747 FROM creature 13 | WHERE id in (11745) 14 | union 15 | SELECT guid,id FROM creature 16 | WHERE id in (11747) 17 | union 18 | SELECT guid,11745 FROM creature 19 | WHERE id in (11747); 20 | UPDATE creature SET id = 0 WHERE id IN (11745,11747); 21 | 22 | -------------------------------------------------------------------------------- /Updates/4589_WDB-5236_c.3364.sql: -------------------------------------------------------------------------------- 1 | -- Borya 3364 2 | -- all patterns available at same time 3 | -- vendor list corrected 4 | UPDATE npc_vendor SET Slot = 1 WHERE entry IN (3364) AND item = 2320; -- Coarse Thread 5 | UPDATE npc_vendor SET Slot = 2 WHERE entry IN (3364) AND item = 2321; -- Fine Thread 6 | UPDATE npc_vendor SET Slot = 3 WHERE entry IN (3364) AND item = 4291; -- Silken Thread 7 | UPDATE npc_vendor SET Slot = 4 WHERE entry IN (3364) AND item = 8343; -- Heavy Silken Thread 8 | UPDATE npc_vendor SET Slot = 5 WHERE entry IN (3364) AND item = 14341; -- Rune Thread 9 | UPDATE npc_vendor SET Slot = 6 WHERE entry IN (3364) AND item = 38426; -- Eternium Thread 10 | UPDATE npc_vendor SET Slot = 7 WHERE entry IN (3364) AND item = 2324; -- Bleach 11 | UPDATE npc_vendor SET Slot = 8 WHERE entry IN (3364) AND item = 2604; -- Red Dye 12 | UPDATE npc_vendor SET Slot = 9 WHERE entry IN (3364) AND item = 6260; -- Blue Dye 13 | UPDATE npc_vendor SET Slot = 10 WHERE entry IN (3364) AND item = 2605; -- Green Dye 14 | UPDATE npc_vendor SET Slot = 11 WHERE entry IN (3364) AND item = 4341; -- Yellow Dye 15 | UPDATE npc_vendor SET Slot = 12 WHERE entry IN (3364) AND item = 4340; -- Gray Dye 16 | UPDATE npc_vendor SET Slot = 13 WHERE entry IN (3364) AND item = 6261; -- Orange Dye 17 | UPDATE npc_vendor SET Slot = 14 WHERE entry IN (3364) AND item = 2325; -- Black Dye 18 | UPDATE npc_vendor SET Slot = 15 WHERE entry IN (3364) AND item = 4342; -- Purple Dye 19 | UPDATE npc_vendor SET Slot = 16 WHERE entry IN (3364) AND item = 10290; -- Pink Dye 20 | UPDATE npc_vendor SET Slot = 17 WHERE entry IN (3364) AND item = 5772; -- Pattern: Red Woolen Bag 21 | UPDATE npc_vendor SET Slot = 18 WHERE entry IN (3364) AND item = 6270; -- Pattern: Blue Linen Vest 22 | UPDATE npc_vendor SET Slot = 19 WHERE entry IN (3364) AND item = 6274; -- Pattern: Blue Overalls 23 | UPDATE npc_vendor SET Slot = 20 WHERE entry IN (3364) AND item = 10314; -- Pattern: Lavender Mageweave Shirt 24 | UPDATE npc_vendor SET Slot = 21 WHERE entry IN (3364) AND item = 10317; -- Pattern: Pink Mageweave Shirt 25 | 26 | -------------------------------------------------------------------------------- /Updates/4590_WDB-5237_c.3366.sql: -------------------------------------------------------------------------------- 1 | -- Tamar 3366 2 | -- vendor list corrected 3 | UPDATE npc_vendor SET Slot = 1 WHERE entry IN (3366) AND item = 7005; -- Skinning Knife 4 | UPDATE npc_vendor SET Slot = 2 WHERE entry IN (3366) AND item = 4289; -- Salt 5 | UPDATE npc_vendor SET Slot = 3 WHERE entry IN (3366) AND item = 2320; -- Coarse Thread 6 | UPDATE npc_vendor SET Slot = 4 WHERE entry IN (3366) AND item = 2321; -- Fine Thread 7 | UPDATE npc_vendor SET Slot = 5 WHERE entry IN (3366) AND item = 4291; -- Silken Thread 8 | UPDATE npc_vendor SET Slot = 6 WHERE entry IN (3366) AND item = 8343; -- Heavy Silken Thread 9 | UPDATE npc_vendor SET Slot = 7 WHERE entry IN (3366) AND item = 14341; -- Rune Thread 10 | UPDATE npc_vendor SET Slot = 8 WHERE entry IN (3366) AND item = 38426; -- Eternium Thread 11 | UPDATE npc_vendor SET Slot = 9 WHERE entry IN (3366) AND item = 2325; -- Black Dye 12 | UPDATE npc_vendor SET Slot = 10 WHERE entry IN (3366) AND item = 6260; -- Blue Dye 13 | UPDATE npc_vendor SET Slot = 11 WHERE entry IN (3366) AND item = 2604; -- Red Dye 14 | UPDATE npc_vendor SET Slot = 12 WHERE entry IN (3366) AND item = 2605; -- Green Dye 15 | UPDATE npc_vendor SET Slot = 13 WHERE entry IN (3366) AND item = 4340; -- Gray Dye 16 | UPDATE npc_vendor SET Slot = 14 WHERE entry IN (3366) AND item = 4341; -- Yellow Dye 17 | UPDATE npc_vendor SET Slot = 15 WHERE entry IN (3366) AND item = 6261; -- Orange Dye 18 | UPDATE npc_vendor SET Slot = 16 WHERE entry IN (3366) AND item = 4342; -- Purple Dye 19 | UPDATE npc_vendor SET Slot = 17 WHERE entry IN (3366) AND item = 10290; -- Pink Dye 20 | UPDATE npc_vendor SET Slot = 18 WHERE entry IN (3366) AND item = 18731; -- Pattern: Heavy Leather Ball 21 | 22 | -------------------------------------------------------------------------------- /Updates/4591_WDB-5238_c.3316.sql: -------------------------------------------------------------------------------- 1 | -- Handor 3316 2 | -- vendor list corrected 3 | UPDATE npc_vendor SET Slot = 1 WHERE entry IN (3316) AND item = 2160; -- Padded Armor 4 | UPDATE npc_vendor SET Slot = 2 WHERE entry IN (3316) AND item = 3591; -- Padded Belt 5 | UPDATE npc_vendor SET Slot = 3 WHERE entry IN (3316) AND item = 2159; -- Padded Pants 6 | UPDATE npc_vendor SET Slot = 4 WHERE entry IN (3316) AND item = 2156; -- Padded Boots 7 | UPDATE npc_vendor SET Slot = 5 WHERE entry IN (3316) AND item = 3592; -- Padded Bracers 8 | UPDATE npc_vendor SET Slot = 6 WHERE entry IN (3316) AND item = 2158; -- Padded Gloves 9 | UPDATE npc_vendor SET Slot = 7 WHERE entry IN (3316) AND item = 2141; -- Cuirboulli Vest 10 | UPDATE npc_vendor SET Slot = 8 WHERE entry IN (3316) AND item = 2142; -- Cuirboulli Belt 11 | UPDATE npc_vendor SET Slot = 9 WHERE entry IN (3316) AND item = 2146; -- Cuirboulli Pants 12 | UPDATE npc_vendor SET Slot = 10 WHERE entry IN (3316) AND item = 2143; -- Cuirboulli Boots 13 | UPDATE npc_vendor SET Slot = 11 WHERE entry IN (3316) AND item = 2144; -- Cuirboulli Bracers 14 | UPDATE npc_vendor SET Slot = 12 WHERE entry IN (3316) AND item = 2145; -- Cuirboulli Gloves 15 | UPDATE npc_vendor SET Slot = 13 WHERE entry IN (3316) AND item = 2429; -- Russet Vest 16 | UPDATE npc_vendor SET Slot = 14 WHERE entry IN (3316) AND item = 3593; -- Russet Belt 17 | UPDATE npc_vendor SET Slot = 15 WHERE entry IN (3316) AND item = 2431; -- Russet Pants 18 | UPDATE npc_vendor SET Slot = 16 WHERE entry IN (3316) AND item = 2432; -- Russet Boots 19 | UPDATE npc_vendor SET Slot = 17 WHERE entry IN (3316) AND item = 3594; -- Russet Bracers 20 | UPDATE npc_vendor SET Slot = 18 WHERE entry IN (3316) AND item = 2434; -- Russet Gloves 21 | UPDATE npc_vendor SET Slot = 19 WHERE entry IN (3316) AND item = 3889; -- Russet Hat 22 | UPDATE npc_vendor SET Slot = 20 WHERE entry IN (3316) AND item = 2463; -- Studded Doublet 23 | UPDATE npc_vendor SET Slot = 21 WHERE entry IN (3316) AND item = 2464; -- Studded Belt 24 | UPDATE npc_vendor SET Slot = 22 WHERE entry IN (3316) AND item = 2465; -- Studded Pants 25 | UPDATE npc_vendor SET Slot = 23 WHERE entry IN (3316) AND item = 2467; -- Studded Boots 26 | UPDATE npc_vendor SET Slot = 24 WHERE entry IN (3316) AND item = 2468; -- Studded Bracers 27 | UPDATE npc_vendor SET Slot = 25 WHERE entry IN (3316) AND item = 2469; -- Studded Gloves 28 | UPDATE npc_vendor SET Slot = 26 WHERE entry IN (3316) AND item = 3890; -- Studded Hat 29 | UPDATE npc_vendor SET Slot = 27 WHERE entry IN (3316) AND item = 2435; -- Embroidered Armor 30 | UPDATE npc_vendor SET Slot = 28 WHERE entry IN (3316) AND item = 3587; -- Embroidered Belt 31 | UPDATE npc_vendor SET Slot = 29 WHERE entry IN (3316) AND item = 2437; -- Embroidered Pants 32 | UPDATE npc_vendor SET Slot = 30 WHERE entry IN (3316) AND item = 2438; -- Embroidered Boots 33 | UPDATE npc_vendor SET Slot = 31 WHERE entry IN (3316) AND item = 3588; -- Embroidered Bracers 34 | UPDATE npc_vendor SET Slot = 32 WHERE entry IN (3316) AND item = 2440; -- Embroidered Gloves 35 | UPDATE npc_vendor SET Slot = 33 WHERE entry IN (3316) AND item = 3892; -- Embroidered Hat 36 | UPDATE npc_vendor SET Slot = 34 WHERE entry IN (3316) AND item = 2470; -- Reinforced Leather Vest 37 | UPDATE npc_vendor SET Slot = 35 WHERE entry IN (3316) AND item = 2471; -- Reinforced Leather Belt 38 | UPDATE npc_vendor SET Slot = 36 WHERE entry IN (3316) AND item = 2472; -- Reinforced Leather Pants 39 | UPDATE npc_vendor SET Slot = 37 WHERE entry IN (3316) AND item = 2473; -- Reinforced Leather Boots 40 | UPDATE npc_vendor SET Slot = 38 WHERE entry IN (3316) AND item = 2474; -- Reinforced Leather Bracers 41 | UPDATE npc_vendor SET Slot = 39 WHERE entry IN (3316) AND item = 2475; -- Reinforced Leather Gloves 42 | UPDATE npc_vendor SET Slot = 40 WHERE entry IN (3316) AND item = 3893; -- Reinforced Leather Cap 43 | UPDATE npc_vendor SET Slot = 41 WHERE entry IN (3316) AND item = 12256; -- Cindercloth Leggings 44 | 45 | -------------------------------------------------------------------------------- /Updates/4592_WDB-5260_c.1448.sql: -------------------------------------------------------------------------------- 1 | -- Neal Allen 1448 2 | -- was wrongly put into templates 3 | UPDATE creature_template SET VendorTemplateId = 0 WHERE entry = 1448; 4 | -- recreate his correct vendor list 5 | DELETE FROM npc_vendor WHERE entry IN (1448); 6 | INSERT INTO npc_vendor (entry, item, maxcount, incrtime, slot, condition_id, comments) VALUES 7 | (1448,5956,0,0,1,0,'Blacksmith Hammer'), 8 | (1448,2901,0,0,2,0,'Mining Pick'), 9 | (1448,4399,0,0,3,0,'Wooden Stock'), 10 | (1448,4400,0,0,4,0,'Heavy Stock'), 11 | -- (1448,40533,0,0,5,0,'Walnut Stock'), 12 | -- (1448,39684,0,0,6,0,'Hair Trigger'), 13 | (1448,2880,0,0,7,0,'Weak Flux'), 14 | (1448,3466,0,0,8,0,'Strong Flux'), 15 | (1448,10648,0,0,9,0,'Common Parchment'), 16 | (1448,10647,0,0,10,0,'Engineer\'s Ink'), 17 | -- these are restock - shold spawn randomly (2-3max per spawn) 18 | (1448,4382,1,10800,11,0,'Bronze Framework'), 19 | (1448,4361,2,9000,12,0,'Copper Tube'), 20 | (1448,4371,2,9000,13,0,'Bronze Tube'), 21 | (1448,4363,2,9000,14,0,'Copper Modulator'), 22 | (1448,4357,4,9000,15,0,'Rough Blasting Powder'), 23 | (1448,4364,4,9000,16,0,'Coarse Blasting Powder'), 24 | (1448,4389,1,9000,17,0,'Gyrochronatom'), 25 | (1448,4404,3,9000,18,0,'Silver Contact'), 26 | -- end of restock group 27 | (1448,159,0,0,19,0,'Refreshing Spring Water'), 28 | (1448,1179,0,0,20,0,'Ice Cold Milk'), 29 | (1448,1205,0,0,21,0,'Melon Juice'), 30 | (1448,4498,0,0,22,0,'Brown Leather Satchel'), 31 | (1448,4497,0,0,23,0,'Heavy Brown Bag'), 32 | (1448,2515,0,0,24,0,'Sharp Arrow'), 33 | (1448,3030,0,0,25,0,'Razor Arrow'), 34 | (1448,2519,0,0,26,0,'Heavy Shot'), 35 | (1448,3033,0,0,27,0,'Solid Shot'), 36 | (1448,4470,0,0,28,0,'Simple Wood'), -- Removed in WoTLK 3.1.3 37 | (1448,4471,0,0,29,0,'Flint and Tinder'), -- Removed in ??? 38 | (1448,3107,0,0,28,0,'Keen Throwing Knife'), -- 25873 tbc+ 39 | (1448,3108,0,0,29,0,'Heavy Throwing Dagger'), -- 29009 tbc+ 40 | (1448,3135,0,0,30,0,'Sharp Throwing Axe'), -- 29008 tbc+ 41 | (1448,3137,0,0,31,0,'Deadly Throwing Axe'); -- 25875 tbc+ 42 | -- (1448,20970,1,3600,32,0,'Design: Pendant of the Agate Shield'); -- tbc+ (tbc timer taken - https://www.wowhead.com/tbc/item=20970/design-pendant-of-the-agate-shield#comments:id=5203951) 43 | 44 | -------------------------------------------------------------------------------- /Updates/4593_WDB-5261_existing_vendorlists.sql: -------------------------------------------------------------------------------- 1 | -- Vendor lists added in WoTLKDBv1.8 2 | 3 | -- slots will start now from 1 (prev. =0) 4 | 5 | -- Roberto Pupellyverbos 277 6 | -- vendor list corrected 7 | DELETE FROM `npc_vendor` WHERE entry = 277; 8 | INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`, `slot`, `condition_id`, `comments`) VALUES 9 | (277,1941,0,0,1,0,'Cask of Merlot'), 10 | (277,2723,0,0,2,0,'Bottle of Pinot Noir'), 11 | (277,2593,0,0,3,0,'Flask of Port'), 12 | (277,2596,0,0,4,0,'Skin of Dwarven Stout'), 13 | (277,2594,0,0,5,0,'Flagon of Mead'), 14 | (277,2595,0,0,6,0,'Jug of Bourbon'); 15 | 16 | -- Tharynn Bouden 66 17 | -- vendor list corrected 18 | DELETE FROM `npc_vendor` WHERE entry = 66; 19 | INSERT INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`, `slot`, `condition_id`, `comments`) VALUES 20 | (66,6270,1,9000,1,0,'Pattern: Blue Linen Vest'), 21 | (66,7005,0,0,2,0,'Skinning Knife'), 22 | (66,2901,0,0,3,0,'Mining Pick'), 23 | (66,5956,0,0,4,0,'Blacksmith Hammer'), 24 | (66,6256,0,0,5,0,'Fishing Pole'), 25 | (66,6217,0,0,6,0,'Copper Rod'), 26 | (66,2678,0,0,7,0,'Mild Spices'), 27 | -- (66,30817,0,0,8,0,'Simple Flour'), -- tbc+ 28 | (66,2320,0,0,9,0,'Coarse Thread'), 29 | (66,2880,0,0,10,0,'Weak Flux'), 30 | (66,3371,0,0,11,0,'Empty Vial'), 31 | (66,4289,0,0,12,0,'Salt'), 32 | (66,6529,0,0,13,0,'Shiny Bauble'), 33 | (66,2604,0,0,14,0,'Red Dye'), 34 | (66,2324,0,0,15,0,'Bleach'), 35 | (66,6260,0,0,16,0,'Blue Dye'), 36 | -- (66,10648,0,0,17,0,'Common Parchment'), -- wotlk+ 37 | -- (66,39354,0,0,18,0,'Light Parchment'), -- wotlk+ 38 | (66,6325,0,0,19,0,'Recipe: Brilliant Smallfish'), 39 | (66,6328,0,0,20,0,'Recipe: Longjaw Mud Snapper'); 40 | 41 | -------------------------------------------------------------------------------- /Updates/4596_WDB-5268_Kalai_Ruins.sql: -------------------------------------------------------------------------------- 1 | -- Kal'ai Ruins - Updates 2 | -- duplicates 3 | DELETE FROM creature_addon WHERE guid=1196; 4 | DELETE FROM creature_movement WHERE Id=1196; 5 | DELETE FROM game_event_creature WHERE guid=1196; 6 | DELETE FROM game_event_creature_data WHERE guid=1196; 7 | DELETE FROM creature_battleground WHERE guid=1196; 8 | DELETE FROM creature_linking WHERE guid=1196 9 | OR master_guid=1196; 10 | DELETE FROM creature WHERE guid=1196; 11 | -- custom made wps corrected 12 | UPDATE creature SET position_x = -12129.408, position_y = -148.65723, position_z = 30.96006, spawndist = 0, MovementType = 4 WHERE guid = 2135; -- linear 13 | UPDATE creature SET position_x = -12020.774, position_y = 80.57661, position_z = 0.38511896, spawndist = 0, MovementType = 4 WHERE guid = 1199; -- linear 14 | DELETE FROM creature_movement WHERE id IN (2135,1199); 15 | INSERT INTO creature_movement (id, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId) VALUES 16 | -- 2135 17 | (2135,1 ,-12129.408,-148.65723,30.96006,100,1000,0), 18 | (2135,2 ,-12142.46,-133.32368,28.572948,100,0,0), 19 | (2135,3 ,-12146.889,-128.78212,27.210155,100,0,0), 20 | (2135,4 ,-12156.635,-126.57422,21.41914,100,0,0), 21 | (2135,5 ,-12165.236,-118.20703,17.66914,100,0,0), 22 | (2135,6 ,-12174.133,-105.56966,16.24839,100,0,0), 23 | (2135,7 ,-12172.082,-92.25087,16.628319,100,0,0), 24 | (2135,8 ,-12168.722,-84.88792,17.635887,100,0,0), 25 | (2135,9 ,-12162.17,-79.594185,16.194689,100,0,0), 26 | (2135,10,-12157.535,-69.06304,11.814806,100,1000,0), 27 | -- 1199 28 | (1199,1,-12020.774,80.57661,0.38511896,100,1000,0), 29 | (1199,2,-12041.212,78.19477,-3.151064,100,0,0), 30 | (1199,3,-12064,72.333115,-4.706606,100,0,0), 31 | (1199,4,-12103.41,58.767143,-7.278742,100,0,0), 32 | (1199,5,-12125.251,38.560223,-6.272272,100,0,0), 33 | (1199,6,-12136.407,9.611546,-4.414446,100,1000,0); 34 | 35 | -------------------------------------------------------------------------------- /Updates/4599_WDB-5275_c.6182.sql: -------------------------------------------------------------------------------- 1 | -- Daphne Stilwell 6182 2 | -- custom made path corrected 3 | UPDATE creature SET position_x = -11482.304, position_y = 1557.4106, position_z = 48.70583, orientation = 4.26775, spawndist = 0, MovementType = 2 WHERE id = 6182; 4 | DELETE FROM creature_movement WHERE Id=66979; 5 | UPDATE creature_template SET MovementType = 2 WHERE Entry = 6182; 6 | DELETE FROM creature_movement_template WHERE entry = 6182; 7 | INSERT INTO creature_movement_template (Entry, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId) VALUES 8 | (6182,1 ,-11482.304,1557.4106,48.70583,100,11000,0), 9 | (6182,2 ,-11476.278,1557.6038,48.70583,100,0,0), 10 | (6182,3 ,-11470.299,1559.1139,48.58083,100,2000,0), 11 | (6182,4 ,-11470.382,1563.5004,48.58083,100,1000,0), 12 | (6182,5 ,-11464.786,1565.625,48.846966,100,10000,618201), 13 | (6182,6 ,-11465.664,1567.7332,48.7971,100,0,0), 14 | (6182,7 ,-11465.914,1569.9832,48.7971,100,0,0), 15 | (6182,8 ,-11465.041,1570.8412,48.747234,100,0,0), 16 | (6182,9 ,-11465.041,1570.8412,48.747234,6.21337,10000,618201), 17 | (6182,10,-11471.896,1573.1904,48.59549,100,0,0), 18 | (6182,11,-11477.807,1573.1018,48.59549,100,0,0), 19 | (6182,12,-11480.656,1574.8416,48.59549,100,10000,618201), 20 | (6182,13,-11482.617,1567.7522,48.59549,100,0,0), 21 | (6182,14,-11480.854,1560.6074,48.58083,100,0,0); 22 | DELETE FROM dbscripts_on_creature_movement WHERE id IN (618201); 23 | INSERT INTO dbscripts_on_creature_movement (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES 24 | (618201,1000,1,69,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'emote'), 25 | (618201,8000,1,0,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'reset emote'); 26 | 27 | -------------------------------------------------------------------------------- /Updates/4601_TDB-0329_VDB-20220826180318_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- Improve drop chances for Essence of the Elements 3 | -- https://www.wowhead.com/tbc/npc=8281/scald - missing in bestiary, having all school resistanes/immunities has to be wrong. 4 | UPDATE `creature_template` SET `ResistanceFire` = 0, `ResistanceNature` = 0, `ResistanceFrost` = 0, `ResistanceShadow` = 0, `ResistanceArcane` = 0 WHERE `entry` = 8281; -- Scald 5 | UPDATE `creature_loot_template` SET `ChanceOrQuestChance`= -33 WHERE `item` = 11129; -- down from 80, amounts seem correct. 6 | 7 | -- End of migration. 8 | 9 | -------------------------------------------------------------------------------- /Updates/4608_TDB-0355_VDB-20210325011613_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/f9de008db79e4fa2a09c137d6caad01dc250b8f1 3 | -- sells for 2.5g 4 | 5 | -- [Silver Piffeny Band] shouldn't appear in chests. 6 | -- Battered Chest 2849 7 | -- Solid Chest 2850 8 | -- Solid Chest 2852 9 | -- Solid Chest 2855 10 | -- Solid Chest 2857 11 | -- Alliance Strongbox 3714 12 | -- Tattered Chest 3715 13 | -- Alliance Strongbox 4095 14 | -- Tattered Chest 4096 15 | -- Alliance Strongbox 105570 16 | -- Tattered Chest 105578 17 | -- Tattered Chest 105579 18 | -- Tattered Chest 105581 19 | -- Tattered Chest 111095 20 | DELETE FROM `gameobject_loot_template` WHERE `item` = 7342 AND `entry` IN (2284,2283,2282,2281,2280); 21 | 22 | -- End of migration. 23 | 24 | -------------------------------------------------------------------------------- /Updates/4609_TDB-0356_herbs_ores_world_loot.sql: -------------------------------------------------------------------------------- 1 | -- Remove more herbs, ores and stone from loot templates where they do not belong 2 | DELETE FROM `creature_loot_template` WHERE `item` IN ( 3 | 3819, -- Wintersbite 4 | 8845, -- Ghost Mushroom 5 | 8846, -- Gromsblood 6 | 13463, -- Dreamfoil 7 | 13464, -- Golden Sansam 8 | 13465, -- Mountain Silversage 9 | 13467) -- Icecap 10 | AND `entry` NOT IN ( 11 | 12237,12258,13196,13197,13022,14448,6512,7100,7101,6510,6511,6218,13021,11459,13285,12224,5481,6509,7149,11465,1031,6517,6527,6519,6518,1030,11461,11464,5881,1081, 12 | 7138,11458,1032,4020,7139,5055,12220,3931,8384,11462,12219,6219,13142,7584,5775,12223,13141,1033,1813,1812,5490,4541,5485,4021,4385,14424,14303,4029,3834,3919,1955,1956, 13 | 501,4387,4382,3535,17353,4028,2166,1954,765,3733,1953,17352,766,764,5761,4386,3784,3782,3783,2030,2029,1040,2027,2022,15636,1039,3780,3781,1041,2025,15637,15635, 14 | 7104,4030,9601,10641,2655,3640,5235,6556,6557,6559,7086,12836,5354,940,1851,11489,14231,14433,8212); -- creaturetype 4 (tree and swamp npcs),10 (ooze) and "Herbalist" npcs 15 | 16 | -- Dark Iron Ore 11370 17 | DELETE FROM `creature_loot_template` WHERE `item` = 11370 AND `entry` NOT IN (8905,8906,8907,8908,9502,8923); 18 | 19 | -- Heavy Stone 2838 20 | DELETE FROM `creature_loot_template` WHERE `item` = 2838 AND `entry` IN (2734,6392,2793,6391,1552,5346,2603,3715,2850,2604); 21 | 22 | -- https://www.wowhead.com/classic/npc=7849/mobile-alert-system 23 | UPDATE `creature_template` SET `LootId` = 0 WHERE `entry` = 7849; 24 | DELETE FROM `creature_loot_template` WHERE `entry` = 7849; 25 | 26 | -- https://www.wowhead.com/classic/npc=10387/vengeful-phantom 27 | UPDATE `creature_template` SET `LootId` = 0 WHERE `entry` = 10387; 28 | DELETE FROM `creature_loot_template` WHERE `entry` = 10387; 29 | 30 | -- https://www.wowhead.com/tbc/npc=13736/noxxious-essence 31 | UPDATE `creature_template` SET `LootId` = 0 WHERE `entry` = 13736; 32 | 33 | -- Coal 3857 34 | DELETE FROM `creature_loot_template` WHERE `item` = 3857 AND `entry` IN (6329,6224,6211,6207,6206,6220,6391,6407); 35 | 36 | -- Small Obsidian Shard 22202 37 | DELETE FROM `creature_loot_template` WHERE `item` = 22202; 38 | 39 | -- Large Obsidian Shard 22203 40 | DELETE FROM `creature_loot_template` WHERE `item` = 22203; 41 | 42 | -- Fel Iron Ore 23424 43 | DELETE FROM `creature_loot_template` WHERE `item` = 23424; 44 | 45 | -- Adamantite Ore 23425 46 | DELETE FROM `creature_loot_template` WHERE `item` = 23425; 47 | 48 | -- Khorium Ore 23426 49 | DELETE FROM `creature_loot_template` WHERE `item` = 23426; 50 | 51 | -- Eternium Ore 23427 52 | DELETE FROM `creature_loot_template` WHERE `item` = 23427; 53 | 54 | -------------------------------------------------------------------------------- /Updates/4610_TDB-0365_o.179922.sql: -------------------------------------------------------------------------------- 1 | -- Add missing spawns of Tainted Blood 179922 for a total of 77 2 | DELETE FROM `gameobject` WHERE `guid` IN (46257,46269,46275,46282,46320,46350,46368,46369) AND `id` = 179922; 3 | INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES 4 | (46257, 179922, 0, 1, -514.439, -4061.41, 216.334, 5.60251, 0, 0, -0.333807, 0.942641, 180, 300), 5 | (46269, 179922, 0, 1, -479.329, -4089.07, 195.065, 0.715585, 0, 0, 0.350207, 0.936672, 180, 300), 6 | (46275, 179922, 0, 1, -443.47, -4032.53, 195.981, 1.58825, 0, 0, 0.71325, 0.70091, 180, 300), 7 | (46282, 179922, 0, 1, -315.62, -4073.82, 153.07, 6.17847, 0, 0, -0.0523357, 0.99863, 180, 300), 8 | (46320, 179922, 0, 1, -304.407, -3970.66, 195.114, 0.436332, 0, 0, 0.216439, 0.976296, 180, 300), 9 | (46350, 179922, 0, 1, -265.739, -3907.45, 215.861, 4.03171, 0, 0, -0.902585, 0.430512, 180, 300), 10 | (46368, 179922, 0, 1, -243.064, -4053.7, 174.295, 4.90438, 0, 0, -0.636078, 0.771625, 180, 300), 11 | (46369, 179922, 0, 1, -218.171, -3902.71, 215.861, 1.0821, 0, 0, 0.515038, 0.857168, 180, 300); 12 | 13 | -------------------------------------------------------------------------------- /Updates/4613_spell_coefficient.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE db_version CHANGE COLUMN required_z2816_01_mangos_precision_decimal required_z2817_01_mangos_spell_template bit; 2 | 3 | DROP TABLE `spell_bonus_data`; 4 | ALTER TABLE db_version CHANGE COLUMN required_z2817_01_mangos_spell_template required_z2818_01_mangos_spell_template_ap bit; 5 | 6 | -------------------------------------------------------------------------------- /Updates/4614_nono_graveyard.sql: -------------------------------------------------------------------------------- 1 | DELETE FROM `game_graveyard_zone` WHERE `id`=309 AND `ghost_loc`=1477 AND `link_kind`=0 AND `faction`=0; 2 | -------------------------------------------------------------------------------- /Updates/4620_z2823_01_mangos_displayid_probability.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE db_version CHANGE COLUMN required_z2822_01_mangos_creature_cls_stats required_z2823_01_mangos_displayid_probability bit; 2 | 3 | ALTER TABLE `creature_template` CHANGE `ModelId1` `DisplayId1` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0; 4 | ALTER TABLE `creature_template` CHANGE `ModelId2` `DisplayId2` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0; 5 | ALTER TABLE `creature_template` CHANGE `ModelId3` `DisplayId3` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0; 6 | ALTER TABLE `creature_template` CHANGE `ModelId4` `DisplayId4` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0; 7 | ALTER TABLE `creature_template` ADD COLUMN `DisplayIdProbability1` SMALLINT UNSIGNED NOT NULL DEFAULT 0 AFTER `DisplayId4`; 8 | ALTER TABLE `creature_template` ADD COLUMN `DisplayIdProbability2` SMALLINT UNSIGNED NOT NULL DEFAULT 0 AFTER `DisplayIdProbability1`; 9 | ALTER TABLE `creature_template` ADD COLUMN `DisplayIdProbability3` SMALLINT UNSIGNED NOT NULL DEFAULT 0 AFTER `DisplayIdProbability2`; 10 | ALTER TABLE `creature_template` ADD COLUMN `DisplayIdProbability4` SMALLINT UNSIGNED NOT NULL DEFAULT 0 AFTER `DisplayIdProbability3`; 11 | 12 | SET sql_safe_updates=0; 13 | -- setting probabilities to exactly replicate previous behaviour 14 | UPDATE creature_template SET DisplayIdProbability1=100 WHERE DisplayId1!=0; 15 | UPDATE creature_template SET DisplayIdProbability1=50,DisplayIdProbability2=50 WHERE DisplayId1!=0 AND DisplayId2!=0 AND EXISTS(SELECT modelid FROM creature_model_info WHERE creature_template.DisplayId2=creature_model_info.modelid AND modelid_other_team > 0); 16 | UPDATE creature_template SET DisplayIdProbability1=0,DisplayIdProbability2=100 WHERE DisplayId1!=0 AND DisplayId2!=0 AND NOT EXISTS(SELECT modelid FROM creature_model_info WHERE creature_template.DisplayId2=creature_model_info.modelid AND modelid_other_team > 0); 17 | UPDATE creature_template SET DisplayIdProbability1=33,DisplayIdProbability2=33,DisplayIdProbability3=33 WHERE DisplayId1!=0 AND DisplayId2!=0 AND DisplayId3!=0 AND EXISTS(SELECT modelid FROM creature_model_info WHERE creature_template.DisplayId2=creature_model_info.modelid AND modelid_other_team > 0); 18 | UPDATE creature_template SET DisplayIdProbability1=0,DisplayIdProbability2=0,DisplayIdProbability3=100 WHERE DisplayId1!=0 AND DisplayId2!=0 AND DisplayId3!=0 AND NOT EXISTS(SELECT modelid FROM creature_model_info WHERE creature_template.DisplayId2=creature_model_info.modelid AND modelid_other_team > 0); 19 | UPDATE creature_template SET DisplayIdProbability1=25,DisplayIdProbability2=25,DisplayIdProbability3=25,DisplayIdProbability4=25 WHERE DisplayId1!=0 AND DisplayId2!=0 AND DisplayId3!=0 AND DisplayId4!=0; 20 | SET sql_safe_updates=1; 21 | -------------------------------------------------------------------------------- /Updates/4621_z2824_01_mangos_model_unification.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE db_version CHANGE COLUMN required_z2823_01_mangos_displayid_probability required_z2824_01_mangos_model_unification bit; 2 | 3 | ALTER TABLE `creature_model_info` CHANGE `modelid_other_team` `modelid_alternative` MEDIUMINT UNSIGNED NOT NULL DEFAULT 0; 4 | -------------------------------------------------------------------------------- /Updates/4622_fix_stuff.sql: -------------------------------------------------------------------------------- 1 | UPDATE `creature_template` SET `DisplayId2` = '2176', `DisplayId3` = '1825', `DisplayId4` = '2955' WHERE (`Entry` = '5764'); 2 | -------------------------------------------------------------------------------- /Updates/4624_ThePeoplesMilitia_equipment.sql: -------------------------------------------------------------------------------- 1 | -- Correct Equipment for The People's Militia npcs 2 | -- Resolves https://github.com/cmangos/issues/issues/3704 3 | REPLACE INTO `creature_equip_template` (`entry`, `equipentry1`, `equipentry2`, `equipentry3`) VALUES 4 | (234, 2557, 0, 0), 5 | (487, 1899, 2053, 0), 6 | (488, 1896, 2051, 0), 7 | (489, 1897, 1957, 0), 8 | (490, 1897, 2053, 0), 9 | (820, 1897, 2052, 0), 10 | (821, 1909, 2053, 0), 11 | (869, 1897, 2053, 0), 12 | (870, 1897, 2053, 0), 13 | (874, 1896, 2053, 0), 14 | (876, 1896, 2052, 0), 15 | (878, 0, 0, 0), 16 | (8096, 1896, 2052, 0); 17 | 18 | -------------------------------------------------------------------------------- /Updates/4626_sadiujhfdasaasdrgas.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO `reference_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`, `comments`) VALUES 2 | ('65004', '5971', '0', '1', '1', '1', '0', 'Feathered Cape'); 3 | -------------------------------------------------------------------------------- /Updates/4627_c.15339_scale.sql: -------------------------------------------------------------------------------- 1 | -- Correct default scale for Ossirian the Unscarred 15339 2 | -- improves aggro radius due to size for Ossirian 3 | -- correct some other scales based on vmangos (classic only) 4 | UPDATE `creature_template` SET `Scale`='0' WHERE `entry`='15339'; -- Ossirian the Unscarred (1S) 5 | UPDATE `creature_template` SET `Scale`='0' WHERE `entry`='1653'; -- Bloodsail Elder Magus (1.33S) 6 | UPDATE `creature_template` SET `Scale`='2' WHERE `entry`='15806'; -- Qiraji Lieutenant (4S) 7 | UPDATE `creature_template` SET `Scale`='1.1' WHERE `entry`='15756'; -- Greater Silithid Flayer (0S) 8 | UPDATE `creature_template` SET `Scale`='2' WHERE `entry`='15757'; -- Qiraji Lieutenant General (2.5S) 9 | UPDATE `creature_template` SET `Scale`='2' WHERE `entry`='15758'; -- Supreme Anubisath Warbringer (0S) 10 | UPDATE `creature_template` SET `Scale`='1.4' WHERE `entry`='15759'; -- Supreme Silithid Flayer (0S) 11 | UPDATE `creature_template` SET `Scale`='0.5' WHERE `entry`='15808'; -- Minor Silithid Flayer (0S) 12 | UPDATE `creature_template` SET `Scale`='0.5' WHERE `entry`='15811'; -- Faltering Silithid Flayer (0S) 13 | UPDATE `creature_template` SET `Scale`='2' WHERE `entry`='15812'; -- Qiraji Officer (4S) 14 | UPDATE `creature_template` SET `Scale`='2.5' WHERE `entry`='15813'; -- Qiraji Officer Zod (0S) 15 | UPDATE `creature_template` SET `Scale`='2.5' WHERE `entry`='15814'; -- Qiraji Lieutenant Jo-rel (0S) 16 | UPDATE `creature_template` SET `Scale`='2.5' WHERE `entry`='15815'; -- Qiraji Captain Ka'ark (1S) 17 | UPDATE `creature_template` SET `Scale`='2.5' WHERE `entry`='15816'; -- Qiraji Major He'al-ie (0S) 18 | UPDATE `creature_template` SET `Scale`='2.5' WHERE `entry`='15817'; -- Qiraji Brigadier General Pax-lish (0S) 19 | UPDATE `creature_template` SET `Scale`='3' WHERE `entry`='15818'; -- Lieutenant General Nokhor (2.5S) 20 | UPDATE `creature_template` SET `Scale`='1.35' WHERE `entry`='15847'; -- Might of Kalimdor Shaman (0S) 21 | UPDATE `creature_template` SET `Scale`='1.25' WHERE `entry`='15849'; -- Might of Kalimdor Druid (0S) 22 | UPDATE `creature_template` SET `Scale`='1.35' WHERE `entry`='15855'; -- Tauren Rifleman (0S) 23 | UPDATE `creature_template` SET `Scale`='1.35' WHERE `entry`='15856'; -- Tauren Primalist (0S) -- trauen seemingly 1.35 and 1.25 in same creature_template if they share entry and sex 24 | 25 | -------------------------------------------------------------------------------- /Updates/4628_i.20384_condition.sql: -------------------------------------------------------------------------------- 1 | -- Correct dropcondition for Silithid Carapace Fragment 20384 thx @ marez_mik 2 | -- 1107 2 20402 1 0 0 0 Player Has 1 or more of Item ID 20402 in Inventory - tbc 3 | -- 1398 2 20402 1 0 0 0 Player Has 1 or more of Item ID 20402 in Inventory - classic 4 | UPDATE `creature_loot_template` SET `condition_id` = 1398 WHERE `item` = 20384; -------------------------------------------------------------------------------- /Updates/4630_detection.sql: -------------------------------------------------------------------------------- 1 | -- Correct Detection for Moam 15340 - https://www.youtube.com/watch?v=9UStUPWbFds - https://youtu.be/CJE_ujKwwX0?feature=shared&t=1374 2 | UPDATE `creature_template` SET `Detection` = 65 WHERE `entry` = 15340; 3 | 4 | -- Improve Detection for AV Archers - https://youtu.be/0KcOHcYGiBk?feature=shared&t=20 5 | UPDATE `creature_template` SET `Detection` = 70, `ExtraFlags` = `ExtraFlags`|2048 WHERE `entry` IN (13358,13359); 6 | 7 | -------------------------------------------------------------------------------- /Updates/4631_VDB-20231126234757_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/17822e318eacc20d853dc09e8a69e200aba2e6ce 3 | 4 | -- Pathing for Witherheart the Stalker Entry: 8218 5 | UPDATE `creature_template` SET `SpeedWalk` = (2.5 / 2.5), `EquipmentTemplateId` = 8218 WHERE `entry` = 8218; 6 | DELETE FROM `creature_equip_template` WHERE `entry` = 8218; 7 | INSERT INTO `creature_equip_template` (entry, equipentry1, equipentry2, equipentry3) VALUES (8218, 10617, 5285, 0); 8 | SET @NPC := 8218; 9 | UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-399.90463,`position_y`=-2810.7239,`position_z`=78.00985 WHERE `id`=@NPC; 10 | DELETE FROM `creature_movement_template` WHERE `entry`=@NPC; 11 | INSERT INTO `creature_movement_template` (`entry`,`point`,`positionx`,`positiony`,`positionz`,`orientation`,`waittime`,`scriptid`) VALUES 12 | (@NPC,1,-399.90463,-2810.7239,78.00985,100,0,0), 13 | (@NPC,2,-411.23264,-2833.3965,79.34615,100,0,0), 14 | (@NPC,3,-419.67285,-2866.848,81.6237,100,0,0), 15 | (@NPC,4,-433.39053,-2891.0513,85.470924,100,0,0), 16 | (@NPC,5,-440.9833,-2912.3506,88.50849,100,0,0), 17 | (@NPC,6,-431.72278,-2919.4988,87.758095,100,0,0), 18 | (@NPC,7,-410.9552,-2911.8176,80.65067,100,0,0), 19 | (@NPC,8,-398.36133,-2915.043,79.20992,100,0,0), 20 | (@NPC,9,-368.3346,-2925.7651,75.58492,100,0,0), 21 | (@NPC,10,-333.24603,-2914.1536,77.88582,100,0,0), 22 | (@NPC,11,-312.31683,-2894.8928,79.29725,100,0,0), 23 | (@NPC,12,-316.2032,-2867.8672,80.33094,100,0,0), 24 | (@NPC,13,-343.85233,-2834.53,75.73404,100,0,0), 25 | (@NPC,14,-331.66537,-2820.3848,79.355644,100,0,0), 26 | (@NPC,15,-345.9131,-2799.4731,80.685,100,0,0), 27 | (@NPC,16,-368.80045,-2797.7434,76.87515,100,0,0), 28 | (@NPC,17,-390.4299,-2788.0408,77.2648,100,0,0); 29 | -- 0x204CB0000008068000000D00003DC2AA .go xyz -399.90463 -2810.7239 78.00985 30 | 31 | -- End of migration. 32 | 33 | -------------------------------------------------------------------------------- /Updates/4632_VDB-20231113041814_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/76d2d07a2451896d845fa4867353108cc746104c 3 | 4 | -- Pathing for Mirelow Entry: 14424 5 | SET @NPC := 14424; 6 | DELETE FROM `creature` WHERE `id` = 14424 AND `guid` != 91113; 7 | DELETE FROM `pool_creature_template` WHERE `id` = 14424; -- 1171 0 Mirelow (14424) 8 | DELETE FROM `pool_template` WHERE `entry` = 1171; -- 1 Mirelow (14424) 9 | UPDATE `creature` SET `spawndist`=0,`MovementType`=4,`position_x`=-2752.9434,`position_y`=-1311.9869,`position_z`=6.144358 WHERE `id`=@NPC AND `guid` = 91113; 10 | DELETE FROM `creature_movement_template` WHERE `entry`=@NPC; 11 | INSERT INTO `creature_movement_template` (`entry`,`point`,`positionx`,`positiony`,`positionz`,`orientation`,`waittime`,`scriptid`) VALUES 12 | (@NPC, 1, -2752.9434, -1311.9869, 6.144358, 100, 0, 0), 13 | (@NPC, 2, -2779.3325, -1318.1886, 6.212498, 100, 0, 0), 14 | (@NPC, 3, -2802.5144, -1327.2316, 6.2124987, 100, 0, 0), 15 | (@NPC, 4, -2841.5269, -1356.3691, 6.2124963, 100, 0, 0), 16 | (@NPC, 5, -2868.5942, -1383.6816, 6.2125034, 100, 0, 0), 17 | (@NPC, 6, -2888.584, -1418.0055, 6.2125034, 100, 0, 0), 18 | (@NPC, 7, -2915.9563, -1455.4119, 6.2125106, 100, 0, 0), 19 | (@NPC, 8, -2948.1558, -1477.9122, 6.2125034, 100, 0, 0), 20 | (@NPC, 9, -2979.6265, -1493.0153, 6.2125106, 100, 0, 0), 21 | (@NPC, 10, -3007.2742, -1519.1643, 6.1943064, 100, 0, 0), 22 | (@NPC, 11, -3030.377, -1531.1482, 1.8713083, 100, 0, 0), 23 | (@NPC, 12, -3050.034, -1538.9908, 2.2948234, 100, 0, 0), 24 | (@NPC, 13, -3068.111, -1529.2074, 4.6410594, 100, 0, 0), 25 | (@NPC, 14, -3048.722, -1507.4395, 2.3030105, 100, 0, 0), 26 | (@NPC, 15, -3045.1477, -1488.9481, 6.1078167, 100, 0, 0), 27 | (@NPC, 16, -3037.5547, -1465.8003, 6.2125444, 100, 0, 0), 28 | (@NPC, 17, -3013.2668, -1444.2893, 6.2125444, 100, 0, 0), 29 | (@NPC, 18, -2992.2075, -1423.2106, 6.2125444, 100, 0, 0), 30 | (@NPC, 19, -2982.6704, -1384.7448, 6.2125444, 100, 0, 0), 31 | (@NPC, 20, -2976.297, -1355.0217, 6.1414337, 100, 0, 0), 32 | (@NPC, 21, -2972.429, -1315.0929, 6.212561, 100, 0, 0), 33 | (@NPC, 22, -2959.098, -1289.4697, 6.212534, 100, 0, 0), 34 | (@NPC, 23, -2946.3533, -1262.2607, 6.212534, 100, 0, 0), 35 | (@NPC, 24, -2940.9849, -1235.0204, 6.212534, 100, 0, 0), 36 | (@NPC, 25, -2927.3582, -1214.3258, 6.276264, 100, 0, 0), 37 | (@NPC, 26, -2913.8328, -1184.8007, 6.2125435, 100, 0, 0), 38 | (@NPC, 27, -2913.718, -1156.6484, 6.380024, 100, 0, 0), 39 | (@NPC, 28, -2906.6707, -1130.346, 6.3375435, 100, 0, 0), 40 | (@NPC, 29, -2924.4268, -1129.007, 6.262104, 100, 0, 0), 41 | (@NPC, 30, -2948.263, -1141.3658, 6.581269, 100, 0, 0), 42 | (@NPC, 31, -2981.483, -1160.7555, 6.2125306, 100, 0, 0), 43 | (@NPC, 32, -3008.991, -1189.4165, 6.3375306, 100, 0, 0), 44 | (@NPC, 33, -3033.5713, -1223.1588, 3.6263075, 100, 0, 0), 45 | (@NPC, 34, -3058.1658, -1243.8303, 6.385656, 100, 0, 0), 46 | (@NPC, 35, -3084.6208, -1262.775, 6.2125497, 100, 0, 0), 47 | (@NPC, 36, -3110.9539, -1251.6007, 5.657193, 100, 0, 0), 48 | (@NPC, 37, -3127.4268, -1279.7166, 6.2125597, 100, 0, 0), 49 | (@NPC, 38, -3140.0647, -1310.3094, 6.2125597, 100, 0, 0), 50 | (@NPC, 39, -3129.7153, -1336.1788, 6.2125444, 100, 0, 0), 51 | (@NPC, 40, -3135.3235, -1368.5166, 6.2125444, 100, 0, 0), 52 | (@NPC, 41, -3156.5852, -1393.152, 6.2125444, 100, 0, 0), 53 | (@NPC, 42, -3176.052, -1410.8157, 6.2125344, 100, 0, 0), 54 | (@NPC, 43, -3184.6921, -1435.9547, 6.2125344, 100, 0, 0), 55 | (@NPC, 44, -3201.1177, -1461.5942, 6.2125344, 100, 0, 0); 56 | -- 0x204CB000000E160000000600003E2E9A .go xyz -2752.9434 -1311.9869 6.144358 57 | 58 | -- End of migration. 59 | 60 | -------------------------------------------------------------------------------- /Updates/4633_av_boss_start_yell.sql: -------------------------------------------------------------------------------- 1 | -- Add AV Boss Start Yells 2 | -- 7295 Vanndar is here. Come on, hordelings! Show me what you got! 3 | -- 7294 I'm here! Come and get me you alliance pansies! 4 | -- 9057 The Stormpike Graveyard was taken by the Alliance! 5 | -- 9067 The Frostwolf Graveyard was taken by the Horde! 6 | 7 | UPDATE `broadcast_text` SET `ChatTypeId` = 6 WHERE `Id` IN (7294,7295,9057,9067); 8 | 9 | -- Alterac Yeti 13959 10 | UPDATE `creature_template` SET `Faction` = 16, `Detection` = 24, `SpeedWalk` = (2.5 / 2.5), `MovementType` = 0, `DamageMultiplier` = 2, `MechanicImmuneMask` = `MechanicImmuneMask`|545472081 WHERE `entry` IN (13959,22604); 11 | -- UPDATE `creature_template` SET `Expansion` = 0 WHERE `entry` = 13959; -- tbc+ 12 | -- UPDATE `creature_template` SET `Expansion` = 1 WHERE `entry` = 22604; -- missing loot. 13 | 14 | -- Instance File 15 | DELETE FROM `pool_template` WHERE `entry` = 1801; 16 | DELETE FROM `pool_gameobject_template` WHERE `pool_entry` = 1801; -- other id in classic 17 | 18 | DELETE FROM `spawn_group_spawn` WHERE `guid` IN (51946,53884,53885,51949,53886,53887,52066, 19 | 52067,52068,52069,52070,52071,52072,52073,52074,52075,52076,52077,52078,52079,52080,52081, 20 | 52082,52083,52084,52085,52086,52087,52088,52089,53871,53872,150083,150084,150126,150127); 21 | 22 | -------------------------------------------------------------------------------- /Updates/4634_TDB-0370_13218_wrong_loot.sql: -------------------------------------------------------------------------------- 1 | -- Remove AV Rep Items from c.13218 Grunnda Wolfheart Loot 2 | DELETE FROM `creature_loot_template` where `entry` = 13218 AND `item` IN ( 3 | 17348,17349,17351,17352,19029,19031,19046,19083,19085,19087,19088,19089,19090,19095,19096,19099,19101,19103,19301,19307,19308,19309,19310,19311,19312,19315,19316,19317,19318,19319,19320,19321,19323,19324,19325); 4 | 5 | -------------------------------------------------------------------------------- /Updates/4635_TDB-0385_raider_jhash.sql: -------------------------------------------------------------------------------- 1 | DELETE FROM `dbscripts_on_relay` WHERE `id`=87; 2 | INSERT INTO `dbscripts_on_relay` (`id`,`delay`,`priority`,`command`,`datalong`,`datalong2`,`datalong3`,`buddy_entry`,`search_radius`,`data_flags`,`dataint`,`dataint2`,`dataint3`,`dataint4`,`datafloat`,`x`,`y`,`z`,`o`,`speed`,`condition_id`,`comments`) VALUES 3 | ('87', '0', '0', '16', '6495', '2', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'Raider Jhash - Play Sound'); 4 | 5 | -------------------------------------------------------------------------------- /Updates/4637_TDB-0388_quest_protect_the_shipment.sql: -------------------------------------------------------------------------------- 1 | -- Protect the Shipment Escort Path 2 | SET @PATH := 1379; 3 | 4 | -- Miran escort waypoints 5 | DELETE FROM waypoint_path_name WHERE `PathId` = @PATH; 6 | INSERT INTO `waypoint_path_name` (`PathId`, `Name`) VALUES (@PATH, 'Loch Modan - Miran - Protect the Shipment Escort Quest'); 7 | 8 | DELETE FROM waypoint_path WHERE `PathId` = @PATH; 9 | INSERT INTO `waypoint_path` (`PathId`, `Point`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `WaitTime`, `ScriptId`) VALUES 10 | (@PATH,1,-5764.806,-3433.9333,305.89038,100,1000,0), 11 | (@PATH,2,-5751.164,-3450.2922,302.45914,100,0,0), 12 | (@PATH,3,-5737.4673,-3486.4268,302.19592,100,0,0), 13 | (@PATH,4,-5728.1,-3501.6533,303.34442,100,0,0), 14 | (@PATH,5,-5717.149,-3519.3572,302.8644,100,0,0), 15 | (@PATH,6,-5712.0923,-3528.7327,304.61722,100,0,0), 16 | (@PATH,7,-5698.518,-3559.003,307.1724,100,0,0), 17 | (@PATH,8,-5689.358,-3573.9585,309.2788,100,0,0), 18 | (@PATH,9,-5679.814,-3584.678,310.06387,100,0,0), 19 | (@PATH,10,-5675.2456,-3603.6702,312.3123,100,0,0), 20 | (@PATH,11,-5671.625,-3626.4856,311.11926,100,0,0), 21 | (@PATH,12,-5677.7764,-3644.4307,314.56738,100,0,0), 22 | (@PATH,13,-5682.9844,-3649.1074,314.9604,100,0,0), 23 | (@PATH,14,-5691.712,-3669.0032,312.35095,100,0,0), 24 | (@PATH,15,-5699.7666,-3699.7002,314.42508,100,0,0), 25 | -- using same wp doubled to get correct delays in cpp script 26 | (@PATH,16,-5700.0195,-3733.447,318.5934,100,1000,0), 27 | (@PATH,17,-5700.0195,-3733.447,318.5934,100,0,0), 28 | (@PATH,18,-5701.547,-3756.4023,322.3683,100,0,0), 29 | (@PATH,19,-5692.01,-3769.2769,324.0049,100,0,0), 30 | (@PATH,20,-5688.092,-3783.6924,322.55017,100,0,0), 31 | (@PATH,21,-5699.122,-3792.007,322.45114,100,1000,0); 32 | 33 | -- Correct respawn times to Miran, it respawns between 60 and 70 seconds after escort death 34 | UPDATE creature SET spawntimesecsmin = "60", spawntimesecsmax = "70" WHERE guid = "8975" AND id = "1379"; 35 | 36 | -- Correct speed 37 | -- [0] WalkSpeed: 2.5 38 | -- [0] RunSpeed: 8 39 | UPDATE creature_template SET SpeedWalk = "1", SpeedRun = "1.14286" WHERE entry = 1379; 40 | -------------------------------------------------------------------------------- /Updates/4640_TDB-0410_WDB-5287_generic_formation_scripts.sql: -------------------------------------------------------------------------------- 1 | -- Generic Scripts added - WDB 2 | DELETE FROM dbscripts_on_creature_movement WHERE id BETWEEN 100 AND 106; 3 | INSERT INTO dbscripts_on_creature_movement (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES 4 | (100,1,51,100,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'GENERIC - formation change to - Random(0)'), 5 | (101,1,51,100,1,0,0,0,0x04,0,0,0,0,0,0,0,0,'GENERIC - formation change to - Queue(1)'), 6 | (102,1,51,100,2,0,0,0,0x04,0,0,0,0,0,0,0,0,'GENERIC - formation change to - Side bu side(2)'), 7 | (103,1,51,100,3,0,0,0,0x04,0,0,0,0,0,0,0,0,'GENERIC - formation change to - Geese(3)'), 8 | (104,1,51,100,4,0,0,0,0x04,0,0,0,0,0,0,0,0,'GENERIC - formation change to - Fanned out behind(4)'), 9 | (105,1,51,100,5,0,0,0,0x04,0,0,0,0,0,0,0,0,'GENERIC - formation change to - Fanned out in front(5)'), 10 | (106,1,51,100,6,0,0,0,0x04,0,0,0,0,0,0,0,0,'GENERIC - formation change to - Circle leader(6)'); 11 | 12 | -- Table `dbscripts_on_creature_movement` contain unused script, id 100 - 106 13 | REPLACE INTO `creature_movement_template` (`Entry`, `PathId`, `Point`, `ScriptId`,`PositionX`,`PositionY`,`PositionZ`) VALUES (1,100,1,100,0,0,0),(1,100,2,101,0,0,0),(1,100,3,102,0,0,0),(1,100,4,103,0,0,0),(1,100,5,104,0,0,0),(1,100,6,105,0,0,0),(1,100,7,106,0,0,0); 14 | 15 | -------------------------------------------------------------------------------- /Updates/4641_TDB-0409_WDB-5279_c.6495.sql: -------------------------------------------------------------------------------- 1 | -- Riznek 6495 2 | UPDATE `creature_template` SET `SpeedWalk` = 1 WHERE `entry` = 6495; 3 | UPDATE creature SET position_x = -6157.8613, position_y = -3917.6775, position_z = -58.996204, orientation = 6.279 WHERE id = 6495; 4 | DELETE FROM creature_movement_template WHERE entry = 6495; 5 | INSERT INTO creature_movement_template (Entry, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId) VALUES 6 | -- waypoints corrected 7 | (6495,1 ,-6157.8613,-3917.6775,-58.996204,100,10000,0), 8 | (6495,2 ,-6183.7324,-3917.6758,-58.781975,100,0,0), 9 | (6495,3 ,-6187.9785,-3936.4387,-58.625053,100,0,0), 10 | (6495,4 ,-6199.4155,-3951.8706,-58.625053,100,0,0), 11 | (6495,5 ,-6204.5225,-3955.7505,-58.625053,100,0,0), 12 | (6495,6 ,-6210.6216,-3961.941,-58.625053 ,100,0,0), 13 | (6495,7 ,-6209.6235,-3972.9622,-58.625034,100,0,0), 14 | (6495,8 ,-6206.8066,-3982.4932,-58.625034,100,0,0), 15 | (6495,9 ,-6206.8066,-3982.4932,-58.625034,100,0,0), 16 | (6495,10,-6202.8516,-3991.9407,-58.625034,100,0,0), 17 | (6495,11,-6245.983,-3997.02,-58.625034,100,10000,0), 18 | (6495,12,-6201.7134,-3981.1985,-58.625034,100,0,0), 19 | (6495,13,-6208.6953,-3966.7495,-58.625034,100,0,0), 20 | (6495,14,-6209.497,-3958.7869,-58.625053 ,100,0,0), 21 | (6495,15,-6199.3447,-3951.8486,-58.625053,100,0,0), 22 | (6495,16,-6186.81,-3940.9854,-58.625053 ,100,0,0), 23 | (6495,17,-6185.051,-3928.509,-58.656975 ,100,0,0), 24 | (6495,18,-6183.9663,-3917.9463,-58.781975,100,0,0); 25 | 26 | -- vendor list corrected 27 | UPDATE npc_vendor SET Slot = 1 WHERE entry IN (6495) AND item = 159; -- Refreshing Spring Water 28 | UPDATE npc_vendor SET Slot = 2 WHERE entry IN (6495) AND item = 1179; -- Ice Cold Milk 29 | UPDATE npc_vendor SET Slot = 3 WHERE entry IN (6495) AND item = 1205; -- Melon Juice 30 | UPDATE npc_vendor SET Slot = 4 WHERE entry IN (6495) AND item = 1708; -- Sweet Nectar 31 | UPDATE npc_vendor SET Slot = 5 WHERE entry IN (6495) AND item = 1645; -- Moonberry Juice 32 | UPDATE npc_vendor SET Slot = 6 WHERE entry IN (6495) AND item = 8766; -- Morning Glory Dew 33 | 34 | -------------------------------------------------------------------------------- /Updates/4644_TDB-0376_no_wounded_slowdown_population.sql: -------------------------------------------------------------------------------- 1 | -- from dbc_creaturedifficulty 2 | UPDATE creature_template SET StaticFlags2=StaticFlags2|0x40 WHERE entry IN('1853','2748','3653','3654','3669','3670','3671','3673','3674','3886','3887','3914','4274','4275','4278','4279','4424','4428','4829','4830','4831','4832','4854','4887','5709','5710','5711','5775','6235','6243','6488','6906','6907','6908','6910','7023','7079','7206','7228','7267','7271','7272','7273','7275','7291','7361','7795','7797','7800','8127','8443','8923','8929','8933','8983','9016','9017','9018','9019','9024','9025','9027','9028','9029','9030','9031','9032','9033','9041','9042','9156','9196','9236','9237','9319','9499','9502','9537','9543','9568','9659','9736','9938','10076','10220','10264','10268','10339','10435','10436','10437','10438','10439','10440','10502','10503','10505','10508','10516','10558','10584','10596','10808','10809','10811','10812','10813','10901','10997','11032','11143','11261','11467','11486','11487','11488','11489','11490','11496','11501','11517','11518','11519','11520','11622','12201','12203','12225','12236','12237','12243','12258','13280','13282','13596','13601','13738','14321','14322','14323','14324','14325','14326','14327','14349','14354','14861','15385','15386','15388','15389','15390','15391','15392','15773','15974','15975','15976','15978','15979','15980','15981','16017','16018','16020','16021','16022','16024','16025','16029','16034','16036','16037','16056','16059','16067','16098','16124','16125','16126','16127','16142','16145','16146','16148','16150','16154','16163','16164','16165','16167','16168','16179','16180','16181','16193','16194','16215','16216','16243','16244','16297','16375','16390','16447','16505','16506','16573','16698','16803','16807','16808','16809','16861','16981','16983','16984','17055','17096','17283','17306','17308','17377','17380','17381','17537','17543','17546','17547','17548','17603','17650','17770','17796','17797','17798','17818','17826','17830','17848','17862','17864','17879','17880','17881','17882','17941','17942','17975','17976','17977','17978','17980','17991','18096','18105','18341','18343','18344','18371','18373','18472','18473','18478','18667','18708','18731','18732','18806','18847','18925','19218','19220','19389','19551','19710','19781','19782','19783','19878','20031','20032','20033','20034','20035','20036','20037','20038','20039','20040','20041','20042','20043','20044','20045','20046','20047','20048','20049','20050','20052','20870','20885','20886','20912','21002','21218','21220','21221','21222','21224','21225','21226','21227','21228','21229','21230','21231','21232','21246','21251','21253','21260','21263','21268','21270','21272','21273','21298','21299','21301','21339','21350','21364','21697','21806','21812','21857','21863','21874','21913','21920','21958','21964','21965','21966','22009','22035','22036','22055','22056','22104','22119','22120','22140','22210','22238','22347','22352','22844','22845','22846','22847','22848','22849','22853','22855','22869','22873','22874','22875','22876','22877','22878','22879','22880','22881','22882','22883','22884','22885','22939','22945','22946','22953','22954','22955','22956','22957','22959','22960','22962','22963','22964','22965','23018','23028','23030','23035','23047','23049','23080','23083','23109','23111','23146','23147','23152','23158','23159','23172','23191','23195','23196','23215','23216','23222','23223','23226','23232','23235','23236','23237','23239','23254','23319','23330','23337','23339','23369','23371','23374','23375','23389','23397','23398','23399','23400','23401','23402','23403','23404','23410','23436','23438','23442','23469','23503','23542','23580','23581','23582','23584','23586','23889','24217','24240','24241','24242','24243','24244','24245','24246','24247','24549','24552','24553','24554','24555','24556','24557','24558','24559','24560','24561','24650','24656','24664','24675','24723','24744','24984','24985','24986','24987','25214','25508','25509','25588','25591','25592','25593','25595','25597','25598','25599','25653','25708','25740','25772','25955','26650','28132'); 3 | 4 | 5 | -------------------------------------------------------------------------------- /Updates/4651_TDB-0453_VDB-20210311124530_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/59f6a1435e68ffa6aac6a320f63818db0fb9b716 3 | 4 | -- You have been sentenced to death for crimes against the Dark Iron nation! 5 | UPDATE `broadcast_text` SET `ChatTypeId`=1 WHERE `Id` = 5441; 6 | -- The Sons of Thaurissan shall watch you perish in the Ring of the Law! 7 | UPDATE `broadcast_text` SET `ChatTypeId`=1 WHERE `Id` = 5442; 8 | -- Unleash the fury and let it be done! 9 | UPDATE `broadcast_text` SET `ChatTypeId`=1 WHERE `Id` = 5443; 10 | 11 | -- End of migration. 12 | 13 | -------------------------------------------------------------------------------- /Updates/4655_TDB-0456_vile_familars.sql: -------------------------------------------------------------------------------- 1 | -- Vile Familiar 2 | DELETE FROM `creature_template_spells` WHERE `entry` = 3101; 3 | 4 | DELETE FROM `creature_spell_list_entry` WHERE `Id` = 310101; 5 | INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES 6 | (310101, 'Vile Familiar', 0, 0); 7 | 8 | DELETE FROM `creature_spell_list` WHERE `Id` = 310101; 9 | INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES 10 | (310101, 1, 11921, 0, -1, 1, 0, 100, 0, 6000, 15000, 25000, 35000, 'Vile Familiar Fireball - current'); 11 | 12 | 13 | UPDATE `creature_template` SET `SpellList` = 310101 WHERE `entry` = 3101; 14 | -------------------------------------------------------------------------------- /Updates/4656_TDB-0458_mountain_lion.sql: -------------------------------------------------------------------------------- 1 | -- Starving Mountain Lion 2 | -- Reduce Detection to default value (confirmed on classic ptr), was 30 before 3 | UPDATE creature_template SET Detection = '20' WHERE entry = '2384'; -------------------------------------------------------------------------------- /Updates/4657_TDB-0463_salty_scorpid_venom.sql: -------------------------------------------------------------------------------- 1 | -- Corred drop rate of 'Salty Scorpid Venom' 2 | -- https://www.wowhead.com/classic/item=5794/salty-scorpid-venom#dropped-by 3 | -- http://web.archive.org/web/20100224080253/http://thottbot.com/i5794 4 | -- Had a 15% drop chance before, should be much higher (classic was 10%) 5 | UPDATE `creature_loot_template` SET `ChanceOrQuestChance`='-27' WHERE entry = '4139' AND item = '5794'; 6 | UPDATE `creature_loot_template` SET `ChanceOrQuestChance`='-29' WHERE entry = '4140' AND item = '5794'; 7 | UPDATE `creature_loot_template` SET `ChanceOrQuestChance`='-16' WHERE entry = '5937' AND item = '5794'; 8 | -------------------------------------------------------------------------------- /Updates/4664_TDB-0485_VDB-20231110235622_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/71781a0a17e9406703a3e06c0c39895a8240c179 3 | 4 | -- Pathing for Lady Zephris Entry: 14277 5 | -- https://www.youtube.com/watch?v=GAzEaEKKtgU&t=6027s 6 | SET @NPC := 14277; 7 | UPDATE `creature` SET `spawndist`=0,`movementtype`=4,`position_x`=-1473.6924,`position_y`=-1099.3652,`position_z`=-4.3176775 WHERE `id`=@NPC; 8 | DELETE FROM `creature_movement` WHERE `id` = 16047; 9 | DELETE FROM `pool_creature_template` WHERE `id` = 14277; 10 | DELETE FROM `pool_template` WHERE `entry` = 1080; -- 1080 1 Lady Zephris (14277) 11 | DELETE FROM `creature_movement_template` WHERE `entry`=@NPC; 12 | INSERT INTO `creature_movement_template` (`entry`,`point`,`positionx`,`positiony`,`positionz`,`orientation`,`waittime`,`scriptid`) VALUES 13 | (@NPC,1,-1473.6924,-1099.3652,-4.3176775,100,0,0), 14 | (@NPC,2,-1478.4865,-1077.9651,-6.023244,100,0,0), 15 | (@NPC,3,-1460.6696,-1051.921,-7.36767,100,0,0), 16 | (@NPC,4,-1427.7164,-1040.4044,-2.0780458,100,0,0), 17 | (@NPC,5,-1397.5704,-1032.105,-1.5046282,100,0,0), 18 | (@NPC,6,-1359.5472,-1021.6162,-1.1081097,100,0,0), 19 | (@NPC,7,-1318.3431,-1009.285,-1.7393727,100,0,0), 20 | (@NPC,8,-1293.9735,-994.2434,-0.91534543,100,0,0), 21 | (@NPC,9,-1279.4846,-972.2039,-1.0127575,100,0,0), 22 | (@NPC,10,-1259.8593,-943.91235,0.43451452,100,0,0), 23 | (@NPC,11,-1245.7662,-916.38556,0.21085262,100,0,0), 24 | (@NPC,12,-1230.8981,-889.93195,-0.2990613,100,0,0), 25 | (@NPC,13,-1202.3557,-861.0522,0.1274085,100,0,0), 26 | (@NPC,14,-1181.9938,-838.1403,-0.07147527,100,0,0), 27 | (@NPC,15,-1155.6682,-812.21387,0.00438118,100,0,0), 28 | (@NPC,16,-1135.0479,-793.8221,0.73909044,100,0,0), 29 | (@NPC,17,-1101.6415,-791.8814,-0.24045515,100,0,0); 30 | -- 0x204CB000000DF140000007000039B364 .go xyz -1473.6924 -1099.3652 -4.3176775 31 | 32 | -- End of migration. 33 | 34 | -------------------------------------------------------------------------------- /Updates/4665_TDB-0486_VDB-20231111004702_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/728d0270fe2b26773c9aea326e32699c01761767 3 | 4 | -- Pathing for Molt Thorn Entry: 14448 5 | DELETE FROM `creature` WHERE `id` = 14448 AND `guid` != 48345; 6 | SET @NPC := 14448; 7 | UPDATE `creature` SET `spawndist`=0,`movementtype`=4,`position_x`=-10372.76,`position_y`=-2757.6826,`position_z`=17.499084 WHERE `id`=@NPC; 8 | DELETE FROM `pool_creature_template` WHERE `id` = 14448; 9 | DELETE FROM `pool_template` WHERE `entry` = 1128; -- 1128 1 Molt Thorn (14448) 10 | DELETE FROM `creature_movement_template` WHERE `entry`=@NPC; 11 | INSERT INTO `creature_movement_template` (`entry`,`point`,`positionx`,`positiony`,`positionz`,`orientation`,`waittime`,`scriptid`) VALUES 12 | (@NPC,1,-10372.76,-2757.6826,17.499084,100,0,0), 13 | (@NPC,2,-10400.012,-2781.2932,17.499088,100,0,0), 14 | (@NPC,3,-10419.404,-2802.7551,17.499088,100,0,0), 15 | (@NPC,4,-10424.825,-2830.8735,17.499088,100,0,0), 16 | (@NPC,5,-10413.998,-2844.0894,17.477198,100,0,0), 17 | (@NPC,6,-10386.297,-2875.072,17.499084,100,0,0), 18 | (@NPC,7,-10373.333,-2900.8286,17.499084,100,0,0), 19 | (@NPC,8,-10351.552,-2923.1472,17.499084,100,0,0), 20 | (@NPC,9,-10332.582,-2934.5989,17.423042,100,0,0), 21 | (@NPC,10,-10317.686,-2915.348,17.49908,100,0,0), 22 | (@NPC,11,-10303.875,-2920.8337,17.49908,100,0,0), 23 | (@NPC,12,-10274.936,-2935.7683,17.49908,100,0,0), 24 | (@NPC,13,-10299.674,-2915.3694,17.49908,100,0,0), 25 | (@NPC,14,-10322.778,-2912.8298,18.183163,100,0,0), 26 | (@NPC,15,-10326.502,-2931.2092,17.439022,100,0,0), 27 | (@NPC,16,-10341.627,-2950.7422,17.46344,100,0,0), 28 | (@NPC,17,-10340.352,-2980.3801,17.475403,100,0,0), 29 | (@NPC,18,-10331.167,-3011.9717,17.499086,100,0,0), 30 | (@NPC,19,-10320.729,-3022.7256,17.499086,100,0,0), 31 | (@NPC,20,-10305.837,-3026.4949,17.499086,100,0,0), 32 | (@NPC,21,-10276.681,-3039.2546,17.499092,100,0,0); 33 | -- 0x204CB000000E1C0000000C00003DDEA7 .go xyz -10372.76 -2757.6826 17.499084 34 | 35 | -- End of migration. 36 | 37 | -------------------------------------------------------------------------------- /Updates/4666_TDB-0487_VDB-20231111215040_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/e38b956db7b16b2a53016285ad033d8299d5385b 3 | 4 | -- Pathing for Foulmane Entry: 1847 5 | SET @NPC := 1847; 6 | DELETE FROM `creature` WHERE `id` = 1847 AND `guid` != 45454; 7 | UPDATE `creature` SET `spawndist`=0,`movementtype`=2,`position_x`=1867.8231,`position_y`=-1582.6323,`position_z`=59.543274 WHERE `id`=@NPC; 8 | DELETE FROM `pool_creature_template` WHERE `id` = 1847; 9 | DELETE FROM `pool_template` WHERE `entry` = 1154; -- 1154 1 Foulmane (1847) 10 | DELETE FROM `creature_movement_template` WHERE `entry`=@NPC; 11 | INSERT INTO `creature_movement_template` (`entry`,`point`,`positionx`,`positiony`,`positionz`,`orientation`,`waittime`,`scriptid`) VALUES 12 | (@NPC,1,1867.8231,-1582.6323,59.543274,100,0,0), 13 | (@NPC,2,1862.686,-1575.6617,59.418274,100,0,0), 14 | (@NPC,3,1865.2483,-1568.495,58.918274,100,0,0), 15 | (@NPC,4,1862.7682,-1561.516,59.257603,100,0,0), 16 | (@NPC,5,1866.2867,-1555.184,59.20914,100,0,0), 17 | (@NPC,6,1874.4098,-1548.5449,59.26224,100,0,0), 18 | (@NPC,7,1888.9252,-1546.674,58.882603,100,0,0), 19 | (@NPC,8,1898.0934,-1554.2573,59.132603,100,0,0), 20 | (@NPC,9,1900.8027,-1568.277,59.696507,100,0,0), 21 | (@NPC,10,1899.4547,-1582.4746,59.418274,100,0,0), 22 | (@NPC,11,1896.0823,-1588.0172,59.168274,100,0,0), 23 | (@NPC,12,1885.111,-1591.6702,59.293274,100,0,0), 24 | (@NPC,13,1874.7734,-1589.3805,59.629944,100,0,0); 25 | -- .go xyz 1867.8231 -1582.6323 59.543274 26 | 27 | -- End of migration. 28 | 29 | -------------------------------------------------------------------------------- /Updates/4669_TDB-0490_VDB-20240620151038_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/c9628cbd7c440cecc72293a1681abdc4d135b860 3 | -- seemingly more spawns and paths 4 | 5 | -- Pathing for Zora Entry: 14474 6 | SET @NPC := 14474; 7 | UPDATE `creature` SET `spawndist`=0,`movementtype`=2,`position_x`=-7378.239,`position_y`=1714.3088,`position_z`=-91.72752 WHERE `id`=@NPC; 8 | DELETE FROM `creature_movement_template` WHERE `entry`=@NPC; 9 | INSERT INTO `creature_movement_template` (`entry`,`point`,`positionx`,`positiony`,`positionz`,`orientation`,`waittime`,`scriptid`) VALUES 10 | (@NPC,1,-7378.239,1714.3088,-91.72752,100,0,0), 11 | (@NPC,2,-7393.453,1717.8257,-92.846466,100,0,0), 12 | (@NPC,3,-7401.651,1709.8647,-92.29474,100,0,0), 13 | (@NPC,4,-7396.23,1696.348,-92.5287,100,0,0), 14 | (@NPC,5,-7377.1226,1687.7341,-91.2392,100,0,0), 15 | (@NPC,6,-7368.2925,1700.2347,-86.44376,100,0,0); 16 | -- 0x204CB000200E22800000A80000679D55 .go xyz -7378.239 1714.3088 -91.72752 17 | 18 | -- End of migration. 19 | 20 | -------------------------------------------------------------------------------- /Updates/4670_TDB-0491_VDB-20230324083740_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/620def0c321e4acf11f8544db126b0d2a30cdfee 3 | -- https://web.archive.org/web/20080528135952/http://wow.allakhazam.com:80/db/item.html?witem=6366 4 | -- maybe fishing too 5 | 6 | /* 7 | By Managos (2,236 – 5·11) on 2021/03/18 (Classic) 8 | After killing over 3,769 worgs in Tirisfal Glades, with stringy wolf meat x2000, 9 | discolored worg hearts x2946, and many useless greens... I got my DARKWOOD POLE. 10 | Now to say that its better than the quest pole for horde would be a lie, however.. 11 | Its pretty neat to see. Good luck to those still grinding it out! 12 | */ 13 | /* 14 | By Karasukami on 2005/01/21 (Patch 1.2.1) 15 | Subject: "hmm" 16 | I have read that Bloodsnout Worgs in silverpine drop this.. 17 | I guess I'll try and see if that is so. :\ 18 | */ 19 | DELETE FROM `creature_loot_template` WHERE `entry` IN (1765,1766,1923) AND `item` IN (6366,422,858,929,1179,1205,2455,2589,2592,3385,3770,4537,4538,4541,4542,4606); 20 | INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES 21 | (1765, 6366, 0.005, 0, 1, 1, 0), -- Worg 22 | (1766, 6366, 0.005, 0, 1, 1, 0), -- Mottled Worg 23 | (1923, 6366, 0.005, 0, 1, 1, 0); -- Bloodsnout Worg 24 | 25 | /* 26 | By bilcosby on 2006/08/11 (Patch 1.11.2) 27 | Subject: "i got one" 28 | i got one from a random mob in duskwood was a worg i was just running thro to get to ZG and i killed for fun and it droped 29 | */ 30 | DELETE FROM `creature_loot_template` WHERE `entry` IN (628,923,1258) AND `item` IN (6366,422,858,929,1179,1205,2455,2589,2592,3385,3770,4537,4538,4541,4542,4606); 31 | INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `groupid`, `mincountOrRef`, `maxcount`, `condition_id`) VALUES 32 | (628, 6366, 0.005, 0, 1, 1, 0), -- Black Ravager 33 | (923, 6366, 0.005, 0, 1, 1, 0), -- Young Black Ravager 34 | (1258, 6366, 0.005, 0, 1, 1, 0); -- Black Ravager Mastiff 35 | 36 | -- End of migration. 37 | 38 | -------------------------------------------------------------------------------- /Updates/4676_WDB-5299_page_text.sql: -------------------------------------------------------------------------------- 1 | -- Fix for Captain's Documents 2 | -- https://www.wowhead.com/wotlk/item=5882/captains-documents 3 | UPDATE `page_text` SET `text` = 'The Bleeding Sparrow: Manifest$B$B(20) barrels rum. Destination: Theramore$B(50) sacks flour. Destination: Theramore$B(2) crates assorted gnome tools. Destination: Ratchet$B(30) bolts cotton cloth. Destination: Theramore$B(4) crates spices. Destination: Theramore$B(3) passengers. Destination: Theramore' WHERE `entry` = 527; 4 | UPDATE `page_text` SET `text` = 'Captain,$B$BI wish you fortune in your journeys. Regrettably, fortune did not favor our first abduction attempt.$B$BWhen our team made contact with the target in the Stormwind/Ironforge tunnels, they found only a decoy. It appears he showed more wisdom than we accredited him.$B$BBut our second plan is already in motion. Defias agents are prepared to intercept the target as he approaches Theramore. Soon Stormwind will feel our bite all too keenly..$B$B-M' WHERE `entry` = 547; 5 | UPDATE `page_text` SET `next_page` = 547 WHERE `entry` = 527; 6 | 7 | -- Fix for Wrynn's Decree 8 | -- https://www.wowhead.com/wotlk/item=11368/wrynns-decree 9 | UPDATE `page_text` SET `text` = 'Solomon,$B$BThe carrier of this decree has been granted official status as an acting deputy of Stormwind. You may use $g him:her; to find proof of the black dragonflight''s involvement with the Blackrock orcs. Should such proof be found, this deputy shall return said proof to me in Stormwind, at which time I shall release the order to dispense sufficient military force to aid Lakeshire.$B$BRegards,$B$B$B$BHighlord Bolvar Fordragon' WHERE `entry` = 1471; 10 | 11 | -- Fix for Mariner's Log 12 | -- https://www.wowhead.com/wotlk/item=34838/mariners-log 13 | UPDATE `page_text` SET `text` = 'First Watch, Seven Bells$BCedric found in rum closet again. Disciplined.', `next_page` = 3045 WHERE `entry` = 3044; 14 | 15 | INSERT INTO `page_text` (`entry`, `text`, `next_page`) VALUES 16 | (3045, 'First Watch, Eight Bells$BWatches changed. All is well.', 3046), 17 | (3046, 'Middle Watch, One Bell$BCedric found attempting to break into Captain\'s wine cabinet. Disciplined.', 3047), 18 | (3047, 'Middle Watch, Two Bells$BCedric climbed rigging, became tangled and fell. Attended by ship\'s surgeon. Sent below to sober up.', 3049), 19 | (3049, 'Middle Watch, Four Bells$BBottle of rum found in Cedric\'s pants. Disciplined.', 3050), 20 | (3050, 'Middle Watch, Five Bells$BCedric\'s clothes found. Cedric found separately. Cedric disciplined.', 3051), 21 | (3051, 'Middle Watch, Six Bells$BCedric singing loudly. Woke Captain. Cedric disciplined by Captain.', 3052), 22 | (3052, 'Middle Watch, Eight Bells$BWatches changed. All quiet. Two men sent to locate Cedric.$B', 3053), 23 | (3053, 'Morning Watch, One Bell$BFire in Captain\'s quarters. All hands roused. Throwing powder overboard. ', 0); 24 | 25 | -- Table `dbscripts_on_creature_movement` contain unused script, id 1006. 26 | -- Table `dbscripts_on_creature_movement` contain unused script, id 1011. 27 | -- `guid` = 49223 AND `id` = 1837; has custom path in tbc using this. 28 | DELETE FROM `dbscripts_on_creature_movement` WHERE `id` IN (1006,1011); -- most rp is more complex than this, can be readded in the future if needed. 29 | 30 | -------------------------------------------------------------------------------- /Updates/4677_VDB-20241118130644_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/07834065128b4d0c516e0354593b54f0fefa477e 3 | 4 | -- Add vendor list for TEST Resist Gear. 5 | UPDATE `creature_template` SET `NpcFlags`=4 WHERE `entry`=12516; -- 128 tbc+ 6 | DELETE FROM `npc_vendor` WHERE `entry` = 12516; 7 | -- INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 1, 5828); -- Ring of Uber Resists (TEST) 8 | -- INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 2, 10555); -- Resist Test Item 9 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 3, 16068); -- Test Fire Resist Cloth LockBox 10 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 4, 16069); -- Test Fire Resist Leather LockBox 11 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 5, 16070); -- Test Fire Resist Mail LockBox 12 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 6, 16071); -- Test Fire Resist Plate LockBox 13 | 14 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 7, 16173); -- Test Frost Resist Cloth LockBox 15 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 8, 16174); -- Test Frost Resist Leather LockBox 16 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 9, 16175); -- Test Frost Resist Mail LockBox 17 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 10, 16176); -- Test Frost Resist Plate LockBox 18 | 19 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 11, 16180); -- Test Nature Resist Cloth LockBox 20 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 12, 16178); -- Test Nature Resist Leather LockBox 21 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 13, 16179); -- Test Nature Resist Mail LockBox 22 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 14, 16177); -- Test Nature Resist Plate LockBox 23 | 24 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 15, 16181); -- Test Shadow Resist Cloth LockBox 25 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 16, 16182); -- Test Shadow Resist Leather LockBox 26 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 17, 16183); -- Test Shadow Resist Mail LockBox 27 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 18, 16184); -- Test Shadow Resist Plate LockBox 28 | 29 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 19, 16186); -- Test Arcane Resist Cloth LockBox 30 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 20, 16187); -- Test Arcane Resist Leather LockBox 31 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 21, 16188); -- Test Arcane Resist Mail LockBox 32 | INSERT INTO `npc_vendor` (`entry`, `slot`, `item`) VALUES (12516, 22, 16185); -- Test Arcane Resist Plate LockBox 33 | -- End of migration. 34 | 35 | -------------------------------------------------------------------------------- /Updates/4678_VDB-20240828201652_world.sql: -------------------------------------------------------------------------------- 1 | -- Add your query below. 2 | -- https://github.com/vmangos/core/commit/ce50f98c9b3d0e1dfb87d903198a8dd246ffaf1a 3 | 4 | -- Fix gossip of Xizk Goodstitch. 5 | DELETE FROM `gossip_menu` WHERE `entry`=2685; 6 | INSERT INTO `gossip_menu` (`entry`, `text_id`, `script_id`, `condition_id`) VALUES 7 | (2685, 3357, 0, 0), -- missing 8 | (2685, 3358, 0, 19); -- Player ClassMask: 256 9 | 10 | 11 | -- End of migration. 12 | 13 | -------------------------------------------------------------------------------- /Updates/4681_TDB-0503_spell_8734.sql: -------------------------------------------------------------------------------- 1 | -- some mobs using spell 8734 should have variety 2 | UPDATE `creature` SET `id` = 0 WHERE `id` IN (7026) AND 3 | `guid` IN (4622,4623,5285,5362,4618,85494,92027,86417,92264,92256,91946,92235,91940); -- already done 5367 4 | REPLACE INTO `creature_spawn_entry` (`guid`, `entry`) VALUES 5 | (4622, 7026),(4622, 7028), 6 | (4623, 7026),(4623, 7028), 7 | (5285, 7026),(5285, 7028), 8 | (5362, 7026),(5362, 7028), 9 | (4618, 7026),(4618, 7028), 10 | (85494, 8547),(85494, 8553),(85494, 8555),(85494, 8556), 11 | (92027, 8547),(92027, 8553),(92027, 8555),(92027, 8556), 12 | (86417, 8547),(86417, 8553),(86417, 8555),(86417, 8556), 13 | (92264, 8551),(92264, 8553),(92264, 8555),(92264, 8556), -- pointing towards missing classic backport 14 | (92256, 8551),(92256, 8553),(92256, 8555),(92256, 8556), 15 | (91946, 8547),(91946, 8551),(91946, 8553),(91946, 8555),(91946, 8556), 16 | (92235, 8547),(92235, 8551),(92235, 8553),(92235, 8555),(92235, 8556), 17 | (91940, 8547),(91940, 8551),(91940, 8553),(91940, 8555),(91940, 8556); 18 | 19 | UPDATE `creature` SET `MovementType` = 2 WHERE `guid` IN (54748,92322,85494,92027,86417,92140,92264,92256,91946,92235,91940,53855,56696, 20 | 91959,91964,91966,91962,91965,53743,69710,53742,92124,91963,54594,69702,64959); 21 | REPLACE INTO `creature_movement` (`Id`, `Point`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `WaitTime`, `ScriptId`) VALUES 22 | (54748, 1, 2473.87, -3731.26, 183.611, 5.74213, 1, 855301), 23 | (92322, 1, 2714.66, -5421.47, 161.407, 5.70723, 1, 855301), 24 | (85494, 1, 3234.84, -3095.61, 161.422, 3.28122, 1, 855301), 25 | (92027, 1, 3054.3, -3232.23, 148.673, 3.24631, 1, 855301), 26 | (86417, 1, 2917.01, -3708.26, 116.688, 6.21337, 1, 855301), 27 | (92140, 1, 2597.64, -5356.64, 175.951, 5.51524, 1, 855301), 28 | (92264, 1, 3185.53, -3456.8, 165.529, 4.1636, 1, 855301), 29 | (92256, 1, 3183.35, -3324.72, 163.548, 2.44346, 1, 855301), 30 | (91946, 1, 2855.31, -3232.34, 134.27, 6.26573, 1, 855301), 31 | (92235, 1, 3135.96, -3867.93, 135.447, 3.33358, 1, 855301), 32 | (91940, 1, 2814.52, -3757.79, 122.507, 3.35103, 1, 855301), 33 | (53855, 1, 2509.67, -3645.45, 186.692, 4.46804, 1, 855301), 34 | (56696, 1, 3403.27, -5004.05, 184.712, 6.26573, 1, 855301), 35 | (91959, 1, 3389.99, -5003.94, 167.727, 6.26573, 1, 855301), 36 | (91964, 1, 3416.23, -5004.01, 191.051, 6.24828, 1, 855301), 37 | (91966, 1, 3427.83, -5005.36, 195.751, 0, 1, 855301), 38 | (91962, 1, 3446.65, -5021.23, 197.374, 0.628319, 1, 855301), 39 | (91965, 1, 3461.96, -4971.2, 197.948, 4.76475, 1, 855301), 40 | (53743, 1, 3432.53, -5036.13, 183.602, 0.750492, 1, 855301), 41 | (69710, 1, 3462.65, -4959.52, 189.941, 4.7473, 1, 855301), 42 | (53742, 1, 3460.19, -4946.9, 182.589, 4.7822, 1, 855301), 43 | (92124, 1, 3459.29, -4934.36, 171.895, 4.7822, 1, 855301), 44 | (91963, 1, 3480.66, -4987.98, 198.403, 3.9619, 1, 855301), 45 | (54594, 1, 3492.42, -4974.96, 184.025, 3.9619, 1, 855301), 46 | (69702, 1, 2562.62, -3810.43, 185.141, 2.47837, 1, 855301), 47 | (64959, 1, 2406.19, -3801.31, 185.555, 0.628319, 1, 855301); 48 | 49 | DELETE FROM `pool_creature` WHERE `pool_entry` IN (15016,15017,15018,15019); -- Plaguewood Ziggurat - Necromancer/Crypt Fiend/Dark Summoner 50 | DELETE FROM `pool_template` WHERE `entry` IN (15016,15017,15018,15019); -- Plaguewood Ziggurat - Necromancer/Crypt Fiend/Dark Summoner 51 | DELETE FROM `creature` WHERE `guid` IN (100186,100187,100188,100189,100190,100191,100192,100193); 52 | DELETE FROM `creature_addon` WHERE `guid` IN (100186,100187,100188,100189,100190,100191,100192,100193); -- does not exist but has a record in `creature_addon` 53 | 54 | -------------------------------------------------------------------------------- /Updates/4682_TDB-0507_c.11484.sql: -------------------------------------------------------------------------------- 1 | -- Residual Monstrosity 11484 2 | -- https://www.wowhead.com/classic/npc=11484/residual-monstrosity 3 | -- https://www.youtube.com/live/9KWBGZQuxXU?si=LSuEF3wkUdx2nKKn&t=2423 4 | UPDATE `creature_template` SET `ExtraFlags` = `ExtraFlags`|(4096+1048576) WHERE `entry` = 11484; 5 | 6 | -------------------------------------------------------------------------------- /Updates/4686_gremnik_rizzlesprang.sql: -------------------------------------------------------------------------------- 1 | -- Correct Level, Gossip and Flags of Gremnik Rizzlesprang 2 | UPDATE `creature_template` SET `MinLevel`=60,`MaxLevel`=60,`GossipMenuId`=7092,`NpcFlags`=1 WHERE `entry`=16123; 3 | 4 | -- Spawn Gremnik at the correct location (taken from VMaNGOS) 5 | DELETE FROM `creature` WHERE `guid`=68935; 6 | INSERT INTO `creature` (`guid`, `id`, `map`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecsmin`, `spawntimesecsmax`, `spawndist`, `MovementType`) VALUES 7 | (68935, 16123, 0, -14456.8, 448.044, 20.4907, 0.0174533, 250, 250, 0, 0); 8 | 9 | -- Add "Ghost" Aura to Gremnik 10 | DELETE FROM `creature_template_addon` WHERE `entry`=16123; 11 | INSERT INTO `creature_template_addon` (`entry`, `auras`) VALUES (16123, '27614 27978'); 12 | 13 | -- Give him proper broadcast text menu 14 | DELETE FROM `npc_text_broadcast_text` WHERE `Id`=8345; 15 | INSERT INTO `npc_text_broadcast_text` (`Id`, `Prob0`, `BroadcastTextId0`) VALUES (8345, 1, 11932); 16 | DELETE FROM `gossip_menu` WHERE `entry`=7092; 17 | INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES (7092, 8345); 18 | 19 | -------------------------------------------------------------------------------- /Updates/4689_TDB-0517_bfd_tp_fix.sql: -------------------------------------------------------------------------------- 1 | -- https://github.com/cmangos/tbc-db/commit/20f38c66e828775b409254171058a24703f55d44 2 | UPDATE spell_target_position SET target_orientation='184.4539947509765625' WHERE Id IN(9268); 3 | -- UPDATE gameobject_template SET data3=94039 WHERE entry IN(103016); -- https://github.com/cmangos/classic-db/commit/7b931ee5695e438e62f2fc2ecc611624a7bc6bd1#diff-eed4bc2ea3d1db32682d1ecf09c9777ba8c35cab60861fadb14c79da682601b8R61 4 | 5 | -------------------------------------------------------------------------------- /Updates/4697_copper_vein_desolace_fix.sql: -------------------------------------------------------------------------------- 1 | UPDATE `spawn_group` SET `MaxCount` = '2' WHERE (`Id` = '10263'); 2 | UPDATE `spawn_group` SET `MaxCount` = '2' WHERE (`Id` = '10264'); 3 | -------------------------------------------------------------------------------- /Updates/4702_TDB-0522_can_weild_loot.sql: -------------------------------------------------------------------------------- 1 | -- vanilla + shade of aran 2 | UPDATE creature_template SET StaticFlags1=StaticFlags1|128 WHERE entry IN(644, 2344, 2345, 2346, 3725, 3727, 3728, 3730, 4809, 4810, 4811, 4812, 4813, 4814, 4832, 5860, 5861, 5862, 5998, 5999, 6000, 6002, 6003, 6004, 6005, 6006, 6007, 6008, 6009, 7360, 7851, 8282, 8304, 9557, 14275, 14390, 14393, 15381, 16524); 3 | 4 | -------------------------------------------------------------------------------- /Updates/4703_TDB-0523_owner_loot.sql: -------------------------------------------------------------------------------- 1 | UPDATE creature_template SET StaticFlags1=StaticFlags1|8192 WHERE entry IN(2673,2674,2676,12426,17458); 2 | 3 | -------------------------------------------------------------------------------- /Updates/4704_TDB-0524_no_owner_threat.sql: -------------------------------------------------------------------------------- 1 | UPDATE creature_template SET StaticFlags2=StaticFlags2|0x00000020 WHERE entry IN(3968,4277,7863,14465,14466,14751,14752,19403,19404,19405,23055,23113,23220); 2 | 3 | -------------------------------------------------------------------------------- /Updates/4705_TDB-0525_no_crushing_blows.sql: -------------------------------------------------------------------------------- 1 | UPDATE creature_template SET StaticFlags2=StaticFlags2|0x00000010 WHERE entry IN(16011,16028); -- loatheb and patchwerk 2 | UPDATE creature_template SET StaticFlags2=StaticFlags2|0x00000010 WHERE entry IN(15689,22950,24891,22997,24892); -- netherspite, kalec and High Nethermancer Zerevor 3 | UPDATE creature_template SET StaticFlags2=StaticFlags2|0x00000010 WHERE entry IN(21362,24674); 4 | 5 | -------------------------------------------------------------------------------- /Updates/4708_TDB-0530_defias_messenger_coward.sql: -------------------------------------------------------------------------------- 1 | -- prolly nerfed at some point 2 | UPDATE creature_template SET StaticFlags2=StaticFlags2|0x00000040 WHERE entry IN(550); 3 | 4 | -------------------------------------------------------------------------------- /Updates/4709_TDB-0531_caverndeep_looter_coward.sql: -------------------------------------------------------------------------------- 1 | UPDATE creature_template SET StaticFlags2=StaticFlags2|0x00000040 WHERE entry IN(6209); 2 | 3 | 4 | -------------------------------------------------------------------------------- /Updates/4712_TDB-0534_general_rajaxx.sql: -------------------------------------------------------------------------------- 1 | UPDATE broadcast_text SET SoundEntriesId1=8604,ChatTypeID=1 WHERE Id IN(11433); 2 | 3 | DELETE FROM `creature_spell_list` WHERE `Id` IN (1534100); 4 | INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Flags`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `Comments`) VALUES 5 | (1534100, 0, 6713, 7000, 9000, 7000, 9000, 0, 100, 0, 100, 2, 'General Rajaxx - Disarm on Random Player'), 6 | (1534100, 1, 25599, '12000','18000','16000','21000', 0, 0, 0, 100, 2, 'General Rajaxx - Thundercrash'), 7 | (1534100, 2, 8269, '600000','600000','120000','120000', 0, 0, 9005, 100, 2, 'General Rajaxx - Enrage'); 8 | 9 | DELETE FROM `creature_spell_list_entry` WHERE `Id` IN (1534100); 10 | INSERT INTO `creature_spell_list_entry` VALUES 11 | (1534100, 'AQ20 - General Rajaxx', 0, 0); 12 | 13 | UPDATE `creature_template` SET `SpellList`=1534100 WHERE `entry` IN (15341); 14 | 15 | DELETE FROM dbscripts_on_relay WHERE Id IN(9005) AND command=0; 16 | INSERT INTO dbscripts_on_relay(id, delay, priority, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, datafloat, x, y, z, o, speed, condition_id, comments) VALUES 17 | ('9005', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1191', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', 'General Rajaxx - Say Frenzy'); 18 | 19 | 20 | -------------------------------------------------------------------------------- /Updates/4713_TDB-0541_cthun.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO creature_template_addon(entry,auras) VALUES 2 | (15334,'18950'); 3 | 4 | UPDATE broadcast_text SET ChatTypeId=2 WHERE Id IN(11476); 5 | UPDATE broadcast_text SET ChatTypeId=7 WHERE Id IN(11700); 6 | 7 | DELETE FROM `creature_spell_list` WHERE `Id` IN (1558900); 8 | INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Flags`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `Comments`) VALUES 9 | (1558900, 0, 26137, 45000, 45000, 85000, 85000, 0, 0, 0, 100, 2, 'Eye of Cthun - Rotate Trigger'), 10 | (1558900, 1, 26134, 22000, 22000, 2000, 3000, 0, 100, 0, 100, 2, 'Eye of Cthun - Eye Beam'); 11 | 12 | DELETE FROM `creature_spell_list_entry` WHERE `Id` IN (1558900); 13 | INSERT INTO `creature_spell_list_entry` VALUES 14 | (1558900, 'AQ40 - Eye of Cthun', 0, 0); 15 | 16 | UPDATE `creature_template` SET `SpellList`=1558900 WHERE `entry` IN (15589); 17 | 18 | DELETE FROM `creature_spell_list` WHERE `Id` IN (1572600); 19 | INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Flags`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `Comments`) VALUES 20 | (1572600, 0, 26143, 2000, 2000, 10000, 12000, 0, 100, 0, 100, 0, 'Eye Tentacle - Mind Flay on Random Player'); 21 | 22 | DELETE FROM `creature_spell_list_entry` WHERE `Id` IN (1572600); 23 | INSERT INTO `creature_spell_list_entry` VALUES 24 | (1572600, 'AQ40 - Eye Tentacle', 0, 0); 25 | 26 | UPDATE `creature_template` SET `SpellList`=1572600 WHERE `entry` IN (15726); 27 | 28 | DELETE FROM `creature_spell_list` WHERE `Id` IN (1533400); 29 | INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Flags`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `Comments`) VALUES 30 | (1533400, 0, 26134, 3000, 3000, 2000, 3000, 0, 100, 0, 100, 0, 'Giant Eye Tentacle - Eye Beam on Random Player'); 31 | 32 | DELETE FROM `creature_spell_list_entry` WHERE `Id` IN (1533400); 33 | INSERT INTO `creature_spell_list_entry` VALUES 34 | (1533400, 'AQ40 - Giant Eye Tentacle', 0, 0); 35 | 36 | UPDATE `creature_template` SET `SpellList`=1533400 WHERE `entry` IN (15334); 37 | 38 | DELETE FROM `creature_spell_list` WHERE `Id` IN (1572600); 39 | INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Flags`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `Comments`) VALUES 40 | (1572600, 0, 26141, 2000, 3000, 5000, 6000, 0, 1, 0, 100, 0, 'Claw Tentacle - Hamstring'); 41 | 42 | DELETE FROM `creature_spell_list_entry` WHERE `Id` IN (1572600); 43 | INSERT INTO `creature_spell_list_entry` VALUES 44 | (1572600, 'AQ40 - Claw Tentacle', 0, 0); 45 | 46 | UPDATE `creature_template` SET `SpellList`=1572600 WHERE `entry` IN (15726); 47 | 48 | DELETE FROM `creature_spell_list` WHERE `Id` IN (1572800); 49 | INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Flags`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `Comments`) VALUES 50 | (1572800, 0, 26211, 5000, 6000, 10000, 10000, 0, 1, 0, 100, 1, 'Giant Claw Tentacle - Hamstring'), 51 | (1572800, 1, 3391, 2000, 3000, 10000, 10000, 0, 1, 0, 100, 1, 'Giant Claw Tentacle - Thrash'); 52 | 53 | DELETE FROM `creature_spell_list_entry` WHERE `Id` IN (1572800); 54 | INSERT INTO `creature_spell_list_entry` VALUES 55 | (1572800, 'AQ40 - Giant Claw Tentacle', 0, 0); 56 | 57 | UPDATE `creature_template` SET `SpellList`=1572800 WHERE `entry` IN (15728); 58 | 59 | UPDATE creature_template SET ExtraFlags=ExtraFlags|0x00100000 WHERE entry IN(15589,15727); 60 | 61 | 62 | -------------------------------------------------------------------------------- /Updates/4715_WDB-5307_c.3162.sql: -------------------------------------------------------------------------------- 1 | -- Burdrak Harglhelm 3162 2 | -- vendor list corrected 3 | UPDATE npc_vendor SET Slot = 1 WHERE entry IN (3162) AND item = 799; -- Rough Leather Vest 4 | UPDATE npc_vendor SET Slot = 2 WHERE entry IN (3162) AND item = 1839; -- Rough Leather Belt 5 | UPDATE npc_vendor SET Slot = 3 WHERE entry IN (3162) AND item = 798; -- Rough Leather Pants 6 | UPDATE npc_vendor SET Slot = 4 WHERE entry IN (3162) AND item = 796; -- Rough Leather Boots 7 | UPDATE npc_vendor SET Slot = 5 WHERE entry IN (3162) AND item = 1840; -- Rough Leather Bracers 8 | UPDATE npc_vendor SET Slot = 6 WHERE entry IN (3162) AND item = 797; -- Rough Leather Gloves 9 | -------------------------------------------------------------------------------- /Updates/4718_TDB-0547_silithid_swarmer.sql: -------------------------------------------------------------------------------- 1 | -- Silithid Swarmer spell_list 2 | DELETE FROM `creature_template_spells` WHERE `entry` = 3252; 3 | 4 | DELETE FROM `creature_spell_list_entry` WHERE `Id`= 325201; 5 | INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES 6 | (325201, 'The Barrens - Silithid Swarmer', 0, 0); 7 | 8 | -- Timers from Sniff data during classic tests 9 | -- ServerToClient: SMSG_SPELL_START 10 | -- 09:08:36.316 11 | -- 09:08:37.928 12 | -- 09:08:44.396 13 | -- 09:08:46.008 14 | -- 09:08:47.610 15 | -- 09:08:52.483 16 | -- 09:08:54.002 17 | -- 09:08:54.102 -- double cast 18 | -- 09:08:54.102 19 | -- 09:08:58.946 20 | -- 09:09:00.570 21 | -- 09:09:02.177 22 | -- 09:09:03.393 23 | DELETE FROM `creature_spell_list` WHERE `Id` IN (325201); 24 | INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES 25 | (325201, 1, 6589, 0, -1, 2, 0, 100, 0, 0, 8000, 0, 8000, 'Silithid Swarmer - Silithid Swarm - self'); 26 | 27 | UPDATE `creature_template` SET `SpellList` = 325201 WHERE `entry` = 3252; -------------------------------------------------------------------------------- /Updates/4719_TDB-0548_sunscale_scytheclaw.sql: -------------------------------------------------------------------------------- 1 | -- Sunscale Scytheclaw spell_list 2 | DELETE FROM `creature_template_spells` WHERE `entry` = 3256; 3 | 4 | DELETE FROM `creature_spell_list_entry` WHERE `Id`= 325601; 5 | INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES 6 | (325601, 'The Barrens - Sunscale Scytheclaw', 0, 0); 7 | 8 | DELETE FROM `creature_spell_list` WHERE `Id` IN (325601); 9 | INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES 10 | (325601, 1, 3391, 0, -1, 2, 0, 100, 0, 8000, 12000, 15000, 20000, 'Sunscale Scytheclaw - Thrash - self'); 11 | 12 | UPDATE `creature_template` SET `SpellList` = 325601 WHERE `entry` = 3256; 13 | 14 | -------------------------------------------------------------------------------- /Updates/4720_TDB-0543_stonetalon_shared_spawn.sql: -------------------------------------------------------------------------------- 1 | INSERT INTO creature_spawn_entry(guid,entry) SELECT guid, 4036 FROM creature WHERE id IN(4036,4044); -- rogue flame spirit 2 | INSERT INTO creature_spawn_entry(guid,entry) SELECT guid, 4044 FROM creature WHERE id IN(4036,4044); -- blackened basilisk 3 | UPDATE creature SET id=0 WHERE id IN(4036,4044); 4 | 5 | -------------------------------------------------------------------------------- /Updates/4721_c.2655_aura_passive.sql: -------------------------------------------------------------------------------- 1 | -- Remove wrong aura passive s.9460 from c.2655 2 | UPDATE `creature_template_addon` SET `auras` = NULL WHERE `entry` = 2655; 3 | 4 | -------------------------------------------------------------------------------- /Updates/4722_TDB-0549_uruson_waypoints.sql: -------------------------------------------------------------------------------- 1 | -- Uroson spawnpoint and waypoints based on sniffs 2 | 3 | DELETE FROM creature WHERE id = 14428; 4 | INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecsmin`, `spawntimesecsmax`, `spawndist`, `MovementType`) VALUES 5 | (46350, 14428, 1, 1, 9907.52246, 393.75543, 1309.78125, 5.8294, 3600, 7200, 0, 2); 6 | 7 | DELETE FROM `creature_movement_template` WHERE entry = 14428; 8 | INSERT INTO `creature_movement_template` (`entry`, `pathId`, `point`, `PositionX`, `PositionY`, `PositionZ`, `orientation`, `WaitTime`, `ScriptId`) VALUES 9 | (14428, 0, 1, 9901.3955,397.1808,1309.5454, 100, 0, 0), 10 | (14428, 0, 2, 9896.847,403.3893,1308.1709, 100, 0, 0), 11 | (14428, 0, 3, 9879.391,406.52887,1307.1951, 100, 0, 0), 12 | (14428, 0, 4, 9853.393,404.44684,1306.3469, 100, 0, 0), 13 | (14428, 0, 5, 9833.638,389.0966,1307.5676, 100, 0, 0), 14 | (14428, 0, 6, 9806.589,370.3251,1308.1271, 100, 0, 0); 15 | 16 | -- UpdateType: CreateObject2 17 | -- Object Guid: Full: 0x20566000200E170000009E0000498861 Creature/0 R5528/S158 Map: 1 Entry: 14428 Low: 4819041 18 | -- WalkSpeed: 1.666669964790344238 19 | -- RunSpeed: 6.944439888000488281 20 | UPDATE creature_template SET SpeedWalk = 1.666669964790344238/2.5, SpeedRun = 6.944439888000488281/7 WHERE entry = 14428; 21 | 22 | -------------------------------------------------------------------------------- /Updates/4723_TDB-0550_quest_gammerita_mon.sql: -------------------------------------------------------------------------------- 1 | -- Gammerita, Mon! doesnt have a pre quest 2 | UPDATE quest_template SET PrevQuestId = 0 WHERE entry = 7816 3 | 4 | -------------------------------------------------------------------------------- /Updates/4724_TDB-0551_pterrodax.sql: -------------------------------------------------------------------------------- 1 | -- Fledgling Pterrordax spell_list 2 | DELETE FROM `creature_template_spells` WHERE `entry` = 9165; 3 | 4 | DELETE FROM `creature_spell_list_entry` WHERE `Id`= 916501; 5 | INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES 6 | (916501, 'Un\'Goro Crater - Fledgling Pterrordax', 0, 0); 7 | 8 | DELETE FROM `creature_spell_list` WHERE `Id` IN (916501); 9 | INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES 10 | (916501, 1, 5708, 0, -1, 1, 0, 100, 0, 7000, 20000, 12000, 22000, 'Fledgling Pterrordax - Swoop - current'); 11 | 12 | UPDATE `creature_template` SET `SpellList` = 916501 WHERE `entry` = 9165; 13 | 14 | 15 | -- Pterrordax spell_list 16 | DELETE FROM `creature_template_spells` WHERE `entry` = 9166; 17 | 18 | DELETE FROM `creature_spell_list_entry` WHERE `Id`= 916601; 19 | INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES 20 | (916601, 'Un\'Goro Crater - Pterrordax', 0, 0); 21 | 22 | DELETE FROM `creature_spell_list` WHERE `Id` IN (916601); 23 | INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES 24 | (916601, 1, 6605, 0, -1, 2, 0, 100, 0, 6000, 15000, 15000, 25000, 'Pterrordax - Terrifying Screech - self'); 25 | 26 | UPDATE `creature_template` SET `SpellList` = 916601 WHERE `entry` = 9166; 27 | 28 | 29 | -- Frenzied Pterrordax spell_list 30 | DELETE FROM `creature_template_spells` WHERE `entry` = 9167; 31 | 32 | DELETE FROM `creature_spell_list_entry` WHERE `Id`= 916701; 33 | INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES 34 | (916701, 'Un\'Goro Crater - Frenzied Pterrordax', 0, 0); 35 | 36 | DELETE FROM `creature_spell_list` WHERE `Id` IN (916701); 37 | INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES 38 | (916701, 1, 7399, 0, -1, 7, 0, 100, 0, 6000, 16000, 16000, 26000, 'Frenzied Pterrordax - Terrify - current not alone'); 39 | 40 | UPDATE `creature_template` SET `SpellList` = 916701 WHERE `entry` = 9167; 41 | 42 | -------------------------------------------------------------------------------- /Updates/4725_TDB-0552_freezing_ghoul.sql: -------------------------------------------------------------------------------- 1 | -- Freezing Ghoul spell_list 2 | DELETE FROM `creature_template_spells` WHERE `entry` = 1796; 3 | 4 | DELETE FROM `creature_spell_list_entry` WHERE `Id`= 179601; 5 | INSERT INTO `creature_spell_list_entry` (`Id`, `Name`, `ChanceSupportAction`, `ChanceRangedAttack`) VALUES 6 | (179601, 'Western Plaguelands - Freezing Ghoul', 0, 0); 7 | 8 | DELETE FROM `creature_spell_list` WHERE `Id` IN (179601); 9 | INSERT INTO `creature_spell_list` (`Id`, `Position`, `SpellId`, `Flags`, `CombatCondition`, `TargetId`, `ScriptId`, `Availability`, `Probability`, `InitialMin`, `InitialMax`, `RepeatMin`, `RepeatMax`, `Comments`) VALUES 10 | (179601, 1, 16803, 0, -1, 0, 0, 100, 0, 10000, 22000, 17000, 26000, 'Freezing Ghoul - Flash Freeze - none'); 11 | 12 | UPDATE `creature_template` SET `SpellList` = 179601 WHERE `entry` = 1796; 13 | -------------------------------------------------------------------------------- /Updates/4726_TDB-0551_old_grizzlegut.sql: -------------------------------------------------------------------------------- 1 | UPDATE `creature` SET `guid` = 156048 WHERE `guid` = 156039; -- Eyeless Watcher (missing commit?) 2 | SET @MOVID = 156039; 3 | DELETE FROM creature WHERE guid = @MOVID; 4 | INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecsmin`, `spawntimesecsmax`, `spawndist`, `MovementType`) VALUES 5 | (@MOVID, 5352, 1, 1, '-4605.3027', '835.5799', '48.544235', 5.8294, 115200,172800, 0, 2); 6 | 7 | DELETE FROM creature_movement WHERE Id = @MOVID; 8 | INSERT INTO creature_movement (Id, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId, Comment) VALUES 9 | (@MOVID + 0, '1', '-4605.3027', '835.5799', '48.544235', '100', '0', '0', NULL), 10 | (@MOVID + 0, '2', '-4590.3706', '815.77985', '47.34755', '100', '0', '0', NULL), 11 | (@MOVID + 0, '3', '-4584.7266', '781.70197', '46.92108', '100', '0', '0', NULL), 12 | (@MOVID + 0, '4', '-4583.102', '744.00305', '48.353146', '100', '0', '0', NULL), 13 | (@MOVID + 0, '5', '-4588.9907', '716.42096', '47.355934', '100', '0', '0', NULL), 14 | (@MOVID + 0, '6', '-4604.914', '689.81055', '49.369003', '100', '0', '0', NULL), 15 | (@MOVID + 0, '7', '-4607.4595', '660.7903', '50.849434', '100', '0', '0', NULL), 16 | (@MOVID + 0, '8', '-4590.743', '642.7796', '48.480007', '100', '0', '0', NULL), 17 | (@MOVID + 0, '9', '-4575.6436', '618.01086', '48.570393', '100', '0', '0', NULL), 18 | (@MOVID + 0, '10', '-4536.929', '617.47156', '48.603333', '100', '0', '0', NULL), 19 | (@MOVID + 0, '11', '-4521.9233', '625.3254', '56.21533', '100', '0', '0', NULL), 20 | (@MOVID + 0, '12', '-4512.896', '616.85175', '56.740864', '100', '0', '0', NULL), 21 | (@MOVID + 0, '13', '-4488.385', '621.7344', '53.67344', '100', '0', '0', NULL), 22 | (@MOVID + 0, '14', '-4447.5312', '612.49664', '57.91126', '100', '0', '0', NULL), 23 | (@MOVID + 0, '15', '-4415.699', '614.6194', '58.639984', '100', '0', '0', NULL), 24 | (@MOVID + 0, '16', '-4383.5884', '618.1897', '58.5411', '100', '0', '0', NULL), 25 | (@MOVID + 0, '17', '-4351.009', '616.6503', '58.06495', '100', '0', '0', NULL), 26 | (@MOVID + 0, '18', '-4321.2476', '616.3062', '61.908962', '100', '0', '0', NULL); 27 | 28 | SET @SGGUID := 8000; 29 | DELETE FROM spawn_group WHERE Id =@SGGUID+0; 30 | INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES 31 | (@SGGUID+0, 'Feralas - Old Grizzlegut', 0, 1, 0, 0); 32 | DELETE FROM spawn_group_spawn WHERE Id =@SGGUID+0; 33 | INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES 34 | -- Feralas - Old Grizzlegut 35 | (@SGGUID+0, 156039, -1), 36 | (@SGGUID+0, 51839, -1); 37 | -------------------------------------------------------------------------------- /Updates/4728_TDB-0558_dalaran_wizard.sql: -------------------------------------------------------------------------------- 1 | -- Add waypoints for Dalaran Wizard. 2 | UPDATE `creature` SET `MovementType`=2, `spawndist`=0, `position_x`=31.3336, `position_y`=793.583, `position_z`=64.9399, `orientation`=1.92567 WHERE `guid`=17751; 3 | DELETE FROM `creature_movement` WHERE `Id`=17751; 4 | INSERT INTO `creature_movement` (`Id`, `Point`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `WaitTime`, `ScriptId`) VALUES 5 | (17751, 1, 31.333551, 793.582703, 64.939934, 100.000000, 0, 0), 6 | (17751, 2, 32.742165, 789.781433, 64.951569, 100.000000, 0, 0), 7 | (17751, 3, 32.609329, 786.525452, 64.951523, 100.000000, 0, 0), 8 | (17751, 4, 19.151802, 785.979736, 64.951523, 100.000000, 0, 0), 9 | (17751, 5, 27.391720, 785.569763, 64.951515, 100.000000, 0, 0), 10 | (17751, 6, 31.333479, 785.707825, 64.951523, 100.000000, 0, 0); 11 | -------------------------------------------------------------------------------- /Updates/4729_TDB-0556_takk_the_leaper.sql: -------------------------------------------------------------------------------- 1 | -- Takk the Leaper 2 | -- UpdateType: CreateObject1 3 | -- Object Guid: Full: 0x2045A8002005B48000000D00002F4E55 Creature/0 R4458/S13 Map: 1 Entry: 5842 Low: 3100245 4 | -- WalkSpeed: 2.5 5 | -- RunSpeed: 10 6 | -- UNIT_FIELD_LEVEL: 19 7 | -- UNIT_FIELD_FACTIONTEMPLATE: 48/6.7E-44 (48) 8 | -- UNIT_FIELD_FLAGS: 64 9 | -- UNIT_FIELD_FLAGS_2: 2048 10 | -- UNIT_FIELD_BASEATTACKTIME: 2000 11 | -- UNIT_FIELD_BASEATTACKTIME + 1: 2000 12 | -- UNIT_FIELD_BOUNDINGRADIUS: 1.073 13 | -- UNIT_FIELD_COMBATREACH: 1.5 14 | -- UNIT_FIELD_DISPLAYID: 1337 15 | -- UNIT_FIELD_DISPLAY_SCALE: 1065353216/1 16 | -- UNIT_FIELD_NATIVEDISPLAYID: 1337 17 | -- UNIT_FIELD_NATIVE_X_DISPLAY_SCALE: 1065353216/1 18 | 19 | -- Takk the Leaper passive 20 | -- ('584201','5842','1','0','100','0','1000','1000','0','0','0','0','11','7165','0','0','0','0','0','0','0','0','0','0','Takk the Leaper - Cast Battle Stance OOC'), 21 | -- ('584202','5842','4','0','100','0','0','0','0','0','0','0','11','6268','1','0','0','0','0','0','0','0','0','0','Takk the Leaper - Cast Rushing Charge'), 22 | -- CastID: Full: 0xBC45A8002014A90700000D00002F4E58 Cast/7 R4458/S13 Map: 1 Entry: 21156 Low: 3100248 23 | -- SpellID: 21156 (21156) 24 | -- UnitGUID: Full: 0x2045A8002005B48000000D00002F4E55 Creature/0 R4458/S13 Map: 1 Entry: 5842 Low: 3100245 25 | UPDATE `creature_template_addon` SET `auras` = '21156' WHERE `entry` = 5842; 26 | 27 | -------------------------------------------------------------------------------- /Updates/4730_TDB-0559_rethban_gauntlet.sql: -------------------------------------------------------------------------------- 1 | -- ---------------- 2 | -- Redridge Mountains 3 | -- Quest - The Rethban Gauntlet (id 1699) new End script 4 | -- --------------- 5 | 6 | -- old script was identical to tbcmangos one so using new script. 7 | -- Quest End RP 8 | DELETE FROM dbscripts_on_quest_end WHERE id IN (1699); 9 | INSERT INTO `dbscripts_on_quest_end` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `buddy_entry`, `search_radius`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `comments`) VALUES 10 | (1699, 0, 0, 21, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Yorus Barleybrew - Set ActiveObject'), 11 | (1699, 0, 1, 29, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Yorus Barleybrew - Remove NpcFlags'), 12 | (1699, 0, 2, 1, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Yorus Barleybrew - Emote Shout'), 13 | (1699, 0, 3, 0, 0, 0, 0, 0, 0, 0, 2308, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Yorus Barleybrew - Say Text'), 14 | (1699, 0, 4, 32, 1, 0, 0, 379, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Darcy - Stop Waypoint'), 15 | (1699, 0, 5, 36, 0, 0, 0, 379, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Darcy - Face Player'), 16 | (1699, 1000, 0, 1, 4, 0, 0, 5620, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Bartender Wental - Emote Cheer'), 17 | (1699, 3000, 0, 1, 21, 0, 0, 346, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Barkeep Daniels - Emote OneShotApplaud'), 18 | (1699, 3000, 1, 1, 21, 0, 0, 379, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Darcy - Emote OneShotApplaud'), 19 | (1699, 5000, 0, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Yorus Barleybrew - Emote Cheer'), 20 | (1699, 5000, 1, 0, 0, 0, 0, 0, 0, 0, 2309, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Yorus Barleybrew - Say Text'), 21 | (1699, 6000, 0, 1, 4, 0, 0, 379, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Darcy - Emote OneShotCheer'), 22 | (1699, 6000, 1, 1, 21, 0, 0, 5620, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Bartender Wental - Emote OneShotApplaud'), 23 | (1699, 9000, 0, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Yorus Barleybrew - Emote Cheer'), 24 | (1699, 9000, 1, 0, 0, 0, 0, 0, 0, 0, 2309, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Yorus Barleybrew - Say Text'), 25 | (1699, 10000, 5, 32, 0, 0, 0, 379, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Darcy - Start Waypoint'), 26 | (1699, 13000, 0, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Yorus Barleybrew - Emote Cheer'), 27 | (1699, 13000, 1, 0, 0, 0, 0, 0, 0, 0, 2309, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Yorus Barleybrew - Say Text'), 28 | (1699, 14000, 0, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Yorus Barleybrew - Remove ActiveObject'), 29 | (1699, 14000, 1, 29, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Rethban Gauntlet - Yorus Barleybrew - Add NpcFlags'); 30 | 31 | -------------------------------------------------------------------------------- /Updates/4732_TDB-0557_guid_range_fix.sql: -------------------------------------------------------------------------------- 1 | -- note - this coincides with instance file for map 70 and 90 being changed to 900000 instead of 9000000 (extra zero removal) so that core has more dynguids available 2 | UPDATE creature SET guid=(guid - 900000 + 720000) WHERE guid BETWEEN 900000 AND 905000 AND map=1; 3 | UPDATE gameobject SET guid=(guid - 900000 + 720000) WHERE guid BETWEEN 900000 AND 905000 AND map=1; 4 | 5 | -------------------------------------------------------------------------------- /Updates/4733_TDB-0561_spawn_group_reguid.sql: -------------------------------------------------------------------------------- 1 | -- ---------------- 2 | -- Change some guid/entry/ids to match with WIKI Informations. 3 | 4 | -- Worldstate Resort 5 | -- Official WorldStateID range from 1-10k (WoTLK ends at about 5k), Custom defined cMaNGOS WorldStateIDs start at 10k+. 6 | -- Conditions 7 | -- --------------- 8 | 9 | -- Quest ID 330 - Plague Spreader Spawn 10 | UPDATE worldstate_name SET Id = 19018 WHERE Id = 6506; 11 | UPDATE dbscripts_on_creature_movement SET dataint = 19018 WHERE id = 142101 AND command = 53 AND dataint = 6506; 12 | UPDATE dbscripts_on_creature_movement SET dataint = 19018 WHERE id = 60401 AND command = 53 AND dataint = 6506; 13 | UPDATE spawn_group SET WorldState= 19018 WHERE Id = 19018; 14 | 15 | -- Quest ID 5203 - Jaedenar Legionnaire Spawn 16 | UPDATE worldstate_name SET Id = 19030 WHERE Id = 6507; 17 | UPDATE dbscripts_on_creature_movement SET dataint = 19030 WHERE id = 1101604 AND command = 53 AND dataint = 6507; 18 | UPDATE spawn_group SET WorldState= 19030 WHERE Id = 19030; 19 | 20 | -- Use same worldstate.id for condition_entry 21 | UPDATE conditions SET condition_entry = 19018, value1 = 19018 WHERE condition_entry = 6506; 22 | UPDATE conditions SET condition_entry = 19030, value1 = 19030 WHERE condition_entry = 6507; -------------------------------------------------------------------------------- /Updates/4735_TDB-0562_sully_balloo_letter.sql: -------------------------------------------------------------------------------- 1 | -- ---------------- 2 | -- Ironforge 3 | -- Quest Sully Balloo's Letter (637) 4 | -- --------------- 5 | 6 | -- New script 7 | DELETE FROM dbscripts_on_quest_end WHERE id = 637; 8 | INSERT INTO `dbscripts_on_quest_end` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `buddy_entry`, `search_radius`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `comments`) VALUES 9 | (637, 0, 0, 21, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Sully Balloo\'s Letter - Sara Balloo - Set ActiveObject'), 10 | (637, 0, 1, 29, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Sully Balloo\'s Letter - Sara Balloo - Remove NpcFlags'), 11 | (637, 0, 2, 0, 0, 0, 0, 0, 0, 0, 792, 0, 0, 0, 0, 0, 0, 0, 'Sully Balloo\'s Letter - Sara Balloo - Say EmotedText'), 12 | (637, 6000, 0, 1, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Sully Balloo\'s Letter - Sara Balloo - Emote Roar'), 13 | (637, 6000, 1, 0, 0, 0, 0, 0, 0, 0, 793, 0, 0, 0, 0, 0, 0, 0, 'Sully Balloo\'s Letter - Sara Balloo - Say Text'), 14 | (637, 10000, 0, 1, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Sully Balloo\'s Letter - Sara Balloo - Emote Cry'), 15 | (637, 15000, 0, 1, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Sully Balloo\'s Letter - Sara Balloo - Emote Beg'), 16 | (637, 20000, 0, 29, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Sully Balloo\'s Letter - Sara Balloo - Add NpcFlags'), 17 | (637, 20000, 1, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Sully Balloo\'s Letter - Sara Balloo - Remove ActiveObject'); 18 | 19 | UPDATE broadcast_text SET ChatTypeID = 2 WHERE Id = 792; 20 | -------------------------------------------------------------------------------- /Updates/4736_TDB-0563_a_noble_brew.sql: -------------------------------------------------------------------------------- 1 | -- ---------------- 2 | -- Stormwind 3 | -- Quest A Noble Brew (336) 4 | -- --------------- 5 | 6 | -- Correct spawnPosition and Respawn Timer based on Sniffs 7 | DELETE FROM creature WHERE guid = 79749; 8 | INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecsmin`, `spawntimesecsmax`, `spawndist`, `MovementType`) VALUES 9 | (79749, 1439, 0, 1, -8562.7783203125, 369.692169189453125, 108.568878173828125, 0.471238881349563598, 60, 60, 0, 0); 10 | 11 | -- Add Waypoints used during Quest 12 | DELETE FROM `creature_movement_template` WHERE `entry` = 1439; 13 | INSERT INTO `creature_movement_template` (`entry`, `pathId`, `point`, `PositionX`, `PositionY`, `PositionZ`, `orientation`, `WaitTime`, `ScriptId`) VALUES 14 | (1439, 1, 1, -8562.778, 369.69217, 108.56887, 100, 0, 0), 15 | (1439, 1, 2, -8560.683, 362.36588, 108.476135, 100, 0, 0), 16 | (1439, 1, 3, -8557.226, 365.08148, 108.44017, 100, 100, 143901); 17 | 18 | -- New script 19 | DELETE FROM dbscripts_on_quest_end WHERE id = 336; 20 | INSERT INTO `dbscripts_on_quest_end` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `buddy_entry`, `search_radius`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `comments`) VALUES 21 | (336, 0, 0, 21, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'A Noble Brew - Lord Baurles - Set ActiveObject'), 22 | (336, 0, 1, 29, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'A Noble Brew - Lord Baurles - Remove NpcFlags'), 23 | (336, 0, 2, 0, 0, 0, 0, 0, 0, 0, 387, 0, 0, 0, 0, 0, 0, 0, 'A Noble Brew - Lord Baurles - Say Text'), 24 | (336, 0, 3, 20, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'A Noble Brew - Lord Baurles - Start Waypoints'); 25 | 26 | DELETE FROM dbscripts_on_creature_movement WHERE id = 143901; 27 | INSERT INTO `dbscripts_on_creature_movement` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `buddy_entry`, `search_radius`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `comments`) VALUES 28 | (143901, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'A Noble Brew - Lord Baurles - change to Idle'), 29 | (143901, 0, 1, 0, 0, 0, 0, 0, 0, 0, 388, 0, 0, 0, 0, 0, 0, 0, 'A Noble Brew - Lord Baurles - Say Text'), 30 | (143901, 0, 2, 15, 2596, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 0, 'A Noble Brew - Lord Baurles - Cast Spell'), 31 | (143901, 6000, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'A Noble Brew - Lord Baurles - Despawn Self'); 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /Updates/4737_TDB-0565_scythe_of_elune.sql: -------------------------------------------------------------------------------- 1 | -- ---------------- 2 | -- Duskwood 3 | -- The Scythe of Elune (1043) 4 | -- Mound of Dirt object script corrections 5 | -- --------------- 6 | 7 | DELETE FROM dbscripts_on_event WHERE id IN (664); 8 | INSERT INTO `dbscripts_on_event` (`id`, `delay`, `priority`, `command`, `datalong`, `datalong2`, `datalong3`, `buddy_entry`, `search_radius`, `data_flags`, `dataint`, `dataint2`, `dataint3`, `dataint4`, `x`, `y`, `z`, `o`, `comments`) VALUES 9 | (664, 0, 0, 10, 3946, 13000, 0, 0, 0, 0, 0, 0, 0, 0, -11141.121, -1152.6804, 43.5816, 4.7822, 'The Scythe of Elune - Mound of Dirt - Spawn Velinde Starsong'), -- 12:05:39.969 10 | (664, 2000, 0, 36, 0, 0, 0, 3946, 20, 3, 0, 0, 0, 0, 0, 0, 0, 0, 'The Scythe of Elune - Velinde Starsong - Face Player'), -- 12:05:41.141 11 | (664, 5000, 0, 1, 1, 0, 0, 3946, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Scythe of Elune - Velinde Starsong - Emote OneShotTalk'), -- 12:05:44.406 12 | (664, 5000, 1, 0, 0, 0, 0, 3946, 20, 0, 1359, 0, 0, 0, 0, 0, 0, 0, 'The Scythe of Elune - Velinde Starsong - Emote OneShotTalk'), -- 12:05:44.406 13 | (664, 9000, 0, 1, 18, 0, 0, 3946, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'The Scythe of Elune - Velinde Starsong - Emote OneShotCry'), -- 12:05:49.297 14 | (664, 9000, 1, 0, 0, 0, 0, 3946, 20, 0, 1360, 0, 0, 0, 0, 0, 0, 0, 'The Scythe of Elune - Velinde Starsong - Emote OneShotTalk'); 15 | -------------------------------------------------------------------------------- /Updates/4740_WDB-5474_q.5158.sql: -------------------------------------------------------------------------------- 1 | -- q.5158 'Seeking Spiritual Aid' 2 | -- reconstructed 3 | DELETE FROM creature_movement_template WHERE Entry = 5901; 4 | INSERT INTO creature_movement_template (Entry, Point, PositionX, PositionY, PositionZ, Orientation, WaitTime, ScriptId) VALUES 5 | (5901,1,-1345.1189,-4047.6067,6.0486555,4.34587,100,590101), 6 | (5901,2,-1343.4883,-4051.8325,5.7608337,100,0,0), 7 | (5901,3,-1342.7383,-4054.5825,4.2608337,100,0,0), 8 | (5901,4,-1343.2383,-4059.3325,1.510834,100,0,0), 9 | (5901,5,-1343.7383,-4062.3325,0.26083398,100,0,0), 10 | (5901,6,-1343.9883,-4064.3325,0.010833979,100,0,0), 11 | (5901,7,-1344.1324,-4065.494,-0.6527605,100,28000,590102), 12 | (5901,8,-1342.6777,-4054.6719,3.7815657,100,0,0), 13 | (5901,9,-1343.9987,-4047.967,5.870921,100,0,0), 14 | (5901,10,-1345.1189,-4047.6067,6.0486555,100,0,0), 15 | (5901,11,-1345.1189,-4047.6067,6.0486555,4.34587,100,590103); 16 | DELETE FROM dbscripts_on_creature_movement WHERE id BETWEEN 590101 AND 590103; 17 | INSERT INTO dbscripts_on_creature_movement (id, delay, command, datalong, datalong2, datalong3, buddy_entry, search_radius, data_flags, dataint, dataint2, dataint3, dataint4, x, y, z, o, comments) VALUES 18 | (590101,1,21,1,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'active'), 19 | (590101,2,29,3,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'NpcFlags Removed'), 20 | (590102,100,0,0,0,0,0,0,0x04,6586,0,0,0,0,0,0,0,'Say'), 21 | (590102,200,28,8,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'STATE_KNEEL'), -- 16:15:50.891 22 | (590102,9000,9,50658,10,0,0,0,0,0,0,0,0,0,0,0,0,'Respawn object'), 23 | (590102,11000,10,11256,14000,0,0,0x08,0,0,0,0,0,-1344.7212,-4071.927,-0.8289547,1.5009,'Islen summon'), -- 16:16:01.438 - 16:16:15.610 24 | (590102,14000,0,0,0,0,11256,20,7,6607,0,0,0,0,0,0,0,'buddy say'), 25 | (590102,18000,15,18113,0,0,11256,20,7,0,0,0,0,0,0,0,0,'buddy cast 18113'), 26 | (590102,25000,0,0,0,0,0,0,0x04,6599,0,0,0,0,0,0,0,'Say'), -- thanks -- 16:16:15.344 27 | (590102,27000,28,0,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'STATE_STAND'), 28 | (590103,1,29,3,1,0,0,0,0x04,0,0,0,0,0,0,0,0,'NpcFlags added'), 29 | (590103,2,20,0,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'idle'), 30 | (590103,3,21,1,0,0,0,0,0x04,0,0,0,0,0,0,0,0,'unactive'); 31 | 32 | -- Manifestation of Water 11256 33 | UPDATE creature_template SET Faction = 35, UnitClass = 2, UnitFlags = 832 WHERE Entry IN (11256); 34 | 35 | -- Water Manifestation Effect 106528 36 | DELETE FROM `gameobject` WHERE `guid` = 55795; -- align with wotlk 37 | DELETE FROM `game_event_gameobject` WHERE `guid` = 50658; -- remove bad data due to overwrite below 38 | REPLACE INTO `game_event_gameobject` (`guid`, `event`) VALUES (44062, 1),(44062, 8); -- replaces 50658 for both events 39 | DELETE FROM `gameobject` WHERE `guid` = 50658; 40 | INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecsmin`, `spawntimesecsmax`) VALUES 41 | (50658, 106528, 1, 1, -1344.84997558593750000000, -4072.30004882812500000000, -0.92216300964355470000, -1.81514000892639160000, 0.00000000000000000000, 0.00000000000000000000, -0.78801000118255620000, 0.61566197872161870000, -10, -10); 42 | -------------------------------------------------------------------------------- /Updates/4741_WDB-5479_c.3110.sql: -------------------------------------------------------------------------------- 1 | -- Dreadmaw Crocolisk 3110 2 | -- spawned underground 3 | UPDATE creature SET position_x = 544.298828, position_y = -3755.502930, position_z = 15.736476, spawndist = 10, MovementType = 1 WHERE guid = 13565 AND id = 3110; 4 | -------------------------------------------------------------------------------- /Updates/4743_WDB-5483_c.3204.sql: -------------------------------------------------------------------------------- 1 | -- Gazz'uz 3204 2 | -- moved to spawn groups 3 | DELETE FROM `pool_template` WHERE `entry` = 1202; -- 1202 1 Gazz'uz (3204) 4 | DELETE FROM `pool_creature_template` WHERE `id` = 3204; -- 3204 1202 0 Gazz'uz (3204) 5 | DELETE FROM `spawn_group` WHERE id = 19894; 6 | INSERT INTO `spawn_group` (`Id`, `Name`, `Type`, `MaxCount`, `WorldState`, `Flags`) VALUES 7 | (19894, 'Durotar - Skull Rock - Gazz\'uz 3204', 0, 1, 0, 0); 8 | DELETE FROM `spawn_group_spawn` WHERE id = 19894; 9 | INSERT INTO `spawn_group_spawn` (`Id`, `Guid`, `SlotId`) VALUES 10 | (19894, 6456, -1), 11 | (19894, 6501, -1), 12 | (19894, 6502, -1), 13 | (19894, 6503, -1); 14 | 15 | -------------------------------------------------------------------------------- /Updates/4744_WDB-5332_heeding_the_call_questfix.sql: -------------------------------------------------------------------------------- 1 | 2 | -- Heeding the Call (Alliance) 3 | DELETE FROM `creature_questrelation` WHERE `quest` IN (5923, 5924, 5925); 4 | 5 | INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES 6 | (4218, 5923), -- Denatharion 7 | (5505, 5924), -- Theridran 8 | -- (16721, 5924), -- Shalannius 9 | (3602, 5925); -- Kal 10 | 11 | -- he isn't a quest-npc at all (remove questgiver flag) 12 | UPDATE `creature_template` SET `NpcFlags` = 49 WHERE `entry` = 4219; -- 19 13 | 14 | -- Heeding the Call (Horde) 15 | DELETE FROM `creature_questrelation` WHERE `quest` IN (5926, 5927, 5928); 16 | 17 | INSERT INTO `creature_questrelation` (`id`, `quest`) VALUES 18 | (6746, 5926), -- Innkeeper Pala 19 | (6929, 5927), -- Innkeeper Gryshka 20 | -- (16655, 5927), -- Harene Plainwalker 21 | (3064, 5928); -- Gennia Runetotem 22 | 23 | -------------------------------------------------------------------------------- /Updates/4745_WDB-3617_GossipCleanUp.sql: -------------------------------------------------------------------------------- 1 | -- Removed all gossips that have correct id set in creature_template 2 | -- CDB & TDB can use this... for check 3 | -- SELECT * FROM npc_gossip WHERE npc_guid IN (SELECT guid FROM creature WHERE id IN (SELECT Entry FROM creature_template WHERE GossipMenuId >0)); 4 | DELETE FROM npc_gossip WHERE npc_guid IN ( 5 | -- guid, text, gossipmenu, gossiptext 6 | -- 62, -- 4445 more options 7 | -- 141208, -- 7354 6214 7366, different 8 | 6499, -- 7174 6022 7174 9 | 19221, -- 3557 2871 3557 10 | 37097, -- 3334 50001 3334 11 | 51258, -- 2575 1922 2575 12 | 86167, -- 68 5181 6194 - entry 13436 "68" is blank template 13 | 86233); -- 6194 5181 6194 14 | 15 | -------------------------------------------------------------------------------- /Updates/Instances/README.txt: -------------------------------------------------------------------------------- 1 | ============================= 2 | CMaNGOS Classic-DB INSTANCE FILES 3 | ============================= 4 | 5 | ------------------------------ 6 | How do I use an instance file? 7 | ------------------------------ 8 | 9 | This set of files is included by default at the very end of a full Classic-DB build via the install script. 10 | Instance files are preserved between releases and prioritized higher than regular DB updates. 11 | 12 | Whenever you are working with any creature/object guids which are inside of dungeons or raids, you'll need to be modifying the corresponding instance file. 13 | If changes are made outside an instance file which should have been contained within, they risk not being applied properly upon fresh DB build. 14 | 15 | Please make use of the provided variables (@CGUID+XXX and @OGUID+XXX) when adding new creature and gameobject guids instead of hardcoding numbers in the files. 16 | Try to follow the format and conventions of other authors before you so the content stays consistent and easy to understand. 17 | 18 | Don't be afraid to add comments and spacing to make things more clear/readable! 19 | 20 | Keep in mind that all of these files are still very much a work in progress - there is much to be improved on and added. 21 | If you're looking for something to do, check the comments in the top header of each instance file. This space is reserved for any TODO notes and open related issues for the instance. 22 | 23 | -------------------------------------------------- 24 | Which data should be maintained in instance files? 25 | -------------------------------------------------- 26 | 27 | As a general rule of thumb, if the table/record references the guid of a specific creature or gameobject inside of a dungeon/raid, then it belongs. 28 | 29 | Tables which usually contain the relevant data: 30 | - creature 31 | - creature_movement 32 | - creature_addon 33 | - creature_linking 34 | - dbscript* 35 | - gameobject 36 | - gameobject_addon 37 | - pool_creature/gameobject 38 | - gameobject/creature_battleground 39 | 40 | Try to keep modifications to data from other tables (such as loot, gossip, creature/gameobject_template, etc.) within regular incremental DB updates as normal. 41 | 42 | Do NOT use the files at this time for anything spawned in the following maps: 43 | 0 - Eastern Kingdoms 44 | 1 - Kalimdor 45 | -------------------------------------------------------------------------------- /backups/.gitignore: -------------------------------------------------------------------------------- 1 | # ignore all file here 2 | * 3 | */ 4 | !.gitignore -------------------------------------------------------------------------------- /dev/READ ME: -------------------------------------------------------------------------------- 1 | This directory is intended for database developers use 2 | In order to use it, developers must set the DEV_UPDATES variable to 'YES' in their InstallFullDB.config file 3 | All updates in this directory must have the '*.sql' extension. All other files wil be ignored 4 | All updates in this directory will be applied AFTER all regular updates (DB, core, SD2, ACID...) 5 | 6 | -------------------------------------------------------------------------------- /utilities/world_cleanup.sql: -------------------------------------------------------------------------------- 1 | -- ============================================================================ 2 | -- Various cleanup and data correction queries 3 | -- ============================================================================ 4 | UPDATE creature_template AS ct, creature_template_classlevelstats AS cs SET ct.Armor=cs.BaseArmor*ct.ArmorMultiplier WHERE cs.Class=ct.UnitClass AND cs.Level=ct.MaxLevel and ct.ArmorMultiplier>0; 5 | 6 | --------------------------------------------------------------------------------