Commit Graph
39720 Commits
Author SHA1 Message Date
Killyana 94f43836ca DB/SAI: Improve cosmetic event for Valgarde Captive
(cherry picked from commit 16731bcae4c14b2d48ee969a9012fd4e32053f65)
2021-12-22 20:44:03 +01:00
dr-j 077b3e3bcb DB/Quest: Use Areatriggers to trigger events for The Echo of Ymiron & Anguish of Nifflevar
Closes #24210

(cherry picked from commit 1eff75412b791218a99c57ad97aebdc87a5cdf31)
2021-12-22 20:43:33 +01:00
Ujp8LfXBJ6wCPR f871f0098e Replace MySQL prepared statement union with std::variant (#24158)
(cherry picked from commit 3ebcb71c3dc80e0bea9a36207401a033712bda88)
2021-12-22 20:29:49 +01:00
Killyana e75750b867 DB/Quest: The Earthbinder
Closes #24211

(cherry picked from commit 1d7bdc0214fbfab6a64bb578d3ad867e88c4e815)
2021-12-22 20:25:01 +01:00
Ujp8LfXBJ6wCPR ee5384a15d Modernize codebase with Clang-Tidy range based loops (#24165)
Manual expansion of auto types into "typed types"

(cherry picked from commit a933ba60151f478c7bae23dddbba315a448ffe3e)
2021-12-22 16:42:54 +01:00
Ujp8LfXBJ6wCPR 43aa763d04 Part1: Modernize codebase with Clang-Tidy range based loops (#24164)
(cherry picked from commit fb75a958f02695f166481033203869940d98b537)
2021-12-22 15:48:01 +01:00
Sorikoff 32a9191406 Scripts/Ebon Hold: Bloody Breakout (#24126)
* 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 <[email protected]>
(cherry picked from commit 2b14b720da2bc38c84f373cb3ff4bcc24c1ddcf0)
2021-12-22 15:11:35 +01:00
Giacomo Pozzoni 3729c76523 Core/PathFinding: Add support to WorldObject pathfinding (#24207)
* 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-22 15:07:12 +01:00
Giacomo Pozzoni 313b9d2531 Core/PathFinding: Return raycast hitpoint when specifying straightLine (#24206)
(cherry picked from commit 6443e518cfa110434617c26f949b6783fe4d10d3)
2021-12-22 14:59:46 +01:00
ForesterDev aa4ee9278f Core/PacketIO: Port refactors from f6e6baa2932788b17169ba103b62a6f66ee7290a (#24200)
(cherry picked from commit f6e6baa2932788b17169ba103b62a6f66ee7290a)
2021-12-22 14:59:13 +01:00
ForesterDev 8c6974bc9f Core/Server: improve timestamp format output for large time values (#24193)
(cherry picked from commit 71a01c75caa767c3323e295a596fe430dc8c7fb2)
2021-12-22 14:55:23 +01:00
ForesterDev 5e178b30fa Core/DynamicInfo: rename some parameters according packet definitions (#24192)
(cherry picked from commit 5cfce94619cc02cc04bb25ccdd2e1b98e53d9160)
2021-12-22 14:54:59 +01:00
Ovah 8f4c6ebb49 Core/Units: UNIT_FLAG_PACIFIED will no longer block victim updates (#24190)
* 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-22 14:47:20 +01:00
Rushor 862b0ad651 Scripts/Gameobject: Move Orb of Command script to SAI. (#24189)
* 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 <[email protected]>
(cherry picked from commit 0583445c05f92baf3ceb07aa842acb1d47804912)
2021-12-22 14:40:38 +01:00
NoName 61f3d51143 Core/Movement: Implement MoveSplineFlag::Enter_Cycle (#24049)
by xvwyh

(cherry picked from commit 40542f01e3fec0bff2c6e5eadbe20e58f19b0fd8)
2021-12-22 14:33:58 +01:00
Killyana 94f7d2fb49 DB/GameObject: Protoype Console 65262/191761
Closes #22648

(cherry picked from commit 1a761aa8e7091b90a7449ac03d336693be675edd)
2021-12-22 13:32:12 +01:00
Killyana 4e3f9f96d5 DB/Conditions: Fix an error in the previous commit
(cherry picked from commit eebaa76c972c791ebcc437c7f9da3c2366960e3b)
2021-12-22 13:15:08 +01:00
Killyana cc1add2859 DB/Gossips: Fix Commoner's gossip texts for all game events
Ref #16129

(cherry picked from commit bdb50af29d60c1c61040e161bcd859bd1e4bc153)
2021-12-22 13:14:36 +01:00
Sorikoff 0682ac3221 DB/Creature: Remove wrong auras from Unworthy Initiate
Closes #24204

(cherry picked from commit 2b59159f6af636742dc5f418ac2a5aa25507a840)
2021-12-22 13:06:54 +01:00
jackpoz 2f30a9986c Tools/MMaps: Fix strange paths in Blackfathom Deeps
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-22 13:03:21 +01:00
Killyana 414edbc5f6 DB/Misc: Restore WDB data to some "Ice Stone" gobs
Wrong changes were made here https://github.com/TrinityCore/TrinityCore/blob/f7283d97660be93921fdabb58a9fc3a245ece6e2/sql/old/7/world/00_2017_04_18/2017_02_01_04_world_2016_06_22_03_world.sql

(cherry picked from commit 622e5fb31232b4963932d834a465c16217a8a6fe)
2021-12-22 13:02:48 +01:00
Killyana 6c0ded7102 DB/Quest: Totem of Tikti
Closes #24196

(cherry picked from commit ee55b16abc6021e47b6762d289c912c8229c404b)
2021-12-22 12:56:49 +01:00
daMaex 8181177aea Core: Build on ARM64 - Raspberry Pi (preferable 4) (#23885)
* build again on aarch64

* include mm_malloc header instead of defining self

(cherry picked from commit cbe765df7a75f61941583ab95ecaa153e198d3de)
2021-12-22 12:30:00 +01:00
Shauren 38bca4eeb6 Dep/G3D: Add more of our modifications as separate patches 2021-12-22 12:28:49 +01:00
jackpoz a5b4d0c539 Core/Movement: Add support to cyclic splines to GenericMovementGenerator
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-22 12:21:58 +01:00
Killyana 865be2bdfa DB/Creature: Remove useless script from Zeppelin Power Core
(cherry picked from commit 21175ba2ff06a2eb869a3054133111c0546de68f)
2021-12-22 12:21:34 +01:00
ForesterDev 69f7686050 Core/Server: correct timestamp format for shutdown/restart notification 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-22 01:25:24 +01:00
ForesterDev 1d08423725 Core/SmartAI: implement SMART_ACTION_OVERRIDE_LIGHT and 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-22 01:15:52 +01:00
Sorikoff f0f7cecc01 Scripts/Ebon Hold: Massacre At Light's Point (#24106)
* 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 <[email protected]>
Co-authored-by: Giacomo Pozzoni <[email protected]>
(cherry picked from commit 0f265b4af6c8c63539deaf781b742a743627206d)
2021-12-22 01:01:58 +01:00
Killyana fa6902cd28 DB/Creature: Remove dups and add some missing Ribbon Pole Debug Target
(cherry picked from commit ac6baa547376e09e4527706ee98f586957cea74a)
2021-12-22 00:59:32 +01:00
Killyana abd6d1e408 DB/Creature: Midsummer Celebrant
(cherry picked from commit ae7929f7524792897de4ad453685e8f9d7d0d610)
2021-12-22 00:54:55 +01:00
Killyana 05f30469cb DB/Creature: Fix some Midsummer Celebrant
(cherry picked from commit c18f68e3bf0f537d04bedc8c377700b3de359303)
2021-12-22 00:02:52 +01:00
Killyana 065573d582 DB/GameObject: Add animation to the Gift of the Harvesterv
(cherry picked from commit d0cfa243a9dac1e0972e520e41bdde53408c1839)
2021-12-21 23:59:49 +01:00
Killyana df48129270 DB/GameObject: Respawn Void Conduit Spell Focus to get a retail behavior
Related to the quest On Nethery Wings
Closes #6210

(cherry picked from commit b3de6afdac1ace43ffcf4afc5c9873328f6ca3de)
2021-12-21 23:58:45 +01:00
Killyana 2de20560fe Core/GameObject: Fix wrong calculation of the spellfous distance
Closes #24177

(cherry picked from commit 828987a46a55ddae59f61dc336d243cd1934a4fe)
2021-12-21 23:57:19 +01:00
Killyana 6d9500912c DB/SAI: Remove useless SAI
(cherry picked from commit c7b8bf98a91d9f4a6fc34ac3139e5c8288a6145e)
2021-12-21 23:56:13 +01:00
Ovahlord a90b9abbf0 Core/SAI: SMART_ACTION_PAUSE_MOVEMENT
Closes #22346

(cherry picked from commit 6f31784979569c1a9ae3ee3f70416f5e11d3e7f0)
2021-12-21 23:55:34 +01:00
Killyana 94034e1565 DB/GameObject: Fix flags for Serpentshrine Consoles
(cherry picked from commit 0364d6e4f100425445d1640efd8540b3e3c048c4)
2021-12-21 23:37:43 +01:00
Killyana efc4b8bd82 DB/GameObjects: Add missing gameobjects to Serpentshrine Cavern
(cherry picked from commit 5a1797d67de4ed9efc8183b9f211a3b6a21cb02f)
2021-12-21 23:30:48 +01:00
Killyana 3a157d33ef DB/GameObjects: Respawn Serpentshrine Cavern gameobjets properly
(cherry picked from commit b4ca87f333be6d82d2731a2becc30fdcad65fe3c)
2021-12-21 23:29:42 +01:00
Killyana 95a2d0c1b8 DB/Creature: Add some missing npc triggers
Hillsbrad Internment Lodge Quest Trigger & Thrall Quest Trigger & Blade Dance Target

(cherry picked from commit e97735efce00c5e9db1feffbaf82430909f3b9a7)
2021-12-21 23:28:25 +01:00
Killyana 4873050266 DB/Quest: Escape from Silverbrook
Closes #24167

(cherry picked from commit 19f8272180e308c095179d2c51895b8aefebe7d2)
2021-12-21 23:27:04 +01:00
dr-j cc1a6497e4 DB/Quest: Reconnaissance Flight
Closes #23792

(cherry picked from commit 92ac6ca0fee08d22fb6d49adb231250920d2043a)
2021-12-21 23:26:38 +01:00
Killyana 5ba033a4d9 DB/Misc: The Botanica
(cherry picked from commit c6caccc458ec229090b5f0f53d9e645021ae5fae)
2021-12-21 23:25:43 +01:00
Killyana 6ab859c3e4 DB/Creature: Ancient Draenei Spirit
(cherry picked from commit 465ddea76c6016d9744a98d6b5082fe78da6a668)
2021-12-21 23:24:40 +01:00
Killyana 4cf66edbd8 DB/Creature: Wildhammer Gryphon Rider
(cherry picked from commit e4d8e044a0c994e548adb3b674830d315b35333f)
2021-12-21 23:23:29 +01:00
Killyana 1870cd9221 DB/Creature: Pool of Souls
(cherry picked from commit 56a22ede9d0268e246be9c86866b0ec1755ef290)
2021-12-21 23:22:25 +01:00
Killyana 4a62996500 DB/Creature: Add some missing npc triggers to Hyjal
(cherry picked from commit 26762a243cf8705d450b7d4fd8a37fd9fcc25545)
2021-12-21 23:09:12 +01:00
Sorikoff 1e93210999 [WIP] Core/AI: Pets musn't attack civilian NPC in aggressive mode (#24121)
* 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 <[email protected]>
(cherry picked from commit 5f20715e2f38a6eb721f443df9e13c84ecb11fbb)
2021-12-21 23:06:20 +01:00
ratkosrb 72093e98e1 Core/Creature: Use proper name for wander distance. (#24133)
* 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 <[email protected]>
(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-21 19:50:12 +01:00