[Flightgear-devel] Re: Multiplayer crashes with unknown aircrafts, any solution?

2005-07-15 Thread Melchior FRANZ
* Roberto Inzerillo -- Friday 15 July 2005 11:04:
 But FGFS crashes every time a new user joins the server with an aircraft 
 which is not in my dir tree. The problem is common to many people who 
 used this multiplayer mode.
 Is there any chance we can get a new binary with a workaround?

The binary workaround can be downloaded here:
http://www.flightgear.org/Downloads/aircraft/

m.  :-}

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Multiplayer crashes with unknown aircrafts, any solution?

2005-07-15 Thread Robicd

Melchior FRANZ ha scritto:

* Roberto Inzerillo -- Friday 15 July 2005 11:04:

But FGFS crashes every time a new user joins the server with an aircraft 
which is not in my dir tree. The problem is common to many people who 
used this multiplayer mode.

Is there any chance we can get a new binary with a workaround?



The binary workaround can be downloaded here:
http://www.flightgear.org/Downloads/aircraft/

m.  :-}


Of course, Melchior ... I know :-|
But this solution doesn't fit to this specific problem. FlightGear will 
crash _before_ I know which 
http://www.flightgear.org/Downloads/aircraft/ I need to download!
Some other idea? Will FGFS check/discard/revert_to_default network 
packets with not existing Aircraft identifications inside?


   R.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Multiplayer crashes with unknown aircrafts, any solution?

2005-07-15 Thread Erik Hofman

Robicd wrote:

Melchior FRANZ ha scritto:



The binary workaround can be downloaded here:
http://www.flightgear.org/Downloads/aircraft/


Of course, Melchior ... I know :-|
But this solution doesn't fit to this specific problem.


Looking at the Multiplayer code I can see this code can use a good 
overhaul anyway. It needs to adapt the SGSubsystem style and  use the 
AIModel code to display the models, which will also allow it to show up 
on the radar.


It's probably not too much work to do since most of the current code 
could be reused.


Erik

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Multiplayer crashes with unknown aircrafts, any solution?

2005-07-15 Thread Jon Stockill

Robicd wrote:


Of course, Melchior ... I know :-|
But this solution doesn't fit to this specific problem. FlightGear will 
crash _before_ I know which 
http://www.flightgear.org/Downloads/aircraft/ I need to download!
Some other idea? Will FGFS check/discard/revert_to_default network 
packets with not existing Aircraft identifications inside?


It would make sense to default to using the glider model if the correct 
one can't be found. Otherwise anyone connecting to such a server with an 
aircraft they're developing presents the other users with something of a 
problem (ignoring the obvious DoS aspect if someone wanted to be malicious).


--
Jon Stockill
[EMAIL PROTECTED]

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Multiplayer crashes with unknown aircrafts, any solution?

2005-07-15 Thread Jon Stockill

Erik Hofman wrote:

Looking at the Multiplayer code I can see this code can use a good 
overhaul anyway. It needs to adapt the SGSubsystem style and  use the 
AIModel code to display the models, which will also allow it to show up 
on the radar.


It's probably not too much work to do since most of the current code 
could be reused.


Other aircraft showing on radar would be excellent. I've been playing 
with the t38 refuelling scenario recently, and it's a lot of fun - 
definitely teaches you the value of minute stick and throttle inputs :-)


--
Jon Stockill
[EMAIL PROTECTED]

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Re: Multiplayer crashes with unknown aircrafts, any solution?

2005-07-15 Thread Melchior FRANZ
* Robicd -- Friday 15 July 2005 11:31:
 Melchior FRANZ ha scritto:
 Is there any chance we can get a new binary with a workaround?

  The binary workaround can be downloaded here:
  http://www.flightgear.org/Downloads/aircraft/

 Of course, Melchior ... I know :-|

Just kidding.  ;-)



 But this solution doesn't fit to this specific problem. FlightGear will 
 crash _before_ I know which 
 http://www.flightgear.org/Downloads/aircraft/ I need to download!

That's why you install *all* of them! And fgfs doesn't really crash. It
just throws an exception that is only caught in bootstrap.cxx and causes
a 'regular' abort(). That's called error handling!  :-)



 Some other idea? Will FGFS check/discard/revert_to_default network 
 packets with not existing Aircraft identifications inside?

I guess I fixed that in CVS. Haven't tested it, though. And I can't
make binary packages ...

m.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Multiplayer crashes with unknown aircrafts, any solution?

2005-07-15 Thread Robicd



That's why you install *all* of them! And fgfs doesn't really crash. It
just throws an exception that is only caught in bootstrap.cxx and causes
a 'regular' abort(). That's called error handling!  :-)

Some other idea? Will FGFS check/discard/revert_to_default network 
packets with not existing Aircraft identifications inside?


I guess I fixed that in CVS. Haven't tested it, though. And I can't
make binary packages ...


Nice to know :-) I will wait the next binary.

I am looking at mpmessages.hxx since Oliver told me the UDP packet 
structure is in there. I'd like to try writing some code in order to get 
some moving models on the ground. I am not skilled with python/perl/java 
and so on, but I guess forging some UDP packets is not that big effort 
and could be made even with PHP too, right? Any hint before I start 
doing that in a totally wrong way?


  R.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Multiplayer crashes with unknown aircrafts, any solution?

