Comments (6)
from dotaservice.
I know there is a model-free versus modeled env discussion to be had here, but wouldn't it be just much faster to encode all the trees? What you suggests with moves isn't "tree" necessarily, could be a cliff, a tower, a wall, etc.
By the way - there are 2327 trees now apparently (in 7.20e). I just printed all the locations using a simple for loop.
from dotaservice.
Where'd you get those trees from?
It would be very helpful if we somehow make a 'occupancy' grid of NxN around the hero with a few layer channels e.g. (1) enemy heroes (2) allied heroes (3) enemy creeps (4) allied creeps (5) terrain passability(trees+cliff+etc) (6) fog of war (7) etc.
Second, maybe even a MxM game map..
from dotaservice.
Threw this in a Think() function of a random bot:
function Think()
for i=0,3000,1 do
vloc = GetTreeLocation(i)
print(i, vloc)
end
end
Read the console file...
console.4276350658.log
from dotaservice.
Created a new repo for dota world state handling with submodule of dotaservice (need to link things up still and document my proposed design), but on topic of Trees I created a branch in it to quickly see if I could track the trees and give an API so you can return all known trees and their location within a specified bounding box.
https://github.com/pydota2/pydota2/tree/tree_fun
from dotaservice.
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.