From f309cf05287014567e428e49796244fb510fc6a2 Mon Sep 17 00:00:00 2001 From: Aaron Kimbrell Date: Wed, 30 Sep 2026 07:41:13 -0500 Subject: [PATCH] fix(dashboard): World 3D plays a packet capture at 1x The replay speed saved for recorded positions (60x by default) is for scrubbing through hours of movement. A capture is minutes long and played too fast at that speed. Co-Authored-By: Claude Opus 5.5 --- dDashboardServer/static/js/world3d.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dDashboardServer/static/js/world3d.js b/dDashboardServer/static/js/world3d.js index 84e5f3713..a50f6a434 100644 --- a/dDashboardServer/static/js/world3d.js +++ b/dDashboardServer/static/js/world3d.js @@ -940,6 +940,8 @@ async function loadCaptureReplay(capture) { setStatus(''); if (!data || data.success === false) { toast((data && data.error) || 'Could not load the capture', 'danger'); return; } state.capture = { id: String(capture), data, worlds: data.worlds || [] }; + // A capture plays in real time (the saved speed is for scrubbing through hours of recorded positions) + $('replaySpeed').value = '1'; // One character captured: follow them from the start const characters = new Set(state.capture.worlds.filter((w) => w.zone).map((w) => w.character)); const only = characters.size === 1 ? [...characters][0] : null;