Welcome to PenUltima Online. Click to login or register.
Downloadable Version (2021-10-20)

Description

Packet Name: Chat Message
Last Modified: 2009-03-02 07:56:24
Modified By: Turley


Packet: 0xB2
Sent By: Server
Size: Variable


Packet Build
BYTE[1] cmd
BYTE[2] length
BYTE[2] messageType
Messagetypes will be listed as Subcommands.


Subcommand Build
Messagetypes 0x0001 - 0x0024:
BYTE[4] unknown (00 00 00 00)
BYTE[len-9] Unicode for %1 if the message type has a %1 variable for inputting text.
BYTE[2] Null Terminator if there is a %2 Unicode element. (00 00)
BYTE[len-(2+%1+9)] Unicode for %2 if the message type has a %2 variable for inputting text.
BYTE[2] Null Terminator for Packet (00 00)

Messagetypes 0x0028 - 0x002C:
BYTE[4] unknown (00 00 00 00)
BYTE[len-9] Unicode for %1 if the message type has a %1 variable for inputting text.
BYTE[2] Null Terminator if there is a %2 Unicode element. (00 00)
BYTE[len-(2+%1+9)] Unicode for %2 if the message type has a %2 variable for inputting text.
BYTE[2] Null Terminator for Packet (00 00)

MessageType 0x0025 (Message), 0x0026 (Emote), 0x0027 (OOC):
BYTE[3] Language Code (ENU for english)
BYTE[1] Null Terminator (00)
BYTE[2] Message from (see notes)
BYTE[?] Username in Unicode
BYTE[2] Null Terminator for Username (00 00)
BYTE[?] Unicode Message Sent
BYTE[2] Null Terminator for Message

MessageType 0x03E8 (create conference):
BYTE[4] Unknown (00 00 00 00)
BYTE[?] Unicode Channel Name
BYTE[2] Null Terminator for Channel Name (00 00)
BYTE[2] Password Setting (00 30 = No Pass, 00 31 = Password required)
BYTE[2] Null Terminator for packet (00 00)

MessageType 0x03E9 (Destroy conference):
BYTE[4] Unknown (00 00 00 00)
BYTE[?] Unicode Channel Name
BYTE[4] Unknown (00 00 00 00)

MessageType 0x03EB (Display Enter Username window):
BYTE[8] Unknown (00 00 00 00 00 00 00 00)

MessageType 0x03EC (Close Chat):
BYTE[8] Unknown (00 00 00 00 00 00 00 00)

MessageType 0x03ED (Username accepted, display chat):
BYTE[4] Unknown (00 00 00 00)
BYTE[?] Unicode Username
BYTE[4] Null Terminator (00 00 00 00)

MessageType 0x03EE (Add User):
BYTE[4] Unknown (00 00 00 00)
BYTE[2] User Type (see notes)
BYTE[?] Unicode Username
BYTE[2] Null Terminator (00 00)

MessageType 0x03EF (Remove User):
BYTE[4] Unknown (00 00 00 00)
BYTE[?] Unicode Username
BYTE[2] Null Terminator (00 00)

MessageType 0x03F0 (Clear All Players):
BYTE[8] Unknown (00 00 00 00 00 00 00 00)

MessageType 0x03F1 (You have joined the %1 Conference):
BYTE[4] Unknown (00 00 00 00)
BYTE[?] Unicode Conference Name (%1)
BYTE[4] Unknown (00 00 00 00)


