Commit Graph

27528 Commits

Author SHA1 Message Date
Ovah d1594c7295 Core/Spells: unify OnSpellCastInterrupt and OnSuccessfulSpellCast hooks into OnSpellCastFinished (#25522)
* added support for calling the hook when completing a channeled spell as well

(cherry picked from commit 77aa058504)
2022-02-28 14:21:08 +01:00
robinsch 58ce0904aa Core/Aura: Fixed thread-unsafe return from Aura::GetCaster() (#25524)
(cherry picked from commit 53cb57b864)
2022-02-28 14:08:50 +01:00
Ovah ac6e242bff Core/Movement: fix units falling through the ground when hover mode is disengaged (PR #25518)
(cherry picked from commit e811b9cdc2)
2022-02-28 14:08:36 +01:00
Ovah eeac4a12f2 Core/Movement: add optional velocity argument for MoveLand and MoveTakeoff (PR #25516)
(cherry picked from commit 31abdc6ecf)
2022-02-28 14:08:22 +01:00
Shauren 081fa7cfc4 Core/Mail: Replaced blocking db query in mail sending with async version
(cherry picked from commit 0a9e239c12)
2022-02-28 13:56:45 +01:00
Shauren c027912a5b Core/Mail: Naming sync with 3.3.5 2022-02-28 12:53:10 +01:00
Shauren 569b5d6f04 Core/Auction House: Eliminate blocking db queries for account permissions when expiring auctions that have offline bidders
(cherry picked from commit d0d0f51f32)
2022-02-28 12:45:06 +01:00
jackpoz e7fc68d74b Core/Commands: Enable .debug loadcells on console and allow to load a specific tile
Specify the tile as XY. Note that this is not Grid XY

(cherry picked from commit 6f6cec89e5)
2022-02-28 12:18:19 +01:00
jackpoz f3787c6559 Core/Commands: Fix typo in .mmap loc command
The displayed "tileloc" value is a "swapped" Tile XY, not to be confused with Grid XY.

(cherry picked from commit 34af088c9b)
2022-02-28 12:09:19 +01:00
Treeston 525dabc377 whitespace to make CI happy, 7bf9a06 follow-up
(cherry picked from commit 837e32fe11)
2022-02-27 23:53:33 +01:00
Treeston 150f108174 Scripts/Commands: Fix a potential crash in cs_account.cpp
(cherry picked from commit 7bf9a0640e)
2022-02-27 23:53:16 +01:00
Gildor 8585b127f4 Core/Spells: SPELL_AURA_MOD_HEALING_PCT should be negative if TargetType is enemy or BasePoints are negative (#25490)
(cherry picked from commit a770ad0476)
2022-02-27 23:52:55 +01:00
Treeston 167a2c5da9 Scripts/ChatCommands: Rename 'lookup itemset' to 'lookup item set' to remove ambiguity.
(cherry picked from commit f45600fb2e)
2022-02-27 23:41:55 +01:00
jackpoz df94ce0f68 Core/Creature: Ignore combat reach when looking for assisting creatures
Fixes #25487

(cherry picked from commit 24018b7a74)
2022-02-27 23:26:54 +01:00
Treeston a788e0c3e1 Core/ChatCommand: Improve feedback for ambiguous commands
(cherry picked from commit a6d8a7ad1e)
2022-02-27 23:26:40 +01:00
jackpoz 2bd7d00e56 Core/Pet: Fix GetDebugInfo() output
(cherry picked from commit 16292f9d94)
2022-02-27 23:15:47 +01:00
Treeston 6439aefa42 Scripts/Commands: Move .account to trinity_string
(cherry picked from commit 899932a275)
2022-02-27 23:15:02 +01:00
Giacomo Pozzoni bfdabb8c37 Core/Quest: Fix wrong feedback sent to the quest sharing sender with auto-accept quests. (PR #25477) Closes #25474.
Co-authored-by: Treeston <treeston.mmoc@gmail.com>
(cherry picked from commit e2d643f551)
2022-02-27 23:03:06 +01:00
Treeston 5e013a9996 Core/ChatCommands: Add trinity_string support for chat command help
(cherry picked from commit 26c510775c)
2022-02-27 21:23:11 +01:00
Treeston 106c9b7541 Scripts/Commands: Rename .additemset to .additem set to avoid ambiguity
(cherry picked from commit e11b466897)
2022-02-27 21:03:20 +01:00
Treeston c13d7df72b Scripts/ChatCommands: Constrain how char const* may be used as a command handler parameter. It may now only be used in the legacy configuration, as the only argument.
(cherry picked from commit 9fda67d016)
2022-02-27 20:59:37 +01:00
Treeston 46d4e2fa83 1eca51b follow-up, nuke command.permission from orbit; it was only duplicating data already stored in the core.
(cherry picked from commit 991dc8e050)
2022-02-27 20:59:19 +01:00
Treeston 3fd2eb126c [3.3.5] ChatCommands, the other half: chat command resolution refactor (PR #25463)
(cherry picked from commit 1eca51b417)
2022-02-27 20:08:41 +01:00
Giacomo Pozzoni a65b3493a7 Core/SAI: Add orientation and delay columns to waypoints table (#25472)
* Core/SAI: Add orientation and delay columns to waypoints table

* Rename 2020_99_99_99_world.sql to 2020_09_19_00_world.sql

(cherry picked from commit 4b7d19c91b)
2022-02-27 20:08:41 +01:00
Giacomo Pozzoni 60519e947f Core/SAI: Fix SMART_ACTION_WP_PAUSE with 0 delay pausing the path only for 1 world loop update (#25471)
* Core/SAI: Fix SMART_ACTION_WP_PAUSE with 0 delay pausing the path only for 1 world loop update

* Add code comments

* Remove special handling of SMART_ACTION_WP_PAUSE in SMART_EVENT_WAYPOINT_REACHED

(cherry picked from commit 7dd51ae6d9)
2022-02-27 20:08:41 +01:00
xvwyh 1a073e2df0 Core/PathFinding: Fix GetPathPolyByPosition() using only 2D distance instead of 3D
Signed-off-by: jackpoz <giacomopoz@gmail.com>
(cherry picked from commit 2d6237f06a)
2022-02-27 20:08:41 +01:00
jackpoz d06c93185a Core/Loot: Raise max number of loot items from 16 to 18
Fixes #23948

(cherry picked from commit 5491cb51a2)
2022-02-27 20:08:41 +01:00
Aokromes 2f0ed35c26 Common/Metric: Fix build with PERFORMANCE_PROFILING and/or WITHOUT_METRICS
(cherry picked from commit 91cda8b1cd)
2022-02-27 20:08:41 +01:00
offl 7bac14995c DB/Gameobject: Add correct door to Sethekk Halls
(cherry picked from commit 3ce1a5b3ac)
2022-02-27 20:08:41 +01:00
ForesterDev 513eb0acb9 Scripts/ICC: update Icecrown Citadel scripts to new model (#25439)
(cherry picked from commit 54b9bb75e4)
2022-02-27 00:28:25 +01:00
ForesterDev 25bca7bef3 Scripts/ICC: update Gunship Battle scripts to new model (#25438)
(cherry picked from commit 2e1a6aefd0)
2022-02-27 00:28:25 +01:00
Giacomo Pozzoni d02ee9de37 Script/Commands: Add ".pdump copy" command (#25455)
* Script/Commands: Add ".pdump copy" command

Syntax: .pdump copy $playerNameOrGUID $account [$newname] [$newguid]
Copy character with name/guid $playerNameOrGUID into character list of $account with $newname, with first free or $newguid guid.

* Add missing return

* Restore eof check

* Fix sql

* Use forward declaration header

Co-authored-by: Shauren <shauren.trinity@gmail.com>

* Remove buffer when reading a line

* Rename sql files

Co-authored-by: Shauren <shauren.trinity@gmail.com>
(cherry picked from commit 6215da0d64)
2022-02-27 00:28:25 +01:00
Ovah cec71e8301 Core/Quests: Do not tell the client to request questgiver details for the next quest in chain on quest reward if the player cannot accept it yet (#27816)
This fixes an issue that was causing the gossip UI to get stuck when the client tried to request questgiver details that it wasnt allowed to retrieve yet
2022-02-26 23:18:34 +01:00
Aqua Deus 8fe7748f30 Scripts/Spells: Delete obsolete druid spell scripts (#27813) 2022-02-26 23:12:28 +01:00
Teleqraph f9753cb3dc Scripts/Spells: Fixed Rapture (#27800)
Trigger PW:S after cast to move it after EFFECT_1

Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-26 23:09:14 +01:00
ModoX 8de5053a65 Core/Quests: Fixes response selection to use correct referenced identifier (#27808) 2022-02-26 23:07:43 +01:00
Aqua Deus 6c01f761b2 Core/Auras: Implement SPELL_AURA_FORCE_BREATH_BAR (#27790)
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2022-02-26 21:23:37 +01:00
Jeremy 19f64e66e5 Core/GameObjects: Implemented GAMEOBJECT_TYPE_CAPTURE_POINT (#27034) 2022-02-26 19:01:00 +01:00
Shauren ee835671b4 Core/Objects: Added helper structures to allow using customized updatefield sending packet functions with Trinity::MessageDistDeliverer 2022-02-26 15:58:23 +01:00
Shauren 3e9b9603b6 Core/Objects: Add new 9.2 guid types 2022-02-25 23:37:02 +01:00
Shauren 1021fcee34 Core/PacketIO: Rename some new opcodes 2022-02-25 19:18:55 +01:00
Shauren 7f39c6ef32 Core/PacketIO: Fixed placeholders in DungeonScoreSeasonData 2022-02-25 14:14:56 +01:00
Shauren d945a118db Core/Auras: Implemented SPELL_AURA_DISABLE_INERTIA (506) 2022-02-25 12:37:04 +01:00
Shauren ce49d5615b Core/Misc: Update various enums for 9.2 2022-02-25 12:29:47 +01:00
Shauren 7fbdd6473e Core/DataStores: Updated db2 structures to 9.2.0 2022-02-25 11:40:20 +01:00
Shauren 9f30afe352 Core/PacketIO: Updated packet structures to 9.2.0 2022-02-24 23:16:55 +01:00
Shauren f96c8cc39b Core/Auras: Implemented PROC_FLAG_DEAL_HELPFUL_PERIODIC and PROC_FLAG_TAKE_HELPFUL_PERIODIC for periodic healing auras 2022-02-22 12:30:25 +01:00
Ovah d7736ef732 Scripts/Antorus: updated Garothi Worldbreaker initialization for dynamic spawn handling (#27817) 2022-02-21 20:03:53 +01:00
Aqua Deus 1a0341ccbd Core/Auras: Implement SPELL_AURA_IGNORE_DUAL_WIELD_HIT_PENALTY (#27786) 2022-02-17 18:14:42 +01:00
Traesh 543a7b79c3 Core/Maps: Add Map::DoOnPlayers helper function (#25233) 2022-02-16 23:54:26 +01:00