Commit Graph

35944 Commits

Author SHA1 Message Date
Aokromes
f5827770fc Core/Spells: Add categories to 2 logs
(cherry picked from commit 1cba363360)
2021-11-23 22:29:01 +01:00
Aokromes
c5720e37c1 Core/Entities: Add categories to 2 logs
Closes #22922

(cherry picked from commit 578c796625)
2021-11-23 22:28:38 +01:00
jackpoz
23489568db Core/MMaps: Fix infinite loop in Detour
Fix an infinite loop in Detour happening in Dalaran Sewers.
This is more of an emergency patch until we figure out why dtNodes have a circular reference (A -> B -> C -> A) happening quite often in this place

(cherry picked from commit c8ec2dd95d)
2021-11-23 22:28:28 +01:00
Killyana
cefd1f94d7 DB/Creature: Add invisibility auras related Roanauk Icemist
(cherry picked from commit 3a83dc60d5)
2021-11-23 22:27:15 +01:00
Killyana
15e844b854 DB/Quest: The Might of the Horde
Add missing texts and despawn action

(cherry picked from commit 7514c3106d)
2021-11-23 22:26:07 +01:00
illfated
98be760151 DB/Creature: Warsong Battle Standard
Closes #23024

(cherry picked from commit 6443dee286)
2021-11-23 22:25:36 +01:00
jackpoz
3ddbf02dc7 Core/Misc: Fix issues reported by static analysis
Fix issues reported by Coverity Scan

(cherry picked from commit 2fda1572d2)
2021-11-23 22:20:39 +01:00
jackpoz
9807f32334 Core/Misc: Fix issues reported by dynamic analysis
Closes #23021

(cherry picked from commit 9942047c72)
2021-11-23 22:19:06 +01:00
Killyana
aa9b86a90e DB/Misc: Plaguelands: The Scarlet Enclave
From 8c647dcfb8
By Grz3s

(cherry picked from commit b54b372a39)
2021-11-23 22:18:49 +01:00
Killyana
f6a89f4b42 DB/Creature: Fix phase for one Scourge Necromancer spawn
(cherry picked from commit 42edba699d)
2021-11-23 22:01:48 +01:00
jackpoz
927e62e88e Core/Group: Fix memory leak
Fix memory leak happening when disbanding a group with an ongoing roll.
Please note this is not blizz-like but at least we don't leak memory anymore.

(cherry picked from commit f04e90f638)
2021-11-23 21:28:23 +01:00
Sorikoff
fc9106054b Scripts/Scarlet Enclave: Grand Theft Palomino (#22967)
* Grand Theft Palomino

* Cosmetic issues

* Address CR

(cherry picked from commit d5f565f429)
2021-11-23 21:28:03 +01:00
Chaouki Dhib
4507a02ada Core/Movement: Implement move time skipped handler (#22994)
* Implement CMSG_MOVE_TIME_SKIPPED handler and move it to MovementHandler.cpp

* Add better error handling

* Update MovementHandler.cpp

(cherry picked from commit f9ed72e351)
2021-11-23 21:18:07 +01:00
jackpoz
e475cac631 Core/Spells: Fix assert triggered
Fix assert triggered when a spell would trigger another spell in OnEffectHitTarget that would kill the aura owner, then processing the main spell effects. The triggered spell can kill the aura owner, changing its death state to CORPSE and removing auras created.

Fix #21856
Ref 518e6299ca

(cherry picked from commit 46c7446bd4)
2021-11-23 20:47:31 +01:00
Sorikoff
31f4bb1436 DB/Quest: Sniff Out the Enemy
Closes #23006

(cherry picked from commit 806dd940ce)
2021-11-23 20:46:27 +01:00
Killyana
13aef5574b DB/Creature: Fix Saviana Ragefire movements
Closes #18773

(cherry picked from commit b1604ba0cd)
2021-11-23 20:44:33 +01:00
Killyana
a482f97a5a DB/Creature: Fix Val'kyr Herald movements
Closes #23004

(cherry picked from commit a19c21d4eb)
2021-11-23 20:42:38 +01:00
Killyana
ce6a6acc5c DB/Creature: Fix some spawns in Ogri'la
(cherry picked from commit 9c6e838083)
2021-11-23 20:40:46 +01:00
Killyana
4cdecf0076 DB/Quest: Improvements for "Bombing Run"
(cherry picked from commit 9d37d39511)
2021-11-23 20:38:24 +01:00
Killyana
ffa427b7e4 DB/Creature: Remove Priestess Tyriona wrong spawn
(cherry picked from commit 6679e3010e)
2021-11-23 20:35:29 +01:00
Killyana
8d13e41bf2 DB/Spell: Freezing Circle
Updates #11312

(cherry picked from commit 3432edf3dc)
2021-11-23 20:34:37 +01:00
Killyana
d410971d89 DB/Creature: Blockade Cannon and blockade pirate
Closes #22489
By illfated and ZenoX92

(cherry picked from commit e21a1a6825)
2021-11-23 20:33:09 +01:00
Sorikoff
aeb614a21a DB/SAI: Gjalerbron
Closes #22961

(cherry picked from commit d8572e1fb8)
2021-11-23 20:32:20 +01:00
Keader
084491669e Scripts/Magister Terrace: Fixed a enum mistake
(cherry picked from commit 33b0654f8e)
2021-11-23 00:40:07 +01:00
Keader
cfd0e18b81 Core/Misc: Fixed shaman elementals and magister terrace first boss access
(cherry picked from commit 6545cd33b9)
2021-11-23 00:39:59 +01:00
Keader
4a943fd3d2 Scripts/Utgarde Keep: Fix Ingvar Evading (again)
UNIT_FLAG_NON_ATTACKABLE makes ingvar become a invalid target and lose threatlist, so me->IsThreatened() will return false.
We dont need it at all, since UpdateAI will handle evade already.

(cherry picked from commit 71dde16ce9)
2021-11-23 00:39:17 +01:00
Keader
5c48cac6f9 Scripts/Temple of Ahn Qiraj: Scripted doors of AQ40
Doors added in 1ba09572b5

(cherry picked from commit 06078e30c6)
2021-11-23 00:39:17 +01:00
Ovah
3027458338 Scripts/Magister Terrace: Update InstanceScript and more fixes
Cherrypicked of https://github.com/Ovahlord/TrinityCore/commits/4.3.4

(cherry picked from commit 1b346485e4)
2021-11-23 00:39:13 +01:00
Ovah
3847d7b277 Scripts/Magister Terrace: Felblood Kaelthas rewrite
Cherrypick of ae440400aa

(cherry picked from commit 00958c9178)
2021-11-23 00:21:42 +01:00
Keader
4af2894626 Scripts/Black Temple: Mother Shahraz fatal attraction need be random
Higher distance showed in my sniffs is 48 yards (rounding 50 yards). If someone find more then that, please let me know.
Ty killerwife

(cherry picked from commit fd69c133b1)
2021-11-22 23:57:54 +01:00
Keader
c3210798f0 Scripts/Black Temple: Fixed some issues in Illidari Council
Ty killerwife for all help :)

(cherry picked from commit ef6240312c)
2021-11-22 23:57:19 +01:00
jackpoz
3f4bedd803 Tools/MMaps: Allow to specify different Recast settings for different maps
Allow to specify different Recast settings for different maps, currently handled in GetMapSpecificConfig() as a switch statement.
Set walkableRadius to 0 in Blade's Edge Arena (Map ID 562) so the pets can walk on the thin rope between the bridge and the pillar.

(cherry picked from commit e4658a1307)
2021-11-22 23:54:43 +01:00
Shauren
7b11d17f49 Core/Players: Load faction change items from db2 instead of db 2021-11-22 23:54:14 +01:00
Killyana
f5ab650f9c DB/Quest: Remove deprecated mount quests
(cherry picked from commit 75c553fe59)
2021-11-22 23:25:08 +01:00
Killyana
2f2c7275f9 DB: Fix WrathGate spell area and npcs reaction
Closes #20772

(cherry picked from commit 342e009c3e)
2021-11-22 23:22:50 +01:00
Killyana
e73cca8e79 DB/Creature: Scholomance Occultist
(cherry picked from commit 1972760a86)
2021-11-22 23:16:34 +01:00
Shauren
630adfec22 Core/Phasing: Fixed inverse phaseshift logic 2021-11-22 22:39:16 +01:00
jackpoz
cb8b637061 Dep/Recast: Update recastnavigation to 14b2631527
Rebuilding mmaps IS required

(cherry picked from commit 5ff88ea04a)
2021-11-22 00:17:11 +01:00
Killyana
b6c9ebec71 DB/Creature: Update visibility distance for difficulty entry
(cherry picked from commit 03b4b8bdab)
2021-11-22 00:12:38 +01:00
Killyana
9d99eae86c DB/Quest: The Sun Gate
Closes #22977

(cherry picked from commit 717e050edb)
2021-11-21 22:51:35 +01:00
Killyana
403e15c5cc DB/Quest: Alien Egg
Closes #22668

(cherry picked from commit 71fd5f19dc)
2021-11-21 22:43:18 +01:00
Killyana
1684ac4558 DB/Spell: Fix some dbc spells
(cherry picked from commit c62b38e562)
2021-11-21 22:29:19 +01:00
Killyana
d4e59baff0 DB/Quest: The Final Code (horde version)
(cherry picked from commit af46f3fd4c)
2021-11-21 22:07:17 +01:00
Killyana
0ed9429233 DB/GameObject: Stonebreaker Brew
(cherry picked from commit 52460203d2)
2021-11-21 21:50:35 +01:00
Killyana
e8d978f639 DB/Quest: Deactivating the Spire
Closes #22966

(cherry picked from commit 18d07e6c4e)
2021-11-21 21:44:36 +01:00
jackpoz
3acb420444 Core/MapScripts: Allow GameObjects to be caster of SCRIPT_COMMAND_CAST_SPELL
(cherry picked from commit 813cf761fc)
2021-11-21 21:10:10 +01:00
jackpoz
36468203dd Core/Spells: Fix assert triggered
Fix assert triggered when a spell would trigger another spell in OnEffectHitTarget that would kill the target, then processing the main spell effects. The triggered spell can kill the target, changing its death state to CORPSE and removing auras created.
Fix #22306

(cherry picked from commit 518e6299ca)
2021-11-21 21:09:36 +01:00
Kittnz
bdcec63b61 DB/Creature: Fix visibility for every creature
A lot of creatures didn't have an entry in creature_template_addon

(cherry picked from commit 372de1cafe)
2021-11-21 21:07:45 +01:00
jackpoz
d532420d79 Core/Misc: Update 85e3169fbd about SOAP
Change again how SOAP is stopped if SOAP successfully binds but worldserver fails to bind its sockets.
A crash remains if SOAP fails to bind because it calls exit() and that triggers asserts everywhere.

(cherry picked from commit d05ab073cb)
2021-11-21 20:16:46 +01:00
jackpoz
f83601de2f Core/Networking: Set SO_REUSEADDR on *nix platforms
(cherry picked from commit 46f2595f51)
2021-11-21 20:16:26 +01:00