SwitchCraftCC / issues

Report general bugs for the SwitchCraft 3 server here. This tracker is NOT for exploits - please disclose those responsibly and privately to a member of staff.
1 stars 0 forks source link

Usernames disappearing #136

Open znepb opened 8 months ago

znepb commented 8 months ago

Describe the bug

When using /seen on some users that has not joined in (seemingly?) more than 64 days, the initial seen command will take longer than usual to execute, but then execute successfully. Any further seen commands executed on that user show that the user has never joined. It also seems to wipe any UUID/username cache, affecting claims, and returning their owner values to UUIDs.

To reproduce

  1. use seen command on player that has not joined for a while
  2. It will take a few seconds to run, but then return successfully
  3. Follow this up with repeating the previous command
  4. You will see that the user is now reported as having never joined the server.

Expected behavior

No response

Relevant log output

# /seen Ryoman
[20:53:38] [Render thread/INFO]: [CHAT] ----------------- Player info: Ryoman -----------------
[20:53:38] [Render thread/INFO]: [CHAT] Ryoman is currently offline
[20:53:38] [Render thread/INFO]: [CHAT] Last online: 321 days 0 hours 52 minutes 23 seconds
[20:53:38] [Render thread/INFO]: [CHAT] Pronouns: Not specified
[20:53:38] [Render thread/INFO]: [CHAT] Discord: Not linked
[20:53:38] [Render thread/INFO]: [CHAT] UUID: 2c325b45-e5d5-4fce-8257-5f589391d142
[20:53:38] [Render thread/INFO]: [CHAT] ------------------------ « » ------------------------
# /seen Ryoman
[20:53:40] [Render thread/INFO]: [CHAT] ----------------- Player info: ryoman -----------------
[20:53:40] [Render thread/INFO]: [CHAT] ryoman has never joined.
[20:53:40] [Render thread/INFO]: [CHAT] Pronouns: Not specified
[20:53:40] [Render thread/INFO]: [CHAT] Discord: Not linked
[20:53:40] [Render thread/INFO]: [CHAT] UUID: ccede57a-631a-32f6-98f8-31590e6fc3f0
[20:53:40] [Render thread/INFO]: [CHAT] ------------------------ « » ------------------------

Please confirm

Lemmmy commented 8 months ago

notice that the UUIDs are different, for some reason it's caching an offline mode UUID (version 3 instead of version 4)