1. Include error logs. Both client and server side
Client: Nothing
Server:
21:53:51 [ script:cw-crafting] Citizenid DCR99054
21:53:51 [ script:cw-crafting] Result from fetch {
21:53:51 [ script:cw-crafting] "crafting_blueprints": "[]"
21:53:51 [ script:cw-crafting] }
21:53:51 [ script:cw-crafting] Player had a list
21:53:51 [ script:cw-crafting] Crafting breakdown_alum 1
21:53:51 [ script:cw-crafting] item {"label":"Desmontar Alum","type":"breakdown","customSkillGain":175,"skillData":{"skillName":"crafting","currentSkill":3,"skillLabel":"Habilidade de produção","passes":true},"category":"Breakdown","craftingTime":1000,"skillGain":175,"materialsNameMap":{"aluminum":"Aluminium"},"maxCraft":10,"materials":{"aluminum":1},"toMaterialsNameMap":{"plastic":"Plastic","glass":"Glass"},"toItems":{"plastic":10,"glass":21},"craftingSkill":0}
21:53:51 [ script:cw-crafting] Skill crafting 3
21:53:51 [ script:cw-crafting] Removing aluminum for crafting
21:53:51 [ script:ox_inventory] SCRIPT ERROR: @ox_inventory/modules/items/server.lua:250: attempt to index a nil value (local 'item')
21:53:51 [ script:ox_inventory] > setItemDurability (@ox_inventory/modules/items/server.lua:250)
21:53:51 [ script:ox_inventory] > Metadata (@ox_inventory/modules/items/server.lua:315)
21:53:51 [ script:ox_inventory] > generateItems (@ox_inventory/modules/inventory/server.lua:784)
21:53:51 [ script:ox_inventory] > ref (@ox_inventory/modules/inventory/server.lua:1482)
21:53:51 [ script:ox_inventory] > addItem (@cw-crafting/bridge/server/qb.lua:58)
21:53:51 [ script:ox_inventory] > handler (@cw-crafting/server/server.lua:27)
21:53:51 [ script:cw-crafting] SCRIPT ERROR: @cw-crafting/bridge/server/qb.lua:58:
21:53:51 [ script:cw-crafting] An error occurred while calling export `CustomDrop` in resource `ox_inventory`:
21:53:51 [ script:cw-crafting] nil
21:53:51 [ script:cw-crafting] ---```
### 2. When did the error occur?
When I tried to dismantle/craft an test item while my inventory was full (using ox_inventory)
### 3. Did you change anything in the config?
I believe so, the error only occurs when the inventory is full.
### 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?
Nothing Changed in the main code, only config was modified.
### 6. Post your Debug Logs
The debug logs is a bit long, só it's attached in the post.
### 7. Do you have any other scripts that might have and impact on the issue?
I dont think so
### 8. If any items, did you add all the items?
Yes
### 9. Have you investigated the error location and confirmed that it's not due to your other scripts?
it's inventory related, it seams that an export it's not droping the items on the floor when the player it's at maximum capacity.
### 10. Be specific:
Exactly what did you do to cause the error.
Use the script with the inventory full, I notice that the item that I was crafting(dismantle) was being removed from my inventory and wasn't givin any XP or the item it should give.