Skip to content

Arsenal Overfill Prevention Does Not Prevent Magazine / Weapon Overfill #10945

@Nomas-X

Description

@Nomas-X

Mods (complete and add to the following information):

  • Arma 3: 2.18 [e.g. 1.00 stable, rc, dev]
  • CBA: 3.18.3 [e.g. 3.0.0 stable, commit hash]
  • ACE3: 3.19.3 [e.g. 3.0.0 stable, commit hash]

Description:
A clear and concise description of what the bug is.
The prevent overfill function that fires when a use changes container (uniform, vest, backpack) in the ACE arsenal does not prevent overfill of magazines or weapons, it only prevents overfill of items.

Steps to reproduce:
Follow this flowchart!

  1. Go to the Arma 3 Editor (Any Map)
  2. Place down any unit.
  3. Place down any object that can be used as an ACE Arsenal.
  4. Set the object to a blacklist ACE Arsenal.
  5. Play the mission.
  6. Access the Arsenal.
  7. Select any container (uniform, vest, backpack) that has space.
  8. _Fill said container with some cargo items (bandages), magazines (weapon magazines or grenades), and a weapon (a pistol). _
  9. Leave the arsenal and confirm the loadout.
  10. Access the arsenal again
  11. Switch to any container (of the same type as the previous one) of a much smaller size, preferably one without any size such as static weapon backpacks or UAV backpacks.
  12. Leave the arsenal and confirm new loadout.
  13. Check container inventory, items (bandages) were removed but any cargo of type magazine or weapons will remain even though there is no space for them.
  14. To prove that there is no space for them and that overfill prevention is failing, take item out of container and attempt to put it back in.

**Expected behavior:**A clear and concise description of what you expected to happen. The expected
The expected behavior here is that all cargo magazines, weapons, and items should be removed to prevent overfill.

Where did the issue occur?

  • Dedicated / Self-Hosted Multiplayer / Singleplayer / Editor (Singleplayer) / Editor (Multiplayer) / Virtual Arsenal

Log Files:

Additional context:
Add any other context about the problem here.
The issue simply happens because the overfill function only loops through "item / items" type of cargo.

Screenshots:
If applicable, add screenshots to help explain your problem.
I have a video: https://www.youtube.com/watch?v=ZJP4ysbrqJw
In the video you can notice that the toolkit which is an item is removed while the magazines, rockets, and chemlights of type magazine are not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions