UO Protocol
The following information is mainly created based on the information from
The Wolfpack Hackers' Guide
and Kair Packet Guide.
See also: http://docs.polserver.com/packets/
All known commands will be documented including obsolete packets.
Please fill in the reasons for that and the corresponding version information.
Also the version (date) of the first occurrence of new packet-types can
be interesting.
Data Types
BYTE 8-bit unsigned
SBYTE 8-bit signed
BOOL 8-bit boolean (0x00=False, 0xFF=True)
CHAR 8-bit single ASCII character
UNI 16-bit single unicode character
SHORT 16-bit signed
USHORT 16-bit unsigned
INT 32-bit signed
UINT 32-bit unsigned
There seems to be no float data because of performance considerations.
Game Packets Structure
-
Disconnect Notification (
0x01)
-
-
-
-
-
-
-
-
-
-
-
-
PACKET_TEMPLATEDATA (
0x0E)
-
-
-
Request Skill/Action/Magic Usage (
0x12)
Equip Item Request (
0x13)
-
Object Information (
0x1A)
Login Confirmation (
0x1B)
-
-
-
-
-
Character Move Reject (
0x21)
Character Move ACK/ Resync Request (
0x22)
-
-
Add Item to Container (
0x25)
-
-
-
Paperdoll Clothing Added (
0x29)
-
Toggle GodMode Reply (
0x2B)
Death/Resurrection (
0x2C)
-
-
-
Pause/Resume Client (
0x33)
-
Send Skills/Lock state (
0x3A)
-
Items in Container (
0x3C)
Personal Light Level (
0x4E)
Overall Light Level (
0x4F)
-
-
-
-
-
-
-
-
Targeting Cursor Commands (
0x6C)
-
Character Animation (
0x6E)
-
-
Bulletin Board Message (
0x71)
Request War Mode Change/Send War Mode status (
0x72)
-
-
-
-
-
-
-
Client response to Dialog (
0x7D)
-
-
-
Resend Characters After Delete (
0x86)
-
-
Connect to Game Server (
0x8C)
-
-
-
-
House/Boat Placement (
0x99)
Console Entry Prompt (
0x9A)
-
-
-
-
Update Current Health (
0xA1)
Update Current Mana (
0xA2)
Update Current Stamina (
0xA3)
Client Machine info (
0xA4)
-
-
Request Tips/Notice (
0xA7)
-
Characters/Starting Locations (
0xA9)
Attack Request Reply (
0xAA)
Gump Text Entry Dialog (
0xAB)
Gump Text Entry Dialog Reply (
0xAC)
Unicode speech request (
0xAD)
Unicode Speech message (
0xAE)
Display Death Animation (
0xAF)
Send Gump Menu Dialog (
0xB0)
Gump Menu Selection (
0xB1)
-
-
Send Help/Tip Request (
0xB6)
-
Request Char Profile (
0xB8)
-
-
-
Seasonal Information (
0xBC)
Client Version Message (
0xBD)
Misc. Commands Packet (
0xBF)
Predefined Message (
0xC1)
-
-
-
-
-
Character Transfer Log(
0xDB)
-
Patch Server Protocol