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
left
/sim/multiplay/callsign
/sim/multiplay/online
0
2
left
1
0
right
host
1
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
3
1
left
/sim/multiplay/online
3
1
left
Connected to %s
/sim/multiplay/txhost
true
hbox
10
true
true