#CW-crafting
1 messages · Page 1 of 1 (latest)
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
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
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
I dont know, do i change it to qb?
You are using QBcore right? not QBX
Yes
Is this freshly installed?
Yes just installed it
your file isn't matching this
https://github.com/Coffeelot/cw-crafting/blob/main/bridge/client/qb.lua
try reinstalling
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?
you should always remove the "-main" from folders pretty much yes
That's just becaues you already added it. Shouldn't be a problem
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
Have you verified that all items used exist in your inventory item list?
yes
there is this tho didnt see Uncaught (in promise) AxiosError: Network Error (@cw-crafting-main/html/dist/assets/index-4ec3c27c.js:7)
Yeah that's cause you didn't remove -main
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)
That's a lot of errors not related to Racingapp
no but its not errors, do i have to have up to date ox inventory or ox lib?