Topic: SFC3 dedicated server command line options etc?  (Read 1424 times)

0 Members and 1 Guest are viewing this topic.

Offline Killing

  • Lt. Junior Grade
  • *
  • Posts: 5
  • Gender: Male
    • Multiplay
SFC3 dedicated server command line options etc?
« on: April 03, 2005, 10:15:34 am »
We've been asked to to look at the dedicated server for SFC3 by a client so far Im unable to find the following things:
1. Where to change the port allocations.
2. How to start the server from the command line ( i.e. requiring zero interaction )
e.g. -profile server1 -start

Also noted:
1. The results of qstating the server give some odd results for the map.
This should always be the current ( single ) map is seems to provide multiple maps which shouldnt really be done. Additional maps the the "rotation" should be provided in server rules and not in the server map. N.B. I'm one of the qstat maintainers :D
Similarly gametype really shouldnt be used for a description.
Multiplay Clanservers
http://www.multiplay.co.uk

Offline Killing

  • Lt. Junior Grade
  • *
  • Posts: 5
  • Gender: Male
    • Multiplay
Re: SFC3 dedicated server command line options etc?
« Reply #1 on: April 05, 2005, 08:06:34 am »
No one got any info on this? Seems like some pretty major issues if these features dont exist basically means its not a dedicated server if interaction is required to start it :(
Multiplay Clanservers
http://www.multiplay.co.uk

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: SFC3 dedicated server command line options etc?
« Reply #2 on: April 05, 2005, 03:23:48 pm »
Try:

ServerPlatform.exe "_CentralSwitchPlusAllServers"

or any other ServerProfiles folder you have setup besides the default.

In this way the kit can be launched unattended.

How to detect when it has crashed though...? (The ProcessSentinel for this purpose was not carried over from OP...)

Could simply kill the process and start the server on a scheduled script however... but that might not work with SFC3:
Quote
2.5 Stopping the server
If you want to stop the server later, hit any key to bring up the menu and select option 1 Shutdown.
If you stop the server without performing this step, the server will not save the current database, and
the next time you choose to run the server it will load the last Exit Save, which could be hours days
or even weeks old depending on how long your server has been up. The server only does an "exit
save" when you shut it down properly with option 1.


OP has an autosave feature that saves the db every turn, I cannot imagine that SFC3 does not, but if what Korah says is true then you can't just kill the process to achieve scheduled reboots... but may have to write an app to send keystrokes to the server console or some other solution to shut down the server safely.

There is a service manager out there that will run one app as a service on the demo... http://www.firedaemon.com/  ... might be helpful for this...

Offline Killing

  • Lt. Junior Grade
  • *
  • Posts: 5
  • Gender: Male
    • Multiplay
Re: SFC3 dedicated server command line options etc?
« Reply #3 on: April 06, 2005, 06:18:25 am »
Thanks for the info but that doesnt seem to work. The server process starts but doesnt seem to finish loading. No tcp / udp ports are opened and the screen just has:
Server Version: 1.01 Build: 534
on it, nothing else. Any other ideas?

N.B. we have advanced crash detection software already so thats not an issue :)
Multiplay Clanservers
http://www.multiplay.co.uk

Offline Killing

  • Lt. Junior Grade
  • *
  • Posts: 5
  • Gender: Male
    • Multiplay
Re: SFC3 dedicated server command line options etc?
« Reply #4 on: April 06, 2005, 06:25:28 am »
Ignore that seems something has really upset itself. Even a manual start wasnt working, had to reinstall to get it working again :(
« Last Edit: April 08, 2005, 08:38:32 pm by Killing »
Multiplay Clanservers
http://www.multiplay.co.uk

Offline GarrethMacLeod

  • Lt. Junior Grade
  • *
  • Posts: 126
    • Alternate B Website
Re: SFC3 dedicated server command line options etc?
« Reply #5 on: April 08, 2005, 07:05:27 pm »
There's an autosave feature in the SFC3 server kit. I'd have to look again at just how it works. Seems one of the patches fixed an issue with the autosave and reboots after crashes.
Alternate B Chief Map Drone and General Whipping Boy
http://www.AlternateB.org