AsYetUntitled / Framework

Altis Life RPG mission framework for Arma 3 originally made by @TAWTonic.
Other
245 stars 308 forks source link

Medic Inventory Disappears? #726

Open Cocaina-Ricky opened 4 years ago

Cocaina-Ricky commented 4 years ago

Expected behaviour

When item drops on floor and you pick it up as a medic, it's supposed to stay on character.

Actual behaviour

When you drop item on the floor as a medic and pick it up, your whole inventory disappears.

This only happens on medics. Cop & Civ is okay

Steps to reproduce the behaviour

  1. Buy something default from weapon shop (FirstAidKit) > Drop it on the floor and pick it back up = loss of whole inventory

RPT and/or extDB3 logs (if applicable)

Nothing on ExtDB Logs:

Server RPT: https://pastebin.com/6LGH0rD3

Client RPT: https://pastebin.com/rtkfWqJF


Mission version: 5.X.X

Launcher version: Latest

Game version: Latest

Branch: Stable?

DomT602 commented 4 years ago

https://github.com/AsYetUntitled/Framework/blob/v5.X.X/Altis_Life.Altis/config/Config_Master.hpp#L92 If this var is set to false you should be OK. The issue with the code is half the items in ArmA are technically weapons (as they're found in CfgWeapons) so really we need better detection whether it is actually a weapon.

Cocaina-Ricky commented 4 years ago

It was in my eyes. Yeah it fixed it, but why is FAK a weapon........ Like some of these aren't even weapons haha.