aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-24DB/SAI: Darkweb Victim / Kurzeloffl
By @dr-j Closes #24995 (cherry picked from commit fb98337cc0232db5eb60cc2a4c3466c4d881212a)
2022-01-24DB/Quest: Rework support for two 'Test of Lore' questsoffl
Closes #24993 (cherry picked from commit 7908b003110d90c92608aba4c58cc93756c933a0)
2022-01-24DB/Quest: Update support for 'Protect Kanati Greycloud'offl
Closes #24992 (cherry picked from commit 2d93f1487aebfaebfcf1a84a821745d03f045e40)
2022-01-24DB/Quest: Update support for quest 'Suppression'offl
Closes #24991 (cherry picked from commit 2dd7cc88481648c6810346de9573cebb19a2c90c)
2022-01-24DB/Quest: Update support for 'Zuluhed the Whacked'offl
Closes #24990 (cherry picked from commit 37b8760ced64ae8264ab77bc6db4d33d362ad1b6)
2022-01-24DB/Creature: Tel'athion the Impureoffl
By @ZenoX92 Closes #24988 (cherry picked from commit 560a9c75ffcbc01716470d9dd80ea0b601d20fac)
2022-01-24DB/SAI: Harold Laneoffl
By @ZenoX92 Closes #24987 (cherry picked from commit b1e1fe9c3ba84c7459218486af69dd30d818045d)
2022-01-24DB/SAI: Use serverside spells to activate taxi in some scriptsoffl
Closes #24986 (cherry picked from commit 7762a53b43a0c35f305c1e14a854936e0464cf5d)
2022-01-24DB/Misc: Nesingwary Safari's Eventsoffl
By @ZenoX92 Closes #24983 (cherry picked from commit efbd50ed0eef1c05e0f6580e1db442b6ba731c80)
2022-01-24CI/CircleCI: Fix invalid merge conflict resolutionShauren
2022-01-24Core/Common: Allow config settings to be loaded as optional (PR #25137)Treeston
If the config setting is not present, returns the default without issuing a warning. (cherry picked from commit 5ad064976edfc931cdda6faffe723d7c3dfb0ae4)
2022-01-24Scripts/BlackrockSpire: Fix encage event of Pyroguard encounter (#25177)Jinnaix
(cherry picked from commit e3aa87641f08ecaa42ebef1915d7de88dc73ef25)
2022-01-24CI/CircleCI: Move codestyle and sql checks to their own step (#25175)Giacomo Pozzoni
(cherry picked from commit f35582f98a6dbf7d031646bc3efe6b88d4694dcb)
2022-01-24Log sync db queries in World::Update() loop (#25174)Giacomo Pozzoni
* Core/Misc: Log sync queries on critical path * Fix build * Rename * Fix warning * Fix no-pch * Change WarnAboutSyncQueries() to be header-only (cherry picked from commit deceb11b5fc52c8036f249d628ccc69ca5d022b3)
2022-01-24Core/Commands: Initialize commands on startup instead of first useShauren
(cherry picked from commit 0fc7b50c041131b3d6dbc011f29d6547c9ca0660)
2022-01-24Core/Mail: Load mails at login instead of on demand when queried by packets ↵Shauren
(logging in always sends one of the packets that cause mail loading anyway) (cherry picked from commit 57eaab80d9e1f6f25274f376da16e1f2f67ab4bc)
2022-01-24Core/Misc: Replace database query in WorldSession::HandleAddFriendOpcode ↵Shauren
with async version (cherry picked from commit 2f0893d279ddab86ae7c3e4fd1d7a47b15e938f7)
2022-01-24Core/SAI: Ignore SAI while evading (#25108)Giacomo Pozzoni
(cherry picked from commit 420b21be9860367c82537634fb792a4af3d9be9b)
2022-01-24Core/Loot: Prevent loot already looted item (#25084)Gildor
(cherry picked from commit 586c00fe2e226da99968ebe763d3226c6134658c)
2022-01-24Scripts/Quest: Force of Neltharaku quest credit (#24807)Trond B. Krokli
* Scripts/Quest: Force of Neltharaku quest credit **Description:** Suggested solution to resolve the kill credit double cast issue in the quest "The Force of Neltharaku" (10854). by Rushor **Changes proposed:** - Remove duplicate spell casts in the zone quest script - Remove commented-out script section - Set a couple of unit flags (anim/stand/hover) - Move return new creature script override to end of script - Move PlayerGUID, FlyTimer, and Tapped to Private - Add DB flight movement control to Enslaved Netherwing Drake - Add SpellMgr MaxAffectedTargets = 1 for spell 38762 - Add movement enum POINT_MOVE_UP - Add missing enum for quest ID **Target branch(es):** 3.3.5/master - [X] 3.3.5 - [X] master **Issues addressed:** Closes #24796 **Tests performed:** (Does it build, tested in-game, etc.) Pending for now. **Known issues and TODO list:** (add/remove lines as needed) - [X] Open PR in draft mode until testing is cleared - [ ] Compile and create local server - [ ] Test changes on local server * Rename 9999_99_99_99_world.sql to 2020_07_29_00_world.sql Co-authored-by: Rushor <Rushor@users.noreply.github.com> Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com> (cherry picked from commit e0dae8feb6607b5190d14b56ecfc10bbfa667c95)
2022-01-24Core/World: added startup log outputs for query cache initialization for ↵Ovah
detailed information. * the console will now throw a log when the feature is disabled * additionally the console will now print how long it took to initialize (cherry picked from commit 210f552ac56979430f1349006c1945b29883a2bc)
2022-01-24Core/Networking: Fixed authserver socket read handlers being called on ↵Shauren
incorrect thread (cherry picked from commit 3ad05386c844438af0dda56bbb46fa665d870c5c)
2022-01-24Core/Metric: Add new metric in World::UpdateSessions()jackpoz
Add new metric about how long adding sessions took (cherry picked from commit 5cd93df9eec1d1b310916fefecc9282e02e9cf2d)
2022-01-24Core/CreatureAI: std::chrono-ify DoSummon* methodsCarbenium
(cherry picked from commit 1245833cdd9988a2ac9c3a9374b40e76a53d889a)
2022-01-24Dep/Boost: Set boost msvc version on Windows to 14.2jackpoz
14.2 is the only supported one (Visual Studio 2019) (cherry picked from commit 2ea511b9f45d2e8ad33824fd76e848dace264469)
2022-01-24Core/Metric: Log detailed metrics about each opcode handler (#25153)Giacomo Pozzoni
* Core/Metric: Log detailed metrics about each opcode handler * Add new panel to Performance profiling dashboard and use fill(0) instead of fill(none) * Add new settings Metric.Threshold.* to be able to specify the minimum threshold for the specified metrics * Update dashboard * Change thresholds to be required to send the metrics. A TC_METRIC_DETAILED_TIMER metric with an expected threshold not configured will be ignored * Use typedef Milliseconds * Refresh realms on load (cherry picked from commit 8a2c79c850199a73fd431d04f83d6aa89733060d)
2022-01-24Core/WorldObject: std::chrono-ify SummonPersonalCloneShauren
2022-01-24Core/WorldObject: Replace non-std::chrono SummonGameObject overloadsCarbenium
Also fix intended despawn time of GOs used by the "Engineering a Disaster" quest (cherry picked from commit 8642aaaf9268364454b409db7eb62f31210e6d6c)
2022-01-24Core/WorldObject: Replace non-std::chrono SummonTrigger overloadsCarbenium
(cherry picked from commit 3620b47c412d88cc2e0ab10e2654913e5487c8ac)
2022-01-24Core/Metric: Fix setting in Performance profiling dashboardjackpoz
(cherry picked from commit f9972f2473ae2615a17ad340601a40f9723c02f4)
2022-01-24Core/WorldObject: Remove non-std::chrono SummonCreature overloadCarbenium
Remove TempSummon* SummonCreature(uint32 entry, Position const& pos, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0, uint32 vehId = 0, uint32 spellId = 0); (cherry picked from commit a41f599be72ccc88b13c1cf725f20cee4a5335d7)
2022-01-24Core/Metric: Add new cmake option WITH_DETAILED_METRICS to enable more ↵Giacomo Pozzoni
metrics (#25136) * Core/Metric: Add new cmake option WITH_DETAILED_METRICS to enable more metrics Add more detailed metrics in World::UpdateSessions(). * Attempt using C++17 features * Fix cmake typo Co-authored-by: NoName <322016+Faq@users.noreply.github.com> * Fix build with WITHOUT_METRICS * Update Performance profiling dashboard with Update sessions panel * Add panel to show sessions with update time above 100 ms * Move legends on the right and add max update time diff in the legend of sessions Co-authored-by: NoName <322016+Faq@users.noreply.github.com> (cherry picked from commit 36ef487a90d0d14c4da8ce7e19b5916b8b15056c)
2022-01-24Core/Creature: Remove non-std::chrono overload of DespawnOrUnsummonCarbenium
(cherry picked from commit 480dee3125929181b7004810516ea673c61f5811)
2022-01-24Core/EventProcessor: std::chrono-ify the remaining public APICarbenium
(cherry picked from commit 1d8782e3566393f71fbc091de57c96a9a15972cb)
2022-01-24Core/EventProcessor: std::chrono-ify CalculateTimeCarbenium
uint64 CalculateTime(uint64 t_offset) has been replaced with Milliseconds CalculateTime(Milliseconds t_offset). Also add the std::chrono-ified overload void AddEvent(BasicEvent*, Milliseconds, bool) (cherry picked from commit 92a02a5c8750913f596d7e3b58bf8439cb770c28)
2022-01-24Core/WorldObject: Partially std::chrono-ify SummonCreature overloadsCarbenium
TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, uint32 despawnTime = 0); to TempSummon* SummonCreature(uint32 entry, float x, float y, float z, float o = 0, TempSummonType despawnType = TEMPSUMMON_MANUAL_DESPAWN, Milliseconds despawnTime = 0s); (cherry picked from commit 1131229ee9c43704b11187f0b11c327db92018b6)
2022-01-24tests/EventMap: Add tests for RepeatCarbenium
(cherry picked from commit e6f36f83b8af4d973a96f01c6095b075dd12f5d5)
2022-01-24Core/EventMap: Clarify documentation of ScheduleEventCarbenium
(cherry picked from commit 7865c1c197f4eb9165ef3ab26eb4f750a5b58960)
2022-01-24Core/EventMap: Unify semantics of DelayEventsCarbenium
DelayEvents(Milliseconds delay) had different semantics than DelayEvents(Milliseconds delay, uint32 group). The first method delayed the events only in the case the internal timer already ticked at least for the amount of delay. In contrast the latter method delayed events regardless of the internal timer value. Use the latter semantics for DelayEvents(Milliseconds delay) as well which makes the outcome more predictable. Adapt tests accordingly. (cherry picked from commit 4470b9122379dc846b322a441951a03913912b71)
2022-01-24tests/EventMap: Test for event past it's execution timeCarbenium
With the switch to std::chrono return type of GetTimeUntilEvent we don't run into an overflow condition which happend with the previous uint32 return value if the events scheduled execution time is in the past. Test for this case. (cherry picked from commit e877f988d1c4e1361612f3d5c4ebe915f746aee5)
2022-01-23EventMap: Change GetTimeUntilEvent to return std::chrono typesCarbenium
(cherry picked from commit 8cb35b0d5f1462387033e6bd2f99d0ea829fdcd8)
2022-01-23EventMap: Switch internal timer over to std::chrono typeCarbenium
Adds the EventMap::Update(Milliseconds time) overload (cherry picked from commit b9795e44824c7cab58445e4a72d2113ddb451caa)
2022-01-23Scripts/Kalimdor: Use std::chrono overload of Creature::DespawnOrUnsummonCarbenium
(cherry picked from commit 40efda9726dce4fc6f432852f8d41bee606872b7)
2022-01-23Scripts/World+Outland+Spells: Use std::chrono overload of ↵Carbenium
Creature::DespawnOrUnsummon (cherry picked from commit 5832790428b124876ba48eacaf47806fd10a3c47)
2022-01-23Scripts/Northrend: Use std::chrono overload of Creature::DespawnOrUnsummonCarbenium
(cherry picked from commit fc9e7226c0785fd12b01b724ed3666e6c08dd017)
2022-01-23Core/Misc: Use std::chrono overload of Creature::DespawnOrUnsummonCarbenium
(cherry picked from commit c39eb9b5041950ce3af89f82848bd3e1f3a6e0af)
2022-01-23Scripts/EasternKingdoms: Use std::chrono overload of Creature::DespawnOrUnsummonCarbenium
(cherry picked from commit d1a39a2ebf3bb55998696c424cd58f3fcdedd66a)
2022-01-23Core/Crypto: c++17-ify crypto code cherry picked earlier that was downgraded ↵Shauren
to c++14
2022-01-23Core/EscortAI: std::chrono-ify SetPauseTimerCarbenium
(cherry picked from commit cdaf890af4b5bb7ce256752b49bba2c0f3ed9264)
2022-01-23Core/EscortAI: std::chrono-ify AddWaypointCarbenium
(cherry picked from commit 4b9fdc5d3d1278269aaf218cea94f23688e4bca1)