1258 Commits
Author SHA1 Message Date
luis 9087650fe4 Currency: Add schema, packets, opcodes and feature flag for warband currency transfer
Add infrastructure for account-wide currency transfer system:
- warband_currency_transfer_log table and prepared statements
- AccountCurrencyTransferResult enum in SharedDefines.h
- IsAccountWide/IsAccountTransferable helpers on CurrencyTypesEntry
- Remove NYI from CurrencyTypesFlags::AccountWide
- 6 packet classes (3 CMSG + 3 SMSG) in MiscPackets
- Wire 6 opcodes to real handlers
- Enable IsAccountCurrencyTransferEnabled feature flag
- Stub CurrencyHandler.cpp with placeholder implementations
2026-02-25 20:52:06 -03:00
luis 6e05280d1a Add warband reputation schema, statements, and faction config
Add database tables and ObjectMgr infrastructure for account-wide
reputation sharing:
- warband_reputation_faction (world DB): eligible factions config
- warband_reputation (characters DB): per-account highest standings
- Prepared statements for both world and character databases
- ObjectMgr::LoadWarbandReputationFactions() called at startup
- Pre-populate with TWW renown factions (2570, 2590, 2594, 2600)
2026-02-25 19:34:08 -03:00
luis 3849b795db Initial char garrisons dont touch is work in progress will finish tomorrow 2026-02-24 21:23:48 -03:00
luis 49b0d7a5ec Garrison: Phase 1 - Complete WoD core systems and multi-garrison framework
Load 12 new Garr* DB2 stores (GarrBuildingDoodadSet, GarrFollItemSetMember,
GarrFollowerLevelXP, GarrFollowerQuality, GarrFollowerType,
GarrItemLevelUpgradeData, GarrMissionSet, GarrMissionType,
GarrMissionXFollower, GarrMssnBonusAbility, GarrSpecialization, GarrType)
across the full loading pipeline.

Implement Garrison::Upgrade() for WoD level 1-3 progression with cinematic
playback, building persistence across level transitions, and plot respawning.

Replace hardcoded follower XP formula with DB2-driven progression using
GarrFollowerLevelXP and GarrFollowerQuality stores, including quality
upgrades with ability re-rolling at tier boundaries.

Add follower custom name persistence (customName column) and mission
required follower validation via GarrMissionXFollower index.

Refactor to multi-garrison framework: Player stores map of garrisons keyed
by GarrisonType, GetGarrison() defaults to WoD for backwards compatibility,
GetGarrisonInfo sends data for all garrison types to client.
2026-02-24 21:19:27 -03:00
luis 38d39582fa db playerhousing data 2026-02-24 20:40:30 -03:00
luis 1aac2fe903 Add new housing tables part 1 2026-02-24 19:47:01 -03:00
luis 1a4054521d Pet Battles: Fix round result wire order and wild pet data for 12.0 client 2026-02-23 21:04:01 -03:00
luis c5f26820d1 Housing: Add ExteriorComponent DB2 tables and missing SMSG packet classes
Add 7 ExteriorComponent DB2 tables (structs, LoadInfo, stores, hotfix
enums, prepared statements, SQL DDL) for the exterior fixture system.

