Author Topic: Server running as windows service  (Read 1795 times)

0 Members and 1 Guest are viewing this topic.

Offline BloodyIron

  • Major(1)
  • Posts: 7
Server running as windows service
« on: August 06, 2006, 03:25:00 am »
I've tried my best looking in stickies, and searching with many different options using the search features, yet I cannot find the answer to this question.

Can the soldat server run as a Windows Service?

I really hope so.

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Server running as windows service
« Reply #1 on: August 06, 2006, 03:34:20 am »
If you use srvany, you can. I don't have the information on this computer offhand, but a google search should reveal a nice download link for you. Note, that this is for experienced users; I can help with it but if you don't know hat you are doing I wouldn't recommend it as you need to modify the registry to set it up properly.

There are numerous other "run any program as a service" programs out there, that should all work.

I would recommend srvany just because it is very lightweight.

Offline BloodyIron

  • Major(1)
  • Posts: 7
Re: Server running as windows service
« Reply #2 on: August 06, 2006, 03:39:06 am »
so this program "srvany" is just a hack of sorts to get soldat to run as a service?
if thats the case, I would rather petition to get soldat to be capable of running as a service inately :/

if that is not the case... then im just confused and perhaps you should elaborate?

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Server running as windows service
« Reply #3 on: August 06, 2006, 03:42:50 am »
srvany isnt a hack, its a program that runs windows programs as services... just get it, it works fine.

Offline chrisgbk

  • Inactive Staff
  • Veteran
  • *****
  • Posts: 1739
Re: Server running as windows service
« Reply #4 on: August 06, 2006, 03:50:13 am »
srvany is a program(created by Microsoft) that lets you run any program as a service. Basically, all it does is run any program you tell it to, without a GUI/Console. Then it takes care of handling service stoppage requests, etc. I've set up a windows soldat dedicated server with it before, it runs very well. It's only 13K in size too, so it has a negligible impact on performance.

Getting the dedicated server to run as a true windows service is very unlikely to happen, due to the language of choice (delphi).

Like EnEsCe said, there is NO reason not to use srvany. srvany is also commonly used for other game servers, as rarely does a server come with service capabilities. ie: Half-Life, Unreal Tournement, etc.

Download: http://www.tacktech.com/pub/microsoft/service/srvany.zip

Quick Instructions: http://www.tacktech.com/display.cfm?ttid=197

Also, read the .WRI file that comes in the zip, as it contains more info.


Perhaps this is theperfect time to revive the automated tool I was working on to do this...? (abandonded due to using linux for servers over windows)

« Last Edit: August 06, 2006, 03:53:37 am by chrisgbk »

Offline BloodyIron

  • Major(1)
  • Posts: 7
Re: Server running as windows service
« Reply #5 on: August 06, 2006, 04:01:48 am »
How do i administer said server once it is running as a service? I have not quite messed around with the dedicated server just yet.

Offline FliesLikeABrick

  • Administrator
  • Flamebow Warrior
  • *****
  • Posts: 6144
    • Ultimate 13 Soldat
Re: Server running as windows service
« Reply #6 on: August 06, 2006, 04:36:23 am »
How do i administer said server once it is running as a service? I have not quite messed around with the dedicated server just yet.

as with any dedicated server, you perform normal administration tasks via an admin client (something like ARSSE or SARJ). 

You also can make changes to soldat.ini and other config files, but then you need to restart the server after each change