Commit Graph
179 Commits
Author SHA1 Message Date
Ovahlord 1998dc1287 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4
# Conflicts:
#	src/server/game/AI/SmartScripts/SmartScript.cpp
2018-05-17 12:44:55 +02:00
jackpoz 7df6a6bbcb Dep/Boost: Fix crash in Boost
Work around a NULL dereference exception happening in boost::asio::ip::tcp::resolver::results_type, resulting in a crash when trying to bind on an address that cannot be resolved.
Fixes #21884
2018-04-29 17:46:44 +02:00
Ovahlord f1c54a4529 Core/VMAPS: Fixed vmaps in single WMO instances like ragefire chasm (ported commit: 24d30dab84f93a200ad3acad6302327379f5031c)
* Fixed some models not always being spawned because they only appear in one tile file but are large enough to cross tile boundaries (lava in Firelands at Ragnaros place)
2018-04-27 22:55:21 +02:00
Ovahlord fbcb423f60 Tools: merged Master tools updates 2018-04-24 18:45:23 +02:00
Ovahlord 9c3f274491 Revert tools changes 2018-04-08 14:59:53 +02:00
Ovahlord 459bfdbddc Tools:
*ported master commits:
2c64bb97e6fddcbd15ef39fde3d0828bbf600ec6
a71d4b70ff8329878967652b131ce811ad699aa6
cfa948193c7fcdc8d2acacf7594fcb0a891516c3
2018-04-08 09:46:14 +02:00
Ovahlord 98a7ccfab5 Tools/Mapextractor: Implemented liquid object detection
* Core/Vmaps: reverted position and liquid data update function from 3.3.5 and restored master handling in order to fix conflicts between the new phasing and liquid object handlings
2018-03-29 21:41:58 +02:00
ariel- 4aecd176e7 Core/Tools: fix warning 2018-03-28 05:23:53 -03:00
ariel- 5ff847159c Core: header cleanup, split realmlist, boost compatibility, cotire, remove stormlib/zlib and stormlib/bzip2 and instead use dep sources 2018-03-28 04:41:59 -03:00
Aokromes e0f680131e Make travis happy, this time for real 2018-03-18 14:09:49 +01:00
Ovah 3de2e68245 Updated Phasing with latest master differences 2018-03-13 12:30:56 +00:00
Ovah 60afe858e8 MMaps phasing 2018-03-12 18:19:19 +00:00
Shauren b7e29526a2 Core/CrashHandler: Fixed generating crash logs from CRT debug assertions
(cherry picked from commit abdf6479ddbf42c8b53cb943c54203211ceb0691)
2018-03-10 23:49:43 +01:00
Ovahlord 27652214b5 Core/Phasing: Rewrite GetTerrainMapId *updated phasing with latest changes 2018-03-10 16:10:48 +01:00
Ovahlord fe4f86b1bc Core/VMaps: fixed build, vmaps extraction and some copy paste fails 2018-03-09 22:21:28 +01:00
Ovahlord 4bbdce57e2 Core/VMaps: Implement loading phased tiles 2018-03-09 18:05:47 +01:00
Ovahlord e44bb5f387 Core/Entities: Phase Rework (main commit) 2018-03-08 22:58:50 +01:00
Aokromes d174eb760a Scripts/Commands: implemented command .server debug
- Shows detailed information about server setup, useful when reporting a bug:
 * rev. hash
 * versions of mysql, openssl, boost, cmake
 * info about autoupdater
 * info about ports (realmlist and current)
 * vmap/map/mmap status and folder sizes
 * available DBC locales
 * TDB version
