Commit Graph

27546 Commits

Author SHA1 Message Date
Keader
2e2f93b94f Scripts/ScarletMonastery: Decrease boss number
Headless Horseman do not use BossAI anymore (since it can be done multiple times)

(cherry picked from commit 3c201b7554)
2022-02-28 23:38:49 +01:00
Keader
8d841679fc Scripts/ScarletMonastery: Headless Horseman Rewrite (#25614)
(cherry picked from commit a93abcf803)
2022-02-28 23:38:36 +01:00
jackpoz
1ba5e17c95 Core/AI: Fix CorpseRemoved() and SMART_EVENT_CORPSE_REMOVED not being called for creatures without m_respawnCompatibilityMode
Fixes #24958

(cherry picked from commit 28a1132211)
2022-02-28 23:14:37 +01:00
Giacomo Pozzoni
b7a3124156 CI/GitHub: Switch to GCC 8 (#25610)
* CI/GitHub: Switch to GCC 8

Build on GitHub Actions using GCC 8 as it's the oldest supported GCC

* Core/Misc: Attempt to fix GCC 8 build

(cherry picked from commit d7459ccced)
2022-02-28 23:13:59 +01:00
offl
4316d65ebe DB/Instance/AQ40: Update gossips
Closes #25577

(cherry picked from commit 7fd12cc722)
2022-02-28 23:11:34 +01:00
Shauren
357147834e Core/DBLayer: Fixed memory leaks with existing SQLQueryHolder uses and eliminated the possibilty of adding more in future (replaced manual memory management with smart pointers)
(cherry picked from commit 53482f7299)
2022-02-28 22:41:36 +01:00
Keader
649716f827 Scripts/ICC: Some fixes in Valkyr Shadowguard (#25572)
- Added missing transformation spell
- Fixed Soul Siphon casted in random targets. It should always cast in top threat player.
- Fixed combat reach of transformation

(cherry picked from commit 5fee99bdbc)
2022-02-28 21:37:37 +01:00
Treeston
1bbf61ef02 AI/CreatureAI: Properly update Victim even while spell focusing
(cherry picked from commit 684910a230)
2022-02-28 21:36:50 +01:00
Keader
ab189bfc42 Scripts/ICC: Fixed Chocking Gas killing Abomination (#25565)
(cherry picked from commit 3c0766df54)
2022-02-28 21:36:21 +01:00
Gildor
503ac5556d Script/Commands: .character changeaccount now disconnects player before transferring (PR #25560)
(cherry picked from commit b70314b075)
2022-02-28 21:34:39 +01:00
Keader
f6409efcf6 Scripts/UtgardPinnacle: Implemented Beast's Mark (#25557)
(cherry picked from commit 182fcc919e)
2022-02-28 17:00:20 +01:00
Keader
ec3cb55d2f Scripts/IcecrownCitadel: Implemented Vampiric Might spell (#25556)
Closes #21294

(cherry picked from commit dadc0c98c0)
2022-02-28 16:59:09 +01:00
Gildor
6cd16b0ca9 Core/Spells: Aura refresh improvements (#25511)
(cherry picked from commit c13ccaab5c)
2022-02-28 16:04:48 +01:00
Gildor
ad7ed08c07 Scripts/Ulduar: Implemented Realm First! Death's Demise (#25530)
* Scripts/Ulduar: Implemented Realm First! Death's Demise

* comment line

* Rename 9999_99_99_99_world.sql to 2020_10_08_01_world.sql

Co-authored-by: offl <11556157+offl@users.noreply.github.com>
Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
(cherry picked from commit ce2d441304)
2022-02-28 16:01:25 +01:00
Treeston
1feb53939d Core/ChatCommands: Fix a potential crash if a custom chat command does not have a specified help string
(cherry picked from commit 3ec98bf241)
2022-02-28 15:54:08 +01:00
jackpoz
eb17e94b2e Core/SAI: Fix SMART_ACTION_WP_RESUME actually pausing next waypoint if the current path was not paused
Fixes #25519

(cherry picked from commit 5be7c2ad4f)
2022-02-28 14:42:53 +01:00
jackpoz
b059f2f8ee Core/SAI: Allow to debug SmartAI methods
(cherry picked from commit 59bb822f78)
2022-02-28 14:42:40 +01:00
offl
f930508e83 DB/Instance/Auchenai Crypts: Complete overhaul part 1
(cherry picked from commit 60ded4ea47)
2022-02-28 14:42:00 +01:00
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