feat: complete xxf-ch5 35 features migration, protocol bindings, and gate validation

- S1: Chinese locale pack, target HP/drop preview, elemental icons, exchange level display, item highlight, FOV settings, advanced skybox, GM warp.
- S2: 5-page 225-slot inventory, seamless channel switch, wiki/drop query/chest preview.
- S3: Auto-refine/attribute locks, sash combine/absorb, talisman/elemental stats, costume/mount/shining slots, changelook, soulbind, glove, quiver, magic reduction.
- S4: Modern cube renewal, mythic dragon soul (6 grades/1152 slots), DS attr change, global rankings, dice system.
- S5: Multi-token shop, offline private shop search, offline shop state machine, 64-bit gold alignment, Won dual currency exchange.
- S6: Single account 5-character slot adaptive wire protocol, Wolfman profession & claw weapon/applies, Conqueror level & Sungma attributes, pets & 6th/7th attrs, battle pass & boss tracking.
- Pass 42/42 platform gate test suites in scripts/port_gate.sh macos.
This commit is contained in:
shen
2026-10-22 01:29:14 -07:00
parent 867633667f
commit 846a993183
345 changed files with 48463 additions and 326 deletions
+4 -20
View File
@@ -1,20 +1,4 @@
-- AVA2 64-bit Gold Migration Script
-- Date: 2026-10-20
-- Expands gold columns from INT(11) to BIGINT(20) UNSIGNED to support up to 2,000,000,000,000,000 gold.
-- 1. Character table (player.player)
ALTER TABLE `player`
MODIFY COLUMN `gold` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0;
-- 2. Safebox table (player.safebox)
ALTER TABLE `safebox`
MODIFY COLUMN `gold` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0;
-- 3. Guild funds (player.guild)
ALTER TABLE `guild`
MODIFY COLUMN `gold` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0;
-- 4. Log tables (if log database exists)
ALTER TABLE `log`.`goldlog`
MODIFY COLUMN `current_gold` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
MODIFY COLUMN `change_gold` BIGINT(20) NOT NULL DEFAULT 0;
-- Blind DDL cannot verify schema identity, player_deleted, or the actual money_log.
-- Use migrate_gold64.py --player SCHEMA --log LOG_SCHEMA --plan PATH.
-- Apply the reviewed plan with --apply --offline --backup-id BACKUP.
SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT='Use the source-bound gold migration planner; blind DDL is disabled';