Hi guys,
To see the helicopters I started P3Dv5 and loaded a flight at Cambridge EGSC. After loading I could see one of the helipads nearby, so then I tried to connect and inject traffic. I pressed connect and waited for the Simulator timestamp to show up. So far so good, on the map AI traffic appears and the log states:
11-8-2020 10:26:52: Added new SimConnectController
11-8-2020 10:26:52: Connected to: P3D 5.0.31.35253
Then I went to Settings in TC and clicked on Inject Traffic (I did not enable Dynamic Fuel, Set Flaps option is active). Then the log shows:
11-8-2020 10:31:30: Added new SimConnectController
11-8-2020 10:31:30: Connected to: P3D 5.0.31.35253
14-4-2020 11:56:46: Inject in flight: G-RESU
14-4-2020 11:56:46: Inject parked helicopter: G-HEMC
Then TC just stops without any warning/error shown. The first thing I noticed, was the timestamp, but that is the timestamp in the sim, default P3Dv5 selects 14-4-2020. I think that is no problem. I could not find any logfiles showing an error or warning. So then I checked the Windows logs. I have the Dutch version, but basically it says there is an unhandled exception in .NET:
Toepassing: AIGTech - Traffic Controller.exe
Framework-versie: v4.0.30319
Beschrijving: het proces is beƫindigd als gevolg van een onverwerkte uitzondering.
Uitzonderingsinformatie: System.AccessViolationException
bij <Module>.SimConnect_SetDataOnSimObject(Void*, UInt32, UInt32, UInt32, UInt32, UInt32, Void*)
bij LockheedMartin.Prepar3D.SimConnect.SimConnect.SetDataOnSimObject(System.Enum, UInt32, LockheedMartin.Prepar3D.SimConnect.SIMCONNECT_DATA_SET_FLAG, System.Object)
bij AIGTech.TrafficController.Classes.Manager.Moduls.AIGFP_TrafficManager.setFlightplanForHelicopter_Flight(AIGTech.TrafficController.Classes.Objects.AIGTC_AIHelicopter, Int32)
bij AIGTech.TrafficController.Classes.Manager.Moduls.AIGFP_TrafficManager.checkRegistrationStatusForHelicopter(AIGTech.TrafficController.Classes.Objects.AIGTC_AIHelicopter)
bij AIGTech.TrafficController.Classes.Manager.Moduls.AIGFP_TrafficManager.checkRegistrationStatus(AIGTech.Common.Connector.AIObjects.AISimObject)
bij AIGTech.TrafficController.Classes.Manager.Moduls.AIGFP_TrafficManager.manageTraffic()
bij System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
bij System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
bij System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
bij System.Threading.ThreadHelper.ThreadStart()
I also see an Application Error for module LockheedMartin.Prepar3D.SimConnect.dll, but I think that is a result of the .NET error.
Is there anything else I can check for you to pinpoint the issue?
Kind regards,
Reinier
I will have a look at it.
Can you try 2 or 3 times more, so we can see if this is a regualr crash or something more random?
Hi,
Everytime I start TC is says No OCI path has been set.
If I go to settings AIGFP is activated and OCI path is visible.
If I click "inject traffic" or "connect" the programme closes.
This sequence is repeated everytime TC is started.
Thanks
Brian
please verify this path: [..]\AIGAIM - OCI\Traffic Files\AIGFP , does this directory exits? To what directory is your AIGTC pointing?
No that directory in OCI does not exist
OCI installation path is: V:\AIGAIM - OCI
Does TC need to point to the Traffic Files path?
I have tried a few times, also on other airports nearby, same error. But then I went back to EGSC, setting the timestamp to match my system time in P3D. Then there is no error, it did generate the helicopters (visible in P3D AI Traffic list), but they are in Africa somewhere, near the coast of Angola? So one of the issues seems to be the timestamp selected in P3D. I don't understand why the helicopters are showing up in the ocean near Angola.
I have also checked if the aigfp files are working correctly by going to Toulouse (LFBO). I saw some traffic from Traffic_AIG_AirbusCooperation(GA-C)_Winter_2019-2020v2.aigfp, so that is okay. Then TC does not inject helicopters, but I would not expect that, so that is fine.
the timestamp in AIGTC shown below is getting directly from the Sim, so there can actual no difference in them. I will have alook at the code, maybe I find something that could cause this strange spawing of the helicopters.
Can you check this two directories:
\AIGAIM - OCI\Airports\AIGTC
\AIGAIM - OCI\Airports\scenery
what files are there?
I added two screenshots as attachment showing the files in the mentioned directories
that look ok. I am currently working on an new logger for AIGTC (update maybe today or tomorrow) Maybe this can tell us what is going wrong on your end ::confused::
None of these directories exist in my OCI
have you start AIM and have selected AIGFP?
One more thing I have noticed now, the helicopters are spawning near the cross on the map in TC, see attachment
yeah thats 0,0. Seems they do not get the coordinates for theier planed spot... Just did a test on my system and everything went fine ??? I will extent to logger so we will see how this coordinates are generated on your system
Ok so I have installed, deleted and reinstalled AIGTC, both previous and latest version several time.
I followed the quick start instructions.
When I click "Save Settings" nothing happens.
I close AIGTC and on restart get the message "No OCI-Path has been set"
When I accept the error message AIGTC opens and when I go to settings the OCI path is there and "Use AIGFP" ticked.
No files or folders have been added to OCI.
Is some external programme such as a specific version DotNet Framework or similar required to be installed to make this work on my PC?
have you installed AIM-OCI with an AIGFP flightplan?
So maybe the Quick-Start guide should include a line which states "ensure you update OCI before using this product" or something along those lines..
Under requirements "OCI 1.0.1.0 or newer".
I was looking through other forum posts and came across a reference to OCI 1.0.1.0 so decided to do an OCI update.
OCI is still busy with it's things but I already see the folder Airports has been added to the OCI folder.
I guess if I try this once OCI has completed updating to 1.0.1.4 TC will work as required.
I have updated all components based on the new versions that were released for TC en AIM and tested TC injection again (see log file in attachment). It seems to get some coordinates, only the helicopters still spawn in the wrong 0,0 location. Then it mentions a takeoff and the helicopter is flying along nicely, only in the wrong location ???
Just some information about my sim environment, maybe we can relate it to that:
- Windows 10, version 2004 64 bit, fresh install
- P3Dv5 HF2, fresh install
- Active Sky P3D Beta version 8
- ASCA P3D Beta version
- Orbx Global Base, all OpenLC, Vector, Trees
- FSDreamTeam GSX
- SODE v1.7.1 + VDGS pack 1.1
- FSUIPC 6
And some other add-ons like Aerosoft A330, but I think they are not important in this case
yes, as suggest in the other topic, this is the decimal seperator. Will be fixed. Can you check the <OCI>\Airports\AITGC files if the decimal seperator in there is "." or ","?
Checked, it is "."
Example from XML file:
<Airport id="EG8A" name="Addensbrook's Hospital" lat="52.170815048" lon="0.139646151" alt="50">
ok then is is just the AIGTC error ;D
New version is working nicely, thanks for the great support!
no proble, great :) - I love this helicopter in the SIm xD