Can't start a game

Game development with Board Game Arena Studio
Post Reply
User avatar
LasNachos
Posts: 7
Joined: 09 July 2020, 11:19

Can't start a game

Post by LasNachos »

Once I got a develop account, I created my own game as a test. Via Express Play, I got 4 players and that worked. Express Stop and done.

Then, I cloned reversi to reversitaco. However, when I now start via Express Play, I get:

Code: Select all

Unexpected error: Wrong formatted data from BGA gameserver 1 (method: createGame): JSON_ERROR_SYNTAX
Warning: require_once(/var/www/tournoi/include/Reversitaco.inc.php): failed to open stream: No such file or directory in /var/tournoi/release/tournoi-200710-1835-gs/www/index.php on line 101

Fatal error: require_once(): Failed opening required '/var/www/tournoi/include/Reversitaco.inc.php' (include_path='.:/usr/share/php') in /var/tournoi/release/tournoi-200710-1835-gs/www/index.php on line 101
Adding an empty reversitaco.inc.php file via FTP doesn't change this.

The same happened when I tried to clone hanabi to fix one of the bounty bugs.

Express Play for the first test game still works.

Am I overlooking something here?

(I thought it was related to this issue but maybe not after all)
User avatar
Tisaac
Posts: 2736
Joined: 26 August 2014, 21:28

Re: Can't start a game

Post by Tisaac »

Are you sure you renamed everything To reversitaco ?
User avatar
LasNachos
Posts: 7
Joined: 09 July 2020, 11:19

Re: Can't start a game

Post by LasNachos »

I tried two approaches.

1: Control Panel > Manage Games > Create a new game project > Project name reversitaco from existing project named reversi
I don't think in this approach, you should rename anything, right?

2: Delete all files in the reversitaco folder, copy all from reversi folder, rename all files and corrects all references.
I think I replaced them all, but that did not change the errors.

I can't find the "correct" way to clone and adjust an existing game.
User avatar
LasNachos
Posts: 7
Joined: 09 July 2020, 11:19

Re: Can't start a game

Post by LasNachos »

Having renamed a missing reference, the issue is now changing (now it's a stuck "Opening the game box" message). Progress!

I still wonder about the best way to work with the existing reversi game though.
User avatar
LasNachos
Posts: 7
Joined: 09 July 2020, 11:19

Re: Can't start a game

Post by LasNachos »

Just in case anyone else has the same issue: all errors eventually dissappeared once I found and replaced the final traces of 'reversi' to 'reversitaco'
Post Reply

Return to “Developers”