Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Placing rifle into gunbag consumes magazine #4927

Closed
Nich10solo opened this issue Feb 21, 2017 · 4 comments
Closed

Placing rifle into gunbag consumes magazine #4927

Nich10solo opened this issue Feb 21, 2017 · 4 comments
Assignees
Labels
Milestone

Comments

@Nich10solo
Copy link

Arma 3 Version: stable
CBA Version: stable
ACE3 Version: stable

Mods:

  • @CBA_A3
  • @ace

Description:

  • When placing a rifle into a gunbag, the magazine in the rifle disappears. When the rifle is pulled out of the gun bag, it has a magazine already loaded, but the player's magazine count is reduced by 1. This can be prevented by placing the magazine in the rifle in the player's inventory before placing the rifle in the gun bag. The magazine is not going into the inventory nor is it being left on the ground.

I have had multiple magazines disappear at one swap, but I haven't be able to reliably reproduce it without RHS also being loaded. With no other mods other than CBA and ACE, I've been able to reliably produce 1 magazine disappearing per placement in gunbag.

Steps to reproduce:

  • Get rifle, several magazines in inventory, and the ace gunbag
  • Note magazine count
  • Place rifle in gun bag
  • Get rifle out of gun bag
  • Note magazine count has been reduced by 1

Where did the issue occur?

  • Self-Hosted Multiplayer

Placed Modules:

  • Virtual Arsenal
@commy2
Copy link
Contributor

commy2 commented Feb 21, 2017

Problem is with addWeapon.
setUnitLoadout for this?

@PabstMirror
Copy link
Contributor

setUnitLoadout will break unique magazines and uniform/vest/backpack variables

@commy2
Copy link
Contributor

commy2 commented Feb 21, 2017

True. Other ideas? Readding the missing magazine I guess, but that might be a bit complicated.

@Nich10solo
Copy link
Author

Thank you all!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants