Age | Commit message (Collapse) | Author |
|
(cherry picked from commit 1038df8d5b522e1e959528c3b7c17c01a88e7759)
|
|
Closes #16861
Thanks tkrokli
|
|
Ref https://github.com/TrinityCore/TrinityCore/commit/6487e2f2d6a1ddbeff77362219658376b8a3f9f0#commitcomment-16888976
|
|
Example: "Missing name Guild.SaveInterval in config file worldserver.conf, add "Guild.SaveInterval = 15" to this file"
|
|
|
|
* There is still the possibility to static link against common.
|
|
* makes it possible to access exported singletons from other shared lib's.
* reduces binary size
|
|
|
|
(cherry picked from commit abda7a910a760687f9c1b9e0893314e04982c0f1)
|
|
|
|
(cherry picked from commit f52495c66b1b219f82729221e8023a86b28d54bf)
|
|
|
|
* Fixes issues when building shared libraries
(prevents gcc and clang from providing several instance)
|
|
|
|
|
|
0904858624297bb6098bde7d22fd080245dd8d5a)
(cherry picked from commit 9beeca79ac0ece4fd07ccd83921a7ec93cb85efa)
|
|
logging on worldserver shutdown
|
|
player is fully loaded in one step after packet processing loop - reduces used locks from 3 per packet to 1 per packet
|
|
* Adds CMAKE_COMMAND and CMAKE_BINARY_DIR to revision_data.h
* Move the source and mysql exe path handling out of the DBUpdater.
* Make some Config methods const for correctness.
* Remove C & CXX flags from revision_data.h
(was unused and didn't capture all cxx vars)
* Reorder the link order to prevent `ld` from ignoring the file
* Ref #15671
|
|
Each network thread has its own io_service - this means that all operations on a given socket except queueing packets run from a single thread, removing the need for locking
Sending packets now writes to a lockfree intermediate queue directly, encryption is applied in network thread if it was required at the time of sending the packet
|
|
Tiles which are owned by the mesh should have the DT_TILE_FREE_DATA flag to ensure
deallocation on removal from the mesh.
Log:
==23516== 6,181,976 bytes in 6 blocks are definitely lost in loss record 15 of 15
==23516== at 0x4C298A0: operator new[](unsigned long) (vg_replace_malloc.c:389)
==23516== by 0x2052660: dtCustomAlloc(int, dtAllocHint) (Memory.h:11)
==23516== by 0x29D7FDA: dtAlloc(int, dtAllocHint) (DetourAlloc.cpp:43)
==23516== by 0x230AA70: MMAP::MMapManager::loadMap(std::string const&, unsigned int, int, int) (MMapManager.cpp:166)
==23516== by 0x1DD585B: Map::LoadMMap(int, int) (Map.cpp:125)
==23516== by 0x1DD7266: Map::LoadMapAndVMap(int, int) (Map.cpp:200)
==23516== by 0x1DD93C6: Map::EnsureGridCreated_i(CoordPair<64u> const&) (Map.cpp:453)
==23516== by 0x1DD9129: Map::EnsureGridCreated(CoordPair<64u> const&) (Map.cpp:429)
==23516== by 0x1DED100: Map::GetGrid(float, float) (Map.cpp:2200)
==23516== by 0x1DE0F4C: Map::GetAreaFlag(float, float, float, bool*) const (Map.cpp:2349)
==23516== by 0x198521B: Map::GetZoneId(float, float, float) const (Map.h:353)
==23516== by 0x197CFF0: WorldObject::GetZoneId() const (Object.cpp:1277)
Phase tiles aren't managed by detour so they shouldn't be free'd automatically on removal.
See MMapManager::UnloadPhaseTile
|
|
in Trinity::Containers::SelectRandomWeightedContainerElement
|
|
|
|
Closes #16125
|
|
|
|
Happy new year (Again new year with idiots ...)
|
|
|
|
|
|
functions to select a random element from a container where each element can have different chance of being selected
|
|
Core/Util: Add urandms(minMS, maxMS) helper
(cherry picked from commit c1b4cd21f3debc2eb5e462c5adce659b558c7dc9)
|
|
Bug introduced in 1d2aafd
|
|
|
|
|
|
0a27f8bce264b8f6d8c55efa8ebc97f6e9cb7d11
|
|
role
|
|
|
|
|
|
* caused warnings with shared linking
* ref #15671
|
|
|
|
Coverity defect IDs: 1316687, 1316688
(cherry picked from commit 51a2a3fa93702f289cda1e64323f55aba02f1026)
|
|
This reverts commit 8ea17647e6bced9d4d027c94ecdc63369cb4c6df.
|
|
|
|
|
|
|
|
hack to crash the core misusing assert
|
|
|
|
flight masters along the way, not directly through them
* Taxi cost on multi-segment paths is now charged per segment when it is started
Cherry-picked from commit 2056961aae208c5da094f3bf8fbca599b5ebac40 (+fixes)
|
|
including the header in GitRevision.cpp is not enough to rebuild that file after updating sources
Fixes having to build twice before GitRevision returns accurate info.
|
|
Closes #15357
New library dependency: Boost.Regex
|
|
helgrind
|