Version number overflow

Game development with Board Game Arena Studio
Post Reply
User avatar
Babamots
Posts: 11
Joined: 22 May 2020, 19:53

Version number overflow

Post by Babamots »

I (and presumably everyone who has tried to deploy recently) encountered the problem that the version numbers being assigned to new deployments are too large for the 32-bit INTs being used to store them in the "global" table. From my observation, the result is that any new deployment prevents anyone from loading a table for that game (including reloading ongoing games).

The PHP log reports something like
Out of range value for column 'global_value' at row 1 - Request: UPDATE global SET global_value='2201010404' WHERE global_id='300'

According to the conversation on the developer Discord channel, a message has been sent to admins.

Happy new year :D
User avatar
sourisdudesert
Administrateur
Posts: 4630
Joined: 23 January 2010, 22:02

Re: Version number overflow

Post by sourisdudesert »

Sorry about this - a fix is in progress.
User avatar
Een
Posts: 3861
Joined: 16 June 2010, 19:52

Re: Version number overflow

Post by Een »

We have now fixed this 2022 overflow issue:
- new games will be created with proper data field to hold the version number (bigint)
- ongoing games will be upgraded (by the framework, nothing specific to do on the game side) if a new version has been deployed.

Please let us know if you encounter any further deploy issue.
Post Reply

Return to “Developers”