Fix incubator dispatch 997 by using active monsterIds contract

This commit is contained in:
AttilaNet
2026-11-07 23:24:59 +08:00
parent 42edc111d1
commit 5f0a9eaac3
11 changed files with 93 additions and 21 deletions
+10 -4
View File
@@ -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 ->