Skip to content

Skip frame 0 CRC generation in replay playback to prevent early mismatch#359

Open
MrS-ibra wants to merge 1 commit intoGeneralsOnlineDevelopmentTeam:mainfrom
MrS-ibra:fix-replay-crc-mismatch
Open

Skip frame 0 CRC generation in replay playback to prevent early mismatch#359
MrS-ibra wants to merge 1 commit intoGeneralsOnlineDevelopmentTeam:mainfrom
MrS-ibra:fix-replay-crc-mismatch

Conversation

@MrS-ibra
Copy link

@MrS-ibra MrS-ibra commented Feb 26, 2026

During multiplayer games, the frame 0 MSG_LOGIC_CRC never reaches other players because the network is not yet set up at that point. However in replay playback, the game still generates a frame 0 CRC and queues it, shifting every CRC comparison off by one and causing a mismatch at the first CRC check around frame 100.

This change fixes that issue by skipping CRC generation at frame 0 in replay playback

@MrS-ibra MrS-ibra changed the title Skip frame 0 CRC check in replay playback to prevent early mismatch Skip frame 0 CRC generation in replay playback to prevent early mismatch Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant