I got error on my first project

Game development with Board Game Arena Studio
Post Reply
User avatar
frest
Posts: 2
Joined: 24 April 2020, 18:34

I got error on my first project

Post by frest »

Perhaps it's stupid question. But now I'm following the steps of "First steps with BGA Studio". And first challenge is reversi. I've copied project and got new directory with rw permissions files. The next step is "Click 'Express start': your game launches with the maximum number of players specified. It shows an empty canvas: in the game zone you just have a sentence 'This is your game interface. You can edit this HTML in your ".tpl" file.'." I click "Express start" and get
"ly_metasite.js:2 Unexpected error: Wrong formatted data from BGA gameserver 1 (method: createGame): JSON_ERROR_SYNTAX <br />
<b>Warning</b>: require_once(/var/www/tournoi/include/Reversifrest.inc.php): failed to open stream: No such file or directory in <b>/var/tournoi/release/tournoi-200428-1120-gs/www/index.php</b> on line <b>101</b><br />
<br />
<b>Fatal error</b>: require_once(): Failed opening required '/var/www/tournoi/include/Reversifrest.inc.php' (include_path='.:/usr/share/php') in <b>/var/tournoi/release/tournoi-200428-1120-gs/www/index.php</b> on line <b>101</b><br />"

I don't have Reversifrest.inc.php and I don't know where it's generated. Maybe I have to change something after creating new projcect?
User avatar
Victoria_La
Posts: 665
Joined: 28 December 2015, 20:55

Re: I got error on my first project

Post by Victoria_La »

Why would you copy the project? Tutorial goes though the steps of building it from the scratch, so you have to create empty project first.Not copy existing.
User avatar
frest
Posts: 2
Joined: 24 April 2020, 18:34

Re: I got error on my first project

Post by frest »

I got original pre created directories(reversi, hearts, gomoku) with only r-x permissions and didn't find the same problem on forum. And own project creation from existing looked like a good solution
User avatar
Victoria_La
Posts: 665
Joined: 28 December 2015, 20:55

Re: I got error on my first project

Post by Victoria_La »

The directories you have for reference of the code only. They cannot be used to start games. They should not even mounted, as new solution to gain read only access to project of your choice is much better
User avatar
allanmandragor
Posts: 4
Joined: 10 March 2017, 22:51

Re: I got error on my first project

Post by allanmandragor »

Hi frest,
I had the same problem because i missunderstood the documentation and the tutorials.
viewtopic.php?f=12&t=15864

Still when I create a new empty project and then start it by clicking on "play now", it doesn't start any new table.

Did you manage to start a project?

See you
Guillaume
Post Reply

Return to “Developers”