Commit Graph
38275 Commits
Author SHA1 Message Date
Treeston 669b6bea21 Core/Warden: Ignore the length value in the database for MEM_CHECK checks. Hi there Aokromes.
(cherry picked from commit fc32c3fd3b2e91702a41798ef962cbc8475c8584)
2022-02-04 00:27:11 +01:00
Treeston 15d75dea10 Core/Warden: More refactors lifted from #25286.
(cherry picked from commit a3971ca4b05e2913850b6d4fe7d40884fa645fa0)
2022-02-04 00:27:11 +01:00
Treeston 317bb198b1 Core/Warden: Some Warden refactors lifted from #25286.
(cherry picked from commit 5b4288f05f7e2360bcdc80872787ee2e7a7a2f56)
2022-02-04 00:27:11 +01:00
Shauren 015cee5f27 Core/Networking: Initialize MPSCQueueIntrusive dummy node without undefined behavior
(cherry picked from commit e1289805fc04e75f9e7cba078cbc826ce60f037a)
2022-02-04 00:27:11 +01:00
Shauren 0a1acb9c05 Scripts/Spells: Replace RegisterAuraScript with RegisterSpellScript and remove it
(cherry picked from commit 7d4fbf706ae19481468901ccd65c497fcabe56bf)
2022-02-04 00:27:10 +01:00
Shauren 17e7f8497c Scripts/Spells: Convert remaining spell_generic scripts to simplified script registration using new additional constructor argument support
(cherry picked from commit 7a5a010d415014a1cf78b1f6186d78a39a18c70a)
2022-02-04 00:27:10 +01:00
Naddley e9a3f452ae DB/Spawns: Added more Bastion intro spawns
Closes #27697
2022-02-03 05:34:32 +01:00
Naddley d19c8cc9fb DB/Creature: Removed aura from Injured Stormwind Infantry (50047)
Closes #27705
2022-02-03 05:34:30 +01:00
Naddley 48ad9dad85 DB/Spawns: Added spawns for initial Bastion quests
Closes #27673
2022-02-03 05:34:28 +01:00
Shauren e81b5838a6 Core/Scripts: Unify RegisterSpellScript and RegisterAuraScript macros to do the same thing and implemented passing custom arguments to spell script classes
(cherry picked from commit 75a6a7a0ad48874e75dd71f766dad3707341bb32)
2022-02-03 00:25:03 +01:00
Shauren 4064b22dd7 Core/Util: Added another template utility - find_type_if
* Trinity::find_type_if - Find a type matching predicate in a given template parameter pack

(cherry picked from commit 84a87d87bfd569192ff1564e3d8b2e68d5fff4bc)
2022-02-03 00:24:33 +01:00
Shauren c37984fc6a Core/Util: Added new utilities
* Trinity::new_from_tuple - same as std::make_from_tuple except allocates object using "new"
* Trinity::is_tuple - detects whether given type is a tuple specialization
* advstd::type_identity - C++20 std::type_identity

(cherry picked from commit 7c08fc863ac45f2d41b18103b0132004a4c0c524)
2022-02-03 00:24:10 +01:00
Shauren 348acb105c Core/Commands: Exclude ambigious cast operator overloads from command Variant
Closes #25618

