Coder Social home page Coder Social logo

minecraft-honeypot's People

Contributors

catgirlapril avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

minecraft-honeypot's Issues

Crashes when setting version to 1.20.1 and connecting with vanilla client

Description

When setting the version in config.js to 1.20.1 for example, the honeypot crashes with the following error message:

Disconnecting client because error TypeError [ERR_INVALID_ARG_TYPE]: Serialization error for play.toClient : SizeOf error for undefined : The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received undefined
    at new NodeError (node:internal/errors:405:5)
    at Function.byteLength (node:buffer:787:11)
    at Object.string (eval at compile (/path/to/honeypot/node_modules/protodef/src/compiler.js:258:12), <anonymous>:45:25)
    at Object.packet_login (eval at compile (/path/to/honeypot/node_modules/protodef/src/compiler.js:258:12), <anonymous>:1482:27)
    at eval (eval at compile (/path/to/honeypot/node_modules/protodef/src/compiler.js:258:12), <anonymous>:3233:50)
    at packet (eval at compile (/path/to/honeypot/node_modules/protodef/src/compiler.js:258:12), <anonymous>:3306:9)
    at CompiledProtodef.sizeOf (/path/to/honeypot/node_modules/protodef/src/compiler.js:89:14)
    at e.message (/path/to/honeypot/node_modules/protodef/src/compiler.js:96:40)
    at tryCatch (/path/to/honeypot/node_modules/protodef/src/utils.js:50:16)
    at CompiledProtodef.createPacketBuffer (/path/to/honeypot/node_modules/protodef/src/compiler.js:96:20) {
  code: 'ERR_INVALID_ARG_TYPE',
  field: 'play.toClient'
}
/path/to/honeypot/node_modules/prismarine-chunk/src/pc/1.18/ChunkColumn.js:231
        this.biomes[i].write(smartBuffer)
                       ^
TypeError: this.biomes[i].write is not a function
    at ChunkColumn.dump (/path/to/honeypot/node_modules/prismarine-chunk/src/pc/1.18/ChunkColumn.js:231:24)
    at Server.<anonymous> (/path/to/honeypot/index.js:78:26)
    at Server.emit (node:events:514:28)
    at loginClient (/path/to/honeypot/node_modules/minecraft-protocol/src/server/login.js:218:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at /path/to/honeypot/node_modules/minecraft-protocol/src/server/login.js:164:9
    at /path/to/honeypot/node_modules/yggdrasil/src/utils.js:73:15

Version Info

  • Node.js: v18.17.1
  • Minecraft-Honeypot: v1.0.0
  • Minecraft Client: 1.20.1 Vanilla

Additional Notes

The descriptions says to run node server.js but there is no server.js file, just index.js

Cant install in Docker (Pterodactyl)

I tried to ran it in my pterodactyl panel as a addition to my server which is on Port 25570 and this software on port 25565 but i cant even install it:

container@pterodactyl~ Server marked as running...
Reading package lists... Done
E: List directory /var/lib/apt/lists/partial is missing. - Acquire (30: Read-only file system)
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.