Skip to content

Releases: overextended/ox_inventory

v2.31.0

01 Jul 03:22
Compare
Choose a tag to compare

Features

  • server: add item decay (Linden)

Bug Fixes

  • server/inventory: update refreshMaxWeight for multi-access (Linden)
  • client/inventory: GetPlayerMaxWeight (Linden)
  • client: prevent updateInventory error on invalid data (Linden)
  • server/items: Items.UpdateDurability should not sync if unchanged (Linden)
  • server/inventory: Inventory.GetItem adds count twice (Linden)

Code Refactoring

  • client: print canOpenInventory fail reason (Linden)
  • client: disable NuiFocus warning (Linden)
  • server: move clearStashes query (Linden)
  • server/mysql: change UPDATE_STASH from upsert (Linden)
  • server/inventory: SetMetadata/SetDurability tweaks (Linden)

Chores

  • init: update docs link (Linden)

v2.30.7

20 Jun 21:42
Compare
Choose a tag to compare

Bug Fixes

  • client/crafting: check if data.zones is defined (#1373) #1373 (Polísek)
  • client: update currentWeapon.slot regardless of swap response (Linden)
  • server/inventory: save logic corrections (Linden)

Code Refactoring

  • items: ignore non-string item names in getItem (Linden)

Chores

  • init: update docs link and leave an angrier note for imbeciles (Linden)

v2.30.6

19 Jun 23:23
Compare
Choose a tag to compare

Bug Fixes

  • server/inventory: possible race condition when saving? (Linden)
  • server/mysql: unresolved promise when saving (#1371) #1371 (xXJamie_Xx)

Code Refactoring

  • server/mysql: print number of successfully saved inventories (Linden)
  • server/mysql: await all queries in db.saveInventories (Linden)

v2.30.5

17 Jun 18:54
Compare
Choose a tag to compare

Bug Fixes

  • server/setup: invalid query syntax when converting qb evidence (Linden)
  • data: shop/stash groups type (Linden)
  • server/qb: check and set correct license on buyLicense (#1367) #1367 (Katoteki)
  • client: edge-case errors on restart (Linden)

Code Refactoring

  • client: check if weapon can be equipped before using it (Linden)
  • server/inventory: save tweaks (Linden)
  • client: prevent swapItems if swap is active or unavailable (Linden)
  • client: tweak useItem handling (Linden)

v2.30.4

05 Jun 13:03
Compare
Choose a tag to compare

Bug Fixes

  • server/inventory: set Inventory.accounts in thread (Linden)
  • server/inventory: don't reject newdrop when slot ids match (Linden)
  • server/inventory: prevent error when loading ammo into a weapon with no ammo (Linden)

Code Refactoring

  • server: move accounts to convar (Linden)
  • server: account sync tweak (Linden)

v2.30.3

05 Jun 06:15
Compare
Choose a tag to compare

Bug Fixes

  • server/inventory: set inventory as closed after updating openedBy (Linden)
  • server/inventory: newdrop corrections (Linden)
  • server/qb: only sync money when value changes (Linden)
  • server/inventory: typo in drop creation (Linden)

Code Refactoring

  • remove threaded requires (Linden)
  • server/inventory: remove unused mismatch loop (Linden)

v2.30.2

01 Jun 03:23
Compare
Choose a tag to compare

Bug Fixes

  • server/inventory: don't remove empty drops when in use (Linden)

Code Refactoring

  • client: disable secondary keybind if bound to primary-key (Linden)

v2.30.1

28 May 05:54
Compare
Choose a tag to compare

Bug Fixes

Code Refactoring

  • server/inventory: clearActiveIdentifier command and print (Linden)

Chores

v2.30.0

21 May 10:56
Compare
Choose a tag to compare

Features

Bug Fixes

  • client/items: Items export wrapper function (Linden)
  • server: type fix (Linden)
  • server/inventory: check player endpoint if identifier is active (Linden)
  • server/inventory: incorrect id in hasActiveInventory (Linden)

Code Refactoring

  • client: trigger TaskReloadWeapon while in a vehicle (Linden)
  • client: add Wait after using weapon (Linden)

Chores

v2.29.2

12 May 01:05
Compare
Choose a tag to compare

Bug Fixes

  • server: don't call framework UseItem for weapons (Linden)

Code Refactoring