Notes
MessageTypes 0x0001 - 0x0024 and 0x0028 - 0x002C: Directly from Chat.enu file:
0x0001: You are already ignoring the maximum number of peolpe.
0x0002: You are already ignoring %1.
0x0003: You are now ignoring %1.
0x0004: You are no longer ignoring %1.
0x0005: You are not ignoring %1.
0x0006: You are no longer ignoring anyone.
0x0007: That is not a valid conference name.
0x0008: There is already a conference of that name.
0x0009: You must have operator status to do this.
0x000A: Conference %1 renamed to %2.
0x000B: You must be in a conference to do this. To join a conference, select one from the Conference menu.
0x000C: There is no player named '%1'.
0x000D: There is no conference named '%1'.
0x000E: That is not the correct password.
0x000F: %1 has chosen to ignore you. None of your messages to them will get through.
0x0010: The moderator of this conference has not given you speaking privileges.
0x0011: You can now receive private messages.
0x0012: You will no longer receive private messages. Those who send you a message will be notified that you are blocking incoming messages.
0x0013: You are now showing your character name to any players who inquire with the whois command.
0x0014: You are no longer showing your character name to any players who inquire with the whois command.
0x0015: %1 is remaining anonymous.
0x0016: %1 has chosen to not receive private messages at the moment.
0x0017: %1 is known in the lands of Britannia as %2.
0x0018: %1 has been kicked out of the conference.
0x0019: %1, a conference moderator, has kicked you out of the conference.
0x001A: You are already in the conference '%1'.
0x001B: %1 is no longer a conference moderator.
0x001C: %1 is now a conference moderator.
0x001D: %1 has removed you from the list of conference moderators.
0x001E: %1 has made you a conference moderator.
0x001F: %1 no longer has speaking privileges in this conference.
0x0020: %1 now has speaking privileges in this conference.
0x0021: %1, a conference moderator, has removed your speaking privileges for this conference.
0x0022: %1, a conference moderator, has granted you speaking privileges in this conference.
0x0023: From now on, everyone in the conference will have speaking privileges by default.
0x0024: From now on, only moderators will have speaking privileges in this conference by default.
0x0028: The password to the conference has been changed.
0x0029: Sorry--the conference named '%1' is full and no more players are allowed in.
0x002A: You are banning %1 from this conference.
0x002B: %1, a conference moderator, has banned you from the conference.
0x002C: You have been banned from this conference.

MessageTypes 0025, 0026, and 0027: Message from is as follows:
0x0030 = user, 0x0031 = moderator, 0x0032 = muted, 0x0034 = me, 0x0035 = system

MessageType 03EE:
User types are 0030 for User, 0031 for Moderator, and 0032 for Muted User.

Packets

Show All
Sort By Type