2018-03-06 23:48:39 +01:00
Aokromes c33ff02c34 Core/MMaps: Remove phased tile support
* Extremely slow
* Needs to be implemented partially in tools
* Conflicts with upcoming phasing rewrite
2018-03-06 00:22:05 +01:00
Shauren 523a2dccdc Revert "Collision/MMap: Fix a memleak reported by valgrind"
This reverts commit 32e8b6506fc064fdba134d692dfe99298e43f055.
2018-03-06 00:02:33 +01:00
Aokromes cbf7a27478 Revert "Core/MMaps: Fix crash introduced in commit 32e8b65 (#17447)"
This reverts commit f293994.
2018-03-06 00:01:52 +01:00
Warlockbugs 6a8c0df9a8 Core/Crypto: Transitional Cryptography update for OpenSSL 1.1 (#21534)
Support for both OpenSSL 1.0 LTS and OpenSSL 1.1 versions.

Many Linux distributions are still on 1.0 and will stay on LTS for quite
some time.

Port of CMaNGOS commit: https://github.com/cmangos/mangos-wotlk/commit/e1b0048f052eda46bb27d20224d0339960816ac2
2018-03-05 14:54:35 +01:00
jackpoz bb70a60ba7 Core/Misc: Add PERFORMANCE_PROFILING CMake option
Add a new CMake option called PERFORMANCE_PROFILING that should be used only when profiling the performance.
This option is unsupported, do not report any issue happening when enabling this option.
2018-02-18 18:36:32 +01:00
jackpoz b263e63a50 Core/Crash reporting: Add support to char* arrays
Add support to char* array showing the string value instead of the pointer address
2018-01-01 16:14:37 +01:00
jackpoz 5a61b3ce5e Core/Misc: Fix static analysis issues 2018-01-01 15:50:42 +01:00
Aokromes 4bd0525edd Update copyright note for 2018 2018-01-01 01:06:19 +01:00
jackpoz 4283252731 Shared/Metric: Fix crash on shutdown
Fix crash on shutdown with metrics enabled but InfluxDB stopping before worldserver
2017-12-17 15:37:30 +01:00
jackpoz 84abf3a1a6 Shared/Metric: Stop metrics on shutdown
Properly stop metric information gathering and sending on shutdown.
Issue reported by AddressSanitizer.
2017-12-03 17:12:20 +01:00
jackpoz 27be32968d Core/Crash reporting: Fix buffer overflow 2017-12-02 05:11:07 +01:00
Aokromes a18293833e Misc: More cleanup 2017-11-25 03:02:18 +01:00
Aokromes b93430ee08 Misc: More cleanup 2017-11-25 02:25:18 +01:00
Aokromes 91affef0c6 Misc: Kill trailing white spaces 2017-11-25 01:36:21 +01:00
Aokromes 13a3531698 Core/VMaps: Fix no collision triangles
vmaps extraction required
2017-11-22 17:27:04 +01:00
jackpoz c62b81dd8b Dep/Recast: Update recastnavigation to recastnavigation/recastnavigation@2c85309 2017-11-19 18:03:17 +01:00
jackpoz 67dc6a7576 Core/Misc: Fix static analysis issues 2017-11-12 13:24:42 +01:00
Aokromes 9dc4705ba5 Core/Commands: Fix some commands still using phasemask 2017-11-08 01:41:09 +01:00
Aokromes 5b2b8ae9d1 Core/Misc: make clang 6.0 happy 2017-10-28 17:12:58 +02:00
Ovalord 34b3617184 Core/Spells: merged commits 86275a397a478a30dad7e00af73029e2b15d4668 ae070a1b64da616d4a6452793d22f80542a2c40f and
be7486fddb180dac66362a7ea4e0d330b6f27d37
2017-10-17 01:06:15 +02:00
Naios 7f4a7cbb17 Dep/fmt: Update fmt to fmtlib/fmt@5f39721c0a
* Rename cppformat to fmt in the PackageList.txt
2017-10-16 21:48:44 +02:00
Shauren 3f5f58ec6a Build fix 2017-07-29 15:23:08 +02:00
Shauren f699891b37 Core/Misc: Util changes
* Move IteratorPair to its own header
* Add AsUnderlyingType function to cast enum value to its underlying type (avoids repeating std::underlying_type everywhere)
2017-07-29 14:41:26 +02:00
jackpoz 3410edfdae Core/Misc: Fix static analysis issues 2017-07-17 18:51:56 +02:00
Aokromes c6a1ea7c32 Tools: Automatically create directories for tools 2017-07-17 10:26:41 +02:00
Aokromes 8b6261c809 Core/Misc: Fix static analysis issues 2017-07-16 19:05:26 +02:00
Treeston da00217d31 Utilities/Containers: New RandomResize implementation with guaranteed asymptotic linear time for all container types (#19974) 2017-07-06 20:46:45 +02:00
Shauren 1808fdd7b2 Buildsystem: Minor PCH building changes
* *PCH.cpp are now only compiled with MSVC, other compilers use custom helper commands to generate the precompiled header
* Don't call the linker for pch helpertargets

(cherry picked from commit 137f5e78877ef1b81f4dca68dd43268e325aeeed)
2017-06-25 14:16:31 +02:00
ariel- 987f0bda82 Core/Vmaps: build fix mk II 2017-06-09 13:30:07 +02:00
ariel- 3914ace3ba Core/Vmaps: build fix 2017-06-09 13:30:01 +02:00
Shauren 39356deeb9 Core/Vmaps: Fixed getting map height near large gameobjects like LK platform
Updates #19865
2017-06-09 13:29:41 +02:00
Aokromes f8d9d954d1 Get zone/area IDs from vmap data in the liquid update
* Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup
* Use this lookup in Map:: relocation methods to update m_areaId and m_zoneId fields on WorldObject
* Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields
* Clean up liquid state handling on Unit and Player
* Hand floor's Z coord up through GetFullTerrainStatusForPosition, use it to update a new field in WorldObject, and use that to feed a new GetFloorZ call on WorldObject.
2017-06-09 13:20:37 +02:00