Skip to content

Releases: overextended/ox_inventory

v2.9.3

07 Jul 00:54
Compare
Choose a tag to compare

Features

  • modules/init: load ox_core when framework is set (Linden)
  • server: support ox_core vehicle identifiers (Linden)

Bug Fixes

  • update inventory.weapon when client detects mismatch (Linden)
  • server/items: clearstashes convar (Linden)

Code Refactoring

  • mysql: extra query formatting (Linden)
  • client/utils: eliminate dead code (Linden)
  • server/items: usable item callbacks (Linden)
  • bridge: delay loading ESX (Linden)
  • server/items: prevent errors if items table is removed (Linden)

Chores

  • update discord link in readme (Luke)

Commits

  • client: send netid when opening vehicle inventory (Linden)

v2.9.2

01 Jul 10:26
Compare
Choose a tag to compare

A minor tweak during inventory creation to reduce some duplicate properties on the inventory (inventory.id / inventory.dbId) lead to two issues.

  • Inventory.Load explicitly used dbId for all inventories, leading to trunks and gloveboxes not loading in data
  • Save functions require the inventory.changed property to be true; this property is only updated when it is not nil

Bug Fixes

  • server/inventory: set changed property on vehicles (Linden)

v2.9.1

30 Jun 15:56
Compare
Choose a tag to compare

Bug Fixes

  • server/inventory: vehicle storage not loading items (Linden)

v2.9.0

29 Jun 22:48
Compare
Choose a tag to compare

Features

  • server/inventory: weapon validation (Linden)
  • ci/release: pnpm and version bumper (Linden)
  • server/inventory: add export to update vehicle stash ids (Linden)

Bug Fixes

  • web/components: removing weapon components (Linden)
  • server/items: metadata.ammo fix for "durability-based" weapons (Linden)
  • server: update inv.weapon when holstering weapon (Linden)
  • inventory/server: update currentWeapon when mismatch occurs (Linden)
  • utils/client: disarm when currentWeapon is nil (Linden)
  • client: weaponwheel not set back to false (Linden)
  • server/inventory: check if inv exists when saving (Linden)

Code Refactoring

  • server/items: remove old code (Linden)
  • server: store reference to player ped (Linden)
  • web: swap to pnpm (Linden)

Performance Improvements

  • client: seat onCache (Linden)

Commits

  • server/inventory: print a warning when fromInventory is nil (Linden)

v2.8.8

19 Jun 12:22
Compare
Choose a tag to compare

Features

Bug Fixes

  • mysql/server: set formatted queries (Linden)
  • logs/server: status code (Linden)
  • client: plyState scope (Linden)

Code Refactoring

  • mysql: new namespace, adjust query formatting (Linden)
  • mysql/server: ox_core compatibility (Linden)
  • client: invBusy state during init (Linden)
  • server: throw an error when receiving bad inventory data (Linden)
  • inventory/server: handle ox_core playerLogout (Linden)
  • client: pcall npwd exports (Linden)
  • server: don't sent player name when opening inventory (Linden)

Reverts

  • client: add data.client.event back (Linden)

v2.8.7

03 Jun 06:11
Compare
Choose a tag to compare

Features

Bug Fixes

Code Refactoring

  • ox_core groups support (Linden)

v2.8.6

24 May 05:17
Compare
Choose a tag to compare

Bug Fixes

  • server/shops: check for groups and jobs before showing a warning (Linden)
  • server/inventory: prevent taking items from evidence when swapping (Linden)
  • client: vehicle storage checks (Linden)

Code Refactoring

  • client: update lib.points (Linden)

Chores

Commits

v2.8.5

20 May 10:20
Compare
Choose a tag to compare

Bug Fixes

  • shop/server: player afford free item (#711) #711 (PyschoShock)
  • shop/server: player afford free item (#712) #712 (xrtw)
  • server/inventory: metadata.weight results in incorrect inv.weight (Linden)

Commits

  • server/shops: warn when item is grade-restricted, but has no job (Linden)

v2.8.4

10 May 02:54
Compare
Choose a tag to compare

Features

Bug Fixes

  • client: weaponSlot assignment during swapItems #680 (Aaron)
  • client: compare distance to inventory max distance (Linden)
  • server: send right inventory max distance to client (Linden)
  • server/inventory: clone item metadata when moving to a new slot (Linden)
  • client: melee weapon usage when using aimedfiring convar (Linden)
  • server: use generic item.name instead of v.name (Linden)
  • client/shops: properly remove points (Linden)
  • server/inventory: RemoveItem should not overwrite metadata (Linden)
  • server/shops: Check if price is lower than 0 (#709) #709 (PlouffeLuL)

Code Refactoring

  • server/inventory: only clone toData.metadata when splitting (Linden)
  • client/shops: assign shopid to shops when using qtarget (Linden)
  • server/inventory: inventory sync when "stealing" (Linden)

Chores

Commits

v2.8.3

24 Apr 14:12
Compare
Choose a tag to compare

Bug Fixes

  • server/inventory: custom drop creation #678 (bot-rom)
  • client: sync currentWeapon.slot with the server (Linden)
  • server/inventory: weapon slot syncing (Linden)
  • server/inventory: Search returns incorrect value for invalid items (Linden)
  • server/inventory: incorrect index when turning single item (Linden)
  • client: drops creation on load (Linden)

Chores