Offline-Related player issues
Type of bug
Other unexpected behaviour
/ess dump all output
https://essentialsx.net/dump.html?bytebin=BnKtOvm3V0
Error log (if applicable)
Bug description
Since the changes to offline players in this dev build patch Maintain strong reference for online users (https://github.com/EssentialsX/Essentials/pull/6247) it seems to have broken many commands related to offline players.
I do use the latest available dev build at this point right now on paper 1.21.4.
Before it used to just "work", but now things such as tpoffline, seen etc. just say the user never joined the server before.
Steps to reproduce
Run paper 1.21.4 Run at least said dev build (since it happens on last currently too, just use that one?) Join with a account, go off and use said commands on that account
Expected behaviour
To output the right information
Actual behaviour
Mentioned above.
Additional Information
I noticed this issue the other day; I was trying to /tempban an offline user but it said it couldn't find them. Interestingly, when I ran the command from the server console instead of in-game, it worked just fine.
also seeing this issue both in-game and on the console
Likewise, this is happening on my server as well.
@saucylegs @almecho @FellowNeighbour can you all run /ess dump all and send me the link?
@saucylegs @almecho @FellowNeighbour can you all run
/ess dump alland send me the link?
https://essentialsx.net/dump.html?bytebin=nAp1p1GoL3
I have this same issue.
https://essentialsx.net/dump.html?bytebin=bhf7ynW8CR
Same issue on my Server
@saucylegs @almecho @FellowNeighbour can you all run
/ess dump alland send me the link?
Yeah we're getting this on our 1.21.8 server, too. Here's our dump: https://essentialsx.net/dump.html?bytebin=RXl6NMs6UP
Also having this issue and can't tpoffline to players offline 1.21.8 server https://essentialsx.net/dump.html?bytebin=XvUIAMX1xM
@saucylegs @almecho @FellowNeighbour can you all run
/ess dump alland send me the link?
@JRoy Here is a dump from shortly after restarting the server: https://essentialsx.net/dump.html?bytebin=A0gtfeeqXt
YYEA I have the exact same issue. It shows incorrect data in /seen.
CoreProtect shows the player was there 10 days ago, but Essentials says it was a month ago.
Something is incorrectly validating the data.
For example, when the system was in offline mode and then moved to online mode, there are two profiles in Essentials.
There is something extremely odd going on here. Also, {UNQIUE} is no longer correct.
Player 1 joins:
Player 2 joins, but we've LOST 4 unique players????
Both players joined one after each other, with player 2 joining second. I have to assume something to do with the online player count changing affected the number of unique players...
This should hopefully now be fixed in the latest dev build: https://next.essentialsx.net/downloads
Please let me know if this works for you guys!
PS: Thanks for your comment @Carter4242 who made me realize what the problem was.
Applied this build on all our test and live instances, used /seen on a user that has been off for approx an hour from now, still says user has never joined the server unfortunately. Someone then, after applying the patches, joined our hub, where I used /seen username, which gave out the correct input, once the user went to another subserver and therefore offline, checking again, it says the user was never on the server. https://prnt.sc/E54wgx4hWMiY
Edit - Another dump if that helps: https://essentialsx.net/dump.html?bytebin=hu8Dk86zV6
Applied this build on all our test and live instances, used /seen on a user that has been off for approx an hour from now, still says user has never joined the server unfortunately. Someone then, after applying the patches, joined our hub, where I used /seen username, which gave out the correct input, once the user went to another subserver and therefore offline, checking again, it says the user was never on the server. prnt.sc/E54wgx4hWMiY
Edit - Another dump if that helps: essentialsx.net/dump.html?bytebin=hu8Dk86zV6
can you do the same kind of debug seen in this reply https://github.com/EssentialsX/Essentials/issues/6277#issuecomment-3254069647
for a few join/leaves do /ess usermap cache and share how the numbers look
can you do the same kind of debug seen in this reply #6277 (comment)
for a few join/leaves do
/ess usermap cacheand share how the numbers look
We're still getting the same problem. This is our usermap cache, what else do you need?
Sorry I just read it now. This is German, but I suppose the numbers are the important part, did it after our hub ran half a day with several joins/leaves. https://prnt.sc/qltoKXbwiFq0
Running the latest dev build and the issue still occurs.
We have identified an issue with the fix I had originally made, the next dev build should finally resolve this.
Note that your usermap may be missing the name -> uuid mappings for some users that have yet to rejoin your server.
To rebuild the missing usermap mappings;
- Stop your server
- Backup existing usermap.bin and uuids.bin (you can just rename them to usermap.bin.bak and uuids.bin.bak if you want)
- In your
upgrades-done.ymlchangenewUidCacheBuiltto false - Start your server again.
you should notice all offline player functionality restored.
i apologize for the delay on these fixes and the issue to begin with.
We have identified an issue with the fix I had originally made, the next dev build should finally resolve this.
Note that your usermap may be missing the name -> uuid mappings for some users that have yet to rejoin your server.
To rebuild the missing usermap mappings;
1. Stop your server 2. Backup existing usermap.bin and uuids.bin (you can just rename them to usermap.bin.bak and uuids.bin.bak if you want) 3. In your `upgrades-done.yml` change `newUidCacheBuilt` to false 4. Start your server again.you should notice all offline player functionality restored.
i apologize for the delay on these fixes and the issue to begin with.
This fixed the issue, thank you.