qbcore-framework / qb-inventory

Slot Based Inventory System Used With QB-Core :school_satchel:
GNU General Public License v3.0
51 stars 370 forks source link

[BUG] qb-jewelery inventory bug #479

Closed GhostDogDK closed 3 months ago

GhostDogDK commented 7 months ago

Summary

qb-jewelery inventory bug

Reproduction

Hi

When i smash the glas i get this almost everytime:

Skærmbillede 2023-12-18 120959

I can get the diamont ring and the rolex watch as it is in the config, but i newer get the goldchain. (i have try whit total empty inventory and increased the inventory size, fix nothing) i think if it is the goldchain that makes the error

but it looks like its right in the config and the item list. Skærmbillede 2023-12-18 124 Skærmbillede 2023-12-18 1204

can somebody help me?

ressourcer: Skærmbillede 2023-12-18 125022 Skærmbillede 2023-12-18 125125 Skærmbillede 2023-12-18 125210

Expected behavior

giving my items, maby the goldchain

Actual behavior

give me as the Picture "you have to much in yout pocket" and "item does not exist"

Additional context

No response

Last Updated

last week

Custom Resources

check picture

Resource Rename

check piture

SQUIDzillaNFT commented 6 months ago

i have the same problems

Marky2701 commented 6 months ago

Me too

Chiefink5 commented 5 months ago

yeah in the server/main.lua theres code to call for the "tenkgoldchain' (recently changed from 10kgoldchain) to be awarded if the "other chance" is odd... but doing this makes the only possible reward the "tenkgoldchain"... ive tried changing the code with over 15 different ways, (trying to call the VitrineRewards from (Config.VitrineRewards[item]['amount']['min'], Config.VitrineRewards[item]['amount']['max']) and numerour other ways) and everything else either breaks the resource or rewards absolutely nothing...

i see others have issues with this with no response in about a month, so is there any help that we can get on this? kinda annoying that we can only get one reward from the 3 that come default, or the numerous custom items we added ourselves.

--Edit-- forgot to mention that i have deleted the default rewards, including the tenkgoldchian, yet im still being awarded it due to the server/main.lua file

github-actions[bot] commented 3 months ago

This issue has had 60 days of inactivity & will close within 7 days