Jump to content
Sign in to follow this  
divermar

File, Validate buttons and AI Aircraft

Recommended Posts

The "Validate" and "File" buttons will turn green when selected.  If I click on any other items, for example to change the radio frequency the "Validate" and "File" buttons are no longer green.  It doesn't appear to unload the flight plan but I thought that the buttons they stayed green before first update was applied (not 100% sure on that)

 

When I am flying and from the Map Display, I click on the AI Traffic button, I get the airborne traffic and they are changing position on the map, but after a short while (maybe 10 seconds) the AI Traffic planes stop moving.  If I cycle through the AI Traffic button "clicks" the AI traffic planes appear but they are in the same position when they stopped moving, and all are pointing North.  If I hover over the individual planes they actually have different courses and altitudes.

 

http://1drv.ms/24vGPiF

 

Also when you select airborne traffic the "Center on Route" button also is highlighted, although the map stayed center on the plane (how I selected earlier)

 


Mark Zanzig
 

Share this post


Link to post
Share on other sites

Thanks Dave,

 

I'm sorry but I didn't have .03 installed.  I just loaded that version and the AI Traffic issue seems to be fixed


Mark Zanzig
 

Share this post


Link to post
Share on other sites

While testing the AI Traffic again, I was clicking, cycling through, the AI Traffic button selections, this time I received an unhandled exception, I clicked on "continue" and when I look at the Map Display the traffic again pointed North and not moving.

 

