How It Fits Together: Difference between revisions

From OuroDev
m (Try not to confuse people coming in from "Server Arch", and link to "Client Arch" for when that exists.)
m (added links to protocol archaeology)
Line 14: Line 14:
* [[chatserver]] - [[chatadmin]], [[chatclient]]
* [[chatserver]] - [[chatadmin]], [[chatclient]]
* [[cmdrelay]]
* [[cmdrelay]]
* [[dbserver]]
* [[dbserver]] - DB Server is the actual "shard" (and does surprisingly little database work).
* [[game]]
* [[game]] - Game Client
* [[launcher]] - Launch (and update) the game client.
* [[launcher]] - Launch (and update) the game client.
* [[mapserver]]
* [[mapserver]]
Line 34: Line 34:
# Launcher runs Game Client.
# Launcher runs Game Client.
# Game Client connects to Auth Server, receives auth token of some sort.
# Game Client connects to Auth Server, receives auth token of some sort.
# Game Client connects to DB Server, which is the actual "Shard".
# Game Client connects to DB Server, which is the actual "Shard". See [[Client-to-dbserver]] for info about how the client and DB Server interac


The Game Client also connects directly to ????TODO??? during play.
The Game Client also connects directly to ????TODO??? during play.
Line 43: Line 43:


??? TODO ???
??? TODO ???
See [[Dbserver-protocols]] for info about how the DB Server talks to things.

Revision as of 16:15, 23 May 2019

Server Architecture

An attempt to explain the purpose of each part, and how they all fit together.

Components

Based on the source directories, it seems like a full CoX system (that is, all servers, and the game client) is made up of these items:

Note: I'm probably slightly off, and will update this as I investigate further. Feel free to correct any lies in here!

Player's POV

From the player's point of view:

  1. Run Launcher. This is being replaced by things like Cream Soda.
  2. Launcher runs Game Client.
  3. Game Client connects to Auth Server, receives auth token of some sort.
  4. Game Client connects to DB Server, which is the actual "Shard". See Client-to-dbserver for info about how the client and DB Server interac

The Game Client also connects directly to ????TODO??? during play.

For more info about the Game Client, see Client Architecture.

Server's POV

??? TODO ???

See Dbserver-protocols for info about how the DB Server talks to things.