MsgFriend

This message is sent by clients to manage friend requests and their friend and enemy lists. It's also sent by the game server to populate those lists on sign-on, update online statuses, after accepting a friend request, and after a player kill.

The level parameter that once appeared at offset 10 was removed during the alpha for Conquer Online in favor of the MsgFriendInfo message.

Table of Contents

Patch 4267

Message Definition

☑️ Assumed (Observed) - Soul + CoFuture

PosTypeNameDescriptionExample
0UInt16MsgSizeSize of the message28
2UInt16MsgTypeType of message1019
4UInt32Hero IDUnique identifier for the friend1000000
8ByteActionHow to processes the message11
9ByteIsOnlineTrue if the friend is online1
12Char[16]NameCharacter name as a fixed stringPlayer

Action Type

☑️ Assumed (Soul)

enum FriendActionTypes {

    FRIEND_APPLY = 10;
    FRIEND_ACCEPT = 11;
    FRIEND_ONLINE = 12;
    FRIEND_OFFLINE = 13;
    FRIEND_BREAK = 14;
    FRIEND_GETINFO = 15;

    ENEMY_ONLINE = 16;
    ENEMY_OFFLINE = 17;
    ENEMY_DELETE = 18;
    ENEMY_ADD = 19;
}

Patch 5017

Message Definition

❓ Unverified

PosTypeNameDescriptionExample
0UInt16MsgSizeSize of the message36
2UInt16MsgTypeType of message1019
4UInt32Hero IDUnique identifier for the friend1000000
8ByteActionHow to processes the message11
9ByteIs OnlineTrue if the friend is online1
12UInt32Nobility RankNobility ranking3
16UInt32Flower RankFlower ranking0
20Char[16]NameCharacter name as a fixed stringPlayer

Action Type

☑️ Assumed (Soul)

enum FriendActionTypes {

    FRIEND_APPLY = 10;
    FRIEND_ACCEPT = 11;
    FRIEND_ONLINE = 12;
    FRIEND_OFFLINE = 13;
    FRIEND_BREAK = 14;
    FRIEND_GETINFO = 15;

    ENEMY_ONLINE = 16;
    ENEMY_OFFLINE = 17;
    ENEMY_DELETE = 18;
    ENEMY_ADD = 19;
}

Patch 5615

Message Definition

❓ Unverified

PosTypeNameDescriptionExample
0UInt16MsgSizeSize of the message68
2UInt16MsgTypeType of message1019
4UInt32Hero IDUnique identifier for the friend1000000
8ByteActionHow to processes the message11
9ByteIs OnlineTrue if the friend is online1
12UInt32Nobility RankNobility ranking3
16UInt32Flower RankFlower ranking0
20Char[16]NameCharacter name as a fixed stringPlayer
36Char[32]Facebook IDIdentifier for Facebook Profile

Action Type

☑️ Assumed (Soul)

enum FriendActionTypes {

    FRIEND_APPLY = 10;
    FRIEND_ACCEPT = 11;
    FRIEND_ONLINE = 12;
    FRIEND_OFFLINE = 13;
    FRIEND_BREAK = 14;
    FRIEND_GETINFO = 15;

    ENEMY_ONLINE = 16;
    ENEMY_OFFLINE = 17;
    ENEMY_DELETE = 18;
    ENEMY_ADD = 19;
}