Skip to content

Releases: overextended/ox_inventory

v2.16.0

08 Nov 07:17
Compare
Choose a tag to compare

Features

  • event hooks (#939) #939 (Linden)
  • server/inventory: prevent duplicate identifiers from logging in (Linden)
  • server/inventory: add swapItems hook to giveItem (Linden)
  • server/hooks: removeHooks export (Linden)
  • server/hooks: assign hookId and allow removal by id (Linden)

Bug Fixes

  • server/items: don't set durability if consume is 0 (Linden)
  • server/bridge: default playerDropped event (Linden)
  • server: auto-convert qb-inventory data (Linden)
  • client: accept icon and iconColor on target settings (Linden)
  • server/hooks: Add id param to removeHooks (#942) #942 (PlouffeLuL)

Code Refactoring

  • server/nd: set vehicleColumn to id (#932) #932 (Andyyy7666)
  • server/shops: buyItem formatting (Linden)
  • server/inventory: change Inventory.Remove arguments (Linden)
  • server/hooks: filter functions (Linden)
  • server/inventory: rename hook field (Linden)
  • client: open van doors when accessing "trunk" (Linden)

Chores

  • server: add a comment about errors during server.UseItem (Linden)
  • init: update ox_lib dependency (Linden)
  • locales: simplified chinese (Linden)

Commits

  • client: set playerPed local for nano-optimisation (Linden)

v2.15.1

30 Oct 09:28
Compare
Choose a tag to compare

Bug Fixes

  • server/inventory: only index string ids (Linden)

v2.15.0

29 Oct 19:31
Compare
Choose a tag to compare

Features

  • server/inventory: AddItem and RemoveItem return values (#918) #918 (Tristan)
  • client: register client callback to fetch vehicle data (Linden)
  • server/inventory: support loading vehicle inventory data (Linden)
  • server/inventory: support loading evidence inventory data (Linden)
  • server/inventory: GetInventory and GetInventoryItems exports (Linden)

Bug Fixes

  • server/items: ensure items with partial consumption have durability (Linden)
  • server/items: don't compare nil with number (Linden)
  • server: check inventory:versioncheck convar (Linden)
  • client: safely invoke item callbacks (Linden)
  • server/inventory: AddItem async response (Linden)
  • server: ignore boolean on openInventory (Linden)
  • server: vehicle inventory access (#927) #927 (Cyril Beeckman)
  • client: inventory soft-lock when closing during drop creation (Linden)

Code Refactoring

  • client/shops: use AddTextEntry for blips (#923) #923 (MrNewb)
  • move trimplate to server (Linden)
  • init: remove versioncheck variable (Linden)
  • client: don't send vehicle class/model when opening inventory (Linden)
  • server/inventory: minor code improvements (Linden)
  • client: remove Wait on CreateDrop (Linden)

Chores

v2.14.1

24 Oct 06:13
Compare
Choose a tag to compare

Bug Fixes

v2.14.0

23 Oct 21:18
Compare
Choose a tag to compare

Features

  • server/qb: convert inventory function (#904) #904 (BerkieBb)
  • client: trigger item.client.add on setup (Linden)
  • server/inventory: trigger "steal" notifications (Linden)
  • server/shops: RegisterShop export (Linden)

Bug Fixes

  • client: disarm player on drop creation (Linden)
  • server/bridge: always handle playerDropped event (Linden)
  • server/shops: fallback slot price (Linden)
  • client: weapon autoswap (Linden)
  • server/mysql: type (Linden)
  • client: trigger updateInventory when purchasing items (Linden)
  • client: set item.count to 0 on setup (Linden)
  • server/qb: set Items ref (Linden)
  • client: race-condition when closing inventory on drop creation (Linden)
  • server/shops: prevent invalid shop being sent to client (Linden)
  • convert/qb: check plate owner is valid (Linden)
  • cd: include locales with release (Linden)

Styles

Code Refactoring

  • client: disarm player before triggering swapItems (Linden)
  • items: improve types (Linden)
  • init: update deprecated field (Linden)
  • client: items indexing (Linden)
  • client: update lib.points api (Linden)
  • client: disable hotbar when progressbar is active (Linden)
  • use lib.locale (Linden)
  • client: use lib.addKeybind (Linden)
  • server/nd: remove nd_core buyLicense function (Linden)
  • client/utils: RegisterNetEvent for ItemNotify (Linden)
  • server: unused locals (Linden)

Chores

Commits

v2.13.2

14 Oct 07:58
Compare
Choose a tag to compare

Bug Fixes

  • data/items: comma for item imports (#892) #892 (izMystic)
  • client: more lenient nui focus check on openInventory (Linden)
  • locales: better french language (#897) (Dolu)

v2.13.1

10 Oct 13:44
Compare
Choose a tag to compare

Bug Fixes

  • init: ox_lib version dependency (Linden)

v2.13.0

10 Oct 00:27
Compare
Choose a tag to compare

Features

  • modules: pefcl support (Linden)
  • server/inventory: consume durability on item use (Linden)
  • data/items: mastercard (Linden)
  • web: gray out and darken item with 0 available stock (Luke)
  • data/weapons: extra weapons/ammo (Linden)
  • server: extra logging (Linden)

Bug Fixes

  • client: newDrop forcibly opens when disarming (Linden)
  • client: don't open inventory when NUI is focused (Linden)
  • client: infinite throwables from cars (Linden)
  • convert/qb: check parameters when updating player_vehicles (Linden)
  • client: Don't allow hotkeys in pause menu and nui (#888) #888 (ANTOND)
  • data/weapons: heavyrifle ammo (#885) #885 (izMystic)
  • client: check for fertilizercan (Linden)
  • server/inventory: putting overweight items in container (#887) #887 (Axel2222)

Code Refactoring

  • client: target debug and drawSprite options (Linden)
  • server/items: don't remove durability during CheckMetadata (Linden)
  • server/shops: createShop function (Linden)
  • server/logs: use ox_lib logger (Linden)
  • server: log level 1 (Linden)

Chores

  • partial type declarations (Linden)

v2.12.3

24 Sep 02:43
Compare
Choose a tag to compare

Features

Bug Fixes

  • shared/items: set data.close and data.consume (Linden)
  • server/inventory: make the Inventory.Clear keep param work (Linden)
  • server/inventory: remove metadata spam from AddItem (Linden)
  • server/qb: correct playername format (Linden)
  • setup/convert: undefined metadata table #861 (BerkieBb)
  • modules/bridge/qb/server: wrong variable #861 (BerkieBb)
  • locales/tc: broken key name (#862) #862 (JinFa)

Code Refactoring

  • client: don't disable firing when progressbar is active (Linden)
  • don't hardcode resource name (Linden)
  • data/items: remove lockpick usable bits (Linden)

Chores

Commits

  • a26b468: fix(web: truncate item durability in the tooltip (Luke)

v2.12.2

17 Sep 12:22
Compare
Choose a tag to compare

Bug Fixes

  • shared/items: set data.close and data.consume (Linden)
  • server/inventory: make the Inventory.Clear keep param work (Linden)
  • server/inventory: remove metadata spam from AddItem (Linden)
  • server/qb: correct playername format (Linden)

Code Refactoring

  • client: don't disable firing when progressbar is active (Linden)

Commits

  • cc44521: fix(web: truncate item durability in the tooltip (Luke)