StellarForum
May 22, 2012, 04:22:29 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Stellar Frontier has moved to the new forum and site at stellarfrontier.com!
Please make a new account there in preparation for SF 2.0 and to chat on the boards!
 
   Home   Help Search Groups Login Register  
Pages: [1]
  Send this topic  |  Print  
Author Topic: server target  (Read 656 times)
Burton1
Registered Member
*
Posts: 10


« on: December 08, 2008, 09:37:46 AM »

Hey how do I get my servers to run of nexus.stellarfrontier.net? I fixed this once before like 2 years ago, but I deleted SF. Don't I make a folder called server.exe and put -altnexus nexus.stellarfrontier.net or something like that?

Reason for Edit: The game's nexus is located at nexus.stellarfrontier.net.
« Last Edit: December 08, 2008, 12:34:51 PM by DarkSun » Report to moderator   Logged
Sandtrooper
Vice CinC of TRIBE
Administrator
Expert Member
*****
Posts: 504



WWW Email
« Reply #1 on: December 08, 2008, 11:30:28 AM »

The file "server.conf" contains most if not all toggle switches for the server. (make a new text file and rename it "server.conf" (conf being the extension).)

Code:
#
# server.conf
#
# configuration file for Stellar Frontier Server (server.exe)
#
# Use this file to server command parameters.
#
# This file is parsed when the server.exe file is executed.  It will be
# overridden by any command line parameters (listed below):
#
# -logscreen            : Log output to console only
# -logfile              : Log output to file only
# -logall               : Log output to both file and console
# -lognone              : Log output to nowhere
# -autostart [STRING]   : Automatically start scenario file [STRING]
# -framerate [NUMBER]   : Set frame rate to [NUMBER] Hz (frames/sec).
# -updaterate [NUMBER]  : Clients to send updates every [NUMBER] frames.
# -aiupdaterate [NUMBER]: Server to send AI updates every [NUMBER] frames.
# -startintray          : Start the server minimized to the tray.
# -port [NUMBER]        : Use port [NUMBER] for incoming connections
# -nexus [STRING]       : Use [STRING] as the nexus
# -altnexus [STRING]    : Use [STRING] as the alternate(backup) nexus
# -timeoutsec [NUMBER]  : Time out connections after this number of seconds
# -maxlag [NUMBER]      : Maximum lag in msec to tolerate before booting
# -minF9period [NUMBER] : Min period of full gamestate downloads in seconds
# -maxF9 [NUMBER]       : Maximum number of full gamestate downloads
#                         0 = infinite (default)
#                         1 = Only once at login (F9 won't work)
#
# Examples:
#
# c:\>server.exe -logfile -autostart Sirius.dat sf.stardock.net
# c:\>server.exe -logfile -autostart Sirius.dat -framerate 16 sf.stardock.net
# c:\>server.exe -logscreen -autostart Sirius.dat -port 20002 sf.stardock.net
#
#
#        _____                                      _          _
#       | ____| __  __   __ _   _ __ ___    _ __   | |   ___  | |
#       |  _|   \ \/ /  / _` | | '_ ` _ \  | '_ \  | |  / _ \ | |
#       | |___   >  <  | (_| | | | | | | | | |_) | | | |  __/ |_|
#       |_____| /_/\_\  \__,_| |_| |_| |_| | .__/  |_|  \___| (_)
#                                          |_|
#
# This is an example! You will need to modify it for your specific needs!
#
#
# The rules here work on a "Last match wins" basis.
#



You just gotta copy the commands to make real ones. Remove the # (comments) to make the commands work.
You will need to copy all of this into a notepad file and rename it to this:

Server.conf


Place the file to where the server EXEs are.

If you want to keep it very simple, such as beginners hosting for the first time, you would want to have it setup like this:

Code:
-nexus nexus.stellarfrontier.net
-altnexus nexus.stellarfrontier.net
-port [NUMBER]       *Insert your port number*
Report to moderator   Logged



Fleet Admiral Sandtrooper
2nd in Command of TRIBE

TRIBE-SD)    オークエボリューション
(Oak Evolution)
Burton1
Registered Member
*
Posts: 10


« Reply #2 on: December 08, 2008, 01:48:38 PM »

Yep thats what I was looking for, thanks man!
Report to moderator   Logged
Pages: [1]
  Send this topic  |  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.12 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!