502 Posts in 413 Topics - by 872 Members - Latest Member: Aguileramarlon6
+-

Server Time (UTC)

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Stats

Members
Total Members: 872
Latest: Aguileramarlon6
New This Month: 19
New This Week: 5
New Today: 1
Stats
Total Posts: 502
Total Topics: 413
Most Online Today: 11
Most Online Ever: 151
(November 18, 2016, 09:58:30 pm)
Users Online
Members: 0
Guests: 12
Total: 12

Author Topic: FS9/FSX - FSD Server Software  (Read 213 times)

0 Members and 1 Guest are viewing this topic.

Offline Hurkulez

  • Modding Unlimited Network
  • Administrator
  • Sr. Member
  • *****
  • Posts: 408
  • Reputation: +100/-0
    • Trucking Unlimited Network
FS9/FSX - FSD Server Software
« on: April 06, 2017, 09:10:02 am »
Advertisement
FS9/FSX - FSD Server Software




http://moddingunlimited.ddns.net/index.php?action=downloads;sa=view;down=316

FS9 / FSX - FSD Server Software v 1.110
Zip Includes:
Compiled Windows Version
Unix Version
Full Source Code

Category: FSD Server for Windows
Credits

Thanks to all the people who have helped me getting this server to what it is now. I couldn’t have done it without these people:

Greg Ament
John Eisenhour
Jason Grooms
Joe Jurecka
David Kings
Mladen Kmetic
Lyndon Nerenberg

And ofcourse:

All server operators
All people who sent me bug reports
All members of the SB/PC beta mailing list
All members of the FSFAN team Dordrecht
Marty Bochane

Welcome message: motd.txt
This file is a really simple one. Create your own text to welcome your captains on the server. When you are missing some text in the welcome message, add some “—-”


METAR information: metar.txt  :: SEE *NOTE BELOW
In the file metar.txt the downloaded metar information from the NOAA server is written. When the file is smaller then 1 MB the file is rejected and no new information is saved. A regular file size is approx. 1.5 MB +

In several circumstances the NOAA server won’t let you download the metar data. You may want to ftp yourself to 205.156.51.233

You can easily check the date/time of refreshment with Windows explorer or opening the log.txt file. If there is no refreshment, change the name of the server=
You must have an IP address in hostname=

Some sample lines:

2013/06/25 08:45
K5SM 250845Z AUTO 00000KT 7SM CLR 10/M05 A3028 RMK AO2 TSNO

2013/06/25 08:45
K5SM 250845Z AUTO 00000KT 7SM CLR 10/M05 A3028 RMK AO2 TSNO

2013/06/25 09:35
KBBF 250935Z AUTO 20019KT 10SM FEW017 SCT022 BKN040 29/25 A2998 RMK A01

2013/06/25 09:35
KEMK 250935Z AUTO 16016KT 9SM CLR 28/24 A3003 RMK A01

2013/06/25 09:35
KBBF 250935Z AUTO 20019KT 10SM FEW017 SCT022 BKN040 29/25 A2998 RMK A01


Logging the server activities: log.txt
In the file log.txt the activities of the FSD server are logged. See the sample below. You can deleted an existing log file. It will be replaced automatically when the server is started.

12-01-2013 09:56:32 : Booting server
12-01-2013 09:56:32 FSD01: Reading certificates from ‘cert.txt’
12-01-2013 09:56:32 FSD01: Booting port 6809 (client interface)
12-01-2013 09:56:32 FSD01: Booting port 3011 (server interface)
12-01-2013 09:56:32 FSD01: Booting port 3010 (system management interface)
12-01-2013 09:56:33 FSD01: ** Connection to 111.111.111.111 port 3011 failed!
12-01-2013 09:56:33 FSD01: We are up
12-01-2013 09:56:34 FSD01: Reading certificates from ‘cert.txt’
12-01-2013 09:56:35 FSD01: METAR: Starting download of METAR data
12-01-2013 09:56:42 FSD01: METAR: Installed new METAR data.
12-01-2013 10:10:01 FSD01: METAR: Starting download of METAR data
12-01-2013 10:10:07 FSD01: METAR: Installed new METAR data.

FSD configuration file: fsd.conf
################################################################
# Sample configuration file for FSD
# Attention : WINDOWS-format : required CR in this file!
# Use Notepad++ or Notepad for changes.
################################################################

# The [system group] holds information about your server.
# The ports where clients and servers will connect to are:
# [system]
# clientport=6809
# serverport=3011
# The port where the system management services will be located
# systemport=3010

# ident=FSD01
# The ident of your server. This ident has to be unique. It is used to
# identify your server in the global network. It should not contain spaces.
# Please use a small ident code, it will be sent in every packet

# email=yourname@yourhost.com
# The email address that can be used to mail the maintainer of this server.

# name=FSD Windows server
# The name(description) of your server. It may contain spaces.

# hostname=localhost
# The hostname that can be used to reach this server.

# password=disable
# The password you need to specify before you can execute privileged
# commands on the system port.

# location=City Country
# The (physical) location of the server in the world, and the internet.
# Example: ‘Amsterdam, The netherlands’

# mode=normal
# The mode of the server; can be ‘normal’ or ‘silent’. Use ‘normal’
# for normal operation.

# certificates=cert.txt
# The file to read certificates from.

# maxclients=100
# The maximum amount of clients this server will allow.

# whazzup=whazzup.txt
# The file to put WhazzUp data in.

################################################################
# The [connections] group holds information about the (server) connections that the
# server will establish and accept.
#
# connectto=
# Contains the hostname and port numbers of the servers to connect to.
# Multiple servers can be used here. For example:
# connectto=server.flightsim.com:4006
# allowfrom=
# Contains the IP addresses from which servers can connect to this server.
# Multiple IP addresses can be used, separated by commas. For example:
# allowfrom=server.flightsim.com,atc.aol.com

################################################################
# The [hosts] group contains a list of hosts that are trusted for some activity.
# There are 2 entries:
# certificates= contains a list of server ID’s that are allowed to change
# weather=  contains a list of server ID’s that are allowed to change weather profiles

################################################################
# This group [weather] controls the weather system.
# The ‘source’ variable determines the source of the METAR data.
# For normal operation, set this to ‘network’.
# There are 3 possible values here:
# ‘file’ : Read the METAR data from the file ‘metar.txt’
# and allow weather requests from other servers.
# ‘download’ : Like ‘file’, but refresh metar.txt every hour by downloading
# the latest weather observations from metlab. The server has
# to be connected to the internet for this to work.
# ‘network’ : Relay weather requests to the closest METAR capable server.
#
# ‘server’,’dir’ and ‘ftpmode’ are only used when the METAR source is ‘download’. These
# fields determine the host name and the directory from where metar data is
# read. FSD uses the FTP protocol to get the data. ftpmode can have the value ‘active’
# ‘passive’ that are Active and Passive FTP protocol mode, default is ‘passive’.
# If you use FSD on a computer having a private IP, only use passive mode.

Example:
[system]
clientport=6809
serverport=3011
systemport=3010
ident=FSD01
email=yourname@yourhost.com
name=FSD Windows server
hostname=localhost
password=disable
location=City Country
mode=normal
certificates=cert.txt
maxclients=200
whazzup=c:whazzup.txt

[connections]
#connectto=
#allowfrom=

[hosts]
#certificates=
weather=http://weather.noaa.gov/cgi-bin/mgetmetar.pl

[weather]
source=download
server=tgftp.nws.noaa.gov
dir=data/observations/metar/cycles/
ftpmode=passive


FSD Users and Passwords:
This is the basic contents of the file cert.txt
This is the file where the certificates are read from. Create here your own user table.

; ID Password Rating
; 0 Account disabled
; 1 Observer
; 2 Student1
; 3 Student2
; 4 Student3
; 5 Controller1
; 6 Controller2
; 7 Controller3
; 8 Instructor1
; 9 Instructor2
; 10 Instructor3
; 11 Supervisor
; 12 Administrator
;
; <vid> <pwd> <adminrank>
; adminrank : from 0 to 12 (0 account disabled)
;
;111111 password 12
;222222 password 12
;333333 password 12
;444444 password 12
;555555 password 12
;666666 password 12
;888888 password 12
;999999 password 12

#####################################################
# Make your own user table as in the sample below.
# Don’t use the “;” .
# Keep it simple: 6 digits username [space] 6 digits password [space] rank
#####################################################

klm149 123456 12
klm188 234567 10
 

FSD for Unix and Windows
————————
This distrib is made to make a single source for FSD on Unix and Windows

to compile fsd for unix :
move to fsd subfolder : cd fsd
make the project : make
the fsd will be generated in unix directory
clean the project : make clean

to compile fsd for windows :
launch Visual Studio 6 (or above) with fsd/fsd.dsw
the fsd Release will be generated in windows directory
clean the project removing generated Debug or Release folder

For Windows :
There is scripts to run interactivly FSD, install and run FSD as a service, uninstall the service

For Unix :
Look fsd.sh to install fsd as autostart at server boot
Launch ./fsd_d.sh to launch fsd as daemon process
Launch killfsd.sh to kill the daemon

*NOTE To get weather to work I:
Have a FTP software to do an hourly download of the meter data to a "cycles" folder
Then I have FSD get meter data from a local FTP server "cycles" folder
Code: [Select]
[weather]
source=download
server=localhost
dir=cycles
ftpmode=passive

FSD Server Requires FSCopilot and FSInn to connect(Install FSCopilot First)
« Last Edit: April 20, 2017, 05:39:13 pm by Hurkulez »

 

+-Recent Topics

ATS Default Trucks For ETS2 Mod Studio by Hurkulez
December 31, 2017, 07:37:46 am

ETS2 OutLaw Peterbilt Custom 379 v2.8 by Hurkulez
December 29, 2017, 11:39:52 pm

Jan 2018 - Mod of the Month - ATS OutLaw Peterbilt Custom 379 v2.8 by Hurkulez
December 29, 2017, 05:54:12 pm

ATS OutLaw Peterbilt Custom 379 v2.8 by Hurkulez
December 29, 2017, 04:18:46 pm

ATS Golden Phoenix Skin for Viper2 and Outlaw Custom Peterbilt 379 v2.8 by Hurkulez
December 27, 2017, 11:25:01 am

Post your Farm Multiplayer Events by Hurkulez
December 21, 2017, 11:44:35 am

OutLawPeterbiltCustom379V2.8.scs Coming X-Mas Day by Hurkulez
November 28, 2017, 06:41:34 pm

ATS UPack SCS Short Box by Hurkulez
October 16, 2017, 12:55:43 pm

ATS Lockheed Martin SCS Long Box by Hurkulez
October 15, 2017, 11:33:07 pm

ATS Oshkosh SCS Long Box by Hurkulez
October 15, 2017, 06:20:17 pm

Powered by EzPortal