diff --git a/317-Load-map-region.mediawiki b/317-Load-map-region.mediawiki new file mode 100644 index 0000000..ab79621 --- /dev/null +++ b/317-Load-map-region.mediawiki @@ -0,0 +1,39 @@ +[[Category Packet]] +[[Category Packet 317]] +{{packet|name=Load map region|description=Makes the client load the specified map region.|opcode=73|type=Fixed|length=4|revision=317}} +== Load Map Region == + +=== Description === + +Makes the client load the specified map region. + +=== Packet Structure === + +{| border=2 +! Data type +! Description +|- +| [[Data Types#Standard data types|Short]] [[Data Types#Non Standard Data Types|Special A]] +| Region X coordinate (absolute X / 8) plus 6. +|- +| [[Data Types#Standard data types|Short]] +| Region Y coordinate (absolute Y / 8) plus 6. +|- +|} + +=== Other Information === +There are various loops/arrays within the map region loading functionality of the client which have been misunderstood by many. +{| border=2 +! Loop type +! Description +|- +| 104 x 104 +| Maximum size of the client's load area +|- +| 8 x 8 +| Load blocks to speed up loading NPCs, Items and Objects +|- +| 13 x 13 +| Number of load blocks to load +|- +|} \ No newline at end of file diff --git a/Categories.mediawiki b/Categories.mediawiki index 31fdd34..e2a7d5f 100644 --- a/Categories.mediawiki +++ b/Categories.mediawiki @@ -1,9 +1,9 @@ The following categories contain pages or media. * [[Category Data Type]] (3 members) -* [[Category Packet]] (10 members) +* [[Category Packet]] (11 members) * [[Category Packet 194]] (1 members) -* [[Category Packet 317]] (7 members) +* [[Category Packet 317]] (8 members) * [[Category Packet 474]] (1 members) * [[Category Packet {{{revision}}}]] (1 members) * [[Category RS2]] (4 members) diff --git a/Category-Packet-317.mediawiki b/Category-Packet-317.mediawiki index 8941d11..54d40a2 100644 --- a/Category-Packet-317.mediawiki +++ b/Category-Packet-317.mediawiki @@ -1,9 +1,10 @@ == '''Pages in category "Packet 317"''' == -The following 7 pages are in this category. +The following 8 pages are in this category. * [[317 Animation reset]] * [[317 Camera shake]] * [[317 Flash sidebar]] +* [[317 Load map region]] * [[317 Protocol]] * [[317 Reset button state]] * [[317 Send add friend]] diff --git a/Category-Packet.mediawiki b/Category-Packet.mediawiki index 7621ca1..935c58a 100644 --- a/Category-Packet.mediawiki +++ b/Category-Packet.mediawiki @@ -1,10 +1,11 @@ == '''Pages in category "Packet"''' == -The following 10 pages are in this category. +The following 11 pages are in this category. * [[194 Protocol]] * [[317 Animation reset]] * [[317 Camera shake]] * [[317 Flash sidebar]] +* [[317 Load map region]] * [[317 Protocol]] * [[317 Reset button state]] * [[317 Send add friend]]