Board index FlightGear Support Multiplayer

MP carrier not visible - nasal error

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.

MP carrier not visible - nasal error

Postby ot-666 » Fri Jul 09, 2010 1:18 pm

If I try to select a MP carrier FGFS always run into a nasal error. :cry:
(FGFS GIT)

Nasal runtime error: nil used in numeric context.
In the file… MPCarriers.nas at line 177

Anyone know how to fix this?

Best regards, Oliver
Callsign: ot-666
Working on LOWI and other stuff - Custom Scenery Overlay Repo: http://gitorious.org/fgfs-custom-scenery/custom-scenery-overlay/
VMX22 - Osprey... sometimes in 2014
ot-666
 
Posts: 746
Joined: Sun Nov 08, 2009 5:14 pm
Location: Germany, Konstanz
Callsign: ot-666
IRC name: ot666
Version: GIT
OS: win7 64bit

Re: MP carrier not visible - nasal error

Postby AndersG » Fri Jul 09, 2010 8:12 pm

ot-666 wrote:If I try to select a MP carrier FGFS always run into a nasal error. :cry:
(FGFS GIT)

Nasal runtime error: nil used in numeric context.
In the file… MPCarriers.nas at line 177

Anyone know how to fix this?


Does it work with MP Vinson?
Due to a bug the other carriers doesn't send all information required by the clients.
To fix the other carriers edit the <multiplayer> section of Aircraft/MPCarrier/common.xml to look like this:
Code: Select all
  <multiplay>
   <generic>
    <string n="0" type="string"></string><!-- MP events -->
    <float n="0" alias="controls/tgt-heading-degs"/>
    <float n="1" alias="controls/tgt-speed-kts"/>
    <float n="2" alias="controls/turn-radius-ft"/>
   </generic>
  </multiplay>

Git users can fetch and merge the branch MPCarrier-public in my clone of fgdata at gitorious or cherry-pick this commit from there:
http://gitorious.org/~andersg/fg/anders-fgdata/commit/b6612e569445c351758df890a28da2f4aa8bfdba
It will hopefully be in the main fgdata repository soon.

Note: The current client side code also cannot handle the MP carriers from 1.9.1.

Cheers,

Anders
Callsign: SE-AG
Aircraft (uhm...): Submarine Scout, Zeppelin NT, ZF Navy free balloon, Nordstern, Hindenburg, Short Empire flying-boat, ZNP-K, North Sea class, MTB T21 class, U.S.S. Monitor, MFI-9B, Type UB I submarine, Gokstad ship, Renault FT.
AndersG
 
Posts: 2463
Joined: Wed Nov 29, 2006 9:20 am
Location: Göteborg, Sweden
Callsign: SE-AG
OS: Debian GNU Linux

Re: MP carrier not visible - nasal error

Postby ot-666 » Fri Jul 09, 2010 10:23 pm

There has been just nimitz carriers to test with.
Thanks for the solution. :D

Would be nice if the nimitz scenario would place the carrier for everyone in the same location too.
Could this be done?

Oliver
Callsign: ot-666
Working on LOWI and other stuff - Custom Scenery Overlay Repo: http://gitorious.org/fgfs-custom-scenery/custom-scenery-overlay/
VMX22 - Osprey... sometimes in 2014
ot-666
 
Posts: 746
Joined: Sun Nov 08, 2009 5:14 pm
Location: Germany, Konstanz
Callsign: ot-666
IRC name: ot666
Version: GIT
OS: win7 64bit


Return to Multiplayer

Who is online

Users browsing this forum: No registered users and 1 guest