GithubHelp home page GithubHelp logo

Comments (3)

SafPlusPlus avatar SafPlusPlus commented on April 28, 2024 4

To add a little more detail, torchcraft-py using torchcraft protocol version 16, but since torchcraft v1.1 the version of the protocol has been updated to version 17 (which is the one using flatbuffers).

Ideally, torchcraft-py would be updated to support torchcraft protocol version 17. For now you can get torchcraft-py working by using an older version of torchcraft. I replaced the BWEnv.dll in the docker image I was using with version v1.0-2 and attack_weakest.py seemed to work.

Edit: removed misconception about poor performance

from torchcraft-py.

prophyfang avatar prophyfang commented on April 28, 2024

I also got the same problem,“ZMQ_server::connect(): invalid message”, and then bwapi crashed。

from torchcraft-py.

0x7CFE avatar 0x7CFE commented on April 28, 2024

Looks like it's because of protocol incompatibility. Current TorchCraft server uses FlatBuffers as a serialization backend.

The mentioned error is thrown by the server logic. It's context implies that received message was not parsed successfully. If we look here we'll see that TorchCraft-py simply tries to write the text message to the ZMQ socket.

P.S.: I'm using TorchCraft-py as an reference for my pending Rust API. Looks like I need to switch to the original code.

from torchcraft-py.

Related Issues (5)

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.