aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-12-23Spell/Script: Spawn Blood PoolRushor
Closes #23878 (cherry picked from commit 3ddc6e70df0401a0677bef536e6b0e46e3dbf9e9)
2021-12-23Spell: Emerald Drake, Dream FunnelRushor
Closes #24219 (cherry picked from commit 5e6f55381a322d2306d814ae42ebeda92c447376)
2021-12-22Core/PacketIO: update some combat packets to new system (#24236)ForesterDev
(cherry picked from commit af6d207addfef177fb5ac3e7fa61ec93ced83d16)
2021-12-22Core/Scripts: Show a message when aborting because two scripts have the same ↵jackpoz
registered name (cherry picked from commit 96df3b7adb02f763aaaa6138922bd032a75a9b9e)
2021-12-22Core/Common: Allow to show a message when abortingjackpoz
Add a new ABORT_MSG macro that allows to show a formatted message before stopping the executable (cherry picked from commit 0ddee8a4a03fb5c7ee8d18144ca21cd2baad6f01)
2021-12-22Core/AI: Fix charmed Creatures with SAI scripts not starting waypoint pathsjackpoz
(cherry picked from commit 49e77d7c9e4c39296536cd0b2d427d047e762f46)
2021-12-22Core/Combat: Improve sanctuary combat stop (#24266)Giacomo Pozzoni
Stop combat when a Player moves to a Sanctuary area only if there is any PvP combat (it would be nice to keep PvE combat but that's still an issue) (cherry picked from commit c7974bdf909ceb34821fa3953ef4cb090282fcdf)
2021-12-22Scripts/Ebon Hold: Improve cosmetics for q. The Gift That Keeps On Giving ↵Sorikoff
(#24223) * Scripts/Ebon Hold: Improve cosmetics for q. The Gift That Keeps On Giving * Improve cosmetics for q. The Gift That Keeps On Giving * Fixes * Fix * Rename 9999_99_99_99_world.sql to 2020_03_07_03_world.sql Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit 41d80f2d43863588dc4516ee80579f965b07391b)
2021-12-22Core/Maps: Citizens of Dalaran! Raise your eyes to the skies and observe! ↵Shauren
Any non-map-default light can now be overriden! Closes #24250 (cherry picked from commit e10313b380c84dafde462bdb116827f2b8be1851)
2021-12-22Core/SAI: Allow resetting light overrides with SMART_ACTION_OVERRIDE_LIGHTShauren
(cherry picked from commit c5226aec41ce1430b53cc5b4073dff644fe37dac)
2021-12-22Core/Database: Fix build with Maria DB on some distros (#24248)Giacomo Pozzoni
(cherry picked from commit 0752584856b0d9c2a1a5b179cf90d3bc765fa2c1)
2021-12-22Core/Objects: MovePositonToFirstCollision will now use detour raycasts to ↵Giacomo Pozzoni
determine terrain obstacles (#24232) * Core/Objects: MovePositonToFirstCollision will now use detour raycasts to determine terrain obstacles * Added missing includes * Update Object.cpp Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit d1080af8db63c78986a7fcc94fcfb2fdfe817734)
2021-12-22Core/PathFinding: Fix mmaps raycast without hitjackpoz
Update Z coordinate of end position when casting a mmap raycast that doesn't hit the target (cherry picked from commit 16ccc17621313e5c954f26ad23b15392fe06e763)
2021-12-22Core/DBLayer: Use std::variant's stored type instead of relying on our own ↵Shauren
separate enum for prepared statement parameters (cherry picked from commit 30482038559d65648d9bcfa29cd426a6f266eeba)
2021-12-22Core/AI: Fix remaining charming issuejackpoz
Make creatures evade when a charming expires and they cannot attack the charmer (i.e. charmer with .gm on) (cherry picked from commit 69809d12031d055d8d0cffb5a187d9af09dd0efe)
2021-12-22Core/AI: Allow creatures to evade (#24221)Giacomo Pozzoni
* Core/AI: Allow creatures to evade Revert changes that didn't allow creatures to evade anymore no matter how hard a script would try * PArtially revert 163f44c1b08cc043b114585922bd08664434bf92 (cherry picked from commit 817ae5bca6db14c9b3db7d5268511525e0cb4105)
2021-12-22Core/DBLayer: Refactor PreparedStatement class to not depend on ↵Shauren
MySQLPreparedStatement (cherry picked from commit 5b0a32d164ba91207360d8b8a266b69dd0db9869)
2021-12-22Core: build on aarch64 with gcc (#24216)daMaex
* build on aarch64 with gcc * Core/aarch64: readability on preprocessor macro * Core/aarch64: TC C++ codestyle adjustment (cherry picked from commit ce449f6b5332ab466d935de0077bccfdde716d1b)
2021-12-22Core/Spell: Proper SPELL_EFFECT_PULL_TOWARDS_DEST implementation for players ↵NoName
(#24178) * Core/Spell: Proper SPELL_EFFECT_PULL_TOWARDS_DEST implementation for players Closes ##23203 and also reverts 9a1282a thnx to xvwyh * Make it optional (cherry picked from commit 6067a996324dc4e36a414257e6abf7f9dfdfa934)
2021-12-22Core/Misc: Fix buildjackpoz
(cherry picked from commit 9ba4694ff29a9b782625fb88a528675f2d6a115c)
2021-12-22Core/AI: Make charmed creatures follow their owner (#24195)Giacomo Pozzoni
* Core/AI: Make charmed creatures follow their owner * Follow the charmer only when applying the charm * Make SmartAI follow the charmer (cherry picked from commit ddf2f60c1317f0ce728d5894064f51251cf71c72)
2021-12-22Replace MySQL prepared statement union with std::variant (#24158)Ujp8LfXBJ6wCPR
(cherry picked from commit 3ebcb71c3dc80e0bea9a36207401a033712bda88)
2021-12-22Modernize codebase with Clang-Tidy range based loops (#24165)Ujp8LfXBJ6wCPR
Manual expansion of auto types into "typed types" (cherry picked from commit a933ba60151f478c7bae23dddbba315a448ffe3e)
2021-12-22Part1: Modernize codebase with Clang-Tidy range based loops (#24164)Ujp8LfXBJ6wCPR
(cherry picked from commit fb75a958f02695f166481033203869940d98b537)
2021-12-22Scripts/Ebon Hold: Bloody Breakout (#24126)Sorikoff
* Scripts/Ebon Hold: Bloody Breakout * Scripts/Ebon Hold: Bloody Breakout (part 2) * Improvements * Fail quest * Spacing * Update 9999_99_99_99_world.sql * Update 9999_99_99_99_world.sql * Rename 9999_99_99_99_world.sql to 2020_02_28_04_world.sql Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit 2b14b720da2bc38c84f373cb3ff4bcc24c1ddcf0)
2021-12-22Core/PathFinding: Add support to WorldObject pathfinding (#24207)Giacomo Pozzoni
* Core/PathFinding: Add support to WorldObject pathfinding * Handle Unit* specific code * Fix some wrong const * Fix no-pch build (cherry picked from commit c0676a48f70923994e00629d775f4bfef1007155)
2021-12-22Core/PathFinding: Return raycast hitpoint when specifying straightLine (#24206)Giacomo Pozzoni
(cherry picked from commit 6443e518cfa110434617c26f949b6783fe4d10d3)
2021-12-22Core/PacketIO: Port refactors from f6e6baa2932788b17169ba103b62a6f66ee7290a ↵ForesterDev
(#24200) (cherry picked from commit f6e6baa2932788b17169ba103b62a6f66ee7290a)
2021-12-22Core/Server: improve timestamp format output for large time values (#24193)ForesterDev
(cherry picked from commit 71a01c75caa767c3323e295a596fe430dc8c7fb2)
2021-12-22Core/DynamicInfo: rename some parameters according packet definitions (#24192)ForesterDev
(cherry picked from commit 5cfce94619cc02cc04bb25ccdd2e1b98e53d9160)
2021-12-22Core/Units: UNIT_FLAG_PACIFIED will no longer block victim updates (#24190)Ovah
* Core/Units: UNIT_FLAG_PACIFIED will no longer block victim updates * pacified units should only have their melee attacks blocked as counterpart to silence mechanics * Core/Spells: removed unnecessary attack stop call from pacify aura effect handler (cherry picked from commit 6cbfda2fcecdda980b60b359018e520f1daeaf3a)
2021-12-22Scripts/Gameobject: Move Orb of Command script to SAI. (#24189)Rushor
* Scripts/Gameobject: Move Orb of Command script to SAI. * Scripts/Gameobject: Move Orb of Command script to SAI. * Rename 2020_12_23_00_world.sql to 2020_02_28_03_world.sql Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit 0583445c05f92baf3ceb07aa842acb1d47804912)
2021-12-22Core/Movement: Implement MoveSplineFlag::Enter_Cycle (#24049)NoName
by xvwyh (cherry picked from commit 40542f01e3fec0bff2c6e5eadbe20e58f19b0fd8)
2021-12-22Tools/MMaps: Fix strange paths in Blackfathom Deepsjackpoz
Increase the agent height by x2 to reduce the chance of having underground mmap layers wrongly picked by recast. (cherry picked from commit 3b0a89a2ea76157156c03262bc86f024a1d4ca57)
2021-12-22Core: Build on ARM64 - Raspberry Pi (preferable 4) (#23885)daMaex
* build again on aarch64 * include mm_malloc header instead of defining self (cherry picked from commit cbe765df7a75f61941583ab95ecaa153e198d3de)
2021-12-22Core/Movement: Add support to cyclic splines to GenericMovementGeneratorjackpoz
GenericMovementGenerator sets the _duration to the return value of spline.Launch(). For cyclic splines, this is the duration of 1 single cycle, while the spline itself never ends. To support this edge case in GenericMovementGenerator we just never update the _duration timer for cyclic splines. (cherry picked from commit 7a57029d8fd46c0966eb32b17019291785e61f37)
2021-12-22Core/Server: correct timestamp format for shutdown/restart notification ↵ForesterDev
broadcasts (#24181) * Core/SmartScripts: implement SMART_ACTION_OVERRIDE_LIGHT and SMART_ACTION_OVERRIDE_WEATHER * Core/Server: correct timestamp format for shutdown/restart notification broadcasts * remove unexpected changes * move enum from Common to Util * Use enum class instead of enum * Fix width for seconds 0 to 9 (cherry picked from commit 69231581e4f2d78384d3efe6f613be1b78e9d40f)
2021-12-22Core/SmartAI: implement SMART_ACTION_OVERRIDE_LIGHT and ↵ForesterDev
SMART_ACTION_OVERRIDE_WEATHER (#24146) * Core\SmartAI: implement SMART_ACTION_OVERRIDE_LIGHT and SMART_ACTION_OVERRIDE_WEATHER * Change the invoker of action to any worldobject * Revert "Change the invoker of action to any worldobject" This reverts commit 2e15f7258553b7057c3e8f67c54efc77fb6d75b8. * Add dbc-validations for new actions * Use GetBaseObject() instead of Creature* for new actions. Add debug-logging (cherry picked from commit c65ba35269a68c94c3e423f78fa1585f9d89dd04)
2021-12-22Scripts/Ebon Hold: Massacre At Light's Point (#24106)Sorikoff
* Scripts/Ebon Hold: Massacre At Light's Point * Update 9999_99_99_99_world.sql * Final stuff * Rename 9999_99_99_99_world.sql to 2020_02_22_00_world.sql Co-authored-by: Eridium <6587064+Killyana@users.noreply.github.com> Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit 0f265b4af6c8c63539deaf781b742a743627206d)
2021-12-21Core/GameObject: Fix wrong calculation of the spellfous distanceKillyana
Closes #24177 (cherry picked from commit 828987a46a55ddae59f61dc336d243cd1934a4fe)
2021-12-21Core/SAI: SMART_ACTION_PAUSE_MOVEMENTOvahlord
Closes #22346 (cherry picked from commit 6f31784979569c1a9ae3ee3f70416f5e11d3e7f0)
2021-12-21DB/Quest: Reconnaissance Flightdr-j
Closes #23792 (cherry picked from commit 92ac6ca0fee08d22fb6d49adb231250920d2043a)
2021-12-21[WIP] Core/AI: Pets musn't attack civilian NPC in aggressive mode (#24121)Sorikoff
* Core/AI: Pets musn't attack civilian NPC in aggressive mode * Move decision to ignore civilians to PetAI, keeping the check in GridNotifiers Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit 5f20715e2f38a6eb721f443df9e13c84ecb11fbb)
2021-12-21Core/Creature: Use proper name for wander distance. (#24133)ratkosrb
* Use proper name for wander distance. * Rename db field. * Fix query. * Remove underscore from chat command. * Rename the handler too. * Update chat command description. * Fix remaining issues. * Rename 2020_99_99_99_world_335.sql to 2020_02_16_01_world.sql Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit 6176ce92ea01fd33b11c2e7f8e9ebb509e80c944) # Conflicts: # sql/updates/world/master/2020_02_16_01_world.sql # src/server/database/Database/Implementation/WorldDatabase.cpp # src/server/game/Entities/Creature/Creature.cpp # src/server/game/Globals/ObjectMgr.cpp # src/server/game/Globals/ObjectMgr.h # src/server/scripts/Commands/cs_npc.cpp
2021-12-21Scripts/World: Hourly Bell sound, further improvements (#24147)schell244
* Improvements for hourly bell sound * TC codestyle * added missing breaks and improve codestyle (cherry picked from commit baa87c43bae9df507427b3fe2d86ba25f059fdef)
2021-12-21Core/Misc: Resolve c++17 TODOs left in code as commentsShauren
2021-12-21Remove dependency on undefined behaviour (#24159)Ujp8LfXBJ6wCPR
See https://stackoverflow.com/a/4328396 Previous method works but is technically illegal. (cherry picked from commit b089ed3b7578029ec1d35537372a2b8b923c7ec6)
2021-12-21Scripts/Gameobject: Journal of Jandice Barov- Convert script to SAI. (#24157)Rushor
* Scripts/Gameobject: Journal of Jandice Barov- Convert script to SAI. (Thanks to Sunwell) * Scripts/Gameobject: Journal of Jandice Barov - Update script and move go spawn to bossscript * Update boss_jandice_barov.cpp Co-authored-by: Eridium <6587064+Killyana@users.noreply.github.com> (cherry picked from commit f0bf447cd14315f1fe0bdab7d051691113525762)
2021-12-21Scripts/Gameobject: Remove deprecated script for Cat Figurine (#24150)Rushor
Scripts/Gameobject: Remove deprecated script for Cat Figurine (cherry picked from commit 596b2d1ed70205e6f68f626d7363f5c197f7c81d)
2021-12-21Core/Misc: Remove redundant null pointer checks before delete (#24140)Ujp8LfXBJ6wCPR
* Identified by clang-tidy readability-delete-null-pointer (cherry picked from commit 9264e5b6f0a03de7387c7ac6b27755b4ceee0426)