qbcore-framework / qb-inventory

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

Stash doesn't save in database #38

Closed youremeh closed 3 years ago

youremeh commented 3 years ago

When dragging items to any stash and exiting for it to save, if you hop back in the stash the item that you dragged is no longer in the stash and just vanishes.

When checking the SQL info all there is in items is [] (https://i.imgur.com/aJ5YcJH.png) Setup: https://i.imgur.com/RIQUsDH.png

No errors on client or server.

GhzGarage commented 3 years ago

Server side error?

youremeh commented 3 years ago

No errors anywhere. It just disappears as soon as you close the stash.

However, trunk & glovebox work, but the items don't get stored in the database either.

GhzGarage commented 3 years ago

Just did a fresh txAdmin install to check and it worked for me

youremeh commented 3 years ago

I have no clue what is happening. I just did a fresh install with the txAdmin recipe and I'm still getting the same issue.

However, I am now able to see the items in the database for about a minute or so before it just disappears (the item still does not appear in the stash - and it took me leaving the apartment and coming back to get that far)

p4zinee commented 3 years ago

i got it too, open glovebox or trunk or stash this will disappear don't know to to got it

JericoFX commented 3 years ago

i just tested and work, https://streamable.com/ko4bfv (Sorry for the audio didnt know that shadowplay was recording my desktop audio too)

youremeh commented 3 years ago

Here's my issue in full - https://youtu.be/nG2W0fWfM_M

I tried to make it go by as quick as I could, but it's still 8 minutes long (you can skip ahead near the end if you want to see my issue).

JericoFX commented 3 years ago

did you drop the tables?, i have to do that to ensure my rows are created correctly

CrypticOG commented 3 years ago

I too was having this same issue. I dropped the tables and reuploaded the sql and I'm still having this issue.

fishiidev commented 3 years ago

This is happening to me

RexShack commented 3 years ago

same issue here as well / stash items not saving

youremeh commented 3 years ago

This commit has fixed my issue 😄