Giter Club home page Giter Club logo

mcclient-lib's Introduction

Hey there, fellow Gopher / Pythonista / Code stealer / Bug creator ๐Ÿ‘‹

About me

  • Just a guy from Germany
  • I enjoy open source

Technologies I like

  • Languages: Go, Python, Java
  • Editors/IDEs: VSCode, Nvim, GoLand, PyCharm
  • OS: Debian

My GitHub stats

Sch8ill's Github stats Top Languages

mcclient-lib's People

Contributors

sch8ill avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mcclient-lib's Issues

Getting around "Max retries exceeded"

I tried to use Server List Ping with various Minecraft servers and got a plenty of "Max retries exceeded" exceptions.
As it seems to me the reason is the fact that socket.recv doesn't guarantee to return data of the same size as its bufsize parameter. It often fails when a server has a "heavy" favicon, like 5 kBs. So BaseClient._recv method often signalize a packet loss, but SLPClient._status_request method can't deal with it, I think you need to rewrite BaseClient._recv like this (search for 'myreceive' method). This approach or just adding some empty print statements helped me avoid the expection above ๐Ÿ˜„

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.