Add 8 new SMSG packet classes (3 decor licensing, 5 initiative) with
Write() implementations, enhance 2 existing initiative packets with
data arrays, and fix 5 initiative opcodes from STATUS_UNHANDLED to
STATUS_NEVER.
2026-02-23 20:06:24 -03:00
luis e6bb9bbc58 warband bank dbs soon system 2026-02-22 19:38:09 -03:00
luis c7cccd4081 warbands part 2 2026-02-22 19:03:12 -03:00
luis c2b70be7c5 Core initial work on warbands 2026-02-22 18:36:33 -03:00
luis 829178d3d0 db errors fix 2026-02-21 07:53:10 -03:00
luis 963a93fc28 battle_pet_ability_state 2026-02-21 06:38:44 -03:00
luis 69899d3ca7 db errors fix and move log to debug 2026-02-21 04:58:46 -03:00
luis e353d3078b all bot worldserver info move to debug 2026-02-21 04:37:13 -03:00
luis 94bcbb07d9 missing data 2026-02-21 04:25:25 -03:00
luis 9d8fc5e7b9 new garr tables 2026-02-21 04:23:13 -03:00
luis a744423187 db errors fix 2026-02-21 03:26:40 -03:00
luis b015f345a5 more debug logs and fix table 2026-02-21 03:22:23 -03:00
luis 95013cf470 move bot logs to debug part 1 and add db for garr missions 2026-02-21 01:50:51 -03:00
luis a5d186798e db alliance housing map correct fix 2026-02-21 00:07:08 -03:00
luis 4b4279a724 db blizzlike fixes 2026-02-20 23:00:08 -03:00
luis 269706edd1 build 66044 2026-02-20 22:33:32 -03:00
luis ae019241ae bpet and housing merge 2026-02-20 22:04:42 -03:00
luis 6742e1d1c9 Housing: Add house GO spawning, position persistence, decor GO spawning, and budget fix
Spawn the physical house structure GameObject when a player buys a plot,
using the DB2 PlotGameObjectID at the plot's HousePosition. Persist
player-chosen house positions to the database so they survive relogs.
Fix the SetHousePosition handler to actually store and apply the position
instead of being a no-op.

Spawn placed decor items as visible GameObjects with the FHousingDecor_C
entity fragment (InitHousingDecorData), following the cornerstone pattern.
Hook decor GO spawn/move/despawn into the Place/Move/Remove handlers so
furniture appears and updates in real time.

Fix outdoor decor budget enforcement: decor with roomGuid=0 now routes
to the exterior budget instead of always counting as interior.

Fix edit mode response wire format to match Fixture/Room pattern
(uint32 Result + Bit Active).

