From 530afea388f4e487a5a1320381c59e7d217717d8 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 00:57:43 +0400 Subject: 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. --- crates/fparkan-runtime/src/patrol_speed.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/fparkan-runtime/src/patrol_speed.rs') 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 -- cgit v1.2.3