Skip to content

origin game_num msg#329

Open
paulmullin wants to merge 2 commits intomainfrom
origin-message-fix
Open

origin game_num msg#329
paulmullin wants to merge 2 commits intomainfrom
origin-message-fix

Conversation

@paulmullin
Copy link
Contributor

Description

Related Issues

Motivation and Context

Testing

Screenshots (if applicable)

Types of Changes

  • Bug fix (non-breaking change to resolve an issue)
  • New feature (non-breaking change to add functionality)
  • Breaking change (alters existing functionality)
  • Documentation update required

Checklist

  • My code follows the project’s style guidelines.
  • I have updated documentation as needed.
  • I have read the CONTRIBUTING.md document.
  • I have added or updated tests.
  • All new and existing tests pass.

Additional Notes

Copilot AI review requested due to automatic review settings March 15, 2026 01:12
@github-actions
Copy link
Contributor

Developer build links:
Sys11

https://raw.githubusercontent.com/warped-pinball/vector/pr-update-artifacts/pr-artifacts/pr-329/sys11-update.json

Sys11 (Tiny)

https://raw.githubusercontent.com/warped-pinball/vector/pr-update-artifacts/pr-artifacts/pr-329/sys11-tiny-update.json

WPC

https://raw.githubusercontent.com/warped-pinball/vector/pr-update-artifacts/pr-artifacts/pr-329/wpc-update.json

EM

https://raw.githubusercontent.com/warped-pinball/vector/pr-update-artifacts/pr-artifacts/pr-329/em-update.json

WhiteStar

https://raw.githubusercontent.com/warped-pinball/vector/pr-update-artifacts/pr-artifacts/pr-329/whitestar-update.json

DataEast

https://raw.githubusercontent.com/warped-pinball/vector/pr-update-artifacts/pr-artifacts/pr-329/data-east-update.json

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a game_num field to game status reports and adjusts when gameCounter increments so origin messages can include a stable per-game identifier, alongside version bumps for WPC/Data East/common.

Changes:

  • Add game_num to game_report() payloads (common/WPC/Data East).
  • Move S.gameCounter increment from “game start” to “end of game” in multiple score-tracking paths (including formats).
  • Bump firmware/version strings (WPC, Data East, common VectorVersion).

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
src/common/GameStatus.py Adds game_num to the common game status report payload.
src/wpc/GameStatus.py Adds game_num to the WPC game status report payload.
src/data_east/GameStatus.py Adds game_num to the Data East game status report payload.
src/common/ScoreTrack.py Moves gameCounter increment to end-of-game and shifts origin end-of-game push call site.
src/wpc/ScoreTrack.py Moves gameCounter increment to end-of-game for WPC flow.
src/data_east/ScoreTrack.py Moves gameCounter increment to end-of-game for Data East flow.
src/common/Formats.py Moves gameCounter increment to end-of-game for formats flow.
src/common/SharedState.py Bumps VectorVersion.
src/wpc/systemConfig.py Bumps WPC SystemVersion.
src/data_east/systemConfig.py Bumps Data East SystemVersion.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +81 to 86
#from origin import push_end_of_game
#push_game_count = 1
#last_pushed_game = game
#push_end_of_game(last_pushed_game, push_game_count)


# put ip address back up on system 9 displays
displayMessage.refresh_9()

S.gameCounter = (S.gameCounter + 1) % 100
else:
initials_capture_this_game = False
S.gameCounter = (S.gameCounter + 1) % 100
#S.gameCounter = (S.gameCounter + 1) % 100
Comment on lines +353 to +354
#S.gameCounter = (S.gameCounter + 1) % 100
#print(f"SCORE: New game counter = {S.gameCounter}")
if DataMapper.get_game_active() is True: #game started
game_state=1
S.gameCounter = (S.gameCounter + 1) % 100
#S.gameCounter = (S.gameCounter + 1) % 100
@@ -1,4 +1,4 @@
VectorVersion = "1.11.10"
VectorVersion = "1.11.11"
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