[0x00] Create Character
[0x01] Disconnect Notification
[0x02] Move Request
[0x03] Talk Request
[0x04] Request God Mode (God Client)
[0x05] Request Attack
[0x06] Double Click
[0x07] Pick Up Item
[0x08] Drop Item
[0x09] Single Click
[0x0A] Edit (God Client)
[0x0B] Damage
[0x0C] Edit Tile Data (God Client)
[0x11] Status Bar Info
[0x12] Request Skill etc use
[0x13] Drop->Wear Item
[0x14] Send Elevation (God Client)
[0x15] Follow
[0x16] New Health bar status update (SA)
[0x17] Health bar status update (KR)
[0x1A] Object Info
[0x1B] Char Locale and Body
[0x1C] Send Speech
[0x1D] Delete Object
[0x1E] Control Animation
[0x1F] Explosion
[0x20] Draw Game Player
[0x21] Char Move Rejection
[0x22] Character Move ACK/ Resync Request
[0x23] Dragging Of Item
[0x24] Draw Container
[0x25] Add Item To Container
[0x26] Kick Player
[0x27] Reject Move Item Request
[0x28] Drop Item Failed/Clear Square (God Client?)
[0x29] Drop Item Approved
[0x2A] Blood
[0x2B] God Mode (God Client)
[0x2C] Resurrection Menu
[0x2D] Mob Attributes
[0x2E] Worn Item
[0x2F] Fight Occuring
[0x30] Attack Ok
[0x31] Attack Ended
[0x32] Unknown
[0x33] Pause Client
[0x34] Get Player Status
[0x35] Add Resource (God Client)
[0x36] Resource Tile Data (God Client
[0x37] Move Item (God Client)
[0x38] Pathfinding in Client
[0x39] Remove (Group)
[0x3A] Send Skills
[0x3B] Buy Item(s)
[0x3C] Add multiple Items In Container
[0x3E] Versions (God Client)
[0x3F] Update Statics (God Client)
[0x45] Version OK
[0x46] New Artwork
[0x47] New Terrain
[0x48] New Animation
[0x49] New Hues
[0x4A] Delete Art
[0x4B] Check Client Version
[0x4C] Script Names
[0x4D] Edit Script File
[0x4E] Personal Light Level
[0x4F] Overall Light Level
[0x50] Board Header
[0x51] Board Message
[0x52] Board Post Message
[0x53] Reject Character Logon
[0x54] Play Sound Effect
[0x55] Login Complete
[0x56] Map Packet (cartography/treasure)
[0x57] Update Regions
[0x58] Add Region
[0x59] New Context FX
[0x5A] Update Context FX
[0x5B] Time
[0x5C] Restart Version
[0x5D] Login Character
[0x5E] Server Listing
[0x5F] Server List Add Entry
[0x60] Server List Remove Entry
[0x61] Remove Static Object
[0x62] Move Static Object
[0x63] Load Area
[0x64] Load Area Request
[0x65] Set Weather
[0x66] Books (Pages)
[0x69] Change Text/Emote Colors
[0x6C] Target Cursor Commands
[0x6D] Play Midi Music
[0x6E] Character Animation
[0x6F] Secure Trading
[0x70] Graphical Effect
[0x71] Bulletin Board Messages
[0x72] Request War Mode
[0x73] Ping Message
[0x74] Open Buy Window
[0x75] Rename Character
[0x76] New Subserver
[0x77] Update Player
[0x78] Draw Object
[0x7C] Open Dialog Box
[0x7D] Response To Dialog Box
[0x80] Login Request
[0x82] Login Denied
[0x83] Delete Character
[0x86] Resend Characters After Delete
[0x88] Open Paperdoll
[0x89] Corpse Clothing
[0x8C] Connect To Game Server
[0x8D] Character Creation ( KR + SA 3D clients only )
[0x90] Map Message
[0x91] Game Server Login
[0x93] Book Header ( Old )
[0x95] Dye Window
[0x97] Move Player
[0x98] All Names (3D Client Only)
[0x99] Give Boat/House Placement View
[0x9A] Console Entry Prompt
[0x9B] Request Help
[0x9C] Request Assistance
[0x9E] Sell List
[0x9F] Sell List Reply
[0xA0] Select Server
[0xA1] Update Current Health
[0xA2] Update Current Mana
[0xA3] Update Current Stamina
[0xA4] Client Spy
[0xA5] Open Web Browser
[0xA6] Tip/Notice Window
[0xA7] Request Tip/Notice Window
[0xA8] Game Server List
[0xA9] Characters / Starting Locations
[0xAA] Allow/Refuse Attack
[0xAB] Gump Text Entry Dialog
[0xAC] Gump Text Entry Dialog Reply
[0xAD] Unicode/Ascii speech request
[0xAE] Unicode Speech message
[0xAF] Display Death Action
[0xB0] Send Gump Menu Dialog
[0xB1] Gump Menu Selection
> [0xB2] Chat Message
[0xB3] Chat Text
[0xB5] Open Chat Window
[0xB6] Send Help/Tip Request
[0xB7] Help/Tip Data
[0xB8] Request/Char Profile
[0xB9] Enable locked client features
[0xBA] Quest Arrow
[0xBB] Ultima Messenger
[0xBC] Seasonal Information
[0xBD] Client Version
[0xBE] Assist Version
[0xBF] General Information Packet
[0xC0] Graphical Effect
[0xC1] Cliloc Message
[0xC2] Unicode TextEntry
[0xC4] Semivisible (Smurf it!)
[0xC5] Invalid Map (Request?)
[0xC6] Invalid Map Enable
[0xC7] 3D Particle Effect
[0xC8] Client View Range
[0xC9] Get Area Server Ping (God Client)
[0xCA] Get User Server Ping (God Client)
[0xCB] Global Que Count
[0xCC] Cliloc Message Affix
[0xD0] Configuration File
[0xD1] Logout Status
[0xD2] Extended 0x20
[0xD3] Extended 0x78
[0xD4] Book Header ( New )
[0xD6] Mega Cliloc
[0xD7] Generic AOS Commands
[0xD8] Send Custom House
[0xD9] Spy On Client
[0xDB] Character Transfer Log
[0xDC] SE Introduced Revision
[0xDD] Compressed Gump
[0xDE] Update Mobile Status
[0xDF] Buff/Debuff System
[0xE0] Bug Report (KR)
[0xE1] Client Type (KR/SA)
[0xE2] New Character Animation (KR)
[0xE3] KR Encryption Response
[0xEC] Equip Macro (KR)
[0xED] Unequip Item Macro (KR)
[0xEF] KR/2D Client Login/Seed
[0xF0] Krrios client special
[0xF1] Freeshard List
[0xF3] Object Information (SA)
[0xF5] New Map Message
[0xF8] Character Creation ( 7.0.16.0 )
[0xFA] Open UO Store
[0xFB] Update View Public House Contents