Fixing Predatory Strike Talent#18
Closed
Warpten wants to merge 12 commits into
Closed
Conversation
Contributor
Author
|
Here is the ticket. |
Contributor
Author
|
Fork deleted to be remade brand new. Sorry for the deletion of your comment kaelima. |
…itHub et sa gestion des accents ...)
… de l'invisibilité. Risque de revert possible.
ghost
pushed a commit
to rebirth-core/Rebirth---WoW
that referenced
this pull request
Feb 14, 2012
Core/Misc: * Fixed an ancient bug. * Fixed some Engrish.
This was referenced Feb 17, 2012
This was referenced Sep 16, 2013
Closed
This was referenced Sep 18, 2013
ike3
referenced
this pull request
in ike3/mangosbot
Aug 25, 2014
Mark updated data bytes. Taken from One backport
mynew4
referenced
this pull request
Oct 4, 2015
Implemented: ca83e14 ee1c1b9 18e4ab6 bf37446 cb854a2 * This adds separate (per map) guid sequences depending on object type * Ported map object container from cmangos/mangos-wotlk@a2d396e * Added type container visitor for TypeUnorderedMapContainer * Implemented helper function to erase unique pairs from multimap containers * Moved object storage of all objects except players and transports to map level * Added containers linking database spawn id with creature/gameobject in world * Renamed DBTableGuid to spawnId * Added a separate spawn id sequence generator for creatures and gameobjects - this will be used in db tables * Moved building SMSG_UPDATE_OBJECT - updatefields changes broadcast to map update * Added new function to return but not increment guid * Adjusted .debug loadcells to show low guid in map before/after load * Added debug messages for creature spawn/destroy, for map guid debugging * Store all Gameobjects and Creatures added to OutdoorPvP, so the callback script can be removed when OutdoorPvP instance is destroyed.
Closed
Closed
Declipe
pushed a commit
to Declipe/TrinityCore
that referenced
this pull request
Dec 28, 2016
Core/Scripts: Thalorien Dawnseeker - add phasing spell - include ScriptedGossip.h
Closed
MysterioPRM
pushed a commit
to MysterioPRM/TrinityCore
that referenced
this pull request
Mar 15, 2021
pull from trinitycore master
xuehyc
referenced
this pull request
in xuehyc/XCore
Jan 24, 2023
xuehyc
referenced
this pull request
in xuehyc/XCore
Jan 24, 2023
Valeomega
referenced
this pull request
in Valeomega/MewCore
Sep 30, 2023
Scripts/AreaTrigger: Add Scripts for CaptureFlag action
T1ti
pushed a commit
to T1ti/TrinityCore
that referenced
this pull request
Jul 31, 2025
* Call hooks * Refactor Custom Instance Class * Read and Write * Data Hooks
agatho
referenced
this pull request
in agatho/TrinityCore
Oct 5, 2025
… CAUSE FOUND BREAKTHROUGH: After 17 comprehensive fixes, discovered the REAL deadlock source! ROOT CAUSE: The "resource deadlock would occur" exception was NOT from any visible mutex member variables. It was hidden inside phmap::parallel_flat_hash_map TEMPLATE PARAMETERS where std::shared_mutex was specified as the 8th template argument (internal mutex type). CRITICAL DISCOVERY: Previous Fixes #1-17 replaced ALL std::shared_mutex member variables across 85+ files: ✓ Fix #15: InterruptManager mutex ✓ Fix #16: Entire AI subsystem (29 files) ✓ Fix #17: All other subsystems (28 files - Account/Database/Interaction/etc.) But the deadlock persisted because we missed template parameters: LOCATIONS FIXED: 1. src/modules/Playerbot/Account/BotAccountMgr.h:202 BEFORE: using AccountMap = phmap::parallel_flat_hash_map< uint32, // Key BotAccountInfo, // Value phmap::priv::hash_default_hash<uint32>, phmap::priv::hash_default_eq<uint32>, std::allocator<std::pair<const uint32, BotAccountInfo>>, 4, // Submap count phmap::NullMutex, // Submap mutex std::shared_mutex // ← DEADLOCK SOURCE! >; AFTER: std::recursive_mutex // ✓ FIXED 2. src/modules/Playerbot/Database/BotDatabasePool.h:205 BEFORE: using CacheMap = phmap::parallel_flat_hash_map< std::string, CacheEntry, ..., std::shared_mutex // ← DEADLOCK! >; AFTER: std::recursive_mutex // ✓ FIXED 3. src/modules/Playerbot/Database/BotDatabasePool.h:220 BEFORE: using PreparedStatementMap = phmap::parallel_flat_hash_map< std::string, PreparedStatementInfo, ..., std::shared_mutex // ← DEADLOCK! >; AFTER: std::recursive_mutex // ✓ FIXED WHY THIS WAS IMPOSSIBLE TO FIND: 1. Template parameters are invisible to grep searches for "std::shared_mutex _mutex" 2. The mutex is INTERNAL to the hashmap, not a class member variable 3. Exception stack trace doesn't show which mutex failed 4. Call chain: BotAI::Update() → Strategy → AccountMgr → parallel_flat_hash_map → INTERNAL mutex deadlock COMPREHENSIVE SEARCH CONDUCTED: - Searched entire TrinityCore codebase (src/server/game/, src/common/, src/shared/) - Searched all Playerbot headers and implementation files - Analyzed phmap template instantiations - Deep log analysis with cpp-server-debugger agent FILES MODIFIED: - src/modules/Playerbot/Account/BotAccountMgr.h (1 template parameter) - src/modules/Playerbot/Database/BotDatabasePool.h (2 template parameters) BUILD STATUS: ✓ Playerbot module compiled successfully ✓ Worldserver built successfully (worldserver.exe) ✓ Deployed to M:/Wplayerbot/worldserver.exe EXPECTED RESULT: ZERO "resource deadlock would occur" exceptions across all 50-100 concurrent bots. This was the most subtle deadlock bug - hidden in concurrent data structure template parameters, making it invisible to all previous systematic mutex replacement efforts. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
At the moment the talent is working, but not completely.
A druid level 80, with no gear, will receive 120 attack power from the talent, thanks to his level. The attack power from the weapon, however, is NOT taken into consideration. The expected behavior is that the talent applies a multiplier on the feral attack power granted by the weapon. Currently this is not implemented. This commit fixes that.
Thanks and have a nice day.
P.S. : Tracker is down atm, so I can't link the ticket right now. Will do so as soon as tracker's available again.