aboutsummaryrefslogtreecommitdiff
path: root/src/common/Collision
AgeCommit message (Collapse)Author
2018-03-29Fix non-PCH build.Gacko
2018-03-28Core/Maps: Implemented getting area id from gameobject spawnsShauren
Yes, you can now spawn LK platform anywhere and it will treat you as inside Icecrown Citadel
2018-03-28Core/Vmaps: build fix mk IIariel-
(cherry picked from commit d2a30fef1371cf904e56f96042d686c9da439175)
2018-03-28Core/Vmaps: build fixariel-
(cherry picked from commit a409287feffae22b9690cfc58d6e3e877fe39e28)
2018-03-28Core/Vmaps: Fixed getting map height near large gameobjects like LK platformShauren
Updates #19865 (cherry picked from commit cfb0f9fb19c03677b127f09407a6bd00bfefbe55)
2018-03-25Core/Phasing: Rewrite GetTerrainMapIdShauren
2018-03-25Core/MMaps: Implemented loading phased tilesShauren
Closes #16909
2018-03-25Core/VMaps: Implement loading phased tilesShauren
Closes #15163
2018-03-25Core/Entities: Phasing rewriteShauren
* Optimized phase visibility checking * Handle all phase flags Closes #16758 Closes #21119
2018-02-20Core/MMaps: Remove phased tile supportShauren
* Extremely slow * Needs to be implemented partially in tools * Conflicts with upcoming phasing rewrite
2018-02-20Revert "Collision/MMap: Fix a memleak reported by valgrind"Shauren
This reverts commit 32e8b6506fc064fdba134d692dfe99298e43f055.
2018-02-20Revert "Core/MMaps: Fix crash introduced in commit 32e8b65 (#17447)"Shauren
This reverts commit f293994ef41de3026faca2fa444bca9dd1a03308.
2018-01-28Core/Misc: Fixed new-delete-type-mismatch issue reported by AddressSanitizerjoschiwald
2018-01-01Update copyright note for 2018vincent-michael
auto happy = new year(2018);
2017-11-25Misc: More cleanupAokromes
2017-11-25Misc: More cleanupAokromes
2017-06-06Core/VMaps: Fix LoS in Strand of the AncientsGolrag
2017-05-16Core/Game: Include cleanup - removed G3D classes from packetsShauren
* Use our own Position class instead, with the coords written to packets being part of type
2017-05-11Core/Common: Include cleanupShauren
2017-05-06Fix non-PCH build.Gacko
What else?
2017-05-05Fixed warningjoschiwald
2017-05-05Core/Collision: Replaced phasemask with proper phases in GameObject ↵joschiwald
collision calculation
2017-04-27Core/Tools: MapId can have 4 digitsjoschiwald
Note: Re-extracting any maps is NOT required.
2017-02-12Tools/MMapGenerator: Avoid saving uninitialized padding bytes to diskjackpoz
Initialize padding bytes in MmapTileHeader struct to avoid saving uninitialized data to disk, causing issues when binary-comparing *.mmtile files. (cherry picked from commit 2585c62e6fc8925bb74160fb9b24fb1d361a8b2c)
2017-01-17Build fixShauren
2017-01-17Fix static analysis issuesShauren
CID 1291964 CID 1292775
2017-01-01Update copyright note for 2017vincent-michael
Happy new year
2016-12-04Correct Nav type for WMO objects (#18364)zori
* Tools/MMaps: Correct liquid type for WMO objects * MMaps: Update version to 6 (cherry picked from commit 0df0cb30ca9de2015ec774e50bb69337382576d3)
2016-12-03Fix typo in VMap BIH generation (#18297)Aokromes
Fix typo in VMap BIH generation By zorix (cherry picked from commit 2402f476424531a175d9a016f433321f00608501) Core/Maps: bumping Vmap version after 2402f476424531a175d9a016f433321f00608501 Re-extracting vmaps is required (cherry picked from commit ec9a8345a49938ddd9d42e9fdf7053ac25477b4d) Core/Map: missing file change in last commit (cherry picked from commit 881cd78ae32d8078e247f64a73c651959a76e746)
2016-10-20Tools: Automatically create directories for tools (#17971)keke222
2016-08-03Common/Maps: Reduce differences between 3.3.5 and 6.x branchesjackpoz
Partially port 1347d7cf7a8656f3db9d8b2f6e6d955e1fa8c129 too
2016-08-02Core/Misc: remove unused function prototypeariel-
(cherry picked from commit 2efd40b8049efc4c35622a7997cc47b10b468b4d)
2016-07-07Core/MMaps: Fix crash introduced in commit 32e8b65 (#17447)et65
* Core/MMaps: Fix crash introduced in commit 32e8b6506fc064fdba134d692dfe99298e43f055 * Also fix remaining memory leaks scenarios.
2016-06-04Implement real time statistic visualization (#16956)DDuarte
Docs at https://trinitycore.atlassian.net/wiki/display/tc/Monitoring+a+TrinityCore+server * Common/Graphs: Initial proof of concept * Move influx db code to its own class * Reuse the same socket * Allow to log values of different categories * Allow to log events * Pass the timestamp to influxdb * Send events in batches * Send data async * Log server shutdown. Fix memory leak. * Allow to enable/disable Stats in the settings and at runtime * Read interval between each batch send from config * Add InfluxDB connection info to configs * Move each event category to its own table * Log pathfinding queries * Move categories table initialization to constructor using enum as key to avoid assigning the table name to the wrong enum value * Log player login/logout events. Pass the hostname correctly in the HTTP request. * Fix linux build * Handle "Connection: close" HTTP header, reconnecting on next scheduled send. Disable StatsLogger if connection fails, logging the error. * Add an enum for categories of logged values, it's still possible to pass a string instead of the enum. * Don't log the whole batchedData when InfluxDB returns an error, it's too long and unreadable on console. * Allow to call a function at a specified interval in thread-safe World::Update() context to log data like player count. * Log map tile load/unload * Core/StatsLogger: Allow logging more value types other than ints https://docs.influxdata.com/influxdb/v0.10/write_protocols/write_syntax/ * Fix a typo in string escape of StatsLogger * Yet more fixes to the escaping in FormatInfluxDBValue * DB/Gameobject: Fix respawn time of few Quest GameObjects By Tauriella, closes #16701 * DB/Misc: Fix some engrish By tkrokli closes #16648 * Tools/MMaps: Add format library linking to mmaps_generator (Very) partial cherry pick of ed75b0649add23e082976fa4e5d504bc0c312602 * Core/StatsLogger: Simplify code Convert values and categories arrays to maps initialized in-place Remove constructor and destructor * Core/StatsLogger: Add realm name to the event and value tags * Log amount of processed packet of each session * Apply recent singleton changes to sStatsLogger too * Fix influxdb data format if no realm name is present * Remove unneeded newlines from request body, fixes response 400 from InfluxDB 0.10 * Rename Reporting folder to Metric * Rename StatsLogger to Metric * Rename InfluxDB configs to Metric * Add Grafana dashboards * Add a random annoying macro * Move string formatting to Metric::SendBatch(), reducing performance footprint of Metric::LogEvent() and Metric::LogValue() * Update grafana graphs refresing tags on load and showing now-15m data, refreshing every minute. These settings can be modified in grafana. * Rename MetricData fields * Contrib/Grafana: Rename dashboard files * Contrib/Grafana: Replace hardcoded Windows/Ubuntu realm names by the default, Trinity * Config/Worldserver: Add missing section to the index * Contrib/Grafana: Add singlestat panels with current online players, update diff averages (1 min, 5 mins and 15 mins) http://i.imgur.com/Zi8lfvS.png * Core/Metric: Replace the enums MetricEventCategory and MetricValueCategory by strings For the sake of simplicity and less recompile time when adding new metrics, similar to how TC_LOG_* works * Contrib/Grafana: Display the current number of online players and not its average Closes #15075 (cherry picked from commit 3ae10160820782d039c3449107960108fb3a63b9) # Conflicts: # src/server/game/Server/WorldSession.cpp # src/server/game/World/World.cpp # src/server/worldserver/Main.cpp
2016-04-05Core/Misc: MSVC warning fixesShauren
2016-03-24Core/Common: Converted the common library to a shared library.Naios
* There is still the possibility to static link against common.
2016-03-11Core/Common: Move singleton instances into compilation unitsNaios
* Fixes issues when building shared libraries (prevents gcc and clang from providing several instance)
2016-01-30Collision/MMap: Fix a memleak reported by valgrindCarbenium
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
2016-01-01Update copyright note for 2016Vincent-Michael
Happy new year (Again new year with idiots ...)
2015-11-24Core/MMaps: Fixed mmap loadingZedron
Bug introduced in 1d2aafd
2015-10-17Warning fixesShauren
2015-10-17Core/Tools: Fix brutal linking in mmaps extractor.Naios
* caused warnings with shared linking * ref #15671
2015-09-21Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick ↵StormBytePP
hack to crash the core misusing assert
2015-08-21Core/Build: Merge common library and move database out of sharedStormBytePP