October 19, 20178 yr Windows 7 64 Ultimate, X-plane 11.05. P2A test license. I am trying P2A and have setup and microphone that works ok in the Grammar Helper. It understands what I am saying. But after filing a plane things do not work. If I press Say It "Beach 31 ready to copy" a voice is saying it but no reply from ATC. Text comes back in Green. Nothing happens at all but.... If I speak the same phrase "Beach 31 ready to copy" this error shows up... See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. Parameter name: startIndex at System.String.Substring(Int32 startIndex, Int32 length) at P2A_2016.CallSign.get_CallSign() at P2A_2016.ATCFlt.get_CallSign() at P2A_2016.Controller.RespondToPilot(SpeechInteraction SI) at P2A_2016.ATCListener.HandleRecognizedSpeech(Boolean SpeechEmulated) at P2A_2016.ATCListener.a(Object A_0, RecognizeCompletedEventArgs A_1) at System.Speech.Recognition.SpeechRecognitionEngine.RecognizeCompletedProxy(Object sender, RecognizeCompletedEventArgs e) What is wrong? Something in Windows? Per W Sweden Programmer since 30+ years (now retired) and a avid flightsimmer since SubLogic on Vic64. Now I enjoy XP 12.1.3r2 and Scenery fixing. Also did some real pilot training back in 1979-80. Win10 Pro, i5-11600K, Water Cooling, ASUS MB 32GB, nVidia 4060Ti 16 GB, 27" ASUS TUF Gaming VG27AQZ 2560x1440 monitor, 2 NVMe drives + 4 SSDs and 1 HDD for downloads/storage. Honeycomb Yoke + throttle and MFG Crosswind rudders. I always build my PCs myself so I know what is inside them.
October 19, 20178 yr Author Works now. I think I know what the problem was. My Call sign and Flight/Tail Number. I had: Call Sign: Beach Flight/Tail No: 31 As a programmer I have read Stacktraces like this before and I saw that RespondToPilot() called get_callsign() and last when it crashed was in Substring(). Substring picks out text from "startindex" and "length" number of characters. So I changed Flight/Tail Number to: BA31 and now it works. So it looks like it is removing letters like my BA and use the rest because now text ATC window says Beach 31 now without BA. But it worked in Grammar Help with only "31" in Tail number!? Feels like a little bug or maybe some info in the manual on how Flight/Tail numbers should look like. Per W Sweden Programmer since 30+ years (now retired) and a avid flightsimmer since SubLogic on Vic64. Now I enjoy XP 12.1.3r2 and Scenery fixing. Also did some real pilot training back in 1979-80. Win10 Pro, i5-11600K, Water Cooling, ASUS MB 32GB, nVidia 4060Ti 16 GB, 27" ASUS TUF Gaming VG27AQZ 2560x1440 monitor, 2 NVMe drives + 4 SSDs and 1 HDD for downloads/storage. Honeycomb Yoke + throttle and MFG Crosswind rudders. I always build my PCs myself so I know what is inside them.
October 19, 20178 yr Author Just checked the manual and there are info about Callsigns. Will read it letter by letter. Looks like my fault from start Per W Sweden Programmer since 30+ years (now retired) and a avid flightsimmer since SubLogic on Vic64. Now I enjoy XP 12.1.3r2 and Scenery fixing. Also did some real pilot training back in 1979-80. Win10 Pro, i5-11600K, Water Cooling, ASUS MB 32GB, nVidia 4060Ti 16 GB, 27" ASUS TUF Gaming VG27AQZ 2560x1440 monitor, 2 NVMe drives + 4 SSDs and 1 HDD for downloads/storage. Honeycomb Yoke + throttle and MFG Crosswind rudders. I always build my PCs myself so I know what is inside them.
October 19, 20178 yr Commercial Member The new update has a fix that should prevent the crash like you got. Thanks, Dave
October 19, 20178 yr Author 23 minutes ago, Dave-Pilot2ATC said: The new update has a fix that should prevent the crash like you got. Thanks, Dave Is it released now? Per W Sweden Programmer since 30+ years (now retired) and a avid flightsimmer since SubLogic on Vic64. Now I enjoy XP 12.1.3r2 and Scenery fixing. Also did some real pilot training back in 1979-80. Win10 Pro, i5-11600K, Water Cooling, ASUS MB 32GB, nVidia 4060Ti 16 GB, 27" ASUS TUF Gaming VG27AQZ 2560x1440 monitor, 2 NVMe drives + 4 SSDs and 1 HDD for downloads/storage. Honeycomb Yoke + throttle and MFG Crosswind rudders. I always build my PCs myself so I know what is inside them.
October 19, 20178 yr Author 22 minutes ago, Dave-Pilot2ATC said: Yes, just posted it. OK Great. Found it and is downloading the Update. Looking good so far, I mean P2A and what it can do. Per W Sweden Programmer since 30+ years (now retired) and a avid flightsimmer since SubLogic on Vic64. Now I enjoy XP 12.1.3r2 and Scenery fixing. Also did some real pilot training back in 1979-80. Win10 Pro, i5-11600K, Water Cooling, ASUS MB 32GB, nVidia 4060Ti 16 GB, 27" ASUS TUF Gaming VG27AQZ 2560x1440 monitor, 2 NVMe drives + 4 SSDs and 1 HDD for downloads/storage. Honeycomb Yoke + throttle and MFG Crosswind rudders. I always build my PCs myself so I know what is inside them.
Archived
This topic is now archived and is closed to further replies.