| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Collect shot and destruction counts with first/last mission clocks in the
shared window and headless combat loop. Preserve original IDs and slot
generations after deletion, including projectiles whose shooter has died.
Count preparation, launch, pose and impact failures by object and cause;
separate an unavailable damage result from an error and log its first target.
Validation: workspace fmt/check/tests, release build, licensed stock AutoDemo
through its first destruction, and stock AutoDemo in the window. All 29 stock
900-second simulation summaries and first-event times match the prior build.
Rechecked missions 8 and 19 after separating damage result categories.
Window/headless first shots were 18404/18533 ms and first kills 25947/25933 ms.
The report exposes UnsupportedNodeLifecycle on the factory root in mission 19
and unavailable damage results on building nodes in mission 8. Their behavior
is unchanged. Original five-minute chronology and broader G7 acceptance remain
open; this diagnostic task identifies concrete runtime paths for further work.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Keep factory-2/30 charge in the owner's Control table. AI and player banks
read it before firing, debit completed shots and wait for regeneration.
Preserve one charge across bank changes and accumulate energy waits by
object, including an idle bank publishing after an active bank.
Mobile owners now run the resource budget. Restore the shared factory-1
callbacks, factory-2/30 charging and factory-10 passive upkeep. Factory 30
uses the weapon constructor's native disabled default. Motion demand is
still an explicit zero-rate stub; unsupported budgets disable charge
limiting for that owner and record the reason.
Execute unmodified GOG Control.dll callbacks at RVA 0x29a40/0x29a90,
0x264b0/0x26510 and 0x21860/0x21890; check the common constructor at
0x294c0. Rust golden vectors cover disabled refill, zero capacity,
negative charge and x87 rounding at control word 0x007f.
SHA-256: bcb86318089028548a178b03a21accdce15df0cc85ddd91674cf3c2f55012c6e.
Validated fmt, workspace check/tests, release, licensed shared-bank charge
exhaustion/recovery, stock combat and damaged-profile regressions. All 29
stock missions reached 900 seconds; the only mobile-budget stub was the
known motion input. Observed stock window combat and replenishment.
Full live native mission comparison and motion energy remain open.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 -> 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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Unengaged PatrolPlace movement uses current owner-profile word 7 times
0.8 instead of one fixed speed for every chassis. Preserve a counted
fallback for unavailable profiles and report per-object speed samples.
The profile is projected at load time; runtime updates, acceleration,
turning and speeds of other orders remain approximate.
Confirmed the current-profile selector by executing GOG Behavior.dll
RVA 0x1bbe0. A live request at RVA 0x2dc67 maps limit 0x416b55d8
and factor 0x3f4ccccd to 0x413c44ad, covered by a Rust regression.
Behavior.dll SHA-256:
ddfbdbde07832358fe6e35e01c8dba9b58e7313789498b6049ed51d4ed9baf99.
Validated fmt, workspace check/tests, release build, licensed stock
profile and patrol-list tests, and all 29 stock missions for 900 seconds.
Observed stock AutoDemo movement, combat and replenishment in the window;
this does not establish full native movement or opening chronology parity.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Resolve weapon node poses and EXTO socket chains on the CPU, replace each
mounted component root with its socket, and transform the selected CPT into
the world. Test terrain sight lines from each barrel rather than the hull.
Share initial Control pose sampling with the window renderer. Count missing
mounts and animation fallbacks by original object ID without losing history
when an object dies.
Checked Control.dll RVA 0x1b4f0 by native invocation, including nonuniform
scale and a rotated world matrix. cargo fmt/check/test workspace pass, as do
licensed stock AutoDemo and scripted patrol/factory regressions. All 29
stock missions reach --sim-report 900 with no script interruption or weapon
pose fallback. Both games were observed in stock AutoDemo windows.
AI turret aim, recoil and first-shot chronology remain approximate; this
change does not establish full G7 or G8 gameplay parity.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Paid laboratory work read a work-device coefficient that never received a
Control budget update. Run the recovered resource clock and budget for
laboratories as well as factories, so energy work follows the actual device
allocation. Generalize the state and report counters to control_resource_*.
A licensed outage regression drains the lab reserve and removes external
power: energy work stays fixed while task time advances, then resumes when
the original generation is restored. Stock research for both AI clans,
player free research and paid factory production still pass.
The original laboratory task reaches its class-3 Control owner, whose native
budget runs on the same quarter-second resource path as the factory. Verified
this in the running stock mission through Behavior 0x2f76e and Control 0x2d340.
Workspace fmt/check/tests and release build pass. All 29 stock missions run
900 seconds without script or resource-budget stops. A stock mission-28
window completes paid technologies and starts subsequent projects. Control
initial phase, RNG seed, other owners and global ordering remain approximate.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Factories now run the recovered Control resource-budget pass on its own
randomized clock before Behavior task updates. Paid production reads its
current work-device E00 value, including the local power reserve and
allocation, instead of gating full speed on any clan generation.
The clock redraws jitter on every accepted frame and uses a separate Control
RNG. Initial phase, seed and ordering with other owners remain explicit
approximations. Budget failures preserve the table and are counted per owner.
Original DLL calls verify the budget callbacks, strict deadline, per-call RNG,
forced update and inactive baseline. A live class-3 factory executes the same
budget with the default 250 ms setting. Licensed regressions cover an empty
factory power reserve, subsequent generator capture, four completed paid
orders, the Behavior task deadline and scripted warbot/transport/builder births.
Workspace fmt/check/tests and release build pass. All 29 stock missions run
900 seconds without script or new budget stops. Stock mission 28 accepts and
completes a free and then a paid player order in the Vulkan-validation window.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Factory orders used to advance on every render/headless step, although the
ore request contains a per-call increment. Gate active free and paid orders
with the shared Behavior 1/1 task clock, without catch-up updates. Report
admitted steps per clan and factory; idle owner phase and full RNG ordering
remain explicit approximations.
Live GOG Behavior.dll calls at RVA 0x2a4f0 pass through 0x34a30 and 0x54a0
with timer words 1/1. A licensed regression verifies the strict deadline and
resource pull; paid production and scripted warbot, transport and builder
regressions pass. Workspace fmt/check/tests and release build pass. Stock
29-mission simulation and a stock mission-28 window check cover integration.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Handler(56) returned a constant zero and was described as an automatic
research permission flag. It actually normalizes the cached candidate scan
byte. Read ResearchCandidateSet.status without refreshing the catalog and
report queries by clan and result instead of counting them as stubs.
GOG ai.dll SHA-256 c19cd6cd31cd2896f8c4ba0f0e700dd3408aec8182daaf4863d98a7d233a2abc:
Handler(56), RVA 0xe430, reads AI+0x431. Native calls to this getter and the
chooser at 0x10f90 confirm that finishing the last candidate preserves the
old scan flag until the next refresh. Empty/processed sets, missing pending
candidates, stale flags, and noncanonical nonzero bytes were exercised.
A live stock Single.01 query also returned zero from the same cached byte.
The shipped scream.scr condition suppresses the laboratory request for a
nonzero result. An ignored resource test executes that original condition
and request for cached bytes 0, 1 and 255; an ordinary Rust test covers the
cached-state semantics and missing catalog. This isolated branch check does
not establish that an entire mission has exhausted all research naturally.
Validated fmt, workspace check/tests, the licensed scenario-branch test and
the release build. All 29 stock missions pass --sim-report 900 without new
script stops; stock mission 28 also runs in the window with ongoing research
and the native zero result. None of these stock runs reached a nonzero scan
flag. Handler(58) upgrades and Handler(65) candidate power remain explicit
stubs, and full timed AI/mission parity remains open.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Record paused wall time separately from simulation time. After resuming,
Mission and clan AI check their expired deadlines once, then schedule the
next interval without replaying missed cycles. Move application pause
handling into its own module and retain frozen world, animation and audio.
Live ai.dll timer calls confirm that Mission runs before the paused world
clock refreshes and the next AI callback uses an already expired deadline.
Record the unresolved AutoDemo sphere and first-projectile boundaries.
Validation: workspace fmt/check/tests, release build, licensed stock-clock
pause test, all 29 missions at --sim-report 900 without script stops, and a
stock mission-28 window with a 33-second pause and unchanged world time.
Full AI chronology and minimized-window timing remain open.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Advance the signed AI deadline by 1400 ms when an active clan receives a
new unit. Connect production, construction, mines, reinforcements and
ownership transfers through the shared spawn path. Preserve negative
deadlines and count registration notifications per clan. Move the common
spawn code and result type out of AutoDemo without changing its public API.
Native ai.dll calls cover duplicate and missing IDs, the disabled guard,
both registration kinds, negative deadlines and unchanged RNG. A live
original warbot registration confirms the same advance. Workspace checks,
the licensed stock factory timing test and all 29 900-second reports pass;
a stock mission-28 window runs through successive factory outputs.
Initial clock phase, complete RNG ordering and full G7 chronology remain open.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Use a separate AI CRT stream for the 7000 + rand() % 1000 ms cycle.
Require a strictly later deadline, reschedule late callbacks from actual
arrival time, and advance script time by seven seconds per cycle. Count
executed cycles by clan; retain explicit initial-phase and RNG-order gaps.
Validated the native RNG through ai.dll and the timer in the running
original. Workspace fmt/check/tests and all 29 stock 900-second reports
pass. A stock-start mission-28 window ran through warbot and transport
production and successive laboratory projects. This is not full G7
chronology acceptance; candidate properties for 65/69 remain stubbed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Active laboratory work now uses the owner task timer instead of consuming
and clearing its ore buffer on every host frame. The native 1/1 timer waits
for a clock strictly beyond its deadline, draws one Behavior RNG value, and
reschedules 64..127 ms from the observed clock. Resource distributors reuse
the same deadline arithmetic with their existing 3/1 parameters.
Behavior.dll 0x4c550 calls verify deadlines, equality, late calls and RNG
state. The original laboratory was sampled through 20 bounded debugger
hits; its caller uses the owner +0x930 timer initialized at 0x398f. A second
native task fixture uses the original ore getter/setter and confirms that
the buffer really is cleared, ruling out the host callback interpretation.
Workspace fmt/check/tests, the licensed stock research chain, all 29
missions at 900 seconds and a live Vulkan window check pass. The active-only
clock still reports script_lab_clock_approx: idle owner phases and full
native event/RNG ordering remain open. Factory selection 69 and query 65
still need Control prototype metadata. This does not close G7.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apply MisLoad's enabled/available/learned flag transitions after laboratory
completion. Scan every enabled unavailable row against all prerequisites,
then follow Behavior's ordered zero-cost child completion. Publish learned
descendants to construction and production and replace the unlock stub with
per-clan availability counters.
Direct calls to original MisLoad.dll 0x2c10 and Behavior.dll 0x23aa0 confirm
flag preservation, disabled prerequisites, positive/negative cost exclusion,
and free child recursion. Licensed table checks cover the stock first AI
project and a project with two automatic child technologies. The first stock
AI project opens no additional rows in either implementation.
Workspace fmt/check/tests, licensed laboratory regression, 29 stock missions
at 900 seconds and a stock Vulkan window check pass. This removes the
completion coverage gap needed by the next research-policy task; it does not
establish full project chaining or live AI chronology. Handlers 65/69 remain
explicit stubs.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clan laboratories accept the selected DAT project, request power and ore,
accumulate native research progress, and publish learned technologies to
construction and production. Research requests wait for the live laboratory;
newly built objects are no longer mistaken for destroyed targets.
Behavior.dll task 0x2f730 was called with paid and free work under x87 0x007f.
The stock Single.02 regression checks both completed technologies and keeps
the request pending while the laboratory is busy. Workspace fmt/check/tests,
the 29-mission 900-second corpus, and the Vulkan window check pass.
Dependent availability and free child propagation remain explicit
script_research_unlock_stub counters; candidate properties 65 and policy 69
remain open. This does not close G7 or establish live AI chronology parity.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Handle the no-result Handler(43) by loading direct AI DAT candidates and
running the recovered selector against the clan's TRF. Keep the catalog and
its context alive per clan. Share catalog enumeration with transport selection.
Match the stock NTFS name order, including underscore placement. A fresh
Single.02 run of the original supplied 77 ordered entries, status bytes and
selected index 60 (swelbld1.dat); the licensed regression matches that state.
Both captured and installed ai.dll match the documented GOG SHA-256.
Keep paid laboratory work, extended candidate metadata and Handler(69)
explicitly stubbed. The report exposes loaded catalogs separately from those
remaining gaps. A loading failure retains an indexed Init stub.
Validate workspace fmt/check/tests, licensed live-catalog comparison, all
29 stock missions at 900 seconds without stops or Handler(43) load failures,
and mission 29 in a Vulkan-validation window.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use the native Building_Cost threshold to start loading from the nearest
owned mine or warehouse. Transfer ore at the stock 100 units/second up to
the design price, then resume the reserved building task. Mines bypass
loading; direct construction can preserve native negative ore after payment.
Execute Behavior.dll's config constructor, start, source selection, loading
tick and resource setter in an x86 oracle. Keep exterior docking and custom
Behavior configuration explicit approximations, counted per builder/source.
The stock Single.02 regression now reaches another completed building after
resupply without changing mission objects or resources. Validate fmt/check/
workspace tests, licensed construction and debt regressions, all 29 stock
missions for 900 seconds, and mission 29 in a Vulkan-validation window.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mission 29 stopped before choosing a deposit. Implement Handler(40)'s vacant
deposit and weakest enemy mine policy, preserve its partial output writes and
reserve the chosen site. Follow the script's tail transfer into BUILD_MINE
with the original problem context and cells. Move event execution out of the
large script module and report stops at the actual destination event.
Use the existing prepared deposit slot for the builder's mine order. Completion
registers its controls, ore buffer and logical ID with the regular resource loop.
Track mine queries by clan, target and coordinates in --sim-report.
Validation: fmt, workspace check/tests; licensed stock-start tests construct a
working mine, collect ore and subsequently construct a working factory. Calls
to GOG ai.dll confirm mine choices/output writes and VM event transfer behavior.
The 900-second stock mission now stops only at the research transition 8.
Window validation reaches mine creation from the stock start; construction
animation was outside the player's view and has not been accepted visually.
Native ArealMap deposit binding, builder resupply and live BAS cuts remain open.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow ORDER_ROBOT_BUILD to use the first BuildDat scheme for factories,
storage and laboratories, with the existing technology and onboard-ore gates.
Register completed factories for production and reset their free-build quota
when a prepared slot is reused. Exclude reserved models from initial BAS cuts
using the mission object count, preserving placed neutral buildings.
Validation: fmt, workspace check and tests; ignored licensed stock-start test
builds a factory in mission 29 and queues a transport there. Original Behavior.dll
price calls confirm 670/770/560 ore for storage/factory/laboratory. Stock simulation
also builds a laboratory; a validation-enabled window reaches the first factory.
The new buildings were outside the player's window view; visual construction
parity is not established. G7 still needs mine query 40, research transition 8,
builder resupply and live BAS updates.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement Handler(11) limits for the original class set, including hangar
and laboratory counters. Keep owned-object caps separate from pending
thresholds; medium and large towers allow three and one active builds.
Record the ordered class on construction tasks and count queries by clan,
class and result.
Execute ai.dll RVA 0xc5e7 with the GOG hash guard and compare owned counts,
maxima, pending counts and unknown classes. Preserve these native vectors
in a Rust test. Extend the licensed construction test to require pending
count before registration, owner isolation and reset after completion.
Validate fmt, workspace check/tests, licensed construction, release build
and stock mission 29 in simulation and its window. This removes the
Handler(11) coverage blocker for the following construction work; generic
building orders and Handler(40) are still open. Pending counter sources
and lifecycle beyond active FParkan Construction tasks remain approximate.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Execute Go, Attack and ShutDown through one ordered queue from Init,
Mission and clan AI events. Append preserves the active task; replacement
clears its tail. Support the appended point patrol ending mission 19's
second raid, and count accepted commands by object and order type.
Execute the original ai.dll Handler(15) at RVA 0x8054 with its hash guard:
move, attack, shutdown and appended patrol reach the unit without a
current problem context, with native insertion modes and missing-unit
flag 5. Behavior.dll RVA 0x4280 identifies append and replace paths.
Native task completion and profile-dependent behavior remain approximate.
Test mixed queues, replacement and deferred patrol; run the licensed
mission-19 scenario from its stock start through its first movement.
Validate fmt, workspace check/tests, release build and all 29 missions
for 900 seconds. Mission 19 has both raid messages and no script stops;
mission 29's existing counter/construction stops remain. Check the live
stock-start window with normal clocks and Vulkan validation. This does
not establish mission completion or native movement/combat parity.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Handle clan Handler(30) through the same host command and first-message
state as the Mission event. Carry clan notices in FrameResult and pass
them to the existing text and voice queues without changing the Mission
tick counter. Extract shared host dispatch and app presentation modules.
Execute ai.dll RVA 0xc266 with the original hash guard: clan contexts 0
and 2 call the global host as (0, MESSAGE_INFO, index), reading live
varset cells. Extend the licensed stock Convoy test to require message 0
after the delayed attack, and test shared first-message and AutoDemo
behavior. Repeated native message UI branches remain explicit debt.
Validate fmt, workspace check/tests, licensed stock-start test, release
simulation and the mission window. Clock replay checks message delivery,
not full mission completion.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Handler(25) TAKE_ALL_FREE takes the free roster in order and returns ERROR
for an empty group. Target selection now belongs to Handler(28), so the
script can form a group first and then issue its attack. Attack orders
remain associated with their group; cleanup preserves a subsequent order.
Coverage counts recruitments by clan and mode, including empty results.
Original GOG ai.dll RVA 0xab85 confirmed membership across classes, busy
and reserved exclusions, assignment updates, order and the empty result.
Validated with Rust order-lifecycle checks, a licensed test that waits on
the stock empty clan before a deliberate debug roster transfer, workspace
fmt/check/test, and 900-second simulations of all 29 missions. Mission 12
ran from stock start in the window with clean Vulkan validation.
The debug transfer verifies the attack mechanism, not a mission playthrough.
Occupancy and routing remain approximate. Group orders for other classes
fail explicitly. Script stops remain in missions 15 (71/72), 19 (Problems0
orders) and 29 (building counters/construction and Handler 40).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Handler(13) UNIT_FREE_UNIT now selects the first live clan object of the
requested exact class. Reserved objects, assigned runtime workers and
busy factories are skipped. Coverage records each selected logical ID.
Campaign mission 8 can execute PBM_ROBOT_NEEDED and replenish its guards.
Original GOG ai.dll RVA 0x86fb confirmed roster order, exact class matching,
exclusion of busy and reserved entries, and ERROR when none are free.
Validated with matching Rust roster cases, a licensed stock mission 8
production test, fmt/check/test workspace, and 900-second simulations
of missions 8 and 28. Mission 8 also ran in the window with Vulkan validation.
Occupancy is inferred from runtime jobs; native problem-slot ownership,
other selection modes and mission chronology beside the original remain open.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PBM_PLACE_PROTECT recruits free warbots for TARGET_BY_PLACE and preserves
its patrol group across Continue calls. New factory units can reinforce
it; releasing the group preserves a subsequent movement or attack order.
Coverage counts point orders and continuations by clan and both coordinates.
Validated with fmt/check/test workspace, stock mission 10 group lifecycle,
stock building and factory guard regressions, and 900-second simulations
of missions 8, 10 and 12. Mission 10 ran in the window from stock start,
issued the point order and reinforced it, with clean Vulkan validation.
Original Behavior.dll RVA 0x2d520 confirmed point/radius parameters.
Routing, free-unit recruitment and continuation timing remain approximate.
Mission chronology alongside the original is open. Simulations expose
Handler(13) in mission 8 and another group recruitment mode in mission 12.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Route the F command to the cockpit sight selection and keep that target for Enter. Use the original strict 20-unit horizontal reach and preserve the working Control gate. Select the neutral target immediately after capture.
The original iron3d distance block accepts 19.99, rejects 20 and rejects larger values. A windowed stock Teleport run selected and boarded the helicopter through the ordinary input handlers, then climbed, with Vulkan validation clean.
|
| |
|
|
|
|
| |
Sample active alpha-blended materials at the sun center ray intersection and check terrain through the scene far plane. Preserve native separate disk submission and per-pixel scene compositing.
The stock Firing Range opened with Vulkan validation. Local camera views showed the disk and flare over the ridge, partial disc coverage behind a leaf, and full coverage behind a trunk. The focused regression covers opaque and transparent texels plus terrain beyond half of the far plane.
|
| |
|
|
|
|
| |
Load the constant-width Op5 layers and their original materials from the projectile Control group. Draw the sampled segment through its first contact and hide it after that frame. Coalesce native subdivisions while keeping both layers.
Effect.dll RVA 0x2a20 was checked directly with two world positions. A diagnostic input replay started Firing Range on the original map, crossed the bridge, captured and boarded its flying warbot, climbed, and fired. The two trails are visible on the terrain-hit frame with Vulkan validation clean.
|
| |
|
|
|
|
| |
Resolve the preceding walking surface before switching between terrain and mesh floors. Preserve the outdoor spawn clearance across the deck while the lower bunker spawn keeps the existing near-floor behavior.
The licensed Firing Range test walks from the stock spawn over both bridge sections and checks the ramp and return to terrain. The Two Fortresses bunker exit still passes. The stock Firing Range opens with Vulkan validation clean.
|
| |
|
|
|
|
| |
Use the first BuildDat scheme for the requested class, check learned components, and route the builder before spending onboard ore. The Behavior.dll oracle rejected the stock scheme and returned 1100 ore after unlocking the components.
The stock mission 28 window showed the refusal with its original tech tree. A licensed prepared test exercised construction and ore deduction. Onboard supply remains required pending warehouse refill.
|
| |
|
|
| |
Handler 18 scans base rings, checks terrain and clearance, and writes the site back to the script. The stock Two Fortresses window found a tower site and reached the builder order. The native DLL returned the expected site with and without a reservation, and zero for missing areas. The builder task remains explicit in coverage.
|
| |
|
|
| |
Resolve the stock transport order against the newly produced unit. Move between owned endpoints and limit transfers by rate, source stock and destination space. The window logged the first departure and the stock simulation completed an unloading cycle. Native roster selection was called directly. Port approaches and rates remain approximations.
|
| |
|
|
|
|
| |
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.
|
| |
|
|
| |
Single.01 reaches the end of Problems0 and enters its building protection and construction jobs. Confirm radius boundaries, first-factory order, hero priority and duplicate exclusion via GOG ai.dll. Unavailable building upgrades log a stub and return no eligible target.
|
| |
|
|
| |
Single.01 now reaches ST_SOLVING after dispatching a capturer and patrol. Compare the capture and destruction predicates with the original ai.dll at RVA 0x5180. Keep the default OR_TASK behavior and report the approximate lifecycle.
|
| |
|
|
| |
Single.01 selects a free warbot for the capture problem and issues a patrol around the moving capturer from stock startup. Group recruitment uses the supported TAKE_BY_HITS branch. Priority preemption and group expression scheduling remain open.
|
| |
|
|
| |
Connect the initial radius limit and Handler(64) target lookup. Compare target IDs with an isolated GOG ai.dll call at RVA 0xe8e7. Campaign branches still depend on their original timers and free-mind conditions.
|
| |
|
|
| |
Single.01 dispatches its placed warbot and later factory robots from stock startup. Approach uses the shared movement task. Ownership transfer, native approach points and the script completion expressions remain open.
|
| |
|
|
| |
Confirm the target ranking, duplicate exclusion and strength output with GOG ai.dll at RVA 0xc847. Single.01 reaches PBM_BUILDING_CAPTURE from its stock start. The executor selection remains pending.
|
| |
|
|
| |
Use the live roster and Control weapon and capacity data in Handler(38). The original ai.dll rating formula was exercised with three capacity vectors. Single.01 reaches Handler(35) and retains factory production. Remaining ammunition and the exact selector 0x36 capacity are reported as an approximation.
|
| |
|
|
| |
Reserve each slot at order time and advance one order per live factory. Hostile completion no longer changes the player's status. A stock Two Fortresses regression starts the player's factory during an enemy job and observes completions from both.
|
| |
|
|
| |
Route the construct order from PBM_ROBOT_NEEDED into shared factory ownership, free quota, and paid production. Stock Single.01 builds an enemy robot at 27 seconds in the fixed-step report and about 27.4 seconds in the Vulkan window. Count accepted and rejected orders by clan and factory; configured prebuild selection and the global order slot remain approximations.
|
| |
|
|
| |
Open the matching Start section after Problems0, expose its arguments, and support completion and unreserved placed-unit selection. Two Fortresses enters its laboratory job and reaches Handler(6). Timing, ties and continuation remain explicit approximations.
|
| |
|
|
| |
Pass Handler(2) operands through the existing scheduler and require matching script sections. The stock Two Fortresses clan queues research, transport, and robot problems before its combat-strength query. Pending dispatch is counted by clan and problem kind.
|
| |
|
|
| |
Use live storage capacity for Handler(16), expose the unbound research policy as a counted Handler(56) stub, and honor forward control-3 jumps. Checked storage arithmetic, flag truthiness and raw jump behavior by calling ai.dll. Stock Single.01 now reaches problem submission.
|