diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-25 20:11:28 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-25 20:11:28 +0300 |
| commit | e6b0ced735a71002847f5060339a7c2f37798fbb (patch) | |
| tree | 153c970eff115b84311a89065c3d266569da02fe /docs/appendices | |
| parent | c63fadd7c2aa0e0d9f81f65aa88ef9fe905e76e3 (diff) | |
| download | fparkan-e6b0ced735a71002847f5060339a7c2f37798fbb.tar.xz fparkan-e6b0ced735a71002847f5060339a7c2f37798fbb.zip | |
fix(ai): account for occupied clan mind slots
Handler(49) read the immutable Init snapshot and always reported all clan
minds as free. Project occupied slots from live mobile units (including the
hero) and valid factory reservations, including orders queued in the current
script pass. Unit loss, capture and factory ownership loss release capacity.
Expose per-clan query counts and current capacity/free/reserved values through
script_free_minds_approx; retain explicit native-ID and admission boundaries.
GOG ai.dll SHA-256 c19cd6cd31cd2896f8c4ba0f0e700dd3408aec8182daaf4863d98a7d233a2abc:
native calls to Handler(49), RVA 0xdb2e, confirm that only 0xffffffff is free.
In stock Single.01 clan 1 starts with five occupied slots out of nine.
Hardware watches in Behavior.dll SHA-256
ddfbdbde07832358fe6e35e01c8dba9b58e7313789498b6049ed51d4ed9baf99 show the
factory reserve zero at RVA 0x2a0bb and release it at 0x2a7e5 before birth.
Validated fmt, workspace check/tests, release build, ordinary lifecycle tests
and an ignored licensed Single.01 test covering startup, order, birth and
factory ownership loss. All 29 stock missions finish --sim-report 900 without
new script stops. Stock mission 28 also ran in the window: four orders now
fill the clan instead of the previous eight over the simulation interval.
This does not establish complete mission playthrough or full AI parity.
Warbot design ranking still uses the explicit compatible-prebuild fallback;
factory logs now include the requested class and selection mode. Native mind
IDs, full-capacity order admission and factory timing remain approximate.
Diffstat (limited to 'docs/appendices')
| -rw-r--r-- | docs/appendices/knowledge-boundaries.md | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/appendices/knowledge-boundaries.md b/docs/appendices/knowledge-boundaries.md index 74c1decd..966052f2 100644 --- a/docs/appendices/knowledge-boundaries.md +++ b/docs/appendices/knowledge-boundaries.md @@ -502,7 +502,11 @@ TRF-контекст клана и выбирает проект через `Res сборки завода. Прочие условия `Handler(27)` открыты. `script_factory_order_approx` отмечает заказ совместимой схемы из `prebuild` для варбота или единственной доступной AI-схемы для транспорта. -При нескольких доступных транспортах нет рейтинга скорости. +Класс и режим выбора выводятся в лог; рейтинг боевых схем и выбор среди +нескольких доступных транспортов требуют свойств Control кандидатов. +`script_free_minds_approx` считает запросы `49` по клану и выводит ёмкость, +свободный остаток и резервы заводов. Занятость проецируется по живым мобильным +объектам и заказам; нативные ID мест и допуск заказа при полном массиве открыты. `script_ore_transport_approx` считает принятые приказы по клану и машине. ID выпущенной машины внутренний. Подъезд, выбор порта и темп перегрузки приближённые. `script_building_site_approx` считает поиск площадок по клану и классу строения. |
