aboutsummaryrefslogtreecommitdiff
path: root/contrib
AgeCommit message (Collapse)Author
2020-09-16Contrib/EnumUtils: Fixed enumutils_describe.py matching every extension ↵Kelno
ending with a 'h' (like .sh) instead of only .h file (PR #25462)
2020-09-04Scripts/Commands: Convert argument parsing of .npc commandsTreeston
(And I snuck some chat command cleanup in there, more de-cluttering!)
2020-08-23Common/Utilities: Move EnumUtils' implementation struct from Trinity::Impl ↵Treeston
to Trinity::Impl::EnumUtilsImpl. This avoids confusing name clashes for other implementations in sub-namespaces of Trinity::Impl.
2020-08-20Core/ChatCommands: Check whether a passed numeric enum value is valid (#25285)Peter Keresztes Schmidt
2020-08-11Core/Warden: Warden refactors (PR #25235)Treeston
2020-08-04Core/Metric: Include Creatures and Gameobjects panels in the Performance ↵jackpoz
Profiling dashboard
2020-07-28Core/Metric: Add new metric in World::UpdateSessions()jackpoz
Add new metric about how long adding sessions took
2020-07-28Core/Metric: Log detailed metrics about each opcode handler (#25153)Giacomo Pozzoni
* Core/Metric: Log detailed metrics about each opcode handler * Add new panel to Performance profiling dashboard and use fill(0) instead of fill(none) * Add new settings Metric.Threshold.* to be able to specify the minimum threshold for the specified metrics * Update dashboard * Change thresholds to be required to send the metrics. A TC_METRIC_DETAILED_TIMER metric with an expected threshold not configured will be ignored * Use typedef Milliseconds * Refresh realms on load
2020-07-27Core/Metric: Fix setting in Performance profiling dashboardjackpoz
2020-07-27Core/Metric: Add new cmake option WITH_DETAILED_METRICS to enable more ↵Giacomo Pozzoni
metrics (#25136) * Core/Metric: Add new cmake option WITH_DETAILED_METRICS to enable more metrics Add more detailed metrics in World::UpdateSessions(). * Attempt using C++17 features * Fix cmake typo Co-authored-by: NoName <322016+Faq@users.noreply.github.com> * Fix build with WITHOUT_METRICS * Update Performance profiling dashboard with Update sessions panel * Add panel to show sessions with update time above 100 ms * Move legends on the right and add max update time diff in the legend of sessions Co-authored-by: NoName <322016+Faq@users.noreply.github.com>
2020-07-24Core/Metric: Add more metrics about World::Update() loop (#25098)Giacomo Pozzoni
* Core/Metric: Add more metrics about World::Update() loop * Add new Performance profiling grafana dashboard * Add new cmake setting WITHOUT_METRICS that disables all metrics As new metrics are added, someone might want to disable them if unused. * Add more metrics about World::Update() loop * Remove old performance profiling features Remove "server set difftime" command, "-RecordUpdateTimeDiffInterval" and "MinRecordUpdateTimeDiff" worldserver config settings and their related code. The whole UpdateTime class could be removed too. * Update and rename 2020_07_99_99_world.sql to 2020_07_24_00_world.sql
2020-07-18Core/Metric: Log Map::Update() times (#25067)Giacomo Pozzoni
* Core/Metric: Log Map::Update() times * Add more performant version to reduce allocations when metrics are disabled * Linux build fix * Add metric stopwatch version that doesnt let users forget to _END it * Fix linux build * Code cleanup * Add Map updates panel to General dashboard * Add "Recent events" panel to General dashboard * Apply latest codestyle changes Co-authored-by: Shauren <shauren.trinity@gmail.com>
2020-06-20Log number of Creatures and GameObject per map (#24809)Giacomo Pozzoni
* Shared/Metric: Allow to specify tags in metrics * Core/Metric: Log number of Creatures and GameObject per map * Apply feedback * Codestyle changes * Codestyle changes * Remove whitespace * Update Grafana dashboards to v7.0.3 * Fix missing filter on realm * Include Creatures and Gameobjects in Maps dashboard * Show instances with a different color
2020-05-08Misc: Made gdb crash reporting script more automation friendlyShauren
* Don't block on successful exit * Generate timestamped filenames to avoid overwriting old logs
2020-04-22Misc: Improve gdb script outputShauren
* Switch disassembly to intel syntax * Remove terminal colors * Remove terminal line wrapping and pagination * Start versioning the script
2020-04-07CI/Circle CI: Show codestyle instructionsjackpoz
Show a short comment about how to fix the codestyle errors
2020-04-05CI/Circle CI: Add codestyle checkjackpoz
Tabs are not allowed, use 4 spaces instead
2020-04-05CI/Circle CI: Add codestyle checkjackpoz
Whitespace at the end of lines is not allowed
2020-04-05CI/Circle CI: Add support to multiline regexjackpoz
2020-04-05CI/Circle CI: Add codestyle checkjackpoz
ObjectGuid::GetCounter() should not be called in logs, use ObjectGuid::ToString().c_str() instead
2020-04-05CI/Circle CI: Enforce codestyle checksjackpoz
2020-03-08Add bash script for extracting client files (#24215)Teppic1
* Add bash script for extracting client files Simple bash script to automate extracting/copying client files on a Linux system. It follows the instructions on the wiki but additionally copies camera files if found. It includes a few simple checks. * Update extractor.sh Client and server directories are now requested unless already set as environment variables. * Fix client check * Update contrib/extractor.sh Clearer error Co-Authored-By: Trond B. Krokli <38162891+illfated@users.noreply.github.com> Co-authored-by: Trond B. Krokli <38162891+illfated@users.noreply.github.com>
2020-01-02New yearAokromes
Say bye bye to every year changing dates
2019-07-30Contrib/Misc: There, build fix. 19d71fb follow-up.Treeston
2019-07-30Contrib/Misc: Allow enumutils_describe.py to better deal with commented-out ↵Treeston
enum lines
2019-07-29Core/Misc: Kick a Totem error log upstairs one stack frame to give it access ↵Treeston
to various debug info and make Aokromes happy.
2019-02-14Misc/Extractor: Clarify a bitAokromes
2019-01-26Circle CI (#22982)Giacomo Pozzoni
* Build/CI: Add Circle CI * Fix travis
2019-01-01Happy New Year, folks. It's 2019!Treeston
2018-11-14Core/Misc: Update description text for SpellAttr4Treeston
2018-11-12GCC build fixShauren
Closes #22785
2018-11-11Core/Util: Redesign SmartEnum to properly work for large enums (>64 entries) ↵Treeston
and play nice with IDEs (PR #22768)
2018-09-11Misc: Make extractor more clear for some usersAokromes
2018-08-29Core/CrashHandler: Include assertion messages in crash reportsShauren
2018-04-08Update merge_updates_unix.shAokromes
2018-04-08Make codacy happyAokromes
2018-04-08Update merge_updates_unix.shAokromes
2018-01-01Update copyright note for 2018tkrokli
Best wishes for the new year.
2017-07-17Optimize and Streamline Extractor.batcribolouf
2017-07-14Contrib/Windows: extractor.bat cleanuptkrokli
- Missing GOTO label :EOF at the end of the file - Messages to user are in full English sentences.
2017-02-25Update extractor.batAokromes
2017-02-11Tools: Make extractor better, add mmaps extractor multitaskAokromes
2017-01-02Update Copyright notice for 2017tkrokli
Happy new year!
2016-07-20Fixed path for world updates (#17639)martin26
2016-06-04Grafana/Dashboards: Fix General info datasourcesjackpoz
Fix General info datasources for counter panels
2016-06-04Implement real time statistic visualization (#16956)Duarte Duarte
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
2016-04-17Contrib: Fix the check_update scripts after the recent organization changesNaios
* Fixes the travis build * Ref 8778829a98e3d605 (cherry picked from commit e3a583646edd736176e5b4614b69fa794bc83c5b)
2016-03-04Misc/Extractor: Add batch file for extractorsAokromes
You must copy it to your wow directory with the tools and run it. Linux version is welcomed.
2016-01-01Update copyright note for 2016Rushor
2015-10-10contrib/script: error text corrections in check_updates.shtkrokli
Fix a factual error in the /contrib/check_updates.sh error message text, Best shown in an example from the latest travis build error: ``` $ ./contrib/check_updates.sh auth auth Database Updater check script: Checking database 'auth' for missing filenames in tables... - "sql/updates/2015_10_09_00_auth.sql" is missing in table 'auth'.'updates' Fatal error: The Database Updater is broken for database 'auth due to applied update which are missing in the 'auth'.'updates' table. How to fix: Insert the missing names of sql updates which were applied already to the 'updates' table of the 'auth' base dump ('sql/base/auth_database.sql'). The command "./contrib/check_updates.sh auth auth" exited with 1. ``` Main fix: `\"sql/updates/${file}\"` -> `\"sql/updates/${name}/${file}\"` Before this change, the error message claims that the updated SQL file was placed directly in the `/sql/updates/` directory and not in the subdirectory based on its DB name. All the other changes are improvements in English grammar and more precise description.