Commit Graph
11 Commits
Author SHA1 Message Date
shenandshen 2016f20d58 Synchronize owner attribute locks for links and active switchbot 2026-10-18 22:08:48 -07:00
shenandshen bce34954d9 feat: add AVA2 native channel warp with peer map routes 2026-10-18 17:05:17 -07:00
shenandshen 71c299c98f Record verified switchbot handover between isolated cores 2026-10-18 16:43:51 -07:00
shenandshen 2048808c75 Add safe AVA2 lock material selection and tooltip query 2026-10-18 16:28:16 -07:00
shenleiandClaude Opus 5.5 3222614dd2 Switchbot docs: record live test results on channel5 and sbtest
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 23:03:07 +09:00
shenleiandClaude Opus 5.5 972c200cd0 Switchbot gate: find the mt<date> mark anywhere in the client timestamp
Every locale.cfg client build is LOCALE_SERVICE_EUROPE and sends
CG_CLIENT_VERSION2, and 203 compares that timestamp with atoi against
1215955205. The client now sends "1215955205 mt20261016", so the gate
looks for "mt" instead of requiring it at the start. Found on channel5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 20:35:08 +09:00
shenleiandClaude Opus 5.5 a28393b16b Port the AVA2 switchbot (自动洗练) 1:1
AVA2 new_switchbot ported as port_switchbot.{h,cpp}: SWITCHBOT item window (7),
CG/GC 171 and GG 31 with AVA2 subheaders and field order, pack(1) structs pinned
by static_assert, 0.1 s roll, P2P hand-over on warp, boot ALTER of
player.item.window. Switchers come from the inventory; current checks and
ItemLog are kept. Clients sending "mt20261016" or newer as the version
timestamp get the switchbot; older clients are left alone.

The v1 /mt_switchbot chat command, its lock verb and query capability bit 64
are removed (cap mask 1023 -> 959).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 20:26:06 +09:00
shenleiandClaude Opus 5.5 dc7159338e Add attribute lock (AVA2 ENABLE_LOCK_ATTR port)
Up to two normal attribute slots (addon pair = one group) keep their
type and value through CItem::ChangeAttribute, so scroll rerolls, the
switchbot and GM rerolls all respect it. The mask lives in the new
player.mt_item_attr_lock table (created at boot), cached per CItem and
written synchronously; CopyAttributeTo carries it to refined items.
No item struct, db cache or client packet change. Toggled with
/mt_switchbot 1 lock CELL SLOT; MTSB1 lock line follows attrs_end.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 23:06:00 +09:00
shenleiandClaude Opus 5.5 a5293945b7 Record 203 production deployment of switchbot and pickup
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 21:58:53 +09:00
shenleiandClaude Opus 5.5 a1c6917e1f Record live switchbot busy/no_scroll/rejected results
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 19:49:21 +09:00
shenleiandClaude Opus 5.5 afb3dfb1db Add server-authoritative switchbot (automatic attribute change) v1
/mt_switchbot 1 attrs|start|stop|status runs one bot per character that
calls the original UseItem path every 250 ms, so checks, probabilities,
ItemLog CHANGE_ATTRIBUTE and scroll use are the manual path's. Up to two
alternatives of 1-5 targets; stops on matched/limit/no_scroll/item_gone/
rejected/busy/stopped, erased on logout or warp. Per-roll INFO lines are
held back via a quiet flag on ChatPacket. MTF1 cap mask advertises 64.

Verified live on 203 with an extra channel-5 core (port 13040) running the
isolated build: limit, matched, already-matched, move during run, stop and
logout during run; 72 ItemLog rows for 72 rolls. No attribute lock yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 19:45:10 +09:00