chore(#170): strip the temp probes, close the issue (user visual gate PASSED)
Gate result: user side-by-side vs retail — "looks good, as close to retail now as I can see". Telemetry from the gate session (launch-170-gate2.log): BeginMoveForward ~1:1 with MoveToObject arms for every chasing creature (pre-fix capture was 16:1), ZERO "SERVERVEL skips UseTime while armed" occurrences, pending_motions depth 1 at last sample. Stripped per the #170 close-out plan: s_mvtoDiag + all [mvto] prints (MoveToManager), s_drainDiag + [drain]/[drainq] (MotionInterpreter), the [npc-tick] branch prints and the "UM actions" inbound-action dump (GameWindow). The durable ACDREAM_DUMP_MOTION family stays. The RemoteChaseEndToEndHarnessTests + RemoteChaseDrainBisectTests conformance suites stay as the permanent regression net for this pipeline. ISSUES: #170 -> DONE + Recently-closed entry (fix SHAs427332ac,d2ccc80e,1051fc83). Memory topic + index flipped to CLOSED. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
1051fc83c6
commit
4cad626ff5
4 changed files with 27 additions and 85 deletions
|
|
@ -738,12 +738,6 @@ public sealed class MoveToManager
|
|||
/// (<see cref="PreviousDistance"/>/<see cref="OriginalDistance"/> = dist,
|
||||
/// both times = now).
|
||||
/// </summary>
|
||||
// #170 temp diag (ACDREAM_MVTO_DIAG): trace the MoveTo dispatch/re-drive/cancel
|
||||
// events to compare acdream's run-cycle install cadence against a live retail
|
||||
// cdb count. Strip once #170 is understood.
|
||||
private static readonly bool s_mvtoDiag =
|
||||
System.Environment.GetEnvironmentVariable("ACDREAM_MVTO_DIAG") == "1";
|
||||
|
||||
public void BeginMoveForward()
|
||||
{
|
||||
if (!HasPhysicsObj)
|
||||
|
|
@ -762,10 +756,6 @@ public sealed class MoveToManager
|
|||
|
||||
Params.GetCommand(dist, heading, out uint cmd, out HoldKey holdKey, out bool movingAway);
|
||||
|
||||
if (s_mvtoDiag)
|
||||
System.Console.WriteLine(System.FormattableString.Invariant(
|
||||
$"[mvto] BeginMoveForward dist={dist:F2} cmd=0x{cmd:X8} hold={holdKey} movingAway={movingAway}"));
|
||||
|
||||
if (cmd == 0)
|
||||
{
|
||||
RemovePendingActionsHead();
|
||||
|
|
@ -826,10 +816,6 @@ public sealed class MoveToManager
|
|||
return;
|
||||
}
|
||||
|
||||
if (s_mvtoDiag)
|
||||
System.Console.WriteLine(System.FormattableString.Invariant(
|
||||
$"[mvto] BeginTurnToHeading motionsPending={_interp.MotionsPending()} curCmd=0x{CurrentCommand:X8}"));
|
||||
|
||||
if (_interp.MotionsPending())
|
||||
{
|
||||
return;
|
||||
|
|
@ -966,10 +952,6 @@ public sealed class MoveToManager
|
|||
/// </summary>
|
||||
public void UseTime()
|
||||
{
|
||||
if (s_mvtoDiag && (MovementTypeState != MovementType.Invalid || _pendingActions.First is not null))
|
||||
System.Console.WriteLine(System.FormattableString.Invariant(
|
||||
$"[mvto] UseTime enter contact={_contact()} pending={_pendingActions.Count} mtState={MovementTypeState} init={Initialized} hasPhys={HasPhysicsObj}"));
|
||||
|
||||
if (!HasPhysicsObj || !_contact()) return;
|
||||
|
||||
if (_pendingActions.First is null) return;
|
||||
|
|
@ -978,9 +960,6 @@ public sealed class MoveToManager
|
|||
if (!objectMoveGate) return;
|
||||
|
||||
MovementType type = _pendingActions.First.Value.Type;
|
||||
if (s_mvtoDiag)
|
||||
System.Console.WriteLine(System.FormattableString.Invariant(
|
||||
$"[mvto] UseTime dispatch node={type} mtState={MovementTypeState}"));
|
||||
if (type == MovementType.MoveToPosition)
|
||||
{
|
||||
HandleMoveToPosition();
|
||||
|
|
@ -1249,10 +1228,6 @@ public sealed class MoveToManager
|
|||
/// </summary>
|
||||
public void HandleUpdateTarget(TargetInfo info)
|
||||
{
|
||||
if (s_mvtoDiag)
|
||||
System.Console.WriteLine(System.FormattableString.Invariant(
|
||||
$"[mvto] HandleUpdateTarget objId=0x{info.ObjectId:X8} myTgt=0x{TopLevelObjectId:X8} match={(TopLevelObjectId == info.ObjectId)} init={Initialized} mtState={MovementTypeState} status={info.Status}"));
|
||||
|
||||
if (!HasPhysicsObj)
|
||||
{
|
||||
CancelMoveTo(WeenieError.NoPhysicsObject);
|
||||
|
|
@ -1485,9 +1460,6 @@ public sealed class MoveToManager
|
|||
/// </summary>
|
||||
public void CancelMoveTo(WeenieError error)
|
||||
{
|
||||
if (s_mvtoDiag && MovementTypeState != MovementType.Invalid)
|
||||
System.Console.WriteLine($"[mvto] CancelMoveTo (real) wasType={MovementTypeState} err={error}");
|
||||
|
||||
_ = error; // retail: never read in the body (decomp §7c) — kept for parity/logging.
|
||||
|
||||
if (MovementTypeState == MovementType.Invalid) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue