Closed dkati closed 3 years ago
The readme explains how you can interact with the program after starting it. Specifically the get of a specific Map also gives back all the collision information. Feel free to ask specific questions
When you request a map, you get back a json formatted string that contains information about the map. Most of them are pretty self-explanatory. But what do all the different values in the "mapRows" array mean? If you paste them into npp++, format them and zoom waay out, it starts to look like a real map :D but that cant be their real purpose, right?
It's the real map indeed. Every row is just a row in the diablo grid (map). for an example implementation how to use it look at the diablo09 clientless repository (also in my repositories). It uses this project for automated navigation
how do i get the json file guys?
Sorry for being such noob.
./d2mapapi "MYpath" start the server thing. no json found
You need to make the required http POST and GET requests mentioned in the readme. You could do that with for example with a tool called postman
i saw the source code contains collision map stuff. how can i take it ?