Repository navigation
zdxsv replays: Live tab elapsed time from the lobby's server_unix - #814
Merged
Merged
Conversation
…tart_unix Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
inada-s
force-pushed
the
ai/live-elapsed
branch
from
November 22, 2026 04:48
7343dc5 to
00c3c84
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Changes
The Live tab of the replay window shows a running battle's elapsed time as
server_unix - start_unix.server_unixis the lobby's clock when it answered, from inada-s/zdxsv PR 332, so both values are on the lobby's clock. With a lobby that does not sendserver_unixyet, this PC's clock stands in. An ended battle's cell stays empty, because the lobby sends no end time.Rationale behind Changes
The column read
frames, which/lbs/livenever sends, so it always showed 0:00. Comparingstart_unixwith this PC's clock is off by any clock skew.Suggested Testing Steps
Not built locally, and the Live tab was not run during a battle. To check: open Tools > zdxsv Replays > Live during a battle. The elapsed time should grow with each refresh.
Did you use AI to help find, test, or implement this issue or feature?
Yes. Claude Code made the change.
🤖 Generated with Claude Code