-[Translation Status [](https://www.transifex.com/projects/p/cockatrice/)](#translation-status-)
Cockatrice is an open-source multiplatform software for playing card games,
such as Magic: The Gathering, over a network. It is fully client-server based
to prevent any kind of cheating, though it supports single-player games without
a network interface as well. Both client and server are written in Qt, supporting both Qt4 and Qt5.
a network interface as well. Both client and server are written in Qt, supporting both Qt4 and Qt5.<br>
# Get Involved [](https://gitter.im/Cockatrice/Cockatrice)
Chat with the Cockatrice developers on Gitter. Come here to talk about the application, features, or just to hang out. For support regarding specific servers, please contact that server's admin or forum for support rather than asking here.
Chat with the Cockatrice developers on Gitter. Come here to talk about the application, features, or just to hang out. For support regarding specific servers, please contact that server's admin or forum for support rather than asking here.<br>
# Translation Status [](https://www.transifex.com/projects/p/cockatrice/)
...
...
@@ -38,26 +34,25 @@ Language statistics for `Cockatrice` *(on the left)* and `Oracle` *(on the right
Check out our [Translator FAQ](https://github.com/Cockatrice/Cockatrice/wiki/Translation-FAQ) for more information!
Check out our [Translator FAQ](https://github.com/Cockatrice/Cockatrice/wiki/Translation-FAQ) for more information!<br>
# Building [](https://travis-ci.org/Cockatrice/Cockatrice)
**Detailed compiling instructions are on the Cockatrice wiki under [Compiling Cockatrice](https://github.com/Cockatrice/Cockatrice/wiki/Compiling-Cockatrice)**
Dependencies:
-[Qt](http://qt-project.org/)
-[protobuf](http://code.google.com/p/protobuf/)
-[CMake](http://www.cmake.org/)
Oracle can optionally use zlib to load zipped files:
-[zlib](http://www.zlib.net/)
The server requires an additional dependency when compiled under Qt4:
@@ -75,15 +70,18 @@ The following flags can be passed to `cmake`:
-`-DCMAKE_BUILD_TYPE=Debug` Compile in debug mode. Enables extra logging output, debug symbols, and much more verbose compiler warnings.
-`-DUPDATE_TRANSLATIONS=1` Configure `make` to update the translation .ts files for new strings in the source code. Note: Running `make clean` will remove the .ts files.
# Building servatrice Docker container
`docker build -t servatrice .`
#### Building servatrice Docker container
`docker build -t servatrice .`<br>
# Running
`oracle` fetches card data
`cockatrice` is the game client
`servatrice` is the server
`servatrice` is the server<br>
# License
Cockatrice is free software, licensed under the GPLv2; see COPYING for details.
Cockatrice is free software, licensed under the GPLv2; see COPYING for details.<br>
QMessageBox::critical(this,tr("Error"),tr("You have to select a name-based, IP-based, clientId based, or some combination of the three to place a ban."));
QMessageBox::critical(this,tr("Error"),tr("This server requires client ID's. Your client is either failing to generate an ID or you are running a modified client.\nPlease close and reopen your client to try again."));
break;
caseResponse::RespContextError:
QMessageBox::critical(this,tr("Error"),tr("An internal error has occurred, please try closing and reopening your client and try again. If the error persists try updating your client to the most recent build and if need be contact your software provider."));
break;
caseResponse::RespAccountNotActivated:{
boolok=false;
QStringtoken=QInputDialog::getText(this,tr("Account activation"),tr("Your account has not been activated yet.\nYou need to provide the activation token received in the activation email"),QLineEdit::Normal,QString(),&ok);