Record 203 production deployment of switchbot and pickup

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-10-15 21:58:53 +09:00
co-authored by Claude Opus 5.5
parent 3b7e158ba6
commit a5293945b7
4 changed files with 21 additions and 0 deletions
+10
View File
@@ -73,8 +73,18 @@ Capability: the MTF1 cap mask advertises bit 64 (63 -> 127). Clients that don't
- 76014 with 6 scrolls and limit 10 → `no_scroll` after 6 rolls.
- 71151 on the level-90 sword (the original path allows limit level <= 40) → `rejected` with 0 rolls and the scroll kept.
- Every roll wrote one `CHANGE_ATTRIBUTE` row. The core's syserr shows no new errors; the `new_quest_lv52` LUA_ERROR also appears on the live cores.
- Live acceptance on CH1 (13000) after the deploy, sword 279 and scroll 71084:
- two alternatives with minimum 1 → `matched` after 2 rolls;
- three attributes at the maximum with limit 10 → `limit` after 10 rolls, scrolls 157 → 147;
- `stop` after 1 s → `stopped` after 4 rolls.
- Not done yet: Android device validation.
## Production deployment
- 2026-10-15 14:51, approved by the user. The 203 live cores now run main `3b7e158` (`game` sha256 `0d798ec0…`, the binary the channel-5 core was tested with). The db binary is unchanged. Live `/usr/metin2/src` was at `4577d86`, so the deploy also shipped `1a36719` (query protocol and calendar drop gates; the gates stay inert without `port_events.tsv`).
- Package `/root/deploy-features/20261015-features` (`deploy.sh check|go|rollback`, `SHA256SUMS`). The previous `game`/`db` are in `/root/backup-bin/20261015-145122` (recorded in `LAST_BACKUP`), and the replaced `/usr/metin2/src` files are in `src-before/`. `sh deploy.sh rollback` restores both.
- The first `go` stopped at `rebuild.sh stop_server` ("server still running" after about 38 s, cores still exiting) before any backup or copy; the second `go` succeeded. `start.sh` was answered with `1`, which starts only CH1 and game99, so CH2–CH4 were started afterwards with each `run.sh` in the `start.sh` order. The channel-5 test core was restarted too, giving the pre-deploy layout of 14 cores plus db and auth. The new syserr entries contain only the existing `new_quest_lv52` LUA_ERROR (present since 2026-09-21).
## Open items
- Attribute lock: AVA2 stores it at attribute index 7, which the current 7-slot layout cannot hold. It needs its own storage design (see the client migration plan, phase 6).