#ox_inventory dont work

1 messages · Page 1 of 1 (latest)

rough glen
#

Read the errors
Its looking for an esx object..
Do you use the most recent version of ox inventory or the last one that supported qb core ?

ornate reef
#

yes im in qbcore

#

@rough glen how fix it im not esx im on qbcore

rough glen
#

What inventory version do you have ?

ornate reef
#

qb_inventory

#

@rough glen

#

im use qb

#

@rough glen

rough glen
#

Yes I understand but you need to make the bridge file for the framework. Because ox does not support qb out of the box

#

Or someone here can share you theirs

ornate reef
#

how

#

@rough glen

fast warren
#

ox_inventory

#

Use version 2.41.0

#

Above 2.41.0, it doesn't support qbcore

#

Once you've downloaded it, please mention me and I'll tell you what to do next

#

@ornate reef

ornate reef
#

show me install sent me link.

#

@fast warren

fast warren
#

I can't find that video anymore I can teach you how to install it

ornate reef
#

@fast warren

fast warren
#

Are you currently installing version 2.41.0?

#

If so, please add config.cfg to the ox_inventory folder

ornate reef
#

yes im

#

i did

terse mica
#

I’m having the same issue

#

With myn

ornate reef
#

bro make your own post

#

@fast warren

fast warren
#

server.cfg

#

Add exec@ox_inventory/config.cfg and ensure ox inventory

ornate reef
fast warren
#

exec@ox_inventory/config.cfg It should be before ensure ox inventory

#

👀

ornate reef
#

i already did it

fast warren
#

exec@ox_inventory/config.cfg
ensure ox inventory

ornate reef
#

work thanks

#

@fast warren

fast warren
#

It's okay, I'll be happy if your problem is solved

ornate reef
#

it work

fast warren
#

@terse mica

terse mica
#

ima try it

fast warren
#

ok

#

It will definitely work

#

👀

terse mica
#

i dont see the error no more

#

am i able to update the client and server.lua that overextended updated or do i have to keep it old version

fast warren
#

You can try

terse mica
#

?

#

ok

fast warren
#

I haven't updated so I can't give you an answer

#

I suggest you keep the old version

#

Bro

terse mica
#

ok

#

Do yo know the old version of ox target that supports qb

fast warren
#

Because his update note clearly states that qbcore is no longer supported

#

yep

terse mica
#

ok

fast warren
#

I'm also using ox target

fast warren
#

If you need it, I can send you the one I use

#

Do you need it, I'm going to sleep if I don't need it, because I have a time difference with you here@terse mica

terse mica
#

I think I downloaded 1.17

#

Could you send me that one

fast warren
#

yep

#

wait a min

#

Here you are

#

I've changed the UI style

terse mica
#

Ty

terse mica
#

My inventory don’t want to open

#

I’m not geting any errors

#

I’m geting that one error again

#

I have the qb bridge

fast warren
#

Enter convertinventory qb in the live console of txadmin

#

try

terse mica
fast warren
#

ok

#

wait a min

#

I'll send it to you when I wake up

#

Because I'm so sleepy, bro

#

I'll send you the version I used

terse mica
#

Ok

torn hull
# terse mica

Hey make sure you added sql files into your database

#

Because you have a lot of errors that tables in your db don’t exists

terse mica
#

what sql

torn hull
#

stashitems

#

Add

terse mica
#

there is no sql

viscid rune
#

if it hasnt been said, lastest ox inventory no longer works for qbcore anymore

version 2.41 still supports it but to make certain items usable or function youll need to write in some client events in the items lua table, there are some other support threads that are related that you may find useful, we can only provide support fully for qb inventory since thats the inventory we provide in the build.

terse mica
#

I have 2.41

viscid rune
#

are you using the convars?

terse mica
#

?

viscid rune
#

where it says this

setr inventory:framework "esx"``` just put qb right there
#

add the whole convar to your server config

terse mica
#

i did that

viscid rune
#

okay mmm

terse mica
#

wait

#

is this supposed to be in my server cfg or can it be in the config.cfg i made for ox inventory

viscid rune
#

no

#

needs to be in you server config, unless youve done exec ox in your server config, may work but works to have it in your server config, thats how ive done it

terse mica
#

i did exec@ox_inventory/config.cfg

viscid rune
#

that wont work, just throw it in your server config

terse mica
#

its already in there

viscid rune
#

no i meant the entire convar like it is in the docs i linked you to

#

is that what you have?

terse mica
#

yea

#

i have it in a config

viscid rune
#

no im not saying have it like that

terse mica
#

like this

viscid rune
#

i meant literally put that whole convar out and PUT it in your server config

terse mica
viscid rune
#

no..

terse mica
#

in my cfg

#

ok

#

ima try that

viscid rune
#

pull al that and throw it in your main server config files where all your resource are ensured etc etc.

put that at the very bottom of it for now and reorganize it later

#

from top to bottom, paste it into your regular server config

terse mica
#

ok

#

let me see if that works

terse mica
#

It still dont work

viscid rune
#

dont see how it doesnt work for you but has for me

#

can you show me how your putting this into your server config

#

just show the section where you added it

terse mica
#

can i send you mg cfg

gentle crater
#

use old ox inventory the support for qb stopped on latest ox inventory

#

'2.41.0'

#

try it

#

you can execute sql again of inventory related scripts . if you cannot get into server check db name

torn hull
#

I told him to do that

little badge
# terse mica there is no sql

``` CREATE TABLE IF NOT EXISTS gloveboxitems (
id int NOT NULL AUTO_INCREMENT,
plate varchar(255) DEFAULT NULL,
items json DEFAULT NULL,
PRIMARY KEY (id),
KEY plate (plate)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

CREATE TABLE IF NOT EXISTS stashitems (
id int NOT NULL AUTO_INCREMENT,
stash varchar(255) DEFAULT NULL,
items json DEFAULT NULL,
PRIMARY KEY (id),
KEY stash (stash)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

CREATE TABLE IF NOT EXISTS trunkitems (
id int NOT NULL AUTO_INCREMENT,
plate varchar(255) DEFAULT NULL,
items json DEFAULT NULL,
PRIMARY KEY (id),
KEY plate (plate)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ```

terse mica
#

My inventory dont want to open

rough glen
#

You have to be more specific when troubleshooting

#

"It won't open" is not enough

#

Try monitoring the possible errors you receive client side and server side

terse mica
#

I fixed it