Page 1 of 1

Version number overflow

Posted: 02 January 2022, 04:43
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

Re: Version number overflow

Posted: 05 January 2022, 10:29
by sourisdudesert
Sorry about this - a fix is in progress.

Re: Version number overflow

Posted: 05 January 2022, 12:30
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.