Commit Graph

139 Commits

Author SHA1 Message Date
Aokromes
b504b47650 Misc: Make extractor more clear for some users
(cherry picked from commit 5fd03bb472)
2021-10-27 00:02:09 +02:00
Shauren
d181c1da75 Core/CrashHandler: Include assertion messages in crash reports
(cherry picked from commit 62db1fb683)
2021-10-23 16:02:44 +02:00
Shauren
d3e1e4be22 Misc: Update protobuf code generator plugin for 4c85198ed6 2020-05-14 10:15:22 +02:00
funjoker
6e324632bc CI/Circle CI: Prepare master for circle ci (#24386)
* Circle CI (#22982)

* Build/CI: Add Circle CI

* Fix travis

(cherry picked from commit cb6439bacd)

* CI/CircleCI: Add parallel no-pch build

(cherry picked from commit 33c58b4aaf)

* CI/CircleCI: Use ccache for nopch

(cherry picked from commit 6bcf5c64c4)

* CI/CircleCI: Change base docker image to custom-built trinitycore one

(cherry picked from commit 37beeb1282)

* CI/CircleCI: Switch to Ubuntu 18.10

(cherry picked from commit 6dfb4fde07)

* CI/CircleCI: Switch to Ubuntu 19.04

(cherry picked from commit 9009c82a8d)

* CI/Circle CI: Reduce ccache size from 5G to 1G

This should speedup Circle CI cache saving and in turn no-pch build

(cherry picked from commit 1b543ac16d)

* CI/Circle CI: Adjust config for master branch

Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-04-04 14:58:56 +02:00
Aokromes
b0bf1275ee New Year 2020-01-02 06:44:10 +01:00
vincent-michael
5620eb9463 Update copyright note for 2019
auto happy = new year(2019);
2019-01-01 10:14:33 +01:00
Shauren
126c8cf90f Contrib/Protobuf generator: Updated to new proto format 2018-11-05 17:40:27 +01:00
Aokromes
03c1ce2d1e Make codacy happy 2018-04-08 12:03:37 +02:00
vincent-michael
7d00ae4045 Update copyright note for 2018
auto happy = new year(2018);
2018-01-01 00:40:17 +01:00
Evgeny Frolov
55105c2f87 Contrib/Grafana: updated dashboards (#20563)
Add a single page dashboard including all graphs, useful for Grafana Cloud since it allows to created only a limited number of dashboards.
2017-10-16 13:57:11 +02:00
Shauren
ee7f598e19 Contrib: Updated protobuf service generator with latest async handling changes 2017-09-23 23:11:18 +02:00
joschiwald
84b6b06432 Contrib: Dropped obsolete ScriptConverter 2017-09-06 13:56:03 +02:00
cribolouf
f677c71263 Optimize and Streamline Extractor.bat 2017-07-17 11:29:39 +02:00
tkrokli
f29d0740e6 Contrib/Windows: extractor.bat cleanup
- Missing GOTO label :EOF at the end of the file
- Messages to user are in full English sentences.
2017-07-14 10:01:39 +02:00
Aokromes
d7124f0100 Update extractor.bat 2017-02-25 10:37:22 +01:00
Aokromes
feac31cf52 Tools: Make extractor better, add mmaps extractor multitask 2017-02-11 05:46:13 +01:00
Shauren
cdbe140f91 Contrib: Fix protoc-bnet generator to initialize all fields in the constructor 2017-01-19 17:36:30 +01:00
vincent-michael
86b98686a9 Update copyright note for 2017
Happy new year
2017-01-01 16:23:13 +01:00
DDuarte
da2026e764 Yet more 6.x -> master renames 2016-10-16 20:42:14 +01:00
jackpoz
3f02f9edcd Grafana/Dashboards: Fix General info datasources
Fix General info datasources for counter panels

(cherry picked from commit 911bffd208)
2016-06-04 13:26:22 +02:00
DDuarte
8b26aea95a Implement real time statistic visualization (#16956)
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 ed75b0649a

* 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 3ae1016082)

# Conflicts:
#	src/server/game/Server/WorldSession.cpp
#	src/server/game/World/World.cpp
#	src/server/worldserver/Main.cpp
2016-06-04 11:26:57 +01:00
Naios
e3a583646e Contrib: Fix the check_update scripts after the recent organization changes
* Fixes the travis build
* Ref 8778829a98
2016-04-17 17:36:40 +02:00
Naios
5fa7127927 Core/Proto: Convert the proto project to a standalone shared library
* Fixes issues with dynamic linking on linux
* Closes #16981
2016-04-16 22:07:07 +02:00
Aokromes
32bf8e26f8 Misc/Extractor: Add batch file for extractors
You must copy it to your wow directory with the tools and run it.
Linux version is welcomed.
(cherry picked from commit d55d32fa0f)
2016-04-08 23:54:36 +02:00
Shauren
0d3a81b2bc Contrib: Updated protoc plugin to generate service classes suitable for dynamic linking 2016-03-26 22:01:03 +01:00
Shauren
b97d990dee Contrib: Added .bat file with commands to generate protobuf sources using the plugin 2016-03-26 17:39:39 +01:00
Shauren
e1a68fa34d Clang build fix 2016-03-26 17:38:00 +01:00
Shauren
9018ac978d Core/Shared: Added generated protobuf sources 2016-03-26 17:23:35 +01:00
Shauren
499a159932 Contrib: Added sources of the protoc plugin used to generate services 2016-03-26 01:24:11 +01:00
Vincent-Michael
478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
tkrokli
2fbf89b201 contrib/script: error text corrections in check_updates.sh
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.

(cherry picked from commit 01e0475ab8)
2015-10-14 00:29:57 +02:00
Naios
be53a45a39 Travis: Add check for update entries not listed in base dumps.
* Will mark the travis build as failed when the database updater is broken.

(cherry picked from commit 4dd6070c79)
2015-10-05 23:36:04 +02:00
jackpoz
44673b89d5 Core/Misc: Update helgrind suppressions
(cherry picked from commit e008ae7520)
2015-07-25 23:42:19 +01:00
jackpoz
647cdfb425 Core/Misc: Update helgrind suppressions
(cherry picked from commit 6a303caffd)
2015-06-26 03:30:37 +01:00
jackpoz
3c7eee915b Core/Misc: Update helgrind suppressions
(cherry picked from commit abda6840e1)
2015-06-26 03:23:48 +01:00
Vincent-Michael
00ee96bd18 SQL: Remove fail 2015-03-01 02:26:13 +01:00
Vincent-Michael
369b08b68d Core/Misc: Update base stuff for V6.1.0 build 19702 2015-03-01 02:24:59 +01:00
Duarte Duarte
fc847f48c8 Contrib: Update merge_updates batch files with hotfixes db 2015-02-19 00:09:19 +00:00
Vincent-Michael
ab90f74486 Update copyright note for 2015
Happy new year
2015-01-01 00:28:09 +01:00
DDuarte
90c53e8c84 Core: Nuke authserver
It has been replaced by bnetserver since grunt was deprecated
2014-11-10 20:57:39 +00:00
bloerwald
ff0f84e3aa Tools/connection_patcher: remove c# code, add c++ code with minor modification, move to tools, integrate into cmake
note: no longer downloads nonexistent modules
note: now throws on not finding patterns
new dependency: boost.filesystem

Closes #13471
2014-10-28 18:33:19 +00:00
Shauren
cc95d7ebbe Core/Authserver: Updated battle.net structures to 6.0.2.18973 2014-10-04 19:13:54 +02:00
Vincent-Michael
5061def422 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts:
	src/server/game/DataStores/DBCStructure.h
	src/server/game/DataStores/DBCfmt.h
2014-09-21 12:11:03 +02:00
jackpoz
38952576f8 Core/Misc: Update helgrind suppressions 2014-09-20 22:41:49 +02:00
Vincent-Michael
4bdedcb878 Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts:
	src/server/game/Entities/Unit/Unit.cpp
2014-08-24 22:42:47 +02:00
Vincent-Michael
4a58341e6d Core: Fix warnings 2014-08-24 18:08:29 +02:00
Vincent-Michael
10e00f32fd Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4 2014-08-24 17:24:20 +02:00
Vincent-Michael
d088a368f1 TDB 335.55 - 2014/08/24 2014-08-24 17:22:24 +02:00
Shauren
7dd552c826 Merge branch 'battle.net' into 4.3.4 2014-06-08 16:14:24 +02:00
Shauren
a078c1555c Contrib/Patcher: Make the client use realmListBn config instead of having to deal with portal and hosts rewrites 2014-05-18 22:29:26 +02:00