In part 8 of the series we implemented a GameServer. In this part we will implement a custom spawner, and start it from within the editor or from the command line.
We are getting close to having the following working. This video shows the following
- A Windows command window where I launched the master server and custom spawner in one process
- A status line at the top of the window shows the following details.
- [Master | Users LoggedIn: 10 Matchmaking: 1] [Games Played: 1000 Aborted: 0 Underway: 4]
- Master – shows it is running a master
- LoggedIn – # authenticated MSF clients
- Matchmaking – # clients waiting in matchmaking queue
- Games Played – # successfully completed games
- Games Aborted – # games the GameServer aborted
- Games Underway – # games running with launched GameServers
- 10 clients, each running a state machine, requesting a game, being assigned a gameserver (launched windowless), and playing a game.
- The client has a status line showing the following
- [Client | Played: 123 Aborted: 0 | GameStarted] Game Count Down 3
- Clients – shows it is running a client
- Played – # games played
- Aborted – # games aborted – from FailedToGetGame
- GameStarted – an example of the current state of the client
- Game Count Down 3 – an example status message
Continue reading “Unity Master Server Framework – Part 9 – Custom Spawner”