Jump to content

track replay windows error after releasing ordenance


Go to solution Solved by Flappie,

Recommended Posts

Posted (edited)

When replay a track, I tested with different tracks,  and there is a release ordenance (bombs, missiles or tanks) a windows error is showed. The track replay can continue. It happened with both stable and last beta using MT. I didn't tested with ST.

I attach error screenshot, dcs log, mission, and a track replay example. Error produced about 1200s after start.

error_replay.PNG

practice_f86_bombing_no_mpc.trk dcs.log

CFragps_Marianas_Proving_Grounds.miz

Edited by vgilsoler

I5 12600KF - 32 GB DDR4 - Nvidia RTX 4060 - SSD + NVME

Nadie es un completo inutil, por lo menos sirve de mal ejemplo.

 

  • 2 weeks later...
  • Solution
Posted

Let's see. The error springs from this part of the script:

    if event.id == 1 then -- shot event, from player
        if not event.weapon then return end 
        local uComms = bombRange.unitComms[uName]
        if bombRange.mustCheckIn and (not uComms.checkedIn) then 
            if bombRange.verbose then 
                trigger.action.outText("+++bRng: Player <" .. pName .. "> not checked in.", 30)
            end
            return 

DCS says uComms equals nil.

This looks like a custom script issue.

---

Posted (edited)
On 1/3/2024 at 4:44 AM, Flappie said:

Let's see. The error springs from this part of the script:

    if event.id == 1 then -- shot event, from player
        if not event.weapon then return end 
        local uComms = bombRange.unitComms[uName]
        if bombRange.mustCheckIn and (not uComms.checkedIn) then 
            if bombRange.verbose then 
                trigger.action.outText("+++bRng: Player <" .. pName .. "> not checked in.", 30)
            end
            return 

DCS says uComms equals nil.

This looks like a custom script issue.

Just to understand how it should work. Should the script have a condition to control if it is running the mission or is it replying track? Something like “if missionreplay == true then …”
Is this property available by default? Or needs to be coded?

Edited by vgilsoler

I5 12600KF - 32 GB DDR4 - Nvidia RTX 4060 - SSD + NVME

Nadie es un completo inutil, por lo menos sirve de mal ejemplo.

 

Posted
16 hours ago, vgilsoler said:

Should the script have a condition to control if it is running the mission or is it replying track?

I don't think so, no. I have no clue how the issue only springs when the track is replayed.

---

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...