Repository navigation
Server-built battle logs carry the current log_file_version - #437
Merged
Merged
Conversation
Live spectating (20250101) and MCS rooms (20210803) stamped fixed versions. Flycast reads it like a replay file's version: from 20261023 it no longer forces cost 295 and takes it from the game patches, so both use battleLogFileVersion = 20261023. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
lbs_spectator.go, was20250101) and MCS room logs (mcs_room.go, was20210803) now both usebattleLogFileVersion = 20261023(lbs.go).ai/cost-game-patch), Flycast no longer forces cost 300->295 and takes it from the game patches instead. Below that version it still writes 295 itself.cost295patch would play at 295 on the spectator side while the players have 300.Rollout
cost295patch has to be inm_patchfordc1anddc2(codes below), and every lobby'spatch_nameshas to include it, before the Flycast release ships. Until old clients are gone, a lobby without it would mix 295 (old clients) and 300 (new clients) in one match.dc1
dc2
Test
go test ./gdxsv/passes (mcs_room_testchecks the constant).🤖 Generated with Claude Code