8000 P2PMatchingReport: cfg_rollback_budget, logged by LBS by inada-s · Pull Request #444 · inada-s/gdxsv · GitHub
[go: up one dir, main page]

Skip to content

P2PMatchingReport: cfg_rollback_budget, logged by LBS - #444

Merged
inada-s merged 1 commit into
masterfrom
ai/report-cfg-rollback-budget
Oct 26, 2026
Merged

inada-s merged 1 commit into
masterfrom
ai/report-cfg-rollback-budget

Conversation

@inada-s
@inada-s inada-s commented Oct 26, 2026
Copy link
Copy Markdown
Owner

What

P2PMatchingReport.cfg_rollback_budget = 50 (float): flycast's emu.cfg gdxsv:RollbackBudget at the battle start, as saved. The input delay uses it clamped to 0 to 1.5. The client side is inada-s/flycast#591 (rollback budget per PC). The delay itself is already in input_delay.

rollback_budget stays reserved: a TimingStats with that name lived for a few hours on 2026-10-24 (41b789f → a5afd17), sent only by dev builds and never by a release (both commits are first in flycast gdxsv-1.10.2). The cfg_ prefix marks a value straight from the emulator settings.

Changes

  • gdxsv/proto/gdxsv.proto: the field; gdxsv.pb.go regenerated with make protoc. Regenerating master before the change gave no diff.
  • lbs_handler.go: p2pMatchingReportFields logs cfg_rollback_budget.
  • lbs_handler_test.go: Test_p2pMatchingReportFields checks it.

Order

A client sending the field before this is deployed is harmless (unknown field). It is logged only after the LBS deploy.

Verified

go build ./..., go test ./gdxsv/...: ok.

🤖 Generated with Claude Code

flycast's emu.cfg gdxsv:RollbackBudget at
8000
 the battle start, as saved (the
input delay uses it clamped to 0 to 1.5). rollback_budget stays reserved.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
inada-s added a commit to inada-s/flycast that referenced this pull request Oct 26, 2026
…back_budget)

gdxsv.pb.* regenerated from inada-s/gdxsv#444. The value is emu.cfg
gdxsv:RollbackBudget at the battle start, before the 0 to 1.5 clamp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@inada-s
inada-s enabled auto-merge October 26, 2026 12:43
@inada-s
inada-s merged commit 9c6ae23 into master Oct 26, 2026
2 checks passed
@inada-s
inada-s deleted the ai/report-cfg-rollback-budget branch October 26, 2026 12:45
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

0