Skip to content

Releases: overextended/ox_inventory

v2.6.1

19 Mar 03:09
Compare
Choose a tag to compare

Features

Bug Fixes

  • server/inventory: prevent indexing player when nil (Linden)
  • server/inventory: do not remap number to table when calling Inventory export (Linden)
  • server/inventory: fix customstash access (Linden)
  • client: use proper value for 'dead' #610 (mmleczek)
  • server: fix lazy stash registration (Linden)
  • server/inventory: respect stash.owner false/nil (Linden)

Styles

  • client: camelCasing for locals (Linden)

Code Refactoring

  • server/inventory: allow stashes to be loaded from server (Linden)
  • client: add 'dead' to statebag handler (Linden)
  • server: stash group access permissions (Linden)
  • server/inventory: redundant var assignments (Linden)

Chores

  • fxmanifest: version (Linden)

Commits

  • 9567129: Fix error server.lua136 table index is nil on additem with a full inv (Alex Garcio) #616

v2.6.0

11 Mar 23:45
Compare
Choose a tag to compare

Features

  • nui: Ability to copy weapon serial number (Luke)
  • client: Custom context buttons #596 (ANTOND)
  • server/logs: implement the discord logging morons wished for (Linden)
  • client/nui: Ability to display custom metadata (Luke)

Bug Fixes

  • locales: Update Si.lua (#590) #590 (PandaSLO)
  • locales: Update ui_copy and ui_ctrl_c for cs locale (#591) #591 (CatalystDevs)
  • init: if not lib (Linden)
  • client: don't set dumpsters as mission entities (Linden)
  • nui: Show serial copy in context only if it exists (#600) #600 (Dolu)
  • server/inventory: container weight calculations (Linden)
  • client: check if player is dead during each state of item use (Linden)

Code Refactoring

  • nui/context: Remove separate file #596 (ANTOND)
  • nui/context: Use proper typing #596 (ANTOND)
  • spam errors and prevent modules from loading (Linden)
  • locales/nl: dutch translation of copy serial number (#598) #598 (Demian Vonk)
  • server: move ox_inventory:swapItems to inventory module (Linden)
  • server/inventory: adjust scope of locals during swapItems (Linden)
  • server/logs: report status codes (Linden)

v2.5.5

04 Mar 06:00
Compare
Choose a tag to compare

Bug Fixes

  • client: revert some micro-optimisations (Linden)

v2.5.4

04 Mar 00:17
Compare
Choose a tag to compare

Features

  • support equipping weapons with depleted durability (Linden)

Bug Fixes

  • client: don't open inventory while already in one (Luke)
  • client: lib.callback arguments (Linden)
  • client: disable cinematic camera when weapon is equipped (Linden)
  • locale: no_durability should accept item label as a parameter (Linden)

Code Refactoring

  • remove config.cfg (Linden)
  • server/inventory: assign commands to group.admin (Linden)

Performance Improvements

  • client: nano-optimisations (Linden)

Commits

  • c08da3b: Revert "fix(client): don't open inventory while already in one" (Luke)

v2.5.3

03 Mar 14:58
Compare
Choose a tag to compare

Bug Fixes

  • server: reference stash.name rather than id (Linden)
  • server: typecheck data when opening stash (Linden)

v2.5.2

03 Mar 07:16
Compare
Choose a tag to compare

Bug Fixes

  • server: Perform Items.CheckMetadata before calculating weight (Linden)
  • server: stash name and owner formatting during openInventory (Linden)
  • client: incorrect lib.callback function when buying license (Linden)

v2.5.1

03 Mar 01:43
Compare
Choose a tag to compare

Bug Fixes

  • interface/client: missing lib index at disableControls (#585) #585 (Demian Vonk)
  • setup/dbcleanup: table should not contain holes (Linden)
  • setup/dbcleanup: use transaction instead of prepare (Linden)

v2.5.0

02 Mar 06:53
9e6d51d
Compare
Choose a tag to compare

Features

Bug Fixes

  • server/inventory: incorrect id sent to Inventory.Remove #582 (Linden)
  • server/inventory: incorrect id referenced during prepareSave #582 (Linden)

Code Refactoring

Commits

  • f65e4a9: Added functionality to convert esx_property (root-dm) #563

v2.4.5

28 Feb 04:21
Compare
Choose a tag to compare

Code Refactoring

  • dependency and version checks (Linden)
  • update lib references (Linden)

Chores

v2.4.4

26 Feb 20:43
Compare
Choose a tag to compare

Bug Fixes

  • client: send correct esx inventory events and data (Linden)
  • server/inventory: set inv.changed when using Inventory.SetSlot (Linden)

Code Refactoring

  • items/client: GetEntityMaxHealth for bandages (Linden)
  • inventory/server: Bulk-save inventories (Linden)