Unsolved CTD in AAR TE
-
@Mav-jp I have been trying - and is still trying - to replicate this issue. This time with debug info.
The situation is that my wingman (Goblin 3-2) is right next to me, but gets the “outside my airspace” messages from the tanker. It is as if he has been entered into the tanker queue properly but when I am done refueling and the time comes for him to refuel, the tanker has wrong information on where he is. My theory is that the pointer for him on rare occasions at that moment points to another object/jet or the position property gets reset or just points into unallocated memory.
The above happened to me in SP. The other day someone complained about a MP situation where his human wingman could refuel but he could not. Perhaps this is also because the tanker perceives him to be far away, even though he is right next to the tanker. Again, the stray pointer theory could explain that.
The theory could be total garbage. But if not, then the tanker queue management code might be just fine and the problem lies elsewhere.
-
@jayb said in CTD in AAR TE:
@Mav-jp I have been trying - and is still trying - to replicate this issue. This time with debug info.
The situation is that my wingman (Goblin 3-2) is right next to me, but gets the “outside my airspace” messages from the tanker. It is as if he has been entered into the tanker queue properly but when I am done refueling and the time comes for him to refuel, the tanker has wrong information on where he is. My theory is that the pointer for him on rare occasions at that moment points to another object/jet or the position property gets reset or just points into unallocated memory.
The above happened to me in SP. The other day someone complained about a MP situation where his human wingman could refuel but he could not. Perhaps this is also because the tanker perceives him to be far away, even though he is right next to the tanker. Again, the stray pointer theory could explain that.
The theory could be total garbage. But if not, then the tanker queue management code might be just fine and the problem lies elsewhere.
Can you reliably replicate the problem with your wingman beeing told “outside my airspace” ?
-
I have run the mission a couple of times since, but I have not yet been able to replicate it. After I turned on debugging (and started taking video of the mission) the problem has not (yet?) appeared.
-
@Mav-jp – I have reliably reproduced that in the AAR TE training TE. Not in the way described in the OP’s report. It happens because the wingman is not going into RefuelMode it seems. Now why that happens is still a puzzle.
-
@Boxer Can I ask how you recreate the problem (which flight)? I flew it two more times yesterday as Goblin3-1 and did not come across the issue
-
@Boxer said in CTD in AAR TE:
@Mav-jp – I have reliably reproduced that in the AAR TE training TE. Not in the way described in the OP’s report. It happens because the wingman is not going into RefuelMode it seems. Now why that happens is still a puzzle.
can you provide a repro case or do you want to handle it ?
-
@Mav-jp – I already mentioned this in RC so this is more for @jayb here.
Take eastern TRAINING flight, refuel as normal. Clear the tanker by a full 10 miles once wingie has completed refuel and rejoined of his own accord. Call for fuel y-1 again to the same tanker (i.e. don’t change UHF freq)…confirm that he tells you to call again from inside 10nm. Close to ~4nm (enough so you and wingie are both well and truly inside 10nm) and call y-1 again. Refuel yourself and y-3 at the end of that and then see what happens with the wingie. For me at that point the radio goes bonkers.
I think you can tell something is up before that though – I suspect but I forgot to confirm – I would guess from the code that as you are on the boom for the second time, the wingie is NOT in the on-deck position or even close on the tanker wing – more like he’s in “normal” en route formation keyed off your ownship position rather than being in the refuel pattern.
Now having written all of that, I just tried it again and I managed 3 complete cycles with the AI in tow and it didn’t fail Must be something else to it…but I did see it fail in two separate flights in recent days…
-
@Boxer said in CTD in AAR TE:
@Mav-jp – I already mentioned this in RC so this is more for @jayb here.
Take eastern TRAINING flight, refuel as normal. Clear the tanker by a full 10 miles once wingie has completed refuel and rejoined of his own accord. Call for fuel y-1 again to the same tanker (i.e. don’t change UHF freq)…confirm that he tells you to call again from inside 10nm. Close to ~4nm (enough so you and wingie are both well and truly inside 10nm) and call y-1 again. Refuel yourself and y-3 at the end of that and then see what happens with the wingie. For me at that point the radio goes bonkers.
I think you can tell something is up before that though – I suspect but I forgot to confirm – I would guess from the code that as you are on the boom for the second time, the wingie is NOT in the on-deck position or even close on the tanker wing – more like he’s in “normal” en route formation keyed off your ownship position rather than being in the refuel pattern.
Now having written all of that, I just tried it again and I managed 3 complete cycles with the AI in tow and it didn’t fail Must be something else to it…but I did see it fail in two separate flights in recent days…
I don’t have much time today, if you have time I suggest you put a break in RemoveFromQ()
-
@Boxer Thank you for confirming I am not crazy, haha. It happens sometimes is what I have seen as well.
I will try out the eastern flight as you described. Is there any other debug setting that would be useful to invoke to get details pertaining to the wingman - right now I use the 512 flag as suggested ?
-
Would anyone from this thread be willing to test a fix for this issue? If so, please message me.