Maximum number of stats

Game development with Board Game Arena Studio
Post Reply
User avatar
dudi2
Posts: 223
Joined: 05 December 2015, 20:30

Maximum number of stats

Post by dudi2 »

In wiki https://en.doc.boardgamearena.com/Game_ ... stats.json I found this:
(Number of table statistics) + (Number of player statistics × Maximum number of players) should not exceed ~930, or the game will crash. (Note: the maximum limit is not precise - Seems having stats around 980 broke the game, but reducing to around 930 solved this)
Is there a way to test in studio, if this problem will happen or not?
Would it crash at start of the game?
Or could it happen that initialising stats without a crash (at maximum number of players) is not safe enough and crash happens only until the progress is somewhere near the end of the game?

Is it safe, if a game works in studio with some number of stats to deploy to production? When adding a new game variant separate stats could be needed to make the avg. not unmeaningful.
User avatar
Kayvon
Posts: 1060
Joined: 17 October 2011, 01:39

Re: Maximum number of stats

Post by Kayvon »

I wrote that portion of the wiki after lots of imperical testing to arrive at that range.

I don't remember precisely, but I don't believe the Studio stats gave a real representation of whether the game would just stop working once you deployed it. Your best bet is to stay far away from those numbers.
Post Reply

Return to “Developers”