-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Players Lost Backpack Data Updating Slimefun #4141
Comments
can you confirm that the alleged missing backpacks were created by those players? the person who crafted them, if done in the enhanced workbench has their id assigned to it, not the person who uses it. it may help to track that info down. otherwise if autocrafted, its the first person who opens them. of course they shouldn't convert to cs heads, but it might help track the cause |
one other thought - did any other players join after you updated to 1139, whose backpacks were fine? |
Thanks for the help! |
Yes, other players did indeed join after the update and their backpacks were fine. |
I highly doubt the mods had anything to do with this |
I've played with many mods like that including those 2 listed and never experienced this, and it wouldn't make sense that this could even be caused by a client sided mod when it's on the server. I'd like to continue looking into this |
Sure thing, let me know if you need anything and I'll do my best to help. It just seems so odd that the modded clients were the only ones to have the issue. I just had another player report they couldn't harvest their ExoticGarden items as well in the same time frame. They tried today and are able to harvest again. |
Going through the logs I kept seeing after every chat, "Is the client/server system time unsynchronized?" and I noticed even though there were two players on at the time, Slimefun was saving data for only 1 player. I saw that even today I was getting the unsynchronized time errors after every chat entry. I synchronized the server time with Windows and it adjusted the time by almost a full minute. I then tested by typing in game and the error was gone. Perhaps this was the issue? Kind of makes more sense. |
Time also shouldn't be related What version were you previously on before updating? |
I was on 1138 and I checked the backups, the backups had no backpacks listed for the problematic players. |
I asked the Player involved if they were sure they crafted the backpacks, and this morning he messaged me that they forgot a friend on the server made them and gave them the backpacks. So no bug, sorry to waste everyone's time, I just went on what was reported to me. |
that explains why they weren't in the specific players file, but not why they turned into cs core heads |
Ah OK so it looks like legit bug then. |
remember the backpack is stored with the player who first opened / crafted it. |
Thank-you, I thought only the person who crafted the item could use the backpack, unless an AutoCrafter for SF items was used to make it, and then a gifted backpack would only work for the giftee if they were the first person to use it. |
The UUID for the player who owns it is in the lore. That's the file you want look at, the items are there. |
Please create a new issue for the backpack turning into a cs-corelib head. |
❗ Checklist
📍 Description
I updated the Server to Dev Build 1139 and some players lost their backpacks. The data has been completely scrubbed from the Player's .yml file. What is odd is only certain players have lost their backpacks, others are fine. What I do know is that these Players most likely use a modded Client, so this may be part of the issue somehow.
📑 Reproduction Steps
Certain players try and access their backpack and have, "CS-CoreLib's Head" displayed instead.
💡 Expected Behavior
Players able to access their backpacks.
📷 Screenshots / Videos
📜 Server Log
No error messages
📂
/error-reports/
folderNo response
💻 Server Software
Purpur
🎮 Minecraft Version
1.20.x
⭐ Slimefun version
🧭 Other plugins
The text was updated successfully, but these errors were encountered: