aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-08-07Core/CrashHandler: Attempt to extract C++ exception object in uncaught ↵Shauren
exception hander
2020-08-07Core/Units: add new functionality for units to block or enable combat ↵Ovah
interactions (#25168) * Core/Units: add new functionality for units to block or enable combat entirely via helper to reflect what CREATURE_DIFFICULTYFLAGS_IGNORE_COMBAT and client AI functions imply * yeah... * Nuke Creature::IsCombatDisallowed helper as its unused by now * no combat extra flag may now be changed on transforms if the transformed entry does not have the flag
2020-08-07Core/Updater: Fix detection of the mysql binary when a directory is given as ↵Carbenium
path This ensures that we never pass a directory path StartProcess which results in a crash. Closes #25216
2020-08-06Core/PacketIO: Name previously unknown fields in lfg packetsShauren
2020-08-06Core/Misc: Code cleanupjackpoz
2020-08-06Core/Packets: updated CMSG_LFG_JOIN and CMSG_LFG_LEAVE to new packet handlingOvahlord
(cherry picked from commit 6abeb365842c506f2151e01e87e2981ee7ff0a7e) # Conflicts: # src/server/game/Handlers/LFGHandler.cpp # src/server/game/Server/Packets/AllPackets.h # src/server/game/Server/WorldSession.h # src/server/game/Server/WorldSocket.cpp
2020-08-06Core/Unit: Creatures' minions now engage in combat if their controller is ↵Jinnaix
attacked (PR #25219) Closes #24340
2020-08-06Core/Object: Deduplicate some checksTreeston
2020-08-06Core/Battlegrounds: Fix error messages in Isle of Conquestjackpoz
Fixes #24032
2020-08-06Core/SAI: Fix creatures casting spells while moving with flag ↵jackpoz
SMARTCAST_COMBAT_MOVE Fixes #24019
2020-08-06Scripts/Comamnds: Improve ".debug objectcount" command (#25208)Giacomo Pozzoni
* Scripts/Comamnds: Improve ".debug objectcount" command Include the top 5 most common creatures in the map * Use C++ features to copy data * Fix build warnings * Update src/server/scripts/Commands/cs_debug.cpp Co-authored-by: Shauren <shauren.trinity@gmail.com> * Update src/server/scripts/Commands/cs_debug.cpp Co-authored-by: Shauren <shauren.trinity@gmail.com> * Update src/server/scripts/Commands/cs_debug.cpp Co-authored-by: Shauren <shauren.trinity@gmail.com> * Move CreatureCountWorker out of function and use template for unhandled cases * Code cleanup Co-authored-by: Shauren <shauren.trinity@gmail.com>
2020-08-06Core/Authserver: Deprecation of sha_pass_hash (PR #25138)Treeston
see also #25157
2020-08-05Scripts/Kologarn: Apply CREATURE_FLAG_EXTRA_NO_COMBAT on ↵jackpoz
NPC_ARM_SWEEP_STALKER and NPC_RUBBLE_STALKER
2020-08-05Scripts/Naxxramas: Frogger event improvements (#25202)Gildor
* Scripts/Naxxramas: Frogger event improvements * Prevent Living Poison accumulation * Now Living Poison cast Explode * check for a nearby player * move event to the frogger trigger's AI * Initialize and removing unnecessary things * applying suggestions * remove unnecessary header * Rename 9999_99_99_99_world.sql to 2020_08_05_00_world.sql
2020-08-05Scripts/World: updated Training Dummy script to modern model and removed ↵Ovahlord
pointless GameTime shenanigans
2020-08-04Scripts/AzjolNerub: Fix potential error in pound spell scriptCarbenium
Cast damage spell in AfterEffectApply instead OnEffectHitTarget. This avoids the scenario where we try to apply an aura to a potential dead target. Ref #21856
2020-08-04Core/Common: Move old-style pointer+size HexStr methods to Trinity::Impl ↵Treeston
where they can't hurt anyone
2020-08-04Core/Misc: Fix compile errors found with msvc /permissive-Shauren
2020-08-04Core/Metric: Require WITH_DETAILED_METRICS CMake flag for MMaps metricjackpoz
2020-08-04Core/Misc: Fix static analysis issues (#25194)Giacomo Pozzoni
2020-08-03Scripts/Outland: Convert 'Captain Tyralius' to SAI (#25188)Trond B. Krokli
Closes #24676
2020-08-03Core/Crypto: Initialize class member variables after crypto refactorShauren
2020-08-03Core/DB: Split `accounts`.`session_key` into `session_key_auth` (3.3.5) and ↵Treeston
`session_key_bnet` (master), so the branches will no longer break each other's realm switching.
2020-08-03Core/Authserver: Validate length of session key field after ↵Shauren
bfb041246f5c7c499ff365b38a281b0784f0bdb7
2020-08-02Core/Authserver: Re-organize the `accounts` table (PR #25135)Treeston
- no longer use sha_pass_hash for anything else core-side (.account, SOAP, RA) - salt/verifier/session_key are now binary - old s/v/sha_pass_hash fields kept around for backwards compatibility - sha_pass_hash is still updated (for now), s/v are not - sha_pass_hash is only read if s/v have been manually changed - SRP6 b now uses the full 32 bytes of randomness (instead of randomly only using 19)
2020-08-01Scripts/AzjolNerub: Update Anub'Arak encounter to current coding standards ↵Peter Keresztes Schmidt
(#25192) * Scripts/AzjolNerub: Update Anub'Arak to current coding standards * no functional changes * Scripts/AzjolNerub: Update Anub'Arak Darter to current coding standards * no functional changes * Scripts/AzjolNerub: Update Anub'Arak Assassin to current coding standards * no functional changes * Scripts/AzjolNerub: Update Anub'Arak Guardian to current coding standards * no functional changes * Scripts/AzjolNerub: Update Anub'Arak Venomancer to current coding standards * no functional changes * Scripts/AzjolNerub: Update Anub'Arak Impale Target to current coding standards * Scripts/AzjolNerub: Update Anub'Arak Pound spell to current coding standards * Scripts/AzjolNerub: Update Anub'Arak carrion beetles aura script to current coding standards
2020-08-01Scripts/Gundrak: Update Slad'ran encounter to current coding standards (#25180)Peter Keresztes Schmidt
* Scripts/Gundrak: Update Slad'Ran's script to use TaskScheduler * No functional changes * Scripts/Gundrak: Update Slad'Ran's adds to use TaskScheduler * No functional changes
2020-08-01 Scripts/Gundrak: Update Drakkari Colossus encounter to current coding ↵Peter Keresztes Schmidt
standards (#25182) * Scripts/Gundrak: Update Drakkari Colossus to current coding standards * no functional changes * Scripts/Gundrak: Update Drakkari Elemental to current coding standards * no functional changes * Scripts/Gundrak: Update Living Mojo to current coding standards * no functional changes
2020-08-01Scripts/MoltenCore: Update Golemagg encounter to current coding standards ↵Peter Keresztes Schmidt
(#25183) * Scripts/MoltenCore: Update Golemagg to current coding standards * no functional changes * Scripts/MoltenCore: Update Core Ranger to current coding standards * no functional changes
2020-08-01Scripts/AhnKahet: Update Herald Volazj to current coding standardsCarbenium
* convert to BossAI * no functional changes
2020-08-01Scripts/AV: Update Vanndar's script to use TaskSchedulerCarbenium
* No functional changes
2020-08-01Core/Common: Merge TimeTrackerSmall with TimeTrackerCarbenium
2020-08-01Core/Common: Add a std::chrono interface to TimeTrackerSmallCarbenium
New methods: TimeTrackerSmall(Milliseconds expiry); void Update(Milliseconds diff); void Reset(Milliseconds expiry) Milliseconds GetExpiry() const Removed methods: int32 GetExpiry() const Also add basic unit tests. Core/Scripts: Use std::chrono interface of TimeTrackerSmall
2020-07-31Core/DBLayer: Add nicer api for SQLQueryHoldersShauren
2020-07-31Core/Misc: Fix static analysis issues (#25178)Giacomo Pozzoni
2020-07-31Core/DataStores: Rename TalentTabEntry::CategoryEnumID back to PetTalentMaskShauren
2020-07-31Core/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.
2020-07-31Scripts/BlackrockSpire: Fix encage event of Pyroguard encounter (#25177)Jinnaix
2020-07-30Log 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
2020-07-30Core/Commands: Initialize commands on startup instead of first useShauren
2020-07-30Core/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)
2020-07-30Core/Mail: Refactor mail loading to execute 2 database queries instead of ↵Shauren
1+mails.size()
2020-07-30Core/Misc: Replace database query in WorldSession::HandleAddFriendOpcode ↵Shauren
with async version
2020-07-30Build fix for certain compiler configurations on Linux. 7f7fa8b follow-up.Treeston
2020-07-30Scripts/Deadmines: Doors after Rhahk'Zor, Sneed and Gilnid (#25107)Somebody
* Fix doors opening after killing Sneed and Gilnid in the Deadmines dungeon * Add SQL file * Update 2020_99_99_00_world.sql SQL conventions * Change SAI door opening into C++ door opening and make it use SetBossState. * Delete 2020_99_99_00_world.sql Replaced by different sql file * Make CircleCI happy * Change const to constexpr for EncounterCount variable * Update src/server/scripts/EasternKingdoms/Deadmines/deadmines.h Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com> * Update src/server/scripts/EasternKingdoms/Deadmines/deadmines.h Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com> * Rename 9999_99_99_00_world.sql to 2020_07_30_00_world.sql Co-authored-by: Peter Keresztes Schmidt <carbenium@outlook.com> Co-authored-by: Giacomo Pozzoni <giacomopoz@gmail.com>
2020-07-29Core/SAI: Ignore SAI while evading (#25108)Giacomo Pozzoni
2020-07-29Core/Loot: Prevent loot already looted item (#25084)Gildor
2020-07-29Scripts/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>
2020-07-29Core/Authserver: Split SRP6 into its own file (PR #25131)Treeston
2020-07-28Core/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