multiplayer
vbox
false
if ((getprop("/sim/multiplay/selected-server") == nil) or
(getprop("/sim/multiplay/selected-server") == "" ) ){
var tx = getprop("/sim/multiplay/txhost");
var dlg = cmdarg();
var servers = cmdarg().getChildren("group")[1].getChildren("combo")[0].getChildren("value");
foreach (var s; servers) {
var server = s.getValue();
var host = split(" ", server)[0];
if (host == tx) {
setprop("/sim/multiplay/selected-server", server);
}
}
}
hbox
1
1
table
center
0
0
right
0
1
2
left
hide-replay
/sim/multiplay/freeze-on-replay
dialog-apply
hide-replay
1
1
2
left
ai-traffic
/sim/traffic-manager/enabled
dialog-apply
ai-traffic
2
0
right
2
1
left
/sim/multiplay/callsign
/sim/multiplay/online
3
0
right
host
left
3
1
2
350
/sim/multiplay/selected-server
false
mpserver01.flightgear.org (Frankfurt, Germany)
mpserver02.flightgear.org (Kansas, USA)
mpserver03.flightgear.org (Germany)
mpserver04.flightgear.org (United Kingdom)
mpserver05.flightgear.org (Chicago, USA)
mpserver07.flightgear.org (Wisconsin, USA)
mpserver08.flightgear.org (Frankfurt am Main, Germany)
mpserver09.flightgear.org (Koln, Germany)
mpserver10.flightgear.org (Montpellier, France)
mpserver11.flightgear.org (Vilnius, Lithuania)
mpserver12.flightgear.org (Amsterdam, Netherlands)
mpserver13.flightgear.org (Grenoble, France)
/sim/multiplay/online
5
1
left
/sim/multiplay/online
5
1
left
Connected to %s
/sim/multiplay/txhost
true
hbox
10
true
true