Jump to content

Recommended Posts

Posted (edited)

Attached to the table obtained with getAmmo() applied on an F18 in late activation. The typeName should be "weapons.missiles.AIM_9", as is correct with other armaments, but currently it is "AIM_9".

The code I am creating is to set the items in the warehouses based on a template that is given by the arero in late activation. The new warehouse API is fantastic but with problems like the one mentioned above it becomes a half-baked tool.

The problem mentioned above is difficult to solve even by cross-referencing the data with getResourceMap (attached file)/DBUG_getAmmo.luaDBUG_getResourceMap_wsType.lua

Edited by Webber

101^Squadrone Multiruolo Ariete 

by SimItaliaGames.com | WebSite FaceBook Forum Discord

Visit: AF Allied Forces

Joint Operations, Joint Communities

Un progetto per promuovere la collaborazione tra gruppi volo virtuali!

Posted (edited)
15 hours ago, Flappie said:

Hi, I'm bad at scripting. Can you please attach a miz file demonstrating the issue?

Hi, thanks for the reply. As soon as I can I will attach the mission but this issue can only be "understood" by those who know the code: the mission I will attach only has an f18 in late activation which does not present gameplay problems. This issue is visible only by executing the Unit.getAmmo() function, which I remind you is a function of the native code of DCS (SSE: Simulator Scripting Engine), which returns a table which must then be printed to be displayed. The printed table is one of the attachments above, have you had a chance to open and read them??

So I've already proven the issue. In the next few days I will attach the mission anyway.

 

Edited by Webber

101^Squadrone Multiruolo Ariete 

by SimItaliaGames.com | WebSite FaceBook Forum Discord

Visit: AF Allied Forces

Joint Operations, Joint Communities

Un progetto per promuovere la collaborazione tra gruppi volo virtuali!

Posted
4 hours ago, Webber said:

In the next few days I will attach the mission anyway.

Thank you. I can guarantee you that the fix will come way faster if I bring a mission to devs. It's how things work here, for the most part.

---

Posted
On 11/21/2023 at 9:07 PM, Webber said:

Not all, i think only with fox 2 category, with 120c work

R-77 and R-27ER are also affected.  Issue reported. 👍

I'll check that other thread of yours.

  • Like 1

---

  • 6 months later...
Posted

Hello. I'm fine, thank you. How are you?

Yes, I know this bug is still waiting for a fix. Unfortunately, it's not the only one in the queue, and it's not a game breaking bug either, which is why it is low priority.

---

  • Recently Browsing   0 members

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