Skip to content

Implement feature to verify replay playback correctness #566

Open
@xezon

Description

@xezon

If we want to be serious about preserving multiplayer compatibility with the retail game for the time being, then we need to explore implementing a feature that can verify the correctness of replay playbacks.

To do that, we need to have a replay

  • Hash dumper
  • Hash reader
  • Hash comparator

The game client needs to be able to dump relevant hashes of a replay playback into a hash records file. That file can then sit next to the replay. On playback, that hash records file is loaded back and compared against the running state of the replay. When a mismatch is detected, a result highlights where that hash mismatch was found.

This feature will allow to test correctness with a selection of prerecorded replays before every gameplay relevant code change we do going forward. This helps avoid introducing unexpected mismatches.

TODO

Metadata

Metadata

Assignees

Labels

CriticalSeverity: Minor < Major < Critical < BlockerDebugIs mostly debug functionality

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions