Comments (7)
Thanks for you report, I'll look into it. Some observations:
- You can only run 1 instance of dota at the same time
- In order to render the dota GUI, you need to have steam on (so it can find the steam DLL)
- Running Dota dedicated (without rendering) without having steam on will result into warnings that can be ignored, it doesn't actually use.
That doesn't help your issue though does it? You also list "Observe:: cout (..) Observe:: cerr" what are those?
from dotaservice.
Thanks for you report, I'll look into it. Some observations:
- You can only run 1 instance of dota at the same time
- In order to render the dota GUI, you need to have steam on (so it can find the steam DLL)
- Running Dota dedicated (without rendering) without having steam on will result into warnings that can be ignored, it doesn't actually use.
That doesn't help your issue though does it? You also list "Observe:: cout (..) Observe:: cerr" what are those?
- Yes, i only run one instance.
- When the steam is on, it will load stem DLL. I think the problem may caused by this. E.g. New steam DLL doesn't match cause
DOTA_GAMERULES_STATE_PRE_GAME
failed? - Without steam on, i can get the world state successfully.
- I think the "Observe:: cout (..) Observe:: cerr" is come from the
Observe
function indotaservice/botcpp_dire.cpp
. I compile this file and copy the.so
todota/scripts/vscripts/bots/
to load when init bots.
By the way, the logs with steam on print a lot of "FS: Tried to Write NULL file handle!", which i think is just warning and should not influence other jobs. Doesn't check.
I guess the block may caused by loaded steam DLL. Since this is one difference between the logs of with and without steam on that i found. I didn't find other difference until now.
from dotaservice.
Interesting. How did you compile the botcpp_dire.so
? Command and compiler v?
from dotaservice.
Interesting. How did you compile the
botcpp_dire.so
?
Use this command g++ -shared -o botcpp_dire.so -fPIC botcpp_radiant.cpp
. Same as shown in dotaservice/botcpp/README.md
from dotaservice.
That cannot be the right command. You're missing includes.. Anyway I think I figured that part out.
from dotaservice.
That cannot be the right command. You're missing includes.. Anyway I think I figured that part out.
I am not quite understand what to includes? Do you mean protobuf? I already exported it. It did not show any warning or error during compiling.
Besides, these .so
can work when steam is off. Maybe the bot .so
is not the problem?
from dotaservice.
I can confirm steam only needs to be turned on (or even installed!) when you want the graphical interface. It runs fine on a docker container without steam..
from dotaservice.
Related Issues (20)
- Dotaservice deadlocks itself HOT 1
- Time sync of radiant/dire teams upon reset not stable. HOT 10
- botcpp_dire.so and stuck at the map loading screen HOT 7
- how to remove the fog of war? HOT 8
- lane creep not spawn HOT 7
- AI vs Human/Buildin-AI play mode
- how to cast skill? HOT 20
- can not get the enemy lane creep info in world state HOT 3
- DebugDrawLine doesn't draw the correct line HOT 3
- Capture end-of-game signal HOT 2
- what the usage of actionDelay? HOT 3
- the head length of world state message is not correct HOT 5
- Dota2 Docker Error HOT 2
- Add DotaService Proto for Hero Selection HOT 3
- dota2 docker running problem HOT 9
- Minimal Working Example of client.py HOT 18
- Render in Macbook pro HOT 6
- How can i know a unit is visible to a team? HOT 2
- Docker: pull access denied for dota HOT 1
- where does the proto files come from? HOT 2
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 dotaservice.