OurMx WPN Chat Protocol Specification



This protocol is the most commonly used of the WPN protocol range.
On this page we will examine all the basic chat room functions  that normally form part of all chat networks and demonstrate at a packet level how we handle all the various elements of this protocol segment.

Packet Map


Lets get a visual idea of the various packets that are commonly found in WPN Chat Traffic



Packet Index


Lets look in further detail at the constituent parts that form each packet, where possible, visual diagrams and examples for each packet type are given on the relevant packet page.

Click on the packet number below for detailed information and function level view.


     [ Packet Type      0100 ] - 0x0064 - Client to Server - Send Chat Join Request To Chat Server
     [ Packet Type      0101 ] - 0x0065 - Client to Server - Send User Name Change Request To Chat Server
     [ Packet Type      0102 ] - 0x0066 - Server to Client - Chat Channel Joined Notification
     [ Packet Type      0104 ] - 0x0068 - Server to Client - WinMX 3.53 Chat Protocol Supported Notification
     [ Packet Type      0110 ] - 0x006E - Server to Client - User Has Entered Notification (3.31)
     [ Packet Type      0111 ] - 0x006F - Server to Client - Initial Userlist Notification (3.31)
     [ Packet Type      0112 ] - 0x0070 - Server to Client - User Name Change Notification To Chat Clients (3.31)
     [ Packet Type      0113 ] - 0x0071 - Server to Client - User Has Entered Notification (3.53)
     [ Packet Type      0114 ] - 0x0072 - Server to Client - Initial Userlist Notification (3.53)
     [ Packet Type      0115 ] - 0x0073 - Server to Client - User Has Left Notification (3.53)
     [ Packet Type      0116 ] - 0x0074 - Server to Client - User Has Changed Names Notification To Chat Clients (3.53)
     [ Packet Type      0117 ] - 0x0075 - Server to Client - User Has Entered Notification (3.53)
     [ Packet Type      0120 ] - 0x0078 - Server to Client - Initial MOTD And MOTD Change Notification
     [ Packet Type      0200 ] - 0x00C8 - Client to Server - Normal Text To Chat Server
     [ Packet Type      0201 ] - 0x00C9 - Server to Client - Normal Text To Chat Client (3.31)
     [ Packet Type      0202 ] - 0x00CA - Client to Server - Action Text To Chat Server (3.31)
     [ Packet Type      0203 ] - 0x00CB - Server to Client - Action Text To Chat Client
     [ Packet Type      0210 ] - 0x00D2 - Server to Client - Server Response Text To Client (3.53)
     [ Packet Type      0211 ] - 0x00D3 - Server to Client - Server Admin Command Text To Client (3.53)
     [ Packet Type      0300 ] - 0x012C - Server to Client - Server Initial Topic & Topic Change Notification To Client
     [ Packet Type      0301 ] - 0x012D - Server to Client - Server Channel Rename Notification To Client
     [ Packet Type      0400 ] - 0x0190 - Server to Client - Server Chatroom Redirect To Client
     [ Packet Type      5101 ] - 0x13ED - Client to Server - Pre Channel Join 3.53 Support Indicator(3.53)
     [ Packet Type      5102 ] - 0x13EE - Client to Server - Redirected Notification (3.53)
     [ Packet Type      5200 ] - 0x1450 - Client to Server - Send Raw Text To Chat Server

                                               

Packet Field Information



Request to join Chatroom (Client to Server)
0x0064
[ RoomName : S ][ 00 : 1 ][ LineType : 2 ][ PrimaryIP : 4 ][ PrimaryPort : 2 ][ SharedFiles : 4 ]
[ UserName : S ][ 00 : 1 ]

Request to change Username (Client to Server)
0x0065
[ LineType : 2 ][ PrimaryIP : 4 ][ PrimaryPort : 2 ][ SharedFiles : 4 ][ UserName : S ][ 00 : 1 ]

Chatroom joined notification (Server to Client)
0x0066
No payload.

3.53 Protocol Support Indicator (3.53)(Server to Client)
0x0068
No payload.  

User Has Entered Notification: sent to all other chat room guests (3.31)(Server to Client)
0x006E
[ UserName : S ][ 00 : 1 ][ PrimaryIP : 4 ][ PrimaryPort : 2 ][ LineType : 2 ][ SharedFiles : 4 ]

Initial Userlist Notification (3.31)(Server to Client)
0x006F
[ UserName : S ][ 00 : 1 ][ PrimaryIP : 4 ][ PrimaryPort : 2 ][ LineType : 2 ][ SharedFiles : 4 ]

User Has Changed Names Notification (3.31)(Server to Client)
0x0070
[ Old-UserName : S ][ 00 : 1 ][ Old-PrimaryIP : 4 ][ Old-PrimaryPort : 2 ][ New-UserName : S ][ 00 : 1 ][ New-PrimaryIP : 4 ]
[ New-PrimaryPort : 2 ][ LineType : 2 ][ SharedFiles : 4 ]

User Has Entered Notification: sent to all other chat room guests (3.53)(Server to Client)
0x0071
[ UserName : S ][ 00 : 1 ][ PrimaryIP : 4 ][ PrimaryPort : 2 ][ LineType : 2 ][ SharedFiles : 4 ][ Rank : 1 ]
IP not Shown.

Initial Userlist Notification (3.53)(Server to Client)
0x0072
[ UserName : S ][ 00 : 1 ][ PrimaryIP : 4 ][ PrimaryPort : 2 ][ LineType : 2 ][ SharedFiles : 4 ][ Rank : 1 ]

User Has Left Notification (Server to Client)
0x0073
[ UserName : S ][ 00 : 1 ][ PrimaryIP : 4 ][ PrimaryPort : 2 ]

User Has Changed Names Notification (3.53)(Server to Client)
0x0074
[ Old-UserName : S ][ 00 : 1 ][ Old-PrimaryIP : 4 ][ Old-PrimaryPort : 2 ][ New-UserName : S ][ 00 : 1 ][ New-PrimaryIP : 4 ]
[ New-PrimaryPort : 2 ][ LineType : 2 ][ SharedFiles : 4 ][ Rank : 1 ]

User Has Entered Notification: sent to all other chat room guests (3.53)(Server to Client)
0x0075
[ UserName : S ][ 00 : 1 ][ PrimaryIP : 4 ][ PrimaryPort : 2 ][ LineType : 2 ][ SharedFiles : 4 ][ Rank : 1 ][ IP : 4 ]
IP Shown

Initial MOTD and MOTD change Notification (Server to Client)
0x0078
[ MOTD : S ][ 00 : 1 ]

Normal Text (Client to Server)
0x00C8
[ Text String : S ][ 00 : 1 ][ Rank : 1 ]

Normal Text (Server to Client)
0x00C9
[ Length : 2 ][UserName : S ][ 00 : 1][ Text String : S ][ 00 : 1]

Action Text (Client to Server)(3.31)
0x00CA
[ Text String : S ][ 00 : 1 ]

Action Text (Server to Client)
0x00CB
[ UserName : S ][ 00 : 1 ][ Text String : S ][ 00 : 1 ]

Sever Response Text (3.53)(Server to Client)
0x00D2
[Text String : S ][ 00 : 1 ]

Admin Command Text (3.53)(Server to Client)
0x00D3
[ Text String : S ][ 00 : 1 ]

InitialTopic and Topic Change Notification (Server to Client)
0x012C
[ Topic : S ][ 00 : 1 ]

Channel Rename Notification (3.53)(Server to Client)
0x012D
[ ChannelName : S ][ 00 : 1 ]

Chatroom Redirect (Server to Client)
0x0190
[ ChannelName : S ][ 00 : 1 ]

Pre Channel Join 3.53 Support Indicator(3.53)(Client to Server)
0x13ED
[ 0x31 : 1 ]

Redirected Notification (3.53)(Client to Server)
0x13EE
[ ChannelName : S ][ 00 : 1 ]
This packet is sent to indicate that the client has been redirected.

Raw Text (3.53)(Client to Server)
0x1450
[ Text String : S ][ 00 : 1 ]

©2005-2024 WinMXWorld.com. All rights reserved. Page last updated Sun Jun 12 2016