Install/Setup
Last updated
Was this helpful?
Last updated
Was this helpful?
Unity 2020.3.4f1
Dakrift 2 Free version - We use Darkrift for the multiplayer
All the Unity scripts
CasinoApi.sln -
Location: MasterServer.sln
Import Newtonsoft
Import Dakrift 2 Free version
Import MultiplayerServerFakeit
Download the server code from here inside the main project directory. After you do the folders should look like - Assets/ Library / server / MasterServer etc...
Build MasterServer and MasterServerModels which are inside MasterServer.sln (Building the whole project should also work, but some visual studio versions fail to execute the post build commands, so we are building them separately just in case)
Go to the server directory and run DarkRift.Server.Console.exe this will start the server. After that you can open the project and start the Scene from our package.
Newtonsoft requires that there are no errors inside the project (this is stated inside the documentation of the newtonsoft package) so we need to install it before we put our MultiplayerServerFakeit folder inside the Assets. If you already downloaded the package which might be the case before installing Newtonsoft it's not a problem. Just move the MultiplayerServerFakeit folder which is located inside the Assets to somewhere outside of the project and install Newtonsoft. After Newtonsoft is installed and you can see the package added to your main game Solution you can move back the MultiplayerServerFakeit folder inside the Assets.
Download the server code from here inside the main project directory. After you do the folders should look like - Assets/ Library / server / MasterServer etc...
Build MasterServer and MasterServerModels which are inside MasterServer.sln (Building the whole project should also work, but some visual studio versions fail to execute the post build commands, so we are building them separately just in case)
These dependencies are required in order the project to run without errors:
Darkrift 2 Free version
Go to the server directory and run DarkRift.Server.Console.exe this will start the server. After that you can open the project and start the Scene from our package.