Record the attribute lock production deploy

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shenlei
2026-10-15 23:11:29 +09:00
co-authored by Claude Opus 5.5
parent dc7159338e
commit bcd318791e
+13 -1
View File
@@ -68,4 +68,16 @@ MTSB1 error lock CODE item equipped no_attr busy running slot max
- a new client session showed `lock 19 11209 10` (reloaded from the table);
- unlocking → 8 → 0, and the row was deleted;
- `log` has four `ATTR_LOCK` rows (hints 2, 10, 8, 0).
- Not done: Android device test and production deploy.
- Not done: Android device test.
## Production deployment
- 2026-10-15 16:08, approved by the user. All 203 live cores now run main `dc71593` (`game` sha256 `a8556bdc…`, the exact binary the channel-5 core was tested with, built in `/root/metin2-features-dev`). The db binary is unchanged. 0 players were online.
- Package `/root/deploy-features/20261015-attrlock` (`deploy.sh check|go|rollback`, `SHA256SUMS`). The previous `game`/`db` (boss deploy, `400e44f`) are in `/root/backup-bin/20261015-160813`. The 8 changed files were synced into `/usr/metin2/src`, and the replaced ones are in `src-before/`. Because `item.h` changed, a later `rebuild.sh build` must touch every game .cpp. `sh deploy.sh rollback` restores both; the `mt_item_attr_lock` table can stay, since old binaries ignore it.
- CH2–CH4 and the channel-5 core were started by hand after `start.sh 1`, giving 14 game cores plus db and auth.
- Live acceptance on CH1 (13000), same armour 11209 (item 20000178), scroll 71084:
- lock slot 1 → 2, slot 3 → 10, slot 0 → `error lock max`;
- 10 switchbot rolls (scrolls 133 → 123): (23,10) and (39,10) unchanged on every roll, the other slots changed;
- the row read `20000178 10`; a new session showed `lock 19 11209 10`;
- unlocking → 8 → 0 deleted the row, and four new `ATTR_LOCK` log rows were written;
- no `PortAttrLock` syserr entries.