Commit Graph
28009 Commits
Author SHA1 Message Date
Aqua Deus e5417e9ce7 Core/PacketIO: Implemented SMSG_DISPLAY_TOAST for quest money rewards (#27669) 2022-02-06 14:56:11 +01:00
Shauren 873e92d3b4 Core/DataStores: Fixed LiquidTypeEntry structure broken by incorrect regex replacement 2022-02-06 11:23:08 +01:00
Treeston 2aa9d9a67a Scripts/Commands: Correct some unexpected behavior in .level
(cherry picked from commit d2f51569d12f3cb72e53351914d2535eb6ef2dbe)
2022-02-06 01:15:37 +01:00
Ovah f70161dcc5 Core/Spells: fix a possible crash when a target that has been focused during spell casts disappears
(cherry picked from commit 0d152e932cdd986f62ae22bd9fc40569892a2453)
2022-02-06 00:36:00 +01:00
Ovah c295cb9814 Core/Spells: cleaned up and improved spell focusing behavior (PR #25440)
(cherry picked from commit 39a436bd658790d39d3cfa64e18f49544475dfe3)
2022-02-06 00:29:15 +01:00
ForesterDev 51622e6642 Scripts/ICC: update Deathbringer Saurfang scripts to new model (#25435)
(cherry picked from commit d52acf1b72c702637d10cce19e121435308e8410)
2022-02-06 00:22:36 +01:00
Giacomo Pozzoni 6734a70aa8 Core/Warden: Attempt to fix random ingame Lua errors with Warden enabled
(cherry picked from commit cd1858b04010fe790f9db45f629a8e81e367b7a4)
2022-02-06 00:18:17 +01:00
jackpoz 8cbc21120f Core/Characters: Replace 2 database statements with 1
Replace DELETE + INSERT with REPLACE when updating realmcharacters table

(cherry picked from commit a33ff74d92bde847b051da9fe483676fa1228c5b)
2022-02-06 00:15:31 +01:00
jackpoz a439dab179 Core/PlayerDump: Update realmcharacters table when importing a character with ".pdump load"
Fixes #24517

(cherry picked from commit 69831d2a97baf98caa82d2689e6d323af35931fe)
2022-02-06 00:15:08 +01:00
Shauren 111a80bbbf Scripts/Trial of the Champion: "Refactor" encounter state management to use InstanceScript::Get/SetBossState so people attempting to fix this instance don't feel compelled to change EVERY SINGLE BOSS FILE when fixing one of them
(cherry picked from commit d704b89163267cb7b3fe6769acebfab3de762c6d)
2022-02-06 00:14:57 +01:00
Keader c42470ffb7 Core/Spells: Do not reset periodic timer for stacking DoTs on recast
(cherry picked from commit d7a78c19302d83b72e7382593b59ba0656972c92)
2022-02-06 00:10:56 +01:00
Treeston 6ede274024 Core/ChatCommands: Fix an issue that caused trailing variant options to sometimes not be selected
(cherry picked from commit 14fa6c3a725f617e02af74eea95f5074b9095704)
2022-02-06 00:07:47 +01:00
jackpoz d1bea3e8b3 Core/LFG: Handle vote kick as failed if there cannot be 3 votes agreeing
i.e: 4 players, vote kick starts, 1 rejects, vote is considered as failed.

(cherry picked from commit f0f0de01fad0bc7bdfda215ec1a0f5b58d4a0ebf)
2022-02-06 00:05:38 +01:00
offl 2b515f97a6 DB/Quest: Convert & update support for 'A Slow Death' to SAI
Closes #25399

Based on dr-j's script

(cherry picked from commit 29b39ae6063f69e185b26712079c5b77000027b5)
2022-02-06 00:05:16 +01:00
offl 7090fe5c18 DB/Quest: Convert & update support for 'Escape from Firewing Point!' to SAI
Closes #25358

Based on dr-j's script

(cherry picked from commit 2ff8da2acd5f336e92c07a3e1165c35e20400027)
2022-02-05 23:48:27 +01:00
offl 196ff25a6b DB/Quest: Convert & update support for 'The Caverns of Time' to SAI
(cherry picked from commit d89c84263dac334e336002629e47239489546063)
2022-02-05 23:46:43 +01:00
offl bb468708e6 DB/Quest: Convert & update Homing Robot chickens to SAI
Closes #25239

(cherry picked from commit 8c303e4f979cff5c34f228054cea4e81bb70c11c)
2022-02-05 23:45:58 +01:00
Treeston 378691aaa2 [3.3.5] Core/ChatCommands: Show error messages from argument parsers (PR #25443)
(cherry picked from commit 75f9e7396e35360f3016cc0cb21e72e20f5d96d5)
2022-02-05 23:42:15 +01:00
Treeston 7d0586812a Core/Misc: Fix some static analysis warnings exposed after 6b8f3d0.
(cherry picked from commit 59be657ca267667b3cbeb1f34d47df0382e97f53)
2022-02-05 23:05:14 +01:00
jackpoz 0441f3ea5e Core/LFG: Restore ".lfg queue" command argument handling
(cherry picked from commit a46c835ed1b498d4670c149a9f3ca31ea44eb35f)
2022-02-05 22:59:46 +01:00
ForesterDev 97a5c29e8a Scripts/ICC: update Deathbringer Lord Marrowgar scripts to new model (#25436)
(cherry picked from commit 1c41c5285a89d7a4038f71c0f5c40dbc1009b3c1)
2022-02-05 22:58:23 +01:00
ForesterDev 8422442ed0 Scripts/ICC: update Blood Queen Lana'thel scripts to new model (#25434)
(cherry picked from commit def58965e8516978594a5d960c603932d34b7b2d)
2022-02-05 22:56:12 +01:00
Rushor dfeb8c267f Game/AI: Implement option to move a creature back to Homeposition on Evade. (#24492)
* Game/AI: Implement option to move a creature back to Homeposition on Evade.

* If ToHomePosition (action param 1) is 1 > Move to last stored position
* If ToHomePosition (action param 1) is 0 > Move to homeposition
* Ref: https://github.com/TrinityCore/TrinityCore/issues/24226

* Add parameter for walkmode

* Game/AI: SAI SMART_ACTION_EVADE - Rename ToHomePosition to ToRespawnPosition and store point from GetRespawnPosition.

* Game/AI: SAI SMART_ACTION_EVADE - Rename ToHomePosition to ToRespawnPosition

* Remove broken bits, simplify the code

* Update comments

* Code cleanup

Co-authored-by: jackpoz <[email protected]>
(cherry picked from commit 02fca032e1d497be08681de0bfd7bca979f0dafd)
2022-02-05 22:51:52 +01:00
Winfidonarleyan 9fe5a7297d Dep/fmt: update fmt library to 7.0.3
(cherry picked from commit 9d96e4852a4a25fdc323f656e24034fa1a280826)
2022-02-05 22:50:43 +01:00
Maks Szokalski bc04acb726 Add "On" to some gossip methods in AI (#25415)
* Add "On" to some methods

* Update npc_innkeeper.cpp

* Update zone_borean_tundra.cpp

(cherry picked from commit 41188eb535e445b73909659980257da2939e4be4)
2022-02-05 22:18:19 +01:00
Treeston 013c9b2cb7 Core/ChatCommands: make ExactSequence more readable
(cherry picked from commit feaaa595cae735bb6093b24a88562c27b2723cfe)
2022-02-05 21:29:53 +01:00
Peter Keresztes Schmidt bdd4ccbd78 Core/ChatCommands: Drop PlayerIdentifier's cast operators which could return nullptr (PR #25431)
(cherry picked from commit 8985fc4046e9a9b43d873e4d7b89a71afb910517)
2022-02-05 21:25:23 +01:00
Peter Keresztes Schmidt fd41de7ce3 Scripts/Commands: Convert argument parsing of lfg commands to new system (PR #25430)
(cherry picked from commit 0769d7726975a2fc848972a53f71efc4b6463e72)
2022-02-05 20:59:38 +01:00
Peter Keresztes Schmidt 26f3c25dae Scripts/Commands: Convert remaining debug commands (PR #25429)
(cherry picked from commit 062c55f1ab9c84396ce5b054945f5a908e3a354f)
2022-02-05 20:50:33 +01:00
Treeston 54fc62db52 Core/Misc: Convert leftover DatabaseTransactions-by-reference (pass them by value!)
(cherry picked from commit 6b8f3d0f94b7a611eba81b7a2ff476cf75d09f4a)
2022-02-05 19:56:31 +01:00
Treeston b6635be041 [3.3.5] Core/Guilds: Guild cleanup (PR #25422)
(cherry picked from commit cd28423a4e813baf6833f38c93613a7f82a721f8)
2022-02-05 19:20:18 +01:00
Treeston 42be7836df Chat/Commands: Eradicate ChatHandler::extractOptFirstArg
(cherry picked from commit 4f636b80e4942c4c9c4811496d1c1b77f767378d)
2022-02-05 16:21:54 +01:00
Maks Szokalski eca1e6e9cb Core/AI: CombatAI refactor (PR #25416)
(cherry picked from commit 99f9c26b2d8fde1388fd35af4b6c0eb0f323157a)
2022-02-05 15:59:47 +01:00
Houston 0124284957 DB/Misc: Move & update some VoA scripts to SAI, add waypoints (#25419)
Co-authored-by: Houston <[email protected]>
Co-authored-by: offl <[email protected]>
(cherry picked from commit ca9c7467673505663135ade6c33bf92a6f90534a)
2022-02-05 15:57:54 +01:00
Houston edf511a551 Scripts/Icecrown: Small event of the down Nerub'ar Broodkeep (#25410)
Updates #25193
Co-authored-by: Keader
Co-authored-by: Ovahlord (sucker)

(cherry picked from commit f8db738e8da008ccb48f79f5dd10ebbd81750f5f)
2022-02-05 15:50:46 +01:00
NoName ee620856ad Core/Movement: Corrected Animation Tier handling (PR #24875)
Co-authored-by: Warpten <[email protected]>
Co-authored-by: Ovahlord <[email protected]>
Co-authored-by: Carbenium <[email protected]>
(cherry picked from commit dad187615df603ad8614531a0ec84c1a5e136838)
2022-02-05 15:40:31 +01:00
Treeston 358dc78e47 Scripts/AreaTrigger: Rename OnlyOnceAreaTriggerScript::_OnTrigger to TryHandleOnce, and make its return value useful.
(cherry picked from commit 0c7f6ac89fcc5fdc7f4435a6c1b673c752eb1e41)
2022-02-05 14:53:54 +01:00
Keader 91f6163858 Core/MotionMaster: Do not generate path to MoveLand
(cherry picked from commit 141d3d27185f02c300c1530d9cecb44b473e7fda)
2022-02-05 14:44:18 +01:00
Treeston 1e9d60b4ac Scripts/Commands: .character command conversion
(cherry picked from commit 00dd337b5d2c91907424828d7eebe3191931b036)
2022-02-05 14:44:01 +01:00
Peter Keresztes Schmidt cb2a284359 Core/ChatCommands: Move ostream operator into Variant class so we don't pollute std:: (PR #25413)
(cherry picked from commit 68a4085427a898046b4afb73f6c369640418b848)
2022-02-05 13:58:04 +01:00
Treeston 706163743d [3.3.5] Scripts/Commands: .arena command conversion (PR #25407)
(cherry picked from commit b63d655e20a0facf14fc77798c52ea67d8551fa7)
2022-02-05 13:57:50 +01:00
Giacomo Pozzoni ca498ffab2 Core/Maps: Always update the grid of player summons even if far away (#25406)
* Core/Maps: Always update the grid of player summons even if far away

* Code cleanup

* Use a vector instead of unordered_set

(cherry picked from commit c68faf108edf50ae8a2ff4a341eff1e0d4269cbc)
2022-02-05 13:46:49 +01:00
jackpoz 2942d06664 Core/PathFinding: Enable pathfinding (MMaps) by default
(cherry picked from commit 5498f3be96ecf09c35622c3ba5e9abb8c8b96e13)
2022-02-05 13:43:16 +01:00
Keader a3cc94080f Core/Spells: Implemented PROC_ATTR_CANT_PROC_FROM_ITEM_CAST
(cherry picked from commit 8a53e7e1c3da59c41991b20ba4997360286dec15)
2022-02-05 13:33:50 +01:00
Treeston 75e5c44638 Scripts/IcecrownCitadel: correct Rimefang's script name
(cherry picked from commit fc3feebee9e26ec5bc21a46f37b5affe416582c6)
2022-02-05 13:32:55 +01:00
Treeston fc094509e9 Core/Scripts: Remove now-unused WaypointPathStarted hook. WaypointStarted does everything it used to do, anyway. b3694bf follow-up.
(cherry picked from commit c9356190b7891deb7878bc30064eaf1c81857c2c)
2022-02-05 13:31:50 +01:00
jackpoz c2d2df96db Core/SAI: Fix SMART_EVENT_WAYPOINT_START not being called at every waypoint checking wrong path id parameter
Remove multiple calls to SMART_EVENT_WAYPOINT_START for the 1st waypoint.
Closes #24760

(cherry picked from commit b3694bf47bfdab8ee9c074ac4a22d8f389e1cfc1)
2022-02-05 13:31:00 +01:00
Treeston e0e3bae82c Core/Authserver: Removal of sha_pass_hash, compatibility fields, and everything that uses them (PR #25156)
(cherry picked from commit bcdbdd6f23ce65cc0e381e61d2840140dce79311)
2022-02-05 13:29:21 +01:00
Treeston 970cd097de Core/Combat: When entering a vehicle, transfer any current threat to that vehicle. Closes #1340.
(cherry picked from commit 47c7910036d5a32a92aa58b48553a1b8c8891e08)
2022-02-05 13:08:46 +01:00
Giacomo Pozzoni b45277f1cf Core/Unit: Fix units on vehicles not dismounting on death (#25404)
* Core/Unit: Fix units on vehicles not dismounting on death

Closes #23095
Issue added in 982643cd96790ffc54e7a3e507469649f3b074d2

* Remove leftovers from previous tries

(cherry picked from commit ff26027453179448bb972d88a51e565d71e95f3f)
2022-02-05 13:08:34 +01:00