Done some research.
To clear things up.
Map regions are a group of tiles 64*64 in size.
Map sectors are sections of a map region 8*8 tiles in size.
When calculating region updates we rarely use map regions but we calculate it from how many map sectors that we have walked.
6 map sectors from your last region update is the correct answer. There are 3 map sectors in all directions that a player can walk without an update. Lets say for instance we are walking just a long the x Coordinate.
- X - The sector you was standing in when a region update occoured
- 0 - The map sectors that you can walk in without an update
- G - The sectors that are not walkable but can be seen without an update
It would look like this..
GGGGGGGGGGGG
GGG0000000GGG
GGG0000000GGG
GGG0000000GGG
GGG000X000GGG
GGG0000000GGG
GGG0000000GGG
GGG0000000GGG
GGGGGGGGGGGG
but also be considerate when updating the most outer map sectors. They are most likely going to go out of view with the client. This means that they
will be breaching the clients ground array length are most likely will cause an exception. To avoid this just check that the local coordinate between you and the
ground item/object do not reach below 0 and above 103.