
Player slot 'number' mixup
awilliamson opened this issue ยท 4 comments
On SkyFactory2 MP. 3 Players. Each players 'slots unlocked' gets confused/mixed with another.
Player A: 2 slots // Who is not connected during this test
Player B: 12 slots
Player C: 4 slots
Depending on who joins last, depends on who gets which. If Player B logs in alone, their slots are correct. When player C then joins, they assume Player B's slot, and Player C assumes Player B slots.
Player A: 2 slots // Unchanged cannot test
Player B: 4 slots
Player C: 12 slots
This appears to be a client bug, as the server will let them 'pickup' into those visually 'locked' slots. However the client cannot interact with the locked slots. I believe this is an issue with Client <-> Server interacts, and is probably a player reference issue, if I was to guess.
Can't seem to figure out what is causing this so I've added a small check to make sure that the server is sending the initial sync to the correct client in the next version.
Appears to be fixed by e7ecd0f, however we're still getting client disconnects.