From 7cba54f2716850e473ee2afedaf6c2e4cea48ec8 Mon Sep 17 00:00:00 2001 From: shen <> Date: Mon, 19 Oct 2026 16:59:31 -0700 Subject: [PATCH] Record production itemshop acceptance and updated client release --- .../itemshop/production-20261020.json | 65 +++++++++++++++++++ audit/history.jsonl | 1 + docs/AVA2-ITEMSHOP.md | 29 ++++++++- 3 files changed, 92 insertions(+), 3 deletions(-) create mode 100644 audit/evidence/itemshop/production-20261020.json diff --git a/audit/evidence/itemshop/production-20261020.json b/audit/evidence/itemshop/production-20261020.json new file mode 100644 index 00000000..47670de1 --- /dev/null +++ b/audit/evidence/itemshop/production-20261020.json @@ -0,0 +1,65 @@ +{ + "paid": 99, + "redeemed_vnum": 70002, + "statuses": [ + 1, + 0, + 0 + ], + "purchase_vnum": 70002, + "same_token_replay": true, + "server": "192.168.21.203:13000", + "catalogue": 49, + "all_icons": true, + "mall_empty": true, + "balance": 0, + "quantity": 1, + "released_at": "2026-10-19T23:59:00.829045+00:00", + "server_source": "3283101", + "client_source": "b0975498", + "game_sha256": "56975b48aa2fd40389c57eab84d017b0a2518cf6e1b573d967bf239f4ae04aba", + "db_sha256": "dc940401fe6ccc3410c8d90ce98d2a5bad2e2c023279665bcd664c008d011699", + "backup": "/root/backup-itemshop/20261020-014955", + "health": { + "db": true, + "auth": true, + "game_cores": 13, + "sbtest_unchanged": true + }, + "cleanup": { + "accounts": 0, + "characters": 0, + "orders": 0, + "awards": 0, + "items": 0, + "quest_flags": 0, + "affects": 0 + }, + "original_offers_enabled": 49, + "original_offers_disabled": 168, + "prices": "AVA2 originals", + "phone": { + "model": "PJZ110", + "installed": true, + "resources_unchanged": 1282, + "launched_to_server_selection": true, + "in_game_purchase_tested": false + }, + "client_artifacts": { + "dist/Metin2-Android.apk": "975ef06860d503fe32dbfc4c1776b58ebe4899526c82926ffb454df216ca1934", + "dist/Metin2.app/Contents/MacOS/mt_native_render": "a2d47754c73eca3dedca57b2af09691fe109d32d3763d7ca9080d5be30130775", + "dist/Metin2.app/Contents/Resources/Client/pack/ava2items.eix": "a24c727eab8340f32a213f2c68fd6a7875765570a2ce182cd4487ab523f5f36b", + "dist/Metin2.app/Contents/Resources/Client/pack/ava2items.epk": "a054001803e740b63043e523e4d9b51d3a4c9691d69757a4176c873512689f98" + }, + "log_review": { + "no_shop_sql_or_protocol_errors": true, + "startup_lag_seconds": [ + 47, + 51 + ], + "existing_passpod_missing_table": true, + "prior_passpod_errors": 362, + "shutdown_peer_null_and_mysql_reconnect_warnings": true, + "fatal_errors": false + } +} diff --git a/audit/history.jsonl b/audit/history.jsonl index 1002b70a..253140cf 100644 --- a/audit/history.jsonl +++ b/audit/history.jsonl @@ -666,3 +666,4 @@ {"time": "2026-10-19T14:24:36.040212+00:00", "event": "authorized_mobile_ui_refinement", "unit": "host/TouchController", "finding": "Remove mobile quick-slot buttons 7/8 from the button list and eight-control geometry; remove their render and pointer assignment branches. Keep attack, six-skill arc and AUTO.", "evidence": ["src/host/touch_controller.h", "src/host/touch_layout.h", "tests/host/touch_layout_test.cpp", "docs/ANDROID-TESTING.md"], "result": "Layout checks PASS across six screen/safe-area/target configurations. Android and macOS builds PASS. Updated APK installed on Mi 8 Lite; no server changes."} {"time": "2026-10-19T19:10:33.466877+00:00", "event": "authorized_mobile_ui_refinement", "unit": "ScriptLib/MobileHUD, MeshPort notice and chat preview", "finding": "Three named primary entries with seven-action collapsing drawer; contrasting HP/SP numbers, lower/dim AUTO, bounded three-line chat preview using platform render scissor without modifying chat history, network status below buffs with duplicate-state suppression.", "evidence": ["audit/evidence/mobile-ui/hud-refinement.json", "tests/port/port_login_flow_test.cpp", "tests/meshport/test_login.py", "docs/ANDROID-TESTING.md"], "result": "158 Python tests, nine notice tests, native mobile menu/chat/scissor/gesture flow, six combat layouts and macOS/Android builds passed. APK installed on locked Mi 8 Lite; new on-device visual acceptance remains pending unlock. No server deployment or aggregate parity upgrade."} {"time": "2026-10-19T22:09:36.221469+00:00", "event": "authorized_mobile_ui_refinement", "unit": "ScriptLib/MobileHUD", "finding": "Remove HP/SP numeric labels and their dark plate at user request; retain original native gauges, recovery updates and stamina strip.", "evidence": ["src/platform/ScriptLib/MobileHUDScript.inc", "tests/port/port_login_flow_test.cpp", "docs/ANDROID-TESTING.md"], "result": "Focused native mobile flow PASS; Android and macOS builds PASS. APK installed successfully on Mi 8 Lite. Device remains locked; visual acceptance pending unlock. No server changes."} +{"time": "2026-10-19T23:59:00.829045+00:00", "event": "authorized_production_release", "unit": "AVA2 native itemshop", "finding": "Deploy sbtest-verified game/db, InnoDB account/catalogue/order/award tables and 49 original compatible products to 203; patch production third-hand prototype. Update canonical macOS bundle and connected Android APK/resources.", "evidence": ["audit/evidence/itemshop/production-20261020.json", "docs/AVA2-ITEMSHOP.md"], "result": "CH1 catalogue/icons, insufficient funds, 99-coin widget purchase, same-token replay, purchase history and mall-to-inventory redemption PASS. Temporary QA account, character, funds, items, orders and awards removed. db/auth/13 production game cores healthy, sbtest unchanged. Recharge, wheel and 168 unsupported offers remain disabled. Android installed/launched; mobile in-game purchase acceptance not claimed. No aggregate parity upgrade."} diff --git a/docs/AVA2-ITEMSHOP.md b/docs/AVA2-ITEMSHOP.md index c3ee2163..ee7d215c 100644 --- a/docs/AVA2-ITEMSHOP.md +++ b/docs/AVA2-ITEMSHOP.md @@ -53,12 +53,12 @@ ## 构建、测试与交付状态 -候选客户端:`dist/itemshop/Metin2.app`。Android仅离线编译,按用户要求未测手机真机。 +正式客户端:`dist/Metin2.app`、`dist/Metin2-Android.apk`。Android已安装到当前连接的PJZ110手机并同步完整资源;本轮商城购买验收使用macOS客户端。 自动化测试覆盖原生布局、截断/重复/越界帧、整数折扣、冻结报价、双击保护、重试和节流。 真实sbtest验收结果及二进制散列见本文件的验收记录。 -**正式服仍运行此前的原生战令/百科/日历版本;这次商城尚未部署到正式服。** -正式上线需要先备份账号和发货表,再执行服务端迁移并同步更新game/db;候选客户端不能单独让旧服务端具有商城能力。 +**203正式服已于2026-10-20(服务器CEST)更新商城game/db,保留此前原生战令/百科/日历能力。** +正式服目录启用49件已验证原版商品;其他168条继续停用,充值与幸运转盘仍未开放。详情见下方正式发布记录。 ## 数据库迁移 @@ -92,3 +92,26 @@ python3 tools/ava2-itemshop/enable_verified.py --player player_sb --output /tmp/ 候选Android包 `dist/itemshop/Metin2-Android.apk`;外置资源增量位于 `dist/itemshop/Client-patch/pack/`。 APK不内含全部游戏地图包,手机安装时另行同步完整的候选Client资源。 + +## 正式发布与回滚(2026-10-20 CEST / 2026-10-19 PDT) + +正式服game SHA256为`56975b48aa2fd40389c57eab84d017b0a2518cf6e1b573d967bf239f4ae04aba`, +db为`dc940401fe6ccc3410c8d90ce98d2a5bad2e2c023279665bcd664c008d011699`,与sbtest验收版本一致。 +账号、目录、订单和发货表已使用InnoDB;新增龙币列不改原有cash/mileage。 +正式服70002原为占位类型,已同步为验证过的ITEM_USE/USE_SPECIAL;没有整体复制测试库或玩家数据。 + +CH1临时普通账号实测:49件目录及图标、余额不足拒绝、购买一件70002扣99龙币、同token重放不重复扣款、 +购买记录、商城仓库领取到背包全部通过。测试账号、角色、测试币、订单、发货和道具均已清理; +仅扣回本次一笔测试销量,其他销量保持。验收证据:`audit/evidence/itemshop/production-20261020.json`。 + +备份:`/root/backup-itemshop/20261020-014955`,含旧game/db、70002修改前原型及完整account/player SQL。 +部署包:`/root/deploy-features/20261020-itemshop`。回滚命令: + +``` +/usr/local/bin/python3.9 /root/deploy-features/20261020-itemshop/deploy.py rollback --backup /root/backup-itemshop/20261020-014955 +``` + +回滚保留订单、发货、余额、InnoDB及兼容的70002原型,避免抹除已经发生的玩家交易。 +正式macOS包已更新并通过签名检查;PJZ110已覆盖安装最新版APK并同步1282个资源文件。 +两端客户端包含最新触控布局和血条/法力条不显示数值的调整。Android商城内购买尚未做本轮真机验收。 +本地发布散列:`dist/SHA256-production-itemshop.json`。