Closed nzkfc closed 1 year ago
I can't see the quantities of items in your video, but are you transferring a stack or a single item?
I tried both, stash is 800 but items combined are only around 150.
I tested this on our dev city and on the fresh qb-server I update daily and it's the same issue.
@nzkfc I managed to watch your video on a proper screen.
markedbills
are a unique item (as they have value associated in their meta data), so you can't stack those. They need to be placed into the traphouse one at a time. Placing 1 markedbills
item into the traphouse and leaving it for the given process time resulted in the item being consumed and the value available from the traphouse menu for withdrawal. The process time for marked bills by default is 1-5 seconds and can be adjusted here: https://github.com/qbcore-framework/qb-traphouse/blob/main/server/main.lua#L36. I recommend keeping the number of markedbills rewarded from your heists low but adjust their values to suit your economy.So as far as I can see, the traphouse inventory works as intended.
Yeah correct, forgot about 1 at a time, however on a fresh pull, I can see nothing goes into the stash and stays, it instantly returns to inventory? I've checked both items are unique also.
This happens on our dev city, prod city and on my fresh qb-core that I wipe between tests to get the latest.
@nzkfc this was introduced when the label was switched in https://github.com/qbcore-framework/qb-traphouse/commit/8d40bb85df6370864645a8fede0329b10a00326f
It's now been fixed with the latest merge in https://github.com/qbcore-framework/qb-traphouse/commit/058ba3fea7b86c2872eadd31eedca59b59fc491b
How do I know? Well, I applied the latest PR (491b) and it created the same problem for me. I went and added that older PR and it fixed it.
@nzkfc this was introduced when the label was switched in 8d40bb8
It's now been fixed with the latest merge in 058ba3f
How do I know? Well, I applied the latest PR (491b) and it created the same problem for me. I went and added that older PR and it fixed it.
Tried this, items just keep going back into inventory.
I will pull fresh qb build locally again and re-test the resource.
Describe the bug Items don't stay in traphouse stash
Error: https://i.imgur.com/reL7lwX.png
To Reproduce Steps to reproduce the behavior:
Expected behavior Items stay and convert to money based on the config
Screenshots Video: https://youtu.be/dTjZqoSPeXE
Questions (please complete the following information):
qb-
to something custom? noAdditional context Add any other context about the problem here.