node-minecraft-protocol icon indicating copy to clipboard operation
node-minecraft-protocol copied to clipboard

Internal Exception when joining an NMP server with a 1.7 client

Open Indicardo opened this issue 4 years ago • 3 comments

[X ] The FAQ doesn't contain a resolution to my issue

Versions

  • minecraft-protocol: 1.20.2
  • node: 12.1.0

Detailed description of a problem

When joining a server created with NMP that has version set to false (to enable multi-version support) with a vanilla 1.7 client, the client gets kicked with the following message:

Current code

import mc from "minecraft-protocol";

const server = mc.createServer({
  port: 25565,
  motd: "Test",
  maxPlayers: 1,
  // @ts-ignore
  version: false,
});

server.on("login", (user) => user.end("Test"));

Expected behavior

Expected the client to actually join the server

Additional context

Doesn't happen when explicitly setting version to 1.7.10. Also doesn't happen to other client versions.

Indicardo avatar Jan 16 '21 13:01 Indicardo

Also have a similar issue.

james090500 avatar Jan 29 '21 15:01 james090500

1.7.10 Protocol is nearly same as 1.8 1.7.9 have a different protocol and minecraft-protocol doesnt support it.

KaffinPX avatar Jun 15 '21 12:06 KaffinPX

Very possible #881 fixes this...

james090500 avatar Aug 04 '21 19:08 james090500