Board index FlightGear Support Multiplayer

FGMS 1 client restriction issue. SOLVED  Topic is solved

Trouble getting online, setting up a server?
Forum rules
In order to help you, we need to know a lot of information. Make sure to include answers to at least the following questions in your initial post.

- what OS (Windows Xp/Vista, Mac etc.) are you running?
- what FlightGear version do you use?
- copy&paste your commandline.

Please, also see Requesting Technical Help.

Note: If you did not get a reponse, even after 7 days, you may want to check out the FlightGear mailing lists to ask your question there.

FGMS 1 client restriction issue. SOLVED

Postby kiwi88 » Sat Aug 27, 2011 2:16 am

Hi all, having just installed FGMS on a Ubunu 10.04LTS box my plans are to connect other local machines to it, for a closed multi-player server (demo for an open source day)

The issue i'm having is the first client that connects behaves fine. But any other machine that connects just doesn't want to know about the server. No connection errors, in terminal it looks like FGFS was launched without the multiplayer option.

Running the FGFS without my custom config file (See below) there was a message showing up when ther firs client connects saying connected clients = 1, max clients = 1

My custom config file doesn't want to show this message, nor log correctly.
--Config file ---
# Configuration file for fgms

# Copy this file to "fgms.conf" and edit

# its content!

#

# keep entries in this file ordered!

#



##################################################

# name of the server, used in chat messages sent by the server

server.name = SFD FGMS



##################################################

# only listen on this address

server.address = 192.168.1.1



##################################################

# listening port

server.port = 5000



##################################################

# port for telnet, default port+1

# set to 0 (zero) to disable telnet

# note however, for public servers this should be 5001

server.telnet_port = 5001


##################################################

# time to keep client information in list

# without updates in seconds

server.playerexpires = 10



##################################################

# write logs to this file

server.logfile = fgms.log



##################################################

# Tracking server

# set "server.tracked" = true to use it

# only set this to true if the tracking server

# admin allows it!

server.tracked = false

server.tracking_server = 62.112.194.20

server.tracking_port = 8000

# how many tracking forks we want

server.tracking_maxchilds = 3



##################################################

# if set to true, fg_server will run in the

# background

server.daemon = false



##################################################

# if set to true, fgms will act as a HUB server

server.is_hub = false



##################################################

# only forward data to clients which are really

# nearby the sender. distance in nautical miles

server.out_of_reach = 10000



##################################################

# List of relay servers

# Here you configure to which servers you want your server

# to send data of local clients to. Remember that those

# servers should be configured so that those will sent their

# client data to your server, too!

# If running in a local network, you don't need to use relays

#



# Oliver Schroeder, Berlin, Germany

# relay.host = mpserver01.flightgear.org

# relay.port = 5000



##################################################

# list of crossfeed servers

# these servers will received all locally

# received packets without any condition

# i.e. all packets are mirrored to them

# crossfeed.host = localhost

# crossfeed.port = 5002



##################################################

# List of blacklisted client IPs

# set these to block specific client IPs

# blacklist = 123.123.123.123

# blacklist = 12.12.12.12



-- Start FGMS Commands ---
administrator@FGMScd fgms/fgms-0-x/src/server/xml

administrator@FGMS:~/fgms/fgms-0-x/src/server$ ./fgms -c ~/fgms/fgms-0-x/src/server/fgms-conf.xml

processing /home/administrator/fgms/fgms-0-x/src/server/fgms-conf.xml

# This is SFD FGMS

# FlightGear Multiplayer Server v0.10.8 started

# using protocol version v1.1 (LazyRelay enabled)

# listening on 192.168.1.1

# listening to port 5000

# telnet port 5001

# using logfile fgms.log

# I have 0 relays

# I have 0 crossfeeds

# I have 0 blacklisted Ips



---------------------------------------------------------------------
And that's it.

Please help.
Hopefully helpful notes
----
All systems run 10.04
It does not matter which client runs first, second client won't connect.
FGMS version 0.10.8
Client FGFS version 1.9.1-1

***Update.*** 30.8.11
Have replicateed server to a non local environment, still will not connect to more than one client. Yet terminal reads

administrator@FGMS:~/fgms-0-x/src/server$ 30.08.2011 11:34:50 New LOCAL Client: callsig 116.251.188.152:38330 (Aircraft/c172p/Models/c172p.xml) current clients: 1 max: 1

Please advise.

*** UPDATE *** 14.9.11

Event is this weekend. Please help!
Last edited by kiwi88 on Sat Sep 17, 2011 9:19 am, edited 4 times in total.
kiwi88
 
Posts: 6
Joined: Sat Mar 05, 2011 10:21 am

Re: FGMS 1 client restriction issue.

Postby kiwi88 » Sat Aug 27, 2011 2:41 am

UPDATE.
Got it logging (permissions issue)
This is a scenario when I started the server then connected with two clients. (Second client not even thought about)
Worth noting this runs with standard config, not my custom seen above

27.08.2011 14:34:39 # This is * Server *
27.08.2011 14:34:39 # FlightGear Multiplayer Server v0.10.8 started
27.08.2011 14:34:39 # using protocol version v1.1 (LazyRelay enabled)
27.08.2011 14:34:39 # listening on
27.08.2011 14:34:39 # listening to port 5000
27.08.2011 14:34:39 # telnet port 5001
27.08.2011 14:34:39 # using logfile /home/administrator/fgms/fgms-0-x/src/server/log.txt
27.08.2011 14:34:39 # I have 0 relays
27.08.2011 14:34:39 # I have 0 crossfeeds
27.08.2011 14:34:39 # I have 0 blacklisted IPs
27.08.2011 14:34:39 Main server started!
27.08.2011 14:34:39 # My PID is 1372
27.08.2011 14:35:22 New LOCAL Client: callsig 192.168.1.3:5000 (Aircraft/c172p/Models/c172p.xml) current clients: 1 max: 1
27.08.2011 14:37:49 TTL exeeded, dropping pilot callsig@LOCAL after 147 seconds. Usage #packets in: 1260 forwarded: 0 out: 0. Current clients: 0 max: 1


Thanks all,
kiwi88
 
Posts: 6
Joined: Sat Mar 05, 2011 10:21 am

Re: FGMS 1 client restriction issue. SOLVED  

Postby kiwi88 » Sat Sep 17, 2011 9:31 am

***FACEPALM***

Hi all, reading FGMS material I tried fiddling with the server 'types'

Looks like it must be enabled as a HUB, and all clients are connecting great!

Hope this is use to other people with this issue, now Software Freedom Day (Tauranga 2011) will be a success!

Kiwi 88, over and out
kiwi88
 
Posts: 6
Joined: Sat Mar 05, 2011 10:21 am

Re: FGMS 1 client restriction issue.

Postby Gijs » Sun Sep 18, 2011 1:57 pm

Glad you solved it! Do note that we have a slightly different method for marking topics as solved -> viewtopic.php?f=8&t=10805
Airports: EHAM, EHLE, KSFO
Aircraft: 747-400
User avatar
Gijs
Moderator
 
Posts: 9390
Joined: Tue Jul 03, 2007 2:55 pm
Location: Amsterdam/Delft, the Netherlands
Callsign: PH-GYS
Version: Git
OS: Windows 10


Return to Multiplayer

Who is online

Users browsing this forum: No registered users and 1 guest