Page 1 of 1

Can't start a game

Posted: 11 July 2020, 14:58
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)

Re: Can't start a game

Posted: 11 July 2020, 15:16
by Tisaac
Are you sure you renamed everything To reversitaco ?

Re: Can't start a game

Posted: 11 July 2020, 15:25
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.

Re: Can't start a game

Posted: 11 July 2020, 15:29
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.

Re: Can't start a game

Posted: 13 July 2020, 09:51
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'