Number of players

Game development with Board Game Arena Studio
Post Reply
User avatar
Silae
Posts: 5
Joined: 16 July 2018, 07:51

Number of players

Post by Silae »

Hi,
I am currently working on a projet where the number of players is fixed ( = 3).

So in gameinfos.inc.php, I put:

'players' => array( 3 ),
'suggest_player_number' => null,
'not_recommend_player_number' => array( ),
...

When I try to create a table, I see that there is only 3 places. However, when I am around a table, there is only 2 places and when I try to Express start, it says (obviously) :

Everyone accepted to start. Game setup in progress ...
Unexpected error: Invalid player number for this game: 2

However, if I write 'players' => array( 2 ), the game can start.
I really don't understand where the mistake comes.

Any help is good,
Thanks in advance,
User avatar
hersh
Posts: 76
Joined: 12 December 2013, 23:49

Re: Number of players

Post by hersh »

did you go to control panel to refresh gameinfos file?
User avatar
Silae
Posts: 5
Joined: 16 July 2018, 07:51

Re: Number of players

Post by Silae »

Yes, I have reloaded the game informations (when I put to 2 or 3 or 4, I can see the right number of players when I want to create a table) but when I am around the table, it is always 2 players.

I haven't changed anything in other files (it is default content)
User avatar
hersh
Posts: 76
Joined: 12 December 2013, 23:49

Re: Number of players

Post by hersh »

i tried starting your game with 3p and can see all 3 players.

leave the gameinfos file at 2,3 then express start/stop the game. can you then create 3p tables?
User avatar
Silae
Posts: 5
Joined: 16 July 2018, 07:51

Re: Number of players

Post by Silae »

It's working, surely the file wasn't loaded ...
Thanks for responding :)
Post Reply

Return to “Developers”