4410 Commits
Author SHA1 Message Date
Céfiro_Caecias 0472a7059c DB/Characters: DBErrors 2026-05-20 12:57:04 -03:00
luis 1ca92d5a5c remove status ignored 2026-05-20 12:55:32 -03:00
luis c4849a5867 Fix build 2026-05-20 12:52:02 -03:00
eXPo 19622c0e8d Core/Crash: Fixing crash and enabled missing packets. 2026-05-20 18:35:29 +03:00
luis 5d0e9bb3b0 fix 2026-05-20 12:34:23 -03:00
luis a1c9ab2f4d missing 2026-05-20 12:32:31 -03:00
eXPo b14dc34bcb Core/Crash: Fixing crash. 2026-05-20 18:31:14 +03:00
luis a2cb60931f Missing response 2026-05-20 12:28:53 -03:00
luis 503d1ef842 more packets 2026-05-20 12:23:37 -03:00
luis 29a933f8ab enable opcodes 2026-05-20 12:19:47 -03:00
luis 7e2f6a3820 crash fix 2026-05-20 12:16:09 -03:00
luis 721c994949 bpay data 2026-05-20 12:10:53 -03:00
luis 63f1e454ce Fix crash part 1 2026-05-20 12:01:32 -03:00
luis ae20b73593 server crash wait for build 2026-05-20 12:00:17 -03:00
luis dc5086b5bd in game shop 2026-05-20 11:02:22 -03:00
eXPo da8d2e365e Core/PacketIO: Fixing BattlePayProduct order.
Not Done 100%
Need more.
2026-05-20 15:30:57 +03:00
luis 83a898f780 typo 2026-05-19 20:08:58 -03:00
luis 484e940252 remove comment 2026-05-19 20:07:06 -03:00
luis 250fab7c8b warning fix 2026-05-19 19:28:53 -03:00
luis 4490e35588 remove docs 2026-05-19 19:07:45 -03:00
luis c0c14f6b75 readd sai 2026-05-19 18:53:20 -03:00
luis a13b89799f class spells 2026-05-19 16:42:54 -03:00
luis 580deed1b1 Fix spell area bug 2026-05-19 16:42:19 -03:00
luis 666aec51f6 battlepay part 1 2026-05-19 16:06:30 -03:00
luis f0b2ab5508 SPELL_EFFECT_CONVERT_ITEMS_TO_CURRENCY 2026-05-19 15:18:12 -03:00
luis 63a8e206df SPELL_EFFECT_INCREASE_ITEM_BONUS_LIST_GROUP_STEP 2026-05-19 15:07:04 -03:00
luis 462a08ec1d SPELL_EFFECT_SET_ITEM_BONUS_LIST_GROUP_ENTRY 2026-05-19 15:01:05 -03:00
luis c30916dc6b SPELL_EFFECT_CHANGE_ITEM_BONUSES 2026-05-19 14:56:28 -03:00
luis 2fdb98d69b fix build 2026-05-19 14:46:26 -03:00
luis ccf3251b3d SPELL_EFFECT_ALTER_ITEM 2026-05-19 14:39:41 -03:00
luis aff3cca875 Core/Battlegrounds: Fixed "not enough players" message being incorrectly always printed before battleground starts and replaced its trinity_string entry with proper battleground status packet 2026-05-19 14:25:39 -03:00
Shauren ffa2a47aba Core/Misc: Port some 3.3.5 cherry-pick refactors
Signed-off-by: luis <[email protected]>
2026-05-19 14:20:41 -03:00
luis 0c68987602 prev sql 2026-05-19 13:04:25 -03:00
luis 0a74c48472 misc major faction 2026-05-19 13:03:48 -03:00
luis 932e460615 trading post 2026-05-18 20:33:56 -03:00
luis bb475a22bd typo 2026-05-18 19:34:52 -03:00
luis f3cbe72337 full trading post + SPELL_AURA_REPLACE_ITEM_BONUS_TREE 2026-05-18 19:31:29 -03:00
luis f2e4799ca8 SPELL_AURA_ENABLE_POWER_BAR_TIMER 2026-05-18 18:53:00 -03:00
luis 0c5ad51f72 fix trading post 2026-05-18 11:35:17 -03:00
luis b886f186b6 Two prepared statements added in commit 0937873 (warband currency
transfer) used lowercase column names (guid, currency, quantity) that
match a different fork's schema but not TrinityCore's character_currency
table, which uses PascalCase (CharacterGuid, Currency, Quantity) as
seen in CHAR_SEL_PLAYER_CURRENCY / CHAR_UPD_PLAYER_CURRENCY /
CHAR_REP_PLAYER_CURRENCY / CHAR_DEL_PLAYER_CURRENCY at the top of the
file. mysql_stmt_prepare rejected both statements at startup with
"Unknown column 'pc.guid' in 'on clause'" / "Unknown column 'guid'
in 'where clause'", taking the tc_characters pool down.

