Commit Graph

14352 Commits

Author SHA1 Message Date
Shauren
5f1ce9e526 Core/PacketIO: Updated social/support/taxi/token packets 2016-06-25 01:10:14 +02:00
Shauren
2ad96f06f0 Core/PacketIO: Updated quest packets 2016-06-24 23:12:03 +02:00
Shauren
103a6998fc Core/PacketIO: Updated and enabled pet and petition packets 2016-06-23 23:32:01 +02:00
Shauren
b4e6316ac0 Core/PacketIO: Updated party packets 2016-06-22 20:33:46 +02:00
Shauren
622e53345b Core/PacketIO: Updated instance/item/loot/npc packets 2016-06-21 00:49:08 +02:00
Shauren
42f6bb4d37 Core/PacketIO: Updated garrison, guild and inspect packets 2016-06-19 23:56:40 +02:00
Shauren
0de1adf281 Core/PacketIO: Updated equipment set packets and implemented saving transmog outfits (even if transmog itself isnt updated) 2016-06-18 23:03:16 +02:00
Shauren
49d0823b70 Core: Update to 7.0.3.21963 2016-06-18 17:38:44 +02:00
Shauren
d8861342a3 Core/PacketIO: Updated combat log packets 2016-06-16 20:50:27 +02:00
Shauren
a0abae24a9 Core/Players: Players now always have some class specialization selected, starting from level 1 2016-06-15 23:33:53 +02:00
Shauren
7398b2383e Core/PacketIO: Updated calendar, bg, battle pet and bmah packet structures 2016-06-15 22:44:31 +02:00
Shauren
b415f0a04a Core/Players: Fixed saving talents for all specs 2016-06-14 22:13:27 +02:00
Shauren
27e08e48e1 Core/PacketIO: Updated AH and mail packets 2016-06-14 21:28:48 +02:00
Shauren
d2733eb6f1 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-06-13 21:00:25 +02:00
Shauren
3903482eb8 Core: Updated to 7.0.3.21916 2016-06-13 19:54:06 +02:00
Shauren
2fe6fc63d7 Core/Movement: Fixed weird loading screen behavior (progress bar loading to full then disappearing) - also makes teleporting between maps faster 2016-06-13 18:00:55 +02:00
Shauren
dbce0b5aa7 Core/PacketIO: Add missing opcode handlers 2016-06-12 17:51:00 +02:00
Shauren
2ecd7e0cb9 Core/PacketIO: Initialize HasDemonHunterOnRealm field in character enum 2016-06-12 14:03:48 +02:00
Shauren
419e8e7c19 Core/PacketIO: Defined one more opcode 2016-06-12 12:43:45 +02:00
Shauren
c529566ac4 Core/GameObejcts: Fixed disconnects happening when viewing nearby players on elevators
Closes #17335
2016-06-12 00:11:00 +02:00
Shauren
ad3e701c3a Core/PacketIO: Defined some spell opcodes 2016-06-11 16:56:25 +02:00
Shauren
f583476f9a Core/PacketIO: Send movement status changes around moving unit, not its controller 2016-06-11 00:56:31 +02:00
Shauren
ee2b8b4e87 Core/PacketIO: Fixed sending wrong movement packets to nearby players that require ACK response 2016-06-10 19:57:49 +02:00
treeston
051d403624 Entities/Unit: Fix speed update packets if player is being moved by something else.
Closes #17184
Closes #17254

(cherry picked from commit 19fa504ff5)
2016-06-10 19:33:12 +02:00
Shauren
4c29b8ba83 Core/PacketIO: Updated MiscPackets 2016-06-10 00:18:50 +02:00
Shauren
9a1246978f Core/Units: Updated dynamicflags 2016-06-09 22:03:33 +02:00
Shauren
e744c43a30 Core/Auras: Defined more known stat related aura types 2016-06-09 21:55:40 +02:00
Shauren
f14c66b5e4 Core/Players: Updated talent specializations 2016-06-09 21:33:18 +02:00
Shauren
de2efe0105 Core/Taxi: Implemented PlayerCondition requirements on taxi paths 2016-06-08 21:46:08 +02:00
Vincent-Michael
7eceba09d7 Core/Misc: Fixed warnings 2016-06-08 13:06:16 +02:00
Shauren
6226f04caf Core/PacketIO: Updated query opcodes 2016-06-07 19:56:40 +02:00
Shauren
15bea97f83 Core/GameObjects: Defined more GO flags
(cherry picked from commit 4b00ca0299)
2016-06-07 19:05:26 +02:00
Shauren
8396dabdad Core/Misc: Fixed coverity issues
Uninitialized fields: CID 1354593, 1354595, 1354738
Unchecked return value: CID 1354558
Out of bounds access: CID 1352989, 1352993
Null pointer dereference: CID 1296286
2016-06-06 09:16:59 +02:00
Shauren
d59bba3c5d Core/Misc: Fixed uninitialized field
Coverity CID 1354596
2016-06-06 08:51:42 +02:00
Shauren
d8e0ce4d40 Core/Misc: Fixed uninitialized fields in black market packets
Coverity CID 1354736 and 1354737
2016-06-06 08:49:10 +02:00
Shauren
b920d6a35c Core/Spells: Fixed possible null pointer dereference
Coverity CID 1355243
2016-06-06 08:45:09 +02:00
Shauren
1c139214b5 Core/Spells: Silence coverity false positive - CID 1356246 2016-06-06 08:38:39 +02:00
Shauren
737469cfaa Core/PacketIO: Update movement packets 2016-06-05 17:57:19 +02:00
Vincent-Michael
9d7a17d9f5 Core/Commands: Added ".npc set phase" command error message for invalid phaseid
Closes #14927
2016-06-05 16:43:41 +02:00
Shauren
6b1c85a676 Core/PacketIO: Updated spell packets 2016-06-05 14:08:53 +02:00
Shauren
6ce84d9401 Core/PacketIO: Fixed sending SMSG_SPELL_EXECUTE_LOG 2016-06-05 01:19:25 +02:00
Shauren
40065aa658 Core/GameTables: Fixed loading gametables with trailing tabs 2016-06-04 16:36:23 +02:00
Aokromes
1379505bf2 Update worldserver.conf.dist 2016-06-04 12:49:07 +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
Shauren
2c2bb4a237 Core/Auras: Named currency gain modifying aura types 2016-06-03 23:27:07 +02:00
Shauren
3a63cfb1b2 Core/PacketIO: Updated SendKnownSpells 2016-06-03 19:14:59 +02:00
Shauren
a1ce7ae6a2 Build fixes 2016-06-03 16:49:42 +02:00
Shauren
3ab3a667ed Core/Spells: Add assertions validating various spell enums 2016-06-03 16:45:01 +02:00
Shauren
7f21c2979e temp disable packet pch 2016-06-03 15:51:27 +02:00
Warpten
12f029d442 Core/PacketIO: Implemented new Cast HighGuid type and fix some mistakes with SMSG_MOVE_UPDATE_APPLY_MOVEMENT_FORCE
Core/Updatefields: Health is now stored as an unsigned long int.
2016-06-03 09:27:27 +02:00