Skip to content
This repository has been archived by the owner on Nov 27, 2020. It is now read-only.

FySGateway

FreeYourSoul edited this page Apr 5, 2018 · 20 revisions

FreeYourSoul_Server

:octocat: :octocat: :octocat: :octocat: :octocat: :octocat: :octocat: :octocat: :octocat: :octocat: :octocat:

What is this repository

This repository contains the FyS Gateway code. It's the entry point of any clients trying to communicate with the game,

A message sent by a player can take different possible channel in the BUS,

each of those channels are managed by their own lock-free queue (see FySMQ) and their own threads. Which means, each of those channel doesn't share data about the game state to avoid data race: FySP protocol


  • Authentication Channel : Used by the player to authenticate, if the player isn't properly authenticated he cannot use another channel

described here - RFC FySP part


  • Babble channel : messaging channel, can be used by the connected player to communicate with other player across the server(s). A specific protocol including communication channel is used for this channel. Babble server is unified with the gateway one (no separation, maybe I should do it.. dunno)

described here


  • Game channel : those message are messages used by the player to move on the world map and interact in the WorldMode of the game. The message is simply forwarded to the GameBroker (which will forward the message to the server in which the player actually is)

described here


  • Fight channel : those message are used by the player to

described here


UML FreeYourSoul environement

This uml has for purpose to make people understand how the FreeYourSoul servers works together.
More detail on each servers (umls) are available on the specific documentation of those modules.

(todo: global uml)