(cherry picked from commit b57530ebb143965863b0974adfc95fb8a4e365ee)
2022-02-03 00:22:24 +01:00
Peter Keresztes Schmidt 86bfde389a Scripts/Commands: Convert argument parsing of event commands to new system (PR #25275)
(cherry picked from commit 7bfeb03c136f18fda73474054c837f4fe8f11136)
2022-02-03 00:19:14 +01:00
Peter Keresztes Schmidt 3c82863c52 Core/ChatCommands: Check whether a passed numeric enum value is valid (#25285)
(cherry picked from commit 4286e7aa02e777268b25d8a5bcc1ee87f7b16c4d)
2022-02-03 00:18:48 +01:00
Peter Keresztes Schmidt 3ba767c438 Scripts/Commands: Convert argument parsing of gm commands to new system (#25279)
(cherry picked from commit 9c9e8c7d58cd0e939330089cfb555945ebbf73eb)
2022-02-03 00:10:31 +01:00
Peter Keresztes Schmidt 888d217c16 Scripts/Commands: Convert argument parsing of remaining go command to new system (#25284)
(cherry picked from commit 1aadf6c6d173e593eef0e9976e51a7189a54a8ce)
2022-02-03 00:08:21 +01:00
Carbenium a773039211 Scripts/Commands: Convert argument parsing of honor commands to new system
(cherry picked from commit 515a34f64f200ea0fb9722914b76ab8abd358891)
2022-02-02 23:02:41 +01:00
Treeston eaa3c7e5a0 Core/Warden: Add .debug warden force, allowing you to force specific warden checks to be sent
(cherry picked from commit f04f4e91ff3afbf89f30659b85e8593c3206138e)
2022-02-02 22:47:55 +01:00
offl 222b0c16a4 DB/Creature: Remove incorrectly added event from Thule Ravenclaw
Ref ad2552d04ae2656f25ede26a90cadf28a931e3bf

This event belongs to Ravenclaw Apparition only, also removes permanent SetActive

(cherry picked from commit 24a494398fec5ff5044d980915a47ab3457ddaca)
2022-02-02 22:34:32 +01:00
Peter Keresztes Schmidt dc5f7ee5fc Scripts/Commands: Convert argument parsing of deserter commands to new system (PR #25276)
(cherry picked from commit c952cb7f710f0aa558b1c94474be8d188967d019)
2022-02-02 22:32:46 +01:00
offl 044edcea8a DB/Quest: Add correct action type to give quest credit for 'Escorting Erland'
Closes #25280 Ref eea3cf14017065dbf11deb0aa12f4cd7dd06abd6

(cherry picked from commit 20ca00ebdbbbb257774fe1ecd1636785bd8054bf)
2022-02-02 22:26:31 +01:00
Jildor 3c658e4526 DB/SAI: Remove unnecessary SetActive in DK start zone
Closes #25278

(cherry picked from commit 7dbbc50fc4fc02512bbe6346eca03182c1a5226b)
2022-02-02 22:25:31 +01:00
Peter Keresztes Schmidt 4aa1c74232 Scripts/Commands: Convert argument parsing of cheat commands to new system (PR #25277)
(cherry picked from commit 4707e059386333b6ceec419d0d2e684d9106aef6)
2022-02-02 22:21:51 +01:00
Cerveciento 0fcce6ed99 DB/Locale/esES+esMX quest_greeting_locale
Closes #25272

(cherry picked from commit d751cbe0bef8a2f840cf9a6136a94263724ab393)
2022-02-02 22:14:46 +01:00
Cerveciento acf10a27bd DB/Locale/esES+esMX Texts missing in quests (Part 21)
Closes #25271

(cherry picked from commit 5a5d5b25e27d59f6c3e861daaa37a6ff44a0e3c3)
2022-02-02 22:14:22 +01:00
Peter Keresztes Schmidt ec26736e30 Scripts/Commands: Convert argument parsing of most debug commands to new system (PR #25260)
(cherry picked from commit 76f309b4e899d4f450a8448d49c1aa05f9d4e785)
2022-02-02 22:13:50 +01:00
Treeston e0ddc676d6 Scripts/Commands: Move .debug asan command bodies inside #ifdef ASAN
(cherry picked from commit e18f7aaa4d1bc9f6ad4b524c25fd3f111493b774)
(cherry picked from commit 0b13fc192698f65cc6e338ef92c22d4d783281b9)
(cherry picked from commit 5ecbe93f7d75ea3c4808ce45ccc7d14e1d42b26b)
2022-02-02 21:27:52 +01:00
Peter Keresztes Schmidt 37777ac6e8 Scripts/Commands: Convert argument parsing of ahbot commands (PR #25264)
(cherry picked from commit 426513ec8e154df7c13ba98371513dd9f6d2cb9d)
2022-02-02 21:17:51 +01:00
Peter Keresztes Schmidt 1c246cc980 Core/ChatCommands: Parse SpellInfo also from enchant, glyph, talent and trade links (PR #25270)
(cherry picked from commit 9df61fd111a39983d751ac0bed767137b330c547)
2022-02-02 21:08:29 +01:00
Carbenium c8b0d4e6d8 Scripts/Commands: Convert argument parsing of bf commands to new system
(cherry picked from commit fa6a8e8f647705c4631b7ed5d2dbd41e3b1d6b6b)
2022-02-02 20:50:49 +01:00
Peter Keresztes Schmidt fed56790ca Core/ChatCommands: Add Variant.get<typename> overload (PR #25267)
Co-authored-by: Treeston <[email protected]>
(cherry picked from commit dfeaa2e81f777fb40066d8a330e6ce6da4a6a66f)
2022-02-02 20:50:36 +01:00
illfated a519671765 DB/Text: Add correct text to Sylvanas (Lament of the Highborne)
Closes #25262

(cherry picked from commit a9d493c4564cdaa7efe400408f3582f1cdbb8cde)
2022-02-02 20:50:17 +01:00
Treeston 673521bc87 Core/ChatCommands: Move Trinity::ChatCommands::Variant from boost::variant to std::variant (for real this time)
(cherry picked from commit ffc3e355fe2adfe48d37759091a537b699b12753)
2022-02-02 20:49:42 +01:00
Peter Keresztes Schmidt 477618bd1f Core/ChatCommands: Add support for std::array-type arguments (#25261)
(cherry picked from commit 30a825e2ac4d903329e3285e36b032c5533132d4)
2022-02-02 20:32:24 +01:00
offl ed6c5c922b DB/Gameobject: Remove gameobjects with negative respawn time from dynamic scaling spawn group
(cherry picked from commit 68557e9ca38cd18c160e6192cb6188cbf12c5fd9)
2022-02-02 20:32:11 +01:00
offl 896d12743a DB/SAI: Remove SMARTCAST_INTERRUPT_PREVIOUS from nearly all scripts
No longer needed after https://github.com/TrinityCore/TrinityCore/commit/ca25e8d0199730c0976ebc37317e9407aceccc34

Explained in https://github.com/TrinityCore/TrinityCore/issues/24914

Some event types not affected because requires tests, events with No Repeat event flag skipped

(cherry picked from commit aae38bec116d5fb60d1f5900867cfe33388ed0bb)
2022-02-02 20:22:18 +01:00
offl 4fa7d723ad DB/Creature: Add missing cosmetic channeled spell in Ahn'kahet
Closes #12024

(cherry picked from commit e8e3626073ba960ec5dc2642693fbdaf3dff65b0)
2022-02-02 20:20:58 +01:00
Cerveciento d41ecc65f5 DB/Locale esES+esMX Texts missing in quets (Part 20)
Closes #25250

(cherry picked from commit 6bd104e0aaf22b629212aa9dc19efe3a459c1cf6)
2022-02-02 20:20:26 +01:00
Shauren c65340e761 Core/Spells: Implement SPELL_EFFECT_TRIGGER_SPELL delay (stored in MiscValue) 2022-02-02 19:50:22 +01:00
Shauren b6bc8a50ac Core/Spells: Correct implementation of SPELL_ATTR2_TRIGGERED_CAN_TRIGGER_PROC, SPELL_ATTR3_TRIGGERED_CAN_TRIGGER_PROC_2, SPELL_ATTR3_CAN_PROC_WITH_TRIGGERED and rename them (SPELL_ATTR2_ACTIVE_THREAT, SPELL_ATTR3_NOT_A_PROC, SPELL_ATTR3_CAN_PROC_FROM_PROCS) 2022-02-02 13:56:49 +01:00
Shauren 7261592364 Warning fixes 2022-02-02 11:55:04 +01:00
Shauren 950db60435 Core/Pets: Updated pet summoning for latest client version (5 Call Pet spells and stable size 200) 2022-02-02 00:08:37 +01:00
Shauren d6a2461fc7 Core/Misc: GCC build fix
Closes #27707
2022-02-01 23:44:14 +01:00
Shauren fd9eb28322 Core/Pets: Adjust pet slot saving logic after constant changes in 22e823b5f9 2022-01-31 23:30:00 +01:00
Shauren 22e823b5f9 Core/Pets: Change PET_SAVE_NOT_IN_SLOT constant from 100 to -1 to truly avoid conflicts when growing stable size and change PET_SAVE_AS_DELETED from -1 to -2 2022-01-31 21:50:32 +01:00
Shauren 8349444749 Core/Pets: Save last summoned pet number in characters table 2022-01-31 21:34:48 +01:00
Shauren 0ef41fcda2 Core/Pets: Removed deprecated enum 2022-01-31 19:53:11 +01:00
Shauren e458144442 Core/Pets: Removed storing stable slot count in db 2022-01-31 14:34:05 +01:00
Shauren c654c15bcd Core/PacketIO: Removed handlers for two pet opcodes that no longer exist 2022-01-31 14:31:13 +01:00