joywayer
|
e47d9d3007
|
fix(net): stabilize shared wire graph audits
|
2026-09-05 04:52:02 +08:00 |
|
joywayer
|
33904e0e58
|
fix(net): serialize validated wire snapshots
|
2026-09-05 04:40:11 +08:00 |
|
joywayer
|
85db7765ac
|
fix(net): validate wire frames and coalesce reconnects
|
2026-09-05 04:25:51 +08:00 |
|
joywayer
|
58a7a2dc68
|
fix(net): harden wire lifecycle races
|
2026-09-05 04:13:58 +08:00 |
|
joywayer
|
a8873b9a84
|
refactor(net): isolate transport and wire lifecycle
|
2026-09-05 03:57:32 +08:00 |
|
joywayer
|
0a7951ba32
|
feat(protocol): define strict first-slice wire contracts
|
2026-09-05 02:06:46 +08:00 |
|
 joywayerandClaude Opus 4.8
|
883335f656
|
fix(framework): kick_server 终止不重连(对齐真实客户端)
收到 kick_server 时 emit kicked 并 stop(),不再 onClose→重连→重踢空转。
kick 处理移出登录门控,登录态内外一致。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-28 20:37:16 +08:00 |
|
 joywayerandClaude Opus 4.8
|
ad661707ec
|
fix(framework): player_login.version 改为数字 versionCode(联调登录成功)
真机联调发现:协议 version 字段=数字 versionCode(源码 8 处 data.version=GameData.versionCode),
框架原发字符串 '1.1' 被服务器版本校验拒绝(kick_server 检查到新版本)。改为数字后登录成功
(state:0 playerid:430511)。
- ChannelIdentity/LoginRequestData.version: string→number,去掉冗余 versionCode 与未发送的 '1.1' 串
- query-string version 解析为数字;测试 fixture 同步
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-28 20:33:53 +08:00 |
|
 joywayerandClaude Opus 4.8
|
96c6c7c914
|
fix(framework): decodeFrame 改单层(服务器协议非双层)
真机联调发现:服务器实发单层 {app,route,rpc,data};旧客户端的'外层 data'是浏览器
MessageEvent(00_minhttp.js:266 ws.onmessage=config.onmessage),非协议层。框架传输层
已取 ev.data,decodeFrame 不应再剥一层。修正后 kick_server 等业务包能正确解析。
- decodeFrame 单层化 + 测试改单层帧
- 更正 docs/protocol/01 §3.2(双层→单层,附 MessageEvent 依据)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-28 20:25:36 +08:00 |
|
 joywayerandClaude Opus 4.8
|
5ab4a0a4b6
|
feat(framework): net NetClient 可选 debug 收发包日志
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-28 18:16:36 +08:00 |
|
 joywayerandClaude Opus 4.8
|
540cf286a5
|
feat(framework): net-client 编排(login流程/门控/TcpID/超时重连/服务器切换/事件)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-28 14:24:57 +08:00 |
|
 joywayerandClaude Opus 4.8
|
79d0071645
|
feat(framework): net 候选服务器轮询策略
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-28 14:23:41 +08:00 |
|
 joywayerandClaude Opus 4.8
|
08d41cdec1
|
feat(framework): net 收包超时看门狗(注入 Clock 可测)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-28 14:23:13 +08:00 |
|
 joywayerandClaude Opus 4.8
|
90843374f9
|
feat(framework): net Transport 接口 + 测试用 FakeTransport
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-28 14:22:47 +08:00 |
|
 joywayerandClaude Opus 4.8
|
7dcdeb6615
|
feat(framework): net 信封编解码 + 握手/心跳/错误包识别
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-28 14:22:18 +08:00 |
|