I use spatial indexing for my server, which could be optimized a little, by adding the length and width of each map.
I know it can be read from the map files, or some different file for sure, but I do not know how to do this, as I have no experience with maps.
What I want is a simple text file including:
MapID - X or Width - Y or Length
where - is a space, so:
1002 1024 1024
I need this for all maps except for special maps such as houses, ships, new maps, explaining me how to do it myself would be okay as well!
Hopefully someone can help me out, I really need this...






