aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-11-23Core/Spells: Fix assert triggeredjackpoz
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 518e6299ca08a362bc3709daaaa5e5d5633d1bf1 (cherry picked from commit 46c7446bd4ef606b1091c1582df50e027fab28b6)
2021-11-23DB/Quest: Sniff Out the EnemySorikoff
Closes #23006 (cherry picked from commit 806dd940cec8352cc3a619b9cab39c95d7b86e59)
2021-11-23Scripts/Magister Terrace: Fixed a enum mistakeKeader
(cherry picked from commit 33b0654f8eb7aedf2a5a7d6b88f222ce31d20331)
2021-11-23Core/Misc: Fixed shaman elementals and magister terrace first boss accessKeader
(cherry picked from commit 6545cd33b91468de7c1b4beb77cdeb4ecb77f501)
2021-11-23Scripts/Utgarde Keep: Fix Ingvar Evading (again)Keader
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 71dde16ce9a9c7904a2902ae288b3f05851224ac)
2021-11-23Scripts/Temple of Ahn Qiraj: Scripted doors of AQ40Keader
Doors added in https://github.com/TrinityCore/TrinityCore/commit/1ba09572b5a49d5cd247cdca47109d3325ec12f3 (cherry picked from commit 06078e30c6f1d6e2ab1dcecbba15127b07b32bb7)
2021-11-23Scripts/Magister Terrace: Update InstanceScript and more fixesOvah
Cherrypicked of https://github.com/Ovahlord/TrinityCore/commits/4.3.4 (cherry picked from commit 1b346485e40ddee958c116579d93bcff063021a5)
2021-11-23Scripts/Magister Terrace: Felblood Kaelthas rewriteOvah
Cherrypick of https://github.com/Ovahlord/TrinityCore/commit/ae440400aaf90de11cf92010839ab98a8403c003 (cherry picked from commit 00958c9178781ac11a9dcabd034ed2e82120fad6)
2021-11-22Scripts/Black Temple: Mother Shahraz fatal attraction need be randomKeader
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 fd69c133b10e289167f34438cb34fb5d4a141b4c)
2021-11-22Scripts/Black Temple: Fixed some issues in Illidari CouncilKeader
Ty killerwife for all help :) (cherry picked from commit ef6240312ceb08f253a492db88eebd182925211f)
2021-11-22Tools/MMaps: Allow to specify different Recast settings for different mapsjackpoz
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 e4658a1307b1d52a4e6a0ed67f7dff92f02c090d)
2021-11-22Core/Players: Load faction change items from db2 instead of dbShauren
2021-11-22Core/Phasing: Fixed inverse phaseshift logicShauren
2021-11-22Dep/Recast: Update recastnavigation to ↵jackpoz
https://github.com/recastnavigation/recastnavigation/commit/14b2631527c4792e95b2c78ebfa8ac4cd3413363 Rebuilding mmaps IS required (cherry picked from commit 5ff88ea04aec4677f1c1d669674e5442288a25e3)
2021-11-21Core/MapScripts: Allow GameObjects to be caster of SCRIPT_COMMAND_CAST_SPELLjackpoz
(cherry picked from commit 813cf761fcf8737e50486672be28900c9cf4f36f)
2021-11-21Core/Spells: Fix assert triggeredjackpoz
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 518e6299ca08a362bc3709daaaa5e5d5633d1bf1)
2021-11-21Core/Misc: Update 85e3169fbd7b2da70e0f054399f4db64ded36325 about SOAPjackpoz
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 d05ab073cb102a4f868b0fda51ef4368350ded32)
2021-11-21Core/Networking: Set SO_REUSEADDR on *nix platformsjackpoz
(cherry picked from commit 46f2595f511011d577be0ecee3d9f44c980ddc92)
2021-11-21Core/Misc: Fix shutdown with SOAP enabledjackpoz
Fix worldserver entering a loop when having SOAP enabled but failing to bind both SOAP and worldserver listened socket. SOAP thread would keep trying to bind the socket over and over checking World::IsStopped() condition that was never set to true (cherry picked from commit 85e3169fbd7b2da70e0f054399f4db64ded36325)
2021-11-21Core/Misc: Port style changes from d8819147b023f318c0ca2c42da4d05e4f9551cceShauren
2021-11-21Scripts/ICC: npc_suppresser correctionsccrs
closes #22908 (cherry picked from commit c5423fa474273400982b277c82bb38385b2798e1)
2021-11-21Remove whitespace (63ea6a50e851f9df82381e254a7c56e1c575cfe2)Shauren
2021-11-21Core/Commands: Fixed creature/gameobject move commands not updating which ↵Shauren
cell they belong to Closes #22720 (cherry picked from commit ec1cfa36f4c286ad8037516460a4e99ea5d7a5ed)
2021-11-21Core/Quest: Fix crash in GetQuestDialogStatus()Giacomo Pozzoni
Fix possible NULL dereference in GetQuestDialogStatus() Fixes #22516 (cherry picked from commit 6859dfa2d157f0d174004a00a9d047d6eb38f9a1)
2021-11-21DB/Creature: Update Lord Victor Nefarius gossips with the correct entryKillyana
Closes #22946
2021-11-21Core/Unit: rename & cleanup GetCreatePowersccrs
it hurted my eyes too much (cherry picked from commit 954fd2639a5745c8f5165f329f64a143c6ffc5f7)
2021-11-21Core/Units: Fixed crash with charm/possessShauren
Closes #27168 Closes #27247
2021-11-213.3.5 UnitAI (#22911)Giacomo Pozzoni
* Core/AI: Revamp how UnitAI changes are applied Revamp how UnitAI changes are applied by storing current AI in a variable and all previous AIs plus current in a stack. The callers can push/pop AIs on the stack that will take effect only in next Unit::Update() call. The current AI will be a valid object for the whole duration of Unit::Update() and until next Unit::Update() call. * Core/AI: Apply new AI change code * Core/AI: Fix build * Core/AI: Fix crash on Creature::AIM_Create() * Core/AI: Fix crash * Core/AI: Restore ASSERT * Core/AI: Fix UnitAI not being popped properly when restoring a charmed AI (cherry picked from commit 8f9654d8176646c3076482477fc4b91011fb83cc)
2021-11-21Scripts/Borean Tundra: Corastrasza gossip menu improvements (#22942)Trond B. Krokli
- split the quest status check, the quest gossips are different - remove old hardcoded text (deprecated method) - enumerate already existing DB gossip menu option items (cherry picked from commit a8558c4361a7e3560c094886ef3072d46c64de44)
2021-11-21Core/CLI: Fixed utf-8 console input on windowsShauren
(cherry picked from commit 901af6546bed3e707b81c272774c414baaf8dd50)
2021-11-21Core/Utils: Handle UTF-8 conversion errorsjackpoz
Replace the output string when a UTF-8 conversion error happen with an error message instead of using an empty string, swallowing any message that the caller wanted to log. (cherry picked from commit bdb7e6e5e81e0d9376c9c803bae9da470b02d8cd)
2021-11-21DB/Creature: Wrath CorruptorKillyana
Thanks to Keader for the spell_script Original sql by Tobschinski https://github.com/cmangos/tbc-db/commit/c8f1753834ba3dba4c6263346afe29cd363c2431 (cherry picked from commit fb28083b3b2966952b1227f6585b48fcc70dbe7a)
2021-11-21Core/LFG: Ignore LFG cooldown when joining queue to replace missing party ↵Shauren
member when dungeon is already in progress (cherry picked from commit 7fb52334b2fea4bdd3a83c6af4dbcc39cacb41a9)
2021-11-21Scripts/Quest: make Wounded Skirmisher reply talk show class & race (#22936)Trond B. Krokli
Quest 12288: Overwhelmed! - Upon casting the healing quest spell, Wounded Skirmisher (npc_wounded_skirmisher) shows $r and $c in their reply talk text because of the missing target argument, hence not targeting the player on the quest (or the specific caster, in this case). Text used by the NPC Wounded Skirmisher: 0 Ahh.... better. 1 Whoa - I nearly died there. Thank you, $r! 2 Thank you, $c. Solution: add the missing target name, caster, to the Talk() script line. (cherry picked from commit 95398fadf958d40ba6755a6c2f7b374f0a36b7c7)
2021-11-21Core/Movement: 9080e7863c2 followupccrs
not the desired optimization I was aiming at, ty Shauren (cherry picked from commit 9695c3d46d752d23817da9255b1c02f79faceabd)
2021-11-21Core/Movement: correct logic wrongly ported in 2a84562dc8ccrs
I'm referencing line 97 from ChaseMovementGenerator. That commit introduced a modification in this use case: - Chasing target is not my current victim, I should stop moving till it is my victim again Changed To: - Chasing target is not my current vicitm, I should stop chasing My correction: - I dont care about the relation of my current victim and my chasing target, I'm commanded to chase, something will tell me to stop chasing --> Most likely: evade, new attackstart, etc. the rest are just minor changes (cherry picked from commit 9080e7863c28df7dc1c2af321964776e7b59e41a)
2021-11-21Core/Networking: Fix memory leak (#22923)Giacomo Pozzoni
Fix memory leak reported by ASan happening when ports fail to bind in Authserver (cherry picked from commit 57d7b194522d6d44f4d2e9400c03cfc13d5a706a)
2021-11-21Rename spell correctlyKillyana
(cherry picked from commit 4c53dd930eb13d9e2df93061ec5fe4a6139e744c)
2021-11-21Creature/Script: Add missing abilities for Ghostly Citizen and Spectral CitizenKillyana
Closes #22662 (cherry picked from commit 21030d0cd06ff566ce82efe768a0b57425e5d126)
2021-11-20Core/GameObject: Implement GameObject::Use case for GAMEOBJECT_TYPE_NEW_FLAG ↵Jeremy
(#27267)
2021-11-20Core/BattlePets: Set Allow = false; in SMSG_QUERY_BATTLE_PET_NAME_RESPONSE ↵Shauren
when name is empty
2021-11-20Core/Auras: Implemented SPELL_AURA_MODIFY_FALL_DAMAGE_PCT (#27296)Antonio Martín Berti
2021-11-20Core/BattlePets: Implemented battle pet name query packet (#27294)Meji
Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-11-20Scripts/Spells: Implement Demon Hunter Base Spell "Glide"Seyden
2021-11-20Scripts/Spells: Predefine spell ids used for DH scriptsSeyden
2021-11-20Core/Movement: Temporarily disable "no state change" checks in ↵Seyden
Unit::SetFeatherFall and Unit::SetCanTurnWhileFalling Co-authored-by: Shauren <shauren.trinity@gmail.com>
2021-11-20Nopch build fixShauren
2021-11-20Core/Spells: SpellHistory updatesShauren
* Add duration override argument to StartCooldown (for cooldowns sent to client) * Research new SMSG_SPELL_COOLDOWN flags * Send interrupt school lockouts with newly defined SPELL_COOLDOWN_FLAG_LOSS_OF_CONTROL_UI * Fixed packet structure of SMSG_MODIFY_COOLDOWN * std::chorno-ification
2021-11-19Core/Misc: Corrected function name in log message (#27288)acidmanifesto
2021-11-19Core/BattlePets: Journal lock improvements (#27178)Meji
Co-authored-by: Shauren <shauren.trinity@gmail.com>