#CW-crafting

1 messages · Page 1 of 1 (latest)

zealous shard
#

i installed the crafting script, whenever i press alt on the crafting bench it says start crafting or something but when i press that nothing happens

#

SCRIPT ERROR: @cw-crafting/bridge/client/qb.lua:19: attempt to index a nil value (global 'QBX')^7
^3> getPlayerJobType^7 (^5@cw-crafting/bridge/client/qb.lua^7:19)
^3> [global chunk]^7 (^5@cw-crafting/client/client.lua^7:437)
^3> shouldHide^7 (^5@ox_target/client/main.lua^7:122)
^3> onPressed^7 (^5@ox_target/client/main.lua^7:260)
^3> ref^7 (^5@ox_lib/imports/addKeybind/client.lua^7:60)

#

thesse are the errors

zealous shard
#

Template for bug reporting:

### 1. Include error logs. Both client and server side
<SCRIPT ERROR: @cw-crafting/bridge/client/qb.lua:19: attempt to index a nil value (global 'QBX')^7
^3> getPlayerJobType^7 (^5@cw-crafting/bridge/client/qb.lua^7:19)
^3> [global chunk]^7 (^5@cw-crafting/client/client.lua^7:437)
^3> shouldHide^7 (^5@ox_target/client/main.lua^7:122)
^3> onPressed^7 (^5@ox_target/client/main.lua^7:260)
^3> ref^7 (^5@ox_lib/imports/addKeybind/client.lua^7:60)>
### 2. When did the error occur? 
<ANSWER>
### 3. Did you change anything in the config? 
<no>
### 4. Did you double check your config file changes?
<yes>
### 5. Did you change anything outside of the Config file? Did you try with a clean version?
<no>
### 6. Post your Debug Logs
<.>
### 7. Do you have any other scripts that might have and impact on the issue? 
<no>

### 8. If any items, did you add all the items?
<yes the blueprint>

### 9. Have you investigated the error location and confirmed that it's not due to your other scripts?
<ANSWER>
### 10. Be specific: Exactly what did you do to cause the error.
<its not>

### 11. Did you remove the "-main" from the folder name? Or rename the script folder to something other than the script name?
```its named cw-crafting didnt change anything, it might be because i got an error on database that said duplicat tables character_blueprint but i dont know how to fix that
honest lily
#

I'm a bit confused at why the error is referencing something that doesn't exist

#

Line 19 in bridge/client/qb is

#

Your error says it's refrerncing QBX

zealous shard
#

I dont know, do i change it to qb?

honest lily
#

You are using QBcore right? not QBX

zealous shard
#

Yes

honest lily
#

Is this freshly installed?

zealous shard
#

Yes just installed it

honest lily
#

try reinstalling

zealous shard
#

do i also have to delete the -main from it?

#

i also have this error when i try to run the sql will it affect anything?

honest lily
honest lily
zealous shard
#

alright, it still when i press crafting or mechanic crafting doesnt do anything, could it be because of this errror?

#

SCRIPT ERROR: @ox_inventory/client.lua:1919: bad argument #1 to 'for iterator' (table expected, got nil)^7

#

there are no other errors anymore

honest lily
#

Have you verified that all items used exist in your inventory item list?

zealous shard
#

yes

#

there is this tho didnt see Uncaught (in promise) AxiosError: Network Error (@cw-crafting-main/html/dist/assets/index-4ec3c27c.js:7)

honest lily
#

Yeah that's cause you didn't remove -main

zealous shard
#

idk why i have no errors but it aint working i followed the instructions but idk why not working, this is the log:
Ignored graphics mod: D:\GTAV\dxgi.dll - these should go in plugins/ now!
THREE.WebGLRenderer 101dev (@screenshot-basic/dist/ui.html:15)
f? (@screenshot-basic/dist/ui.html:15)
^2Jim^7-^2Mining ^7v^53^7.^50^7.^508^7 - ^2Mining Script ^2by ^4Jimathy^7
^2Jim^7-^2Recycle ^7v^53^7.^50^7.^503^7 - ^2Recycling Script ^2by ^4Jimathy^7
Starting script initialization
Script initialization finished.
Connecting to mumble, setting targets.
Finished connection logic
Uncaught (in promise) NotSupportedError: The element has no supported sources. (@qb-multicharacter/html/script.js:97)
Uncaught (in promise) NotSupportedError: The element has no supported sources. (@qb-multicharacter/html/script.js:88)
Uncaught (in promise) NotSupportedError: The element has no supported sources. (@qb-multicharacter/html/script.js:91)
Uncaught (in promise) NotSupportedError: The element has no supported sources. (@qb-multicharacter/html/script.js:91)

honest lily
#

That's a lot of errors not related to Racingapp

zealous shard
#

no but its not errors, do i have to have up to date ox inventory or ox lib?

honest lily
#

Looks like errors to me 😅 uncaught promises

#

My ox inv and lib are fairly new