Releases: overextended/ox_inventory
Releases Β· overextended/ox_inventory
v2.9.3
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
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
v2.9.0
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
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
Features
- locales: Arabic locales (#729) #729 (El Vod Kaa)
Bug Fixes
- server/inventory: CanCarryItem (#732) #732 (PlouffeLuL)
- client: reloading in vehicles (Linden)
Code Refactoring
- ox_core groups support (Linden)
v2.8.6
v2.8.5
v2.8.4
Features
- weapon/component: add missing components (#708) #708 (PyschoShock)
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
- update version (Linden)
Commits
v2.8.3
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
- update version (Linden)