( search forums )
Creating A Dedicated Server as a Windows Service
Soldat Forums - Server Talk - Server Help
DeathDave
February 13, 2005, 5:03 am
Is it possible to run the Soldat Dedicated Server as a Windows Service?

process...

Unlucky 13
February 13, 2005, 5:47 am
You mean as a Task Manager Process?
It should be, consider trying this...

Go into your Windows Control PanelDouble-click Scheduled TasksGo into the Add Scheduled Task wizardMake a task for both Soldat Server and Soldat Admin, then set them to a meaningful time

If you want to have it run the in-built Soldat Server, make a batch file with the following coding...
@C:\Soldat\Soldat.exe -dedicated

C:\Soldat is the Path you installed it to.

If that isn't what you meant, I don't know...

Aegis
February 13, 2005, 6:18 am
You could try adding it to the registry.
Its fairly easy. Heres what you have to do.
1.Open Regedit ( Use Start Menu->Run if oyu can)
2.Navigate to HKEY_Local_Machine/Software/Microsoft/Windows/CurrentVersion in regedit
3.Find the key called RunServices. From here, add a string value called "Soldat Service" or some such, and for the actual value itself you want something like "C:\soldat\soldat.exe -dedicated -autostart".

That should make it run every time you start up your computer. This doesnt mean it will run invisibly, unless you minimize it to the taskbar.

Unlucky 13
February 13, 2005, 8:51 am
Oh, you mean startup?

Why don't you do as Aeqis said, yet rather make [code]C:\soldat\soldat.exe -dedicated -autostart
@exit[/code] the contents a batch file, make a shortcut and put it in the StartUp in the Start Bar thing, umm... the Programs dialog. That way you dont have to play around with the registry, and if you stuff up, you don't have to worry.

DeathDave
February 14, 2005, 12:10 am
is the dedicated server download any different? you're saying to apply the -dedicated and -autostart parameters, but that's to "soldat.exe" as the dedicated server has a filename of "soldatserver.exe".. are the parameters any different? like, maybe i wouldn't need those?

Unlucky 13
February 14, 2005, 3:58 am
NNo need for the parameters for the D/L dedicated server. Yet, you only need to shortcut it to StartUp if you want it to run at startup. Or use the registry.

DeathDave
February 14, 2005, 5:20 am
Anyway, how everyone said to do it, it worked, Maybe you should sticky this because only the linux one is stickyd.