#CW-Crafting UI not showing

1 messages · Page 1 of 1 (latest)

agile bone
#

When attempting to Access the Crafting bench with the Third eye the UI Menu wont show up! and locks the screen. Requiring me to F* and quit to exit the game and rejoin.
There are no Errors Regarding Qb-Target or CW-Crafting.
Only Errors are from qb-radio

split star
#

9.9/10 times someone reports this its cause they have items in the recipes that don't match items they have in their server

agile bone
#

Ive Checked, Double checked and Triple Checked. Every single item in the crafting Config is inside my qb-core/shared/items.lua

split star
#

That includes all the items in the recipes?

#

(not just the craftable item)

agile bone
#

In cw-crafting Config yes

split star
#

Tried enabling debug?

agile bone
#

yes nothing, could another UI cause problems with it?

split star
#

I doubt it

#

What inventory system are you using?

agile bone
#

base qbcore

split star
#

I'd test removing all recipes cept for one and restart it

#

Cause yeah, this issue is almost always tied to a missing item and someone claiming they checked five times

#

If you scroll #crafting-🔧 you'll probably find some discussions around this

agile bone
#

All Recipies removed and it still will not show

#

and the debug states it was opened

split star
#

Tried reinstalling it?

agile bone
#

yes

#

still same issue

split star
#

I don't have anything to go on, so I can't help you unless you find something else.

You can check #crafting-🔧 if anyone else had a solution to it, but like I said, it's turned out to be a missing item most of the cases.

I'm planning to make a UI-remake (like Racingapp) for Crafting as my next project tho, so maybe it'll magically just work after shrug

agile bone
#

I got it Working but now none of the recipes are showing.

issue. Inventory item hada a missing image.

split star
#

I think a lot of these issues will be gone with the UI update

#

since TS and VUE is a bit more robust than plain JS

agile bone
#

O love the script is there a work around till then ?

split star
#

Almost impossible to guess what is causing this without errors to go off

#

Everyones set up is different

agile bone
#

Found it.

#

now i got this. but the Item is in item.lua

split star
#

Nice. Search for the message. Find what the condition is and why it's failing thumbup

agile bone
#

name = 'example'
should be the same as in the items.lua
["laled"] = 'example'
?

split star
#

So, the second one needs to match the items.lua item name

agile bone
#

Got it to work now

tawdry aurora
tawdry vine
#

FYI I tried the latest release of cw-crafting and received the following error:

[ 108391] [b2944_GTAProce] CrBrowserMain/ TypeError: Cannot read properties of undefined (reading 'icon') (@cw-crafting/html/dist/assets/index-22d09fcc.js:1)

after following the readme and debug recommendations, I rebuilt the resource with npm with the same result.

This repo of cw-crafting works just fine for me: https://github.com/Coffeelot/cw-crafting/tree/9226ff72a1abb1341d0f3192e8b405835e218b19

GitHub

Crafting for QB. Contribute to Coffeelot/cw-crafting development by creating an account on GitHub.

tawdry vine
#

Also, any plans for ox_target support?

split star
split star
tawdry vine
split star
#

That's strange 🤔 we got ox-everything but it works for us

#

maybe ox removed more functionality

#

haha

#

I know they skipped some (very handy) qb stuff so they might have also removed more

#

Might be this, that's just way to different for ox

#

is it only the blueprint peds?

tawdry vine
#

yea I think that

#

& targeting the benches works, but gives two options for the same function

split star
#

Or at least that's a possible reason

tawdry vine
#

ahh I see, could be a possibility

split star
#

like if a table is set to use all of one object AND spawn that object

#

I can probably fix that tho haha

split star
#

Oh shit it might actually still work @tawdry vine
it's probably that I forgot to update the oxInv variable in config kek

#

Pushed a fix. I renamed the inventory variable in the config