refine_scan
Narrow an existing memory scan result set by comparing values again. Use after changing a value in the process to collapse thousands of candidates to a few addresses.
Instructions
Narrow an existing result set. The second step, repeated.
This is Cheat Engine's "Next Scan", and it is what makes the whole workflow work: change the value in the target (take damage, spend a coin), then keep only the addresses that changed to match. Two or three rounds usually collapse tens of thousands of candidates to one.
It re-reads the addresses already in the set rather than walking memory
again, so it is orders of magnitude faster than a fresh scan and cannot
find addresses the original scan missed. Each refine returns a new
scan_id; the previous set stays live, so a refine that narrows too
far (down to zero) can be retried from the one before it.
:param scan_id: the set to narrow.
:param scan_type: comparison to apply — the same names scan_value
takes. For str / bytes sets only exact / not_exact
are available.
:param value: the value to compare against.
:param end_value: upper bound for between / not_between.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | ||
| scan_id | Yes | ||
| end_value | No | ||
| scan_type | No | exact |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |