Commit Graph
91 Commits
Author SHA1 Message Date
MrNewb fa9ea6e6eb image path tweaks 2025-08-03 15:22:33 -04:00
Mr.Crowley 466e86bfdb targets and inventory update
Targets:

sphearzone should not take a heading, removed

optional debug at the end for individual debugging

Inventory:

Added OpenPlayerInventory for all inventories.
2 (aka codem and qs) did not have clear documentation. Probably doesnt work
2025-07-28 00:10:51 -05:00
MrNewb 2cb847c8cd this is bad but just trying to prevent anything they might run into. 2025-07-09 22:10:19 -04:00
MrNewb 33a9b6ba69 Framework.ItemList for esx and a catchall for qbox 2025-07-09 22:08:44 -04:00
Quin Schurman aefcf8eee2 feat(inventory): add item list function 2025-07-09 17:26:16 -04:00
MrNewb 5dc2321d67 Remove all uses of ox_lib callbacks in favor of internal option
This seems fine, Crowley created the callback system in bridge so will need review
2025-06-28 16:52:01 -04:00
MrNewb 0de3a048be prevent imposters
multiple inventories provide as ox but dont support many of the exports, because of this we have to do solutions like this.
2025-06-18 09:55:22 -04:00
MrNewb 60676d8493 Shops all register/open server side
This allows for fallback system to take over
2025-06-16 21:40:51 -04:00
MrNewb 02e47991db correct second fallback 2025-06-11 22:29:26 -04:00
MrNewb 5e8e2e40db fix fallback 2025-06-11 22:28:27 -04:00
MrNewb 0a4795430d Update server.lua 2025-06-10 01:30:57 -04:00
MrNewb 4c16e432ef wrong key -- oops 2025-06-09 20:34:09 -04:00
MrNewb 93ae1411e8 touch up 2025-06-09 17:13:30 -04:00
MrNewb 6c6b4e9e86 GetPlayerInventory client side patch
amount instead of count is listed, should be good now
2025-06-09 15:53:30 -04:00
MrNewb 6ae273544d origin inventory patch
the getinventory export returns a table of nested values, inside there is a inventory table. This gets us by on the compatibility. It appears that many of the exports have changed, I have tested this on the latest version with a resource that makes use of these items. Also they use amount, I "think" they used to use count but im 100% they use metadata & info tables.
2025-06-09 15:47:25 -04:00
MrNewb 63c644d277 AddTrunkItems + testing across all bridged inventories 2025-06-08 04:36:53 -04:00
MrNewb c71a261115 chore(intellisense): improve parameter annotations and add missing comments
Touched up incorrect or missing Intellisense parameter annotations across several functions. Added some missing descriptions to improve editor support. Still more to do, but this is a small step forward for overall developer workflow. Also small fix in picklexp
2025-06-07 22:50:13 -04:00
MrNewb 866283162b touchup 2025-06-07 21:59:03 -04:00
MrNewb baf1c3b2a9 cleaned up intelisense, finsihed adding type to openstash, registration tweaks 2025-06-07 21:55:14 -04:00
gononono64 fcf0bec75a fixing le stashes 2025-06-07 20:33:11 -05:00
MrNewb 2f1134f268 Update server.lua 2025-06-07 21:13:43 -04:00
MrNewb 294fa7a959 tweak tgiann-inventory
Inventory.OpenStash = function(src, id, label, slots, weight, owner, groups, coords)

sub from id
2025-06-07 21:00:12 -04:00
MrNewb 0abb127503 patch for ps-inventory
Export isnt available
2025-06-07 20:58:49 -04:00
MrNewb 586a263fb6 fix manifest warning 2025-06-07 20:22:08 -04:00
MrNewb b5dd8c018c Update server.lua 2025-06-04 15:42:40 -04:00
MrNewb 05c80d9d10 feat(additemstotrunk & clearstash)
This is very wip, also a good bit of inventories dont support it at all. I have tested this in ox_inventory but not the others. uploading into repo as it does not break anything and may encourage collab
2025-06-04 15:25:20 -04:00
MrNewb 5efcc8ba23 Update server.lua 2025-06-04 14:42:36 -04:00
gononono64 ba111f1b52 Changed createshop to registershop
dont forget to update

