Page MenuHomeFeedback Tracker

1.23 - Mag_STANAG_30Rnd Despawning from storage/inventory
Closed, ResolvedPublic

Description

My players have been complaining their Mag_STANAG_30Rnd mags are despawning from their inventory and storage containers.

I see it's listed in cfgignore.xml I don't really understand this file, which also lists bandages and there's no issue with them.

The types is configured OK

<type name="Mag_STANAG_30Rnd">
    <nominal>11</nominal>
    <lifetime>14400</lifetime>
    <restock>0</restock>
    <min>6</min>
    <quantmin>9</quantmin>
    <quantmax>50</quantmax>
    <cost>100</cost>
    <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
    <category name="weapons"/>
    <usage name="Military"/>
    <value name="Tier2"/>
    <value name="Tier3"/>
</type>

Not sure what to check to fix this issue.

Details

Severity
None
Resolution
Open
Reproducibility
Random
Operating System
Windows 11 x64
Category
General

Event Timeline

etwas added a subscriber: etwas.Dec 13 2023, 10:21 AM

the correct type for the bandages is "BandageDressing" and it isn't listed in the cfgignorelist.xml.
there's only the coupled stanag ("Mag_STANAGCoupled_30Rnd") in the ignorelist; just delete the line from that file and it will use the provided lifetime from the types.xml.

Dzizus added a subscriber: Dzizus.Dec 13 2023, 10:24 AM

Hey Nate_LapT,

cfgignorelist.xml deletes all the items listed during server start and spawns new ones. Try removing the Mag_STANAG_30Rnd from the ignore list. As for the bandages, the cfg name for them is BandageDressing so that is why they are working correctly. Also are you sure your players are not talking about Mag_STANAGCoupled_30Rnd? Because we replaced that one with the Mag_STANAG_60Rnd, the coupled variant is listed in the ignore list by default. Hope this helps.

Regards,
Dzizus

OMG...

I figured out the issue.

I had a script spawning "Mag_STANAGCoupled_30Rnd" on a boss fight monster. and when I was looking at types I read Mag_STANAG_30Rnd and didn't notice the difference.

I've been looking at this for 2 weeks.

Dzizus closed this task as Resolved.Dec 14 2023, 8:49 AM
Dzizus claimed this task.