No description
Find a file
Gavin Bises 735fcbf311 Add first draft of protocol extension for registration
Stub for registration command handling in server

First draft of handling registration requests

WIP (will be rebased)

clean up bad imports (rebase this later)

Finish checkUserIsBanned method

Add username validity check

Check servatrice registration settings

WIP

Finish(?) server side of registration

Needs testing

Fix switch case compile failure

I have no idea why I have to do this

WIP for registration testing python script

Stub register script initial attempt

Rearrange register script

First try at sending reg

register.py sends commands correctly now

Add more debug to register.py

Pack bytes the right way - servatrice can parse py script sends now

register.py should be working now

Parse xml hack correctly

Log registration enabled settings on server start

Insert gender correctly on register

Show tcpserver error message on failed gameserver listen

Fail startup if db configured and can't be opened.

TIL qt5 comes without mysql by default in homebrew...
2015-05-22 18:55:51 +02:00
cmake NSIS: default to INSTDIR\sounds directory 2015-05-14 15:36:29 +02:00
cockatrice Merge pull request #1086 from poixen/sounds 2015-05-22 11:19:50 +02:00
common Add first draft of protocol extension for registration 2015-05-22 18:55:51 +02:00
doc Removed resolved issues from TODO.md 2015-05-16 18:50:51 +02:00
oracle Merge pull request #1091 from ZeldaZach/oracle_hideaway 2015-05-21 14:06:20 -04:00
servatrice Add first draft of protocol extension for registration 2015-05-22 18:55:51 +02:00
sounds Remade tap sound 2015-05-20 13:14:40 +02:00
zonebg Zonebg: avoid installing the CMakeLists.txt file 2014-06-22 23:42:12 +02:00
.gitignore Translation updates to support Transifex 2015-02-13 15:56:17 +01:00
.travis.yml linux+clang+qt5 works now, disable allow_failures 2015-02-19 15:11:06 +01:00
CMakeLists.txt Remove spaces and parenthesis from package names; hopefully fix #1063 2015-05-08 15:14:01 +02:00
CONTRIBUTING.md fixed typos 2015-04-29 15:30:30 +02:00
COPYING Updated COPYING (GPLv2) with GPLv2 from GNU.org (trivial) 2013-05-08 20:45:38 +02:00
README.md adjust to match new ts handling /2 2015-03-24 00:24:28 +01:00
TODO.md Removed resolved issues from TODO.md 2015-05-16 18:50:51 +02:00
travis-compile.sh Switch travis builds to debug mode, since they catch more errors 2015-04-21 08:58:37 +02:00
travis-dependencies.sh Added qt5multimedia 2015-02-19 14:55:49 +01:00

Cockatrice

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.

Get Involved Gitter chat

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.

Community Resources

Translation Status Cockatrice on Transiflex

Cockatrice uses Transifex for translations. You can help us bring Cockatrice/Oracle to your language or edit single wordings by clicking on the associated charts below.
Our project page offers a detailed overview for contributors.

Language statistics for Cockatrice (on the left) and Oracle (on the right):

Cockatrice translations      Oracle translations

Check out our Translator FAQ for more information!

Building Build Status

Detailed installation instructions are on the Cockatrice wiki under Installing Cockatrice

Dependencies:

Oracle can optionally use zlib to load zipped files:

The server requires an additional dependency when compiled under Qt4:

To compile:

mkdir build
cd build
cmake ..
make
make install

The following flags can be passed to cmake:

  • -DWITH_SERVER=1 Build the server
  • -DWITH_CLIENT=0 Do not build the client
  • -DWITH_ORACLE=0 Do not build Oracle
  • -DWITH_QT4=1 Force compilation to use Qt4 instead of Qt5.
  • -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.

Running

oracle fetches card data
cockatrice is the game client
servatrice is the server

License

Cockatrice is free software, licensed under the GPLv2; see COPYING for details.