*Subject:* [Flightgear-devel] pilot list...
While attempting to hunt down a chat message problem , (no messages
displayed from certain players),
I found that the pilot list is always 1 player short , and the model view
skips that player.
They all appear in ai/models , but num-players is always show
On Thu, 17 Sep 2009, Nicolas Quijano wrote:
Still a problem, with or without the MP ignore chat. (tested under both
conditions)
We intermittently now get chat messages from people thousands of kilometres
away and duplicated messages with the callsign changed : for example,
some_nic says :
After Torsten's change to multiplayer.nas , Im seeing similar errors ...
just haven't had a chance to get back too looking at it...
--
Come build with us! The BlackBerryreg; Developer Conference in SF, CA
is the only
After Torsten's change to multiplayer.nas , Im seeing similar errors ...
just haven't had a chance to get back too looking at it...
After looking at the code again, I can't see a link between the two issues.
But I also don't feel to much at home in the AI code, so I probably (likely)
Torsten Dreyer wrote:
Looks like this is a chicken-egg problem:
The chicken:
The model class in multiplayer.nas listens on the
property /ai/models/model-added and checks for all models the
property valid to be true.
The egg:
When AIManager attaches a model, it first loads the model
Last test shows correct amount of players , pilot list good , model view
good , but now apparently when someone leaves and valid becomes false , they
remain on the pilot list / model view for a short time , though no 3d model
is visible in the model view.
But I need sleep , have to look at it
As I mentioned before , I've been looking for the missing player in the
pilot list and model view.
If I comment out the 2 lines below foreach , in multiplayer.nas at line
374 ...
foreach (var n; props.globals.getNode(ai/models,
1).getChildren(multiplayer)) {
#if
On 09/05/09 13:22, Torsten Dreyer wrote:
Looks like this is a chicken-egg problem:
The chicken:
The model class in multiplayer.nas listens on the
property /ai/models/model-added and checks for all models the
property valid to be true.
The egg:
When AIManager attaches a model, it
Thanks for looking into it.Torsten , just got home from a soggy camping trip
, so I can
dry out and test your changes :)
cheers
On Sat, Sep 5, 2009 at 1:22 PM, Torsten Dreyer tors...@t3r.de wrote:
As I mentioned before , I've been looking for the missing player in the
pilot list and model
After the first test I'm getting ...
Nasal runtime error: nil used in numeric context
at /home/syd/FGFS/data/Nasal/multiplayer.nas, line 275
which of coarse causes the pilot list to not appear. Will
continue testing .
Changing line 275 in multiplayer.nas to
distance-to-km: distance / 1000.0 or 0,
appears to get things running again.
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your
As I mentioned before , I've been looking for the missing player in the
pilot list and model view.
If I comment out the 2 lines below foreach , in multiplayer.nas at line
374 ...
foreach (var n; props.globals.getNode(ai/models,
1).getChildren(multiplayer)) {
#if
of Transportation
also known as rm...@umd.edu
From: syd adams adams@gmail.com
To: flightgear-dev flightgear-devel@lists.sourceforge.net
Sent: Sunday, August 30, 2009 1:24:13 AM
Subject: [Flightgear-devel] pilot list...
While attempting to hunt down a chat message
While attempting to hunt down a chat message problem , (no messages
displayed from certain players),
I found that the pilot list is always 1 player short , and the model view
skips that player.
They all appear in ai/models , but num-players is always show 1 less player.
I've been sifting through
14 matches
Mail list logo