Page MenuHomeFeedback Tracker

loadAbs returns doubled mass for items within containers inside inventories
Feedback, 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

It's not only what the command loadAbs returns. The double mass also prevents adding new items in containers, acting like real mass in that sense.

dedmen set Ref Ticket to https://feedback.bistudio.com/T167469.Jul 15 2024, 2:19 PM
dedmen changed the task status from New to Feedback.