[BUG] Inventory - 2 bugs

Moderator: Moderation Access

User avatar
Posts: 198
Registered for: 1 year 1 month

[BUG] Inventory - 2 bugs

Post by ViolentViolet »

ScopeAll players

After dropping/deleting an equipped item, it is stuck and can no longer be unequipped.
Workaround Pick up item again, unequip, drop it again | Always unequip before delete/drop | Reconnect

Dropping/deleting the wrong item
Reproduction steps
  • Pick up a weapon
  • Equip weapons
  • Pick up a weapon of the same type
  • Select the second weapon, which you did not equip, and drop/delete
  • Now you can no longer unequip the first weapon you picked up
  • No clue what happens to the ammunition
I'm guessing a loop is run over an inventory array, searching for the object type, not the unique object ID.
The first match it deletes, which is the weapon I picked up first, and not the one I selected to drop/delete.
User avatar
Posts: 247
Registered for: 1 year 3 months

Re: [BUG] Inventory - 2 bugs

Post by Awide »

Been fixed.
I appreciate all the financial support going towards the server!


-- I am on absence. Please reach out to KidneyStones or Vectra regarding anything! --

Who is online

Users browsing this forum: No registered users and 0 guests