Releases: overextended/ox_inventory
Releases · overextended/ox_inventory
v2.23.1
v2.23.0
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
v2.22.5
v2.22.4
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
v2.22.2
v2.22.1
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
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
- data/weapons: sweeper shotgun (#1083) #1083 (wibowo#7184)
- server/inventory: stash weight (#1087) #1087 (hyprell)
- client: clear drops on logout (Linden)
- client: create drop props when syncing with server (Linden)
- client/shops: return blip id (Linden)
- client/shops: prevent duplicate model options (Linden)
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
- locales: indonesian locales (#1078) #1078 (helmimarif)
v2.21.0
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
Bug Fixes
- server/nd: reorderGroups causing error (#1050) #1050 (Andyyy7666)