fbpx

Before setting up the server, there is a service called “Bootstrapper” responsible for register the server to the storage by calling “Agents”  “POST /api/Agents” from the API, this service gets the server Id from the registry (HKEY_LOCAL_MACHINE\Software\Forgotten Mines\GameServer  , the Key Name: ID.. the Key value is the server Id value) where the same service generate it if not found.

and by the website dashboard will assign the connection string to the server.

Server Types

  1. Production server: the server that is running on the virtual machine on the cloud.
    this server uses  production connection string (Except if change by server control page in the admin part of the website)
  2. Local Serverthe server that runs on the local machine.
    this server uses Local Storage (Except if change by server control page in the admin part of the website).
  3. Secondary server: the server runs on the @Lotus Local machine on his server, this server uses Staging Connection String (Only @Lotus controls it, not registered in the website dashboard)

in both of them communicate to the API by  calling “ServerIdToConnectionString” (GET /api/ServerIdToConnectionString) resource to get the connection string value (there are 3 types of the connection string: Local, Production and staging )

After getting a connection string value, the server will initialize itself by this connection string.

If the server not found in the storage the API will return Local Connection string by default.

the server does the requests to the Published API, so for any server call the published API
the data manipulation will happen through production storage.
Note: to use Local storage in this case, run the Local web API and make the server Listen to it by changing the URL from app.config file to local URL (it is like: http://localhost:59601/api/).

Published
Categories Uncategorized
Views 29

Comments

Leave a Reply

No Comments ;(

War to the Core

16 User(s) Online Join Server
  • Andras Nagy
  • Chris Tate
  • Luram
  • AlexV
  • MorpheusZ
  • ジョエル
War to the Core

Recent Comments

Latest Updates

  • We made it to the Top 100!

    We made it to the Top 100!

    We are stoked that we managed to land on IndieDB’s Indie of the Year’s Top 100 list! We are also the only MOBA that made it to the list! The support we got from the community was overwhelming, and we would like to thank each and every person that helped us get this far. Whether […]Read More »
  • A New Initiative by Sergiu Jenescu

    A New Initiative by Sergiu Jenescu

    A New Initiative A story by Sergiu Jenescu A pilot is standing on a cliff, near a quarantine zone. He is gazing across a desert, with large sand dunes and a few dead bodies near the cliff.  He is dressed in uniform, and has a special mask to prevent him from breathing polluted air.  He looks […]Read More »
  • Interceptors

    Interceptors

    Interceptors are among the upcoming new features in development for War to the Core.  They are small, automated warships that alternate between attack and defense.  Player-controlled Motherships can fight against incoming enemy Interceptors to defend their base or fly alongside their own fleets of Interceptors to victory.  You can also exercise some tactical control over your […]Read More »
  • Profile Page

    Profile Page

    It’s not the size of the dog in the fight, it’s the size of the fight in the dog. Mark Twain Although numerical or qualitative advantage should never be underestimated, in hands of fearless few, battle ground may turn into an art and outnumbering enemy will flee in hope of mercy. If they are able […]Read More »
  • New Mothership Design – Coming to a game near you

    New Mothership Design – Coming to a game near you

    The mothership is at the heart of our struggle. When you’re out in space, fighting against an onslaught of enemies, your mothership is your single hope to survive and leave Earth alive, along with the millions that have been entrusted to you. It’s the vehicle that opens up new opportunities in distant systems. So… Keeping […]Read More »

Recent Posts