Page MenuHomeFeedback Tracker

loadAbs returns doubled mass for items within containers inside inventories
New, NormalPublic

Description

Noticed this open PR and wanted to verify if it was still broken - it still is.

When using loadAbs on inventories, it counts the mass of the items inside of the uniforms, vests and backpacks twice.

E.g:
Place a uniform and 1 MX 30 Rnd magazine inside an inventory separately (I used a HEMTT and a supply crate to test):

loadAbs cursorObject // returns 50, correct

Place same magazine inside uniform, then place in same inventory:

loadAbs cursorObject // returns 60, incorrect

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Operating System Version
Windows 11, 21H2, 22000.918
Category
Inventory
Steps To Reproduce
  1. Spawn in a container with inventory space (e.g vehicle or crate).
  2. Use loadAbs on in these different configurations:
    • Vest and 1 misc. item, place in inventory
    • 1 misc. item within vest, place in inventory
Additional Information

Arma 3, profiling branch, 2.10.149901

Event Timeline

johnb43 created this task.Sep 11 2022, 9:57 AM