Server Agent Bootstrapper in Repository:

what is the Server Agent Bootstrapper

To simplify our deployment, Instead of pushing to cloud services, we made an always running agent (as a windows service that auto starts up).

Security of Bootstrapper

To can make the requests by the Bootstrapper to the API to handle its function, this service should be secured that happened by using Public Key and Private Key authentication, by going to

post action of SecurityApi  by user Id will generate in the swagger response
the two Keys paste them in the “BallisticServerAgent” project App.config file.

It’s Functionality

The agent when installed will generate a fixed GUID and call a server API to register itself as a valid server while sending its IP.

It will then poll an API frequently to check if there is a newer version of the server available for it to get. If it finds one, it will:
1. Terminate the running server.
2. Move the logs files into a folder with a time stamp (as old logs). This step has to happen after the server is successfully terminated, otherwise, it will not be able to move the files.
3. Delete old server bits.
4. Download the new server bits.
5. Download the license file, if available.
6. Start the new photon server bits.
7. Kick off the Ballistic server.

How to Install it (Manually):

1- Run Developer Command Prompt for VS (as administrator)
2- Redirect the path to the location of the service directory (BallisticServerAgent.exe)
3- Run this command  installutil BallisticServerAgent.exe then click enter  Note: there is space after “installutil.” If running in a normal command prompt the installutil executable will be in a location like C:\Windows\Microsoft.NET\Framework\v4.0.30319.

4- Go to services in your PC then search for “Ballistic server agent service” then right click choose to start.

5- After moments you will see the Photon folder in path C:/Photon  and if you look at the task manager you will find the Photon running and also our service (if all things passed correctly).

How to uninstall it (Manually):

The same steps 1,2 and 3 in the “How to Install it” but replace the command by this command

installutil /u  BallisticServerAgent.exe

Install/Uninstall Automatically:

From the installation folder, you will find a file called   InstallBootsrapper.ps1   run it as administrator by power shell.

Logs Of  Server Agent:

You will find the log of server agent bootstrapper under the install location.



Views 290
War to the Core

Recent Comments

Latest Updates

  • Solo missions

    Solo missions

    Hey guys, here are the specifics of the first two solo missions, those are sketches of the first two missions. First mission: A harvester is placed near the ship, generating supply caches. The player collects energy caches and escapes a ring of mines. No supply links allowed. The sensor component is introduced by one of […]Read More »
  • 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 »
  • Full Campaign Series, Version 3

    Full Campaign Series, Version 3

    Characters: Daniel Blaze. Protagonist, player-character. Headstrong and rebellious. Ambiguous loyalty to the Shepherd Coalition. Joseph Blaze. Father of Daniel Blaze. Commander of the Leviathan mothership until executed for treason by the Shepherd Coalition. Sylvia. AI assistant. Provides intel, advice, mission objectives. Captain Zhukov. Cyborg commander assigned to hunt down player during the first several missions. […]Read More »
  • Story: Episode 1, Version 2

    Story: Episode 1, Version 2

    The Blaze family had long been controversial. They supported the Shepherds, but continually frustrated the Orthodox elements of their faction. Joseph Blaze was especially known for his tolerance of the weakling families that used genetic engineering to alleviate the sicknesses that exposure to the Earth’s surface had inflicted on them. Such tensions between orthodoxy and […]Read More »
  • Story: Episode 1

    Story: Episode 1

    Location: The Pole Base. When Daniel Blaze passed his final test and became the primary candidate to pilot the Leviathan, the Shepherds’ newest ship, he caused a quite a stir. Not because he’s the youngest member of the Pole fleet to be nominated for admiralship, the faction had already made peace with this as a […]Read More »
Skip to toolbar