A control packet is prefaced with a zero'd byte (00
) followed by a special byte opcode for the type of control packet.
A crypto packet contains the following: a sequence; and, a payload.
A crypto packet contains the following: a sequence; and, a payload. These packets have no opcodes and they rely on implicit state to decode properly.
na
the packet data
An encrypted packet contains the following: a sequence; an encrypted opcode; an encrypted payload; and an implicit MD5MAC plus padding.
An encrypted packet contains the following: a sequence; an encrypted opcode; an encrypted payload; and an implicit MD5MAC plus padding.
na
the packet data
A game packet is prefaced by a byte that determines the type of packet and how to interpret the data.
A game packet is prefaced by a byte that determines the type of packet and how to interpret the data. This is important for decoding and encoding.
a byte that identifies the packet
na
the packet data
Used by companion objects to create encoders and decoders
PlanetSide control packets: net.psforever.packet.control._
PlanetSide crypto packets: net.psforever.packet.crypto._
PlanetSide game packets: net.psforever.packet.game._
The base of all packets
Base trait of the packet container case class
.
PlanetSide packet flags (beginning of most packets)
The master list of Game packet opcodes that have been discovered in the PlanetSide client.
The master list of Game packet opcodes that have been discovered in the PlanetSide client.
UnknownMessage* means that there, to the best of our knowledge, was no opcode of this value. This was double checked by extracting out the master case statement in PlanetsideComm::OnReceive and by parsing NetMessage RTTI.
PlanetSide packet type.
PlanetSide packet type. Used in more complicated packet headers
ResetSequence - Not sure what this is used for or if the name matches what it actually does but I saw some code that appeared to reset the packet sequence number when this was set Unknown2 - Your guess is as good as mine Crypto - Used for early crypto packets that are NOT encrypted Normal - Used for all non-crypto packets. May or may not be encrypted.
Enumeration starts at 1. That's what I see in IDA
Codec for PlanetSidePacketFlags
A control packet is prefaced with a zero'd byte (
00
) followed by a special byte opcode for the type of control packet.a byte that identifies the packet
the packet data