Commit Graph

26466 Commits

Author SHA1 Message Date
mik1893
8457829516 Merge pull request #17312 from Keader/anub
Core/Scripts Fixed Anubarak issues related with Leeching Swarm spell
2016-06-09 16:29:38 +01:00
Aokromes
fb624880da DB/Gameobject: Respawntimer Fix for Quest 2038
Closes #17296 by Tauriella
2016-06-09 16:15:55 +02:00
Keader
3c35ce06af Core/Scripts Fixed Anubarak issues related with Leeching Swarm spell 2016-06-09 09:49:41 -03:00
treeston
c6606b7615 Merge remote-tracking branch 'tkrokli/npc_locksmith' into 3.3.5 (PR #17099) 2016-06-09 13:19:17 +02:00
treeston
fed852e614 Merge remote-tracking branch 'tkrokli/npc_grandmother_gossip' into 3.3.5 (PR #17316) 2016-06-09 13:13:11 +02:00
treeston
270b3100b0 Merge remote-tracking branch 'tkrokli/npc_gregan_brewspewer_gossip' into 3.3.5 (PR #17157) 2016-06-09 13:08:19 +02:00
treeston
b0432eb4bc Merge remote-tracking branch 'tkrokli/npc_sayge' into 3.3.5 (PR #17101) 2016-06-09 13:04:05 +02:00
mik1893
b0e7b45840 Merge pull request #17281 from SnapperRy/delay_flee_for_assist
Core/SmartAI: delay SMART_ACTION_FLEE_FOR_ASSIST if creature is rooted or stunned
2016-06-09 12:01:26 +01:00
treeston
164d269fc5 sql fix 2016-06-09 12:54:42 +02:00
treeston
3358e943a2 Merge remote-tracking branch 'tkrokli/boss_majordomo_gossip' into 3.3.5 (PR #16726) 2016-06-09 12:52:22 +02:00
treeston
2910fa67d3 Merge remote-tracking branch 'tkrokli/zone_loch_modan' into 3.3.5 (PR #16715). 2016-06-09 12:45:13 +02:00
tkrokli
c214f987d7 Core/Scripts: npc_grandmother gossip text moved to DB
Removing one more hardcoded text line from core scripts.
Also adding correct gossip to the npc_grandmother script.

Gossip changes in this script:
- remove hardcoded text from core script
- use existing npc_text IDs in gossip enum
- add missing text rows to gossip_menu_option
- use values from gossip_menu_option in enum
- replace spawn coordinates 0.0f with GetPosition()
2016-06-08 21:59:24 +02:00
mik1893
7c25f3cffd Merge pull request #16969 from tkrokli/cant_do_this_while_moving
Core/Movement: enable item use and spell cast when dismounting
2016-06-07 20:45:25 +01:00
Shauren
8716ce2341 build fix 2016-06-07 21:26:46 +02:00
Kittnz
ecd217a4ed DB/Creature: Ghostland waypoints 2016-06-07 21:03:47 +02:00
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
Snapper
114f4c9715 Core/Quest: send SMSG_QUESTGIVER_STATUS_MULTIPLE after a quest is rewarded.
This updates the status of nearby questgivers and prevents them from being stuck in a state that's no longer valid (for example, stuck with yellow question mark until area update).
2016-06-07 10:22:23 +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
tkrokli
b6d43623a2 Core/Scripts: boss_majordomo hardcoded text
2 more text lines removed in the ongoing series:
"Remove hardcoded text from core scripts".

Core script for boss Majordomo Executus:
- add missing gossip_menu_option entries
- link the options via the table gossip_menu
- remove hardcoded text from the script
- minor enum line order sorting cleanup
- replace OnGossipSelect() with sGossipSelect()

The scripted events are unchanged.
If the script is inaccurate, make a new PR.
2016-06-05 18:29:57 +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
aaf10dccb0 Core/SmartAI: delay SMART_ACTION_FLEE_FOR_ASSIST if creature is rooted/stunned.
Prevents creatures from teleporting around when fleeing while stunned/rooted.
2016-06-04 21:17:15 +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