<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fparkan/crates/fparkan-runtime/src/control_profile.rs, branch trunk</title>
<subtitle>Utilities and tools for the game "Parkan: Iron Strategy".
</subtitle>
<id>https://git.popov.link/fparkan/atom?h=trunk</id>
<link rel='self' href='https://git.popov.link/fparkan/atom?h=trunk'/>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/'/>
<updated>2026-12-01T03:57:23+00:00</updated>
<entry>
<title>fix(fx): switch warbot smoke with the damage alarm</title>
<updated>2026-12-01T03:57:23+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-01T03:57:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=31dd73cbf59f5c8fe58b77b373a75033dc5a037a'/>
<id>urn:sha1:31dd73cbf59f5c8fe58b77b373a75033dc5a037a</id>
<content type='text'>
Resolve the matching enable and disable selectors from authored CTL alarm groups. Render node-attached smoke and light only while the live Control alarm is active. Verify the native selector against both DLLs and inspect two Vulkan frames around an ordinary AutoDemo alarm. Independent mode-14 triggers and the damage stage cascade remain open.
</content>
</entry>
<entry>
<title>fix(combat): apply critical damage on the Control resource tick</title>
<updated>2026-12-01T03:34:52+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-01T03:34:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=364f8a0984e5cd3b65e81f24e95fcf8cd92aec2d'/>
<id>urn:sha1:364f8a0984e5cd3b65e81f24e95fcf8cd92aec2d</id>
<content type='text'>
Use the alarm entry amount for sequential wear and disable the onboard repair device before recomputing motion limits. Match the Control.dll alarm and recovery vector. In the stock AutoDemo the affected warbot now loses its remaining movement instead of keeping its last limit. Alarm effects and the full native node cascade remain approximate.
</content>
</entry>
<entry>
<title>fix(movement): use profile requests for scripted Go speed</title>
<updated>2026-11-25T23:53:21+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-25T23:53:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=0a4aada114bdcce5dba69bdbb88fa0ed44cf6733'/>
<id>urn:sha1:0a4aada114bdcce5dba69bdbb88fa0ed44cf6733</id>
<content type='text'>
Scripted Go used a fixed speed of 9. Feed the temporary movement controller with the current Control forward limit multiplied by the loaded Behavior Go_SpeedPercent. Missing coefficients retain the native constructor default of 1; present VAR records use the first matching row's applied value. Rebind a produced unit's Behavior profile to its new full handle so the request remains available after spawning.

Share Go and PatrolPlace speed sampling in unit_speed.rs while retaining the patrol coefficient of 0.8, and move profile-loading mechanics out of lib.rs into behavior_profile.rs. Reports distinguish Go and patrol samples and keep explicit fallbacks for unresolved inputs.

An unmodified GOG Behavior.dll oracle executes the native profile constructor, current-profile getter and both Go start/update paths under x87 0x007f. A hardware breakpoint records the request before the MWalker call. It confirms default, fractional and zero vectors, including the stock request 0x41e52e74 (28.647682). This is requested-speed evidence; MWalker caching, acceleration, routing and physical integration remain explicit approximations.

The licensed stock mission-19 test first failed because Go never requested its Control speed, then passed with the original robot at the stock start. Existing patrol and newly produced-unit profile tests also pass. In the stock game window the raid fires at 190671 ms instead of the preceding build's roughly 327 seconds, depletes the bunker root at 193620 ms, and completes both queued retreat Go orders before ShutDown. The hero stays at the starting position.

Validation: cargo fmt --all -- --check; cargo check --workspace; cargo test --workspace; release build; six focused/ignored runtime speed tests; native start/update vectors; all 29 stock --sim-report 900 runs with zero Go speed fallbacks or damage errors. World summaries remain unchanged. Full original movement and mission chronology are not accepted by this change.
</content>
</entry>
<entry>
<title>fix(control): refresh motion limits after node damage</title>
<updated>2026-11-25T20:57:43+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-25T20:57:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=530afea388f4e487a5a1320381c59e7d217717d8'/>
<id>urn:sha1:530afea388f4e487a5a1320381c59e7d217717d8</id>
<content type='text'>
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 -&gt; 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.
</content>
</entry>
</feed>
