Skip to content

Releases: overextended/ox_inventory

v2.2.0

23 Jan 02:26
Compare
Choose a tag to compare

Notice

Before you go dropping the changes into your production server willy-nilly, use a test environment and ensure your convars are set properly.

Features

  • client: track item count and changes (Linden)
  • client: integrated NPWD support (Linden)
  • client: Allow more specific vehicle storage restrictions #470 (ANTOND)
  • logs: datadog logging (Linden)
  • client: Allow individual target icons and labels #485 (ANTOND)
  • locales: Default locale for stashes and evidence (#486) #486 (ANTOND)

Bug Fixes

  • client: always close the inventory when attempting to use an item (Linden)
  • shared/items: item counts shouldn't require item.client to exist (Linden)
  • server/shops: Ceil price to avoid free items #465 (ANTOND)
  • client: Allow closing open second inventory with same keybind (Luke)
  • server/inventory: canCarryItem should check if table contains value (Linden)
  • client: updateInventory tweaks (Linden)
  • init: Clearstashes should be server setting #484 (ANTOND)
  • client: Check if drops are loaded #487 (ANTOND)
  • client: incorrect convar check (Linden)
  • locales/it: Italian translation corrected (#488) #488 (Demetrio)
  • locales/de: Missing translations and a few words fixed. (#489) #489 (ItzTrivial)
  • locales: fixed incorrect english locale #491 (Dolu)
  • logs: import server.logs too late #491 (Dolu)
  • client: item count tracking (Linden)
  • client: check if player is loaded when logout triggers (Linden)
  • server/inventory: check if inventory exists during setJob (Linden)
  • shared/items: throwable items default to stackable (Linden)
  • server/items: weapon metadata (Linden)
  • update workflows (Linden)

Code Refactoring

  • move some shared values to client/server (Linden)
  • change updateInventory to updateSlots (Linden)
  • config: store shared.police as key-value pairs (Linden)
  • isPolice function moved to player module (Linden)
  • client/data: Allow trunk bone index definition (Luke)
  • rename player module to bridge (Linden)
  • carry limit notifications #478 (Dolu)
  • remove config.lua and utilise new convars (Linden)
  • locales: change carry limit message (Linden)
  • init: only set shared.framework to 'esx' when it's running (Linden)

Chores

  • fxmanifest: remove es_extended dependency (Linden)
  • update dependencies (Linden)
  • Update license (Luke)
  • cfg: update convars and add datadog (Linden)

Commits

v2.1.9

15 Jan 03:55
Compare
Choose a tag to compare

Features

Bug Fixes

  • client: Don't display hotbar in pause menu (#452) #452 (ffpetrozzi)
  • server/inventory: set inventory.containerSlot to nil (Linden)
  • server/inventory: remove invalid durability during Inventory.Load (Linden)
  • server/inventory: safely navigate v.metadata.durability (Linden)

Code Refactoring

  • client: change to ESX logic (Linden)
  • config: plan for future convar changes (Linden)
  • client/utils: remove all ped weapons during disarm (Linden)
  • client: add updateInventory function (Linden)
  • locales: Updated de.lua (#460) #460 (Linus)
  • ox table to shared (Linden)

Chores

Commits

v2.1.8

11 Jan 06:54
Compare
Choose a tag to compare

Bug Fixes

  • client: disable rolling when reloading (Linden)
  • client: desynced dumpster netid (Linden)
  • server/inventory: resolve crash when randomloot exceeds size (Linden)
  • client: cancelled items consumed (Linden)
  • server/inventory: remove inv.weapon when clearing items (Linden)

Code Refactoring

  • server/items: only check for items when using ESX (Linden)
  • server: export setPlayerInventory (Linden)

Chores

  • client: notify clients when triggering data.client.event (Linden)

v2.1.7

07 Jan 14:38
Compare
Choose a tag to compare

Bug Fixes

  • client: Don't allow same component types (Luke)
  • client: Don't allow usage of attachments without a weapon (Luke)
  • client/server: Properly return bool to server callback (Luke)
  • client: Notify if use component and not wearing weapon (#442) #442 (Dolu)
  • server/inventory: CustomDrop casing (DokaDoka)
  • server/inventory: Check for item limit (Luke)

Chores

  • Update fxmanifest (Luke)

v2.1.6

06 Jan 12:27
Compare
Choose a tag to compare

Bug Fixes

  • client: reset item position when swap fails (Linden)
  • client/interface: only disable keys when value is true (Linden)
  • server: close inventory when fromData is invalid (Linden)
  • server/inventory: correct durability removed per shot (Linden)
  • data/weapons: incorrect component variable (Linden)
  • client/interface: progressbar resets player before callback (Linden)

Code Refactoring

  • items: add item callback for npwd (Linden)

Chores

Commits

  • b5893de: Utilize Ped Config Flag checking for Cuff Status (Rio358) #434

v2.1.5

04 Jan 21:21
Compare
Choose a tag to compare

Bug Fixes

  • modules: datafile error messages (Linden)
  • client: properly reset invBusy (Linden)
  • client: remove invBusy toggling during open (Linden)
  • web: set imageSize when dragging item (Linden)

Code Refactoring

  • server/inventory: RegisterStash supports coords (Linden)

Commits

  • 316b9cd: Update README.md (Linden)

v2.1.4

03 Jan 18:18
Compare
Choose a tag to compare

Code Refactoring

  • server: failing to access a custom stash returns false (Linden)
  • client: openInventory return values (Linden)
  • client: remove ServerCallback timer from openInventory (Linden)

Chores

  • nui: Comment out unused imports (Luke)

v2.1.3

02 Jan 21:43
Compare
Choose a tag to compare

Bug Fixes

  • server: check for a valid weapon before using ammo (Linden)
  • server/inventory: ensure durability is a whole number (Linden)
  • weapon ammo update triggering twice (Linden)

Code Refactoring

  • client: useSlot checks for item, then data (Linden)
  • remove components from holstered weapons (Linden)

Chores

v2.1.2

02 Jan 16:59
Compare
Choose a tag to compare

Bug Fixes

  • server/shops: display player label when viewing shops (Linden)
  • shared/items: weird default stacking behaviour for weapons (Linden)

Chores

  • update release workflow (Linden)

Commits

  • web: improve UI scaling (Linden)

v2.1.1

02 Jan 00:36
Compare
Choose a tag to compare

Bug Fixes

  • server: await user_licenses check (Linden)

Code Refactoring

  • inventory/server: return inventory if it's a table (Linden)

Chores

  • web: upload weapon images (Linden)
  • fxmanifest version (Linden)