Commit Graph

38260 Commits

Author SHA1 Message Date
Peter Keresztes Schmidt
3ba767c438 Scripts/Commands: Convert argument parsing of gm commands to new system (#25279)
(cherry picked from commit 9c9e8c7d58)
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 1aadf6c6d1)
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 515a34f64f)
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 f04f4e91ff)
2022-02-02 22:47:55 +01:00
offl
222b0c16a4 DB/Creature: Remove incorrectly added event from Thule Ravenclaw
Ref ad2552d04a

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

(cherry picked from commit 24a494398f)
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 c952cb7f71)
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 eea3cf1401

(cherry picked from commit 20ca00ebdb)
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 7dbbc50fc4)
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 4707e05938)
2022-02-02 22:21:51 +01:00
Cerveciento
0fcce6ed99 DB/Locale/esES+esMX quest_greeting_locale
Closes #25272

(cherry picked from commit d751cbe0be)
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 5a5d5b25e2)
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 76f309b4e8)
2022-02-02 22:13:50 +01:00
Treeston
e0ddc676d6 Scripts/Commands: Move .debug asan command bodies inside #ifdef ASAN
(cherry picked from commit e18f7aaa4d)
(cherry picked from commit 0b13fc1926)
(cherry picked from commit 5ecbe93f7d)
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 426513ec8e)
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 9df61fd111)
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 fa6a8e8f64)
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 <treeston.mmoc@gmail.com>
(cherry picked from commit dfeaa2e81f)
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 a9d493c456)
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 ffc3e355fe)
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 30a825e2ac)
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 68557e9ca3)
2022-02-02 20:32:11 +01:00
offl
896d12743a DB/SAI: Remove SMARTCAST_INTERRUPT_PREVIOUS from nearly all scripts
No longer needed after ca25e8d019

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 aae38bec11)
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 e8e3626073)
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 6bd104e0aa)
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
Shauren
3642e3a765 Core/Pets: Fixed saving pets put in stable while not being summoned
Closes #26599

(cherry picked from commit 4acd6e1d38)
2022-01-31 00:27:29 +01:00
jackpoz
238d5b1587 Core/Pet: Fix assert triggered by e203ecda88
(cherry picked from commit 22a5b0fcde)
2022-01-31 00:27:02 +01:00
Giacomo Pozzoni
40d882b754 Core/Pet: Attempt to fix assertions triggered when summoning pets (#26501)
* Core/Pet: Attempt to fix an assertion triggered when re-summoning the current pet

* Core/Pet: Attempt to fix an assertion triggered when stabling a pet while in a vehicle

* Core/Pet: Attempt to fix an assertion triggered when stabling a pet and casting spell 6962

* Core/Pet: Attempt to fix an assertion triggered when casting spell 6962 while being dead

* Core/Pet: Attempt to fix an assertion triggered when summoning a pet while on vehicle 34775

* Handle cases in a generic way

* Code cleanup

* Core/Pet: Attempt to fix an assertion triggered when summoning a pet while on vehicle 34775 with a new character

(cherry picked from commit e203ecda88)
2022-01-31 00:26:54 +01:00
Shauren
33e747bc8f Core/Pets: Add missing nullptr check
(cherry picked from commit 0152878de5)
2022-01-31 00:25:17 +01:00
Shauren
688d1d9533 Core/Pets: Fixed crash happening when current pet is forcibly removed while being temporarily unsummoned (like on a mount)
(cherry picked from commit d163735abd)
2022-01-31 00:24:51 +01:00
Shauren
e102022eeb Core/Pets: Fixed crash happening when summoning a different pet than one that was unsummoned by summoning a guardian (imp -> infernal -> felhunter)
Closes #25478

(cherry picked from commit d29274f3a1)
2022-01-31 00:23:57 +01:00
Shauren
9147918363 Core/Pets: Fixed automatic resurrecting pets on battleground graveyards
Closes #25289

(cherry picked from commit 74a0d579ee)
2022-01-31 00:20:53 +01:00
Shauren
4de94169e9 Core/Pets: Fix loading pet data
Closes #25269

(cherry picked from commit a9a4f05a28)
2022-01-31 00:20:40 +01:00
Shauren
87b1c3700e Core/Spells: Fix summoning warlock pets in case that pet has never been summoned before
(cherry picked from commit bbcf00257e)
2022-01-31 00:20:30 +01:00
Shauren
48d491ae2f Core/Spells: Fix summoning SUMMON_PET type pets
Closes #25265

(cherry picked from commit 9c5876d8ab)
2022-01-31 00:18:48 +01:00
Shauren
ca92686b44 Core/Pets: Pet management refactoring (#25191)
* Core/Pets: Pet management refactoring

* Preload basic pet data on character login with async query
* Load additional pet data (declined names/auras/spells/cooldowns) using async query after we are sure pet loading will succeed
* Remove all select queries related to pet stable/unstable
* Remove all silent pet deletions except explicit UI-triggered abandons
* Fixed displaying stable master content when current pet is not summoned
* Allow to stable/swap unsummoned current pet

Closes #3610
Closes #21266

(cherry picked from commit 5c1fc5e387)
2022-01-31 00:17:21 +01:00
Shauren
b79a91039b Core/DBUpdater: Apply each sql update file in a separate transaction 2022-01-30 15:50:35 +01:00
Shauren
9a0a56dc88 Misc: Adjust max line length in editorconfig to something that better fits 1080p screens 2022-01-30 14:14:40 +01:00
Teleqraph
af0edf5afc Scripts/Spells: Moved Blessing of Faith script to spell_items (#27692) 2022-01-30 13:10:08 +01:00
Shauren
78283e3ef2 Scripts/Spells: Fixed Holy Shock visuals 2022-01-30 12:55:57 +01:00