mcpelauncher-linux icon indicating copy to clipboard operation
mcpelauncher-linux copied to clipboard

[server] Some players don't receive chat messages

Open NyaomiDEV opened this issue 7 years ago • 4 comments

At first when they reported me this I thought it was some kind of Xbox privacy limitation, but then I wanted to investigate more and it seems that some messages are lost in their way to the other players. In the worst scenario some players don't receive chat messages at all.

It's like this: Player A sends a message: players B and C receive it, player D doesn't receive it Player B sends a message: all the other players receive it Player E joins, player A, B, C, D are chatting together but player E doesn't receive any messages and when s/he sends a message the other players don't receive it. It seems service messages are always received by all the players (like player join/quit and deaths)

I think it's because of UDP packets and also because MCPE's internal server is meant for LAN multiplayer purposes.

NyaomiDEV avatar Feb 26 '18 08:02 NyaomiDEV

Messages are sent reliably. I have no idea why this is a case, but I figured out it DOES have something to do with Xbox Live privacy stuff, and appears to be a MCPE bug.

MCMrARM avatar Feb 26 '18 13:02 MCMrARM

@MCMrARM do you have a link to an issue ticket in their JIRA or a proof of concept for me to better understand this bug?

NyaomiDEV avatar Feb 26 '18 14:02 NyaomiDEV

As far as I know, it's related to the last parameter in TextPacket which is the Xbox Live user id. I had issues with this on my test public server so I zero'ed it out instead of fowarding it from the client and then it started working fine and always passed messages through.

MCMrARM avatar Feb 26 '18 14:02 MCMrARM

It's fine, but even if I can see others' messages sometimes it is impossible to me to talk with them because they won't receive my messages. At least is there a workaround to this?

NyaomiDEV avatar Feb 26 '18 14:02 NyaomiDEV