Commit Graph
100 Commits
Author SHA1 Message Date
Kitzunu 5cd8f3f1a6 Merge branch 'master' into enable-c++20 2022-02-02 22:39:39 +01:00
KitzunuandShauren 8b4e3b71ca fix(CMake/MSVC): Cleanup and enable some warnings (#10295)
* fix(CMake/MSVC): Cleanup and enable some warnings

* cherry-pick from commit (https://github.com/TrinityCore/TrinityCore/commit/73b4b1733a49430b2288417d26f96c24a19c8c28)

Co-Authored-By: Shauren <[email protected]>

* Update settings.cmake

Co-authored-by: Shauren <[email protected]>
2022-02-01 05:46:06 -03:00
Kitzunu 6f20b9ece7 fix(CI/Misc): Make CodeFactor happy (#10468) 2022-02-01 01:56:10 -03:00
Kitzunu 42396526f5 Merge branch 'master' into enable-c++20 2022-01-30 12:20:07 +01:00
Kitzunu 21e7954e84 fix(C++20): Windows build (#10438) 2022-01-30 12:19:48 +01:00
Kitzunu 3bbf458bd2 feat(Core): Enable C++20 support 2022-01-30 00:50:22 +01:00
Kitzunu 8f249a3d84 fix(Core/Misc): Revert commits causing massive delays (#10408)
* this reverts commit (https://github.com/azerothcore/azerothcore-wotlk/commit/674b168addbc35f1faaa2e72eacee6edf5e0d457)

* this reverts commit (https://github.com/azerothcore/azerothcore-wotlk/commit/b085ee61ebfcc85505bab405e15b059943425678)

* closes https://github.com/azerothcore/azerothcore-wotlk/issues/10407
2022-01-28 16:45:47 -05:00
KitzunuandSorikoff 1c0019ec18 fix(Scripts/Spell): properly script collapsing cave aura (#10092)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/8d1a5fa1266dc98438cabfb1ced7891791245ff0)

Co-authored-by: Sorikoff <[email protected]>
2022-01-24 21:18:47 -03:00
KitzunuandFrancesco Borzì dd15fa706d feat(Core/DB/Creature): Throw error if npcflag and gossip_menu_id is not c… (#9665)
* feat(DB/Creature): Throw error if npcflag and gossip_menu_id is not combined

*cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/a513922fc1572137c4e8b7b75d7ba931b15cf26a)

* test

* Update ObjectMgr.cpp

* codestyle

* Update src/server/game/Globals/ObjectMgr.cpp

Co-authored-by: Francesco Borzì <[email protected]>

* Update src/server/game/Globals/ObjectMgr.cpp

Co-authored-by: Francesco Borzì <[email protected]>
2022-01-20 06:50:18 -03:00
KitzunuandWyrserth 7115f353cc fix(Core/Mail): Include 100g in the mail for The Wrath of Neptulon (#10093)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/cf223370f3345a7cfa39f8bfb23835391603f985)

Co-Authored-By: Wyrserth <[email protected]>
2022-01-14 11:55:54 +01:00
Kitzunu d1cc65b1c7 refactor(Core/Misc): isEmpty to IsEmpty (#10011) 2022-01-13 21:43:15 -05:00
Kitzunu 707685d633 fix(Core/Build): Fallthrough (#10165) 2022-01-13 19:34:57 -05:00
Kitzunu 2ff4e85578 fix(DB/broadcast_text): align some column names (#10090) 2022-01-13 15:20:20 +01:00
Kitzunu 14c0b62be5 refactor(Core/Unit): Split spell things into SpellDefines.h (#10009) 2022-01-09 12:37:51 +01:00
Kitzunu dbc35e3495 feat(DB/Creature): Allow to set swim and flight speeds (#10067) 2022-01-09 01:34:39 +01:00
KitzunuandGildor 9d96adeb6b fix(Scripts/Icecrown Citadel): Ensure Deathbringer Saurfang casts Frenzy (#10048)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/a0a64b10b53e74c0cfaa518f196150c622e75bd2)

Co-Authored-By: Gildor <[email protected]>
2022-01-08 16:12:33 +01:00
Kitzunu cb7e355291 refactor(Core/Misc): sin() to std::sin() (#9795) 2022-01-06 19:29:40 +01:00
Kitzunu 86bb616fe9 chore(AUTHORS): Now it is 2022 (#10013) 2022-01-05 00:54:25 +01:00
Kitzunu 45d7c20c0f fix(DB/Gameobject): Delete unused hack objects (#9999)
* fix(DB/Gameobject): Delete unused hack objects

* Update rev_1641299782952581800.sql
2022-01-04 13:41:33 -05:00
Kitzunu 235fea9ce5 chore(.clang-format): Delete (#9934) 2022-01-04 00:46:22 +01:00
Kitzunu e769e120f8 fix(SQL): Remove wrong comment (#9928) 2022-01-03 13:51:13 -04:00
Kitzunu 317e793b12 refactor(Core/Misc): atan2() to std::atan2() (#9793)
- prefer std functions over C functions
2022-01-03 13:24:06 -03:00
Kitzunu f04709a326 refactor(Core/Misc): ceil() to std::ceil() (#9791)
- prefer std functions over C functions
2022-01-03 10:11:39 -03:00
KitzunuandWyrserth 61649b7e6d fix(Scripts/Spells): fix logic mistake in spell_generic (#9799)
- chery-picked from commit (https://github.com/TrinityCore/TrinityCore/commit/25e01b0402b26ccefeae136e7606fc45398ae3af)

Co-Authored-By: Wyrserth <[email protected]>

Co-authored-by: Wyrserth <[email protected]>
2022-01-03 09:55:37 -03:00
KitzunuandWyrserth a9cbd35cd2 fix(Core/Achievement): Don't count bought back items as a new item for ACHIEVEMENT_CRITERIA_TYPE_RECIEVE_EPIC_ITEM (#9798)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/a58955d88cb1f426f0af5db16e388f7f2b999349)

Co-Authored-By: Wyrserth <[email protected]>
2022-01-01 15:08:59 -03:00
Kitzunu 913e65f97f refactor(Core/Misc): fabs() to std::fabs() (#9790)
- prefer std functions over C functions
2021-12-31 20:41:00 -03:00
Kitzunu ac99eb48e1 refactor(Core/Misc): abs() to std::abs() (#9789) 2021-12-31 19:29:39 -03:00
Kitzunu 69683a3472 chore(Scripts/Misc): Cleanup some more JustDied hooks (#9768) 2021-12-31 12:00:40 -03:00
KitzunuandSkjalf e718d2a699 fix(DB/Gameobject): Move chairs to AV (#9931)
Co-authored-by: Skjalf <[email protected]>
2021-12-30 19:27:30 -05:00
Kitzunu ea2e24f31b feat(Apps/CI): Add check for broadcast_text (#9771) 2021-12-29 21:18:41 -03:00
Kitzunu 5a1bdb1f3b fix(DB/Misc): Reimport all broadcast_text entries (#9769) 2021-12-29 18:31:55 -03:00
Kitzunu 1df8a47e4a fix(SQL): fix SQL (#9911) 2021-12-28 20:14:57 -03:00
Kitzunu c9f54ddfb3 refactor(Scripts/Pets): Move Mojo to SAI (#9662) 2021-12-25 15:46:50 -03:00
Kitzunu 8f707fbf34 fix(Core/Load): Comment continue (#9836) 2021-12-21 19:22:06 -03:00
Kitzunu 7617ae4645 refactor(Core/Misc): fmod() to std::fmod() (#9796)
- prefer std functions over C functions
2021-12-21 01:16:59 -03:00
Kitzunu de49c3bead chore(Script/Misc): Cleanup some JustDied hooks (#9669) 2021-12-18 08:26:43 -03:00
KitzunuandLucas Nascimento e37a99c0ab fix(DB/Loot): drop rate of Frost Lotus from herbs in Northrend. (#9671)
Co-Authored-By: Lucas Nascimento <[email protected]>
2021-12-18 01:51:09 +01:00
Kitzunu 9be67e508b refactor(Scripts/Zone): move crystalsong_forest to new system (#9700) 2021-12-17 18:07:28 +01:00
KitzunuandGiacomo Pozzoni 8e1e305e8d feat(Core/Creature): Log temporary auras on creatures (#9670)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/54f94567649c78d146f4087cc874e4d0cbcff28b)

Co-authored-by: Giacomo Pozzoni <[email protected]>
2021-12-17 18:07:18 +01:00
KitzunuandKittnz 4a6db8f8c6 fix(Core/Object): Add infinite gob check (#9667)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/b0db728c49f0b70d2c4f18270c389e4445161b7f)

Co-authored-by: Kittnz <[email protected]>
2021-12-17 18:06:57 +01:00
KitzunuandShauren 9eab6d373d fix(Core/Guilds): Implement guild bank gold limit matching client (#9666)
Co-authored-by: Shauren <[email protected]>
2021-12-17 18:06:32 +01:00
Kitzunu ef8faa0904 chore(Core/Misc): use fallthrough attribute instead of comment (#9660) 2021-12-17 18:05:57 +01:00
KitzunuandGildor 866a630343 fix(DB/Spells): Add missing spells for Ulduar heroic mode (#9655)
* fix(DB/Instance/Ulduar): Add missing spells for heroic mode

* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/ef9576c7bbb42e0aa818a606284da25ea15999c4)

Co-Authored-By: Gildor <[email protected]>

* Freya - Touch of Eonar

Co-authored-by: Gildor <[email protected]>
2021-12-17 08:20:59 -03:00
Kitzunu 89a1b5c9f4 fix(Core/Spells): Implement SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CL… (#9615)
* fix(Core/Spells): Implement SPELL_AURA_PERIODIC_TRIGGER_SPELL_FROM_CLIENT

* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/b3b7f0761d5605d57f9d62ca8e22a8cd9a4df24b)

* fix build
2021-12-16 20:29:33 -03:00
Kitzunu cbdc39ce1e fix(Core/Spells): Implement SPELL_EFFECT_FORCE_CAST_2 (#9613)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/5cdc870acc257130935451245e7d4e12ae53ff21)
2021-12-15 21:46:16 -03:00
Kitzunu 5685a0e401 refactor(Scripts/Events): convert childrens_week to new system (#9611) 2021-12-14 21:15:16 -03:00
Kitzunu d0ee420b3a fix(Core/DatabseWorkerPool): Maria stuff (#9705) 2021-12-14 22:12:36 +01:00
Kitzunu 695f8350af refactor(Scripts/Events): convert hallows_end to new system (#9610) 2021-12-14 15:41:36 -03:00
Kitzunu 04fd8791e1 refactor(Core/DB): Deprecate MariaDB 10.4 and below (#9675) 2021-12-14 15:15:44 +01:00
Kitzunu 4226976b3e refactor(Scripts/Events): convert brewfest to new system (#9612) 2021-12-13 07:04:56 -03:00
Kitzunu 92d7c276c1 refactor(Scripts/Event): convert pilgrims_bounty into new system (#9608) 2021-12-13 05:41:09 -03:00
Kitzunu 2af6e0ee20 refactor(Scripts/Events): convert love_in_air to new system (#9609) 2021-12-13 05:22:16 -03:00
Kitzunu fa1f9085bb refactor(Script/Spells): convert winter_veil into new system (#9606) 2021-12-13 04:39:27 -03:00
Kitzunu ad86b1ef14 fix(DB/Gob): Move D.I.S.C.O script to spell_scripts (#9524) 2021-12-11 09:49:46 -03:00
Kitzunu abcd9218a2 fix(DB/Creature): Greatfather Winter (#9522) 2021-12-11 09:40:34 -03:00
Kitzunu e8d254f282 fix(DB/Creature): Dark Iron Kidnapper (#9461) 2021-12-07 06:32:28 -03:00
Kitzunu c37b6de450 fix(Script/Spell): Winter Wondervolt Trap (#9464) 2021-12-07 06:25:16 -03:00
Kitzunu c6a1c2c985 fix(DB/Creature): Metzen the Reindeer (#9460)
* closes https://github.com/azerothcore/azerothcore-wotlk/issues/9444
2021-12-06 11:10:45 -03:00
Kitzunu 6f0c53d137 fix(DB/Creature): Spawn at Winter Veil (#9521)
* from TC once upon a time
2021-12-05 22:06:51 +01:00
Kitzunu 16bdc3da01 fix(DB/Quest): Great-father Winter is Here! (#9465) 2021-12-05 09:47:06 -03:00
Kitzunu 6b6e90d43d feat(Script/Misc): Implement missing FactoryGameObjectScript (#9388) 2021-12-05 07:14:15 -03:00
Kitzunu f9337497d8 chore(Core/Auras): Clean up Aura::CanBeSaved() (#9343) 2021-11-30 13:03:04 -03:00
KitzunuandGildor 201fb580a4 fix(Core/Auras): Set proper displayId for mounts that changes dependi… (#9342)
* fix(Core/Auras): Set proper displayId for mounts that changes depending on your Riding skill and location with more than one modelId

* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/a5b8e167dda0697f88b16ce0892912afda4c3e4b)

Co-Authored-By: Gildor <[email protected]>

* codestyle

Co-authored-by: Gildor <[email protected]>
2021-11-29 20:57:38 -03:00
Kitzunu a92efd9672 fix(DB/Misc): Correct imported file (#9415) 2021-11-29 19:27:51 +01:00
Kitzunu 05a2d5baa8 refactor(Scripts/AhnKahet): new script system (#9040) 2021-11-28 04:23:19 -03:00
Kitzunuandkvolk2git 077a36ead1 fix(Core/DBUpdater): MySQL 8.0 + SSL support (#9340)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/57617e215b2f45ba1636e0002714792326c3e57c)

Co-Authored-By: kvolk2git <[email protected]>

Co-authored-by: kvolk2git <[email protected]>
2021-11-26 13:10:34 +01:00
Kitzunu bf05bd3c88 refactor(Core/BattlegroundSA): Convert to std::chrono (#8499) 2021-11-25 14:24:43 -03:00
Kitzunu 2ca0104b63 fix(Script/Spell): Gryphon/Wyvern Pet - Mounting Check Aura (#8481) 2021-11-25 09:31:55 -03:00
Kitzunu 0a1e841277 feat(DB): skilltiers_dbc (#6756) 2021-11-24 01:12:24 +01:00
Kitzunu 0f7091c7e1 fix(Script/Item): Deviate Fish effects (#9163)
* fix(Script/Item): Deviate Fish effects

* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/a9db8a9b9a2f40ade5038c68321f0e9f4f566dcf)
2021-11-20 14:13:42 -03:00
Kitzunu d8f4a5cd0c refactor(Core/BattlegroundRV): Convert to std::chrono (#8498) 2021-11-20 11:56:16 -03:00
Kitzunuandoffl 6a430cd2f9 fix(Scripts/Misc): Replace some AddItem/CreateItem with spells (#9006)
Co-authored-by: offl <[email protected]>
2021-11-20 09:59:52 -03:00
Kitzunu 76a6f8f33a fix(DB/Misc): Remove quotes from ints (#9237) 2021-11-18 00:44:38 -03:00
Kitzunu 4fc673dc4a fix(Script/Spells): validate all rogue spells (#9164) 2021-11-17 17:20:24 +01:00
Kitzunu 03c84db04d fix(Script/Spells): Validate Warlock spells (#9181) 2021-11-14 01:48:16 -03:00
Kitzunu 959ee62efe fix(Script/Spells): Validate Warrior spells (#9182) 2021-11-14 01:19:52 -03:00
Kitzunu 0850dea4df refactor(Scripts/Spells): convert spell_item into new system (#9057)
* refactor(Scripts/Spells): convert spell_item into new system

* fix build

* fix return
2021-11-13 13:01:38 +01:00
Kitzunu 743636c416 fix(Scripts/Spell): don't allow to tame an already owned creature (#9005) 2021-11-13 01:00:30 +01:00
Kitzunu 87a6d224ec refactor(Scripts/Spells): convert spell_generic into new system (#9044)
* refactor(Scripts/Spells): convert spell_generic into new system

* whitespace

* fix build
2021-11-13 00:18:05 +01:00
KitzunuandTreeston 4a4615f4dc feat(Script/Commands): .debug dummy (#9070)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/5ed891a0f0c65cf4c844ccb209952352f4241193)

Co-Authored-By: Treeston <[email protected]>
2021-11-12 12:19:35 -03:00
Kitzunu 9b9f27f5a8 fix(DB/Creature): Ilkrud Magthrull (#9073) 2021-11-10 03:19:57 -03:00
KitzunuandLucas Nascimento 28a496bfa5 fix(Script/Spell): Dark Reckoning (#9024)
Co-Authored-By: Lucas Nascimento <[email protected]>
2021-11-10 00:21:25 +01:00
Kitzunu 8b47540745 fix(Scripts/Misc): AhnKahet instance script typo (#9055) 2021-11-09 12:39:04 -03:00
Kitzunu 834cfecc4f refactor(Scripts/Spells): convert spell_warrior into new system (#9068) 2021-11-09 11:45:50 +01:00
Kitzunu 7c1fb0b088 refactor(Scripts/Spells): convert spell_warlock into new system (#9066) 2021-11-09 11:45:43 +01:00
Kitzunu 9b72a0a0e1 refactor(Scripts/Spells): convert spell_shaman into new system (#9065) 2021-11-09 11:45:35 +01:00
Kitzunu 2dc126b0df refactor(Scripts/Spells): convert spell_quest into new system (#9064) 2021-11-09 11:45:27 +01:00
Kitzunu ebfa8878c1 refactor(Scripts/Spells): convert spell_priest into new system (#9063) 2021-11-09 11:45:19 +01:00
Kitzunu a5a29652d3 refactor(Scripts/Spells): convert spell_paladin into new system #9058 (#9061) 2021-11-09 11:45:11 +01:00
Kitzunu ef0bbc4c7b refactor(Scripts/Spells): convert spell_mage into new system (#9058) 2021-11-09 11:44:37 +01:00
Kitzunu af02a8990a refactor(Scripts/Spells): convert spell_hunter into new system (#9047) 2021-11-09 11:44:16 +01:00
Kitzunu 47c44d74c3 refactor(Scripts/Creature): convert pets into new system (#9046) 2021-11-09 11:44:09 +01:00
Kitzunu 6654b98312 refactor(Scripts/Spells): convert spell_hunter into new system (#9045) 2021-11-09 11:44:01 +01:00
Kitzunu cbc655abf7 refactor(Scripts/Spells): convert spell_druid into new system (#9043) 2021-11-09 11:43:36 +01:00
Kitzunu 7d22d8219c refactor(Scripts/Spells): convert spell_dk into new system (#9042) 2021-11-09 11:43:27 +01:00
Kitzunu c3552c2c46 chore(Misc/Conf): Rearrange World.RealmAvailability (#9002) 2021-11-09 11:42:35 +01:00
Kitzunu 24f9f993cc refactor(GameObjectAI): Change self-accessor to "me" (#9041) 2021-11-08 22:06:04 +01:00
Kitzunu a062653c0e chore(Script/ApplySpellFix): Correct some comments (#9001) 2021-11-08 13:46:11 -03:00
Kitzunu 463a98f82e fix(Labeler): file-cpp (#9025) 2021-11-07 15:55:53 +01:00
430fa147fd feat(Scripts): Implement generic script loader and registry macros (#8976)
* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/fb87ac8e8da3d215d4988b8c2fa25d7a98cf9ee0)

* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/7d4fbf706ae19481468901ccd65c497fcabe56bf#diff-ea1c86c26019127a4e99686cd9029f9ec3e8193f2761b262c2475668edc06764)

* cherry-pick commit (https://github.com/TrinityCore/TrinityCore/commit/75a6a7a0ad48874e75dd71f766dad3707341bb32#diff-ea1c86c26019127a4e99686cd9029f9ec3e8193f2761b262c2475668edc06764)

Co-Authored-By: Treeston <[email protected]>
Co-Authored-By: Shauren <[email protected]>
Co-authored-by: Treeston <[email protected]>
Co-authored-by: Shauren <[email protected]>
2021-11-07 02:21:00 -03:00