From 947be441148cea94b2a847268b885cc20d36b2aa Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 14 Nov 2026 23:31:36 +0400 Subject: feat(ai): keep the scripted factory patrol active Run the active factory protection event before Problems0. Its group retains assigned warbots and can recruit replacements. Release the patrol when the factory is lost. The stock Two Fortresses run assigned a patrol around the enemy factory in both simulation and the Vulkan window. A direct x86 DLL call confirmed Handler(45) sums assigned ratings and skips free slots. Live comparison with the original remains open. --- docs/appendices/knowledge-boundaries.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/appendices') diff --git a/docs/appendices/knowledge-boundaries.md b/docs/appendices/knowledge-boundaries.md index 0878c84e..a220f3ba 100644 --- a/docs/appendices/knowledge-boundaries.md +++ b/docs/appendices/knowledge-boundaries.md @@ -469,7 +469,9 @@ core и `ResearchCandidateSet::refresh_selection`: последний получ `script_group_order_approx` считает приказы группе по клану и цели. Набор использует свободных варботов. Переназначение с менее важных заявок открыто. `script_problem_wait_approx` отмечает ожидание гибели, захвата или простоя -при `OR_TASK`. `AND_TASK`, старение и секции `_Continue` открыты. +при `OR_TASK`. `AND_TASK` и старение заявок открыты. +`script_factory_patrol_continue_approx` считает вызовы действующей охраны +по клану и заводу. Интервал без добавки RNG. Остальные секции `_Continue` открыты. `Handler(15)` для `ORDER_ROBOT_SEARCH` генератора пока проходит как `script_init_handler_stub`. GOG Behavior.dll по RVA `0x30110` настраивает поиск строения, а задача по RVA `0x30300` обрабатывает в том числе захват. -- cgit v1.2.3