Skip to content

Getting started

proepkes edited this page Jun 13, 2018 · 28 revisions

Overview

To be able to start a client or server, the directory should at least consist of the following assemblies:

Server

  • SpeedDate.dll
  • SpeedDate.Server.dll
  • SpeedDate.Server.Console.dll
  • SpeedDate.ServerPlugins.dll

Client

  • SpeedDate.dll
  • SpeedDate.Client.dll
  • SpeedDate.ClientPlugins.dll
  • SpeedDate.Client.Console.Example (replace this with your game-client)

1. Build the MasterServer

Right-click on project "SpeedDate.Server.Console" and select "Publish...", then click the Publish-button

Publish Server

Publish button

2. Build the Spawner

Right-click on project "SpeedDate.Client.Spawner.Console" and select "Publish...", then click the Publish-button

3. Build the Game-executable

Build project "ConsoleGame", this can be replaced by your own Game later on

Build game

Adjust the path to the game-executable inside "SpawnerConfig.xml"

ExecutablePath

4. Run the MasterServer

Start a new PowerShell, cd to the repositories root folder. Step 1 should've created a new directory named "Deploy\Server". Start the server with the dotnet-command:

Path

StartServer

5. Start the Spawner

StartSpawner

6. Start the Client

Inside Visual Studio, set "SpeedDate.Client.Console.Example" as StartUp Project & hit run:

Fin

The Client connects to the Master and starts a spawn-request. The Spawner will then spawn a new GameServer.

Clone this wiki locally