Closed dig closed 3 years ago
@tastybento any idea on why this is occuring?
Likely related to #129. The block counts were not being saved except on server shutdown and so if the server was killed then the data was not saved. It's now saved on logout and other times, so this should not happen. Other than that, I cannot see a code path where this would happen.
Our players have been roll backed multiple phases when they next login. The solution from #129 should not fix this issue. On BlockListener line 234 to line 238, you save the island whenever the player enters a new phase, this would prevent players going back multiple phases if the server were to crash but this issue still occurs. I am certain the issue has something to do with island loading or saving to data storage, not when the island gets saved.
Can confirm this ^
@dig @hvrry What versions of AOneBlock are you running where you see this happen? Are you on the latest snapshot?
@dig @hvrry What versions of AOneBlock are you running where you see this happen? Are you on the latest snapshot?
No, we're running v1.4.2. The latest snapshot should not fix our issue but we will try it on the server.
@tastybento Latest version still has the issue, players are experiencing block count rollbacks when they next login.
Okay, some clarifying questions:
@tastybento
I currently have the same problem
This was traced down to an admin command being used on the server somehow. So I'm surprised to hear that @DentrayYT. Can you share more info?
Description
Describe the bug
Players block count sometimes randomly rollbacks when they next login.
Steps to reproduce the behavior
N/A
Expected behavior
Players should log back in with the correct block count and phase.
Screenshots and videos (Optional)
N/A
Environment
Output of
/bbox version
(Mandatory)Plugins (Optional)
Additional context (Optional)