Commit Graph

156 Commits

Author SHA1 Message Date
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 86275a397a ae070a1b64 and
be7486fddb
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 137f5e7887)
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
Aokromes
ac3dbcb880 Core/Utilities: Rename RandomResizeList->RandomResize as it is no longer restricted to a list 2017-06-07 09:53:04 +02:00
Shauren
38d1fc9ab3 Core/Utils: Changed all Trinity::Containers utilities to work on all container types (including arrays where it makes sense)
* Added MapGetValuePtr to allow writing `if (Val* v = MapGetValuePtr(map, key))`
* Added utility IteratorPair class with begin/end methods and MapEqualRange for use in range for syntax with multimaps

(cherry picked from commit a1e3b54e07)
2017-06-07 09:14:37 +02:00
Golrag
3afbcbc0e4 Core/VMaps: Fix LoS in Strand of the Ancients (#19847)
Core/Collision: Fixed MOPY chunk flags enum.

Also avoid loading destructible WMOs into vmaps.

VMap re-extraction is required.

Closes #15798.
2017-06-06 08:44:49 +02:00
Ryan
1442984686 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2017-05-28 19:10:00 +01:00
Shauren
d8b9d2a9da Core/Misc: Prefix all preprocessor defines from CompilerDefs with TRINITY_ to avoid conflicts (PLATFORM_WINDOWS is used/defined by CascLib)
(cherry picked from commit b8db320bf1)
2017-05-26 14:49:55 +02:00
Aokromes
06168fb412 Implement real time statistic visualization 2017-05-26 14:47:59 +02:00
Ryan
20726edec2 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2017-05-19 23:49:46 +01:00
Aokromes
fc20b6934b build fix 2017-05-06 02:38:01 +02:00
Aokromes
0fbcdca05e Core/Collision: Replaced phasemask with proper phases in GameObject c…
…ollision calculation
2017-05-06 01:55:17 +02:00
ariel-
18a145e2c6 Core/Utils: build fix 2017-05-04 01:44:12 +01:00
ariel-
b14b00da5c Core/ScriptMgr: use vector instead of list to contain Spell and Aura scripts and hooks 2017-05-04 01:41:35 +01:00
jackpoz
1664c1bd2e Core/Misc: Fix static analysis issues 2017-04-26 05:09:44 +02:00
Aokromes
6871bb1729 Build: Added 1.64 Boost version to FindBoost 2017-04-20 22:25:46 +02:00
Shauren
ed95f9249b Core/Random: Remove no longer needed hack for VS 2013
(cherry picked from commit 59fe908744)
2017-04-14 13:45:21 +02:00
jackpoz
53939cd14e Core/Misc: Fix static analysis issues 2017-04-09 18:17:51 +02:00
jackpoz
d64db19d82 Core/Crash: Refactor and fixes
Code cleanup.
Fix buffer overflow crash.
Fix type being truncated to 199 characters.
2017-03-20 16:53:22 +01:00
jackpoz
e36790b312 Core/Misc: Fix static analysis issues 2017-03-03 01:26:40 +01:00
Aokromes
00622f0ad9 Core/Misc: Fix static analysis issues 2017-02-17 09:30:02 +01:00
Aokromes
bc19916d79 Sync with 3.3.5a 2017-02-10 06:45:33 +01:00
Shauren
dc2deb8602 Core/Vmaps: Changed error message when loading outdated vmaps
Closes #18431
Closes #18857
2017-01-23 00:17:17 +01:00
Shauren
bbcd694155 Fix static analysis issues
CID 1291964
CID 1292775

(cherry picked from commit 6767bbc95f)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Spells/SpellHistory.h
	src/server/game/Spells/SpellInfo.cpp
2017-01-23 00:15:36 +01:00
ariel-
4edbb2d633 Core/Collision: fix no-PCH build 2017-01-21 18:46:40 +01:00
HelloKitty
927a73a7ef Core/Vmaps: Stop M2s from occluding for spellcast LoS
Closes #18528
2017-01-21 14:45:30 +01:00