<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fparkan/crates/fparkan-runtime/src/clan_targeting.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-02T09:27:06+00:00</updated>
<entry>
<title>feat(ui): send warbots to recharge from the strategic panel</title>
<updated>2026-12-02T09:27:06+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-02T09:27:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=c846377ead77ef7184cdeddd25c3f2c9d76a6736'/>
<id>urn:sha1:c846377ead77ef7184cdeddd25c3f2c9d76a6736</id>
<content type='text'>
Verify LTW-3 approaches the generator and clears its recharge status after leaving from the stock Two Fortresses start. Reuse authored building passages and shared Control replenishment, with a licensed test for refilling an empty magazine.
</content>
</entry>
<entry>
<title>fix(ai): resume building capture after losing its assignee</title>
<updated>2026-12-01T15:34:08+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-01T15:34:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=2d01cd35b069d0d1aa78a064593b54f51b23540d'/>
<id>urn:sha1:2d01cd35b069d0d1aa78a064593b54f51b23540d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(ai): dispatch building loss to the former clan</title>
<updated>2026-12-01T15:13:13+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-12-01T15:13:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=72ae7666d428c783a03b5378658890947f205de0'/>
<id>urn:sha1:72ae7666d428c783a03b5378658890947f205de0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(ai): rank capturers by Control travel time</title>
<updated>2026-11-26T20:55:21+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-26T20:55:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=7a888d0cde24576a7b36576d26dd9931e3ae8543'/>
<id>urn:sha1:7a888d0cde24576a7b36576d26dd9931e3ae8543</id>
<content type='text'>
The Handler(14) oracle executes ai.dll with the real Control selector 0x91 and verifies faster distant candidates, the one-second bias and the minimum speed. Use the same current forward limit in the stock capture query. Original roster ordering and task preemption remain approximate.
</content>
</entry>
<entry>
<title>fix(ai): avoid closed hallway links when routing capturers</title>
<updated>2026-11-26T12:18:27+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-26T12:18:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=acd4c5b109bfa0c089e109160b33104f8596b0c2'/>
<id>urn:sha1:acd4c5b109bfa0c089e109160b33104f8596b0c2</id>
<content type='text'>
The original GOG ArealMap.dll gate at RVA 0x9cb0 accepts an all-ones mask without a device and rejects zero. Confirmed both returns by a direct DLL call. Filter unsupported links while searching from the communicator, so a shorter closed route cannot shadow an accessible entrance.

The stock Two Fortresses 900-second run no longer records capture approach stubs. Its AI takes the mine via the authored gallery, with the ownership change also reproduced in the Vulkan window. Symmetric CTLD door behavior is preserved.
</content>
</entry>
<entry>
<title>fix(ai): follow capture passages through building doors</title>
<updated>2026-11-26T08:16:16+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-26T08:16:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=dfbdef7d4d1d295ee962dd8aab754ce6be902f8d'/>
<id>urn:sha1:dfbdef7d4d1d295ee962dd8aab754ce6be902f8d</id>
<content type='text'>
A stock Two Fortresses run now takes the generator after the capturer descends its authored hallway. Symmetric Res17 door links drive the CTLD animation and unsupported routes retain explicit coverage. Checked the approach and descent in the game window with Vulkan validation and verified the owner transfer in a licensed test.
</content>
</entry>
<entry>
<title>fix(ai): route capturers to authored building entrances</title>
<updated>2026-11-26T07:58:00+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-26T07:58:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=a519d5efefb4d846a9f65c6b9376fa245215a0f6'/>
<id>urn:sha1:a519d5efefb4d846a9f65c6b9376fa245215a0f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>feat(ai): select convoy targets using original class queries</title>
<updated>2026-11-25T10:03:31+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-25T10:03:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=2656cca01b65745e9e6aa7b11d80414039e4cc67'/>
<id>urn:sha1:2656cca01b65745e9e6aa7b11d80414039e4cc67</id>
<content type='text'>
Connect Handler(71) to least-defended hostile buildings of the requested
class and Handler(72) to the object's prototype size class. The stock
Convoy script now assigns its delayed attack instead of stopping at
these queries. Keep descriptor binding, guard strength and candidate
order explicit approximations with coverage counters.

Execute the original ai.dll handlers and Behavior.dll class getter in
native oracles, including strict radius, ties, missing objects and name
classes. Add a Rust class rule test and a licensed stock-start test for
the delayed attack; check owner independence separately with a debug
change after the stock assertion.

Validate fmt, workspace check/tests, licensed test, release simulation
and the running mission with Vulkan validation. Accelerated scene time
is a mechanic check, not mission-completion acceptance. Handler(30)
message dispatch remains the next Convoy script stop.
</content>
</entry>
<entry>
<title>feat(ai): evaluate scripted area defence strength</title>
<updated>2026-11-25T08:30:01+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-25T08:30:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=b553096eb9a4d9ccaa46ec2616c5c392e8a39325'/>
<id>urn:sha1:b553096eb9a4d9ccaa46ec2616c5c392e8a39325</id>
<content type='text'>
Execute Handler(44) for XY and logical-object targets, an explicit clan or hostile clans. Reuse the strict horizontal radius calculation and report approximate query counts by clan, event and instruction.

Direct GOG AI DLL calls cover target forms, DWORD coordinates, clan filtering, missing targets and the radius boundary. A stock mission regression runs the query through the script dispatcher. Five affected missions complete 900 simulated seconds, with the remaining point-group selection failures exposed explicitly. Mission 10 ran in the window with clean Vulkan validation. Workspace formatting, checking and tests pass.
</content>
</entry>
<entry>
<title>feat(ai): guard the least defended clan building</title>
<updated>2026-11-25T08:20:10+00:00</updated>
<author>
<name>Valentin Popov</name>
<email>valentin@popov.link</email>
</author>
<published>2026-11-25T08:20:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.popov.link/fparkan/commit/?id=bccae28a00af19dc095910073e7e820aa81dc393'/>
<id>urn:sha1:bccae28a00af19dc095910073e7e820aa81dc393</id>
<content type='text'>
Execute Handler(37) from the live clan roster, rank nearby guard strength and feed the existing protection scheduler. Keep the native strict 250-unit radius, first tie and empty-roster sentinel. Count approximate selections by clan and target in simulation reports.

The GOG AI handler was called directly for weak buildings, equal strength, the radius boundary and an empty roster. Stock missions 8, 9 and 10 now assign guard patrols before reaching the next explicit script blocker. Mission 9 ran in the window with clean Vulkan validation. The existing factory protection regression and workspace checks pass.
</content>
</entry>
</feed>
