[SOLVED][DarkAgent] GameInfo.inc.php

Game development with Board Game Arena Studio
User avatar
Rudolf
Posts: 566
Joined: 24 December 2011, 23:04

[SOLVED][DarkAgent] GameInfo.inc.php

Post by Rudolf »

Hello,
On DarkAgent.
I modified GameInfo.inc.php (nb of players from 2 to 6, designer, etc...)
I also did a "commit"...
But it seems that informations are not took into account, new game still propose 1 to 4 players, still John doe, etc... What did I forget to do?
thanks.
Last edited by Rudolf on 29 July 2015, 17:47, edited 1 time in total.
User avatar
apollo1001
Posts: 191
Joined: 21 July 2015, 10:41

Re: [DarkAgent] GameInfo.inc.php ... how take it into accoun

Post by apollo1001 »

Sounds like you need to 'reload' the 'game configurations' from within the control panel (4 buttons above the commit area).
Fingers crossed.
Apollo
User avatar
Rudolf
Posts: 566
Joined: 24 December 2011, 23:04

Re: [DarkAgent] GameInfo.inc.php ... how take it into accoun

Post by Rudolf »

No... I did it also...
User avatar
pikiou
Posts: 389
Joined: 03 October 2011, 05:36

Re: [DarkAgent] GameInfo.inc.php ... how take it into accoun

Post by pikiou »

What shows the log report when you click the Reload game information button ?
It may contain details on an error.

Also, you need to start a fresh new table to see changes.
User avatar
Rudolf
Posts: 566
Joined: 24 December 2011, 23:04

Re: [DarkAgent] GameInfo.inc.php ... how take it into accoun

Post by Rudolf »

I've tried many changes... and now cannot start the game anymore... I will come back to an older version... I wonder if it was not changing some data like BGG id or sontheing else...
User avatar
Rudolf
Posts: 566
Joined: 24 December 2011, 23:04

Re: [DarkAgent] GameInfo.inc.php ... how take it into accoun

Post by Rudolf »

Well I found my bug of yesterday version.php ... changing the version number seems to be dangerous if we don't respect the format of numbers :) ... I' ve tried to put 2-02 instead 99999-999... nevermind...

Gameoptions load without error, but no change results:

----------------------------------------------------------------------
New gameinfos.inc.php is now in place:

array (
'designer' => 'Rudolf Feller',
'artist' => 'Delphine Rayssac, Rudolf Feller',
'year' => 2016,
'publisher' => 'Space Reindeers',
'publisher_website' => 'http://www.spacereindeers.com',
'publisher_bgg_id' => 1234,
'bgg_id' => 54321,
'players' =>
array (
0 => 2,
1 => 3,
2 => 4,
3 => 5,
4 => 6,
),
'suggest_player_number' => NULL,
'not_recommend_player_number' => NULL,
'estimated_duration' => 40,
'fast_additional_time' => 30,
'medium_additional_time' => 40,
'slow_additional_time' => 50,
'tie_breaker_description' => '',
'is_beta' => 1,
'is_coop' => 0,
'complexity' => 3,
'luck' => 3,
'strategy' => 3,
'diplomacy' => 1,
'tags' =>
array (
0 => 2,
1 => 12,
2 => 22,
3 => 107,
4 => 207,
),
)
--------------------------------------------------

What do you mean by new table?... If I start a new game, I've got a new table?
User avatar
Quinarbre
Posts: 140
Joined: 15 December 2013, 23:26

Re: [DarkAgent] GameInfo.inc.php ... how take it into accoun

Post by Quinarbre »

Don't bother with version numbers, they're automatically set at YYMMDD-HHMM when you build a new version for preproduction.

Another thing, if you do change the number of players allowed, try not to get stuck in a impossible config. For instance, if you tested your game with a table open for 1-4 players, and then you change gameinfos to allow 2-6, the studio may give you a hard time with that 1 (even if you actually played with 4 players), so you'd better set your last table to 2-2 for instance before reloading gameinfos.
User avatar
Rudolf
Posts: 566
Joined: 24 December 2011, 23:04

Re: [DarkAgent] GameInfo.inc.php ... how take it into accoun

Post by Rudolf »

I initiate 4 players, then express stop, reload game infos, still does not work...
my game is from 2 to 6 ... better play 5... (no neutral tokens).
right now the choice is still 1 to 4.
User avatar
Quinarbre
Posts: 140
Joined: 15 December 2013, 23:26

Re: [DarkAgent] GameInfo.inc.php ... how take it into accoun

Post by Quinarbre »

I see it listed as 2-6 and I can create a game for between 2 and 6 players only.

Like I said :
- revert gameinfos to 1-4 config
- kill any ongoing games you have
- create a new table, restrict it to 2-4 players, and launch the game (you may kill it immediately if you wish)
- change your gameinfos to 2-6

Voilà ! The next table you create will be for 2-4 but you'll be able to change it to 2-6 or any restriction of this interval.
User avatar
Rudolf
Posts: 566
Joined: 24 December 2011, 23:04

Re: [DarkAgent] GameInfo.inc.php ... how take it into accoun

Post by Rudolf »

Thanks for advices ;) ,
I will try this... by the way it's strange, maybe it could be good to put this as a non-blocking bug for future version.
Post Reply

Return to “Developers”