aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-01-01Core/Player: add helper methods for PLAYER_FLAGS_DEVELOPER (#24511)ForesterDev
* Core/Player: add helper methods for PLAYER_FLAGS_DEVELOPER. Update .dev command to new command model * Rename _player -> player (cherry picked from commit 8128bb97dbf4b5ba7cb0b624ce7cf7428d7bdc63)
2022-01-01Core/PathFinding: Fix buffer overflowjackpoz
(cherry picked from commit dc7856644f48d6b313e973197fed69ef56d6b5e0)
2022-01-01Scripts/IcecrownCitadel: Adding IsAlive check to avoid possible crash in ↵NoName
Event (#24514) (cherry picked from commit 22aaf32a79cd6ce8ebb4507cdfd677f073c35178)
2022-01-01Core/Auras: Prevent getting negative scale with aurasShauren
Closes #24040 (cherry picked from commit 50576fa1f5044ca81baf633d84174cef2346acc5)
2022-01-01Core/Spells Fixed scroll stacking check when not targeting selfShauren
* Reuse code that removes non-stackable auras at apply to check before casting the spell to keep reagents/cast item (cherry picked from commit 43d9ffd1bc127768882711a47d5e2bae92845d04)
2022-01-01Core/Spells: Scrolls should not be consumed, when they fail to apply.FAQ
(cherry picked from commit 8d87c834e7aa933a9f19134fed702fdc756cb2a4)
2022-01-01DB/Pet: Lil' K.TKillyana
Ref #1364 (cherry picked from commit ee5eace3c6d1fa489572c052daef4834e9c7f12c)
2022-01-01Core/Vehicles: update the power display of vehicles before being added to ↵Ovahlord
world to avoid building unnecessary update_object packets right after spawning them (cherry picked from commit 1610337e67ed3f2fc8bc2ab7b3e3f2bd1b7b1033)
2022-01-01Core/DataStores: Use ResSicknessSpellID from ChrRaces instead of hardcoding ↵HelloKitty
it (#24504) (cherry picked from commit f1ad04b31bf04f8c523b7e80914bb3c2b28c84c3)
2022-01-01DB/Pet: Toxic WastelingKillyana
Closes #12773 (cherry picked from commit 3f5e0927c3e7e3c0fc471f9d8dd4944b270dc40e)
2022-01-01Core/Spells: Crystallize should not use DIMINISHING (#24502)NoName
and also correcting spelling in script by Rushor and wotlk-enthusiast (cherry picked from commit 45993428f5c7e7e03d0d98529354e23cd8c7cf98)
2022-01-01Game/AI: Implement new targettype SMART_TARGET_CLOSEST_UNSPAWNED_GAMEOBJECT ↵Rushor
(#24494) * Game/AI: Implement new targettype SMART_TARGET_CLOSEST_UNSPAWNED_GAMEOBJECT which allows to search for closest unspawned gameobjects * updates: https://github.com/TrinityCore/TrinityCore/issues/24067 * Game/AI: Implement new targettype SMART_TARGET_CLOSEST_UNSPAWNED_GAMEOBJECT which allows to search for closest unspawned gameobjects (cherry picked from commit 2d948d33666fbd6f82145c4629483753b7780bb5)
2022-01-01Game/AI: Enable check for SMART_TARGET_GAMEOBJECT_RANGE (#24493)Rushor
* Thanks to joshwhedon * Updates: https://github.com/TrinityCore/TrinityCore/issues/24439 (cherry picked from commit a41bb4f77b071c16c963c6de91bb3082cbe151b4)
2022-01-01Core/GameObject: Remove linked traps when the main GameObject is remo… ↵Eridium
(#24480) * Core/GameObject: Remove linked traps when the main GameObject is removed from from the world * Indentation (cherry picked from commit 7e9bc9599b14041ab841113c9dc3ed023ba26275)
2022-01-01Scripts/OnyxiasLair: Fix Onyxia Eruption spell (#24472)Gildor
(cherry picked from commit e4476fab6eb8e9b712a9fa25c8db7b78ab22ddb7)
2022-01-01Core/AI: Implemented OnSpellCastInterrupt and OnSuccessfulSpellCast hooksOvah
Ported from: 020825902c066cee532f1b9a24205c196da2662d and 1aa42e97a81e285fa34316ad9cfe9657865e3c35 (cherry picked from commit f1e4ee21f8da41c71f4cbafaa85e89c6275c1db2)
2022-01-01Making travis happyKeader
(cherry picked from commit ee218a564239cf02c43df41f7b9597d71b018ed5)
2022-01-01Scripts/Black Temple: Fixed Reliquary of Souls after combat rewrite changes.Keader
Closes #23879 * Fixed combat start/evade issue * Fixed visual issue in Soul Release spell * Fixed some timers issue * Fixed some codestyle issues PS: Please, stop break my black temple babys. (cherry picked from commit d8e726de586070d24bec3c43a9ae795cf5482be0)
2022-01-01Core/Database: fix wrong password logging (#24487)ForesterDev
(cherry picked from commit 48c700347c91b1748427a8c5b09b8d4099c9a105)
2022-01-01Scripts/BWL: Fix crash in Razorgore encounterjackpoz
(cherry picked from commit 7b8b02c32ebfb7c8c47ac1d1b94129c91346ad66)
2022-01-01Game/SmartScripts: Reset counter in SAI only on Initialize. (#24489)Rushor
* Game/SmartScripts: Reset counter in SAI only on Initialize. * Game/SmartScripts: Reset counter in SAI only on Initialize. (cherry picked from commit 4f52f7d7c9f57b3ee0347888ce3a77b6363d1be9)
2022-01-01Core/Spells: Fix assertion triggeredjackpoz
(cherry picked from commit 740afc71358c32257540350a6d7d4071a851452f)
2022-01-01Core/Misc: Improve assert message with more detailShauren
(cherry picked from commit 9407f9bdfa7c8f3cad52f892aef4e31a1781930a)
2022-01-01Spell: Move "Dark Conclave Ritualist Channel" outside Ulduar spellsKillyana
(cherry picked from commit 9e585732728a0b99c6e8f70d30bd7c508de44636)
2022-01-01Spell: Fix "Dark Conclave Ritualist Channel" range and castKillyana
(cherry picked from commit 64878e19fbbb95ee1741aed6013a27f7c6323f41)
2022-01-01Boss/Script: Vazruden_Fix (#24197)skipperheartbeat
* Add files via upload * Update boss_vazruden_the_herald.cpp * Update boss_vazruden_the_herald.cpp * Update boss_vazruden_the_herald.cpp * Update boss_vazruden_the_herald.cpp * Update boss_vazruden_the_herald.cpp * Update boss_vazruden_the_herald.cpp * Update boss_vazruden_the_herald.cpp * Update boss_vazruden_the_herald.cpp * Update boss_vazruden_the_herald.cpp * Update src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com> * Update src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com> * Update src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com> * Update src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com> * Update src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com> * Update src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com> * Update src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com> * Update src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp Co-Authored-By: offl <suffle.o@gmail.com> * Update src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com> * Update boss_vazruden_the_herald.cpp * Update boss_vazruden_the_herald.cpp * Update boss_vazruden_the_herald.cpp Co-authored-by: Aokromes <Aokromes@users.noreply.github.com> Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com> Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> Co-authored-by: offl <suffle.o@gmail.com> (cherry picked from commit 8ac83744293afe297bce2597107bc5da5445ccbb)
2022-01-01Core/Spells: Improve check for non damage/heal spells in ↵Gildor
Spell::TargetInfo::DoDamageAndTriggers (#24467) * this prevent cases like full absorb damage that override proper hitMask (cherry picked from commit 247151b470e6b4950c8d63094c1b8fbf797ad246)
2022-01-01Core/Spells: Fixed Ice Block / Divine Shield cast in Cyclone (#24465)Keader
(cherry picked from commit c41ae890693676c25cf58f448da9a914fcb9aaf1)
2022-01-01Add realm ID for actions based ip logging (#24453)zartech22
* Update SQL queries to insert realm id * Insert the realm id when logging actions based on IP * Adding the SQL update file * Update 9999_99_99_99_auth.sql * Update auth structure Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit 56f20d69a6ab23a9818f77fd4e2df541a7c30f0e)
2022-01-01Scripts/Naxxramas: Fix Heigan Eruption spell (#24470)Gildor
(cherry picked from commit 6c7c2c6cd279813333e0b1cc1f60b22a04f368dd)
2022-01-01Core/Movement: various improvements for creature knockbacksOvah
* creature knockbacks will no longer generate a full path but instead only use a destination point to reflect sniff data * calculate the destination by using a mmap raycast instead of using a mmap path which had the chance of creating weird movements when GetNearPosition failed to get a proper collision point (knocking arround a tree for example or just somewhere it should not go at all) (cherry picked from commit cfd63c350f5b01fd699903b17162b2f5167b1386)
2022-01-01Core/Players: Improve trade exchange calculations (#24435)Alan Deutscher
* Add some comments to Player::CanStoreItems to help me wrap my head around how the method works. * Experimental fix for incoming trade-stack problem. * Only add to stacks that aren't already full. * Use remaining_count instead of static 1. * Remove debug logging from exploration. * More uses of remaining_count for consistency. * Correct space count check * Correct overflow problem. * Remove redundant check, handled in existing for statement. * Store Item pointers in order to be able to merge in multiple incoming stacks. * Build fix - was continually working locally, but failing in CI. * Break build in order to keep PR focused on Player.cpp changes. * Adjust phrasing of how arrays are initialized. * Fix phrasing of comments to avoid sounding like a ToDo item * In the spirit of b649273d5f, rephrase an old comment to be a statement rather than a question. (cherry picked from commit e11a13c755fcc7912d54bd4732795e1d992aab0c)
2022-01-01Scripts/Ulduar: Little improvements in AuriayaKeader
* Removed DespawnAtEvade * Fix Feral Defender Damage (cherry picked from commit 77dd751499a92eb06b66eadd00bbc71da07e62be)
2022-01-01Scripts/Trial of Crusader: Fixed issue with Snobold Vassal and some achiev ↵Keader
criteria resets * Fixed snobold behavior when gormok dies * Fixed UPPER_BACK_PAIN Archiev reset * Fixed THREE_SIXTY_PAIN_SPIKE Archiev reset (cherry picked from commit 78dff46bf25a6e7e1f68c227278d7ff6f768cf9a)
2022-01-01Scripts/Quest: The Exorcism of Colonel Jules (#24459)Gildor
* Remove Anchorite Barada gossip when event start (cherry picked from commit 8a5b02be0a678ff4a9c589e3da05e96103f819fc)
2022-01-01Core/PacketIO: updated SMSG_DURABILITY_DAMAGE_DEATH (#24442)ForesterDev
- use RATE_DURABILITY_LOSS_ON_DEATH for death from falling - add note, that RATE_DURABILITY_LOSS_ON_DEATH doesn't change log message (cherry picked from commit a1831e0c1e9329352732f01f4ae8a6b85a89a496) Co-authored-by: MitchesD <majklprofik@seznam.cz> (cherry picked from commit e1a8ebc064a2e30b4f1d0d129f034ff64368bedc)
2022-01-01Core/Gameobjects: Improve stealth detection (#24417)Gildor
* Core/Gameobjects: Improve stealth detection * fix warning: private field 'i_funit' is not used * Code cleanup * add comment Co-authored-by: jackpoz <giacomopoz@gmail.com> (cherry picked from commit 862097a63351e957fd4aa6cb82fe7d9edf4d3926)
2022-01-01Improvements to Pyroguard Emberseer (UBRS) script (#24405)Sven
* UBRS: Improve Pyroguard Emberseer script * Remove whitespaces * More whitespaces removed * Addressing change requests Removed cast from constructor Removing unused member field * That should be the last white spaces * Forgot to remove the declaration * Update boss_pyroguard_emberseer.cpp * Add break to For loop * War on white spaces Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit c3037c35639a547fca6be02ad1a0a2ed4c1c5fe9)
2022-01-01Core/PacketIO: updated SMSG_FEATURE_SYSTEM_STATUS (#24403)ForesterDev
* Core/Packets: updated SMSG_FEATURE_SYSTEM_STATUS (cherry picked from commit 231207970bf9c28971def453d2622aa17fe36b43) * Define complaint status values and replace magic numbers * Add missing header Co-authored-by: joschiwald <joschiwald.trinity@gmail.com> (cherry picked from commit bfd73e7f47ec670308f72cbd0dbc42ef80cd7e92)
2022-01-01Scripts/Pets: Mojo (#24431)Sorikoff
* Mojo * Update * Rename 9999_99_99_99_world.sql to 2020_04_11_01_world.sql Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit 194691f7c3992fbea13227a190007f05451d742a)
2022-01-01Core/Pools: Fix crash on startupjackpoz
(cherry picked from commit 9cde3ffd1404e784406f385061f4df0f6b429b61)
2022-01-01Core/Pooling: Remove respawn times from the database when despawning a pool ↵Giacomo Pozzoni
(#24422) * Core/Pooling: Remove respawn times from the database when despawning a pool Remove respawn times from the database when despawning a pool. This is needed when a Game Event ends but there are still some respawn times saved in the database. * Remove respawn time of active pool objects even if they are not spawned (cherry picked from commit 4f33fd3932d362466ee017111895bf14fcc79c88)
2022-01-01Creature: Gorkun Ironskull & Martin Victus in The Pit of SaronKillyana
Still some events are missing in this instance (cherry picked from commit d0f9ace67970f51bd1e9fb153a0844555f2b1ca2)
2022-01-01Scripts/Eye of Eternity: Fixed The Focusing Iris not respawning on wipeShauren
Closes #22948 (cherry picked from commit f57b1e27d062286553b8dd3199ce118eb99ac270)
2022-01-01Core/Spells: Fixed checking free inventory space for some spells that have ↵Shauren
bad dbc data Closes #24423 (cherry picked from commit 18b36734f6ac235dbb7a37ba46d1c8d09d8171ab)
2022-01-01Core/SAI: Allow SMART_TARGET_ACTION_INVOKER to target GameObjects (#24416)Giacomo Pozzoni
* Core/SAI: Allow SMART_TARGET_ACTION_INVOKER to target GameObjects * Include new Coalesce(..) template by @Shauren (cherry picked from commit 90b00288c24dfefccb338bd33b025cf85e82076d)
2022-01-01Core/Log: Log all character kicks to "network.kick" categoryjackpoz
(cherry picked from commit 31018c36527755166d8a297ac9e6c98a66f014ae)
2022-01-01Core/NetworkIO: Adjust more packet throttling valuesjackpoz
Thanks @Nefertumm at https://github.com/azerothcore/azerothcore-wotlk/commit/f5e38a7f5797dc04b2fd5a6710aabd9780751339 for the heads-up (cherry picked from commit 68fcd592f8c164d1720fda147d37960362194306)
2022-01-01Core/Movement: Add safety check to avoid C++ undefined behaviourjackpoz
(cherry picked from commit 67f28adaf738ebf1377d06adac2fa30033928dd6)
2022-01-01Core/Objects: cache current liquid status of objects when updating position ↵Ovah
data and use it to replace unnecessary vmap lookups (#24399) * dropped unneeded IsUnderwater override for players since the default position data update considers collision height already so we don't have to rely on that tempfix anymore. This actually fixes breathing bars showing up depending on your characters size (gnomes get their breathing bar earlier, taurens later etc) (cherry picked from commit bea850fb73c6c3b3cc4e51bd3a42d178947882a5)