Skip to content

PR-C: Sync transport ridership and cargo counters - #31

Draft
Malionaro wants to merge 2 commits into
Rollocraft:devfrom
Malionaro:feat/statistics-transport-counters
Draft

Malionaro wants to merge 2 commits into
Rollocraft:devfrom
Malionaro:feat/statistics-transport-counters

Conversation

@Malionaro

Copy link
Copy Markdown

Syncs the 12 missing transport lifetime counters in StatisticsStateChannel (Id 10): 8 passenger (bus, subway, tram, train, taxi, airplane, ship, ferry) + 4 cargo (truck, train, ship, airplane), all read at parameter 0 through the existing delta mechanism.

No new command, no protocol bump (stays v67), no new files — the payload is self-describing (count + type + value), so older peers just exchange fewer entries. Hardened: named LifetimeParameter constant, entry-count bound (64), unknown StatisticType bytes skipped defensively.

Based on upstream master f0e0ad5. Developed in Malionaro#3. Needs a real multiplayer test session before merge.

@Malionaro
Malionaro marked this pull request as draft September 17, 2026 20:26
Repository owner deleted a comment from chatgpt-codex-connector Bot Sep 17, 2026
@Rollocraft

Copy link
Copy Markdown
Owner

Could you please retarget this PR to dev?

@Malionaro
Malionaro changed the base branch from master to dev September 18, 2026 08:01
@Malionaro

Copy link
Copy Markdown
Author

Done — retargeted to dev ✅

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.

2 participants