mrSkortch / MissionScriptingTools

Mission Scripting Tools for Digital Combat Simulator
GNU General Public License v3.0
195 stars 42 forks source link

MIST now broken #97

Open Raiders-696CW opened 4 months ago

Raiders-696CW commented 4 months ago

MIST 4_5_122 is now broken with the new way DCS integrates static objects. I have attached the proof that has the code lines noted. proof.txt

Raffson commented 4 months ago

I can confirm this is indeed an issue, and comparing with patch 126 the same code is still present, so it should also apply to the latest release of MIST. Will try to debug this one 🤞

Raffson commented 4 months ago

@Raiders-696CW, it seems that this isn't related to the new way DCS integrates static objects. Build 126 adds a guard that should in theory prevent the error that you're experiencing, assuming that you're running into the same issue as one of the Retribution users that reported this issue:

image

I'm going to update MIST in Retribution and see if the user in question still experiences the issue...

Raiders-696CW commented 4 months ago

This is the exact error I received as well. Has never happened until this most recent DCS update. And when it happens, the server stops working.

Raffson commented 4 months ago

Unfortunately build 126 is still producing errors, although I personally haven't been able to consistently reproduce the issue, we're trying to figure out which conditions are needed for this error to pop up 😬

Raiders-696CW commented 4 months ago

I have done the same, it is unk when it happens as we are running it on a Foothold mission and it is random when it happens. I have tried to play alone and just destroy static objects, that is not triggering it. can I send a log with the entire data in here to you?

Raffson commented 4 months ago

I doubt I'll be able to make sense of it, but it's not the first quirk I came across with 2.9.6, so I'm considering wrapping the code in a protected call and handle it gracefully, despite not knowing what the root cause is 😬

Raiders-696CW commented 3 months ago

Do we have an ETA on the resolution for MIST on the new DCS update to make it work again? Most of our group's missions are Foothold missions and they now crash...

ChaosRifle commented 3 months ago

Do we have an ETA on the resolution for MIST on the new DCS update to make it work again? Most of our group's missions are Foothold missions and they now crash...

event handing is totally screwed up on DCS with this patch and it has nothing to do with mist. For example:

https://forum.dcs.world/topic/354081-many-events-are-giving-baddeleting-unit-objects-breaking-event-handling

also an issue is like 60+% of the time events dont even trigger when they should, ie, taking off isnt even detected anymore more than 60% of the time. Not so much a mist issue, as an ED released a bad patch for anything scripted. A ton of things are just straight broken and we have to wait for ED to fix them.