callofduty4x / CoD4x_Server

Extended Call of Duty 4 server
https://cod4x.ovh
GNU Affero General Public License v3.0
335 stars 121 forks source link

Fix corruption server demos #433

Open Caball009 opened 4 months ago

Caball009 commented 4 months ago

It's currently possible for server demos to get corrupted. This happens when delta snapshots rely on data from older snapshots that are not included in the demo.

This is currently untested hence a draft pr. This problem has previously been mentioned in https://github.com/callofduty4x/CoD4x_Server/pull/394 https://github.com/callofduty4x/CoD4x_Server/commit/220e3243fed28c10bc45cc2a4b7fa5fcd05f119c but not yet fixed.