Giter VIP home page Giter VIP logo

Comments (6)

Nostrademous avatar Nostrademous commented on August 26, 2024

I think I ran into this issue before and it had to do with how Dota2 prepares the protobuf messages to send out and how I was receiving data on the socket before it was ready leading me to read invalid amounts.

I haven't dove deep into your code enough to see where you read the protobufs from the client yet to see how you implemented the logic.

from dotaservice.

Nostrademous avatar Nostrademous commented on August 26, 2024

This is where I would check to make sure the value is valid. I had an issue here before.
https://github.com/TimZaman/dotaservice/blob/master/dotaservice/dotaservice.py#L259

from dotaservice.

TimZaman avatar TimZaman commented on August 26, 2024

from dotaservice.

Nostrademous avatar Nostrademous commented on August 26, 2024

Cool, that's great. I am not sure of the reader you are using... but the issue for me went away when i used select to check the socket state.

pydota2/pydota2@0a93e3c

check the proto_connector.py changes

from dotaservice.

TimZaman avatar TimZaman commented on August 26, 2024

from dotaservice.

TimZaman avatar TimZaman commented on August 26, 2024

Fixed

from dotaservice.

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.