Code Monkey home page Code Monkey logo

Comments (9)

barneygale avatar barneygale commented on July 27, 2024 3

I'll leave this open for one more day in case @thelex337 wants to ask an answerable question, but my patience is otherwise wearing a little thin.

from quarry.

barneygale avatar barneygale commented on July 27, 2024

Quarry's own packet handers support 1.7-1.11; in your own handlers you'll like to switch on self.protocol_version as seen here

from quarry.

thelex0 avatar thelex0 commented on July 27, 2024

I meant to add support for 1.11 on the server

from quarry.

Yardanico avatar Yardanico commented on July 27, 2024

@barneygale he's friend of @maxim19116, he'll just waste your time

from quarry.

Yardanico avatar Yardanico commented on July 27, 2024

@thelex337 and for your question:
as @barneygale said, just make some conditions based on self.protocol_version

from quarry.

Yardanico avatar Yardanico commented on July 27, 2024

@thelex337 if you can't understand this, it's your problem, so you don't need to put issues there

from quarry.

thelex0 avatar thelex0 commented on July 27, 2024

@TiberiumN and @barneygale i asked for an example of a server that supports 1.11 and 1.8

from quarry.

Yardanico avatar Yardanico commented on July 27, 2024

@thelex337
https://github.com/barneygale/quarry/blob/master/examples/server_auth.py
:)

from quarry.

barneygale avatar barneygale commented on July 27, 2024

If you're still struggling with this issue, please share your code. You're asking about supporting multiple versions, so I can only assume you've got it working in one version already. From that point forward it's conceptually simple to support another protocol version: switch on self.protocol_version and implement the other packet format. If you clone this repository and git grep protocol_version you can find further examples of this.

from quarry.

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.