Difference between revisions of "Protocol:Packet 0x01"

From Sylverant
Jump to navigationJump to search
(Add mention of Packet 0xB0.)
m (Packet formats for all versions of the game.)
Line 5: Line 5:
 
For Packet 0xB0, this message shows up in the middle of the right hand side of the screen without any borders or anything else (so use an appropriate color so people can see it). Sylverant uses this message type to show results when doing a chat command (such as /save), as well as to show global messages.
 
For Packet 0xB0, this message shows up in the middle of the right hand side of the screen without any borders or anything else (so use an appropriate color so people can see it). Sylverant uses this message type to show results when doing a chat command (such as /save), as well as to show global messages.
  
==Dreamcast Packet Format==
+
==Dreamcast/Gamecube Packet Format==
 
{| border="1"
 
{| border="1"
 
! Bytes !! Meaning
 
! Bytes !! Meaning
Line 18: Line 18:
 
|-
 
|-
 
| 0x0C... || Message to send, usually preceded by a [[Language Codes|Language Code]]
 
| 0x0C... || Message to send, usually preceded by a [[Language Codes|Language Code]]
 +
|}
 +
 +
==PC Packet Format==
 +
{| border="1"
 +
! Bytes !! Meaning
 +
|-
 +
| 0x00-0x01 || Packet Size (Variable)
 +
|-
 +
| 0x02 || Packet Type (0x01 or 0xB0)
 +
|-
 +
| 0x03 || Flags (0x00)
 +
|-
 +
| 0x04-0x0B || Padding (all zeroes)
 +
|-
 +
| 0x0C... || Message to send, usually preceded by a [[Language Codes|Language Code]]
 +
|}
 +
 +
==Blue Burst Packet Format==
 +
{| border="1"
 +
! Bytes !! Meaning
 +
|-
 +
| 0x00-0x01 || Packet Size (Variable)
 +
|-
 +
| 0x02-0x03 || Packet Type (0x0001 or 0x00B0)
 +
|-
 +
| 0x04-0x07 || Flags (0x00000000)
 +
|-
 +
| 0x08-0x0F || Padding (all zeroes)
 +
|-
 +
| 0x10... || Message to send, usually preceded by a [[Language Codes|Language Code]]
 
|}
 
|}
  
 
[[Category:PSO Server Protocol]]
 
[[Category:PSO Server Protocol]]

Revision as of 16:12, 1 October 2014

The server sends Packet 0x01 or 0xB0 to send clients a message.

For Packet 0x01, this message shows up in a small box on the right hand side of the screen. Sylverant uses this message type to show errors when trying to join a lobby.

For Packet 0xB0, this message shows up in the middle of the right hand side of the screen without any borders or anything else (so use an appropriate color so people can see it). Sylverant uses this message type to show results when doing a chat command (such as /save), as well as to show global messages.

Dreamcast/Gamecube Packet Format

Bytes Meaning
0x00 Packet Type (0x01 or 0xB0)
0x01 Flags (0x00)
0x02-0x03 Packet Size (Variable)
0x04-0x0B Padding (all zeroes)
0x0C... Message to send, usually preceded by a Language Code

PC Packet Format

Bytes Meaning
0x00-0x01 Packet Size (Variable)
0x02 Packet Type (0x01 or 0xB0)
0x03 Flags (0x00)
0x04-0x0B Padding (all zeroes)
0x0C... Message to send, usually preceded by a Language Code

Blue Burst Packet Format

Bytes Meaning
0x00-0x01 Packet Size (Variable)
0x02-0x03 Packet Type (0x0001 or 0x00B0)
0x04-0x07 Flags (0x00000000)
0x08-0x0F Padding (all zeroes)
0x10... Message to send, usually preceded by a Language Code