Skip to content

Releases: overextended/ox_inventory

v2.23.1

07 Feb 12:08
Compare
Choose a tag to compare

Bug Fixes

  • client/shops: don't draw markers for ped shops (Linden)
  • client/shops: use goto to continue iterating (Linden)

Code Refactoring

  • init: use GetConvarInt for bool (Linden)

Chores

v2.23.0

07 Feb 03:53
Compare
Choose a tag to compare

Features

  • client/shops: support for shop peds (Linden)
  • shared: remove ammo from weapons (Linden)
  • client: getCurrentWeapon export (Linden)

Bug Fixes

  • client: actually update current weapon ammo on unload (Linden)
  • client: send value to removeAmmo nuicb (Linden)
  • server/inventory: don't disarm player on weapon break (Linden)
  • client: sync currentWeapon.metadata when updating slots (Linden)
  • client: client-side durability calculation (Linden)
  • client: sync ammo when autoreload fails (Linden)
  • client: correction to opening player inventory (Linden)

Code Refactoring

  • client: include warning about nuifocus when opening inventory (Linden)
  • server/inventory: UpdateVehicle tweaks (Linden)
  • shared/items: cash alias for money (Linden)
  • web/typings: add ammoName to ItemData (Linden)
  • web/SlotTooltip: include ammo type (Linden)
  • client: send ammoname to ui, adjust locales (Linden)
  • shared: use callback event for ammo removal (Linden)
  • client: reduce weapon timer (Linden)
  • web: memoize item data and remove early return (Luke)
  • client: return on net events triggered by the client (Linden)
  • client: check coords when opening player inventory (Linden)

Chores

  • locales/en: ammo_type (Linden)
  • locales/en: ui_remove_ammo (Linden)

v2.22.5

02 Feb 01:39
Compare
Choose a tag to compare

Bug Fixes

  • client: check weaponHash after mismatching twice (Linden)

Code Refactoring

  • use script warning system (Linden)
  • server/items: less wordy compatibility warning for ESX (Linden)
  • client: player inventory access validation (Linden)

v2.22.4

01 Feb 06:59
Compare
Choose a tag to compare

Bug Fixes

  • setup/convert: set as "started" after guard clause (Linden)
  • server/inventory: validate command args and success (Linden)

Code Refactoring

  • client: reload tweaks (Linden)
  • client: run TaskSwapWeapon when out of ammo while in a vehicle (Linden)
  • client: additional ammo tweaks (Linden)
  • client: forcibly set ped weapon during mismatch (Linden)
  • client: anim tweaks (Linden)
  • server/inventory: return value from SetItem (Linden)

Chores

v2.22.3

30 Jan 21:32
Compare
Choose a tag to compare

Bug Fixes

  • client/weapon: set ammo for throwables (Linden)

v2.22.2

30 Jan 03:55
Compare
Choose a tag to compare

Bug Fixes

  • client: check instance when accessing closest inventory (Linden)
  • client/weapon: set melee flag based on damage type (Linden)
  • client: use slotData for error handling during useItem (Linden)

Chores

  • server/pefcl: add compatibility note (Linden)

v2.22.1

24 Jan 04:54
Compare
Choose a tag to compare

Bug Fixes

  • client/weapon: set infinite ammo after reloading (Linden)
  • client: prevent negative ammo on durability-based weapons (Linden)
  • weapon: weapon hash check (#1102) #1102 (wtfmozart)
  • server/crafting: don't set crafted item slot for unstackable items (Linden)

Code Refactoring

  • server/inventory: always syncInventory when updating weapon (Linden)
  • crafting: labels and locales (#1096) (Skryptec)

Chores

v2.22.0

14 Jan 12:16
Compare
Choose a tag to compare

Features

  • server/inventory: CreateDropFromPlayer (Linden)
  • client: support different models for drops (Linden)
  • server/inventory: add model argument to CustomDrop (Linden)
  • client/utils: DeleteEntity (Linden)

Bug Fixes

Code Refactoring

  • server/inventory: dropIds (Linden)
  • server/inventory: combine custom and internal stashes (Linden)
  • client/inventory: open stashes by name (Linden)
  • client/utils: CreateBlip (Linden)
  • client/shops: tweak shops instantiation and refresh (Linden)
  • client: rename drops table (Linden)
  • client: change canUseItem requirements (Linden)

Chores

v2.21.0

02 Jan 05:18
Compare
Choose a tag to compare

Features

  • Metadata image URL support (png & apng) #1055 (uShifty)
  • Host/Filetype whitelist, Discord Logs Integration #1055 (uShifty)
  • client: support for drop props (Linden)

Bug Fixes

  • Added Drag Preview & Item Notification fixes #1055 (uShifty)
  • Lindens Requested Changes #1055 (uShifty)
  • Missed inconsistent string #1055 (uShifty)
  • server/inventory: GetSlot on empty slots (Linden)
  • crafting: validate crafted items and ingredients (Linden)
  • server/esx: ensure weapon license exists (Linden)
  • server/inventory: clone metadata during AddItem (Linden)
  • client: disable cinematic camera on weapon equip (Linden)
  • client: don't disarm while planting bombs (Linden)
  • client/weapon: special ammunition (Linden)

Code Refactoring

  • server: move DiscordEmbed to Utils (Linden)
  • server/inventory: DiscordEmbed when updating imageurl (Linden)
  • server/inventory: don't unload stashes tied to a valid netid (Linden)
  • client: prevent giving to invisible players (Linden)
  • server/items: don't remove durability for "invalid" items (Linden)
  • server/utils: support webp for imageurl (Linden)

v2.20.1

20 Dec 16:18
Compare
Choose a tag to compare

Bug Fixes