Commit Graph
36066 Commits
Author SHA1 Message Date
Carbenium 70e84c3e48 CMake: Use target_precompile_headers instead of cotire with CMake >= 3.16.0
# Conflicts:
#	cmake/macros/FindPCHSupport.cmake
2020-06-16 10:53:42 +02:00
Carbenium f6c07113b9 CMake: Remove guards around CMP0043 and CMP0054
We require CMake >= 3.8 which includes the policies.
CMP0043 OLD behaviour is still required by cotire.
2020-06-16 10:52:22 +02:00
jackpoz 79c707e6ec Build/CMake: Increase minimum version to 3.8
(cherry picked from commit 965ac6fb08623b13c2486f9d09967dd00f3d396f)

# Conflicts:
#	CMakeLists.txt
2020-06-16 10:51:56 +02:00
Giacomo Pozzoni 29a987b81b Build/CMake: Set some policies to NEW (#23779)
* Build/CMake: Set CMP0005 to NEW

See https://cmake.org/cmake/help/v3.2/policy/CMP0005.html

* Build/CMake: Set CMP0043 to NEW

See https://cmake.org/cmake/help/v3.2/policy/CMP0043.html

* Build/CMake: Set CMP0074 to NEW

See https://cmake.org/cmake/help/v3.12/policy/CMP0074.html

(cherry picked from commit 18cc36bc67023dc9ca58e77733c2b8c74655cf86)
2020-06-16 10:51:06 +02:00
Ovahlord 7521c2ebfa DB/ScarletEnclave: ported commit bbb308f62824bcc2415b64c9a434d1a51b4142f4 and fixed some quest ender and movement template data 2020-06-15 04:47:28 +02:00
Ovahlord 3f6455d9bb Core/SAI: implement SMART_ACTION_ATTACK_STOP
Unlike SMART_ACTION_AUTO_ATTACK, this action is actually stopping the entire attack procedure, rather than just hack-disabling auto-attacks. Keep in mind that this action requires a passive react state to prevent a immediate AttackStart ai reaction
2020-06-15 04:46:10 +02:00
Ghaster d71bc0c0a8 Tools/mmaps_generator: Fixed brackets (#125) 2020-06-14 17:22:45 +02:00
Ovahlord 0debb33df0 Scripts: fixed nopch build 2020-06-14 00:58:10 +02:00
Ovahlord 893b80d0c4 Scripts/ScarletEnclave: ported several fixes from 335 2020-06-14 00:40:59 +02:00
funjoker adf9e6a004 Core/Misc: Make Clang 10 happier 2020-06-11 21:55:01 +02:00
funjoker 187d537fba Core/Misc: (try) Make Clang 10 happy 2020-06-11 21:12:34 +02:00
jackpoz 3f56ea8ba4 Core/Misc: Fix Clang 10 build warnings
(cherry picked from commit 48c5c0d7a2424df73343df127d415ee18eb84296)
2020-06-11 20:49:30 +02:00
funjoker a70b9d3be8 Misc: Fix nopch build 2020-06-11 20:34:03 +02:00
Giacomo Pozzoni 9fdf598792 Cherry-pick some cmake commits (#24720)
* Build system: Support  new in cmake 3.17 Ninja Multi-Config generator

(cherry picked from commit 369b618d4f160816818681ed7e41063e2d9ba5b5)

* Build system: Fixed PCH with MSVC & Ninja generator

(cherry picked from commit d669f46b6d5190dabc686a35656e8b03f5ec325b)

* Core: Fix clang 10 warnings

(cherry picked from commit 7272508cb4b51ec5591b6f0e542ea29091db7546)

* Build system: Set -Wno-deprecated-copy only for clang 10

(cherry picked from commit 7fdeb259ba398d5d9343a5dcd1a89562dfcbe981)

* Core/Misc: GCC build and warning fixes

(cherry picked from commit 4d69cc1c567180b408ddbadb9edf26859cf4c006)

* Build system: Print found git version when warning about it being too old

(cherry picked from commit 1ae72db201189877c1b863fac140eb4b0a45c5bb)

* Build system: Removed hard requirement on BOOST_ROOT being set as environment variable, it can now be also passed as command line argument to cmake and fix compile warning with boost 1.73

(cherry picked from commit 161944b7643c62f9e7705c64e42d42e5d07f1959)

* Remove some code that was already removed from 335 and then cherry-picked into master

Co-authored-by: Shauren <shauren.trinity@gmail.com>
(cherry picked from commit 8c09b6e58b0e4f33b7a8e376a28709e693cf2914)
2020-06-11 20:24:00 +02:00
jackpoz 928abcbfdc CI/CircleCI: Switch to Ubuntu 20.04 and MySQL 8
(cherry picked from commit e3dfab52a639275ea130d279f4a6fe4312d34b06)
2020-06-11 16:52:57 +02:00
jackpoz 364d3fa0aa CI/Circle CI: Enforce codestyle checks
(cherry picked from commit 32c9f1c7a228db33110ab0ab5975ba37cba85106)
2020-06-11 16:50:33 +02:00
funjoker 5a2dd995a2 CI/Circle CI: Prevent conflict with diff branches (#24388)
(cherry picked from commit 1794338532be2e76c0d39c81f94788b8269e602f)
2020-06-11 16:49:45 +02:00
Shauren 40f80fc0ed Core/Maps: Improvements to terrain swap handling
* Fixed memory leak when unloading grids
* Handle child maps being entered
* Allow chaining more child maps (Draenor -> Tanaan Jungle -> Tanaan Jungle - No Hubs Phase)
2020-06-11 01:35:27 +02:00
Shauren 8adca7637b Build system: Removed hard requirement on BOOST_ROOT being set as environment variable, it can now be also passed as command line argument to cmake and fix compile warning with boost 1.73 2020-06-11 00:36:53 +02:00
Shauren 8e65367d0c Build system: Print found git version when warning about it being too old 2020-06-11 00:36:41 +02:00
Ovahlord 8a7d723e11 Scripts: fixed nopch build 2020-06-08 08:29:59 +02:00
Ovahlord dae1dab09d Scripts/BH: rewrite Alizabal encounter 2020-06-08 08:24:11 +02:00
Ovahlord 9a3a7592b0 Scripts/BH: converted Argaloth's AI scripts to modern register ai model 2020-06-08 05:23:15 +02:00
Ovahlord c663e8a138 Scripts/BoT: fixed an issue that was causing Arion to increasingly cast Thunderstorm the longer the encounter lasts 2020-06-05 21:45:26 +02:00
Warpten 0af44ccc01 Core/Spells: implement DoT clipping
* Core/Spells: Implementation of DoT clipping.
* Core/Utilities: Backport "EnumFlags v3.0" from master.
* Core/Spells: Switch AURA_REMOVE_MODE to a flag set.
2020-06-04 18:16:03 +02:00
Ovahlord 6498452dd1 DB/VP: replaced pathings with proper ones as the old ones consisted of spline points instead of actual waypoints 2020-06-04 03:18:57 +02:00
Ovahlord b8d53951b5 Scripts/VP: rewrite Lurking Tempest mechanics and fixed all scenarios in which players could get stuck in combat with the tempests 2020-06-04 01:52:03 +02:00
Ovah 227427e8a1 Core/Players: update mount capabilities on player login to avoid orphaned mount speed auras 2020-06-03 22:19:56 +02:00
Warpten 5cb747620a Core/Movement: Fixed Animation Tier handling (#113) 2020-06-03 00:49:18 +02:00
Ovahlord 38f2238293 Core/Spells: removed deprecated 500ms cast time delay for spells with attribute SPELL_ATTR0_REQ_AMMO 2020-06-03 00:20:19 +02:00
Warpten 3994e2a183 Core/Errors: Fix a bad formatting call. (#115) 2020-06-02 20:01:30 +02:00
Ovahlord 062667df95 Database: fixed prepared statement fields for reloading creature_template 2020-06-02 20:00:03 +02:00
Ovahlord 8a4dd6ce04 Scripts/Misc: corrected movement template data for Battered Red Drakes in preparation for anim tier handlings 2020-06-02 19:35:10 +02:00
Warpten 21305d696c Scripts/BWD: converted Onyxia's chain data to a simple array instead of using a vector 2020-06-01 22:31:42 +02:00
Ovahlord f0f92d555f Scripts/GB: corrected Valiona's landing speed and prevent Valiona and Drahga from dying before meeting expected requirements 2020-06-01 22:14:57 +02:00
Ovahlord 3271e07783 Scripts/BoT: corrected landing speed for Theralion and Valiona 2020-06-01 22:04:06 +02:00
Ovahlord 5d125e3c80 Scripts/BWD: corrected Atramedes' phase two landing velocity 2020-06-01 21:48:54 +02:00
Ovahlord 53060a39f5 Core/Movement: implement optional velocity argument to MoveLand motion master helper 2020-06-01 21:48:30 +02:00
Ovahlord 90d0167ace Scripts/BWD: linked a missing movement call that's suposed to trigger before Nefarian lands for phase three 2020-06-01 21:28:21 +02:00
Ovahlord db8e0cf13a Database: updated DB updater database download link to spare Aokromes from madness 2020-06-01 16:06:47 +02:00
Ovahlord 655bcaeecd Scripts/Commands: gameobjects spawned via .gameobject add command will now spawn with the orientation of the spawning player instead of always using the default QuaternionData values
closes #101
2020-06-01 15:18:18 +02:00
Ovahlord f1bd380b20 Core/Players: update mount capabilties when the liquid status of players change
* simplified checks for liquid restrictions in mount capability helper
* handle missing case for liquid exclusive mounts
* update position data on character login to avoid some edge case outdoors checks

closes #95
2020-06-01 15:10:13 +02:00
Ovahlord 91c0f13f77 Core/Packets: corrected another packet structure part in attacker state update packet to match structure of packet parser 2020-05-23 21:00:37 +02:00
Ovahlord 1e93b90397 Core/Packets: removed a part struct part from attacker state update packet that was added in 5.1 2020-05-23 20:58:58 +02:00
Killyana f8c49a1c06 DB/Spawns: added missing spawns to Ruins of Gilneas 2020-05-22 21:57:27 +02:00
funjoker b489411f94 DB/Release: Fix mistakes done by first ever automated TDB release 2020-05-19 04:11:36 +02:00
TDB Release e51f48c576 TDB 434.20051 - 2020/05/19 2020-05-19 01:46:14 +00:00
jackpoz c62ebf6e36 Core/Misc: Add console option to update databases only
Add "--update-databases-only" console argument to stop worldserver execution after having updated all databases (if specified in config file)

(cherry picked from commit 92bf5b1ba795303808c5f1b3bf82dd0204133ed8)
2020-05-19 00:49:24 +02:00
funjoker e428623f61 DB/Misc: Add path for old hotfixes 2020-05-19 00:37:45 +02:00
Ovahlord 55155d1295 Core/Creatures: cleaned up a duplicate movement flag check 2020-05-16 21:25:38 +02:00