Commit Graph
3372 Commits
Author SHA1 Message Date
Aqua Deus 9f69176cbb Scripts/Spells: Implement dh talent "Wave of Debilitation" (#31510)
Signed-off-by: luis <[email protected]>
2026-02-01 17:43:08 -03:00
Cristian Vintila fff848d87f Scrips/Spells: Implement druid talent Thorns of Iron (#31537)
Signed-off-by: luis <[email protected]>
2026-02-01 17:41:43 -03:00
Aqua Deus b74db3d733 Scripts/Spells: Handle demon hunter soul fragments counter (#31504)
Signed-off-by: luis <[email protected]>
2026-02-01 16:29:42 -03:00
luis 67b0f6bf0b Improved mob fanning 2026-02-01 12:03:01 -03:00
ReZaRrandModoX 2db00e5c7c Scripts/WanderingIsle: Implement Singing Pools AreaTriggers (#31629)
Co-authored-by: ModoX <[email protected]>
Signed-off-by: luis <[email protected]>
2026-02-01 11:33:53 -03:00
LuzifixandShantalya 31fafec809 Core/Emote: Lean now reset if player move (#31570)
Co-authored-by: Shantalya <[email protected]>
Signed-off-by: luis <[email protected]>
2026-02-01 11:28:45 -03:00
Naddley 287e047763 Scripts/IsleOfDorn: Implement Quest: "Vereesas Tale" (#31615)
Signed-off-by: luis <[email protected]>
2026-02-01 11:24:11 -03:00
Aqua Deus 8b86485cd6 Core/Auras: Implement SPELL_AURA_DISABLE_AUTOATTACK (#31542)
Signed-off-by: luis <[email protected]>
2026-02-01 11:23:26 -03:00
Golrag 244f675627 Scripts/Arenas: Implement Empyrean Domain (#31427)
Signed-off-by: luis <[email protected]>
2026-02-01 11:22:37 -03:00
Golrag 7b757c9175 Core/Movement: Added ActionResultSetter for MovementStopReason to LaunchMoveSpline
Signed-off-by: luis <[email protected]>
2026-02-01 11:11:36 -03:00
Aqua Deus 21415d1dc0 Core/Spells: Spells with attribute SPELL_ATTR2_IGNORE_LINE_OF_SIGHT can bypass SPELL_AURA_INTERFERE_ENEMY_TARGETING and SPELL_AURA_INTERFERE_ALL_TARGETING (#31548)
Signed-off-by: luis <[email protected]>
2026-02-01 11:10:55 -03:00
Aqua Deus 5289073a1e Scripts/EyeOfAzshara: Implement King Deepbeard encounter (#31420)
Signed-off-by: luis <[email protected]>
2026-02-01 11:10:10 -03:00
Aqua Deus d6423deebb Scripts/Spells: Implement dh talent "Soul Carver" (#31503)
Signed-off-by: luis <[email protected]>
2026-02-01 10:52:39 -03:00
Aqua Deus 243fde3c78 Scripts/NeltharionsLair: Implement Rokmora encounter (#31162)
Signed-off-by: luis <[email protected]>
2026-02-01 10:51:39 -03:00
Cristian Vintila 40d77c41d4 Scripts/Spells: Implement Void Volley (#31502)
Signed-off-by: luis <[email protected]>
2026-01-31 18:39:22 -03:00
luis 3681010c2e new 12x data 2026-01-31 18:30:40 -03:00
luis c66c3947fe 12x data 2026-01-31 18:20:43 -03:00
luis b4992b2f38 65655 2026-01-31 18:16:56 -03:00
Shauren 441a9ff35f Core/Misc: Update expansions enum
Signed-off-by: luis <[email protected]>
2026-01-31 18:16:49 -03:00
luis 41806f4a6b Mob fanning system 2026-01-31 18:08:29 -03:00
luis c3f6469c08 typo 2026-01-31 12:32:37 -03:00
luis 04109fc66d agatho 2026-01-30 20:37:05 -03:00
luis 540f699cc2 update latest 2026-01-30 18:07:10 -03:00
luis 21155f62f7 Mising data 2026-01-29 22:06:45 -03:00
luis 189f4b97d2 Fix all missing data for creature template 2026-01-29 21:14:34 -03:00
luis 3e23cd82ee missing data 2026-01-29 20:53:37 -03:00
luis 67343dc1fd Missing spawns 2026-01-29 20:45:42 -03:00
agathoandClaude Opus 4.5 9bee356c0b fix(playerbot): 12.0 API compatibility for InnkeeperInteractionManager and BotMovement
TrinityCore 12.0 API changes applied:

InnkeeperInteractionManager.cpp:
- REST API: Use RestMgr for rest flag management instead of Player methods
  - SetRestFlag/HasRestFlag now via player->GetRestMgr()
  - SetRestState takes (RestTypes, PlayerRestState) not old REST_TYPE_IN_TAVERN
  - GetRestBonus via RestMgr instead of GetRestState()
- Homebind: Use player->m_homebind directly (GetHomebind() removed)
- AreaFlags: Use LinkedChat instead of Capital for city detection
- Added DB2Stores.h and RestMgr.h includes

InnkeeperInteractionManager.h:
- Fixed CalculateDistanceToQuestZones signature to include mapId parameter

BotMovementController.cpp:
- Fixed include paths for BotMovement subdirectory structure

Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-01-30 00:11:08 +01:00
agathoandClaude Opus 4.5 5521736b07 feat(playerbot): Update to WoW 12.0 protocol compatibility
CRITICAL 12.0 API Changes:
- Difficulty enum: uint8 → int16
- CastItemUseSpell: int32[2] → std::array<int32, 3>
- SpellCastRequest.Misc: 2 → 3 elements
- MovementInfo: New gravityModifier field
- SpellTargetData: Unknown1127_1/2 → HousingGUID/HousingIsResident
- SpellCastRequest field renames:
  - OptionalCurrencies → ExtraCurrencyCosts
  - OptionalReagents → CraftingReagents
  - RemovedModifications → RemovedReagents
  - CraftingFlags → CraftingCastFlags
- WriteBit() → WorldPackets::Bits<1>() pattern in packet serialization

Files updated:
- SpellPacketBuilder.cpp: Complete 12.0 packet serialization update
- PlayerBotHooks.h: Difficulty enum forward declaration
- GroupCoordinator.h: Difficulty enum forward declaration
- Action.cpp, RestStrategy.cpp, WarlockAI.cpp, CombatBehaviorIntegration.cpp,
  InventoryManager.cpp, BotActionProcessor.cpp: CastItemUseSpell signature

Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-01-30 00:11:08 +01:00
agathoandClaude Opus 4.5 227b072c5d feat(playerbot): Port GOD_TIER humanization system and BG optimization
Ported 9 commits from TrinityCore playerbot-dev branch:

## GOD_TIER Humanization System (~25,000+ lines)
- HumanizationManager: Core orchestrator for bot humanization
- ActivityExecutor: Executes activities with human-like behavior
- ActivitySessionManager: Manages activity sessions with timing
- PersonalityProfile: Personality-based behavior customization
- CityLifeBehaviorManager: City activities (AH, mail, bank, vendors)
- AchievementManager & AchievementGrinder: Achievement hunting
- ReputationGrindManager: Faction reputation grinding
- GoldFarmingManager: Gold tracking and farming methods
- InstanceFarmingManager: Mount/transmog instance farming
- AFKSimulator: AFK behavior simulation
- FishingSessionManager: Fishing session management
- MountCollectionManager: Mount collection tracking
- PetCollectionManager: Pet collection tracking
- RidingManager: Auto riding skill and mount acquisition

## BG Performance Optimization
- BGSpatialQueryCache: O(1) flag carrier lookups (was O(n))
  - From ~24ms/tick to ~3ms/tick per bot in 40v40 BGs
- Enhanced all 14 battleground scripts to enterprise-grade quality

## Build and Bug Fixes
- Fixed dungeon interface mismatches
- Added DungeonTypes.h for type definitions
- Fixed FormationType enum visibility
- Fixed threadpool duplicate module registration crash

New directories: Humanization/, Achievements/, Reputation/, Economy/, Companion/
New files: ~70+ files across all directories

Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-01-30 00:11:08 +01:00
luis abbfb10ce6 new initial zones fixes data 2026-01-29 20:02:46 -03:00
Shauren 1a836a6b8f Remove duplicate include
Signed-off-by: luis <[email protected]>
2026-01-29 17:28:10 -03:00
luis 328f8b55cd 12.0 full 2026-01-29 08:44:52 -03:00
luis df795f8dca typo 2026-01-29 08:44:04 -03:00
Shauren d71835475e Core: Updated to 12.0.0
Signed-off-by: luis <[email protected]>
2026-01-29 08:40:48 -03:00
luis 8d95b1f130 Fix latest update 2026-01-28 18:45:01 -03:00
luis 64d8a37b22 Update to agatho 2026-01-28 17:29:07 -03:00
luis dcc6515a20 Blizzlike fixes 2026-01-28 16:35:21 -03:00
agathoandClaude Opus 4.5 579c03f591 feat(dungeon): Enable all Vanilla dungeon scripts
- Re-enable AddSC_* registration calls in DungeonScriptLoader
- Fix DeadminesScript to have AddSC function at global scope
- All 10 Vanilla dungeons now registered at startup:
  - Deadmines, Ragefire Chasm, Wailing Caverns, The Stockade
  - Shadowfang Keep, Blackfathom Deeps, Gnomeregan
  - Razorfen Kraul, Scarlet Monastery, Razorfen Downs

Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-01-27 21:37:50 +01:00
agathoandClaude Opus 4.5 ba64e42a69 fix(dungeon): TrinityCore 11.x API compatibility and build fixes
- Fix Group iteration to use auto const& slot instead of GroupReference
- Change DungeonMetrics/CoordinationMetrics return to const& for std::atomic
- Add Coordination/Dungeon files to CMakeLists.txt build
- Add missing #include <map> in WipeRecoveryManager.h
- Fix DungeonCoordinator to use Group::GetLfgRoles() with lfg:: namespace
- Add ExecuteBlackfathomDeepsStrategies to encounter strategy interface
- Add _encounterDatabase member for quick encounter lookup
- Implement all expansion-specific dungeon loading methods (Classic-DF)
- Fix DungeonEncounter constructor calls (id, name, creatureId)
- Comment out non-existent AddSC_* script calls in DungeonScriptLoader
- Add default constructors to structs used with try_emplace
- Fix DungeonCoordinator include path in DungeonAutonomyManager

Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-01-27 21:27:54 +01:00
agathoandClaude Opus 4.5 b5adecd26f feat(dungeon): Port dungeon commands and script loader integration
Add .bot dungeon commands for controlling autonomous navigation:
- .bot dungeon pause   - Critical safeguard to stop bots
- .bot dungeon resume  - Continue autonomous navigation
- .bot dungeon status  - View state and group readiness
- .bot dungeon enable  - Enable autonomy for group
- .bot dungeon disable - Disable autonomy (manual control)
- .bot dungeon aggro   - Set aggression level (conservative/normal/aggressive/speedrun)

Integrate DungeonScriptLoader into PlayerbotWorldScript to
initialize all dungeon-specific bot AI scripts at startup.

Ported commit: 8037d6cbe1 feat(dungeon): Add dungeon commands and script loader integration

Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-01-27 18:36:41 +01:00
agathoandClaude Opus 4.5 34d6c80420 feat(dungeon): Port autonomous navigation system from playerbot-dev
Add DungeonAutonomyManager for bot dungeon navigation:
- Tank-driven pulling decisions based on group readiness
- Pause/resume functionality as critical safeguard (.bot dungeon pause)
- Role-specific AI updates (tank, healer, DPS)
- Configurable aggression levels (conservative to speed-run)
- Integration with existing DungeonCoordinator

Integrated into BotAI::UpdateAI for dungeon instance detection.

Ported commit: 0bb7d0ea0f feat(dungeon): Add autonomous navigation system

Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-01-27 18:03:36 +01:00
agathoandClaude Opus 4.5 2277d32f74 feat(movement): Port BotMovement system Phase 1 from playerbot-dev
Port movement system refactoring commits from TrinityCore playerbot-dev:
- Phase 1.1: Core Infrastructure Setup (BotMovementDefines, ValidationResult)
- Phase 1.2: Configuration System (BotMovementConfig)
- Phase 1.3: BotMovementManager Singleton
- Phase 1.6: BotMovementController Base Implementation
- Phase 1.7: Integration Testing

Movement System Components:
- BotMovementManager: Singleton managing bot movement globally
- BotMovementController: Per-bot movement control
- BotMovementConfig: Configuration with validation levels and thresholds
- PositionValidator: Position bounds and map ID validation
- GroundValidator: Ground/terrain validation
- PathCache: Path caching for performance
- MovementMetrics: Movement statistics tracking
- ValidationResult: Validation result structures

Key Features:
- ValidationLevel enum (None, Basic, Standard, Strict)
- MovementStateType enum (Idle, Ground, Swimming, Flying, Falling, Stuck)
- RecoveryLevel progressive recovery (5 levels from path recalculation to evade)
- Stuck detection with configurable thresholds
- Path caching with configurable TTL
- NaN/Infinity coordinate detection
- Map ID validation
- Comprehensive integration tests

Ported commits:
- ad0cf3c6af Phase 1.1 - Core Infrastructure Setup
- a819487d00 Phase 1.2 - Configuration System
- 4abacbc805, f6aab87e7d, 7713626fc0 Phase 1.3 - BotMovementManager
- f96836f550 Phase 1.6 - BotMovementController Base
- 79ddf8479d Phase 1.7 - Integration Testing

Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-01-27 17:49:19 +01:00
agathoandClaude Opus 4.5 3dbf17ae4b fix(playerbot): Port healing/tank fixes and BG crash fixes from playerbot-dev
Port 2 additional commits from TrinityCore playerbot-dev:

## fix(playerbot): Fix healing and tank/aggro systems (df48a7f8)
- GroupCombatTrigger: Remove IsInCombat() early return that broke healing
- ThreatAssistant: Implement IsTauntImmune() for boss immunity detection
- ThreatAssistant: Use GroupMemberResolver in GetCombatEnemies()
- ThreatAssistant: Fix GetThreatPercentage() edge case

Fixes healers not healing and tanks not managing threat during combat.

## fix(battleground): Fix BG premature ending and bot teleport crash (6ac81761)
- Add MonitorActiveBattlegrounds() to detect BG status transitions
- Fix crash in Map::SendObjectUpdates by removing premature bg->AddPlayer()
- Add BattlegroundCoordinatorManager for centralized BG coordination
- Update all 14 BG scripts with API compatibility fixes

Fixes BGs ending prematurely and teleport-related crashes.

Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-01-27 17:22:10 +01:00
agathoandClaude Opus 4.5 30e21a8e6a feat(playerbot): Port 37 commits from TrinityCore playerbot-dev branch
Enterprise-grade port of combat system refactoring and new coordinators
from TrinityCore playerbot-dev branch (commits after b146f7eee4).

## Phase 1: Spell Deduplication (10 commits)
- Centralized spell registry in SpellValidation_WoW112.h
- All 13 ClassAI files use WoW112Spells:: namespace
- Added Common namespaces for base AI compatibility
- Removed legacy/obsolete spell IDs

## Phase 2: Performance & Architecture (5 commits)
- CombatContextDetector for context-aware throttling
- IGroupCoordinator interface (fixed layer violations)
- Member caching: O(N²) → O(N) in GroupCombatStrategy
- ThreatCoordinator circular dependency fix

## Phase 3: Architecture Cleanup (4 commits)
- Consolidated interrupt coordination to InterruptCoordinator
- Consolidated CC coordination to CrowdControlManager
- Consolidated target selection to TacticalCoordinator
- Added Diminishing Returns (DR) tracking

## Phase 4: Event-Driven System (7 commits)
- CombatEventRouter event infrastructure
- Core hooks in Unit.cpp, Spell.cpp, SpellAuras.cpp, ThreatManager.cpp
- Event-driven coordinators (~90% polling reduction)

## Phase 5: New Coordinators (2 commits)
- DungeonCoordinator (trash, bosses, M+, wipe recovery)
- ArenaCoordinator (kill targets, burst, CC chains)
- BattlegroundCoordinator (objectives, roles, strategy)
- RaidCoordinator (tank swaps, healer assignments, CDs)
- 14 BG-specific scripts for all battlegrounds

Statistics: 130 files, +7930/-3958 lines

Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-01-27 16:14:19 +01:00
agatho 40b599a50e Merge branch 'main' of https://github.com/Thordekk/WowCommunityProject
# Conflicts:
#	.github/workflows/codeql-analysis.yml
#	.github/workflows/docs-validation.yml
#	.github/workflows/linux-build.yml
#	.github/workflows/notifications.yml
#	.github/workflows/playerbot-ci.yml
#	.github/workflows/playerbot-dependency-updates.yml
#	.github/workflows/playerbot-nightly-review.yml
#	.github/workflows/release.yml
#	.github/workflows/stale.yml
#	.github/workflows/upstream-sync.yml
#	.github/workflows/win-x64-build.yml
#	src/modules/Playerbot/AI/ClassAI/BaselineRotationManager.cpp
#	src/modules/Playerbot/AI/ClassAI/ClassAI.cpp
#	src/modules/Playerbot/Tests/BotSessionIntegrationTest.cpp
#	src/modules/Playerbot/Tests/SocketCrashAnalyzer.cpp
2026-01-27 05:38:40 +01:00
Shauren 0db9ca151c Core/Objects: Implement SetUpdateField
Signed-off-by: luis <[email protected]>
2026-01-25 20:59:13 -03:00
ModoX 109ffc2fd8 DB/Phases: Added some Legion (Remix) phase names
Signed-off-by: luis <[email protected]>
2026-01-25 20:58:20 -03:00
Hyacinthrose 167e1dbed0 DB/Westfall: Fix targettype for Horatio Laine actionlist (#31637)
Signed-off-by: luis <[email protected]>
2026-01-25 20:57:11 -03:00
Hyacinthrose 161c2c5131 DB/Westfall: Added paths for Protectors Weaver, Dutfield, and Korelor (#31633)
Signed-off-by: luis <[email protected]>
2026-01-25 20:56:01 -03:00