Hello everyone

[Only registered and activated users can see links. ]

I've been reading up on the [Only registered and activated users can see links. ] and I noticed that there are a few different packets dedicated to handling map regions; what I saw were downstream 73 and 241, and upstream 121 and 210. This is the #317 revision, by the way.

I'm trying to fully understand how maps, regions and tiles work. From what I understand, each tile is represented as a coordinate (e.g. 3222, 3222, 0 is I believe Lumbridge Castle) and each "tile chunk" is a chunk of tiles in 8x8 size. Furthermore, a map region is 64x64 tiles in size, therefore being a grouping of 8x8 chunks.

The special property about a map is that it's 104x104 (containing 13x13 chunks). It as a centre, which is (7, 7) (as if you were assigning coords to each chunk inside the map.)

I think I understand all of that theory behind it, so moving onto the protocol is where I get confused. I don't know when the server is expected to send/receive data about tile chunks/regions/maps, and I don't know when the client is expected to send/receive data about the aforementioned.

From what I can tell, the client sends the empty packet #210 to the server, telling it that it needs a new map region. However, it doesn't send what map region it needs.. is the server supposed to know that? How? [Only registered and activated users can see links. ] Regardless, once it's finished, it sends empty packet #121 telling the server that it's finished loading (which implies that the server will continue to send data until it's forced to stop?)

The two downstream packets are labelled "load" and "construct" map region. What's the difference? Maybe that can explain my confusion on the need for the packet, "Loading completed". Does the client request the map region be loaded, then the server sends that loaded region, then the client confirms that it's gotten it all, then it's actually constructed? Or some other way around?

Thanks

TL;DR: How do the client and server communicate about maps/map regions, when do they communicate

Note: I'm new to RSPS and the entire RuneScape protocol itself, so please forgive me if I'm utterly lost and it seems very primitive here that I not know this very well My goal is to make an RSPS 100% by myself and I need to know everything I can before delving into it