Skip to content

fix(solaris): sp_hide_moves 兼容国服新增的 newse 字段 - #19

Closed
CrispWw wants to merge 1 commit into
SeerAPI:mainfrom
CrispWw:fix/sp_hide_moves-newse
Closed

CrispWw wants to merge 1 commit into
SeerAPI:mainfrom
CrispWw:fix/sp_hide_moves-newse

Conversation

@CrispWw

@CrispWw CrispWw commented Nov 20, 2026

Copy link
Copy Markdown

fix(solaris): sp_hide_moves 兼容国服新增的 newse 字段

2026-11-19 起国服 unity 端 sp_hide_moves.bytes 每行末尾新增一个 int 字段
(反编译证据:core/config/sp_hide_moves/ISpMovesItem.Parse 末尾 newse = ByteUtil.ReadSignedInt(...)),
台服仍是 8 字段。现有 SpHideMovesParser 按旧布局读,第一行后即错位,报:

IndexError: reading 59326 bytes from index 88 exceeds buffer length 14630

修复:两种布局都尝试,以“解析后正好读到文件尾”为准;JSON 增加 newse 键

实测:

  • 国服 sp_hide_moves.bytes(14630B):show 100 / sp 145,EOF 无剩余

@Nattsu39 Nattsu39 closed this Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants