Commit Graph
37249 Commits
Author SHA1 Message Date
Killyana 02ba0903ec DB/Creature: Fix wrong position for a Scion of Storm
Closes #24271

(cherry picked from commit a6a2311b15552fffcbd17c6b5515d1aaf34bd2c8)
2021-12-22 22:52:14 +01:00
Teppic1 69b2937b8c Add bash script for extracting client files (#24215)
* Add bash script for extracting client files

Simple bash script to automate extracting/copying client files on a Linux system.

It follows the instructions on the wiki but additionally copies camera files if found. It includes a few simple checks.

* Update extractor.sh

Client and server directories are now requested unless already set as environment variables.

* Fix client check

* Update contrib/extractor.sh

Clearer error

Co-Authored-By: Trond B. Krokli <[email protected]>

Co-authored-by: Trond B. Krokli <[email protected]>
(cherry picked from commit 1d78fb2cd45c43d9132019dfb4bea35cc5efc3bd)
2021-12-22 22:46:49 +01:00
Aokromes 5a789b3c43 DB/Creature: Fix Z coord for one creature
(someone used 2 3s instead 1)

(cherry picked from commit ab6b005c17e968f41932b48960010b5dd98ff458)
2021-12-22 22:38:58 +01:00
Killyana 74e70445b7 DB/Quest: Quest: Finding the Phylactery
Closes #24243

(cherry picked from commit 889b6caf931cbb96cb8c21edcddd87f6c98ba214)
2021-12-22 22:37:14 +01:00
jackpoz c75d75b9fa Core/AI: Fix charmed Creatures with SAI scripts not starting waypoint paths
(cherry picked from commit 49e77d7c9e4c39296536cd0b2d427d047e762f46)
2021-12-22 22:36:39 +01:00
Giacomo Pozzoni 7779a33142 Core/Combat: Improve sanctuary combat stop (#24266)
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-22 22:36:20 +01:00
Sorikoff 6dd74533d1 Scripts/Ebon Hold: Improve cosmetics for q. The Gift That Keeps On Giving (#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 <[email protected]>
(cherry picked from commit 41d80f2d43863588dc4516ee80579f965b07391b)
2021-12-22 22:36:06 +01:00
Kitzunu e442a2c52d DB/Quest: Teron Gorefiend quest chaining
Closes #23852

(cherry picked from commit 974ede899c40391d5101cf3dd67ba9dc8adebcc3)
2021-12-22 22:29:39 +01:00
Kitzunu d9f74c2e40 DB/Quest: Add Missing requirements for Down the Violet Path
Closes #23851

(cherry picked from commit b4bb3f9b8bdf00485388de0485a7d9658869f448)
2021-12-22 22:29:07 +01:00
Killyana ff5828cef2 DB/SAI: Skettis Surger
Closes #24265

(cherry picked from commit e602436a7c6f55524326b42c3235176d578aecd4)
2021-12-22 22:02:48 +01:00
Killyana b8c1b94bff DB: The Schools of Arcane Magic - Mastery retrieving
Closes #24259

(cherry picked from commit 58f3e72f96004bb620fddfdc076f6cfe7fde67cf)
2021-12-22 22:01:02 +01:00
Killyana fdae04b88b DB/Quest: Add light and weather change to Lightning Definitely Strikes Twice & All Is Well That Ends Well
Closes #24241
Fix also timers, wrong target for the first text and add a missing spell

(cherry picked from commit ff40502fcb6007d082bd14a2bfb52da4c547b0fb)
2021-12-22 21:59:56 +01:00
Shauren e8d1f37ee0 Core/Maps: Citizens of Dalaran! Raise your eyes to the skies and observe! Any non-map-default light can now be overriden!
Closes #24250

(cherry picked from commit e10313b380c84dafde462bdb116827f2b8be1851)
2021-12-22 21:51:33 +01:00
natnat201193 bab4e668b8 DB: Remove a Telhamat Protector wrong spawn
Ref #24255

(cherry picked from commit 94147f24bf24db6a1741208a734facedd7f9c1f8)
2021-12-22 21:46:55 +01:00
Shauren 29aef603ef Core/SAI: Allow resetting light overrides with SMART_ACTION_OVERRIDE_LIGHT
(cherry picked from commit c5226aec41ce1430b53cc5b4073dff644fe37dac)
2021-12-22 21:46:04 +01:00
Giacomo Pozzoni 1529fe1064 Core/Database: Fix build with Maria DB on some distros (#24248)
(cherry picked from commit 0752584856b0d9c2a1a5b179cf90d3bc765fa2c1)
2021-12-22 21:45:46 +01:00
Killyana 05100dc90e DB/Quest: Add taxi spell to the quest High Commander Halford Wyrmbane
Closes #24244

(cherry picked from commit 6bbc9da2c7bfb4ecadd35b2ebb42b6dadd25e559)
2021-12-22 21:44:50 +01:00
Giacomo Pozzoni 6770987d6f Core/Objects: MovePositonToFirstCollision will now use detour raycasts to 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 <[email protected]>
(cherry picked from commit d1080af8db63c78986a7fcc94fcfb2fdfe817734)
2021-12-22 21:44:01 +01:00
jackpoz d89671dd59 Core/PathFinding: Fix mmaps raycast without hit
Update Z coordinate of end position when casting a mmap raycast that doesn't hit the target

(cherry picked from commit 16ccc17621313e5c954f26ad23b15392fe06e763)
2021-12-22 21:41:53 +01:00
Killyana 207d8ac354 DB/Quest: New Recruit
Closes #22330

(cherry picked from commit 4c44816955b76086e0e1efe5e371fdf67333caca)
2021-12-22 21:40:30 +01:00
Shauren cecb36bd68 Core/DBLayer: Use std::variant's stored type instead of relying on our own separate enum for prepared statement parameters
(cherry picked from commit 30482038559d65648d9bcfa29cd426a6f266eeba)
2021-12-22 21:39:35 +01:00
jackpoz dab7e5688c Core/AI: Fix remaining charming issue
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-22 21:00:14 +01:00
Giacomo Pozzoni 93e66f3f3e Core/AI: Allow creatures to evade (#24221)
* 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-22 21:00:05 +01:00
Shauren ce9c7b477c Core/DBLayer: Refactor PreparedStatement class to not depend on MySQLPreparedStatement
(cherry picked from commit 5b0a32d164ba91207360d8b8a266b69dd0db9869)
2021-12-22 20:59:50 +01:00
daMaex 31efaaac40 Core: build on aarch64 with gcc (#24216)
* build on aarch64 with gcc

* Core/aarch64: readability on preprocessor macro

* Core/aarch64: TC C++ codestyle adjustment

(cherry picked from commit ce449f6b5332ab466d935de0077bccfdde716d1b)
2021-12-22 20:50:53 +01:00
NoName 8ec51bf3b6 Core/Spell: Proper SPELL_EFFECT_PULL_TOWARDS_DEST implementation for players (#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-22 20:50:33 +01:00
jackpoz 8fdeaa2797 Core/Misc: Fix build
(cherry picked from commit 9ba4694ff29a9b782625fb88a528675f2d6a115c)
2021-12-22 20:46:35 +01:00
Giacomo Pozzoni 144cfc2bce Core/AI: Make charmed creatures follow their owner (#24195)
* 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-22 20:46:17 +01:00
Killyana 478be1f7ea DB/Quest: Anguish of Nifflevar
Add missing lines and equipments

(cherry picked from commit 94186a5e79d5d3fe29ac80245992af6365999a93)
2021-12-22 20:46:04 +01:00
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