aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-06-09Merge remote-tracking branch 'tkrokli/npc_sayge' into 3.3.5 (PR #17101)treeston
2016-06-09Merge pull request #17281 from SnapperRy/delay_flee_for_assistmik1893
Core/SmartAI: delay SMART_ACTION_FLEE_FOR_ASSIST if creature is rooted or stunned
2016-06-09Merge remote-tracking branch 'tkrokli/boss_majordomo_gossip' into 3.3.5 (PR ↵treeston
#16726)
2016-06-09Merge remote-tracking branch 'tkrokli/zone_loch_modan' into 3.3.5 (PR #16715).treeston
2016-06-08Core/Scripts: npc_grandmother gossip text moved to DBtkrokli
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-07Merge pull request #16969 from tkrokli/cant_do_this_while_movingmik1893
Core/Movement: enable item use and spell cast when dismounting
2016-06-07build fixShauren
2016-06-07Core/Items: Missing renames 5faaddcf6bba50845f46a98a6387ffcd8abad2b8DDuarte
2016-06-07Core/Items: Rename some ITEM_PROTO_FLAGDDuarte
Source: vanilla alpha pdb
2016-06-07Core/GameObjects: Update GameObjectTemplate structure and defined more GO flagsShauren
2016-06-07Scripts/Instances: Fix a bug that would cause the Hodir encounter to never ↵treeston
properly begin. Tagging issue #17302.
2016-06-07Scripts/Outland: Fix a potential crash. Closes #17308.treeston
2016-06-07Core/Quest: send SMSG_QUESTGIVER_STATUS_MULTIPLE after a quest is rewarded.Snapper
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-05Core/Player: Fix duel edge case crashjackpoz
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-05Revert "PvP/Dueling: Fix an edge case crash that could happen if a duel ↵treeston
ended while an aura effect was being removed (Living Bomb, Unstable Affliction and similar). Closes #17177." This reverts commit 73cfbdcf9f2c26b55ab11061834c0b0ce6fc41ce.
2016-06-05PvP/Dueling: Fix an edge case crash that could happen if a duel ended while ↵treeston
an aura effect was being removed (Living Bomb, Unstable Affliction and similar). Closes #17177.
2016-06-05Core/Scripts: boss_majordomo hardcoded texttkrokli
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-04Scripts/BlackrockMountain: Nefarian. (#16346 f-u)treeston
2016-06-04Scripts/MoltenCore: Fix Ragnaros (#16346 follow-up).treeston
2016-06-04Scripts/Instances: More #16346 follow-ups. Fixed this time: Halls of ↵treeston
Reflection, Ignis the Furnace Master, Mimiron and Rend Blackhand.
2016-06-04Core/SmartAI: delay SMART_ACTION_FLEE_FOR_ASSIST if creature is rooted/stunned.Snapper
Prevents creatures from teleporting around when fleeing while stunned/rooted.
2016-06-04Core/Player: Added support cast spell for some class spellsSnapper
(Warrior's Battle Stance and Death Knight's Blood Presence) on first login. (cherry-picked from commit c8eb69df10b36d19a77743a037e700b001c8ed77) Closes #17232
2016-06-04Core/VMaps: Fix some vmap height edge casesjackpoz
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-04Update worldserver.conf.distAokromes
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-06-04AI/SmartScripts: Add action_param3 "disablePathfinding" to ↵treeston
SMART_ACTION_MOVE_TO_POS (69).
2016-06-03Compiler warning fix.treeston
2016-06-03Scripts/TotC: More follow-up to #16346. Also code style cleanup. Who names ↵treeston
all their creature pointers "temp"?
2016-06-03Scripts/Instances: Follow-up to #16346. Fix Illidan and Northrend Beasts.treeston
2016-06-03AI/PlayerAI: Fix potential edge case crash.treeston
2016-06-03Core/Scripts: move npc_mountaineer_pebblebitty to DBtkrokli
- move gossip text to DB and add quest condition - remove core script npc_mountaineer_pebblebitty, - thereby removing the file zone_loch_modan.cpp - because the original core script dialog is incorrect This version of the dialog can be verified from the following web pages: - http://wow.gamepedia.com/Key_to_Searing_Gorge_quest_chain - http://www.wowhead.com/npc=3836/mountaineer-pebblebitty#comments:id=332234
2016-06-03Core/Scripts: remove hardcoded text from npc_saygetkrokli
- remove hardcoded (and wrong) text from the script - copy valid text from broadcast_text to gossip_menu_option - gossip_menu / npc_text is already correct in TDB 335.61 - sort + clean up core script enum list and add new entries - keep gossip handling unchanged in the script (low prio)
2016-06-03Core/Scripts: remove hardcoded text from npc_locksmithtkrokli
- remove hardcoded text from script - move the gossip handling to DB SQL - move the script conditions to DB SQL - use correct gossip from broadcast_text - remove options not existing in broadcast_text - add Key to Searing Gorge option (related spell) - add The Eye of Haramad option (related spell)
2016-06-03Core/Scripts/DB: move npc_gregan_brewspewer to DBtkrokli
- Remove npc_gregan_brewspewer, thereby removing hardcoded text `#define GOSSIP_HELLO "Buy somethin', will ya?"` - Move all gossip handling to DB (gossip texts already exist in TDB)
2016-06-03Core/Movement: enable item use and spell cast when dismountingjoschiwald
Remove error message and allow spell cast or item use from mounted state on ground, especially when sitting on a landed flying mount. Current behavior is that the player will get the error message "You can't do that while moving" when trying to cast a spell or pick up an item while sitting on a flying mount after having landed. By joschiwald, closes #6236
2016-06-03Update worldserver.conf.dist (#17276)Sean Rhone
- Same as https://github.com/TrinityCore/TrinityCore/pull/17270
2016-06-02Core/Creatures: Remove resetting of UNIT_FLAG_IMMUNE_TO_PC on combat clearingTrisjdc
2016-06-02Core/Scripts Improve Felflame Infernal of Lord Jaraxxus fight (#16998)Keader
2016-06-02Merge pull request #17020 from Keader/jormungarsKittnz
Core/Scripts: [Trial of the Crusader] Improve Jormungars fight
2016-06-02Merge pull request #17259 from SnapperRy/smart_aijackpoz
Core/SmartAI: Allow SMART_ACTION_FORCE_DESPAWN on no-SmartAI GameObjects
2016-06-02Scripts/Naxxramas: Fix Frogger event. Closes #16488.treeston
2016-06-01Core/DB/Updater: engrish corrections in DBUpdater.cpp (#17262)Trond B Krokli
English grammar and syntax corrections in DBUpdater.cpp - string texts corrected, source code unchanged - comments improved and checked for typos
2016-06-01Build fix for horrendous, outdated, non-standards-compliant compilers. Such ↵treeston
as the one in VS 2013. I hate VS 2013. Closes #17260.
2016-06-01Core/SmartAI: remove unneeded check for SMART_ACTION_FORCE_DESPAWN.Snapper
Gameobjects do not need to use SmartAI in order to be targeted by other entities' scripts.
2016-05-31AI/PlayerAI: Code style cleanup.treeston
2016-05-31AI/PlayerAI: Finally implement cast logic for controlled players.treeston & Keader
2016-05-31Merge pull request #17233 from SnapperRy/heirloomsKittnz
[3.3.5] Core/Player: apply heirloom stat mods before maxing health/power at level up
2016-05-30Core/World: Remove unused config CONFIG_SIGHT_GUARDERDDuarte
2016-05-30Core/Player: apply heirloom stat modifiers before maxing out health/power at ↵Snapper
level up. This allows characters with heirlooms to have their health/mana maxed out at level up, instead of having some missing due to the increased stat modifiers from heirlooms.
2016-05-30Core/Spells: fix client crash caused by pressing ESC after using spells ↵Snapper
Neural Needle and Flaming Arrow.