Commit Graph
121 Commits
Author SHA1 Message Date
shenleiandClaude Opus 5.5 909fc8f851 client: native AVA2 cube_renewal module (ENABLE_CUBE_RENEWAL_WORLDARD=1)
PythonCubeRenewal + PhaseGameCubeRenewal ported verbatim from AVA2: GC 221
fills the recipe list and calls BINARY_CUBE_RENEWAL_OPEN, the XXF
uicuberenewal window sends CG 216 make/close (its 3rd "improve" argument
is accepted and not sent). Replaces the read-only CubeRenewalScript.inc
preview shim. Version mt20261026 so the server picks the new window.
FakeLoginServer: CG 215/216 sizes and a /mt_test_cube_open fixture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-24 14:06:26 +09:00
shenandshen d6617e01f7 feat: add CH5 cube renewal presentation, trade level UI, audit manifests, and test fixtures 2026-10-23 20:17:26 -07:00
shenandshen c1de05dc98 Merge remote-tracking branch 'origin/feature/ava2-unlock' into feature/ava2-unlock 2026-10-23 06:35:00 -07:00
shenleiandClaude Opus 5.5 216600515f ScriptLib: register png images like AVA2 CPythonResource
The AVA2 item shop (ui/itemshop/*.png, render_target_bg.png) loaded nothing
("NOT SUPPORT FILE"), and opening it crashed in renderTarget.SetBackground.
The decoder already sniffs PNG through stb_image.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 21:18:39 +09:00
shenleiandClaude Opus 5.5 9b2e165548 xxf packs: restore ava2items and add the locale_zh_ava2 item overlay
The 喜相逢 migration dropped ava2items from the Index, breaking the AVA2
native windows, and the 喜相逢 locale (read as locale/newcibn) lacks 456
server items, types ~270 others differently and ships a 6-column
item_scale the client rejects.

- Index: ava2items after uiloading (喜相逢 files still win on a clash),
  locale_zh_ava2 before locale_zh.
- scripts/build_xxf_item_overlay.py builds locale_zh_ava2 from ava2items:
  missing/retyped item_proto, item_list, itemdesc rows, 9-column
  item_scale, item_list repairs, missing icons, wiki texts.
- migrate_to_xxf_models.py registers ava2items.
- ThinBoardCircle.SetAlpha shim for the 喜相逢 root (uiBattlePassEx).
- ENABLE_WON_EXCHANGE_WINDOW 0: it binds the cheque slot (cheque off).

Live 7511 items: not found 467 -> 0, wrong type 719 -> 37 (server proto),
no icon 6 -> 2 (31021, 31054 have none anywhere).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 21:12:06 +09:00
shenandshen 3784137b4f feat: add gated CH5 quiver support and unified regression runner 2026-10-22 17:41:47 -07:00
shenandshen 60ed66692e feat(ch5): save migration resources, ranking implementation and verified status 2026-10-22 06:23:17 -07:00
shenandshen ee00dff71e feat(port): enable in-game world rendering and complete UI compat layer for XIXIANGFENG 5th district 2026-10-22 03:46:29 -07:00
shenandshen 9127b74a05 feat(port): complete live client rendering support for xxf 5-zone client (MSM races, acce/sash, UI compat) 2026-10-22 02:44:33 -07:00
shenandshen 846a993183 feat: complete xxf-ch5 35 features migration, protocol bindings, and gate validation
- S1: Chinese locale pack, target HP/drop preview, elemental icons, exchange level display, item highlight, FOV settings, advanced skybox, GM warp.
- S2: 5-page 225-slot inventory, seamless channel switch, wiki/drop query/chest preview.
- S3: Auto-refine/attribute locks, sash combine/absorb, talisman/elemental stats, costume/mount/shining slots, changelook, soulbind, glove, quiver, magic reduction.
- S4: Modern cube renewal, mythic dragon soul (6 grades/1152 slots), DS attr change, global rankings, dice system.
- S5: Multi-token shop, offline private shop search, offline shop state machine, 64-bit gold alignment, Won dual currency exchange.
- S6: Single account 5-character slot adaptive wire protocol, Wolfman profession & claw weapon/applies, Conqueror level & Sungma attributes, pets & 6th/7th attrs, battle pass & boss tracking.
- Pass 42/42 platform gate test suites in scripts/port_gate.sh macos.
2026-10-22 01:29:14 -07:00
shenandshen 867633667f feat: support 64-bit gold long integer returns in exchange, guild, and safebox Python modules (Stage 7) 2026-10-20 05:57:18 -07:00
shenandshen dd71ee5b61 feat: add POINT_GEM (248) player binding and initialization fix (Stage 6)
- Add POINT_GEM = 248 point type constant in Packet.h
- Add player.GetGem() and export POINT_GEM/GEM constants in PythonPlayerModule
- Fix CPythonPlayer constructor to explicitly call Clear() ensuring clean initial player status
- Add test assertions for player.GetGem() and player.POINT_GEM in port_python_ui_modules_test
2026-10-20 04:53:37 -07:00
shenandshen 18d9c89af8 feat: implement offline shop and private shop search client subsystems (Stage 5 Part 2)
- Enable ENABLE_OFFLINESHOP_SYSTEM and ENABLE_SHOP_SEARCH_SYSTEM in Locale_inc.h
- Add CG57, CG58, CG143, GC47, GC48, GC156 packets and subheaders in Packet.h
- Implement PythonShop offline shop item/stock/money methods and Python bindings
- Implement PythonNetworkStream offline shop packet sending and receiving handlers
- Port PythonPrivateShopSearch and export privateShopSearch Python module
- Add PythonUtils PyTuple_GetLongLong for 64-bit yang input parsing
- Add Python UI module test assertions covering offline shop and search APIs
2026-10-20 03:38:34 -07:00
shenandshen 9ef25b79d8 feat: add special storage window definitions, player bindings, and UI module exports 2026-10-20 02:38:26 -07:00
shenandshen 2fc99d2fe7 feat: add 6th and 7th rare attribute client networking, constants, and locale 2026-10-20 01:46:17 -07:00
shenandshen 74044c59c1 feat: add active branch pet system client bindings, constants, and locale 2026-10-20 00:50:01 -07:00
shenandshen 90ff2a2d7b feat: add costume slots, shining types, and enchant stone targeting 2026-10-20 00:06:46 -07:00
shenandshen 86a769f7dd feat: add AVA2 64-bit gold protocol and client formatting 2026-10-19 23:23:31 -07:00
shenandshen 6661b17084 feat: add point currency and stage extended shop items
Rename shop currency and vouchers to points, synchronize the wiki catalogue, and display point rewards. Add wear40 item metadata transport and pet identity accessors; stage sixteen timed mounts and appearance items with AVA2 model registration.

Include build and sbtest acceptance evidence. Remaining shop systems are unfinished and are not enabled or deployed. Wear40 requires the matching server migration and mt20261022 client.
2026-10-19 18:30:19 -07:00
shenandshen 113ea26b07 Optimize mobile rendering and extend live-client launch options 2026-10-19 16:36:27 -07:00
shenandshen 3f72cb7cc4 Hide mobile HP and SP numeric labels 2026-10-19 15:09:44 -07:00
shenandshen 60c66b7ba7 Refine mobile HUD navigation, status readability and bounded chat preview 2026-10-19 12:23:27 -07:00
shenandshen 0fcb0dcaa4 Remove the extra mobile quick-slot 7 and 8 buttons 2026-10-19 07:24:36 -07:00
shenandshen f64bb1899b Tighten the mobile skill arc and reduce auto-hunt artwork 2026-10-19 07:22:27 -07:00
shenandshen 00ebdf0d43 Keep smaller mobile menus along the top edge clear of the original skill arc 2026-10-19 07:15:49 -07:00
shenandshen 24c1b3b416 Integrate AVA2 native shop and refine mobile controls and locale tooltips 2026-10-19 07:13:56 -07:00
shenandshen 1359eab806 feat: integrate native AVA2 battle pass, wiki, drop finder and calendar 2026-10-18 23:36:35 -07:00
shenandshen 62b61bafd0 Complete attribute lock links and active switchbot tooltips 2026-10-18 22:08:48 -07:00
shenandshen 0558166243 feat(mobile): optimize touch skill layout and add auto-hunt HUD and combat entries 2026-10-18 18:23:28 -07:00
shenandshen 82251cb524 feat: add read-only attr lock views for exchange, shop and storage tooltips 2026-10-18 18:23:02 -07:00
shenandshen 708e1c8379 feat: port AVA2 native channel dialog and preserve warp endpoint 2026-10-18 17:05:24 -07:00
shenandshen ab516feb7b Preserve live reconnect endpoints and execute QA commands between frames 2026-10-18 16:43:51 -07:00
shenandshen 95f1c30be2 Complete own-item attribute lock selection and tooltip flow 2026-10-18 16:28:16 -07:00
shenandshen 5decc93798 Port AVA2 native tracker and item-currency ticket shop 2026-10-18 10:41:51 -07:00
shenandshen 83809631ed feat: port native AVA2 chest preview and CG235 pickup flows 2026-10-18 04:01:56 -07:00
shenandshen b61140b8f4 fix: preserve D3D texture addressing in native UI sampling 2026-10-18 03:49:11 -07:00
shenandshen dc24e0e8e1 fix: restore readable dark panels in the AVA2 switchbot window 2026-10-17 16:47:21 -07:00
shenandshen e446ae8449 feat: add AVA2 minimap buttons and expanded taskbar entries 2026-10-17 16:40:54 -07:00
shenandshen 0b828387aa fix: let auto hunt recover from an occupied blocked terrain cell 2026-10-17 05:42:44 -07:00
shenandshen ae0fc25a81 perf(autohunt): avoid discarded A-star searches for attack sight lines 2026-10-16 23:14:48 -07:00
shenandshen b9f5d737cb fix(client): drain flying objects before effect shutdown 2026-10-16 23:12:13 -07:00
shenleiandClaude Opus 5.5 569afb1378 Level 120: autohunt large targets, boss hit range, QUEST_INFO size
- QUEST_INFO: take the full packet size from the flags (server built it short)
- Bosses get the huge-race 500 centre hit test, like AVA2 IsBoss()
- Autohunt: defending reach as body size for large targets, walk straight
  at a body in reach when the planner finds no path, escalating skip for a
  target it keeps stalling on, new anchor after a teleport, immune skip only
  on an explicit 0-damage packet
- ava2-dungeons README: hydra range notes, snow key stack note

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 11:59:54 +09:00
shenleiandClaude Opus 5.5 a1e7da68a4 Level 120 (L1-L5): AVA2 maps, drops, dungeons, dungeon timer UI
- tools/server/level-120: sbtest install of the 120 exp table and the
  unsigned exp column.
- tools/server/ava2-maps: the 10 AVA2 maps (pack, map data, regen, designed
  drops) for sbtest; Ava2MapsScript.inc, gr2 texture and mob_proto tests.
- tools/server/ava2-dungeons: snow / ship defence / Meley quests ported from
  AVA2 (make_quests.py + install.sh).
- mt_dungeon_timer (DungeonTimerScript.inc): AVA2 dungeon timer in place of
  the minimap (RefreshDungeonTimer) and the hydra mast HP bar (gethydrahp).
- Autohunt skips a target that is hit but takes no damage for 4 s (blocked
  Meley statues) and keeps it skipped for 60 s; FindCloseTarget now honours
  the skip list.

Meley full run passed on sbtest with the Mac client. Not deployed live.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 08:13:32 +09:00
shenleiandClaude Opus 5.5 99cf5514c3 Send the switchbot version mark on the EU version packet
Every locale.cfg build takes the EU branch of SendClientVersionPacket, so
"mt20261016" was never sent. The EU timestamp is now
"1215955205 mt20261016": the server's atoi version check still reads
1215955205.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 20:35:08 +09:00
shenleiandClaude Opus 5.5 fc98e6e2b4 Port the AVA2 switchbot window and switchbot module
PythonSwitchbot + PythonNetworkStreamPhaseGameSwitchbot from AVA2 (CG/GC 171,
SWITCHBOT window 7, SLOT_TYPE_SWITCHBOT), uiswitchbot.py verbatim in
SwitchbotScript.inc plus its ENABLE_SWITCHBOT glue (tooltip, mouse/inventory
drag-back, interface/game hooks, zh strings, server switchbot_* messages).
Entry is the minimap 洗练 button; F9 stays with auto-hunt. The client version
timestamp is now "mt20261016" so the server enables the switchbot.
50348/50349 no longer open the window. Adds docs/AVA2-PARITY-PLAN.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 20:26:06 +09:00
shenleiandClaude Opus 5.5 e70a6abf7a Merge main into feature/ava2-unlock
Conflicts resolved by keeping both sides: AVA2 attribute lock materials
(50348/50349) and battle pass tickets from main alongside the unlock
branch's costume enchants, talismans and new rings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 18:14:39 +09:00
shenandshen 507e687867 feat: add MeshPort overlay networking, item actions window, and AVA2 client enhancements
- add MeshPort peer-to-peer overlay networking SDK, C++ integration, and Python bindings
- add item actions quick use/split/delete/lock overlay window (mt_item_actions)
- add shop name range and NPC name visibility settings to system display options
- support battlepass ticket activation and month validation in mt_battlepass
- support boss tracking teleport destination button in mt_bosses
- support asynchronous account registration cancellation and pending login cancellation
- update AVA2 item conversion for attr lock scrolls and battlepass tickets
- update .gitignore for local build outputs and caches
2026-10-16 01:29:57 -07:00
shenleiandClaude Opus 5.5 8d01a7a754 AVA2 unlock P8: new rings client (mt_rings, ring slots, item import)
ITEM_TYPE_RINGS / c_Equipment_Rings1/2, mt_rings adds the two slots beside
the shoes, the accessory tooltip and the drill / jewel / switcher / adder drop
targets; make_items imports the four +0..+9 ring chains.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 14:40:40 +09:00
shenleiandClaude Opus 5.5 b9af78ef64 AVA2 unlock P7: talismans (护符) and their attribute items
- ARMOR_PENDANT / APPLY_ENCHANT_* 123-128 / c_Equipment_Pendant (server WEAR_PENDANT 27) constants
- mt_pendant: equipment slot under the earring, drop targets for 71302/53996 (reroll) and 71301/53997
  (add, max 5), MTPENDANT messages; enchant apply texts in mt_applies
- switchbot ignores talismans and talisman rerolls
- make_items keeps the six +0..+200 chains (1206 items) and the four attribute items
- tools/server/pendant: refine sets 440-499 (AVA2 rows) + install.sh

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 14:26:12 +09:00
shenleiandClaude Opus 5.5 a1b63c0afb AVA2 unlock P6: costume enchants (client)
Keep 54001-54078 (body/hair) and 54124-54174 (mount skin) enchants as
USE_CHANGE_ATTRIBUTE; mt_costume_attr marks matching costumes as drop
targets, shows the attribute in the tooltip and renders MTCATTR; the
switchbot no longer lists enchants as scrolls.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 14:07:07 +09:00