2005-07-15 Thread Frederic Bouvier
Melchior FRANZ wrote:
  Some other idea? Will FGFS check/discard/revert_to_default network
  packets with not existing Aircraft identifications inside?

 I guess I fixed that in CVS. Haven't tested it, though. And I can't
 make binary packages ...

Here is one :
ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32/fgfs-win32-20050715.zip

As always, it may need an up-to-date ( I mean CVS ) base package.
Just try it and report success or failure.

-Fred

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Multiplayer crashes with unknown aircrafts, any solution?

2005-07-15 Thread Robicd



Some other idea? Will FGFS check/discard/revert_to_default network
packets with not existing Aircraft identifications inside?


I guess I fixed that in CVS. Haven't tested it, though. And I can't
make binary packages ...



Here is one :
ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32/fgfs-win32-20050715.zip

As always, it may need an up-to-date ( I mean CVS ) base package.
Just try it and report success or failure.

-Fred


Thx Fred, it works with distribution package too but ... is keypad 
working differently now?
I was used holding down Pag-Up key for increasing RPM, now I have to 
push it several time in order to increase RPM step by step; I can't get 
it increasing by simply holding down the key. Is this behaviour related 
to the new binary or something I am missing?


   Roberto

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Multiplayer crashes with unknown aircrafts, any solution?

2005-07-15 Thread Robicd

Frederic Bouvier ha scritto:


Here is one :
ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32/fgfs-win32-20050715.zip


I get the following in console:

WARNING: ssgSGIHeader::: Failed to open 
'g:/Programmi/FlightGear/data/Textures/Sky/cl_cumulus.rgb' for reading.
WARNING: ssgSGIHeader::: Failed to open 
'g:/Programmi/FlightGear/data/Textures/Sky/cl_stratus.rgb' for reading.
WARNING: ssgLoadAC: Failed to open 
'g:/Programmi/FlightGear/data/Aircraft/c172r/Models/c172-dpm.ac' for reading


That's because I used 0.9.8 base package and it misses those things.
It works anyway.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Re: Multiplayer crashes with unknown aircrafts, any solution?

2005-07-15 Thread Melchior FRANZ
* Robicd -- Friday 15 July 2005 20:35:
 I was used holding down Pag-Up key for increasing RPM, now I have to 
 push it several time in order to increase RPM step by step; I can't get 
 it increasing by simply holding down the key. Is this behaviour related 
 to the new binary or something I am missing?

Yes, you are missing the base package. Keys are now only repeatable
if repeatable is actually set for this key in $FG_ROOT/keyboard.xml.
There was a bug before that did always enable autorepeat.

m.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Multiplayer crashes with unknown aircrafts, any solution?

2005-07-15 Thread Ampere K. Hardraade
On July 15, 2005 01:25 pm, Frederic Bouvier wrote:
 As always, it may need an up-to-date ( I mean CVS ) base package.
 Just try it and report success or failure.

 -Fred
There were some problems related to multiplayer reported by CVS users 
yesterday.  Specially, regardless of other planes actual position, they are 
all jammed around the CVS users' camera.  People who use the original 0.9.8 
don't experience this problem.



Ampere

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Multiplayer crashes with unknown aircrafts, any solution?

2005-07-15 Thread Robicd



Yes, you are missing the base package. Keys are now only repeatable
if repeatable is actually set for this key in $FG_ROOT/keyboard.xml.
There was a bug before that did always enable autorepeat.


How should I set this property for a key? Something like what follows?

key n=360
  namePageUp/name
  descIncrease throttle or autopilot autothrottle./desc
  repeatableyes/repeatable
  ...
/key


I tried that, it doesn't work, I get:

Error reading properties: mismatched tag at 
g:/Programmi/FlightGear/data/keyboard.xml, line 1134, column 3


What's the correct syntax?

  Roberto

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Re: Multiplayer crashes with unknown aircrafts, any solution?

2005-07-15 Thread Melchior FRANZ
* Ampere K. Hardraade -- Friday 15 July 2005 21:06:
 There were some problems related to multiplayer reported by CVS users 
 yesterday.  Specially, regardless of other planes actual position, they are 
 all jammed around the CVS users' camera.

Uneducated guess: Mathias' tile center stepping patch (fix for jitter
problem) broke the multiplayer position setting.

m.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] Re: Multiplayer crashes with unknown aircrafts, any solution?

2005-07-15 Thread Melchior FRANZ
* Robicd -- Friday 15 July 2005 21:17:
 key n=360
namePageUp/name
descIncrease throttle or autopilot autothrottle./desc
repeatableyes/repeatable
...
 /key

 Error reading properties: mismatched tag at 
 g:/Programmi/FlightGear/data/keyboard.xml, line 1134, column 3
 
 What's the correct syntax?

The syntax is correct in what you posted. But apparently not in
your file.

m.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] Re: Multiplayer crashes with unknown aircrafts, any solution?

2005-07-15 Thread Robicd



key n=360
  namePageUp/name
  descIncrease throttle or autopilot autothrottle./desc
  repeatableyes/repeatable
  ...
/key


Error reading properties: mismatched tag at 
g:/Programmi/FlightGear/data/keyboard.xml, line 1134, column 3


What's the correct syntax?


The syntax is correct in what you posted. But apparently not in
your file.

m.


 My mistake. You are right. The error went out when I didn't properly 
close the repeatable tag.


 Anyway, with the correct above syntax nothing happens and key Pageup 
doesn't repeat at all. Maybe I really need more then the updated binary 
provided by Fred to make it work.


   Roberto

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d