Set default _houseType to 32 (sniff-verified) instead of 0.
2026-02-20 21:55:29 -03:00
luis a025e8ba54 spell proc 2026-02-20 08:19:24 -03:00
luis 204748c946 ++ 2026-02-20 08:17:32 -03:00
Jeremy 973fc27bcd DB/Spells: Added proc data for Ragedrinker (Fury Warrior Talent) (#31667)
Signed-off-by: luis <[email protected]>
2026-02-20 08:17:03 -03:00
luis 92f0c7b66e typo fix 2026-02-20 08:15:32 -03:00
Jeremy c0c3c93e24 Scripts/Spells: Update warrior talent Frenzy (#31665)
Signed-off-by: luis <[email protected]>
2026-02-20 08:15:21 -03:00
Jeremy e53e5c778b DB/Spells: Add proc data for Bloodborne (Fury Warrior Talent) (#31664)
Signed-off-by: luis <[email protected]>
2026-02-19 22:08:33 -03:00
Aqua Deus 52b5f8575f Scripts/Spells: Implement dk talent Blood Bond talent (#31652)
Signed-off-by: luis <[email protected]>
2026-02-19 22:06:51 -03:00
luis 73b50b3188 +++ 2026-02-19 22:04:33 -03:00
luis 80b48ed376 ++++ 2026-02-19 22:02:39 -03:00
luis a52fee1531 65940 2026-02-19 21:57:04 -03:00
luis fb2af6d9ef +++ 2026-02-19 21:55:56 -03:00
luis 8b0c12f566 Pet Battles: Full 12.0 audit, fix type matrix, add NPC battles, complete PvP flow
- Fix type effectiveness matrix (9/10 rows had wrong strong/weak, 0.67->0.66)
- Fix state machine enum to match client (add CREATED_FAILED, FINAL_ROUND)
- Add PetBattleEffectFlags (miss/crit/heal/immune/strong/weak) and populate them
- Add post-battle health sync back to journal with 50% auto-heal
- Add missing effect types (REPLACE_PET, OVERRIDE_ABILITY, WORLD_STATE_UPDATE)
- Implement GetTrapStatus() with full validation (species, health, journal)
- Add PetBattlePetStatusFlags and compute from pet state
- Add PetBattleInputFlags (ability/swap locked, waiting for pet)
- Add ability lockdown tracking alongside cooldowns
- Add critical hit system (5% base, 1.5x multiplier) via DamageResult struct
- Expand PetBattleRequestFailReason to 24 values matching client
- Add max game length warning (5 min before timeout)
- Implement NPC trainer battles (LoadNPCTeams from world DB, CreateNPCBattle,
  InitNPCBattle, GenerateNPCTeamInput with enhanced AI)
- Add battle_pet_npc_team SQL schema
- Complete PvP flow: full validation, accept/decline, proper queue status codes
- Add PvP forfeit penalty (Pet Battle Deserter debuff)
- Add SMSG_BATTLE_PETS_HEALED and SMSG_BATTLE_PET_TRAP_LEVEL packets
- Register CMSG_BATTLE_PET_UPDATE_DISPLAY_NOTIFY handler
- Add boss pet handling (damage cap at 35% max HP, not capturable)
- Add aura state flags (JUST_APPLIED on creation, INFINITE for permanent)
- Add achievement criteria (WinPetBattle, LosePetBattle, capture)
2026-02-19 21:16:30 -03:00
agathoandClaude Opus 4.6 612c75a683 Housing: Send neighborhood context on map entry and import AT 37358
Two fixes to enable Cornerstone click interaction:

1. Send SMSG_HOUSING_GET_CURRENT_HOUSE_INFO_RESPONSE proactively in
   HousingMap::AddPlayerToMap() so the client can call
   SetViewingNeighborhood() and populate its global housing context.
   Without this, GetCornerstoneNeighborhoodInfo() returns empty data
   and the Cornerstone purchase UI cannot display.

2. Add SQL migration for AreaTrigger entry 37358 (housing plot AT)
   with ScriptName='at_housing_plot', Shape=Sphere, radius=40 yards.
   Without this in the database, CreateStaticAreaTrigger() silently
   fails and SMSG_NEIGHBORHOOD_PLAYER_ENTER_PLOT never fires.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Signed-off-by: luis <[email protected]>
2026-02-19 21:05:05 -03:00
agathoandClaude Opus 4.6 98795165b0 Housing: Add ALTER TABLE migration for 3 new character_housing columns
Adds exteriorLocked, houseSize, and houseType columns to existing
character_housing tables via ALTER TABLE (the schema file was updated
in the prior commit but existing databases need this migration).

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Signed-off-by: luis <[email protected]>
2026-02-19 20:59:33 -03:00
luis be4b5a3025 update 2026-02-19 20:35:21 -03:00
luis 806cc6193c ++ 2026-02-19 20:23:21 -03:00
agathoandClaude Opus 4.6 70823e16fd Housing: Add Alliance neighborhood world data for Map 2735
Creature templates, spawns, models, gameobject templates, spawns,
gossip menus, vendor inventories, quest data, and trainer spells
for the Alliance housing neighborhood (The Aerie).

Column names adapted to current TrinityCore creature_template schema
(type/family/Classification, 64-bit npcflag).

Co-Authored-By: Claude Opus 4.6 <[email protected]>
Signed-off-by: luis <[email protected]>
2026-02-19 20:22:26 -03:00
luis 6b5c02fd42 Typo 2026-02-17 03:12:01 -03:00
MoltenCrystal dd93eb138c DB/Spells: Add proc data for Exhilarating Blows (#31567)
Signed-off-by: luis <[email protected]>
2026-02-16 20:58:59 -03:00
MoltenCrystal 55409a045a Scripts/Spells: Implement warrior talent Overpowering Finish (#31566)
Signed-off-by: luis <[email protected]>
2026-02-16 20:58:04 -03:00
MoltenCrystal 4adaa76b13 Scripts/Spells: Implement warrior talent Tactician (#31564)
Signed-off-by: luis <[email protected]>
2026-02-16 20:54:59 -03:00
MoltenCrystal 7b0bd4aa2e Scripts/Spells: Update Sudden Death (#31550)
Signed-off-by: luis <[email protected]>
2026-02-16 20:54:25 -03:00
Naddley 90a97549a5 DB/IsleOfDorn: Added Oztan Isles spawns for Phase 25033
Signed-off-by: luis <[email protected]>
2026-02-16 20:49:58 -03:00
luis fbd66c676e Db error fix and playerhousing creature spawn fix flags and level 2026-02-16 11:34:15 -03:00
luis c79d2d96fd Fix load of db2 2026-02-15 20:21:56 -03:00