Fix the UI-event fuel trap on a second large raid order
build / mod (push) Failing after 22s

The Windows log for #122 showed the mod stopping in the UI event
(fuel budget 1e9, remaining 0) with known_units <- order_raid <-
launch_wave <- ui_select: order_raid recomputed the planner snapshot
known_units() for every drone, and the snapshot itself rescanned the
whole force and the dedup list per intel entry. A second big Smart
order cost drones x intel-log x force-size inside one event.

Reproduced in actual WASM with measured per-callback fuel through the
exact ui_select(BTN_LAUNCH) handler (diagnostic guest, trigger.patch):
before, a 111-drone second order at revealed=13172/known=144 exhausted
exactly 1e9 and stopped the mod (an 11-drone order at the same state:
247805865); after, the same scenario passes with max command fuel
32946177/1e9, failures=0, and /stats at tick 2602 byte-identical.
A stacked single-point layout dies to one warhead (known=0, cheap
order), so the scenario deploys spread clusters with a moved player.

Fix: one known_units snapshot per order_raid passed to radar_strikes
and choose_target; known_units is a single O(log + force) set pass;
price_grid_on reuses its snapshot. Emitter/network targeting and
carrier choice semantics are unchanged (native equivalence test
against the former predicate; WASM checkpoint counters equal).
Limits unchanged; HD/recording untouched; wave size unrestricted.

Committed regressions: native snapshot-equivalence and
second-smart-order tests; the heavy WASM fixture now orders two Smart
raids through the wave screen's launch function (airdef preset +
airdef raid) with EW and a combat intel log, four accepted orders
asserted; the light contract covers preset and the empty-wave refusal.

Core release 195 + 8 scenarios; adapter 65 + 1 boundary + 5 scenarios;
light WASM 30 steps; heavy WASM 283 steps (tick max 182413686/300M,
command max 6939810/1e9, failures 0). Windows GUI acceptance remains
external and is not claimed.

