Commit Graph

25640 Commits

Author SHA1 Message Date
DDuarte
a953b5901a Core/Items: Missing renames 5faaddcf6b 2016-06-07 18:32:05 +01:00
DDuarte
5faaddcf6b Core/Items: Rename some ITEM_PROTO_FLAG
Source: vanilla alpha pdb
2016-06-07 18:28:31 +01:00
Shauren
4b00ca0299 Core/GameObjects: Update GameObjectTemplate structure and defined more GO flags 2016-06-07 18:59:11 +02:00
treeston
e5382ee215 Scripts/Instances: Fix a bug that would cause the Hodir encounter to never properly begin. Tagging issue #17302. 2016-06-07 14:17:11 +02:00
treeston
96c05dbec0 Scripts/Outland: Fix a potential crash. Closes #17308. 2016-06-07 12:41:38 +02:00
Aokromes
f82f06e29e DB/Creature: Ghoul Attack power
Closes #9090 by Rushor
2016-06-06 09:12:19 +02:00
jackpoz
7ff0f3c65f Core/Player: Fix duel edge case crash
Fix a crash that could be triggered if an aura removed after duel finished would have caused damage to one of the players.
2016-06-05 21:53:38 +02:00
treeston
2f0f30b9f7 Revert "PvP/Dueling: Fix an edge case crash that could happen if a duel ended while an aura effect was being removed (Living Bomb, Unstable Affliction and similar). Closes #17177."
This reverts commit 73cfbdcf9f.
2016-06-05 19:18:52 +02:00
treeston
73cfbdcf9f PvP/Dueling: Fix an edge case crash that could happen if a duel ended while an aura effect was being removed (Living Bomb, Unstable Affliction and similar). Closes #17177. 2016-06-05 18:37:48 +02:00
Aokromes
a6e7c9873c DB/Creature: Fix pathing for A Cry For Help
Closes #15722 by Joslyn-Maddie
2016-06-05 12:28:19 +02:00
Aokromes
3bba685b2a DB/Quest: Army of the Damned
Closes #7801 by sirikfoll
2016-06-05 06:41:54 +02:00
Aokromes
7f6b8ed458 DB/Quest: Preparin' For Battle
Closes #9743 by Wylath
2016-06-05 06:33:13 +02:00
Aokromes
3cd66c90e9 DB/Creature: Plague Scientist spells
Closes #16729 by Gargarensis and Rushor
2016-06-05 06:25:28 +02:00
Aokromes
af03601f09 DB/gameobject: close "Cage Door" (STV)
Close #17287 by lyn1337
2016-06-05 06:19:56 +02:00
Aokromes
ea12727b45 DB/locales_item: add missing localization for item "Bamboo Cage Key"
Closes #17285 by lyn1337
2016-06-05 06:17:02 +02:00
Aokromes
de9c4237a5 DB/Quest: fix chaining for Blood Elves' training quests
Closes #17284 by SnapperRy
2016-06-05 06:15:01 +02:00
Aokromes
b14c5541b7 DB/Quest: fix chaining for quests related to Well Watcher Solanian
Closes #17282 by SnapperRy
2016-06-05 06:13:58 +02:00
Aokromes
ce107f3fcd DB/Quest: fix RewardText for "Beer Basted Boar Ribs"
Closes #17275 by SnapperRy
2016-06-05 06:12:42 +02:00
Aokromes
a932eb416e DB/Quest: fix prevquest for "Rejold's New Brew"
Closes #17269 by SnapperRy
2016-06-05 06:11:19 +02:00
Aokromes
5a91e2cea0 DB/Item: fix text for item "A Letter to Grelin Whitebeard"
Closes #17268 by SnapperRy
2016-06-05 06:09:42 +02:00
Aokromes
5a2726affb DB/Item: fix text for item "Lewis' Note"
Closes #17264 by SnapperRy
2016-06-05 06:07:54 +02:00
Aokromes
0e8f3e0810 DB/Item: fix text for item "Verna's Westfall Stew Recipe"
Closes #17263 by SnapperRy
2016-06-05 06:06:44 +02:00
treeston
650d7ab596 Scripts/BlackrockMountain: Nefarian. (#16346 f-u) 2016-06-04 22:21:49 +02:00
treeston
83e5df5638 Scripts/MoltenCore: Fix Ragnaros (#16346 follow-up). 2016-06-04 22:17:06 +02:00
treeston
27a3eaab33 Scripts/Instances: More #16346 follow-ups. Fixed this time: Halls of Reflection, Ignis the Furnace Master, Mimiron and Rend Blackhand. 2016-06-04 22:14:32 +02:00
Snapper
30313fba8d Core/Player: Added support cast spell for some class spells
(Warrior's Battle Stance and Death Knight's Blood Presence) on first login.

(cherry-picked from commit c8eb69df10)

Closes #17232
2016-06-04 19:31:29 +01:00
Dr-J
8d2ccc4d1a DB/Quest: A Little Slime Goes a Long Way
http://www.wowhead.com/quest=4513/a-little-slime-goes-a-long-way

* Conditions so spell can only be http://www.wowhead.com/spell=15702/filling-empty-jar can only be used on dead oozes in Un'goro Crater rather than any npc regardless of if dead or alive
* Script to despawn on spellhit so the item cant be re-used on same ooze
2016-06-04 15:14:08 +01:00
jackpoz
1347d7cf7a Core/VMaps: Fix some vmap height edge cases
Fix Map::GetWaterOrGroundLevel() checking dynamic object only in phase 1 instead of current Unit phase.
Improve DynamicMapTree::getHeight() dynamic object check by casting the ray at +0.5f from the passed Z coordinate, this value will be tuned to improve even more the results.
2016-06-04 15:01:39 +02:00
jackpoz
911bffd208 Grafana/Dashboards: Fix General info datasources
Fix General info datasources for counter panels
2016-06-04 13:11:35 +02:00
Aokromes
069e1c8120 Update worldserver.conf.dist 2016-06-04 12:49:39 +02:00
Duarte Duarte
3ae1016082 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
2016-06-04 11:23:29 +01:00
treeston
123e45c119 AI/SmartScripts: Add action_param3 "disablePathfinding" to SMART_ACTION_MOVE_TO_POS (69). 2016-06-04 00:51:19 +02:00
treeston
7fbd70d4c4 Compiler warning fix. 2016-06-03 22:41:30 +02:00
treeston
4407877f36 Scripts/TotC: More follow-up to #16346. Also code style cleanup. Who names all their creature pointers "temp"? 2016-06-03 22:39:04 +02:00
treeston
4e922a5146 Scripts/Instances: Follow-up to #16346. Fix Illidan and Northrend Beasts. 2016-06-03 22:14:09 +02:00
treeston
2d2544fab0 AI/PlayerAI: Fix potential edge case crash. 2016-06-03 17:57:05 +02:00
Sean Rhone
b253b694ed Update worldserver.conf.dist (#17276)
- Same as https://github.com/TrinityCore/TrinityCore/pull/17270
2016-06-03 15:40:30 +02:00
Treeston
b19005715c Merge pull request #16346 from Trisjdc/creature_no_flag_reset_on_combat
Core/Creatures: Remove resetting of UNIT_FLAG_IMMUNE_TO_PC on combat clearing
2016-06-03 00:30:45 +02:00
Trisjdc
34ef05ce0b Core/Creatures: Remove resetting of UNIT_FLAG_IMMUNE_TO_PC on combat clearing 2016-06-02 23:07:27 +01:00
MitchesD
7f0e1caf72 Rename 9999_99_99_world.sql to 2016_06_02_01_world.sql 2016-06-02 22:31:19 +02:00
Keader
43855b47d8 Core/Scripts Improve Felflame Infernal of Lord Jaraxxus fight (#16998) 2016-06-02 22:30:18 +02:00
Kittnz
cae19692ab Fix SQL name 2016-06-02 19:39:37 +02:00
Kittnz
8a386fb389 Merge pull request #17020 from Keader/jormungars
Core/Scripts: [Trial of the Crusader] Improve  Jormungars fight
2016-06-02 19:35:47 +02:00
jackpoz
24ac2bb9be Travis: Remove unneeded apt-get update 2016-06-02 14:17:17 +02:00
jackpoz
6007f2a6a0 Merge pull request #17259 from SnapperRy/smart_ai
Core/SmartAI: Allow SMART_ACTION_FORCE_DESPAWN on no-SmartAI GameObjects
2016-06-02 00:31:32 +02:00
Trond B Krokli
8fe8501712 Core/DB/Updater: engrish corrections in DBUpdater.cpp (#17262)
English grammar and syntax corrections in DBUpdater.cpp
- string texts corrected, source code unchanged
- comments improved and checked for typos
2016-06-01 21:10:20 +01:00
Killyana
3251439600 DB: Fix some DB errors 2016-06-01 21:27:47 +02:00
jackpoz
21ee9be110 Travis: Move to Ubuntu 14.04 Trusty Travic-CI from Ubuntu 12.04 2016-06-01 20:37:46 +02:00
treeston
321d35417d Build fix for horrendous, outdated, non-standards-compliant compilers. Such as the one in VS 2013. I hate VS 2013.
Closes #17260.
2016-06-01 19:41:35 +02:00
Killyana
b1aca1d1cf DB/Quest: Add conditions related to certain kinds of quests
Closes #17255
By SnapperRy
2016-06-01 19:35:57 +02:00