Create MediaWiki page '468 Protocol'

This commit is contained in:
James7746 2013-10-25 00:24:04 +00:00 committed by moparisthebest
parent 38c3b65d0d
commit e4cdc37e54
3 changed files with 56 additions and 2 deletions

53
468-Protocol.mediawiki Normal file
View File

@ -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.
|-
|}

View File

@ -8,5 +8,5 @@ The following categories contain pages or media.
* [[Category Packet 377]] (5 members) * [[Category Packet 377]] (5 members)
* [[Category Packet 474]] (3 members) * [[Category Packet 474]] (3 members)
* [[Category Packet {{{revision}}}]] (1 members) * [[Category Packet {{{revision}}}]] (1 members)
* [[Category RS2]] (13 members) * [[Category RS2]] (14 members)
* [[Category RSC]] (7 members) * [[Category RSC]] (7 members)

View File

@ -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. 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.
<!-- DO NOT EDIT BELOW THIS LINE, OR CHANGE THIS COMMENT, CODE AUTOMATICALLY GENERATED BY category.sh --> <!-- DO NOT EDIT BELOW THIS LINE, OR CHANGE THIS COMMENT, CODE AUTOMATICALLY GENERATED BY category.sh -->
== '''Pages in category "RS2"''' == == '''Pages in category "RS2"''' ==
The following 13 pages are in this category. The following 14 pages are in this category.
* [[194 Protocol]] * [[194 Protocol]]
* [[289 Protocol]] * [[289 Protocol]]
* [[317 Protocol]] * [[317 Protocol]]
@ -36,6 +36,7 @@ The following 13 pages are in this category.
* [[377 Protocol]] * [[377 Protocol]]
* [[443 Protocol]] * [[443 Protocol]]
* [[464 Protocol]] * [[464 Protocol]]
* [[468 Protocol]]
* [[474 Protocol]] * [[474 Protocol]]
* [[508 Protocol]] * [[508 Protocol]]
* [[634 Protocol]] * [[634 Protocol]]