zephyrus-store-preview-new-syntax
zephyrus-store-preview-new-syntax copied to clipboard
Inventory Glitch
If somebody is buying custom weapon models, then it works for that particular period and afterwards when they join again their inventory is gone, and they've to buy it again.
If you using mysql as database. Can you give me a screenshot at the time player buy an item in the store_plugins_log table. If you're using sqlite open the .qc3 file and give me the same table screenshot
There ya go!

Could keep using it for a couple of day to see if this may happen again.
Close due to inactive
It is still not saving
Everytime, players need to join and equip it again and again
Sorry for necroing.
This happens when the previous playerskin was expired but not removed from store_equipment database table.
Everytime when a player reports the store bug to me, I have to remove the loadout from the database manually.
L 08/23/2022 - 02:23:20: [store.smx] SQL error happened.
Query: INSERT INTO store_equipment (`player_id`, `type`, `unique_id`, `slot`) VALUES(438, "playerskin", "uid_model_megumin", 2)
Error: Duplicate entry '438-playerskin-2' for key 'PRIMARY'
Can you give me screenshot me the store_equipment table structure.
Here you go.

probaly you have done something to that table because the table doesn't contain any primary keys and unique key which make the data can't insert duplicate. This is how the structure from myside even with the fresh/ currently created table. You should backup the store_equipment table and drop it via mysql. And restart the server so it can create that table again with the most exact sync.

Thanks, hopefully the problem is solved after moving values from the old store_equipment to the new one.