Server issue: finished game still continues

Game development with Board Game Arena Studio
Post Reply
User avatar
Blacktango
Posts: 475
Joined: 18 April 2015, 12:15

Server issue: finished game still continues

Post by Blacktango »

Hi,

I have finally "succeeded" to reproduce this bug.

The game has just finished, but there are server problems during the score calculation (the score tab is pending for ages).
No one can continue playing as the game is finished, but we can't create a new table either because BGA says that a game is still open.

Is there anything that the game maintainer can do to avoid this problem (at game level), or is it just a general BGA problem?

I think the bug only happens when the game ends just as the server is having some problems.
User avatar
thoun
Posts: 1321
Joined: 10 December 2020, 22:25

Re: Server issue: finished game still continues

Post by thoun »

There is nothing the game maintainer can do.
The table state will automatically resolve when the servers are responding again. You can close this bug saying it was a temporary BGA server issue.
User avatar
Blacktango
Posts: 475
Joined: 18 April 2015, 12:15

Re: Server issue: finished game still continues

Post by Blacktango »

Thanks for the confirmation! 👍
User avatar
ufm
Posts: 1672
Joined: 06 January 2017, 08:38

Re: Server issue: finished game still continues

Post by ufm »

This is not entirely correct. The game may have a bug which causes this, for two possible reasons:

- Override the default 'stGameEnd' and/or 'argGameEnd' function and break the game end process

- Co-op games using 'coop_elo_mode' in gameinfos (currently there are only two such games - Hanabi and Pandemic):
The final score value is not assigned to coop_elo_mode array
User avatar
Blacktango
Posts: 475
Joined: 18 April 2015, 12:15

Re: Server issue: finished game still continues

Post by Blacktango »

Ok, the bug actually happens on Hanabi.
It doesn't override the stGameEnd/argGameEnd functions.

When you say "The final score value is not assigned to coop_elo_mode array", do you mean that it should be?

Is there something to do about the coop_elo_mode?
I think there is no special implementation about the scoring in Hanabi, except by defining the coop_elo_mode array in the gameinfo.inc.php.
User avatar
ufm
Posts: 1672
Joined: 06 January 2017, 08:38

Re: Server issue: finished game still continues

Post by ufm »

Blacktango wrote: 30 October 2024, 17:34 When you say "The final score value is not assigned to coop_elo_mode array", do you mean that it should be?
Yes, it should be. Or the game freezes permanently at the end.
Because of this bug, conceding co-op games automatically sets the score to 0.
(Previously, conceding during a game allowed negative scores in Hanabi and triggered this bug)
Post Reply

Return to “Developers”