Skip to content
This repository was archived by the owner on Apr 19, 2025. It is now read-only.

Releases: overextended/ox_inventory

v2.7.1

30 Mar 12:43

Choose a tag to compare

Bug Fixes

  • client: fix weapon, ammo, and component usage (Linden)

v2.7.0

30 Mar 11:29

Choose a tag to compare

Features

  • items: support server-side item hooks (Linden)

Bug Fixes

  • server/mysql: UPDATE_PLAYER should reference charid (Linden)
  • server/inventory: openStash inventory type (Linden)
  • setup/dbcleanup: parameters > 0 (Linden)
  • locales: Update it locales (#631) #631 (ffpetrozzi)
  • server: don't call setPlayerData because creating the inventory (Linden)
  • client: disable dumpster access while in a vehicle (Linden)
  • web: use currency locale (Linden)
  • client: items not consumed on use (Linden)

Code Refactoring

  • client: set Utils.WeaponWheel state when nil (Linden)
  • bridge/server: tonumber player.source (Linden)
  • client: explicitly set firetruck weapon (Linden)
  • shared/items: item type as variable, and support weapon model (Linden)
  • support updated item data (Linden)
  • server/shops: only randomise prices when using 'money' (Linden)
  • server/items: trigger ox_inventory:itemList on start (Linden)
  • server/items: don't set description as an empty string (Linden)
  • server/items: remove SQL item deletion (Linden)
  • server/inventory: prevent maxWeight under 1000 (Linden)

Chores

Commits

v2.6.1

19 Mar 03:09

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

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

Choose a tag to compare

Bug Fixes

  • client: revert some micro-optimisations (Linden)

v2.5.4

04 Mar 00:17

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

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

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

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

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