diff --git a/468-Protocol.mediawiki b/468-Protocol.mediawiki new file mode 100644 index 0000000..101f801 --- /dev/null +++ b/468-Protocol.mediawiki @@ -0,0 +1,53 @@ +[[Category RS2]] + +Currently under development. + +== '''Packet structure''' == +When the client sends a packet to the server, the first byte encapsulates its opcode. This specific opcode is encrypted with a value generated by the ISAAC PRNG seeded with a dynamically server generated key during the login block. The server decrypts it and associates the opcode to the packet's respective predefined size. If the packet does not contain a fixed size, the opcode will be followed by either a byte or a word - varying per packet - for its proper size. This is then followed by the payload. + +== '''Login''' == +Blank at the moment. + +=='''Game Protocol'''== + +===Server -> Client Packets=== + +{| border=2 +|- +! Opcode +! Type +! Length (bytes) +! Name +! Description +|- +| 163 +| Fixed +| 1 +| [[317 Run Energy|Run Energy]] +| Sends the players run energy percentage. +|- +|} + +===Client -> Server Packets=== + +{| border=2 +|- +! Opcode +! Type +! Length (bytes) +! Name +! Description +|- +| 49 +| VARIABLE BYTE +| 13 +| [[464 Character Design|Character Design]] +| Sent when accepting the player's appearance on the design screen. +|- +| 115 +| VARIABLE BYTE +| N/A +| [[464 Chat|Chat]] +| Sent when the player enters a chat message. +|- +|} \ No newline at end of file diff --git a/Categories.mediawiki b/Categories.mediawiki index d584cfc..368daef 100644 --- a/Categories.mediawiki +++ b/Categories.mediawiki @@ -8,5 +8,5 @@ The following categories contain pages or media. * [[Category Packet 377]] (5 members) * [[Category Packet 474]] (3 members) * [[Category Packet {{{revision}}}]] (1 members) -* [[Category RS2]] (13 members) +* [[Category RS2]] (14 members) * [[Category RSC]] (7 members) diff --git a/Category-RS2.mediawiki b/Category-RS2.mediawiki index d854555..632a3a6 100644 --- a/Category-RS2.mediawiki +++ b/Category-RS2.mediawiki @@ -28,7 +28,7 @@ The ''opcode'' of a game packet is basically an identifier for the type of game A ''fixed-size'' packet is a packet whose payload size does never change, and the size for the specified opcode is already known between both client and server. A ''variable-sized'' packet is a packet whose payload size changes according to the situation of the game session. == '''Pages in category "RS2"''' == -The following 13 pages are in this category. +The following 14 pages are in this category. * [[194 Protocol]] * [[289 Protocol]] * [[317 Protocol]] @@ -36,6 +36,7 @@ The following 13 pages are in this category. * [[377 Protocol]] * [[443 Protocol]] * [[464 Protocol]] +* [[468 Protocol]] * [[474 Protocol]] * [[508 Protocol]] * [[634 Protocol]]