Page 1 of 2

[SOLVED][DarkAgent] GameInfo.inc.php

Posted: 27 July 2015, 22:24
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.

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

Posted: 27 July 2015, 22:55
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

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

Posted: 27 July 2015, 23:28
by Rudolf
No... I did it also...

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

Posted: 28 July 2015, 02:22
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.

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

Posted: 28 July 2015, 13:22
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...

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

Posted: 28 July 2015, 13:53
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?

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

Posted: 28 July 2015, 14:56
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.

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

Posted: 28 July 2015, 16:57
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.

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

Posted: 28 July 2015, 20:46
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.

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

Posted: 28 July 2015, 22:34
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.