jimathy / jim_bridge

Framework bridge script
37 stars 17 forks source link

New qb-fix #26

Closed Mustachedom closed 3 months ago

Mustachedom commented 3 months ago

a few things outside of jim-bridge will need to be updated for qb-inventory to fully work. Registering shops has to be registered server side like ox_inventory but uses a slightly different format. I pasted the code in the discord channel.

has been tested by myself, and 5 others with no issue using new qb-inventory

DeeRock94 commented 3 months ago

Forgive me, I'm slightly new to this repository. Is the presumption here that for backwards compatibility, if a user is still on the old qb-inventory, i.e without the qb- prefix for events, that they'll now be technically using the PSInv as their inventory? I know PSInv is based heavily on the original QB Inventory structure i.e without the qb- prefix.

Presumambly if that's the case, anyone using the new QB inventory will just continue to use Qb when configuring it from the child script config that inherits from this bridge?

Mustachedom commented 3 months ago

unfortunately there is no way to make qb-inventory old work properly with this as we make calls to check what script is started so we will urge people to use ps/lj as because qb changed alot unless... gimme an hour i may have a solution in my brain but itll take some time and downgrading one of my locals

Mustachedom commented 3 months ago

as for the fix you pushed in the readme, i dont know if i can do a PR on this PR but if you submit a PR to my fork, ill pull it and then repush this