This is a documentation for Board Game Arena: play board games online !

Studio back-office: Perbezaan antara semakan

Daripada Board Game Arena
Pergi ke pandu arah Pergi ke carian
(Created page with "You will find the URL to the Studio back-office in the 'resources.html' file at the root of your SFTP access. Here is a list and description of the links and functions in thi...")
 
Tiada ringkasan suntingan
Baris 12: Baris 12:


Contains a link to the Studio database administration tool (PHPMyAdmin).
Contains a link to the Studio database administration tool (PHPMyAdmin).
Your login / password for this tool is the same as for your SFTP access.
Your login / password for this tool is the same as for your SFTP access.


Baris 17: Baris 18:


Contains a form for committing your sources to the BGA repository.
Contains a form for committing your sources to the BGA repository.
Game name field should contain the name of your game (lower case, no space).
* Game name field should contain the name of your game (lower case, no space).
Comment should contain your commit comment describing changes to the code since your last commit.
* Comment field should contain your commit comment describing changes to the code since your last commit.
 


You should commit from time to time when you hit some landmarks in your development. This is an extra assurance not to lose your code, and to have the possibility (by asking us) to get a previous version of your code if you need to backtrack.
You should commit from time to time when you hit some landmarks in your development. This is an extra assurance not to lose your code, and to have the possibility (by asking BGA administrators) to get a previous version of your code if you need to backtrack.


=== Logs ===
=== Logs ===
Baris 27: Baris 29:


; Current table error log
; Current table error log
: main log of interest to you while developing, it contains the error logs happening at the table you are currently playing at
: main log of interest to you while developing, it contains the error happening at the table you are currently playing at.
; Current table request logs
; Current table request logs
: this log traces all the actions happening at the table you are currently playing at
: this log traces all the actions happening at the table you are currently playing at.
; Javascript error log
; Javascript error log
: this log traces all the Javascript errors happening on the client side. Errors are also briefly displayed in your browser, but in this log it's better formatted and you can look a it quietly.
: this log traces all the Javascript errors happening on the client side. Errors are also briefly displayed in your browser, but in this log it's better formatted and you can look a it quietly.

Semakan pada 12:41, 24 November 2012

You will find the URL to the Studio back-office in the 'resources.html' file at the root of your SFTP access.

Here is a list and description of the links and functions in this back-office.

Click on a menu to display its content.

Documentation

Contains links to this wiki, the development forum and the bugs forum.

Database

Contains a link to the Studio database administration tool (PHPMyAdmin).

Your login / password for this tool is the same as for your SFTP access.

Sources

Contains a form for committing your sources to the BGA repository.

  • Game name field should contain the name of your game (lower case, no space).
  • Comment field should contain your commit comment describing changes to the code since your last commit.


You should commit from time to time when you hit some landmarks in your development. This is an extra assurance not to lose your code, and to have the possibility (by asking BGA administrators) to get a previous version of your code if you need to backtrack.

Logs

Gives you a web based access to the studio server logs.

Current table error log
main log of interest to you while developing, it contains the error happening at the table you are currently playing at.
Current table request logs
this log traces all the actions happening at the table you are currently playing at.
Javascript error log
this log traces all the Javascript errors happening on the client side. Errors are also briefly displayed in your browser, but in this log it's better formatted and you can look a it quietly.
Gameserver error log
this log traces all errors happening on the gameserver. It should mainly be useful if your game setup crashes (ie before your table is ready, so before errors are collected in the current table error log), for example if there is a syntax error in your 'dbmodel.sql' file.
HTTP error log
this log traces the web server errors. This is useful to look at PHP syntax errors and warnings.

Please note that the three last logs are common to all games being developed on the platform, so there may be some noise in the data you are interested in.

You can open the log links in a different tab and just hit F5 when you need to refresh. The URL you will get for the new tab has a "?n=100" parameter that gives the number of lines to display: you can modify it in the URL if you need more.