diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-25 23:57:43 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-25 23:57:43 +0300 |
| commit | 530afea388f4e487a5a1320381c59e7d217717d8 (patch) | |
| tree | 535b5722ff694d3d666c18aa143a8447d86c068a /crates/fparkan-runtime/src/patrol_speed.rs | |
| parent | 2d7c17b13b0dc2e4a4712fee25aa8f06161a141b (diff) | |
| download | fparkan-530afea388f4e487a5a1320381c59e7d217717d8.tar.xz fparkan-530afea388f4e487a5a1320381c59e7d217717d8.zip | |
fix(control): refresh motion limits after node damage
Run the supported dirty Control profile branch on the resource clock,
before the existing factory/laboratory budget pass. Mobile owners now
participate in these clocks. Root hits reduce the drive's current E00
value and the next place-patrol speed request uses the updated limit.
Keep mutable node-group means and publish profile words atomically.
Move FCA0 projection into control_profile rather than extending lib.rs.
Count clock checks, publications and unsupported updates per object;
alarm damage, activation and mobile device budgets remain explicit gaps.
Native Control.dll RVA 0x12a40 -> 0xfca0 confirms mean retention,
clean-call behavior and the healthy-critical-group branch that bypasses
the aggregate threshold. Golden outputs are covered by Rust tests.
SHA-256: bcb86318089028548a178b03a21accdce15df0cc85ddd91674cf3c2f55012c6e.
Validated fmt, workspace check/tests, release, licensed stock damage,
combat and patrol regressions, plus all 29 stock missions for 900 seconds
without new profile-update stops. Stock window AI hits change limits.
The additional live native interception yielded no usable sample;
its supported calculation branches were executed directly in the DLL.
Diffstat (limited to 'crates/fparkan-runtime/src/patrol_speed.rs')
| -rw-r--r-- | crates/fparkan-runtime/src/patrol_speed.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/fparkan-runtime/src/patrol_speed.rs b/crates/fparkan-runtime/src/patrol_speed.rs index e9e4fc1c..4f8b88ca 100644 --- a/crates/fparkan-runtime/src/patrol_speed.rs +++ b/crates/fparkan-runtime/src/patrol_speed.rs @@ -37,7 +37,7 @@ pub(super) fn place_speed( Ok((limit, speed)) => { let sample = report.samples.entry(object).or_default(); if sample.0 == 0 { - eprintln!("patrol_speed_profile_approx object={object} limit={} requested={speed} (runtime Control profile updates remain open)", f32::from_bits(limit)); + eprintln!("patrol_speed_profile_approx object={object} limit={} requested={speed} (mobile Control budgets and owner activation remain open)", f32::from_bits(limit)); } *sample = (sample.0 + 1, limit, speed.to_bits()); speed |
