DragonetMC / DragonProxy

🐲 A proxy to allow Minecraft: Bedrock clients to connect to Minecraft: Java Edition servers.
https://invite.gg/DragonetMC
GNU General Public License v3.0
990 stars 134 forks source link

Game crash #533

Closed LOOHP closed 4 years ago

LOOHP commented 4 years ago

While using build #\352 connecting to my server (play.sunknights.fun), the game seems to crash shortly after logging in.

My server is running on bungeecord, the hub is on paper 1.15.2

Edit: More specifically, I am using waterfall instead of bungeecord, but I've tried switching back to bungeecord and it didn't make a difference.

Console:

[01:34:23 INFO]: Spawned player LOOHP at -851.0178755243805 59.200000047683716 479.97444730902765
[01:34:23 INFO]: (debug) Unhandled block entity: minecraft:trapped_chest
[01:34:23 INFO]: (debug) Unhandled block entity: minecraft:trapped_chest
[01:34:23 INFO]: (debug) Unhandled block entity: minecraft:trapped_chest
[01:34:23 INFO]: (debug) Unhandled block entity: minecraft:trapped_chest
[01:34:23 INFO]: (debug) Unhandled block entity: minecraft:trapped_chest
[01:34:23 INFO]: (debug) Unhandled block entity: minecraft:trapped_chest
(Game crash here)
[01:34:51 INFO]: Player disconnected from remote. Reason: TIMED_OUT

Config:

# -----------------------------------------------
#   DragonProxy Configuration (25/03/20)
#   https://github.com/DragonetMC/DragonProxy
# -----------------------------------------------
# DO NOT CHANGE THIS VARIABLE!!!!!!
config-version: 2
# DO NOT CHANGE THIS VARIABLE!!!!!!

locale: 'EN'

# The IP and port the proxy will listen for connections on
# '0.0.0.0' will bind to all IP addresses available on your device
bind-address: '0.0.0.0'
bind-port: 19132

# The MOTD that will be shown on the MCPE server list
motd: 'DragonProxy'
motd2: 'https://github.com/DragonetMC/DragonProxy'

# The maximum amount of players that can join the proxy
max-players: 100

# The IP and port of the remote server to connect to
remote-address: 'play.sunknights.fun'
remote-port: 25565

# The authentication method used for connecting to the remote server.
# Accepted values:
#   credentials   : This will display a form when you join the proxy asking you to enter your Mojang credentials
#   offline       :  No authentication, cant join premium servers such as Hypixel
remote-auth: credentials

# Whether or not Bedrock clients should be authenticated with xbox live
xbox-auth: false

# Whether or not to use the motd and player count of the primary remote server
ping-passthrough: true

# Player gameplay related settings
player-settings:
  # Whether or not to translate commands sent from the remote server and display
  # them on the Bedrock client. This is currently experimental.
  enable-commands: false

  # Whether or not to enable auto jump
  auto-jump: false

  # Whether or not to fetch skins from Mojang's servers
  fetch-skins: false

metrics:
  enabled: true
  # DO NOT CHANGE
  server-uuid: donotchange_serveruuid

# The amount of threads that will be used.
# Only change if you know what you are doing
thread-pool-size: 8
Kolya-Borisov commented 4 years ago

Was there anything in the trapped chest?

james090500 commented 4 years ago

This isn't likely to be the fault of minecraft:trapped_chest.

What is around you? Lots of entities, tile entities etc?

LOOHP commented 4 years ago

Not really that much tile entities, there are a few holograms (probably by armorstand packets). There are a few screenshots around spawn.

2020-04-28_09 28 49 2020-04-28_09 29 21 2020-04-28_09 29 47

LOOHP commented 4 years ago

One more thing to add, the server is in offline mode.

james090500 commented 4 years ago

Please try latest build

LOOHP commented 4 years ago

I've tried build #\359 and unfortunately, it seemed to crash even more quickly.

Here is the logs:

[03:28:43 INFO]: LoohpJames connected
[03:28:45 WARN]: SPAWN PLAYER
[03:28:57 INFO]: Player connected to remote play.sunknights.fun
[03:28:57 INFO]: Player LoohpJames has been authenticated
[03:29:02 INFO]: Spawned player LOOHP at -851.0178755243805 59.200000047683716 479.97444730902765
(Game Crashes 1 - 2 seconds later)
[03:29:30 INFO]: Player disconnected from remote. Reason: TIMED_OUT
lukeeey commented 4 years ago

Message me on discord lukeeey#2013

LOOHP commented 4 years ago

Alright, do I send you a dm or in a channel on the server?

lukeeey commented 4 years ago

either

james090500 commented 4 years ago

From my tests so far, the tab menu is causing a crash, obviously some characters aren't liked in that menu.

Also a crash when loading chunks so will need to investigate that further.

LOOHP commented 4 years ago

Any idea which character? Perhaps I can remove it from the tablist.

james090500 commented 4 years ago

You don't need to change anything. The proxy will need to be able to handle these characters so we will change something there.

At the moment chunks are crashing the proxy which is... wierd. It's PaperMC 1.15.2 right? No protocol support or anything?

LOOHP commented 4 years ago

Yes it is PaperMC 1.15.2, with viaversion for backwards compatibility.