Co-Authored-By: Kimi Code (Moonshot AI) <noreply@moonshot.cn>
This commit is contained in:
2026-11-04 21:49:25 +03:00
parent 61aaa0bf35
commit d45629ae29
19 changed files with 1907 additions and 43 deletions
+47 -17
View File
@@ -1,11 +1,11 @@
{
"airdef": {
"diff_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"dirty": false,
"sha": "293236490b567866f7468a5bee5d61b0dcf8086d"
"diff_sha256": "143fbab5f1fd60981df9ef8ef3081b08a4102507f2588c6942924a7325b5139b",
"dirty": true,
"sha": "e6a70004406b34ea17884875ce236a5fb4b849e4"
},
"api_level": 27,
"artifact_sha256": "cb52fa5fd6beb266c63f2a5f2aa50553c24bc435a212c76142cc1bd228fd0aa6",
"api_level": 29,
"artifact_sha256": "c4ef7d759524eb053ccd55f0eccdcb49c91954201eb4e0ad923ee9b2828efc4e",
"build_identity": {
"checks": {
"airdef_diff_sha256": true,
@@ -17,15 +17,45 @@
"wit_sha256": true
},
"matches": true,
"path": "airdef-mod/target/horizon-mod/build-identity.json"
"path": "/private/tmp/issue-122-raid/airdef-mod/target/horizon-mod/build-identity.json"
},
"command": "test-budgets",
"engine": {
"identity": "ed7615d362490f57bca5ac239c64eb9360913a4b",
"pin": "ed7615d362490f57bca5ac239c64eb9360913a4b"
"identity": "73b9d307048fc44d7f21fa3c829fc5a855d144a6",
"pin": "73b9d307048fc44d7f21fa3c829fc5a855d144a6"
},
"exit_code": 0,
"output": " Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s\n Running `<checkout>/horizon/target/debug/cargo-horizon-mod horizon-mod test --hmod <checkout>/airdef-mod/target/horizon-mod/airdef.hmod budget`\nrunning 1 scripts against <checkout>/airdef-mod/target/horizon-mod/airdef.hmod\ntest tests/wasm_budget.toml ... ok (271 steps)\ntest result: ok. 1 passed\n",
"measured_fuel": {
"available": true,
"callbacks": [
{
"budget": 1000000000,
"callback": "command",
"calls": 79,
"failures": 0,
"max_used": 6939810,
"mod": "airdef"
},
{
"budget": 10000000,
"callback": "frame",
"calls": 2202,
"failures": 0,
"max_used": 77,
"mod": "airdef"
},
{
"budget": 300000000,
"callback": "tick",
"calls": 3302,
"failures": 0,
"max_used": 182413686,
"mod": "airdef"
}
],
"scope": "guest callback fuel; excludes host CPU, memory and GPU time"
},
"output": " Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s\n Running `/private/tmp/issue-122-raid/horizon/target/debug/cargo-horizon-mod horizon-mod test --hmod /private/tmp/issue-122-raid/airdef-mod/target/horizon-mod/airdef.hmod --fuel-profile budget`\nrunning 1 scripts against /private/tmp/issue-122-raid/airdef-mod/target/horizon-mod/airdef.hmod\nfuel airdef command: calls=79 max=6939810 budget=1000000000 failures=0\nfuel airdef frame: calls=2202 max=77 budget=10000000 failures=0\nfuel airdef tick: calls=3302 max=182413686 budget=300000000 failures=0\ntest tests/wasm_budget.toml ... ok (283 steps)\ntest result: ok. 1 passed\n",
"runtime_limits": {
"fuel_per_call": {
"event": 1000000000,
@@ -34,16 +64,16 @@
"tick": 300000000
},
"memory_bytes": 67108864,
"metering": "source_configured; measured_per_scenario: unavailable",
"metering": "source_configured",
"source": "horizon/crates/horizon-mods/src/runtime.rs",
"wasmtime_component_model": true,
"wasmtime_fuel_metering": true
},
"scenario": "tests/budgets/wasm_flat_budget.toml",
"scenario_counts": {
"accepted_raids_asserted": 2,
"air_defense_units": 64,
"frames": 2052,
"accepted_raids_asserted": 4,
"air_defense_units": 68,
"frames": 2202,
"layout_unit_limit": 2000,
"peak_airborne_observed": null,
"raid_requests": 2,
@@ -51,13 +81,13 @@
"scripts": 1,
"snapshot_airborne_asserted": 184,
"snapshot_tick": 2102,
"steps": 271,
"ticks": 2102
"steps": 283,
"ticks": 3302
},
"scenario_render_world": "flat at y=64",
"scenario_sha256": "bcc0359289ab20ab3de608bcc130f72d2cf88f9f6fbc470d7b6846e9db5d11df",
"scenario_sha256": "134cb4667691cf9faa639ed37120941d829cfc13ce45e9638582c409d9e0dd29",
"schema": 1,
"status": "passed",
"wasmtime_version": "48.0.7",
"wit_sha256": "14c57b73f144888e04e27b77a6dfa29098c6b0c27c0383bb96aedaccb4c0a1d4"
"wit_sha256": "dded023a150a5f916bc5d935b7f891806728e0118eb7107ad0551d2aad8c70a5"
}
@@ -0,0 +1,6 @@
running 1 scripts against /tmp/issue-122-raid/airdef-mod/target/horizon-mod/airdef.hmod
fuel airdef command: calls=179 max=32946177 budget=1000000000 failures=0
fuel airdef frame: calls=377 max=77 budget=10000000 failures=0
fuel airdef tick: calls=3802 max=236581288 budget=300000000 failures=0
test tests/wasm_budget.toml ... ok (255 steps)
test result: ok. 1 passed
@@ -0,0 +1,10 @@
=== BEFORE: scaling witness — an 11-drone second order at the same state ===
running 1 scripts against /tmp/issue-122-run/airdef-diag-before.hmod
fuel airdef command: calls=177 max=247805865 budget=1000000000 failures=0
fuel airdef frame: calls=257 max=77 budget=10000000 failures=0
fuel airdef tick: calls=2602 max=241372671 budget=300000000 failures=0
test tests/wasm_budget.toml ... FAILED
step 229 (/airdef wave mix 1 300): feedback
expected: Some("PROBE")
got: Some("DIAG revealed=13172 known=144 sams=172 alive=144 planning=true queue=0")
error: 1 failed, 0 passed
@@ -0,0 +1,7 @@
=== BEFORE: second order (UI path) traps at the 1e9 event budget ===
running 1 scripts against /tmp/issue-122-run/airdef-diag-before.hmod
fuel airdef command: calls=177 max=1000000000 budget=1000000000 failures=1
fuel airdef frame: calls=257 max=77 budget=10000000 failures=0
fuel airdef tick: calls=2602 max=241372671 budget=300000000 failures=0
test tests/wasm_budget.toml ... ok (229 steps)
test result: ok. 1 passed
@@ -0,0 +1,762 @@
[[step]]
render-ground-y = 64
ticks = 2
frames = 2
expect.commands = ["airdef"]
[[step]]
player = { x = 0.0, z = 0.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 0.0, z = 0.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 0.0, z = 0.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 0.0, z = 0.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 0.0, z = 0.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 40.0, z = 0.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 40.0, z = 0.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 40.0, z = 0.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 40.0, z = 0.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 40.0, z = 0.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 80.0, z = 0.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 80.0, z = 0.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 80.0, z = 0.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 80.0, z = 0.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 80.0, z = 0.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 120.0, z = 0.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 120.0, z = 0.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 120.0, z = 0.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 120.0, z = 0.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 120.0, z = 0.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 160.0, z = 0.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 160.0, z = 0.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 160.0, z = 0.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 160.0, z = 0.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 160.0, z = 0.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 200.0, z = 0.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 200.0, z = 0.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 200.0, z = 0.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 200.0, z = 0.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 200.0, z = 0.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 240.0, z = 0.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 240.0, z = 0.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 240.0, z = 0.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 240.0, z = 0.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 240.0, z = 0.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 280.0, z = 0.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 280.0, z = 0.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 280.0, z = 0.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 280.0, z = 0.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 280.0, z = 0.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 0.0, z = 40.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 0.0, z = 40.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 0.0, z = 40.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 0.0, z = 40.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 0.0, z = 40.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 40.0, z = 40.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 40.0, z = 40.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 40.0, z = 40.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 40.0, z = 40.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 40.0, z = 40.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 80.0, z = 40.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 80.0, z = 40.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 80.0, z = 40.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 80.0, z = 40.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 80.0, z = 40.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 120.0, z = 40.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 120.0, z = 40.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 120.0, z = 40.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 120.0, z = 40.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 120.0, z = 40.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 160.0, z = 40.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 160.0, z = 40.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 160.0, z = 40.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 160.0, z = 40.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 200.0, z = 40.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 200.0, z = 40.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 200.0, z = 40.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 200.0, z = 40.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 240.0, z = 40.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 240.0, z = 40.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 240.0, z = 40.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 240.0, z = 40.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 280.0, z = 40.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 280.0, z = 40.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 280.0, z = 40.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 280.0, z = 40.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 0.0, z = 80.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 0.0, z = 80.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 0.0, z = 80.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 0.0, z = 80.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 40.0, z = 80.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 40.0, z = 80.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 40.0, z = 80.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 40.0, z = 80.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 80.0, z = 80.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 80.0, z = 80.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 80.0, z = 80.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 80.0, z = 80.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 120.0, z = 80.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 120.0, z = 80.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 120.0, z = 80.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 120.0, z = 80.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 160.0, z = 80.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 160.0, z = 80.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 160.0, z = 80.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 160.0, z = 80.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 200.0, z = 80.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 200.0, z = 80.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 200.0, z = 80.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 200.0, z = 80.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 240.0, z = 80.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 240.0, z = 80.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 240.0, z = 80.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 240.0, z = 80.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 280.0, z = 80.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 280.0, z = 80.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 280.0, z = 80.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 280.0, z = 80.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 0.0, z = 120.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 0.0, z = 120.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 0.0, z = 120.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 0.0, z = 120.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 40.0, z = 120.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 40.0, z = 120.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 40.0, z = 120.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 40.0, z = 120.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 80.0, z = 120.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 80.0, z = 120.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 80.0, z = 120.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 80.0, z = 120.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 120.0, z = 120.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 120.0, z = 120.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 120.0, z = 120.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 120.0, z = 120.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 160.0, z = 120.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 160.0, z = 120.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 160.0, z = 120.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 160.0, z = 120.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 200.0, z = 120.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 200.0, z = 120.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 200.0, z = 120.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 200.0, z = 120.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 240.0, z = 120.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 240.0, z = 120.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 240.0, z = 120.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 240.0, z = 120.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 280.0, z = 120.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 280.0, z = 120.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 280.0, z = 120.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 280.0, z = 120.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 0.0, z = 160.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 0.0, z = 160.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 0.0, z = 160.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 0.0, z = 160.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 40.0, z = 160.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 40.0, z = 160.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 40.0, z = 160.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 40.0, z = 160.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 80.0, z = 160.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 80.0, z = 160.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 80.0, z = 160.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 80.0, z = 160.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 120.0, z = 160.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 120.0, z = 160.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 120.0, z = 160.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 120.0, z = 160.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 160.0, z = 160.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 160.0, z = 160.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 160.0, z = 160.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 160.0, z = 160.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 200.0, z = 160.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 200.0, z = 160.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 200.0, z = 160.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 200.0, z = 160.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 240.0, z = 160.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 240.0, z = 160.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 240.0, z = 160.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 240.0, z = 160.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 280.0, z = 160.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 280.0, z = 160.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 280.0, z = 160.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 280.0, z = 160.0 }
command = "airdef deploy pantsir"
[[step]]
command = "airdef ew on"
[[step]]
command = "airdef wave mix 10 300"
[[step]]
ticks = 100
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
command = "airdef ew on"
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
command = "airdef ew on"
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
command = "airdef stats"
expect.feedback = "В воздухе: 0, ракет: 0, ПВО: 172, сбито: 308, поражений: 87, разбились о препятствия: 0; удары по ПУ: пущено 0, уничтожено 0, подавлено 0, промахов 0, сбито ПВО 0; мир: 8156 секций (382 КБ), запросов 16075, неизвестно 0, лучей 87524 (ударов 1830, неизв. 1567), клеток 1318224; взрывы в блоках: 239 (подтверждено 0, без перемен 37, нет чанка 202), чужих ответов 0"
[[step]]
command = "airdef wave mix 10 300"
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
command = "airdef stats"
expect.feedback = "В воздухе: 0, ракет: 0, ПВО: 172, сбито: 309, поражений: 87, разбились о препятствия: 0; удары по ПУ: пущено 0, уничтожено 0, подавлено 0, промахов 0, сбито ПВО 0; мир: 8557 секций (401 КБ), запросов 16511, неизвестно 0, лучей 89230 (ударов 2855, неизв. 2039), клеток 1326528; взрывы в блоках: 239 (подтверждено 0, без перемен 37, нет чанка 202), чужих ответов 0"
@@ -0,0 +1,688 @@
[[step]]
render-ground-y = 64
ticks = 2
frames = 2
expect.commands = ["airdef"]
[[step]]
player = { x = 0.0, z = 0.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 0.0, z = 0.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 0.0, z = 0.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 0.0, z = 0.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 0.0, z = 0.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 40.0, z = 0.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 40.0, z = 0.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 40.0, z = 0.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 40.0, z = 0.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 40.0, z = 0.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 80.0, z = 0.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 80.0, z = 0.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 80.0, z = 0.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 80.0, z = 0.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 80.0, z = 0.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 120.0, z = 0.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 120.0, z = 0.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 120.0, z = 0.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 120.0, z = 0.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 120.0, z = 0.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 160.0, z = 0.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 160.0, z = 0.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 160.0, z = 0.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 160.0, z = 0.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 160.0, z = 0.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 200.0, z = 0.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 200.0, z = 0.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 200.0, z = 0.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 200.0, z = 0.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 200.0, z = 0.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 240.0, z = 0.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 240.0, z = 0.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 240.0, z = 0.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 240.0, z = 0.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 240.0, z = 0.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 280.0, z = 0.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 280.0, z = 0.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 280.0, z = 0.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 280.0, z = 0.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 280.0, z = 0.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 0.0, z = 40.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 0.0, z = 40.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 0.0, z = 40.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 0.0, z = 40.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 0.0, z = 40.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 40.0, z = 40.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 40.0, z = 40.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 40.0, z = 40.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 40.0, z = 40.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 40.0, z = 40.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 80.0, z = 40.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 80.0, z = 40.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 80.0, z = 40.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 80.0, z = 40.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 80.0, z = 40.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 120.0, z = 40.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 120.0, z = 40.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 120.0, z = 40.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 120.0, z = 40.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 120.0, z = 40.0 }
command = "airdef deploy ew"
[[step]]
player = { x = 160.0, z = 40.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 160.0, z = 40.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 160.0, z = 40.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 160.0, z = 40.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 200.0, z = 40.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 200.0, z = 40.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 200.0, z = 40.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 200.0, z = 40.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 240.0, z = 40.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 240.0, z = 40.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 240.0, z = 40.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 240.0, z = 40.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 280.0, z = 40.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 280.0, z = 40.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 280.0, z = 40.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 280.0, z = 40.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 0.0, z = 80.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 0.0, z = 80.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 0.0, z = 80.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 0.0, z = 80.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 40.0, z = 80.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 40.0, z = 80.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 40.0, z = 80.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 40.0, z = 80.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 80.0, z = 80.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 80.0, z = 80.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 80.0, z = 80.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 80.0, z = 80.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 120.0, z = 80.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 120.0, z = 80.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 120.0, z = 80.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 120.0, z = 80.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 160.0, z = 80.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 160.0, z = 80.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 160.0, z = 80.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 160.0, z = 80.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 200.0, z = 80.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 200.0, z = 80.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 200.0, z = 80.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 200.0, z = 80.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 240.0, z = 80.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 240.0, z = 80.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 240.0, z = 80.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 240.0, z = 80.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 280.0, z = 80.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 280.0, z = 80.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 280.0, z = 80.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 280.0, z = 80.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 0.0, z = 120.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 0.0, z = 120.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 0.0, z = 120.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 0.0, z = 120.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 40.0, z = 120.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 40.0, z = 120.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 40.0, z = 120.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 40.0, z = 120.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 80.0, z = 120.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 80.0, z = 120.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 80.0, z = 120.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 80.0, z = 120.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 120.0, z = 120.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 120.0, z = 120.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 120.0, z = 120.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 120.0, z = 120.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 160.0, z = 120.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 160.0, z = 120.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 160.0, z = 120.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 160.0, z = 120.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 200.0, z = 120.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 200.0, z = 120.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 200.0, z = 120.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 200.0, z = 120.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 240.0, z = 120.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 240.0, z = 120.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 240.0, z = 120.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 240.0, z = 120.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 280.0, z = 120.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 280.0, z = 120.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 280.0, z = 120.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 280.0, z = 120.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 0.0, z = 160.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 0.0, z = 160.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 0.0, z = 160.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 0.0, z = 160.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 40.0, z = 160.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 40.0, z = 160.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 40.0, z = 160.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 40.0, z = 160.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 80.0, z = 160.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 80.0, z = 160.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 80.0, z = 160.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 80.0, z = 160.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 120.0, z = 160.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 120.0, z = 160.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 120.0, z = 160.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 120.0, z = 160.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 160.0, z = 160.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 160.0, z = 160.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 160.0, z = 160.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 160.0, z = 160.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 200.0, z = 160.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 200.0, z = 160.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 200.0, z = 160.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 200.0, z = 160.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 240.0, z = 160.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 240.0, z = 160.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 240.0, z = 160.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 240.0, z = 160.0 }
command = "airdef deploy pantsir"
[[step]]
player = { x = 280.0, z = 160.0 }
command = "airdef deploy s400"
[[step]]
player = { x = 280.0, z = 160.0 }
command = "airdef deploy patriot"
[[step]]
player = { x = 280.0, z = 160.0 }
command = "airdef deploy nasams"
[[step]]
player = { x = 280.0, z = 160.0 }
command = "airdef deploy pantsir"
[[step]]
command = "airdef ew on"
[[step]]
command = "airdef wave mix 10 300"
[[step]]
ticks = 100
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
command = "airdef ew on"
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
command = "airdef ew on"
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
ticks = 50
frames = 5
[[step]]
command = "airdef stats"
expect.feedback = "В воздухе: 0, ракет: 0, ПВО: 172, сбито: 308, поражений: 87, разбились о препятствия: 0; удары по ПУ: пущено 0, уничтожено 0, подавлено 0, промахов 0, сбито ПВО 0; мир: 8156 секций (382 КБ), запросов 16075, неизвестно 0, лучей 87524 (ударов 1830, неизв. 1567), клеток 1318224; взрывы в блоках: 239 (подтверждено 0, без перемен 37, нет чанка 202), чужих ответов 0"
[[step]]
command = "airdef wave mix 10 300"
expect.stopped = "exceeded its execution limit"
@@ -0,0 +1,67 @@
{
"schema": 1,
"issue": 122,
"kind": "diagnostic_guest_ui_path_comparison_not_exact_user_session",
"user_report": {
"log": "Horizon: mod airdef stopped in UI event (fuel budget 1000000000, remaining Some(0))",
"backtrace": "airdef_core::sim::ew::Sim::known_units <- sim::raid::Sim::order_raid <- airdef::AirDef::launch_wave <- horizon_mod_sdk::Mod::ui_select <- ui-events select",
"windows_session_confirmed_same_cause": false
},
"root_cause": {
"what": "order_raid recomputed the planner snapshot known_units() for every drone (choose_target), and known_units() itself rescanned the whole force and the dedup list per intel entry",
"growth": "drones x intel_log x force_size per UI event; the intel log holds every launch, EW disclosure, and radar disclosure of the last 6000 ticks",
"state_at_trap": {
"revealed_entries": 13172,
"known_alive_units": 144,
"sams_total": 172
}
},
"fix": {
"description": "one known_units snapshot per order_raid passed to radar_strikes and choose_target; known_units is a single O(R+S) set pass; price_grid_on reuses its snapshot",
"semantics": "identical planner results; native equivalence test against the former predicate; WASM checkpoint /airdef stats byte-identical before/after at tick 2602",
"limits_unchanged": true,
"wave_size_unrestricted": true,
"hd_record_untouched": true
},
"setup": {
"defenses": "40 spread clusters x 4 heavy SAMs + 12 EW = 172, player moved per deploy step",
"first_raid": "airdef wave mix 10 (111 drones, Smart, AllSides) via the diagnostic UI-path trigger",
"second_raid": "same, at tick ~2600 after the first raid is fought off",
"note": "stacked single-point layouts die to one warhead (known=0, cheap order); the trap needs a surviving force, like the user's session"
},
"before": {
"source": "e6a7000 + trigger.patch (diagnostic guest only)",
"second_order_111_drones": {
"callback": "command (the diagnostic trigger invokes the exact ui_select(BTN_LAUNCH) handler; the UI event and the command share the same 1e9 event budget)",
"max_used": 1000000000,
"budget": 1000000000,
"failures": 1,
"mod_stopped": true,
"log": "before-trap.txt"
},
"scaling_witness_11_drones_same_state": {
"max_used": 247805865,
"budget": 1000000000,
"failures": 0,
"log": "before-scaling.txt"
}
},
"after": {
"same_scenario_passed": true,
"steps": 255,
"max_command_fuel": 32946177,
"max_tick_fuel": 236581288,
"failures": 0,
"checkpoint_stats_equal_before_after": true,
"log": "after.txt"
},
"artifacts": {
"trigger_patch": "trigger.patch",
"scenario_before": "scenario-before.toml",
"scenario_after": "scenario-after.toml",
"before_guest_sha256": "6d4525cd7aaa61dbf344593f9819be1b61e06654126e9e9088e57967dc657365",
"after_guest_sha256": "c4ef7d759524eb053ccd55f0eccdcb49c91954201eb4e0ad923ee9b2828efc4e",
"scenario_before_sha256": "398d099275e396deab269601e5adbcf325ab5e0ea6b540c1d03a477d6b0963d1",
"scenario_after_sha256": "3bc27338d2e6fb433f027a0cf1afc39ff9a94e1af5840454082af6d8d15aad7c"
}
}
@@ -0,0 +1,23 @@
diff --git a/airdef-mod/src/lib.rs b/airdef-mod/src/lib.rs
index dc6585eb3..73864e41e 100644
--- a/airdef-mod/src/lib.rs
+++ b/airdef-mod/src/lib.rs
@@ -2351,8 +2351,16 @@ impl Mod for AirDef {
.nearest_target(DVec3::new(p.x, p.y, p.z))
.unwrap_or(DVec3::new(p.x, p.y, p.z));
if *kind == "mix" {
- let objects = self.objects(DVec3::new(p.x, p.y, p.z));
- self.sim.order_raid(&wave::WaveConfig::mix(count, dist), &objects, &mut out);
+ // DIAGNOSTIC ONLY (issue #122): drive the exact UI launch path
+ // (Page::WaveGo, BTN_LAUNCH) with the maximum menu composition.
+ let mut wave = wave::WaveConfig::default();
+ wave.counts = [40; wave::KINDS.len()];
+ wave.dist = dist;
+ wave.approach = sim::Approach::AllSides;
+ wave.aim = sim::Aim::Smart;
+ self.wave = wave;
+ self.menu = Some(Page::WaveGo);
+ self.ui_select(BTN_LAUNCH, 0);
} else {
let kind = DroneKind::from_key(kind).ok_or(
"Тип: shahed, geran3, lancet, gerbera, kh101, kalibr, kh22, zircon, iskander, kinzhal, oreshnik или mix",