Commit Graph
2 Commits
Author SHA1 Message Date
shenleiandClaude Opus 5.5 1a4d8295ff client: AVA2 Won (cheque) system, revision mt20261027
ENABLE_CHEQUE_SYSTEM / ENABLE_WON_EXCHANGE_WINDOW = 1: Won in trades,
private shop Won prices (int32 cheque[] after the CG_MYSHOP items), shop
item cheque prices, mt_won script fixes, zh locale_game_ex overlay staged
into locale_zh_ava2 (fixes the swapped %s/%d in WONEXCHANGE_CONFIRM_QUESTION_2).

Also zero-init every TPacketCGExchange: arg1 was uninitialised and the
HEAD server drops arg1 > UINT32_MAX, so accept/cancel/item-add were lost
and trades never completed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 15:30:45 +09:00
shenleiandClaude Opus 5.5 9b2e165548 xxf packs: restore ava2items and add the locale_zh_ava2 item overlay
The 喜相逢 migration dropped ava2items from the Index, breaking the AVA2
native windows, and the 喜相逢 locale (read as locale/newcibn) lacks 456
server items, types ~270 others differently and ships a 6-column
item_scale the client rejects.

- Index: ava2items after uiloading (喜相逢 files still win on a clash),
  locale_zh_ava2 before locale_zh.
- scripts/build_xxf_item_overlay.py builds locale_zh_ava2 from ava2items:
  missing/retyped item_proto, item_list, itemdesc rows, 9-column
  item_scale, item_list repairs, missing icons, wiki texts.
- migrate_to_xxf_models.py registers ava2items.
- ThinBoardCircle.SetAlpha shim for the 喜相逢 root (uiBattlePassEx).
- ENABLE_WON_EXCHANGE_WINDOW 0: it binds the cheque slot (cheque off).

Live 7511 items: not found 467 -> 0, wrong type 719 -> 37 (server proto),
no icon 6 -> 2 (31021, 31054 have none anywhere).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 21:12:06 +09:00