Releases: overextended/ox_inventory
Releases · overextended/ox_inventory
v2.40.1
v2.40.0
Features
- server/shops: add fromSlot to buyItem hook payload (#1638) #1638 (ANTOND)
- client: add convar inventory:disableweapons (Linden)
- convars inventory:dropslots and inventory:dropweight (Linden)
Bug Fixes
- client/nd: properly update groups (#1661) #1661 (Andy)
- server/inventory: round count in 'Inventory.Set' (#1683) #1683 (Gamzky)
- server/inventory: remove notification in CanCarryItem (#1682) #1682 (Gamzky)
- client: reset 'swapActive' when newdrop fails (#1685) #1685 (Gamzky)
- web/InventorySlot: incorrect types used for timer (#1678) #1678 (T-001 v.2 r.3)
- client: don't turn ped during trunk check (#1686) #1686 (Gamzky)
- web: reset 'shiftPressed' in inventory setup (#1687) #1687 (Gamzky)
- server/inventory: clean-up random loot generation (Linden)
- server/inventory: incorrect count passed to swapItems hook (Linden)
Code Refactoring
- client: show notification when using item while armed (Linden)
Chores
v2.39.1
v2.39.0
Features
- add useSlot item anim skip (#1614) #1614 (Austin Dunn)
- server: add netId to openInventory hook payload (#1639) #1639 (ANTOND)
- modules/weapons: add convar to disable weapon item notifications (#1637) #1637 (ANTOND)
- b3095 weapons (#1581) #1581 (mikigoalie)
Bug Fixes
- server/shops: use metadata label over item label (#1606) #1606 (FjamZoo)
- items: set prop as array when using propTwo (Linden)
- client/bridge: reset item count on logout (Linden)
- server/inventory: support for item name in GetItemSlots (#1591) #1591 (ANTOND)
- bridge/qb: character name not showing on inventory (#1608) #1608 (Snipe)
- bridge/nd: updating player data (#1633) #1633 (Andy)
- client/qb: hasItem fix when item does not exist (#1587) #1587 (someone)
- minor type tweaks (Linden)
- server/inventory: pcall when saving inventories (Linden)
- server/mysql: inv save format error (#1646) #1646 (Ethan)
- client/weapon: always trigger updateWeapon when disarming player (Linden)
Code Refactoring
- items: minor item tweaks (Linden)
- server/mysql: trigger saves in separate threads (Linden)
- server: explicitly check inventory data is a table (Linden)
Chores
- web/images: new base images (Linden)
- web: minor clean-ups #1618 (Demetrio M)
- web/images: additional base images (Linden)
- deps: bump semver from 6.3.0 to 6.3.1 in /web (#1648) #1648 (dependabot[bot])
- deps: bump postcss from 8.4.19 to 8.4.35 in /web (#1649) #1649 (dependabot[bot])
- deps-dev: bump vite from 4.0.0 to 4.5.2 in /web (#1650) #1650 (dependabot[bot])
- deps: bump json5 from 2.2.1 to 2.2.3 in /web (#1652) #1652 (dependabot[bot])
- deps: bump @babel/traverse from 7.20.5 to 7.24.0 in /web (#1651) #1651 (dependabot[bot])
- locales: update et.json (#1640) #1640 (Nuga)
- locales/cs: add missing phrases, corrections (#1636) #1636 (ANTOND)
- web/images: update images (Linden)
Commits
v2.38.1
v2.38.0
Features
- client: add canUseWeapons player state (Linden)
- client: fire event on weapon component update (#1553) #1553 (mikigoalie)
- usedItem event (Linden)
Bug Fixes
- client: weapon check on item use (Linden)
- client: giveitem vehicle check (Linden)
- server/inventory: dumpster loot generation (Linden)
- server/inventory: missing export for GetSlotIdsWithItem (#1565) #1565 (FjamZoo)
- convert/qb: use existing serials (#1567) #1567 (FjamZoo)
- client: prevent swapItems when usingItem (Linden)
- server: usedItem event invid (Linden)
- bridge/nd: add boss check (#1578) #1578 (Andy)
Code Refactoring
- server/items: assign serial numbers on weapons in stashes (#1570) #1570 (FjamZoo)
- bridge/nd: status values & character loaded event (#1574) #1574 (Andy)
Chores
v2.37.4
v2.37.3
Bug Fixes
- web: allow item movement/scroll if inventory type is admin (Luke)
- rerender slots when using SetSlotCount while client is in inventory (Luke)
- inventory: restrict item swaps when inspecting inventory (Linden)
- server/inventory: remove left over prints (#1557) #1557 (FjamZoo)
- server/inventory: clearevidence arg (Linden)
Chores
- web: ensure isBusy is always set to false when opening inventory (Luke)