From 3732b97e0393de323f26f750083f556b16ff6b9d Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Thu, 26 Nov 2026 00:12:41 +0400 Subject: fix(patrol): use native cyclic PatrolPlace point batches Generate 15-19 goals with Behavior's two random streams, reject candidates within 100 units of map edges, and retain the cyclic list until the native 20-second plus 10-second jitter timer expires. Draw coordinate and timer randomness from the shared Behavior CRT stream rather than a patrol-local copy. Cache chassis CanFly for autonomous checks and reuse the player parser. Keep per-object counts of batches, goals, approximate area checks and missing inputs. The generator's initial seed, owner update order, ground walkability and physical movement remain explicit approximations. Verified native Behavior.dll RVA 0x2dd90 by x86 invocation at CW 0x007f, including edge rejection, and captured a matching batch in live AutoDemo. Rust golden vectors match all goals, RNG states and deadlines. Workspace fmt/check/test and licensed patrol, combat and clan-clock regressions pass. All 29 stock missions reach --sim-report 900 with no script interruptions or new missing patrol inputs. Observed the change in a stock AutoDemo window. This does not establish full G7 chronology or G8 movement parity. --- docs/appendices/knowledge-boundaries.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/appendices') diff --git a/docs/appendices/knowledge-boundaries.md b/docs/appendices/knowledge-boundaries.md index 3bb5f131..7926c7ad 100644 --- a/docs/appendices/knowledge-boundaries.md +++ b/docs/appendices/knowledge-boundaries.md @@ -90,6 +90,9 @@ authoring API без динамического подтверждения. явные заглушки исследований сохраняются отдельными счётчиками. `unit_behavior_stub` также оставляет свободные машины без базовой задачи Behavior: самостоятельная защита до получения приказа ещё открыта. +`mission_patrol_points_approx` считает цели, списки и проверки областей по ID: +начальные состояния RNG, порядок владельцев и наземная проходимость приближённые. +`mission_patrol_points_stub` считает обновления без границ карты или `CanFly`. `unit_weapon_pose_fallback` считает выборки неподдержанной анимации по объекту и компоненту: используется начальная Control-поза. `unit_weapon_pose_stub` считает выборки огня с неразрешённым креплением CPT; наведение AI и отдача открыты. -- cgit v1.2.3