aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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>
2021-11-19Core/BattlePets: BattlePetError enum class (#27286)Meji
2021-11-19Core/Quests: Fixed loading quest greeting localesShauren
Closes #27292
2021-11-18DB/Spell: fix mistake in Blood Draining's CheckProc and remove Attack Power ↵Rynem Storm
scaling (#22862) (cherry picked from commit a057d26f20ef2d18fa276534d727b03a6b5a2931)
2021-11-18Core/Spells: Fixed crash with some gameobject spell castersShauren
(cherry picked from commit 755133d8609c424c49be4bbe3bb4ec1ed02195f8)
2021-11-18Quest/Script: Kodo RoundupKillyana
Fix faction issue and handle the gossip correctly via the script (cherry picked from commit 5e73647c84338705a2b45b95705c08ea4a5e2668)
2021-11-18Scripts/Misc: Fix LoadMinionData() dynamic analysis issuesGiacomo Pozzoni
Fix issues reported by Address Sanitizer about LoadMinionData() calls on arrays that don't end with a {0, 0} pair. (cherry picked from commit 08dcee0cf9a56944027d3f65b7fd5c4a4959761c)
2021-11-18Core/Spell: Fixed some negative spells showing as positiveKeader
Closes #22840 Revert 9ecce3319216ca2156441e661a0d7a3a120f4ab9 and 7611242530e7037ecab9bc8a619628128b22fb6f Update #22757 (cherry picked from commit a0de602d38ffd1ddd9efdde62b24207709979739)
2021-11-18Core/Spells: Fixed unapplying rockbiter weaponShauren
Closes #22528 (cherry picked from commit f93a23adc5ee2e0759c5766816a7885bb71e3f27)
2021-11-18Scripts/Icecrown Citadel: Some fixes for Valithria Dreamwalker's encounterKeader
Closes #22754 #21887 #17882 Ty sirikfoll for all help Bonus fixes: Abomination letting worms when fight end, visual missing, archmages stop respawn if corpse despawn (cherry picked from commit dd81978f432f9c1ecb72ebcadcb5a50042e005ad)
2021-11-18Core/Scripts: Move some spells to scripts (#22332)DanVS
(cherry picked from commit 8051ff13dfcf3819b58adfcec1608c08dcbcd080)
2021-11-18That's Abominable for the 3 other quests, and knockbacks for all. (#22127)PolarCookie
(cherry picked from commit fb19f7be1f103b6d647e6d7d2aeabdfaadbc0631)
2021-11-18Core/Spells: Malleable Goo need be negativeKeader
Closes #22757 (cherry picked from commit 9ecce3319216ca2156441e661a0d7a3a120f4ab9)
2021-11-18Core/Creature: Profession trainer fixes (PR #22904)Ghaster
Closes #22903 (cherry picked from commit 19791a35df11e2c5c42ee437bfc13466c708ea43)
2021-11-18Scripts/The Steamvault: Fixed Chambers Access Panel and Main Chambers DoorKeader
Closes #21067 Ty Kittnz, killerwife, Aokromes (sniffs) (cherry picked from commit b283565d8adb394862ea2affd2af497bac6cdbcb)
2021-11-18Core/Handlers: fix ".whisper on" with opposite faction/low leveljackpoz
Closes #22283 (cherry picked from commit f11117584d0b787bbf36ae61dad2b46e559b0953)
2021-11-18Scripts/Commands: Fix crash caused by .set npc model (#22877)Giacomo Pozzoni
* Scripts/Commands: Fix crash caused by .set npc model Fix crash caused by .set npc model with invalid model id (cherry picked from commit 20ea24bf5ccf165ce19139d1f7ec7c650719eb68)
2021-11-18Core/Spells: Fixed ErrorCube spell missilesShauren
(cherry picked from commit 3b5014fdae1b57add7fd204a9f9f10f3c2092b83)
2021-11-16Spell/Script: Scourge Disguise and Haunting Phantoms (#22727)PolarCookie
(cherry picked from commit 66720e5fd94015e9884060bb66c3093484855880)
2021-11-16Core/Trainers: Remove unused defineShauren
2021-11-16Core/Players: Partial port of baebb2d602ca2f10159ea0039ec3a6d03155c3bd (just ↵Shauren
packet sending function) (cherry picked from commit baebb2d602ca2f10159ea0039ec3a6d03155c3bd)
2021-11-16Core/Utils: some code style adjustments, 6d6077e follow-upTreeston
(cherry picked from commit 4c3af3b636d5e9279fb694c9d9a5a4422ad773d0)
2021-11-16Core/Utils: Fix Unicode handlingTreeston
(cherry picked from commit 6d6077e36fe9c5cb8ea8e4f981d637e72ee87037)
2021-11-16Scripts/Nagrand: Fix crash added in PR #22806 (#22878)Giacomo Pozzoni
Fix crash added in PR #22806 happening in quest "Ruthless Cunning and Returning the Favor" (cherry picked from commit cb136387218bc7a5473cf1ca6707ec1ba3b8c1c0)
2021-11-16Core/PacketIO: Fixed SMSG_BATTLE_PET_ERROR structureShauren
2021-11-16Core/Units: Fixed crash happening when charm was removed by its own charmed ↵Shauren
AI during update (cherry picked from commit c7445669e8577884fd512fe009f7d3da4cf0429a)
2021-11-16Core/Misc: Fix vsnprintf usage in ASSERT()jackpoz
Fix vsnprintf to follow standard definition and not some old VC++ behavior, not requiring to include the '\0' character in the count parameter (cherry picked from commit eee1f2cadf8174caca4849c22ba1fb8f12fc9e08)
2021-11-16Core/Misc: Log more information in asserts (#22783)Giacomo Pozzoni
* Core/Misc: Log more information in asserts Add a new function GetDebugInfos() to types that could trigger an ASSERT() to easily include more useful information in crashlogs. This is an initial commit that requires many more commits to implement the new GetDebugInfos() function in all required types. If the type doesn't have the function, the global default one is picked which doesn't log anything. * Core/Misc: Fix dynamic build Add missing attribute for dynamic build * Core/Misc: Fix gcc/clang build * Core/Misc: Rename GetDebugInfos() to GetDebugInfo() * Core/Misc: Fix FormatAssertionMessage() adding an extra '\0' * Core/Misc: Add GetDebugInfo support to Unit * Core/Misc: Add GetDebugInfo support to Creature * Core/Misc: Add more info to GetDebugInfo for Creature * Core/Misc: Add GetDebugInfo support to GameObject * Core/Misc: Add GetDebugInfo support to Player * Core/Misc: Add more GetDebugInfo info * Core/Misc: Add GetDebugInfo support to Item * Core/Misc: Add GetDebugInfo support to Bag * Core/Misc: Add GetDebugInfo support to Transport * Core/Misc: Add GetDebugInfo support to TempSummon, Minion, Guardian, Pet * Core/Misc: Add GetDebugInfo support to Map, InstanceMap * Core/Misc: Add GetDebugInfo support to Spell * Core/Misc: Fix build warning * Core/Misc: Add GetDebugInfo support to Aura * Core/Misc: Add GetDebugInfo support to UnitAI (cherry picked from commit 9a924fb9d557434c5a2e4020c80db6e6bfe466ad)
2021-11-16Core/Misc: Explicit typing for SpellAttrN enums, add nicer text to UNKs, and ↵Treeston
restore some relevant info from old comments. Final one of these. (cherry picked from commit 3acba6dded14afdf84f2ab51ca3b6cec92bdb092)
2021-11-16Core/PacketIO: Fixed SMSG_LEVEL_UP_INFO structureShauren