CHAR_SEL_ACCOUNT_CHARACTER_CURRENCIES: pc.currency -> pc.Currency,
pc.quantity -> pc.Quantity, ON c.guid = pc.guid ->
ON c.guid = pc.CharacterGuid.

CHAR_UPD_PLAYER_CURRENCY_QUANTITY: SET quantity -> SET Quantity,
WHERE guid -> WHERE CharacterGuid, currency -> Currency.
2026-05-18 11:29:02 -03:00
luis feddac80e9 fix opcode 2026-05-18 11:26:43 -03:00
luis 247dcbd9eb UiTextureKit.db2 2026-05-18 11:07:55 -03:00
luis ed56ff7504 feat(major-factions): 10L - resolve textureKit via Campaign DB2 chain
User feedback: the textureKit string is already in DB2 (Campaign.UiTextureKitID
-> UiTextureKit.KitPrefix); don't duplicate it in a fabricated world-config
column.

- Add UiTextureKit.db2 loader (struct, LoadInfo, store, LOAD_DB2 call,
  HOTFIX_SEL_UI_TEXTURE_KIT enum + statement, ui_texture_kit hotfix table).
  Schema: ID + KitPrefix string (FieldCount=1 per UiTextureKitMeta,
  LayoutHash 0x4740638A at build 12.0.5.67186).

- MajorFactionMgr:
  * Drop MajorFactionConfig::TextureKit (std::string).
  * Add MajorFactionConfig::RenownCampaignID (uint32) - Campaign.db2 FK.
  * Validate FK against sCampaignStore at LoadWorldData time; clear with
    error log if the campaign row is missing.
  * Add GetRenownCampaignID(factionId) and GetTextureKitPrefix(factionId).
    GetTextureKitPrefix walks the canonical Blizzard chain:
       faction -> renownCampaignId
              -> Campaign.UiTextureKitID
              -> UiTextureKit.KitPrefix
    and returns the string the client uses as the atlas-name suffix
    (e.g. "MajorFaction-DragonscaleExpedition").

- World data: 2026_05_16_01_world.sql rewritten. Column textureKit
  replaced by renownCampaignId. Values pulled per-faction from the JSON
  research files (campaign.id / campaign_id field):
    DF:        166/197/189/174/203/231
    TWW 11.0:  238/236/237/239
    TWW 11.1+: 264/267/268
    Midnight:  270 (shared 17-chapter)/267 (shared)
    Plunderstorm/Gallagio/RitualSites: 0 (no associated campaign)

This was the user-observed redundancy: we had loaded 3 campaign DB2s
(Campaign, CampaignXQuestLine, CampaignXCondition - all wired) but
were not consuming Campaign.UiTextureKitID. Now wired.
2026-05-18 11:06:53 -03:00
luis 317ceb0bce typo 2026-05-18 11:00:49 -03:00
Céfiro_Caecias 3d534e71bc DB/World: DBErrors 2026-05-16 10:41:45 -03:00
Céfiro_Caecias 2462443cd5 DB/Hotfixes: Fixes 2026-05-16 10:41:10 -03:00
Céfiro_Caecias 5f7b278500 Update 2026_05_16_01_world_StormwindPandaria.sql 2026-05-16 10:28:41 -03:00
Céfiro_Caecias ca43f9ed3f Update README.md 2026-05-16 10:02:35 -03:00
stevebone 8e2cce195c Scripts/DB/Stormwind: Implement 3 pandas quests
- implemented JoiningTheAlliance = 30987;
- implemented TheAllianceWay = 30988;
- implemented AnOldPitFighter = 30989;
- code compiles without any errors or warnings - checked against TC pipelines
- the sql file adds new spawns - feel free to update the CGUID with the current last used GUID if needed.

!!! Please do not remove my credits from my files.
2026-05-16 14:48:46 +02:00
stevebone 7caf1d4943 Scripts/TheWanderingIsle: fix TrinityCore base script for Master Li Fei combat NPC
- improved the base script to avoid npc not properly terminating combat on player massive damage or edge case leading to npc death - on live the npc never gets under 20% hp
- added also auras for flame blessings being cast on the player during the combat phase - there is a bug with the Auras NOT showing but they get applied and work properly.
- EnterEvadeMode is now properly handled and the npc also despawns correctly at the end of the combat phase.
2026-05-16 13:09:06 +02:00