usibg cache system for clothing
2025-05-24 22:10:39 -05:00
MrNewb 564aba63e1 remove change as qs reverted new name 2025-05-24 21:39:10 -04:00
gononono64 b9f5a3ed64 Small fix for client entities and qb stashes and shops
Shops: aligned format with others and removed the instant open (on create)

Stashes: Updated for new version of qb (exports)

Entities: returning point object
2025-05-24 15:36:05 -05:00
MrNewb 34f6756e3f This is gross and shameful, but resolves a bug with this inventory 2025-05-20 13:29:26 -04:00
MrNewb 0ccc861b33 Update server.lua 2025-05-19 14:16:23 -04:00
MrNewb 00f2fbb06c Merge branch 'dev' of https://github.com/The-Order-Of-The-Sacred-Framework/community_bridge into dev 2025-05-19 14:15:57 -04:00
MrNewb 5eeef298b6 qs-advancedinventory -- untested 2025-05-19 14:15:55 -04:00
gononono64 0d606bc859 Entity fix and stash update
Slimed OpenStash down to just an src and id instead of needing duplicate data.

Was not sure if this affects newb so im throwing it in a pr.
2025-05-19 07:20:23 -05:00
MrNewb 567bd7a824 TODO 2025-05-11 20:36:07 -04:00
MrNewb 7e0124f02e returns added everywhere per crowleys request 2025-05-10 00:01:56 -04:00
MrNewb 91d69a6742 wip 2025-05-09 06:21:18 -04:00
MrNewb e1235dfc7c reorganized, notation 2025-05-09 06:03:09 -04:00
MrNewb 53d27c528e minor cleanup, functions notated 2025-05-09 03:17:28 -04:00
MrNewb c651b767ba missing fallback added 2025-05-09 03:16:27 -04:00
MrNewb 485c2d3460 inv diagnostics + repacked tables 2025-05-09 02:00:02 -04:00
MrNewb 11114bf529 core_inventory compatibility
The current implementation isn’t the cleanest, but it gets the job done. I’ve had to rig parts of it together, and it hasn’t yet had a proper cleanup pass. This update adds support for core_inventory on both ESX and QB frameworks. Previously, the QB fallback worked fine, but an issue affecting ESX users was discovered.

To resolve this, a change was needed in how framework-registered usable items are handled—allowing us to pass the item’s ID as the slot when using core_inventory, while maintaining slot-based behavior otherwise. This approach ensures compatibility without requiring any modifications to other resources.

I've personally tested this on ESX, but since I haven’t been able to coordinate with the core_inventory team, QB Core users will essentially be the first wave of testers for this integration.
2025-05-06 14:39:29 -04:00
gononono64 3cb9829f4f Qs-inventory and Framework IsPlayerDead fixes
qs item info had typo. IsPlayerDead was missing last stand for qb
also removed couple debug prints
2025-05-04 11:06:55 -05:00
gononono64 64540c4c31 too many iteminfos 2025-04-21 04:54:35 -05:00
gononono64 bd0074a156 Inventory Update
Added serverside iteminfo and consolidated image path. Now returns full nui path in .image
2025-04-16 05:24:03 -05:00
MrNewb 663e3bc9c1 NEEDS TESTED -- Core Inventory 2025-04-13 19:58:51 -04:00
MrNewb e6ffe48d82 prints moved to prefexied prints + comments 2025-04-12 02:31:47 -04:00
MrNewb 801db83402 GetItemInfo fixes, oops
Ive also adjusted comments in here because it bugged me.
2025-04-12 02:30:38 -04:00
MrNewb d52574a3ce jpr seems to be qb only so updating this for image pathing 2025-04-10 07:04:46 -04:00