Skip to content

Fix getcategory DCS 2.9.1.48111 - #92

Closed
MacFlorent wants to merge 1 commit into
walder:masterfrom
regroupement-patrouille:fix-getcategory-dcs2.9.1.48111
Closed

Fix getcategory DCS 2.9.1.48111#92
MacFlorent wants to merge 1 commit into
walder:masterfrom
regroupement-patrouille:fix-getcategory-dcs2.9.1.48111

Conversation

@MacFlorent

Copy link
Copy Markdown

Accounting for the getCategory changed in DCS 2.9.1.48111 see https://forum.dcs.world/topic/337957-patch-notes-discussion-november-2023/#comment-5330539

Also added the display of the type of weapon contacts.

@walder

walder commented Dec 29, 2023

Copy link
Copy Markdown
Owner

this update seems to have been reverted, see, so the old code works.
https://www.digitalcombatsimulator.com/en/news/changelog/openbeta/2.9.2.49629/
Unknown is returned to emphasise what the iads would think it is, for example for bombs or cruise missiles, I may change that in the future.

@walder walder closed this Dec 29, 2023
@MacFlorent

Copy link
Copy Markdown
Author

Yes it has been reverted so the PR should not be required anymore.

@MacFlorent

Copy link
Copy Markdown
Author

Seems to still be an issue. I encountered an error while testing a mission with 3.3.0 tonight:
I will look further into it but it looks like the present PR should resolve it (minus the "WEAPON" part).

2024-01-20 22:18:34.386 ERROR SCRIPTING (Main): MIST|doScheduledFunctions|1501: Error in scheduled function: $1[string "C:\Users\Jeux1\AppData\Local\Temp\SRV2\/~mis000021A4.lua"]:3179: **Unit doesn't exist**
image
image

@MacFlorent
MacFlorent deleted the fix-getcategory-dcs2.9.1.48111 branch January 21, 2024 17:46
@MacFlorent MacFlorent mentioned this pull request Jan 21, 2024
@MacFlorent

Copy link
Copy Markdown
Author

Tested, I can confirm there is an issue still. See #105.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants