devilesk / dota-interactive-map

Dota 2 Interactive Map
https://devilesk.github.io/dota-interactive-map
ISC License
44 stars 6 forks source link

Problem loading tiles #18

Open Rmaan opened 3 years ago

Rmaan commented 3 years ago

Hello, I'm trying to run the project but map is blank and I get HTTP 404 for URLs like http://localhost:3000/tiles/723/default/0/tile_2_0.jpg I tried these so far:

I did git submodule init and update but they don't do anything at all. As far as I understand you haven't committed assets/tiles to repo. Usually in Github you can see a link to respective submodule repository if it's committed. Something like image

So instead I manually add the submodule by

git submodule add git@github.com:devilesk/dota-map-tiles.git assets/tiles

but then I found out https://github.com/devilesk/dota-map-tiles doesn't have 7.23 maps at all. Newest one is 7.20 map. So I tried to change base map to 7.20 but still I get 404s like http://localhost:3000/tiles/720/default/0/tile_3_0.jpg I checked and I have the files in assets folder:

➜  dota-interactive-map git:(master) ✗ ls ./assets/tiles/720/default/0/tile_3*
./assets/tiles/720/default/0/tile_3_0.jpg ./assets/tiles/720/default/0/tile_3_2.jpg
./assets/tiles/720/default/0/tile_3_1.jpg ./assets/tiles/720/default/0/tile_3_3.jpg
Rmaan commented 3 years ago

I figured out that I need to run build again. Now I can see 7.20 maps but not newer ones.