--------------------------------------------------------------------------------------------------------

 

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at FSUIPC.FSUIPCConnection.AddOffset(IOffset Offset)
   at FSUIPC.Offset`1.initDataInfo(String DataGroupName, Int32 Address, Int32 length, Boolean WriteOnly)
   at FSUIPC.AITrafficServices.RefreshAITrafficInformation(Boolean UpdateGroundTraffic, Boolean UpdateAirbourneTraffic)
   at P2ASim.P2ASimulatorFSUIPC.RefreshAITraffic()
   at Pilot2ATC_200.ucMap.w()
   at Pilot2ATC_200.ucMap.t(Object A_0, EventArgs A_1)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1063.1 built by: NETFXREL3STAGE

----------------------------------------
Pilot2ATC_200
    Assembly Version: 2.0.0.3
    Win32 Version: 2.0.0.3

----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1068.2 built by: NETFXREL3STAGE

----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.6.1038.0 built by: NETFXREL2

----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
P2A_Globals
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

----------------------------------------
P2AData
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

----------------------------------------
P2A_Controls
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE

----------------------------------------
P2AFly
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

----------------------------------------
System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
EntityFramework
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.20911.0

----------------------------------------
GMap.NET.Core
    Assembly Version: 1.7.0.0
    Win32 Version: 1.7

----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.ServiceModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
EntityFramework.SqlServer
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.20911.0

----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.6.1063.1 built by: NETFXREL3STAGE

----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.Data.OracleClient
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
P2ASim
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

----------------------------------------
SlimDX
    Assembly Version: 4.0.13.43
    Win32 Version:

----------------------------------------
System.Speech
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
GMap.NET.WindowsForms
    Assembly Version: 1.7.0.0
    Win32 Version: 1.7

----------------------------------------
P2ASpeech
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

----------------------------------------
P2AWeather
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

----------------------------------------
FSUIPCClient
    Assembly Version: 2.4.0.0
    Win32 Version: 2.4.0.0

----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
EntityFrameworkDynamicProxies-P2AData
    Assembly Version: 1.0.0.0
    Win32 Version: 6.0.20911.0

----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.Web.Extensions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0

----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE

----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE

----------------------------------------
System.Data.SQLite
    Assembly Version: 1.0.84.0
    Win32 Version: 1.0.84.0

----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE

----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE

----------------------------------------
NAudio
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0

----------------------------------------
SMDiagnostics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.ServiceModel.Internals
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.ServiceModel.Channels
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.ServiceModel.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
Microsoft.VisualStudio.Diagnostics.ServiceModelSink
    Assembly Version: 4.0.0.0
    Win32 Version: 14.0.23107.0

----------------------------------------
System.Net.Http
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
HtmlAgilityPack
    Assembly Version: 1.4.6.0
    Win32 Version: 1.4.6.0

----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

 


Mark Zanzig
 

Share this post


Link to post
Share on other sites

Mark,

What simulator are you using and how may AI aircraft do you have?  Are you using the standard SIM AI traffic?

 

I couldn't duplicate the error with X-Plane and just a few AI aircraft.  Your picture looked like you had a lot of traffic up.

 

The error actually looks like FSUIPC or the SIM had an internal error when asked to update the AI Traffic.  I'll keep an eye on it when I'm flying as well.

 

Dave

Share this post


Link to post
Share on other sites

Dave,

 

-Win10

-P3D v3.1.2.15831 (latest version)

-MyTraffic V6, I use AirTraffic Manager to keep the plane count to 25 (This help with FPS and VAS in the sim)

-FSUIPC4, Version 4.949f (latest version I think), Full purchased licence

 

I will try to replicate without AirTraffic Manager running to see if that is impacting things.

 

As far as all the planes you see, one of the option in AirTraffic Manager is to "Preserve Airport Traffic", so it looks like a lot of planes at the airport, but only 25 or so in the air.

 

I'll let you know what I find,

Mark

 

BTW, Great work on this software, its a battle for sure.

 

PS -  Have you considered a thread for "Things I would love to have" to be included in the next versions?
 


Mark Zanzig
 

Share this post


Link to post
Share on other sites

Dave,

 

I repeated the same flight without AirTraffic Manager and was able to repeat Unhandled Exception:

 

====================================  SEE BELOW===============

 

 

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Enumerator.MoveNext()
   at FSUIPC.FSUIPCConnection.DeleteGroup(String groupName)
   at FSUIPC.AITrafficServices.RefreshAITrafficInformation(Boolean UpdateGroundTraffic, Boolean UpdateAirbourneTraffic)
   at P2ASim.P2ASimulatorFSUIPC.RefreshAITraffic()
   at Pilot2ATC_200.ucMap.w()
   at Pilot2ATC_200.ucMap.t(Object A_0, EventArgs A_1)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1063.1 built by: NETFXREL3STAGE

----------------------------------------
Pilot2ATC_200
    Assembly Version: 2.0.0.3
    Win32 Version: 2.0.0.3

----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1068.2 built by: NETFXREL3STAGE

----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.6.1038.0 built by: NETFXREL2

----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
P2A_Globals
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

----------------------------------------
P2AData
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

----------------------------------------
P2A_Controls
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE

----------------------------------------
P2AFly
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

----------------------------------------
System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
EntityFramework
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.20911.0

----------------------------------------
GMap.NET.Core
    Assembly Version: 1.7.0.0
    Win32 Version: 1.7

----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.ServiceModel
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
EntityFramework.SqlServer
    Assembly Version: 6.0.0.0
    Win32 Version: 6.0.20911.0

----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.6.1063.1 built by: NETFXREL3STAGE

----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.Data.OracleClient
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
P2ASim
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

----------------------------------------
SlimDX
    Assembly Version: 4.0.13.43
    Win32 Version:

----------------------------------------
System.Speech
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
GMap.NET.WindowsForms
    Assembly Version: 1.7.0.0
    Win32 Version: 1.7

----------------------------------------
P2ASpeech
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

----------------------------------------
P2AWeather
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0

----------------------------------------
FSUIPCClient
    Assembly Version: 2.4.0.0
    Win32 Version: 2.4.0.0

----------------------------------------
System.Xml.Linq
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
EntityFrameworkDynamicProxies-P2AData
    Assembly Version: 1.0.0.0
    Win32 Version: 6.0.20911.0

----------------------------------------
System.Runtime.Serialization
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.Web.Extensions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0

----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE

----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE

----------------------------------------
System.Data.SQLite
    Assembly Version: 1.0.84.0
    Win32 Version: 1.0.84.0

----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE

----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE

----------------------------------------
NAudio
    Assembly Version: 1.6.0.0
    Win32 Version: 1.6.0.0

----------------------------------------
SMDiagnostics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.ServiceModel.Internals
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.ServiceModel.Channels
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
System.ServiceModel.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------
Microsoft.VisualStudio.Diagnostics.ServiceModelSink
    Assembly Version: 4.0.0.0
    Win32 Version: 14.0.23107.0

----------------------------------------
System.Net.Http
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2

----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


 


Mark Zanzig
 

Share this post


Link to post
Share on other sites

Thanks Mark.  Did you have a similar amount of traffic?

Judging from the error message, it is an error internal to FSUIPC over which I have no control.  It seems as though it's having trouble managing the collection of information about AI Traffic.  Reducing the number may fix this. 

 

Or better yet, try only having Ground traffic or Air Traffic.  If that fixes it, I can make a change in my code to only query one or the other at the same time.

 

Thanks for your experimenting!

Dave

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...