Fix incubator dispatch 997 by using active monsterIds contract
This commit is contained in:
@@ -33,11 +33,11 @@
|
||||
|
||||
- 看培育槽/背包:`masterQueryDetail`;刷新成长:`stackCheckProcess`;放蛋:`stackAddMonster`。
|
||||
- 收取到牧场:`stackTransferMonster`,`datas` 内具体结构需结合调用者;派遣:`monsterSell`。
|
||||
- 注意 `NetStack.sellMonsters` 发送 `monsterId` 数组,`NetMonster.sellMonsters` 发送 `monsterIds` 数组,不能混用包装层。
|
||||
- 派遣统一使用 `monsterIds` 数组:`MonsterCenter.sellAllStackMonsters` 的培育室路径也调用 `NetMonster.sellMonsters`。`NetStack.sellMonsters` 的单数 `monsterId` 是未找到调用点的旧包装;用户日志中它返回997,复数请求成功。
|
||||
- 喂养升级:`monsterIntensify`,目标 `targetId`,素材数组 `foods`。
|
||||
- 委托:`taskLoopFlush` → `taskLoopReceive` → `taskCompleteStep` → `taskComplete`。
|
||||
- 普通冒险:`stageStart` → 客户端实际战斗 → `battleEnd`。后者提交 `battleData`,包含伤害、击杀、时间、阵容等。
|
||||
- 本次范围未发现独立扫荡路径;战斗结算不是只发成功标志。服务端如何验证仍未知。
|
||||
- 客户端 `StageStartPanel.startSaodang/doSaodangBattle` 复用上述接口;普通关卡三个难度全部通关后开放。详见 `STAGES_DAILY.md`。服务端如何验证仍未知。
|
||||
|
||||
## 游戏接口(按功能)
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ writes stop with a persisted pending record; no automatic replay occurs.
|
||||
VIP daily gifts and mail attachment claims. Refreshes remain read-only; explicit
|
||||
selection and execution are required. Null VIPs, millisecond/second timestamps,
|
||||
JSON mail rewards and stale reads are handled. New policy and budget files remain
|
||||
role-isolated. Full local suite: 100 tests passed. Live reward/sweep use is still
|
||||
role-isolated. Full local suite: 101 tests passed. Live reward/sweep use is still
|
||||
unverified; no real account or phone was operated during this work.
|
||||
|
||||
The screenshot page remains necessary for ADB real battles such as special
|
||||
@@ -153,8 +153,14 @@ is enlarged. See `STAGES_DAILY.md` for source evidence and endpoint details.
|
||||
|
||||
## Artifact evidence
|
||||
|
||||
- `NetStack.as`, `NetMonster.as`: incubation, growth settlement, transfer,
|
||||
dispatch and feeding payloads, including singular/plural dispatch differences.
|
||||
- `NetStack.as`, `NetMonster.as`: incubation, growth settlement, transfer and
|
||||
feeding payloads. Dispatch always follows `MonsterCenter.sellMonsters` to
|
||||
`NetMonster` with plural `monsterIds`, including mature incubator monsters.
|
||||
The unused `NetStack.sellMonsters` singular field is not the live contract:
|
||||
user logs show five 997 responses for that field and earlier successes for
|
||||
plural requests. The previous helper incorrectly selected it by process=2.
|
||||
Automatic and manual dispatch now use the active plural field; the encrypted
|
||||
loopback regression reproduced 997 before the fix and passes after it.
|
||||
- `MasterCenter.as`, `MonsterCenter.as`, `StackCenter.as`, `MonsterVo.as`,
|
||||
`GameMath.as`: snapshot data, maturity, room/VIP limits, growth grades,
|
||||
sale values and feeding experience formula.
|
||||
@@ -193,7 +199,7 @@ method informs the configurable strategy; numeric values come from the APK.
|
||||
|
||||
## Validation and remaining inputs
|
||||
|
||||
100 unit/integration tests pass: eligible-stage sweep and daily claim workflows,
|
||||
101 unit/integration tests pass: mature incubator dispatch contract, eligible-stage sweep and daily claim workflows,
|
||||
pending writes and role/day budgets, stage tree/rule restoration and scroll
|
||||
geometry, plus local encrypted HTTP and inventory actions,
|
||||
SDK password form/headers -> two Android regions -> selected region entry ->
|
||||
|
||||
Reference in New Issue
Block a user