Git Product home page Git Product logo

Comments (5)

gekigek99 avatar gekigek99 commented on September 20, 2024

oh ok that sounds interesting!

could you just explain how do you get that set of bytes from the number 25555? (it's kinda late now ahah ;) )

from minecraft-server-hibernation.

uwidev avatar uwidev commented on September 20, 2024

This would be similar to how you got 221.

Decimal -> Hex -> Char
25565 -> 63 DD -> 99 221
25555 -> 63 D3 -> 99 211

So you have to convert the port to hex, then look for it followed by 2 for login. You should also be looking for the full port and not just the last two hex values.

More info on handshake packet here.

from minecraft-server-hibernation.

gekigek99 avatar gekigek99 commented on September 20, 2024

ok i didn't understand because you highlighted [D3 2], but now it's clear

WTF i never found that wiki page ahahahahaha
going to add the reference to my wiki

from minecraft-server-hibernation.

gekigek99 avatar gekigek99 commented on September 20, 2024

i fixed it in 17f788e

can you confirm?

from minecraft-server-hibernation.

uwidev avatar uwidev commented on September 20, 2024

It is confirmed working!

from minecraft-server-hibernation.

Related Issues (20)

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.