Kilcekru / dcc

Digital Crew Chief
MIT License
80 stars 11 forks source link

F-16C+A-10C missions always report with result "Killed in Action" despite successful landing and shutdown with no damage #123

Open okurz opened 1 month ago

okurz commented 1 month ago

Describe the bug F-16 missions always report with result "Killed in Action" despite successful landing and shutdown with no damage. I could report this so far 3 times with the F-16, one time with the A-10C, but not with the AV8B

To Reproduce Steps to reproduce the behavior:

  1. Start mission with F-16
  2. Fly mission without loosing the plane
  3. Land and shutdown
  4. Submit results into DCC and observe the error

Expected behavior The pilot should still be reported as "Alive"

Screenshots

grafik

Additional context

DCC Version v0.4.3-beta.2

From the logs I found

2024-07-31 11:26:40.625 ERROR   SCRIPTING (Main): Mission script error: [string "C:\Users\Oliver\AppData\Local\Temp\DCS\/~mis0000696E.lua"]:272: attempt to call field 'getName' (a nil value)
stack traceback:
    [C]: in function 'getName'
    [string "C:\Users\Oliver\AppData\Local\Temp\DCS\/~mis0000696E.lua"]:272: in function 'onEvent'
    [string "Scripts/World/EventHandlers.lua"]:13: in function <[string "Scripts/World/EventHandlers.lua"]:11>

just when I exited the runway. I stopped and shutdown the aircraft after that, ended the mission. The DCS internal log does not record that the airplane was damaged or destroyed in any way or that the pilot would be killed.