Commit Graph
14 Commits
Author SHA1 Message Date
shenleiandClaude Opus 5.5 3590a06946 Keep feature commands at the end of the command table
interpret_command picks the first entry whose name starts with the typed
command. mt_features sat near the top, so /m ran mt_features instead of mob
and /mt instead of mto. The four mt_* entries now sit after the original
commands; test_cmd_prefix.py checks that no original abbreviation changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 01:37:41 +09:00
shenleiandClaude Opus 5.5 06b96c62d1 Record the batch chest production deploy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 23:47:49 +09:00
shenleiandClaude Opus 5.5 bc32475742 Record the batch chest channel5 live test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 23:31:03 +09:00
shenleiandClaude Opus 5.5 4b4f32ed58 Add batch gift box opening (mt_chest)
AVA2 ENABLE_MULTI_CHEST port: /mt_chest 1 open CELL COUNT opens up to 200
gift boxes of one vnum across bag cells through the original UseItem path,
stops at 3 free cells, skips monster/debuff groups and reports the gains
as MTCH1 lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 23:24:11 +09:00
shenleiandClaude Opus 5.5 bcd318791e Record the attribute lock production deploy
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 23:11:29 +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 400e44fae4 Add read-only world boss tracking (AVA2 uitrack port)
Each game core snapshots its timed boss regens once a second and shares
them over the original HEADER_GG_RELAY addressed to "#mt_boss", so old
cores just miss the player lookup instead of dropping the P2P link.
New /mt_features query kind "bosses" (capability bit 256, mask 511)
lists the player's channel plus the shared channel 99.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 22:36:04 +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 3b7e158ba6 Add batch pickup command mt_pickup (AVA2 do_pickup_all)
/mt_pickup 1 MASK picks up every own or ownerless ground item within the
original pickup distance whose category matches the 8-bit mask, nearest
first, capped at 48. Each item goes through the original PickupItem, so
distance, stacking, inventory space, ItemLog GET and quest triggers are
unchanged; only the first failure INFO line is resent. 500 ms throttle,
MTPU1 done/error replies, MTF1 cap mask 127 -> 255.

Live tested on the channel-5 test core (isolated binary) with the macOS
native client.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 20:45:37 +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
shenandshen 1a367197f5 Add feature query protocol and scheduled event drop gates 2026-10-15 02:28:03 -07:00
shenandshen 36157d2bd1 Add read-only public table export for client encyclopedia 2026-10-15 00:48:50 -07:00
shenandshen 4577d869fd Import deployed 203 server source and external build dependencies 2026-10-14 19:18:21 -07:00