Commit Graph
710 Commits
Author SHA1 Message Date
luis c2b70be7c5 Core initial work on warbands 2026-02-22 18:36:33 -03:00
Shauren 1729893051 Core/MMaps: Fix possible access of freed memory in DynamicTileBuilder
Signed-off-by: luis <[email protected]>
2026-02-22 18:33:46 -03:00
Shauren dec0ec0c6e Core/Players: Fixed storing items in bank bags slots 67-74
Signed-off-by: luis <[email protected]>
2026-02-22 18:33:02 -03:00
Luzifix 25bfe91397 Core/Players: Don't count empty bag slots (slots where you equip bags) as free inventory slots
Signed-off-by: luis <[email protected]>
2026-02-22 18:32:30 -03:00
Macsimka 95edfe7c7f Core/MMaps: Allow dynamic tile building for M2 models
Signed-off-by: luis <[email protected]>
2026-02-22 18:31:59 -03:00
Shauren 6b58f36323 Build: Remove scripts include directories from worldserver compilation command line, allowing compilation to happen in directories with longer path before encountering msbuild error MSB6002: The command-line for the “RC” task is too long
Signed-off-by: luis <[email protected]>
2026-02-22 18:31:29 -03:00
StorM 45fe788c6d Update UtilityContextBuilder.h 2026-02-21 14:01:48 +01:00
StorM 9e6fe2ac89 linker fix BotAI.h 2026-02-21 13:14:55 +01:00
StorM bc7db34028 linker fix BotAI.cpp 2026-02-21 13:14:53 +01:00
StorM 5c08332f7d Update ShardedMetricsCollector.cpp 2026-02-21 12:48:49 +01:00
StorM cdf3f757de Update BandwidthTelemetry.cpp 2026-02-21 12:47:52 +01:00
StorM f84b6abf34 Update BandwidthTelemetry.h 2026-02-21 12:47:26 +01:00
StorM 45b857a115 Update BandwidthTelemetry.cpp 2026-02-21 12:46:36 +01:00
StorM 477c746a32 Update StringInterningPool.cpp 2026-02-21 12:46:11 +01:00
StorM a007c42969 Update RoadGraphPathfinder.cpp 2026-02-21 12:32:57 +01:00
StorM b7c1c0b92d Update CooldownSyncCoordinator.cpp 2026-02-21 12:23:51 +01:00
StorM 559c73887d Update GroupBuffCoordinator.cpp 2026-02-21 12:23:34 +01:00
StorM b06e7a4431 Update ArchaeologyManager.cpp 2026-02-21 12:22:33 +01:00
StorM bed812e0a2 Update ArchaeologyManager.h 2026-02-21 12:22:15 +01:00
StorM 3988988d50 Update TransmogManager.h 2026-02-21 12:21:57 +01:00
StorM 1cc2bafd67 Update BotLogFilter.cpp 2026-02-21 12:20:44 +01: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 1274a9f826 fix db2 names 2026-02-21 06:38:09 -03:00
luis 41af334e44 debug log 2026-02-21 06:15:37 -03:00
luis d4d00d560c Implement db2 and fix load 2026-02-21 05:47:48 -03:00
luis 9ccc36cc11 more debug logs 2026-02-21 05:18:50 -03:00
luis e921b68c85 move logs to debug sniff cause large db error 2026-02-21 05:12:32 -03:00
luis 98769d604b debug logs clean console 2026-02-21 05:04:13 -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 c706ac1789 Debug logs 2026-02-21 03:55:25 -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 f4b949345d debug log 2026-02-21 02:39:37 -03:00
luis 3901c0fe91 Garrison: Implement full mission lifecycle, follower management, and 33 handler stubs
Wire all 33 garrison CMSG opcodes and ~70 SMSG opcodes. Add complete mission
data model with DB persistence, start/complete/reward lifecycle, success chance
calculation, and follower XP progression. Implement follower operations including
assign/remove from buildings, rename, favorite, inactive, heal, and recruit stubs.
Add talent and building utility handler stubs that return appropriate error codes.
2026-02-21 02:05:28 -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 811a491be1 Move log to debug so we not get spam 2026-02-21 00:32:26 -03:00
luis a5d186798e db alliance housing map correct fix 2026-02-21 00:07:08 -03:00
luis e8b9e085ee Fix plots 2026-02-21 00:00:19 -03:00
luis fcc32587fa Pet Battles: Fix all packet wire formats to match WoW 12.0 sniff
Analyzed a 12.0.1.66017 packet sniff using WowPacketParser and compared
every pet battle packet structure against our implementation. Fixed all
discrepancies to match Blizzard's actual wire format:

- SMSG_PET_BATTLE_FINALIZE_LOCATION: Replace single Position with full
  PetBattleLocation struct (LocationResult, BattleOrigin, BattleFacing,
  PlayerPositions[2])
- SMSG_PET_BATTLE_FINAL_ROUND: Completely restructured - no longer
  contains round data. Now contains Abandoned/PvpBattle flags, Winners,
  NpcCreatureIDs, and per-pet final results (PetBattleFinalPet)
- PetBattleEffectInfo: Add SourceAuraInstanceID (u16), TurnInstanceID
  (u16), fix CasterPBOID to uint8, reorder fields to match wire format
- PetBattleEffectTargetInfo: Type is now 3 bits (not uint8), variable-
  length params based on type (0-7 target types with 0-4 int32s each)
- PetBattleCooldownInfo: Add AbilityIndex and Pboid fields to match
  PetBattleAbilityInfo format (same wire structure from 6.2.4+)
- Round packets (FirstRound, RoundResult, ReplacementsMade): All three
  now share identical wire format via WriteRoundResult. Cooldowns moved
  from per-player to round-level flat array. Added PetXDied (3-bit
  count + PBOID entries)
- SMSG_PET_BATTLE_REPLACEMENTS_MADE: Now includes Effects (was missing)
- CMSG_PET_BATTLE_INPUT: MoveType changed from uint8 to int32, Round
  from uint8 to int32, added DebugFlags (int32) and BattleInterrupted
  (uint8) fields. Verified against raw hex: 19 bytes total
- CMSG_PET_BATTLE_REQUEST_WILD/PVP: Replace MovementInfo with proper
  PetBattleLocation struct matching WPP V6 parser
- SMSG_PET_BATTLE_PVP_CHALLENGE: Uses PetBattleLocation struct
2026-02-20 23:29:05 -03:00
luis bbbf99346b sync names 2026-02-20 23:02:30 -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
Shauren a13be38357 Core/Graveyards: Fixed subzone graveyard selection
Signed-off-by: luis <[email protected]>
2026-02-20 22:33:20 -03:00
luis 95a4535861 Missing 2026-02-20 22:24:57 -03:00
luis ae019241ae bpet and housing merge 2026-02-20 22:04:42 -03:00
luis 578cc76cc8 Housing: Add immediate DB persistence for PlaceDecor and RemoveDecor
PlaceDecor and RemoveDecor previously only modified in-memory state,
relying on SaveToDB at logout for persistence. A server crash would
lose all placed/removed decor changes since last save.

Add crash-safe immediate persistence:
- PlaceDecor: INSERT decor row + UPDATE catalog count on placement
- RemoveDecor: DELETE decor row + UPDATE catalog count on removal
- New prepared statements: CHAR_UPD_CHARACTER_HOUSING_CATALOG_COUNT,
  CHAR_DEL_CHARACTER_HOUSING_DECOR_SINGLE
2026-02-20 21:57:10 -03:00