Add region stage selection, eligible sweeps and daily rewards
This commit is contained in:
@@ -4,6 +4,29 @@ Implemented in `ranch_assistant`; launch `Start_Ranch_Helper.cmd`.
|
||||
See `ranch_assistant/README.md` for login, strategies and page screenshots.
|
||||
The successful V4 combat package was not modified or rebuilt.
|
||||
|
||||
## Stage tree, built-in sweep and daily rewards
|
||||
|
||||
The stage page now groups the shipped 1178 stages by region, with account-specific
|
||||
unlocked difficulty choices, stars, possible drops, per-stage checkboxes and local
|
||||
daily attempt limits. Wire progress is a list of difficulty IDs, not a boolean
|
||||
array. The previous search missed the pinyin `saodang` methods: ordinary stages
|
||||
with all three difficulties cleared have an official sweep branch that reuses
|
||||
stageStart/battleEnd/recordBattleResult without battle simulation. This branch is
|
||||
implemented only with the original eligibility conditions. Events and uncertain
|
||||
writes stop with a persisted pending record; no automatic replay occurs.
|
||||
|
||||
每日事务 groups sign-in gifts, seven-day check-ins, cumulative rewards, eligible
|
||||
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
|
||||
unverified; no real account or phone was operated during this work.
|
||||
|
||||
The screenshot page remains necessary for ADB real battles such as special
|
||||
pudding stages; it is not required for the eligible API sweeps. Its content is
|
||||
now scrollable and table rows fit native buttons, preventing overlap when the log
|
||||
is enlarged. See `STAGES_DAILY.md` for source evidence and endpoint details.
|
||||
|
||||
## Current workflow
|
||||
|
||||
- The compact native page is named 自动孵蛋. The backpack table has per-species
|
||||
@@ -98,9 +121,9 @@ The successful V4 combat package was not modified or rebuilt.
|
||||
resources, advance satisfied steps and claim rewards. Needed eggs/monster
|
||||
types are reserved against ranch actions. Battles and subsequent story steps
|
||||
wait for the game; automatic navigation to each quest battle is not implemented.
|
||||
- The map view shows stage/difficulty unlock and pass records from the account
|
||||
snapshot, and can choose a normal ADB farming target. There is no claimed
|
||||
standalone instant-sweep endpoint or headless battle simulator.
|
||||
- The map tree shows account difficulty unlocks, stars and possible rewards.
|
||||
The official eligible-stage sweep reuses the existing stage endpoints;
|
||||
special stages can instead choose a normal ADB farming target.
|
||||
- The incubation view includes closed positions and the separate VIP slot.
|
||||
Real snapshots use monsterId=-1 for an empty slot; <=0 values now count as
|
||||
empty and negative IDs never enter the managed-monster set. Offline replay of
|
||||
@@ -158,7 +181,8 @@ The successful V4 combat package was not modified or rebuilt.
|
||||
- `NetStage.as`, `BattleData.as`, `BattlePanel.as`: ordinary stage start,
|
||||
local simulation and `battleEnd` containing kills, damage, time, formation
|
||||
and other fields. This is not merely a success flag. Server-side validation
|
||||
remains unknown. No sweep endpoint was found in the inspected network classes.
|
||||
remains unknown. `StageStartPanel.doSaodangBattle` separately implements the
|
||||
built-in all-difficulties-cleared sweep using the same network endpoints.
|
||||
- `MYRCryptor.as` and `tools/extract_ranch_catalog.py`: MD5 resource paths,
|
||||
zlib/AMF3 table decoding. Extracted 749 monsters, 1,178 stages, 78 special-stage
|
||||
entries and 83 recurring task definitions, plus rooms, server and game settings.
|
||||
@@ -169,7 +193,9 @@ method informs the configurable strategy; numeric values come from the APK.
|
||||
|
||||
## Validation and remaining inputs
|
||||
|
||||
88 unit/integration tests pass: local encrypted HTTP and inventory actions,
|
||||
100 unit/integration tests pass: 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 ->
|
||||
snapshot, verification/limited-login stops, recurring tasks and protections,
|
||||
map unlocks per difficulty, screenshot/profile storage and invalidation, fake
|
||||
|
||||
Reference in New Issue
Block a user