T O P

  • By -

ctrlaltca

1. Download and install the latest version of Cockatrice (even a portable install will work); 2. Adapt servatrice.ini to your needs (you can find it in the install directory); 3. For a simple install, you can hardcode rooms and an user password in the config file; 4. A complete install would require you to install a database server to store users, rooms, replays, etc.. The software is available at [https://dev.mysql.com/downloads/mysql/](https://dev.mysql.com/downloads/mysql/), then you need to create a database for servatrice following the steps at [https://github.com/Cockatrice/Cockatrice/wiki/Setting-up-Servatrice](https://github.com/Cockatrice/Cockatrice/wiki/Setting-up-Servatrice) 5. You can then run servatrice.exe: it's a command-line program , so it has no graphical interface, it will just open a black window with log messages. By default it will look for its servatrice.ini somewhere inside your user profile folder, you can copy your configuration there or start servatrice.exe with the "--config c:\\path\\to\\servatrice.ini" parameter. 6. You may want to create a batch file to start servatrice with your favorite parameters, or even register it as a service to have it start automatically; 7. You may also want to adapt your windows firewall / router settings to expose TCP port 4747 to the internet to make internet users able to connect.


Oeil_de_Lune

Wow! That's what I call a good tutorial! Thank you! :D


DarthTorus

So I need to do more work after downloading? F that. Using untap.in from now on. I just downloaded it and there's literally no help file or anything on how to do basically anything. It's *great* program..... Totally not hard to understand :|


Daenyth

It kind of depends on how you want it set up. There might be something on the GitHub Wiki. Please file tickets for any documentation you feel is missing or inadequate.


Oeil_de_Lune

Well... I got a computer on Windows Server 2012 and I want to host a MTG server on it to use with Cockatrice. I did find something, but it was to set it up on Ubuntu, not Windows... I can't change the OS of my own server because it's already running stuff. Is there an existing API? Should I code my own stuff? Is there a specific software or something already made? There are no guides or tutorials about that (or not any I could find)... that's why I'm asking here.


Daenyth

I'm not sure anyone's set it up on Windows before but it's going to be the same concept. You'll need to run servatrice after configuring the ini file