Jump to content

track replay windows error after releasing ordenance


vgilsoler
Go to solution Solved by Flappie,

Recommended Posts

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

I7 3770K - 32 GB DDR3 - Nvidia RTX 4060 - SSD + NVME

 

Link to comment
Share on other sites

  • 2 weeks later...
  • Solution

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.

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

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

I7 3770K - 32 GB DDR3 - Nvidia RTX 4060 - SSD + NVME

 

Link to comment
Share on other sites

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.

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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