minecraft-linux / mcpelauncher-manifest

The main repository for the Linux and Mac OS Bedrock edition Minecraft launcher.
https://minecraft-linux.github.io
GNU General Public License v3.0
923 stars 100 forks source link

Friends/I cannot join worlds hosted by me or them. Servers work. #916

Open d4n1l108642 opened 9 months ago

d4n1l108642 commented 9 months ago

So, after researching a bit, I found out that there were a handful of bug reports about not being able to join multiplayer games, only servers. I am still experiencing this issue. After clicking on a multiplayer game, it gives me the message saying "we were unable to connect you." After clicking on it a second time, the game crashes (only if you are trying to join a hosted world.

Steps to reproduce the behavior:

  1. Have your friends or yourself host a game
  2. Your friends tor you try to join it
  3. It says "we were unable to connect you."
  4. Press ok
  5. Click on the mulitplayer game a second time
  6. Game crashes

Expected behavior I expect it to let my friends or me join.

Here is a screen recording. https://github.com/minecraft-linux/mcpelauncher-manifest/assets/151419598/8749527c-4202-4a4f-b25e-780d5b83673d

Desktop (please complete the following information):

Additional context Joining a realm sometimes works.

nebulusAlgebrainius commented 9 months ago

Im having the same issue. I just want to play along with my son.

xyza3 commented 8 months ago

Same here. Maybe we're doing something wrong?? I don't know. I hope to get a dev on sometime to help explain/fix this issue.

Mike30gaming commented 8 months ago

At first I thought it was like bad connection but me and my friends attempted many time and it did not work same problems with it crashing the second time

jomo2102 commented 8 months ago

Same here. Sometimes the error would alternatively say "outdated client".

I used to be able to play a join LAN game using this launcher (or create one to be joined by others). That was some months ago though however.

isametry commented 7 months ago

Having similar problems, but without the crash. When I try to play with friends, I only ever get "unable to connect you". Doesn't matter if hosting or joining, LAN or Xbox.

3rd-party servers work fine (e.g. the default built-in servers like CubeCraft and Hive, as well as others joined with an IP address).

Launcher: v0.12.2-macOS-x86_64-0.2.448 (build 448) Game: 1.20.51.01 macOS: 14.2.1 (23C71)

jomo2102 commented 7 months ago

3rd-party servers work fine (e.g. the default built-in servers like CubeCraft and Hive, as well as others joined with an IP address).

Any tutorials to guide those less familiar (eg. me!) to use these 3rd party servers?

isametry commented 7 months ago

@jomo2102 What I meant is public servers – not hosted by you or your friends, but someone else, and you connect by entering their IP address. In my experience, those seem to work with MCPELauncher.

Like I said, some of them are "preinstalled" with the game. If you go to the Servers section of the play menu, you can just choose one and join.

jomo2102 commented 7 months ago

Ok folks, I have been able to partially "hack" it, but couldn't get too far.

In short, I created a world on Android, and could now join on MacOS (Linux Launcher). Without this partial hack, I couldn't.

In more detail, here are the steps:

  1. On Android, create a world, allow visibility to LAN players.
  2. On Mac, open the Linux Launcher. Don't hit the PLAY button.
  3. On Mac, open Firewall, toggle it ON then OFF.
  4. Go back to the Linux Launcher, hit the PLAY button.
  5. Then a dialogue will appear, asking if you want allow the Launcher to accept incoming connection, hit ALLOW.
  6. Once inside Minecraft, hit Play, under Friends tab, you see the created world that should be able to be joined.

The key steps are steps 2 and 3. I suspect it's a firewall-related issue. What I couldn't work out is how to create a world on Mac and joined by Android (or by another Mac).

See if that triggers any thoughts from you folks to make it work in a more complete manner.

isametry commented 7 months ago

I've tried the above instructions, but unfortunately it didn't work at all. Mac and iPad still can't join each other.

I indeed get the connections pop-up you mention, but upon accepting, nothing seems to be different. MacBook can't join a world hosted by the iPad, and vice-versa.

Maybe it plays a role that your other device runs Android! Unfortunately I don't have an Android device to test this.

ChristopherHX commented 7 months ago

Consider Installing Docker Desktop and get bds up and running maybe via https://github.com/itzg/docker-minecraft-bedrock-server (bds is an ubuntu/windows intel64 app, which does not run directly on mac, so I suggest to use docker)

Then add the server by ip. Copying your existing world to that app is possible.

Everything else is error prone and can break at any time.

NEONmc-code commented 7 months ago

I'm having the same problem, except the game doesn't crash no matter how many times I attempt to join. It just says "We were unable to connect you." every time.

d4n1l108642 commented 3 months ago

I've found out that LAN games work and friend games on the same internet also work.

jomo2102 commented 3 months ago

Now it works! I'm on version 1.20.81.01 (ARM64-V8A)

d4n1l108642 commented 2 months ago

1.21.0 - I am still not able to join multiplayer games besides servers. Realms no longer work. Trying to join multiplayer games ends with the message "We were unable to connect you" over and over.

ChristopherHX commented 2 months ago

Realms no longer work

You could try downgrade your launcher down to v0.14.0 where nothing related to lan multiplayer where ever adjusted and see if it repairs realms