Comments (3)
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.
I also got the same problem,“ZMQ_server::connect(): invalid message”, and then bwapi crashed。
from torchcraft-py.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torchcraft-py.