Minebench/SyncInv

Can't load data

dwi opened this issue · 2 comments

dwi commented

Network setup as previously: Lobby (without SyncInv) and ServerA (called novus) and ServerB (called space) synced.

Sometimes players are being kicked out of ServerB after join with the cant-load-data error message. I managed to track one example.

Player tried to join ServerB/space from Lobby. He disconnected from lobby on 21:48:31 and rejoined back to lobby on 21:48:36 after being kicked from ServerB/space. Following log only shows the important timestamps.

[21:48:31 INFO] xyz lost connection: Disconnected
[21:48:36 INFO] UUID of player xyz is f60ad51a-a0e3-49a3-9007-f9c6f3875857
[21:48:36 INFO] [BungeePerms] Login by xyz (f60ad51a-a0e3-49a3-9007-f9c6f3875857)
[21:48:36 INFO] xyz[/x:53141] logged in with entity id 86 at ([lobby]372, 148.0, -461)

Next is the log from ServerB/space - Player joined on 21:48:31 and was kicked on 21:48:36 with the cant-load-data error message

[21:48:31 INFO] [SyncInv] Debug: Sending GET_LAST_SEEN to group:survival containing 1 objects.
[21:48:31 INFO] UUID of player xyz is f60ad51a-a0e3-49a3-9007-f9c6f3875857
[21:48:31 INFO] [SyncInv] Debug: Received LAST_SEEN from novus targeted at space containing 2 objects
[21:48:31 INFO] [SyncInv] Debug: Sending GET_DATA to novus containing 1 objects.
[21:48:31 INFO] [SyncInv] Debug: Received CANT_GET_DATA from novus targeted at space containing 1 objects
[21:48:31 INFO] [BungeePerms] Login by xyz (f60ad51a-a0e3-49a3-9007-f9c6f3875857)
[21:48:31 INFO] xyz[/x:56847] logged in with entity id 425 at ([world_space]65.5, 120.0, -20.5)
[21:48:36 INFO] xyz lost connection: cant-load-data
[21:48:36 WARN] handleDisconnection() called twice

In this timeline this is log from ServerA/novus which could be important, because the time match exactly.

[21:48:31 INFO] [SyncInv] Debug: Received GET_LAST_SEEN from space targeted at group:survival containing 1 objects
[21:48:31 INFO] [SyncInv] Debug: Sending LAST_SEEN to space containing 2 objects.
[21:48:31 INFO] [SyncInv] Debug: Received GET_DATA from space targeted at novus containing 1 objects
[21:48:31 INFO] [SyncInv] Debug: Sending CANT_GET_DATA to space containing 1 objects.

Do you have OpenInv installed and working for offline players with your server version? (And which version) Because CANT_GET_DATA gets only send when the server isn't able to load the data from the player file when he is offline.

dwi commented

Oh, I don't have OpenInv installed. I wanted to avoid the bug/issue when using OpenInv on a offline player who joins another server. I will put it back and block moderators to use it in the meantime. Will report back in case something goes wrong 👍